advertisement
from the Forum department...
Simulnk, How to control the pulses of stepper motor
Motion control, servos, steppers, etc. topic
Posted by Shayan on 2 July, 2012 - 4:18 pm
I need to run the stepper motor, the problem is that the Logic (MATLAB code (Simulink)) will be interfaced by the "dSpace (Control Desk NGV version 4)", which does not support the Stepper motor block, available in the Simulink Library.

In this case I can only use the "Pulse generator block".

What I need to do: Pulse generator will continuously keep generating the pulses and two (Constant Blocks) will take the input and generate the pulses unless the pulse reaches the second input block value, and then it should remain at zero.

Eg: I/P(1) = 0, I/P(2) = 20, so a Pulse generator will generate the pulses for 20 and then it should be stopped.

The basic problem is that all of the comparison block with whom I am familiar will make the decision by looking at the "Amplitude (values on Y axis)" and I need to compare or want to make a decision by Looking the values on the (x-axis).

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2013 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.


Fortune
"MacDonald has the gift on compressing the largest amount of words into
the smallest amount of thoughts."
-- Winston Churchill
Advertise here
Advertisement
our advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive