LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a DC motor

Hello all,

I have two motors with a dial disk (0-360 degree) attached to their shafts. There is a hole on each disk on degree 0 that are used to detect their speed separately by photo sensors. I set a speed for motor1 and control it by sensor1. After a while, its speed will be at the desired speed using the sensor1 and a control loop. Then motor2 starts to spine. By another control loop, it can adjust its speed with motor1. Until this step, everything is straightforward and clear. I have a strobe that flashes according to motor1 period. Fir example if the motor1 period is 1ms the strobe is flashing every 1ms so motor1 disk seems constant. If two disks on two motors seem constant, it means they are at the same speed. Now, I have two motors at the same speed. At this step, I want to make two holes on two motors to the same degree. For instance, if hole on motor1 seems constant at degree 90, the hole on motor2 should be at the same position(the phase of two motors should be the same.)

I think I should use cascade control but I do not know how can I use it in this situation.

Could you help me?

 

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

Hi Mmehrabin,

 

You may find that you receive better advice if you post your question in the motion control specific forum, rather than the general LabVIEW programming board. The engineers that frequent that board are more familiar with the specifics of working with motors and motion control, and may be better able to assist you.

 

When you post over there, please make sure to include information about what kinds of motors, drives, and what NI hardware/software you're using to control the motors.

 

Kathryn K.
Technical Support Engineer
National Instruments
http://ni.com/support
0 Kudos
Message 2 of 3
(2,643 Views)

Thank you.

0 Kudos
Message 3 of 3
(2,626 Views)