CN113918502A - Portable monitoring type data recorder - Google Patents

Portable monitoring type data recorder Download PDF

Info

Publication number
CN113918502A
CN113918502A CN202111094536.0A CN202111094536A CN113918502A CN 113918502 A CN113918502 A CN 113918502A CN 202111094536 A CN202111094536 A CN 202111094536A CN 113918502 A CN113918502 A CN 113918502A
Authority
CN
China
Prior art keywords
data
module
receiving
storage card
submodule
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.)
Granted
Application number
CN202111094536.0A
Other languages
Chinese (zh)
Other versions
CN113918502B (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

Images

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 data recorder adopts a double power supply mode, can be directly supplied with 220V alternating current, and can also be directly supplied with power by a battery; the device is provided with a display lamp to detect the state of the memory card after insertion; the method can monitor and record not less than 6 paths of independent serial port data simultaneously and store the data as different files, and the data acquisition period, the byte length and the like of each serial port are different; the unified clock source is adopted to record the starting time of each serial port communication and the counting of the communication times, 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 communication fault occurrence time is recorded; the interior adopts the vibration isolation, has guaranteed that the product normally works under the airborne 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 planet lander implements a minimum system hanging test in development, and products on the planet are referred to in the test, such as an EDCU, an IMU, a phased array sensor, an obstacle avoidance sensor and the like; the test tests the on-orbit navigation correction algorithm, the inertial navigation dynamic characteristic and the like of the cabin GNC and the on-orbit-like working condition examination. In the helicopter hanging flight test process, in order to perform inversion evaluation on the test process afterwards, a data storage device is matched to record and store the measured data of the sensor, and the data storage device is limited by the space and the environment in the helicopter and is required to be light and light enough to meet the mechanical environment of the vibration of the helicopter.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the portable monitoring data recorder adopts a double power supply mode, can be directly supplied with 220V alternating current, and can also be directly supplied with power by using a battery; the device is provided with a display lamp at the same time, and the usability of the MiniSD card after being inserted is detected; the method can monitor and record not less than 6 paths of independent serial port data simultaneously, the data acquisition period, the byte length and the like of each serial port are different, and the data are stored as different files; a unified clock source is adopted to record the initial time of each serial port communication and the counting of the communication times so as to solve the synchronization problem of different serial port data; the communication state of each serial port can be judged, and the communication fault occurrence time is recorded; the interior adopts the vibration isolation, has guaranteed that the product normally works under the airborne vibration environment. The recorder is less than 1kg, and the volume is less than 200mm 100m (length × width × height), so that the portable recorder is convenient to carry.
The purpose of the invention is realized by the following technical scheme:
a portable monitoring data recorder comprises a data storage card, a power supply module, a system clock module and a data processing module;
the data storage 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 multi-channel data receiving and diagnosing module, wherein the file reading and writing module is used for reading the information received by the multi-channel data receiving and diagnosing module and writing data into the data storage card according to the format; the multi-channel data receiving and diagnosing module comprises a data receiving FIFO and a fault diagnosis and data packaging submodule; the data receiving FIFO is used for monitoring and receiving data transmitted on the serial port, the fault diagnosis submodule judges whether a communication fault occurs, and the data packing submodule packs 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.
Preferably, the data storage card is a master backup data storage card.
Preferably, the power module is in a dual mode and comprises a 12V battery direct power supply and a 220V alternating current power supply, wherein the 220V alternating current power supply is matched with the power adapter to convert into 12V direct current.
Preferably, the stability of the time reference provided by the system clock module is better than 10-5ppm, temperature application range-50 deg.C- +55 deg.C.
Preferably, the data processing module is implemented by using an FPGA, wherein the file reading and writing module uses a main backup dual channel and a backup dual channel, and the main backup dual channel and the backup dual channel respectively correspond to the main backup data storage card and the backup data storage card.
Preferably, the data receiving FIFO monitors and identifies a specified frame header of a message transmitted on a certain path of serial port, and frame header matching includes baud rate matching, byte check bit matching, and frame header content matching; if the frame header matching is correct, receiving data with specified length behind the frame header, and if the frame header matching is unsuccessful, not receiving subsequent messages;
the fault diagnosis submodule monitors the data receiving process of the data receiving FIFO and judges that a communication fault occurs when one of the following conditions occurs:
(1) receiving bytes with length less than the set length;
(2) the received message is correct in length, but the checksum is incorrect;
(3) receiving that the waiting time between middle bytes exceeds the set time;
when the communication fault is judged to occur, the fault diagnosis submodule sends a specified 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 submodule carries the message received in the data receiving FIFO into the data packaging submodule, and then the receiving FIFO is cleared;
after receiving the message sent by the fault diagnosis submodule, the data packing submodule reads the star time of the system clock module, packs the star time into a message with fixed byte length according to a set format, then writes the message into the data sending area of the main backup at the same time, the data sending area of the main backup respectively corresponds to the main backup double channels of the file read-write module, after the data sending area is full of memory, the data readable mark is established, and after the file read-write module sees that the data readable mark is established, the data in the data sending area is read away, and then the data readable mark is cleared; the data sending area adopts ping-pong buffer design, so as to avoid the conflict between the file reading and writing module and the data packaging sub-module to the operation of the data sending area.
Preferably, when the write operation of the file read-write module on the data storage card fails, or the post-state check on the data storage card is abnormal after each file storage, the data storage card is considered to be damaged, and the file read-write module prompts that a fault occurs.
Preferably, the recording instrument further comprises a matching cable for external electrical connection of the recording instrument.
Preferably, 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.
Compared with the prior art, the invention has the following beneficial effects:
(1) the invention adopts a monitoring type satellite-ground data recording mode, which does not affect the original test system;
(2) the invention adopts the unified clock source to record the starting time of each serial port communication and the counting of the communication times, thereby playing the synchronization role among the multi-path serial port data and being very convenient for the correlation interpretation of the serial port data of different sources;
(3) the invention adopts the way of judging the byte frame header and checking and judging the length, solves the problems of filtering the monitored data and diagnosing the communication fault, is beneficial to reducing the storage of unnecessary data and is convenient for quickly processing the subsequent data;
(4) the invention adopts a double-path file read-write and data storage design, realizes the hot backup of a read-write system, ensures the reliable storage of the measured data and improves the reliability of the system;
(5) the invention designs a diagnosis method of the data storage card, and the usability of the data storage card is diagnosed in real time;
(6) the invention adopts the file block read-write technology, which is convenient for improving the file read-write efficiency.
Drawings
Fig. 1 is a block diagram of a portable monitoring recorder.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The function and the composition block diagram of the portable monitoring data recorder are shown in figure 1. The system comprises a data storage card, a power supply module, a system clock module, a data processing module and a matched cable.
The data storage card is used for storing test data, and adopts a main backup design, and the storage card can directly adopt a MiniSD card on the market. The data is recorded in the main and backup data storage cards simultaneously.
The power module adopts a dual-mode design, namely a 12V battery can be used for directly supplying power, and a 220V alternating current power supply can be converted into a 12V direct current power supply by matching with a power adapter.
The system clock module provides a time reference for the whole recorder and is used for providing the same time reference for the test data of each channel. In order to ensure long-term stability of data recording, the clock stability of the time reference module is preferably better than 10- 5ppm, temperature application range-50 deg.C- +55 deg.C.
The data processing module is composed of a data receiving FIFO submodule, a fault diagnosis submodule and a data packaging submodule which are 6 channels independent, and a file reading and writing submodule which is two channels.
The receiving FIFO sub-module monitors and identifies the frame head of the specific message transmitted on the serial port, and the frame head matching comprises baud rate matching, byte check bit matching and frame head content matching. And if the frame header is correctly matched, receiving the data with the specific length behind the frame header. And if the frame header matching is unsuccessful, the receiving module does not receive the subsequent message. For example, multiple message types exist between the hang-off test equipment and the hang-off sensor i, the test equipment sends a certain message to the hang-off sensor i every Ti second, after the hang-off sensor i receives the message, different response messages are returned to the test equipment according to the message types, and the response messages have different types of frame headers. Receiving a response message monitored by the FIFOi sub-module, and starting to receive data when a frame header of a specific type is identified; otherwise, no data reception is performed.
The fault diagnosis submodule monitors the process of receiving data by the receiving FIFO submodule, and considers that communication faults occur when the following conditions occur:
(1) receiving bytes of length less than a specified length;
(2) the length of the received message meets the requirement, but the checksum of the message is incorrect;
(3) the waiting time between bytes in the receiving exceeds the specified time;
at the moment, the communication fault is considered to occur, the fault diagnosis submodule generates and sends a specific byte code representing the communication fault to the data packaging submodule, and meanwhile, the FIFO is cleared; if no communication fault occurs, the message received in the FIFO submodule is sent to the data packing submodule, and then the FIFO is cleared and received.
After receiving the message sent by the fault diagnosis submodule, the data packing submodule reads the star time of the system clock module immediately, packs the message according to the format of [ star time, message and filling byte ], the message has fixed byte length, then writes the message into the data sending area of the main backup of the data packing submodule at the same time, the data sending area of the main backup corresponds to the double-channel file read-write submodule, the data sending area of the data packing submodule needs to be large enough to store a plurality of messages, after the data is fully stored, a data readable mark is established, the file read-write submodule inquires the mark, reads the data away, and then clears the data readable mark. The data sending area of the data packing submodule adopts ping-pong cache design, so that read-write conflict between the write file read-write submodule and the data packing submodule when the same data area is operated is avoided.
The file reading and writing sub-modules adopt a dual-channel independent design and respectively correspond to the two data storage cards, the file reading and writing sub-modules continuously poll the data readable marks of the data packaging sub-modules, if the data readable marks of a certain data packaging sub-module are inquired to be effective, the data are read away, and then the data readable marks of the channel are cleared. In order to improve the operating efficiency of the data storage card, the file read-write submodule opens up a large data storage area to store the received data first, and when the received data is stored to a certain capacity, the data storage card is written in one time. In addition, if the write operation on the data storage card fails and the display state is abnormal in the state check of the data storage card after each file storage, the storage card is considered to be damaged, and the file read-write submodule lights the corresponding indicator lamp to remind that the storage card has a fault and needs to be processed.
The matching cable is used for connecting the recorder to the test system.
The recorder is successfully applied to a helicopter hanging flight test of a GNC subsystem of a certain lander. The test process lasts more than ten flying frames, the recorder smoothly records the test data of the sensors in the test process in each test, the work is good, the data are not lost, and the purpose is achieved.
Those skilled in the art will appreciate that those matters not described in detail in the present specification are well known in the art.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to limit the present invention, and those skilled in the art can make variations and modifications of the present invention without departing from the spirit and scope of the present invention by using the methods and technical contents disclosed above.

Claims (9)

1. A portable monitoring 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 storage 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 multi-channel data receiving and diagnosing module, wherein the file reading and writing module is used for reading the information received by the multi-channel data receiving and diagnosing module and writing data into the data storage card according to the format; the multi-channel data receiving and diagnosing module comprises a data receiving FIFO and a fault diagnosis and data packaging submodule; the data receiving FIFO is used for monitoring and receiving data transmitted on the serial port, the fault diagnosis submodule judges whether a communication fault occurs, and the data packing submodule packs 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.
2. The recorder according to claim 1, wherein the data storage card is a master backup data storage card.
3. The recorder of claim 1, wherein the power module is dual mode, comprising a 12V battery direct power supply and a 220V ac power supply, wherein the 220V ac power supply is converted to 12V dc power in conjunction with a power adapter.
4. The recorder according to claim 1, wherein the time reference provided by the system clock module is more stable than 10-5ppm, temperature application range-50 deg.C- +55 deg.C.
5. The recorder according to claim 2, wherein the data processing module is implemented by an FPGA, and the file read/write module uses a main backup dual channel corresponding to the main backup data storage card.
6. The recorder according to claim 1, wherein:
the data receiving FIFO monitors and identifies a specified frame header of a message transmitted on a certain path of serial port, and frame header matching comprises baud rate matching, byte check bit matching and frame header content matching; if the frame header matching is correct, receiving data with specified length behind the frame header, and if the frame header matching is unsuccessful, not receiving subsequent messages;
the fault diagnosis submodule monitors the data receiving process of the data receiving FIFO and judges that a communication fault occurs when one of the following conditions occurs:
(1) receiving bytes with length less than the set length;
(2) the received message is correct in length, but the checksum is incorrect;
(3) receiving that the waiting time between middle bytes exceeds the set time;
when the communication fault is judged to occur, the fault diagnosis submodule sends a specified 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 submodule carries the message received in the data receiving FIFO into the data packaging submodule, and then the receiving FIFO is cleared;
after receiving the message sent by the fault diagnosis submodule, the data packing submodule reads the star time of the system clock module, packs the star time into a message with fixed byte length according to a set format, then writes the message into the data sending area of the main backup at the same time, the data sending area of the main backup respectively corresponds to the main backup double channels of the file read-write module, after the data sending area is full of memory, the data readable mark is established, and after the file read-write module sees that the data readable mark is established, the data in the data sending area is read away, and then the data readable mark is cleared; the data sending area adopts ping-pong buffer design, so as to avoid the conflict between the file reading and writing module and the data packaging sub-module to the operation of the data sending area.
7. The recorder according to claim 1, wherein: when the writing operation of the file reading and writing module on the data storage card fails or the post-state check of the data storage card is abnormal after the file is stored every time, the data storage card is considered to be damaged, and the file reading and writing module prompts that a fault occurs.
8. The recorder according to claim 1, wherein: the recording instrument also comprises a matching cable for external electric connection of the recording instrument.
9. 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 the 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 true CN113918502A (en) 2022-01-11
CN113918502B 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
CN113918502B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN101916087B (en) Diagnostic testing system based on CANoe
CN105025058A (en) Vehicle remote diagnosis method, vehicle remote monitoring method and vehicle-mounted terminal
CN110798480B (en) Data communication method and system between safety instrument systems
CN103675526B (en) Prudential sub-station test system
US8356215B2 (en) Testing apparatus and method for analyzing a memory module operating within an application system
CN114048520B (en) Detection system for cross-chip access control
CN106933740A (en) A kind of star sensor software on-line fault monitoring system and its monitoring method
CN113918502A (en) Portable monitoring type data recorder
CN104780123B (en) A kind of network pack receiving and transmitting processing unit and its design method
CN112249088B (en) Method for mutual diagnosis and data synchronization of double-display system, double-display system and train
CN108594632B (en) Satellite time service scene recording device and method based on satellite time service module
CN215991008U (en) Airborne confrontation training information acquisition and evaluation system
CN206020574U (en) A kind of automobile power cell Beam Detector
CN107423185A (en) A kind of method of testing and device of disk array and compatible mainframe adaptation
CN111541697B (en) On-line communication method based on protocol configuration
CN110428516B (en) GJB289A bus data recording and processing method
CN112395147A (en) Debugging device on SOC
US20070018668A1 (en) Testing system and testing method for a link control card
CN114143228B (en) Mirror image overhaul platform backboard bus self-diagnosis device and method
CN102835127B (en) The sending, receiving method of OTN expense and device
CN107066359B (en) High-speed serial digital flight test interface simulation equipment and method for receiving high-speed serial digital flight test data
CN213122129U (en) Synchronization device for multi-measuring-point different wave recording equipment
CN115878441B (en) High-availability computing service method, system and equipment based on consistency cache
CN116820867B (en) Chip debugging method and device and chip
CN114268562B (en) Transmission link detection device, system and method for chip relay protection

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