A fully digital collaborative control method between a turntable and a high-speed balance wheel
Through a fully digital control method, the DSP processor and BLDC motor are used to realize collaborative control of the turntable and high-speed balance wheel, solving the problems of low control accuracy and increased cost in the existing technology, and achieving efficient speed collaborative control.
Patent Information
- Application Number
- CN202411034883.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-31
AI Technical Summary
In the existing technology, brushless DC motors require analog circuits to achieve phase commutation during high-speed control, resulting in low control accuracy and inability to effectively coordinate the control of the turntable and balance wheel. Multiple analog controllers are required, resulting in increased weight, volume and cost. .
Adopting a fully digital control method, using a DSP processor, the BLDC motor of the turntable and balance wheel, external interface management software and the host computer, through collaborative control of hardware and software, the collaborative control of the turntable and high-speed balance wheel is realized, reducing the need for multiple Simulate controller dependencies.
It realizes the coordinated control of the turntable and multiple high-speed balance wheels, reduces the cost, improves the control accuracy, solves the problem of the balance wheel speed not being able to increase, and reduces the weight and volume.
Smart Images

Figure CN118567282B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of turntables or high-speed balancing wheels, and relates to a full digital control method, in particular to a full digital collaborative control method between a turntable and a high-speed balancing wheel. Background Art
[0002] The simulated load derotation experiment requires a turntable, a load, and a balance wheel. The main function of the turntable is to carry the load antenna and realize the smooth rotation of the rotating antenna. However, since the torque and angular momentum of the satellite will be affected during the rotation of the turntable with the load, the balance wheel and the turntable need to be coordinated to control and offset the torque and angular momentum to make the residual torque and angular momentum as small as possible. However, since the torque and angular momentum generated when the turntable drives the load to rotate are proportional to the load inertia, the residual torque and angular momentum can only be reduced as much as possible by increasing the inertia and speed of the balance wheel. However, since the increase in the inertia of the balance wheel will reduce the first-order resonant frequency and cause resonance, the method of increasing the speed of the balance wheel is often used.
[0003] The actuators of the turntable and the high-speed balance wheel are brushless DC motors. The control of the turntable and the high-speed balance wheel is the coordinated control of several brushless DC motors. The purpose is to achieve that when the turntable is rotating with a large inertia load, the balance wheel compensates for its angular momentum and ensures that the residual angular momentum is as small as possible. Therefore, coordinated speed control is required.
[0004] However, in the prior art, since the brushless DC motor needs to be commutated in time during high-speed control, the controller is generally implemented through an analog circuit. This method results in low control accuracy of the motor current loop and speed loop, affecting the speed stability of the motor.
[0005] In the prior art, brushless DC motors require timely phase switching during high-speed control, so controllers are generally implemented using analog circuits. This approach results in low scalability of the controller and inability to coordinate control with other controlled objects. In addition, brushless DC motors usually require position closed-loop control, so they also need to be equipped with digital chips for control, which increases weight, volume, and cost. Summary of the invention
[0006] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a fully digital control method for the coordinated control of a turntable and a high-speed balance wheel, so as to solve the technical problems that the speed of the balance wheel cannot be increased in the coordinated control of the fully digital turntable and the high-speed balance wheel, and the need for a digital controller and multiple analog controllers, resulting in increased weight, volume and cost.
[0007] In order to solve the above technical problems, the present invention adopts the following technical solutions to achieve the above problems:
[0008] A fully digital collaborative control method between a turntable and a high-speed balancing wheel, wherein the control hardware includes: a DSP processor, a turntable BLDC, a balancing wheel BLDC, an external interface management software and a host computer; the DSP processor includes an acceleration limiter, a turntable speed controller, a turntable current controller, balancing wheels A and B speed controllers, and balancing wheels A and B current controllers, and includes the following steps:
[0009] Step 1: Initialize the internal configuration of the DSP processor;
[0010] Step 2: determine whether an external interrupt of the DSP processor is generated, if yes, proceed to step 3, otherwise continue to wait for the interrupt;
[0011] Step 3, sequentially setting the watchdog I / O port of the DSP processor, setting the DSP completion initialization flag, collecting and analyzing the feedback required for the turntable BLDC control, and collecting and analyzing the feedback required for the balance wheel BLDC control;
[0012] The feedback quantity required for the turntable BLDC control includes the turntable feedback current and the turntable angle measurement;
[0013] The feedback quantity required for the balancing wheel BLDC control includes the feedback current of the balancing wheels A and B;
[0014] Step 4: The external device sets the target angular velocity of the turntable, and the DSP processor compares the target angular velocity of the turntable with the target angular velocity of the turntable in the previous cycle to see if there is any change. If yes, all control variables are cleared and the process goes to step 5; otherwise, the process goes directly to step 5;
[0015] Step 5: determine the turntable rotation working mode according to the change of the target angular velocity of the turntable, and set the parameters of the turntable speed controller and the balance wheel A and B speed controllers accordingly according to the turntable rotation working mode;
[0016] Step 6, determining the real-time given rotation speed of the balance wheels A and B according to the current rotation working mode of the turntable, calculating the target angular velocity of the turntable, and inputting the target angular velocity into the acceleration limiter to obtain the turntable input velocity after the acceleration is limited;
[0017] Step 7, the turntable speed is obtained by calculating the turntable angle measurement obtained in step 3, and the turntable speed is filtered to obtain the turntable feedback speed;
[0018] Step eight, inputting the turntable input speed obtained in step six and the turntable feedback speed obtained in step seven into a turntable speed controller to obtain a turntable input current;
[0019] Step nine, inputting the turntable input current obtained in step eight and the turntable feedback current obtained in step three into the turntable current controller to obtain the turntable BLDC control duty cycle;
[0020] Step 10, performing commutation control on the turntable BLDC through the Hall signal of the turntable BLDC, and using the turntable BLDC control duty cycle obtained in step 9 to control the rotation of the turntable BLDC;
[0021] Step 11, the motor speed is obtained by Hall calculation of the rotation speed of the balancing wheel BLDC, and the motor speed is filtered to obtain the feedback speed of the balancing wheels A and B;
[0022] Step 12, inputting the feedback speed of the balancing wheels A and B obtained in step 11 and the given speed of the balancing wheels A and B obtained in step 6 into the corresponding speed controllers of the balancing wheels A and B, and obtaining the given currents of the balancing wheels A and B respectively;
[0023] Step 13, inputting the given current of the balancing wheels A and B obtained in step 12 and the feedback current of the balancing wheels A and B obtained in step 3 into the current controllers of the balancing wheels A and B respectively, and obtaining the control duty ratios of the BLDC of the balancing wheels A and B respectively;
[0024] Step 14, judging whether the current speeds of the balancing wheels A and B are both less than 100 rpm, if yes, then performing motor Hall acquisition and analysis of the balancing wheels A and B, querying the BLDC commutation table and the BLDC control duty ratio of the balancing wheels A and B obtained in step 13 by performing commutation control of the balancing wheels A and B respectively through the results of the motor Hall acquisition and analysis of the balancing wheels A and B, otherwise proceeding to step 15;
[0025] Step 15, entering the commutation interrupt service routine of the balance wheel A or B;
[0026] Step 16, transmitting the obtained control information back to the external interface management software or the host computer;
[0027] Step 17, return to step 2.
[0028] The present invention specifically comprises the following steps:
[0029] Step 1 is as follows: initialize the clock, initialize global variables, disable global interrupts, initialize register variables, configure external interrupts, initialize I / O ports, and initialize turntable mode.
[0030] The turntable rotation working modes include acceleration, deceleration and constant speed.
[0031] In step six, the target angular velocity of the turntable is calculated according to the following formula;
[0032]
[0033] in:
[0034] Indicates the turntable inertia;
[0035] represents the inertia of balance wheel A;
[0036] represents the inertia of balance wheel B;
[0037] represents the target angular velocity of the turntable, rpm;
[0038] Indicates the feedback speed of balance wheel A, rpm;
[0039] Indicates the feedback speed of balance wheel B, rpm.
[0040] The control variables include the turntable speed controller, the turntable current controller, the balance wheel A, B speed controllers and the integral control quantities of the balance wheel A, B current controllers.
[0041] The commutation interrupt service program of the balancing wheel A or B interrupts the 4KHz interrupt of the current main program, and respectively collects and analyzes the Hall signal of the balancing wheels A and B at the current moment and controls the commutation of the balancing wheels A and B.
[0042] The control information includes the turntable rotation speed and turntable input current of the turntable, the given speed and given current of the balance wheel A, and the given speed and given current of the balance wheel B.
[0043] Compared with the prior art, the present invention has the following beneficial technical effects:
[0044] (I) In the present invention, only one DSP processor is needed to realize the coordinated control of the turntable and multiple high-speed balancing wheels. Compared with the prior art, the coordinated control of the turntable and the high-speed balancing wheel usually requires multiple processors to realize the synchronous control of the turntable and the balancing wheel respectively, which greatly reduces the cost and solves the technical problem that the coordinated control of the full digital turntable and the high-speed balancing wheel requires a digital controller and multiple analog controllers, which leads to increased weight, volume and cost.
[0045] (II) In the present invention, when judging whether the rotation speed of the balancing wheel reaches 100rpm, if it does not reach it, the conventional method is adopted to perform motor commutation control according to the motor Hall acquisition information of the balancing wheel BLDC. The commutation lag of this method has little effect when the motor is at low speed, but if the rotation speed of the balancing wheel motor exceeds 100rpm, the DSP waits for the balancing wheel phase interruption. The IO of the phase interruption should be higher than the priority of the external interruption. After the phase interruption occurs, the DSP will interrupt the original 4KHz program, give priority to the execution of the balancing wheel phase interruption service program, and perform the Hall acquisition analysis of the balancing wheel motor and the motor commutation control in sequence. Finally, after the balancing wheel interruption is completed, the original 4KHz program is resumed, which solves the technical problem that the balancing wheel speed cannot be increased in the coordinated control of the full digital turntable and the high-speed balancing wheel.
[0046] (III) Since the load inertia of the turntable is large, the angular momentum that needs to be compensated by the balance wheel is large, and the balance wheel must be lightweight, so the inertia is limited. Therefore, the balance wheel speed can only be increased to meet the demand. The method proposed in the present invention is particularly suitable for lightweight turntables and balance wheels under large inertia load conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a flowchart of the present invention;
[0048] Figure 2 Generate schematic diagram for commutation interruption of balancing wheel motor;
[0049] Figure 3 It is the cross-sectional view of the turntable working mode;
[0050] Figure 4 This is a cross-sectional view of the working mode of balance wheels A and B.
[0051] The specific contents of the present invention are further explained in detail below in conjunction with embodiments. DETAILED DESCRIPTION
[0052] It should be noted that, unless otherwise specified, all components in the present invention are components known in the art.
[0053] Specific embodiments of the present invention are given below. It should be noted that the present invention is not limited to the following specific embodiments, and all equivalent changes made on the basis of the technical solution of this application fall within the protection scope of the present invention.
[0054] The present invention provides a fully digital coordinated control method between a turntable and a high-speed balancing wheel. The control hardware includes: a DSP (Digital Signal Processing, indicating digital signal processing technology) processor, a turntable BLDC (Brushless DC Motor, indicating brushless DC motor), a balancing wheel BLDC, external interface management software and a host computer; the DSP processor includes an acceleration limiter, a turntable speed controller, a turntable current controller, balancing wheels A and B speed controllers, and balancing wheels A and B current controllers, and includes the following steps:
[0055] Step 1: Initialize the internal configuration of the DSP processor;
[0056] Step 2: determine whether an external interrupt of the DSP processor is generated, if yes, proceed to step 3, otherwise continue to wait for the interrupt;
[0057] Step 3, sequentially setting the watchdog I / O port of the DSP processor, setting the DSP completion initialization flag, collecting and analyzing the feedback required for the turntable BLDC control, and collecting and analyzing the feedback required for the balance wheel BLDC control;
[0058] The feedback quantities required for turntable BLDC control include turntable feedback current and turntable angle measurement;
[0059] The feedback quantity required for the balancing wheel BLDC control includes the feedback current of the balancing wheels A and B;
[0060] Step 4: The external device sets the target angular velocity of the turntable, and the DSP processor compares the target angular velocity of the turntable with the target angular velocity of the turntable in the previous cycle to see if there is any change. If yes, all control variables are cleared and the process goes to step 5; otherwise, the process goes directly to step 5;
[0061] Step 5: determine the turntable rotation working mode according to the change of the target angular velocity of the turntable, and set the parameters of the turntable speed controller and the balance wheel A and B speed controllers accordingly according to the turntable rotation working mode;
[0062] Step 6, determining the real-time given rotation speed of the balance wheels A and B according to the current rotation working mode of the turntable, calculating the target angular velocity of the turntable, and inputting the target angular velocity into the acceleration limiter to obtain the input velocity of the turntable after the acceleration is limited;
[0063] Step 7, the turntable speed is obtained by calculating the turntable angle measurement obtained in step 3, and the turntable speed is filtered to obtain the turntable feedback speed;
[0064] Step eight, inputting the turntable input speed obtained in step six and the turntable feedback speed obtained in step seven into a turntable speed controller to obtain a turntable input current;
[0065] Step nine, inputting the turntable input current obtained in step eight and the turntable feedback current obtained in step three into the turntable current controller to obtain the turntable BLDC control duty cycle;
[0066] Step 10, performing commutation control on the turntable BLDC through the Hall signal of the turntable BLDC, and using the turntable BLDC control duty cycle obtained in step 9 to control the rotation of the turntable BLDC;
[0067] Step 11, the motor speed is obtained by Hall calculation of the rotation speed of the balancing wheel BLDC, and the motor speed is filtered to obtain the feedback speed of the balancing wheels A and B;
[0068] Step 12, inputting the feedback speed of the balancing wheels A and B obtained in step 11 and the given speed of the balancing wheels A and B obtained in step 6 into the corresponding speed controllers of the balancing wheels A and B, and obtaining the given currents of the balancing wheels A and B respectively;
[0069] Step 13, inputting the given current of the balancing wheels A and B obtained in step 12 and the feedback current of the balancing wheels A and B obtained in step 3 into the current controllers of the balancing wheels A and B respectively, and obtaining the control duty ratios of the BLDC of the balancing wheels A and B respectively;
[0070] Step 14, judging whether the current speeds of the balancing wheels A and B are both less than 100 rpm, if yes, then performing motor Hall acquisition and analysis of the balancing wheels A and B, querying the BLDC commutation table and the BLDC control duty ratio of the balancing wheels A and B obtained in step 13 by performing commutation control of the balancing wheels A and B respectively through the results of the motor Hall acquisition and analysis of the balancing wheels A and B, otherwise proceeding to step 15;
[0071] Step 15, entering the commutation interrupt service routine of the balance wheel A or B;
[0072] Step 16, transmitting the obtained control information back to the external interface management software or the host computer;
[0073] Step 17, return to step 2.
[0074] In the above technical solution, only one DSP processor is needed to realize the coordinated control of the turntable and multiple high-speed balancing wheels. Compared with the prior art, the coordinated control of the turntable and the high-speed balancing wheel usually requires multiple processors to realize the synchronous control of the turntable and the balancing wheel respectively, which greatly reduces the cost and solves the technical problem that the coordinated control of the full digital turntable and the high-speed balancing wheel requires a digital controller and multiple analog controllers, which leads to increased weight, volume and cost.
[0075] In step 5, the control parameters of the speed controller are different in different rotation working modes of the turntable, and are set according to actual conditions.
[0076] In step six, if the original target angular velocity is 0 and the target angular velocity is now 90° / s, the original variable must be cleared, and it is determined that the turntable rotation working mode is entering the acceleration working mode. The acceleration limiter then performs acceleration planning according to the target velocity of 90° / s to output the real-time turntable input velocity.
[0077] In step 12, the feedback speeds of the two balancing wheels obtained in step 11 and the given speeds of the balancing wheels A and B obtained in step 6 are input into the speed controller respectively, so as to obtain the given currents of the balancing wheels A and B;
[0078] The main program may be a complete set of programs running in the DSP processor in the hardware;
[0079] The interrupt service routine is a program in the main program that runs at a certain interrupt frequency;
[0080] BLDC commutation table, that is, if the system is to be controlled by commutation, the timing starts after the Hall update is obtained in the DSP processor. When the time reaches the advanced commutation time, the balance wheel BLDC cuts into the next HALL phase sequence in advance.
[0081] Step 1 is as follows: initialize the clock, initialize global variables, disable global interrupts, initialize register variables, configure external interrupts, initialize I / O ports, and initialize turntable mode.
[0082] The turntable rotation working modes include acceleration, deceleration and constant speed.
[0083] In step six, the target angular velocity of the turntable is calculated according to the following formula;
[0084]
[0085] in:
[0086] Indicates the turntable inertia;
[0087] represents the inertia of balance wheel A;
[0088] represents the inertia of balance wheel B;
[0089] represents the target angular velocity of the turntable, rpm;
[0090] Indicates the feedback speed of balance wheel A, rpm;
[0091] Indicates the feedback speed of balance wheel B, rpm.
[0092] The control variables include the turntable speed controller, the turntable current controller, the balance wheel A, B speed controllers and the integral control quantities of the balance wheel A, B current controllers.
[0093] The commutation interrupt service program of the balancing wheel A or B interrupts the 4KHz interrupt of the current main program, and respectively collects and analyzes the Hall signal of the balancing wheels A and B at the current moment and controls the commutation of the balancing wheels A and B.
[0094] The control information includes the turntable rotation speed and turntable input current of the turntable, the given speed and given current of the balance wheel A, and the given speed and given current of the balance wheel B.
[0095] Example:
[0096] First, the speed loop and current loop of the two balance wheels are controlled in turn. In order to compensate for the angular momentum and torque of the turntable load, the turntable speed and the balance wheel speed have a certain proportional relationship. Here, the turntable rotates 90° / s and the two balance wheels need to rotate 6000rpm. When the system receives the turntable 90° / s rotation instruction, the balance wheel measures the speed through the Hall speed. Since the speed measurement accuracy is poor at low speeds, the acceleration stage is divided into two stages for a total of 6 minutes. In the first stage, the turntable is first accelerated from 0° / s to 1.5° / s through uniform acceleration, and the balance wheel is accelerated from 0rpm to 100rpm through the constant torque output of the controller (the speed is determined by the proportional relationship between the load and the inertia of the balance wheel); in the second stage, the balance wheel accelerates with the maximum acceleration capacity after exceeding 100rpm to ensure the acceleration time, and the turntable is driven by the feedback speed of the balance wheels A and B as the given speed after coefficient transformation. After reaching the predetermined speed, the maximum working time is maintained for 20 minutes. When the turntable subsystem receives the 0° / s command from the turntable, it enters the deceleration stage. During the period when the balance wheel speed is greater than 100rpm, A uses constant torque guidance to decelerate. When the speed is less than 100rpm, the drive unit outputs a constant torque to decelerate. When the balance wheel speed is less than 100rpm, the turntable uses uniform deceleration trajectory planning to guide deceleration.
[0097] The working modes of the turntable and balance wheels A and B are as follows Figure 3 , Figure 4 shown.
[0098] After the controller is turned on, it responds to the "turntable BLDC power on" OC command. After the turntable motor is turned on, the turntable accelerates autonomously to 1.6° / s through uniform acceleration trajectory planning, and the balancing wheel constant torque is started to 100rpm.
[0099] During acceleration, deceleration and constant speed operation, the turntable speed follows the balance wheel speed in real time, and the corresponding speed relationship is determined by the turntable load inertia and the balance wheel inertia. The speed relationship during operation is as follows:
[0100]
[0101] Indicates the turntable inertia;
[0102] Indicates the inertia of the balance wheel;
[0103] represents the angular velocity of the turntable;
[0104] Indicates the angular velocity of the balance wheel.
[0105] Next, it is determined whether the rotation speed of the balance wheel reaches 100rpm. If not, the conventional method is used to control the motor phase change according to the Hall acquisition information of the balance wheel motor (the hysteresis of the phase change of this method has little effect when the motor is at low speed). If the rotation speed of the balance wheel motor exceeds 100rpm, the DSP waits for the balance wheel phase change interrupt (the interrupt is generated by the FPGA collecting the Hall signals of the balance wheel motor A, B, and C and processing the signals. The generation method is as follows Figure 2 As shown in the figure, the commutation interrupt is generated by the FPGA, and the real-time commutation interrupt and HALL signal are input to the DSP's IO respectively. The commutation interrupt IO should have a higher priority than the external interrupt. After the commutation interrupt occurs, the DSP will interrupt the original 4KHz program, give priority to the balancing wheel phase interrupt service program, and perform the balancing wheel motor Hall acquisition analysis and motor commutation control in turn. Finally, after the balancing wheel interrupt is completed, the original 4KHz program will be resumed.
[0106] The brushless DC motor (BLDC) servo control is shown in the figure below. The phase current is detected , , given by the stator current vector Phase current can be obtained . The sector in which the turntable is currently located is determined by different HALL signals, and then the current closed loop is performed according to the commutation logic of the current sector and the torque direction output by the speed controller. The six-way PWM (Pulse-width modulation) signal that drives the three-phase inverter is output in real time to complete the high-speed motor control of the motor, so the existing bipolar PWM control method is not adopted. The following table 1 shows the relationship between the Hall signal and the six-way PWM signal that drives the three-phase inverter in real time.
[0107] Table 1 Relationship between Hall signal and six-way PWM signal for real-time output driving three-phase inverter
[0108]
Claims
1. A fully digital coordinated control method between a turntable and a high-speed balance wheel, characterized in that: The control hardware includes: a DSP processor, a turntable BLDC, a balancing wheel BLDC, an external interface management software and a host computer; the DSP processor includes an acceleration limiter, a turntable speed controller, a turntable current controller, balancing wheels A and B speed controllers, and balancing wheels A and B current controllers, including the following steps: Step 1: Initialize the internal configuration of the DSP processor; Step 2: determine whether an external interrupt of the DSP processor is generated, if yes, proceed to step 3, otherwise continue to wait for the interrupt; Step 3, sequentially setting the watchdog I / O port of the DSP processor, setting the DSP completion initialization flag, collecting and analyzing the feedback required for the turntable BLDC control, and collecting and analyzing the feedback required for the balance wheel BLDC control; The feedback quantity required for the turntable BLDC control includes the turntable feedback current and the turntable angle measurement; The feedback quantity required for the balancing wheel BLDC control includes the feedback current of the balancing wheels A and B; Step 4: The external device sets the target angular velocity of the turntable, and the DSP processor compares the target angular velocity of the turntable with the target angular velocity of the turntable in the previous cycle to see if there is any change. If yes, all control variables are cleared and the process goes to step 5; otherwise, the process goes directly to step 5; Step 5: determine the turntable rotation working mode according to the change of the target angular velocity of the turntable, and set the parameters of the turntable speed controller and the balance wheel A and B speed controllers accordingly according to the turntable rotation working mode; Step 6: Determine the real-time given rotation speed of the balance wheels A and B according to the current turntable rotation working mode, calculate the target angular velocity of the turntable, and input the target angular velocity into the acceleration limiter to obtain the turntable input velocity after the acceleration is limited; Step 7, the turntable speed is obtained by calculating the turntable angle measurement obtained in step 3, and the turntable speed is filtered to obtain the turntable feedback speed; Step eight, inputting the turntable input speed obtained in step six and the turntable feedback speed obtained in step seven into a turntable speed controller to obtain a turntable input current; Step nine, inputting the turntable input current obtained in step eight and the turntable feedback current obtained in step three into the turntable current controller to obtain the turntable BLDC control duty cycle; Step 10, performing commutation control on the turntable BLDC through the Hall signal of the turntable BLDC, and using the turntable BLDC control duty cycle obtained in step 9 to control the rotation of the turntable BLDC; Step 11, the motor speed is obtained by Hall calculation of the rotation speed of the balancing wheel BLDC, and the motor speed is filtered to obtain the feedback speed of the balancing wheels A and B; Step 12, inputting the feedback speed of the balancing wheels A and B obtained in step 11 and the given speed of the balancing wheels A and B obtained in step 6 into the corresponding speed controllers of the balancing wheels A and B, and obtaining the given currents of the balancing wheels A and B respectively; Step 13, inputting the given current of the balancing wheels A and B obtained in step 12 and the feedback current of the balancing wheels A and B obtained in step 3 into the current controllers of the balancing wheels A and B respectively, and obtaining the control duty ratios of the BLDC of the balancing wheels A and B respectively; Step 14, judging whether the current speeds of the balancing wheels A and B are both less than 100 rpm, if yes, then performing motor Hall acquisition and analysis of the balancing wheels A and B, querying the BLDC commutation table and the BLDC control duty ratio of the balancing wheels A and B obtained in step 13 by performing commutation control of the balancing wheels A and B respectively through the results of the motor Hall acquisition and analysis of the balancing wheels A and B, otherwise proceeding to step 15; Step 15, entering the commutation interrupt service routine of the balance wheel A or B; Step 16, transmitting the obtained control information back to the external interface management software or the host computer; Step 17, return to step 2.
2. The fully digital coordinated control method between the turntable and the high-speed balance wheel as claimed in claim 1, characterized in that: Step 1 is as follows: initialize the clock, initialize global variables, disable global interrupts, initialize register variables, configure external interrupts, initialize I / O ports, and initialize turntable mode.
3. The fully digital coordinated control method between the turntable and the high-speed balance wheel as claimed in claim 1, characterized in that: The turntable rotation working modes include acceleration, deceleration and constant speed.
4. The fully digital coordinated control method between the turntable and the high-speed balance wheel as claimed in claim 1, characterized in that: In step six, the target angular velocity of the turntable is calculated according to the following formula: in: Indicates the turntable inertia; represents the inertia of balance wheel A; represents the inertia of balance wheel B; represents the target angular velocity of the turntable, rpm; Indicates the feedback speed of balance wheel A, rpm; Indicates the feedback speed of balance wheel B, rpm.
5. The fully digital coordinated control method between the turntable and the high-speed balance wheel as claimed in claim 1, characterized in that: The control variables include the turntable speed controller, the turntable current controller, the balance wheel A, B speed controllers and the integral control quantities of the balance wheel A, B current controllers.
6. The fully digital coordinated control method between the turntable and the high-speed balance wheel as claimed in claim 1, characterized in that: The commutation interrupt service program of the balancing wheel A or B interrupts the 4KHz interrupt of the current main program, and respectively collects and analyzes the Hall signal of the balancing wheels A and B at the current moment and controls the commutation of the balancing wheels A and B.
7. The fully digital coordinated control method between the turntable and the high-speed balance wheel as claimed in claim 1, characterized in that: The control information includes the turntable rotation speed and turntable input current of the turntable, the given speed and given current of the balance wheel A, and the given speed and given current of the balance wheel B.
Citation Information
Patent Citations
Multi-shaft permanent magnet synchronous motor control device
CN111064393A
Satellite-borne large-inertia rotary load angular momentum and moment compensation method and system
CN111498150A
Direct current brushless motor control method based on dynamic Hall equalization
CN118017881A
Control system for naval gun and method thereof
KR1020120059830A
Centrifugal type acceleration measuring device
US5353642A
