Search

CN-122018280-A - Dual-core DSP-based serial communication data uploading method and system

CN122018280ACN 122018280 ACN122018280 ACN 122018280ACN-122018280-A

Abstract

The invention discloses a serial communication data uploading method and system based on a dual-core DSP, wherein the method comprises the steps of establishing a state indication signal interaction channel between a first processing unit and a second processing unit, integrating and uploading health management data when the first processing unit works normally, periodically monitoring a state indication signal of the first processing unit, generating a state evaluation parameter based on a monitoring result, analyzing the state evaluation parameter, switching to integrating and uploading the health management data through the second processing unit when the state evaluation parameter indicates that the first processing unit fails, and switching to integrating and uploading the health management data through the first processing unit again when the state evaluation parameter indicates that the first processing unit recovers during integrating and uploading the health management data through the second processing unit. The invention can realize reliable return of health data and ensure the light-weight requirement and the running reliability of the system.

Inventors

  • LI WEI
  • WANG TING
  • DONG XIAOHAN
  • ZHANG WENLIANG
  • YANG QICHUN
  • Zhen Yangyi

Assignees

  • 中国航空救生研究所

Dates

Publication Date
20260512
Application Date
20251231

Claims (10)

  1. 1. A serial communication data uploading method based on a dual-core DSP, wherein the dual-core DSP comprises a first processing unit and a second processing unit with hot standby redundancy, and the method is characterized by comprising the following steps: establishing a state indication signal interaction channel between a first processing unit and a second processing unit, wherein the first processing unit integrates and uploads health management data during normal operation; periodically monitoring a state indication signal of the first processing unit, and generating a state evaluation parameter based on the monitoring result; The method comprises the steps of analyzing the state evaluation parameters, switching to integrating and uploading health management data through a second processing unit when the state evaluation parameters indicate that a first processing unit fails, and switching to integrating and uploading health management data through the first processing unit again when the state evaluation parameters indicate that the first processing unit recovers during the integration and uploading of the health management data through the second processing unit.
  2. 2. The serial communication data uploading method based on dual-core DSP according to claim 1, wherein the status indication signal interaction is performed through a level signal, specifically comprising: And periodically performing high-low level switching control on the interconnection I/O ports of the first processing unit, and generating a state indicating signal.
  3. 3. The dual-core DSP based serial communication data upload method of claim 1, wherein the first processing unit and the second processing unit upload health management data using an SPI communication protocol.
  4. 4. The dual-core DSP based serial communication data uploading method according to claim 2, wherein the time interval of the level switching control is smaller than the time interval of the health management data uploading.
  5. 5. The dual-core DSP based serial communication data uploading method according to claim 2, wherein the generating the state evaluation parameter comprises updating a level state change count value, and the updating rule is as follows: collecting the state of the level signal output by the first processing unit in each monitoring period; comparing the level state acquired in the current period with the level state of the previous period: If the two states are different, the level state change count value is increased; and if the two states are the same, decrementing the level state change count value.
  6. 6. The dual-core DSP based serial communication data upload method of claim 5 wherein the condition that the state evaluation parameter indicates that the first processing unit is disabled is: the level state change count value is greater than a preset fail-over threshold.
  7. 7. The dual-core DSP based serial communication data upload method of claim 5 wherein the state evaluation parameter indicates that the first processing unit is to resume the conditions: The level state change count value is smaller than or equal to a preset recovery threshold, and the state continues for at least one complete health management data uploading period.
  8. 8. A dual-core DSP based serial communication data upload system comprising: The system comprises a state indication signal interaction module, a health management data processing module and a health management data processing module, wherein the state indication signal interaction module is used for establishing a state indication signal interaction channel between a first processing unit and a second processing unit; The state evaluation parameter generation module is used for periodically monitoring the state indication signal of the first processing unit and generating a state evaluation parameter based on the monitoring result; The system comprises a first processing unit, a second processing unit, a switching control module, a state evaluation parameter and a control module, wherein the first processing unit is used for processing health management data, the second processing unit is used for processing health management data, the switching control module is used for analyzing the state evaluation parameter, switching to integrating and uploading the health management data through the second processing unit when the state evaluation parameter indicates that the first processing unit fails, and switching to integrating and uploading the health management data through the first processing unit when the second processing unit integrates and uploads the health management data when the state evaluation parameter indicates that the first processing unit recovers.
  9. 9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the dual-core DSP based serial communication data upload method of any one of claims 1-7 when the computer program is executed.
  10. 10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the dual-core DSP-based serial communication data upload method according to any one of the claims 1-7.

Description

Dual-core DSP-based serial communication data uploading method and system Technical Field The invention relates to the technical field of ejection life-saving system control, in particular to a serial communication data uploading method and system based on a dual-core DSP. Background As core equipment for guaranteeing life safety of pilots in the aerospace field, the ejection life-saving control system is a key control unit of the ejection life-saving seat, and the core life of the ejection life-saving control system is to collect inertial measurement module data on a machine in real time, sense seat motion parameters, automatically match an optimal ejection control mode and guarantee life-saving success rates under different ejection postures through multi-mode control. Under normal flight conditions, the system needs to establish real-time communication with an aircraft management computer (VMC) through an RS-422 protocol, on one hand, the diagnosis of the running state and faults of the system is to be completed according to an aviation communication protocol, and on the other hand, the information of the working parameters, the running state and the like of the system is integrated into a health management data packet to be reported to the VMC, wherein the data return is the only way for a pilot to monitor the working conditions of the system in real time and for ground maintenance personnel to accurately handle the faults, and the continuity and the reliability of the system directly determine the safety and the maintenance efficiency of a flight task. Along with the development trend of light weight and integration of aviation equipment, the traditional multi-channel parallel redundant communication design is eliminated due to overlarge volume and weight, and the industry adopts a fused design scheme of a simplex communication channel and a dual-core DSP architecture dual-control system, namely, communication with VMC is realized through one simplex channel, two independent control systems (dual-core DSPs) which have consistent functions and are mutually backed up are configured, and the main control system receives standby system data and fuses and then uploads the standby system data to the outside. However, this fusion design, while meeting the light weight requirements, exposes a series of inherent and non-circumventing drawbacks by the prior art: First, the simplex channel and the main/standby architecture have a "failure take over blank". Because the communication link is unique and the data upload is entirely dependent on a single master control system, there is a lack of an efficient cross-controller redundancy take over mechanism, and once the master control system fails, the health management data (containing critical information such as system status, seat motion parameters, etc.) will completely interrupt transmission to the VMC. The system not only can lead to the forced suspension of normal flight tasks, but also can greatly prolong the maintenance period due to the lag of ground maintenance diagnosis caused by the lack of fault information, and can also influence emergency treatment decisions under emergency working conditions to directly threat flight safety due to the fact that a pilot cannot know the real state of the system under extreme conditions. Secondly, SCI communication has "suitability conflict" with the multi-core multi-board fusion architecture. The SCI communication technology of the classical ejection life-saving control system is designed only aiming at point-to-point communication scenes among single boards, the dual-core DSP control system under the fusion design comprises a plurality of control boards, if SCI communication is used, an interface expansion module is additionally arranged, so that the core constraint of the lightweight design is directly broken through, the weight and the volume of the system are out of standard, the fault point of a hardware interface is increased, and the system is in fundamental contradiction with the core design target of 'lightweight + high reliability'. Third, the technical bottleneck of SCI communication cannot be matched to the data transmission requirement upgrade. Along with the improvement of the requirement on the system state monitoring precision, the health management data volume is increased from tens of bytes to hundreds of bytes, the inherent low transmission rate of SCI communication is difficult to meet the real-time transmission requirement of the large data volume, and meanwhile, when SCI adopts high baud rate transmission in a full duplex mode, the error rate is obviously increased, the integrity and the accuracy of data transmission are greatly reduced, and further, the misjudgment on the running state of the life-saving system is caused, and potential safety hazards are buried. Disclosure of Invention The invention mainly aims to provide a serial communication data uploading method and system based on a dual-core