Introduction
In this part we’ll see how we can model mechanical systems with controls.
Models for mechanical systems
In this series we’ll mainly deal with springs and dampers. Mainly translation motion.
For springs, we’ll of course use Hooke’s law:
Fs=ky
Where k is the spring constant in [mN].
For dampers, we’ll use:
Fy=by˙
Where b is the damping constant in [mNs].
Example 1 (Mass-spring-damper model)
Imagine we have a mass attached to both a spring and damper.
We have a downward force called Fd. Assume the system is rest at the start, using Newton’s second law:
F=my¨Fd−ky−by˙=my¨Fd=my¨+ky+by˙Now we have a second-order differential equation that describes the system. Lets Laplace transform it and find its transfer function from Fd→y.
Meaning GFdy(s)=Fd(s)Y(s)
Fd(s)=ms2Y(s)+kY(s)+bsY(s)Fd(s)=Y(s)(ms2+bs+k)GFdy(s)=Fd(s)Y(s)=ms2+bs+k1
Example 2 (Tank system)
Given a tank system, we can write using Bernoulli’s equation as:
P1+ρgh1+2ρv12=P2+ρgh2+2ρv22Let qout and qin be volume flow. Let h2=0, P1=P2=P and that v1≈0.
This yields:
ρgh1=2ρv22v2=2gh1We define qout with qout=a⋅v, where a is the area.
qout=a2gh1=a2g⋅h1 ∣ non-linearLet V=A⋅h1. This means that V˙ is the rate of change of the volume per second. V˙=qin−qout.
Which means:
Ah˙=qin−qouth˙=A1(qin−qout)h˙=A1(qin−a2g⋅h1)
In the next part, we’ll see how we can linearize this function to obtain the so-called space-state representation of this system.