what is step response in digital control system

what is the matlab code for finding step response in digital control systems?? show me some examples if possible

답변 (1개)

Birdman
Birdman 2017년 11월 30일

2 개 추천

One approach:
Gs=tf(1,[1 1 1]);%transfer function in s-domain(continuous)
Gz=c2d(Gs,0.001,'tustin');%system is digitized
%plotting step response of digital system
step(Gz)
By this way, we plot the step response of a digital system which is converted from continuous. Note that you will obtain different step responses for different sampling times(in this example it is 0.001) and transformation methods(in this example it is tustin). Observe the step responses by changing the sampling time.
Note that the more sampling time is smaller, the more it approaches to continuous response. See the difference by writing:
Gs=tf(1,[1 1 1]);%transfer function in s-domain(continuous)
step(Gs);hold on
Gz=c2d(Gs,0.001,'tustin');%system is digitized
%plotting step response of digital system
step(Gz)

댓글 수: 2

princess
princess 2017년 11월 30일
I've seen in one document that it used "dstep" to plot the step response. is it possible
Birdman
Birdman 2017년 11월 30일
I do not know about it. But this way is the best to do from command line.
By the way, if my solution solves your problem, can you accept it?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Control System Toolbox에 대해 자세히 알아보기

질문:

2017년 11월 30일

댓글:

2017년 11월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by