CN117549938A - Intelligent diagnosis analysis system for recording lamp position state information of train control vehicle-mounted equipment - Google Patents
Intelligent diagnosis analysis system for recording lamp position state information of train control vehicle-mounted equipment Download PDFInfo
- Publication number
- CN117549938A CN117549938A CN202311713439.4A CN202311713439A CN117549938A CN 117549938 A CN117549938 A CN 117549938A CN 202311713439 A CN202311713439 A CN 202311713439A CN 117549938 A CN117549938 A CN 117549938A
- Authority
- CN
- China
- Prior art keywords
- equipment
- vehicle
- lamp position
- information
- data
- 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.)
- Pending
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 16
- 238000003745 diagnosis Methods 0.000 title claims abstract description 15
- 230000002159 abnormal effect Effects 0.000 claims abstract description 24
- 238000000034 method Methods 0.000 claims abstract description 24
- 230000005856 abnormality Effects 0.000 claims abstract description 12
- 230000008569 process Effects 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims description 46
- 230000005540 biological transmission Effects 0.000 claims description 25
- 230000006870 function Effects 0.000 claims description 17
- 238000007906 compression Methods 0.000 claims description 13
- 230000006835 compression Effects 0.000 claims description 13
- 238000013500 data storage Methods 0.000 claims description 13
- 230000003993 interaction Effects 0.000 claims description 10
- 230000003628 erosive effect Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 6
- 239000003086 colorant Substances 0.000 claims description 5
- 230000007175 bidirectional communication Effects 0.000 claims description 4
- 238000005265 energy consumption Methods 0.000 claims description 4
- 238000000605 extraction Methods 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 claims description 4
- 239000013078 crystal Substances 0.000 claims description 3
- 239000004973 liquid crystal related substance Substances 0.000 claims description 3
- 238000003672 processing method Methods 0.000 claims description 3
- 230000011218 segmentation Effects 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 abstract description 2
- 230000006854 communication Effects 0.000 description 18
- 238000004891 communication Methods 0.000 description 18
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000010339 dilation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000001056 green pigment Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000000049 pigment Substances 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000001054 red pigment Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 239000001052 yellow pigment Substances 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B61—RAILWAYS
- B61L—GUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
- B61L15/00—Indicators provided on the vehicle or train for signalling purposes
- B61L15/0081—On-board diagnosis or maintenance
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B61—RAILWAYS
- B61L—GUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
- B61L27/00—Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
- B61L27/40—Handling position reports or trackside vehicle data
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B61—RAILWAYS
- B61L—GUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
- B61L27/00—Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
- B61L27/70—Details of trackside communication
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
An intelligent diagnosis and analysis system for recording lamp position state information of train control vehicle-mounted equipment comprises vehicle-mounted recording equipment and a ground terminal system. The vehicle-mounted recording equipment collects lamp position state information of the train-control vehicle-mounted equipment and temperature and humidity information in the cabinet, compresses and stores the lamp position state information and the temperature and humidity information, and sends the information back to the ground terminal system; and the ground terminal system receives and processes the information sent back by the vehicle-mounted recording equipment, identifies the display state of the lamp position of the equipment, analyzes the display state, and intercepts video data at the abnormal moment to alarm after the abnormality is found. According to the intelligent diagnosis analysis system for recording the lamp position state information of the train control vehicle-mounted equipment, the working state information and the working environment of the train control vehicle-mounted equipment are monitored in real time, the lamp position state information is recorded in real time, and abnormal alarms are given, so that convenience is provided for rapid and accurate positioning of equipment faults and maintenance of the equipment.
Description
Technical Field
The invention relates to the field of rail transit, in particular to an intelligent diagnosis and analysis system for recording lamp position state information of train control vehicle-mounted equipment.
Background
The railway is used as a core force for promoting the national economic development and is an infrastructure for the national travel of China. Along with the continuous increase of the business mileage of China railway, the operation requirements of the high-speed railway vehicle-mounted equipment are also continuously increased, and higher requirements are put forward for the real-time monitoring of the train-control vehicle-mounted equipment.
At present, a Dynamic Monitoring System (DMS) of a train control device is a monitoring system of a train control vehicle-mounted device which is mainly used, but the system still cannot be accurately positioned when the device is abnormal, particularly when hardware devices are in fault, so that emergency decision making and quick response of emergency measures are affected. Therefore, when the equipment is abnormal, the abnormal condition of the equipment is still required to be checked, such as the lamp position of the equipment, train operation data and the like, and the lamp position of the equipment is checked, a mechanic is required to be contacted to manually open the cabinet to shoot back for checking, so that the working state information of the equipment cannot be mastered in time, the change condition of the lamp position at the abnormal moment of the equipment cannot be obtained, and the equipment abnormality cannot be rapidly and accurately positioned.
Therefore, how to provide a method for quickly, accurately, simply and conveniently confirming the operating state of the train control vehicle-mounted hardware device, which can monitor the operating state of the train control vehicle-mounted hardware device in real time and transmit the operating state to a ground terminal system on the premise of not changing the existing train control vehicle-mounted device, meets the requirements of electric staff for quickly and accurately positioning fault information and knowing the operating state of the device in real time, and becomes a technical problem to be solved urgently by the technical staff in the field.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a vehicle-mounted recording device, a ground terminal system, an intelligent diagnosis and analysis system and a method for recording lamp position state information of train-control vehicle-mounted equipment by using the device and the system, and particularly adopts the following technical scheme:
a vehicle-mounted recording apparatus characterized by:
the lamp position acquisition module is used for: the method comprises the steps that a miniature high-definition camera is adopted and is used for shooting and recording lamp position state video data of each unit of train control vehicle-mounted equipment;
and the environment monitoring module is used for: collecting temperature and humidity environment information in a cabinet;
and (3) a clock module: a crystal oscillator circuit is adopted and is used for providing equipment time for the vehicle-mounted recording equipment and regularly synchronizing the current standard time from a ground terminal system;
and a data storage module: the system is used as an on-board backup of a ground terminal system and is used for recording and storing the display state of the lamp position of the train control vehicle-mounted equipment, and a memory card is used for supporting the export and backup of data;
the vehicle-mounted data processing module: the system comprises a data storage module, a digital compression module and a digital compression module, wherein the digital compression module is used for carrying out digital compression processing on shot lamp position state video data and sending the processed lamp position state video data to the data storage module;
and a wireless transmission module: transmitting the lamp position state video data digitally compressed by the vehicle-mounted data processing module to a ground terminal system in real time; receiving time information sent by a ground terminal system in real time, and calibrating time by a clock module;
and a display module: a low-energy-consumption small liquid crystal display screen is adopted, and the display screen is in a sleep state at ordinary times, and is manually awakened when being needed to be checked, so that the display screen is used for displaying current environment and time information on a vehicle side;
and a power supply module: and providing stable direct current power supply for each module.
A ground terminal system, characterized by:
and an information transmission module: the system is used for bi-directional communication with a wireless transmission module in the vehicle-mounted recording equipment, adopts a one-to-many structure, simultaneously receives data sent by a plurality of vehicle-mounted side vehicle-mounted recording equipment, and periodically sends time information and data request instructions to each vehicle-mounted side vehicle-mounted recording equipment;
a data storage system: the system is used for storing data recorded by the vehicle-mounted recording equipment of each motor train unit;
human-computer interaction interface system: the system is used for rapidly inquiring video information of abnormal moment of the lamp position of the equipment, providing abnormal alarm prompt and inquiring the state of the lamp position and the information of the working environment of the equipment at any time period;
and an audible and visual alarm system: the lamp position of the equipment of the person on duty is prompted to be abnormal by the combination of sound and light, and the equipment can be manually turned off;
ground data processing system: the device lamp position state information video processing method is used for processing the device lamp position state information video sent by the vehicle-mounted side vehicle-mounted recording device.
And a power supply module: for supplying a stable direct current or alternating current power to each unit module.
The invention discloses an intelligent diagnosis and analysis system for recording lamp position state information of train control vehicle-mounted equipment, which comprises the vehicle-mounted recording equipment and the ground terminal system, and is characterized in that:
the vehicle-mounted recording equipment collects lamp position state information of the train-control vehicle-mounted equipment and temperature and humidity information in the cabinet, compresses and stores the lamp position state information and the temperature and humidity information, and sends the information back to the ground terminal system;
and the ground terminal system receives and processes the information sent back by the vehicle-mounted recording equipment, identifies the display state of the lamp position of the equipment, analyzes the display state, and intercepts video data at the abnormal moment to alarm after the abnormality is found.
The invention also discloses an intelligent diagnosis and analysis method for recording the lamp position state information of the train control vehicle-mounted equipment, which is based on the system and is characterized in that:
s1, acquiring lamp position state information of train control vehicle-mounted equipment through one or more sets of vehicle-mounted recording equipment, performing digital compression processing, and transmitting image data to a ground terminal system through a wireless transmission module;
s2, the ground terminal system receives and processes related data transmitted back by the vehicle-mounted recording equipment of the multiple trains of motor train units simultaneously, and periodically transmits time information and data request instructions to the vehicle-mounted recording equipment on each vehicle side;
s3, the ground terminal system converts, disassembles and identifies the image data through a ground data processing system, compares the image data with the state of the lamp position of the equipment which is input into a system information base in advance, intercepts video at an abnormal moment after abnormality is found, and outputs the video to a human-computer interaction interface.
Advantageous effects
By adding the intelligent diagnosis analysis system for recording the lamp position state information of the train control vehicle-mounted equipment, the working state information and the working environment of the train control vehicle-mounted equipment are monitored in real time, the lamp position state information is recorded in real time and an abnormal alarm is carried out, and convenience is provided for rapid and accurate positioning of equipment faults and maintenance of the equipment.
Drawings
Fig. 1 is a schematic diagram of a vehicle-mounted recording apparatus according to the present invention.
Fig. 2 is a schematic structural diagram of a ground terminal system according to the present invention.
Fig. 3 is a schematic diagram of an image processing algorithm based on Open CV according to the invention.
Detailed Description
Example 1
Referring to fig. 1, an in-vehicle recording apparatus includes:
the lamp position acquisition module is used for: the device lamp position state shooting and recording module is used for shooting and recording lamp position state display information of each unit of the train control vehicle-mounted device, and an independent power supply or a vehicle-mounted device can be selected to synchronously start and stop the power supply. And a miniature high-definition camera is adopted to accurately record the state of the lamp position of the equipment in a narrow space.
And the environment monitoring module is used for: the temperature and humidity acquisition module is used for acquiring environmental information such as temperature and humidity in the cabinet by adopting a high-precision temperature and humidity sensor, so that the working environment of the train control vehicle-mounted equipment can be conveniently understood and improved.
And (3) a clock module: the real-time module adopts the design scheme of a crystal oscillator circuit and is used for providing accurate equipment time for the vehicle-mounted recording equipment and synchronizing the current standard time from the ground terminal system at regular intervals.
And a data storage module: the storage unit is used as an on-vehicle backup of the ground terminal storage system and used for recording and storing the display state of the lamp position of the train control vehicle-mounted equipment, the built-in storage card supports the export and backup of data so as to ensure the safety and the integrity of the data.
And a power supply module: and providing stable direct current power supply for each module.
And an information transmission module: the communication module is in bidirectional communication with the ground terminal system, and transmits data to the ground terminal system through the processes of data encapsulation, modulation and the like by using the 4G transmission module, so as to be used for sending the equipment lamp image data to the ground terminal system in real time. The scheme is designed to use the EC20 communication chip which supports 4G LTE, 3G WCDMA and 2G GSM/GPRS/EDGE networks and has the characteristics of high-speed data transmission, low power consumption, high reliability and the like. The EC20 communication chip realizes a remote data transmission function through the SIM card, supports a downlink rate of up to 150Mbps and an uplink rate of 50Mbps, supports various interfaces and protocols, and can easily meet the transmission of the image data of the device lamp. In addition, the EC20 communication chip also has various security mechanisms, such as SSL/TLS, IPsec, VPN and the like, and can effectively ensure the secure transmission of data.
The EC20 communication chip is connected with a Universal Asynchronous Receiver Transmitter (UART) on the main control chip to receive and transmit data; the universal connection asynchronous transceiver is used for serial communication; when data is transmitted, the CPU writes parallel data into the UART, and the UART serially transmits the parallel data on one line according to a specific format; when receiving the instruction, the UART detects the electric signal of the other wire, collects the instruction and places the instruction in the buffer area, and the on-vehicle data processing module reads the buffer area to obtain the instruction.
And a display module: the display module of the vehicle-mounted recording equipment adopts the design of a low-energy-consumption small-sized liquid crystal display screen, so that the display screen does not work at ordinary times for further reducing energy consumption, is manually lightened when viewing is needed, and is used for displaying the information such as the current environment, time and the like on the vehicle-mounted side.
The vehicle-mounted data processing module: the main control unit of the vehicle-mounted recording device is used for carrying out digital compression processing on recorded lamp bit state image data, sending the processed image data to the data recording module for storage, and sending the processed image data through the information transmission module according to a data request instruction of the ground terminal system.
Based on the above modules, the following method is performed: the modules of the vehicle-mounted recording equipment are communicated with each other through a communication bus; the vehicle-mounted recording equipment receives a data request instruction sent by a ground terminal system and checks the data request instruction; if the verification is successful, a confirmation message is fed back to the ground terminal system, communication connection is established, and the ground terminal system receives the vehicle-mounted data; and after the ground terminal system establishes communication connection with the vehicle-mounted recording equipment each time, standard time is sent to the vehicle-mounted recording equipment for timing of the vehicle-mounted recording equipment.
In order to facilitate data storage and transmission, the image data is compressed to the FLV format by using a Huffman coding (Huffman coding) compression algorithm and then stored in a data storage module.
Huffman coding is a variable length prefix code. In short, huffman coding uses a special method to set a binary code for each symbol in a signal source, a symbol with a larger frequency of occurrence will obtain shorter bits, and a symbol with a smaller frequency of occurrence will be allocated longer bits, so as to improve the data compression rate and the transmission efficiency. When the Huffman coding is decoded, a coding table is also required to be generated in advance, and when the coding table is combined with frequency correlation and prefix non-repetition (prefix-free), a binary tree optimal for a certain text is constructed, and the tree is called a Huffman tree (Huffman tree), so that Huffman coding is optimal prefix coding in theory.
Example 2
Referring to fig. 2, a ground terminal system includes:
and an information transmission module: the system is used for bi-directional communication with the vehicle-mounted data transmission module, adopts a one-to-many design, can be simultaneously connected with a plurality of vehicle-mounted recording devices, receives vehicle-mounted side data, and periodically transmits accurate time information and control instructions to the vehicle-mounted side devices.
In the scheme, an MQTT network communication protocol is adopted to realize the two-way communication between the ground terminal system and the vehicle-mounted recording equipment, and a control instruction is sent to the vehicle-mounted recording equipment through an information transmission module in the ground terminal system; the collected lamp position state information is packaged into standard message data according to a self-defined MQTT communication protocol, and then the standard message data is sent to a ground terminal system in a 4G communication mode through an information transmission module.
The MQTT network communication protocol is realized by a mode of publishing and subscribing, and comprises two objects: client and release server. Clients are the producer and the recipient of information in the framework, and the publication server is the network core of the whole communication system. The MQTT network communication protocol is used for communication and sending messages according to regulations, and the message structure comprises three parts: a fixed header, a variable header, and a payload, the fixed header and variable header being metadata describing the type, length, and other attributes of the message, the payload may be any customized data including text messages and image data, etc. The fixed header has two parts, the type of the MQTT control message occupies the 4bit of the high order, the flag bit used for designating the type of the control message occupies the 4bit of the low order, and the total length of the message is one byte. The remaining length includes a variable header and a payload, both of which vary with the type of control message. The remaining length part starts from the second byte of the fixed structure, up to four bytes, one byte can represent the remaining length in the range of 0-127 bytes, and so on, the remaining bytes can reach 268435455 bytes at maximum, i.e. the load can reach 256MB at maximum.
A data storage system: the main data storage unit of the intelligent diagnosis and analysis system for recording the state information of the lamp position of the train control vehicle-mounted equipment is used for storing the image data of the equipment lamp position of each motor train unit.
Human-computer interaction interface system: the display operation interface of the ground terminal system is used for rapidly inquiring video information of the equipment at the abnormal moment of the lamp position, providing an abnormal alarm prompt and inquiring information such as the lamp position state, the working environment and the like of the equipment at any time.
And an audible and visual alarm system: the alarm prompting system of the ground duty room prompts the duty personnel that the lamp position of the equipment is abnormal by means of sound and light combination, and the equipment can be manually closed.
Ground data processing system: the main control system of the ground terminal system is used for processing the equipment lamp position state information video sent by the vehicle-mounted side. The lamp position state recognition system is manufactured by adopting the image processing function of the OpenCV, is compared with the lamp position state information case of the equipment in the system information base, is used for comprehensively analyzing the received environment information of the operation of the train control vehicle-mounted equipment, intercepts and sends the abnormal video of the lamp position state of the equipment to the man-machine interaction interface after the abnormality is found, and simultaneously starts the audible and visual alarm system to prompt the on-site attendant to check.
And a power supply module: for supplying a stable direct current or alternating current power to each unit module.
Example 3
The intelligent diagnosis and analysis system for recording the lamp position state information of the train control vehicle-mounted equipment comprises the vehicle-mounted recording equipment and the ground terminal system, and is characterized in that:
the vehicle-mounted recording equipment collects lamp position state information of the train-control vehicle-mounted equipment and temperature and humidity information in the cabinet, compresses and stores the lamp position state information and the temperature and humidity information, and sends the information back to the ground terminal system;
and the ground terminal system receives and processes the information sent back by the vehicle-mounted recording equipment, identifies the display state of the lamp position of the equipment, analyzes the display state, and intercepts video data at the abnormal moment to alarm after the abnormality is found.
Example 4
The intelligent diagnosis and analysis method for recording the lamp position state information of the train control vehicle-mounted equipment is based on the system and is characterized in that:
s1, acquiring lamp position state information of train control vehicle-mounted equipment through one or more sets of vehicle-mounted recording equipment, performing digital compression processing, and transmitting image data to a ground terminal system through a wireless transmission module;
s2, the ground terminal system receives and processes related data transmitted back by the vehicle-mounted recording equipment of the multiple trains of motor train units simultaneously, and periodically transmits time information and data request instructions to the vehicle-mounted recording equipment on each vehicle side;
s3, the ground terminal system converts, disassembles and identifies the image data through a ground data processing system, compares the image data with the state of the lamp position of the equipment which is input into a system information base in advance, intercepts video at an abnormal moment after abnormality is found, and outputs the video to a human-computer interaction interface.
The ground terminal system consists of hardware equipment and a software system, wherein the hardware equipment consists of a power module and an information transmission module, and the related information data of the train control vehicle-mounted equipment of the multiple trains of motor train units can be received simultaneously by adopting one-to-many design. The software system mainly comprises a data processing system and a man-machine interaction interface, wherein the data processing system adopts an OpenCV image processing technology to recognize the state information of the lamp position of the equipment frame by frame, compares the state information with the state of the lamp position of the equipment which is input into a system information base in advance, and intercepts video at abnormal time after abnormality is found and outputs the video to the man-machine interaction interface.
As shown in fig. 1, the vehicle-mounted recording device comprises a lamp position acquisition module, a temperature and humidity recording module and a data processing module which are in one-way communication, and the lamp position state and the working environment information of the device are provided by the vehicle-mounted recording device. The data processing module is communicated with the wireless transmission module through an internal bus, and the wireless transmission module transmits data to the ground terminal system. The in-vehicle recording device records and stores the device light bit state at a period of 30s, generating a recorded data file.
For example, as shown in fig. 2, a ground data processing system in the ground terminal system is responsible for identifying and processing the lamp position state information returned by the vehicle-mounted recording device, and storing the identified data. The ground data processing system continuously records and stores the data after the identification processing in the form of a file with the length of 30s, and if the abnormality is found after the identification, the ground data processing system outputs an alarm to the human-computer interaction interface.
For example, as shown in fig. 3, the Open CV-based image processing method identifies video images frame by frame according to the procedures of image color YCrCb component splitting, image erosion and dilation processing, image contour extraction, and position location. And comparing and analyzing the identified image with cases in the information base through logic judgment, and timely finding out abnormality.
The content of the image processing algorithm based on the Open CV comprises:
initializing configuration: calling a CV2.Video capture function in the Open CV to read in video stream from a camera of the lamp position acquisition module in real time; setting a frame rate of capturing video frames by calling a cv2.CAP_PROP_FPS function at the same time; and then, the brightness parameters are set, and the video brightness of the lamp position state of the equipment is adjusted frame by frame so as to facilitate the subsequent easier splitting of the image colors.
The treatment is mainly divided into two steps; step one, removing various noise and interference in an image; step two, identifying red, green and yellow image blocks in the image, wherein the red and green image blocks are equipment lamp position display color blocks, and the yellow image blocks are positioning color blocks;
the principle of the method is that the Gaussian noise in the captured video image is removed by calling a cv2.Gaussian Blur Gaussian filter function in the Open CV, and the principle is that each pixel in the image is calculated by weighting average based on the Gaussian function, namely, the pixel which is far from the center pixel has smaller weight, the pixel which is close to the center pixel has larger weight, so that the noise is removed while the image edge information is kept. The two-dimensional Gaussian function distribution formula is as follows:the standard deviation of the width of the gaussian filter can be determined by σ, and the larger σ is, the wider the band of the gaussian filter is, and the better the smoothness is. The gaussian filter formula is: f (u, v) =f (u) i ,v j )×g(u i ,v j ) (i, j ε W). Where f (u, v) is the center pixel value of the image region corresponding to the Gaussian template, f (u) i ,v j ) For pixel values of the image region corresponding to the Gaussian template, g (u i ,v j ) The weight in the Gaussian template is represented by W, which is the template size.
Step two: and calling a cv2.Cvtcolor color space conversion function in the OpenCV, converting the image from an RGB color space to a YCrCb color space, traversing all pigments in the image through Cr components, and respectively splitting red, green and yellow pigment blocks, thereby facilitating the feature extraction of three colors of red, green and yellow. The YCrCb color space is a color space in which one luminance signal and two chrominance signals are represented using three components, Y, cr and Cb, respectively. The following formula is used for converting the RGB color space:
erosion and expansion treatment: after the above color splitting processing step, three gray-scale images with red color blocks, green color blocks and yellow color blocks can be obtained, firstly calling the tile () expansion function in Open CV, and combining all background points contacted with the color blocks into the color blocksThe color block is enlarged, and the hole in the color block is filled. The specific operation is as follows: each pixel in the image is scanned with one structural element, and each pixel in the structural element is anded with the pixel it covers, if both are 0, then the pixel is 0, otherwise 1. The formula is as follows: [ epsilon ] B (X)](x)=min{X B [ epsilon ] in the formula ] B (X)](x) Representing the process of the structural element B eroding the sub-element X from the set X, min representing the minimum value, X B Representing the value of x within structural element B.
And then, invoking an erod () erosion function in the Open CV to eliminate the boundary points of the color blocks, so that the color blocks are reduced and the boundary of the color blocks is strengthened. The specific operation is as follows: each pixel in the image is scanned with one structural element, and each pixel in the structural element is anded with the pixel it covers, if both are 1, then the pixel is 1, otherwise 0. The formula is as follows: [ delta ] B (X)](x)=max{X B [ delta ] B (X)](x) The expansion operation of the structural element B on the subelement X of the set X is performed, and ma represents the maximum value.
The erosion expansion treatment can effectively carry out noise reduction treatment on the binary image, and because the interior of the cabinet is in a dark state for a long time, the operation of expanding first and then eroding is adopted, tiny black holes are removed, and a bright indicator light area is better reserved.
Profile extraction processing: in Open CV, threshold segmentation of the OTSU scheme can be achieved by calling the cv2.thresh_otsu function. The OTSU algorithm is a method for automatically determining a threshold value by using the maximum inter-class variance, and is a global-based binarization algorithm, which divides a color block image into a foreground part and a background part according to the gray scale characteristics of the color block image. The difference between the two parts is greatest when the optimal threshold is taken. The derived formula is: g=w 0 *(1-w 0 )*(u 0 -u 1 ) 2 W in 0 Is the proportion of foreground points, so 1-w 0 For the proportion of background points, u 0 As the foreground gray level average value, u 1 As for the background gray average value, g is an objective function, and the larger g is, the better the threshold value is. Therefore, the optimal threshold can be obtained by traversing the gray scale of 0-255 once.
And (3) intersection judgment: and searching the shortest distance between the midpoint of the two color blocks and the contour line by using a CV2.PointPolygonTest function in the Open CV to judge whether the positions of the red and green image color blocks are overlapped. Because the same indicator lamp can only display one color at the same time, the condition of high overlapping of the red and green images is eliminated by the intersecting judgment, and the recognition accuracy is increased.
Position determination: the specific positions of the recognized red and green images are precisely determined by calling a CV2.Pointpolygon test function in the OpenCV and utilizing a yellow positioning pattern attached to the device, and the indication states of all pairs are precisely recognized.
Comparison of results: comparing the identified equipment lamp position information with equipment lamp position state information cases in a system information base, and carrying out the process according to each preset flow for the conditions existing in the information base; and alarming the condition which does not exist in the information base, prompting manual processing, and storing the processing result into the information base for subsequent use.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present invention, and various changes and modifications may be made therein without departing from the spirit and scope of the invention, which is defined by the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (8)
1. A vehicle-mounted recording apparatus characterized by:
the lamp position acquisition module is used for: the method comprises the steps that a miniature high-definition camera is adopted and is used for shooting and recording lamp position state video data of each unit of train control vehicle-mounted equipment;
and the environment monitoring module is used for: collecting temperature and humidity environment information in a cabinet;
and (3) a clock module: a crystal oscillator circuit is adopted and is used for providing equipment time for the vehicle-mounted recording equipment and regularly synchronizing the current standard time from a ground terminal system;
and a data storage module: the system is used as an on-board backup of a ground terminal system and is used for recording and storing the display state of the lamp position of the train control vehicle-mounted equipment, and a memory card is used for supporting the export and backup of data;
the vehicle-mounted data processing module: the system comprises a data storage module, a digital compression module and a digital compression module, wherein the digital compression module is used for carrying out digital compression processing on shot lamp position state video data and sending the processed lamp position state video data to the data storage module;
and a wireless transmission module: transmitting the lamp position state video data digitally compressed by the vehicle-mounted data processing module to a ground terminal system in real time; receiving an instruction sent by a ground terminal system in real time;
and a display module: a low-energy-consumption small liquid crystal display screen is adopted, and the display screen is in a sleep state at ordinary times, and is manually awakened when being needed to be checked, so that the display screen is used for displaying current environment and time information on a vehicle side;
and a power supply module: and providing stable direct current power supply for each module.
2. A ground terminal system, characterized by:
and an information transmission module: the system is used for bi-directional communication with a wireless transmission module in the vehicle-mounted recording equipment, adopts a one-to-many structure, simultaneously receives data sent by a plurality of vehicle-mounted side vehicle-mounted recording equipment, and periodically sends time information and data request instructions to each vehicle-mounted side vehicle-mounted recording equipment;
a data storage system: the system is used for storing data recorded by the vehicle-mounted recording equipment of each motor train unit;
human-computer interaction interface system: the system is used for rapidly inquiring video information of abnormal moment of the lamp position of the equipment, providing abnormal alarm prompt and inquiring the state of the lamp position and the information of the working environment of the equipment at any time period;
and an audible and visual alarm system: the lamp position of the equipment of the person on duty is prompted to be abnormal by the combination of sound and light, and the equipment can be manually turned off;
ground data processing system: the device lamp position state information video processing method is used for processing the device lamp position state information video sent by the vehicle-mounted side vehicle-mounted recording device.
And a power supply module: for supplying a stable direct current or alternating current power to each unit module.
3. An intelligent diagnosis and analysis system for recording lamp position state information of train control vehicle-mounted equipment, which comprises the vehicle-mounted recording equipment of claim 1 and the ground terminal system of claim 2, and is characterized in that:
the vehicle-mounted recording equipment collects lamp position state information of the train-control vehicle-mounted equipment and temperature and humidity information in the cabinet, compresses and stores the lamp position state information and the temperature and humidity information, and sends the information back to the ground terminal system;
and the ground terminal system receives and processes the information sent back by the vehicle-mounted recording equipment, identifies the display state of the lamp position of the equipment, analyzes the display state, and intercepts video data at the abnormal moment to alarm after the abnormality is found.
4. An intelligent diagnostic analysis method for recording lamp position state information of a train control vehicle-mounted device, which is based on the system as claimed in claim 3, characterized in that:
s1, acquiring lamp position state information of train control vehicle-mounted equipment through one or more sets of vehicle-mounted recording equipment, performing digital compression processing, and transmitting image data to a ground terminal system through a wireless transmission module;
s2, the ground terminal system receives and processes related data transmitted back by the vehicle-mounted recording equipment of the multiple trains of motor train units simultaneously, and periodically transmits time information and data request instructions to the vehicle-mounted recording equipment on each vehicle side;
s3, the ground terminal system converts, disassembles and identifies the image data through a ground data processing system, compares the image data with the state of the lamp position of the equipment which is input into a system information base in advance, intercepts video at an abnormal moment after abnormality is found, and outputs the video to a human-computer interaction interface.
5. The intelligent diagnosis and analysis method for recording lamp position state information of a train control vehicle-mounted device according to claim 4, wherein the method comprises the following steps of: the ground data processing system adopts Open CV image processing to recognize the status information of the lamp position of the equipment frame by frame; the Open CV image processing step comprises the following steps:
color splitting treatment: adjusting the brightness of the video in the state of the lamp position of the equipment frame by frame, converting the image into three components of YCrCb, splitting red and green so as to extract the characteristics of the two colors of red and green;
erosion and expansion treatment: using an error () function and a contrast () function to erode the image by using local minimum operation in the pixel neighborhood, expanding the image by using local maximum operation in the pixel neighborhood, and removing other noise points in the image;
profile extraction processing: dividing an image into an object and a background by an OTSU threshold segmentation method to extract the outline of the object;
and (3) intersection judgment: judging whether the positions of the red and green images are overlapped, and performing preliminary logic judgment on the identified lamp position images;
position determination: judging the specific position of the identified image through the positioning pattern on the equipment;
comparison of results: comparing the identified equipment lamp position information with equipment lamp position state information cases in a system information base, and carrying out the process according to each preset flow for the conditions existing in the information base; and alarming the condition which does not exist in the information base, prompting manual processing, and storing the processing result into the information base for subsequent use.
6. The intelligent diagnosis and analysis method for recording lamp position state information of a train control vehicle-mounted device according to claim 5, characterized by comprising the following steps: and adjusting the brightness of the lamp position colors of the equipment in the video frame by frame in a color space by utilizing the related functions of image processing in the OpenCV software library, decomposing the colors into three components of YCrCb, and extracting red and green according to the characteristics.
7. A non-volatile storage medium characterized by: the non-volatile storage medium comprising a stored program, wherein the program when run controls a device in which the non-volatile storage medium is located to perform the method of any one of claims 4 to 6.
8. An electronic device, characterized by: comprises a processor and a memory; the memory has stored therein computer readable instructions for executing the processor, wherein the computer readable instructions when executed perform the method of any of claims 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311713439.4A CN117549938A (en) | 2023-12-13 | 2023-12-13 | Intelligent diagnosis analysis system for recording lamp position state information of train control vehicle-mounted equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311713439.4A CN117549938A (en) | 2023-12-13 | 2023-12-13 | Intelligent diagnosis analysis system for recording lamp position state information of train control vehicle-mounted equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117549938A true CN117549938A (en) | 2024-02-13 |
Family
ID=89820582
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311713439.4A Pending CN117549938A (en) | 2023-12-13 | 2023-12-13 | Intelligent diagnosis analysis system for recording lamp position state information of train control vehicle-mounted equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117549938A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103325263A (en) * | 2013-06-22 | 2013-09-25 | 太仓博天网络科技有限公司 | Intelligent traffic light system based on video control |
CN107786850A (en) * | 2017-11-02 | 2018-03-09 | 上海达实联欣科技发展有限公司 | A kind of master control room intelligent monitor system and method |
CN111562010A (en) * | 2020-05-14 | 2020-08-21 | 北京大学 | Method and device for automatic image color calibration |
CN211642197U (en) * | 2020-01-14 | 2020-10-09 | 山西润泽丰科技开发有限公司 | State monitoring and alarming device for panel indicator lamp of signal host of railway locomotive |
CN111783758A (en) * | 2020-06-05 | 2020-10-16 | 杭州嘉楠耘智信息科技有限公司 | Character positioning method and device and automatic meter reading system |
CN112364740A (en) * | 2020-10-30 | 2021-02-12 | 交控科技股份有限公司 | Unmanned machine room monitoring method and system based on computer vision |
CN112395928A (en) * | 2019-08-19 | 2021-02-23 | 珠海格力电器股份有限公司 | Method for automatically detecting equipment state operation |
CN112598674A (en) * | 2020-12-03 | 2021-04-02 | 北京汽车研究总院有限公司 | Image processing method and device for vehicle and vehicle |
RU2753988C1 (en) * | 2021-03-26 | 2021-08-25 | Акционерное общество "Научно-исследовательский и проектно-конструкторский институт информатизации, автоматизации и связи на железнодорожном транспорте" | Train control system |
CN114943771A (en) * | 2022-03-24 | 2022-08-26 | 河海大学 | Novel distributed multi-camera fusion positioning and mapping system and method |
-
2023
- 2023-12-13 CN CN202311713439.4A patent/CN117549938A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103325263A (en) * | 2013-06-22 | 2013-09-25 | 太仓博天网络科技有限公司 | Intelligent traffic light system based on video control |
CN107786850A (en) * | 2017-11-02 | 2018-03-09 | 上海达实联欣科技发展有限公司 | A kind of master control room intelligent monitor system and method |
CN112395928A (en) * | 2019-08-19 | 2021-02-23 | 珠海格力电器股份有限公司 | Method for automatically detecting equipment state operation |
CN211642197U (en) * | 2020-01-14 | 2020-10-09 | 山西润泽丰科技开发有限公司 | State monitoring and alarming device for panel indicator lamp of signal host of railway locomotive |
CN111562010A (en) * | 2020-05-14 | 2020-08-21 | 北京大学 | Method and device for automatic image color calibration |
CN111783758A (en) * | 2020-06-05 | 2020-10-16 | 杭州嘉楠耘智信息科技有限公司 | Character positioning method and device and automatic meter reading system |
CN112364740A (en) * | 2020-10-30 | 2021-02-12 | 交控科技股份有限公司 | Unmanned machine room monitoring method and system based on computer vision |
CN112598674A (en) * | 2020-12-03 | 2021-04-02 | 北京汽车研究总院有限公司 | Image processing method and device for vehicle and vehicle |
RU2753988C1 (en) * | 2021-03-26 | 2021-08-25 | Акционерное общество "Научно-исследовательский и проектно-конструкторский институт информатизации, автоматизации и связи на железнодорожном транспорте" | Train control system |
CN114943771A (en) * | 2022-03-24 | 2022-08-26 | 河海大学 | Novel distributed multi-camera fusion positioning and mapping system and method |
Non-Patent Citations (1)
Title |
---|
孟晓升: "CTCS2-200H型列控车载设备运用状态在线诊断系统的研究与应用", 铁道通信信号, vol. 56, no. 3, 31 March 2020 (2020-03-31), pages 1 - 4 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103079062B (en) | Intelligent video surveillance system | |
CN103067736B (en) | Automatic test system based on character recognition | |
CN103366506A (en) | Device and method for automatically monitoring telephone call behavior of driver when driving | |
CN103135524B (en) | Power distribution station monitoring system | |
CN109683493A (en) | Sulfur hexafluoride gas leakage monitoring system and method based on Internet of Things | |
CN108174198B (en) | Video image quality diagnosis analysis detection device and application system | |
CN110154757A (en) | The multi-faceted safe driving support method of bus | |
CN110807460A (en) | Transformer substation intelligent patrol system based on image recognition and application method thereof | |
CN114078224A (en) | Infrastructure field monitoring system and method based on 5G network architecture | |
CN115457446A (en) | Abnormal behavior supervision system based on video analysis | |
CN113589217A (en) | Intelligent ammeter defect detection device | |
CN102523432A (en) | Intelligent vehicle-mounted monitoring system based on third generation (3G) | |
CN115100562A (en) | Intelligent monitoring system and method for equipment line based on video image and deep learning | |
CN107147877A (en) | FX night fog day condition all-weather colorful video imaging system and its construction method | |
CN112863191B (en) | Vehicle information acquisition equipment and method and readable storage medium | |
CN117549938A (en) | Intelligent diagnosis analysis system for recording lamp position state information of train control vehicle-mounted equipment | |
CN103974032A (en) | Monitoring and management system of security equipment | |
CN110807444A (en) | Pedestrian abnormal behavior detection system and method based on DSP edge calculation | |
CN103606207A (en) | Vehicle-mounted safety device based on image identification | |
CN114666424A (en) | Configurable railway signal communication data analysis method | |
CN209896769U (en) | Intelligent integrated non-contact online monitoring device for transformer | |
CN113065416A (en) | Leakage monitoring device integrated with transformer substation video monitoring device, method and medium | |
CN208015894U (en) | A kind of video analytic system based on full-view camera | |
CN105611251A (en) | Real time security monitoring method | |
CN105163087A (en) | Image enhancement monitoring system based on embedded technology |
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 |