A method for defining self-detection information in a power supply control management processor
By decoupling the framework of the power supply control management processor into independent modules and adopting subscription and information publishing modes, the problem of low self-detection efficiency of the power supply control management processor is solved, and fast reading and fault reporting of functional circuit faults are achieved, improving Improved design efficiency and intelligent data processing.
Patent Information
- Application Number
- CN202111077022.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-15
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-09-15
AI Technical Summary
In the prior art, the power supply control management processor needs to read each functional circuit during self-test, which leads to the problem of low self-test efficiency.
By decoupling the in-machine framework into independent modules, each module serves as a node. The subscription and information publishing model is adopted between the application software and the driver software. The driver software completes self-detection and packages the detection information, and the application software obtains and reports it through the interface. Fault information enables quick reading of the module fault definition area.
It improves the self-detection efficiency, reduces the coupling between the hardware layer and the application layer, realizes fast and accurate reading and fault reporting of functional circuit faults, and improves design efficiency and data processing intelligence and convenience.
Smart Images

Figure CN113961450B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of aircraft power supply systems, and in particular to a method for defining self-detection information in a power supply control management processor. Background Art
[0002] The power supply control and management system is an important part of the power supply system, completing important functions such as information integration, system reconstruction, load management, and fault alarm of the power supply system. With the development of computer technology and bus technology, the power supply control and management system is becoming more and more important in the design process of modern aircraft. The power supply control and management processor is the core component of the power supply control and management system.
[0003] The power supply control management processor can realize self-detection at the functional circuit level. Since the equipment adopts modular design, users do not need to know whether the functional circuit is faulty during actual use. They only need to locate the module-level fault and replace the module. After the faulty module is returned to the factory, functional circuit-level repair can be performed. Therefore, how to reduce the interpretation of the functional circuit-level circuit and improve the efficiency of self-detection is a problem that needs to be solved. Summary of the invention
[0004] The purpose of this application is to provide a method for defining self-detection information in a power supply control management processor to solve the problem of low self-detection efficiency caused by reading each functional circuit when performing self-detection on the power supply control management processor in the prior art.
[0005] The technical solution of the present application is: a method for defining self-detection information in a power supply control management processor, comprising: decoupling the internal framework into a plurality of independent modules, each module being a node, each node being provided with a plurality of functional circuits, and the self-detection information of each node forming a module fault definition area; the application software records the interface information and release information of each node, and the node obtains the subscription information of the application software from the driver software; the application software publishes the subscription information to the driver software through the interface, and the driver software completes the self-detection according to the subscription information, and packages and encapsulates the detection information of each functional circuit in the module fault definition area to be published, and the application software obtains the encapsulated module fault area information from the interface according to the subscription information, and realizes the reporting of the internal fault through the on-board bus.
[0006] Preferably, the control method of the driver software includes receiving subscription information sent by the application software and performing self-detection on the circuit inside the machine; recording the fault information of each power supply circuit, judging the fault result and corresponding the power supply circuit fault to the module inside the machine, the circuit inside the machine numbers each power supply circuit therein, and each module forms a module fault definition area; the module fault definition area is packaged as a whole and released to the application software through the interface function.
[0007] Preferably, when setting up each module node, the information and interface information that the node needs to publish are first sent to the driver software to implement registration. When the application software needs to subscribe to the information, the data information of each node is obtained according to the registration information, and then the subscription command is issued to the driver software.
[0008] Preferably, the control method of the application software includes issuing a subscription command to the driver software to obtain information of each functional circuit in the machine; receiving the published information and reading the fault result in the node; and reporting the fault through the on-machine bus according to the result.
[0009] Preferably, the interface between the application software and the driver software is defined by a data structure.
[0010] Preferably, both functional circuit failure and module failure are defined bit by bit, and when a failure is detected, the corresponding functional circuit bit is set. At the same time, the driving software is based on the correspondence between the functional circuit and the internal functional circuit and the internal module. If any functional circuit on the module fails, the corresponding module failure bit is also set.
[0011] Preferably, a power supply control management processor internal self-detection information definition system includes a driver module for self-detection and obtaining fault information of functional circuits and internal modules and saving it, and publishing the fault information in a module manner; an application module for sending subscription request information for obtaining circuit faults to the driver module, and receiving the fault information published by the driver software.
[0012] Preferably, the driving module includes a data receiving module for receiving subscription request information issued by the application module; a fault information recording module for numbering each power supply circuit therein, performing self-detection according to the subscription request information, and recording the fault information of each power supply circuit according to the number, and storing the fault information of the power supply circuit in the internal module to form a fault definition area, and performing solution processing on the module fault definition area; a data registration module for recording the registration and numbering information of each module and power supply circuit; and a data sending module for publishing the data in the fault definition area as a whole to the application module through an interface function.
[0013] Preferably, the application module includes a fault information request module for issuing a request command for obtaining fault information to the driver software and obtaining fault information of each module location area; and a fault information sending module for reporting the internal fault information through the on-board bus.
[0014] The present application decouples the internal framework into several independent modules by adopting a subscription and information publishing model. Each module serves as a node, and the internal functions are divided into application software and driver software. The application software publishes subscription commands to the driver software. After the driver software completes self-detection, it matches the internal module with the functional circuit and stores the functional circuit in the internal module to form a module fault definition area, which is then sent to the application software in a packaged manner to realize self-detection, which can effectively improve the self-detection efficiency.
[0015] Preferably, the driver software and the application software use a data structure definition method. When a functional circuit or module fails, the corresponding functional circuit bit or module fault bit is set, and the application software can quickly and accurately read each data according to the numbering information. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solution provided by the present application, the following is a brief introduction to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present application.
[0017] Figure 1 This is a schematic diagram of the overall process of Example 1 of this application;
[0018] Figure 2 This is a schematic diagram of the driver software flow in Example 1 of the present application;
[0019] Figure 3 This is a schematic diagram of the design of the internal modules and functional circuits of the first embodiment of the present application;
[0020] Figure 4 This is a schematic diagram of the application software flow in Example 1 of the present application;
[0021] Figure 5 This is a schematic diagram of the overall system structure of Example 2 of the present application.
[0022] 1. Driving module; 2. Application module; 3. Data receiving module; 4. Fault information recording module; 5. Data registration module; 6. Data sending module; 7. Fault information request module; 8. Fault information sending module. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the implementation of this application clearer, the technical solutions in the embodiments of this application will be described in more detail below in conjunction with the drawings in the embodiments of this application.
[0024] Embodiment 1: A method for locating self-detection information in a power supply control management processor
[0025] The main functions of the power management processor include:
[0026] 1. Status collection function, collect aircraft status data through the on / off interface, ground / open interface, 28V collection interface, and 115V collection interface;
[0027] 2. Power output function: output the control instructions of the device through the 28V power output interface;
[0028] 3. Bus cross-linking function: cross-link with other controllers through HB6096 and GJB289A buses, receive bus data from other controllers, and send its own data to other controllers;
[0029] 4. BIT function: With BIT function, the machine can perform self-detection and record the detection results.
[0030] This application divides the functions of the power supply management processor into two parts, the driver software and the application software. The driver software detects and records the results of the functional circuit and solves the module fault definition area. The application software is used to read the self-detection results in the driver software and report them, thereby reducing coupling and improving design efficiency.
[0031] like Figure 1 As shown, including
[0032] Step S100, decoupling the internal framework into several independent modules, each module is a node, each node is provided with several functional circuits, and the self-detection information of each node forms a module fault definition area;
[0033] Step S200, the application software records the interface information and publishing information of each node, and the node obtains the subscription information of the application software from the driver software;
[0034] Step S300, the application software publishes subscription information to the driver software through the interface. The driver software completes self-detection according to the subscription information, and packages and encapsulates the detection information of each functional circuit in the module fault definition area that needs to be published. The application software obtains the packaged module fault area information from the interface according to the subscription information, and reports the internal fault in real time through the on-board bus.
[0035] By dividing the control in the power supply control management processor into application software and driver software, the functions in the machine are distributed, and the two softwares respectively perform different functions, reducing the coupling between the hardware layer and the application layer.
[0036] When testing the functional circuit, the BIT function is used to perform self-test inside the machine. Since each functional circuit is divided into multiple modules, this modular design is used in actual use without knowing whether the functional circuit is faulty. It is only necessary to locate the module-level fault and replace the module. The faulty module can be returned to the factory for circuit-level repair.
[0037] BIT information definition is used for the interface between the driving software and the application software. When the application software obtains the fault information of the functional circuit, it only needs to read the information of the module fault location area through the interface function to directly obtain the fault results of each functional circuit and each module. The processing is fast and the intelligence, convenience and concealment of the data processing in the power supply control management processor are improved.
[0038] like Figure 2 , Figure 3 As shown, preferably, the control method of the driving software includes:
[0039] Step S320, receiving subscription information sent by the application software, and performing self-test on the power supply circuit;
[0040] Step S330, recording the fault information of each power supply circuit, judging the fault result and matching the power supply circuit fault with the internal module, the internal module numbers each power supply circuit therein, and each module forms a module fault definition area;
[0041] Step S340, packaging the module fault definition area as a whole and publishing it to the application software through an interface function;
[0042] For example, if the machine is divided into 6 modules, e1 represents the first circuit, the first module contains e1, e2, e3...e6, the second module contains e7, e8, e9...e12... the sixth module contains e31, e32, e33...e36. In this way, each module contains the data of 6 circuits and one module, and 6 modules contain 36 data. By reading these data one by one, the fault conditions of each circuit and module in the machine can be known.
[0043] By matching the power supply circuit with each module inside the machine, after the self-test is completed, by checking the information of each number, it can be determined whether each power supply circuit is faulty. As long as one power supply circuit fails, it can be considered that the module is faulty. By using an overall packaging method to send data to the application software, rapid data interaction between the application software and the driver software can be achieved, thereby improving test efficiency.
[0044] Preferably, when setting up each module node, the information that needs to be published and the information that needs to be published by the node are first sent to the driver software to realize registration. After the application software issues a subscription command to the driver software, the driver software realizes self-detection of each functional circuit according to the registration information. After each functional circuit is registered, each functional circuit can be detected quickly and accurately through the registration information to reduce misjudgment.
[0045] like Figure 4 As shown, preferably, the control method of the application software includes:
[0046] Step S310, issuing a subscription command to the driver software to obtain information about each functional circuit in the machine;
[0047] Step S350, receiving the published information and reading the fault result in the node;
[0048] Step S360, reporting the fault via the onboard bus according to the result;
[0049] After numbering each power supply circuit, the application software can quickly and accurately know the fault condition of each power supply circuit when reading the self-test result.
[0050] Preferably, the interface between the application software and the driver software is defined by a data structure, and the BIT information definition is used for the interface between the driver software and the application software, and the definition framework is a functional circuit failure + module failure mode. The functional circuit failure and module failure are both defined bit by bit, and when a failure is detected, the corresponding functional circuit bit is set. At the same time, the driver software sets the corresponding module failure bit according to the correspondence between the functional circuit and the internal functional circuit and the internal module. If any functional circuit in the module fails, the corresponding module failure bit is also set. When the application software reads the fault condition of the fault definition area, each bit represents a functional circuit information, and each bit is numbered to correspond to each functional circuit or module one by one, so that the fault information of each functional circuit and module can be read accurately and quickly.
[0051] Embodiment 2, a power supply control management processor in-machine self-detection information definition system, such as Figure 5 As shown, it includes a driving module 1 and an application module 2. The driving module 1 is used for self-detection and obtaining and saving the fault information of the functional circuit and the internal module, and publishing the fault information in a module manner;
[0052] The application module 2 is used to send a subscription request message for obtaining circuit faults to the driver module 1, and receive the fault information published by the driver software.
[0053] By dividing the power supply control management processor into modules that perform various functions, the coupling between the modules is reduced, thereby effectively improving the design efficiency.
[0054] Preferably, the driving module 1 includes a data receiving module 3, a fault information recording module 4, a data registration module 5 and a data sending module 6. The data receiving module 3 is used to receive the subscription request information sent by the application software; the fault information recording module 4 is used to number each power supply circuit therein, perform self-detection according to the subscription information, and record the fault information of each power supply circuit according to the number, and save the fault information of the power supply circuit in the machine module to form a fault definition area, and perform solution processing on the fault definition area; the data registration module 5 is used to record the registration and numbering information of each module and the power supply circuit; the data sending module 6 is used to publish the data of the fault definition area as a whole to the application module 2 through the interface function. By setting the fault information recording module 4 and the data registration module 5, fast and efficient data processing of the machine self-detection is realized.
[0055] Preferably, the application module 2 includes a fault information request module 7 and a fault information sending module 8. The fault information request module 7 is used to issue a request command for obtaining fault information to the driver software and obtain fault information in each module definition area; the fault information sending module 8 is used to report the fault information in the machine through the on-board bus. By setting the information request module, intelligent interaction with the driver software is realized, the coupling between software is reduced, and the processing efficiency is improved.
[0056] Embodiment 3, a power supply control management processor includes application software and driver software, and the application software and driver software include the information definition method as described in embodiment 1. The driver software is focused on the hardware itself, and the application software is focused on the realization of human-computer interaction functions, which reduces the coupling between the hardware layer and the application layer and improves the design efficiency.
[0057] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for defining self-detection information in a power supply control management processor, Features: include, Decouple the internal framework into several independent modules, each module is a node, each node is equipped with several functional circuits, and the self-detection information of each node forms the module fault definition area; The application software records the interface information and publishing information of each node, and the node obtains the subscription information of the application software from the driver software; The application software publishes subscription information to the driver software through the interface. The driver software completes self-detection according to the subscription information, and packages and encapsulates the detection information of each functional circuit in the module fault definition area that needs to be published. The application software obtains the packaged module fault area information from the interface according to the subscription information, and realizes the internal fault reporting through the on-board bus. The control method of the driving software includes: Receive subscription information from application software and perform self-test on the internal circuits; Record the fault information of each power supply circuit, judge the fault result and correspond the power supply circuit fault to the internal module. The internal module numbers each power supply circuit in it, and each module forms a module fault definition area; Package the module fault definition area as a whole and publish it to the application software through the interface function; The interface between the application software and the driver software is defined by a data structure; Functional circuit faults and module faults are defined by bit. When a fault is detected, the corresponding functional circuit bit is set. At the same time, the driver software sets the corresponding module fault bit according to the corresponding relationship between the functional circuit, the internal functional circuit and the internal module. If any functional circuit on the module fails, the corresponding module fault bit is also set. The machine is divided into 6 modules, e1 represents the first circuit, the first module contains e1, e2, e3...e6, the second module contains e7, e8, e9...e12... the sixth module contains e31, e32, e33...e36; each module contains the data of 6 circuits and the data of one module, and 6 modules contain 36 data; By matching the power supply circuit with each module inside the machine, after the self-test is completed, by checking the information of each number, it can be determined whether each power supply circuit is faulty or not. As long as one power supply circuit fails, it can be considered that the module is faulty.
2. The method for defining the self-detection information of the power supply control management processor according to claim 1, Features: When setting up each module node, first send the information and interface information that the node needs to publish to the driver software to realize registration. After the application software publishes a subscription command to the driver software, the driver software realizes self-detection of each functional circuit according to the registration information.
3. The method for defining the self-test information of the power supply control management processor according to claim 1, Features: The control method of the application software comprises: Issue a subscription command to the driver software to obtain information about each functional circuit in the machine; Receive published information and read fault results in the node; According to the results, the fault is reported through the on-board bus.
4. A power supply control management processor built-in self-detection information definition system, using the information definition method according to any one of claims 1 to 3, Features: include, A drive module (1) is used for self-detection, obtaining and storing fault information of functional circuits and modules inside the machine, and publishing the fault information in a module manner; The application module (2) is used to send subscription request information for obtaining circuit faults to the drive module (1), and receive fault information published by the drive module (1).
5. The power supply control management processor built-in self-test information definition system as claimed in claim 4, Features: The driving module (1) comprises: A data receiving module (3), used for receiving subscription request information sent by the application module (2); A fault information recording module (4) is used to number each power supply circuit therein, perform self-detection according to the subscription request information, and record the fault information of each power supply circuit according to the number, and store the fault information of the power supply circuit in the module inside the machine to form a fault definition area, and perform resolution processing on the module fault definition area; A data registration module (5), used to record the registration and numbering information of each module and power supply circuit; The data sending module (6) is used to publish the data in the fault definition area as a whole to the application module (2) through an interface function.
6. The power supply control management processor built-in self-test information definition system as claimed in claim 4, Features: The application module (2) comprises: A fault information request module (7), used for issuing a request command for obtaining fault information to the driver software and obtaining the fault information of each module positioning area; The fault information sending module (8) is used to report the fault information in the machine through the machine bus.
7. A power supply control management processor, Features: It comprises application software and driver software, and the application software and driver software adopt the information definition method as described in any one of claims 1-3.
Citation Information
Patent Citations
Method and device for real-time interaction of spaceflight measurement and control data
CN113067865A
Fault tolerant data bus node in a distributed system
EP1857935A1
Vehicle remote driving system established by primary and secondary wireless devices by means of internet of things connection
WO2020151468A1
