how to change the rise time of step input in simulink
Mostra commenti meno recenti
Hello,
I want to change the rise time of the step input in simulink. I tried the transfer function 1/(s+1) but not satifying my requirement. Can someone suggest me some tricks. Thanks in advace.
Regards,
Swasthik
2 Commenti
Sam Chak
il 19 Set 2022
Can you specify all the performance requirements?
What did you mean by "tried the transfer function"? What is that transfer function for? For Plant, Actuator, or Compensator, or Prefilter? If possible, please the Plant transfer function.
Swasthik Baje Shankarakrishna Bhat
il 21 Set 2022
Risposta accettata
Più risposte (3)
Timo Dietz
il 20 Set 2022
Modificato: Timo Dietz
il 20 Set 2022
0 voti
Hello,
what about using a single-sided ramp function: b * (1 - exp(-a*s)) / s^2
The gradient of the rising slope is '1', so after the time 'a' the amplitude 'a' is reached. The factor 'b' should finally allow you to control the steepness of the 'step'.
Does this meet your requirement?
3 Commenti
Swasthik Baje Shankarakrishna Bhat
il 21 Set 2022
Timo Dietz
il 21 Set 2022
Modificato: Timo Dietz
il 21 Set 2022
Hello,
I thought you are searching for a solution in the frequency/laplace domain since you mentioned the pT1.
So, with 'H_slope = b/a * (1 - exp(-a*s)) / s^2' you can control the slope (in time domain) via a and b:
syms s;
a = 1.5; % time after which amplitude is reached
b = 2; % amplitude
% frequency domain
H_slope = b/a * (1 - exp(-a*s)) / s^2;
% time domain
f_slope = ilaplace(H_slope);
fplot(f_slope, [0 2]);
grid on;
Swasthik Baje Shankarakrishna Bhat
il 21 Set 2022
Swasthik Baje Shankarakrishna Bhat
il 21 Set 2022
0 voti
1 Commento
Sam Chak
il 21 Set 2022
It's great to hear that it works. If you find the solution is helpful, please consider accepting ✔ and voting 👍 the Answer. Thanks!
Paul
il 22 Set 2022
0 voti
Categorie
Scopri di più su Simulink in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





