Understanding Steady State Errors in Control Systems
Understanding Steady State Errors in Control Systems
known as steady state error. It is represented as ess. We can find steady state error using
the final value theorem as follows.
ess=limt→∞e(t)=lims→0sE(s)
Where,
Let us discuss how to find steady state errors for unity feedback and non-unity feedback
control systems one by one.
Consider the following block diagram of closed loop control system, which is having unity
negative feedback.
Where,
We know the transfer function of the unity negative feedback closed loop control system as
C(s)R(s)=G(s)1+G(s)
⇒C(s)=R(s)G(s)1+G(s)
E(s)=R(s)−C(s)
E(s)=R(s)−R(s)G(s)1+G(s)
⇒E(s)=R(s)+R(s)G(s)−R(s)G(s)1+G(s)
⇒E(s)=R(s)1+G(s)
Table of Content
Block Diagram
Conclusion
When we talk about a linear control system it is all about how it responds to inputs. Picture
it this way imagine you have a magical machine called 'System S' that does stuff based on
what you give it. Now this machine follows two important rules:
Homogeneity: If you give it something to do say a task or an instruction & you make that
instruction bigger or smaller by a certain amount the result from the machine gets bigger or
smaller by the same amount. It is like when you increase the work you ask it to do the result
also increases by the same factor.
Additivity: Now, if you give this machine two different tasks separately, it gives you two
results, right?. Now, here is the interesting part. If you combine these two tasks and give
them to the machine as one big task (adding the two smaller tasks together), the result you
get is the same as if you added the results of the two smaller tasks separately. It is like the
machine does not care if you give it two jobs or one big combined job, the result is the sum
of the individual results.
When we talk about linear control systems, we are talking about systems that play by these
rules. They were the types of systems that follow these two principles that is they respond
predictably when you make the task bigger or smaller & their response to combined tasks is
just the sum of their responses to the individual tasks.
Think of a simple circuit with just resistors and a battery that gives a steady flow of
electricity. In this circuit, if you change the voltage from the battery that's make it stronger
or weaker the resulting current in the circuit changes by the same factor. That's the
homogeneity part - change one thing & the other changes in sync. Now if you have a bunch
of resistors connected in different ways and you measure the voltage and current at different
points you will find that if you sum up the voltages or currents separately it's the same as if
you add them all together at once. In other words the total effect is just the sum of all the
individual effects. This behavior makes it a linear control system.
So, this circuit when we ignore any funky side effects and assume everything working
perfectly shows a linear relationship between voltage and current. It is a good example of a
linear control system because it plays by the rules of homogeneity and additivity.
Nonlinear control system is basically one that does not follow the simple rules we talked
about earlier. Remember how we said in linear systems changing one thing changes another
thing by the same amount? Well, in real life, most systems don't work like that. They are a
bit more complicated.
Take something like a DC machine's magnetization curve which shows how the magnetic
field inside the machine changes with the electricity going through it. At first when you
increase the electricity accordingly the magnetic field inside also increases in a kind of
straight line. That is the linear part, where things change in a predictable way. But after a
point something interesting happens the system starts to act differently. Even if you keep
increasing the electricity the magnetic field does not change in the same straight-line way
anymore. It reaches a point where it is kind of maxed out, like a sponge that cannot soak up
any more water. That's what we call saturation & it makes the relationship between
electricity and the magnetic field non-linear.
So, nonlinear systems are the ones that don't stick to simple, predictable patterns
throughout their whole operation. They might start off following a rule, but at some point,
they veer off and behave in unexpected ways, like this magnetization curve in a DC machine.
Graph of DC Machine
Linear Algebra in Control Systems: Eigenvalue and eigenvector and their applications
are used in a linear control system.
Stability Analysis: Criteria for stability such that eigenvalues and stability regions in
linear systems.
Nonlinear Stability Analysis: Evaluating stability in systems that does not adhere to
linear stability concepts using Lyapunov stability theory & other nonlinear stability
analysis methods.
Linear control system responds predictably It does not respond predictably to changes
to change in inputs. in input beyond a point.
Changes in input scale linearly affect the Does not exhibit linear scalability with
output. inputs.
Linear Control System Non-linear Control System
This system follows the specific rules Does not follow simple predictable
consistently. patterns throughout operation.
Block Diagram
Steady
Input
state Error constant
signal
error ess
unit step
11+kp Kp=lims→0G(s)
signal
unit ramp
1Kv Kv=lims→0sG(s)
signal
unit
parabolic 1Ka Ka=lims→0s2G(s)
signal
Block Diagram
The following table shows the steady state errors and the error constants for standard input
signals like unit step, unit ramp & unit parabolic signals.
Where, Kp, Kv and Ka are position error constant, velocity error constant and acceleration
error constant respectively.
Note − If any of the above input signals has the amplitude other than unity, then multiply
corresponding steady state error with that amplitude.
Note − We cant define the steady state error for the unit impulse signal because, it exists
only at origin. So, we cant compare the impulse response with the unit impulse input
as t denotes infinity.
Example
Let us find the steady state error for an input signal r(t)=(5+2t+t22)u(t) of unity negative
feedback control system with G(s)=5(s+4)s2(s+1)(s+20)
The given input signal is a combination of three signals step, ramp and parabolic. The
following table shows the error constants and steady state error values for these three
signals.
We will get the overall steady state error, by adding the above three steady state errors.
ess=ess1+ess2+ess3
⇒ess=0+0+1=1
Therefore, we got the steady state error ess as 1 for this example.
Consider the following block diagram of closed loop control system, which is having
nonunity negative feedback.
We can find the steady state errors only for the unity feedback systems. So, we have to
convert the non-unity feedback system into unity feedback system. For this, include one
unity positive feedback path and one unity negative feedback path in the above block
diagram. The new block diagram looks like as shown below.
Simplify the above block diagram by keeping the unity negative feedback as it is. The
following is the simplified block diagram.
This block diagram resembles the block diagram of the unity negative feedback closed loop
control system. Here, the single block is having the transfer
function G(s)1+G(s)H(s)−G(s) instead of G(s). You can now calculate the steady state errors
by using steady state error formula given for the unity negative feedback systems.
Note − It is meaningless to find the steady state errors for unstable closed loop systems. So,
we have to calculate the steady state errors only for closed loop stable systems. This means
we need to check whether the control system is stable or not before finding the steady state
errors. In the next chapter, we will discuss the concepts-related stability.
steady-state accuracy refers to how well a system maintains the desired output over
time, while transient accuracy focuses on its behavior during the transition between states.
Disturbance rejection is the ability to minimize the impact of external factors on the output,
and insensitivity/robustness describes how well the system tolerates variations in its
components.
1. Steady-State Accuracy:
Definition:
Steady-state accuracy refers to the system's ability to maintain a desired output value after
the transient response has settled.
Measurement:It is often assessed by the steady-state error, which is the difference between
the desired and actual output values when time approaches infinity.
Importance:
High steady-state accuracy is crucial for applications where precise output tracking is
required over extended periods.
Example:
A cruise control system aiming for a specific speed must maintain that speed accurately over
time, even with minor fluctuations.
2. Transient Accuracy:
Definition:
Transient accuracy describes how well the system behaves during the initial period as it
transitions from one state to another. This includes aspects like rise time, overshoot, and
settling time.
Importance:
Transient accuracy is important in applications where the system needs to respond quickly
and smoothly to changes in the input or setpoint.
Example:
A robot arm moving to a new position should do so quickly and smoothly without excessive
oscillations or delays.
3. Disturbance Rejection:
Definition:
Disturbance rejection is the ability of a control system to minimize the impact of external
disturbances on the output.
Measurement:
This is often assessed by how much the output deviates from its desired value due to the
disturbance.
Importance:
Example:
A power steering system needs to maintain the desired steering angle even when
encountering bumps or uneven road surfaces.
Definition:
Insensitivity and robustness refer to a system's ability to maintain its desired performance
despite variations in its components or the environment.
Importance:
Example:
A flight control system must maintain stable flight even with variations in aircraft weight,
engine performance, or wind conditions.
Relationship:
Robustness can be achieved through various control strategies, including H∞ control, which
specifically targets performance and stability robustness.
Open-Loop Control System is used in applications in which no feedback and error handling
are required. It is simple and economical but optimization is not possible. Maintenance of
OPCS is easier.
Closed-Loop Control System is used in applications where feedback and error handling are
required. It is a complex system and not economical but optimization is possible.
Maintenance of CLCS is difficult.
Both types of control systems use sensors and actuators to measure and control the
output.
Both types of control systems rely on a feedback mechanism to monitor and adjust
the output.
Both types of control systems can be used in various applications, such as industrial
control, robotics, and automation.
The following table differentiates Open-Loop Control System and Closed-Loop Control
System:
[Link]. Open-Loop Control System Closed-Loop Control System
Conclusion:
Open-loop and closed-loop control systems are two main types of control systems that are
used to manage and regulate the behavior of physical systems. While both types of systems
have their advantages and disadvantages, closed-loop control systems are generally more
stable and consistent because they have feedback. As technology continues to evolve, we
are likely to see more closed-loop control systems being developed to manage and regulate
a wide range of physical systems.
Note:
Eigen vector
Suppose be an Eigenvalue of a matrix A. Then for every a non – zero vector x1 such that.
… (1)
Properties of Eigenvalues
1. The sum of the Eigenvalues of a matrix A is equal to the sum of the diagonal elements
of a matrix A.
2. The product of all Eigenvalues of a matrix A is equal to the value of the determinant.
5. If all Eigenvalues are non –zero then A-1 exist and conversely.
Properties of Eigenvector
Thus the Eigenvectors corresponding to the Eigenvalue are (-1,1,0) and (-2,1,1).
x – 2y + z = 0
x + y – 2z = 0
Or
Hence the three Eigenvectors obtained are (-1,1,0), (-2,1,1) and (3,3,3).
In this article, we will be going through standard signals. First of all, we will discuss the basic
concepts of signals, and then we will go through 4 standard test signals that are mainly used
in control systems followed by definitions, mathematical expressions, representation,
properties, real-life examples, and relationships between all 4 standard test signals. At last,
we will conclude our article with some interesting FAQs.
Table of Content
Signal
Step Signal
Ramp Signal
Impulse Signal
Parabolic Signal
What is Signal?
Standard test signals are the signals which are used to check the control systems
performance using time response of the output. There are various Standard test signals
which are listed below, we will discuss one by one about these signals With their
mathematical expressions and graphical representation.
Step signal
Ramp signal
Impulse signal
Parabolic signal
Step Signal
A Step signal is one of the standard test signal. It is also known as Heaviside's
function or Heaviside's Step signal. The magnitude of step signal is constant. A Step signal
exists only for positive values and zero for negative values. It is denoted by u(t),
mathematically u(t) will be constant for t>0 ( i.e., for positive values) and will be zero for t<0
(i.e., for negative values). It represents sudden change in the reference input. It is used to
analyze system response to sudden changes in the reference input. It is defined by
its magnitude.
There are two types to Step signal , Continuous Step signal and Discrete Step signal.
Continuous Step signal can be defined as the following expression given below-
0 ; for t<0
Thus the above expression implies that it is a continuous Step signal of magnitude ' ? '
For ? = 1 , This Step signal is called Unit Step signal of magnitude ' 1 '.
Continuous Unit Step signal can be defined as the following expression given below-
0 ; for t<0
Graph of Step signal is shown below, fig (i) is graph of Step signal with Magnitude ' ? ' and
the figure (ii) is graph of Unit Step signal whose magnitude is ' 1 '
Practically, Continuous Unit Step signal can be defined as the following expression given
below-
At u(0) function is undefined so by using Gibb's phenomena theory, we will define u(0) as
1/2;
(1+0)/2
1/2 ;
Discrete Step signal can be defined as the following expression given below
0 ; for n<0
Where n is an integer.
Thus the above expression implies that it is a Step signal of magnitude ' ? '
For ? = 1 , This Step signal is called Discrete Unit Step signal of magnitude ' 1 '.
Discrete Unit Step signal can be defined as the following expression given below-
0 ; for n<0
Where n is an integer.
Discrete-Time Step and Unit Step signal
System Transitions and Switching Events: Step signals are commonly used to model
sudden changes or transitions in systems across various engineering domains.
Control System Analysis: Step signals are used to analyze the response of control
systems to sudden changes in reference inputs or disturbances. By applying step
inputs to control systems, we can evaluate system stability, transient response, and
performance.
Process Control and Automation: Step signals are used in process control and
automation systems for modeling sudden changes in process parameters, such as
flow rates, temperatures, or chemical concentrations.
Simple to Generate : Step signals are simple to generate and understand, making
them accessible for both theoretical analysis and practical implementation. Their
straightforward nature allows us to easily generate step inputs using simple control
mechanisms or software tools.
System Response to Sudden Changes: Step signals are particularly useful for
studying the response of systems to sudden changes or transitions. By applying step
inputs to systems, we can observe and analyze how the system reacts to sudden
changes in inputs.
Stability Analysis: We can determine system stability by observing how the system
responds to step inputs and By analyzing characteristics such as overshoot, settling
time, and steady-state error, which are indicative of stability properties.
Versatile Applications: Step signals are used in control systems, signal processing,
electronics, Motion control and Robotics.
Disadvantages of Step Signals
Ramp Signal
A Ramp signal is one of the standard test signal. It is an increasing function which
increases linearly with Time. A Ramp signal exists only for positive values and zero for
negative values. It is denoted by r(t), mathematically r(t) will be ' t ' for t>=0 ( i.e., for positive
values of t ) and will be zero for t<0 (i.e., negative values of t ). Ramp signal is used to analyze
system response to linearly changing inputs. It is also known as velocity type input. Ramp
input is defined by its slope.
There are two types of Ramp signal, Continuous Ramp signal and Discrete Ramp signal.
Continuous Ramp signal can be defined as the following expression given below
0 ; for t<0
Thus the above expression implies that it is a continuous Ramp signal of slope ' ? '
For ? = 1 , This Step signal is called Unit Ramp signal of slope ' 1 '.
Continuous Unit Ramp Step signal can be defined as the following expression given below-
0 ; for t<0
Graph of Ramp signal is shown below, fig (i) is graph of Ramp signal with slope ' ? ' and the
figure (ii) is graph of Unit Ramp signal whose slope is ' 1 '
graph of Ramp signal and Unit Ramp signal
Discrete Ramp signal can be defined as the following expression given below
0 ; for n<0
Where n is an integer.
Thus the above expression implies that it is a Ramp signal with slope ' ? '
For ? = 1 , This Step signal is called Discrete Unit Ramp signal with slope ' 1 '.
Discrete Unit Ramp signal can be defined as the following expression given below-
= 0 ; for n<0
Where n is an integer.
Control System Analysis: Ramp signals are to study the response of systems to
gradual changes in input. By applying ramp signals as inputs to control systems, we
can analyze the system's response to linearly changing inputs.
Signal Processing and Filtering: Ramp signals are used in signal processing
applications, such as filtering and trend analysis. By convolving signals with ramp
functions, we can perform linear trend removal or filtering to extract trends from
noisy or fluctuating data.
Motion Control and Robotics: Ramp signals can be used in motion control systems
and robotics. ramp signals are utilized to command smooth and controlled
movements of actuators and robotic manipulators.
Velocity Profile Representation: Ramp signals are particularly useful for representing
velocity profiles in motion control systems.
Linear Input Analysis: Ramp signals are used to analyze system responses to linearly
changing inputs. This allows us to determine how system will react to gradual
changes
Infinite Energy: Ramp signals have unbounded amplitudes over time, leading to
infinite energy. This impracticality arises from the continuous increase or decrease in
amplitude, which results in unbounded energy accumulation over time, making it
challenging to generate or sustain in real-world systems.
Unrealistic Modeling: The infinite energy characteristic of ramp signals makes them
unrealistic for modeling physical phenomena in the real world. Most physical systems
operate within finite energy constraints, and the concept of infinite energy violates
the fundamental principles of energy conservation and system stability.
Complex Analysis: Analyzing the behavior of systems subjected to ramp signals can
be complex due to their unbounded nature. Mathematical analysis of systems with
infinite energy inputs often involves specialized techniques and considerations,
increasing the complexity of system modeling, analysis, and design.
Impulse Signal
An Impulse signal is one of the standard test signal. It is also known as Dirac delta function.
An Impulse signal exists only at zero. The magnitude of an Impulse signal is infinity. It is
denoted by δ(t), mathematically δ(t) will be infinity at t = 0 and zero for t ≠ 0. An impulse
signal is an infinitesimally narrow pulse with unit area and infinite amplitude. It is used to
analyze system response to Impulse - like inputs. It gives overall system response.
Continuous Impulse signal is defined by its magnitude whereas Discrete Impulse signal is
defined by its Amplitude.
There are two types of Impulse signal, Continuous Impulse signal and Discrete Impulse
signal.
Continuous Ramp signal can be defined as the following expression given below-
δ(t) = ∞ ; for t = 0
0 ; for t ≠ 0
∫t=−∞∞δ(t)dt = 1∫t=−∞∞δ(t)dt = 1
Thus the above expression implies that it is a continuous Unit Impulse signal of Area ' 1 '
First of all we take a Rectangular ( Gate function ) of area ' 1 ' unit. Then decrease its width in
such a way that its area remain ' 1 ' unit. When width of Rectangular function tends to zero
then height of rectangular function will be of infinite magnitude. It can also be generated by
Triangular function with same concept.
Expression :
∫−∞∞δ(t)dt = 1∫−∞∞δ(t)dt = 1
Impulse function is an Even function ( As its graph is symmetric about vertical axis )
Expression :
Expression :
Product property
2. ∫−∞∞x(t)δ(t−t0)dt=∫−∞∞x(t0)δ(t−t0)dt=x(t0)∫−∞∞δ(t−t0)dt=x(t0)∫−∞∞x(t)δ(t−t0
)dt=∫−∞∞x(t0)δ(t−t0)dt=x(t0)∫−∞∞δ(t−t0)dt=x(t0)
Discrete-Time Impulse signal can be defined as the following expression given below
δ[n] = 1 ; for n = 0
0 ; for n ≠ 0
Where n is an integer.
Discrete Impulse signal is defined by its magnitude whereas Continuous Impulse signal is
defined by area. Discrete Unit Impulse signal is also known as Karnecker's delta or Unit
Sample. δ[n] is not affected by scaling.
Expression :
Proof :
Product Property
Summation Property
System Analysis : Impulse signals are widely used to analyze the behavior of linear
time-invariant (LTI) systems. By applying an impulse signal as input to a system, We
can obtain its impulse response, which characterizes the system's behavior.
Control System Design: Impulse signals are valuable tools for designing and analyzing
control systems. They help to determine the system stability and performance of
control systems by evaluating their Impulse response.
Signal Processing: Impulse signals play a crucial role in signal processing applications
such as filtering, convolution, and system identification. For example, in digital signal
processing, convolving a signal with an impulse response helps to characterize the
system's behavior and filter out undesired components from the input signal.
Simplified System Analysis: Impulse signals simplify the analysis of Linear Time-
Invariant (LTI) systems. By convolving the impulse response of a system with any
input signal, we can obtain the system's response for that input.
Parabolic Signal
A Parabolic signal is one of the standard test signal. Parabolic signal is the signal whose
magnitude varies as square of time. It is represented by p(t), mathematically p(t) will be t2/2
for t>=0 ( i.e. for positive values) and will be zero for t<0 ( i.e. for negative value ). It is also
called acceleration type input. It is used to analyze system response to Non linear inputs.
There are two types to Parabolic signal , Continuous Parabolic signal and Discrete Parabolic
signal.
Continuous Parabolic signal can be defined as the following expression given below-
0 ; for t<0
Discrete Parabolic signal can be defined as the following expression given below-
= 0 ; for n<0
Discrete-Time Parabolic signal
Signal processing : Parabolic signals are used in signal processing for analyzing
systems with acceleration or deceleration components. It can be used in areas such
as audio processing, image processing, and communication systems.
Control system : parabolic signals help in modeling and analyzing the behavior of
dynamic systems, especially those with higher-order dynamics. It can be used in
designing controllers for systems with complex dynamics, such as robotics, aerospace
systems, and industrial automation.
Physics and Engineering : Parabolic signals are used in physics and engineering to
represent motion, forces, acceleration and energy changes in systems. It can be used
in areas like mechanics, fluid dynamics, and structural analysis.
Analysis of Higher-Order Systems: Parabolic signals are useful for analyzing higher-
order systems that exhibit non-linear behaviors. It allow to study the response of
complex systems to various inputs and disturbances.
Realistic Modeling: Parabolic signals provide a more realistic modeling approach for
systems where acceleration or deceleration is a significant factor, enhancing the
fidelity of simulations and predictions.
Enhanced Control Design: parabolic signals allows for the design of controllers that
can handle more complex dynamics, leading to improved system performance and
stability.
Infinite Energy: Parabolic signals possess infinite energy, which makes them
impractical for real-world applications where resources are finite and bounded.
Limited Applicability: simpler signals like steps or ramps are sufficient for modeling
and analysis, using of parabolic signals unnecessary and complex.
X(t) = t for t ⋿ R
0 ; for t<0
so , t u(t) = r(t)
Expression :
Expression :
Expression :
Table of Content
A unit step signal is also the step signal and one of the standard testing signals. A unit step
signal is a specific type of input signal used for analysis, testing and designing. The
magnitude of the unit step signal is one. A unit step signal can exist only for positive values
and zero for negative values. In other words, let f(t) be a function, then the value of f(t) will
be 1 for t>0 (i.e., for positive values of t ) and it will be zero for t<0 (i.e., for negative values
of t). It is one of the important signals for the analysis of the systems. Unit step signals can
be represented in both continuous and discrete-time systems.
The below graph represents the unit step signal in a discrete-time system
The response of the control systems can be analysed in both time domain and frequency
domain. Now let us discuss the time and frequency response analysis of the control system.
Time response refers to the behaviour of a system as a function of time when subjected to
certain input conditions. Time response examines how a system reacts and evolves after
being simultaneously by an input signal. Time response analysis is particularly useful for
understanding how quickly a system reaches its final value, how it responds to sudden
changes and whether it exhibits oscillatory behaviour.
A step signal is one of the standard testing signals. A step signal is a specific input signal used
for analysis, testing and design. A step signal can exist only for positive values and zero for
negative values. In other words, let f(t) be a function, then the value of f(t) will be a constant
value for t>0 (i.e., for positive values of t) and it will be zero for t<0 (i.e., for negative values
of t). It is one of the important signals for the analysis of the systems. Step signals can be
represented in both continuous and discrete-time systems.
Step signal representation in a continuous time system
The below graph represents the step signal in a continuous time system
There are many types of unit step signals. A few of them are discussed below.
Ramp Signal
The continuous time unit step is defined below and the graph of it is shown below.
The below graph represents the unit step signal in a continuous time system
The discrete-time unit step is defined below and the graph of it is shown below.
The below graph represents the unit step signal in a discrete-time system
Discrete-Time Unit Step Signal
This shifted unit step signal is obtained by delaying or advancing the unit step signal in time.
For example, u(t-a) is a unit delayed by 'a' units or u(t+a) is a unit advanced by 'a'. The below
graphs represent the shifted unit step signal.
Ramp Signal
signal is represented by r(t). A ramp signal is a continuous or discrete signal that grows
linearly with time. In continuous time it is represented as r(t)=t*u(t). The below figure
represents the graph of the ramp signal.
Ramp Signal
The unit step signal is continuous at t=0, but its derivative experiences an impulse-
like behaviour at that point.
Mathematically, it is often represented using the Heaviside step function, H(t), where
u(t)=H(t).
if a>1 : compressed
if 0<a<1 : expanded
The unit step signal has a unit area under its curve, meaning the integral of u(t) over
the entire range is equal to 1.
The unit step signal is frequently used in the analysis of linear- time-invariant
systems, where it helps describe the system's response to a sudden change or input.
Different signals can be derived from unit step signals some of them are discussed below.
Time Scaling
u(at) is a unit step function. Time scaling does not effect unshifted unit step function. The
below equation represents the equation of the time scaling.
Proof :
Above equation proved that u(at) i.e., unshifted unit step signal does not effected by Time
scaling and is equal to u(t).
Time Shifting
u(t-a)-u(t-b) represents a unit step function between a and b. The below representations are
the equations of time shifting.
Reflection
1-u(t) is a reflected unit step signal. The below-represented equations are the equations of
the reflection of the unit step signal.
1-u(t)=1 ; for t<0
The unit step function is used to represent idealized changes in the system.
The unit step function is used in the transient analysis of the system.
Unit step signal provides clear and well-defined changes in the system which makes it
useful for testing and analyzing system responses.
The unit step signal is a common signal for the control system design.
It cannot be used for non-linear systems and it provides limited insights for non-
linear systems.
Conclusion
In this Article, We learned What is Unit Step Signal, the types of Unit Steps Signal such as
Continuous-time, Discrete-time and others, the characteristics of Unit step signals, and
Different cases and relationships such as Time Scaling, Time shifting and Reflection. We have
also seen various Applications, Advantages and Disadvantages.
The unit ramp signal is a fundamental and insightful instrument that engineers and
researchers both will use in the field of control systems. In order to clarify the meaning,
uses, and implications of the unit ramp signal in control system, this article sets out to
explore its complexities. The unit ramp signal and its connection to the unit step function
(u(t)) will be defined. In addition to being a mathematical concept, the unit ramp signal is an
essential component in the study of linear time-invariant control syst.
Table of Content
Characteristics
Types
Different Cases
Applications
Advantages
Disadvantages
What is Signal?
Signals are the representation of physical quantity which vary according to the independent
variable. These variable should be time or space etc.
There are various type of basic signals in control system. These signals are as follows:-
Step signal
Ramp signal
Impulse signal
In control system signals are used to analyze system behavior for the different type of inputs.
In control system some standard signals are used Unit ramp signal is one of them. In this
article, we will explore different cases of unit ramp signals, providing equations and
accompanying graphs to illustrate their behavior in various contexts.
Ramp Signal
Thus the equation implies that the ramp signal is a straight line with a slope of 'a'.
On behalf of the value of slope 'a' there may be various kinds of ramp signals.
Graph of ramp signal is shown below fig (i) is graph of ramp signal with slope 'k' and the
figure (ii) is graph of unit ramp signal whose slope is '1'.
Ramp-Signal
Unit ramp signals are fundamental building blocks in the realm of digital signal processing.
The unit ramp signal is a ramp signal with a slope value equal to 1.
The following equation gives the unit ramp signal -
r(t) = t ; t>=0
= 0, t<0
As we can see, the unit ramp signal is a straight line with a slope of 1. The value of function
on each instance is increasing, when time is increased.
Slope of unit ramp signal is positive, means unit ramp signal is positively increasing
signal.
Area under the unit ramp signal for time t=0 to t=T is T.
The continuous-time unit ramp signal is a signal which is defined as each instance of time. It
is represented by r(t), defined as (Equation of Continuous-time Unit Ramp Signal)-
r(t) = t ; t>=0
= 0, t<0
The graph between r(t) and t is continuous in nature. There are no breakpoints in it.
Continuous-Time-Unit-Ramp-Signal
The discrete-time unit ramp signal is defined for the fixed instances of time with definite
time intervals. The discrete-time unit ramp signal is represented as r(n).
It is defined as (Equation of Discrete Ramp Signal ) -
r(n) = n , n>=0
= 0 , n<0
To plot this graph we just have to take the mirror image of r(t) along with X-axis.
-r(t) = -t , t>= 0
= 0 , t<0
To plot the graph for r(-t) we just have to take the mirror image of r(t) along with Y-axis.
graph of r(-t) is given below:-
Time-Reversal
In time shifting, the graph shifted it position by k to the Left (In case of r(t+k) ) or Right (In
case of r(t-k) ) as shown below:
Time-Shifting
With Unit Step Signal : The unit ramp signal is equivalent to the definite integration
of the Unit step function from 0 to time t.
Laplace Transformation of Unit Ramp Signal : Laplace transform of Unit ramp signal {
R(f) } is given as -
Digital Signal Processing: - In Digital Signal Processing, unit ramp signals are used for
signal modeling, system analysis, filter design(digital filters) etc.
Economics and Finance:- Ramp signals are used to represent the linear trends of
data like company revenue, profit, etc.
Linear System Modeling:- In a Control system, ramp signals are used to study and
analyze the system behavior like steady-state response, linear behavior of the system
with time, etc.
The unit ramp signal makes it easier to analyze how the system reacts to gradually
increasing inputs.
It may not be suitable for describing the behavior of the rapidly changing systems or
nonlinearity.
In certain cases, a more complicated signal may be needed to accurately describe the
dynamics of the system.
Conclusion
In this article we learn about the ramp signal, type of ramp signal such as continuous-time
ramp signal and discrete-time ramp signal, properties of the ramp signal such as time
reversal, time shifting property. We also learn that unit ramp signal is also used in time
domain analysis of the control analysis, unit ramp signal is the one of the standard test signal
used in control system in time domain analysis.
Necessary but not Sufficient Conditions: The criterion provides necessary conditions
for stability, meaning that if these conditions are not met, the system is definitely
unstable. However, meeting these conditions doesn't guarantee stability, and further
analysis might be needed in some cases. [7, 8]
Special Cases: There are some special cases in the Routh array, such as a row of zeros
or a zero in the first column, which require further investigation or the use of an
auxiliary polynomial to determine stability.
Table of Content
LTI System
General Representation
Mathematical expression
Steps to evaluate
Example
Properties
Advantages
Disadvantages
Applications
What is Linearity?
Linearity means that the system follows the principle of superposition . In other
words , if we apply a linear combination of inputs to the system , the output is the
same linear combination of the individual responses to each input . Mathematically .
for an linear time invariant system , if you have an input signal x1(t) and another
input signal x2(t), and you apply them to a system , the response to x1(t)+x2(t) is the
same as the response to x1(t) added to the response to x2(t).
If y1(t) is the response of x1(t) and y2(t) is the response of x2(t) , then for a LTI
system:
What is Time-Invariance?
Time - invariance means that the system's properties and behaviour don not change
with time. In other words , the system's response to an input signal at any given time
is the same as it's response to the same input signal at any other time .
Mathematically , if you apply an input signal x(t) the response at time time t, denoted
as y(t) , is the same as the response at a later time t+T.
y(t) = LTI[x(t)]
→y(t+T) = LTI[x(t+T)]
These two properties , linearity and time - invariance makes LTI systems particularly
mathematically tractable and amenable to analysis. They allow for the use of
techniques like convolution , laplace transform and the state transition matrix to
analyze and design control systems and signal processing systems .
LTI (Linear time invariant) systems can be described using state - space
representation , transfer function and differential or difference equations , depending
on the context and the specific system .They are widely used in various engineering
and scientific fields for modeling and controlling dynamic systems , such as electrical
circuits , mechanical systems, chemical processes and communication systems. Now
let us look at the mathematical equation of the linear time invariant system (LTI
system) in continuous time and discrete time systems.
a0dy(t)dt+a1y(t)=b0dx(t)dt+b1x(t)a0dtdy(t)+a1y(t)=b0dtdx(t)+b1x(t)
where:
where :
Pij=Pij=∣p11p12...p1np21p22...p2n..................pn1pn2...pnn∣∣∣p11p21...pn1p12p22
...pn2..................p1np2n...pnn∣∣
where :
where:
ẋ(t) is the derivative of the state vector x(t) with respect to time .
Then, the state transition matrix Ф(t) satisfies the following equation ẋ(t) = A * x(t)
+ B * u(t) , where Ф(t) is a matrix
In the above equation , x(t) represents the state of the system at time t, and x(0) is
the initial state at time t=0.
The below expression represents the state transition matrix in the exponential form .
Ф(t) can be obtained by the Inverse Laplace Transform form of the Ф(s) , where Ф(s) =
[sI - A]-1 (i.e., inverse of [sI-A]).
Find the matric [sI - A ] where I is the identity matrix and A is the system matrix
Find the inverse of the matrix [sI - A ] . (inverse = adj(matrix) / det(matrix). [implies :
[sI - A]-1 = Ф(s)
Apply the laplcae transform to Ф(s) .
The State Space analysis applies to the non-linear and time-variant system. It helps in
the analysis and design of linear, non-linear, multi-input, and multi-output systems.
Earlier the transfer function applied to the linear time-invariant system but with the
help of State Space analysis, it is possible to find the transfer function of the non-
linear and time-variant systems. In this article, we will study the State Space Model in
control system engineering.
State Space Analysis is the graphical tool that is used to analyze and design the linear,
non-linear, time-variant, time-invariant multi-input, multi-output system. It is used to
describe the behavior of LTI systems. It describes the internal state of the system.
There are various key components of the state space analysis which are as follows:
State Vector
State Space
The state of a dynamical system is a set of minimal variables and the knowledge of
these variables at t=to together with input for t≥tot≥to completely determines the
behavior of the system for any time t. In other words, the compact representation of
the previous history of the system is known as the State of the system.
The variables that contain the dynamic information of the system are known as State
Variables.
State Vector
The 'n' set of state variables which describes the dynamic equations of the linear
system, then it can be considered as N components of a vector q. The given below is
the state vector of continuous system.
State Vector
State Space
When the coordinate axis of the N-dimensional space consist of q1-axis, q2-axis, ....,
qn-axis, it is known as state space. Any state can be represented by the point in the
state space.
The single-input and single output continuous time LTI system is described by the
differential equation which is given below:
dNy(t)dtN+dN−1y(t)dtN−1+....+any(t)=x(t)dtNdNy(t)+dtN−1dN−1y(t)+....+any(t)=x(t) --
--(1)
qn(t)˙=−anq1(t)−an−1q2(t)−.......−a1qn(t)+x(t)qn(t)˙=−anq1(t)−an−1q2(t)−.......−a1qn
(t)+x(t) -------(3)
and,
The equation 3 and equation 4 can be expressed in the matrix form as given below
where qk(t)˙=dqk(t)dtqk(t)˙=dtdqk(t):
Matrix Form
The transfer function can be calculated using state space analysis. We will now see
the procedure for calculating the transfer function.
sx(s) = Ax(s)+Bu(s)
(sI-A)x(s) = Bu(s)
x(s)=Bu(s)sI−Ax(s)=sI−ABu(s) ---(3)
y(s)=CBu(s)sI−A+du(s)y(s)=CsI−ABu(s)+du(s)
where,
The equation 5 represents the transfer function of the given system. With the help of
this equation we can directly calculate the transfer function of the system.
If the matrix is satisfying the linear homogenous state equation then the matrix is
called state transition matrix. Linear homogenous state equation is described below:
x(t)˙=dx(t)dt=Ax(t)x(t)˙=dtdx(t)=Ax(t) ---(1)
Let ϕ(t)ϕ(t) be the state transition matrix then
dϕ(t)dt=Aϕ(t)dtdϕ(t)=Aϕ(t) ---(2)
If ϕ(t)ϕ(t) is the state transition matrix, it will satisfy the given condition:
sx(s)-x(0) = Ax(s)
x(s)(sI-A) = x(0)
x(s) = (sI-A)-1x(0)
x(t) = L-1[(sI-A)-1x(0)]
ϕ(t2-t0) = ϕ(t2-t1)ϕ(t1-t0)
Controllability
The system is controllable when the desired output is obtained by applying the
specific controlled input. It is the ability to control the state of the system. The
controllability of the system can be checked using the Kalam Test. The given below is
the condition for the controllability:
Observability
It is the system's ability to measure or observe the system state. If the internal state
of the system is determined using the input and output signals during a finite interval
of time then the system is said to be observable. The observability of the system can
be checked using the Kalam Test. The given below is the condition for the
observability:
There are some list of Advantages and Disadvantages of State Space Analysis given below
:
Advantages
1. It provides an easy way to find the transfer function of the system where Laplace
Transform and z-transform cannot be applied.
Disadvantages
1. State Space analysis become complex for large-scale systems because it involves a
high number of state variables and equations.
2. It helps design the flight control system. With the help of state space analysis
dynamic behaviour of the aircraft can be studied properly.
3. It is used in robotics technology to study the arm's motion and stability using the
transfer function
4. To improve the reliability of the control power system, the state space analysis is
used.
Order of a System
Implications:
A first-order system has a single energy storage element and is typically characterized
by a single pole in its transfer function.
A second-order system has two energy storage elements and is characterized by two
poles, which can lead to oscillatory behavior.
Type of a System
Definition: The type of a system refers to the number of integrators (or poles at the
origin) in its transfer function. It essentially indicates how the system responds to
steady-state inputs, particularly in terms of tracking or following a reference input.
Types:
Type 0: No integrators; the system has a finite steady-state error for a step input.
Type 1: One integrator; the system can track a step input with zero steady-state error
but has a finite error for ramp inputs.
Type 2: Two integrators; the system can track both step and ramp inputs with zero
steady-state error but has finite error for parabolic inputs.
Break At Angle - sets the angle value along an arc at which the arc is split. The arc must
pass through this value in order for it to be broken, or the function will fail. The angle
value is always from the zero degree position (3 o'clock) of the XY plane of the arc.
In control systems, an all-pass system is a type of filter that passes all frequencies of a
signal without attenuation, but it alters the phase relationship between them. This unique
characteristic allows all-pass systems to be used for phase compensation and stabilization in
control systems, improving overall system performance and stability. [1, 2, 3]
Phase Shift: While maintaining the same magnitude for all frequencies, it introduces
a frequency-dependent phase shift. [2, 5]
Purpose: The phase shift is the key function of an all-pass system, allowing for
manipulation of the signal's phase without altering its amplitude. [2, 5]
Applications: All-pass filters are used in applications like feedback control systems to
stabilize the plant, and in pulse shaping and other signal processing tasks where
phase manipulation is necessary. [3, 3, 5, 5]
Frequency-Dependent Phase Shift: The phase shift introduced by the all-pass system
varies with frequency. [2, 5]
Pole-Zero Placement: All-pass systems often have poles and zeros that are
reciprocals of each other in the complex plane. [6]
Example:
Imagine a feedback control system where the plant introduces a phase lag. An all-pass filter
can be placed in the feedback loop to introduce a phase lead, compensating for the lag and
improving the overall stability of the system.
In essence, all-pass systems are valuable tools in control systems for fine-tuning the phase
characteristics of signals, which is crucial for achieving desired performance and stability.
Clear Stability Margins: Frequency domain analysis readily provides gain margin and
phase margin, which are crucial indicators of a system's stability.
Graphical Tools: Tools like Bode plots and Nyquist plots visually represent the
system's frequency response, making it easier to assess stability and identify
potential instability issues.
Simple Stability Tests: The analysis allows for straightforward stability tests, even for
complex systems.
2. Performance Evaluation:
Resonant Peak Analysis: It helps identify resonant frequencies and peak overshoots,
which are important considerations for system stability and performance. [1, 2, 6, 7]
Disturbance and Noise Analysis: Frequency domain analysis allows for examining
how disturbances and noise affect the system at different frequencies, enabling
better mitigation strategies. [2, 6, 8, 9, 10]
Simplified System Design: Frequency domain analysis provides a clear path for
designing control systems to meet specific performance requirements.
Easier Analysis of Time Delays: Handling pure time delays, which can be problematic
in time domain analysis, is simpler in the frequency domain.
Graphical Design Tools: Bode plots and other graphical tools provide a clear
visualization of the system's behavior, aiding in the design process.
5. System Identification:
Reinforcement Learning
H-Infinity synthesis
This cost function depends on system states and control inputs , as shown below.
Based on the performance specifications, weighting factors Q, R, and N are set for
this optimal control law to define the appropriate balance between system state
regulation and the cost of control actuation.
Not all state measurements will be accessible in many optimal control problems. In
these cases, states must be estimated using an observer. This is typically done using
an observer such as a Kalman filter. A Kalman filter combined with an LQR controller
constitutes a Linear Quadratic Gaussian (LQG) controller.
To learn more, check out the MATLAB tech talk on LQR control.
The Model Predictive Control (MPC) is used to minimize a cost function in multi-input
multi-output (MIMO) systems that are subject to input and output constraints. This
optimal control technique uses a system model to predict future plant outputs. Using
the predicted plant outputs, the controller solves an online optimization problem,
namely a quadratic program, to determine the optimal adjustments to a manipulable
variable that drives the predicted output to the reference. MPC variants include
adaptive, gain-scheduled, and nonlinear MPC controllers. The type of MPC controller
used depends on the prediction model (linear/nonlinear), constraints
(linear/nonlinear), cost function (quadratic/nonquadratic), throughput, and sample
time. To learn more, check out the MATLAB Tech Talk about MPC variants.
To learn more, check out the MATLAB Tech Talk series on Model Predictive Control.
Reinforcement Learning
This optimal control method can be used for decision-making problems and as a
nonlinear control alternative for applications that use conventional control methods
such as automated driving, robotics, scheduling problems, and dynamic calibration of
systems.
To learn more, check out the MATLAB Tech Talk series about Reinforcement Learning.
H-Infinity synthesis
With H-infinity, the control objectives are formulated in terms of the normalized
closed-loop gain. H-infinity synthesis automatically computes a controller that
optimizes performance by minimizing this gain. This is useful because many control
objectives can be expressed in terms of minimizing gains. This includes objectives
such as disturbance rejection, sensitivity to noise, tracking, loop shaping, loop
decoupling, and robust stability. Variations of H-infinity synthesis can be used to
handle both fixed structure or full-order controllers.
No, the state model of a system is not unique. There can be multiple valid
state space representations for the same system. [1, 1, 2, 2, 3, 3, 4, 4, 5, 5]
Elaboration:
Example: Imagine describing the position of a moving object. You could use Cartesian
coordinates (x, y, z) or polar coordinates (r, θ, φ). Both sets of coordinates describe
the object's position, but they are different representations. Similarly, different state-
space models can represent the same system. [8, 8, 9, 9, 11, 12, 13, 14]
Minimal Realization: Although not unique, it's often desirable to find a "minimal"
state-space realization, which uses the fewest possible state variables to represent
the system, according to a forum on Math Stack Exchange.
Elaboration:
1. Completeness:
A set of state variables is considered complete if, knowing their values at a given time
(along with the system's inputs), you can predict the future behavior of the system
without needing any additional information about its past. This means the state
variables capture all the relevant "memory" or "history" of the system that influences
its future response.
For example, in a simple electrical circuit with a capacitor, the voltage across the
capacitor at a given time is a state variable. Knowing this voltage, along with the
input voltage applied to the circuit, allows you to determine the future voltage and
current in the circuit, regardless of how the capacitor voltage got to that level in the
past.
2. Uniqueness:
For a given set of state variables and a known input, there should be only one
possible future state of the system.
If multiple future states were possible for the same initial conditions and inputs, it
would violate the principle of causality, which states that the future should be
uniquely determined by the present. Uniqueness ensures that the system behaves
deterministically, meaning its response is predictable given its current state and
input.
These two conditions are fundamental to the concept of state variables and are
essential for building accurate mathematical models of systems and for control
system design.
When we talk about a linear control system it is all about how it responds to inputs.
Picture it this way imagine you have a magical machine called 'System S' that does
stuff based on what you give it. Now this machine follows two important rules:
Homogeneity: If you give it something to do say a task or an instruction & you make
that instruction bigger or smaller by a certain amount the result from the machine
gets bigger or smaller by the same amount. It is like when you increase the work you
ask it to do the result also increases by the same factor.
Additivity: Now, if you give this machine two different tasks separately, it gives you
two results, right?. Now, here is the interesting part. If you combine these two tasks
and give them to the machine as one big task (adding the two smaller tasks
together), the result you get is the same as if you added the results of the two
smaller tasks separately. It is like the machine does not care if you give it two jobs or
one big combined job, the result is the sum of the individual results.
When we talk about linear control systems, we are talking about systems that play by
these rules. They were the types of systems that follow these two principles that is
they respond predictably when you make the task bigger or smaller & their response
to combined tasks is just the sum of their responses to the individual tasks.
Think of a simple circuit with just resistors and a battery that gives a steady flow of
electricity. In this circuit, if you change the voltage from the battery that's make it
stronger or weaker the resulting current in the circuit changes by the same factor.
That's the homogeneity part - change one thing & the other changes in sync. Now if
you have a bunch of resistors connected in different ways and you measure the
voltage and current at different points you will find that if you sum up the voltages or
currents separately it's the same as if you add them all together at once. In other
words the total effect is just the sum of all the individual effects. This behavior makes
it a linear control system.
So, this circuit when we ignore any funky side effects and assume everything working
perfectly shows a linear relationship between voltage and current. It is a good
example of a linear control system because it plays by the rules of homogeneity and
additivity.
Nonlinear control system is basically one that does not follow the simple rules we
talked about earlier. Remember how we said in linear systems changing one thing
changes another thing by the same amount? Well, in real life, most systems don't
work like that. They are a bit more complicated.
Take something like a DC machine's magnetization curve which shows how the
magnetic field inside the machine changes with the electricity going through it. At
first when you increase the electricity accordingly the magnetic field inside also
increases in a kind of straight line. That is the linear part, where things change in a
predictable way. But after a point something interesting happens the system starts to
act differently. Even if you keep increasing the electricity the magnetic field does not
change in the same straight-line way anymore. It reaches a point where it is kind of
maxed out, like a sponge that cannot soak up any more water. That's what we call
saturation & it makes the relationship between electricity and the magnetic field
non-linear.
So, nonlinear systems are the ones that don't stick to simple, predictable patterns
throughout their whole operation. They might start off following a rule, but at some
point, they veer off and behave in unexpected ways, like this magnetization curve in
a DC machine.
Graph of DC Machine Example of Non-linear system
Beyond a certain point of increasing electricity input the magnetic field inside the
machine does not increase at the same rate. Instead, it starts reaching a point where
it becomes saturated. The main characteristic of this is a saturation represents a
nonlinear behavior where additional increases in electricity no longer produce
equivalent increases in the magnetic field strength. It reaches a maximum limit.
Linear Algebra in Control Systems: Eigenvalue and eigenvector and their applications
are used in a linear control system.
Stability Analysis: Criteria for stability such that eigenvalues and stability regions in
linear systems.
Nonlinear Stability Analysis: Evaluating stability in systems that does not adhere to
linear stability concepts using Lyapunov stability theory & other nonlinear stability
analysis methods.
Unpredictable behavior of
Predict the behavior within nonlinear control system
the specified limits. especially beyond certain
thresholds.
Block Diagram
Block Diagram
Conclusion
Linear control systems follow specific rules of homogeneity and additivity that
exhibiting predictable responses to input changes and maintaining a consistent
relationship between inputs & outputs within defined limits. In opposite nonlinear
control systems don't follow these simple rules this showcasing unpredictable
behavior especially beyond certain thresholds. While linear systems adhere to
consistent patterns nonlinear systems exhibit complex and unexpected behaviors,
deviating from straightforward relationships between inputs & outputs. The
distinction lies in how they respond to changes:
Difference Between Time-Variant and Time-Invariant System
Faster Response: Preempts before an error takes place, it means that it responds
faster.
Simple Design: Thus, no feedback loop simplifies the system design of the given
problem.
Efficient for Predictable Systems: Most appropriate for those systems expected to
undergo regular interferences or disruptiveness.
Less Accurate: If the forecast of disturbances is wrong, then the system isn’t going to
operate as planned.
All the disturbances are All the disturbances are not detected
detected in feedback system. in feed forward system.
Conclusion