直流电机调速

直流电机调速

机卓1301 U201310767 蔡诗旭

添加定义Kd、Ki、error_i、error_d。

 

构成PID调节。

 

 

plot({motor1.i,motor1.w})得到结果

超调量大约为5.55%,响应时间0.06s。

原文地址:https://www.cnblogs.com/caishixu/p/5599136.html