How can I minimise or eliminate overshoot from PI controller?
조회 수: 40 (최근 30일)
이전 댓글 표시
I am trying to control a motor's speed based on torque demand. I have set up a reference torque and reference speed profile, but while the motor is able to track the speed demand relatively well, the torque demand seems to have massive overshoots at the transition points.
The output torque from the motor is as shown:

The input is as shown:

My PI controller parameters are as shown, the gains were achieved via the tuning function:

댓글 수: 4
채택된 답변
Sam Chak
2025년 9월 23일 7:29
편집: Sam Chak
대략 21시간 전
Hi @Zachary
In theory, a smooth transient change in the torque demand should be able to reduce the overshoot.
Case 1: Step torque demand
% System
w = 7.108;
sys = tf([5, 2*w, w^2], [1, 2*w, w^2])
% Step torque demand input signal
U = tf(1);
opt = RespConfig;
opt.Delay = 2;
t = 0:0.01:8;
[u1, tout] = step(U, t, opt);
% System's response to step torque demand
figure
lsim(sys, u1, t), grid on
title('System''s response to step torque demand')
ylim([-0.5, 5.5])
Case 2: Smooth torque demand
% Smooth torque demand input signal
u2 = (1 - exp(-2*(t - 2))).*heaviside(t - 2);
% System's response to smooth torque demand
figure
lsim(sys, u2, t), grid on
title('System''s response to smooth torque demand')
ylim([-0.5, 1.5])
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Powertrain Reference Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!