SADA return-to-zero control method based on dual-mode sensor

By adopting a dual-mode sensor zero return control method in the solar panel driving device, combined with a potentiometer and a switch Hall sensor, the problems of angle sensor failure and difficulty in clearing the accumulated angle error in the traditional SADA zero return mode are solved, achieving The fast and reliable zero return operation extends the working time of the satellite in orbit.

CN118760240APending Publication Date: 2024-10-11北京轩宇空间科技有限公司
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410891566.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The traditional solar panel driving device (SADA) has angle sensor failure and difficulty in clearing the accumulated angle error in the zero return mode, resulting in a long return to zero time and low reliability, which affects the satellite's on-orbit working time.

Method used

Adopt a zero-return control method based on dual-mode sensors, combined with potentiometers and switch Hall sensors, and quickly identify the zero-return direction through single potentiometer, single-switch Hall and dual-mode sensor zero return modes to ensure that the return to zero direction can still be achieved when the sensor fails. Complete zero return, improving the speed and reliability of zero return.

Benefits of technology

It significantly shortens the zero-return time, improves the zero-return speed and reliability of SADA products, extends the satellite's on-orbit working window time, and ensures that the zero-return operation can still be completed when a single sensor fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760240A_ABST
    Figure CN118760240A_ABST
Patent Text Reader

Abstract

According to the SADA zero returning control method based on the dual-mode sensor, the dual-mode sensor comprises a potentiometer and a switch Hall which are arranged in an SADM in the SADA, and the method comprises the steps that when the potentiometer and the switch Hall are both effective, one of a single potentiometer zero returning mode, a single switch Hall zero returning mode and a dual-mode sensor zero returning mode is adopted; when only the potentiometer is effective, a single-potentiometer zero returning mode is adopted; when only the switch Hall is effective, a single-switch Hall zero returning mode is adopted; when the satellite service computer can correctly bind the step counting angle theta sample, the single-switch Hall return-to-zero mode is a single-switch Hall normal return-to-zero mode; and when the satellite service cannot correctly bind the step counting angle, the single-switch Hall zeroing mode is a single-switch Hall initial zeroing mode. According to the method, the zero-returning direction can be quickly identified, the zero-returning time is greatly shortened, the zero-returning rapidity of an SADA product is improved, and the on-orbit working window time of a satellite is prolonged; and when a certain sensor fails, zero returning can be completed by adopting single-sensor zero returning logic, so that the zero returning reliability of an SADA product is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a solar sail panel driving control technology, and in particular to a SADA zero return control method based on a dual-mode sensor. Background Art

[0002] The Solar Array Drive Assembly (SADA) is one of the key single-unit equipment of the satellite, responsible for completing the solar array orientation to the sun and realizing the signal and power transmission between the solar array and the satellite. SADA includes two functional parts: Solar Array Drive Machinery (SADM) and Solar Array Drive Electro-circuit (SADE).

[0003] Traditionally, the angular position sensors of SADM use aerospace-grade devices, which need to be screened to ensure reliability. Commercial aerospace is sensitive to the cost of SADA products, and usually reduces the quality level of components and parts to control product costs. The driving source of SADM mostly uses stepper motors, and the component level of SADE is seven-special or general military or even industrial grade. This type of SADA needs to clear the accumulated angle error of the stepper motor through the zero return mode to ensure high-precision angular position control. Summary of the invention

[0004] In order to solve the above-mentioned deficiencies in the related prior art, the present invention provides a SADA return to zero control method based on a dual-mode sensor, which can quickly identify the return to zero direction, greatly shorten the return to zero time, improve the rapidity of the SADA product return to zero, and extend the satellite's on-orbit working window time; and when a certain sensor fails, a single sensor return to zero logic can be used to complete the return to zero mode, thereby improving the reliability of the SADA product return to zero.

[0005] In order to achieve the purpose of the present invention, the following technical solutions are proposed: A SADA return to zero control method based on a dual-mode sensor, wherein the dual-mode sensor includes a potentiometer and a switch Hall inside a SADM in the SADA, and the control method includes: When both the potentiometer and the switch Hall are valid, one of the single potentiometer zero return mode, single switch Hall zero return mode, and dual-mode sensor zero return mode is used; When only the potentiometer is effective, the single potentiometer zero return mode is used; When only the switch Hall is valid, the single switch Hall zero return mode is adopted; when the satellite service computer can correctly set the step counting angle θsade, the single switch Hall zero return mode is the single switch Hall normal zero return mode; when the satellite service cannot correctly set the step counting angle, the single switch Hall zero return mode is the single switch Hall initial zero return mode; In the single potentiometer zero return mode, SADE returns to zero according to the potentiometer angle θpot. The potentiometer angle θpot is the angle value calibrated by SADE according to the voltage value output by the potentiometer, and is obtained by averaging and filtering multiple sampled angle values. In the normal zero return mode of the single switch Hall, SADE returns to zero according to the correctly bound pedometer angle θsade1. When the satellite enters orbit and deploys the solar panels for the first time, the correctly bound pedometer angle θsade1 is bound according to the ground panel compression angle; when SADE is restarted or switched to the main standby machine under the control of the satellite computer, the correctly bound pedometer angle θsade1 is bound according to the pedometer angle telemetry before power failure; In the single switch Hall initial return to zero mode, SADE performs negative or positive rotation according to the current step counting angle θsade2>0° or θsade2≤0°, and during the rotation process, SADE interrupts and captures the edge signal of the Hall pulse signal to return to zero; In the dual-mode sensor zero return mode, SADE calculates and intercepts the potentiometer angle θpot, and binds it to the current pedometer angle θsade3. SADE returns to zero based on the bound current pedometer angle θsade3.

[0006] Furthermore, in the single potentiometer zero return mode, SADE determines the zero return direction according to the position of the potentiometer angle θpot in the potentiometer zero return angle interval: When the potentiometer angle θpot is in the first predetermined angle range of the reference point mechanical zero position θmzero in the negative direction / positive direction in the potentiometer return angle interval, the SADM performs positive polarity / negative polarity rotation to the first positive return angle / first negative return angle, and maintains it, and then reverses the polarity to rotate back to zero; When the potentiometer angle θpot is in a negative direction / positive direction beyond the first predetermined angle range to a preset first negative soft limit angle / first positive soft limit angle, the SADM performs a positive polarity / negative polarity rotation back to zero.

[0007] Further, in the zero return angle interval of the potentiometer, with the mechanical zero position θmzero as the 0 reference point, angle values ​​-θzero1, -θjudge1, -θreturn1, -θstop1, and -θlimit1 are sequentially provided in the negative direction, and angle values ​​+θzero1, +θjudge1, +θreturn1, +θstop1, and +θlimit1 are sequentially provided in the positive direction, wherein [-θzero1, +θzero1] is the first zero position interval, [-θjudge1, +θjudge1] is the first zero judgement interval, [-θjudge1, 0] is the first negative zero judgement interval, (0, +θjudge1] is the first positive zero judgement interval, -θreturn1 is the first negative return angle, +θreturn1 is the first positive return angle, -θstop1 is the first negative stop angle, +θstop1 is the first positive stop angle, -θlimit1 is the first negative soft limit angle, and +θlimit1 is the first positive soft limit angle; If the current potentiometer angle θpot is outside the first positive zero-judgment interval +θjudge1, i.e., θpot∈(+θjudge1, +θlimit1], the SADM performs a negative polarity rotation to return to zero in the zero position interval; If the current potentiometer angle θpot is within the first negative zero-judgment interval, that is, θpot∈[-θjudge1, 0], the SADM first rotates with positive polarity to the first positive return angle +θreturn1 position, then enters the hold mode, and reverses the polarity to rotate with negative polarity to return to zero in the zero position interval; If the current potentiometer angle θpot is outside the first negative zero-judgment interval -θjudge1, i.e., θpot∈[-θlimit1, -θjudge1), the SADM performs a positive polarity rotation to return to zero in the zero position interval; If the current potentiometer angle θpot is within the first positive zero-judgment interval, i.e., θpot∈(0,+θjudge1], the SADM first rotates with negative polarity to the first negative return angle -θreturn1 position, then enters the hold mode, and reverses the polarity to rotate with positive polarity to return to zero in the zero position interval; When returning to zero, a detection and judgment step is performed. When SADE detects that the potentiometer angle θpot enters the first zero judgment interval [-θjudge1, +θjudge1] for the first time, it performs multiple consecutive detections to determine whether the potentiometer angle θpot is in the first zero position interval [-θzero1, +θzero1]: If the detection results of the predetermined number of times are all in the first zero position interval [-θzero1, +θzero1], it is considered that the zero position is reached, and SADE enters the hold mode, the potentiometer angle θpot is cleared, the zero position is in place mark is high, and the step angle credible mark is set high, indicating that the zero return is successful, and the single potentiometer zero return mode is completed; If the detection results for less than the predetermined number of times are all in the first zero position interval [-θzero1, +θzero1], the SADM continues to maintain the same polarity rotation and jumps to the detection judgment step to continue execution; until it reaches the first positive stop angle +θstop1 / the first negative stop angle -θstop1 and remains stationary, it is considered that the return to zero has failed, and the SADE enters the holding mode, the potentiometer angle θpot is not cleared, the zero position mark is set to zero, and the step angle trustworthy mark is set to zero, indicating that the return to zero has failed, and the single potentiometer return to zero mode is completed.

[0008] Furthermore, in the single switch Hall normal return to zero mode, SADE determines the return to zero direction according to the position of the correctly bound step counting angle θsade1 in the switch Hall return to zero angle interval: When the correctly bound pedometer angle θsade1 is in the switch Hall zero return angle interval and the second predetermined angle range in the negative direction / positive direction with the reference point mechanical zero position θmzero, the SADM performs negative polarity / positive polarity rotation to the second negative return angle / second positive return angle and maintains it, and then reverses the polarity to rotate back to zero; When the correctly bound pedometer angle θsade1 is in the negative direction / positive direction beyond the second predetermined angle range to the preset second negative soft limit angle / second positive soft limit angle, the SADM performs positive polarity / negative polarity rotation back to zero; During the return to zero process, the edge signal of the Hall pulse signal captured by the SADE interrupt: If the capture is successful, the SADM will continue to rotate with the same polarity, and count the increment Δθsade1 of the step angle θsade1. When the increment Δθsade1 reaches the preset value, it indicates that the SADM has reached the zero position and the return to zero mode is completed. The SADM enters the holding mode, the zero position in place flag is set high, the step angle θsade1 is cleared, the step angle credible flag is high, indicating that the step angle is credible, and the zero detection abnormal flag is set to zero, indicating that there is no abnormality in the zero detection, and waits for the next frame instruction; If it is not captured, SADM will continue to rotate with the same polarity until it is successfully captured, or the pedometer angle θsade1 reverses its polarity and the reverse direction exceeds the preset angle value to reach the stop position. SADE determines that the return to zero has failed, and SADE enters the hold mode. The zero position in place flag is set to zero, the pedometer angle θsade1 is not cleared to zero, the pedometer angle credible flag is set to zero, indicating that the pedometer angle is unreliable, and the zero detection exception flag is set high, indicating that the zero detection is abnormal, waiting for the next frame instruction.

[0009] Further, in the switch Hall return to zero angle interval, with the mechanical zero position θmzero as the 0 reference point, the angle values ​​-θzero2, -θjudge2, -θreturn2, -θstop2, and -θlimit2 are sequentially set in the negative direction, and the angle values ​​+θzero2, +θjudge2, +θreturn2, +θstop2, and +θlimit2 are sequentially set in the positive direction, wherein [-θzero2, +θzero2] is the second zero position interval, [-θjudge2, +θjudge2] is the second zero judgment interval, [-θjudge2, 0] is the second negative zero judgment interval, (0, +θjudge2] is the second positive zero judgment interval, -θreturn2 is the second negative return angle, +θreturn2 is the second positive return angle, -θstop2 is the second negative stop angle, +θstop2 is the second positive stop angle, -θlimit2 is the second negative soft limit angle, and +θlimit2 is the second positive soft limit angle; If the correctly bound pedometer angle θsade1 is outside the second positive zero-judgment interval +θjudge2, i.e., θsade1∈(+θjudge2, +θlimit2], the SADM performs a negative polarity rotation to return to zero toward the second zero-judgment interval; If the correctly bound pedometer angle θsade1 is within the second positive zero-judgment interval, i.e., θsade1∈(0,+θjudge2], the SADM first rotates with positive polarity to the second positive return angle +θreturn2 position, then enters the hold mode, and reverses the polarity to rotate with negative polarity to return to zero toward the second zero-position interval; If the correctly bound pedometer angle θsade1 is within the second negative zero-judgment interval, i.e., θsade1∈[0,+θjudge2], the SADM first rotates with negative polarity to the second negative return angle -θreturn2 position, then enters the hold mode, and reverses the polarity to rotate with positive polarity to return to zero toward the second zero-position interval; If the correctly bound pedometer angle θsade1 is outside the second negative zero-judgment interval -θjudge2, that is, θsade1∈[-θlimit2, -θjudge2), the SADM performs a positive polarity rotation to return to zero toward the second zero-position interval.

[0010] Furthermore, in the single switch Hall initial zero return mode: If the current pedometer angle θsade2>0° / θsade2≤0°, the SADM performs negative polarity rotation / positive polarity rotation, and counts the increment Δθsade2 of the pedometer angle θsade2: If during the rotation, the SADE interrupt captures the edge signal of the Hall pulse signal, it will continue to rotate with the same polarity, and the increment Δθsade2 will be cleared and recounted. When the increment Δθsade2 is equal to the preset value, it indicates that the zero position has been reached. At this time, SADE enters the holding mode, the zero position in place flag is set high, the step angle θsade2 is cleared, and the step angle reliable flag is high; If during the rotation process, when the increment Δθsade2 reaches the preset maximum negative value / preset maximum positive value, SADE still fails to capture the edge signal of the Hall pulse signal, SADE enters the holding mode, at which time the increment Δθsade2 is cleared to make SADM convert to positive polarity rotation / negative polarity rotation, and the increment Δθsade2 counts; During the rotation after the conversion: If the SADE interrupt captures the edge signal of the Hall pulse signal, it continues to rotate with the same polarity, and clears the increment Δθsade2 and recounts. When the increment Δθsade2 is equal to the predetermined value, it indicates that the zero position has been reached. At this time, SADE enters the holding mode, the zero position in place flag is set high, the step angle θsade2 is cleared, and the step angle reliable flag is high; If SADE still fails to capture the edge signal of the Hall pulse signal when the increment Δθsade2 reaches the preset maximum positive value / maximum negative value, SADE enters the hold mode, indicating that the zero search is not completed. At this time, the zero position mark is set to zero, the step angle θsade2 is not cleared to zero, and the step angle reliable mark is set to zero.

[0011] Furthermore, in the dual-mode sensor zero return mode, SADE determines the zero return direction according to the position of the current step counting angle θsade3 in the switch Hall zero return angle interval: When the bound current pedometer angle θsade3 is in the switch Hall zero return angle interval and the second predetermined angle range of the reference point mechanical zero position θmzero in the negative direction / positive direction, the SADM performs negative polarity / positive polarity rotation to the second negative return angle / second positive return angle, and maintains it, and then reverses the polarity to rotate back to zero; When the current pedometer angle θsade3 of the binding is in the negative direction / positive direction beyond the second predetermined angle range to the preset second negative soft limit angle / second positive soft limit angle, the SADM performs positive polarity / negative polarity rotation back to zero; During the return to zero process, the edge signal of the Hall pulse signal captured by the SADE interrupt: If the capture is successful, the SADM will continue to rotate with the same polarity, and count the increment Δθsade3 of the step angle θsade3. When the increment Δθsade3 reaches the preset value, it indicates that the SADM has reached the zero position and the return to zero mode is completed. The SADM enters the holding mode, the zero position in place flag is set high, the step angle θsade3 is cleared, the step angle credible flag is set high, indicating that the step angle is credible, and the zero detection abnormal flag is set to zero, indicating that there is no abnormality in the zero detection, and waits for the next frame instruction; If it is not captured, SADM will continue to rotate with the same polarity until it is successfully captured, or the pedometer angle θsade3 reverses its polarity and the reverse direction exceeds the preset angle value to reach the stop position. SADE determines that the return to zero has failed, and SADE enters the hold mode. The zero position in place flag is set to zero, the pedometer angle θsade3 is not cleared to zero, the pedometer angle credible flag is set to zero, indicating that the pedometer angle is unreliable, and the zero detection exception flag is set high, indicating that the zero detection is abnormal, waiting for the next frame instruction.

[0012] Furthermore, the predetermined value refers to 0.5 times the Hall zero width HZW, and the Hall zero width HZW refers to the high-level duration angle between the two edges of the Hall pulse signal, one edge is the edge where the low level jumps to the high level, and the other edge is the edge where the high level jumps to the low level. The Hall pulse signal is obtained by processing the switch Hall conditioning circuit when the permanent magnet used in conjunction with the switch Hall rotates one circle and passes through the switch Hall. The pulse signal output by the switch Hall detects the magnetic field of the permanent magnet.

[0013] Furthermore, the effectiveness of the potentiometer is determined as follows: SADE drives SADM to rotate in negative polarity / positive polarity at a predetermined speed according to the bound current pedometer angle θsade3>0° / θsade3≤0°; The increment Δθsade3 of the step counting angle θsade3 is counted during the rotation, and when it is determined that the increment Δθsade3<-θpotloss / Δθsade3>+θpotloss, it is further determined whether the potentiometer angle increment Δθpot undergoes an increment change of the same polarity: If |Δθpot-Δθsade3|>1°, it means that Δθpot has no increment of the same polarity, and the potentiometer is considered to be failed; If |Δθpot-Δθsade3|≤1°, it means that Δθpot has a same polarity increment, and the potentiometer is determined to be valid; Among them, θpotloss is the preset potentiometer failure judgment angle.

[0014] Furthermore, the validity of the switch Hall is judged in the following manner: when the potentiometer is determined to be valid / invalid, SADE performs zeroing according to the dual-mode sensor zeroing mode / single switch Hall initial zeroing mode, and detects the rising edge of the Hall pulse signal. When the rising edge of the Hall pulse signal is detected to be true, the switch Hall is judged to be valid; when the rising edge of the Hall pulse signal is detected to be false, the switch Hall is judged to be invalid.

[0015] Compared with the prior art, the above technical solution has the following advantages: This scheme proposes a dual-mode sensor redundant configuration measure, which uses a potentiometer and switch Hall combination method to quickly identify the return to zero direction, greatly shorten the return to zero time, improve the rapidity of SADA product return to zero, and extend the satellite's on-orbit working window time; when a sensor fails, the single sensor return to zero logic can be used to complete the return to zero mode, and when the single switch Hall is valid, normal return to zero and initial return to zero can be performed according to whether the satellite service has correctly bound the step counting angle, so that the return to zero mode covers more comprehensively and improves the return to zero reliability of the SADA product. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the definition of the zero return angle interval of the potentiometer in an embodiment of the present application.

[0017] Figure 2 It is a logic flow chart of the single potentiometer zero return mode of the embodiment of the present application.

[0018] Figure 3 It is a schematic diagram of the definition of the switch Hall return to zero angle interval in an embodiment of the present application.

[0019] Figure 4 It is a logic flow chart of the normal return to zero mode of a single switch Hall in an embodiment of the present application.

[0020] Figure 5 It is a logic flow chart of the single switch Hall initial return to zero mode of the embodiment of the present application.

[0021] Figure 6 This is an example of the single switch Hall initial return to zero mode of an embodiment of the present application.

[0022] Figure 7 It is a logic flow chart of the dual-mode sensor return to zero mode of the embodiment of the present application.

[0023] Figure 8 It is a flow chart of the effectiveness judgment of the dual-mode sensor according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] The technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0025] SADA zero return mode is one of the important working modes for situations where the accumulated angle error of the stepper motor needs to be cleared through the zero return mode. The correct execution of this mode requires three conditions to be met. The first is to use an angular position sensor to provide a zero return signal, the second is to design a conditioning circuit that matches the angular position sensor, and the third is to design a zero return logic that matches the angular position sensor. The angular position sensor is assembled inside the SADM. Commonly used angular position sensors include switch Hall, potentiometer, photoelectric sensor, etc. The conditioning circuit is electrically installed inside the SADE, and the zero return logic runs in the SADE microprocessor in the form of code.

[0026] In order to ensure the rapidity and reliability of the zero return of commercial aerospace SADA products, an embodiment of the present application provides a SADA zero return control method based on a dual-mode sensor, wherein the dual-mode sensor includes a potentiometer and a switch Hall inside the SADM in the SADA, and the control method includes: when both the potentiometer and the switch Hall are valid, one of the single potentiometer zero return mode, the single switch Hall zero return mode, and the dual-mode sensor zero return mode is adopted; when only the potentiometer is valid, the single potentiometer zero return mode is adopted; when only the switch Hall is valid, the single switch Hall zero return mode is adopted; when the satellite computer can correctly bind the pedometer angle θsade, the single switch Hall zero return mode is the single switch Hall normal zero return mode; when the pedometer angle θsade recorded by the satellite computer has correct polarity but inaccurate value or is not recorded and the pedometer angle cannot be correctly bound, the single switch Hall zero return mode is the single switch Hall initial zero return mode.

[0027] Specifically, according to the effectiveness of the dual-mode sensor, the zero return mode is selected, and the truth table is selected as shown in Table 1.

[0028] Among them, the potentiometer working status word BITpot is set high by default, BITpot=1, indicating that the potentiometer is valid; when the potentiometer fails, the potentiometer working status word BITpot is set to zero, BITpot=0. The switch Hall working status word BIThall is set high by default, BIThall=1, indicating that the switch Hall is valid; when the switch Hall fails, the switch Hall sensor working status word BIThall is set to zero, BIThall=0. According to Table 1, there are the following situations: Case 1: When the potentiometer status word BITpot is 1 and the switch hall status word BIThall is 1, the satellite service computer can select four zero return modes: single potentiometer zero return mode HOMEpot, single switch hall normal zero return mode HOMEhall, single switch hall initial zero return mode InitHOMEhall, and dual-mode sensor zero return mode HOMEdual.

[0029] Case 2: When the potentiometer status word BITpot is 1 and the switch Hall status word BIThall is 0, the satellite service computer can only select the zero return mode related to the potentiometer, that is, the single potentiometer zero return mode HOMEpot.

[0030] Case 3: When the potentiometer status word BITpot is 0 and the switch hall status word BIThall is 1, the satellite service computer can only select the zero return mode related to the switch hall, namely, the single switch hall normal zero return mode HOMEhall and the single switch hall initial zero return mode InitHOMEhall.

[0031] Case 4: When the potentiometer status word BITpot is 0 and the switch Hall status word BIThall is 0, the satellite service computer cannot select any return to zero mode and SADA cannot perform the return to zero operation.

[0032] In practical applications, the switch Hall is installed on the inner side wall of the SADM housing and is stationary. The switch Hall is used in combination with a rotating permanent magnet. When the SADM passes through the zero position, the switch Hall outputs a pulse signal. The switch Hall is usually used in a 360° continuous rotating SADA, and can also be used in a swinging SADA. The potentiometer is divided into two parts, a stationary part and a rotating part. The stationary part is installed at the bottom of the SADM housing, and the rotating part is installed coaxially with the SADM output shaft. When the SADM rotates, the potentiometer outputs a continuous angular position signal. Theoretically, any angular position can be set to zero position, and the median value of the potentiometer is usually set to zero position. Potentiometers are usually used in swinging SADAs.

[0033] 1. Single potentiometer zero return mode HOMEpot strategy: When SADE executes the single potentiometer home mode HOMEpot, SADE homers according to the potentiometer angle θpot. The default value of the home speed is the maximum angular velocity, such as 0.6° / second, and other angular velocities can also be executed. The home direction is determined by SADE based on the continuous angular position signal output by the potentiometer. Specifically, the potentiometer angle θpot is used, which is the angle value calibrated by the software after the output voltage value of the potentiometer installed by SADM is transmitted to SADE. The wild value of the angle value is eliminated, and the final potentiometer angle θpot is obtained after multiple sampling and averaging for filtering, and participates in the SADA home logic.

[0034] In single potentiometer zero return mode, a potentiometer zero return angle interval is defined, such as Figure 1As shown, with the mechanical zero position θmzero as the 0 reference point, the angle values ​​-θzero1, -θjudge1, -θreturn1, -θstop1, and -θlimit1 are set in the negative direction, and the angle values ​​+θzero1, +θjudge1, +θreturn1, +θstop1, and +θlimit1 are set in the positive direction. Among them, the mechanical zero position θmzero is the high-precision zero position value set when the SADM is assembled. In this example, the SADM potentiometer outputs the median voltage at this time, and the SADE collects the median voltage and calibrates it as the mechanical zero angle value. The SADA zero return logic ensures that the angle when the zero return is completed is as close to the mechanical zero position as possible under the premise of ensuring the success of the zero return. The potentiometer angle θpot can be calibrated to the angle range of the 347° angle envelope using the SADE software configuration coefficient, which is usually calibrated to ±173.5°. In this example, the positive angle interval and the negative angle interval range are set to be symmetrical to ±173.5° with the mechanical zero position as the reference.

[0035] [-θjudge1,+θjudge1] is the first zero judgment interval, which is used to start judging the angle interval of the zero position. When the potentiometer angle θpot collected by SADE enters this interval for the first time, SADE starts to judge whether the potentiometer angle θpot belongs to the zero position interval. [-θjudge1,0] is the first negative zero judgment interval, and (0,+θjudge1] is the first positive zero judgment interval.

[0036] [-θzero1,+θzero1] is the first zero position interval. SADE software is limited by the AD acquisition accuracy. The electrical zero position in the return to zero mode is set as an interval, which includes the mechanical zero position θmzero. When the SADM potentiometer angle θpot acquired by SADE is within this interval, it indicates that SADA has reached the zero position. When the potentiometer angle θpot acquired by SADE is in the zero position interval, it switches to the hold mode, the zero search success flag is high, and waits for the next frame of correct instructions. Here, when the hold mode is executed, SADM remains stationary. The hold mode can be divided into power-on hold mode and power-off hold mode. When SADM is in the power-on hold mode, the stepper motor winding is powered on, the holding power consumption is large, and the holding torque is relatively large. When SADM is in the power-off hold mode, the stepper motor winding is not powered on, the holding power consumption is relatively small, and the holding torque is relatively small.

[0037] +θreturn1 is the first positive return angle, which refers to the potentiometer angle θpot value of SADM when SADE responds to the return to zero mode and drives SADM to rotate forward out of the zero position interval, and then stops from positive rotation and is ready to switch polarity to negative rotation; -θreturn1 is the first negative return angle, which refers to the potentiometer angle θpot value of SADM when SADE responds to the return to zero mode and drives SADM to rotate negatively out of the zero position interval, and then stops from negative rotation and is ready to switch polarity to positive rotation.

[0038] +θstop1 is the first positive stop angle. When SADA executes the return to zero mode but fails to find the zero, the polarity is the maximum potentiometer angle θpot allowed by the positive rotation, and the potentiometer angle θpot is a positive value. When SADA reaches this angle, it switches to the hold mode, the zero-finding success flag is at zero, and waits for the next frame of correct instructions; -θstop1 is the first negative stop angle. When SADA executes the return to zero mode but fails to find the zero, the polarity is the maximum potentiometer angle θpot allowed by the negative rotation, and the potentiometer angle θpot is a negative value. When SADA reaches this angle, it switches to the hold mode, the zero-finding success flag is at zero, and waits for the next frame of correct instructions.

[0039] +θlimit1 is the first positive soft limit angle. When the SADM safety swing polarity is in positive rotation, the maximum step angle that SADE allows to reach is a positive value. When the SADE step angle reaches the positive soft limit angle, it switches to the hold mode and waits for the next frame of correct instructions. -θlimit1 is the first negative soft limit angle. When the SADM safety swing polarity is in negative rotation, the maximum step angle that SADE allows to reach is a negative value. When the SADE step angle reaches the negative soft limit angle, it switches to the hold mode and waits for the next frame of correct instructions.

[0040] In addition, positive mechanical limit angle +θmlimit1 / negative mechanical limit angle -θmlimit are defined: with mechanical zero position θmzero as the reference point, the maximum angular position that allows SADM polarity to be selected for positive rotation / negative direction is generally the first positive soft limit angle +θlimit1 with an expansion of 5° / the first negative soft limit angle -θlimit1 with an expansion of -5°. SADM designs mechanical stops at the positive mechanical limit angle and the negative mechanical limit angle to avoid interference during positive / negative rotation.

[0041] According to the potentiometer angle θpot accuracy, set the values ​​of relevant parameters in the potentiometer zero return angle range, such as Figure 1As shown, the first zero judgment interval [-θjudge1, +θjudge1] is [-0.5°, +0.5°]. If the zero judgment interval is appropriately relaxed, the return to zero success can be guaranteed, but the return to zero time will be longer; the first zero position interval is [-θzero1, +θzero1] is [-0.25°, +0.25°]. When the analog-to-digital conversion accuracy in SADE is low, in order to ensure the return to zero interval margin, the zero position interval can be widened to the zero judgment interval; the first positive return angle +θreturn is +3°, and the first negative return angle -θreturn is -3°. If the return angle is appropriately increased, the return to zero success can be guaranteed, but the return to zero time will be longer; the first positive stop angle +θstop is +10°, and the first negative stop angle +θstop is -10°.

[0042] The single potentiometer zero return mode is applicable to a single potentiometer. When SADE is restarted / switched between the master and standby machines, the processing steps include: when the potentiometer angle θpot is in the first predetermined angle range in the negative direction / positive direction with the reference point mechanical zero position θmzero in the potentiometer zero return angle interval, SADM performs positive / negative polarity rotation to the first positive return angle / first negative return angle, and maintains it, then reverses the polarity to rotate back to zero; when the potentiometer angle θpot is in the negative direction / positive direction beyond the first predetermined angle range to the preset first negative soft limit angle / first positive soft limit angle, SADM performs positive / negative polarity rotation back to zero. Combined with Figure 1 For the definition of the potentiometer zero return angle range, see Figure 2 The logic flow of the single potentiometer zero return mode is shown in the figure. The specific processing steps of the single potentiometer zero return mode are as follows: SADE calculates and intercepts the potentiometer angle θpot, and assigns / binds it to the current SADM step counting angle θsade. SADE receives and responds to the single potentiometer zero return mode remote control command (including zero return speed), and SADE determines the zero return strategy and zero return direction based on the potentiometer angle θpot: If the current potentiometer angle θpot is outside the first positive zero-judgment interval +θjudge1, i.e., θpot∈(+θjudge1, +θlimit1], the SADM performs a negative polarity rotation to return to zero in the zero position interval; If the current potentiometer angle θpot is within the first negative zero-judgment interval, that is, θpot∈[-θjudge1, 0], the SADM first rotates with positive polarity to the first positive return angle +θreturn1 position, then enters the hold mode, and reverses the polarity to rotate with negative polarity to return to zero in the zero position interval; If the current potentiometer angle θpot is outside the first negative zero-judgment interval -θjudge1, i.e., θpot∈[-θlimit1, -θjudge1), the SADM performs a positive polarity rotation to return to zero in the zero position interval; If the current potentiometer angle θpot is within the first positive zero judgement interval, that is, θpot∈(0,+θjudge1], the SADM first rotates with negative polarity to the first negative return angle -θreturn1 position, then enters the hold mode, and reverses the polarity to rotate with positive polarity to return to zero in the zero position interval.

[0043] When returning to zero, a detection and judgment step is performed. When SADE detects that the potentiometer angle θpot enters the first zero judgment interval [-θjudge1, +θjudge1] for the first time, it detects whether the potentiometer angle θpot is in the first zero position interval [-θzero1, +θzero1] for multiple times (for example, 10 times): If the detection results for a predetermined number of times (for example, 7 times) are all in the first zero position interval [-θzero1, +θzero1], it is considered that the zero position is reached, and SADE enters the hold mode. The potentiometer angle θpot is cleared, the zero position is in place mark is high, and the step angle trustworthy mark is set high, indicating that the zero return is successful, and the single potentiometer zero return mode is completed; If the detection results for less than the predetermined number of times (for example, 7 times) are all in the first zero position interval [-θzero1, +θzero1], the SADM continues to maintain the same polarity rotation and jumps to the detection judgment step to continue execution; until it reaches the first positive stop angle +θstop1 / the first negative stop angle -θstop1 and remains stationary, it is considered that the return to zero has failed, and the SADE enters the holding mode, the potentiometer angle θpot is not cleared, the zero position mark is set to zero, and the step angle trustworthy mark is set to zero, indicating that the return to zero has failed, and the single potentiometer return to zero mode is completed.

[0044] After the single potentiometer zero return mode is completed, the SADA working mode automatically switches to the hold mode, waiting for and responding to the next frame command. After the satellite computer receives the return to zero telemetry measurement flag signal, it determines to send other working mode remote control commands or send the zero return mode remote control command again.

[0045] 2. Single switch Hall normal return to zero HOMEhall strategy: In SADM, a stationary switch Hall and a rotating permanent magnet are used together. When SADM performs the zero return mode, the permanent magnet rotates toward the switch Hall. When the switch Hall detects the magnetic field of the permanent magnet, the switch Hall output signal jumps from low level to high level and remains high level. The permanent magnet continues to rotate in the same direction until it is away from the switch Hall. When the switch Hall cannot detect the magnetic field of the permanent magnet, the switch Hall output signal jumps from high level to low level and remains low level. In other words, the permanent magnet rotates one circle and passes through the switch Hall, and the switch Hall detects the magnetic field of the permanent magnet and outputs a pulse signal. After the pulse signal is processed by the switch Hall signal conditioning circuit, a Hall pulse signal (Hall Pulse Signal, hereinafter referred to as HPS) is output and transmitted to the capture interface of the SADE microcontroller (Micro Controller Unit, hereinafter referred to as MCU). The HPS has two edges: edge 1 where the low level jumps to the high level, and edge 2 where the high level jumps to the low level. The high level duration angle between these two edges is the Hall Zero Width (HZW), which can be calculated offline. HZW is related to the SADM assembly and is usually between 10° and 12°. The MCU collects the edge of HPS through the capture interface and triggers the return to zero judgment condition. When the step counting angle increment is consistent with half of the HZW, it indicates that the SADM has reached zero.

[0046] When assembling a satellite, the solar panels are installed on the outside of the satellite body through the SADM. From the time the satellite is installed until it enters orbit, the solar panels are in a compressed state, and the current angular position of the SADM is called the panel compression angle. After the satellite enters orbit, the solar panels need to be deployed: the SADM performs a zero return operation, that is, it rotates from the solar panel compression angle to the mechanical zero position, completes the deployment of the solar panels, and the deployment mechanism locks the solar panels in the deployed state. The panel compression angle is a design value, which is a fixed value. The compression angle is determined according to the satellite design and is usually ±180°.

[0047] Angle binding of the satellite computer: Since the switch Hall cannot reflect the angle range where the SADM is located, the satellite computer needs to bind the current pedometer angle to the SADE, and the SADE returns to zero based on the correctly bound pedometer angle θsade1. When the satellite enters orbit and deploys the solar panels for the first time, the correctly bound pedometer angle θsade1 is bound based on the ground panel compression angle. When the SADE is restarted or switched to the main standby machine under the control of the satellite computer, the correctly bound pedometer angle θsade1 is bound based on the pedometer angle telemetry before power failure.

[0048] For the angle range and angle involved in the normal zero return strategy of the SADE switch Hall, as shown in the following figure: Figure 3The switch Hall return to zero angle range definition shown in the figure takes the mechanical zero position θmzero as the 0 reference point, and the angle values ​​are -θzero2, -θjudge2, -θreturn2, -θstop2, and -θlimit2 in the negative direction, and the angle values ​​are +θzero2, +θjudge2, +θreturn2, +θstop2, and +θlimit2 in the positive direction.

[0049] Among them, [-θzero2, +θzero2] is the second zero position interval, and the zero position interval is set to [-6°, +6°] according to the Hall width. [-θjudge2, +θjudge2] is the second zero judgment interval. Since the Hall uses edge acquisition to start the zero position interval, the second zero judgment interval is outside the second zero position interval and is set to [-10°, +10°]. [-θjudge2, 0] is the second negative zero judgment interval, and (0, +θjudge2] is the second positive zero judgment interval. -θreturn2 is the second negative return angle, taking 2 times the margin of the positive second zero judgment angle and setting it to +20°; +θreturn2 is the second positive return angle, taking 2 times the margin of the second negative zero judgment angle and setting it to -20°. -θstop2 is the second negative stop angle, taking 2 times the margin of the second negative return angle and setting it to -40°; +θstop2 is the second positive stop angle, taking 2 times the margin of the second positive return angle times margin, set to +40°. -θlimit2 is the second negative soft limit angle, which does not exceed -170° and is set to -170°; +θlimit2 is the second positive soft limit angle, which does not exceed +170° and is set to +170°. In addition, there is a second positive mechanical limit angle +θmlimit2, which is set to +175° by expanding the second positive soft limit angle +θlimit2 by 5°; and a second negative mechanical limit angle -θmlimit2, which is set to -175° by expanding the second negative soft limit angle -θlimit2 by 5°.

[0050] In the single switch Hall normal return to zero mode, SADE determines the return to zero direction according to the position of the correctly bound step counting angle θsade1 in the switch Hall return to zero angle interval: When the correctly bound pedometer angle θsade1 is in the switch Hall zero return angle interval and the second predetermined angle range in the negative direction / positive direction with the reference point mechanical zero position θmzero, the SADM performs negative polarity / positive polarity rotation to the second negative return angle / second positive return angle and maintains it, and then reverses the polarity to rotate back to zero; When the correctly bound pedometer angle θsade1 is in the negative direction / positive direction beyond the second predetermined angle range to the preset second negative soft limit angle / second positive soft limit angle, the SADM performs a positive polarity / negative polarity rotation back to zero.

[0051] Specific, combined Figure 3 The interval definition of Figure 4 The detailed logic flow of the single switch Hall return to zero mode is shown as follows: If the correctly bound pedometer angle θsade1 is outside the second positive zero-judgment interval +θjudge2, i.e., θsade1∈(+θjudge2, +θlimit2], the SADM performs a negative polarity rotation to return to zero toward the second zero-judgment interval; If the correctly bound pedometer angle θsade1 is within the second positive zero-judgment interval, i.e., θsade1∈(0,+θjudge2], the SADM first rotates with positive polarity to the second positive return angle +θreturn2 position, then enters the hold mode, and reverses the polarity to rotate with negative polarity to return to zero toward the second zero-position interval; If the correctly bound pedometer angle θsade1 is within the second negative zero-judgment interval, i.e., θsade1∈[0,+θjudge2], the SADM first rotates with negative polarity to the second negative return angle -θreturn2 position, then enters the hold mode, and reverses the polarity to rotate with positive polarity to return to zero toward the second zero-position interval; If the correctly bound pedometer angle θsade1 is outside the second negative zero-judgment interval -θjudge2, that is, θsade1∈[-θlimit2, -θjudge2), the SADM performs a positive polarity rotation to return to zero toward the second zero-position interval.

[0052] During the return to zero process, the edge signal of the Hall pulse signal captured by the SADE interrupt: If the capture is successful, the SADM will continue to rotate with the same polarity, and count the increment Δθsade1 of the step angle θsade1. When the increment Δθsade1 reaches the preset value (0.5 times the Hall zero width HZW), it indicates that the SADM has reached the zero position and the return to zero mode is completed. The SADM enters the holding mode, the zero position in place flag is set high, the step angle θsade1 is cleared, the step angle credible flag is high, indicating that the step angle is credible, and the zero detection abnormal flag is set to zero, indicating that there is no abnormality in the zero detection, and waits for the next frame instruction; If it is not captured, SADM will continue to rotate with the same polarity until it is successfully captured, or until the pedometer angle θsade1 reverses its polarity and the reverse direction exceeds the preset angle value (for example, 40°) to reach the stop position. SADE determines that the return to zero has failed, and SADE enters the hold mode. The zero position in place flag is set to zero, the pedometer angle θsade1 is not cleared to zero, the pedometer angle credible flag is set to zero, indicating that the pedometer angle is unreliable, and the zero detection exception flag is set high, indicating that the zero detection is abnormal, and waits for the next frame instruction.

[0053] 3. Single switch Hall initial return to zero mode InitHOMEhall strategy: When the satellite fails to power on and restarts, the satellite computer cannot correctly set the pedometer angle. The satellite computer sends an initial return to zero mode remote control command to SADE to complete the zeroing operation.

[0054] At any angular position, SADE responds to the initial return to zero mode set by the satellite computer. To calculate the return to zero time, set the initial return to zero speed, for example, fixed to 0.6° / s. When SADE responds to the initial return to zero mode, because the step counting angle is unreliable and cannot represent the true angular position of SADM, it is necessary to set the soft limit angle invalid.

[0055] SADE determines the direction of returning to zero based on the current pedometer angle θsade. The direction of returning to zero is determined based on the current pedometer angle θsade2 and its pedometer angle increment Δθsade2. SADE performs negative or positive rotation according to the current pedometer angle θsade2>0° or θsade2≤0°, and during the rotation process, SADE interrupts and captures the edge signal of the Hall pulse signal to return to zero.

[0056] Specifically, Figure 5 The following is the logic flow of the single switch Hall initial zero return mode: If the current pedometer angle θsade2>0°, the SADM performs a negative polarity rotation and counts the increment Δθsade2 of the pedometer angle θsade2; if the current pedometer angle θsade2≤0°, the SADM performs a positive polarity rotation and counts the increment Δθsade2 of the pedometer angle θsade2. The following will only describe the situation of negative polarity rotation in detail. The situation of positive polarity rotation is described in accordance with Figure 5 The logic flow and the principle of negative polarity rotation can be deduced.

[0057] If during the rotation, the SADE interrupt captures the edge signal of the Hall pulse signal, it will continue to rotate with the same polarity, and the increment Δθsade2 will be cleared and recounted. When the increment Δθsade2 is equal to the preset value (0.5 times the Hall zero width HZW), it indicates that the zero position has been reached. At this time, SADE enters the holding mode, the zero position in place flag is set high, the step angle θsade2 is cleared, and the step angle reliable flag is high; If during the rotation process, the increment Δθsade2 does not reach the preset maximum negative value (-180°), the incremental counting will continue and the capture judgment will continue; if the increment Δθsade2 reaches the preset maximum negative value (-180°) and SADE still does not capture the edge signal of the Hall pulse signal, SADE enters the holding mode, at which time the increment Δθsade2 is cleared to convert SADM to positive polarity rotation, and the increment Δθsade2 is counted.

[0058] During positive polarity rotation after conversion: If the SADE interrupt captures the edge signal of the Hall pulse signal, it continues to rotate with the same polarity, and clears the increment Δθsade2 and recounts. When the increment Δθsade2 is equal to the predetermined value (0.5 times the Hall zero width HZW), it indicates that the zero position has been reached. At this time, SADE enters the holding mode, the zero position in place flag is set high, the step angle θsade2 is cleared, and the step angle reliable flag is high; If SADE still fails to capture the edge signal of the Hall pulse signal when the increment Δθsade2 reaches the preset maximum positive value (+180°), SADE enters the hold mode, indicating that the zero search is not completed. At this time, the zero position mark is set to zero, the step angle θsade2 is not cleared to zero, and the step angle reliable mark is set to zero.

[0059] Since the longest initial return to zero stroke does not exceed 360° and the return to zero speed is 0.6° / s, the time required to complete the single switch Hall initial return to zero mode is less than 600s.

[0060] Example of initial zero return of single switch Hall after power failure and restart of the whole satellite: When the whole satellite is powered off and restarted, the satellite service cannot set the correct pedometer angle. After SADE is powered on and restarted, the default pedometer angle θsade is equal to 0°. Taking the default angle of the pedometer angle θsade as the current pedometer angle θsade2 as an example, the initial zero return mode is explained.

[0061] like Figure 6 As shown, Example 1: The mechanical angle θsadm (based on the mechanical zero position θmzero, the actual angle position of SADM) is +175°, that is, SADM is in the positive mechanical limit. Since θsade2 is 0°, SADE rotates in the positive polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. Since the positive mechanical limit block is in the positive polarity direction, SADM is blocked for 300s and no zero position signal is detected, then it rotates in the negative polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. When it rotates in the negative polarity direction to the mechanical angle θsadm of +6°, a rising edge is detected, that is, a zero position signal is detected, and the return to zero mode can be completed. The time required to complete the return to zero mode is 591.6s.

[0062] Example 2: The mechanical angle θsadm is +80°. Since θsade2 is 0°, SADE rotates in the positive polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. Since the positive mechanical limit block is in the positive polarity direction, after rotating 95°, SADM continues to be blocked for 141.6s and still no zero position signal is detected, so it rotates in the negative polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. When it rotates in the negative polarity direction to the mechanical angle θsadm of +6°, a rising edge is detected, that is, a zero position signal is detected, and the return to zero mode can be completed. The time required to complete the return to zero mode is 591.6s.

[0063] Example 3: The mechanical angle θsadm is +3°. Since θsade2 is 0°, SADE rotates in the positive polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. Since the positive mechanical limit block is in the positive polarity direction, after rotating 172°, SADM continues to be blocked for 13.3s and still no zero position signal is detected, so it rotates in the negative polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. When it rotates in the negative polarity direction to the mechanical angle θsadm of +6°, a rising edge is detected, that is, a zero position signal is detected, and the return to zero mode can be completed. The time required to complete the return to zero mode is 591.6s.

[0064] Example 4: The mechanical angle θsadm is -3°. Since θsade2 is 0°, SADE rotates in the positive polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. Since the positive mechanical limit block is in the positive polarity direction, after rotating 178°, SADM continues to be blocked for 3.3s and still no zero position signal is detected, so it rotates in the negative polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. When it rotates in the negative polarity direction to the mechanical angle θsadm of +6°, a rising edge is detected, that is, a zero position signal is detected, and the return to zero mode can be completed. The time required to complete the return to zero mode is 591.6s.

[0065] Example 5: The mechanical angle θsadm is -5°. Since θsade2 is 0°, SADE rotates in the positive polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. Since the positive mechanical limit block is in the positive polarity direction, after rotating 180°, SADM just reaches the positive mechanical limit without blocking, but the zero position signal is still not detected, so it rotates in the negative polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. When it rotates in the negative polarity direction to the mechanical angle θsadm of +6°, the rising edge is detected, that is, the zero position signal is detected, and the return to zero mode can be completed. The time required to complete the return to zero mode is 591.6s.

[0066] Example 6: The mechanical angle θsadm is -80°. Since θsade2 is 0°, SADE rotates in the positive polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. If the positive polarity direction increment is rotated 180°, the mechanical angle θsadm will reach +100°. The set angle passes through -θzero2 in the second zero position interval, and SADE detects the rising edge of the positive return to zero, that is, the zero position signal can be detected, and the return to zero mode can be completed. The time required to complete the return to zero mode is 133.3s.

[0067] Example 7: The mechanical angle θsadm is -175°, that is, SADM is at the negative mechanical limit. Since θsade2 is 0°, SADE rotates in the positive polarity direction, and the maximum increment of the step increment Δθsade2 is set to 180°. If the positive polarity direction increment is rotated 180°, the mechanical angle θsadm will reach +5°. When the mechanical angle θsadm is -6°, SADE detects the rising edge of the positive return to zero, that is, the zero position signal can be detected, and the return to zero mode can be completed. The time required to complete the return to zero mode is 291.6s.

[0068] When the SADE is restarted and the master-slave switch is made, and the satellite service can bind the correct pedometer angle, the return to zero is completed according to the normal return to zero mode. When the satellite service does not store the correct pedometer angle before the SADE is restarted and the master-slave switch is made, and the pedometer angle cannot be bound correctly, the return to zero is completed according to the initial return to zero mode.

[0069] 4. HOMEdual strategy for dual-mode sensor return to zero mode: In the dual-mode sensor return to zero mode, SADE calculates and intercepts the potentiometer angle θpot, and binds it to the current pedometer angle θsade3. SADE returns to zero based on the bound current pedometer angle θsade3.

[0070] like Figure 7 As shown, after the satellite enters orbit, when the solar panels are first deployed, SADE is powered on for the first time; or when the satellite is in orbit, when the satellite computer controls SADE to restart / SADE switches between the main and backup, SADE is powered on again. After completing the power-on self-test, SADE calculates the current potentiometer angle and intercepts the potentiometer angle θpot and assigns it to the current SADM step angle θsade, that is, the bound current step angle θsade3 is obtained. SADE receives the zero return remote control command and zero return speed sent by the satellite computer, and autonomously responds to the dual-mode zero return mode. SADE determines the zero return strategy and zero return direction based on the assigned / bound step angle θsade3.

[0071] When the current pedometer angle θsade3 bound is in the switch Hall return angle interval and is in the second predetermined angle range of the reference point mechanical zero position θmzero in the negative direction / positive direction, SADM rotates negatively / positively to the second negative return angle / second positive return angle, and maintains it, and then reverses the polarity to rotate back to zero. Specifically, if the pedometer angle θsade3 is in the second negative zero judgment interval, that is, θsade3∈[-θjudge2,0°], SADE drives SADM to rotate negatively to the second negative return angle -θreturn2 position. If the pedometer angle θsade3 is greater than the second negative return angle -θreturn2, the negative polarity rotation continues; otherwise, SADE drives SADM to enter the holding mode and reverses the polarity to rotate to the zero position interval with positive polarity; if the pedometer angle θsade3 is within the second positive zero judgment interval, that is, θsade3∈(0°,+θjudge2], SADE drives SADM to rotate to the second positive return angle +θreturn2 position with positive polarity. If the pedometer angle θsade3 is less than the second positive return angle +θreturn2, the positive polarity rotation continues; otherwise, SADE drives SADM to enter the holding mode and reverses the polarity to rotate to the zero position interval with negative polarity.

[0072] When the current pedometer angle θsade3 bound is in the negative direction / positive direction beyond the second predetermined angle range to the preset second negative soft limit angle / second positive soft limit angle, SADM performs a positive polarity / negative polarity rotation back to zero. Specifically, if the pedometer angle θsade3 is outside the second negative zero judgment interval, that is, θsade3∈[-θlimit2,-θjudge2). SADE performs a positive return to zero operation, that is, SADE drives SADM to rotate positive polarity to the zero position interval; if the pedometer angle θsade3 is outside the second positive zero judgment interval, that is, θsade3∈(+θjudge2,+θlimit2], SADE performs a negative return to zero operation, that is, SADE drives SADM to rotate negative polarity to the zero position interval.

[0073] During the return to zero process, the edge signal of the Hall pulse signal captured by the SADE interrupt: If the capture is successful, the SADM will continue to rotate with the same polarity, and count the increment Δθsade3 of the step angle θsade3. When the increment Δθsade3 reaches the preset value (i.e. 0.5 times HZW), it indicates that the SADM has reached the zero position and the return to zero mode is completed. The SADM enters the holding mode, the zero position in place flag is set high, the step angle θsade3 is cleared, the step angle credible flag is set high, indicating that the step angle is credible, and the zero detection abnormal flag is set to zero, indicating that there is no abnormality in the zero detection, and waits for the next frame instruction; If it is not captured, SADM will continue to rotate with the same polarity until it is successfully captured, or the polarity of the pedometer angle θsade3 is reversed, and the reverse direction exceeds the preset angle value (40°) to reach the stop position. SADE determines that the return to zero has failed, and SADE enters the hold mode. The zero position in place flag is set to zero, the pedometer angle θsade3 is not cleared to zero, the pedometer angle credible flag is set to zero, indicating that the pedometer angle is unreliable, and the zero detection exception flag is set high, indicating that the zero detection is abnormal, waiting for the next frame instruction.

[0074] 5. Dual-mode sensor validity judgment logic: refer to Figure 8 , first determine the effectiveness of the potentiometer According to the analog-to-digital conversion accuracy of SADE, the stratified value of the potentiometer angle θpot can be determined. In this example, the stratified value of the potentiometer angle θpot is 0.34°. SADE drives SADM to rotate continuously according to the set polarity. When the step counting angle increment Δθsade is not less than the potentiometer failure judgment angle θpotloss, the potentiometer angle θpot should change incrementally, and the change polarity is the same.

[0075] The judging step includes: SADE drives SADM to rotate in negative polarity / positive polarity at a predetermined speed according to the current pedometer angle θsade3>0° / θsade3≤0°; The increment Δθsade3 of the step counting angle θsade3 is counted during the rotation, and when it is determined that the increment Δθsade3 < -θpotloss (e.g. -0.4°) / Δθsade3 > +θpotloss (e.g. +0.4°), it is further determined whether the potentiometer angle increment Δθpot undergoes an increment change of the same polarity: If |Δθpot-Δθsade3|>1°, it means that Δθpot has no increment of the same polarity, and the potentiometer is considered to be failed; If |Δθpot-Δθsade3|≤1°, it means that Δθpot has a same polarity increment, and the potentiometer is determined to be valid; Among them, θpotloss is the preset potentiometer failure judgment angle.

[0076] Continue to judge the effectiveness of the switch Hall: When the potentiometer is judged to be valid / invalid, SADE performs zero search according to the dual-mode sensor zero return mode / single switch Hall initial zero return mode, and detects the rising edge of the Hall pulse signal. When the rising edge of the Hall pulse signal is detected to be true, the switch Hall is judged to be valid. When the rising edge of the Hall pulse signal is detected to be false, the switch Hall is judged to be invalid.

[0077] Refer to Table 1 to determine the zero return mode based on the effectiveness of the dual-mode sensor.

[0078] The above description is only a preferred embodiment of the present invention, and is not intended to be the only one or to limit the present invention. Those skilled in the art should understand that various changes or equivalent substitutions made to the present invention without departing from the scope of the present invention are within the scope of protection of the present invention.

Claims

1. A SADA return to zero control method based on a dual-mode sensor, characterized in that: The dual-mode sensor includes a potentiometer and a switch Hall inside the SADM in the SADA, and the control method includes: When both the potentiometer and the switch Hall are valid, one of the single potentiometer zero return mode, single switch Hall zero return mode, and dual-mode sensor zero return mode is used; When only the potentiometer is effective, the single potentiometer zero return mode is used; When only the switch Hall is valid, the single switch Hall zero return mode is adopted; when the satellite service computer can correctly set the step counting angle θsade, the single switch Hall zero return mode is the single switch Hall normal zero return mode; when the satellite service cannot correctly set the step counting angle, the single switch Hall zero return mode is the single switch Hall initial zero return mode; In the single potentiometer zero return mode, SADE returns to zero according to the potentiometer angle θpot. The potentiometer angle θpot is the angle value calibrated by SADE according to the voltage value output by the potentiometer, and is obtained by averaging and filtering multiple sampled angle values. In the normal zero return mode of the single switch Hall, SADE returns to zero according to the correctly bound pedometer angle θsade1. When the satellite enters orbit and deploys the solar panels for the first time, the correctly bound pedometer angle θsade1 is bound according to the ground panel compression angle; when SADE is restarted or switched to the main standby machine under the control of the satellite computer, the correctly bound pedometer angle θsade1 is bound according to the pedometer angle telemetry before power failure; In the single switch Hall initial return to zero mode, SADE performs negative or positive rotation according to the current step counting angle θsade2>0° or θsade2≤0°, and during the rotation process, SADE interrupts and captures the edge signal of the Hall pulse signal to return to zero; In the dual-mode sensor zero return mode, SADE calculates and intercepts the potentiometer angle θpot, and binds it to the current pedometer angle θsade3. SADE returns to zero based on the bound current pedometer angle θsade3.

2. The SADA return to zero control method based on a dual-mode sensor according to claim 1, characterized in that: In single potentiometer zero return mode, SADE determines the zero return direction based on the position of the potentiometer angle θpot in the potentiometer zero return angle interval: When the potentiometer angle θpot is in the first predetermined angle range of the reference point mechanical zero position θmzero in the negative direction / positive direction in the potentiometer return angle interval, the SADM performs positive polarity / negative polarity rotation to the first positive return angle / first negative return angle, and maintains it, and then reverses the polarity to rotate back to zero; When the potentiometer angle θpot is in a negative direction / positive direction beyond the first predetermined angle range to a preset first negative soft limit angle / first positive soft limit angle, the SADM performs a positive polarity / negative polarity rotation back to zero.

3. The SADA return to zero control method based on a dual-mode sensor according to claim 2, characterized in that: In the zero return angle interval of the potentiometer, with the mechanical zero position θmzero as the 0 reference point, the angle values ​​-θzero1, -θjudge1, -θreturn1, -θstop1, and -θlimit1 are set in the negative direction, and the angle values ​​+θzero1, +θjudge1, +θreturn1, +θstop1, and +θlimit1 are set in the positive direction, wherein [-θzero1, +θzero1] is the first zero position interval, [-θjudge1, +θjudge1] is the first zero judgment interval, [-θjudge1, 0] is the first negative zero judgment interval, (0, +θjudge1] is the first positive zero judgment interval, -θreturn1 is the first negative return angle, +θreturn1 is the first positive return angle, -θstop1 is the first negative stop angle, +θstop1 is the first positive stop angle, -θlimit1 is the first negative soft limit angle, and +θlimit1 is the first positive soft limit angle; If the current potentiometer angle θpot is outside the first positive zero-judgment interval +θjudge1, i.e., θpot∈(+θjudge1, +θlimit1], the SADM performs a negative polarity rotation to return to zero in the zero position interval; If the current potentiometer angle θpot is within the first negative zero-judgment interval, that is, θpot∈[-θjudge1, 0], the SADM first rotates with positive polarity to the first positive return angle +θreturn1 position, then enters the hold mode, and reverses the polarity to rotate with negative polarity to return to zero in the zero position interval; If the current potentiometer angle θpot is outside the first negative zero-judgment interval -θjudge1, i.e., θpot∈[-θlimit1, -θjudge1), the SADM performs a positive polarity rotation to return to zero in the zero position interval; If the current potentiometer angle θpot is within the first positive zero-judgment interval, i.e., θpot∈(0,+θjudge1], the SADM first rotates with negative polarity to the first negative return angle -θreturn1 position, then enters the hold mode, and reverses the polarity to rotate with positive polarity to return to zero in the zero position interval; When returning to zero, a detection and judgment step is performed. When SADE detects that the potentiometer angle θpot enters the first zero judgment interval [-θjudge1, +θjudge1] for the first time, it performs multiple consecutive detections to determine whether the potentiometer angle θpot is in the first zero position interval [-θzero1, +θzero1]: If the detection results of the predetermined number of times are all in the first zero position interval [-θzero1, +θzero1], it is considered that the zero position is reached, and SADE enters the hold mode, the potentiometer angle θpot is cleared, the zero position is in place mark is high, and the step angle credible mark is set high, indicating that the zero return is successful, and the single potentiometer zero return mode is completed; If the detection results for less than the predetermined number of times are all in the first zero position interval [-θzero1, +θzero1], the SADM continues to maintain the same polarity rotation and jumps to the detection judgment step to continue execution; until it reaches the first positive stop angle +θstop1 / the first negative stop angle -θstop1 and remains stationary, it is considered that the return to zero has failed, and the SADE enters the holding mode, the potentiometer angle θpot is not cleared, the zero position mark is set to zero, and the step angle trustworthy mark is set to zero, indicating that the return to zero has failed, and the single potentiometer return to zero mode is completed.

4. The SADA return to zero control method based on a dual-mode sensor according to claim 1, characterized in that: In the single switch Hall normal return to zero mode, SADE determines the return to zero direction according to the position of the correctly bound step counting angle θsade1 in the switch Hall return to zero angle interval: When the correctly bound pedometer angle θsade1 is in the switch Hall zero return angle interval and the second predetermined angle range in the negative direction / positive direction with the reference point mechanical zero position θmzero, the SADM performs negative polarity / positive polarity rotation to the second negative return angle / second positive return angle and maintains it, and then reverses the polarity to rotate back to zero; When the correctly bound pedometer angle θsade1 is in the negative direction / positive direction beyond the second predetermined angle range to the preset second negative soft limit angle / second positive soft limit angle, the SADM performs positive polarity / negative polarity rotation back to zero; During the return to zero process, the edge signal of the Hall pulse signal captured by the SADE interrupt: If the capture is successful, the SADM will continue to rotate with the same polarity, and count the increment Δθsade1 of the step angle θsade1. When the increment Δθsade1 reaches the preset value, it indicates that the SADM has reached the zero position and the return to zero mode is completed. The SADM enters the holding mode, the zero position in place flag is set high, the step angle θsade1 is cleared, the step angle credible flag is high, indicating that the step angle is credible, and the zero detection abnormal flag is set to zero, indicating that there is no abnormality in the zero detection, and waits for the next frame instruction; If it is not captured, SADM will continue to rotate with the same polarity until it is successfully captured, or the pedometer angle θsade1 reverses its polarity and the reverse direction exceeds the preset angle value to reach the stop position. SADE determines that the return to zero has failed, and SADE enters the hold mode. The zero position in place flag is set to zero, the pedometer angle θsade1 is not cleared to zero, the pedometer angle credible flag is set to zero, indicating that the pedometer angle is unreliable, and the zero detection exception flag is set high, indicating that the zero detection is abnormal, waiting for the next frame instruction.

5. The SADA return to zero control method based on a dual-mode sensor according to claim 4, characterized in that: In the switch Hall return to zero angle interval, with the mechanical zero position θmzero as the 0 reference point, the angle values ​​-θzero2, -θjudge2, -θreturn2, -θstop2, and -θlimit2 are set in the negative direction, and the angle values ​​+θzero2, +θjudge2, +θreturn2, +θstop2, and +θlimit2 are set in the positive direction, wherein [-θzero2, +θzero2] is the second zero position interval, [-θjudge2, +θjudge2] is the second zero judgment interval, [-θjudge2, 0] is the second negative zero judgment interval, (0, +θjudge2] is the second positive zero judgment interval, -θreturn2 is the second negative return angle, +θreturn2 is the second positive return angle, -θstop2 is the second negative stop angle, +θstop2 is the second positive stop angle, -θlimit2 is the second negative soft limit angle, and +θlimit2 is the second positive soft limit angle; If the correctly bound pedometer angle θsade1 is outside the second positive zero-judgment interval +θjudge2, i.e., θsade1∈(+θjudge2, +θlimit2], the SADM performs a negative polarity rotation to return to zero toward the second zero-judgment interval; If the correctly bound pedometer angle θsade1 is within the second positive zero-judgment interval, i.e., θsade1∈(0,+θjudge2], the SADM first rotates with positive polarity to the second positive return angle +θreturn2 position, then enters the hold mode, and reverses the polarity to rotate with negative polarity to return to zero toward the second zero-position interval; If the correctly bound pedometer angle θsade1 is within the second negative zero-judgment interval, i.e., θsade1∈[0,+θjudge2], the SADM first rotates with negative polarity to the second negative return angle -θreturn2 position, then enters the hold mode, and reverses the polarity to rotate with positive polarity to return to zero toward the second zero-position interval; If the correctly bound pedometer angle θsade1 is outside the second negative zero-judgment interval -θjudge2, that is, θsade1∈[-θlimit2, -θjudge2), the SADM performs a positive polarity rotation to return to zero toward the second zero-position interval.

6. The SADA return to zero control method based on a dual-mode sensor according to claim 4, characterized in that: The preset value refers to 0.5 times the Hall zero width HZW. The Hall zero width HZW refers to the high level duration angle between the two edges of the Hall pulse signal. One edge is the edge where the low level jumps to the high level, and the other edge is the edge where the high level jumps to the low level.

7. The SADA return to zero control method based on a dual-mode sensor according to claim 1, characterized in that: In single switch Hall initial zero return mode: If the current pedometer angle θsade2>0° / θsade2≤0°, the SADM performs negative polarity rotation / positive polarity rotation, and counts the increment Δθsade2 of the pedometer angle θsade2: If during the rotation, the SADE interrupt captures the edge signal of the Hall pulse signal, it will continue to rotate with the same polarity, and the increment Δθsade2 will be cleared and recounted. When the increment Δθsade2 is equal to the preset value, it indicates that the zero position has been reached. At this time, SADE enters the holding mode, the zero position in place flag is set high, the step angle θsade2 is cleared, and the step angle reliable flag is high; If during the rotation process, when the increment Δθsade2 reaches the preset maximum negative value / preset maximum positive value, SADE still fails to capture the edge signal of the Hall pulse signal, SADE enters the holding mode, at which time the increment Δθsade2 is cleared to make SADM convert to positive polarity rotation / negative polarity rotation, and the increment Δθsade2 counts; During the rotation after the conversion: If the SADE interrupt captures the edge signal of the Hall pulse signal, it continues to rotate with the same polarity, and clears the increment Δθsade2 and recounts. When the increment Δθsade2 is equal to the predetermined value, it indicates that the zero position has been reached. At this time, SADE enters the holding mode, the zero position in place flag is set high, the step angle θsade2 is cleared, and the step angle reliable flag is high; If SADE still fails to capture the edge signal of the Hall pulse signal when the increment Δθsade2 reaches the preset maximum positive value / maximum negative value, SADE enters the hold mode, indicating that the zero search is not completed. At this time, the zero position mark is set to zero, the step angle θsade2 is not cleared to zero, and the step angle reliable mark is set to zero.

8. The SADA return to zero control method based on a dual-mode sensor according to claim 1, characterized in that: In the dual-mode sensor zero return mode, SADE determines the zero return direction based on the position of the current step counting angle θsade3 in the switch Hall zero return angle interval: When the bound current pedometer angle θsade3 is in the switch Hall zero return angle interval and the second predetermined angle range of the reference point mechanical zero position θmzero in the negative direction / positive direction, the SADM performs negative polarity / positive polarity rotation to the second negative return angle / second positive return angle, and maintains it, and then reverses the polarity to rotate back to zero; When the current pedometer angle θsade3 of the binding is in the negative direction / positive direction beyond the second predetermined angle range to the preset second negative soft limit angle / second positive soft limit angle, the SADM performs positive polarity / negative polarity rotation back to zero; During the return to zero process, the edge signal of the Hall pulse signal captured by the SADE interrupt: If the capture is successful, the SADM will continue to rotate with the same polarity, and count the increment Δθsade3 of the step angle θsade3. When the increment Δθsade3 reaches the preset value, it indicates that the SADM has reached the zero position and the return to zero mode is completed. The SADM enters the holding mode, the zero position in place flag is set high, the step angle θsade3 is cleared, the step angle credible flag is set high, indicating that the step angle is credible, and the zero detection abnormal flag is set to zero, indicating that there is no abnormality in the zero detection, and waits for the next frame instruction; If it is not captured, SADM will continue to rotate with the same polarity until it is successfully captured, or the pedometer angle θsade3 reverses its polarity and the reverse direction exceeds the preset angle value to reach the stop position. SADE determines that the return to zero has failed, and SADE enters the hold mode. The zero position in place flag is set to zero, the pedometer angle θsade3 is not cleared to zero, the pedometer angle credible flag is set to zero, indicating that the pedometer angle is unreliable, and the zero detection exception flag is set high, indicating that the zero detection is abnormal, waiting for the next frame instruction.

9. The SADA return to zero control method based on a dual-mode sensor according to claim 1, characterized in that: The effectiveness of the potentiometer is determined as follows: SADE drives SADM to rotate in negative polarity / positive polarity at a predetermined speed according to the bound current pedometer angle θsade3>0° / θsade3≤0°; The increment Δθsade3 of the step counting angle θsade3 is counted during the rotation, and when it is determined that the increment Δθsade3<-θpotloss / Δθsade3>+θpotloss, it is further determined whether the potentiometer angle increment Δθpot undergoes an increment change of the same polarity: If |Δθpot-Δθsade3|>1°, it means that Δθpot has no increment of the same polarity, and the potentiometer is considered to be failed; If |Δθpot-Δθsade3|≤1°, it means that Δθpot has a same polarity increment, and the potentiometer is determined to be valid; Among them, θpotloss is the preset potentiometer failure judgment angle.

10. The SADA return to zero control method based on a dual-mode sensor according to claim 9, characterized in that: The validity of the switch Hall is judged in the following way: when the potentiometer is judged to be valid / invalid, SADE performs zeroing according to the dual-mode sensor zeroing mode / single switch Hall initial zeroing mode, and detects the rising edge of the Hall pulse signal. When the rising edge of the Hall pulse signal is detected to be true, the switch Hall is judged to be valid; when the rising edge of the Hall pulse signal is detected to be false, the switch Hall is judged to be invalid.

Citation Information

Cited By

  • Three-redundancy angle extraction method based on SADA photoelectric encoder

    CN121540193A

  • A three-redundancy angle extraction method based on SADA photoelectric encoder

    CN121540193B