US Patent No. 10,798,791

LIGHT EMITTING DIODE EMERGENCY VEHICLE LIGHT BASED ON TRAFFIC DETECTION


Patent No. 10,798,791
Issue Date October 06, 2020
Title Light Emitting Diode Emergency Vehicle Light Based On Traffic Detection
Inventorship Shanqin Zhang, Yuyao (CN)
Assignee YUTAO FEITE PLASTIC CO., LTD., Yuyao (CN)

Claim of US Patent No. 10,798,791

1. A traffic flow detection-based LED alarm lamp, comprising a red LED device, a blue LED device, an alarm lamp leg, a mounting assembly and a reinforcing plate, the red LED device and the blue LED device being installed parallel to each other and fixed to the top of a police car, said police car having a top, an inner side, a front, and body, through the alarm lamp leg, and the mounting assembly including a nut and a bolt for fixing the alarm lamp leg to the top of the police car, and a reinforcing plate being installed onto an inner side of a police car rooftop for reinforcing the fixation of the alarm lamp leg; wherein the red LED device emits light with a first lighting frequency, and the blue LED device emits light with a second lighting frequency;and the traffic flow detection-based LED alarm lamp, further comprising a light emission driving part installed between the red LED device and the blue LED device and coupled to the red LED device and the blue LED device;wherein the light emission driving part is provided for controlling the red LED device to emit light with the first lighting frequency and controlling the blue LED device to emit light with the second lighting frequency;a rainfall detection device installed to the top of police car for detecting near the top of the police car;
a retractable rain cover disposed around a periphery of the red LED device and a periphery of the blue LED device for automatically opening a retractable rain cover to block rain from falling on the red LED device and the blue LED device when receiving an opening control signal and to automatically fold the retracting the retractable rain cover to stop blocking rain from falling on the red LED device and the blue LED device when receiving the retracting control signal;
an image sensing device, installed at the top of the police car, for performing an image data sensing operation at the front facing the car body to obtain and output a current front image;
a first filtering device, for executing a filtering: using a HARR wavelet basis with a length of 6 to execute a five-level composition of a received image and a reconstruction to obtain a filtered image outputted by the first filtering device;
a second filtering device, for executing a filtering: using various filtering windows to obtain various corresponding blocks of each pixel of the received image by using a pixel as a center, determining a grayscale value variance of the various blocks, selecting a filtering window corresponding to a smallest grayscale value variance as a target filtering window to carry out a median filtering of a pixel value of the pixel to obtain a filtered pixel value, and obtaining a filtered image outputted by the second filtering device based on the filtered pixel values of all pixels of the received image;
a self-adjusting recursive filtering device, for executing the following a filtering: executing a self-adjusting recursive filtering of the received image to obtain an output, wherein the output is a filtered image;
a first image initial detection device, coupled to the image sensing device, for receiving a current front image, determining a mean square error of a current front image pixel value based on a pixel value of each pixel of the current front image and use said mean square error as an output of a target mean square error;
a second image initial detection device, for receiving a current front image, performing a noise analysis of the current front image to obtain a primary noise signal with the largest noise amplitude and a secondary noise signal with the second largest noise amplitude, determining a signal-to-noise ratio of the current front image based on the primary noise signal, the secondary noise signal and the current front image and using said signal-to-noise ratio as an output of a target signal-to-noise ratio;
a DSP control chip, coupled to the self-adjusting recursive filtering device, the first filtering device, the second filtering device, the first image initial detection device and the second image initial detection device, for receiving the target mean square error and the target signal-to-noise ratio, and if the target signal-to-noise ratio is smaller than or equal to a predetermined signal-to-noise ratio threshold and the target mean square error is greater than or equal to a predetermined mean square error threshold, then the first filtering device and the second filtering device will be used sequentially to execute a filtering of the current front image to obtain a processed image, and if the target signal-to-noise ratio is smaller than or equal to the predetermined signal-to-noise ratio threshold and the target mean square error is greater than the predetermined mean square error threshold, then the second filtering device is used to execute a filtering of the current front image to obtain a processed image, and if the target signal-to-noise ratio is greater than the predetermined signal-to-noise ratio threshold and the target mean square error is greater than or equal to the predetermined mean square error threshold, then the first filtering device is used to execute a filtering of the current front image to obtain the processed image, and if the target signal-to-noise ratio is greater than the predetermined signal-to-noise ratio threshold and the target mean square error is smaller than the predetermined mean square error threshold, then the self-adjusting recursive filtering device is used to execute a filtering of the current front image to obtain the processed image;
a vehicle testing device, coupled to the DSP control chip, for receiving the processed image, performing a car body identification of the processed image to obtain a quantity of vehicle targets in the processed image and use said quantity of vehicle targets as an output of a quantity of current front vehicles;
wherein, the light emission driving part is coupled to the vehicle testing device for determining the first lighting frequency based on the quantity of current front vehicles, and determining the second lighting frequency based on the quantity of current front vehicles; wherein, the greater the quantity of current front vehicles, the higher the first lighting frequency, and the lower the second lighting frequency, and a sum of the first lighting frequency and the second lighting frequency is a constant.