A Multi-Mode Adaptive Motor Control Method for Electric Actuators
By employing a multi-mode adaptive motor control method, combined with encoder feedback and self-tuning algorithms, the contradiction between positioning accuracy and response speed of electric actuators is resolved, achieving high-precision, fast-response, and adaptive motor control that adapts to load changes, while reducing hardware costs.
Patent Information
- Application Number
- CN202611032273.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-13
- Publication Date
- 2026-11-10
AI Technical Summary
Existing electric actuator motor control technology suffers from a contradiction between positioning accuracy and response speed, lacks self-tuning capability, cannot adapt to load changes, and lacks self-learning capability, resulting in decreased control accuracy and inaccurate braking control.
A multi-mode adaptive motor control method is adopted, which uses a three-level hierarchical control strategy of large signal, small signal and micro signal, combined with an absolute encoder module, SSR drive module and main controller to realize real-time position feedback and self-tuning, establish an accurate mathematical model of braking distance and load torque, and perform self-learning optimization.
It achieves high-precision positioning, rapid response, adaptive load changes, and reduced hardware costs, thereby improving production efficiency and product consistency, and ensuring precise and controllable braking process.
Smart Images

Figure CN123074375A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of motor control technology for electric actuators, and in particular to a multi-mode adaptive motor control method for electric actuators. Background Technology
[0002] I. Current Status of Motor Control Technology for Electric Actuators Electric actuators are crucial terminal actuators in industrial automation control systems, widely used in valve drive control in industries such as petroleum, chemical, power, and metallurgy. Electric actuators achieve valve opening adjustment and precise positioning through a motor-driven transmission mechanism. The quality of the motor control algorithm directly determines the valve positioning accuracy, response speed, and system stability.
[0003] Currently, the motor control of electric actuators mainly adopts the following technical solutions: (1) Fixed dead zone control scheme: Position control is performed using a fixed dead zone range. When the deviation exceeds the dead zone, the motor is started, and when the deviation enters the dead zone, the motor is stopped. This scheme has a simple structure, but it cannot adapt to changes in inertia and load under different working conditions. The positioning accuracy is low, and it is prone to oscillation or inaccurate positioning.
[0004] (2) PID control scheme: A proportional-integral-derivative controller is used to realize position closed-loop control. Theoretically, this scheme can achieve good control effect, but the PID parameter tuning is complicated. For controlled objects such as electric actuators with mechanical backlash, nonlinear friction and load changes, the parameters are difficult to adjust adaptively, and overshoot oscillation or slow response are likely to occur.
[0005] (3) Variable frequency control scheme: The motor speed is adjusted by a frequency converter to achieve soft start and precise control. This scheme has good control effect, but the hardware cost is high and the frequency converter is large, which is not suitable for the application scenarios of miniaturized electric actuators.
[0006] II. Problems with Existing Technologies The existing motor control technology for electric actuators has the following technical defects: (1) The contradiction between positioning accuracy and response speed: Traditional control methods are difficult to balance high positioning accuracy and fast response. Improving accuracy requires reducing the dead zone, but too small a dead zone will lead to frequent start-stop and oscillation; increasing the dead zone is stable but reduces positioning accuracy, which cannot meet the requirements of high-precision adjustable electric actuators.
[0007] (2) Lack of self-tuning capability: The control parameters of the existing scheme usually need to be manually adjusted. Different models of electric actuators have different mechanical characteristics (such as transmission clearance, inertia, friction, etc.), which require professional technicians to adjust them one by one on site, resulting in low efficiency and poor consistency.
[0008] (3) Inability to adapt to load changes: In actual operation, the valve load of electric actuators will change with factors such as medium pressure, temperature, and wear. The braking parameters of traditional control methods are fixed and cannot be dynamically adjusted according to the actual load, resulting in a decrease in control accuracy under different working conditions.
[0009] (4) Lack of self-learning ability: The existing solution sets fixed parameters at the factory and cannot automatically optimize the control parameters based on the actual operating data during operation. After long-term use, the control performance will gradually decline due to mechanical wear and other reasons, and manual debugging is required.
[0010] (5) Coarse braking control: Traditional solutions usually use simple timed braking or reverse braking, without establishing an accurate mathematical model between braking distance and running speed and load torque, resulting in uncontrollable braking distance and limited positioning accuracy. Summary of the Invention
[0011] To address the aforementioned problems in existing technologies, this invention provides a multi-mode adaptive motor control method for electric actuators, employing a three-level hierarchical control strategy of large signal, small signal, and micro signal: in the large signal mode, BPfix with torque correction is used to calculate the braking distance in real time; in the small signal mode, BPmap is used to look up the braking distance; and in the micro signal mode, fine-tuning control is used to achieve precise positioning.
[0012] The technical solution of the present invention is as follows: A multi-mode adaptive motor control method for an electric actuator is disclosed. The electric actuator is used to control the opening and closing of a valve. The multi-mode adaptive motor control method is implemented based on a multi-mode adaptive motor control system for the electric actuator, used to control the motor of the electric actuator. The multi-mode adaptive motor control system includes an absolute encoder module, an SSR drive module, and a main controller. The absolute encoder module is connected to the motor of the electric actuator, and collects the absolute position information of the motor output shaft in real time. It calculates the encoder rotation angle with a fixed sampling period to obtain the real-time position PV of the motor output shaft and transmits it to the main controller. The main controller calculates the target position SV of the motor output shaft based on the target position of the valve, and calculates the control parameters of the SSR drive module in combination with the real-time position PV. Finally, the control parameters are transmitted to the SSR drive module. The SSR drive module uses a solid-state relay (SSR) to drive the motor of the electric actuator, supporting three working modes: forward rotation, reverse rotation, and reverse braking. Forward rotation is used to open the valve, and reverse rotation is used to close the valve. The steps of the multi-mode adaptive motor control method for the electric actuator are as follows: S1. The absolute encoder module acquires the absolute position information of the motor output shaft in real time, calculates the encoder rotation angle with a fixed sampling period, obtains the real-time position PV and real-time speed V of the motor output shaft, and transmits them to the main controller; the main controller performs the following operations: S2. Calculate the target deviation ∆=|SV-PV|; S3. Set two thresholds, LSth and SMth, where LSth > SMth; compare the target deviation Δ with LSth and SMth. If the target deviation Δ ≥ LSth, it is in large signal control mode, and S4 is executed; if LSth ≥ target deviation Δ ≥ SMth, it is in small signal control mode, and S8 is executed; if SMth ≥ target deviation Δ, it is in fine-tuning control mode, and S11 is executed. S4. In the large signal control mode, calculate the theoretical advance braking distance BPm: BPm=(N×k1×Vn)×k2 Where: Vn is the encoder rotation angle calculated by the absolute encoder module, called the rated speed; N is the number of intervals from the main controller sending the braking signal to the SSR reversing, determined by the ratio of the SSR's inherent start delay to the sampling period; k1 is the average speed coefficient during the coasting phase, which depends on the ratio of the starting speed to the ending speed during the coasting phase; k2 is the total travel coefficient including the braking phase, determined by the travel ratio between the coasting phase and the braking phase. S5. Calculate the advance braking distance correction value BPn: Forward rotation: BPn = BPm + avg Reverse: BPn = BPm - avg Where avg is the system deviation, which is calculated as follows: perform multiple full-stroke start-stop cycles on the valve, calculate the difference between PV and SV when the valve stops each time, and then take the average of all differences. This average value is avg. S6. Calculate the torque correction braking distance BPfix: BPfix = BPn + TRQBPcomp + self-learning correction parameters Where: TRQBPcomp is the torque braking compensation value, which is obtained by tuning on the torque table through a multi-point, multi-segment, piecewise linear interpolation algorithm, reflecting the braking distance compensation amount under different load torques; the self-learning correction parameter is the correction amount that is continuously optimized during operation; S7. Set the advance braking distance BP = BPfix, and execute S9; S8. In small signal control mode, the advance braking distance BP is obtained by looking up the BPmap table. S9. Calculate the remaining distance D and the braking countdown TC: Remaining travel distance D = Target deviation Δ - Early braking distance BP Braking countdown TC = Remaining distance traveled D ÷ Real-time speed V; S10. When TC≤0, the main controller triggers the braking signal of the SSR drive module, and the SSR performs reverse braking for a braking time of TB. The braking time TB is set according to the mechanical characteristics of the electric actuator. After braking is completed, determine whether to enter the fine-tuning control mode based on the magnitude of the target deviation ∆. If not, execute S3. S11. In fine-tuning control mode, three different durations are set: fine-tuning start time FTS, fine-tuning actuation time FTB, and fine-tuning delay FTD. Then, the precise position adjustment of the motor is achieved through three stages: In the first stage, the motor is controlled to rotate by the SSR drive module, and the duration is the fine-tuning start time FTS; in the second stage, the motor is controlled to brake in reverse by the SSR drive module, and the duration is the fine-tuning actuation time FTB; in the third stage, the motor is controlled to stop rotating by the SSR drive module, and the waiting time before the main controller executes the next operation is the fine-tuning delay FTD. S12. Self-tuning: Sets the following control parameters: rated speed Vn, mechanical clearance, braking time TB, advance braking distance BP, and absolute accuracy TOL, and automatically determines the adjustment level.
[0013] Furthermore, the self-tuning method for braking time TB is as follows: S21. Initial value localization and bidirectional boundary scan method based on binary approximation, the specific steps are as follows: S211. Set two initial values: left boundary and right boundary. The left boundary is the minimum start delay of the SSR, and the right boundary is the preset upper limit value. Take the midpoint between the left boundary and the right boundary as the braking time TB, and perform braking and restart operations on the motor. S212. Measure the starting time delay SD of the motor, and adjust the bisection boundary according to the relationship between SD and transmission play: if SD exceeds the upper limit of the effective braking range, the middle value is changed to the right boundary; if SD is lower than the lower limit of the effective braking range, the middle value is changed to the left boundary. S213. Repeat steps S211 and S212 until the condition that SD is within the effective braking range is met multiple times consecutively, or the upper limit of the bisection method iteration is reached. Use the braking time TB at this time as the initial value. S214. Perform a decrement operation on the initial value, and then execute steps S211 and S212 to find the minimum value of the braking time TB. S215. Perform an increment operation on the initial value, and then execute steps S211 and S212 to find the maximum value of the braking time TB. S216. Averaging the maximum and minimum values yields the final braking time TB. S217. Calculate the safety margin TM = (maximum value - minimum value) / 2. If TM reaches the preset high precision threshold, then the electric actuator is determined to belong to the high precision adjustment level. S22. If TM does not reach the high-precision threshold or exits in S21, then the fixed initial value and unilateral decreasing scanning method is adopted. The specific steps are as follows: A default initial value is set as the braking time TB, and braking and restart operations are performed on the motor. When SD is detected to exceed the transmission play, the braking time TB is decremented. When the condition that SD is within the effective braking range is met multiple times consecutively, the final braking time TB is obtained, and the electric actuator is determined to be of the normal precision adjustment level. If insufficient braking occurs during the decrement process, the electric actuator is determined to be of the general precision adjustment level. Under the condition that no reverse slip occurs multiple times consecutively during this braking time, the current braking time TB is confirmed as the final braking time TB.
[0014] Furthermore, the self-tuning methods for absolute accuracy TOL and advance braking distance BP are as follows: S31. Perform multiple routine start-stop cycles within the full stroke range of the motor, and call each routine start-stop cycle a start-stop cycle; record the position difference generated in each start-stop cycle = PV - SV; S32. Measure the starting time delay SD each time the motor starts, and classify the position difference obtained from the current start-stop cycle according to SD. There are three categories: forward coasting queue, normal queue, and reverse coasting queue. When the SD is lower than the preset braking insufficiency threshold, it is determined to be forward coasting caused by insufficient braking, and the position difference is included in the forward coasting queue. When SD is within the effective braking range, it is determined to be effective braking, and the position difference is assigned to the normal queue; only the data in this queue participates in the absolute accuracy TOL calculation and BPn correction. When the SD exceeds the upper limit of the effective braking range, it is determined to be reverse coasting caused by over-braking, and the position difference is included in the reverse coasting queue. S33. Take the average value of the data from the normal queue to obtain the system deviation avg, and then calculate the advance braking distance BP according to the formula in S5. S34. Subtract the system deviation avg from all the data in the normal queue, and then take the maximum value in the normal queue as the absolute accuracy TOL. Calculate the basic error TOL% = TOL / full stroke angle × 100%.
[0015] Furthermore, the tuning method for the torque braking compensation value TRQBPcomp is as follows: S41. The power and torque of the motor are calibrated on the torque table: a piecewise linear interpolation algorithm is used to calibrate the power and torque at multiple rated torque breakpoints, and then the corresponding relationship between power and torque (TRQprofile) is established by linear extension fitting curve. S42. After completing the TRQprofile calibration, a piecewise linear interpolation algorithm is used to measure the torque multiple times at multiple rated torque breakpoints and calculate the average value. Then, the correspondence between the torque and the position difference is established by linear extension fitting curve TRQBPcomp.
[0016] Furthermore, during the operation of the electric actuator, the main controller automatically records and learns the valve position-torque mapping TRQmap, valve position-brake mapping BPmap, and damping coefficient mapping DFmap, and continuously optimizes the self-learning correction parameters in step S6. The initial value of the valve position-torque mapping TRQmap is a horizontal straight line. By adjusting the field settings or automatically recording the real-time torque values corresponding to each valve position during operation, it is gradually corrected to a curve that reflects the actual load distribution, providing real-time torque input for BPfix calculation. The initial value of the valve position-brake mapping BPmap is BPn. During field tuning, the self-learning correction parameters are calculated by combining BPn and TRQmap with TRQBPcomp. The damping coefficient mapping DFmap is a variant of the valve position-torque mapping TRQmap, which is a calibrated torque full-stroke mapping that reflects the load changes over the entire stroke range and is used for system diagnosis and user visualization.
[0017] Furthermore, the dead zone of BPn is DB; the main controller is equipped with a two-level dead zone protection mechanism: (1) The recommended minimum dead zone DBmin is calculated by the ratio of the maximum value of BPn to the total stroke. When the dead zone DB set by the user is less than or equal to the recommended minimum dead zone DBmin, the main controller issues a warning message. (2) The minimum dead zone DBlim is calculated by the ratio of the fine-tuning range FTrange to the full stroke. When the dead zone DB set by the user is less than or equal to the minimum dead zone DBlim, the main controller forces the dead zone DB to be set to the minimum dead zone DBlim.
[0018] This invention aims to solve the following technical problems: (1) By introducing a multi-mode hierarchical control algorithm (for dynamic switching of large, small, and micro signals), the dynamic response speed and steady-state positioning accuracy of the system are both taken into account. Actual measurements show that the absolute positioning accuracy of the spindle can reach the encoder resolution level, and the basic error of the entire stroke can be controlled at a low level; (2) Through a multi-level self-tuning algorithm, the control parameters are automatically tuned, including the fully automatic tuning of key parameters such as rated speed, mechanical clearance, braking time, and advance braking distance, and the adjustment level of the electric actuator is automatically determined based on the tuning results. (3) Through the self-learning mapping mechanism, the valve position-torque and valve position-braking distance mapping relationships are automatically learned and optimized during operation, dynamically adapting to load changes and continuously improving control accuracy; (4) By using an adaptive early braking algorithm with torque compensation, a precise mathematical model is established between braking distance, running speed, and load torque, so as to realize a precise and controllable braking process.
[0019] The beneficial technical effects of this invention are as follows: High positioning accuracy: Through multi-mode hierarchical control strategy and precise early braking prediction algorithm, with encoder angle as the control unit, absolute positioning accuracy at the encoder resolution level can be achieved. The basic error throughout the stroke can be controlled at a low level, which is far superior to traditional fixed dead zone and PID control schemes.
[0020] Good convergence performance: There is no oscillation at most positions throughout the entire stroke, and only a very few positions exhibit damped oscillations. There are no constant amplitude oscillations or divergent oscillations, and the system has excellent stability.
[0021] Strong self-tuning capability: Through a three-level self-tuning mechanism (factory self-tuning 1, factory self-tuning 2, and on-site self-tuning), all control parameters are automatically tuned, and multiple adjustment levels are automatically determined based on the tuning results, eliminating the need for manual debugging and improving production efficiency and product consistency.
[0022] Excellent self-learning ability: Through continuous learning and optimization using three mapping curves—TRQmap, BPmap, and DFmap—the system can automatically adapt to load changes and mechanical wear during operation, and its control accuracy will not decrease but increase after long-term use.
[0023] Good load adaptability: By using the BPfix algorithm with torque correction, a precise mathematical relationship between braking distance and load torque is established. When the load changes, it dynamically and adaptively corrects the braking in advance, maintaining good control accuracy without the need for readjustment.
[0024] Parameter configurability: Key control parameters allow users to configure and adjust them according to actual operating conditions, while providing recommended dead zone and extreme dead zone protection mechanisms to ensure flexibility and prevent system oscillations caused by misoperation.
[0025] Precise braking control: Through a graded tuning strategy using the binary approximation method and the degraded scanning method, the optimal braking time TB and safety margin TM are precisely determined, and the adjustment level is automatically determined based on the TM value, so as to achieve precise and controllable braking process.
[0026] Low hardware cost: The SSR solid-state relay drive solution eliminates the need for expensive hardware such as frequency converters. High-precision control is achieved through algorithm optimization, significantly reducing system costs. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the overall architecture of the multi-mode adaptive motor control system for electric actuators; Figure 2 This is a schematic diagram of a multi-mode hierarchical control strategy and signal threshold discrimination; Figure 3 This is a flowchart of the braking time self-tuning process; Figure 4 This is a schematic diagram of the advance braking (BP) principle and speed-time curve; Figure 5 This is a schematic diagram of the torque calibration and self-learning mapping curve. Detailed Implementation
[0028] The present invention will now be described in detail with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0029] like Figure 1 As shown, the technical solution of the embodiment is as follows: I. System Composition (1) Absolute encoder module: used to collect the absolute position information of the motor output shaft in real time, calculate the encoder rotation angle with a fixed sampling period, and provide position feedback and speed feedback; (2) SSR drive module: The motor of the electric actuator is driven by a solid-state relay (SSR), which supports three working modes: forward rotation (valve opening), reverse rotation (valve closing) and reverse braking. The SSR has an inherent start-up delay. (3) Signal threshold discrimination module: Based on the deviation Δ between the target position SV and the actual position PV of the motor output shaft, combined with the large signal threshold LSth and the small and micro signal threshold SMth, the control signal is divided into three levels: large signal, small signal and micro signal, and different control strategies are activated for each level. (4) Dynamic countdown (TC) module: During the operation of the motor, the braking countdown is calculated by subtracting the braking prediction distance (dynamic BPfix or static BPmap lookup table) from the target deviation Δ and combining it with the real-time speed V. When the countdown reaches zero, braking is triggered immediately and the braking duration is TB. (5) Advance braking prediction module: including three levels of theoretical advance braking BP calculation, rated advance braking BPn correction, and torque-corrected braking BPfix calculation, to establish an accurate mathematical relationship between braking distance, speed and torque; (6) Fine tuning positioning (FT) module: when the deviation Δ falls into the micro-signal range (Δ≤SMth), fine position adjustment is realized by adopting fine tuning start (FTS), fine tuning brake (FTB) and fine tuning delay (FTD); (7) Self-tuning module: divided into factory self-tuning phase 1 (before calibration, tuning parameters such as rated speed, mechanical clearance, theoretical advance braking, braking time, safety margin, and absolute accuracy), factory self-tuning phase 2 (after calibration, tuning torque braking compensation, that is, the correspondence between torque and landing point difference) and on-site self-tuning (tuning torque mapping, braking mapping, and damping mapping curves), to realize automatic tuning of all control parameters; (8) Self-learning module: during the operation of the electric actuator, automatically record and learn the valve position-torque mapping (TRQmap), valve position-braking mapping (BPmap) and damping coefficient mapping (DFmap) to continuously optimize the control parameters; (9) Torque calibration module: calibration is carried out through a torque bench, and a piecewise linear interpolation algorithm is adopted to establish the original power-torque correspondence and torque-braking compensation correspondence.
[0030] II. Multi-mode hierarchical control method As shown in Figure 2 the multi-mode hierarchical control method adopts different control strategies according to the magnitude of the target deviation Δ, specifically including: (1) Large-signal control mode: enabled when the target deviation Δ≥LSth (large signal threshold), where LSth is calculated from the linear combination of the rated speed Vn and the rated advance braking BPn. In this mode, the torque-corrected advance braking BPfix is used to calculate the braking distance in real time, and the calculation formula is: BPfix=BPn+TRQBPcomp+self-learning correction parameter. This mode is suitable for wide-range position adjustment, has fast response speed, and ensures braking accuracy through real-time torque compensation.
[0031] (2) Small-signal control mode: enabled when SMth<Δ<LSth, where SMth is a preset threshold related to BPn. In this mode, BPmap (valve position-braking mapping curve) is used for table lookup to obtain the advance braking distance corresponding to the valve position, and the dynamic countdown is calculated in combination with the real-time speed V. This mode is suitable for medium-range position adjustment, and achieves high positioning accuracy through the pre-learned braking mapping.
[0032] (3) Micro-signal fine-tuning control mode: Enabled when Δ≤SMth, using a fine-tuning positioning strategy with braking. Fine-tuning control includes three stages: the first stage provides traction power with the fine-tuning start time FTS; the second stage performs reverse braking with the fine-tuning braking time FTB; and the third stage waits for the system to stabilize with the fine-tuning delay FTD. Precise positioning at the encoder angle level is achieved through fine-tuning control.
[0033] III. Early Braking Prediction Algorithm The early braking prediction algorithm establishes a precise mathematical relationship between braking distance and operating speed and load torque, including the following three levels: (1) Calculation of theoretical advance braking BP like Figure 4 As shown, under no-load conditions, the motor operates at its rated speed Vn. From the issuance of the braking signal to the complete stop of the main shaft, the process involves two stages: the first stage is the coasting stage, where the drive shaft coasts with the main shaft's inertia after the SSR is disconnected, and the speed gradually decreases from the rated value; the second stage is the braking stage, where the motor establishes reverse electromagnetic torque after the SSR is reversed, and the main shaft stops under the action of friction. Therefore, the theoretical pre-braking BP can be derived from the following formula: BP=(N×k1×Vn)×k2 Wherein, Vn is the rated speed (the encoder rotation angle per sampling cycle), N is the number of interval cycles from the issuance of the braking signal to the reverse activation of the SSR (determined by the ratio of the inherent start delay of the SSR to the sampling cycle), k1 is the average speed coefficient of the coasting phase (depending on the ratio of the starting speed to the ending speed of the coasting phase), and k2 is the total travel coefficient including the braking phase (determined by the travel ratio of the coasting phase to the braking phase).
[0034] (2) Correction of rated advance braking BPn Since the theoretical BP is derived based on the no-load and standard inertia model, it cannot adapt to the differences in mechanical characteristics caused by different motors, transmission components, and inertia. Relying solely on formula calculations will result in a fixed "overshoot" or "undershoot" deviation in the system. Therefore, the deviation statistic avg is introduced as a correction factor. During the absolute accuracy TOL tuning stage, through multiple full-stroke start-stop cycles, the PV-SV difference at each landing point is recorded, and the average value avg is calculated. The formula for the rated advance braking correction is then: Valve opening direction: BPn = BP + avg Valve closing direction: BPn = BP - avg (3) Calculation of torque correction braking BPfix After completing the torque calibration, in large signal control mode, the premature braking is dynamically corrected based on the real-time load torque: BPfix = BPn + TRQBPcomp + self-learning correction parameters Among them, TRQBPcomp is the torque braking compensation value, which is obtained by tuning on the torque platform through a multi-point, multi-segment, piecewise linear interpolation algorithm, reflecting the braking distance compensation amount under different load torques; the self-learning correction parameter is the correction amount that is continuously optimized during operation.
[0035] IV. Dynamic Countdown Control Method The dynamic countdown (TC) control method is the core control mechanism during motor operation. Its real-time calculation process is as follows: Step T1: In each sampling period, read the current actual position PV and the target position SV, and calculate the target deviation Δ=|SV-PV|; Step T2: Based on the signal level determination result, obtain the currently applicable braking distance: use the real-time calculated BPfix in high signal mode, and use the BPmap lookup table value in low signal mode; Step T3: Calculate the remaining distance of motion D = Δ - BP (braking distance), and combine it with the current real-time speed V to calculate the braking countdown TC = D / V; Step T4: When TC≤0, immediately trigger the braking signal, and SSR performs reverse braking for a duration of TB; Step T5: After braking is completed, determine whether to enter the fine-tuning control mode based on the landing point accuracy.
[0036] V. Braking Time Self-Tuning Method The self-tuning method for braking time TB adopts a graded tuning strategy, which automatically determines the adjustment level based on the mechanical characteristics of the electric actuator. The specific process is as follows: The first step is initial value localization based on binary approximation and bidirectional boundary scanning method (suitable for high-precision level determination): (a) Set the initial left and right boundaries. The left boundary is the minimum start delay of SSR, and the right boundary is the preset upper limit value. Take the middle value TB as the braking time for braking and restarting operations. (b) Measure the start-up time delay SD, and adjust the bisection boundary according to the relationship between SD and transmission play: if SD exceeds the upper limit of the effective braking range, the middle value is changed to the right boundary; if SD is lower than the lower limit of the effective braking range, the middle value is changed to the left boundary. (c) Repeat steps (a) and (b) until the condition that SD is within the effective braking range is met multiple times consecutively, or the upper limit of the bisection method iteration is reached, and determine the initial value; (d) Find the minimum value by decreasing the initial value and find the maximum value by increasing the initial value. The average of the maximum and minimum values is used to obtain the final TB. (e) Calculate the safety margin TM = (maximum value - minimum value) / 2. If TM reaches the preset high precision threshold, it is determined to be a high precision adjustment level, and a high precision adjustment type or on / off type electric actuator can be manufactured.
[0037] The second step, if the TM does not reach the high-precision threshold or if the first step is exited, uses a fixed initial value and a single-sided decreasing scanning method (suitable for ordinary / general precision level determination): (a) Select the default initial value as the braking time for braking and restarting, and decrease the braking time when the SD exceeds the transmission play. (b) When the condition that SD is within the effective braking range is met multiple times consecutively, the final TB is obtained and determined to be the normal precision adjustment level; (c) If insufficient braking occurs during the deceleration process, it is determined to be a general precision adjustment level. If no reverse coasting occurs for several consecutive braking times, it is confirmed to be TB.
[0038] Note: The valve opening direction and valve closing direction should be set separately. If the difference between TB in the two directions exceeds the allowable range, there may be a measurement error. Force the smaller value of TB in the two directions. Theoretically, TB should not be lower than the minimum start-up delay of SSR.
[0039] VI. Absolute Precision TOL Tuning and Coasting Classification Method The tuning method for absolute accuracy TOL involves multiple start-stop cycles across the entire stroke range, statistically analyzing and dynamically classifying the landing point distribution. The specific steps are as follows: Step P1: Perform multiple routine start-stop adjustments across the entire travel range, and use the position difference (PV-SV) generated in each start-stop cycle as cached data for statistical analysis; Step P2: Measure the startup latency SD at each restart, and dynamically classify the cached data based on the SD value: Forward coasting queue: When SD is lower than the preset braking insufficiency threshold, it is determined to be forward coasting caused by insufficient braking, and the cached data is included in this queue; Normal Queue: When SD is within the effective braking range, it is determined to be effective braking, and cached data is assigned to this queue. Only data in this queue participates in absolute precision calculation and BPn correction; Reverse coasting queue: When the SD exceeds the upper limit of the effective braking range, it is determined to be reverse coasting caused by over-braking, and the cached data is included in this queue; Step P3: Calculate the gliding characteristic parameters. Using the total number of samples in the three queues as the denominator, calculate the sample proportion of each queue: forward gliding probability FC%, reverse gliding probability RC%, and their corresponding maximum gliding parameters FC and RC. Step P4: After eliminating systematic bias avg, determine the accuracy level by using the dispersion of the remaining data in the normal queue. The absolute accuracy TOL is taken as the maximum value of multiple measurements; the basic error TOL% = TOL / full stroke angle × 100%.
[0040] VII. Torque Calibration and Compensation Methods The torque calibration and torque-brake compensation tuning (i.e., factory self-tuning stage two) are mainly carried out on the torque platform. Figure 5 ): (1) Original power-torque calibration (TRQ profile): Calibration is performed on the torque table. A piecewise linear interpolation algorithm is used to perform multi-point calibration at multiple rated torque breakpoints. The correspondence between the original power and the corrected torque is established by linear extension fitting curve.
[0041] (2) Torque-Brake Compensation Tuning (TRQBPcomp): After completing the TRQprofile calibration, the second stage of tuning is carried out on the torque platform. The piecewise linear interpolation algorithm is used to perform multi-point compensation calculations at multiple rated torque breakpoints (multiple measurements are taken at each point to calculate the average value). The correspondence between torque and landing point difference is established by linear extension fitting curve.
[0042] VIII. Self-learning mapping mechanism The self-learning mapping mechanism includes the following three types of mapping curves ( Figure 5 ): (1) Torque mapping TRQmap: Valve position-torque mapping curve, initially a horizontal straight line, is gradually corrected to a curve that reflects the actual load distribution by on-site setting or automatic recording of the real-time torque value corresponding to each valve position during operation, providing real-time torque input for BPfix calculation.
[0043] (2) Braking mapping BPmap: Valve position-braking distance mapping curve, with an initial value of BPn. During on-site tuning, the braking distance of each valve position is calculated by combining BPn and TRQmap with TRQBPcomp. In subsequent operation, it is continuously optimized through learning algorithms to provide accurate braking distance reference for small signal control mode.
[0044] (3) Damping coefficient mapping DFmap: A variant of the torque mapping curve, namely the calibrated torque full stroke mapping, designed for system diagnosis and user visualization, to help users understand the load changes throughout the entire stroke range.
[0045] IX. Recommended Dead Zone and Extreme Dead Zone Calculation To prevent oscillations in the control system, this invention provides a two-stage dead-zone protection mechanism: (1) Recommended minimum dead zone DBmin: Calculated by the ratio of the maximum value of BPn to the total travel. When the user sets the dead zone to be less than or equal to this value, the system will display a warning message.
[0046] (2) Minimum dead zone DBlim: Calculated by the ratio of the fine-tuning range FTrange to the full travel. When the user sets the dead zone to be less than or equal to this value, the system will force the dead zone to be set to this limit value to ensure system stability.
[0047] The specific steps of the embodiment are as follows: S1. The absolute position information of the motor output shaft is acquired in real time by an absolute encoder, and the target deviation Δ=|SV-PV| and the real-time speed V are calculated. S2. Based on the comparison results between the target deviation Δ and the preset threshold, the control signal is divided into three levels: large signal, small signal and micro signal, and the large signal control mode, small signal control mode and micro signal fine-tuning control mode are activated respectively. S3. In the large signal control mode, the braking distance is calculated in real time using the torque-corrected advance braking parameter BPfix=BPn+TRQBPcomp+self-learning correction parameter; in the small signal control mode, the braking distance is obtained by looking up the BPmap table; in the micro signal control mode, fine positioning is achieved by fine-tuning the start, fine-tuning the braking and fine-tuning the delay. S4. During motor operation, the braking distance is subtracted from the target deviation, and the dynamic countdown is calculated in combination with the real-time speed V. When the countdown reaches zero, braking is triggered immediately. S5. Automatically adjusts control parameters such as rated speed, mechanical clearance, braking time, advance braking distance, and absolute accuracy through a multi-level self-tuning mechanism, and automatically determines the adjustment level. The braking time tuning includes: using the binary approximation method with the minimum start delay of SSR and the preset upper limit as the initial boundary to locate the initial value, then performing bidirectional boundary scanning to determine the maximum and minimum values, averaging to obtain the final braking time, and determining the adjustment level based on the safety margin TM. The absolute accuracy tuning steps are as follows: through multiple start-stop cycles throughout the entire stroke, the landing point data is dynamically classified into forward taxiing queue, normal queue and reverse taxiing queue according to the start time delay SD. Only the normal queue data participates in the accuracy calculation and BPn correction. S6. During operation, the torque mapping, braking mapping and damping coefficient mapping are automatically optimized through a self-learning mechanism to continuously adapt to load changes and mechanical wear.
[0048] Although the embodiments of the present invention have been disclosed above, they are not limited to the applications listed in the specification and embodiments. They can be applied to various fields suitable for the present invention. For those skilled in the art, and for those of ordinary skill in the art, various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the present invention. Therefore, the present invention is not limited to the specific details without departing from the general concept defined by the claims and their equivalents.
Claims
1. A multi-mode adaptive motor control method for an electric actuator, characterized in that: The electric actuator is used to control the opening and closing of the valve. The multi-mode adaptive motor control method for the electric actuator is implemented based on the multi-mode adaptive motor control system for the electric actuator and is used to control the motor of the electric actuator. The multi-mode adaptive motor control system for the electric actuator includes: an absolute encoder module, an SSR drive module, and a main controller. The absolute encoder module is connected to the motor of the electric actuator, collects the absolute position information of the motor output shaft in real time, calculates the encoder rotation angle with a fixed sampling period, obtains the real-time position PV of the motor output shaft, and transmits it to the main controller. The main controller calculates the target position SV of the motor output shaft based on the target position of the valve, and calculates the control parameters of the SSR drive module in combination with the real-time position PV. Finally, the control parameters are transmitted to the SSR drive module. The SSR drive module uses a solid-state relay (SSR) to drive the motor of the electric actuator and supports three working modes: forward rotation, reverse rotation, and reverse braking. Forward rotation is used to open the valve, and reverse rotation is used to close the valve. The steps of the multi-mode adaptive motor control method for the electric actuator are as follows: S1. The absolute encoder module acquires the absolute position information of the motor output shaft in real time, calculates the encoder rotation angle with a fixed sampling period, obtains the real-time position PV and real-time speed V of the motor output shaft, and transmits them to the main controller; the main controller performs the following operations: S2. Calculate the target deviation ∆=|SV-PV|; S3. Set two thresholds, LSth and SMth, where LSth > SMth; compare the target deviation Δ with LSth and SMth. If the target deviation Δ ≥ LSth, it is in large signal control mode, and S4 is executed; if LSth ≥ target deviation Δ ≥ SMth, it is in small signal control mode, and S8 is executed; if SMth ≥ target deviation Δ, it is in fine-tuning control mode, and S11 is executed. S4. In the large signal control mode, calculate the theoretical advance braking distance BPm: BPm=(N×k1×Vn)×k2 Where: Vn is the encoder rotation angle calculated by the absolute encoder module, called the rated speed; N is the number of intervals from the main controller sending the braking signal to the SSR reversing, determined by the ratio of the SSR's inherent start delay to the sampling period; k1 is the average speed coefficient during the coasting phase, which depends on the ratio of the starting speed to the ending speed during the coasting phase; k2 is the total travel coefficient including the braking phase, determined by the travel ratio between the coasting phase and the braking phase. S5. Calculate the advance braking distance correction value BPn: Forward rotation: BPn = BPm + avg Reverse: BPn = BPm - avg Where avg is the system deviation, which is calculated as follows: perform multiple full-stroke start-stop cycles on the valve, calculate the difference between PV and SV when the valve stops each time, and then take the average of all differences. This average value is avg. S6. Calculate the torque correction braking distance BPfix: BPfix = BPn + TRQBPcomp + self-learning correction parameters Where: TRQBPcomp is the torque braking compensation value, which is obtained by tuning on the torque table through a multi-point, multi-segment, piecewise linear interpolation algorithm, reflecting the braking distance compensation amount under different load torques; the self-learning correction parameter is the correction amount that is continuously optimized during operation; S7. Set the advance braking distance BP = BPfix, and execute S9; S8. In small signal control mode, the advance braking distance BP is obtained by looking up the BPmap table. S9. Calculate the remaining distance D and the braking countdown TC: Remaining travel distance D = Target deviation ∆ - Early braking distance BP Braking countdown TC = Remaining distance traveled D ÷ Real-time speed V; S10. When TC≤0, the main controller triggers the braking signal of the SSR drive module, and the SSR performs reverse braking for a braking time of TB. The braking time TB is set according to the mechanical characteristics of the electric actuator. After braking is completed, determine whether to enter the fine-tuning control mode based on the magnitude of the target deviation ∆. If not, execute S3. S11. In fine-tuning control mode, three different durations are set: fine-tuning start time FTS, fine-tuning actuation time FTB, and fine-tuning delay FTD. Then, the precise position adjustment of the motor is achieved through three stages: In the first stage, the motor is controlled to rotate by the SSR drive module, and the duration is the fine-tuning start time FTS; in the second stage, the motor is controlled to brake in reverse by the SSR drive module, and the duration is the fine-tuning actuation time FTB; in the third stage, the motor is controlled to stop rotating by the SSR drive module, and the waiting time before the main controller executes the next operation is the fine-tuning delay FTD. S12. Self-tuning: Sets the following control parameters: rated speed Vn, mechanical clearance, braking time TB, advance braking distance BP, and absolute accuracy TOL, and automatically determines the adjustment level.
2. The multi-mode adaptive motor control method for an electric actuator according to claim 1, characterized in that, The self-tuning method for braking time TB is as follows: S21. Initial value localization and bidirectional boundary scan method based on binary approximation, the specific steps are as follows: S211. Set two initial values: left boundary and right boundary. The left boundary is the minimum start delay of the SSR, and the right boundary is the preset upper limit value. Take the midpoint between the left boundary and the right boundary as the braking time TB, and perform braking and restart operations on the motor. S212. Measure the starting time delay SD of the motor, and adjust the bisection boundary according to the relationship between SD and transmission play: if SD exceeds the upper limit of the effective braking range, the middle value is changed to the right boundary; if SD is lower than the lower limit of the effective braking range, the middle value is changed to the left boundary. S213. Repeat steps S211 and S212 until the condition that SD is within the effective braking range is met multiple times consecutively, or the upper limit of the bisection method iteration is reached. Use the braking time TB at this time as the initial value. S214. Perform a decrement operation on the initial value, and then execute steps S211 and S212 to find the minimum value of the braking time TB. S215. Perform an increment operation on the initial value, and then execute steps S211 and S212 to find the maximum value of the braking time TB. S216. Averaging the maximum and minimum values yields the final braking time TB. S217. Calculate the safety margin TM = (maximum value - minimum value) / 2. If TM reaches the preset high precision threshold, then the electric actuator is determined to belong to the high precision adjustment level. S22. If TM does not reach the high-precision threshold or exits in S21, then the fixed initial value and unilateral decreasing scanning method is adopted. The specific steps are as follows: A default initial value is set as the braking time TB, and braking and restart operations are performed on the motor; when SD is detected to exceed the transmission play, the braking time TB is decremented; when the condition that SD is within the effective braking range is met multiple times in a row, the final braking time TB is obtained, and the electric actuator is determined to belong to the normal precision adjustment level. If insufficient braking occurs during the reduction process, the electric actuator is determined to be of the general precision adjustment level. If no reverse slippage occurs for several consecutive braking times, the current braking time TB is confirmed as the final braking time TB.
3. The multi-mode adaptive motor control method for an electric actuator according to claim 1, characterized in that, The self-tuning methods for absolute accuracy TOL and advance braking distance BP are as follows: S31. Perform multiple routine start-stop cycles within the full stroke range of the motor, and call each routine start-stop cycle a start-stop cycle; record the position difference generated in each start-stop cycle = PV - SV; S32. Measure the starting time delay SD each time the motor starts, and classify the position difference obtained from the current start-stop cycle according to SD. There are three categories: forward coasting queue, normal queue, and reverse coasting queue. When the SD is lower than the preset braking insufficiency threshold, it is determined to be forward coasting caused by insufficient braking, and the position difference is included in the forward coasting queue. When SD is within the effective braking range, it is determined to be effective braking, and the position difference is assigned to the normal queue; only the data in this queue participates in the absolute accuracy TOL calculation and BPn correction. When the SD exceeds the upper limit of the effective braking range, it is determined to be reverse coasting caused by over-braking, and the position difference is included in the reverse coasting queue. S33. Take the average value of the data from the normal queue to obtain the system deviation avg, and then calculate the advance braking distance BP according to the formula in S5. S34. Subtract the system deviation avg from all the data in the normal queue, and then take the maximum value in the normal queue as the absolute accuracy TOL. Calculate the basic error TOL% = TOL / full stroke angle × 100%.
4. The multi-mode adaptive motor control method for an electric actuator according to claim 3, characterized in that, The tuning method for the torque braking compensation value TRQBPcomp is as follows: S41. The power and torque of the motor are calibrated on the torque table: a piecewise linear interpolation algorithm is used to calibrate the power and torque at multiple rated torque breakpoints, and then the corresponding relationship between power and torque (TRQprofile) is established by linear extension fitting curve. S42. After completing the TRQprofile calibration, a piecewise linear interpolation algorithm is used to measure the torque multiple times at multiple rated torque breakpoints and calculate the average value. Then, the correspondence between the torque and the position difference is established by linear extension fitting curve TRQBPcomp.
5. The multi-mode adaptive motor control method for an electric actuator according to claim 4, characterized in that: During the operation of the electric actuator, the main controller automatically records and learns the valve position-torque mapping TRQmap, valve position-brake mapping BPmap, and damping coefficient mapping DFmap, and continuously optimizes the self-learning correction parameters in step S6. The initial value of the valve position-torque mapping TRQmap is a horizontal straight line. By adjusting the field settings or automatically recording the real-time torque values corresponding to each valve position during operation, it is gradually corrected to a curve that reflects the actual load distribution, providing real-time torque input for BPfix calculation. The initial value of the valve position-brake mapping BPmap is BPn. During field tuning, the self-learning correction parameters are calculated by combining BPn and TRQmap with TRQBPcomp. The damping coefficient mapping DFmap is a variant of the valve position-torque mapping TRQmap, which is a calibrated torque full-stroke mapping that reflects the load changes over the entire stroke range and is used for system diagnosis and user visualization.
6. The multi-mode adaptive motor control method for an electric actuator according to claim 1, characterized in that: The dead zone of BPn is DB; the main controller is equipped with a two-level dead zone protection mechanism: (1) The recommended minimum dead zone DBmin is calculated by the ratio of the maximum value of BPn to the total stroke. When the dead zone DB set by the user is less than or equal to the recommended minimum dead zone DBmin, the main controller issues a warning message. (2) The minimum dead zone DBlim is calculated by the ratio of the fine-tuning range FTrange to the full stroke. When the dead zone DB set by the user is less than or equal to the minimum dead zone DBlim, the main controller forces the dead zone DB to be set to the minimum dead zone DBlim.
