A. System Identification
Introduction
The Quanser Aero Experiment can be configured as a conventional dual-rotor helicopter, as shown in Figure 1a. The front rotor that is horizontal to the ground predominantly affects the motion about the pitch axis while the back or tail rotor mainly affects the motion about the yaw axis (about the vertical shaft).

The tail rotor in helicopters is also known as the anti-torque rotor because it is used to reduce the torque that the main rotor generates about the yaw. Without this, the helicopter would be difficult to stabilize about the yaw axis. The rotors on the Quanser Aero Experiment are the same size and equidistant from the vertical shaft, the tail rotor also generates a torque about the pitch axis. As a result, both the front and back/tail rotors generate torques on each other.
Background
Pitch Stiffness
The Quanser 2D AERO is designed with its mass distribution well balanced from the front and back rotors such that its center of gravity is at the mid-point between the two rotors. However, a vertical offset of the cg location is included to result in pitch stiffness from the pendulum effect as depicted in Figure 1b.

The system is in static equilibrium when it is horizontal and parallel to the ground with zero pitch angle. Any change in pitch angle θb gives rise to a restoring moment from the pendulum effect given by restoring pitch moment due to pitch angle change = −MbgDmsin(θb)≈−MbgDmθb
Equations of Motion
The free-body diagram of the Quanser Aero Experiment is illustrated in Figure 2.

The following conventions are used for the modeling:
The helicopter is horizontal and parallel with the ground when the pitch angle is zero, i.e., θ=0 .
The pitch angle increases positively, θ(t)>0 , when the front rotor is moved upwards and the body rotates clockwise (CW) about the Y axis.
The yaw angle increases positively, ψ(t)>0 , when the body rotates counter-clockwise (CCW) about the Z axis.
Pitch increases, θ>0 , when the front rotor voltage is positive Vθ>0 .
Yaw increases, ψ>0 , when the back (or tail) rotor voltage is positive, Vψ>0 .
When voltage is applied to the pitch motor, Vθ , the speed of rotation results in a force, Fp that acts normal to the body at a distance rp from the pitch axis as shown in Figure 2. The rotation of the propeller generates a torque about the pitch rotor motor shaft which is in turn seen about the yaw axis. Thus, rotating the pitch propeller does not only cause motion about the pitch axis but also about the yaw axis. As described earlier, that is why conventional helicopters include a tail, or anti-torque, rotor to compensate for the torque generated about the yaw axis by the large, main rotor.
Similarly, the yaw motor causes a force Fy that acts on the body at a distance ry from the yaw axis as well as a torque about the pitch axis as shown in Figure 2.
The equations of motion can be approximated as:
For pitch axis:
For yaw axis:
where the torques acting on the pitch and yaw axes are
The parameters used in the EOMs above are:
ζθ : the damping ratio of the pitch dynamics
ωnθ : the natural frequency of the pitch dynamics
τψ : the time constant of the yaw dynamics
Kθθ : normalized torque thrust gain from the pitch rotor (normalized by Jθ)
Kψψ : normalized torque thrust gain from the yaw rotor (normalized by Jψ)
Kθψ : normalized cross-torque thrust gain acting on the pitch from the yaw rotor (normalized by Jθ)
Kψθ : normalized cross-torque thrust gain acting on the yaw from the pitch rotor (normalized by Jψ)
Vθ : voltage applied to the pitch rotor motor
Vψ : voltage applied to the yaw rotor motor
Jθ : the total moment of inertia about the pitch axis
Jψ : the total moment of inertia about the yaw axis
First-Order Response
The step response of a first-order transfer function
where y(0) is the initial condition, K is the DC or steady-state gain, and τ is the time constant as illustrated in Figure 3. Figure 3 is for a system with y(0) = 0, K=1 rad/V and τ=0.05 sec.
To obtain the time constant from the response, find the time it takes to reach 1−e−1or 63.2% of its final steady-state value:
The time constant is τ=t1−t0, where t0 is the start time of the step and t1 is the time it takes to reach 63.2% of the final value, as illustrated in Figure 3.

Second-Order Response
The general equation of motion of a second-order system with input u(t) is described by
Assuming the initial conditions α(0−)=α0 and α˙(0−)=0, the Laplace transform of Equation (9) is
The characteristic equation from Equation (10) is obtained as,
where ζ is the damping ratio and ωn is the natural frequency.
The typical response of an underdamped second order system to a step input with zero initial conditions is shown in Figure 4. The natural frequency and damping ratio can be obtained from transient response using Figure 4 as follows:
Finding the Natural Frequency
The period of the oscillations in a system response can be found using the equation
where tn is the time of the nth peak, t1 is the time of the first peak, and n is the number of oscillations considered. From this, the damped natural frequency (in radians per second) is
and the undamped natural frequency is
Finding the Damping Ratio
The damping ratio of a second-order system can be found from the transient response to a step input. For a typical second-order underdamped system, the subsidence ratio (i.e. decrement ratio) is defined as

where O1 is the peak magnitude of the first oscillation and On is the peak magnitude of the nth oscillation. Note that O1 > On , as this is a decaying response. The damping ratio can then be found using
Estimating the Damping Ratio, Natural Frequency and Time Constant
The damping ratio and the natural frequency of the pitch axis, ζθ and ωnθ in Equation (1) can be found from the oscillatory portion of the step response.
Pitch Axis: Apply a voltage only to the pitch rotor motor and get the system response in the pitch axis. The resulting second-order equation of motion is
Taking its Laplace transform gives
Assuming the initial velocity is zero, θ˙(0−)=0, and solving for position we get
The pitch step response transfer function matches the standard second-order transfer function in Equation (10). Thus, the damping ratio and natural frequency of the pitch axis can be determined from the pitch step response or alternatively from free response to an initial pitch disturbance.
Yaw Axis: The yaw-only equation of motion by applying a voltage input only to the yaw rotor motor is
In terms of angular rate, the equation becomes
where ωψ(t)=ψ˙(t) . Taking its Laplace transform
and solving for the speed we get
The yaw transfer function matches the first-order transfer function in Equation (7). Thus, the time constant of the yaw axis can be determined from the yaw step response or alternatively from the yaw response to a yaw rate disturbance.
Estimating the Thrust Parameters
A) Estimating Kθθ
Providing step input only in the pitch axis (applying a voltage to the pitch rotor motor) allows us to focus on the pitch-only system. Plugging Vθ=0 and Vψ=0 in Equation (1), the equation of motion for the pitch axis is
Solving for the normalized thrust gain we get
Remark that this is the normalized thrust torque gain parameter. The normalized force thrust gain would be Kθθ/rp, where rpis the distance between the helicopter pivot and the center of the pitch rotor. Steady State Method: By focusing on the steady-state portion of the system response to a step voltage input to the pitch rotor motor, and neglecting the θ¨ and θ˙ (zero at steady-state), the normalized thrust gain is obtained as
where Vθ is the magnitude of the voltage input to the pitch rotor motor.
Discrete Derivative Method: The thrust gain parameter can be obtained as
where Ωθ=θ˙ and Δt is the difference between the time instance when the step input is given tstep and a time instance slightly above tstep, i.e., t=tstep+. Thus we can find the normalized pitch thrust gain from the measured pitch rate and derived acceleration (discrete-derivative of pitch rate).
B) Estimating Kψψ
Similarly, to find the normalized thrust gain acting on the yaw axis system, apply a voltage to the tail rotor motor. Plugging Vθ=0 and Vψ=0 in Equation (1), the equation of motion for the yaw axis is
or,
where ωψ=ψ˙ is the angular rate of the yaw axis. The normalized yaw torque thrust gain is
Steady State Method: At steady-state condition, and neglecting the ω˙ψ (zero at steady-state), the normalized thrust gain is obtained as
where Vψis the magnitude of the step voltage input to the yaw rotor motor.
Discrete Derivative Method: The thrust gain parameter can be obtained as
where Ωψ=ψ˙ and Δt is the difference between the time instance when the step input is given tstep and a time instance slightly above tstep, i.e., t=tstep+. Thus we can find the normalized yaw thrust gain from the measured yaw rate and derived acceleration (discrete-derivative of yaw rate).
C) Estimating Kθψ and Kψθ
The normalized cross-torque thrust parameters, Kθψand Kψθ in Equation (3) and (4), represent the coupling between the axes. The cross-torque acting on the pitch axis from a torque applied to the tail rotor motor, can be found by appling a voltage to the tail rotor motor, and examining the response of the pitch. The equations representing these dynamics when Vθ=0 and Vψ=0, are
Similarly to identify the cross-torque acting on the yaw axis from a torque applied to the pitch rotor motor, apply a voltage to the pitch rotor motor, and examine the response of the yaw. The equations representing these dynamics when Vθ=0 and Vψ=0 , are
Estimating Kθψ and Kψθ are out of scope of this lab. The values of these parameters are provided in the Analysis section.
System Identification
Experimental Steps for Finding System Parameters
First download the zip file below and extract in your group folder. The experiment data is automatically generated in the folder MATLAB is opened to.
1) Pitch Motor Voltage Impulse
Unlock the pitch axis. Lock the yaw axis.
Open the pitch_impulse SIMULINK file.
Set the amplitude gain block to 18. This applies a pulse input of -18 V for 1.5 sec in the pitch axis.
Select simulation time 30 sec.
To build the model, click the down arrow on Monitor & Tune under the Hardware tab and then click Build for monitoring
. This generates the controller code.Click Connect
button under Monitor & Tune and then run SIMULINK by clicking Start
.Copy
aero_pitch_impulse.matto your folder.If the data is not smooth/clean, repeat steps 3-7 with a different pulse voltage.
Close the SIMULINK model. DO NOT SAVE THE CHANGE.
Data is saved in following order: 1: Time 2: Pitch motor input (V) 3: Pitch Angle (rad) 4: Pitch Speed (rad/s)

2) Pitch Motor Voltage Step
Lock the yaw axis.
Open the pitch_step SIMULINK file.
Apply a step input in the pitch axis. If your setup is Aero1, apply 18 V. If your setup is Aero2, apply 14 V.
Select simulation time 100 sec.
To build the model, click the down arrow on Monitor & Tune under the Hardware tab and then click Build for monitoring
. This generates the controller code.Click Connect
button under Monitor & Tune and then run SIMULINK by clicking Start
.Note: Pitch angle has to reach steady state i.e. constant pitch angle, or you may have to increase simulation time. If steady state has reached, you can end simulation earlier.
Copy
aero_pitch_step.matto your folder.If the data is not smooth/clean, repeat steps 3-7 with a different step voltage.
Close the SIMULINK model. DO NOT SAVE THE CHANGE.
Data is saved in following order: 1: Time 2: Pitch motor input (V) 3: Pitch Angle (rad) 4: Pitch Speed (rad/s)

3) Yaw Motor Voltage Step
Unlock the yaw axis. Lock the pitch axis.
Open the yaw_step SIMULINK file.
Apply a step input in the yaw axis. If your setup is Aero1, pick a voltage in the range 15-20 V. If your setup is Aero2, pick a voltage in the range 10-11.5 V.
Select simulation time 100 sec.
To build the model, click the down arrow on Monitor & Tune under the Hardware tab and then click Build for monitoring
. This generates the controller code.Click Connect
button under Monitor & Tune and then run SIMULINK by clicking Start
.
Note: Pitch angle has to reach steady state i.e. constant pitch angle, or you may have to increase simulation time. If steady state has reached, you can end simulation earlier.Copy
aero_yaw_step.matto your folder.If the data is not smooth/clean, repeat steps 3-7 with a different step voltage.
Close the SIMULINK model. DO NOT SAVE THE CHANGE.
Data is saved in following order: 1: Time 2: Yaw motor input (V) 3: Yaw Angle (rad) 4: Yaw Speed (rad/s)

Analysis
The cross-torque thrust parameters are Kθψ=0.0959 Nm/V, Kψθ=−0.1227 Nm/V. These will be required for Controller Design.
From the pitch response due to pitch motor step input find the normalized thrust gain Kθθ, using both the steady state method and discrete derivative method.
You can also use the above-attached
Aero_Pitch_SystemID.mlxscript to find Kθθ. Complete the lines marked with TODO.Fill in the values in Table B.2.
From the yaw speed response due to yaw motor step input find the time constant and normalized thrust gain Kψψ
You can use the above-attached
Aero_Yaw_SystemID.mlxscript to find τ and Kψψ. Complete the lines marked with TODO.
Table B.1
ωnθ
ζθ
τψ
Table B.2
Kθθ
Kψψ
Results for Report
Equations used for calculating ωn, ζ, τ, Kθθ,Kψψ.
Table B.1 and Table B.2.
Questions for Report
The given value of Kθψ is positive and Kψθ is negative for our setup (see Step 1 of Analysis section). Why?
Compare the normalized thrust gains obtained from the steady-state method and discrete derivative method and explain any differences.
Last updated
Was this helpful?