Mini Problem s2 2023
Mini Problem s2 2023
Instructions: Show all calculations clearly and neatly. The simulation analysis should
be done via MATLAB. The submission must be on Blackboard in PDF format. No
submissions will be accepted after the deadline.
Suggested Outline
Assume your reader is a competent engineer
Title Page
I. Introduction
• Introduce the problem and its challenges
• Give a brief summary of the methods using flow-chart
II. Results
• Give detailed description of the results
• Include MATLAB figures with comments that support your findings
The proposed problem showed that physical systems can be modelled mathematically with
transfer functions. Typically, systems are composed of subsystems of different types, such as
electrical, mechanical, and electromechanical.
The relationship between the output angular rotation of the hip joint and the input torque supplied
by the leg muscle is described by the human leg's transfer function. Figure 1 illustrates a simplified
model for the leg, considering an applied muscular torque Tm(t) in the direction, viscous
damping at the hip joint (D), and inertia around the hip joint (J). Furthermore, a nonlinear torque
is generated by a component of the leg's weight, M1g, where M1 represents the mass of the leg,
and g is the acceleration due to gravity. For simplicity, we assume that the mass is evenly
distributed, and the center of mass is located at L/2, with L being the length of the leg.
The first case study uses our ongoing example of the Motor-Gearbox-simple pendulum position
control system to show how to represent each subsystem as a transfer function.
Part 1- Step
A standard DC motor can be represented by a basic circuit containing an armature resistance Ra
and inductance La. The input for the system is the DC motor voltage, vb (t ) K b d m (t ) dt where
vb is the back electromotive force (back emf); Kb is the back emf constant. The armature speed of
a DC motor is regulated by the armature voltage ea=K1ev. When current flows through the
armature, it produces a magnetic field that generates a torque, T, which causes the armature to
rotate. The electrical diagram of the equivalent armature circuit model is depicted in Figure 1. (a).
According to Kirchhoff's Voltage Law, the total sum of electrical potential differences around a
closed loop in a circuit is zero.
m (t ) Tm (t )
Figure 1(a)
1-Applying this principle to the circuit illustrated, to obtain the differential equation for the
armature circuit.
2- Obtain the transfer function m ( s ) Ev ( s ) between the motor shaft angular displacement m and
the error voltage ea
m ( s) Kt Kb
Ev ( s ) J m La s ( J m Ra Dm La ) s 2 ( Dm Ra K b K t ) s
3
Now that we are able to find the transfer function for rotary motor systems, we realize that these
systems, especially those driven by motors, are rarely seen without associated gear trains driving
the load. The following section covers this important topic.
G (t )
m (t )
L (t )
Figure 1(b)
Eliminating G and m by writing the resulting equation is terms of L and its time derivatives.
2.2 Find the transfer function L ( s ) Ev ( s) of a system in such cases, where L ( s ) is the angular
rotation of the leg about the hip joint.
2
2.3 Determine the response L (t ) of the system if L ( s)
s 2s 2 2s
3
m (t ) TA (t )
L (t )
Figure 2
3.1 Show from Figure 2 that the system admits two degrees of freedom in generalized coordinates
X and θ.
3.2- Express the total kinetic energies of the spring-pendulum mass
3.3- Express the total potential energies of the spring-pendulum mass
3.4- Use Lagrange’s energy method to derive the equations of motion for this system.
3.5-Develop the state-space model and study the motion using MATLAB while varying the
parameters M, and k1, considering k1 = k2. if θ = L (t )
3.6- Find
a. The eigenfrequencies.
b. The eigenvectors.
1. Cover Page
2. Executive Summary - A summary of one page or less that outlines the project and its results.
3. Table of Contents
4. Project Description - This section should cover mechanical, electrical, and software design
aspects. Subsections should focus on the following elements:
- Description of the control scheme, including the motion profile
- Writing guide for schematics
- Calculations
- Free Body Diagrams (FBDs) and differential equations
5. Test Results - This section should present simulation results and describe the tests performed to
assess overall performance.
6. Conclusions - A brief summary of the overall results, highlighting the strengths and weaknesses
of the study.
7. Recommendations - Suggestions for improving solutions to complex problems.
8. Appendix - Simulation program if necessary.
9. Final reports will be evaluated based on various factors, including the clarity of the solution
principles and theoretical documentation (i.e., how clearly the work has been explained and
documented).
The MATLAB code for running the solutions (using Runge–Kutta this time) must
be presented