Stepper Motor Simulation Model request ...

I need a simulation model for a bipolar 2-phase permanent magnet stepper motor and the pulse generator model for the motor ..
this link include the last model I reached but it has some problems , also you will find the paper whice I used to make this model..

 Accepted Answer

Arnaud Miege
Arnaud Miege on 14 Mar 2011
You don't say what the problems are with your model. Also, have you looked at the Stepper Motor and Stepper Motor Driver from SimElectronics?
HTH,
Arnaud

4 Comments

yes i have but the problem is that i cannot make PID Controller by Stepper model included in Simulink libraries so i wanna stepper motor as subsystem "Plant".
The problems are :
1- I cannot change stepping angle by changing rotor poles "n".
2- when I edit in {Configuration Parameter -> Solver option ->Solver type } and make it fixed step give me error .
and thanks for your consideration
Eng/Dahy
Model after editing and stepper parameters
http://www.megaupload.com/?d=T6W2ANZH
I am not sure I understand what your problem is. Your model appears to run OK. I cannot comment on whether it gives the results you expect or not. I did notice though a 'sin(2*u+90)' block, where I think the input is in radians. If that's the case, then it should be 'sin(2*u+pi/2)', provided the formula is correct. If you want to use the stepper motor from SimElectronics, have a look at the shipping demo elec_controlled_stepper.mdl. If this doesn't meet your requirements, you can always use the Simscape language to create your own stepper motor model.
thanx Mr.Miege for your time ,
my prolems had been solved .

Sign in to comment.

More Answers (0)

Communities

More Answers in the  Power Electronics Control

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!