Linearization of nonlinear systems, linear systems and their solution forms (some small thoughts on differential equations, Laplace transforms, and ordinary differential equations of linear systems)

1. General method of linearization

Generally, the linearization of nonlinear systems uses the mathematical tool of Taylor expansion . By expanding around a certain point, a function can be written in polynomial form. A function f ( x ) f(x)f ( x ) at pointx 0 x_0x0The general formula for the nearby Taylor expansion is:
f ( x ) = ∑ k = 0 ∞ 1 k ! ( x − x 0 ) kf ( k ) ( x 0 ) (1) f(x) = \sum _{k=0 }^\infty \frac{1}{k!} \left( x - x_0 \right) ^kf^{(k)} \left( x_0 \right) \tag{1}f(x)=k=0k!1(xx0)kf(k)(x0)( 1 ) When Taylor expansion is applied to function linearization, only the first item of linearization is taken, and all subsequent high-order items are represented by high-order small quantities. At this time, formula (1) can be written as:
f ( x ) = f ( x 0 ) + ( x − x 0 ) f ′ ( x 0 ) + o ( x − x 0 ) (2) f(x) = f \left( x_0 \right) + \left( x - x_0 \right) f' \left( x_0 \right) + o \left( x - x_0 \right) \tag{2}f(x)=f(x0)+(xx0)f(x0)+o(xx0)( 2 ) whereo ( x − x 0 ) o \left( x - x_0 \right)o(xx0) for higher-order small quantities.

The so-called linearization means to express the original function in a linearized way, so the above formula can only be expressed as:
f ( x ) ≈ f ( x 0 ) + ( x − x 0 ) f ′ ( x 0 ) f(x ) \approx f \left( x_0 \right) + \left( x - x_0 \right) f' \left( x_0 \right)f(x)f(x0)+(xx0)f(x0) Obviously, this representation ignores the high-order small quantities, causing errors. Therefore, it can be said thatin the process of linearization by Taylor expansion, high-order small quantities can be regarded as errors in the process.

2. Linearized systems and their solutions

After a system is linearized, it can be expressed by the following linear ordinary differential equation:
anx ( n ) + an − 1 x ( n − 1 ) + ⋯ + a 1 x ˙ + a 0 x = bmu ( n ) + bm − 1 u ( m − 1 ) + ⋯ + b 1 u ˙ + b 0 u (3) a_n x^{(n)} + a_{n-1} x^{(n-1)} + \cdots + a_1 \dot x + a_0 x = b_m u^{(n)} + b_{m-1} u^{(m-1)} + \cdots + b_1 \dot u + b_0 u \tag{3}anx(n)+an1x(n1)++a1x˙+a0x=bmu(n)+bm1u(m1)++b1u˙+b0u( 3 ) uu_u is the control quantity of the system,xxx is the output of the system. The "linear" here means that each differential term in the system becomes an independent term, that is, there is nox ˙ x ¨ \dot x \ddot xx˙x¨This type of item; "constant" refers to the constant coefficient, that is, the coefficientai, bj a_i, b_jai,bjis a constant that does not change with time.

Equation (3) is a typical linear ordinary differential equation, and its solution can be divided into two parts : general solution and special solution . According to the knowledge of advanced mathematics, the general solution is obtained by setting the right side of formula (3) to 0:
anx ( n ) + an − 1 x ( n − 1 ) + ⋯ + a 1 x ˙ + a 0 x = 0 (3–1) a_n x^{(n)} + a_{n-1} x^{(n-1)} + \cdots + a_1 \dot x + a_0 x = 0 \tag{3--1}anx(n)+an1x(n1)++a1x˙+a0x=0( 3–1 ) As for the special solution, there is a set of fixed solutions, which are mentioned in advanced mathematics without going into details here.

For formula (3–1), generally, when solving, two methods are given:
(1) The solution method of advanced mathematics is to write out its characteristic equation according to the order of derivation in formula (3–1) :
anpn + an − 1 pn − 1 + ⋯ + a 1 p + a 0 = 0 (3–2) a_n p^n + a_{n-1} p^{n-1} + \cdots + a_1 p + a_0 = 0 \tag{3--2}anpn+an1pn1++a1p+a0=0( 3–2 ) The equation isnnn order equation, sonnn个解 p i ( i = 1 , 2 , ⋯   , n ) p_i (i = 1, 2, \cdots, n) pi(i=1,2,,n ) . According to the obtainednnn solutions, directly write the general solution:
x ( t ) = ∑ i = 1 n C iepit (3–2–1) x(t) = \sum _{i=1}^n C_i e^{p_i t } \tag{3--2--1}x(t)=i=1nCiepit( 3–2–1 ) Among them,C i C_iCiis a constant, determined by the initial conditions.
(2) Laplace transform solution . After learning the basic theory of automatic control, you can perform Laplace transform on formula (3–1) :
ansn X ( s ) + an − 1 sn − 1 X ( s ) + ⋯ + a 1 s X ( s ) + a 0 X ( s ) = 0 ⟹ ( ansn + an − 1 sn − 1 + ⋯ + a 1 s + a 0 ) X ( s ) = 0 (3–3) a_n s^n X({\rm s}) + a_ {n-1} s^{n-1} X( {\rm s}) + \cdots + a_1 s X({\rm s}) + a_0 X({\rm s}) = 0 \\ \Longrightarrow \left( a_n s^n + a_{n-1} s^{n-1} + \cdots + a_1 s + a_0 \right) X({\rm s}) = 0 \tag{3--3}ansnX(s)+an1sn1X(s)++a1sX(s)+a0X(s)=0(ansn+an1sn1++a1s+a0)X(s)=0( 3–3 ) To make formula (3–3) valid, obviously
ansn + an − 1 sn − 1 + ⋯ + a 1 s + a 0 ≡ 0 (3–4) a_n s^n + a_{n- 1} s^{n-1} + \cdots + a_1 s + a_0 \equiv 0 \tag{3--4}ansn+an1sn1++a1s+a00( 3–4 ) It is easy to see that formula (3–4) and formula (3–2) have the same form, so the general solution (3–2–1) can also be obtained.

The above two methods solve the general solution , that is, the right side of the equation (3) is 0, and the situation of the equation (3–1). Comparing formula (3) and formula (3–1), it is not difficult to find that (3–1) is obtained by setting the right side of the equal sign to zero in (3), that is, there is no control variable uu in the systemObtained when u . Formula (3–1) does not containuuItem u , so there is no external effect in the system, and the whole system moves completely spontaneously and autonomously. Therefore, the dynamic process represented by the general solution (3–2–1) obtained from (3–1) is also called “free motion”.

It should be noted that "free movement" does not mean that there is no external action at all, but that at t = 0 t=0t=At time 0 , after applying an external action to the system, remove it immediately, and under this action, the system changes from the original static state to a dynamic process. while att > 0 t >0t>0 process,uuu no longer acts on the system in any form, so the whole system except att = 0 t=0t=0 moment isuuExcept for the u excitation, the rest of the time is spontaneously moving. Obviously,t = 0 t=0t=uuapplied at time 0u is a pulse signal.

Correspondingly, each component C iepit C_i e^{p_i t} obtained in formula (3–1–1)Ciepit , are the parts that make up the free movement, also known asthe mode. For the concept of mode, please refer toModal Feedback Control.

In addition to the general solution, formula (3) also has a special solution, that is, uu on the right side of the equal signThe solution obtained when the polynomial of u is not negligible. Obviously, these solutions are the existence of external actionuuThe dynamic performance when u is sustaineduuThe movement caused by u is called " forced movement".

Then, the solution of formula (3) can be expressed in the following way:
x ( t ) = xtong ( t ) + x special ( t ) = x self ( t ) + x strong ( t ) x(t) = x_ Tong(t) + x_special(t) = x_self(t) + x_strong(t)x(t)=xPass(t)+xspecial(t)=xSince(t)+xstrong( t ) That is:the motion of the system consists of free motion and forced motion.

3. The relationship between the Taylor expansion of the nonlinear system and the solution of the Laplace transform

We know that a nonlinear system f ( x ) f(x)f ( x ) can be Taylor expanded into the form of formula (1):
f ( x ) = ∑ k = 0 ∞ 1 k ! ( x − x 0 ) kf ( k ) ( x 0 ) (1) f(x) = \sum _{k=0}^\infty \frac{1}{k!} \left( x - x_0 \right) ^kf^{(k)} \left( x_0 \right) \tag{1}f(x)=k=0k!1(xx0)kf(k)(x0)( 1 ) Emphatically point out: in the above formula,xxx is an independent variable, andx 0 , f ( k ) ( x 0 ) x_0, f^{(k)} \left( x_0 \right)x0,f(k)(x0) is a constant.

May wish to carry out the Laplace transform of the above formula . Before the transformation, the following Laplace transform characteristics need to be used:
If L { f ( t ) } = F ( s ) , then L { f ( t − τ ) } = e − s τ L { f ( t ) } = e − s τ F ( s ) If \quad \mathscr{L} \left\{ f(t) \right\} = F({\rm s}), \qquad then \quad \mathscr{L } \left\{ f(t - \tau) \right\} = e^{-{\rm s} \tau} \mathscr{L} \left\{ f(t) \right\} = e^{ -{\rm s} \tau} F ({\rm s})likeL{ f(t)}=F(s)butL{ f(t) } _=esτL{ f(t)}=es τ F(s)The above properties are called time-shift properties.

Then introduce the Laplace transform of the power function:
L { tn } = n ! sn + 1 \mathscr{L} \left\{ t^n \right\} = \frac{n!}{ s^{n+1 } }L{ tn}=sn+1n!

Then, the Laplace transform of formula (1) is:
L { f ( x ) } = L { ∑ k = 0 ∞ 1 k ! ( x − x 0 ) k f ( k ) ( x 0 ) } = ∑ k = 0 ∞ L { 1 k ! ( x − x 0 ) k f ( k ) ( x 0 ) } = ∑ k = 0 ∞ 1 k ! f ( k ) ( x 0 ) L { ( x − x 0 ) k } = ∑ k = 0 ∞ 1 k ! f ( k ) ( x 0 ) L { x k } e − x 0 s = ∑ k = 0 ∞ 1 k ! f ( k ) ( x 0 ) k ! s k + 1 e − x 0 s = e − x 0 s ∑ k = 0 ∞ 1 k ! f ( k ) ( x 0 ) k ! s k + 1 = e − x 0 s [ f ( x 0 ) 1 s + f ′ ( x 0 ) 1 s 2 + 1 2 f ′ ′ ( x 0 ) 2 s 3 + ⋯   ] (4) \begin{aligned} \mathscr{L} \left\{ f(x) \right\} &= \mathscr{L} \left\{ \sum _{k=0}^\infty \frac{1}{k!} \left( x - x_0 \right) ^k f^{(k)} \left( x_0 \right) \right\} \\ &= \sum _{k=0}^\infty \mathscr{L} \left\{ \frac{1}{k!} \left( x - x_0 \right) ^k f^{(k)} \left( x_0 \right) \right\} \\ &= \sum _{k=0}^\infty \frac{1}{k!} f^{(k)} \left( x_0 \right) \mathscr{L} \left\{ \left( x - x_0 \right) ^k \right\} \\ &= \sum _{k=0}^\infty \frac{1}{k!} f^{(k)} \left( x_0 \right) \mathscr{L} \left\{ x^k \right\} e^{-x_0 {\rm s}} \\ &= \sum _{k=0}^\infty \frac{1}{k!} f^{(k)} \left( x_0 \right) \frac{k!}{ s^{k+1} } e^{-x_0 {\rm s}} \\ &= e^{-x_0 {\rm s}} \sum _{k=0}^\infty \frac{1}{k!} f^{(k)} \left( x_0 \right) \frac{k!}{ s^{k+1} } \\ &= e^{-x_0 {\rm s}} \left[ f \left( x_0 \right) \frac{1}{s} + f' \left( x_0 \right) \frac{1}{s^2} + \frac{1}{2} f'' \left( x_0 \right) \frac{2}{s^3} + \cdots \right] \end{aligned} \tag{4} L{ f(x)}=L{ k=0k!1(xx0)kf(k)(x0)}=k=0L{ k!1(xx0)kf(k)(x0)}=k=0k!1f(k)(x0)L{ (xx0)k}=k=0k!1f(k)(x0)L{ xk}ex0s=k=0k!1f(k)(x0)sk+1k!ex0s=ex0sk=0k!1f(k)(x0)sk+1k!=ex0s[f(x0)s1+f(x0)s21+21f′′(x0)s32+]( 4 ) Note that there is a terme − x 0 se^{-x_0 {\rm s}}ex0s,将其泰勒展开有:
e x = 1 + x + 1 2 x 2 + ⋯ = ∑ i = 0 ∞ 1 i ! x i ⟹ e − x 0 s = 1 − x 0 s + 1 2 x 0 2 s 2 + ⋯ = ∑ i = 0 ∞ 1 i ! ( − x 0 s ) i e^x = 1 + x + \frac{1}{2} x^2 + \cdots = \sum_{i=0}^\infty \frac{1}{i!} x^i \Longrightarrow \\ e^{-x_0 {\rm s}} = 1 - x_0 s + \frac{1}{2} x_0^2 s^2 + \cdots = \sum_{i=0}^\infty \frac{1}{i!} \left( -x_0 s \right)^i ex=1+x+21x2+=i=0i!1xiex0s=1x0s+21x02s2+=i=0i!1(x0s)i由此得到
L { f ( x ) } = e − x 0 s ∑ k = 0 ∞ 1 k ! f ( k ) ( x 0 ) k ! s k + 1 = ∑ i = 0 ∞ 1 i ! ( − x 0 s ) i ⋅ ∑ k = 0 ∞ 1 k ! f ( k ) ( x 0 ) k ! s k + 1 (5) \mathscr{L} \left\{ f(x) \right\} = e^{-x_0 {\rm s}} \sum _{k=0}^\infty \frac{1}{k!} f^{(k)} \left( x_0 \right) \frac{k!}{ s^{k+1} } = \sum_{i=0}^\infty \frac{1}{i!} \left( -x_0 s \right)^i \cdot \sum _{k=0}^\infty \frac{1}{k!} f^{(k)} \left( x_0 \right) \frac{k!}{ s^{k+1} } \tag{5} L{ f(x)}=ex0sk=0k!1f(k)(x0)sk+1k!=i=0i!1(x0s)ik=0k!1f(k)(x0)sk+1k!(5)

Example: The original function is:
f ( t ) = ( t − 3 ) 2 = t 2 − 6 t + 9 f(t) = (t-3)^2=t^2-6t+9f(t)=(t3)2=t26 t+9 (1) If it is solved by ordinary Laplace transform, there is:
L { f ( t ) } = L { t 2 − 6 t + 9 } = 2 s 3 − 6 s 2 + 9 s = 9 s 2 − 6 s + 2 s 3 (6–1) \mathscr{L} \left\{ f(t) \right\} = \mathscr{L} \left\{ t^2-6t+9 \right\} = \ frac{2}{s^3} - \frac{6}{s^2} + \frac{9}{s} = \frac{9s^2 - 6s + 2}{s^3} \tag{6 --1}L{ f(t)}=L{ t26 t+9}=s32s26+s9=s39s _26 s+2( 6–1 ) (2) According to the property of time shift,f ( t ) = ( t − 3 ) 2 f(t)=(t-3)^2f(t)=(t3)2 asg ( t ) = t 2 g(t) = t^2g(t)=t2 , according to the time-shift property:
L { f ( t ) } = L { ( t − 3 ) 2 } = e − 3 s L { t 2 } = e − 3 s 2 s 3 (6 –2) \mathscr{L} \left\{ f(t) \right\} = \mathscr{L} \left\{ (t-3)^2 \right\} = e^{-3 {\rm s}} \mathscr{L} \left\{ t^2 \right\} = e^{-3 {\rm s}} \frac{2}{s^3} \tag{6--2}L{ f(t)}=L{ (t3)2}=e3 s L{ t2}=e3 ss32( 6–2 ) Then formula (6–1) and formula (6–2) should be equal:
9 s 2 − 6 s + 2 s 3 = 2 e − 3 ss 3 (6–3) \frac{9s^2 - 6s + 2}{s^3} = \frac{2 e^{-3 {\rm s}} }{s^3} \tag{6--3}s39s _26 s+2=s32e _3 s( 6–3 ) the right side2 e − 3 s 2e^{-3 {\rm s}}2e _3s泰勒展开:
2 e − 3 s = 2 ∑ i = 0 ∞ 1 i ! ( − 3 s ) i = 2 ( 1 − 3 s + 9 s 2 2 + o ( s 3 ) ) 2e^{-3 {\rm s}} = 2 \sum_{i=0}^\infty \frac{1}{i!} \left( -3 s \right)^i = 2 \left( 1 - 3s + \frac{9s^2}{2} + o \left( s^3 \right) \right) 2e _3 s=2i=0i!1( 3 s )i=2(13 s+29s _2+o(s3 ))whereo ( s 3 ) o \left( s^3 \right)o(s3 )is a high-order small quantity. It can be seen by expanding the brackets that it is the molecule on the left side of the equal sign in formula (6–3). So (6–3) holds.

The above analysis shows that the complex plane expression obtained by directly performing Laplace transform on a function is the same as the complex plane expression obtained by first performing Taylor expansion and then Laplace transform.

Guess you like

Origin blog.csdn.net/weixin_58399148/article/details/132167009