CN114124656B - Ground integrated measurement and control system for carrier rocket - Google Patents
Ground integrated measurement and control system for carrier rocket Download PDFInfo
- Publication number
- CN114124656B CN114124656B CN202111284820.4A CN202111284820A CN114124656B CN 114124656 B CN114124656 B CN 114124656B CN 202111284820 A CN202111284820 A CN 202111284820A CN 114124656 B CN114124656 B CN 114124656B
- Authority
- CN
- China
- Prior art keywords
- module
- instruction
- master
- configuration
- slave
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000005259 measurement Methods 0.000 title claims abstract description 42
- 238000004891 communication Methods 0.000 claims abstract description 48
- 238000003745 diagnosis Methods 0.000 claims abstract description 24
- 238000001514 detection method Methods 0.000 claims abstract description 17
- 238000013507 mapping Methods 0.000 claims abstract description 4
- 230000009471 action Effects 0.000 claims description 19
- 230000005856 abnormality Effects 0.000 claims description 9
- 238000012544 monitoring process Methods 0.000 claims description 4
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 230000010354 integration Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 abstract description 47
- 238000012545 processing Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 9
- 238000013461 design Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000737 periodic effect Effects 0.000 description 4
- 239000001257 hydrogen Substances 0.000 description 3
- 229910052739 hydrogen Inorganic materials 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004886 process control Methods 0.000 description 3
- UFHFLCQGNIYNRP-UHFFFAOYSA-N Hydrogen Chemical compound [H][H] UFHFLCQGNIYNRP-UHFFFAOYSA-N 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000003862 health status Effects 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000007789 gas Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 150000002431 hydrogen Chemical class 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
- H04L12/40176—Flexible bus arrangements involving redundancy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/4026—Bus for use in automation systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses a ground integrated measurement and control system of a carrier rocket, which comprises the following components: the system comprises a network communication module, an instruction analysis module, a heartbeat detection module, a bus communication module, a functional module, a fault diagnosis module and a master-slave switching module; after receiving the instruction of the upper computer, the network communication module sends the received instruction to the instruction analysis module; the instruction analysis module compares the instruction with a preset configuration file, a mapping table of the instruction and specific content is arranged in the configuration file, specific instruction content is obtained through comparison, and a module corresponding to the instruction content in the functional module is called according to the instruction content. The invention realizes that different functions correspond to different modules, and different functions are realized through different modules, and the modules are mutually independent, so that the function expansion and cutting are convenient.
Description
Technical Field
The invention belongs to the technical field of design of aerospace electronic systems, and particularly relates to a ground integrated measurement and control system of a carrier rocket.
Background
With the development of the equipping of the ground measurement and control equipment of the carrier rocket, the universal front-end measurement and control equipment of the built-in bus and the modularized board card is a future trend. Because the measurement and control equipment adopts different processors and different operating systems, the types and the number of the internal modularized boards are different, and therefore, a general software architecture does not exist at present. On the other hand, even for the same device, there are often some differences in demand due to different users, which brings high demands on the scalability and extensibility of the software architecture.
Disclosure of Invention
The invention solves the technical problems that: the ground integrated measurement and control system for the carrier rocket overcomes the defects of the prior art, realizes that different functions correspond to different modules, realizes different functions through different modules, is mutually independent, and facilitates the expansion and cutting of the functions.
The invention aims at realizing the following technical scheme: a ground integrated measurement and control system for a carrier rocket, comprising: the system comprises a network communication module, an instruction analysis module, a heartbeat detection module, a bus communication module, a functional module, a fault diagnosis module and a master-slave switching module; after receiving the instruction of the upper computer, the network communication module sends the received instruction to the instruction analysis module; the instruction analysis module compares the instruction with a preset configuration file, a mapping table of the instruction and specific content is arranged in the configuration file, specific instruction content is obtained through comparison, and a module corresponding to the instruction content in the functional module is called according to the instruction content; the function module is communicated with the modularized board card through an in-machine bus by calling the bus communication module, and commands the modularized board card, and the function module and the modularized board card together complete the execution action of the corresponding instruction; after the execution is finished, judging, if the execution is finished, calling the network communication module to send an execution result to the upper computer, if the execution is not finished, re-calling the function module, and if the execution is wrong, sending error information to the fault diagnosis module; after the fault diagnosis module receives the error information, comparing the error information with a preset configuration file, if the error information is judged to be a non-serious fault, calling the functional module again to try to execute, and if the error information is serious fault, calling the master-slave switching module to execute an active switching action; the master-slave switching module receives the master-slave switching instruction and then judges, if the host is a host, the master-slave switching module sends a master-slave switching request to the slave, then the host is degraded into the slave, if the host is a slave, the master-slave switching request of the host is waited, and after the master-slave switching request is received, the host is upgraded into the host; the heartbeat detection module is used for sending a heartbeat packet to the opposite machine in real time, monitoring the heartbeat packet of the opposite machine, sending a heartbeat detection abnormality to the fault diagnosis module if the heartbeat packet is abnormal, and triggering master-slave switching after the fault diagnosis receives the heartbeat detection abnormality.
Among the above-mentioned carrier rocket ground integration measurement and control system, still include: a log module; the log module is used for recording information of software operation.
In the ground integrated measurement and control system of the carrier rocket, the network communication module is an interface between the whole software and the upper computer and is used for receiving instructions of the upper computer and sending data to the upper computer.
In the ground integrated measurement and control system of the carrier rocket, the functional module comprises an analog quantity acquisition module, an analog quantity output module, a switching value acquisition module and a switching value output module; if the specific instruction content is that a certain switching value channel needs to be opened, a switching value output module is called; if the specific instruction content is that the switching value needs to be acquired, a switching value acquisition module is called; if the specific instruction content is that a certain analog channel needs to be opened, an analog output module is called; and if the specific instruction content is that the analog quantity needs to be acquired, calling an analog quantity acquisition module.
In the ground integrated measurement and control system of the carrier rocket, repeated non-serious faults are regarded as serious faults.
In the ground integrated measurement and control system of the carrier rocket, the preset configuration file content comprises network configuration, instruction configuration, heartbeat configuration, log configuration, bus communication configuration, functional module configuration, fault diagnosis configuration and master-slave switching configuration.
In the ground integrated measurement and control system of the carrier rocket, hardware failure or abnormality of a certain software module is a serious fault.
Compared with the prior art, the invention has the following beneficial effects:
(1) According to the invention, through the characteristics of the software functional modules, different functions are realized corresponding to different modules, and different functions are realized through different modules, and the modules are mutually independent, so that the functions are conveniently expanded and cut;
(2) The invention realizes the whole software architecture by the characteristics of the software main body and the eight modules, adopts the multithreading design thought, simultaneously executes a plurality of functions and ensures the instantaneity; the method is suitable for various development languages and can be compatible with various operating systems;
(3) The invention realizes that the device with different scales and different functions can be adapted by modifying the configuration file through the characteristics of the software configuration file, and the code is not required to be modified.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 is a schematic diagram of a connection relationship between front and back end devices according to an embodiment of the present invention;
FIG. 2 is a block diagram of a ground integrated measurement and control system for a carrier rocket according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 is a schematic diagram of a connection relationship between front-end and back-end devices according to an embodiment of the present invention. As shown in fig. 1, the software architecture design of the general-purpose front-end measurement and control device of the "in-plane bus+modular board" mainly faces two problems to be solved: firstly, a software basic architecture capable of realizing generalization is designed, and the requirements of different users can be met under the premise of not changing codes in the same equipment; and the basic logic is clear enough, so that the system can adapt to different development languages and different operating systems.
The ground measurement and control equipment for the generalized carrier rocket is characterized in that one set of scheme can meet various requirements, namely equipment architectures are the same, and measurement and control functions of a power system, a measurement system and a control system can be realized by adjusting the number of the chassis and the number of the functional boards. Therefore, the software architecture needs to meet the requirements of equipment of different scales, different functions to be realized by the software are realized by adopting different modules, the different modules are different threads, and inputs (such as table number codes in a network protocol, specific instructions of an executing mechanism and the like) required by the operation of a specific functional module are realized through configuration files. The software main program obtains the functions to be completed by reading the configuration files, then starts the threads of the corresponding functional modules, and each thread obtains the required input by reading the configuration files.
FIG. 2 is a block diagram of a ground integrated measurement and control system for a carrier rocket according to an embodiment of the present invention. As shown in fig. 2, the ground integrated measurement and control system of the carrier rocket comprises a network communication module, an instruction analysis module, a heartbeat detection module, a log module, a bus communication module, a functional module (an analog quantity acquisition module, an analog quantity output module, a switching quantity acquisition module, a switching quantity output module and the like), a fault diagnosis module and a master-slave switching module, wherein the information flow among the modules is shown in fig. 2. The description of each module is as follows:
a) And a network communication module: the communication module of the front-end equipment and the upper computer is used for receiving the instruction of the upper computer and sending the state to the upper computer;
b) The instruction analysis module: analyzing an upper computer instruction, reading a configuration file, and informing different functional threads according to the upper computer instruction and the configuration file to realize task allocation;
c) The heartbeat detection module: and completing the state monitoring and switching functions between the master and the slave (if double CPU redundancy exists).
d) And a log module: the system is independently operated and used for recording key information of software operation, and all modules call the log module to realize the storage of the key log information;
e) Bus communication module: calling a driver (such as a CAN bus or a 485 bus) of a corresponding built-in bus, sending an instruction to a modularized board card in the machine, and commanding the modularized board card to execute a corresponding function;
f) Functional module: each module completes a specific function such as analog quantity acquisition, state quantity acquisition, time sequence flow, power distribution channel control and the like, and the module can correspondingly increase or decrease according to the specific running equipment function;
g) And a fault diagnosis module: judging whether the current error is a serious error or not according to the information of the software operation, and if the current error is a serious error (such as hardware failure or abnormality of a certain software module, etc.), starting a master-slave switching module to request to switch the execution of the backup machine;
h) A master-slave switching module: and executing specific master-slave switching actions, such as sending/receiving a master-slave switching request, and setting the local machine as a host machine/a slave machine.
The information flow between the modules is described as follows:
the network communication module is an interface between the whole software and the upper computer and is used for receiving the instruction of the upper computer and sending data to the upper computer, and after receiving the instruction of the upper computer, the network communication module sends the received instruction to the instruction analysis module;
the instruction analysis module compares the instruction with a configuration file, wherein the configuration file is provided with a mapping table of the instruction and specific contents, the specific instruction contents are obtained through comparison, a corresponding functional module is called according to the instruction contents, and if a certain switching value channel is required to be opened, a switching value output module is called;
the function module is communicated with the modularized board card through the built-in bus by calling the bus communication module, and commands the modularized board card, and the function module and the modularized board card together complete the execution action of the corresponding instruction; after the execution is finished, judging, if the execution is finished, calling the network communication module to send an execution result to the upper computer, if the execution is not finished (some instructions may need to be executed in multiple steps), calling the functional module again, and if the execution is wrong, sending error information to the fault diagnosis module;
after the fault diagnosis module receives the error information, comparing the error information with the configuration file, if the error information is judged to be a non-serious fault, then the function module is recalled to try to execute, and if the error information is a serious fault (repeated non-serious faults are considered as serious faults), the master-slave switching module is recalled to execute the active switching action;
after receiving the master-slave switching instruction, the master-slave switching module judges that the host is the host, sends a master-slave switching request to the slave, then downgrades the host into the slave, and waits for the master-slave switching request of the host if the host is the slave, and upgrades the host into the host after receiving the master-slave switching request;
the heartbeat detection module is used for sending a heartbeat packet to the opposite machine in real time, monitoring the heartbeat packet of the opposite machine, and sending a heartbeat detection abnormality to the fault diagnosis module if the heartbeat packet is abnormal, wherein the master-slave switching can be triggered after the fault diagnosis receives the heartbeat detection abnormality.
The log module is used for recording key information of software operation and does not participate in the whole instruction processing flow.
The configuration file content comprises network configuration, instruction configuration, heartbeat configuration, log configuration, bus communication configuration, function module configuration, fault diagnosis configuration and master-slave switching configuration, and the configuration file content corresponds to each module.
Taking a certain model of three-level power measurement and control combination as an example, the three-level power measurement and control combination mainly comprises a power module, a main control module, a functional module, a bottom plate and the like. The main control module is two redundancy Menlow main boards and adopts a real-time operating system. The functional module comprises an analog quantity acquisition module, a switching value input module and a switching value output module, and the acquisition and control of different signals of each node are completed. The main control module is interconnected with each functional module through a data bus and a management bus, so that data acquisition and control of each functional module are completed.
In the three-level power measurement and control combination, the main control module and each functional module are interconnected through a data bus and a management bus, so that data acquisition and control of each functional module are completed. The data bus is responsible for roll call, self-checking, function board card control, downloading of a master-slave switching result of the CPU board and the like; the management bus is responsible for reporting the health status of the board card. Wherein, the data bus and the management bus are both double-way redundancy.
And operating the embedded measurement and control software of the three-stage power measurement and control combination in the three-stage power measurement and control combination, and operating on a VxWorks6.8 operating system. The following functions are mainly completed:
a) Single point control function: receiving a single-point control instruction of three-level power measurement and control command control software, and controlling the action of the air distribution platform and the corresponding electromagnetic valve on the arrow after logic judgment;
b) Process control function: receiving a process control instruction of the three-level power measurement and control command control software, and completing corresponding process control actions according to process requirements after logic judgment;
c) Emergency control function: receiving a rear-end three-level emergency control instruction through the front-end emergency passage and the rear-end emergency passage, and executing a corresponding emergency procedure control function;
d) Status acquisition and feedback function: the collected state quantity signals of the control channel inside the equipment, such as action feedback, state information inside the equipment, good air release, good plug-in and release and the like are fed back to the rear-end three-level power command control software;
e) Analog quantity acquisition function: and feeding back analog quantity signals such as pressure, temperature and the like of the acquired gas distribution table and pipeline to the rear-end three-level power command control software.
After the three-stage power measurement and control combination is electrified, the VxWorks6.8 operating system is automatically loaded, and after the system initialization is completed, the system enters a normal working mode, and main functions of the three-stage power measurement and control combination embedded measurement and control software in the normal working mode comprise: initializing each module of software; the cycle is communicated with each functional board card (an analog input board, a switching value input board and a switching value output board) through bus communication (a CAN bus and an RS485 bus), and information collected by each functional board card is fed back to the rear-end three-level power command control software; receiving a control instruction of three-level power command control software, and controlling the KO board to output after logic judgment; receiving a back-end emergency control instruction and executing time sequence flow control; the system has a log recording function, and can record and store the log of software operation in a file.
The system comprises a log module, a bus communication module (a CAN bus communication module and an RS485 bus communication module), a functional module (an analog quantity period acquisition module, a switching quantity period acquisition module, a power distribution control module and an automatic flow module), a network communication module, an instruction analysis module, a heartbeat detection module, a master-slave switching module, a fault diagnosis module and the like. The following relationship exists between the various components:
a) All modules call a log module to realize the storage of key log information;
b) The network communication among the power measurement and control systems adopts a universal communication protocol, and all the network communication is realized by calling a network communication module;
c) The command analysis module is used for completing the analysis of a single-step control command of power distribution output, calling the power distribution control module to complete the power distribution output control, calling the automatic flow module to realize an automatic flow control function, calling the CAN bus communication module to complete the functions of self-checking, resetting, starting/stopping leakage detection, master-slave switching and the like, and calling the RS485 bus communication module to complete the master-slave switching function;
d) The automatic flow module completes automatic flow instruction analysis, and invokes the power distribution control module to complete power distribution output control;
e) The power distribution control module calls the CAN bus communication module to complete power distribution output control;
f) The CAN bus period acquisition module calls the CAN bus communication module to complete the periodic communication functions of roll calling, analog quantity acquisition, switching value acquisition, power distribution state acquisition and the like;
g) The RS485 bus cycle acquisition module calls the RS485 bus communication module to complete cycle communication functions such as health state and the like;
h) The heartbeat detection module calls the CAN bus communication module and the RS485 bus communication module to complete the master-slave switching function.
Configuration file format design:
the important data structure in the power measurement and control front-end software is the configuration information of each module, most of functions of each module can be configured through configuration files, the configuration files are in XML format, and the configuration files of each module are designed.
Master-slave switching configuration:
the master-slave switching configuration defines the enabling state and the master-slave state of the current CPU board, and the content is as follows:
< flag enable= "1" master slave= "1"/>
Log configuration:
the log configuration defines the starting sequence number, the maximum queue length, the output mode and the like of the current log, and the contents are as follows:
< log filelimit_m= "500" checkfreeperiod_s= "3600" disfreeplimit_m= "1024" file start sequence number= "1" loglevel= "Info" maximum queue length= "10000" whether screen output= "1" whether file output= "1" whether network output= "0"/>
Network configuration:
the network configuration defines the relevant configuration of network communication, including the local system code and node code in the network communication protocol, the network configuration of the instruction analysis module, the periodically collected network configuration, the following contents are
< network >
< instruction remote port= "4107" local port= "4021" remote address= "192.168.241.7"/>
< instruction remote port= "4107" local port= "4022" remote address= "192.168.241.7"/>
Network-
CAN periodic acquisition configuration:
the CAN periodic acquisition configuration consists of five parts, namely CAN periodic processing, analog quantity acquisition, switching value acquisition, emergency control and power distribution acquisition.
The CAN period processing defines a processing period, overtime judgment time, content collected by each functional board card period and information of each functional board card, wherein the content is as follows:
< CAN period processing period= "1000" ki processing period= "1000" timeout determination time= "5" >
< processing type= "roll call" name= "device-AD board" device number= "0" most significant bit= "0" board address code= "1" board type code= "1"/>
Period processing of CAN
The analog quantity collection defines the table number, the code number, the name and the AD board serial number, the passage and the calculation formula of each analog quantity, and the contents are as follows:
< analog quantity acquisition >
< analog quantity type= "analog quantity acquisition" table number= "1433" code= "1" code number= "X3-bp_g35a" name= "35MPa high-pressure air supply pressure" AD board card a= "1" AD board card b= "2" circuit number= "1" formula= "X6.7488830132975+1.29278762544283"/>
Analog quantity acquisition-
The switching value collection defines the table number, the code, the name and the KI board card serial number and the passage of each switching value, and the contents are as follows:
< acquisition of switching value >
< switching value type= "switching value acquisition" table number= "1441" code= "10" name= "good-to-be-inserted and dropped" KI board card= "1" way number= "16"/>
Switching value collection-
The emergency control defines the name of each emergency control, the serial number of the KI board card and the path, and the contents are as follows:
< Emergency control >
< emergency control type= "emergency control" name= "hydrogen tank pressure release" KI board card= "1" way count= "7" way count= "8" way count= "9"/>
Emergency control-
The distribution collection defines the table number, the code number, the name and the KO board serial number and the passage of each distribution collection, and the contents are as follows:
< Power distribution acquisition >
< distribution collection type = "distribution collection" table number = "1442" code = "1" code = "3BQ" name = "core three-stage hydrogen, oxygen pump front valve switch cavity control solenoid valve (high)" control board card a = "7" control board card B = "8" way number = "1"/>
Distribution acquisition-
RS485 period acquisition configuration:
the RS485 period processing defines a processing period, overtime judgment time, content collected by each functional board card period and information of each functional board card, wherein the content is as follows:
< RS485 period processing period= "500" timeout determination time= "100" >)
< processing type= "health status query" name= "device-AD board" device number= "0" most significant bit= "0" board address code= "1" board type code= "1"/>
RS485 cycle processing
Distribution control configuration:
the power distribution control defines overtime judgment time, and the board serial numbers and information of each functional board card are as follows:
< switching value control timeout determination time= "1" >
< processing type= "switching value output" board serial number= "1" device number= "0" most significant bit= "0" board address code= "4" board type code= "4"/>
Switching value control-
Control instruction configuration:
the control instruction configuration defines the type, the table number, the code and the name of the control instruction, and if the control instruction is distribution point control or energy-saving power distribution control, the control instruction also has code numbers, board serial numbers and paths, and the content is as follows:
< control instruction set >
< instruction type= "distribution control" table number= "1433" code= "1" code= "X3-DJQ1" name= "off JQ1 relief valve" control board card a= "1" control board card b= "2" way number= "1"/>
Control instruction set)
Automatic flow configuration:
the automatic flow configuration defines the name of the automatic flow, the code number, the output value and the time delay of each action, and the contents are as follows:
< automatic procedure set >
< automatic procedure name= "hydrogen Pump Box blow off" >
< action digital quantity output code number= "X3-CD1A" output value= "1" delay= "0"/>
< action digital quantity output code number= "X3-CD1B" output value= "1" delay= "0"/>
< action number output code = "3FK-H-I" output value = "1" delay = "60"/>
< action number output code = "3FK-H-II" output value = "1" delay = "0"/>
< action digital quantity output code number= "3YX-H-I" output value= "1" delay= "120"/>
< action digital quantity output code number= "3YX-H-II" output value= "1" delay= "0"/>
< action number output code = "3FK-H-I" output value = "0" delay = "0"/>
< action number output code = "3FK-H-II" output value = "0" delay = "0"/>
Automatic procedure ]
Automatic procedure set
Fault diagnosis configuration:
< diagnosis of failure >
< fault code = "101" fault flag = "serious" fault name = "heartbeat anomaly"/>
< fault code = "201" fault flag = "non-critical" fault name = "bus communication timeout"/>
Fault diagnosis
According to the invention, through the characteristics of the software functional modules, different functions are realized corresponding to different modules, and different functions are realized through different modules, and the modules are mutually independent, so that the functions are conveniently expanded and cut; the invention realizes the whole software architecture by the characteristics of the software main body and the eight modules, adopts the multithreading design thought, simultaneously executes a plurality of functions and ensures the instantaneity; the method is suitable for various development languages and can be compatible with various operating systems; the invention realizes that the device with different scales and different functions can be adapted by modifying the configuration file through the characteristics of the software configuration file, and the code is not required to be modified.
Although the present invention has been described in terms of the preferred embodiments, it is not intended to be limited to the embodiments, and any person skilled in the art can make any possible variations and modifications to the technical solution of the present invention by using the methods and technical matters disclosed above without departing from the spirit and scope of the present invention, so any simple modifications, equivalent variations and modifications to the embodiments described above according to the technical matters of the present invention are within the scope of the technical matters of the present invention.
Claims (7)
1. The utility model provides a carrier rocket ground integration measurement and control system which characterized in that includes: the system comprises a network communication module, an instruction analysis module, a heartbeat detection module, a bus communication module, a functional module, a fault diagnosis module and a master-slave switching module; wherein,
after receiving the instruction of the upper computer, the network communication module sends the received instruction to the instruction analysis module;
the instruction analysis module compares the instruction with a preset configuration file, a mapping table of the instruction and specific content is arranged in the configuration file, specific instruction content is obtained through comparison, and a module corresponding to the instruction content in the functional module is called according to the instruction content;
the function module is communicated with the modularized board card through an in-machine bus by calling the bus communication module, and commands the modularized board card, and the function module and the modularized board card together complete the execution action of the corresponding instruction; after the execution is finished, judging, if the execution is finished, calling the network communication module to send an execution result to the upper computer, if the execution is not finished, re-calling the function module, and if the execution is wrong, sending error information to the fault diagnosis module;
after the fault diagnosis module receives the error information, comparing the error information with a preset configuration file, if the error information is judged to be a non-serious fault, calling the functional module again to try to execute, and if the error information is serious fault, calling the master-slave switching module to execute master-slave switching action;
the master-slave switching module receives the master-slave switching instruction and then judges, if the host is a host, the master-slave switching module sends a master-slave switching request to the slave, then the host is degraded into the slave, if the host is a slave, the master-slave switching request of the host is waited, and after the master-slave switching request is received, the host is upgraded into the host;
the heartbeat detection module is used for sending a heartbeat packet to the opposite machine in real time, monitoring the heartbeat packet of the opposite machine, sending a heartbeat detection abnormality to the fault diagnosis module if the heartbeat packet is abnormal, and triggering master-slave switching after the fault diagnosis receives the heartbeat detection abnormality.
2. The ground integrated measurement and control system of a launch vehicle of claim 1, further comprising: a log module; the log module is used for recording information of software operation.
3. The ground integrated measurement and control system of a launch vehicle according to claim 1, wherein: the network communication module is an interface between the whole software and the upper computer and is used for receiving instructions of the upper computer and sending data to the upper computer.
4. The ground integrated measurement and control system of a launch vehicle according to claim 1, wherein: the functional module comprises an analog quantity acquisition module, an analog quantity output module, a switching value acquisition module and a switching value output module; wherein,
if the specific instruction content is that a certain switching value channel needs to be opened, a switching value output module is called;
if the specific instruction content is that the switching value needs to be acquired, a switching value acquisition module is called;
if the specific instruction content is that a certain analog channel needs to be opened, an analog output module is called;
and if the specific instruction content is that the analog quantity needs to be acquired, calling an analog quantity acquisition module.
5. The ground integrated measurement and control system of a launch vehicle according to claim 1, wherein: repeated non-catastrophic failures multiple times are also considered catastrophic failures.
6. The ground integrated measurement and control system of a launch vehicle according to claim 1, wherein: the preset configuration file content comprises network configuration, instruction configuration, heartbeat configuration, log configuration, bus communication configuration, function module configuration, fault diagnosis configuration and master-slave switching configuration.
7. The ground integrated measurement and control system of a launch vehicle according to claim 1, wherein: hardware failure or abnormality of a certain software module is a serious fault.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111284820.4A CN114124656B (en) | 2021-11-01 | 2021-11-01 | Ground integrated measurement and control system for carrier rocket |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111284820.4A CN114124656B (en) | 2021-11-01 | 2021-11-01 | Ground integrated measurement and control system for carrier rocket |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114124656A CN114124656A (en) | 2022-03-01 |
CN114124656B true CN114124656B (en) | 2024-02-09 |
Family
ID=80379763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111284820.4A Active CN114124656B (en) | 2021-11-01 | 2021-11-01 | Ground integrated measurement and control system for carrier rocket |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114124656B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115250246B (en) * | 2022-09-21 | 2022-12-06 | 之江实验室 | Method and computer system for monitoring node state in virtual machine cluster |
CN115294754B (en) * | 2022-10-09 | 2023-03-03 | 北京星河动力装备科技有限公司 | Rocket telemetry method, device, carrier rocket, electronic equipment and storage medium |
CN115766503A (en) * | 2022-11-14 | 2023-03-07 | 天津航空机电有限公司 | Method for detecting board card configuration of secondary power distribution system and verifying communication link |
CN116243643B (en) * | 2023-05-11 | 2023-07-21 | 航天极创物联网研究院(南京)有限公司 | Horizontal filling measurement and control system of overlength rigid body and horizontal filling system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007025446A1 (en) * | 2005-09-02 | 2007-03-08 | Shenzhen Donjin Communication Tech Co., Ltd | Module configuration and management method in integrated communication platform |
CN204190491U (en) * | 2014-10-29 | 2015-03-04 | 北京航天万源科技公司 | Based on the power distribution control system of the carrier rocket measuring system of CAN communication |
CN105824297A (en) * | 2016-03-02 | 2016-08-03 | 北京航天发射技术研究所 | Multi-set rocket body container environment monitoring method and system based on CAN bus |
CN106648997A (en) * | 2016-12-23 | 2017-05-10 | 北京航天测控技术有限公司 | Master-salve switching method based on non-real-time operating system |
CN106814603A (en) * | 2016-12-23 | 2017-06-09 | 北京航天测控技术有限公司 | A kind of dual redundant fault-tolerant system based on non-real time operating system |
CN107247644A (en) * | 2017-07-03 | 2017-10-13 | 上海航天控制技术研究所 | A kind of reconstruct down method of triple redundance computer system |
CN110262449A (en) * | 2019-06-05 | 2019-09-20 | 上海航天控制技术研究所 | A kind of carrier rocket test transmitting process autocontrol method based on two-shipper principal and subordinate's redundancy |
CN112947041A (en) * | 2021-02-18 | 2021-06-11 | 上海航天控制技术研究所 | High-reliability dual-redundancy voting method for front-end and rear-end hosts of carrier rocket |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9742651B2 (en) * | 2015-03-05 | 2017-08-22 | International Business Machines Corporation | Client-side fault tolerance in a publish-subscribe system |
-
2021
- 2021-11-01 CN CN202111284820.4A patent/CN114124656B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007025446A1 (en) * | 2005-09-02 | 2007-03-08 | Shenzhen Donjin Communication Tech Co., Ltd | Module configuration and management method in integrated communication platform |
CN204190491U (en) * | 2014-10-29 | 2015-03-04 | 北京航天万源科技公司 | Based on the power distribution control system of the carrier rocket measuring system of CAN communication |
CN105824297A (en) * | 2016-03-02 | 2016-08-03 | 北京航天发射技术研究所 | Multi-set rocket body container environment monitoring method and system based on CAN bus |
CN106648997A (en) * | 2016-12-23 | 2017-05-10 | 北京航天测控技术有限公司 | Master-salve switching method based on non-real-time operating system |
CN106814603A (en) * | 2016-12-23 | 2017-06-09 | 北京航天测控技术有限公司 | A kind of dual redundant fault-tolerant system based on non-real time operating system |
CN107247644A (en) * | 2017-07-03 | 2017-10-13 | 上海航天控制技术研究所 | A kind of reconstruct down method of triple redundance computer system |
CN110262449A (en) * | 2019-06-05 | 2019-09-20 | 上海航天控制技术研究所 | A kind of carrier rocket test transmitting process autocontrol method based on two-shipper principal and subordinate's redundancy |
CN112947041A (en) * | 2021-02-18 | 2021-06-11 | 上海航天控制技术研究所 | High-reliability dual-redundancy voting method for front-end and rear-end hosts of carrier rocket |
Non-Patent Citations (2)
Title |
---|
An Instruction-Level Power and Energy Model for the Rocket Chip Generator;Zhiping Wang;2021 IEEE/ACM International Symposium on Low Power Electronics and Design (ISLPED);全文 * |
张佳宁 ; 吴燕茹 ; 祝伟 ; 朱瓅 ; .新一代运载火箭一体化供电测控系统设计.计算机测量与控制.2017,(09),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN114124656A (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114124656B (en) | Ground integrated measurement and control system for carrier rocket | |
US7269465B2 (en) | Control system for controlling safety-critical processes | |
CN101286129A (en) | Embedded systems debugging | |
CN107347018A (en) | A kind of triple redundance 1553B bus dynamic switching methods | |
CN109976309B (en) | Dynamic reconfigurable universal ground measurement and control equipment and signal input and output control method thereof | |
CN110895874A (en) | Acquisition module of RS485 interface sensor and acquisition method thereof | |
CN105760241A (en) | Exporting method and system for memory data | |
CN112583683B (en) | Master-slave CAN FD bus application layer communication method and system and electronic equipment | |
CN105607583A (en) | Monitoring unit, monitoring device and first monitoring unit in power system | |
CN110427283A (en) | A kind of fuel management computer system of double redundancy | |
CN104750057B (en) | Sample processing pipeline control system | |
CN112882901A (en) | Intelligent health state monitor of distributed processing system | |
CN109484474A (en) | EPS control module and its control system and control method | |
CN101770211B (en) | Vehicle integrated data processing method capable of realizing real-time failure switching | |
CN113377701B (en) | Serial port control system based on complex programmable logic device CPLD and communication method thereof | |
CN115113611A (en) | Fault diagnosis method, system, equipment and medium | |
CN115242652A (en) | Network topology device of multi-cluster battery pack management system | |
CN112147928B (en) | Dual-CAN-bus multi-redundancy hot backup flight control computer system and method | |
CN208271171U (en) | A kind of server debugging apparatus and server | |
CN110114805B (en) | Fire protection control unit | |
RU90401U1 (en) | MICROPROCESSOR ROUTE MANAGEMENT SYSTEM AT SMALL STATIONS | |
CN111581006A (en) | Panel framework for display control system controller | |
CN218122608U (en) | Power supply device, server and control system of power supply device | |
CN111030862B (en) | Equipment off-line management system based on acquisition terminal | |
CN214591484U (en) | 1553B network health monitoring module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |