# An Optimized Pulse-Counting Method for Compensation Vector Calculation in the Automatic Balancer

Authors: Lifang Chen; Bo Zhou; Zhaoju Li; Yixiang Guo; Ziwen Yan
Journal: Shock and Vibration
 (2020)

---

## Abstract

The accuracy of the counterweight positions in an automatic balancing system deeply affects dynamic balancing. Compensation vector is synthesized by the two counterweights located in the electromagnetic dual-weight automatic balancer. Therefore, if the position of the counterweight is inaccurate, it may result in a wrong adjustment and a larger imbalance of the rotor system. In this paper, an optimized pulse counting method for compensation vector calculation in an electromagnetic dual-weight balancing system is proposed based on a programmable logic controller (PLC). A propeller automatic balancing simulation test bench is used to verify the effect of the method by obtaining the positions of the counterweights and synthesizing the compensation vector in the working mode. The error is less than 1/80 which means that it does not exceed one step in the 80-position-balancer at 1200 rpm. The proposed control system can work without computers or high-speed data acquisition equipment, which improves the stability and flexibility of the control system, facilitates the design of the automatic balancing system, and shows excellent potential for industrial applications.


---

## Body

## 1. Introduction

More than 70% of the vibration failures of rotating machinery are caused by the imbalance-induced vibration of the rotor system [1]. Many balancing procedures have been developed to suppress this imbalance-induced vibration [2–10]. Dynamic balancing of the rotor system is usually achieved by starting and stopping the device and applying test weights and counterweights. An automatic balancing system changes the position of the counterweights on a given plane in real time to form the compensation vector. This approach has the significant advantage of being able to apply the counterweights without stopping the equipment and has been increasingly used in the industrial field [11–22], such as for high-precision machine tools for civilian use, grinders, and military turboprop automatic balancing systems.In an electromagnetic automatic balancing system [23,24], the compensation vector is generated by two independently rotating counterweights pre-installed on the rotor. Compared with a laser adding mass or removing mass balancing device, the structure is simpler, and no pollution and fatigue damage will occur, but the two counterweights on the circumference of the counterweight disk need to be accurately positioned during balancing to obtain an accurate compensation vector. The accuracy of the compensation vector will seriously affect the vibration suppression result. If the position error is larger than one position, it will result in wrong adjustment and a larger imbalance of the rotor system. In this paper, we propose a method for the accurate measurement of the counterweight position in an automatic balancing system based on a programmable logic controller (PLC). The system does not require a computer or high-speed data acquisition equipment, which greatly improves the stability and flexibility of the control system. The proposed method allows for the precise calculation of the compensation vector during automatic balancing.


## 2. Measurement Principle of Compensation Vector

### 2.1. Structure of the Automatic Balancing System

The electromagnetic automatic balancing head includes two parts: a moving ring and a static ring. The three-dimensional structural diagram is shown in Figure1. The moving ring is installed on the rotating shaft and rotates with the shaft, and the static ring is attached to the base with a bracket. Two counterweights with a certain mass are installed at a certain radius on the counterweight disk of the moving ring. The size of the eccentric mass on each counterweight disk depends on structure, force analysis of counterweight disks, and mainly the balancing capacity requirements of rotors. Once the installation radius of counterweights is determined, the mass of the counterweight on each disk can be calculated. The maximum balancing capacity of the automatic balancer used in this article is 18 g × m. During the rotation, each counterweight will generate a compensation vector. The different angles of the two counterweights result in compensation vectors of different sizes and directions. A ring of magnets of opposite polarity is installed on the outer edge of the counterweight disk, and the counterweight is driven by the electromagnetic force generated by the static ring. When the counterweight is at the specified position, its position is locked by the self-locking force created by the magnet.Figure 1
Schematic diagram of the balance head of the system. (a) Moving ring. (b) Static ring.
(a)(b)A positioning magnet for real-time monitoring of the position of the counterweight is installed on the end cover of the moving ring and the outer edges of the two counterweight disks. At the corresponding position of the static ring, three Hall sensors are used to detect the signals of the three positioning magnets. The three Hall sensors are arranged in a straight line in the axial direction and parallel to the rotor axis. The main body of the static ring has two electromagnetic coils. When the coil is energized, an electromagnetic field is formed between the moving ring and the static ring. The electromagnetic field changes regularly and interacts with the magnetic field of the magnet on the counterweight disk, causing the counterweight to rotate relative to the shaft. The target position of the counterweight is specified by the direction of rotation and the number of steps.The whole auto-balancer system includes two modules, the vibration measuring module and the balancing actuator module. The first module can provide the compensation mass based on the influence coefficient method (ICM) with the vibration vector, and then convert to the two counterweight positions. The other module, balancing actuator, is designed with two mobile weights providing 0 to 2MR compensation ability based on the requirement of the rotor system. By detecting the vibration vector in real time, the required compensation weight is calculated by ICM and then converted to the position of two counterweights. Then optimal movement path of counterweights is selected so that the combined compensation vector generated by the two counterweights is opposite to the original mass imbalance vector of the rotor system. This is achieved using an error-free algorithm to ensure real-time suppression of the vibration [3,4,16,20,25,26]. The vibration suppression effect of the balance head during normal movement of the counterweight is shown in Figure 2(a). If the position of the counterweight is incorrect during its movement, the counterweight will move in the opposite direction and increase the vibration, as shown in Figure 2(b).Figure 2
Schematic diagram of the vibration suppression effect of the balance head.
(a)(b)Due to the principle of electromagnetic-driven step by step with alternating positive and negative pulses, the location of two counterweights will determine the direction of the next step and influence the balancing effect. Thus, accurate counterweights positions are crucial for the balancing actuator. The counterweights must be accurately positioned to ensure accurate movement and generate the required compensation vector. At present, most automatic balancing systems used for high-speed rotating machinery adopt high-speed data acquisition equipment to acquire the position signal of the internal counterweight. However, high-speed data acquisition equipment requires a computer for signal acquisition and calculations. However, other devices such as aircraft engines often carry a limited amount of weight, which needs a lightweight balancer. Therefore, it is necessary to design a simple and lightweight balancer control system that does not rely on a big size of data acquisition device and host computer.


### 2.2. Principles of the Calculation of the Compensation Vector

High-speed data acquisition equipment (such as NI high-speed acquisition equipment) and host computer acquisition software (such as LabVIEW software) are usually used to detect and analyze high-speed pulse signals which have big size and thereby limit industrial applications. Therefore, in this study, we develop a low-cost, highly stable, and simple-to-operate counterweight position detection system based on a PLC. A PLC is a control system specifically designed for application in industrial environments. It has the advantages of high reliability, easy programming, convenient installation, and flexible configuration. A PLC can be used without a computer by using a touch screen and other equipment.The counterweight position detection and control system is shown in Figure3. A reference Hall sensor and two position Hall sensors collect the signals of three magnets respectively, calculate the relative positions of the two counterweights on the balancer, and provide feedback information to form a closed-loop control system of the PLC controller and balancing actuator. Due to the different angles between the magnets on the two disks and the reference magnet, the Hall signals of the two disks and the reference Hall signals have different time intervals. The controller starts timing as soon as it detects the reference Hall signal and saves the current value of timer when it detects the Hall signal of each disk. By comparing these two times with the time taken for each revolution, that is, the time interval between two reference Hall signals, the current position of these two disks can be known. The arrangement of the counterweight position sensors and the time sequence of the signals are shown in Figure 4, and the position calculations are shown in Figure 5. The positions of the two counterweights can be calculated based on the positions of the two disc signals in one rotation cycle.Figure 3
Position detection and control system of the counterweight.Figure 4
Principle of the position detection of the counterweight. Here,α and β represent the angle between the positioning magnet and the reference magnet of disc 1 and disc 2, respectively, in radians; ω represents the angular velocity of the rotating shaft, in radians per second; U represents the voltage output by sensors in volts; and T represents time in seconds.
(a)(b)Figure 5
Flowchart for calculating the counterweight position. Here, S0 represents the signal of the reference Hall, S1 represents the Hall signal of the disk 1, and S2 represents the Hall signal of the disk 2.For a given diameter of one actuator, the more positions the counterweights have, the higher the balancing accuracy, and the more difficult it is to obtain stable counterweights positions in the case of high-speed rotor balancing. For the balancer used in this article, the maximum number of magnets that can be accommodated in this structure is 80. So the counterweight of the balancer used in the experiment has a total of 80 steps to ensure maximum accuracy; therefore, the step angle is 4.5°. The stability of the counterweight position is very important for the movement of the counterweight of the balance head. Even an error of one step will cause incorrect movement of the counterweight, preventing accurate balancing, and the vibration of the shaft may increase, which is dangerous. Therefore, the results of the position detection of the two counterweights must be stable, and the error of the counterweight position cannot be more than one step.


## 2.1. Structure of the Automatic Balancing System

The electromagnetic automatic balancing head includes two parts: a moving ring and a static ring. The three-dimensional structural diagram is shown in Figure1. The moving ring is installed on the rotating shaft and rotates with the shaft, and the static ring is attached to the base with a bracket. Two counterweights with a certain mass are installed at a certain radius on the counterweight disk of the moving ring. The size of the eccentric mass on each counterweight disk depends on structure, force analysis of counterweight disks, and mainly the balancing capacity requirements of rotors. Once the installation radius of counterweights is determined, the mass of the counterweight on each disk can be calculated. The maximum balancing capacity of the automatic balancer used in this article is 18 g × m. During the rotation, each counterweight will generate a compensation vector. The different angles of the two counterweights result in compensation vectors of different sizes and directions. A ring of magnets of opposite polarity is installed on the outer edge of the counterweight disk, and the counterweight is driven by the electromagnetic force generated by the static ring. When the counterweight is at the specified position, its position is locked by the self-locking force created by the magnet.Figure 1
Schematic diagram of the balance head of the system. (a) Moving ring. (b) Static ring.
(a)(b)A positioning magnet for real-time monitoring of the position of the counterweight is installed on the end cover of the moving ring and the outer edges of the two counterweight disks. At the corresponding position of the static ring, three Hall sensors are used to detect the signals of the three positioning magnets. The three Hall sensors are arranged in a straight line in the axial direction and parallel to the rotor axis. The main body of the static ring has two electromagnetic coils. When the coil is energized, an electromagnetic field is formed between the moving ring and the static ring. The electromagnetic field changes regularly and interacts with the magnetic field of the magnet on the counterweight disk, causing the counterweight to rotate relative to the shaft. The target position of the counterweight is specified by the direction of rotation and the number of steps.The whole auto-balancer system includes two modules, the vibration measuring module and the balancing actuator module. The first module can provide the compensation mass based on the influence coefficient method (ICM) with the vibration vector, and then convert to the two counterweight positions. The other module, balancing actuator, is designed with two mobile weights providing 0 to 2MR compensation ability based on the requirement of the rotor system. By detecting the vibration vector in real time, the required compensation weight is calculated by ICM and then converted to the position of two counterweights. Then optimal movement path of counterweights is selected so that the combined compensation vector generated by the two counterweights is opposite to the original mass imbalance vector of the rotor system. This is achieved using an error-free algorithm to ensure real-time suppression of the vibration [3,4,16,20,25,26]. The vibration suppression effect of the balance head during normal movement of the counterweight is shown in Figure 2(a). If the position of the counterweight is incorrect during its movement, the counterweight will move in the opposite direction and increase the vibration, as shown in Figure 2(b).Figure 2
Schematic diagram of the vibration suppression effect of the balance head.
(a)(b)Due to the principle of electromagnetic-driven step by step with alternating positive and negative pulses, the location of two counterweights will determine the direction of the next step and influence the balancing effect. Thus, accurate counterweights positions are crucial for the balancing actuator. The counterweights must be accurately positioned to ensure accurate movement and generate the required compensation vector. At present, most automatic balancing systems used for high-speed rotating machinery adopt high-speed data acquisition equipment to acquire the position signal of the internal counterweight. However, high-speed data acquisition equipment requires a computer for signal acquisition and calculations. However, other devices such as aircraft engines often carry a limited amount of weight, which needs a lightweight balancer. Therefore, it is necessary to design a simple and lightweight balancer control system that does not rely on a big size of data acquisition device and host computer.


## 2.2. Principles of the Calculation of the Compensation Vector

High-speed data acquisition equipment (such as NI high-speed acquisition equipment) and host computer acquisition software (such as LabVIEW software) are usually used to detect and analyze high-speed pulse signals which have big size and thereby limit industrial applications. Therefore, in this study, we develop a low-cost, highly stable, and simple-to-operate counterweight position detection system based on a PLC. A PLC is a control system specifically designed for application in industrial environments. It has the advantages of high reliability, easy programming, convenient installation, and flexible configuration. A PLC can be used without a computer by using a touch screen and other equipment.The counterweight position detection and control system is shown in Figure3. A reference Hall sensor and two position Hall sensors collect the signals of three magnets respectively, calculate the relative positions of the two counterweights on the balancer, and provide feedback information to form a closed-loop control system of the PLC controller and balancing actuator. Due to the different angles between the magnets on the two disks and the reference magnet, the Hall signals of the two disks and the reference Hall signals have different time intervals. The controller starts timing as soon as it detects the reference Hall signal and saves the current value of timer when it detects the Hall signal of each disk. By comparing these two times with the time taken for each revolution, that is, the time interval between two reference Hall signals, the current position of these two disks can be known. The arrangement of the counterweight position sensors and the time sequence of the signals are shown in Figure 4, and the position calculations are shown in Figure 5. The positions of the two counterweights can be calculated based on the positions of the two disc signals in one rotation cycle.Figure 3
Position detection and control system of the counterweight.Figure 4
Principle of the position detection of the counterweight. Here,α and β represent the angle between the positioning magnet and the reference magnet of disc 1 and disc 2, respectively, in radians; ω represents the angular velocity of the rotating shaft, in radians per second; U represents the voltage output by sensors in volts; and T represents time in seconds.
(a)(b)Figure 5
Flowchart for calculating the counterweight position. Here, S0 represents the signal of the reference Hall, S1 represents the Hall signal of the disk 1, and S2 represents the Hall signal of the disk 2.For a given diameter of one actuator, the more positions the counterweights have, the higher the balancing accuracy, and the more difficult it is to obtain stable counterweights positions in the case of high-speed rotor balancing. For the balancer used in this article, the maximum number of magnets that can be accommodated in this structure is 80. So the counterweight of the balancer used in the experiment has a total of 80 steps to ensure maximum accuracy; therefore, the step angle is 4.5°. The stability of the counterweight position is very important for the movement of the counterweight of the balance head. Even an error of one step will cause incorrect movement of the counterweight, preventing accurate balancing, and the vibration of the shaft may increase, which is dangerous. Therefore, the results of the position detection of the two counterweights must be stable, and the error of the counterweight position cannot be more than one step.


## 3. Optimized Pulse Counting Method for Calculating the Compensation Vector

### 3.1. Timing Method

When the reference magnet passes the Hall sensor, a pulse signal is generated, and the timer inside the PLC begins counting. When the reference magnet passes the Hall sensor again, the current value isT, i.e., the time it takes the rotor to make one revolution is T (unit: seconds). The speed of the rotor (unit: rpm) is defined as(1)v=60T.During one rotation of the rotor, the other two Hall sensors receive the signals of the corresponding magnets and record the current values (T1 and T2, in seconds) at the same time. The current positions of the two counterweights are defined as(2)L1=T1T×80,L2=T2T×80.The key to the accurate calculation of the position is the precise measurement ofT,T1,andT2. This measurement method does not require high-precision measurement of time; therefore, the high-speed pulse function of the PLC can be used because it has sufficient accuracy.


### 3.2. Pulse-Counting Method

The PLC generates high-speed pulses at the specified frequency in a stable manner. The pulse frequency isf, the number of pulses corresponding to one rotation of the rotor is n, and the number of pulses between the reference signal and the Hall signals of the two counterweights is n1andn2. The speed is defined as(3)v=60×fn.The current positions of the two counterweights are defined as(4)L1′=n1n×80,L2′=n2n×80.When an external disturbance causesn1andn2 to fluctuate with a value of Δn, the error associated with the calculation of the two counterweights is expressed as(5)L1″−L1′L1′=n1+Δn/n×80−n1/n×80n1/n×80=Δnn1,L2″−L2′L2′=n2+Δn/n×80−n2/n×80n2/n×80=Δnn2.Therefore, the size ofn1andn2 is related to the pulse frequency f. It is evident that an increase in the pulse frequency reduces the random error, but at a high pulse frequency, noise interference will occur and the stability is reduced; therefore, the pulse frequency should not be too high.


### 3.3. Optimized Pulse-Counting Method

During the rotation of the rotor, the sensor signal will generate random fluctuations due to interference by environmental factors. The least-squares regression equation is defined as(6)a=∑xy−1/N∑x∑y∑x2−1/N∑x2=∑iLi−1/n∑i∑Li∑i2−1/n∑i2,b=y¯−ax¯=Li¯−ai¯.In equation (6), the serial number i is taken as the abscissa x and the calculated position of the disk is taken as the ordinate y. After curve fitting, the regression line must pass through the average values i¯,Li¯. If the average number of data is n, and there are x (x < n/2) calculation results with a total error of Δn, the relative error after averaging is defined as(7)Δnn<Δnx×12.The error of each position calculation result after averaging is less than half of the average error of each position result before averaging. When the average error of each position result before averaging is 4.5°, each position result after averaging produces an error of less than 2.25°. Therefore, the averaging process reduces the error to an acceptable value and eliminates the error caused by environmental interference.


## 3.1. Timing Method

When the reference magnet passes the Hall sensor, a pulse signal is generated, and the timer inside the PLC begins counting. When the reference magnet passes the Hall sensor again, the current value isT, i.e., the time it takes the rotor to make one revolution is T (unit: seconds). The speed of the rotor (unit: rpm) is defined as(1)v=60T.During one rotation of the rotor, the other two Hall sensors receive the signals of the corresponding magnets and record the current values (T1 and T2, in seconds) at the same time. The current positions of the two counterweights are defined as(2)L1=T1T×80,L2=T2T×80.The key to the accurate calculation of the position is the precise measurement ofT,T1,andT2. This measurement method does not require high-precision measurement of time; therefore, the high-speed pulse function of the PLC can be used because it has sufficient accuracy.


## 3.2. Pulse-Counting Method

The PLC generates high-speed pulses at the specified frequency in a stable manner. The pulse frequency isf, the number of pulses corresponding to one rotation of the rotor is n, and the number of pulses between the reference signal and the Hall signals of the two counterweights is n1andn2. The speed is defined as(3)v=60×fn.The current positions of the two counterweights are defined as(4)L1′=n1n×80,L2′=n2n×80.When an external disturbance causesn1andn2 to fluctuate with a value of Δn, the error associated with the calculation of the two counterweights is expressed as(5)L1″−L1′L1′=n1+Δn/n×80−n1/n×80n1/n×80=Δnn1,L2″−L2′L2′=n2+Δn/n×80−n2/n×80n2/n×80=Δnn2.Therefore, the size ofn1andn2 is related to the pulse frequency f. It is evident that an increase in the pulse frequency reduces the random error, but at a high pulse frequency, noise interference will occur and the stability is reduced; therefore, the pulse frequency should not be too high.


## 3.3. Optimized Pulse-Counting Method

During the rotation of the rotor, the sensor signal will generate random fluctuations due to interference by environmental factors. The least-squares regression equation is defined as(6)a=∑xy−1/N∑x∑y∑x2−1/N∑x2=∑iLi−1/n∑i∑Li∑i2−1/n∑i2,b=y¯−ax¯=Li¯−ai¯.In equation (6), the serial number i is taken as the abscissa x and the calculated position of the disk is taken as the ordinate y. After curve fitting, the regression line must pass through the average values i¯,Li¯. If the average number of data is n, and there are x (x < n/2) calculation results with a total error of Δn, the relative error after averaging is defined as(7)Δnn<Δnx×12.The error of each position calculation result after averaging is less than half of the average error of each position result before averaging. When the average error of each position result before averaging is 4.5°, each position result after averaging produces an error of less than 2.25°. Therefore, the averaging process reduces the error to an acceptable value and eliminates the error caused by environmental interference.


## 4. Experimental Research

### 4.1. Simulation Test

The step angle of the automatic balancing head used in the experiment is 4.5°. In the simulation test, we set the Hall signal of disc 1 to lag the reference Hall signal by 45°. LabView software is used to simulate the reference Hall signal and the dual-disc Hall signal and calculate the positions, when the Hall sensor waveform generates a pulse falling edge and the voltage is below −4 volts, the program will treat it as a signal. The analog signal obtained from the simulation is shown in Figure6. Each prominent spike in the figure represents a Hall signal. The two analog signals have the same white noise and one superposition of square waves with different phases, which is similar to the actual Hall signal. For example, in disk 1, when the calculated value of the angle of disk 1 fluctuates by more than half of the step angle, i.e., when the error exceeds ±2.25°, an error of one step occurs between the calculated result of the position of disk 1 and the actual position. In the simulation experiment, the phase difference between the disc 1 signal and the reference signal is 45°, corresponding to the 10th step position of disc 1. The simulation results are shown in Figure 7(a). It is observed that the pulse-counting method results in three sudden changes in the calculated position from 45° to 40.5° in 200 runs of the simulation after rounding the degrees to a multiple of 4.5 (the step interval of balancer is 4.5°). The calculated position of disc 1 deviates from the actual position. The calculation results are not sufficiently stable, and this scheme requires improvement.Figure 6
Simulation signal.Figure 7
Simulation test results.
(a)(b)During the rotation of an actual rotor, the signal of the sensor is disturbed by many factors, for example, a complex electromagnetic environment, extra vibration caused by the movement of the human body, and the passing of nearby cars and subways, etc., generating random fluctuations, which cause position errors. The noise signal added in the simulation test is used to simulate these disturbances. The values of the position of the disk 1 are averaged to eliminate the errors caused by the fluctuations, i.e., the average of 50 position results adjacent to the current position on disc 1 is obtained. The result is shown in Figure7(b). The average angle does not fluctuate more than ±2.25° (the data of Figure 7(b) are not rounded to a multiple of 4.5. The purpose is to show that the data fluctuation is very small. If rounded, there is only one straight line on this graph at 45°). The positioning result is stable at 45°, and the counterweight position is stable and accurate in this scheme.


### 4.2. Propeller Test on an Automatic Balance Test Bench

The PLC (Omron CP1H) is the core equipment of the control system. The automatic balance test bench for the test is shown in Figure8. The PLC-based process for calculating the counterweight position is shown in Figure 5. The pulse frequency is set to 20 kHz according to the accuracy requirements.Figure 8
Propeller simulation automatic balance test bench.In the experiment, the counterweight 1 is fixed at the position of Step 24. Table1 shows the number of pulses in a given period, and Figure 9 shows the position result of the pulse-counting method. The total number of pulses in the fourth circle is 990. The position of the counterweight 1 corresponds to 292 pulses and is defined as(8)L1′=T1T×80=292990×80=23.596step.Table 1
Experimental data of the pulse-counting method.
Seri.One cycleDisk 1PositionRounded positionUnitPulsePulseStepStep199129223.57224299129223.57224399029223.59624499029223.59624599329023.36423698829323.72524798829323.72524Figure 9
Position result of the pulse-counting method.Because the number of steps must be an integer, the result is rounded to 24. However, the total number of pulses in the fifth circle is 993 and the number of pulses corresponding to the counterweight 1 is 290. In this case, the position of counterweight 1 is defined as(9)L1′=T1T×80=290993×80=23.364step.After rounding, the current position is Step 23, which is one step less than the position result of the previous circle. This error does not meet the accuracy requirement.The average of the multiturn pulse data is used to eliminate fluctuations in the calculated position. After analyzing the experimental data of the pulse counting scheme, it was found that the fluctuation of the position was primarily due to the external disturbances. When fluctuations occur in the pulses intercepted by the reference Hall sensor and the counterweight Hall sensor at the same time, the position of the counterweight will fluctuate. After repeated experiments, it is found that averaging every 50 points will stabilize the position detection result of the counterweight and provides the required positional accuracy. Table2 shows part of the data of the position of the counterweight 1 after averaging, and Figure 10 shows the position result of the optimized pulse-counting method. The calculation result of the counterweight position is stable.Table 2
Experimental data of the optimized pulse-counting method.
Seri.One cycleDisk 1PositionRounded positionUnitPulsePulseStepStep1988.8292.123.632242988.8292.123.632243988.8292.123.632244988.8292.123.632245989.0291.423.57124Figure 10
Position result of the optimized pulse-counting method.


## 4.1. Simulation Test

The step angle of the automatic balancing head used in the experiment is 4.5°. In the simulation test, we set the Hall signal of disc 1 to lag the reference Hall signal by 45°. LabView software is used to simulate the reference Hall signal and the dual-disc Hall signal and calculate the positions, when the Hall sensor waveform generates a pulse falling edge and the voltage is below −4 volts, the program will treat it as a signal. The analog signal obtained from the simulation is shown in Figure6. Each prominent spike in the figure represents a Hall signal. The two analog signals have the same white noise and one superposition of square waves with different phases, which is similar to the actual Hall signal. For example, in disk 1, when the calculated value of the angle of disk 1 fluctuates by more than half of the step angle, i.e., when the error exceeds ±2.25°, an error of one step occurs between the calculated result of the position of disk 1 and the actual position. In the simulation experiment, the phase difference between the disc 1 signal and the reference signal is 45°, corresponding to the 10th step position of disc 1. The simulation results are shown in Figure 7(a). It is observed that the pulse-counting method results in three sudden changes in the calculated position from 45° to 40.5° in 200 runs of the simulation after rounding the degrees to a multiple of 4.5 (the step interval of balancer is 4.5°). The calculated position of disc 1 deviates from the actual position. The calculation results are not sufficiently stable, and this scheme requires improvement.Figure 6
Simulation signal.Figure 7
Simulation test results.
(a)(b)During the rotation of an actual rotor, the signal of the sensor is disturbed by many factors, for example, a complex electromagnetic environment, extra vibration caused by the movement of the human body, and the passing of nearby cars and subways, etc., generating random fluctuations, which cause position errors. The noise signal added in the simulation test is used to simulate these disturbances. The values of the position of the disk 1 are averaged to eliminate the errors caused by the fluctuations, i.e., the average of 50 position results adjacent to the current position on disc 1 is obtained. The result is shown in Figure7(b). The average angle does not fluctuate more than ±2.25° (the data of Figure 7(b) are not rounded to a multiple of 4.5. The purpose is to show that the data fluctuation is very small. If rounded, there is only one straight line on this graph at 45°). The positioning result is stable at 45°, and the counterweight position is stable and accurate in this scheme.


## 4.2. Propeller Test on an Automatic Balance Test Bench

The PLC (Omron CP1H) is the core equipment of the control system. The automatic balance test bench for the test is shown in Figure8. The PLC-based process for calculating the counterweight position is shown in Figure 5. The pulse frequency is set to 20 kHz according to the accuracy requirements.Figure 8
Propeller simulation automatic balance test bench.In the experiment, the counterweight 1 is fixed at the position of Step 24. Table1 shows the number of pulses in a given period, and Figure 9 shows the position result of the pulse-counting method. The total number of pulses in the fourth circle is 990. The position of the counterweight 1 corresponds to 292 pulses and is defined as(8)L1′=T1T×80=292990×80=23.596step.Table 1
Experimental data of the pulse-counting method.
Seri.One cycleDisk 1PositionRounded positionUnitPulsePulseStepStep199129223.57224299129223.57224399029223.59624499029223.59624599329023.36423698829323.72524798829323.72524Figure 9
Position result of the pulse-counting method.Because the number of steps must be an integer, the result is rounded to 24. However, the total number of pulses in the fifth circle is 993 and the number of pulses corresponding to the counterweight 1 is 290. In this case, the position of counterweight 1 is defined as(9)L1′=T1T×80=290993×80=23.364step.After rounding, the current position is Step 23, which is one step less than the position result of the previous circle. This error does not meet the accuracy requirement.The average of the multiturn pulse data is used to eliminate fluctuations in the calculated position. After analyzing the experimental data of the pulse counting scheme, it was found that the fluctuation of the position was primarily due to the external disturbances. When fluctuations occur in the pulses intercepted by the reference Hall sensor and the counterweight Hall sensor at the same time, the position of the counterweight will fluctuate. After repeated experiments, it is found that averaging every 50 points will stabilize the position detection result of the counterweight and provides the required positional accuracy. Table2 shows part of the data of the position of the counterweight 1 after averaging, and Figure 10 shows the position result of the optimized pulse-counting method. The calculation result of the counterweight position is stable.Table 2
Experimental data of the optimized pulse-counting method.
Seri.One cycleDisk 1PositionRounded positionUnitPulsePulseStepStep1988.8292.123.632242988.8292.123.632243988.8292.123.632244988.8292.123.632245989.0291.423.57124Figure 10
Position result of the optimized pulse-counting method.


## 5. Summary and Outlook

We developed an optimized pulse counting for the accurate measurement of the position of the counterweights in automatic balancing based on PLC. The results showed that the proposed method is feasible, and the position results are stable in the error analysis and algorithm correction. The proposed method provides the same performance as high-speed data acquisition equipment with an acceptable error. The following conclusions are drawn:(1)
This study only verified the principle of the method under laboratory conditions. In future studies, it is necessary to optimize the hardware configuration and method in an actual working environment with interference (such as an environment with alternating electromagnetic fields and variable speed).(2)
Because of the good performance of the PLC-based method for electromagnetic automatic balancing, it is necessary to consider incorporating vibration monitoring into the position detection program in subsequent studies to improve the performance of the automatic balancing control system.(3)
For flexible rotors, the balancer can also be used to add the compensation vector, but different rotors have different modals at different speeds, so the structure and installation position of the balancer should be rationally optimized to adapt to this working condition.(4)
The PLC-based counterweight position detection system does not require a computer and high-speed data acquisition equipment, which simplifies the control system structure and allows for the integration of position monitoring and drive control. The stability of the system also reduces the cost of the control system, which is valuable in industrial applications.



---

*Source: 8402864-2020-05-31.xml*