Sip-based servo motor drive control system and control method thereof
By processing the current error signal through hardware-accelerated logic circuitry within the SIP system-in-package, generating predictive on/off commands and dynamic limiting processing, the integral saturation problem of the PID controller is solved, thereby improving the real-time performance and decoupling parameters of the servo motor drive control and meeting the requirements for high dynamic response.
Patent Information
- Application Number
- CN202611666478.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-27
- Publication Date
- 2026-11-24
AI Technical Summary
In existing SIP-based servo motor drive control systems, the PID controller exhibits integral saturation, resulting in large system overshoot and prolonged settling time. Furthermore, the proportional gain and integral gain are coupled, increasing the difficulty of debugging and making it difficult to meet high dynamic response requirements.
A servo motor drive control system based on SIP is adopted. The parallel decomposition and current splitting of the current error signal are realized through hardware acceleration logic circuits inside the system-in-package, generating predictive on/off commands, setting the dominance relationship between the proportional path and the integral path, and performing dynamic limiting processing to generate voltage command signals, forming a hardware-based closed-loop control link, and decoupling the proportional gain and integral gain.
It has achieved a real-time improvement in magnetic field orientation control, compressing it from the microsecond level to the nanosecond level, eliminating the real-time bottleneck, shortening the rise time and settling time, suppressing overshoot, simplifying the difficulty of parameter tuning, and meeting the control requirements of high dynamic response scenarios.
Smart Images

Figure CN123163445A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of servo motor drive control technology, specifically to a servo motor drive control system and control method based on SIP. Background Technology
[0002] The current evolution of servo motor drive control technology stems from the dual demands of industrial applications for higher performance and smaller size. However, traditional software execution solutions suffer from fundamental bottlenecks in real-time performance. Traditional drive systems composed of multiple discrete chips also face physical limitations in terms of size, weight, and anti-interference capabilities due to miniaturization integration. The rise of system-in-package (SoC) technology offers a solution to these challenges. This technology integrates multiple bare chips with different functions into a single package, reducing the size and weight of the motor control circuit while shortening critical signal paths and reducing parasitic inductance and electromagnetic interference.
[0003] Currently, research on SIP-based servo motor drive control still has some shortcomings. Specifically, while PID (Proportional-Integral-Derivative) controllers are widely used, they suffer from integral saturation. When the motor command exceeds the limit, the integral term accumulates continuously, leading to large overshoot, prolonged settling time, and even instability. Especially under high dynamic response requirements, achieving both short settling time and zero overshoot is a challenge for parameter tuning. The proportional and integral gains of traditional PI controllers are coupled, increasing the difficulty of tuning. Summary of the Invention
[0004] To address the shortcomings of existing technologies, this invention provides a servo motor drive control system and control method based on SIP, which can effectively solve the problems mentioned in the background technology.
[0005] To achieve the above objectives, the present invention provides the following technical solution: The first aspect of the present invention provides a SIP-based servo motor drive control system, comprising: The current error signal processing module is used in the hardware-accelerated logic circuit inside the SIP to perform parallel decomposition and splitting of the current error signal based on the current command signal and the feedback current signal, and output the error signal group.
[0006] The predictive on / off command generation module is used to analyze the error signal group and generate predictive on / off commands for the integration path.
[0007] The dominance relationship setting module is used to set the dominance relationship between the proportional path output and the integral path input for the error signal group and in combination with the predictive on / off command of the integral path, so as to obtain the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis integral accumulation value, and the quadrature-axis integral accumulation value.
[0008] The dynamic limiting processing module is used to perform dynamic limiting processing based on the cumulative value of the direct axis integral, the cumulative value of the quadrature axis integral, and the error signal group, and output the integral value after direct axis limiting and the integral value after quadrature axis limiting.
[0009] The servo motor drive control module is used to generate a voltage command signal based on the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis amplitude-limited integral value, and the quadrature-axis amplitude-limited integral value. After performing coordinate inverse transformation and pulse width modulation on the voltage command signal based on SIP, the switching signal for driving the power inverter is obtained.
[0010] A second aspect of this invention provides a SIP-based servo motor drive control method, comprising the following steps: Within the hardware acceleration logic circuitry of the SIP, the current error signal is decomposed and split in parallel based on the current command signal and the feedback current signal, and an error signal group is output.
[0011] The error signal set is analyzed to generate predictive on / off commands for the integration path.
[0012] By combining the error signal group with the predictive on / off command of the integral path, the dominance relationship between the proportional path output and the integral path input is set, resulting in the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis integral accumulation value, and the quadrature-axis integral accumulation value.
[0013] Based on the cumulative value of the direct-axis integral, the cumulative value of the quadrature-axis integral, and the error signal group, dynamic limiting processing is performed, and the integral value after direct-axis limiting and quadrature-axis limiting are output.
[0014] Based on the direct-axis proportional component, the quadrature-axis proportional component, the integral value after direct-axis limiting, and the integral value after quadrature-axis limiting, a voltage command signal is generated. The voltage command signal is then subjected to inverse coordinate transformation and pulse width modulation signal generation based on SIP to obtain the switching signal for driving the power inverter.
[0015] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects: (1) This invention provides a SIP-based servo motor drive control system and its control method. By pushing the entire link of the most computationally intensive current loop control in the servo drive, from error signal decomposition, predictive integral on / off judgment, construction of the proportional path to integral path dominance relationship, to dynamic limiting processing and voltage command synthesis, all of these are executed in the hardware acceleration logic circuit inside the system-level package. This completely gets rid of the delay constraints of the central processing unit or digital signal processor interpreting and executing instructions one by one in the software in the traditional solution. It compresses the operation time of magnetic field orientation control from microseconds to nanoseconds, fundamentally eliminates the real-time bottleneck, and lays the hardware foundation for a significant improvement in the bandwidth of the current loop.
[0016] (2) This invention constructs a complete anti-integral saturation and parameter decoupling mechanism. Based on the predictive on / off command of the error change trend, it realizes the preemptive prevention of integral saturation. The dominant relationship between the proportional path output and the integral path input enables partial decoupling of the proportional gain and integral gain. Dynamic limiting ensures that the integral accumulation value always adaptively matches the current error state, so that the system can suppress overshoot while shortening the rise time and settling time, and simplify the difficulty of parameter tuning. The voltage command is finally directly output as the switching signal to drive the power inverter after being generated by the coordinate inverse transformation and pulse width modulation signal inside the system-level package. This forms a complete hardware closed-loop control link from the current command input to the switching signal output, which meets the stringent requirements of fixed control cycle and extremely low delay in high dynamic response scenarios. Attached Figure Description
[0017] The present invention will be further described with reference to the accompanying drawings, but the embodiments in the drawings do not constitute any limitation on the present invention. For those skilled in the art, other drawings can be obtained based on the following drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the system module connections of the present invention.
[0019] Figure 2 This is a schematic diagram of the method steps of the present invention.
[0020] Figure 3 This is a flowchart illustrating how the switching signal for driving the power inverter is generated after the voltage command signal undergoes inverse coordinate transformation and pulse width modulation based on SIP. Detailed Implementation
[0021] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0022] Reference Figure 1 As shown, the first aspect of the present invention provides a servo motor drive control system based on SIP, including: a current error signal processing module, a predictive on / off command generation module, a dominance relationship setting module, a dynamic limiting processing module, and a servo motor drive control module.
[0023] The current error signal processing module is used in the hardware-accelerated logic circuit inside the SIP to perform parallel decomposition and splitting of the current error signal based on the current command signal and the feedback current signal, and output the error signal group.
[0024] This solution integrates a microcontroller unit (MCU) die and a hardware-accelerated logic circuit (HALC) die within a System-in-Package (SIP). The MCU die utilizes a general-purpose microcontroller chip and is responsible for performing non-real-time tasks such as position loop control, speed loop control, system state management, and communication protocol processing. The HALC die is either a programmable logic device or a custom logic circuit. Existing SIP servo control solutions encapsulate both MCU dies within the same plastic package, still requiring software execution for the field-oriented control algorithm. This solution encapsulates both the MCU die and the HALC die within the same plastic package, thus architecturally distinguishing between the execution entities for real-time and non-real-time tasks.
[0025] The microcontroller die and the hardware acceleration logic die are connected via an internal interconnect network. This internal interconnect network refers to the metal wire interconnection structure (such as bonding wires or through-silicon vias) laid inside the package substrate, used to enable data exchange between the two dies. The microcontroller die and the hardware acceleration logic die are mounted on the package substrate in a side-by-side or stacked manner, and connected to the internal interconnect network of the substrate via bonding wires or through-silicon vias. The package substrate with the mounted dies is then encapsulated using molding compound to form a single package.
[0026] Data transmission between the microcontroller die and the hardware-accelerated logic circuit die is accomplished through the chip's internal interconnect network, eliminating the need for external pins and circuit board traces. The hardware-accelerated logic circuit die internally includes comparators, differentiators, error shunt nodes, comparison decision units, latches, proportional path operators, integral path operators, dynamic limiters, summers, output limiters, as well as inverse Park transform, inverse Clarke transform, and space vector pulse width modulation signal generation stages. The microcontroller die writes data into the corresponding registers of the hardware-accelerated logic circuit die via the internal interconnect network.
[0027] Inside the bare core of the hardware-accelerated logic circuit, all the above-mentioned operational stages are implemented in the form of digital logic gates, and the stages are connected in a parallel pipelined manner. Specifically, the comparator is implemented using a digital subtractor; the differentiator is implemented using a register bank and a subtractor, with the first register storing the error signal value at the current sampling time, the second register storing the error signal value at the previous sampling time, the subtractor subtracting the value of the second register from the value of the first register, and the divider dividing the output of the subtractor by the sampling time interval; the integrator is implemented using an accumulator, which consists of an adder and a register. Each sampling cycle, the input signal is added to the accumulated value of the previous cycle stored in the register, and then written back to the register; the dynamic limiter is implemented using a comparator array and a multiplexer; the comparison and judgment unit is implemented using a numerical comparator; the latch is implemented using an RS flip-flop or a D flip-flop; and the summer is implemented using an adder. All operational stages operate synchronously under the same system clock, completing one full pipeline operation per clock cycle.
[0028] System-in-Package (SIP): An integrated packaging technology that encapsulates multiple chips or bare dies with different functions into a single plastic package.
[0029] Bare die: An unpackaged semiconductor chip that is directly mounted on a packaging substrate in its original form.
[0030] Hardware-accelerated logic circuits: specific functional operation units implemented in the form of hardware logic gate circuits, which can complete operations without the interpretation and execution of software instructions.
[0031] Internal interconnect network of a chip: A metal wire interconnection structure laid inside the packaging substrate to connect multiple bare chips.
[0032] Packaging substrate: An insulating substrate that carries bare cores and provides electrical connections between bare cores and between bare cores and external pins.
[0033] Molded package: A protective encapsulation shell formed by completely wrapping the mounted bare core and the packaging substrate with molding compound.
[0034] Bonding wire: A thin metal wire used to connect the pads of a bare core to the pads of a package substrate.
[0035] Through-silicon via (TSV): A vertical conductive channel that runs through a silicon chip and is used to enable vertical interconnects when chips are stacked.
[0036] Acquire current command signals and feedback current signals. The current command signals include direct-axis current commands and quadrature-axis current commands, which are given by the calculation results of the velocity loop or position loop.
[0037] The feedback current signal includes direct-axis feedback current and quadrature-axis feedback current, which are obtained by transforming the sampled three-phase current through a coordinate transformation stage.
[0038] The direct-axis current command and the direct-axis feedback current are fed into the first comparator. The first comparator outputs a direct-axis current error signal, the value of which is the direct-axis current command minus the direct-axis feedback current.
[0039] The quadrature axis current command and the quadrature axis feedback current are fed into the second comparator. The second comparator outputs the quadrature axis current error signal, which is the quadrature axis current command minus the quadrature axis feedback current.
[0040] The direct-axis current error signal is simultaneously sent to the first input terminal and the second input terminal of the first error shunt node.
[0041] The first output of the first error shunt node transmits the direct-axis current error signal to the input of the direct-axis proportional path arithmetic unit (proportional path), and the second output of the first error shunt node transmits the direct-axis current error signal to the input of the direct-axis comparison and judgment unit (integral path).
[0042] The quadrature axis current error signal is simultaneously sent to the first input terminal of the second error shunt node and the second input terminal of the second error shunt node.
[0043] The first output of the second error shunt node transmits the quadrature-axis current error signal to the input of the quadrature-axis proportional path arithmetic unit (proportional path), and the second output of the second error shunt node transmits the quadrature-axis current error signal to the input of the quadrature-axis comparison and judgment unit (integral path).
[0044] The direct-axis current error signal is simultaneously fed into the input of the first differentiator, and the quadrature-axis current error signal is simultaneously fed into the input of the second differentiator.
[0045] The direct-axis current error signal is fed into the first differentiator, and the first differentiator outputs the time rate of change of the direct-axis current error signal.
[0046] The first differentiator performs a differentiation operation once in each sampling period. The operation is as follows: the direct-axis current error signal value at the current sampling time is subtracted from the direct-axis current error signal value at the previous sampling time, and then divided by the sampling time interval.
[0047] The sampling time interval is a preset fixed value, ranging from 50 microseconds to 500 microseconds, preferably 50 microseconds, 100 microseconds, or 200 microseconds. The selection principle for the sampling time interval is: the shorter the sampling time interval, the faster the response speed of the control system and the stronger the ability to suppress high-frequency disturbances, but the higher the requirements for the operation speed of the hardware acceleration logic circuit and the greater the power consumption; the longer the sampling time interval, the less hardware resources are consumed, but the control bandwidth is limited. The sampling time interval should be determined according to the electrical time constant of the servo motor, usually taken as 1 / 100 to 1 / 10 of the electrical time constant. For a typical servo motor with a rated speed of 3000 rpm and an electrical time constant of 5 ms, the sampling time interval is preferably 50 microseconds. In the first sampling cycle after the system starts, the output values of the first and second differentiators are zero. At this time, the direct axis comparison judge and the quadrature axis comparison judge execute according to the normal judgment logic. Since the time change rate is zero, the comparison judge outputs the integral path conduction command. To avoid the problem of excessively rapid integral accumulation that may be caused by the instantaneous activation of the integral path during startup, the direct-axis locker and quadrature-axis locker forcibly output an integral path shutdown command in the first sampling cycle after system startup, and execute the normal locking logic from the second sampling cycle onwards.
[0048] The quadrature-axis current error signal is fed into the second differentiator, which outputs the time rate of change of the quadrature-axis current error signal.
[0049] The second differentiator performs a differentiation operation once in each sampling period. The operation is as follows: subtract the cross-axis current error signal value from the cross-axis current error signal value at the previous sampling time from the current sampling time, and then divide by the sampling time interval.
[0050] In the first sampling period after the system starts up, the output of the second differentiator is zero, and the calculation is performed in the same way from the second sampling period onwards.
[0051] The direct-axis current error signal, the quadrature-axis current error signal, the time rate of change of the direct-axis current error signal, and the time rate of change of the quadrature-axis current error signal are output as the error signal group.
[0052] Direct axis (d-axis): The coordinate axis in a two-phase rotating coordinate system that is aligned with the direction of the rotor magnetic field.
[0053] Intersecting axis (q-axis): The coordinate axis perpendicular to the direction of the rotor magnetic field in a two-phase rotating coordinate system.
[0054] Current command: The desired current value output after calculation by the speed loop or position loop.
[0055] Feedback current: The actual current value obtained by sampling from the actual operation of the motor and after coordinate transformation.
[0056] Current error: The difference between the current command and the feedback current.
[0057] Comparator: A computational unit that subtracts two input signals and outputs the difference between them, including a first comparator and a second comparator.
[0058] Error splitting node: A signal distribution point that outputs the same error signal to multiple paths simultaneously, including the first error splitting node and the second error splitting node.
[0059] Differentiator: The stage that performs time differentiation on the input signal and calculates the rate of change of the output signal, including the first differentiator and the second differentiator.
[0060] Sampling time interval: The length of time between two adjacent samples.
[0061] In existing proportional-integral (PI) control structures, the error signal is typically fed directly into the proportional and integral paths. However, the processing of the error signal by the two paths is independent and lacks coordination. This step, while diverting the error signal to the proportional and integral paths, additionally generates a time rate of change signal of the error signal, providing a basis for judgment in subsequent forward-looking control based on the error change trend.
[0062] The predictive on / off command generation module is used to analyze the error signal group and generate predictive on / off commands for the integration path.
[0063] The direct-axis comparator receives the direct-axis current error signal and the time rate of change of the direct-axis current error signal.
[0064] The direct axis comparison and judgment device has preset a first direct axis error threshold and a second direct axis error threshold. The value of the second direct axis error threshold is less than the value of the first direct axis error threshold. The first direct axis error threshold is used for the on / off judgment of the direct axis comparison and judgment device, and the second direct axis error threshold is used for the unlocking judgment of the direct axis lock.
[0065] The direct-axis comparison and judgment unit executes a judgment logic once in each sampling period to determine the on / off instruction of the direct-axis integration path. The specific process is as follows: When the absolute value of the direct-axis current error signal is less than the first direct-axis error threshold, the direct-axis comparator outputs a direct-axis integral path activation command.
[0066] When the absolute value of the direct-axis current error signal is greater than or equal to the first direct-axis error threshold, the direct-axis comparator further determines the sign of the time rate of change of the direct-axis current error signal.
[0067] If the time change rate of the direct-axis current error signal is positive (i.e., the error increases with time), the direct-axis comparator outputs a direct-axis integral path shutdown command.
[0068] If the time change rate of the direct-axis current error signal is negative (i.e., the error decreases with time), the direct-axis comparator outputs a direct-axis integral path activation command.
[0069] If the time change rate of the direct-axis current error signal is zero, the direct-axis comparator outputs a direct-axis integral path activation command.
[0070] The direct-axis integral path on / off commands include the direct-axis integral path on command and the direct-axis integral path off command.
[0071] The quadrature axis comparator receives the quadrature axis current error signal and the time rate of change of the quadrature axis current error signal.
[0072] The cross-axis comparison and judgment device has preset cross-axis first error threshold and cross-axis second error threshold. The value of the cross-axis second error threshold is less than the value of the cross-axis first error threshold. The cross-axis first error threshold is used for the on / off judgment of the cross-axis comparison and judgment device, and the cross-axis second error threshold is used for the unlocking judgment of the cross-axis lock device.
[0073] The cross-axis comparison and judgment unit executes a judgment logic once in each sampling period to determine the on / off instruction of the cross-axis integration path. The specific process is as follows: When the absolute value of the quadrature axis current error signal is less than the first quadrature axis error threshold, the quadrature axis comparator outputs a quadrature axis integral path activation command.
[0074] When the absolute value of the quadrature axis current error signal is greater than or equal to the first quadrature axis error threshold, the quadrature axis comparator further determines the sign of the time rate of change of the quadrature axis current error signal.
[0075] If the time change rate of the quadrature axis current error signal is positive (i.e., the error increases with time), the quadrature axis comparator outputs a quadrature axis integral path shutdown command.
[0076] If the time change rate of the quadrature axis current error signal is negative (i.e., the error decreases with time), the quadrature axis comparator will output a quadrature axis integral path activation command.
[0077] If the time change rate of the quadrature axis current error signal is zero, the quadrature axis comparator outputs a quadrature axis integral path activation command.
[0078] The cross-axis integral path on / off commands include the cross-axis integral path on command and the cross-axis integral path off command.
[0079] The locker receives the on / off command of the direct axis integral path and the on / off command of the quadrature axis integral path from the comparison and judgment unit, and outputs the predictive on / off command of the integral path to the integral path arithmetic unit. The predictive on / off command of the integral path includes the on / off command of the direct axis integral path and the on / off command of the quadrature axis integral path. The predictive on / off command of the integral path is determined based on the comparison result of the absolute value of the current error signal with the preset threshold and the sign of the time change rate of the current error signal.
[0080] The direct-axis first error threshold, direct-axis second error threshold, quadrature-axis first error threshold, and quadrature-axis second error threshold are preset positive values, determined based on the rated current of the servo motor. The direct-axis first error threshold and quadrature-axis first error threshold range from 3% to 10% of the rated current, preferably 5% of the rated current; the direct-axis second error threshold and quadrature-axis second error threshold range from 0.5% to 2% of the rated current, preferably 1% of the rated current, and the second error threshold is less than the first error threshold. The selection principle for these thresholds is as follows: the first error threshold determines the trigger condition for the integral path shutdown; a larger value results in stronger integral action and faster response, but also increases the risk of overshoot. The second error threshold determines the hysteresis interval width for the locker to unlock; that is, after the locker enters the locked state, it must wait for the absolute value of the error signal to drop below the second error threshold before unlocking. A smaller second error threshold results in a higher degree of error recovery required for unlocking, a later integral action recovery, stronger anti-disturbance capability, but slower dynamic response. These thresholds can be adjusted online via a host computer or communication interface according to actual operating conditions.
[0081] The specific process by which the locker receives the direct-axis integration path on / off command and the quadrature-axis integration path on / off command output by the comparison and judgment unit, and outputs the predictive on / off command of the integration path to the integration path arithmetic unit is as follows: The direct-axis locker receives the direct-axis integral path on / off command output by the direct-axis comparator as input, and outputs the direct-axis integral path on / off command to the integral path arithmetic unit. The characteristics of the direct-axis locker are: it only has a locking and holding function for the direct-axis integral path off command, and does not have a locking and holding function for the direct-axis integral path on command.
[0082] The direct-axis locker checks its own state and input once in each sampling period.
[0083] When the direct axis lock is in the unlocked state (i.e., normal following state), the direct axis lock outputs the direct axis integral path on / off command, which follows the direct axis comparator outputs the direct axis integral path on / off command. If the direct axis comparator outputs the direct axis integral path off command at this time, the direct axis lock immediately enters the locked state and continues to output the direct axis integral path off command. After that, no matter what command the direct axis comparator outputs, the direct axis lock will maintain the output of the direct axis integral path off command.
[0084] After the direct-axis locker enters the locked state, it checks whether the unlocking condition is met once in each sampling period. The unlocking condition is that the absolute value of the direct-axis current error signal is less than the second error threshold of the direct axis. When the unlocking condition is met, the direct-axis locker is released from the locked state and returns to the unlocked state. The output of the direct-axis locker follows the output of the direct-axis comparator again. Before the unlocking condition is met, the direct-axis locker remains in the locked state and continuously outputs the direct-axis integral path turn-off command.
[0085] The quadrature axis locker receives the quadrature axis integral path on / off command output by the quadrature axis comparator as input, and outputs the quadrature axis integral path on / off command to the integral path arithmetic unit. The quadrature axis locker has the following characteristics: it only has a locking and holding function for the quadrature axis integral path off command, and does not have a locking and holding function for the quadrature axis integral path on command.
[0086] The cross-axis locker checks its own state and input once in each sampling period.
[0087] When the quadrature axis lock is in the unlocked state (i.e., normal following state), the quadrature axis lock outputs the quadrature axis integral path on / off command, which follows the quadrature axis comparator outputs the quadrature axis integral path on / off command. If the quadrature axis comparator outputs the quadrature axis integral path off command at this time, the quadrature axis lock immediately enters the locked state and continues to output the quadrature axis integral path off command. After that, no matter what command the quadrature axis comparator outputs, the quadrature axis lock will maintain the output of the quadrature axis integral path off command.
[0088] After the quadrature axis locker enters the locked state, it checks whether the unlocking condition is met once in each sampling period. The unlocking condition is that the absolute value of the quadrature axis current error signal is less than the second quadrature axis error threshold. When the unlocking condition is met, the quadrature axis locker is released from the locked state and returns to the unlocked state. The output of the quadrature axis locker follows the output of the quadrature axis comparator again. Before the unlocking condition is met, the quadrature axis locker remains in the locked state and continuously outputs the quadrature axis integral path turn-off command.
[0089] Integral path on / off command: A control signal that controls whether the integral path participates in the calculation, and it is divided into two states: on command and off command.
[0090] First error threshold for the direct axis: a preset reference value used for the initial judgment of the magnitude of the direct axis error, and the value is relatively large.
[0091] Second error threshold for the straight axis: a preset reference value used for judging the unlocking of the straight axis locker, the value of which is less than the first error threshold for the straight axis.
[0092] First cross-axis error threshold: A preset reference value used for the initial judgment of the magnitude of cross-axis error; the value is relatively large.
[0093] Second cross-axis error threshold: a preset reference value used for determining the unlocking of the cross-axis locker, the value of which is less than the first cross-axis error threshold.
[0094] Comparison and judgment unit: The logic judgment unit that compares the input signal with a preset threshold and outputs on / off instructions based on the comparison result, including direct axis comparison and judgment unit and quadrature axis comparison and judgment unit.
[0095] Locker: A logic device with a state lock-and-hold function. When a shutdown command is received, it enters a locked state and continuously outputs shutdown commands until a preset unlocking condition is met, at which point it resumes following the input state. This includes direct-axis lockers and quadrature-axis lockers.
[0096] A positive value of the time rate of change of the error signal indicates that the error is increasing over time, meaning that the controlled variable is deviating from the target value.
[0097] A negative value of the time rate of change of the error signal indicates that the error is decreasing over time, meaning that the controlled variable is approaching the target value.
[0098] Zero value of the time rate of change of the error signal: indicates that the error remains constant over time, that is, the controlled variable is stable at the current deviation state.
[0099] Rated current: The maximum current that the servo motor is allowed to carry continuously under rated operating conditions.
[0100] Existing anti-integral saturation schemes typically isolate the integral stage simply when the error exceeds a certain threshold, representing a hard switch based on a single threshold. This step employs a dual-judgment mechanism: first, it determines whether the absolute value of the error exceeds the first direct-axis error threshold (or the first quadrature-axis error threshold); second, it assesses the error's trend (increasing, decreasing, or remaining unchanged), and combines this with a hysteresis-based unlocking mechanism of the lock (unlocking only when the error drops below a smaller second direct-axis or quadrature-axis error threshold). This ensures that the integral path's shutdown is based not only on the current error magnitude but also on its future trend (the sign of the error's rate of change indicates whether the error tends to increase, decrease, or remain unchanged), achieving predictive suppression of integral saturation rather than a passive response. Simultaneously, the lock's design ensures that the integral path does not frequently switch between off and on, avoiding control output jitter.
[0101] The dominance relationship setting module is used to set the dominance relationship between the proportional path output and the integral path input for the error signal group and in combination with the predictive on / off command of the integral path, so as to obtain the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis integral accumulation value, and the quadrature-axis integral accumulation value.
[0102] The direct-axis proportional component and the quadrature-axis proportional component output by the proportional path operator are used as the accumulated inputs of the direct-axis integral path operator and the quadrature-axis integral path operator, respectively, so that the output of the proportional path is also used as the input of the integral path, in order to establish the signal transmission relationship between the proportional path output and the integral path input, and obtain the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis integral accumulated value, and the quadrature-axis integral accumulated value.
[0103] Input the direct-axis current error signal to the direct-axis proportional path calculator.
[0104] The linear axis proportional path calculator has a preset linear axis proportional gain value.
[0105] The direct-axis proportional path operator multiplies the direct-axis current error signal by the direct-axis proportional gain value to obtain the direct-axis proportional component.
[0106] The direct-axis proportional path operator outputs the direct-axis proportional component simultaneously to the first input of the direct-axis summer and the input of the direct-axis integral path operator.
[0107] The first direction output is sent to the first input terminal of the direct-axis summer, serving as the proportional input of the direct-axis summer.
[0108] The second direction output is sent to the input of the direct-axis integrator path operator, serving as the accumulated input of the direct-axis integrator path operator.
[0109] Input the quadrature axis current error signal to the quadrature axis proportional path calculator.
[0110] The cross-axis proportional path calculator has a preset cross-axis proportional gain value.
[0111] The cross-axis proportional path operator multiplies the cross-axis current error signal by the cross-axis proportional gain value to obtain the cross-axis proportional component.
[0112] The cross-axis proportional path operator outputs the cross-axis proportional component simultaneously to the first input of the cross-axis summer and the input of the cross-axis integral path operator.
[0113] The first direction output is sent to the first input of the cross-axis summer, serving as the proportional input of the cross-axis summer.
[0114] The second direction output is sent to the input of the cross-axis integral path operator, serving as the accumulated input of the cross-axis integral path operator.
[0115] Based on the direct-axis proportional component and the cross-axis proportional component output by the proportional path operator, the cumulative value of the direct-axis integral and the cumulative value of the cross-axis integral are output.
[0116] The specific process of outputting the direct-axis proportional component and the quadrature-axis proportional component based on the output of the proportional path calculator is as follows: The direct-axis integral path operator receives the direct-axis proportional component output by the direct-axis proportional path operator as the input to be accumulated, and at the same time receives the direct-axis integral path on / off command as the control input.
[0117] The direct-axis integral path operator has a preset direct-axis integral gain value.
[0118] When the system starts up, the initial value of the direct-axis integral accumulation is set to zero, and the direct-axis integral path operator performs an accumulation operation once in each sampling period.
[0119] When the direct-axis integration path on / off command is a direct-axis integration path on command, the direct-axis integration path arithmetic unit performs an accumulation operation: Multiply the direct-axis proportional component received in the current sampling period by the direct-axis integral gain value to obtain the direct-axis integral increment. Then add the direct-axis integral increment to the direct-axis integral accumulation value of the previous sampling period to obtain the direct-axis integral accumulation value of the current sampling period.
[0120] When the direct-axis integration path on / off command is a direct-axis integration path off command, the direct-axis integration path arithmetic unit suspends accumulation operation: The cumulative value of the direct-axis integral remains unchanged from the value of the previous sampling period.
[0121] The direct-axis integral path operator outputs the cumulative direct-axis integral value to the input of the direct-axis dynamic limiter.
[0122] The cross-axis integral path operator receives the cross-axis proportional component output by the cross-axis proportional path operator as the input to be accumulated, and at the same time receives the cross-axis integral path on / off command as the control input.
[0123] The cross-axis integral path operator has a preset cross-axis integral gain value.
[0124] When the system starts up, the initial value of the cross-axis integral accumulation is set to zero, and the cross-axis integral path operator performs an accumulation operation once in each sampling period.
[0125] When the quadrature axis integration path on / off command is a quadrature axis integration path on command, the quadrature axis integration path arithmetic unit performs an accumulation operation: Multiply the cross-axis proportional component received in the current sampling period by the cross-axis integral gain value to obtain the cross-axis integral increment. Then add the cross-axis integral increment to the cross-axis integral accumulation value of the previous sampling period to obtain the cross-axis integral accumulation value of the current sampling period.
[0126] When the quadrature axis integration path on / off command is a quadrature axis integration path off command, the quadrature axis integration path arithmetic unit suspends accumulation operation: The accumulated value of the cross-axis integral remains unchanged from the value of the previous sampling period.
[0127] The cross-axis integral path calculator outputs the accumulated cross-axis integral value to the input of the cross-axis dynamic limiter.
[0128] The direct-axis proportional gain, quadrature-axis proportional gain, direct-axis integral gain, and quadrature-axis integral gain are preset positive values. The preset process is as follows: First, based on motor parameters such as rated current, rated voltage, winding inductance, and winding resistance, initial gain values are obtained through theoretical calculations. Then, step response tests are performed under no-load and full-load conditions, and the gain values are fine-tuned based on the response speed and overshoot. The final determined gain values are based on performance indicators such as rise time, settling time, and overshoot. These gain values can also be adjusted online during system operation via a host computer or communication interface.
[0129] Proportional path calculator: The calculation unit that multiplies the error signal by the proportional gain, including direct-axis proportional path calculator and quadrature-axis proportional path calculator.
[0130] Integrator path calculator: The calculation unit that multiplies the input signal by the integral gain and then accumulates the results, including direct-axis integrator path calculator and quadrature-axis integrator path calculator.
[0131] Proportional component: The value output by the proportional path calculator is proportional to the current error signal.
[0132] Accumulated integral value: The value accumulated by the integral path operator reflects the effect of the error signal accumulating over time.
[0133] Accumulated input: The source of the signal that needs to be accumulated in the integral path operator.
[0134] Integral increment: The amount by which the cumulative integral value increases within each sampling period.
[0135] In traditional proportional-integral (PI) controllers, the integral path accumulates the error signal itself (i.e., the error signal is directly multiplied by the integral gain and then accumulated). In this step, the integral path accumulates the output of the proportional path (i.e., the error signal is first multiplied by the proportional gain, then by the integral gain, and then accumulated). The fundamental difference lies in this structural difference: adjusting the proportional gain not only affects the magnitude of the proportional component but also influences the accumulation rate of the integral value by affecting the input being accumulated in the integral path; adjusting the integral gain primarily affects the accumulation rate of the integral value, without affecting the magnitude of the proportional component. This achieves partial decoupling between the proportional and integral gains. Adjusting the integral gain does not affect the proportional component, and while it does affect the integral accumulation rate, this effect is regular and predictable, unlike the entangled coupling found in traditional controllers. Therefore, adjusting the integral gain does not affect the proportional component, and its impact on the integral accumulation rate is regular and predictable, thus reducing the difficulty of parameter tuning.
[0136] The dynamic limiting processing module is used to perform dynamic limiting processing based on the cumulative value of the direct axis integral, the cumulative value of the quadrature axis integral, and the error signal group, and output the integral value after direct axis limiting and the integral value after quadrature axis limiting.
[0137] The direct-axis dynamic limiter receives the direct-axis integral accumulated value as the input to be limited, and receives the direct-axis current error signal as the limit reference input.
[0138] The direct-axis dynamic limiter has a preset direct-axis limiting coefficient, which is a value greater than zero and less than one, with a typical value between 0.6 and 0.9.
[0139] The direct-axis dynamic limiter calculates the upper and lower limits of the direct-axis integral based on the direct-axis current error signal in each sampling period, as follows: The upper limit of the direct-axis integral is calculated as follows: take the absolute value of the direct-axis current error signal, multiply the absolute value of the direct-axis current error signal by the direct-axis limiting coefficient, and obtain the upper limit of the direct-axis integral.
[0140] The lower limit of the direct-axis integral is calculated by inverting the upper limit of the direct-axis integral, which gives the lower limit. In other words, the lower limit of the direct-axis integral is equal to the negative upper limit of the direct-axis integral.
[0141] The direct-axis dynamic limiter compares the accumulated direct-axis integral value with the upper and lower limits of the direct-axis integral value and executes the following limiting logic: If the cumulative value of the direct-axis integral is greater than the upper limit of the direct-axis integral, then the integral value after direct-axis limiting shall be the upper limit of the direct-axis integral.
[0142] If the cumulative value of the direct-axis integral is less than the lower limit of the direct-axis integral, then the integral value after direct-axis limiting is taken as the lower limit of the direct-axis integral.
[0143] If the cumulative value of the direct-axis integral is greater than or equal to the lower limit of the direct-axis integral and less than or equal to the upper limit of the direct-axis integral, then the integral value after direct-axis limiting is the cumulative value of the direct-axis integral itself.
[0144] The quadrature axis dynamic limiter receives the quadrature axis integral accumulated value as the input to be limited, and receives the quadrature axis current error signal as the limiting reference input.
[0145] The cross-axis dynamic limiter has a preset cross-axis limiting coefficient, which is a value greater than zero and less than one, with a typical value between 0.6 and 0.9.
[0146] The quadrature-axis dynamic limiter calculates the upper and lower limits of the quadrature-axis integral based on the quadrature-axis current error signal in each sampling period, as follows: The upper limit of the quadrature axis integral is calculated as follows: take the absolute value of the quadrature axis current error signal, multiply the absolute value of the quadrature axis current error signal by the quadrature axis limiting coefficient, and obtain the upper limit of the quadrature axis integral.
[0147] The lower limit of the cross-axis integral is calculated by inverting the upper limit of the cross-axis integral, which gives the lower limit. In other words, the lower limit of the cross-axis integral is equal to the negative upper limit of the cross-axis integral.
[0148] The cross-axis dynamic limiter compares the accumulated cross-axis integral value with the upper and lower limits of the cross-axis integral value and executes the following limiting logic: If the cumulative value of the cross-axis integral is greater than the upper limit of the cross-axis integral, then the cross-axis limited integral value is taken as the upper limit of the cross-axis integral.
[0149] If the cumulative value of the cross-axis integral is less than the lower limit of the cross-axis integral, then the cross-axis integral value after limiting is taken as the lower limit of the cross-axis integral.
[0150] If the sum of the cross-axis integrals is greater than or equal to the lower limit of the cross-axis integral and less than or equal to the upper limit of the cross-axis integral, then the cross-axis limited integral value is the sum of the cross-axis integrals themselves.
[0151] The direct-axis limiting coefficient and the quadrature-axis limiting coefficient are preset proportional coefficients used to calculate the integral limiting value. Their values range from greater than zero to less than one, and the specific range and setting are adjusted and preset by professionals in the relevant field. The preset process is as follows: determined based on the rated current value of the servo motor and the desired integral action intensity, the closer the coefficient is to one, the wider the allowed integral accumulation range and the stronger the integral action; the closer the coefficient is to zero, the narrower the allowed integral accumulation range and the weaker the integral action. An exemplary preset process is as follows: for application scenarios requiring fast response, the direct-axis limiting coefficient and the quadrature-axis limiting coefficient are preset to 0.8; for application scenarios requiring stable operation and avoiding overshoot, the direct-axis limiting coefficient and the quadrature-axis limiting coefficient are preset to 0.6. The above limiting coefficients can also be adjusted online during system operation via a host computer or communication interface.
[0152] Dynamic limiter: A limiting element whose limiting value changes in real time with the input signal, unlike a static limiter whose limiting value is fixed. It includes direct-axis dynamic limiters and quadrature-axis dynamic limiters.
[0153] Direct axis limiting factor: A preset proportional factor used to calculate the upper limit of the direct axis integral, with a value between zero and one.
[0154] Cross-axis limiting factor: A preset proportional factor used to calculate the upper limit of the cross-axis integral, with a value between zero and one.
[0155] Maximum score: The maximum score that can be accumulated.
[0156] Integral lower limit: The minimum value that the accumulated integral value is allowed to reach.
[0157] Existing limiting methods typically employ fixed upper and lower limits. This step uses dynamic limiting, where the limit value changes in real time according to the magnitude of the current error signal. A larger error allows for a wider allowable integral accumulation range, while a smaller error allows for a narrower allowable range. This ensures that the integral accumulation value is always limited to a reasonable range that matches the current error magnitude, avoiding the unreasonable situation where fixed limiting allows for a large integral accumulation value even with a small error, and also preventing the useful accumulation of the integral accumulation value from being prematurely truncated when the error is large.
[0158] The servo motor drive control module is used to generate a voltage command signal based on the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis amplitude-limited integral value, and the quadrature-axis amplitude-limited integral value. After performing coordinate inverse transformation and pulse width modulation on the voltage command signal based on SIP, the switching signal for driving the power inverter is obtained.
[0159] The voltage command signal is sent to the hardware acceleration logic circuit inside the SIP to perform inverse coordinate transformation and pulse width modulation signal generation, thereby obtaining the switching signal to drive the power inverter.
[0160] The direct-axis summer receives the direct-axis proportional component as the first input and the direct-axis limited integral value as the second input. The direct-axis summer adds the direct-axis proportional component and the direct-axis limited integral value to obtain the original value of the direct-axis voltage command.
[0161] The quadrature-axis summer receives the quadrature-axis proportional component as the first input and the quadrature-axis limited integral value as the second input. The quadrature-axis summer adds the quadrature-axis proportional component and the quadrature-axis limited integral value to obtain the value before the quadrature-axis voltage command.
[0162] The integral values after direct-axis limiting and quadrature-axis limiting are the results of limiting the cumulative values of direct-axis and quadrature-axis integrals, respectively, and their dimensions are the same as the corresponding cumulative values of integrals. When the summators are used, the proportional component and the integral value after limiting have the same voltage dimension.
[0163] The direct-axis output limiter receives the previous value of the direct-axis voltage command as input, and internally presets the upper limit value and the lower limit value of the direct-axis output voltage.
[0164] The preset process for the upper and lower limits of the direct-axis output voltage is as follows: The upper limit of the direct-axis output voltage is determined based on the DC bus voltage of the servo motor and the maximum output voltage of the power inverter. The upper limit of the direct-axis output voltage is taken as a value between 90% and 95% of the DC bus voltage, and the lower limit is taken as the opposite of the upper limit. For example, if the DC bus voltage is 300 volts, the upper limit of the direct-axis output voltage is preset to 285 volts, and the lower limit is preset to -285 volts.
[0165] The direct-axis output limiter compares the previous value of the direct-axis voltage command with the upper and lower limits of the direct-axis output voltage, and executes the following limiting logic: If the current value of the direct axis voltage command is greater than the upper limit of the direct axis output voltage, then the direct axis voltage command signal takes the upper limit of the direct axis output voltage.
[0166] If the value before the direct axis voltage command is less than the lower limit of the direct axis output voltage, then the direct axis voltage command signal takes the lower limit of the direct axis output voltage.
[0167] If the value before the direct-axis voltage command is greater than or equal to the lower limit of the direct-axis output voltage and less than or equal to the upper limit of the direct-axis output voltage, then the direct-axis voltage command signal takes the value before the direct-axis voltage command.
[0168] The quadrature-axis output limiter receives the previous value of the quadrature-axis voltage command as input, and internally presets the upper limit value and lower limit value of the quadrature-axis output voltage.
[0169] The preset process for the upper and lower limits of the quadrature axis output voltage is the same as that for the direct axis: it is determined based on the DC bus voltage of the servo motor and the maximum output voltage of the power inverter. The upper limit of the quadrature axis output voltage is taken as a value between 90% and 95% of the DC bus voltage, and the lower limit of the quadrature axis output voltage is taken as the opposite of the upper limit of the quadrature axis output voltage.
[0170] The quadrature-axis output limiter compares the previous value of the quadrature-axis voltage command with the upper and lower limits of the quadrature-axis output voltage, and executes the following limiting logic: If the value before the quadrature axis voltage command is greater than the upper limit of the quadrature axis output voltage, then the quadrature axis voltage command signal takes the upper limit of the quadrature axis output voltage.
[0171] If the value before the quadrature axis voltage command is less than the lower limit of the quadrature axis output voltage, then the quadrature axis voltage command signal takes the lower limit of the quadrature axis output voltage.
[0172] If the value before the quadrature axis voltage command is greater than or equal to the lower limit of the quadrature axis output voltage and less than or equal to the upper limit of the quadrature axis output voltage, then the quadrature axis voltage command signal takes the value before the quadrature axis voltage command.
[0173] Voltage command signals include direct-axis voltage command signals and quadrature-axis voltage command signals.
[0174] The direct-axis voltage command signal and the quadrature-axis voltage command signal are voltage vector components in a two-phase rotating coordinate system, and cannot directly drive the three-phase stator windings of a servo motor.
[0175] like Figure 3 As shown, the direct-axis voltage command signal and the quadrature-axis voltage command signal are fed into the inverse Park transformation stage to be converted into α-axis voltage components and β-axis voltage components in a two-phase stationary coordinate system.
[0176] The inverse Park transformation uses the cosine and sine values of the rotor's electrical angle to perform coordinate rotation calculations: α-axis voltage component = direct-axis voltage command signal × cosine of rotor electrical angle - quadrature-axis voltage command signal × sine of rotor electrical angle.
[0177] β-axis voltage component = direct-axis voltage command signal × sine of rotor electrical angle + quadrature-axis voltage command signal × cosine of rotor electrical angle.
[0178] The rotor electrical angle is detected and provided in real time by a rotor position detection device (such as an encoder or a rotary transformer).
[0179] The α-axis voltage components and β-axis voltage components are fed into the inverse Clarke transform stage to convert them into instantaneous values of phase U, phase V, and phase W voltages in the three-phase stationary coordinate system, which are denoted as the three-phase voltage instantaneous values.
[0180] The instantaneous value of the U-phase voltage equals the voltage component of the α-axis.
[0181] Instantaneous value of phase V voltage = -1 / 2 × α-axis voltage component + √3 / 2 × β-axis voltage component.
[0182] The instantaneous value of phase W voltage = -1 / 2 × α-axis voltage component - √3 / 2 × β-axis voltage component.
[0183] The instantaneous three-phase voltage values (U-phase, V-phase, and W-phase) obtained at this point are the equivalent modulation waves of space vector pulse width modulation (SVPWM). Their waveform is no longer a standard three-phase symmetrical sine wave, but rather a waveform with a zero-sequence component injected into it, enabling higher DC bus voltage utilization. The inverse Clarke transform stage outputs the instantaneous U-phase, V-phase, and W-phase voltage values to the three comparator inputs of the comparator array, respectively.
[0184] The instantaneous values of the three-phase voltages are equivalent modulation wave signals of space vector pulse width modulation (SVPWM). The waveform is a saddle-shaped wave formed by superimposing a zero-sequence component on a standard sine wave. The instantaneous values of the U-phase voltage, V-phase voltage, and W-phase voltage are compared with a high-frequency triangular carrier signal.
[0185] When the instantaneous values of the U-phase voltage, V-phase voltage, and W-phase voltage are greater than the instantaneous value of the triangular carrier wave, a high level is output; when the instantaneous values of the U-phase voltage, V-phase voltage, and W-phase voltage are less than the instantaneous value of the triangular carrier wave, a low level is output, generating a switching signal to drive the power inverter.
[0186] The switching signals driving the power inverter control the conduction and cutoff of the six power switching devices in the power inverter, so that the power inverter inverts the DC bus voltage into a three-phase sinusoidal AC voltage with controlled frequency and amplitude, which is applied to the stator winding of the servo motor, forming a rotating magnetic field in the three-phase stator winding. The rotating magnetic field interacts with the magnetic field of the rotor permanent magnet to generate electromagnetic torque, driving the rotor of the servo motor to rotate.
[0187] A high-frequency triangular carrier signal is a periodic reference signal with a fixed frequency, fixed amplitude, and a triangular waveform (either linearly rising and then linearly falling, or linearly falling and then linearly rising). Its frequency is usually from several kilohertz to tens of kilohertz. It is used to compare with the instantaneous values of the three-phase voltage to generate the switching signal for driving the power inverter.
[0188] In digital control systems, high-frequency triangular carrier signals are generated by timer / counter modules within field-programmable gate arrays (FPGAs) or microcontroller units. Specifically, the timer increments from zero to a preset period, then flips to decrement to zero, and repeats this process. The instantaneous value of the counter corresponds to the instantaneous value of the triangular carrier wave. The timer's clock frequency determines the frequency of the triangular carrier wave, and the period determines its amplitude.
[0189] The first comparator receives the instantaneous value of the U-phase voltage as the modulation wave input and compares it with the instantaneous value of the triangular carrier wave. When the instantaneous value of the U-phase voltage is greater than the instantaneous value of the triangular carrier wave, the first comparator outputs a high level (commanding the upper bridge arm power switch of the U-phase to turn on and the lower bridge arm power switch of the U-phase to turn off); when the instantaneous value of the U-phase voltage is less than the instantaneous value of the triangular carrier wave, the first comparator outputs a low level (commanding the upper bridge arm power switch of the U-phase to turn off and the lower bridge arm power switch of the U-phase to turn on).
[0190] The second comparator receives the instantaneous value of the V-phase voltage as the modulation wave input and compares it with the same instantaneous value of the triangular carrier wave: when the instantaneous value of the V-phase voltage is greater than the instantaneous value of the triangular carrier wave, the second comparator outputs a high level; when the instantaneous value of the V-phase voltage is less than the instantaneous value of the triangular carrier wave, the second comparator outputs a low level. The high and low levels of the second comparator control the on and off states of the power switching devices in the upper and lower arms of the V-phase bridge, respectively.
[0191] The third comparator receives the instantaneous value of the W-phase voltage as the modulation wave input and compares it with the same instantaneous value of the triangular carrier wave: when the instantaneous value of the W-phase voltage is greater than the instantaneous value of the triangular carrier wave, the third comparator outputs a high level; when the instantaneous value of the W-phase voltage is less than the instantaneous value of the triangular carrier wave, the third comparator outputs a low level. The high and low levels of the third comparator control the on and off states of the power switching devices in the upper and lower arms of the W-phase bridge, respectively.
[0192] The output signal of the first comparator and its complementary signal (inverted by a NOT gate) constitute a pair of pulse width modulation (PWM) switching signals for phase U (the upper and lower bridge arm drive signals of phase U). The output signal of the second comparator and its complementary signal (inverted by a NOT gate) constitute a pair of PWM switching signals for phase V. The output signal of the third comparator and its complementary signal (inverted by a NOT gate) constitute a pair of PWM switching signals for phase W. These three pairs, totaling six PWM switching signals, are simultaneously output from the space vector PWM signal generation stage to the control terminals of the six power switching devices of the power inverter. These six PWM switching signals are the switching signals that drive the power inverter.
[0193] The switching signals driving the power inverter control the on and off of the six power switching devices at high frequency according to the above rules. When the upper arm of phase U is on and the lower arm is off, the output terminal of phase U is connected to the positive terminal of the DC bus, and the phase U voltage is the positive half-amplitude of the DC bus voltage; when the upper arm of phase U is off and the lower arm is on, the output terminal of phase U is connected to the negative terminal of the DC bus, and the phase U voltage is the negative half-amplitude of the DC bus voltage. The same applies to phases V and W.
[0194] Because the switching frequency is much higher than the motor's time constant (the switching frequency is typically in the range of several kilohertz to tens of kilohertz, while the motor's electrical time constant is in the millisecond range), the high-frequency pulsating voltage at the three-phase output is filtered by the inherent inductance of the motor's stator windings, forming a smooth sinusoidal current in the windings. This sinusoidal current generates a rotating magnetic field in the stator windings, and the interaction between this rotating magnetic field and the magnetic field of the rotor's permanent magnets produces electromagnetic torque, driving the servo motor's rotor to rotate continuously.
[0195] Summer: An operational unit that adds multiple input signals together, including direct-axis summers and quadrature-axis summers.
[0196] Output limiter: A limiting element that restricts the input signal to a preset fixed upper and lower limit value, including direct-axis output limiter and quadrature-axis output limiter.
[0197] Voltage command preceding value: Voltage command value before output limiting processing.
[0198] Voltage command signal: The final output voltage command value after output limiting processing.
[0199] Upper limit of direct axis output voltage: The maximum value that the direct axis voltage command signal is allowed to reach.
[0200] Direct-axis output voltage lower limit: The minimum value that the direct-axis voltage command signal is allowed to reach.
[0201] Quadrature-axis output voltage upper limit: The maximum value that the quadrature-axis voltage command signal is allowed to reach.
[0202] Quadrature-axis output voltage lower limit: The minimum value that the quadrature-axis voltage command signal is allowed to reach.
[0203] Inverse Park transformation: A mathematical transformation that converts quantities in a two-phase rotating coordinate system back to quantities in a two-phase stationary coordinate system.
[0204] Space vector pulse width modulation: a pulse width modulation technique that synthesizes voltage vectors in a space vector manner on a complex plane to generate switching signals for driving power inverters.
[0205] DC bus voltage: The voltage value on the DC input side of the power inverter.
[0206] Existing technologies generally employ an architecture of digital signal processor (DSP) + field-programmable gate array (FPGA) or pure DSP / microcontroller unit (MCU). Inverse Park transform, inverse Clarke transform, and space vector pulse width modulation (SVM) are performed by the DSP or MCU through software code execution. Furthermore, the DSP and FPGA, as two independent physical chips, need to communicate via printed circuit board traces and external buses, resulting in delays in instruction reading, decoding, execution, and inter-chip communication. This solution, however, directly implements all coordinate transformation and pulse width modulation signal generation within the system-in-package (SoC) hardware acceleration logic circuit as hardware logic gates. This eliminates the need for line-by-line interpretation and execution of software instructions. Moreover, the hardware acceleration logic circuit and the MCU responsible for system management are integrated within the same SoC, exchanging data through an internal chip interconnect network. This eliminates external communication delays between chips, thereby reducing the control loop response time from microseconds to nanoseconds, making it fixed and predictable, unaffected by software scheduling and interrupts. This fundamentally solves the problem of traditional solutions failing to meet the real-time requirements of ultra-fast response scenarios due to software processing delays.
[0207] Reference Figure 2 As shown, the second aspect of the present invention provides a servo motor drive control method based on SIP, comprising the following steps: Within the hardware acceleration logic circuitry of the SIP, the current error signal is decomposed and split in parallel based on the current command signal and the feedback current signal, and an error signal group is output.
[0208] The error signal set is analyzed to generate predictive on / off commands for the integration path.
[0209] By combining the error signal group with the predictive on / off command of the integral path, the dominance relationship between the proportional path output and the integral path input is set, resulting in the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis integral accumulation value, and the quadrature-axis integral accumulation value.
[0210] Based on the cumulative value of the direct-axis integral, the cumulative value of the quadrature-axis integral, and the error signal group, dynamic limiting processing is performed, and the integral value after direct-axis limiting and quadrature-axis limiting are output.
[0211] Based on the direct-axis proportional component, the quadrature-axis proportional component, the integral value after direct-axis limiting, and the integral value after quadrature-axis limiting, a voltage command signal is generated. The voltage command signal is then subjected to inverse coordinate transformation and pulse width modulation signal generation based on SIP to obtain the switching signal for driving the power inverter.
[0212] The above description is merely an example and illustration of the structure of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the structure of the invention or exceed the scope defined in the claims, all of which should fall within the protection scope of the present invention.
Claims
1. A SIP-based servo motor drive control system, characterized in that, include: The current error signal processing module is used in the hardware acceleration logic circuit inside the SIP to perform parallel decomposition and splitting of the current error signal according to the current command signal and the feedback current signal, and output the error signal group. The predictive on / off command generation module is used to analyze the error signal group and generate predictive on / off commands for the integration path. The dominance relationship setting module is used to set the dominance relationship between the proportional path output and the integral path input for the error signal group and in combination with the predictive on / off command of the integral path, so as to obtain the direct axis proportional component, the quadrature axis proportional component, the direct axis integral accumulation value, and the quadrature axis integral accumulation value. The dynamic limiting processing module is used to perform dynamic limiting processing based on the cumulative value of the direct axis integral, the cumulative value of the quadrature axis integral, and the error signal group, and output the integral value after direct axis limiting and the integral value after quadrature axis limiting. The servo motor drive control module is used to generate a voltage command signal based on the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis amplitude-limited integral value, and the quadrature-axis amplitude-limited integral value. After performing coordinate inverse transformation and pulse width modulation on the voltage command signal based on SIP, the switching signal for driving the power inverter is obtained.
2. The SIP-based servo motor drive control system according to claim 1, characterized in that, Based on the current command signal and the feedback current signal, the parallel decomposition and current splitting of the current error signal are performed, and the specific process of outputting the error signal group is as follows: Acquire current command signals and feedback current signals; current command signals include direct-axis current commands and quadrature-axis current commands; feedback current signals include direct-axis feedback current and quadrature-axis feedback current. The direct-axis current command and the direct-axis feedback current are fed into the first comparator. The first comparator outputs the direct-axis current error signal. The value of the direct-axis current error signal is the direct-axis current command minus the direct-axis feedback current. The quadrature axis current command and the quadrature axis feedback current are fed into the second comparator. The second comparator outputs the quadrature axis current error signal. The value of the quadrature axis current error signal is the quadrature axis current command minus the quadrature axis feedback current. The direct-axis current error signal is simultaneously fed into the first input terminal and the second input terminal of the first error shunt node; The first output of the first error shunt node transmits the direct-axis current error signal to the input of the direct-axis proportional path operator, and the second output transmits the direct-axis current error signal to the input of the direct-axis comparison and judgment unit. The quadrature axis current error signal is simultaneously fed into the first and second input terminals of the second error shunt node. The first output of the second error shunt node transmits the quadrature axis current error signal to the input of the quadrature axis proportional path operator, and the second output transmits the quadrature axis current error signal to the input of the quadrature axis comparison and judgment unit. The direct-axis current error signal is fed into the first differentiator, and the first differentiator outputs the time rate of change of the direct-axis current error signal. The first differentiator performs a differentiation operation once in each sampling period. The operation is as follows: the direct-axis current error signal value at the current sampling moment is subtracted from the direct-axis current error signal value at the previous sampling moment, and then divided by the sampling time interval. The quadrature-axis current error signal is fed into the second differentiator, and the second differentiator outputs the time rate of change of the quadrature-axis current error signal. The second differentiator performs a differentiation operation once in each sampling period. The operation is as follows: the quadrature axis current error signal value at the current sampling time is subtracted from the quadrature axis current error signal value at the previous sampling time, and then divided by the sampling time interval. The direct-axis current error signal, the quadrature-axis current error signal, the time rate of change of the direct-axis current error signal, and the time rate of change of the quadrature-axis current error signal are output as the error signal group.
3. The SIP-based servo motor drive control system according to claim 1, characterized in that, The specific process of analyzing the error signal group and generating predictive on / off commands for the integration path is as follows: The direct-axis comparator receives the direct-axis current error signal and the time rate of change of the direct-axis current error signal; The direct axis comparison and judgment unit internally presets a first direct axis error threshold and a second direct axis error threshold; The direct-axis comparison and judgment unit executes a judgment logic once in each sampling period to determine the on / off instruction of the direct-axis integration path. The specific process is as follows: When the absolute value of the direct-axis current error signal is less than the first direct-axis error threshold, the direct-axis comparator outputs a direct-axis integral path conduction command; otherwise, the direct-axis comparator further determines the sign of the time rate of change of the direct-axis current error signal. If the time change rate of the direct-axis current error signal is positive, the direct-axis comparator outputs a direct-axis integral path turn-off command; otherwise, the direct-axis comparator outputs a direct-axis integral path turn-on command. The cross-axis comparison and judgment unit internally presets a first cross-axis error threshold and a second cross-axis error threshold; The cross-axis comparison and judgment unit executes a judgment logic once in each sampling period to determine the on / off instruction of the cross-axis integration path. The specific process is as follows: When the absolute value of the quadrature axis current error signal is less than the first quadrature axis error threshold, the quadrature axis comparator outputs a quadrature axis integral path conduction command; otherwise, the quadrature axis comparator further determines the sign of the time rate of change of the quadrature axis current error signal. If the time change rate of the quadrature axis current error signal is positive, the quadrature axis comparator outputs a quadrature axis integral path turn-off command; otherwise, the quadrature axis comparator outputs a quadrature axis integral path turn-on command. The locker receives the on / off command of the direct axis integral path and the on / off command of the quadrature axis integral path from the comparison and judgment unit, and outputs the predictive on / off command of the integral path, which includes the on / off command of the direct axis integral path and the on / off command of the quadrature axis integral path.
4. The SIP-based servo motor drive control system according to claim 3, characterized in that, The specific process by which the locker receives the direct-axis integration path on / off command and the quadrature-axis integration path on / off command output by the comparison and judgment unit, and outputs the predictive on / off command of the integration path to the integration path arithmetic unit is as follows: When the direct axis lock is in the unlocked state, the direct axis lock outputs the direct axis integral path on / off command, which follows the direct axis comparator outputs the direct axis integral path on / off command. If the direct axis comparator outputs the direct axis integral path off command at this time, the direct axis lock immediately enters the locked state and continues to output the direct axis integral path off command. After that, no matter what command the direct axis comparator outputs, the direct axis lock will maintain the output of the direct axis integral path off command. After the direct axis locker enters the locked state, it checks whether the unlocking condition is met once in each sampling period. The unlocking condition is that the absolute value of the direct axis current error signal is less than the second error threshold of the direct axis. When the unlocking condition is met, the direct axis locker is released from the locked state and returns to the unlocked state. The output of the direct axis locker follows the output of the direct axis comparison and judgment unit again. When the quadrature axis lock is in the unlocked state, the quadrature axis lock outputs the quadrature axis integral path on / off command, which follows the quadrature axis comparator outputs the quadrature axis integral path on / off command. If the quadrature axis comparator outputs the quadrature axis integral path off command at this time, the quadrature axis lock immediately enters the locked state and continues to output the quadrature axis integral path off command. After that, no matter what command the quadrature axis comparator outputs, the quadrature axis lock will maintain the output of the quadrature axis integral path off command. After the quadrature axis locker enters the locked state, it checks whether the unlocking condition is met once in each sampling period. The unlocking condition is that the absolute value of the quadrature axis current error signal is less than the second quadrature axis error threshold. When the unlocking condition is met, the quadrature axis locker is released from the locked state and returns to the unlocked state. The output of the quadrature axis locker then follows the output of the quadrature axis comparator.
5. The SIP-based servo motor drive control system according to claim 1, characterized in that, The specific process of setting the dominance of the proportional path output over the integral path input to obtain the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis integral accumulation value, and the quadrature-axis integral accumulation value is as follows: Input the direct-axis current error signal to the direct-axis proportional path calculator; The direct-axis proportional path calculator has a preset direct-axis proportional gain value. The direct-axis proportional path operator multiplies the direct-axis current error signal by the direct-axis proportional gain value to obtain the direct-axis proportional component; Input the quadrature-axis current error signal to the quadrature-axis proportional path calculator; The cross-axis proportional path calculator has a preset cross-axis proportional gain value. The cross-axis proportional path calculator multiplies the cross-axis current error signal by the cross-axis proportional gain value to obtain the cross-axis proportional component; Based on the direct-axis proportional component and the cross-axis proportional component output by the proportional path operator, the cumulative value of the direct-axis integral and the cumulative value of the cross-axis integral are output.
6. The SIP-based servo motor drive control system according to claim 5, characterized in that, The specific process of outputting the direct-axis proportional component and the quadrature-axis proportional component based on the output of the proportional path calculator is as follows: The direct-axis integral path arithmetic unit receives the direct-axis proportional component output by the direct-axis proportional path arithmetic unit as the input to be accumulated, and at the same time receives the direct-axis integral path on / off command as the control input. The direct-axis integral path calculator has a preset direct-axis integral gain value. The initial value of the accumulated value of the direct-axis integral is set to zero; When the direct-axis integration path on / off command is a direct-axis integration path on command, the direct-axis integration path arithmetic unit performs an accumulation operation: Multiply the direct-axis proportional component received in the current sampling period by the direct-axis integral gain value to obtain the direct-axis integral increment. Then add the direct-axis integral increment to the direct-axis integral accumulation value of the previous sampling period to obtain the direct-axis integral accumulation value of the current sampling period. When the direct-axis integration path on / off command is a direct-axis integration path off command, the direct-axis integration path arithmetic unit suspends accumulation operation: The cumulative value of the direct-axis integral remains unchanged from the value of the previous sampling period; The cross-axis integral path operator receives the cross-axis proportional component output by the cross-axis proportional path operator as the input to be accumulated, and at the same time receives the cross-axis integral path on / off command as the control input. The cross-axis integral path calculator has a preset cross-axis integral gain value. The initial value of the accumulated value of the cross-axis integral is set to zero; When the quadrature axis integration path on / off command is a quadrature axis integration path on command, the quadrature axis integration path arithmetic unit performs an accumulation operation: Multiply the cross-axis proportional component received in the current sampling period by the cross-axis integral gain value to obtain the cross-axis integral increment. Then add the cross-axis integral increment to the cross-axis integral accumulation value of the previous sampling period to obtain the cross-axis integral accumulation value of the current sampling period. When the quadrature axis integration path on / off command is a quadrature axis integration path off command, the quadrature axis integration path arithmetic unit suspends accumulation operation: The cumulative value of the cross-axis integral remains unchanged from the value of the previous sampling period.
7. The SIP-based servo motor drive control system according to claim 1, characterized in that, The specific process of performing dynamic limiting and outputting the integral values after direct-axis limiting and quadrature-axis limiting is as follows: The direct-axis dynamic limiter receives the direct-axis integral accumulated value as the input to be limited, and receives the direct-axis current error signal as the limit reference input. The direct-axis dynamic limiter has a preset direct-axis limiting coefficient. The direct-axis dynamic limiter calculates the upper limit and lower limit of the direct-axis integral based on the direct-axis current error signal in each sampling period. The calculation method is as follows: take the absolute value of the direct-axis current error signal, multiply the absolute value of the direct-axis current error signal by the direct-axis limiting coefficient to obtain the upper limit of the direct-axis integral, and invert the upper limit of the direct-axis integral to obtain the lower limit of the direct-axis integral. The direct-axis dynamic limiter compares the accumulated direct-axis integral value with the upper and lower limits of the direct-axis integral value and executes the following limiting logic: If the cumulative value of the direct-axis integral is greater than the upper limit of the direct-axis integral, then the integral value after direct-axis limiting is the upper limit of the direct-axis integral; if the cumulative value of the direct-axis integral is less than the lower limit of the direct-axis integral, then the integral value after direct-axis limiting is the lower limit of the direct-axis integral; otherwise, the integral value after direct-axis limiting is the cumulative value of the direct-axis integral itself. The quadrature-axis dynamic limiter receives the quadrature-axis integral accumulated value as the input to be limited, and receives the quadrature-axis current error signal as the limit reference input. The cross-axis dynamic limiter has a preset cross-axis limiting coefficient. The quadrature-axis dynamic limiter calculates the upper limit and lower limit of the quadrature-axis integral based on the quadrature-axis current error signal in each sampling period. The calculation method is as follows: take the absolute value of the quadrature-axis current error signal, multiply the absolute value of the quadrature-axis current error signal by the quadrature-axis limiting coefficient to obtain the upper limit of the quadrature-axis integral, and invert the upper limit of the quadrature-axis integral to obtain the lower limit of the quadrature-axis integral. The cross-axis dynamic limiter compares the accumulated cross-axis integral value with the upper and lower limits of the cross-axis integral value and executes the following limiting logic: If the sum of the cross-axis integrals is greater than the upper limit of the cross-axis integral, then the cross-axis integral value after limiting is the upper limit of the cross-axis integral. If the sum of the cross-axis integrals is less than the lower limit of the cross-axis integral, then the cross-axis integral value after limiting is the lower limit of the cross-axis integral. Otherwise, the cross-axis integral value after limiting is the sum of the cross-axis integrals themselves.
8. The SIP-based servo motor drive control system according to claim 1, characterized in that, The specific process of generating the voltage command signal is as follows: The direct-axis summer receives the direct-axis proportional component as the first input and the direct-axis limited integral value as the second input. The direct-axis summer adds the direct-axis proportional component and the direct-axis limited integral value to obtain the direct-axis voltage command value before the command. The quadrature-axis summer receives the quadrature-axis proportional component as the first input and the quadrature-axis limited integral value as the second input; the quadrature-axis summer adds the quadrature-axis proportional component and the quadrature-axis limited integral value to obtain the value before the quadrature-axis voltage command; The direct-axis output limiter receives the previous value of the direct-axis voltage command as input, and internally presets the upper limit value and the lower limit value of the direct-axis output voltage. The direct-axis output limiter compares the previous value of the direct-axis voltage command with the upper and lower limits of the direct-axis output voltage, and executes the following limiting logic: If the value before the direct axis voltage command is greater than the upper limit of the direct axis output voltage, the direct axis voltage command signal takes the upper limit of the direct axis output voltage; if the value before the direct axis voltage command is less than the lower limit of the direct axis output voltage, the direct axis voltage command signal takes the lower limit of the direct axis output voltage; otherwise, the direct axis voltage command signal takes the value before the direct axis voltage command. The quadrature-axis output limiter receives the previous value of the quadrature-axis voltage command as input, and internally presets the upper limit value and lower limit value of the quadrature-axis output voltage; The quadrature-axis output limiter compares the previous value of the quadrature-axis voltage command with the upper and lower limits of the quadrature-axis output voltage, and executes the following limiting logic: If the value before the quadrature axis voltage command is greater than the upper limit of the quadrature axis output voltage, the quadrature axis voltage command signal takes the upper limit of the quadrature axis output voltage; if the value before the quadrature axis voltage command is less than the lower limit of the quadrature axis output voltage, the quadrature axis voltage command signal takes the lower limit of the quadrature axis output voltage; otherwise, the quadrature axis voltage command signal takes the value before the quadrature axis voltage command. Voltage command signals include direct-axis voltage command signals and quadrature-axis voltage command signals.
9. The SIP-based servo motor drive control system according to claim 8, characterized in that, The specific process of obtaining the switching signal to drive the power inverter after performing inverse coordinate transformation and pulse width modulation signal generation based on SIP on the voltage command signal is as follows: The direct-axis voltage command signal and the quadrature-axis voltage command signal are fed into the inverse Park transformation stage to be converted into α-axis voltage components and β-axis voltage components in a two-phase stationary coordinate system. The α-axis voltage components and β-axis voltage components are fed into the inverse Clarke transform stage to convert them into instantaneous values of U-phase voltage, V-phase voltage, and W-phase voltage in the three-phase stationary coordinate system. The instantaneous values of the U-phase voltage, V-phase voltage, and W-phase voltage are compared with the high-frequency triangular carrier signal, respectively. When the instantaneous values of the U-phase voltage, V-phase voltage, and W-phase voltage are greater than the instantaneous value of the triangular carrier wave, a high level is output; when the instantaneous values of the U-phase voltage, V-phase voltage, and W-phase voltage are less than the instantaneous value of the triangular carrier wave, a low level is output, generating a switching signal to drive the power inverter.
10. A SIP-based servo motor drive control method, applied to the SIP-based servo motor drive control system according to any one of claims 1-9, characterized in that, Includes the following steps: In the hardware acceleration logic circuit inside the SIP, the parallel decomposition and splitting of the current error signal are performed based on the current command signal and the feedback current signal, and the error signal group is output. The error signal group is analyzed to generate predictive on / off commands for the integration path; By combining the error signal group with the predictive on / off command of the integral path, the dominance relationship between the proportional path output and the integral path input is set, and the direct-axis proportional component, the quadrature-axis proportional component, the direct-axis integral accumulation value, and the quadrature-axis integral accumulation value are obtained. Based on the cumulative value of the direct-axis integral, the cumulative value of the quadrature-axis integral, and the error signal group, dynamic limiting processing is performed, and the integral value after direct-axis limiting and the integral value after quadrature-axis limiting are output. Based on the direct-axis proportional component, the quadrature-axis proportional component, the integral value after direct-axis limiting, and the integral value after quadrature-axis limiting, a voltage command signal is generated. The voltage command signal is then subjected to inverse coordinate transformation and pulse width modulation signal generation based on SIP to obtain the switching signal for driving the power inverter.
