Abstract

Because the output signal of the time grid sensor is so weak and is easily affected by the disturbing noise, it is difficult to extract the induction signal containing the position information, when the time grid sensor is used to detect the rotor position of the permanent magnet synchronous motor (PMSM). In this paper, an adaptive monostable stochastic resonance method is proposed to realize the weak signal detection of the time grid sensor. The tunnel magnetoresistance effect sensor (TMR) is adopted to detect the change of the rotor magnetic field of the motor in this method, and the detection model of the time grid sensor about PMSM is constructed. The monostable stochastic resonance theory is applied to extract the induction signal of the time grid sensor. As to the problem of the tuning the parameters of the monostable stochastic resonance system, the genetic algorithm is adopted to optimize the parameters of the monostable stochastic resonance system. The experimental results show that the monostable stochastic resonance method based on the genetic algorithm can effectively detect the weak induction signal of the time grid sensor about PMSM. This method solves the problem of the weak signal extraction of the time grid sensor for PMSM, and the detection accuracy is also improved.

1. Introduction

Permanent magnet synchronous motor (PMSM) has become very popular during the last decades due to its high efficiency, high power density, and superior dynamic response compared with other types of machines, e.g., induction or synchronous reluctance machines [1]. The commonly used position detection technology of servo motors is mainly divided into position sensor technology and sensorless technology. The former mostly relies on external sensors, such as grating, magnetic grating, and hall sensors, which severely damage the original compact structure of the motor and greatly affect its operating performance. The latter, such as back potential position estimation, model reference adaptive, high frequency signal injection, and other technologies, is greatly affected by motor parameters and has the disadvantages of low detection accuracy and complex implementation.

According to the twinness of the time grid sensor and the servo motor, the time grid is implanted into the motor structure to integrate into one, so as to realize the effective detection of the position and speed of the motor without affecting the normal driving of the motor [2]. Although this scheme can be used to achieve measurement, there are some disadvantages such as low amplitude of the induction signal and the size is easily affected by the internal and external environmental noise of the motor.

Because the internal and external operations of the servo motor are easily affected by noise, it is necessary to find a way to clearly extract the weak signal in the background of strong interference noise. In the past, signals were detected by removing and suppressing noise, such as wavelet transform and empirical mode analysis. For instance, Saadatnejad et al. proposed a new electrocardiogram (ECG) classification algorithm for continuous cardiac monitoring on wearable devices with limited processing power. In contrast to many compute-intensive deep learning-based approaches, the proposed algorithm is lightweight and therefore brings continuous monitoring with accurate LSTM-based ECG classification to wearable devices [3]. Zhou et al. proposed the morphological filter-assisted ensemble empirical mode decomposition (MF-EEMD). Compared with EEMD, MF-EEMD significantly mitigates the mode mixing problems and achieves a higher decomposition efficiency [4].

To extract the weak signal, another signal detection method is used which uses the noise to improve the signal-to-noise ratio. This method mainly uses the stochastic resonance theory. Stochastic resonance (SR) was first presented by Italian scholar R. Benzi in the article about alternation phenomenon of glaciation and heating period of Earth [5]. The stochastic resonance model has been widely applied in the weak signal detection, which has obtained abundant research result [68]. Zhao et al. proposed an adaptive stochastic resonance (SR) method based on the grey wolf optimizer algorithm for fast pulsar identification [9]. Li et al. proposed a multiparameter constrained potential underdamped stochastic resonance method by studying the potential model and signal-to-noise ratio of the system. The results of various bearing failure experiments show that the method has excellent weak signal extraction ability and is suitable for early fault diagnosis [10]. Lei et al. proposed an adaptive stochastic resonance (ASR) method. The ASR method utilizes the optimization ability of ant colony algorithms and adaptively realizes the optimal stochastic resonance system matching input signals [11]. He et al. took the delayed feedback system as a model and successfully detected the target frequency and amplitude of weak signals by adjusting the model parameters, signal amplitude, and noise intensity to induce stochastic resonance [12]. Wang et al. proposed a terahertz radar signal detection method based on the adaptive stochastic resonance theory and subsampled the noise-containing difference frequency signal as well as completed the ranging calculation [13]. Cui et al. studied the stochastic resonance characteristics of the bistable circuit and conducted an experimental simulation of its circuit in the Multisim simulation environment. It is verified that the bistable circuit can achieve the stochastic resonance function very well, and it provides strong support for the actual production of the bistable circuit [14]. Huang et al. proposed an adaptive stochastic resonance (ASR) method based on GST and implemented it by quantum particle swarm optimization algorithm. Through the bearing fault simulation signal, the ASR method with the GST is compared with the normalized scale transformation (NST) stochastic resonance (SR). The results show that the efficiency of the GST method is higher than that of the NST in recognizing bearing fault feature information [15]. Qiu et al. proposed an adaptive reinforcement learning and genetic algorithm to tune the parameters of the SR system. This method combines reinforcement learning with genetic algorithm (GA), which improves the local search ability of traditional genetic algorithm, accelerates the convergence speed, and is more suitable for signal detection in UAC [16]. Lai et al. proposed a multiparameter-adjusting SR model for the standard tristable system, and its parameter adjustment rules for different input signals to produce SR are fully studied [17].

In order to realize the detection of the rotor position of PMSM, the time grid sensor is adopted to detect the change of the rotor magnetic field in this paper. The monostable stochastic resonance technology is utilized to extract the weak output signal of the time grating sensor, and the genetic algorithm is used to optimize the structure parameters of the monostable stochastic resonance system.

2. Position Detection Principle of PMSM

2.1. Operation Principle of Time Grating Sensor

The time grid sensor originally invented by Professor Donglin Peng is a displacement sensor, and it adopts the theory of “space-time coordinate transformation” (TST) [18]. The core content of the theory is “space-time coordinate conversion,” that is, there is a pair of relative coordinate systems, and the displacement variable in one coordinate system is converted to the time variable in the other coordinate system to use time to measure space variable.

According to the idea of “space-time coordinate conversion,” a coordinate system of uniform motion is the key to measure space with time [19]. The traveling wave can be divided into the space traveling waves and the time traveling waves by the time grating sensors. The space traveling wave travels forward and backward along the spatial displacement axis. As a typical representative of the space traveling wave, the magnetic traveling waves are often associated with the mechanical motion, and its mathematical expression can be expressed aswhere Am is a constant coefficient, T is the period, and W is the space pitch.

According to the calculation method of the trigonometric function, a traveling wave can be decomposed into two waves with a phase difference of 90°:where is the time independent variable and is the space independent variable.

The equation shows that the construction of two orthogonal wave signals is the key to the position detection of the time grating sensor.

2.2. Position Detection Principle of PMSM with Time Grid Sensors

According to the similarity between the time grid sensor and the servo motor, the rotor with the permanent magnets can be regarded as the time grating rotor, and a pair of TMR sensors placed orthogonally in space can be used as the time grating fixed probe to sense the internal rotating magnetic field of the motor to realize position detection for PMSM with the embedded time grid sensor [20, 21].

Two TMR sensors which are placed orthogonally in space are fed into two orthogonal excitation signals at the same time. The signals u can be expressed aswhere is the input voltage amplitude and is the frequency of the excitation signal.

Because the TMR sensor can produce the linear voltage within a certain magnetic field variation range [22], the output signal is expressed aswhere is the differential output voltage of TMR sensor, B is the sensor-induced magnetic field strength, S is the sensor sensitivity, and K is the proportional coefficient.

According to the (4), the sensor output is related to the input voltage and the external magnetic field changes. If a sinusoidal voltage, u(t), is used as the excitation signal and an external magnetic field, B(x), whose magnetic field strength changes with the spatial displacement is applied to the TMR sensor, the output of the sensor at this time is

According to the analysis of the above TMR sensor, the magnetic field can be detected above the permanent magnet. It can be expressed aswhere B0 is the magnetic induction intensity at the current position and x is the distance between the two TMR sensors.

According to (5), the two sensors’ output can be expressed as

By superimposing the two signals, the traveling wave signal carrying the rotor position information can be obtained:

2.3. Position Solution Method about the Time Grid Sensor

In order to get the rotor position of PMSM, the output signal of the time grid sensors should be calculated. The excitation signal is a reference signal, and its amplitude changes with time. The amplitude of the time grid sensor’s output signal changes with the time and the spatial locations of the rotor. In addition, two signals have the same amplitude frequency. The phase difference between two signals will be obtained with the motor running. The phase difference corresponds to the time difference, . The reference signal and the traveling wave signal are shown in Figure 1. Ua is the reference signal, and Ub is the traveling wave signal.

For convenience of phase comparison, two signals could be transformed into two square wave signals. The cycle count and phase difference of two square signals will be obtained by using the high-frequency pulse interpolation technology. The square wave signals are shown in Figure 2.

The expression of displacement is obtained:where x is the electrical displacement and v is the speed of magnetic field rotation.

3. Weak Signal Processing Method for Time Grid Sensor

3.1. Monostable Stochastic Resonance Theory

Stochastic resonance is a phenomenon in which the output signal of the system is enhanced; this phenomenon is caused by the synergistic effect of the weak periodic signal and the noise under certain nonlinear conditions. The monostable stochastic resonance model is taken as the research object in this paper. The nonlinear equation can be expressed by the Langevin equation [2325]:where is a periodic excitation signal, is the Gaussian white noise, is the fourth-order asymmetric potential function, and is the derivative of the system output signal.

Langevin differential equations can be solved by the following fourth-order Runge–Kutta method:where N is the number of the input data, represents the system output value at time n, is the time start slope, , represent the time midpoint slope, is the time end slope, that is, the differential at a point, and h is the integration time step.

The derivative expression of the potential function of a typical overdamped monostable system can be expressed aswhere a and b are constants, which represent the asymmetry of the system and are called nonlinear coefficients.

The statistical properties of the white noise used in stochastic resonance systems should meet the following requirements:where is the overall average operator, is the initial condition of the SR system, and D is the noise intensity.

Assuming that is the probability distribution function of the SR variable x and C is constant, using its expansion and statistical properties of white Gaussian noise, the corresponding Fokker–Planck equation can be obtained:

Among them, the expression of , is as follows:

If the signal amplitude and frequency is far smaller than one, that is, , the system can be considered to achieve a local equilibrium within an excitation period. The adiabatic approximation condition is satisfied.

According to Fokker–Planck equation (14), the quasi-steady-state distribution function of the system iswhere is a normalized constant and is the generalized potential function.

can be expressed as

Because the equivalent potential function has a similar form with the potential function of the bistable system, the monostable system can be regarded as the equivalent bistable system when , and the transient state and the steady state can be, respectively, expressed as and .

When the monostable system parameters, the signal, and the noise are matched, the periodic weak signal can be properly enhanced. Therefore, seeking an appropriate parameter adjustment stochastic resonance algorithm plays a key role in improving the detection adaptability.

3.2. Parameter Optimization Method of the Monostable Stochastic Resonance System

As to the problem of tuning parameter about the traditionally monostable stochastic resonance algorithm, the extraction of the position information is not very effective. In this paper, the genetic algorithm is applied to the monostable stochastic resonance system to determine the value of parameters a and b to optimize the parameters.

The specific steps for optimizing the system parameters with the genetic algorithm are as follows.

Step 1. Coding: set the respective search range and precision of the stochastic resonance system parameters. Then, calculate the corresponding code length to obtain the individual code in the group, .The formula used for parameter binary encoding iswhere c and d are the coding lengths of the two parameters, , represent the corresponding search range, and is the precision.

Step 2. Initializing the population: according to the population number, the individual is randomly selected to initialize the population.

Step 3. Decoding: according to the following individual decoding equation, the stochastic resonance system parameters a and b are obtained.

Step 4. Building fitness function: the system output signal-to-noise ratio (SNR) is used as the fitness index function. Calculate the fitness value of the individual. The SNR expression of the output signal iswhere is the Fourier transform of the stochastic resonance system output signal at time k.

Step 5. Choosing crossover and mutation: according to the adaptable fitness function, the excellent individuals based on crossover and mutation are selected to reconstitute a new generated population.

Step 6. Terminating: the above generated population process is repeated until that the set number of iterations is met. The optimized structural parameters of the stochastic resonance system are obtained at this time.
In order to verify the validity of the above method, the simulation experiment is conducted. The effective input signal is , the system noise input signal is , is the Gaussian white noise with mean 0 and variance 1, and D is the noise intensity. Then, the mixed signal is . The initial population M = 300, evolutionary algebra NG = 100, the search range of a parameter is a ∈ (0.01∼20), the search range of b parameter is b∈ (0.01∼10^5), the crossover probability Pc = 0.93, and the mutation probability Pm = 0.02. When the population converges, the optimal stochastic resonance state is reached. The simulation results are shown in Figures 36.
Figure 3 shows the mixed input signal waveform. Figure 5 shows the output signal waveform. After stochastic resonance algorithm processing, the useful signal components are preserved, the image is clear, and the outline is obvious. Figure 4 shows the mixed input signal spectrum. Figure 6 shows the output signal spectrum. Comparing Figure 4 with Figure 6, the above simulation shows that the noise interference is reduced, and the system is in a state of random resonance. A clear peak can be clearly observed. The corresponding frequency is about 5 Hz, which is equal to the measured weak signal frequency.

4. Experimental Analysis

In order to prove the validity of the embedded position detection system based on the time grid sensor about PMSM, an experiment platform is set up as shown in Figure 7.

This platform mainly includes PMSM (model: 80ST-MO1330) with the time grid sensor, a control board with the master chip of TMS320F28335, a motor drive board (model: IPMV3A3), and a signal processing board. The main parameters of the PMSM are shown in Table 1.

The installation position of the two TMR chip is shown in Figure 8. A pair of TMR chips with the difference of 67.5° is fixed on the round PCB. The PCB and the motor rear cover are fixed together. According to the embedded measurement principle, the time grating sensor will sense a pair of traveling wave signals containing angular displacement after the motor is started.

After connecting and powering up in the above manner and running DSP to control PMSM speed at a uniform rotate of 60 rpm, the used oscilloscope will obtain the two induced traveling wave signals and the voltage amplitude is amplified about 2 V, as shown in Figure 9.

According to the above signal extraction method of time grid sensor based on adaptive stochastic resonance theory, two induced traveling wave signals are superimposed to obtain an angular displacement signal, as shown in Figure 10.

To clearly analyze the characteristics of the angular displacement signal, Figure 10 is again enlarged within 0.2 s. From Figure 10 or 11, the angular displacement is a sinusoidal waveform with phase shift, small amplitude changes, and harmonic interference. To remove the influence of noise on the induction signal of the time grid sensor, adaptive stochastic resonance processing is performed on the superimposed traveling wave signal.

In the genetic algorithm model, the signal sampling frequency fs = 70100 Hz. Figure 12 shows the input signal spectrum. There are obvious peaks in the output signal spectrum (Figure 13), its amplitude is 0.14477 at the frequency of 1 kHz, and the tested signal is successfully detected.

The corresponding adaptive stochastic resonance output waveform is shown in Figure 14. The partial amplification of output signal has a clear waveform without obvious harmonic interference within 0.2 s as shown in Figure 15. Comparing the output graph with inputting signal, original signal waveform including noise is significantly reduced, and the useful components of the signal are retained.

The induced signal is shaped into a square wave signal as shown in Figure 16. The vertical axis is zero to one in the cycle.

Phase difference is interpolated by high-frequency pulse technology between adaptive stochastic resonance output signal and reference signal to obtain the PMSM rotational angular displacement as shown in Figure 17. The unit of motor running time is seconds, and the slope of the curve should represent the speed, which is basically the same as the set speed of the servo motor. The results show that this method can realize the rotor position detection of the synchronous motor.

5. Conclusion

In this paper, the adaptive monostable stochastic resonance is proposed to extract the weak induced signal of the time grid sensor about PMSM. This method adopts the genetic algorithm to optimize the parameters of the monostable stochastic resonance system and achieves the real-time adjustment of the parameters. The position detection method based on the time grid sensor for PMSM reduces system’s size of the servo motor and increases the reliability. This method also improves the position detection accuracy of PMSM.

Data Availability

The underlying data supporting the results of the study can be obtained from the corresponding author upon request.

Conflicts of Interest

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

Acknowledgments

This study was supported by the Technological Project of Henan Province (grant no. 202102210284).