LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help Getting Stepper Motor Algorithm to Accelerate/Decelerate Motor

Hi everyone,

 

I have been trying to get a stepper motor to accelerate, decelerate according to a specific motion profile I want for my project.

 

Attached is my Labview program I have been working on - the variables I want in my front panel are total rotation angle, acceleration, deceleration (exact opposite of acceleration), and max velocity. So far, I have gotten the motor to spin before using a digital waveform/digital data array but have disconnected it from my DAQ write channel.

 

I am using Labview 8.6, a 5 phase 0.36 degree Oriental Motor PK564PMA, and driver PCI-6229.

 

Could you guys explain how I can go about developing an algorithm in Labview that can allow me to develop my motion profile and how I can convert these numbers to produce a waveform that will allow me to accelerate/decelerate the stepper motor according to the motion profile I want?

 

Thanks a lot!

0 Kudos
Message 1 of 2
(3,226 Views)

Hi theodyssey12,

 

Creating an algorithm to control a stepper motor is not trivial.

 

To save you time in development and maintenance National Instruments has a full range of motion controllers and protocols available that really simplify the process. There is also a SoftMotion Module available in LabVIEW that provides VIs that will perform all of the operations you’re hoping to write.

 

Thanks for using NI!

Ben R.
Aerospace & Defense Test
Solutions Marketer
National Instruments
0 Kudos
Message 2 of 2
(3,181 Views)