Professional Documents
Culture Documents
Group Members
This study offers a state-of-the-art response to complex problems in antenna azimuth position
management for sophisticated control engineering applications. The suggested system uses a
reliable closed-loop control strategy that makes use of in-the-moment feedback from an azimuth
sensor. A painstakingly created PID controller coordinates exact motor motions, enabling precise
tracking of antenna position. The system's effectiveness is painstakingly evaluated by thorough
simulations and stringent experimental validations, demonstrating its extraordinary performance
in obtaining the lowest tracking errors and highest control precision. This ground-breaking solution
provides a huge advance in wireless networks and control engineering by dramatically boosting
signal strength, reducing interference, and boosting overall communication reliability.
Table of Contents
1. Part A..................................................................................................................................................... 6
1.1. Theory ............................................................................................................................................... 6
1.1.1. State space representation ....................................................................................................... 6
1.1.2. Power amplifier ......................................................................................................................... 6
1.1.3. Motor and load ......................................................................................................................... 6
A. Motor State Equations ...................................................................................................................... 7
B. Load State Equations ......................................................................................................................... 7
1.2. Problem statement ........................................................................................................................... 7
1.2.1. Solution ......................................................................................................................................... 8
Power amplifier ......................................................................................................................................... 8
Motor and load: ........................................................................................................................................ 8
2. Part B ................................................................................................................................................... 10
2.1. Theory ............................................................................................................................................. 10
2.1.1. Nature of step response .......................................................................................................... 10
2.1.2. Orders of system ..................................................................................................................... 11
2.1.3. Damping Ratio (ζ) .................................................................................................................... 11
2.1.4. Natural Frequency ................................................................................................................... 12
2.2. Problem Statement ......................................................................................................................... 12
2.2.1. Solution ....................................................................................................................................... 12
3. Part C ................................................................................................................................................... 14
3.1. Problem statement ......................................................................................................................... 14
3.1.1. Code ........................................................................................................................................ 14
3.1.2. Result....................................................................................................................................... 15
3.1.3. Graph....................................................................................................................................... 15
Nomenclature
Symbol Abbreviation
PID Proportional Integral Derivative
s Laplace variable (used in transfer functions)
ea Power amplifier output
Vp Power amplifier input
dx/dt Derivative of x with respect to t (rate of
change of x with time)
A State matrix
B Input matrix
C Output matrix
D Feedthrough matrix
θ_m Angular position of the motor's rotor
ω_m Angular velocity of the motor's rotor
J_m Moment of inertia of the motor's rotor
τ_m Torque applied to the motor
b_m Viscous damping coefficient of the motor
θ_l Angular position of the load
ω_l Angular velocity of the load
J_l Moment of inertia of the load
τ_l Torque applied to the load
b_l Viscous damping coefficient of the load
ζ Damping ratio
ωn Natural frequency
1. Part A
1.1. Theory
1.1.1. State space representation
State space representation is a mathematical modeling technique used in control systems and
other engineering fields to describe the behavior of a system. It provides a concise and
comprehensive representation of the system's dynamics by defining a set of state variables and
their relationships.
In state space representation, a dynamic system is described by a set of first-order differential
equations, known as state equations, and a set of algebraic equations, known as output
equations. The state equations describe the evolution of the system's internal states over time,
while the output equations relate the system's states to its observed outputs.
Ea ( s ) 100
G (s) = = (1)
V p ( s ) ( s + 100)
Cross-multiplying, (s +100) Ea(s) = 100 Vp (s) from which the differential equation can be written
as
dea
+ 100ea = 100v p (t ) (2)
dt
Rearranging Eq. (2) leads to the state equation with eq as the state variable:
dea
= −100ea + 100v p (t ) (3)
dt
Since the output of the power amplifier is eq(t), the output equation is
Y = ea (4)
d m
ea t = ia (t ) Ra + K B (5)
dt
Where;
ea(t) is the armature input voltage, ia(t) is the armature current, Ra is the armature resistance, Kb
is the armature constant, and θm is the angular displacement of the armature. The torque, Tm(t),
delivered by the motor is related separately to the armature current and the load seen by the
armature.
dt 2 m d
Tm (t ) = K t ia (t ) = J m 2
+ Dm m (6)
dt dt
Where;
Jm is the equivalent inertia as seen by the armature, and Dm is the equivalent viscous
Solving Eq. (6) for ia(t) and substituting the result into Eq. (5) yields
Ra J m d 2 m D R d
ea (t ) = ( ) 2 + ( m a + Kb ) m (7)
Kt dt Ki dt
x1 = m (8)
d m
x2 = (9)
dt
R J dx D R
ea (t ) = a m 2 + m a + K b x2 (10)
Kt dt K i
dx2 1 Dm K1 Rb K1
= x2 + ea (t ) (11)
dt J m Ra Ra J m
Using Eqs. (8) and (11), the state equations are written as
dx1
= x2 (12)
dt
dx2 1 D KR K
= − m 1 b x2 + 1 ea (t ) (13)
dt J m Ra Ra J m
The output, θ0(t), is 1/10 the displacement of the armature, which is x1. Hence, the output
equation is
y = 0.1x1 (14)
0 1
• 1 0
x = 0 − x+ ea (t ) (15)
D KK
Jm ( m 1 b K1
RJ
Ra a m
y = 0 0.1 x (16)
But from the case study problem in Chapter 2, Jm = 0.03 and Dm 0.02. Also, Kt /Ra =0.0625 and
Kb =0.5. Substituting the values into Eq. (15), we obtain the final state-space representation:
• 0 0 0
x= x+ ea (t ) (17)
0 −1.71 2.083
y = 0 0.1 x (18)
2. Part B
2.1. Theory
2.1.1. Nature of step response
The nature of a step response refers to the behavior of a system when subjected to a sudden
change or step input. It provides valuable information about the system's stability, response time,
overshoot, settling time, and overall dynamic characteristics. The key characteristics of a step
response include the following:
i. Rise Time: The rise time is the time taken for the system's output to transition from a
specified low value to a specified high value for the first time. It indicates how quickly the
system responds to the step input.
ii. Overshoot: Overshoot refers to the maximum deviation of the system's output from the
desired steady-state value. It represents the amount by which the response exceeds the
final value before settling down. Overshoot can indicate the presence of oscillations or
instability in the system.
iii. Settling Time: Settling time is the time required for the system's output to reach and stay
within a specified range around the desired steady-state value. It indicates how quickly
the system achieves a stable response.
iv. Steady-State Value: The steady-state value is the final output value that the system
settles to after the transient response has subsided. It represents the desired or expected
value under steady-state conditions.
v. Damping: Damping refers to the rate at which the system's oscillations decrease over
time. It is a measure of the system's stability and can be quantified using the damping
ratio. A higher damping ratio indicates faster decay of oscillations and better stability.
vi. Time Constant: The time constant of a system represents the time it takes for the
system's response to reach a specific percentage (e.g., 63.2% or 90%) of its final value.
It characterizes the speed of the system's response.
2.2.1. Solution
a. Using the transfer function, the nature of the step response can be predicted. The step
response consists of the steady-state response generated by the step input and the
transient response, which is the sum of two exponentials generated by each pole of the
transfer function. Hence, the form of the response is
(t ) = A + Be−100t + Ce−1.71t
0
(19)
b. The damping ratio and natural frequency of the open-loop system can be found by
expanding the denominator of the transfer function. Since the open-loop transfer function
is
20.83
G (s) = (20)
S + 101.71S + 171
2
20.83
0 ( s ) = (21)
S ( S + 100)( S + 1.71)
Covert to
Motor and Load angular
Power amp
velocity
0.2083
0 (s) 0 ( s )
Vp ( s ) 100
S ( S + 1.71) S
Ea ( s ) ( S + 100)
d. First, convert the transfer function into the state-space representation. Using Eq. (19), we
have
o ( s ) 20.83
= (24)
Vp (s) s + 101.71s + 171
2
Cross-multiplying and taking the inverse Laplace transform with zero initial
conditions, we have
• •
o + 101.71o + 171o = 20.83v p (25)
where vp=1, a unit step. Since x1= ωo is the output, the output equation is
y = x1 (30)
3. Part C
3.1.1. Code
3.1.3. Graph