Reaction flywheel control method based on 422 communication protocol

Through the MOXA card and RS422 protocol combined with shielded twisted pair cable, LabVIEW software is used to analyze and monitor flywheel data, solving the problems of the reaction flywheel control system in communication stability and real-time, and achieving high anti-interference, long-distance data transmission and flywheel control accuracy.

CN120499241APending Publication Date: 2025-08-15SHANGHAI ZHONGCHEN XINWEI AEROSPACE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510540826.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The existing reaction flywheel control system has shortcomings in communication stability, real-time and system integration, especially in complex environments, and it is difficult to meet the needs of high-speed data interaction, and the host computer lacks real-time and accuracy when processing telemetry data.

Method used

The MOXA card is used as the communication interface, combined with the RS422 protocol and shielded twisted pair cable, and the data analysis and monitoring are used by LabVIEW software to realize the command encoding and sending functions, and the built-in error detection and timeout mechanism ensures the reliability and real-timeness of data transmission.

Benefits of technology

It improves the reliability of system data transmission and the accuracy of flywheel control, adapts to a variety of flywheel models and control needs, and ensures the safe operation of the flywheel in abnormal situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499241A_ABST
    Figure CN120499241A_ABST
Patent Text Reader

Abstract

The invention relates to a reaction flywheel control method based on a 422 communication protocol. The reaction flywheel control method comprises the steps that S11, an MOXA card is adopted as a communication interface between an upper computer and a reaction flywheel; s12, the MOXA card is connected with a flywheel controller through a shielded twisted pair; s21, the upper computer runs LabVIEW software, a special telemetering instruction analysis module is embedded, received 8-byte or 32-byte data frames are analyzed in real time, and flywheel rotating speed, torque and current parameters are extracted; s22, the upper computer sends an 8-byte control instruction, and the flywheel returns a response frame containing real-time data; s31, a control interface is developed based on LabVIEW, instruction coding and sending functions are achieved, data analysis and display functions are achieved, and a real-time monitoring function is achieved; s41, the upper computer sends an equipment ID verification instruction to confirm that the flywheel is online; s42, the running state of the flywheel is adjusted through the instruction code; and S43, periodically sending a D9 instruction to obtain real-time data, and updating and displaying the LabVIEW interface and storing historical data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of reaction flywheel control, and more particularly to a reaction flywheel control method based on a 422 communication protocol. Background Art

[0002] With the increasing requirements for reaction flywheel control accuracy and response speed in fields such as aerospace, satellite attitude control and precision inertial measurement, traditional flywheel control systems have certain shortcomings in communication stability, real-time performance and system integration.

[0003] Existing systems often use universal serial communication solutions, but due to their low anti-interference capabilities and data transmission rates, they often cannot meet the needs of high-speed data exchange in complex environments. RS422, due to its excellent anti-interference ability and long-distance transmission capabilities, has been widely used in the industrial control field. However, how to effectively combine the RS422 communication protocol with high-performance host computer software and realize information interconnection with the flywheel through a standard industrial communication card has become a technical challenge to be solved.

[0004] In addition, when processing flywheel telemetry data, the host computer needs to ensure the real-time and accuracy of data analysis. Existing solutions rarely consider this aspect, so the overall responsiveness and security of the system need to be improved.

[0005] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention

[0006] The purpose of the present invention is to provide a reaction flywheel control method based on the 422 communication protocol, which significantly improves the reliability of system data transmission, ensures the accuracy of flywheel control, can adapt to various flywheel models and control requirements, and ensures the safe operation of the flywheel under abnormal conditions.

[0007] The present invention provides a reaction flywheel control method based on the 422 communication protocol, the control method comprising the following steps: S1: communication hardware design, S2: communication protocol implementation, S3: host computer software design, S4: control process;

[0008] The step S1 comprises:

[0009] S11: MOXA card is used as the communication interface between the host computer and the reaction flywheel;

[0010] S12: The MOXA card is connected to the flywheel controller via a shielded twisted pair cable;

[0011] The step S2 comprises:

[0012] S21: The host computer runs LabVIEW software, which has a dedicated telemetry command parsing module embedded in it. It parses the received 8-byte or 32-byte data frames in real time to extract the flywheel speed, torque, and current parameters.

[0013] S22: The host computer sends an 8-byte control instruction, and the flywheel returns a response frame containing real-time data;

[0014] The step S3 comprises:

[0015] S31: Develop a control interface based on LabVIEW to implement command encoding and sending functions, data analysis and display functions, and real-time monitoring functions;

[0016] The step S4 comprises:

[0017] S41: The host computer sends a device ID verification command to confirm that the flywheel is online;

[0018] S42: Adjust the operating state of the flywheel through the instruction code;

[0019] S43: Periodically send D9 instructions to obtain real-time data, and the LabVIEW interface updates the display and stores historical data.

[0020] Furthermore, the 8-byte control instruction in step S22 includes setting the rotation speed instruction D4 and sending the telemetry request D9.

[0021] Furthermore, the check code in step S22 adopts an accumulation and inversion algorithm.

[0022] Furthermore, the instruction encoding and sending functions implemented in step S31 include: encapsulating the control parameters into a byte stream required by the protocol through the VISA serial port module; implementing the data parsing and display function includes receiving the 32-byte telemetry data returned by the flywheel, and parsing the speed, torque, and temperature parameters according to the protocol; implementing the real-time monitoring function includes dynamically displaying the flywheel status through a waveform diagram and a numerical table, and setting a threshold alarm function.

[0023] Furthermore, the rotational speed parsed according to the protocol is a 4-byte floating point type, the torque is a 4-byte floating point type, and the temperature is a 2-byte integer type.

[0024] Furthermore, the instruction code in step S42 includes D4 setting the target speed and D3 setting the maximum torque.

[0025] The reaction flywheel control method based on the 422 communication protocol of the present invention achieves high anti-interference and long-distance stable communication through the MOXA card and the RS422 protocol, significantly improving the reliability of system data transmission; utilizing the powerful parsing function of LabVIEW software, it can process telemetry data in real time and efficiently to ensure the accuracy of flywheel control; it can adapt to various flywheel models and control requirements; and it has built-in error detection and timeout mechanisms to further ensure the safe operation of the flywheel under abnormal conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A flow chart of a reaction flywheel control method based on the 422 communication protocol provided in an embodiment of the present invention.

[0027] Figure 2 A schematic diagram of the system architecture of a reaction flywheel control method based on the 422 communication protocol provided in an embodiment of the present invention.

[0028] Figure 3 Schematic diagram of the RS422 communication interface circuit of the reaction flywheel control method based on the 422 communication protocol provided in an embodiment of the present invention.

[0029] Figure 4 A schematic diagram of the LabVIEW software interface for the reaction flywheel control method based on the 422 communication protocol provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The following embodiments of the present invention are described in further detail with reference to the accompanying drawings and examples. The following examples are used to illustrate the present invention but are not intended to limit the scope of the present invention.

[0031] The terms "first", "second", "third", "fourth", etc. in the description and claims of the present invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0032] Example 1

[0033] Figure 1 A flow chart of a reaction flywheel control method based on the 422 communication protocol provided in an embodiment of the present invention is provided. Figure 2 A schematic diagram of the system architecture of a reaction flywheel control method based on the 422 communication protocol provided in an embodiment of the present invention. Figure 3 Schematic diagram of the RS422 communication interface circuit of the reaction flywheel control method based on the 422 communication protocol provided in an embodiment of the present invention, Figure 4 This is a schematic diagram of the LabVIEW software interface for the reaction flywheel control method based on the 422 communication protocol provided by the embodiment of the present invention. Figure 1 、 Figure 2 、 Figure 3 、 Figure 4 , the embodiment of the present invention provides a reaction flywheel control method based on the 422 communication protocol, the control method comprising the following steps: S1: communication hardware design, S2: communication protocol implementation, S3: host computer software design, S4: control process;

[0034] The step S1 comprises:

[0035] S11: Use MOXA card as the communication interface between the host computer and the reaction flywheel; achieve high-speed and reliable data transmission under RS422 standard;

[0036] S12: The MOXA card is connected to the flywheel controller via a shielded twisted pair cable, ensuring anti-interference capability for long-distance communication.

[0037] The step S2 comprises:

[0038] S21: The host computer runs LabVIEW software, which has a dedicated telemetry command parsing module embedded in it. It parses the received 8-byte or 32-byte data frames in real time to extract the flywheel speed, torque, and current parameters.

[0039] S22: The host computer sends an 8-byte control instruction, and the flywheel returns a response frame containing real-time data;

[0040] Specifically, the 8-byte control instruction in step S22 includes setting the rotation speed instruction D4 and sending the telemetry request D9;

[0041] It should be noted that the check code in step S22 adopts the accumulation and inversion algorithm to ensure data integrity;

[0042] The step S3 comprises:

[0043] S31: Develop a control interface based on LabVIEW to implement command encoding and sending functions, data analysis and display functions, and real-time monitoring functions;

[0044] Specifically, the instruction encoding and sending functions implemented in step S31 include: encapsulating the control parameters into a byte stream required by the protocol through the VISA serial port module; implementing the data parsing and display functions includes receiving the 32-byte telemetry data returned by the flywheel and parsing the speed, torque, and temperature parameters according to the protocol; implementing the real-time monitoring function includes dynamically displaying the flywheel status through a waveform chart and a numerical table, and setting a threshold alarm function;

[0045] It should be noted that the rotation speed parsed according to the protocol is a 4-byte floating point type, the torque is a 4-byte floating point type, and the temperature is a 2-byte integer type;

[0046] The step S4 comprises:

[0047] S41: Initialization phase: The host computer sends a device ID verification command (D2) to confirm that the flywheel is online;

[0048] S42: Instruction execution stage: adjusting the flywheel operating state through the instruction code;

[0049] Specifically, the instruction code in step S42 includes D4 setting the target speed and D3 setting the maximum torque;

[0050] S43: Telemetry feedback phase: Periodically send D9 instructions to obtain real-time data, and the LabVIEW interface updates the display and stores historical data.

[0051] Based on the above description, it can be seen that the advantages of the present invention are:

[0052] The reaction flywheel control method based on the 422 communication protocol of the present invention achieves high anti-interference and long-distance stable communication through the MOXA card and the RS422 protocol, significantly improving the reliability of system data transmission; utilizing the powerful parsing function of LabVIEW software, it can process telemetry data in real time and efficiently to ensure the accuracy of flywheel control; it can adapt to various flywheel models and control requirements; and it has built-in error detection and timeout mechanisms to further ensure the safe operation of the flywheel under abnormal conditions.

[0053] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A reaction flywheel control method based on 422 communication protocol, characterized in that: The control method comprises the following steps: S1: communication hardware design, S2: communication protocol implementation, S3: host computer software design, S4: control process; The step S1 comprises: S11: MOXA card is used as the communication interface between the host computer and the reaction flywheel; S12: The MOXA card is connected to the flywheel controller via a shielded twisted pair cable; The step S2 comprises: S21: The host computer runs LabVIEW software, which has a dedicated telemetry command parsing module embedded in it. It parses the received 8-byte or 32-byte data frames in real time to extract the flywheel speed, torque, and current parameters. S22: The host computer sends an 8-byte control instruction, and the flywheel returns a response frame containing real-time data; The step S3 comprises: S31: Develop a control interface based on LabVIEW to implement command encoding and sending functions, data analysis and display functions, and real-time monitoring functions; The step S4 comprises: S41: The host computer sends a device ID verification command to confirm that the flywheel is online; S42: Adjust the operating state of the flywheel through the instruction code; S43: Periodically send D9 instructions to obtain real-time data, and the LabVIEW interface updates the display and stores historical data.

2. The reaction flywheel control method based on the 422 communication protocol according to claim 1, characterized in that: The 8-byte control instruction in step S22 includes setting the rotation speed instruction D4 and sending the telemetry request D9.

3. The reaction flywheel control method based on the 422 communication protocol according to claim 1, characterized in that: In step S22, the check code adopts the accumulation and inversion algorithm.

4. The reaction flywheel control method based on the 422 communication protocol according to claim 1, characterized in that: The step S31 implements the instruction encoding and sending functions including: encapsulating the control parameters into a byte stream required by the protocol through the VISA serial port module; The data analysis and display function includes receiving 32 bytes of telemetry data returned by the flywheel and analyzing the speed, torque and temperature parameters according to the protocol; The real-time monitoring function includes dynamically displaying the flywheel status through a waveform diagram and a numerical table, and setting a threshold alarm function.

5. The reaction flywheel control method based on the 422 communication protocol according to claim 4, characterized in that: The rotation speed parsed according to the protocol is a 4-byte floating point type, the torque is a 4-byte floating point type, and the temperature is a 2-byte integer type.

6. The reaction flywheel control method based on the 422 communication protocol according to claim 1, characterized in that: The instruction code in step S42 includes D4 setting the target speed and D3 setting the maximum torque.