Introduction to digital control
In class activities
Activities
Given Transform :
find
.
First find the time domain function
Inverse Laplace Transform :
The inverse Laplace transform of
will give the time-domain function . We can use partial fraction decomposition to find it:Solving for
and :Setting
:Setting
:Therefore,
Inverse Laplace Transform in Time-Domain :
Using standard Laplace transform pairs:
- Sampling the Function :
We are interested in finding
- Taking the Limit :
Since
Therefore, the limit becomes:
z-transform:
Sample
at intervals of .
The z-transform of a discrete-time sequence
Substitute the expression for
Separate the summation:
Each summation is a geometric series:
- For the first summation:
- For the second summation:
- Consider the transfer function below
The zero hold transfer function is given by
determine the discrete transfer function using c2d
command for different Ts. Plot the responses.
The code is given in mlx file.
- Consider a continuous process
convert G(s) to discrete transfer function and plot the step response. Try different hold functions.
The code is given in mlx file.
- For the transfer function
plot the effect of sample time on response.
The code is given in mlx file.
- Design a feedback control system around the first-order plant
with the requirements that
- the steady-state error is maximum 2% for a ramp input and
- the phase margin is greater than 48 degrees.
Use controller transfer function and check phase margin.
To design a feedback control system for the first-order plant:
- Steady-State Error for a Ramp Input
The system’s steady-state error for a ramp input is determined by the type and the system gain
The type of system is determined by the number of poles at the origin (s=0). This system is Type 0 because there is no pole at the origin in G(s).
The steady-state error for a ramp input is:
To satisfy
Given
To achieve
Hence, the proportional gain
Convert the controller from Equation 6 to discrete form using different sample times. Plot the Bode plot for the continuous and discrete controller and discuss the differences.
Design and compare continous and digital controller for the following transfer function
Citation
@online{utikar2023,
author = {Utikar, Ranjeet},
title = {Introduction to Digital Control},
date = {2023-10-08},
url = {https://amc.smilelab.dev//content/notes/10-digital_control/in-class-activities.html},
langid = {en}
}