stepper motor simulation without simscape?

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일

0 개 추천

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 Community

카테고리

질문:

2016년 7월 26일

편집:

2016년 7월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by