Ch.3.3 State Variables Input-Output Equations
Ch.3.3 State Variables Input-Output Equations
State Variables
Input-Output Equations
Input-Output Equations
• A second method of presenting the system models is in the form of input-output
differential equations.
• This is done by eliminating all variables except the inputs and outputs and their
derivatives.
𝑎𝑛 𝑦 (𝑛) + ⋯ + 𝑎2 𝑦ሷ + 𝑎1 𝑦ሶ + 𝑎0 𝑦 = 𝑏𝑚 𝑢(𝑚) + ⋯ + 𝑏1 𝑢ሶ + 𝑏0 𝑢
• For a fixed linear system, all the coefficients of the above equation are constant.
• To solve such an equation, you need initial conditions for the outputs and their
derivatives as well as for the inputs for all t > 0. This might be a difficult task.
• For a system with multiple outputs we need a separate equation for each output.
• In general, in the input-output form each of the equations involves only one
unknown variable and its derivatives.
• Input-output equations can either be found from the state variable equations or
from the FBD.
𝑀𝑥ሷ 𝑡 + 𝐵𝑥ሶ 𝑡 + 𝐾𝑥 𝑡 = 𝑓𝑎 𝑡
Variable Input
• Here the free body diagram equation is already in the input-output from
• Output is 𝑥(𝑡)
• Input is 𝑓𝑎 (𝑡)
𝑀𝑥ሷ 𝑡 + 𝐵𝑥ሶ 𝑡 + 𝐾𝑥 𝑡 = 𝑓𝑎 𝑡
Example 3.11
• Find the input-output model for this system.
• The input is the force 𝑓𝑎(𝑡) and the output is the displacement 𝑥2 of the
massless junction A.
EX 3.11
Video solution
attached
Example 3.11
𝑥1
𝑞 = 𝑣1
𝑥2
𝑥1 𝑥2
𝑓𝑎 (𝑡) 𝐵1 𝑣1 𝐵2 𝑥ሶ 2
𝑀𝑣ሶ 1
𝑀 𝐾2 𝑥2 𝐴
𝐾1 𝑥1 − 𝑥2 𝐾1 𝑥2 − 𝑥1
𝑓𝑎 (𝑡) 𝐾2 𝑥2 𝐵2 𝑥ሶ 2
𝐵1 𝑥ሶ 1 𝐴
𝑀𝑥ሷ 1 𝑀 𝐾1 𝑥1 − 𝑥2
𝐾1 𝑥2 − 𝑥1
𝑦ሶ 1 + 2𝑦1 + 𝑦2 = 3𝑢(𝑡)
2𝑦ሶ1 + 5𝑦1 − 2𝑦ሶ 2 + 2𝑦2 = 0
Reducing Simultaneous Differential eq.
𝑦ሶ 1 + 2𝑦1 + 𝑦2 = 3𝑢 𝑝 + 2 𝑦1 + 𝑦2 = 3𝑢
2𝑦ሶ1 + 5𝑦1 − 2𝑦ሶ 2 + 2𝑦2 = 0 2𝑝 + 5 𝑦1 + −2𝑝 + 2 𝑦2 = 0
2𝑝 + 5 𝑝 + 2 𝑦1 + 𝑦2 = 3𝑢 2𝑝 + 5 𝑦2 − 𝑝 + 2 −2𝑝 + 2 𝑦2 = 3 2𝑝 + 5 𝑢
−
𝑝 + 2 2𝑝 + 5 𝑦1 + −2𝑝 + 2 𝑦2 = 0 2𝑝2 𝑦2 + 4𝑝𝑦2 + 𝑦2 = 6𝑝𝑢 + 15𝑢
• Use the two equations to solve for the unknown 𝑦2 , treat 𝑝 as a constant