EP4689806A1 - System, method, electronic device, and medium for controlling servo system - Google Patents

System, method, electronic device, and medium for controlling servo system

Info

Publication number
EP4689806A1
EP4689806A1 EP23935954.0A EP23935954A EP4689806A1 EP 4689806 A1 EP4689806 A1 EP 4689806A1 EP 23935954 A EP23935954 A EP 23935954A EP 4689806 A1 EP4689806 A1 EP 4689806A1
Authority
EP
European Patent Office
Prior art keywords
signal
disturbance
servo system
discrete
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
EP23935954.0A
Other languages
German (de)
French (fr)
Inventor
Chuan TIAN
Jianyuan WU
Chongxing ZHENG
Junli Ji
Ming Liu
Lei CUI
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens AG
Siemens Corp
Original Assignee
Siemens AG
Siemens Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens AG, Siemens Corp filed Critical Siemens AG
Publication of EP4689806A1 publication Critical patent/EP4689806A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/41Servomotor, servo controller till figures
    • G05B2219/41374Observe position and driving signal, predict, estimate disturbance signal
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/42Servomotor, servo controller kind till VSS
    • G05B2219/42342Path, trajectory tracking control

Definitions

  • the present invention relates to the technical field of servo control technology, in particular to a system, method, electronic device, and medium for controlling servo system.
  • Computer Numerical Control (CNC) servo system is an automatic control system that directly controls mechanical displacement, also known as position servo system, abbreviated as servo system.
  • the servo system of CNC machine tools mainly includes: (1) feed servo system, which controls the cutting feed motion of each coordinate axis of the machine tool, mainly in linear motion; (2) Spindle servo system, which controls the cutting motion of the spindle and mainly revolves.
  • the control methods of servo systems mainly include open loop, closed loop, and semi closed loop, etc.
  • Multi-axes CNC machines are important systems for manufacturing complex industrial products, where the trajectory planning strategy and the multi-DOF servo control design are key factors affecting the manufacturing performance.
  • the trajectory planning strategy and the multi-DOF servo control design are key factors affecting the manufacturing performance.
  • Multi-axes CNC machines conduct various tasks and facing different working conditions, nonlinear dynamics, multi axis coupling, sampling quantization effect and uncertainties existed in the servo system may deteriorate the control and manufacturing performance with conventional digital linear time invariant (LTI) controllers such as PID controllers.
  • LTI digital linear time invariant
  • Embodiments of the present invention propose a system, method, electronic device, and medium for controlling servo system.
  • a system for controlling servo system comprising:
  • a reference trajectory generator configured to generate reference trajectory signal of servo system based on manufacturing task instruction for the servo system, terminal state prediction signal within a sliding window of the servo system, measurement signal of the servo system, and disturbance estimation signal of the servo system;
  • a controller configured to generate control signal for controlling the servo system and update the disturbance estimation signal based on the reference trajectory signal and the measurement signal;
  • a predictor configured to update the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system
  • the reference trajectory generator is configured to update the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  • a manufacturing task generator configured to generate the manufacturing task instruction based on user input.
  • manufacturing task instructions can be generated based on user input, improving control flexibility.
  • controller comprises:
  • an anti-aliasing filter configured to perform anti-aliasing filtering on the measurement signal
  • a sampler configured to perform sampling on anti-aliasing filtered measurement signal to obtain discrete measurement signal
  • an up-sampling processing module configured to perform up-sampling processing on the discrete measurement signal.
  • controller comprises:
  • a digital disturbance observer configured to determine the disturbance estimation signal of the servo system based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system; the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  • controller comprises:
  • a disturbance analyzer configured to determine disturbance feature information based on the disturbance estimation signal
  • a disturbance resampling module configured to perform resampling on the disturbance estimation signal based on the disturbance feature information
  • a disturbance compensator configured to determine the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  • controller comprises:
  • a digital model predictive controller configured to determine the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing
  • a subtractor configured to subtract the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal
  • a holder configured to hold the discrete control signal to generate the continuous control signal.
  • closed-loop anti-disturbance control is achieved by compensating the predicted signal for disturbance.
  • the disturbance resampling module is configured to determine disturbance indicator based on the disturbance feature information, wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  • the disturbance indicators determined based on disturbance feature information can flexibly select multiple types of resampling strategies.
  • a method for controlling servo system comprising:
  • reference trajectory signal of servo system based on manufacturing task instruction for the servo system, terminal state prediction signal within a sliding window of the servo system, measurement signal of the servo system, and disturbance estimation signal of the servo system;
  • control signal for controlling the servo system based on the reference trajectory signal and the measurement signal
  • manufacturing task instructions can be generated based on user input, improving control flexibility.
  • the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  • closed-loop anti-disturbance control is achieved by compensating the predicted signal for disturbance.
  • the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  • the disturbance indicators determined based on disturbance feature information can flexibly select multiple types of resampling strategies.
  • an electronic device comprising a processor and a memory, wherein an application program executable by the processor is stored in the memory for causing the processor to execute a method for controlling servo system as described in any of the above.
  • a computer-readable medium comprising computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by a processor, implement a method for controlling servo system as described in any of the above.
  • a computer program product comprising a computer program, when the computer program is executed by a processor for executing a method for controlling servo system as described in any of the above.
  • FIG. 1 is a structural diagram of a system for controlling a servo system according to an embodiment of the present invention.
  • FIG. 2 is an exemplary functional module diagram of a controller according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of control system of a multi axis servo system according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of processing the measurement noise problem in a multi rate sampling framework according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of disturbance analysis and sampling strategy according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for controlling a servo system according to an embodiment of the present invention
  • FIG. 7 is a structural diagram of an electronic device according to an embodiment of the present invention.
  • MPC Model Predictive Controller
  • FIG. 1 is a structural diagram of a system for controlling a servo system according to an embodiment of the present invention. As shown in FIG. 1, A system for controlling servo system, comprising:
  • a reference trajectory generator 11 configured to generate reference trajectory signal of servo system 14 based on manufacturing task instruction for the servo system 14, terminal state prediction signal within a sliding window of the servo system 14, measurement signal of the servo system 14, and disturbance estimation signal of the servo system 14;
  • controller 12 configured to generate control signal for controlling the servo system 14 and update the disturbance estimation signal based on the reference trajectory signal and the measurement signal;
  • a predictor 13 configured to update the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system 14;
  • the reference trajectory generator 11 is configured to update the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  • servo system 14 is driven by control signals to perform positioning tasks.
  • Servo system 14 may include: (1) feed servo system, which controls the cutting feed motion of each coordinate axis of the machine tool, mainly in linear motion; (2) Spindle servo system, which controls the cutting motion of the spindle and mainly revolves.
  • servo system 14 can be implemented as a servo system for rotating motors, a planar motion servo system (such as a fast knife servo platform) , a multi degree of freedom parallel robot, and a multi degree of freedom positioning/scanning instrument, among others.
  • the system for controlling servo system comprises: a manufacturing task generator15, configured to generate the manufacturing task instruction based on user input.
  • manufacturing task instructions can specifically be program instructions for controlling servo system 14 to perform positioning tasks (such as drawing circles or spiral lines, etc. ) .
  • Users can provide manufacturing task instructions for manufacturing task generator 15 based on human-machine interaction interface.
  • the specific method for determining the terminal state prediction signal of servo system 14 within sliding windows is a mature technology in this field, and the implementation method of the present invention will not be repeated.
  • the terminal state prediction signal of servo system 14 is continuously updated by predictor 13 during the operation of servo system 14.
  • the measurement signals of servo system 14 are usually positioning signals detected by sensors and output by servo system 14 (such as the displacement, velocity, or acceleration of the control object (such as end effector) of servo system 14, etc. ) .
  • servo system 14 executes a control signal, the measurement signals of servo system 14 are updated accordingly.
  • the disturbance estimation signal of servo system 14 is an estimation signal for the interference applied to servo system 14, such as vibration amplitude and frequency of the control object (such as the end effector) of servo system 14.
  • the control signal is usually implemented as a driving signal (such as a voltage signal or a current signal) applied to servo actuator in the servo system 14.
  • the terminal state prediction signal, measurement signal, and disturbance estimation signal of servo system 14 have their respective initial values. These initial values are all settable.
  • the initial value of disturbance estimation signal in servo system 14 can be zero;
  • the initial value of the terminal state prediction signal of servo system 14 within sliding window can be zero;
  • the initial value of the measurement signal of servo system 14 can be zero.
  • Reference trajectory generator 11 generates a reference trajectory signal of servo system 14 based on manufacturing task instruction for servo system 14, terminal state prediction signal within a sliding window of servo system 14, measurement signals of servo system 14, and disturbance estimation signal of servo system 14. Then, the controller 12 generates a control signal for controlling servo system 14 and updates disturbance estimation signal (i.e., updates the specific value of the disturbance estimation signal) based on the reference trajectory signal and the measurement signal. The predictor 13 updates the terminal state prediction signal based on the reference trajectory signal, control signal, and measurement signal updated when the servo system 14 executes the control signal. Then, the reference trajectory generator 11 updates the reference trajectory signal based on manufacturing task instructions, updated terminal state prediction signals, updated measurement signals, and updated disturbance estimation signal. The above process continues to be executed until the manufacturing task instruction is completed.
  • manufacturing task generator 15 generates manufacturing task instructions based on manufacturing requirements;
  • the reference trajectory generator 11 generates spatial reference trajectory signals for servo system 14 based on manufacturing task instructions, estimated terminal states of servo system 14 within sliding windows, measured output signals of servo system 14, and estimated disturbance information.
  • Controller 12 (usually implemented as a digital controller) can generate control signals based on model observers with multi rate anti-interference observations.
  • Servo system 14 performs positioning tasks based on control signals.
  • the predictor 13 provides a prediction signal for the terminal state of the servo system 14 within sliding window.
  • FIG. 2 is an exemplary functional module diagram of a controller according to an embodiment of the present invention.
  • the controller 12 comprises: an anti-aliasing filter 125, configured to perform anti-aliasing filtering on the measurement signal obtained by sensor 124; a sampler 126, configured to perform sampling on anti-aliasing filtered measurement signal to obtain discrete measurement signal; an up-sampling processing module 127, configured to perform up-sampling processing on the discrete measurement signal.
  • the controller 12 further comprises: a digital disturbance observer 128, configured to determine the disturbance estimation signal of the servo system 14 based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system 14; the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  • a digital disturbance observer 128 configured to determine the disturbance estimation signal of the servo system 14 based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system 14
  • the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal
  • the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  • the controller 12 further comprises: a disturbance analyzer 130, configured to determine disturbance feature information based on the disturbance estimation signal; a disturbance resampling module 129, configured to perform resampling on the disturbance estimation signal based on the disturbance feature information; a disturbance compensator 131, configured to determine the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  • a disturbance analyzer 130 configured to determine disturbance feature information based on the disturbance estimation signal
  • a disturbance resampling module 129 configured to perform resampling on the disturbance estimation signal based on the disturbance feature information
  • a disturbance compensator 131 configured to determine the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  • the controller 12 further comprises: a digital model predictive controller (MPC) 120, configured to determine the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing; a subtractor 121, configured to subtract the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal; a holder 122, configured to hold the discrete control signal to generate the continuous control signal.
  • Servo actuator 123 executes the continuous control signal to drive servo system14.
  • the measurement signal of servo system14 obtained by sensor 124 is updated due to the execution of the control signal by the servo actuator 123.
  • the disturbance resampling module 129 is configured to determine disturbance indicator based on the disturbance feature information, wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  • the servo actuator 123 and sensor 124 in Figure 2 are usually considered as components of the servo system 14, so they are illustrated in dashed boxes in Figure 2.
  • controller 12 The typical processing process of controller 12 is described below.
  • Step 1 The digital MPC120 generates discrete MPC control value based on reference trajectory signal generated by reference trajectory generator 11 and discrete measurement signal output by up-sampling processing module 127.
  • Step 2 The subtractor 121 performs a subtraction operation on the discrete MPC control value and the compensation value of the disturbance estimation signal generated by disturbance compensator 131 to obtain discrete control signal.
  • Step 3 The discrete control signal is input to holder 122, which performs sampling and holding operations on the discrete control signal to obtain a continuous control signal.
  • Step 4 The continuous control signal is input to servo actuator 123 in servo system 14, which executes the continuous control signal to perform positioning tasks.
  • Step 5 Sensor 124 in servo system 14 measures the measurement value output by servo actuator 123 after executing the control signal.
  • Step 6 The measured values of sensor 124 are processed through an anti-aliasing filter 126 and subjected to anti-aliasing filter processing.
  • Step 7 The measured value processed by the anti-aliasing filter is sampled by sampler 126 to obtain discrete measurement signal.
  • Step 8 The discrete measurement signal is subjected to up-sampling processing through the up-sampling processing module 127 to obtain a faster rate discrete measurement signal.
  • the up-sampled discrete measurement signal is provided to the disturbance observer 128 and the digital MPC120 respectively for closed-loop control.
  • Step 9 The digital disturbance observer 128 calculates the disturbance estimation signal based on the up-sampled discrete measurement signal and continuous control signal.
  • Step 10 The disturbance analyzer 130 performs statistical analysis on the disturbance estimation signal, obtaining frequency domain and statistical characteristics of the disturbance as disturbance feature information.
  • Step 11 The disturbance resampling module 129 resamples (down-sampling) the disturbance estimation signal generated by the digital disturbance observer 128 based on the disturbance feature information, obtains the compensation value of the disturbance estimation signal, and provides the compensation value of the disturbance estimation signal to the subtractor 121 for closed-loop anti-interference control.
  • the servo actuator 123 is used to be driven to perform positioning tasks.
  • Sensor 124 is used to measure output signals of servo actuator 123.
  • the anti-aliasing filter 125 can be implemented as a low-pass filter that performs anti frequency aliasing.
  • Sampler 126 for sampling the output of anti-aliasing filter 125.
  • the up-sampling processing module 127 is used to increase sampling frequency and perform up-sampling operations on the output of the sampler 126.
  • Digital disturbance observer 128 is used to estimate the disturbance of servo actuator 123 and obtain disturbance estimation signals.
  • Disturbance analyzer 130 is used to statistically analyze disturbance estimation signal, obtain frequency domain and statistical characteristic information of disturbance, and use it as disturbance feature information.
  • Disturbance resampling module 129 is used to determine sampling strategy for disturbance compensation based on disturbance index of disturbance feature information.
  • Disturbance compensator 131 for generating disturbance compensation values.
  • MPC controller 120 is used to implement MPC control strategies and provide feedback control inputs.
  • Holder 122 for converting discrete signals into continuous signals.
  • FIG 3 is a structural diagram of the control system of a multi axis servo system according to the embodiment of the present invention.
  • servo system 14 is implemented as a servo system containing multiple axes (14i ⁇ 14q) .
  • servo system 14 contains an infinite number of axes, which can be more or less, and each axis can be considered as an independent servo system.
  • a MPC via a novel sampled-data signal reconstruction method is designed.
  • an anti-aliasing filter is designed as an analog device to make the feedback system to be L2-bounded.
  • Equation group (1) is the design function of the servo system for each axis 14i ⁇ 14q:
  • x is the system state of each axis
  • u is the control input for each axis
  • d is the equivalent total interference suffered by the system of each axis
  • y is the system output for each axis
  • A, B, C, E, R are system state space matrices for each axis.
  • t A d x m
  • Equations (3a) - (3f) are constraints for MPC optimization.
  • J is the optimization index function designed by MPC, ⁇ 1 , ⁇ 2 and ⁇ 3 are optional parameters; x N
  • Embodiments of the present invention proposes a multi rate interference observer for estimating and compensating the equivalent lumped interference d of a servo system as shown in equation group (1) .
  • the design of the disturbance observer is as follows:
  • k is the discrete sampling time; is the discrete extended state of the servo system as shown in equation group (1) ; x [k, 1] ..., x [k, h-1] represents the first state to h-1 state between the sampling points in the discrete states x [k] and x [k+1] , respectively; is the estimated state of the discrete expansion state F ( ⁇ ) is a function; ⁇ is the observation gain function; [k+1] is the estimated interference value for the k+1 sampling time.
  • FIG. 5 is a schematic diagram of interference analysis and sampling strategy according to the embodiment of the present invention. As shown in Figure 5, interference analysis and sampling strategies specifically include:
  • disturbance feature information can be frequency characteristics of all disturbance estimation signals (that is, current disturbance estimation signal and predetermined number of disturbance estimation signals in history) .
  • the larger the frequency of disturbance estimation signals represented by disturbance feature information the larger the disturbance index. For example, first, calculate the sum of squares of the frequency eigenvalues of all disturbance estimation signals that have been statistically calculated; Then determine the square root of the sum of squares as the disturbance indicator.
  • Step 503 Determine if the disturbance indicator is less than the threshold value. If it is (corresponding to the "Y” branch) , execute step 504 and its subsequent steps; if it is not (corresponding to the "N" branch) , execute step 506 and its subsequent steps.
  • Step 504 Determine the execution of down-sampling strategy.
  • Step 505 During the execution of the down-sampling strategy, calculate updated sampling period of the disturbance compensator and skip to step 510. Among them, when the disturbance index is smaller, the updated sampling period has more added value compared to the current sampling period.
  • Step 506 Determine and execute normal sampling strategy, and skip to step 509.
  • Step 507 Determine the execution of up-sampling strategy.
  • Step 508 During the execution of the up-sampling strategy, calculate updated sampling period of the disturbance compensator and skip to step 510. Among them, the larger the disturbance index, the smaller the reduction value of the updated sampling period compared to the current sampling period.
  • Step 509 In normal sampling strategy, keep the sampling period of the disturbance compensator unchanged. That is, the updated sampling period is equal to the current sampling period.
  • Step 510 update sampling period of the disturbance compensator, by the updated sampling period.
  • the disturbance compensator design is as follows:
  • u d is the system interference compensation value after resampling.
  • ⁇ 1 (. ) , ⁇ 2 (. ) , ⁇ 3 (. ) are calculation functions of system disturbance compensation values for increasing the sampling frequency (up-sampling strategy) , keeping the sampling frequency constant (normal sampling strategy) , and decreasing the sampling frequency (down-sampling strategy) , respectively.
  • Embodiments of the present invention also proposes an improved reference trajectory generator for generating reference trajectory signals for the servo system, in which interference information is introduced into the reference trajectory generator to avoid the negative impact of some risk paths verified in previous motion on trajectory planning.
  • the design of the reference trajectory generator is:
  • J r is the optimization index function generated by the trajectory; is the trajectory generation function; r history is the historical value of the servo system trajectory reference signal; x prediction is the predicted state of the system based on the predictor; is estimated state of the system; u is the control input value; is the estimated value of system interference; ⁇ (r) is prediction function for the trajectory reference signal; r min and r max are the minimum and maximum limits for estimation reference signal, respectively; ⁇ ⁇ x prediction ⁇ is the restricted set of system prediction states for the predictor; ⁇ ⁇ r history ⁇ is the restricted set of servo system trajectory reference signals.
  • FIG. 6 is a flowchart of a method for controlling a servo system according to an embodiment of the present invention. As shown in FIG. 6, the method comprises:
  • Step 601 generating reference trajectory signal of servo system based on manufacturing task instruction for the servo system, terminal state prediction signal within a sliding window of the servo system, measurement signal of the servo system, and disturbance estimation signal of the servo system.
  • Step 602 generating control signal for controlling the servo system based on the reference trajectory signal and the measurement signal.
  • Step 603 updating the disturbance estimation signal based on the reference trajectory signal and the measurement signal.
  • Step 604 updating the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system.
  • Step 605 updating the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  • the method comprising: generating the manufacturing task instruction based on user input.
  • the method comprising: performing anti-aliasing filtering on the measurement signal; performing sampling on filtered measurement signal to obtain discrete measurement signal; performing up-sampling processing on the discrete measurement signal.
  • the method comprising: determining the disturbance estimation signal of the servo system based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system; wherein the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  • the method comprising: determining disturbance feature information based on the disturbance estimation signal; performing resampling on the disturbance estimation signal based on the disturbance feature information; determining the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  • the method comprising: determining the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing; subtracting the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal; holding the discrete control signal to generate the continuous control signal.
  • the method comprising: determining disturbance indicator based on the disturbance feature information; wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  • Embodiments of the present invention introduces multi rate MPC digital control method into CNC servo system, and introduces estimation information of interference into the trajectory planning of CNC servo system, avoiding partial trajectory strategies through interference characteristics.
  • Embodiments of the present invention also proposes a novel multi rate interference observation compensator, where the resampling period of interference compensation can be automatically selected and set based on the interference characteristics.
  • the measured output signal of the system entering the MPC digital controller is improved in robustness to noise through anti-aliasing analog filters and H ⁇ optimization.
  • this multi rate digital control framework is not only applicable to servo systems for rotating motors, but also in the design of servo control systems for planar motion servo systems (such as fast knife servo platforms) , multi degree of freedom parallel robots, and multi degree of freedom positioning/scanning instruments.
  • Embodiments of the present invention also provide an electronic device with processor-memory architecture.
  • FIG. 7 is a structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device 700 comprises a processor 701, a memory 702, and a computer program stored in the memory 702 and executable on the processor 701.
  • the memory 702 may specifically be implemented as various storage medium such as Electrically Erasable Programmable Read-Only Memory (EEPROM) , Flash memory (Flash memory) , Programmable Program Read-Only Memory (PROM) .
  • the processor 701 may be implemented to include one or more central processing units or one or more field programmable gate arrays, wherein the field programmable gate arrays integrate one or more central processing unit cores.
  • the central processing unit or central processing unit core may be implemented as a CPU or MCU or DSP, and so on.
  • the hardware modules in various embodiments may be implemented mechanically or electronically.
  • a hardware module may include specially designed permanent circuits or logic devices (e.g., special-purpose processors, such as FPGAs or ASICs) to perform specific operations.
  • Hardware modules may also include programmable logic devices or circuits temporarily configured by software (e.g., including general-purpose processors or other programmable processors) for performing operations.
  • software e.g., including general-purpose processors or other programmable processors
  • the specific mechanical method, or a dedicated permanent circuit, or a temporarily configured circuit (e.g., configured by software) to realize the hardware module it can be decided according to cost and time considerations.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

A system, method, electronic device, and medium for controlling servo system (14). The system comprising: a reference trajectory generator (11), configured to generate reference trajectory signal of servo system based on manufacturing task instruction, terminal state prediction signal within a sliding window, measurement signal, and disturbance estimation signal; a controller (12), configured to generate control signal for controlling servo system and update the disturbance estimation signal based on the reference trajectory signal and the measurement signal; and a predictor (13), configured to update the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system; wherein the reference trajectory generator (11) is configured to update the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal. Introducing disturbance prediction into the trajectory planning of servo system (14) improves planning accuracy.

Description

    System, method, electronic device, and medium for controlling servo system FIELD
  • The present invention relates to the technical field of servo control technology, in particular to a system, method, electronic device, and medium for controlling servo system.
  • BACKGROUND
  • Computer Numerical Control (CNC) servo system is an automatic control system that directly controls mechanical displacement, also known as position servo system, abbreviated as servo system. The servo system of CNC machine tools mainly includes: (1) feed servo system, which controls the cutting feed motion of each coordinate axis of the machine tool, mainly in linear motion; (2) Spindle servo system, which controls the cutting motion of the spindle and mainly revolves. The control methods of servo systems mainly include open loop, closed loop, and semi closed loop, etc.
  • Multi-axes CNC machines are important systems for manufacturing complex industrial products, where the trajectory planning strategy and the multi-DOF servo control design are key factors affecting the manufacturing performance. When Multi-axes CNC machines conduct various tasks and facing different working conditions, nonlinear dynamics, multi axis coupling, sampling quantization effect and uncertainties existed in the servo system may deteriorate the control and manufacturing performance with conventional digital linear time invariant (LTI) controllers such as PID controllers.
  • SUMMARY
  • Embodiments of the present invention propose a system, method, electronic device, and medium for controlling servo system.
  • In a first aspect, a system for controlling servo system is provided. The system comprising:
  • a reference trajectory generator, configured to generate reference trajectory signal of servo system based on manufacturing task instruction for the servo system, terminal state prediction signal within a sliding window of the servo system, measurement signal of the servo system, and disturbance estimation signal of the servo system;
  • a controller, configured to generate control signal for controlling the servo system and update the disturbance estimation signal based on the reference trajectory signal and the measurement signal; and
  • a predictor, configured to update the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo  system;
  • wherein the reference trajectory generator is configured to update the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  • Therefore, considering disturbance estimation in reference trajectory planning improves trajectory planning efficiency and servo control accuracy.
  • Preferably, comprising:
  • a manufacturing task generator, configured to generate the manufacturing task instruction based on user input.
  • Therefore, manufacturing task instructions can be generated based on user input, improving control flexibility.
  • Preferably, wherein the controller comprises:
  • an anti-aliasing filter, configured to perform anti-aliasing filtering on the measurement signal;
  • a sampler, configured to perform sampling on anti-aliasing filtered measurement signal to obtain discrete measurement signal;
  • an up-sampling processing module, configured to perform up-sampling processing on the discrete measurement signal.
  • Therefore, by implementing anti-aliasing filtering and multi rate sampling and holding, considering the limited sampling frequency of system output, the suppression problem of high-frequency disturbances outside the Nyquist frequency can be solved or alleviated.
  • Preferably, wherein the controller comprises:
  • a digital disturbance observer, configured to determine the disturbance estimation signal of the servo system based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system; the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  • Therefore, considering the impact of measurement noise or disturbance on the design of MPC under multi rate sampling and holding, the design accuracy is improved.
  • Preferably, wherein the controller comprises:
  • a disturbance analyzer, configured to determine disturbance feature information based on the disturbance  estimation signal;
  • a disturbance resampling module, configured to perform resampling on the disturbance estimation signal based on the disturbance feature information;
  • a disturbance compensator, configured to determine the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  • Therefore, a novel overall architecture of disturbance observer and compensator is proposed, where the resampling period of disturbance compensation can be automatically selected and set based on the characteristics of disturbance, thus improving design flexibility.
  • Preferably, wherein the controller comprises:
  • a digital model predictive controller, configured to determine the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing;
  • a subtractor, configured to subtract the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal;
  • a holder, configured to hold the discrete control signal to generate the continuous control signal.
  • Therefore, closed-loop anti-disturbance control is achieved by compensating the predicted signal for disturbance.
  • Preferably, wherein the disturbance resampling module is configured to determine disturbance indicator based on the disturbance feature information, wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  • Therefore, the disturbance indicators determined based on disturbance feature information can flexibly select multiple types of resampling strategies.
  • In a second aspect, a method for controlling servo system is provided. The method comprising:
  • generating reference trajectory signal of servo system based on manufacturing task instruction for the servo system, terminal state prediction signal within a sliding window of the servo system, measurement signal of the servo system, and disturbance estimation signal of the servo system;
  • generating control signal for controlling the servo system based on the reference trajectory signal and the measurement signal;
  • updating the disturbance estimation signal based on the reference trajectory signal and the measurement signal;
  • updating the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system; and
  • updating the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  • Therefore, considering disturbance estimation in reference trajectory planning improves trajectory planning efficiency and servo control accuracy.
  • Preferably, comprising:
  • generating the manufacturing task instruction based on user input.
  • Therefore, manufacturing task instructions can be generated based on user input, improving control flexibility.
  • Preferably, comprising:
  • performing anti-aliasing filtering on the measurement signal;
  • performing sampling on anti-aliasing filtered measurement signal to obtain discrete measurement signal;
  • performing up-sampling processing on the discrete measurement signal.
  • Therefore, by implementing anti-aliasing filtering and multi rate sampling and holding, considering the limited sampling frequency of system output, the suppression problem of high-frequency disturbances outside the Nyquist frequency can be solved or alleviated.
  • Preferably, comprising:
  • determining the disturbance estimation signal of the servo system based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system;
  • wherein the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  • Therefore, considering the impact of measurement noise or disturbance on the design of MPC under multi rate sampling and holding, the design accuracy is improved.
  • Preferably, comprising:
  • determining disturbance feature information based on the disturbance estimation signal;
  • performing resampling on the disturbance estimation signal based on the disturbance feature information;
  • determining the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  • Therefore, a novel overall architecture of disturbance observer and compensator is proposed, where the resampling period of disturbance compensation can be automatically selected and set based on the characteristics of disturbance, thus improving design flexibility.
  • Preferably, comprising:
  • determining the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing;
  • subtracting the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal;
  • holding the discrete control signal to generate the continuous control signal.
  • Therefore, closed-loop anti-disturbance control is achieved by compensating the predicted signal for disturbance.
  • Preferably, comprising:
  • determining disturbance indicator based on the disturbance feature information;
  • wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  • Therefore, the disturbance indicators determined based on disturbance feature information can flexibly select multiple types of resampling strategies.
  • In a third aspect, an electronic device is provided. The electronic device comprising a processor and a memory, wherein an application program executable by the processor is stored in the memory for causing the processor to execute a method for controlling servo system as described in any of the above.
  • In a fourth aspect, a computer-readable medium comprising computer-readable instructions stored thereon is provided, wherein the computer-readable instructions, when executed by a processor, implement a method for controlling servo system as described in any of the above.
  • In a fifth aspect, a computer program product comprising a computer program, when the computer program is executed by a processor for executing a method for controlling servo system as described in any of the above.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • In order to make technical solutions of examples of the present disclosure clearer, accompanying drawings to be used in description of the examples will be simply introduced hereinafter. Obviously, the accompanying  drawings to be described hereinafter are only some examples of the present disclosure. Those skilled in the art may obtain other drawings according to these accompanying drawings without creative labor.
  • FIG. 1 is a structural diagram of a system for controlling a servo system according to an embodiment of the present invention.
  • FIG. 2 is an exemplary functional module diagram of a controller according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of control system of a multi axis servo system according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of processing the measurement noise problem in a multi rate sampling framework according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of disturbance analysis and sampling strategy according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for controlling a servo system according to an embodiment of the present invention
  • FIG. 7 is a structural diagram of an electronic device according to an embodiment of the present invention.
  • List of reference numbers:

  • DETAILED DESCRIPTION
  • In order to make the purpose, technical scheme and advantages of the invention more clear, the following examples are given to further explain the invention in detail.
  • In order to be concise and intuitive in description, the scheme of the invention is described below by describing several representative embodiments. Many details in the embodiments are only used to help understand the scheme of the invention. However, it is obvious that the technical scheme of the invention can be realized without being limited to these details. In order to avoid unnecessarily blurring the scheme of the invention, some embodiments are not described in detail, but only the framework is given. Hereinafter, "including" refers to "including but not limited to" , "according to... " refers to "at least according to..., but not limited to... " . Due to the language habits of Chinese, when the number of an element is not specifically indicated below, it means that the element can be one or more, or can be understood as at least one.
  • The applicant found that although Model Predictive Controller (MPC) exhibits certain application potential in digital servo control systems due to its model prediction and sliding window real-time optimization characteristics, this trajectory planning servo control framework has at least the following technical issues:
  • (1) : Consider the MPC design under multi rate sampling. Measurement noise or interference in the multi rate sampling process are not taken account in the existed MPC design and optimization.
  • (2) : Consider the digital servo control system design for the multi-axes CNC machine. Although digital MPC can deal with system uncertainties to some extent through sliding window model prediction, high frequency disturbance beyond Nyquist frequency of the system output cannot be well addressed in the present MPC based servo systems with output sampling restrictions.
  • (3) : Consider the multi-dimensional manufacturing tasks of the overall CNC machines. The measurable or estimated disturbances are not considered in the existed trajectory planning, optimization, and generation strategy of the MPC design.
  • Overall, for current servo systems, although research and testing have attempted to apply MPC control methods to control frameworks, existing multi rate digital MPC control methods have failed to effectively handle  multi frequency interference. Moreover, for CNC servo systems, the current multi rate MPC control methods fail to consider robustness to sampling errors in multi rate digital design. Moreover, current trajectory planning methods fail to consider the impact of interference on the planned trajectory, resulting in low trajectory accuracy.
  • FIG. 1 is a structural diagram of a system for controlling a servo system according to an embodiment of the present invention. As shown in FIG. 1, A system for controlling servo system, comprising:
  • a reference trajectory generator 11, configured to generate reference trajectory signal of servo system 14 based on manufacturing task instruction for the servo system 14, terminal state prediction signal within a sliding window of the servo system 14, measurement signal of the servo system 14, and disturbance estimation signal of the servo system 14;
  • a controller 12, configured to generate control signal for controlling the servo system 14 and update the disturbance estimation signal based on the reference trajectory signal and the measurement signal; and
  • a predictor 13, configured to update the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system 14;
  • wherein the reference trajectory generator 11 is configured to update the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  • Here, servo system 14 is driven by control signals to perform positioning tasks. Servo system 14 may include: (1) feed servo system, which controls the cutting feed motion of each coordinate axis of the machine tool, mainly in linear motion; (2) Spindle servo system, which controls the cutting motion of the spindle and mainly revolves. Specifically, servo system 14 can be implemented as a servo system for rotating motors, a planar motion servo system (such as a fast knife servo platform) , a multi degree of freedom parallel robot, and a multi degree of freedom positioning/scanning instrument, among others.
  • In one embodiment, the system for controlling servo system comprises: a manufacturing task generator15, configured to generate the manufacturing task instruction based on user input. For example, manufacturing task instructions can specifically be program instructions for controlling servo system 14 to perform positioning tasks (such as drawing circles or spiral lines, etc. ) . Users can provide manufacturing task instructions for manufacturing task generator 15 based on human-machine interaction interface.
  • The specific method for determining the terminal state prediction signal of servo system 14 within sliding windows is a mature technology in this field, and the implementation method of the present invention will not be repeated. The terminal state prediction signal of servo system 14 is continuously updated by predictor 13 during  the operation of servo system 14. The measurement signals of servo system 14 are usually positioning signals detected by sensors and output by servo system 14 (such as the displacement, velocity, or acceleration of the control object (such as end effector) of servo system 14, etc. ) . When servo system 14 executes a control signal, the measurement signals of servo system 14 are updated accordingly. The disturbance estimation signal of servo system 14 is an estimation signal for the interference applied to servo system 14, such as vibration amplitude and frequency of the control object (such as the end effector) of servo system 14. The control signal is usually implemented as a driving signal (such as a voltage signal or a current signal) applied to servo actuator in the servo system 14.
  • When the system for controlling the servo system is started, the terminal state prediction signal, measurement signal, and disturbance estimation signal of servo system 14 have their respective initial values. These initial values are all settable. For example, the initial value of disturbance estimation signal in servo system 14 can be zero; The initial value of the terminal state prediction signal of servo system 14 within sliding window can be zero; The initial value of the measurement signal of servo system 14 can be zero.
  • Reference trajectory generator 11 generates a reference trajectory signal of servo system 14 based on manufacturing task instruction for servo system 14, terminal state prediction signal within a sliding window of servo system 14, measurement signals of servo system 14, and disturbance estimation signal of servo system 14. Then, the controller 12 generates a control signal for controlling servo system 14 and updates disturbance estimation signal (i.e., updates the specific value of the disturbance estimation signal) based on the reference trajectory signal and the measurement signal. The predictor 13 updates the terminal state prediction signal based on the reference trajectory signal, control signal, and measurement signal updated when the servo system 14 executes the control signal. Then, the reference trajectory generator 11 updates the reference trajectory signal based on manufacturing task instructions, updated terminal state prediction signals, updated measurement signals, and updated disturbance estimation signal. The above process continues to be executed until the manufacturing task instruction is completed.
  • In summary, in the system shown in Figure 1, manufacturing task generator 15 generates manufacturing task instructions based on manufacturing requirements; The reference trajectory generator 11 generates spatial reference trajectory signals for servo system 14 based on manufacturing task instructions, estimated terminal states of servo system 14 within sliding windows, measured output signals of servo system 14, and estimated disturbance information. Controller 12 (usually implemented as a digital controller) can generate control signals based on model observers with multi rate anti-interference observations. Servo system 14 performs positioning tasks based on control signals. The predictor 13 provides a prediction signal for the terminal state of the servo  system 14 within sliding window.
  • Embodiments of the present invention also proposes a specific structure of controller 12. FIG. 2 is an exemplary functional module diagram of a controller according to an embodiment of the present invention. As shown in FIG. 2, the controller 12 comprises: an anti-aliasing filter 125, configured to perform anti-aliasing filtering on the measurement signal obtained by sensor 124; a sampler 126, configured to perform sampling on anti-aliasing filtered measurement signal to obtain discrete measurement signal; an up-sampling processing module 127, configured to perform up-sampling processing on the discrete measurement signal.
  • The controller 12 further comprises: a digital disturbance observer 128, configured to determine the disturbance estimation signal of the servo system 14 based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system 14; the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  • The controller 12 further comprises: a disturbance analyzer 130, configured to determine disturbance feature information based on the disturbance estimation signal; a disturbance resampling module 129, configured to perform resampling on the disturbance estimation signal based on the disturbance feature information; a disturbance compensator 131, configured to determine the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  • The controller 12 further comprises: a digital model predictive controller (MPC) 120, configured to determine the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing; a subtractor 121, configured to subtract the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal; a holder 122, configured to hold the discrete control signal to generate the continuous control signal. Servo actuator 123 executes the continuous control signal to drive servo system14. The measurement signal of servo system14 obtained by sensor 124 is updated due to the execution of the control signal by the servo actuator 123.
  • In one embodiment, the disturbance resampling module 129 is configured to determine disturbance indicator based on the disturbance feature information, wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  • The servo actuator 123 and sensor 124 in Figure 2 are usually considered as components of the servo system  14, so they are illustrated in dashed boxes in Figure 2.
  • The typical processing process of controller 12 is described below.
  • Step 1: The digital MPC120 generates discrete MPC control value based on reference trajectory signal generated by reference trajectory generator 11 and discrete measurement signal output by up-sampling processing module 127.
  • Step 2: The subtractor 121 performs a subtraction operation on the discrete MPC control value and the compensation value of the disturbance estimation signal generated by disturbance compensator 131 to obtain discrete control signal.
  • Step 3: The discrete control signal is input to holder 122, which performs sampling and holding operations on the discrete control signal to obtain a continuous control signal.
  • Step 4: The continuous control signal is input to servo actuator 123 in servo system 14, which executes the continuous control signal to perform positioning tasks.
  • Step 5: Sensor 124 in servo system 14 measures the measurement value output by servo actuator 123 after executing the control signal.
  • Step 6: The measured values of sensor 124 are processed through an anti-aliasing filter 126 and subjected to anti-aliasing filter processing.
  • Step 7: The measured value processed by the anti-aliasing filter is sampled by sampler 126 to obtain discrete measurement signal.
  • Step 8: The discrete measurement signal is subjected to up-sampling processing through the up-sampling processing module 127 to obtain a faster rate discrete measurement signal. The up-sampled discrete measurement signal is provided to the disturbance observer 128 and the digital MPC120 respectively for closed-loop control.
  • Step 9: The digital disturbance observer 128 calculates the disturbance estimation signal based on the up-sampled discrete measurement signal and continuous control signal.
  • Step 10: The disturbance analyzer 130 performs statistical analysis on the disturbance estimation signal, obtaining frequency domain and statistical characteristics of the disturbance as disturbance feature information.
  • Step 11: The disturbance resampling module 129 resamples (down-sampling) the disturbance estimation signal generated by the digital disturbance observer 128 based on the disturbance feature information, obtains the compensation value of the disturbance estimation signal, and provides the compensation value of the disturbance estimation signal to the subtractor 121 for closed-loop anti-interference control.
  • In summary, the servo actuator 123 is used to be driven to perform positioning tasks. Sensor 124 is used to measure output signals of servo actuator 123. The anti-aliasing filter 125 can be implemented as a low-pass filter  that performs anti frequency aliasing. Sampler 126 for sampling the output of anti-aliasing filter 125. The up-sampling processing module 127 is used to increase sampling frequency and perform up-sampling operations on the output of the sampler 126. Digital disturbance observer 128 is used to estimate the disturbance of servo actuator 123 and obtain disturbance estimation signals. Disturbance analyzer 130 is used to statistically analyze disturbance estimation signal, obtain frequency domain and statistical characteristic information of disturbance, and use it as disturbance feature information. Disturbance resampling module 129 is used to determine sampling strategy for disturbance compensation based on disturbance index of disturbance feature information. Disturbance compensator 131 for generating disturbance compensation values. MPC controller 120 is used to implement MPC control strategies and provide feedback control inputs. Holder 122 for converting discrete signals into continuous signals.
  • Figure 3 is a structural diagram of the control system of a multi axis servo system according to the embodiment of the present invention. In Figure 3, servo system 14 is implemented as a servo system containing multiple axes (14i~14q) . Among them, servo system 14 contains an infinite number of axes, which can be more or less, and each axis can be considered as an independent servo system. a MPC via a novel sampled-data signal reconstruction method is designed. In the digital control structure, an anti-aliasing filter is designed as an analog device to make the feedback system to be L2-bounded.
  • Equation group (1) is the design function of the servo system for each axis 14i~14q:
  • Where: x is the system state of each axis; u is the control input for each axis; d is the equivalent total interference suffered by the system of each axis; y is the system output for each axis; A, B, C, E, R are system state space matrices for each axis.
  • Propose an optimization index function J for overall MPC control. Among them:

    s.t. xt+1|t=Adxm|t+Bdum|t                                              (3a)
    umin≤um|t≤umax                                                     (3b)
    xmin≤xm|t≤xmax                                                     (3c)
    ymin≤Cdxm|t+Rdrm|t≤ymax                                           (3d)
    ||(e-mhs-PHhKShFc) Wc1||<γset                                      (3e)
    x0, u0                                                              (3f)
  • Equations (3a) - (3f) are constraints for MPC optimization.
  • Among them: J is the optimization index function designed by MPC, α1, α2 andα3 are optional parameters; xN|t is the N-step prediction state at time t; rN|t is the predicted value of the N-step reference signal at time t; xm|t is the m-step predicted state at time t; rm|t is the predicted value of the m-step reference signal at time t; um|t is the predicted value of the m-step system control input at time t; xt+1|t is the 1-step predicted state at time t; e-lhs is an ideal channel model with a lag value of lh; P is the servo system matrix; Hh is the holder matrix; Sh is the sampler matrix; Fc is the designed filter matrix; Wc1is the H∞ weight matrix; x0is the initial value of the system state; u0is the initial value of the control input; Ad, Bd are ideal system matrixes; ‖. ‖ is L∞ norm; ut is the control input value to be optimized; umin andumax are the minimum and maximum limits of the control input values, respectively; xmin and xmax are the minimum and maximum limits of the input values for the servo system state, respectively; γset is a preset sampling optimization threshold; N is the predicted range; G1 (xN|t, rN|t) is a function of xN|t and rN|t, where G1 (xN|t, rN|t) is greater than or equal to zero; G2 (xm|t, rm|t, um|t) is a function of xm|t and rm|t, and, um|t G2 (xm|t, rm|t, um|t) is greater than or equal to zero.
  • FIG. 4 is a schematic diagram of processing the measurement noise problem in a multi rate sampling framework according to the embodiment of the present invention. As shown in FIG. 4, J2 and constraints (such as equation (3e) ) were introduced in MPC design to address the measurement noise impact problem in multi rate sampling frameworks through H∞ optimization.
  • Embodiments of the present invention proposes a multi rate interference observer for estimating and compensating the equivalent lumped interference d of a servo system as shown in equation group (1) . For the servo system shown in equation group (1) , the design of the disturbance observer is as follows:

  • Where: k is the discrete sampling time; is the discrete extended state of the servo system as shown in equation group (1) ; x [k, 1] ..., x [k, h-1] represents the first state to h-1 state between the sampling points in the discrete states x [k] and x [k+1] , respectively; is the estimated state of the discrete expansion stateF (□) is a function; Γ is the observation gain function; [k+1] is the estimated interference value for the k+1 sampling time.
  • In order to improve the interference suppression ability of multi frequency bands (especially Nyquist frequency external interference) , the implementation method of the present invention also proposes an interference analyzer and resampling settings. Figure 5 is a schematic diagram of interference analysis and sampling strategy according to the embodiment of the present invention. As shown in Figure 5, interference analysis and sampling strategies specifically include:
  • Step 501: Determine disturbance indicator based on disturbance estimation signals for disturbance feature information.
  • For example, counting current disturbance estimation signal and predetermined number of disturbance estimation signals in history to determine disturbance feature information and disturbance indicator. For example, disturbance feature information can be frequency characteristics of all disturbance estimation signals (that is, current disturbance estimation signal and predetermined number of disturbance estimation signals in history) . Overall, the larger the frequency of disturbance estimation signals represented by disturbance feature information, the larger the disturbance index. For example, first, calculate the sum of squares of the frequency eigenvalues of all disturbance estimation signals that have been statistically calculated; Then determine the square root of the sum of squares as the disturbance indicator.
  • Step 502: Determine whether the disturbance indicator is greater than a pre-set threshold value. If it is (corresponding to the "Y" branch) , execute step 507 and its subsequent steps; if it is not (corresponding to the "N" branch) , execute step 503 and its subsequent steps.
  • Step 503: Determine if the disturbance indicator is less than the threshold value. If it is (corresponding to the "Y" branch) , execute step 504 and its subsequent steps; if it is not (corresponding to the "N" branch) , execute step 506 and its subsequent steps.
  • Step 504: Determine the execution of down-sampling strategy.
  • Step 505: During the execution of the down-sampling strategy, calculate updated sampling period of the disturbance compensator and skip to step 510. Among them, when the disturbance index is smaller, the updated sampling period has more added value compared to the current sampling period.
  • Step 506: Determine and execute normal sampling strategy, and skip to step 509.
  • Step 507: Determine the execution of up-sampling strategy.
  • Step 508: During the execution of the up-sampling strategy, calculate updated sampling period of the disturbance compensator and skip to step 510. Among them, the larger the disturbance index, the smaller the reduction value of the updated sampling period compared to the current sampling period.
  • Step 509: In normal sampling strategy, keep the sampling period of the disturbance compensator unchanged. That is, the updated sampling period is equal to the current sampling period.
  • Step 510: update sampling period of the disturbance compensator, by the updated sampling period.
  • Specifically, the disturbance compensator design is as follows:
  • Among them: ud is the system interference compensation value after resampling. ζ1 (. ) , ζ2 (. ) , ζ3 (. ) are calculation functions of system disturbance compensation values for increasing the sampling frequency (up-sampling strategy) , keeping the sampling frequency constant (normal sampling strategy) , and decreasing the sampling frequency (down-sampling strategy) , respectively.
  • Embodiments of the present invention also proposes an improved reference trajectory generator for generating reference trajectory signals for the servo system, in which interference information is introduced into the reference trajectory generator to avoid the negative impact of some risk paths verified in previous motion on trajectory planning.
  • Specifically, the design of the reference trajectory generator is: 
  • s.t. xprediction∈Ο {xprediction}      (6a)
    rhistory∈Π {rhistory}            (6b)
    umin≤um|t≤umax               (6c)

    ymin≤Cdxm|t+Rdrm|t≤ymax     (6e)
    rmin≤r (t) ≤rmax               (6f)
  • Among them, Jr is the optimization index function generated by the trajectory; is the trajectory generation function; rhistory is the historical value of the servo system trajectory reference signal; xprediction is the predicted state of the system based on the predictor; is estimated state of the system; u is the control input value; is the estimated value of system interference; σ (r) is prediction function for the trajectory reference signal; rmin and rmax are the minimum and maximum limits for estimation reference signal, respectively; Ο {xprediction} is the restricted set of system prediction states for the predictor; Π {rhistory} is the restricted set of servo system trajectory reference signals.
  • FIG. 6 is a flowchart of a method for controlling a servo system according to an embodiment of the present invention. As shown in FIG. 6, the method comprises:
  • Step 601: generating reference trajectory signal of servo system based on manufacturing task instruction for the servo system, terminal state prediction signal within a sliding window of the servo system, measurement signal of the servo system, and disturbance estimation signal of the servo system.
  • Step 602: generating control signal for controlling the servo system based on the reference trajectory signal and the measurement signal.
  • Step 603: updating the disturbance estimation signal based on the reference trajectory signal and the measurement signal.
  • Step 604: updating the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system. and
  • Step 605: updating the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  • In one embodiment, the method comprising: generating the manufacturing task instruction based on user input.
  • In one embodiment, the method comprising: performing anti-aliasing filtering on the measurement signal; performing sampling on filtered measurement signal to obtain discrete measurement signal; performing up-sampling processing on the discrete measurement signal.
  • In one embodiment, the method comprising: determining the disturbance estimation signal of the servo system based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system; wherein the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the  discrete measurement signal after the up-sampling processing.
  • In one embodiment, the method comprising: determining disturbance feature information based on the disturbance estimation signal; performing resampling on the disturbance estimation signal based on the disturbance feature information; determining the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  • In one embodiment, the method comprising: determining the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing; subtracting the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal; holding the discrete control signal to generate the continuous control signal.
  • In one embodiment, the method comprising: determining disturbance indicator based on the disturbance feature information; wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  • In summary, Embodiments of the present invention introduces multi rate MPC digital control method into CNC servo system, and introduces estimation information of interference into the trajectory planning of CNC servo system, avoiding partial trajectory strategies through interference characteristics. Embodiments of the present invention also proposes a novel multi rate interference observation compensator, where the resampling period of interference compensation can be automatically selected and set based on the interference characteristics. Moreover, the measured output signal of the system entering the MPC digital controller is improved in robustness to noise through anti-aliasing analog filters and H∞ optimization. In addition, this multi rate digital control framework is not only applicable to servo systems for rotating motors, but also in the design of servo control systems for planar motion servo systems (such as fast knife servo platforms) , multi degree of freedom parallel robots, and multi degree of freedom positioning/scanning instruments.
  • Embodiments of the present invention also provide an electronic device with processor-memory architecture. FIG. 7 is a structural diagram of an electronic device according to an embodiment of the present invention.
  • As shown in FIG. 7, the electronic device 700 comprises a processor 701, a memory 702, and a computer program stored in the memory 702 and executable on the processor 701. When the computer program is executed by the processor 701, any one of the above-mentioned methods for controlling a servo system is implemented. The memory 702 may specifically be implemented as various storage medium such as Electrically Erasable Programmable Read-Only Memory (EEPROM) , Flash memory (Flash memory) , Programmable Program  Read-Only Memory (PROM) . The processor 701 may be implemented to include one or more central processing units or one or more field programmable gate arrays, wherein the field programmable gate arrays integrate one or more central processing unit cores. Specifically, the central processing unit or central processing unit core may be implemented as a CPU or MCU or DSP, and so on.
  • It should be noted that not all steps and modules in the above-mentioned processes and structural diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution logic of each step is not fixed and can be adjusted as needed. The division of each module is only to facilitate the description of the functional division used. In actual implementation, a module can be implemented by multiple modules, and the functions of multiple modules can also be implemented by the same module. These modules can be in the same device or in a different device.
  • The hardware modules in various embodiments may be implemented mechanically or electronically. For example, a hardware module may include specially designed permanent circuits or logic devices (e.g., special-purpose processors, such as FPGAs or ASICs) to perform specific operations. Hardware modules may also include programmable logic devices or circuits temporarily configured by software (e.g., including general-purpose processors or other programmable processors) for performing operations. As for the specific mechanical method, or a dedicated permanent circuit, or a temporarily configured circuit (e.g., configured by software) to realize the hardware module, it can be decided according to cost and time considerations.
  • The above descriptions are merely preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (17)

  1. A system for controlling servo system, comprising:
    a reference trajectory generator (11) , configured to generate reference trajectory signal of servo system (14) based on manufacturing task instruction for the servo system (14) , terminal state prediction signal within a sliding window of the servo system (14) , measurement signal of the servo system (14) , and disturbance estimation signal of the servo system (14) ;
    a controller (12) , configured to generate control signal for controlling the servo system (14) and update the disturbance estimation signal based on the reference trajectory signal and the measurement signal; and
    a predictor (13) , configured to update the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system (14) ;
    wherein the reference trajectory generator (11) is configured to update the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  2. The system of claim 1, comprising:
    a manufacturing task generator (15) , configured to generate the manufacturing task instruction based on user input.
  3. The system of claim 1, wherein the controller (12) comprises:
    an anti-aliasing filter (125) , configured to perform anti-aliasing filtering on the measurement signal;
    a sampler (126) , configured to perform sampling on anti-aliasing filtered measurement signal to obtain discrete measurement signal;
    an up-sampling processing module (127) , configured to perform up-sampling processing on the discrete measurement signal.
  4. The system of claim 3, wherein the controller (12) comprises:
    a digital disturbance observer (128) , configured to determine the disturbance estimation signal of the servo system (14) based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system (14) ; the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  5. The system of claim 4, wherein the controller (12) comprises:
    a disturbance analyzer (130) , configured to determine disturbance feature information based on the disturbance estimation signal;
    a disturbance resampling module (129) , configured to perform resampling on the disturbance estimation signal based on the disturbance feature information;
    a disturbance compensator (131) , configured to determine the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  6. The system of claim 5, wherein the controller (12) comprises:
    a digital model predictive controller (120) , configured to determine the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing;
    a subtractor (121) , configured to subtract the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal;
    a holder (122) , configured to hold the discrete control signal to generate the continuous control signal.
  7. The system of claim 5, wherein the disturbance resampling module (129) is configured to determine disturbance indicator based on the disturbance feature information, wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  8. A method for controlling servo system, comprising:
    generating (601) reference trajectory signal of servo system based on manufacturing task instruction for the servo system, terminal state prediction signal within a sliding window of the servo system, measurement signal of the servo system, and disturbance estimation signal of the servo system;
    generating (602) control signal for controlling the servo system based on the reference trajectory signal and the measurement signal;
    updating (603) the disturbance estimation signal based on the reference trajectory signal and the measurement signal;
    updating (604) the terminal state prediction signal based on the reference trajectory signal, the control signal, and the measurement signal updated due to the execution of the control signal by the servo system; and
    updating (605) the reference trajectory signal based on the manufacturing task instruction, updated terminal state prediction signal, updated measurement signal, and updated disturbance estimation signal.
  9. The method of claim8, comprising:
    generating the manufacturing task instruction based on user input.
  10. The method of claim8, comprising:
    performing anti-aliasing filtering on the measurement signal;
    performing sampling on anti-aliasing filtered measurement signal to obtain discrete measurement signal;
    performing up-sampling processing on the discrete measurement signal.
  11. The method of claim10, comprising:
    determining the disturbance estimation signal of the servo system based on discrete measurement signal after the up-sampling processing and continuous control signal of the servo system;
    wherein the continuous control signal is obtained by performing hold processing on a discrete control signal, which is obtained based on discrete MPC control signal and compensation value of the disturbance estimation signal, and the discrete MPC control signal is obtained based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing.
  12. The method of claim11, comprising:
    determining disturbance feature information based on the disturbance estimation signal;
    performing resampling on the disturbance estimation signal based on the disturbance feature information;
    determining the compensation value of the disturbance estimation signal based on the resampled disturbance estimation signal.
  13. The method of claim12, comprising:
    determining the discrete MPC control signal based on the reference trajectory signal and the discrete measurement signal after the up-sampling processing;
    subtracting the compensation value of the disturbance estimation signal from the discrete MPC control signal to obtain the discrete control signal;
    holding the discrete control signal to generate the continuous control signal.
  14. The method of claim12, comprising:
    determining disturbance indicator based on the disturbance feature information;
    wherein the resampling is performed on the disturbance estimation signal by increasing sampling frequency when the disturbance indicator is greater than a predetermined threshold value, and the resampling is performed on the disturbance estimation signal by reducing sampling frequency when the disturbance index is less than the threshold value.
  15. An electronic device, comprising a processor (701) and a memory (702) , wherein an application program executable by the processor (701) is stored in the memory (702) for causing the processor (701) to execute a method for controlling servo system according to any one of claims 8-14.
  16. A computer-readable medium comprising computer-readable instructions stored thereon, wherein the computer-readable instructions for executing a method for controlling servo system according to any one of claims 8-14.
  17. A computer program product comprising a computer program, upon the computer program is executed by a processor for executing a method for controlling servo system according to any one of claims 8-14.
EP23935954.0A 2023-05-06 2023-05-06 System, method, electronic device, and medium for controlling servo system Pending EP4689806A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2023/092476 WO2024229625A1 (en) 2023-05-06 2023-05-06 System, method, electronic device, and medium for controlling servo system

Publications (1)

Publication Number Publication Date
EP4689806A1 true EP4689806A1 (en) 2026-02-11

Family

ID=93431822

Family Applications (1)

Application Number Title Priority Date Filing Date
EP23935954.0A Pending EP4689806A1 (en) 2023-05-06 2023-05-06 System, method, electronic device, and medium for controlling servo system

Country Status (3)

Country Link
EP (1) EP4689806A1 (en)
CN (1) CN120712531A (en)
WO (1) WO2024229625A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7319570B2 (en) * 2005-09-19 2008-01-15 Seagate Technology Llc Random vibration and shock compensator using a disturbance observer
JP2018041150A (en) * 2016-09-05 2018-03-15 オムロン株式会社 Model prediction control device, method for controlling model prediction control device, information processing program, and recording medium
JP6487397B2 (en) * 2016-09-07 2019-03-20 ファナック株式会社 Machine tool control device, control method, and computer program
US10309059B2 (en) * 2016-09-23 2019-06-04 Honeywell International Inc. Method of designing model predictive control for cross directional flat sheet manufacturing processes to guarantee temporal robust stability and performance
CN108415252B (en) * 2018-02-13 2021-01-15 南京理工大学 Electro-hydraulic servo system model prediction control method based on extended state observer
CN112947310B (en) * 2021-01-28 2022-07-08 清华大学 Rotary servo motor track precompensation method and device based on prediction model

Also Published As

Publication number Publication date
WO2024229625A1 (en) 2024-11-14
CN120712531A (en) 2025-09-26

Similar Documents

Publication Publication Date Title
US11235461B2 (en) Controller and machine learning device
US11087509B2 (en) Output device, control device, and evaluation function value output method
US12005582B2 (en) Controller and control system
Torfs et al. Comparison of two feedforward design methods aiming at accurate trajectory tracking of the end point of a flexible robot arm
JP6557285B2 (en) Control device and machine learning device
CN112109080B (en) Adjustment assisting device
EP2966521A1 (en) Working machine feed shaft control method and feed shaft control device
JP2019093451A (en) Control device and machine learning device
JP2019185742A (en) Controller and control method
CN110941242A (en) Motor control device
CN117608241B (en) Method, system, device and medium for updating digital twin model of numerical control machine tool
JP2014123188A (en) Distribution control device and distribution control method
WO2024229625A1 (en) System, method, electronic device, and medium for controlling servo system
DE102017004591A1 (en) Numerical control
US20200064787A1 (en) System and Method for Determining the Parameters of a Controller
CN120620240A (en) Direction force sensor-free control method and system based on real-time force trend prediction
US10901374B2 (en) Machine learning device, control device, and machine learning method
JP2022135268A (en) Condition diagnosis system
CN118977234A (en) Six-dimensional force compensation method and device for distal center motion mechanism
JP6971897B2 (en) Servo mechanism parameter estimation device, parameter estimation method, and parameter estimation program
Brecher et al. Adaptive logging module for monitoring applications using control internal digital drive signals
JP4551359B2 (en) Servo motor drive control device
JP2005258717A (en) Parameter setting method, apparatus and program for control device
JP3802692B2 (en) Servo control device
US20240176342A1 (en) Computer-implemented method and device for predicting a state of a technical system

Legal Events

Date Code Title Description
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE

PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20251029

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC ME MK MT NL NO PL PT RO RS SE SI SK SM TR