- freely available
- re-usable
Sensors 2012, 12(5), 5225-5245; doi:10.3390/s120505225
Published: 26 April 2012
Abstract
: High precision positioning technology for a kind of high speed maglev train with an electromagnetic suspension (EMS) system is studied. At first, the basic structure and functions of the position sensor are introduced and some key techniques to enhance the positioning precision are designed. Then, in order to further improve the positioning signal quality and the fault-tolerant ability of the sensor, a new kind of discrete-time tracking differentiator (TD) is proposed based on nonlinear optimal control theory. This new TD has good filtering and differentiating performances and a small calculation load. It is suitable for real-time signal processing. The stability, convergence property and frequency characteristics of the TD are studied and analyzed thoroughly. The delay constant of the TD is figured out and an effective time delay compensation algorithm is proposed. Based on the TD technology, a filtering process is introduced in to improve the positioning signal waveform when the sensor is under bad working conditions, and a two-sensor switching algorithm is designed to eliminate the positioning errors caused by the joint gaps of the long stator. The effectiveness and stability of the sensor and its signal processing algorithms are proved by the experiments on a test train during a long-term test run.1. Introduction
The suspension function of high speed maglev trains is carried out by the electromagnetic attractive force between the electromagnets and the rail, and the train is driven by linear synchronous motor [1,2] which has high power factor and can provide strong enough tractive force. The long stator of the motor made of laminated silicon-steel sheets is installed along the rail, and the rotor is the suspension electromagnet group shown in Figure 1.
In order to reach the most efficient and stable traction performance, the traction system needs to control the current phase of the 3-phased windings to make the traveling magnetic field be synchronized with the magnetic field of the electromagnets. In this process, the precise relative position between the electromagnets and the long stator is a prerequisite. Considering the dimensional accuracy of the tooth-slot structure of the long stator, high precision positioning can be achieved by detecting the tooth-slot structure based on nondestructive detection technology [3–6].
This paper researches the system design and the signal processing algorithms of a high precision position sensor of a high speed maglev train. The sections of this paper are organized as follows: in Section 2, the operating principle of the sensor is introduced. Then, a multiple-table lookup algorithm and a suspension gap fluctuation compensation algorithm are designed to improve the positioning precision and enhance the capacity of resisting mechanical disturbances. In Section 3, the reasons for the positioning signal distortion are analyzed. In Section 4, a new kind of time-discrete tracking differentiator (TD) is proposed based on nonlinear optimal control theory. The stability, convergence property and frequency characteristics of the TD are studied and analyzed thoroughly. The delay constant of the TD is figured out, and an effective time delay compensation algorithm is designed. In Section 5, based on the TD technology, a filtering process is introduced in to improve the positioning signal waveform when the sensor is under bad working conditions, and a two-sensor switching algorithm is designed to eliminate the positioning errors caused by the joint gaps of the rails. Section 6 presents the conclusions of this paper. The effectiveness and stability of the sensor and its signal processing algorithms are proven through experiments on a test train during a long-term test run.
2. System and Algorithm Design for the Sensor
2.1. System Design
There are four same “8”-shaped coils arranged on one side of the sensor facing the long stator [7,8], shown in Figure 2.
Taking one of the coils for example, the resonance circuit of the coil is stimulated by a signal source with a constant frequency. Because the electromagnetic characteristics of the long stator are different from those of the air, when the coil moves along the long stator at a certain suspension gap, its equivalent inductance changes periodically with the tooth-slot structure. Thus, the signal amplitude of the resonance circuit changes accordingly to form an amplitude-modulated signal. After demodulation, an approximated sinusoidal wave can be obtained, shown in Figure 3.
According to the relative location between the two coils in one group shown in Figure 2, the phase difference between the two demodulated signals of the two coils is 180°, shown in Figure 3. The two demodulated signals of one coil group are input into a subtractor amplifier to get their difference signal. The subtraction process can eliminate common-mode disturbances such as temperature drift. The difference signal has a better waveform and is more approximate to an ideal sine wave. According to the relative locations among the four coils, the phase difference between the two difference signals is 90°. Square waves can be obtained by putting the difference signals into comparators. The tooth-slot period number passed by the train can be gotten by counting the jumping edges of the square waves, and the phase relationship between the two square waves indicates the running direction. The phase relationship shown in Figure 3 corresponds to the situation where the sensor is moving in the direction indicated by the arrowhead shown in Figure 2.
2.2. Multiple-Table Lookup Algorithm
A magnetic pole phase period of the 3-phased windings contains six tooth-slot periods as shown in Figure 1. Thus, the length of a tooth-slot period corresponds to an electrical angle of 60° shown in Figure 4. The difference signals in a tooth-slot period are shown in Figure 5.
The data shown in Figure 5 can be used as a look-up table. Using the current sampled values of the difference signals as the indexes, the current phase can be found out from the table. However, there are some problems with the lookup phase using only one of the two sampled signals, because the signal is not monotonic and the rate of slope near the peaks and troughs is too small. Therefore, a multiple-table lookup algorithm is proposed.
At first, we choose two proper threshold values T_{1} and T_{2}. T_{1} is slightly bigger than the upper crossing point of the two sampled signals and T_{2} is slightly smaller than the lower crossing point. The four signal sections between the thresholds with relatively better linearity and bigger slope rate are used as phase tables, as shown in Figure 5. In one signal processing cycle, only one phase table is chosen for phase lookup. Let s_{1} denote the sampled value of the difference signal of coil group 1 shown as the continuous line in Figure 5, and s_{2} is that of coil group 2 shown as the dotted line. If phase Table 1 or 2 is chosen in the current processing cycle, the current value of s_{1} is the index. Otherwise, s_{2} is the index. The phase table chosen in the current processing cycle is decided by the phase table chosen in the previous cycle and the relationship between the current sampled values and the threshold values. The phase table switching algorithm is shown in Table 1.
2.3. Suspension Gap Fluctuation Compensation Algorithm
The four phase tables are calibrated under a certain normal suspension gap. When the train is running, it's impossible for the suspension control system to make the suspension gap be absolutely invariable considering external disturbances such as the topographical relief. But the fluctuation is controlled to be within a certain range. When the suspension gap fluctuates, the amplitude and the DC components of the sampled signals deviate from the calibrated values causing considerable table lookup error. So, before the table-lookup, the sampled values should be normalized.
The latest peak value p and trough value v of the sampled signal of one coil group can be gotten by recording the sampled value at the corresponding jumping moments of the square wave of the other coil group, according to Figure 3. So, the approximate amplitude and DC component of the current sampled signal are a = p − v and d = (p + v)/2, respectively. Let a_{0} and d_{0} denote the amplitude and the DC component under the normal suspension gap and s denote the current sampled value. The normalized value is calculated as: s_{0} = (s − d)a_{0}/a + d_{0}. The influence of gap fluctuation is thus eliminated effectively by using the normalized value as the index.
3. Reason Analysis for Phase Signal Distortion
The sensor designed above operates well under normal working conditions, but there are still some special cases need to be considered:
(1) Errors caused by suspension gap fluctuation compensation algorithm
The compensation algorithm supposes that the fluctuation frequency is low enough to ignore the gap change in a tooth-slot period, so the compensation is invalid for high frequency vibration, although this rarely happens. Besides, when suspension gap is too large, the amplitude of the sample signals reduces considerably. In this case, the gap fluctuation compensation method may amplify noises and errors. Further more, considering comparator hysteresis, its impossible for a jumping moment of a square wave to be exactly at the time when the sampled signal of the other coil group reaches its peaks or troughs. This also introduces errors.
(2) Errors caused by joint gaps of long stator sections
There are two kinds of gaps with different size shown in Figure 6. The phase signal will be distorted seriously when the sensor is above a joint gap because there is no silicon-steel tooth-slot structure. But the traction system still requires normal phase signal in this situation, shown in Figure 6.
Figure 7 shows the phase wave data of a sensor under different working conditions. The signals are collected during a test run.
The situations shown in Figure 7(b,c) can be improved through filtering, but when the sensor passes a 172 mm joint gap as shown in Figure 7(d), tooth-slot period number counting loss happens. The tooth-slot period number obtained by the sensor is less than the number required by the traction system by 1. Thus, the phase lag is 60°. The phase nonsynchronous will reduce the efficiency of the traction and cause overcurrent protection. If the sensor has already passed several joint gaps of this size, the phase lag may become 180° causing the traction current phase to be inverted and resulting in serious accidents. Therefore, redundant position sensors are needed. Because of the structure and space limitation of the train, there are only two redundant sensors. So the switching algorithm is more complicated than that of a three-mode redundancy system. In order to solve this problem, a new kind of discrete-time tracking differentiator (TD) is proposed to further process the phase signal.
4. A New Kind of TD
4.1. Derivation of the TD
Consider the system:
Driving by input Equation (2), the states firstly move to the control law switching line:
And then, move to the original point along the switching line, shown in Figure 8. The state trajectory shown in Figure 8 is the time optimal state trajectory.
Substituting x_{1}(t) − v(t) for x_{1}(t) in Equation (2), a kind of continuous-time TD is obtained as follows [10]:
For digital signal processing applications, a discrete form of Equation (4) is needed. But conventional discretization methods may bring in bad dynamic characteristics such as high frequency oscillation [10]. In order to solve this problem, [10,11] derive a discrete form of Equation (4) called as “Fhan” through Euler's polygonal arc method based on a conception of “isochronal area”. Reference [12] applies “Fhan” to zero allocation. In [13,14] the authors propose another form of discrete-time TD called “Fast” by making the state trajectory of the discrete system be coincident with that of Equation (4). In [8], research on the filtering performance of “Fast” by applying it to the phase signal of maglev train is reported. In [15] “Fast” is used to extract the derivative signal of the suspension gap sensor of a maglev train, and compare it with the integral signal of the vertical accelerometer to detect the accelerometer faults, but the two discrete forms mentioned above containing several switch conditions, have a relatively big calculation load and are not suitable for dynamic characteristic analysis. Besides, the parameter settings of the two discrete TDs are experiential. In [16,17] the authors propose another kind of nonlinear TD with high speed in whole course. Its discretization is based on Runge-Kutta-Merson method which still has relatively big calculation load.
Based on Equation (4), this paper derives another discrete TD which has a linear form but contains the meanings of nonlinear optimal control theory. The noise-resisting ability and differentiating performance of the new TD are as good, but its calculation load is relatively less, and it can be studied and analyzed using many developed theories.
By properly introduce in sampling switch and zero-order hold, a discrete system corresponding to Equation (1) is obtained as follows:
Substituting (x_{1}(0), x_{2}(0)) into Equation (5), and then substituting Equations (5) into (6), we have:
If the initial states satisfy:
Let:
Then, the system states can move to the original point in one step. Where r can be any nonzero value and (x_{1}(1), x_{2}(1)) = (0, 0).
On the other hand, to make the states of Equation (5) move to the original point in two steps, substituting (x_{1}(0), x_{2}(0)) into Equation (5), the expression of (x_{1}(2), x_{2}(2)) can be obtained. Substituting the expression into:
We have:
According to Equations (7) and (11), r is solved out as follows:
If the initial values satisfy Equations (8), then (11) reduces to Equation (9), where r can be any nonzero value. To sum up, the discrete-time optimal control law is written as follows:
Furthermore, denoting ru_{a}(k) as u(k), Equations (5) and (13) reduces to:
Although, Equations (14) and (15) have a simple linear form, their equivalent Equations (5) and (13) reveal their physical significance in optimal control field. That is, driven by control law (15), the states of system (14) will reach a switching line determined by parameter r(x_{1}(k), x_{2}(k)) at k = 1, and then reach the original point at k = 2. Substituting x_{1}(k) − v(k) for x_{1}(k) and substituting c_{0}T for T in Equation (15), we have:
State x_{1}(k) of Equation (16) is the smoothed approximate value of signal v(k), and x_{2}(k) is the approximate value of v̇(k). c_{0}(≥1) is called as filtering factor. The bigger c_{0} is, the smoother x_{1}(k) is, and the bigger the time delay of x_{2}(k) is.
The characteristic Equation (16) is:
It can be proved that the roots of Equation (17) satisfy ‖λ_{i}‖ < 1, i = 1, 2. Thus TD (16) is stable.
Figure 9 shows the tracking and differentiating performances of the TD designed. Where: v(k) = sin(0.05k) and c_{0} = 1.
4.2. Convergence Property Analysis
For convenience, the analysis is carried out in continuous-time field. Consider the system:
Its easy to prove that there exists a constant c > 0 satisfying:
Because the partial derivatives of V(z) are continuous and unbounded, V(z) satisfies local Lipschitz condition. And because of the following relationship:
On the other hand, consider the continuous form of Equation (16):
Let ô = t/å, z_{1}(ô) = e_{1}(t), z_{2}(ô) = åe_{2}(t), then Equation (24) is converted to [18]:
Choose Lyapnov function as (V ∘ z)(ô). Because (Vz) is locally Lipschtiz continuous, (V ∘z)(ô) is locally Lipschtiz continuous too. Considering most signals in engineering practice are bounded, and it is easy to prove that Equation (23) is stable, so, z(ô) is bounded. Thus, supposing the Lipschitz constant of (V ∘z)(ô) is M, we have [18]:
Thus:
Because è can be chosen to be small enough, considering è < ñ_{1}(ñ_{1} + 2), we have: ñ_{1}(1 − è)/è − 2 = ñ_{1}ã − 2 > 0. Thus, ñ_{1}ã − i + 1> 1 (i = 1, 2) [18,19].
4.3. Frequency Characteristic Analysis
The block diagram of Equation (16) is shown as Figure 10.
Its transfer function is:
Substitute z = e^{jωT} = cos(ωT) + j sin(ωT) into Equation (30), we have:
To avoid frequency aliasing, according to Shannon's sampling theorem, it should be satisfied that ùT < ðrad. So only the frequency characteristics under the condition ùT < ðrad are studied. Figure 11 shows the amplitude-frequency characteristic of system (31) when c_{0} is assigned to different values. It can be seen that the system is a low pass filter. The bigger c_{0} is, the lower the pass band is. According to the amplitude-frequency characteristic diagram, to make the amplitude of the filtered signal be approximate to that of the original signal, it should be satisfied that c_{0}ùT ≪ ðrad. Usually, the position signal of maglev train satisfies this requirement. Figure 12 is the Nyquist diagram of Equation (31).
The phase-frequency characteristic of Equation (31) is:
Thus:
Considering that a phase lag of ù is equivalent to a time lag of 1/ù second, the time lag constant of Equation (31) is calculated as:
Figure 13 is the phase-frequency characteristic diagram of Equation (31). It can be seen, when c_{0}ωT ≪ πrad, the phase-frequency characteristic function is approximated to a linear function of ω.
4.4. Time Delay Compensation
Maglev trains' acceleration and change rate are limited to a relatively small range, so they can be approximately treated as constants in time span ô. Thus, we have the following compensation algorithm:
If high order compensation is needed, multiple tracking differentiators should be combined. Reference [8] proposes a time delay compensation algorithm for the situation where ô is unknown. In this paper, ô is figured out approximately, so the compensation is more flexible. According to a Taylor formula, we have:
Equation (41) can be converted to:
Inverting the matrix in Equation (42), we have:
Thus:
The block diagram of compensation Equation (44) is shown in Figure 16. By the same method, more tracking differentiators can be added to the algorithm to realize higher order compensation.
Figure 17 shows the compensation effect, where, v_{1} and v_{2} are compensation results of Equations (39) and (44) respectively.
It can be seen that the performance of Equation (39) is better than that of Equation (44). This is because Equation (44) is more sensitive to the precision of ô. The estimation error of ô will be cumulated and magnified though multi-stage filtering. But if ô is known precisely, the performance of Equation (44) is much better than that of Equation (39). Figure 18 shows the compensation effect when ô is known precisely.
The compensation method proposed in [8] implies that the time delays of each filtering stage are the same which is not satisfied exactly, so its compensation effect is also relatively worse. Figure 19 shows the compensation effect of the method proposed in reference [8], where v_{1} and v_{2} are compensation results of Equation (39) and the algorithm mentioned in [8].
5. Experimental Results
5.1. Experiment Platform
The experiments are carried out on the 1.5 km test line in Shanghai. The position sensors designed are installed in the box girder of a maglev train shown in Figure 1. The sensors are connected to an onboard computer via a communication cable. Once a sensor figure out a phase datum, it is sent to the computer immediately. The computer further processes the data according to the algorithms designed in the later sections, and then sends the final results to the traction system.
The onboard computer can save and monitor the original data, midcourse data and final data on-line, and the saved data can be analyzed off-line to guide the algorithm modification and program debugging. In the debugging phase, the train is pulled by a rail test truck. After the performance of the positioning system is verified to some extent, traction system can be introduced in to drive the train and further test the positioning system. Generally, the performance of the positioning system can be verified in several ways:
The slope edges of the saw-tooth phase signal wave is always fine and smooth in any case as shown in Figure 7(a).
There are flags located on certain points on the rail encode with data indicating the precise position of these points. When the train passes a flag, a special onboard instrument can read out the precise position information encoded on the flag and the send it to the onboard computer. With this information, the computer can check the validity of the position sensor.
If the phase signal is incorrect, the traction efficiency will be reduced. The traction efficiency can be estimated according to the traction current and the train's velocity and acceleration.
However, considering the text length, only the experiment results when the positioning system is under certain bad working conditions are given in this paper.
5.2. Filtering Results
Taking the data shown in Figure 7(c) as an example, the jumping edges of the phase signal contain high frequency components. Filtering the phase signal straightforwardly will cause a serious information loss, so at first, the phase signal needs to be converted to a certain form suitable for filtering. Let ph(k) denote the current phase value and n(k) denote the current tooth-slot period number. Considering a tooth-slot period is corresponding to a phase angle of 60°, the converted signal is calculated as follows:
Because of the slight time difference between the jumping edges of the phase signal and those of the tooth-slot number signal, there are spike pulses in signal ph_{a}(k). The spike pulses can be eliminated though simple logical pretreatment. Figure 20 shows the filtering effect without time delay compensation, where c_{0} = 100, T = 0.001s, v is the pretreated signal ph_{a}(k) and v_{1} is the filtered signal.
It can be seen that the smoothing effect is good, but the time delay is serious which will result in considerable positioning errors. Figure 21 shows the results after time delay compensation, where v_{2} is the compensated signal. It can be seen, the phase waveform is improved obviously after the procedure.
5.3. Switching Experiment Results
Denote the compensated differential signal and filtered signal of v(k) by ṽ̇(k) and ṽ(k), respectively. Forecasting v(k + 1) by ṽ(k) and ṽ̇(k), the error between the forecasted value and the real value can be obtained as:
Figure 23 shows the performance of the switching algorithm, where v_{1} is the combined signal of sensor 1 and sensor 2 though the switching algorithm, and v_{2} is the filtered signal. It can be seen that, the algorithm guaranties a normal signal when the sensors are passing a large joint gap, and tooth-slot period counting loss is avoided.
6. Conclusions
High precision positioning technology for a high speed maglev train is studied. At first, the operating principle of the position sensor is introduced. A multiple-table lookup algorithm is proposed to improve the linearity of the phase table and the table-lookup precision. A suspension gap fluctuation compensation method is designed to enhance the sensor's capacity of resisting mechanical disturbance. Then, in order to further improve the signal waveform and enhance the reliability of the sensor, a new kind of discrete tracking differentiator is proposed to do some further signal processing based on optimal control theory. The new TD has good filtering and differentiating performances and relatively small calculation load. The dynamic characteristics of the TD are studied thoroughly. The delay constant of the TD is figured out and an effective time delay compensation algorithm is proposed. The TD is use to filter the phase signal, obviously improving the waveform. Finally, a two-sensor switching algorithm is designed based on the TD to avoid the phase signal distortion and tooth-slot period counting loss caused by the large joint gap. The designed sensor performed well during long-term testing runs.
This work was performed at the Engineering Research Center of Maglev Technology at National University of Defense Technology with funding from National Natural Science Foundation of China under grant No. 60874015.
References
- Liu, H.Q. Transrapid; University of Electronic Since and Technology of China Press: Chengdu, China, 1995; pp. 74–88.
- Wu, X.M. Maglev Train; Shanghai Science and Technology Press: Shanghai, China, 2003.
- Deng, Y.; Liu, X. Electromagnetic imaging methods for nondestructive evaluation applications. Sensors 2011, 11, 11774–11808.
- Javier, G.-M.; Jaime, G.-G.; Ernesto, V.-S. Non-destructive techniques based on eddy current testing. Sensors 2011, 11, 2525–2565.
- Zhu, Y.-K.; Tian, G.-Y.; Lu, R.-S.; Zhang, H. A review of optical NDT technologies. Sensors 2011, 11, 7773–7798.
- Abdelhalim, Z.; Hocine, M.; Mouloud, F.; Gérard, B. Inverse problem in nondestructive testing using arrayed eddy current sensors. Sensors 2010, 10, 8696–8704.
- Song, X.; Dai, C.; Long, Z. Research on location and speed detection for high speed maglev train based on long stator. Proceedings of the 8th World Congress on Intelligent Control and Automation, Jinan, China, 7–9 July 2010. Volume 7; pp. 6953–6958.
- Dai, C.; Long, Z.; Xie, Y.; Song, X. Research on the filtering algorithm in speed and position detection of maglev trains. Sensors 2011, 11, 7204–7218.
- Zhong, Q. Modern Control Theory; Higher Education Press: Beijing, China, 2004.
- Han, J.Q. Active Disturbance Rejection Control Technique—The Technique for Estimating and Compensating the Uncertainties; National Defense Industry Press: Beijing, China, 2008; pp. 66–69.
- Han, J.Q. From PID to active disturbance rejection control. IEEE Trans. Ind. Electron. 2009, 56, 900–906.
- Zhang, W.; Han, J. The application of tracking differentiator in allocation of zero. Acta Autom. Sin. 2001, 27, 724–727.
- Xie, Y.D.; Long, Z.Q. A high-speed nonlinear discrete tracking-differentiator with high precision. Control Theory Appl. 2009, 26, 127–132.
- Xie, Y.D.; Long, Z.Q.; Li, J.; Zhang, K.; Luo, K. Research on a new nonlinear discrete-time tracking-differentiator filtering characteristic. Proceedings of the WCICA'08, Chongqing, China, 25–27 June 2008; pp. 6745–6749.
- Long, Z.; Song, X.; He, G.; Xie, Y. Fault-diagnose for the accelerometer of suspension system based on signal compare. Chin. J. Sci. Instrum. 2011, 32, 2641–2647.
- Wang, X.; Chen, Z.; Yuan, Z. Nonlinear tracking-differentiator with high speed in whole course. Control Theory Appl. 2003, 20, 875–878.
- Wang, X.; Chen, Z.; Yuan, Z. Analyse and improvement for nonlinear tracking-dfferentiator. Control Decis. 2002, 17, 749–753.
- Wang, X.; Liu, J. Differentiator Design and Application; Publishing House of Electronics Industry: Beijing, China, 2010.
- Bhat, S.P.; Bernstein, D.S. Finite-time stability of continuous autonomous system. SIAM J. Control Optim. 2000, 38, 751–766.
Table 1. Phase table switching algorithm. |
Phase table used in the previous cycle | Relationship between the current sampled values and the threshold values | Phase table chosen in the current cycle |
---|---|---|
Phase Table 1 or 2 | s_{1} > T_{1} | Phase Table 4 |
s_{1} < T_{2} | Phase Table 3 | |
T_{2} ≤ s_{1} < T_{1} | No switching | |
Phase Table 3 or 4 | s_{2} > T_{1} | Phase Table 1 |
s_{2} < T_{2} | Phase Table 2 | |
T_{2} ≤ s_{2} < T_{1} | No switching |
© 2012 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).