stepper motor simulation without simscape?

3 次查看(过去 30 天)
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

回答(1 个)

Stefan Reich
Stefan Reich 2016-7-28
编辑:Stefan Reich 2016-7-28
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])

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Electrical Systems 的更多信息

Translated by