A damaged road guardrail intelligent detection system and method

The intelligent detection system that combines FPGA control chip and optical flow method solves the problem of inaccurate and untimely guardrail damage detection in the existing technology, realizes efficient and automated detection of road guardrails, and can identify damage in different areas and save money. Testing costs.

CN114299308BActive Publication Date: 2024-09-06CHINA APPLIED TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111559615.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2024-09-06
Estimated Expiration
2041-12-20

AI Technical Summary

Technical Problem

Existing technology cannot effectively and timely detect and identify damage to road guardrails, especially small-area damage. It lacks a unified guardrail data image processing system and cannot process multiple signals at the same time.

Method used

An intelligent detection system using FPGA control chip is designed. The guardrail pictures are collected through the camera module, the static RGB data set and the optical flow data set are calculated, the spatial feature enhancement network and the optical flow method are used to determine the degree of guardrail displacement, and the ZigBee module is combined for data transmission. and display to achieve automated detection.

Benefits of technology

It achieves highly automated guardrail detection, saves manual inspection costs, can accurately identify guardrail damage in different areas, and meets the need for rapid detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114299308B
    Figure CN114299308B
Patent Text Reader

Abstract

The present invention discloses an intelligent detection system and method for damaged road guardrails. The system uses an FPGA control chip, and inputs a picture of a guardrail to be tested into the FPGA control chip through a camera module, calculates a static RGB data set and an optical flow data set respectively, converts a displacement change into a voltage change output, and sends it to the FPGA control chip after a pulse signal conditioning circuit. The encoder outputs the angle of deformation and rotation of the guardrail in the form of pulses, and transmits it to the FPGA control chip after the conditioning circuit. After processing the collected data, the FPGA control chip determines whether the displacement signal of the picture exceeds a threshold, and displays the detection result on a liquid crystal display. The collected guardrail picture is sent to the FPGA control chip through a ZigBee module for processing. The method has a high degree of automation, saves the cost of manual detection, and can detect the damaged area of ​​the guardrail regardless of how much it is, and can meet the requirements of on-site rapid detection of the qualification of the guardrail.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of road guardrail detection, and in particular to an intelligent detection system and method for damaged road guardrails. Background Art

[0002] Traffic guardrails on urban roads are necessary measures in traffic construction, providing people with travel safety. The existing guardrails are monotonous in structure and single in function. They are not intelligent. As isolation and anti-collision facilities, traffic guardrails are widely used in the construction of traffic projects such as highways and urban roads. They are a kind of traffic safety facilities and play a very important role in reducing the damage caused by traffic accidents. Guardrails are important highway traffic infrastructure. As a supporting project of the highway system, once the guardrails erected on both sides of the highway are stolen, lost or damaged by humans, it will pose a serious threat to the operation of cars and the safety of life and property of residents along the road.

[0003] The traditional solution is to conduct manual inspections along the road, which is time-consuming and labor-intensive and cannot be discovered in time. The existing research methods only identify whether the thicker cement railings of the road protection net are intact, and have the disadvantages of poor adaptability, high missed and false positive rates. At the same time, they cannot effectively identify whether the road protection fence with the largest area is intact. For example, for the damaged area of ​​200cm 2 In addition, in these research projects, no perfect and unified guardrail data image processing system and method have been established, and multiple signals cannot be processed at the same time. Summary of the invention

[0004] In order to overcome the shortcomings and deficiencies of the prior art, the present invention provides an intelligent detection system and method for damaged road guardrails.

[0005] The technical solution adopted by the present invention is that the system is an image acquisition and processing system, which includes a camera module, an analog signal conditioning circuit, a pulse signal conditioning circuit, an A / D conversion module, a ZigBee module and a display module;

[0006] The system uses an FPGA control chip and inputs the image of the guardrail to be tested into the FPGA control chip through the camera module, calculates the static RGB data set and the optical flow data set respectively, converts the displacement change into a voltage change output, and sends it to the FPGA control chip after passing through the pulse signal conditioning circuit. The encoder will output the angle of the guardrail deformation rotation in the form of a pulse, which is transmitted to the FPGA control chip after passing through the conditioning circuit. After processing the collected data, the FPGA control chip determines whether the displacement signal of the image exceeds the threshold and displays the detection result on the LCD display. The collected guardrail image is sent to the FPGA control chip through the ZigBee module for processing.

[0007] Furthermore, the image of the guardrail to be tested is input into the FPGA control chip through the camera module, the analog signal passes through the analog signal conditioning circuit, and is converted into a digital quantity through the A / D conversion module and transmitted to the FPGA control chip; the pulse signal passes through the pulse signal conditioning circuit and is sent to the FPGA control chip, the FPGA control chip processes the collected data and displays it on the OLCD display module, and sends it to the ZigBee module.

[0008] Furthermore, the analog signal conditioning circuit uses two-stage amplification, first amplifying, filtering and then amplifying; using a differential amplifier circuit as a pre-amplifier circuit, the output signal of the pressure sensor is amplified 20 times and then filtered through a low-pass filter. After filtering out high-frequency interference, it enters the secondary amplifier circuit and amplifies it 20 times. The final signal is output within the range of 0-5V, eliminating interference from common-mode signals.

[0009] Furthermore, the encoder uses a 360-degree rotating encoder with a rated voltage of DC 5V, and the output is a TTL pulse signal. The signal is shaped by a 74ls138 chip and transmitted to the FPGA control chip; the OLCD display module uses a 1.3-inch IIC / SPI liquid crystal serial port display; the camera module uses a HF899 USB industrial high-definition camera for 135-degree wide-angle and distorted 1080P shooting.

[0010] Furthermore, in terms of FPGA control chip software design, the input of image and pressure parameters and the collection and processing of analog signals and pulse signals, the analog signal is converted by the A / D converter built into the FPGAEP4CE6F17C8N to obtain its corresponding digital quantity; the pulse signal is counted by triggering the external interrupt of the FPGA control chip, and after calculation and processing, the data is displayed on the OLCD after qualification judgment, and transmitted to the ZigBee module through the serial port.

[0011] An intelligent detection method for damaged road guardrails, with static input and static output. The input is a set of continuous guardrail images, and the output includes two types: damaged guardrails and non-damaged guardrails. The algorithm includes the following steps:

[0012] Step S1: input a guardrail image, and generate a static RGB dataset and an optical flow dataset of the guardrail image respectively;

[0013] Step S2: Using the spatial feature enhancement network, convolve the static RGB dataset to separate the spatial dimension features of the guardrail image;

[0014] Step S3: Convolution of the optical flow dataset, extracting optical flow information from adjacent images as input, thereby separating the temporal features of the guardrail image;

[0015] Step S4: Fusing the output of the separated spatial dimension features with the output of the separated temporal features;

[0016] Step S5: using the optical flow method to determine the displacement degree of the guardrail, if the displacement degree exceeds 20%, the guardrail is damaged.

[0017] Furthermore, the optical flow method determines the displacement degree of the guardrail by calculating the displacement of each pixel point between the image of the guardrail taken by the camera module and the image of the intact guardrail after a time Δt. The constraint equation of the image is shown as follows:

[0018] A(i,j,k,t)=A(i+Δi,j+Δj,k+Δk,t+Δt),

[0019] A(i, j, k, t) represents the pixel at position (i, j, k) at time t.

[0020] Furthermore, the spatial feature enhancement network uses the dual convolutional neural network structure of AlexNet to t The guardrail image at the moment is convolved using the convolutional neural network to obtain the spatial feature output B t , for V t-1 After the guardrail image at the moment is convolved by the convolutional neural network, the spatial feature output B is obtained t-1 ;

[0021] B t =(c1, ..., c d ) T ,

[0022]

[0023] C D is the output feature of the fully connected layer of the convolutional neural network, B t-1 The calculation of is as follows:

[0024] B t-1 =(m1, ..., m d ) T ,

[0025]

[0026] Use V t The spatial characteristics of the moment minus V t-1 The spatial features of the moment, that is, the different spatial features of the two pictures are obtained to remove background interference;

[0027] O′ t =Relu(B t -B t-1 ).

[0028] Furthermore, the output of separating the spatial dimension features and the output of separating the temporal features are fused to obtain the two images (V t-1 , V t ), convert the two images into optical flow images V through the optical flow method t ′, and then take the optical flow image V t The convolution result B of t ′ and the output result of the spatial feature enhancement network O t A fusion is performed, where:

[0029] BO′ t =Concat(B′ t +O t ),

[0030] There is a corresponding relationship between the RGB dataset and the optical flow dataset. The optical flow dataset is calculated from the previous and next frames of the RGB dataset.

[0031] The present invention proposes an intelligent detection system and method for damaged road guardrails. A guardrail image signal acquisition and processing system with an FPGA control chip as the core is designed. The image optical flow method is used to determine the displacement degree of the guardrail. If the displacement degree exceeds 20%, the guardrail is damaged. The method has a high degree of automation, saves the cost of manual detection, and can detect the damaged area of ​​the guardrail regardless of how large it is, thus meeting the requirements for on-site rapid detection of the guardrail qualification. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a module structure diagram of the present invention;

[0033] Figure 2 It is a system architecture diagram of the present invention. DETAILED DESCRIPTION

[0034] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other. The present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0035] like Figure 1 As shown, a damaged road guardrail intelligent detection system and method, the system is an image acquisition and processing system, the system includes a camera module, an analog signal conditioning circuit, a pulse signal conditioning circuit, an A / D conversion module, a ZigBee module and a display module;

[0036] The system uses an FPGA control chip and inputs the image of the guardrail to be tested into the FPGA control chip through the camera module, calculates the static RGB data set and the optical flow data set respectively, converts the displacement change into a voltage change output, and sends it to the FPGA control chip after passing through the pulse signal conditioning circuit. The encoder will output the angle of the guardrail deformation rotation in the form of a pulse, which is transmitted to the FPGA control chip after passing through the conditioning circuit. After processing the collected data, the FPGA control chip determines whether the displacement signal of the image exceeds the threshold and displays the detection result on the LCD display. The collected guardrail image is sent to the FPGA control chip through the ZigBee module for processing.

[0037] ZigBee is a wireless network protocol for low-speed, short-distance transmission. From bottom to top, the ZigBee protocol consists of the physical layer (PHY), media access control layer (MAC), transport layer (TL), network layer (NWK), and application layer (APL). The physical layer and media access control layer follow the IEEE802.15.4 standard.

[0038] ZigBee features: low data transmission rate: 10KB / s-250KB / s, focusing on low transmission applications. Low power consumption: In low-power standby mode, two ordinary No. 5 batteries can be used for 6-24 months. Low cost: ZigBee has a low data transmission rate and a simple protocol, which greatly reduces costs. Large network capacity: The network can accommodate 65,000 devices. Short delay: Usually the delay is 15ms-30ms.

[0039] The image of the guardrail to be tested is input into the FPGA control chip through the camera module. The analog signal passes through the analog signal conditioning circuit, and is converted into a digital quantity by the A / D conversion module and transmitted to the FPGA control chip. The pulse signal passes through the pulse signal conditioning circuit and is sent to the FPGA control chip. The FPGA control chip processes the collected data and displays it on the OLCD display module and sends it to the ZigBee module.

[0040] The analog signal conditioning circuit uses two-stage amplification, first amplification, filtering and then amplification; the differential amplifier circuit is used as the pre-amplifier circuit to amplify the output signal of the pressure sensor by 20 times and then filter it through a low-pass filter to filter out high-frequency interference. It then enters the secondary amplifier circuit to amplify it by 20 times. The final signal is output within the range of 0-5V to eliminate the interference of common-mode signals.

[0041] The encoder uses a 360-degree rotating encoder with a rated voltage of DC 5V, and the output is a TTL pulse signal. The signal is shaped by the 74ls138 chip and then transmitted to the FPGA control chip; the OLCD display module uses a 1.3-inch IIC / SPI LCD serial port display; the camera module uses the HF899USB industrial high-definition camera for 135-degree wide-angle and distorted 1080P shooting.

[0042] In terms of FPGA control chip software design, the input of image and pressure parameters and the collection and processing of analog signals and pulse signals are carried out. The analog signal is converted by the A / D converter built into the FPGAEP4CE6F17C8N to obtain its corresponding digital quantity; the pulse signal is counted by triggering the external interrupt of the FPGA control chip. After calculation and processing, and after qualification judgment, the data is displayed on the OLCD and transmitted to the ZigBee module through the serial port.

[0043] like Figure 2 As shown in the figure, a method for intelligent detection of damaged road guardrails has static input and static output. The input is a set of continuous guardrail images, and the output includes two types: damaged guardrails and non-damaged guardrails. The algorithm includes the following steps:

[0044] Step S1: input a guardrail image, and generate a static RGB dataset and an optical flow dataset of the guardrail image respectively;

[0045] Step S2: Using the spatial feature enhancement network, convolve the static RGB dataset to separate the spatial dimension features of the guardrail image;

[0046] Step S3: Convolution of the optical flow dataset, extracting optical flow information from adjacent images as input, thereby separating the temporal features of the guardrail image;

[0047] Step S4: Fusing the output of the separated spatial dimension features with the output of the separated temporal features;

[0048] Step S5: using the optical flow method to determine the displacement degree of the guardrail, if the displacement degree exceeds 20%, the guardrail is damaged.

[0049] The optical flow method determines the displacement degree of the guardrail by calculating the displacement of each pixel point between the guardrail image taken by the camera module and the intact guardrail image after a period of time Δt. The constraint equation of the image is shown as follows:

[0050] A(i,j,k,t)=A(i+Δi,j+Δj,k+Δk,t+Δt),

[0051] A(i, j, k, t) represents the pixel at position (i, j, k) at time t.

[0052] The optical flow method uses the changes in pixels in the time domain in an image sequence and the correlation between adjacent frames to find the corresponding relationship between the previous frame and the current frame, thereby calculating the motion information of objects between adjacent frames.

[0053] Vision requires selective filtering, and the process of selecting a portion of the visual input based on its position is described as spatial attention. Guardrail images come in a variety of forms, ranging from intact guardrail images to damaged guardrail images, with large differences in space and time. In guardrail photos from different periods, when the guardrail is severely damaged, the features are more obvious and the recognition rate is higher; however, when the guardrail is in the early stages of damage, the features only account for a small proportion of the entire scene and are not obvious, which poses a greater challenge to the recognition of the degree of damage to the guardrail.

[0054] The spatial feature enhancement network uses the dual convolutional neural network structure of AlexNet to t The guardrail image at the moment is convolved using the convolutional neural network to obtain the spatial feature output B t , for V t-1 After the guardrail image at the moment is convolved by the convolutional neural network, the spatial feature output B is obtained t-1 ;

[0055] B t =(c1, ..., c d ) T ,

[0056]

[0057] C D is the output feature of the fully connected layer of the convolutional neural network, B t-1 The calculation of is as follows:

[0058] B t-1 =(m1, ..., m d ) T ,

[0059]

[0060] Use V t The spatial characteristics of the moment minus V t-1 The spatial features of the moment, that is, the different spatial features of the two pictures are obtained to remove background interference;

[0061] O′ t =Relu(B t -B t-1 ).

[0062] AlexNet is based on the LeNet method, applying the basic principles of CNN to very deep and wide networks. It successfully used ReLU as the activation function of CNN, and verified that its effect exceeded Sigmoid in deeper networks, successfully solving the gradient diffusion problem of Sigmoid in deeper networks; Dropout was used to randomly ignore some neurons during training to avoid overfitting of the model. Although Dropout has a separate paper, AlexNet has put it into practical use and confirmed its effectiveness through practice. In AlexNet, Dropout is mainly used in the last few fully connected layers; overlapping maximum pooling is used in CNN. Average pooling was previously commonly used in CNN, and AlexNet used maximum pooling throughout to avoid the blurring effect of average pooling. In addition, AlexNet proposed to make the step length smaller than the size of the pooling kernel, so that there will be overlap and coverage between the outputs of the pooling layer, which improves the richness of the features; the LRN layer was proposed to create a competition mechanism for the activities of local neurons, so that the values ​​with relatively large responses become relatively larger, and suppress other neurons with smaller feedback, which enhances the generalization ability of the model; CUDA is used to accelerate the training of deep convolutional networks, and the powerful parallel computing capabilities of GPUs are used to handle a large number of matrix operations during neural network training. AlexNet uses two GTX 580 GPUs for training. A single GTX 580 has only 3GB of video memory, which limits the maximum size of the network that can be trained. Therefore, the author distributed AlexNet on two GPUs, storing half of the parameters of the neurons in the video memory of each GPU. Because GPUs can communicate easily and can access each other's video memory without going through the host memory, it is also very efficient to use multiple GPUs at the same time. At the same time, the design of AlexNet allows communication between GPUs to be performed only in certain layers of the network, controlling the performance loss of communication; data enhancement randomly cuts out a 224*224 area (and a horizontally flipped mirror image) from the original 256*256 image, which is equivalent to increasing the amount of data by 2048 times. Without data enhancement, relying only on the original amount of data, CNN with many parameters will fall into overfitting. Using data enhancement can greatly reduce overfitting and improve generalization ability. When making predictions, the four corners of the picture plus the middle position, a total of 5 positions, are taken, and they are flipped left and right, a total of 10 pictures are obtained, and they are predicted and the average of the 10 results is calculated. At the same time, AlexNet will perform PCA processing on the RGB data of the image, and make a Gaussian perturbation with a standard deviation of 0.1 on the main component, adding some noise. This trick can reduce the error rate by another 1%.

[0063] Images can be divided into two parts: space and time. The spatial part refers to the surface information of independent frames, such as objects and scenes; the temporal part refers to the optical flow between frames, which carries the motion information between frames. Unlike traditional shallow learning, which requires artificially determining features based on experience and algorithms, convolutional neural networks do not rely on the designer's prior knowledge and experience, but learn features autonomously and layer by layer, achieving end-to-end learning directly from raw numbers to target functions. In particular, they have achieved good results in the field of image recognition and can effectively extract deep features of images.

[0064] Dual streams refer to the time stream and the space stream, which are used to capture the spatial feature information and the time feature information of the guardrail image respectively.

[0065] The output of separating the spatial dimension features is fused with the output of separating the temporal features. t-1 , V t ), convert the two images into optical flow images V through the optical flow method t ′, and then take the optical flow image V t The convolution result B of t ′ and the output result of the spatial feature enhancement network O t A fusion is performed, where:

[0066] BO′ t =Concat(B′ t +O t ),

[0067] There is a corresponding relationship between the RGB dataset and the optical flow dataset. The optical flow dataset is calculated from the previous and next frames of the RGB dataset.

[0068] The present invention proposes an intelligent detection system and method for damaged road guardrails. A guardrail image signal acquisition and processing system with an FPGA control chip as the core is designed. The image optical flow method is used to determine the displacement degree of the guardrail. If the displacement degree exceeds 20%, the guardrail is damaged. The method has a high degree of automation, saves the cost of manual detection, and can detect the damaged area of ​​the guardrail regardless of how large it is, thus meeting the requirements for on-site rapid detection of the guardrail qualification.

[0069] Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various equivalent changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An intelligent detection system for damaged road guardrails, characterized in that ,The system is an image acquisition and processing system, which includes a camera module, an ,analog signal conditioning circuit, a pulse signal conditioning circuit, an A / D conversion module, a ZigBee module and a display module; The system uses FPGA control chip, and inputs the image of the guardrail to be tested into the FPGA control chip through the camera module, calculates the static RGB data set and the optical flow data set respectively, converts the displacement change into voltage change output, and sends it to the FPGA control chip after passing through the pulse signal conditioning circuit. The encoder will output the angle of the guardrail deformation rotation in the form of pulses, which will be transmitted to the FPGA control chip after passing through the conditioning circuit. After processing the collected data, the FPGA control chip determines whether the displacement signal of the image exceeds the threshold, and displays the detection result on the LCD display. The collected guardrail image is sent to the FPGA control chip through the ZigBee module for processing; The image of the guardrail to be tested is input into the FPGA control chip through the camera module, the analog signal is converted into a digital quantity through the analog signal conditioning circuit and the A / D conversion module and then transmitted to the FPGA control chip; the pulse signal is sent to the FPGA control chip after passing through the pulse signal conditioning circuit, and the FPGA control chip displays the collected data on the OLCD display module after processing and sends it to the ZigBee module; The analog signal conditioning circuit uses two-stage amplification, first amplification, filtering and then amplification; using a differential amplifier circuit as a pre-amplifier circuit, the output signal of the pressure sensor is amplified 20 times and then filtered through a low-pass filter to filter out high-frequency interference, and then enters the secondary amplifier circuit to amplify 20 times. The final signal is output within the range of 0-5V to eliminate the interference of common-mode signals; The encoder uses a 360-degree rotating encoder with a rated voltage of DC 5V, and the output is a TTL pulse signal, which is shaped by a 74ls138 chip and then transmitted to the FPGA control chip; The OLCD display module uses a 1.3-inch IIC / SPI liquid crystal serial port display; The camera module uses the HF899 USB industrial high-definition camera to shoot 135-degree wide-angle and distorted 1080P; In terms of FPGA control chip software design, the input of images and pressure parameters, as well as the collection and processing of analog signals and pulse signals, the analog signals are converted by the A / D converter built into the FPGAEP4CE6F17C8N to obtain their corresponding digital quantities; the pulse signals are counted by triggering the external interrupt of the FPGA control chip, and after calculation and processing, the data is displayed on the OLCD after qualification judgment, and transmitted to the ZigBee module through the serial port; The system is implemented through an intelligent detection method for damaged road guardrails, including: static input, static output, the input is a set of continuous guardrail images, and the output includes two types: guardrail damage and non-guardrail damage. The algorithm includes the following steps: Step S1: input a guardrail image, and generate a static RGB dataset and an optical flow dataset of the guardrail image respectively; Step S2: Using the spatial feature enhancement network, convolve the static RGB dataset to separate the spatial dimension features of the guardrail image; Step S3: Convolution of the optical flow dataset, extracting optical flow information from adjacent images as input, thereby separating the temporal features of the guardrail image; Step S4: Fusing the output of the separated spatial dimension features with the output of the separated temporal features; Step S5: using the optical flow method to determine the displacement degree of the guardrail, if the displacement degree exceeds 20%, the guardrail is damaged; By calculating the displacement of each pixel point of the guardrail image taken by the camera module and the intact guardrail image after time △t, the displacement degree of the guardrail is determined. The constraint equation of the image is shown as follows: A(i,j,k,t)=A(i+Δi,j+Δj,k+Δk,t+Δt), A(i, j, k, t) represents the pixel at position (i, j, k) at time t; The spatial feature enhancement network uses the dual convolutional neural network structure of AlexNet to t The guardrail image at the moment is convolved using the convolutional neural network to obtain the spatial feature output B t , for V t-1 After the guardrail image at the moment is convolved by the convolutional neural network, the spatial feature output B is obtained t-1 ; B t =(c1,…,c d ) T , C D is the output feature of the fully connected layer of the convolutional neural network, B t-1 The calculation of is as follows: B t-1 =(m1,…,m d ) T , Use V t The spatial characteristics of the moment minus V t-1 The spatial features of the moment, that is, the different spatial features of the two pictures are obtained to remove background interference; o' t =Relu(B t -B t-1 ); The output of separating the spatial dimension features and the output of separating the temporal features are fused to obtain the two images (V t-1 , V t ), convert the two images into optical flow images V through the optical flow method t ′, and then take the optical flow image V t The convolution result B of t ′ and the output result of the spatial feature enhancement network O t A fusion is performed, where: BO′ t =Concat(B′ t +O t ), There is a corresponding relationship between the RGB dataset and the optical flow dataset. The optical flow dataset is calculated from the previous and next frames of the RGB dataset.