Given the below differential equation representing a continuous-time system, where 𝑦(𝑡) and 𝑥(𝑡) are the system output and input respectively
Show older comments
How can I solve these 14 tasks2 Comments
Sam Chak
on 9 Apr 2022
Please edit your Question so that the following info displayed without opening the PDF.
From the dynamic system represented by the differential equation

where
is the output and
is the input, then the transfer function of the plant is given by
num = [5.4826 134.1091 -1837.4 71987]; % the input side, x(t)
den = [1 56.2682 1176.6 11644 50103]; % the output side, y(t)
Gp = tf(num, den)

Tasks:
- Build the continuous-time system transfer function and find its zeros and poles.
- Discretize the system assuming the sample time T=0.1 sec, by representing the discretetime pulse transfer function and its zeros and poles.
- Represent state-space model of both discrete and continuous systems.
- Plot zeros and poles of both discrete and continuous systems and then comment their stability issues.
- Plot step and impulse responses of both discrete and continuous systems and then comment it by comparing them.
- Plot Root-Locus diagrams of both discrete and continuous systems and then comment it by comparing them.
- Plot the frequency response of both discrete and continuous systems employing Bode diagrams, and then comment by comparing them.
- Compute the gain margin and phase margin of both discrete and continuous systems employing above Bode diagrams, and then compare them. Repeat this computation with sample time T=0.01 sec, T=0.001 sec, and T=0.0001 sec. Comment the results.
- Build the transformation matrix and similarity transformations of discrete system.
- Compute the discrete system controllability and observability matrixes and then check whether the system is controllable and observable.
- Get the model into controller-canonical form.
- Design a proper controller/observer by pole placement considering proper poles.
- Design a DLQR (Discrete LQR) instead, considering proper Q and R matrices.
- Check the parameter sensitivity of the two designs.
Attempt to write the codes and show the results in the Answer for us to check. If you have query about the specific part you don't know, then ask.
What exactly is this MECE-406 course? It's is unbelievable to cram both materials of continuous and discrete systems (modeling, analysis, and design) into one semester. So, I'm also unsure what you don't know but you can try these functions and look up the examples in the links provided below. Tasks #2 to #11 are pretty straightforward.
Task #2: c2d()
Task #3: tf2ss()
Task #4: pzplot()
Task #5: step() and impulse()
Task #6: rlocus()
Task #7: bode()
Task #8: [Gm,Pm,Wcg,Wcp] = margin(sys)
Task #9: [csys, T] = canon()
Task #10: Co = ctrb(sys) and Ob = obsv(sys)
Task #11: [csys, T] = canon() ... you need to do additional steps to convert into canonical form. See instruction.
Tasks #12 to #14 involve some design activities. So, you need to think and make some decisions.
Post your codes and results.
Accepted Answer
More Answers (0)
Categories
Find more on Control System Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!