Fault data recording system and method of homemade rudder based on GD32

The domestically developed servo motor fault data recording system based on GD32 has solved the problem of insufficient servo motor fault data recording, realized the self-test, data storage and alarm functions of the servo motor, and improved the safety and maintenance convenience of the servo motor.

CN116704642BActive Publication Date: 2026-03-03XIAN HANGQIANG MEASUREMENT & CONTROL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310725928.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-19
Publication Date
2026-03-03
Estimated Expiration
2043-06-19

AI Technical Summary

Technical Problem

In the existing technology, servo motors are prone to failure after prolonged use, but there is a lack of an effective fault data recording system, which leads to maintenance difficulties and insufficient safety.

Method used

Design a domestic servo motor fault data recording system based on GD32, including multiple modules and steps, to realize self-test, data export, storage and alarm functions. The system uses ARINC429 initialization module to communicate via SPI bus to support high-speed data transmission.

Benefits of technology

It enables the recording and alarm of servo motor fault data, improving the safety and maintenance convenience of the servo motor, ensuring timely handling of faults, and enhancing operational safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116704642B_ABST
    Figure CN116704642B_ABST
Patent Text Reader

Abstract

The application discloses a homemade rudder motor fault data recording system and method based on GD32, which comprises a system power-on module, a GD32 initialization module, an SD controller initialization module, an ARINC429 initialization module, a CAN controller initialization module, a USB controller initialization module, an AD acquisition initialization module, a self-checking module, a shutdown module, an alarm module, an OTC state reading module, a data export request module, an SDIO reading and writing configuration module, a data updating module, a data reading module, an RTC time reading module, a host computer interaction module, a U disk detection module, a U disk configuration module and a data storage module, the system power-on module is connected with the GD32 initialization module, the GD32 initialization module is connected with the SD controller initialization module, and the SD controller initialization module is connected with the ARINC429 initialization module; the system can record and process fault data of a rudder motor, is convenient for subsequent maintenance or repair of the rudder motor, and improves the safety of the rudder motor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data recording system technology, specifically to a domestically produced servo motor fault data recording system and method based on GD32. Background Technology

[0002] A servo motor is an actuator that controls the rotation of the control surfaces (rudder surfaces) of an aircraft in an autopilot. However, servo motors are prone to failure after prolonged use. Due to the unique operating environment of servo motors, it is necessary to record and process the fault data when a servo motor fails. Therefore, it is essential to design a domestic servo motor fault data recording system and method based on GD32. Summary of the Invention

[0003] The purpose of this invention is to provide a domestically produced servo motor fault data recording system and method based on GD32, so as to solve the problems mentioned in the background art.

[0004] To achieve the above objectives, the present invention provides the following technical solution: a domestically produced servo motor fault data recording system based on GD32, comprising a system power-on module, a GD32 initialization module, an SD controller initialization module, an ARINC429 initialization module, a CAN controller initialization module, a USB controller initialization module, an AD acquisition initialization module, a self-test module, a shutdown module, an alarm module, an OTC status reading module, a data export request module, a configuration SDIO read / write module, a data update module, a data reading module, an RTC time reading module, a host interaction module, a USB flash drive detection module, a USB flash drive configuration module, and a data storage module. The system power-on module is connected to the GD32 initialization module, which in turn controls the SD controller initialization module. The SD controller initialization module is connected to the ARINC429 initialization module, which in turn controls the CAN controller initialization module. The CAN controller initialization module is connected to the USB controller initialization module, which in turn controls the AD acquisition initialization module. The AD acquisition initialization module is connected to the self-test module.

[0005] Preferably, the self-test module is controlled by a shutdown module and an OTC status reading module, and the shutdown module is controlled by an alarm module.

[0006] Preferably, the OTC status reading module is connected to a request to export data module.

[0007] Preferably, the request to export data module is controlled by a configuration SDIO read / write module and a detection USB flash drive module, the detection USB flash drive module is controlled by a configuration USB flash drive module and a host interaction module, and the host interaction module is connected in conjunction with an OTC status reading module.

[0008] Preferably, the configured SDIO read / write module is connected to a data update module, the data update module is connected to a data read module, and the data update module is connected to an OTC status read module.

[0009] Preferably, the data reading module is connected to an RTC time reading module.

[0010] Preferably, the RTC time reading module is connected to a data storage module, and the data storage module is connected to an OTC status reading module.

[0011] The method for recording fault data of domestic servo motors based on GD32 includes the following steps: Step 1, self-test; Step 2, interaction; Step 3, reading; and Step 4, storage.

[0012] In step one above, the system power-on module is used to power on the system. After power-on, the GD32 initialization module, SD controller initialization module, ARINC429 initialization module, CAN controller initialization module, USB controller initialization module and AD acquisition initialization module are initialized sequentially. Then, the self-test module is used to perform a self-test. If the self-test of the servo fails, the shutdown module is used to stop the system first, and then the alarm module is used to sound an alarm. If the self-test of the servo succeeds, the OTC status is extracted by the OTC status reading module.

[0013] In step two above, a data export request is made through the data export module. After the request is approved, the USB flash drive detection module checks whether the USB flash drive is working or in a normal state. If the USB flash drive is damaged or not working, the USB flash drive is configured through the configured USB flash drive module. After the configuration is completed, the host interaction module performs host interaction. After the interaction, the OTC status is retrieved again. If the data export request from the data export module fails, the SDIO read / write configuration module is used to configure SDIO read / write. Then, the data is updated through the data update module, and the updated data is read through the data read module.

[0014] In step three above, the RTC time is read using the set RTC time reading module and stored in the storage data module;

[0015] In step four above, the data in the storage module is read cyclically, and automatically loops when full. It simultaneously stores the acquired data and time stamp information. The ARINC429 data acquisition interface of the initialization module is implemented through SPI extension, communicating via the SPI bus in SPI mode 0, supporting a maximum communication rate of 10MHz, which meets the ARINC429 communication rate. The main registers include the receive control register, transmit control register, ACLK frequency divider register, and flag interrupt register. Initialization requires configuring these registers to ensure normal communication. When receiving data, the LABEL of the received 429 message needs to be flipped, RFLIP needs to be set to 1, PARITY to 1 to enable parity checking, LABREC and PLON need to be set to 0 to disable tag filtering, and RATE needs to be set to 0, setting the 429 communication rate to high speed 100kbps.

[0016] Compared with the prior art, the beneficial effects of the present invention are: the system can record and process the fault data of the servo motor, which facilitates the subsequent maintenance or repair of the servo motor and improves the safety of using the servo motor. At the same time, an alarm module is set up during the fault data collection process. The alarm module can promptly remind the staff of the servo motor malfunction, which can facilitate timely handling and improve safety. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of the overall module connection of the present invention;

[0018] Figure 2 This is a flowchart of the program of the present invention;

[0019] Figure 3 This is a flowchart of the ARINC429 initialization module in this invention;

[0020] Figure 4 This is a system flowchart of the present invention;

[0021] Figure 5 This is a flowchart of the method of the present invention;

[0022] In the diagram: 1. System power-on module; 2. GD32 initialization module; 3. SD controller initialization module; 4. ARINC429 initialization module; 5. CAN controller initialization module; 6. USB controller initialization module; 7. AD acquisition initialization module; 8. Self-test module; 9. Shutdown module; 10. Alarm module; 11. OTC status reading module; 12. Request export data module; 13. Configure SDIO read / write module; 14. Data update module; 15. Data reading module; 16. RTC time reading module; 17. Host interaction module; 18. USB flash drive detection module; 19. Configure USB flash drive module; 20. Data storage module. Detailed Implementation

[0023] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0024] Please see Figure 1-4 This invention provides an embodiment of a domestically produced servo motor fault data recording system based on GD32, comprising a system power-on module 1, a GD32 initialization module 2, an SD controller initialization module 3, an ARINC429 initialization module 4, a CAN controller initialization module 5, a USB controller initialization module 6, an AD acquisition initialization module 7, a self-test module 8, a shutdown module 9, an alarm module 10, an OTC status reading module 11, a data export request module 12, a configuration SDIO read / write module 13, a data update module 14, a data reading module 15, an RTC time reading module 16, a host interaction module 17, a USB flash drive detection module 18, a configuration USB flash drive module 19, and a data storage module 20. The system power-on module 1 is connected to the GD32 initialization module 2; the GD32 initialization module 2 is connected to the SD controller initialization module 3; the SD controller initialization module 3 is connected to the ARINC429 initialization module 4; the ARINC429 initialization module 4 is connected to the CAN controller initialization module 5; and the CAN controller initialization module 5 is connected to the U... The SB controller initialization module 6 controls and connects to the AD acquisition initialization module 7. The AD acquisition initialization module 7 controls and connects to the self-test module 8. The self-test module 8 controls and connects to the stop module 9 and the OTC status reading module 11. The stop module 9 controls and connects to the alarm module 10. The OTC status reading module 11 controls and connects to the request export data module 12. The request export data module 12 controls and connects to the configuration SDIO read / write module 13 and the detection USB flash drive module 18. The detection USB flash drive module 18 controls and connects to the configuration USB flash drive module 19 and the host interaction module 17. The host interaction module 17 is connected to the OTC status reading module 11. The configuration SDIO read / write module 13 controls and connects to the data update module 14. The data update module 14 controls and connects to the data reading module 15, and the data update module 14 is connected to the OTC status reading module 11. The data reading module 15 controls and connects to the RTC time reading module 16. The RTC time reading module 16 controls and connects to the data storage module 20, and the data storage module 20 is connected to the OTC status reading module 11.

[0025] Please see Figure 5 The present invention provides an embodiment of a method for recording fault data of a domestically produced servo motor based on GD32, comprising the following steps: Step 1, self-test; Step 2, interaction; Step 3, reading; and Step 4, storage.

[0026] In step one above, the system power-on module 1 is used to power on the system. After power-on, the GD32 initialization module 2, SD controller initialization module 3, ARINC429 initialization module 4, CAN controller initialization module 5, USB controller initialization module 6, and AD acquisition initialization module 7 are initialized sequentially. Then, the self-test module 8 is used to perform a self-test. If the self-test of the servo fails, the shutdown module 9 is used to stop the servo first, and then the alarm module 10 is used to trigger an alarm. If the self-test of the servo is successful, the OTC status is extracted by the OTC status reading module 11.

[0027] In step two above, the data export request is made through the data export module 12. After the request is approved, the USB flash drive detection module 18 checks whether the USB flash drive is working or in a normal state. If the USB flash drive is damaged or not working, the USB flash drive is configured through the configured USB flash drive module 19. After the configuration is completed, the host interaction module 17 performs host interaction. After the interaction, the OTC status is extracted again. If the data export request from the data export module 12 fails, the SDIO read / write configuration module 13 configures SDIO read / write. Then, the data is updated through the data update module 14, and the updated data is read through the data read module 15.

[0028] In step three above, the RTC time is read using the set RTC time reading module 16 and stored in the storage data module 20;

[0029] In step four above, the data in the storage module 20 is read cyclically, and automatically loops when full. It simultaneously stores the acquired data and time stamp information. The ARINC429 data acquisition interface of the ARINC429 initialization module 4 is implemented via SPI extension, communicating via the SPI bus in SPI mode 0, supporting a maximum communication rate of 10MHz, which meets the ARINC429 communication rate. The main registers include the receive control register, transmit control register, ACLK frequency divider register, and flag interrupt register. Initialization requires configuring these registers to ensure normal communication. During data reception, the LABEL of the received 429 message needs to be flipped, RFLIP needs to be set to 1, PARITY to 1 to enable parity checking, LABREC and PLON to 0 to disable tag filtering, and RATE to 0, setting the 429 communication rate to high speed of 100kbps.

[0030] Based on the above, the advantages of this invention are that, during use, the servo motor can perform self-testing and record fault data that occurs during the self-testing process, thereby improving the safety of using the servo motor. In addition, an alarm module 10 is set up, which can promptly remind the staff of servo motor malfunctions, facilitating timely handling and improving safety.

[0031] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

Claims

1. A GD32-based domestic steering engine failure data recording system, comprising a system power-on module (1), a data update module (14), a read data module (15), a read RTC time module (16), a host interaction module (17), a configuration U disk module (19) and a storage data module (20), characterized in that: The system power-on module (1) is connected with a GD32 initialization module (2), the GD32 initialization module (2) is connected with an SD controller initialization module (3), the SD controller initialization module (3) is connected with an ARINC429 initialization module (4), the ARINC429 initialization module (4) is connected with a CAN controller initialization module (5), the CAN controller initialization module (5) is connected with a USB controller initialization module (6), the USB controller initialization module (6) is connected with an AD acquisition initialization module (7), the AD acquisition initialization module (7) is connected with a self-checking module (8); the ARINC429 data acquisition interface of the ARINC429 initialization module (4) is realized through SPI expansion, communication is realized through an SPI bus, SPI mode 0 is used, the highest communication rate is 10MHz, and the communication rate of ARINC429 is met; main registers include a receiving control register, a sending control register, an ACLK frequency division register and a flag interrupt register; The self-checking module (8) is connected with a shutdown module (9) and a read OTC state module (11), the shutdown module (9) is connected with an alarm module (10), and the read OTC state module (11) is connected with a request export data module (12); the request export data module (12) is connected with a configuration SDIO read-write module (13) and a detection U disk module (18), the detection U disk module (18) is connected with a configuration U disk module (19) and a host computer interaction module (17), and the host computer interaction module (17) is connected with the read OTC state module (11) in cooperation. The method for recording the failure data of the homemade rudder based on the GD32 comprises the following steps: step one, self-checking; step two, interaction; step three, reading; and step four, storage. In step one, the power-on module (1) is used for power-on processing, and after the power-on is completed, the GD32 initialization module (2), the SD controller initialization module (3), the ARINC429 initialization module (4), the CAN controller initialization module (5), the USB controller initialization module (6) and the AD acquisition initialization module (7) are sequentially initialized for power supply processing, and then the self-checking module (8) is used for self-checking. If the self-checking of the rudder is unsuccessful, the shutdown module (9) is used for shutdown processing, and then the alarm module (10) is used for alarm. If the self-checking of the rudder is successful, the OTC state reading module (11) is used for extracting the OTC state. In step two, the data export request module (12) is used for requesting data export. After the request is passed, the U disk detection module (18) is used for detecting whether the U disk is working or in a normal state. If the U disk is damaged or does not work, the U disk configuration module (19) is used for configuring the U disk. After the configuration is completed, the host computer interaction module (17) is used for the interaction of the host computer. After the interaction, the OTC state is extracted again. If the data export request of the data export request module (12) is not passed, the SDIO read-write configuration module (13) is used for configuring the read-write of the SDIO. Then, the data update module (14) is used for updating the data, and the updated data is read by the data reading module (15). In step three, the RTC time reading module (16) is used for reading the RTC time, which is stored in the storage data module (20). In step four, the data in the storage data module (20) is cyclically read, and after being stored, the cyclic reading is automatically performed. The acquisition data and the time mark information are stored, and the ARINC429 data acquisition interface of the ARINC429 initialization module (4) is realized by SPI expansion. The SPI bus communication is used, the SPI mode 0 is used, the highest communication rate of 10MHz is supported, and the communication rate of the ARINC429 is met. The main registers include the receiving control register, the sending control register, the ACLK frequency division register and the flag interrupt register. The configuration of the registers is completed to ensure the normal communication. When the data is received, the received 429 message needs to be flipped. The RFLIP is set to 1, the PARITY is set to 1, the parity check is enabled, the LABREC and the PLON are set to 0, the label filtering is disabled, and the RATE is set to 0, and the 429 communication rate is set to the high speed of 100kbps.

2. The GD32-based domestic steering gear failure data recording system according to claim 1, characterized in that: The configuration SDIO read-write module (13) is connected with a data updating module (14), the data updating module (14) is connected with a read data module (15), and the data updating module (14) is connected with the read OTC state module (11).

3. The GD32-based domestic steering gear failure data recording system according to claim 2, characterized in that: The read data module (15) is connected with a read RTC time module (16).

4. The GD32-based domestic steering gear failure data recording system according to claim 3, characterized in that: The read RTC time module (16) is connected with a storage data module (20), and the storage data module (20) is connected with the read OTC state module (11).

Citation Information

Patent Citations

  • Operational information recording and fault analysis apparatus for hybrid electric vehicle power train

    CN101807058A

  • Flight and voice data recording device and method

    CN110723302A