CN113918502B - Portable monitoring type data recorder - Google Patents

Portable monitoring type data recorder Download PDF

Info

Publication number
CN113918502B
CN113918502B CN202111094536.0A CN202111094536A CN113918502B CN 113918502 B CN113918502 B CN 113918502B CN 202111094536 A CN202111094536 A CN 202111094536A CN 113918502 B CN113918502 B CN 113918502B
Authority
CN
China
Prior art keywords
data
module
receiving
recorder
communication
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
Application number
CN202111094536.0A
Other languages
Chinese (zh)
Other versions
CN113918502A (en
Inventor
赵宇
王云鹏
刘旺旺
王晓磊
周益
张琳
李茂登
郝策
徐李佳
郭敏文
韩沛宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Control Engineering
Original Assignee
Beijing Institute of Control Engineering
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Control Engineering filed Critical Beijing Institute of Control Engineering
Priority to CN202111094536.0A priority Critical patent/CN113918502B/en
Publication of CN113918502A publication Critical patent/CN113918502A/en
Application granted granted Critical
Publication of CN113918502B publication Critical patent/CN113918502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C3/00Registering or indicating the condition or the working of machines or other apparatus, other than vehicles
    • G07C3/02Registering or indicating working or idle time only

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Recording Measured Values (AREA)

Abstract

A portable monitoring type data recorder adopts a double power supply mode, can directly supply 220V alternating current power, and can also directly supply power by using a battery; the double-way data memory card is adopted to carry out data synchronization main and standby recording, so that data acquisition is facilitated, and the display lamp is configured on the equipment simultaneously to detect the state of the memory card after insertion; the method can monitor and record at least 6 paths of independent serial data simultaneously and store the data as different files, wherein the acquisition period, byte length and the like of each serial data are different; a unified clock source is adopted to record the starting time and the communication frequency count of each serial port communication, so that the problem of synchronization among different source serial port data is solved; the communication state of each serial port can be judged, and the occurrence time of the communication fault is recorded; vibration isolation is adopted in the machine, so that the normal work of the machine is ensured under the machine-mounted vibration environment.

Description

Portable monitoring type data recorder
Technical Field
The invention relates to a portable monitoring type data recorder, and belongs to the technical field of satellite testing.
Background
The GNC subsystem of the planetary lander implements a minimum system hanging flight test in development, and the test parametric on-satellite products comprise an EDCU, an IMU, a phased array sensor, an obstacle avoidance sensor and the like; the on-orbit navigation correction algorithm, inertial navigation dynamic characteristics and the like of the cabin GNC are tested and the on-orbit working condition is checked in the test. In the helicopter hanging test process, in order to carry out inversion evaluation on the test process afterwards, a matched data storage device is needed, the sensor measurement data is recorded and stored, and meanwhile, the helicopter hanging test process is limited by the space and the environment in the helicopter, so that the data storage device is required to be light enough and can meet the mechanical environment of the vibration of the aircraft.
Disclosure of Invention
The invention aims to solve the technical problems that: the portable monitoring type data recorder overcomes the defects of the prior art, adopts a double power supply mode, can directly supply 220V alternating current power, and can also directly use a battery for power supply; the double-way data memory card is adopted to carry out data synchronization main and standby recording, so that data acquisition is facilitated, and the equipment is simultaneously provided with a display lamp to detect the usability of the MiniSD card after insertion; the method can monitor and record at least 6 paths of independent serial data at the same time, and the acquisition period, byte length and the like of each serial data are different and stored as different files; recording the starting time and the communication times of each serial port communication by adopting a unified clock source so as to solve the synchronization problem of different serial port data; the communication state of each serial port can be judged, and the occurrence time of the communication fault is recorded; vibration isolation is adopted in the machine, so that the normal work of the machine is ensured under the machine-mounted vibration environment. The recorder is less than 1kg, the volume is less than 200mm by 100m (length x width x height), and the portable recorder is convenient to carry.
The invention aims at realizing the following technical scheme:
a portable monitoring type data recorder comprises a data memory card, a power supply module, a system clock module and a data processing module;
the data memory card is used for storing data;
the power supply module is used for supplying power;
the system clock module is used for providing a time reference;
the data processing module comprises a file reading and writing module and a multichannel data receiving diagnosis module, wherein the file reading and writing module is used for reading the information received by the multichannel data receiving diagnosis module and writing data into the data storage card according to the format; the multichannel data receiving diagnosis module comprises a data receiving FIFO, a fault diagnosis and data packing sub-module; the data receiving FIFO is used for monitoring and receiving data transmitted on the serial port, the fault diagnosis sub-module judges whether communication faults occur, and the data packing sub-module packs the data to be written into the data storage card; the data written into the data memory card comprises data received by the data receiving FIFO and communication fault information given by the fault diagnosis submodule.
Preferably, the data memory card is a primary backup data memory card.
Preferably, the power module adopts a dual mode, comprising direct power supply of a 12V battery and 220V alternating current power supply, wherein the 220V alternating current power supply is converted into 12V direct current by matching with a power adapter.
Preferably, the system clock module provides a time reference with a stability of better than 10 -5 ppm, and the temperature is in the range of-50 ℃ to +55 ℃.
Preferably, the data processing module is implemented by adopting an FPGA, wherein the file read-write module adopts a main backup double channel and respectively corresponds to the main backup data memory card.
Preferably, the data receiving FIFO monitors and identifies the appointed frame head of the message transmitted on a certain serial port, and the frame head matching comprises baud rate matching, byte check bit matching and frame head content matching; if the frame head is matched correctly, receiving the specified length data after the frame head, and if the frame head is matched unsuccessfully, not receiving the subsequent message;
the fault diagnosis submodule monitors the data receiving process of the data receiving FIFO, and judges that communication faults occur if one of the following conditions occurs:
(1) The received byte length is less than the set length;
(2) The received message is of correct length, but the checksum is incorrect;
(3) The waiting time between bytes in the receiving exceeds the set time;
when judging that the communication fault occurs, the fault diagnosis submodule sends a designated byte code representing the communication fault to the data packaging submodule, and simultaneously clears the receiving FIFO; if no communication fault occurs, the fault diagnosis sub-module carries the information received in the data receiving FIFO into the data packing sub-module, and then clears the receiving FIFO;
after receiving the information sent by the fault diagnosis sub-module, the data packing sub-module reads the star time of the system clock module, packs the information into information with fixed byte length according to a set format, then writes the information into a data transmission area of a main backup, the data transmission area of the main backup corresponds to the main backup double channels of the file reading and writing module respectively, after the data transmission area is full, a data readable mark is erected, the file reading and writing module reads the data in the data transmission area after the data readable mark is erected, and then clears the data readable mark; the data transmission area adopts a ping-pong buffer design, so that the conflict of the operation of the data transmission area between the file read-write module and the data packing sub-module is avoided.
Preferably, the file read-write module fails to write the data memory card, or considers that the data memory card is damaged when the state check after the data memory card is abnormal after each time of file storage, and the file read-write module prompts that the fault occurs.
Preferably, the recorder further comprises a matched cable for external electric connection of the recorder.
Preferably, the data receiving FIFO is configured to monitor and receive data transmitted on a plurality of independent serial ports, and the collection period and byte length of each serial port data are different.
Compared with the prior art, the invention has the following beneficial effects:
(1) The invention adopts a monitoring type satellite-ground data recording mode, and does not influence the original test system;
(2) According to the invention, the starting time and the communication frequency count of each serial port communication are recorded by adopting a unified clock source, so that the synchronization effect among multiple paths of serial port data is achieved, and the correlation interpretation of different serial port data is very convenient;
(3) The invention adopts the modes of byte frame header judgment and length check sum judgment, solves the problems of filtering monitoring data and diagnosing communication faults, is beneficial to reducing the storage of unnecessary data and is convenient for the rapid processing of subsequent data;
(4) The invention adopts the design of double-way file reading and writing and data storage, realizes the hot backup of a reading and writing system, ensures the reliable storage of measured data and improves the reliability of the system;
(5) The invention designs a diagnosis method of the data memory card, which diagnoses the usability of the memory card in real time;
(6) The invention adopts the file blocking read-write technology, which is convenient for improving the file read-write efficiency.
Drawings
Fig. 1 is a diagram showing the constitution of a portable monitor type recorder.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The function and the block diagram of the portable monitoring type data recorder are shown in fig. 1. The system comprises a data memory card, a power supply module, a system clock module, a data processing module and a matched cable.
The data memory card is used for storing test data, and adopts a main backup design, and the memory card can directly adopt a MiniSD card on the market. Data is recorded simultaneously in the primary backup data storage card.
The power module adopts a dual-mode design, and can be directly powered by a 12V battery or be matched with a power adapter, and is converted into 12V direct current power by a 220V alternating current power supply.
The system clock module provides a time reference for the entire recorder, while providing the same time reference for the test data for each channel. To ensure long-term stability of the data recording, the clock stability of the time reference module is preferably better than 10 - 5 ppm, and the temperature is in the range of-50 ℃ to +55 ℃.
The data processing module is formed by the core of the recorder and is realized by an FPGA, and consists of a 6-channel independent data receiving FIFO sub-module, a fault diagnosis sub-module, a data packing sub-module and a double-channel file reading and writing sub-module.
The receiving FIFO sub-module monitors and identifies the frame header of the specific message transmitted on the serial port, and the frame header matching comprises baud rate matching, byte check bit matching and frame header content matching. If the frame head is matched correctly, the specific length data behind the frame head is received. If the frame header matching is unsuccessful, the receiving module does not receive the subsequent message. For example, there are multiple message types between the hanging flight test device and the hanging flight sensor i, the test device sends one message to the hanging flight sensor i every Ti seconds, and after the hanging flight sensor i receives the message type, different response messages are returned to the test device, and the response messages have different types of frame heads. The receiving FIFOi sub-module monitors the response message, and when the frame head of a specific type is identified, the data receiving is started; otherwise, the data is not received.
The fault diagnosis submodule monitors the process of receiving data by the receiving FIFO submodule, and when the following conditions occur, the communication fault is considered to occur:
(1) The received byte length is less than the prescribed length;
(2) The length of the received message meets the requirement, but the checksum of the message is incorrect;
(3) The inter-byte waiting time in the receiving exceeds the prescribed time;
at the moment, the communication fault is considered to occur, the fault diagnosis submodule generates and sends specific byte codes representing the communication fault to the data packaging submodule, and meanwhile, the receiving FIFO is cleared; if no communication failure occurs, the message received in the FIFO sub-module is sent to the data packing sub-module, and then the receiving FIFO is cleared.
After receiving the information sent by the fault diagnosis sub-module, the data packing sub-module immediately reads the star time of the system clock module, packs the information according to the formats of [ star time, information and stuffing bytes ], the information has a fixed byte length, then writes the information into the data transmission area of the main backup of the data packing sub-module, the data transmission area of the main backup corresponds to the file reading and writing sub-module with double channels, the data transmission area of the data packing sub-module needs to be large enough to store a plurality of information, after the data is full, the data readable mark is erected, and after the mark is inquired by the file reading and writing sub-module, the data is read, and then the data readable mark is cleared. The data transmitting area of the data packing submodule adopts a ping-pong buffer design, so that read-write conflict between the writing file read-write submodule and the data packing submodule when operating the same data area is avoided.
The file reading and writing submodule adopts a double-channel independent design, corresponds to two data memory cards respectively, continuously polls the data readable marks of each data packing submodule, reads the data if the data readable marks of a certain data packing submodule are found to be valid, and then clears the data readable marks of the channel. In order to improve the operation efficiency of the data memory card, the file read-write submodule opens up a large data storage area for storing received data first, and when the data is stored to a certain capacity, the data memory card is written in at one time. In addition, if the writing operation of the data storage card fails and the display state of the data storage card is abnormal in the state check after each file storage, the data storage card is considered to be damaged, and the file reading and writing submodule lights the corresponding indicator lamp to remind that the data storage card has faults to be processed.
The matched cable is used for connecting the recorder into the test system.
The recorder is successfully applied to a helicopter flying test of a GNC subsystem of a certain lander. The test process is continued for more than ten flying frames, the recorder smoothly records the test data of the plurality of sensors in the test process in each test, the work is good, the data is not lost, and the purpose is achieved.
What is not described in detail in the present specification is a well known technology to those skilled in the art.
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 (8)

1. The portable monitoring type data recorder is characterized by comprising a data storage card, a power supply module, a system clock module and a data processing module;
the data memory card is used for storing data;
the power supply module is used for supplying power;
the system clock module is used for providing a time reference;
the data processing module comprises a file reading and writing module and a multichannel data receiving diagnosis module, wherein the file reading and writing module is used for reading the information received by the multichannel data receiving diagnosis module and writing data into the data storage card according to the format; the multichannel data receiving diagnosis module comprises a data receiving FIFO, a fault diagnosis and data packing sub-module; the data receiving FIFO is used for monitoring and receiving data transmitted on the serial port, the fault diagnosis sub-module judges whether communication faults occur, and the data packing sub-module packs the data to be written into the data storage card; the data written into the data storage card comprises data received by the data receiving FIFO and communication fault information given by the fault diagnosis submodule, and the specific steps are as follows:
the data receiving FIFO monitors and identifies the appointed frame head of the message transmitted on a certain serial port, and the frame head matching comprises baud rate matching, byte check bit matching and frame head content matching; if the frame head is matched correctly, receiving the specified length data after the frame head, and if the frame head is matched unsuccessfully, not receiving the subsequent message;
the fault diagnosis submodule monitors the data receiving process of the data receiving FIFO, and judges that communication faults occur if one of the following conditions occurs:
(1) The received byte length is less than the set length;
(2) The received message is of correct length, but the checksum is incorrect;
(3) The waiting time between bytes in the receiving exceeds the set time;
when judging that the communication fault occurs, the fault diagnosis submodule sends a designated byte code representing the communication fault to the data packaging submodule, and simultaneously clears the receiving FIFO; if no communication fault occurs, the fault diagnosis sub-module carries the information received in the data receiving FIFO into the data packing sub-module, and then clears the receiving FIFO;
after receiving the information sent by the fault diagnosis sub-module, the data packing sub-module reads the star time of the system clock module, packs the information into information with fixed byte length according to a set format, then writes the information into a data transmission area of a main backup, the data transmission area of the main backup corresponds to the main backup double channels of the file reading and writing module respectively, after the data transmission area is full, a data readable mark is erected, the file reading and writing module reads the data in the data transmission area after the data readable mark is erected, and then clears the data readable mark; the data transmission area adopts a ping-pong buffer design, so that the conflict of the operation of the data transmission area between the file read-write module and the data packing sub-module is avoided.
2. The recorder of claim 1, wherein the data storage card is a primary backup data storage card.
3. The recorder of claim 1, wherein the power module is in dual mode, comprising a 12V battery direct power and a 220V ac power, wherein the 220V ac power is converted to 12V dc with a power adapter.
4. The recorder of claim 1, wherein the system clock module provides a time reference with a stability of better than 10 -5 ppm, and the temperature is in the range of-50 ℃ to +55 ℃.
5. The recorder of claim 2, wherein the data processing module is implemented by an FPGA, and wherein the file read-write module uses a primary backup dual channel, corresponding to the primary backup data memory card, respectively.
6. The recorder according to claim 1, wherein: the file read-write module fails to write the data memory card, or when the state inspection after the data memory card is abnormal after each time of file storage, the data memory card is considered to be damaged, and the file read-write module prompts that the fault occurs.
7. The recorder according to claim 1, wherein: the system also comprises a matched cable which is used for externally and electrically connecting the recorder.
8. The recorder according to claim 1, wherein: the data receiving FIFO is used for monitoring and receiving data transmitted on a plurality of independent serial ports, and the acquisition period and byte length of each serial port data are different.
CN202111094536.0A 2021-09-17 2021-09-17 Portable monitoring type data recorder Active CN113918502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111094536.0A CN113918502B (en) 2021-09-17 2021-09-17 Portable monitoring type data recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111094536.0A CN113918502B (en) 2021-09-17 2021-09-17 Portable monitoring type data recorder

Publications (2)

Publication Number Publication Date
CN113918502A CN113918502A (en) 2022-01-11
CN113918502B true CN113918502B (en) 2024-03-15

Family

ID=79235377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111094536.0A Active CN113918502B (en) 2021-09-17 2021-09-17 Portable monitoring type data recorder

Country Status (1)

Country Link
CN (1) CN113918502B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079075A (en) * 2007-05-24 2007-11-28 北京交通大学 Portable serial number recorder and implementation method
CN102857374A (en) * 2012-08-28 2013-01-02 北京世纪东方国铁科技股份有限公司 Monitoring recording system for station
CN104392508A (en) * 2014-11-07 2015-03-04 珠海格力电器股份有限公司 Household appliance running state information recorder, control method thereof and air conditioner
CN104809075A (en) * 2015-04-20 2015-07-29 电子科技大学 Solid recording device and method for accessing in real time and parallel processing
CN107545611A (en) * 2017-08-11 2018-01-05 南京清博信息科技有限公司 A kind of management system for running safety

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079075A (en) * 2007-05-24 2007-11-28 北京交通大学 Portable serial number recorder and implementation method
CN102857374A (en) * 2012-08-28 2013-01-02 北京世纪东方国铁科技股份有限公司 Monitoring recording system for station
CN104392508A (en) * 2014-11-07 2015-03-04 珠海格力电器股份有限公司 Household appliance running state information recorder, control method thereof and air conditioner
CN104809075A (en) * 2015-04-20 2015-07-29 电子科技大学 Solid recording device and method for accessing in real time and parallel processing
CN107545611A (en) * 2017-08-11 2018-01-05 南京清博信息科技有限公司 A kind of management system for running safety

Also Published As

Publication number Publication date
CN113918502A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN108922641B (en) Periodic test device and method for high-temperature reactor nuclear power station protection system
CN105197068B (en) A kind of two-shipper Safety Redundancy type LKJ host computer systems and method
CN113918502B (en) Portable monitoring type data recorder
CN110780189B (en) SDIO interface test equipment and method based on FPGA
CN105134296B (en) Digital mine safety monitoring system
CN112249088A (en) Method for mutual diagnosis and data synchronization of double-display system, double-display system and train
CN215991008U (en) Airborne confrontation training information acquisition and evaluation system
CN112395147B (en) Debugging device on SOC
CN1371832A (en) Co-platform modularized multi-function locomotive safety information comprehensive monitor system
CN114741248A (en) Spaceborne computer detection system
CN114780317A (en) Hard disk plug-in and pull-out test method, system and related components
CN107423185A (en) A kind of method of testing and device of disk array and compatible mainframe adaptation
CN114143228B (en) Mirror image overhaul platform backboard bus self-diagnosis device and method
CN102222371B (en) Business technology management (BTM) dedicated recorder and data recording and storing method
CN218102707U (en) I2C bus communication-based aviation lithium battery pack capacity storage system
CN109065097A (en) A kind of device for testing mobile hard disk, system and method
CN217521257U (en) Excitation carbon brush flow equalizing monitoring system
CN116634209B (en) Breakpoint video recovery system and method based on hot plug
CN111767191B (en) Integrated system with temperature detection function for big data
CN219608396U (en) Detection equipment for endurance test state of robot
CN212724050U (en) Factory indoor equipment spot inspection system
CN110662121B (en) Decoding device based on IRIG-106 standard
JP2501888B2 (en) Failure monitoring device
CN118450014A (en) Onboard equipment network card and onboard equipment communication system
CN117336217A (en) Test method, device and system

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