How to plot the Eular Transformation?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
hello below is my question I have derive the bilinear TF but when I try to do the Euler transformation part I am not able to do that. I want to implement forward type but i dont know where to start.
below is my Question
Use sampling period of 0.10 Sec Euler transformations to convert the compensated systems into digital (discrete). Provide the overall closed loop transfer function (indiscrete domain) andraw the step responses of the systems obtained
0 Commenti
Risposta accettata
Paul
il 22 Dic 2022
The Control System Toolbox, for unknown reasons, doesn't support the forward or backward Euler transformations. I'm not aware of any other toolboxes that do either.
You can implement them with a bit of work, see this answer for one approach illustrating the forward method.
Or, you can go back and forth with the Symbolic Math Toolbox, which would be pretty straightforward.
num = [1.5 60 600];
den = [1 15 83 210.5 300 700];
Qc = tf(num,den);
Fs = 10; % 1/0.1=10
Qp = c2d(Qc,1/Fs,'tustin')
2 Commenti
Paul
il 22 Dic 2022
Show what you've tried so far .... even on paper (you can click the image icon in the Insert menu to upload an picture if you need to).
Paul
il 23 Dic 2022
There is no such function c2d_eular.
There is a function c2d in the Control System Toolbox and in the System Identification Toolbox, but neither supports forward or backward Euler tranformation.
So you'll have to implement something yourself.
Do you know the relationships between s and z for forward and backward Euler?
Più risposte (1)
Sulaymon Eshkabilov
il 24 Dic 2022
num = [1 2];
den = [1 2 3 4];
Qc = tf(num,den);
ts = 0.1; % Sampling time
Qd_zoh = c2d(Qc,ts,'zoh') % Continuous - to - Discrete with zero-order-hold
Qd_foh = c2d(Qc,ts,'foh') % Continuous - to - Discrete with zero-order-hold
step(Qc), hold on
step(Qd_zoh)
step(Qd_foh)
xlim([0, 15])
legend('toggle')
0 Commenti
Vedere anche
Categorie
Scopri di più su Dynamic System Models in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!