Ch4. Linearization of nonlinear systems

hyeony·2024년 10월 9일
0

자동제어

목록 보기
4/8

4.1 Why Linearization?

Linearization(선형화) 란 어떤 비선형 시스템을 근사하는 선형 모델을 찾는 과정이다. 대부분 현실 세계의 물리 시스템은 비선형적이다. 그런데 본래 비선형 시스템인 것을 operating point 근처에서 선형화하여 local dynamic behavior을 조사하는 것이 합리적이다. 이를 위해, 라플라스 변환이나 선형대수 등 선형 시스템을 분석하는 데 유용한 수학적 툴이 존재한다.

Recall: Basic Characteristics of Lienar System - Superposition

4.2 Linearization using Taylor Series Expansion

y=f(x)=f(x0)+dfdxx0(xx0)+12!d2fdx2x0(xx0)2+13!d(3)fdx(3)x0(xx0)3+y=f(x)=f(x_0)+\left.\frac{df}{dx}\right\vert_{x_0}(x-x_0)+\frac{1}{2!}\left.\frac{d^2f}{dx^2}\right\vert_{x_0}(x-x_0)^2+\frac{1}{3!}\left.\frac{d^{(3)}f}{dx^{(3)}}\right\vert_{x_0}(x-x_0)^3+\cdots

xx0x-x_0가 매우 작으면

yf(x0)+dfdxx0(xx0)y\simeq f(x_0)+\left.\frac{df}{dx}\right\vert_{x_0}(x-x_0)

Example: Rotational pendulum

τ(t)mglsinθ(t)=Jα=ml2θ¨(t)\tau(t)-mgl\sin\theta(t)=J\alpha=ml^2\ddot{\theta}(t)

ml2θ¨(t)+mglsinθ(t)=τ(t)\Leftrightarrow ml^2\ddot{\theta}(t)+mgl\sin\theta(t)=\tau(t)

θ¨(t)+glsinθ(t)=τ(t)ml2\Leftrightarrow \ddot{\theta}(t)+\frac{g}{l}\sin\theta(t)=\frac{\tau(t)}{ml^2} ← 여전히 비선형 모델(①)

만약 motion이 매우 작다면, sinθ(t)θ(t)\sin\theta(t)\approx\theta(t)라고 할 수 있다.

Taylor 급수를 활용하여 θ0=0\theta_0=0 부근에서 비선형 함수를 선형화한다고 하자. 비선형 함수 y=glsinθ(t)y=\frac{g}{l}\sin\theta(t)에 대해,

y(x0)+dfdxx0(xx0)=glsin(θ0)+glcos(θ0)(θ(t)θ0)=glθ(t)y\approx(x_0)+\left.\frac{df}{dx}\right\vert_{x_0}(x-x_0)=\frac{g}{l}\sin(\theta_0)+\frac{g}{l}\cos(\theta_0)(\theta(t)-\theta_0)=\frac{g}{l}\theta(t)

①은 다음과 같이 선형화할 수 있다.

θ¨(t)+glθ(t)=τ(t)ml2\ddot{\theta}(t)+\frac{g}{l}\theta(t)=\frac{\tau(t)}{ml^2}

4.3 Solution of Differential Equations of Dynamic Systems

4.3.1 Response


mx¨(t)+bx˙(t)+kx(t)=f(t)m\ddot{x}(t)+b\dot{x}(t)+kx(t)=f(t)

시스템의 시간 영역에서 특정 입력에 대한 응답은 무엇인가? 그전에 몇몇 중요한 입력 신호를 살펴볼 필요가 있다.

Unit Step Function

us(t)={1t00otherwiseu_s(t)=\begin{cases}1 & t\ge0 \\0 & otherwise\end{cases}

Unit Ramp Function

ur(t)={tt00otherwiseu_r(t)=\begin{cases}t & t\ge0 \\0 & otherwise\end{cases}

(ideal) Impulse Function(or Dirac Delta Function)

ui(t)=δ(t)=0,t0u_i(t)=\delta(t)=0, t\neq0

δ(x)dx=1\int_{-\infty}^{\infty} \delta(x)\, dx=1

Sifting Property: x(τ)δ(tτ)dτ=x(t)\int_{-\infty}^{\infty} x(\tau)\delta(t-\tau)\, d\tau=x(t)

입력 x(t)x(t)을 가지는 LTI 시스템의 출력을 y(t)y(t)라 하자.
y(t)=T[x(t)]y(t)=T[x(t)]

sifting → T[x(τ)δ(xτ)dτ]T[\int_{-\infty}^{\infty}x(\tau) \delta(x-\tau)\, d\tau]

linear → x(τ)T[δ(xτ)]dτ\int_{-\infty}^{\infty}x(\tau) T[\delta(x-\tau)]\, d\tau

h(tτ)=T[δ(tτ)]h(t-\tau)=T[\delta(t-\tau)]라고 하면

convolution integral → x(τ)h(tτ)dτ\int_{-\infty}^{\infty}x(\tau) h(t-\tau)\, d\tau

y(t)x(t)h(t)\therefore y(t)\triangleq x(t)*h(t)

따라서 LTI 시스템에서는, impulse response을 안다면 컨볼루션 적분만으로 어느 입력값에 대해서든 출력 응답을 찾을 수 있다.

Example: Find a impulse response
First order system 하나를 보자.

y˙(t)+ky(t)=u(t)\dot{y}(t)+ky(t)=u(t)

y(0)=0y(0^-)=0라 하면, u(t)=δ(t)u(t)=\delta(t)이다.

t>0t>0에 대해, y˙(t)+ky(t)=0y(t)=Aest,y˙(t)=Asest\dot{y}(t)+ky(t)=0 \Leftrightarrow y(t)=Ae^{st}, \dot{y}(t)=Ase^{st}

Asest+kAest=0\Rightarrow Ase^{st}+kAe^{st}=0

여기서, s=ks=-k라 하고,

00+y˙(t)dt+k00+y(t)dt=00+δ(t)dt\int_{0^-}^{0^+}\dot{y}(t)\, dt+k\int_{0^-}^{0^+}y(t)\, dt=\int_{0^-}^{0^+}\delta(t)\, dt

y(0+)y(0)+0=1\Leftrightarrow y(0^+)-y(0^-)+0=1

h(t)={ektt00t<0or ektus(t)h(t)=\begin{cases}e^{-kt} & t\ge0 \\0 & t<0\end{cases} or\space e^{-kt}u_s(t)

Response of this system to general input
y(t)=h(τ)u(tτ)dτ=ektus(τ)u(tτ)dτ=0ektu(tτ)dτy(t)=\int_{-\infty}^{\infty}h(\tau) u(t-\tau)\, d\tau=\int_{-\infty}^{\infty}e^{-kt}u_s(\tau) u(t-\tau)\, d\tau=\int_{0}^{\infty}e^{-kt} u(t-\tau)\, d\tau

4.3.2 How to find Impulse response experimentally?


단위 임펄스 입력 대신, 단위 계산 입력을 적용한 후, 출력 응답을 시간에 대해 미분하여 구하는 것이다. 한편, 실험적으로 시스템의 응답을 구할 때는, 실제 환경에서 잡음이 필연적으로 발생하며, 이 잡음이 출력 응답을 왜곡할 수 있다.

ru=urs˙(t)=u˙rs(t)r_u=u*\dot{r_s}(t)=\dot{u}r_s(t)

4.3.3 Standard form

Recall - RLC network

LCd2eC(t)dt2+RCdeC(t)dt+eC(t)=e(t)LC\frac{d^2e_C(t)}{dt^2}+RC\frac{de_C(t)}{dt}+e_C(t)=e(t)

Recall - Mass-spring-damper system

Md2x(t)dt2+βdx(t)dt+kx(t)=f(t)M\frac{d^2x(t)}{dt^2}+\beta\frac{dx(t)}{dt}+kx(t)=f(t)

Standard second order system of form

y¨(t)+2ζwny˙(t)+wn2y(t)=wn2u(t)\ddot{y}(t)+2\zeta w_n\dot{y}(t)+w_n^2y(t)=w_n^2u(t)

일반적으로, n차 선형 상미분 방정식(linear ordinary differential equation of nth order)은 다음과 같이 쓰인다.

dny(t)dtn+an1dn1y(t)dtn1++a1dy(t)dt+a0y(t)=bmdmu(t)dtm+bm1dm1u(t)dtm1++b1du(t)dt+b0u(t)\frac{d^ny(t)}{dt^n}+a_{n-1}\frac{d^{n-1}y(t)}{dt^{n-1}}+\cdots+a_1\frac{dy(t)}{dt}+a_0y(t)=b_m\frac{d^mu(t)}{dt^m}+b_{m-1}\frac{d^{m-1}u(t)}{dt^{m-1}}+\cdots+b_1\frac{du(t)}{dt}+b_0u(t)

4.3.4 Laplace Transform

라플라스 변환은 선형 미분 방정식을 풀기 위한 하나의 방법이다. 이는 선형 상미분 방정식을 대수 방정식으로 변환시킨다.

함수 f(t)f(t)에 대한 라플라스 변환은 다음과 같이 정의된다.

F(s)=0f(x)estdx=L[f(t)]F_(s)=\int_{0^-}^{\infty} f(x)e^{-st}\, dx=\mathcal{L}[f(t)]

여기서 변수 s(=σ+jw)s(=\sigma+jw)은 Laplace operator로 불린다.

다양한 신호에 대해 라플라스 변환을 해보겠다.
step function
us(t)={At00otherwiseL[us(t)]=Asu_s(t)=\begin{cases}A & t\ge0 \\0 & otherwise\end{cases} \Rightarrow \mathcal{L}[u_s(t)]=\frac{A}{s}

Ramp function
ur(t)={Att00otherwiseL[ur(t)]=As2u_r(t)=\begin{cases}At & t\ge0 \\0 & otherwise\end{cases} \Rightarrow \mathcal{L}[u_r(t)]=\frac{A}{s^2}

Pulse function: ① + ②

up(t)={At00t<t00otherwiseL[up(t)]=A(1est0)st0u_p(t)=\begin{cases}\frac{A}{t_0} & 0\le t<t_0 \\0 & otherwise\end{cases} \Rightarrow \mathcal{L}[u_p(t)]=\frac{A(1-e^{-st_0})}{st_0}

Impulse function
ui(t)={limt00At00t<t00otherwiseL[ui(t)]=Au_i(t)=\begin{cases}\lim_{t_0 \to 0}\frac{A}{t_0} & 0\le t<t_0 \\0 & otherwise\end{cases} \Rightarrow \mathcal{L}[u_i(t)]=A

Example: Laplace transform of a unit step function

F(s)=L[us(t)]=0us(t)estdt=01estdt=1sest0=1s0(1s1)=1sF(s)=\mathcal{L}[u_s(t)]=\int_{0}^{\infty}u_s(t) e^{-st}\, dt=\int_{0}^{\infty}1\cdot e^{-st}\, dt=\left.-\frac{1}{s}e^{-st}\right|_0^{\infty}=-\frac{1}{s}\cdot0-(-\frac{1}{s}\cdot1)=\frac{1}{s}

Example: Laplace transform of an exponential function
f(t)=eat,t>0f(t)=e^{-at}, t>0

F(s)=L[f(t)]=0eatestdt=0e(s+a)tdt=1s+ae(s+a)t0=1s+aF(s)=\mathcal{L}[f(t)]=\int_{0}^{\infty}e^{-at}\cdot e^{-st}\, dt=\int_{0}^{\infty}e^{-(s+a)t}\, dt=\left.-\frac{1}{s+a}e^{-(s+a)t}\right|_0^{\infty}=\frac{1}{s+a}

라플라스 변환은 다음의 특성을 가진다.
- Linearity
L[Af(t)]=AF(s)\mathcal{L}[Af(t)]=AF(s)

L[f1(t)+f2(t)]=F1(s)+F2(s)\mathcal{L}[f_1(t)+f_2(t)]=F_1(s)+F_2(s)

- Delay

L[f(ta)]=esaF(s)\mathcal{L}[f(t-a)]=e^{-sa}F(s)

- Differentiation
L[f(t)]=F(s)\mathcal{L}[f(t)]=F(s)

L[df(t)dt]=sF(s)f(0)\mathcal{L}[\frac{df(t)}{dt}]=sF(s)-f(0)

L[d2f(t)dt2]=s2F(s)sf(0)f˙(0)\mathcal{L}[\frac{d^2f(t)}{dt^2}]=s^2F(s)-sf(0)-\dot{f}(0)

\cdots

L[dnf(t)dtn]=snF(s)sn1f(0)sn2f(1)(0)sn3f(2)(0)f(n1)(0)\mathcal{L}[\frac{d^nf(t)}{dt^n}]=s^nF(s)-s^{n-1}f(0)-s^{n-2}f^{(1)}(0)-s^{n-3}f^{(2)}(0)-\cdots-f^{(n-1)}(0)

where f(n)(0)=dnf(t)dtnt=0f^{(n)}(0)=\left.\frac{d^nf(t)}{dt^n}\right|_{t=0}

Proof)

L[df(t)dt]=0df(t)dtestdt=0estdf(t)dtdt\mathcal{L}[\frac{df(t)}{dt}]=\int_{0}^{\infty}\frac{df(t)}{dt}e^{-st}\, dt=\int_{0}^{\infty}e^{-st}\frac{df(t)}{dt}\, dt

※ 부분적분법
abu(t)v˙(t)dt=u(t)v(t)ababu˙(t)v(t)dt\int_{a}^{b}u(t)\cdot\dot{v}(t)\, dt=\left.u(t)v(t)\right|_a^b-\int_{a}^{b}\dot{u}(t)v(t) dt

여기서는 u(t)=est,v(t)=f(t)u(t)=e^{-st}, v(t)=f(t)이다.

그에 따라

0estdf(t)dtdt=estf(t)00stestf(t)dt=f(0)+s0estf(t)dt=F(s)f(0)\int_{0}^{\infty}e^{-st}\frac{df(t)}{dt}\, dt=\left.e^{-st}f(t)\right|_0^{\infty}-\int_{0}^{\infty}-ste^{-st}f(t)\, dt=-f(0)+s\int_{0}^{\infty}e^{-st}f(t)\, dt=F(s)-f(0)

또한,

L[f¨(t)]=sL[f(t)˙]f˙(0)=s(sF(s)f(0))f˙(0)=s2F(s)sf(0)f˙(0)\mathcal{L}[\ddot{f}(t)]=s\mathcal{L}[\dot{f(t)}]-\dot{f}(0)=s(sF(s)-f(0))-\dot{f}(0)=s^2F(s)-sf(0)-\dot{f}(0)

- Integration
L[0tf(τ)dτ]=F(s)s\mathcal{L}[\int_{0}^{t}f(\tau)\, d\tau]=\frac{F(s)}{s}

profile
Chung-Ang Univ. EEE.

0개의 댓글