Professional Documents
Culture Documents
I. THERORETICAL FRAMEWORK
Fig 2. Recommended variable substitution
Control systems play an essential role in modern engineering
and technology, allowing for the precise regulation and control
B. Procedure and observations
of physical processes. Matlab is a powerful software tool
widely used for the design and analysis of control systems, Firstly, we must obtain Laplace transform of the equation
offering a variety of built-in functions and toolboxes that system, thus having
facilitate the modeling and simulation of complex systems.
(2)
transfer functions are mathematical representations of a 1
sω= (Te −bω ) =0
system's input-output relationship, in terms of the Laplace J
variable s. They can be used to analyze the stability, frequency
response, and transient behavior of a system, and to design Afterwards in MATLAB we input the symbolic variables
feedback control strategies to meet specific performance via the command “syms”, as well as the equation 1 and 2 and
requirements. doing the recommended variable substitution in eq. 1. With
“subs”. Next, we consider these as a vector under “EQ”, as
The symbolic transfer functions can be manipulated well as the variables ω and I aunder “X”, thus solving these
algebraically using Matlab's symbolic math toolbox, allowing
and saving their values.
for the derivation of closed-form expressions for system
characteristics such as poles, zeros, and frequency response.
It is imperative to evaluate ω and Te as 1 to obtain Gm as
This capability enables engineers to explore the behavior of well as I a and Ua as 1 for Ga. Finally, we employ the
complex systems in a more efficient and systematic way, commands “collect” to collect the coefficients of the variable
leading to the development of more effective and optimized s, “numden” to extract the numerator and denominator stating
control strategies. In this context, Matlab's symbolic transfer these as “n” and “d” respectively and adding the variable of
functions are a powerful tool for the design and analysis of the transfer function next to it, and “pretty” so it is easier to
control systems, providing a powerful platform for the visually comprehend.
development of innovative engineering solutions [1].
II. EXERCISE 1
A. Instructions
Obtain the transfer function of the DC motor using
MATLAB’s symbolic function.
We thus obtain the transfer functions for the DC motor, Fig 6. Preliminary code for exercise
Gm and Ga respectively.
This code generates the following result:
D. Discussion
For this exercise we obtained the transfer function for
the DC motor, the statement of variables can be made in
multiple ways, yet the process still consists of the key
commands. Something remarkable is that it is necessary to
correctly name and save the values, hence we are working
with several of these and any change can create big differences
in the results.
Nm
Ra=100Ω ; La=100mH; Kt=0.05 ; J=0.001; b=0.001
A
B. Procedure and observations Fig 8. Modifications to code of exercise 2.
C. Results
VI. EXERCISE 5
A. Instructions
Apply dominance to the transfer function of the DC motor that
you got in exercise 4. Call this variable Gwa.
Graph the step response of the original system (Gw) and the
approximation and verify if they are approximated. (Tip: Use
the command “hold” to graph both responses in the same
graph).
In order to obtain Gwa it is needed to apply dominance to the Fig.19. Comparison of the step response of the system with
system, and to do so it is important to identify the poles of the and without applying dominance.
transfer function that we got in Ex. 4.
500
Gω= 2
s +101 s+125
500
Gω=
( s +1 ) ( s+ 100 )+ 25
As the dominant pole is (s + 1) and 100 >> 5(1) it is possible
to eliminate the (s + 100) pole applying dominance, just it is
important to remember to conserve the gain of the system.
500
( )
100
Gωa=
( s+1 ) +( 25/100)
D. Discusion
B. Under what conditions is it correct and incorrect to use a
model approximated by dominance?
As it can be distinguished in Fig. 19 both steps responses look
very similar, is not just when zooming in that the differences
can be appreciated as seen in Fig. 20, and to prove the little The use of a model approximated by dominance can be correct
differences between the step responses it is possible to see or incorrect depending on the application and the accuracy
their characteristics in Fig. 21 where the settling time is quite required for the analysis.
similar as well as the peak-time, this similarity between the
responses can be explain with the dominance, since the pole A model approximated by dominance is a simplified model
that was eliminated was 100 bigger than the most dominant that is obtained by ignoring the effects of smaller or less
pole, meaning that it didn’t controlled much in the step important factors in a system. This approach can be useful in
response. reducing the complexity of a system and facilitating analysis,
but it may also lead to inaccurate results if the factors being
With this exercise it can be visualized the importance of ignored have a significant impact on the behavior of the
dominance when working with dynamic systems and system.
controllers, allowing us to simplify o stabilizing a system by
eliminating or adding poles without that much impact in the Therefore, it is generally correct to use a model approximated
system. by dominance when the factors being ignored are relatively
small compared to the dominant factors in the system, and
when the resulting approximation is accurate enough for the
intended analysis. This approach can be particularly useful in
VII. CUESTIONARY systems with high dimensionality, where the analysis of the
full system may be computationally expensive or infeasible.
A. In the case of the approximate model by dominance, what
elements of the engine would be neglected? However, it is incorrect to use a model approximated by
In the case of an engine, the elements that are neglected in an dominance when the factors being ignored are significant and
approximate model by dominance depend on the specific cannot be neglected without affecting the accuracy of the
application and the level of approximation required. However, analysis. In such cases, a more detailed model that takes all
some possible elements that could be neglected in such a relevant factors into account should be used, even if it is more
model are: computationally expensive. [2]