LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to built a Velocity profile without a motion assistant mudule

I wanna to built a velocity profile. the maximum velocity and acceleration are being given, when a Position command is received, the program will generate a trapezoidal profile with the given maximum velocity and acceleration. 

 

can i use a mat lab node to get the velocity and out put the position continuously?  

 

if can not, is there any other  to do it. Please help me out of this, thanks a lot!

0 Kudos
Message 1 of 12
(5,100 Views)
Message 2 of 12
(5,064 Views)

can i use this VI to generate the position command profile with the real time as the X-axis, and used as the input to a close loop for positioning system?

 

0 Kudos
Message 3 of 12
(5,054 Views)
This Vi , the time input is not the real time. can i do a real time one? mean, the velocity will be generate as the real time goes, and will plot the Velocity profile eventually. So that i can integrate this velocity profile to generate the command position to send to the dual loop control for position system.
0 Kudos
Message 4 of 12
(5,043 Views)
Why bother building a motion profile when you can just input these parameter into NI-Motion directly, and NI-Motion will take care the rest of it?
0 Kudos
Message 5 of 12
(5,030 Views)
the key problem is that i do not have a motion controller, all i have is the NI board to read 2 encoder information and other input to read and send voltage output. can i built the motion profile with the NI-motion without a motion controller??? 
0 Kudos
Message 6 of 12
(5,015 Views)

Is it possible to built a velocity profile without using the motion controller??

 

i have tried the motion-version module, but many of the function contend the axis input which i think may need a motion controller to make it possible, so i didn't try this way too much. 

 

So, if i can not built a velocity profile with the basic element in Labview, can i built with a motion_version and the motion assistant module? If it is possible, can you give me some kind of example?

 

0 Kudos
Message 7 of 12
(5,006 Views)

I don't know which card you have so I cannot pin-point anything, but if you've M-series, you can use a counter to measure encoder speed, and distance.

Then, use PID to control output, and stop when position is reached, but this will not be precised, since it's software not hardware control like motion controller card.

There's no exact example available, but you can search through Help>>Find Examples for each function and merge them together to complete your project.

0 Kudos
Message 8 of 12
(5,002 Views)

The NI card i am using is N6221 68PIN- 

and i am right now using the CTR0 to read the encoder information, and another AI to read the tachometer input, a AO to send command to the motor, currently, i am being able to design a PID control algorithm to close the control loop. but in order to study the efficiency of the control loop! i have to generate a trapezoid velocity profile to generate the required position profile.

Is there any way to do this without a motion controller? 

0 Kudos
Message 9 of 12
(4,982 Views)
Is there any other way that i can come out the real-time velocity profile without using the motion controller?
0 Kudos
Message 10 of 12
(4,948 Views)