NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

一个电机调速控制,请帮助!

        现在我是用一条数字I/O控制电机的启动,然后用下面的顺序结构控制调速。顺序结构中的数字I/O控制速度的上升还是下降,后面的计数器输出脉冲控制上升或下降的幅度。具体要实现的功能是:让两个程序同时运行,通过调节旋钮(就是发脉冲的个数)就能实时控制转速的调节。就像我们平时调电机的控制器一样。还有一个问题,发脉冲的程序用计数器好用还是数字I/O好用?谢谢了!
0 项奖励
1 条消息(共 15 条)
8,004 次查看
Control NI card's pulse frequency or analog waveform , that you can control motor's velocity. about motor (servo and stepper) control that I did more !
________________________________________________________


Try to make everything Automatic
0 项奖励
2 条消息(共 15 条)
7,984 次查看
YUkee,谢谢。我的电机是一般的调速电机,是经过硬件的电路改造,才可以用labview控制的。现在我用上传的程序如果放到两个程序中,可以调速,但是不智能。一般每增加一个脉冲增速10转左右。所以你让我改变脉冲频率,我还不是很明白,还有,改变模拟波形,怎么改变?如果要实时改变脉冲的个数用数字I/O方便还是计数器方便啊?谢谢!
0 项奖励
3 条消息(共 15 条)
7,982 次查看
YUkee,谢谢。我的电机是一般的调速电机,是经过硬件的电路改造,才可以用labview控制的。现在我用上传的程序如果放到两个程序中,可以调速,但是不智能。一般每增加一个脉冲增速10转左右(Yes, this handle can achieve stepper motor velocity control)。所以你让我改变脉冲频率,我还不是很明白(what don't you understand ?),还有,改变模拟波形(it is for servo motor),怎么改变?如果要实时改变脉冲的个数用数字I/O方便还是计数器方便啊(counter)?谢谢!
________________________________________________________


Try to make everything Automatic
0 项奖励
4 条消息(共 15 条)
7,975 次查看
那你能不能给我找个例子看一下啊?我看了你说的还是不知道用什么结构能实现?呵呵。
0 项奖励
5 条消息(共 15 条)
7,974 次查看
似乎Yukee,没有理解楼主的意思,楼主用的是一般的调速电机 ,不是你说的是交流伺服电机和步进电机。很希望说一下你是如何控制那些电机的运动。还有你用的什么驱动。很想了解你说的(比较先进的)电机控制系统。
0 项奖励
6 条消息(共 15 条)
7,920 次查看

Maybe. 

we use our corporation opens out drivers which are servo and stepper, and we open out pulse , high performance waveform generation and IO card. which are used to control motor's "torque, velocity, and direction motion..."  ,and read encoder counter and sensor's condition immediately. all of cards are working at a box together. we call it "high performance motion controller" a  box of system that can control 40 servo motor and 50 stepper motor about. it can compose a large motion system !!!

about stepper motor's control principle is easy.

it needs "enable, direction, and pulse. error I/O " signals only.

enable and direction is high and low train signal.

pulse is a square wave. its frequence directs motor's velocity!

------------------------------------------------------------------------------------------

about servo motor's control principle is harder

cause motor is three phase, or more phase.

it demands "enable,direction and sine waveform.error I/O..."

enable and direction's functions are the same as stepper motor.

but sine waveform is not the same as stepper's

phase discrepancy is 120 degree corresponding for three phase servo motor.

it's amplitude and frequency direct motor's torque and velocity.

.......

for some our test station ,we would use C langue to open out our motion card's driver.
and use labVIEW to control motor's motion. labVIEW is good. and easy using.
it is always matching our expectation for test staion's test parameter and demands.
 
 
for the other test station. we use NI products .many many. and they are good.
I like PCI series. PCI-6601, 6024.......
use them to control "relay array" to take test actions to test our products' safety, burn in, offset, frequence response..... performance .
 
 
the last that I want to say. labVIEW and NI products are good. it will save your development's time, and get your control and test expectations !
trust it !
it is not a advertisement , just my experience sum up .
 
 
 
 
________________________________________________________


Try to make everything Automatic
0 项奖励
7 条消息(共 15 条)
7,916 次查看

^.^  my one of technological friends sent me a message. that he says:

"labVIEW 的时代,就是“把很多的晶体管,电阻封装一个IC”的时代,你可以不用知道IC里面的结构,你只要知道每个管脚的功能,它极大地方便了设计者的使用,它将给你的开发带来飞跃性的成果!"

is it right ? I believe in that it is well !

________________________________________________________


Try to make everything Automatic
0 项奖励
8 条消息(共 15 条)
7,914 次查看

HI,gyl

看了你的VI,调节升降幅度的顺序结构没有放在loop里可以完成实时幅值控制吗?如果你的板卡不支持硬件定时而你的调试幅值相应时间需要小于1ms的话,就需要用计数卡来做了,我认为是这样,如果你的调幅时间间隔大于1s,又对软件定时没要求,用比较好,因为时间间隔长,用的时候再初始化开启,这样比较少占用CPU时间。

帖子被小刚在09-23-2005 07:25 PM时编辑过了

帖子被小刚在09-23-2005 07:26 PM时编辑过了

------------------------------------
A guitar man play instruments
wengang_qin@sjtu.edu.cn
0 项奖励
9 条消息(共 15 条)
7,911 次查看
to 小刚:
谢谢,我现在已经做得差不多了。你说的“再初始化开始,少占用CPU时间”我不大明白。我把我的程序再上传上来,帮我看看有没有什么问题。现在可以用,但是可能有很多地方不合理,浪费系统资源。请帮忙改正一下。谢谢!
0 项奖励
10 条消息(共 15 条)
7,895 次查看