Question about the pulse generator block in Simulink affecting output amplitude

4 views (last 30 days)
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.

Answers (1)

Sai Teja Paidimarri
Sai Teja Paidimarri on 18 Jun 2020
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.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!