Satellite-borne high-performance high-reliability stepping motor and its subdivision control driving method

By using a fully hardware-based bipolar PWM current closed-loop drive method, sinusoidal and cosine currents with frequencies controlled by speed commands are generated, solving the reliability and accuracy issues of spaceborne stepper motors in high-microstepping drive, simplifying circuit design and reducing costs, and making it suitable for high-reliability spaceborne environments.

CN123184528APending Publication Date: 2026-11-27AEROSPACE LONG MARCH LAUNCH VEHICLE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611275920.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing spaceborne stepper motors have shortcomings in terms of reliability, complexity, and accuracy. In particular, when driven with high microstepping, the PWM current driver with a fixed off time causes current discontinuity, affecting control accuracy and stability, and requires expensive aerospace-grade D/A converters.

Method used

The method employs a fully hardware-based, bipolar PWM current closed-loop drive approach. A sine and cosine signal is generated by a digital controller. After high-order low-pass filtering and PI operation, a square wave signal with a duty cycle that varies with the error signal is output. An H-bridge is used for power amplification to achieve continuous control of the current in phases A and B, eliminating the need for an expensive D/A converter.

Benefits of technology

It improves the control accuracy and operational stability of stepper motors, simplifies circuit design, reduces costs, and enhances the ability to suppress power supply and back EMF disturbances, making it suitable for high reliability requirements in spaceborne applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184528A_ABST
    Figure CN123184528A_ABST
Patent Text Reader

Abstract

The application provides a kind of high performance high reliability stepping motor on satellite and its subdivision control driving method, including on-board digital controller, the output end of on-board digital controller is connected respectively A group PWM bipolar circuit, B group PWM bipolar circuit and with A group PWM bipolar circuit, B group PWM bipolar circuit is connected with stepping motor body.The application adopts full hardware, bipolar PWM current closed loop driving, difference is obtained by analog current control command and current feedback signal sampled and amplified by shunt resistance, obtains error signal, after PI operation and sawtooth wave modulation, output duty cycle changes with error signal square wave signal (sine and cosine each one road), the signal is amplified by two-way H bridge and output to stepping motor A winding and B winding, after motor winding inductance filtering, produce sine and cosine current in motor winding with frequency controlled by speed command, so as to produce rotating magnetic field in motor, drive motor rotor rotation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of motor technology, specifically to a spaceborne high-performance, high-reliability stepper motor and its microstepping control and driving method. Background Technology

[0002] A stepper motor is an actuator that converts electrical pulse signals into angular or linear displacement. Stepper motors have a simple structure, are brushless motors, and have relatively simple drive circuits. They offer high system reliability, long lifespan, and low cost, and are widely used in spaceborne low-power actuators and low-to-medium precision, low-dynamic servo mechanisms. Because their errors do not accumulate, they can be used in open-loop control when control precision and dynamic performance requirements are not high. When higher control precision is required, a position sensor can be added to improve control accuracy and, to some extent, solve the problem of step loss in open-loop motor control.

[0003] There are three structural forms of stepper motors: permanent magnet, reactive, and hybrid. The first two have their own advantages and disadvantages in terms of output torque, step angle, and vibration. Hybrid stepper motors combine the advantages of permanent magnet and reactive stepper motors and are widely used in the aerospace and satellite fields. The most widely used type is the two-phase hybrid stepper motor with a step angle of 1.8°.

[0004] There are three key issues to consider when using stepper motors: accuracy, vibration, and step loss. The control accuracy of a stepper motor largely depends on its step angle, but too small a step angle can cause manufacturing difficulties, increasing costs and reducing reliability. Vibration is an inherent characteristic of stepper motors, determined by their operating mechanism. To reduce operating vibration, the step angle can be reduced or mechanical vibration suppression methods can be used. Step loss occurs when the rotor rotation cannot keep up with the rapid changes in the magnetic field during open-loop drive. Using a stepper motor with higher output torque can reduce the probability of step loss during use. Furthermore, step loss usually occurs at higher speeds because the output torque of a stepper motor decreases rapidly with increasing speed. Stepper motors use current drive, which can slow down the decrease in torque with increasing speed, allowing them to maintain a larger torque at higher speeds and reducing the risk of step loss.

[0005] Stepper motor current microstepping can largely solve the above three problems. Microstepping controls the direction of the motor's internal magnetic field by controlling the current, effectively reducing the step angle to 1 / N of the original step angle (where N is the microstepping value), thus significantly improving angular resolution. This makes control precision and rotation smoother, reducing running vibration. At the same time, using current drive suppresses the influence of back electromotive force on the drive current (i.e., torque), reducing the risk of the motor losing steps at high speeds.

[0006] Stepper motors have various driving schemes, which can be divided into voltage drive and current drive. Voltage drive circuits have a simple structure, but their output torque decreases rapidly with increasing speed due to the influence of motor winding inductance and back electromotive force. They also have a low maximum no-load starting frequency, making them suitable for applications with lower requirements for rotational and control performance. Current drive effectively suppresses the influence of winding inductance and back electromotive force on motor current and torque, balancing power consumption and dynamic output torque. It maintains stable output torque over a wider speed range and offers better dynamic control performance. To improve the low-speed stability of stepper motors and reduce operating vibration and noise, stepper motors can choose microstepping drive mode instead of pulse drive. Within a certain range, a higher microstepping value is more beneficial for improving the low-speed stability of the stepper motor and reducing operating vibration and noise. The most commonly used stepper motor current microstepping drive scheme is fixed-time PWM current drive, which can achieve high microstepping current control. However, because the current is discontinuous when the current crosses zero in a fixed-time PWM current driver, the driver cannot accurately control the current, resulting in deteriorated microstepping performance, motor jitter, and reduced control accuracy. Therefore, PWM drivers with fixed off times are not suitable for stepper motor current drivers with high microstepping. Bipolar current drivers do not have the problem of current discontinuity at zero crossings, have high current control accuracy, and are suitable for driving stepper motors with high microstepping, thus maximizing the control accuracy and operational stability of the stepper motor.

[0007] In spaceborne equipment, the reliability requirements for stepper motors are high. Complex and expensive aerospace-grade D / A converters are generally used to generate PWM digital signals. The circuit design is complex, and discontinuities occur when the motor winding current crosses zero, which affects the control accuracy.

[0008] Therefore, there is a need for a high-reliability, low-complexity, and high-precision stepper motor and its microstepping control drive method suitable for spaceborne applications. Summary of the Invention

[0009] This invention addresses the reliability, complexity, and accuracy issues of traditional satellite stepper motors by providing a high-performance, high-reliability spaceborne stepper motor and its microstepping control and driving method. This invention is a high-performance, high-reliability, and low-cost stepper motor microstepping driving method based on a numerical control system, employing a fully hardware-based, bipolar PWM current closed-loop drive. The difference between the analog current control command and the current feedback signal sampled and amplified by the shunt resistor is calculated to obtain an error signal. After PI calculation and sawtooth wave modulation, a square wave signal (one sine and one cosine) with a duty cycle varying according to the error signal is output. This signal is then amplified by two H-bridges and output to the A and B windings of the stepper motor. After inductance filtering in the motor windings, sine and cosine currents with frequencies controlled by the speed command are generated in the motor windings, thereby creating a rotating magnetic field inside the motor and driving the rotor to rotate.

[0010] This invention provides a high-performance, high-reliability stepper motor for spaceborne applications, including a spaceborne digital controller, an A-group PWM bipolar circuit and a B-group PWM bipolar circuit respectively connected to the output terminal of the spaceborne digital controller, and a stepper motor body connected to both the A-group PWM bipolar circuit and the B-group PWM bipolar circuit. The structures of Group A PWM bipolar circuits and Group B PWM bipolar circuits are the same; Group A PWM bipolar circuits include a high-order low-pass filter and a subtractor connected in sequence to the output of the onboard digital controller, a current closed-loop feedback circuit connected to the other input of the subtractor, and a PI controller and a PWM bipolar drive circuit connected in sequence to the output of the subtractor. The output of the PWM bipolar drive circuit is connected to the A-phase winding driver of the stepper motor body. The output of Group B PWM bipolar circuits is connected to the B-phase winding driver of the stepper motor body. The onboard digital controller outputs sine-modulated PWM signals and cosine-modulated PWM signals by looking up tables or calculating. A high-order low-pass filter filters the sine-modulated PWM signals or cosine-modulated PWM signals and restores them to sine and cosine signals whose frequencies are linearly controlled by the speed command. The sine and cosine signals are analog signals with the same frequency and amplitude and are used as the A-phase current control command and the B-phase current control command, respectively. The difference between the A-phase current control command and the current feedback signal output by the current closed-loop feedback circuit is used for PI calculation and modulated with the sawtooth wave in the PWM bipolar drive circuit. Then, the power is amplified by the H-bridge driver to output the A-phase current to the A-phase winding driver. The B-phase current control command is converted and output to the B-phase winding driver, which drives the motor rotor of the stepper motor body to rotate. Both phase A current and phase B current remain continuous when crossing zero.

[0011] The present invention discloses a high-performance and high-reliability stepper motor for spaceborne applications. In a preferred embodiment, the spaceborne digital controller is a spaceborne DSP, a spaceborne FPGA, or a spaceborne ARM. The sine-modulated PWM signal is a square wave signal whose duty cycle varies according to a sine law, and the cosine-modulated PWM signal is a square wave signal whose duty cycle varies according to a cosine law. The high-order low-pass filter is a second-order Butterworth low-pass filter, which consists of an operational amplifier, resistors and capacitors, and performs active filtering and level shifting on sinusoidal modulated PWM signals and cosine modulated PWM signals. The onboard digital controller and high-order low-pass filter work together to replace the A / D converter.

[0012] The present invention provides a spaceborne high-performance and high-reliability stepper motor. In a preferred embodiment, the current closed-loop feedback circuit includes a sampling resistor connected to the output terminal of either group A or group B PWM bipolar circuit, a shunt resistor connected to the sampling resistor, and an operational amplifier. The current closed-loop feedback circuit samples the A-phase current or B-phase current and converts it into a voltage signal through a shunt resistor. Then, it performs differential amplification and filtering to output a current feedback signal. The current feedback signal is a voltage signal that is proportional to the A-phase current or the B-phase current. The PI controller includes an operational amplifier, a Zener diode, resistors, and capacitors. It performs subtraction, amplification, level shifting, and anti-saturation PI operations on the analog signal and the current feedback signal, and outputs the PI signal to the PWM bipolar drive circuit.

[0013] In a preferred embodiment of the spaceborne high-performance and high-reliability stepper motor described in this invention, the subtractor is an operational amplifier N2, and the current closed-loop feedback circuit includes a resistor R7 connected between the output terminal and the negative input terminal of the operational amplifier N2, capacitors C5 and C6 connected in series with the positive input terminal of the operational amplifier N2, capacitors C7 and C8 connected in series with the negative input terminal of the operational amplifier N2, resistors R8 and R12 connected to capacitor C7 and the negative input terminal of the operational amplifier N2 respectively, resistors R9 and R10 connected in parallel with capacitor C5 and the positive input terminal of the operational amplifier N2, resistor R11 connected in parallel with resistor R10, resistors R13 and R14 connected in parallel between resistors R11 and R12 respectively, capacitor C9 connected to both resistors R12 and R13, and capacitor C10 connected to the BOOTSTRAP_1A pin of the H-bridge driver chip. Resistors R13 and R14 are current sampling resistors. The other ends of resistors R8, R9 and R10 are all connected to +12VA. The other end of capacitor C6 is connected to the other end of capacitor C8 and grounded. The other end of capacitor C9 is connected to the BOOTSTRAP_2A pin of the H-bridge driver chip, and resistor R14 is connected to the V_OUT_2A pin of the H-bridge driver chip. The V_OUT_2A pin of the H-bridge driver chip outputs the A-phase current, and the V_OUT_1A pin of the H-bridge driver chip is connected to the other end of capacitor C10 to output the B-phase current. The PI controller includes an operational amplifier N3, a resistor R15 and a capacitor C11 connected between the output terminal and the negative input terminal of the operational amplifier N3, a capacitor C12 connected in parallel with the resistor R15 and the capacitor C11, a Zener diode V1, a resistor R22, a Zener diode V2 whose negative terminal is connected to the negative terminal of the Zener diode V1, resistors R20 and R21 connected in parallel with the other end of the capacitor C12, resistors R16, R18, and R19 connected in parallel with the positive input terminal of the operational amplifier N3, and a resistor R17 connected to the other end of the resistor R16; The positive terminal of Zener diode V2 is connected to capacitors C11 and C12 and the negative input terminal of operational amplifier N3. Resistor R7 and the output terminal of operational amplifier N2 are connected to resistors R18 and R19. The other end of resistor R20 is connected to +12VA, and the other end of resistor R21 is grounded. One end of resistor R17 receives either the A-phase current control command or the B-phase current control command. Both the positive and negative terminals of operational amplifier N2 receive current feedback signals. One end of resistor R22 is connected to the PWM bipolar drive circuit.

[0014] The present invention discloses a spaceborne high-performance and high-reliability stepper motor. As a preferred embodiment, the PWM bipolar drive circuit includes a voltage comparator connected to the output terminal of a PI controller, a sawtooth wave generator connected to the voltage comparator, and an H-bridge driver. The voltage comparator compares the PI signal with the sawtooth wave output by the sawtooth wave generator to obtain a duty cycle-controlled PWM signal. The H-bridge driver operates in bipolar mode. When the DIR pin is high, the driving voltage of the motor A-phase winding is positive; when the DIR pin is low, the driving voltage of the motor A-phase winding is negative. When the duty cycle of the PWM signal on the DIR pin is 50%, the average voltage is zero. Two independent H-bridge drivers are set in one chip. The output A-phase current and B-phase current drive the A-phase winding and B-phase winding of the stepper motor body, respectively. The A-phase current and B-phase current are variable frequency sinusoidal current signals and variable frequency cosine current signals linearly controlled by speed command, respectively.

[0015] This invention provides a microstepping control and driving method for a spaceborne high-performance, high-reliability stepper motor, comprising the following steps: S1. The onboard digital controller uses speed control commands to look up tables or calculate digital sine and digital cosine signals, which are then used to generate square wave signals whose duty cycles change according to sine or cosine laws through pulse width modulation. The square wave signals are sine-modulated PWM signals and cosine-modulated PWM signals. S2, the high-order low-pass filter filters the sinusoidal modulation PWM signal and the cosine modulation PWM signal and restores them to the analog sine and cosine signals; S3. Design a current closed-loop feedback circuit. The current closed-loop feedback circuit samples, amplifies, and filters the A-phase current and B-phase current output to the stepper motor body to obtain a voltage signal proportional to the A-phase current and B-phase current as the current feedback signal. S4. Design an anti-saturation PI controller. After subtracting, amplifying, level shifting, and anti-saturation PI operation between the sine or cosine signal and the current feedback signal, obtain the PI signal and output it to the PWM bipolar drive circuit. S5. The PWM bipolar drive circuit uses a sawtooth wave generated by a sawtooth wave generator to modulate the PI signal with PWM and outputs a PWM signal. Then, the H-bridge driver performs bipolar power amplification to obtain the A-phase current and B-phase current, which are output to the A-phase winding driver and B-phase winding driver of the stepper motor body, respectively. The A-phase current and B-phase current remain continuous when they cross zero.

[0016] The microstepping control and driving method for a spaceborne high-performance and high-reliability stepper motor described in this invention, as a preferred embodiment, in step S1, the frequencies of the sinusoidal modulation PWM signal and the cosine modulation PWM signal are: ; in, The highest frequency of the digital sine or digital cosine signal calculated based on the maximum speed requirement of the stepper motor; ; in, This represents the maximum angular velocity of the stepper motor, expressed in degrees per second. This refers to the step angle of the stepper motor. A sine-modulated PWM signal or a cosine-modulated PWM signal is obtained by comparing a digital sine or cosine signal with a sawtooth wave carrier signal using digital methods. Both digital sine and digital cosine signals are obtained using table lookup or calculation methods, and the output data is updated every cycle or several cycles under the control of the system clock. The sawtooth wave carrier signal is obtained using a hexadecimal adder counter, which increments by one in each clock cycle under the control of the system clock. The output is high when the sawtooth wave carrier signal value is higher than the digital sine or digital cosine signal value; otherwise, it is low. A comparison is performed once per system clock cycle, but the digital sine or digital cosine signal used for comparison is only updated once when the counter overflows and returns to zero.

[0017] In the preferred embodiment of the microstepping control driving method for a high-performance and high-reliability stepper motor on a spaceborne platform, in step S2, a high-order low-pass filter filters the sine-modulated PWM signal and the cosine-modulated PWM signal, and outputs a sine signal and a cosine signal with DC bias.

[0018] The microstepping control and driving method for a spaceborne high-performance and high-reliability stepper motor described in this invention, as a preferred embodiment, involves calculating the shunt resistor value in step S3 as follows: ; in, The value of the shunt resistor. This represents the peak value of the phase current of the stepper motor. ; in, This represents the effective value of the phase current of the stepper motor. Calculate the current amplification gain of the current closed-loop feedback circuit based on the amplitudes of the sine and cosine signals, the DC bias, and the shunt resistor values: ; in, For current amplification gain, The amplitude of the current-amplified output voltage is consistent with the amplitude of the sinusoidal signal output by the high-order low-pass filter. The current amplification gain is consistent with the gain of the sine and cosine signals, so that the current error signal can be calculated by the subtractor and output to the PI controller.

[0019] The microstepping control and driving method for a high-performance, high-reliability stepper motor on a spaceborne platform, as described in this invention, preferably involves obtaining the electromagnetic time constant T of the stepper motor in step S4 based on the DC resistance and inductance of each phase winding. m According to T m Determine the proportional and integral coefficients of the PI regulator in the PI controller; ; in: For motor winding inductance, The DC resistance of the motor windings; Integral time constant of PI controller With electromagnetic time constant T m The same principle applies to zero-pole cancellation.

[0020] This invention uses a digital controller (FPGA, DSP, etc.) to receive or calculate speed control commands. The required sine and cosine signals are obtained by looking up tables or calculation. These signals are then used to perform pulse width modulation on a fixed-frequency pulse signal, resulting in two square wave signals with duty cycles varying according to sine and cosine laws, respectively. After filtering these two signals through a high-order low-pass filter, stable frequency-modulated sine and cosine signals with frequencies linearly controlled by the speed command are output. These two signals serve as the drive current control commands for the A and B windings of a two-phase stepper motor, respectively.

[0021] To achieve high-power, high-performance, and high-efficiency driving of stepper motors, while also simplifying the system, improving reliability, and reducing costs, this invention employs a fully hardware-based, bipolar PWM current closed-loop drive. The analog current control command is subtracted from the current feedback signal sampled and amplified by the shunt resistor to obtain an error signal. After PI calculation and sawtooth wave modulation, a square wave signal (one sine and one cosine) with a duty cycle varying according to the error signal is output. This signal is then amplified by two H-bridges and output to the A and B windings of the stepper motor. After inductance filtering in the motor windings, sine and cosine currents with frequencies controlled by the speed command are generated in the motor windings, thereby creating a rotating magnetic field inside the motor and driving the rotor to rotate.

[0022] Step 1: Use speed control commands to look up tables or perform calculations to obtain frequency-modulated sine and cosine signals. These are then pulse-width modulated to generate two square wave signals with duty cycles varying according to sine and cosine laws. To meet the maximum speed requirements and facilitate accurate filter recovery of the original sine and cosine signals, the carrier signal frequency needs to be determined using the following method. By using table lookup or calculation methods, frequency-modulated sine and cosine signals are obtained. After high-frequency sawtooth modulation, the toothed wave signals are converted into two square wave signals with duty cycles varying according to sine and cosine laws. After filtering by a second-order Butterworth low-pass filter, the original analog sine and cosine signals are recovered, thus replacing the expensive and complex DA converter to achieve digital-to-analog conversion. The output signal of this method has good frequency and phase stability and high accuracy. As a two-phase current closed-loop control command for a stepper motor, it directly affects the accuracy of subsequent current closed-loop control and the smoothness and control precision of the stepper motor operation.

[0023] Step 2: Based on the frequency range of the sine and cosine modulation signals and the carrier signal frequency, calculate the bandwidth of the high-order Butterworth low-pass filter and perform filter design simulation to ensure that the output signal distortion and ripple noise are less than the motor current feedback value. Step 3: Calculate the peak current based on the rated current of the stepper motor, and select the current sampling resistor accordingly. Design a differential amplifier circuit to amplify and filter the current sampling signal to obtain a voltage signal proportional to the currents of phases A and B of the stepper motor, which will serve as the current sampling feedback. Step 4: Design an anti-saturation PI operation circuit to perform subtraction, amplification, level shifting, and anti-saturation PI operation on the signals output from Step 2 and Step 3. The output signal is then sent to a PWM power amplifier for power amplification. The precision shunt resistor converts the phase current signal into a voltage signal. The phase current signal is amplified with high precision through a simplified single operational amplifier differential amplifier circuit. This signal is the feedback signal for the motor current closed-loop control and is sent to the anti-saturation PI calculation circuit together with the current control command mentioned above.

[0024] To simplify the circuit, improve reliability, and reduce cost, the anti-saturation PI operation circuit uses a single operational amplifier to simultaneously perform signal subtraction, signal amplification, level shifting, PI operation, and saturation suppression. Current closed-loop control is achieved using the simplest and most reliable hardware circuitry.

[0025] Step 5: Use a sawtooth wave generator to perform PWM modulation on the output signal from Step 4, outputting a PWM signal. This signal is then bipolar amplified by an H-bridge driver to drive the stepper motor. Because the stepper motor windings have increased inductance, the PWM voltage, after passing through a filter circuit composed of phase resistors and inductors, forms a current with a small amount of high-frequency ripple in the windings, driving the stepper motor to rotate.

[0026] Employing bipolar PWM current closed-loop drive, the current loop bandwidth can reach over 500Hz, resulting in stronger suppression of power supply and motor back EMF disturbances. The current dynamic control accuracy is significantly higher than conventional stepper motor current drive methods. Furthermore, this method maintains a duty cycle of approximately 50% when the current is zero, ensuring continuous zero-crossing of the two-phase current, greatly improving the accuracy of current microstepping control. In multi-microstep drive scenarios, it effectively ensures stepper motor control accuracy, thereby significantly reducing low-speed jitter and improving low-speed operation stability.

[0027] In the above steps, frequency-modulated sine and cosine control commands are generated digitally, and analog sine and cosine control commands are output using PWM modulation and second-order low-pass filtering. Analog current closed-loop control is used for driving. While significantly improving the stepper motor microstepping drive performance, the complex and expensive aerospace-grade D / A and A / D converters are eliminated. Apart from the DSP / FPGA and some resistors and capacitors, only one voltage comparator, three operational amplifiers and one H-bridge driver chip are needed to realize high-performance current microstepping drive for a stepper motor, thereby greatly improving system reliability and reducing product costs.

[0028] The present invention has the following advantages: (1) The high-performance, high-reliability, and low-cost stepper motor microstepping drive method provided by this invention, suitable for spaceborne environments, is based on the widely used numerical control system. It fully utilizes the rich computing resources within the digital controller (FPGA, DSP, ARM, etc.) and uses sine and cosine pulse width modulation to generate two square wave signals with pulse widths varying according to sine and cosine laws. After high-order bandpass filtering, standard sine and cosine signals are output as input commands for the subsequent current driver. This method eliminates the need for complex and expensive aerospace-grade D / A converters, using only cheaper operational amplifiers for active filtering and level shifting. This simplifies circuit design, avoids D / A converter single-event latch-up and single-event flip problems that may occur in orbit, improves system reliability, and reduces hardware costs. It is highly suitable for use in high-reliability satellite control systems. (2) This invention uses a shunt resistor to sample the current signal, which is then differentially amplified and filtered to output an analog current signal as the current feedback signal for current closed-loop control. This method eliminates the adverse effects of large-scale changes in the common-mode signal of the current sampling signal caused by PWM driving on the sampling amplification circuit. It uses only a single operational amplifier to complete functions such as signal common-mode voltage suppression, current signal amplification, filtering, and level shifting. This greatly simplifies the design, improves reliability, and reduces hardware costs.

[0029] (3) This invention uses the LMD18200-2D / 883 manufactured by TI as the H-bridge driver. The maximum operating voltage of this circuit is 55V, the maximum continuous output current is 2.4A, and it has internal overheat protection and short circuit protection functions. A single chip contains two completely independent H-bridge drivers, which are used to drive the two windings of a stepper motor respectively. This chip has a quality level of 883, has extensive on-orbit application experience, and is highly reliable, highly integrated, small in size, and low in cost, making it very suitable for the drive requirements of spaceborne stepper motors.

[0030] (4) This invention designs a bipolar PWM drive scheme that can simultaneously realize rapid changes in the forward and reverse directions of the motor winding current, thereby greatly improving the current closed-loop bandwidth and dynamic anti-disturbance capability, and enabling the motor winding current to change precisely according to the current control command. When the motor winding current is zero, the duty cycle of this scheme is close to 50%, which fundamentally eliminates the discontinuity when the motor winding current crosses zero, making the subdivided magnetic field rotate uniformly and stably, thereby driving the rotor to rotate stably and reducing the vibration and control accuracy decrease caused by magnetic field fluctuations.

[0031] (5) The present invention designs an analog PI controller to eliminate the poles corresponding to the electrical time constant of the motor, thereby significantly improving the current closed-loop bandwidth and enhancing the current loop performance of the system. The PI controller is implemented using a single operational amplifier, which simultaneously performs the summation of the control signal and the feedback signal, level offset, and anti-saturation PI operation, simplifying the circuit, improving reliability, and reducing costs. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of the principle structure of a spaceborne high-performance and high-reliability stepper motor. Figure 2 The Lissajous figure shows the simulation of the A and B phase currents (0.6A peak) of a high-performance, high-reliability spaceborne stepper motor and its microstepping control drive method. Figure 3 The measured Lissajous figure shows the A and B phase current feedback signals of a spaceborne high-performance, high-reliability stepper motor and its microstepping control drive method (peak current 0.6A, DC level 2.5V). Figure 4This is a schematic diagram of a typical high-order input low-pass filter circuit structure for a spaceborne high-performance, high-reliability stepper motor and its microstepping control and driving method. Figure 5 This is a schematic diagram of the simulation results of the output signal of a PWM signal whose duty cycle varies according to a sinusoidal law, after being input to a high-order low-pass filter, for a high-performance and high-reliability stepper motor and its microstepping control drive method on a spaceborne platform. Figure 6 This is a circuit diagram of a typical current sampling amplifier circuit for a spaceborne high-performance, high-reliability stepper motor and its microstepping control and driving method. Figure 7 This is a schematic diagram of the simulation waveform of the motor winding current signal after current sampling and amplification, which is a simulation waveform of a high-performance and high-reliability stepper motor and its microstepping control drive method for a spaceborne motor. Figure 8 This is a circuit diagram of a typical single operational amplifier anti-saturation PI controller circuit for a spaceborne high-performance, high-reliability stepper motor and its microstepping control and driving method. Figure 9 This is a schematic diagram of the simulated waveforms of the sinusoidal control command and winding current of a high-performance, high-reliability stepper motor and its microstepping control drive method for a spaceborne motor. Figure 10 This is a schematic diagram of the simulated waveforms of the two winding currents during the rotation of a high-performance, high-reliability stepper motor and its microstepping control drive method on a spaceborne platform. Figure 11 This is a schematic diagram of the measured waveform (DC level 2.5V) of the two winding current feedback signals when the motor rotates, which is a high-performance and high-reliability stepper motor and its microstepping control drive method for spaceborne motors. Detailed Implementation

[0033] 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. Example 1

[0034] A high-performance, high-reliability stepper motor for spaceborne applications and its microstepping control and driving method are described in this embodiment. This embodiment takes a two-phase hybrid stepper motor as an example, but the method is also applicable to other types and numbers of phases of stepper motors.

[0035] This invention designs a bipolar current drive scheme. Taking a hybrid stepper motor with a step angle of 1.8° as an example, the driver microstepping is designed to be 256. Figure 1 This is a block diagram illustrating the principle and structure of a bipolar microstepping driver for a stepper motor. Figure 2 The Lissajous figure is generated by simulation of the two-phase currents (0.6A peak value) of phases A and B. Figure 3The Lissajous figure (0.6A peak value, 2.5V level offset) generated by the sampling feedback signal of the A and B phase currents is used to generate a rotating magnetic field inside the motor.

[0036] In this embodiment, the abundant hardware and computing resources within the digital controller are utilized to generate sine and cosine signals with variable frequency and amplitude using lookup tables or calculations (the frequency is controlled by the input command, corresponding to the rotational speed; the amplitude can be preset, corresponding to the maximum torque). These sine and cosine signals are used to modulate the digital pulse width, resulting in two PWM signals with duty cycles varying according to sine and cosine laws, respectively. These signals are then filtered by a high-order low-pass filter to output stable sine and cosine signals. These two signals serve as the current control commands for the closed-loop current drive of the A and B phase windings of the stepper motor. Since the closed-loop current drive of the A and B phase windings of the stepper motor is identical, only the A phase current closed-loop drive is described below as an example; the B phase is the same, except that the control command is a cosine signal with the same frequency and amplitude.

[0037] The current flowing through the shunt resistor in the A-phase winding of the stepper motor converts the current signal into a voltage signal. The common-mode voltage of this signal is affected by the state of the internal H-bridge switch of the LMD18200-2D / 883, varying between 0 and VDD (motor drive voltage), exceeding the maximum common-mode voltage allowed by the operational amplifier. This signal is then divided by resistors to reduce its common-mode voltage before being amplified by the operational amplifier to the required range as a differential-mode signal (current signal). After level shifting, it serves as the current closed-loop feedback signal.

[0038] The current control command for phase A is subtracted from the current closed-loop feedback signal (the circuit actually performs a summation operation because the current feedback signal is inverted) to obtain the current error signal. This signal is then processed by an analog anti-saturation PI controller composed of an operational amplifier, Zener diode, resistor, and capacitor, which outputs the proportional-integral (PI) calculation result of the current error. This signal is compared with a sawtooth wave signal of fixed frequency and amplitude generated by a voltage comparator (LM193AJ-QMLV) to obtain a PWM signal with a controlled duty cycle. This PWM signal is then sent to an H-bridge driver (LMD18200-2D / 883) for power amplification. The LMD18200-2D / 883 is designed to operate in bipolar mode. When the DIR pin is high, the drive voltage of the motor's phase A winding is positive; when the DIR pin is low, the drive voltage of the motor's phase A winding is negative. When the duty cycle of the PWM signal on the DIR pin is 50%, the average voltage is zero.

[0039] H-bridge driver: The output of LMD18200-2D / 883 directly drives the stepper motor windings. After the above current closed-loop control, the variable frequency (frequency linearly controlled by speed command) sine and cosine current signals, which are precisely controlled by the current command, flow through the two windings of the motor, forming a stable rotating magnetic field inside the motor and driving the rotor to run stably.

[0040] Typical input low-pass filter circuits include Figure 4 As shown, this is a standard second-order Butterworth low-pass filter with a bandwidth of approximately 2kHz. The input signal is a PWM signal (PWM frequency of 48.8kHz) with a sinusoidal duty cycle output from the FPGA or DSP. The simulation results of the output signal are as follows. Figure 5 As shown.

[0041] The high-order low-pass filter circuit includes resistors R1, R2, and R3 connected in series with the PWM signal; capacitors C1 and C2 connected in series between resistors R1 and R2; capacitor C3 connected between resistors R2 and R3; operational amplifier N1 whose positive input terminal is connected to the other end of resistor R3; capacitor C4 connected between resistor R3 and the positive input terminal of operational amplifier N1; resistors R4 and R5 connected to the negative input terminal of operational amplifier N1; and resistor R6 connected to the other end of resistor R5. The other ends of capacitors C2 and C4, and resistor R4 are all grounded. The other end of resistor R6 is connected to the other end of capacitor C3 and then connected to the output of operational amplifier N1. Resistors R1 and R2 have the same resistance value of 1200Ω, resistor R3 has a resistance value of 2400Ω, resistor R4 has a resistance value of 12kΩ, resistor R5 has a resistance value of 6800Ω, and resistor R6 has a resistance value of 220Ω. The high-order low-pass filter circuit has an input voltage range of 0.15V to +3.15V, an output current of -800mA to +800mA, and a bandwidth of 2009Hz.

[0042] A typical motor winding current sampling and amplification circuit is as follows: Figure 6 As shown, the current signal is amplified and level-shifted, outputting a current signal centered at 12V with a scaling factor of -5V / A, i.e.: ; The simulation results of the output signal are as follows Figure 7 As shown.

[0043] The current closed-loop feedback circuit (i.e., the motor winding current sampling and amplification circuit) includes an operational amplifier N2 whose output is connected to a subtractor, a resistor R7 connected between the output and negative input of operational amplifier N2, capacitors C5 and C6 connected in series with the positive input of operational amplifier N2, capacitors C7 and C8 connected in series with the negative input of operational amplifier N2, resistors R8 and R12 connected to both capacitor C7 and the negative input of operational amplifier N2, resistors R9 and R10 connected in parallel with capacitors C5 and C6, a resistor R11 connected to both resistor R10 and the positive input of operational amplifier N2, resistors R13 and R14 connected in parallel between resistors R11 and R12, a capacitor C9 connected to both resistors R12 and R13, and a capacitor connected to the BOOTSTRAP_1A pin of the H-bridge driver chip. The other ends of resistors R8, R9, and R10 are all connected to +12VA, and the other end of capacitor C6 is connected to the other end of capacitor C8 and grounded. The other end of capacitor C9 is connected to the BOOTSTRAP_2A pin of the H-bridge driver chip, and resistor R14 is connected to the V_OUT_2A pin of the H-bridge driver chip. The V_OUT_2A pin of the H-bridge driver chip outputs the A-phase current. Resistor R7 is the sampling resistor with a resistance of 36kΩ, and resistors R13 and R14 are both surface-mount resistors with a resistance of 1Ω. The sampling amplification of the motor winding current sampling amplification circuit is 5V / A, and the center point is +12V; Typical error calculation and anti-saturation PI calculation circuits are as follows: Figure 8 As shown, the PI controller includes an operational amplifier N3, a resistor R15 and a capacitor C11 connected between the output terminal and the negative input terminal of the operational amplifier N3, a capacitor C12 connected in parallel with the resistor R15 and the capacitor C11, a Zener diode V1 and a Zener diode V2, a resistor R22, resistors R20 and R21 connected in parallel with the other end of the capacitor C12, resistors R16, R18, and R19 connected in parallel with the positive input terminal of the operational amplifier N3, and a resistor R17 connected to the other end of the resistor R16; Resistor R7 and the output terminal of operational amplifier N2 are both connected to resistors R18 and R19. The other end of resistor R20 is connected to +12VA, the other end of resistor R21 is grounded, and the negative terminal of Zener diode V1 is connected to the negative terminal of Zener diode V2. N2 is a subtractor with differential input. Both the positive and negative inputs of N2 are connected to the current sampling resistor (i.e., the input is the current feedback signal, which is connected to the resistor R7). The current input to N2 is inverted by 180°, so it is essentially a summation operation. N3 performs level offset, difference calculation, and proportional integration; To achieve pole-zero cancellation, the electromagnetic time constant of the motor should be the same as the time constant of the PI operational circuit, that is: ; Where: L m It is the motor winding inductance, R m It is the DC resistance of the motor windings. When using PI control with a current loop, it should be based on L. m and R m Adjustments will be made.

[0044] The gain of the PI operational circuit can be determined by calculation or simulation, and it is usually ensured that the overshoot of the small-signal current step response is around 5%.

[0045] Figure 9 It is a simulation curve of the sinusoidal control command and winding current of the stepper motor A phase under closed-loop conditions. Figure 10 It is the waveform of the two winding currents when the motor rotates at the required maximum speed (41.7 r / min). Figure 11 It is the measured waveform of the current feedback signal of the two windings when the motor is rotating (DC level 2.5V).

[0046] The specific steps are as follows: S1. Calculate the highest frequency of the sine and cosine modulation signals based on the maximum speed requirement of the stepper motor, and determine the PWM signal frequency by combining the digital system clock and the modulation signal resolution. ; in: This is the highest frequency of the sinusoidal modulation signal.

[0047] This represents the maximum angular velocity of the stepper motor, expressed in degrees per second.

[0048] This refers to the step angle of the stepper motor.

[0049] To ensure that the sine and cosine modulated PWM signals produce standard sine and cosine signals with low distortion, noise, and phase lag after passing through a low-pass filter, the PWM signal frequency should be selected according to the following formula: ; in: This is the frequency of the PWM signal.

[0050] The PWM signal modulated by sine or cosine is obtained by comparing the sine or cosine modulated signal with the sawtooth wave carrier signal using a digital method.

[0051] The sine or cosine signal uses a lookup table or calculation method, updating the output data every cycle or several cycles under the control of the system clock. The sawtooth wave signal uses a hexadecimal adder counter, incrementing by one every clock cycle under the control of the system clock (to increase the PWM signal frequency, a single clock increment is usually used). When the sawtooth wave signal value is higher than the modulation signal (sine or cosine signal) value, the output is high; otherwise, it is low. This comparison process is executed once per system clock cycle, but the sine or cosine signal used for comparison is only updated once when the counter overflows and returns to zero.

[0052] S2. Calculate the peak phase current based on the effective value of the selected stepper motor phase current, and select the shunt resistor value and power based on the peak current.

[0053] ; in: This represents the peak value of the phase current of the stepper motor.

[0054] This represents the effective value of the phase current of the stepper motor.

[0055] The selection of a shunt resistor requires comprehensive consideration of factors such as current sampling accuracy, resistor heat dissipation, and resistor size. Typically, the shunt resistor for a small stepper motor is directly mounted on the PCB board, with the actual maximum heat dissipation limited to within 0.3W. Therefore, a resistor with a rated power consumption of 2W, an accuracy better than 0.1%, and a temperature coefficient better than 25×10⁻⁶ is selected. -6 A precision resistor of / ℃ is used to ensure current sampling accuracy is better than 0.2%.

[0056] ; in: This is the resistance value of the shunt resistor.

[0057] S3. Calculate the current amplification gain and level offset based on the amplitude of the sine and cosine signals output by the high-order low-pass filter, the DC bias, and the shunt resistor.

[0058] ; in: This is the current amplification gain.

[0059] The amplitude of the current-amplified output voltage is consistent with the amplitude of the sinusoidal signal output by the high-order low-pass filter.

[0060] A high-order low-pass filter filters the input digital PWM signal, outputting sine and cosine signals with DC bias. Since most digital systems use LVTTL for I / O output levels (0V low, 3.3V high), the DC bias is: ; Therefore, the DC bias of the current amplifier output should be adjusted to match the output of the high-order low-pass filter to ensure that the error between the two signals can be directly calculated.

[0061] S4. Calculate the electromagnetic time constant of the motor based on the DC resistance and inductance of each phase winding of the stepper motor, and determine the proportional and integral coefficients of the PI regulator. ; in: This refers to the inductance of the motor windings.

[0062] This represents the DC resistance of the motor windings.

[0063] The integral time constant of the PI controller must be the same as the electromagnetic time constant to ensure zero-pole cancellation, i.e.: ; in The integral time constant of the PI controller is shown in the figure. .

[0064] S5. Design a driver circuit based on the datasheet of the LMD18200-2D / 883 H-bridge driver chip. The LMD18200-2D / 883 contains two completely independent H-bridge drivers, each used to drive one of the two windings of a stepper motor. The two circuits are identical. The chip's BREAK_A / B is fixed at a low level, and PWM_A / B is fixed at a high level. The PWM signal controls DIR_A / B to achieve bipolar PWM drive.

[0065] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A spaceborne high-performance, high-reliability stepper motor, characterized in that: It includes an onboard digital controller, an A-group PWM bipolar circuit and a B-group PWM bipolar circuit respectively connected to the output terminal of the onboard digital controller, and a stepper motor body connected to both the A-group PWM bipolar circuit and the B-group PWM bipolar circuit. The A-group PWM bipolar circuit and the B-group PWM bipolar circuit have the same structure; The A-group PWM bipolar circuit includes a high-order low-pass filter and a subtractor connected in sequence to the output terminal of the onboard digital controller, a current closed-loop feedback circuit connected to the other input terminal of the subtractor, and a PI controller and a PWM bipolar drive circuit connected in sequence to the output terminal of the subtractor. The output terminal of the PWM bipolar drive circuit is connected to the A-phase winding driver of the stepper motor body. The output terminal of the B-group PWM bipolar circuit is connected to the B-phase winding driver of the stepper motor body. The onboard digital controller outputs sine-modulated PWM signals and cosine-modulated PWM signals by looking up tables or calculating. A high-order low-pass filter filters the sine-modulated PWM signals or the cosine-modulated PWM signals to restore the sine and cosine signals whose frequencies are linearly controlled by the speed command. The sine and cosine signals are analog signals with the same frequency and amplitude and are used as the A-phase current control command and the B-phase current control command, respectively. The difference between the A-phase current control command and the current feedback signal output by the current closed-loop feedback circuit is used for PI calculation and modulated with the sawtooth wave in the PWM bipolar drive circuit. Then, the power is amplified by the H-bridge driver to output the A-phase current to the A-phase winding driver. The B-phase current control command is converted and output to the B-phase winding driver, thereby driving the motor rotor of the stepper motor body to rotate. Both the phase A current and the phase B current remain continuous when they cross zero.

2. The spaceborne high-performance, high-reliability stepper motor according to claim 1, characterized in that: The onboard digital controller is an onboard DSP, an onboard FPGA, or an onboard ARM; the sinusoidal modulation PWM signal is a square wave signal with a duty cycle that varies according to a sine law; and the cosine modulation PWM signal is a square wave signal with a duty cycle that varies according to a cosine law. The high-order low-pass filter is a second-order Butterworth low-pass filter, which consists of an operational amplifier, resistors, and capacitors, and performs active filtering and level shifting on the sinusoidal modulated PWM signal and the cosine modulated PWM signal. The onboard digital controller and the high-order low-pass filter work together to replace the A / D converter.

3. The spaceborne high-performance, high-reliability stepper motor according to claim 1, characterized in that: The current closed-loop feedback circuit includes a sampling resistor connected to the output terminal of the A-group PWM bipolar circuit or the output terminal of the B-group PWM bipolar circuit, a shunt resistor connected to the sampling resistor, and an operational amplifier. The current closed-loop feedback circuit samples the A-phase current or the B-phase current, converts it into a voltage signal through a shunt resistor, and then performs differential amplification and filtering to output the current feedback signal. The current feedback signal is a voltage signal that is proportional to the A-phase current or the B-phase current. The PI controller includes an operational amplifier, a Zener diode, a resistor, and a capacitor. It performs subtraction, amplification, level shifting, and anti-saturation PI operations on the analog signal and the current feedback signal, and outputs a PI signal to the PWM bipolar drive circuit.

4. The spaceborne high-performance, high-reliability stepper motor according to claim 1, characterized in that: The subtractor is an operational amplifier N2. The current closed-loop feedback circuit includes a resistor R7 connected between the output terminal and the negative input terminal of the operational amplifier N2, capacitors C5 and C6 connected in series with the positive input terminal of the operational amplifier N2, capacitors C7 and C8 connected in series with the negative input terminal of the operational amplifier N2, resistors R8 and R12 connected to capacitor C7 and the negative input terminal of the operational amplifier N2 respectively, resistors R9 and R10 connected in parallel with capacitor C5 and the positive input terminal of the operational amplifier N2, resistor R11 connected in parallel with resistor R10, resistors R13 and R14 connected in parallel between resistors R11 and R12 respectively, capacitor C9 connected to both resistors R12 and R13, and capacitor C10 connected to the BOOTSTRAP_1A pin of the H-bridge driver chip. Resistors R13 and R14 are current sampling resistors. The other ends of resistors R8, R9 and R10 are all connected to +12VA. The other end of capacitor C6 is connected to the other end of capacitor C8 and grounded. The other end of capacitor C9 is connected to the BOOTSTRAP_2A pin of the H-bridge driver chip, and resistor R14 is connected to the V_OUT_2A pin of the H-bridge driver chip. The V_OUT_2A pin of the H-bridge driver chip outputs the A-phase current, and the V_OUT_1A pin of the H-bridge driver chip is connected to the other end of capacitor C10 to output the B-phase current. The PI controller includes an operational amplifier N3, a resistor R15 and a capacitor C11 connected between the output terminal and the negative input terminal of the operational amplifier N3, a capacitor C12 connected in parallel with the resistor R15 and the capacitor C11, a Zener diode V1, a resistor R22, a Zener diode V2 whose negative terminal is connected to the negative terminal of the Zener diode V1, resistors R20 and R21 connected in parallel with the other end of the capacitor C12, resistors R16, R18, and R19 connected in parallel with the positive input terminal of the operational amplifier N3, and a resistor R17 connected to the other end of the resistor R16; The positive terminal of Zener diode V2 is connected to capacitors C11 and C12 and the negative input terminal of operational amplifier N3. Resistor R7 and the output terminal of operational amplifier N2 are connected to resistors R18 and R19. The other end of resistor R20 is connected to +12VA, and the other end of resistor R21 is grounded. One end of resistor R17 receives either the A-phase current control command or the B-phase current control command. Both the positive and negative terminals of operational amplifier N2 receive current feedback signals. One end of resistor R22 is connected to the PWM bipolar drive circuit.

5. The spaceborne high-performance, high-reliability stepper motor according to claim 1, characterized in that: The PWM bipolar drive circuit includes a voltage comparator connected to the output of the PI controller and a sawtooth wave generator and an H-bridge driver connected to the voltage comparator. The voltage comparator compares the PI signal with the sawtooth wave output by the sawtooth wave generator to obtain a duty cycle controlled PWM signal. The H-bridge driver operates in bipolar mode. When the DIR pin is high, the driving voltage of the motor A-phase winding is positive; when the DIR pin is low, the driving voltage of the motor A-phase winding is negative. When the duty cycle of the PWM signal on the DIR pin is 50%, the average voltage is zero. The two independent H-bridge drivers are located in one chip. The output A-phase current and B-phase current drive the A-phase winding and B-phase winding of the stepper motor body, respectively. The A-phase current and B-phase current are variable frequency sinusoidal current signal and variable frequency cosine current signal, respectively, which are linearly controlled by speed command.

6. A microstepping control and driving method for a spaceborne high-performance, high-reliability stepper motor, characterized in that: Includes the following steps: S1. The onboard digital controller uses speed control commands to look up tables or calculate to obtain digital sine and digital cosine signals, and generates square wave signals whose duty cycles change according to sine or cosine laws through pulse width modulation. The square wave signals are sine-modulated PWM signals and cosine-modulated PWM signals. S2. The high-order low-pass filter filters the sinusoidal modulation PWM signal and the cosine modulation PWM signal to restore them to analog sine and cosine signals. S3. Design a current closed-loop feedback circuit. The current closed-loop feedback circuit samples, amplifies, and filters the A-phase current and B-phase current output to the stepper motor body to obtain a voltage signal proportional to the A-phase current and the B-phase current as the current feedback signal. S4. Design an anti-saturation PI controller, which performs subtraction, amplification, level shifting, and anti-saturation PI operation on the sine signal or the cosine signal and the current feedback signal to obtain a PI signal and output it to the PWM bipolar drive circuit. S5. The PWM bipolar drive circuit uses a sawtooth wave generated by a sawtooth wave generator to modulate the PI signal with PWM and outputs a PWM signal. Then, the signal is bipolarly amplified by an H-bridge driver to obtain the A-phase current and the B-phase current, which are output to the A-phase winding driver and the B-phase winding driver of the stepper motor body, respectively. The A-phase current and the B-phase current remain continuous when they cross zero.

7. The microstepping control and driving method for a spaceborne high-performance, high-reliability stepper motor according to claim 6, characterized in that: In step S1, the frequencies of the sinusoidal modulation PWM signal and the cosine modulation PWM signal are: ; in, The highest frequency of the digital sine or digital cosine signal calculated based on the maximum speed requirement of the stepper motor; ; in, This represents the maximum angular velocity of the stepper motor, expressed in degrees per second. This refers to the step angle of the stepper motor. The sine-modulated PWM signal or the cosine-modulated PWM signal is obtained by comparing a digital sine signal or a digital cosine signal with a sawtooth wave carrier signal using digital methods. Both digital sine and digital cosine signals are obtained using table lookup or calculation methods, and the output data is updated every cycle or several cycles under the control of the system clock. The sawtooth wave carrier signal is obtained using a hexadecimal adder counter, which increments by one in each clock cycle under the control of the system clock. When the sawtooth wave carrier signal value is higher than the digital sine signal or digital cosine signal value, the output is high; otherwise, it is low. A comparison is performed once per system clock cycle, but the digital sine signal or digital cosine signal used for comparison is only updated once when the counter overflows and returns to zero.

8. The microstepping control and driving method for a spaceborne high-performance, high-reliability stepper motor according to claim 6, characterized in that: In step S2, the high-order low-pass filter filters the sine-modulated PWM signal and the cosine-modulated PWM signal, and outputs a sine signal and a cosine signal with DC bias.

9. The microstepping control and driving method for a spaceborne high-performance, high-reliability stepper motor according to claim 6, characterized in that: In step S3, the method for calculating the shunt resistor value is as follows: ; in, The value of the shunt resistor. This represents the peak value of the phase current of the stepper motor. ; in, This represents the effective value of the phase current of the stepper motor. Calculate the current amplification gain of the current closed-loop feedback circuit based on the amplitudes of the sine and cosine signals, the DC bias, and the shunt resistor value: ; in, For current amplification gain, The amplitude of the current-amplified output voltage is consistent with the amplitude of the sinusoidal signal output by the high-order low-pass filter. The current amplification gain is consistent with the gain of the sine signal and the cosine signal, so that the current error signal can be calculated by the subtractor and output to the PI controller.

10. The microstepping control and driving method for a spaceborne high-performance, high-reliability stepper motor according to claim 6, characterized in that: In step S4, the electromagnetic time constant T of the stepper motor is obtained based on the DC resistance and inductance of each phase winding of the stepper motor. m According to T m Determine the proportional and integral coefficients of the PI regulator in the PI controller; ; in: For motor winding inductance, The DC resistance of the motor windings; Integral time constant of PI controller With electromagnetic time constant T m The same principle applies to zero-pole cancellation.