LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

voltage ramp

Hello. My name is Alan and im doing practical education on faculty of electrical engenering in Ljubljana,Slovenia. Im new to labview(using 8.5 version) and i have to make a voltage ramp looking pretty much the same as the one i attached.I need this ramp to send via ni6212 into a pwm device to control a motor automatically,without manually correcting parameters on the pwm during testing,all automatic and record parameters using ctscope. Any help appreciated. Thank you.

0 Kudos
Message 1 of 4
(2,978 Views)

PID will be the best thing to use.

 

B.

Benoit Séguin
Software Designer
0 Kudos
Message 2 of 4
(2,938 Views)

While creating a waveform as you show is relatively easy (you just need an array of values), the automatic control of the parameter during testing is the clincher. I agree that using a PID system is what you should look into. If you don't know about PIDs you can read up on them (plenty of material on the web). NI also has a PID Control Toolkit.

0 Kudos
Message 3 of 4
(2,932 Views)

Bether than an array will be to have setpoint and time to achiev this setpoint.

By doing like this, you will be able to easily create different profile with different ramp.

 

setpoint1=10

time1=120sec

setpoint2=25

time2=35sec

 

B.

Benoit Séguin
Software Designer
0 Kudos
Message 4 of 4
(2,919 Views)