Abstract

Linearized model of the system is often used in control design. It is generally believed that we can obtain the linearized model as long as the Taylor expansion method is used for the nonlinear model. This paper points out that the Taylor expansion method is only applicable to the linearization of the original nonlinear function. If the Taylor expansion is used for the derived nonlinear equation, wrong results are often obtained. Taking the linearization model of the maglev system as an example, it is shown that the linearization should be carried out with the process of equation derivation. The model is verified by nonlinear system simulation in Simulink. The method in this paper is helpful to write the linearized equation of the control system correctly.

1. Introduction

Magnetic levitation generates eddy-current effect by metal objects under the action of high-frequency electromagnetic fields, which enables metal objects to be suspended stably in the air [1]. Magnetic levitation technology is developing rapidly because it essentially eliminates friction and has advantages unmatched by other traditional technologies [2]. The application of the magnetic levitation technology covers numerous fields, such as high-speed magnetic bearing [3, 4], high-speed levitation train [57], and wind tunnel magnetic levitation [8]. Therefore, the control design for the maglev system is particularly important.

The maglev system is a nonlinear system, which causes great difficulties in its control design [911]. Literature [12] proposes a model-independent control system design method based on U-model. In the linear control design method, linearization is often the first step in the control system design and modeling of the magnetic levitation system [13].

It is generally considered that the nonlinear equation is linearized as long as the Taylor expansion is used [14]. However, the Taylor expansion method only applies to the original nonlinear function. The equations for general magnetic levitation systems are usually obtained from many derivations. In the process of building the nonlinear model, the calculation of partial derivative has been done. According to the derivation algorithm, if we continue to take the derivative, then the partial derivative should be treated as a constant. In traditional modeling, this constant has been treated as a variable. And the error is introduced as we continue to differentiate. If linearization is simply carried out through the Taylor expansion method according to the derived equation, the result may be wrong.

Based on the analysis of the Lagrange equation [15], this paper points out that the partial derivative of Lagrange equation should be taken according to the operating point to get the correct linearized equation. Simulink simulation results show that the method proposed in this paper is very effective for the linearization of the magnetic levitation system and is worth popularizing.

2. Maglev System Model and Its Linearization

In general, the linearization of nonlinear systems is through Taylor series expansion, and a linear relation can be obtained after omitting the higher order terms [16]. Taylor series refers to the expansion of a nonlinear function . For example, formula (1) is the equation of a prime mover [17].where , the driving torque, is a nonlinear function of the rotation rate and the control input and , the load torque, is a function of the rotation rate . If and are expanded as Taylor series and take the first term, the linearized equation of formula (1) can be obtained. This is the general notion of linearization. But for a general nonlinear system, it takes a lot of arithmetical operation to get from the original equation to the nonlinear equation. Using Taylor series to linearize the nonlinear terms in the final result, wrong result is often obtained.

The model of the typical electromagnetic suspension (EMS) train control system is shown in Figure 1.

The motion equation of the maglev system model can be written as [11, 15]where represents the permeability in a vacuum; represents the mass of the suspension magnet, ; represents the effective area of the magnetic pole, ; is the number of turns of the coil on the electromagnet, ; represents the resistance of the coil, ; represents the control voltage at both ends of the coil; represents the current in the coil; is the gap between the electromagnet and the guideway; and represents the gravitational acceleration. Suppose that the state vector is

Consider the nonlinear terms in (2) and (3) as nonlinear functions. The linearized equation of the system can be obtained by Taylor series expansion [16].

The corresponding matrices can be written as

Set the nominal working point as , , and the corresponding operating current . Then, the linearized equation can be written as

Formulas (5) and (7) are directly obtained by the Taylor expansion method according to formulas (2) and (3). This is a common linearization method, but it proves (see below) that the resulting linearization equation is incorrect.

Next, we start with the establishment of the equation. For the dynamic system with generalized coordinates , the Lagrange equation is [2, 4]where represents the kinetic energy stored by the dynamic system, represents the potential energy of the system, represents the external force varying with time, and represents Rayleigh’s dissipation function, and its general form can be written as

Suppose the generalized coordinates of the maglev control system are air gap and charge (note ), then the kinetic energy and potential energy of the system are, respectively,where

By substituting formulas (10)∼(12) into Lagrange equation (8), the equation of generalized coordinates and can be written as

The derivative of (14) on the left is

Thus, according to (13) and (14), the equation of motion of the system can be finally obtained as

Equations (16) and (17) are equivalent to (2) and (3) when analyzing the maglev system. Since we have taken the partial derivative once when we derived (17), the partial derivative should be a constant to the operating point in linearization, that is, it corresponds to a constant coefficient instead of a variable. Therefore, if linearization is carried out, the corresponding constants of all partial derivatives in (15) should be taken, and (15) can be rewritten as

The corresponding linearized equation can be obtained by substituting (18) into (14). in (16) is indeed a nonlinear function, and its linearization relation can be obtained by Taylor expansion.

In this way, by substituting (18) and (19) into (14) and (16), the final linearized equation can be obtained asi.e.,

Obviously, (20) and (21) are obviously inconsistent with (5) and (7). The state matrix of (7) has the element in the third row and first column, while the element at this position in (21) is 0. In order to verify this linearization method, we use the nonlinear system simulation in this paper because when the deviation is very small, the nonlinear system results should be consistent with the linearization result.

3. Simulation of Nonlinear System

Next, we will simulate and analyze the nonlinear equations of the maglev system. In the nonlinear simulation of Simulink, a custom function module Fcn is mainly used. The function of this module is to process the input by the rules conforming to C language. The corresponding formulas may consist of one or more components. u is the input of the module, which supports vectorized input. If u is a vector, u [i] represents the ith element of the vector, and u [1] or a single u represents the first element. The function module can perform both mathematical operations (such as addition, subtraction, multiplication, and division) and relational operations (such as identically equal, not equal, greater than, and equal), as well as three kinds of logical operations. The precedence of these operators conforms to the rules in C language.

The simulation model of the magnetic levitation system based on differential (2) and (3) is shown in Figure 2. In Figure 2, the function of Mux module is to organize several signals into one signal. Here, variables are expressed in increments so as to compare with linear results. In the figure, , , and are all custom function modules.

Adopt the state feedback in the simulation. And the feedback control signal should be elicited from . In the case of module , it describes the operation on the right side of formula (2).

The input is two variables: . The setting of is shown in Figure 3.

In Figure 3, corresponds to the value of , 9.8 is the value of gravitational acceleration , and , are input signals arranged in a certain order by Mux module in front of the module . Here, corresponds to and corresponds to , and and are values of corresponding nominal operating points. The values of and at the equilibrium point are calculated in advance according to the following equation:

The function describes the first term on the right side of (3), and describes the second term on the right side of (3). The problem of the nominal operating point is also set as follows:

4. Verification of Linearized Equations

Two linearization methods are proposed above. One is the simple Taylor series method ((5) and (7)), and the other is the method of taking the partial derivative as a constant when taking the column equation ((20) and (21)). In order to further verify the linearization method in this paper, the simulation checking is adopted, and the simulation results of nonlinear systems with small deviations are compared.

Figure 4 shows the simulation block diagram of the linearized system. The dotted box in the figure shows the difference between the two linearized results (7) and (21). The same state feedback is used in the simulation.

Figure 5 shows the simulation results of the step response. The short line in the figure is the simulation result of system (7), and the dotted line is the simulation result of system (21) of this method.

The simulation block diagram of the nonlinear system is shown in Figure 2. The solid line in Figure 5 is the simulation result of the nonlinear system, and the amplitude of the input step signal is , , and , respectively. When a small signal () is input, the dotted line of the system (21) is basically coincident with the solid line of the nonlinear system. The simulation result of system (7) is obviously inconsistent with the nonlinear result under small signals, especially the static differences are not equal. In this case, the static error of the nonlinear system is relatively easy to calculate. The static error between the system output and the step input is also shown in Figure 5 (the calculation process of the static error is abbreviated). The simulation results show that the static error of the system (21) is consistent with that of the nonlinear system.

5. Conclusions

The linearization of nonlinear magnetic levitation cannot be carried out simply by Taylor expansion according to the derived nonlinear equation. In the process of derivation, the partial derivative is included in the equation, and the linearized equation can be obtained by taking the partial derivative at the operating point. The method is simple and the physical concept is clear. On the contrary, if we linearize the equation by the Taylor series based on the derived nonlinear equation, wrong result may be obtained. In this paper, the simulation method of the nonlinear magnetic levitation system is presented, which separates the operating point (setting) from the incremental change, and is worthy of promoting.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This study was supported in part by the Fundamental Research Funds for the Central Universities under grant no. N182304010, in part by the Natural Science Foundation of Liaoning Province under grant no. 20170520333, and in part by the Natural Science Foundation of Hebei Province under grant no. F2019501012.