Filter löschen
Filter löschen

stepper motor simulation without simscape?

1 Ansicht (letzte 30 Tage)
Angeline Raja
Angeline Raja am 26 Jul. 2016
Bearbeitet: Stefan Reich am 28 Jul. 2016
I am trying to build a stepper motor simulation in simulink with a PID loop, but is there anyway to model the motor without using the stepper motor blocks from Simscape? As I don't have the system embedded onto Matlab.
Thank you

Antworten (1)

Stefan Reich
Stefan Reich am 28 Jul. 2016
Bearbeitet: Stefan Reich am 28 Jul. 2016
Hey Angeline, I use something like this:
signal = @(x,s,t) heaviside(x-s)-heaviside(x-t);
runtime = 0:.01:10;
start = 2;
finish = 4;
plot(runtime,signal(runtime,start,finish))
ylim([-0.2 1.2])

Communitys

Weitere Antworten in  Power Electronics Control

Kategorien

Mehr zu Electrical Systems finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by