CN-121979029-A - Compatible carrier outage control method, device, equipment and storage medium
Abstract
The application discloses a power-off control method of a compatible carrier, which comprises the steps of S1, obtaining a short-circuit state of a cable network plug, wherein the first state is that two end points on the cable network plug are not short-circuited, the second state is that two end points on the cable network plug are short-circuited, S2, automatically selecting a power-off control mode, selecting a first power-off control mode when the cable network plug is in the first state, selecting a second power-off control mode when the cable network plug is in the second state, S3, receiving a power-off control instruction from a ground test and control, wherein the power-off control instruction comprises a bus message and a switching value control signal, S4, generating and outputting a high-level power-off control signal to execute power-off when the power-off control instruction is valid in the first power-off control mode, and generating and outputting a high-level power-off control signal to execute power-off when any one of the power-off control instructions is valid in the second power-off control mode. The embodiment of the application realizes the generalized design of the power-off control circuit with different requirements.
Inventors
- DING JUN
- LIAO HONGCAI
- ZHAO FUCHUAN
- GUO HAO
- ZHANG JUNBO
- TANG HUI
- WU XULIANG
- YUE HUIFENG
- WANG FENG
Assignees
- 湖北三江航天红峰控制有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251231
Claims (10)
- 1. A method for controlling power failure of a compatible carrier, comprising the steps of: s1, acquiring a short circuit state of a cable network plug, wherein the short circuit state comprises a first state and a second state, the first state is that two endpoints on the cable network plug are not in short circuit, and the second state is that two endpoints on the cable network plug are in short circuit; S2, automatically selecting a power-off control mode based on the short circuit state, selecting a first power-off control mode when the power-off control mode is in the first state, and selecting a second power-off control mode when the power-off control mode is in the second state; s3, receiving a power-off control instruction from the ground measurement and control, wherein the power-off control instruction comprises a bus message and a switching value control signal; S4, in the first power-off control mode, when the bus message and the switching value control signal are both valid, generating and outputting a high-level power-off control signal to execute power-off; wherein, the initial state of the power-off control signal is a low level state in which power-off is not performed.
- 2. The method for controlling power failure of a compatible carrier according to claim 1, wherein the step of obtaining a short circuit state of a cable network plug is specifically: After the cable network plug is spliced, generating a state signal, and generating a driving signal based on the state signal; and controlling the relay to act or not act through the driving signal, wherein the relay not act is correspondingly identified as the first state, and the relay act is correspondingly identified as the second state.
- 3. The compatible carrier outage control method of claim 2, further comprising a state consistency detection: The contact state of the relay is monitored through flight control software, and a first detection signal and a second detection signal are generated; Comparing the logic states of the first detection signal and the second detection signal with preset parameters of flight control software, wherein the short circuit state is a first state when the logic states of the first detection signal and the second detection signal are valid and invalid respectively, and the short circuit state is a second state when the logic states of the first detection signal and the second detection signal are invalid and valid respectively; if the comparison result is inconsistent, the flight control software transmits error information and stops the subsequent teasel root electric control flow.
- 4. The method for controlling power-off of compatible carrier according to claim 1, wherein the process of determining that the bus message is valid is that the flight control software outputs an IO signal with a high level valid after receiving the bus message; The process of judging the switch quantity control signal to be effective is that a hardware circuit receives the switch quantity control signal and outputs a high-level effective signal after isolation conversion.
- 5. The compatible carrier outage control method according to claim 1, wherein in the first outage control mode, the synchronization validity judgment of the bus message and the switching value control signal is achieved through a logical and operation; in the second power-off control mode, the single validity judgment of the bus message or the switching value control signal is realized through a logic OR operation.
- 6. The compatible carrier outage control method of claim 1, wherein the generation path of the outage control signal is determined by the selected outage control mode: in the first state, the power-off control signal is dominated by an output result of the logical AND operation; in the second state, the power-off control signal is dominated by the output result of the logical OR operation.
- 7. The compatible carrier outage control method of claim 1, wherein the method is applied to safety outage control of a carrier or aircraft during ground testing or launch phases.
- 8. A compatible carrier outage control device, comprising: the state acquisition module is used for acquiring a short circuit state of the cable network plug, wherein the short circuit state comprises a first state and a second state, the first state is that two endpoints on the cable network plug are not in short circuit, and the second state is that the two endpoints on the cable network plug are in short circuit; the control mode selection module is used for automatically selecting a power-off control mode based on the short circuit state, selecting a first power-off control mode when the control mode is in the first state, and selecting a second power-off control mode when the control mode is in the second state; the command receiving module is used for receiving a power-off control command from the ground measurement and control, wherein the power-off control command comprises a bus message and a switching value control signal; The system comprises a first power-off control mode, an execution module, a second power-off control mode, a first power-off control mode and a second power-off control mode, wherein the first power-off control mode is used for generating and outputting a high-level power-off control signal to execute power off when the bus message and the switching value control signal are both valid; wherein, the initial state of the power-off control signal is a low level state in which power-off is not performed.
- 9. A compatible carrier outage control device comprising at least one processing unit, and at least one storage unit, wherein the storage unit stores a computer program which, when executed by the processing unit, causes the processing unit to perform the steps of the method according to any one of claims 1 to 7.
- 10. A storage medium storing a computer program executable by a compatible carrier de-energizing control device, the computer program, when run on the compatible carrier de-energizing control device, causing the compatible carrier de-energizing control device to perform the steps of the method as claimed in any one of claims 1-7.
Description
Compatible carrier outage control method, device, equipment and storage medium Technical Field The present application relates to the field of electronic devices, and in particular, to a method, an apparatus, a device, and a storage medium for controlling power failure of a compatible carrier. Background In the ground test or launching stage, if a major fault or abnormal situation occurs, the carrier must be able to quickly and reliably perform power-off control to cut off the power supply, preventing further damage to the product or causing a safety accident. The reliability of the power-off control is directly related to success and failure of tasks and equipment safety. However, different application scenes have different demands on the execution logic of the power-off control, namely, part of the vehicles have extremely high requirements on power supply safety in the flight process and need to prevent error power-off caused by electromagnetic interference or flight control software defects, so that the power-off instruction is required to be executed when a bus message and a switching value control signal sent by a ground test and control system are simultaneously valid, and the other part of the vehicles further emphasize the response flexibility in the ground test and require quick response in the case of abnormality, so that any one of the bus message and the switching value control signal is allowed to be effectively executed to perform power-off. This difference in demand presents compatibility challenges for the design of the power down control circuitry of the vehicle computer. To meet the above-mentioned different requirements, two solutions mainly exist in the prior art. The first solution is to design and manufacture different carrier computers for the two power down logics separately. The scheme can realize functions, but leads to repeated development of equipment, obviously increased production cost, and incapability of realizing generalization of a hardware platform, and is not beneficial to later maintenance and upgrading. The second scheme is to design two independent power-off control circuits on the same carrier computer, and assemble corresponding circuit components through manual operation according to actual task requirements. Although the scheme realizes the unification of hardware platforms to a certain extent, the scheme seriously depends on management measures in the production, assembly and maintenance links to ensure correct installation. In actual operation, the wrong installation or neglected installation of components is easy to occur, the problem is high in concealment, and the problem is difficult to find through a conventional detection means, so that serious hidden quality hazards are buried, the failure of a power-off function or misoperation can be caused, and the safety of the whole system is endangered. Therefore, the prior art has the prominent defects of poor universality, high cost, potential quality risks and the like. Disclosure of Invention In view of at least one of the foregoing problems or improvements in the art, the present application provides a method, apparatus, device and storage medium for controlling power down of a compatible carrier, which solves at least one of the above-mentioned problems in the prior art. To achieve the above object, according to a first aspect of the present application, there is provided a compatible carrier outage control method comprising: s1, acquiring a short circuit state of a cable network plug, wherein the short circuit state comprises a first state and a second state, the first state is that two endpoints on the cable network plug are not in short circuit, and the second state is that two endpoints on the cable network plug are in short circuit; S2, automatically selecting a power-off control mode based on the short circuit state, selecting a first power-off control mode when the power-off control mode is in the first state, and selecting a second power-off control mode when the power-off control mode is in the second state; s3, receiving a power-off control instruction from the ground measurement and control, wherein the power-off control instruction comprises a bus message and a switching value control signal; S4, in the first power-off control mode, when the bus message and the switching value control signal are both valid, generating and outputting a high-level power-off control signal to execute power-off; wherein, the initial state of the power-off control signal is a low level state in which power-off is not performed. Further, in the above compatible carrier outage control method, the obtaining the short circuit state of the cable network plug specifically includes: After the cable network plug is spliced, generating a state signal, and generating a driving signal based on the state signal; and controlling the relay to act or not act through the driving signal, wherein the relay not act is correspondingly ident