Question about the pulse generator block in Simulink affecting output amplitude

1 回表示 (過去 30 日間)
macabe banchero
macabe banchero 2020 年 6 月 18 日
回答済み: Sai Teja Paidimarri 2020 年 6 月 18 日
I am making a PID controller with disturbances added into it in simulink. I am using the pulse generator block to model distrubances. When I change the period in the block parameters the amplitude in my output graph changes and I am not sure why this is happening. Could anyone explain to me why changing the period affects the amplutide of my output. For example, when I have my period set to 3 seconds the amplitude of my output graph is between 0 and .45, but when i change it to 10 the amplitude jumps to 0 and 4.5.

回答 (1 件)

Sai Teja Paidimarri
Sai Teja Paidimarri 2020 年 6 月 18 日
Hi Macabe Banchero,
PID controller stands for proportional, integral, derivative. These 3 options are present inside PID Simulink block.
Amplitude of output remains unaffected if you select proportional frequency/time-period. It will change in case of derivative or integral with respect to time-period/frequency of input (here pulse generator block).
For example, consider f(t) = sin(t^2) as input and output is f(x) = 2*t*sin(t^2) which derivative of function f(x) where amplitude has changed with respect to time.

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by