Vehicle detection system, method and device for road safety
By designing a vehicle detection system for road safety, using rangefinders and cameras to monitor vehicle width and height in real time, the problem of over-limit and overload detection of vehicles is solved and road traffic safety is improved.
Patent Information
- Application Number
- CN201910078711.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-01-28
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2039-01-28
AI Technical Summary
Vehicle overloading and overloading occur frequently, leading to potential road traffic safety hazards that are difficult to effectively detect and prevent with existing technology.
Design a vehicle detection system, including a first rangefinder, a second rangefinder, a third rangefinder, a camera, a wireless transmitter and a display. The rangefinder measures vehicle distance data, the camera captures vehicle information, and passes The wireless transmitter transmits it to the display, compares the vehicle width and height with the preset safety thresholds, and monitors and warns of overloading and overloading in real time.
It realizes real-time monitoring and warning of vehicle width and height, improves road traffic safety, simplifies the system structure, and has wide applicability.
Smart Images

Figure CN109859494B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of traffic safety, and in particular to a vehicle detection system, method and device for road safety. Background Art
[0002] In recent years, all regions and relevant departments have fully implemented relevant national laws and regulations, made in-depth progress in the management of overloaded vehicles, and achieved positive results.
[0003] However, the phenomenon of overloaded vehicles in transportation continues despite repeated bans, such as the width of the vehicle exceeding the safe width of the vehicle, the height of the vehicle exceeding the safe height of the vehicle, etc. The emergence of this situation has caused great hidden dangers to the safety of people's lives and property, and has led to some major accidents. Summary of the invention
[0004] The present invention provides a vehicle detection system, method and device for road safety, which are used to solve the above-mentioned technical problems in the prior art.
[0005] In a first aspect, an embodiment of the present invention provides a vehicle detection system for road safety, the system comprising: a first rangefinder, the first rangefinder being arranged at the center of a crossbeam; a second rangefinder, the second rangefinder being arranged on a first column; a third rangefinder, the third rangefinder being arranged on a second column; a camera, the camera being fixed on the crossbeam and used for photographing a target vehicle; a wireless transmitter, the wireless transmitter being fixed on the crossbeam; a display, the display being fixed on the crossbeam, so that the distance data of the target vehicle measured by the first rangefinder, the second rangefinder and the third rangefinder are transmitted to the display via the wireless transmitter for display; a fill light, the fill light being fixed on the crossbeam and used for supplementing light for the camera during photographing; wherein the first column and the second column are respectively arranged on both sides of the road, and the first column and the second column are parallel to each other, one end of the crossbeam is fixed on the first column, and the other end of the crossbeam is fixed on the second column, and the crossbeam is perpendicular to the first column and the second column respectively.
[0006] Optionally, a ladder is provided on the first column; and / or a ladder is provided on the second column.
[0007] Optionally, it also includes: a first lightning rod, which is fixed at the connection position between the first column and the beam; and / or a second lightning rod, which is fixed at the connection position between the second column and the beam.
[0008] In a second aspect, the present invention further provides a vehicle detection method for road safety, the method being applied to the above-mentioned system, wherein when a target vehicle passes through a first detection zone, the method comprises: obtaining a projection position point a2 of a chassis center point a1 of the target vehicle on the first detection zone, wherein the first detection zone is a straight line detection zone located between the first column and the second column, and perpendicular to the first column and the second column respectively, and parallel to the crossbeam, and the length of the first detection zone is L; obtaining a straight line distance p1 between the second rangefinder and the first side surface of the target vehicle; obtaining a straight line distance p2 between the third rangefinder and the second side surface of the target vehicle, wherein In the embodiment, the first side surface and the second side surface are two opposite side surfaces of the target vehicle; the width d of the target vehicle is calculated according to the L, the p1 and the p2; the straight-line distance p3 between the center point b of the crossbeam and the center point a3 of the top cover of the target vehicle is obtained, wherein the a1, a2 and a3 are on the same straight line; the straight-line distance p4 between the center point b of the crossbeam and the center point a4 of the first detection band is obtained; when the a2 and the a4 overlap, the height h of the target vehicle is calculated according to the formula h=p4-p3; the width d and the height h are compared with a preset safety threshold; and the comparison result is transmitted to the display for display.
[0009] Optionally, the preset safety thresholds include: a vehicle safety width threshold D and a vehicle safety height threshold H; comparing the width d and the height h with the preset safety thresholds includes: comparing the width d with the preset vehicle safety width threshold D, if the width d is greater than the vehicle safety width threshold D, the comparison result includes that the width of the target vehicle exceeds the vehicle safety width; comparing the height h with the preset vehicle safety height threshold H, if the width h is greater than the vehicle safety height threshold H, the comparison result includes that the height of the target vehicle exceeds the vehicle safety height.
[0010] Optionally, when a2 and a4 do not overlap, the straight-line distance p5 between the center point b of the beam and a2 is obtained; according to the formula Calculate the distance p24 between a2 and a4; according to the formula Calculate the height h of the target vehicle.
[0011] In a third aspect, the present invention further provides a vehicle detection device for road safety, the device being applied to the above-mentioned system, wherein the device comprises: a projection position point a2 acquisition module, configured to acquire a projection position point a2 of a chassis center point a1 of the target vehicle on the first detection zone, wherein the first detection zone is a straight line detection zone located between the first column and the second column, and perpendicular to the first column and the second column respectively, and parallel to the crossbeam, and the length of the first detection zone is L; a straight line distance p1 acquisition module, configured to acquire a straight line distance p1 between the second rangefinder and a first side surface of the target vehicle; a straight line distance p2 acquisition module, configured to acquire a straight line distance p2 between the second rangefinder and a second side surface of the target vehicle, wherein the first side surface and the second side surface are the straight line distances of the target vehicle. a width d calculation module, configured to calculate the width d of the target vehicle according to the L, the p1 and the p2; a straight-line distance p3 acquisition module, configured to obtain the straight-line distance p3 between the center point b of the crossbeam and the center point a3 of the top cover of the target vehicle, wherein the a1, a2 and a3 are on the same straight line; a straight-line distance p4 acquisition module, configured to obtain the straight-line distance p4 between the center point b of the crossbeam and the center point a4 of the first detection point; a height h calculation module, configured to calculate the height h of the target vehicle according to the formula h=p4-p3 when the a2 and the a4 overlap; a comparison module, configured to compare the width d and the height h with a preset safety threshold; a display module, configured to transmit the comparison result to the display for display.
[0012] Optionally, the preset safety thresholds include: a vehicle safety width threshold D and a vehicle safety height threshold H; the comparison module includes: a first submodule, configured to compare the width d with the preset vehicle safety width threshold D, if the width d is greater than the vehicle safety width threshold D, the comparison result includes that the width of the target vehicle exceeds the vehicle safety width; a second submodule, configured to compare the height h with the preset vehicle safety height threshold H, if the width h is greater than the vehicle safety height threshold H, the comparison result includes that the height of the target vehicle exceeds the vehicle safety height.
[0013] In a fourth aspect, the present invention further provides a vehicle detection device for road safety, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the program: obtaining a projection position point a2 of a chassis center point a1 of the target vehicle on the first detection zone, wherein the first detection zone is a linear detection zone located between the first column and the second column, and perpendicular to the first column and the second column respectively, and parallel to the crossbeam, and the length of the first detection zone is L; obtaining a linear distance p1 between the second rangefinder and the first side surface of the target vehicle; obtaining a linear distance p2 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p3 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p4 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p5 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p6 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p7 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p8 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p9 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p1 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p1 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p1 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p2 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p9 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p1 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p2 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p1 between the second rangefinder and the second side surface of the target vehicle; obtaining a linear distance p2 between the second range distance p2, wherein the first side surface and the second side surface are two opposite sides of the target vehicle; the width d of the target vehicle is calculated according to the L, the p1 and the p2; the straight-line distance p3 between the center point b of the beam and the center point a3 of the top cover of the target vehicle is obtained, wherein the a1, a2 and a3 are on the same straight line; the straight-line distance p4 between the center point b of the beam and the center point a4 of the first detection point is obtained; when the a2 and the a4 overlap, the height h of the target vehicle is calculated according to the formula h=p4-p3; the width d and the height h are compared with a preset safety threshold; and the comparison result is transmitted to the display for display.
[0014] In a fifth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps: obtaining a projection position point a2 of a chassis center point a1 of the target vehicle on the first detection zone, wherein the first detection zone is a straight detection zone located between the first column and the second column, and is respectively perpendicular to the first column and the second column, and parallel to the crossbeam, and the length of the first detection zone is L; obtaining a straight-line distance p1 between the second rangefinder and the first side of the target vehicle; obtaining a straight-line distance p2 between the second rangefinder and the second side of the target vehicle, wherein the first side and the second side are two side surfaces opposite to each other on both sides of the target vehicle; the width d of the target vehicle is calculated based on the L, the p1 and the p2; the straight-line distance p3 between the center point b of the beam and the center point a3 of the roof of the target vehicle is obtained, wherein the a1, a2 and a3 are on the same straight line; the straight-line distance p4 between the center point b of the beam and the center point a4 of the first detection point is obtained; when the a2 and the a4 overlap, the height h of the target vehicle is calculated based on the formula h=p4-p3; the width d and the height h are compared with a preset safety threshold; and the comparison result is transmitted to the display for display.
[0015] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0016] The present invention arranges a first rangefinder at the center of a crossbeam, a second rangefinder at a first column, a third rangefinder at a second column, a camera fixed on the crossbeam for photographing a target vehicle, a wireless transmitter fixed on the crossbeam, a display fixed on the crossbeam, and a fill light fixed on the crossbeam for supplementing light for the camera during photographing; and the first column and the second column are respectively arranged on both sides of a road, and the first column and the second column are parallel to each other, one end of the crossbeam is fixed on the first column, and the other end of the crossbeam is fixed on the second column, and the crossbeam is respectively perpendicular to the first column and the second column, so as to form a vehicle detection system for road safety provided by the present invention, so that when a vehicle to be detected passes through the system, the distance data of the target vehicle measured by the first rangefinder, the second rangefinder and the third rangefinder are transmitted to the display via the wireless transmitter for display, and the system has the technical characteristics of simple structure and wide applicability.
[0017] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 This is a schematic diagram of the system structure in the embodiment of this application;
[0020] Figure 2 This is a schematic diagram of the structure when the vehicle to be tested is directly below the first rangefinder in the embodiment of the present application;
[0021] Figure 3 This is a structural schematic diagram of the embodiment of the present application when the vehicle to be tested is on the left side directly below the first rangefinder;
[0022] Figure 4 This is a schematic diagram of the method flow in the embodiment of the present application;
[0023] Figure 5 This is another schematic diagram of the device structure in the embodiment of the present application;
[0024] Figure 6 This is a schematic diagram of another device structure in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] The term "and / or" in the specification and claims of the present invention and the above-mentioned drawings is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0028] Embodiment 1
[0029] See also Figure 1 Embodiment 1 of the present invention provides a vehicle detection system for road safety, the system comprising: a first rangefinder 101, a second rangefinder 102, a third rangefinder 103, a crossbeam 104, a first column 105, a second column 106, a camera 107, a wireless transmitter 108, a display 109, a fill light 110, a lightning rod 111, and a ladder 112.
[0030] The first rangefinder 101 is arranged at the center of the crossbeam 104; the second rangefinder 102 is arranged on the first column 105; the third rangefinder 103 is arranged on the second column 106; the camera 107 is fixed on the crossbeam 104; the wireless transmitter 108 is fixed on the crossbeam 104; the display 109 is fixed on the crossbeam 104; the fill light 110 is fixed on the crossbeam. The first column 105 and the second column 106 are respectively arranged on both sides of the road, the first column 105 and the second column 106 are parallel to each other, one end of the crossbeam 104 is fixed on the first column 105, and the other end of the crossbeam 104 is fixed on the second column 106, and the crossbeam 104 is perpendicular to the first column 105 and the second column 106.
[0031] Specifically, the camera 107 is used to shoot the vehicle to be detected on the road to capture the vehicle model information, license plate information and other pictures or image information, and send the pictures or image information to the display 109 for real-time display through the wireless transmitter 108. The fill light 110 is used to provide fill light for the camera 107 when the optical fiber is not good during the shooting process, such as at night or in rainy weather.
[0032] During the actual operation, the first rangefinder 101, the second rangefinder 102, and the third rangefinder 103 can perform laser ranging on the vehicle to be detected on the road, so as to respectively obtain the distance between the first rangefinder 101 and the vehicle to be detected on the road, the distance between the second rangefinder 102 and the vehicle to be detected on the road, and the distance between the third rangefinder 103 and the vehicle to be detected on the road in real time. It should be noted that in the embodiment of the present invention, the second rangefinder 102 and the third rangefinder 103 have the same vertical distance from the road surface, that is, the second rangefinder 102 and the third rangefinder 103 are at the same height relative to the ground, so as to ensure that the laser beams emitted by the second rangefinder 102 and the third rangefinder 103 to the vehicle to be detected are at the same height, so as to improve the measurement accuracy.
[0033] In addition, in the embodiment of the present invention, the first rangefinder 101 can be fixedly arranged on the crossbeam 104 by screw connection or bolt connection, and the second rangefinder 102 and the third rangefinder 103 can also be fixedly arranged on the first column 105 and the second column 106 by screw connection or bolt connection. However, as another implementation, in the embodiment of the present invention, the first rangefinder 101 can also be slidably arranged on the crossbeam 104 by pulley connection or slide rail connection, and the second rangefinder 102 and the third rangefinder 103 can also be fixedly arranged on the first column 105 and the second column 106 by pulley connection or slide rail connection. In this way, the first rangefinder 101 can slide relative to the crossbeam 104, and the second rangefinder 102 and the third rangefinder 103 can slide relative to the first column 105 and the second column 106 respectively. Because in the actual operation process, the direction of the vehicle to be detected on the road is constantly changing, that is, when the vehicle to be detected travels under the crossbeam 104, it may be just under the crossbeam 104, or it may be on the left side of the bottom of the crossbeam 104, or it may be on the right side of the bottom of the crossbeam 104. Therefore, by slidingly setting the first rangefinder 101 on the crossbeam 104, the first rangefinder 101 can be moved in the horizontal direction 104 according to the actual direction of the vehicle to be detected. Similarly, since the size and height of the vehicles to be detected are also varied, when the height of the detected vehicle is too low, it is possible that when the detected vehicle passes through the first column 105 and the second column 106, the laser beams emitted by the second rangefinder 102 and the third rangefinder 103 pass directly over the top of the detected vehicle, and it is impossible to perform laser ranging on the detected vehicle. Therefore, the second rangefinder 102 and the third rangefinder 103 are respectively and correspondingly arranged on the second column 105 and the third column 106 so as to be slidable. When the vehicle to be detected passes through the first column 105 or the second column 106, the second rangefinder 102 and the third rangefinder 103 can be slid according to the actual height of the detected vehicle, thereby improving the feasibility of measurement.
[0034] Furthermore, in the embodiment of the present invention, it also includes: a first lightning rod 111a and a second lightning rod 111b, the first lightning rod 111a is fixed at the connection position between the first column 105 and the beam 104, and the second lightning rod 111b is fixed at the connection position between the second column 106 and the beam 104.
[0035] Furthermore, in the embodiment of the present invention, a ladder 112 is also provided on the first column 105 and the second column 106, respectively, for workers to climb. Specifically, a fixed bolt can be provided on the first column 105 and / or the second column 106, and a buckle can be provided on the ladder 112, and the buckle and the bolt are connected to each other to realize the detachable fixing of the ladder 112 to the first column 105 and / or the second column 106, so as to achieve the technical effect that the ladder 112 can be disassembled, repaired, and replaced at any time. Of course, in order to improve the firmness of the connection, in the embodiment of the present invention, the ladder 112 can also be directly fixed to the first column 105 and / or the second column 106 by a fixed connection method such as screw connection or welding, so as to achieve the technical effect of improving the safety of the operation. It is worth mentioning that the embodiment of the present invention does not limit the connection method between the ladder 112 and the first column 105 and / or the second column 106. As long as the connection method that the ladder 112 can be set on the first column 105 and / or the second column 106 can be achieved, it is applicable to the present invention.
[0036] Furthermore, in an embodiment of the present invention, it also includes: a power supply, which is respectively connected to the first rangefinder 101, the second rangefinder 102, the third rangefinder 103, the camera 107, the wireless transmitter 108, the display 109, etc., so as to power the first rangefinder 101, the second rangefinder 102, the third rangefinder 103, the camera 107, the wireless transmitter 108, and the display 109.
[0037] Furthermore, in the embodiment of the present invention, it also includes: an alarm, which is fixed on the crossbeam and connected to the display. It is used to give an alarm for the over-width and over-height vehicles displayed on the display. The alarm can be an audible and visual alarm, an LED display light or a buzzer. It is worth mentioning that the embodiment of the present invention does not limit the type of alarm. As long as the alarm can realize the alarm function, it is applicable to the present invention and is within the protection scope of the present invention.
[0038] Furthermore, in the embodiment of the present invention, in order to improve the stability of the first column 105 and the second column 106, and to avoid the first column 105 and the second column 106 being easily tilted or tilted due to the small contact area between the first column 105 and the second column 106 and the road surface when the first column 105 and the second column 106 are directly fixed to the road surface, thereby affecting the measurement accuracy, the embodiment of the present invention also includes: a first support 113 and a second support 114; wherein the first support 113 and the second support 114 are symmetrically fixed on both sides of the road, and the first column 105 is fixed on the first support 113, and the second column 106 is fixed on the second support 114, so that the firmness of the first column 105 and the second column 106 is strengthened by the first support 113 and the second support 114, thereby improving the measurement accuracy.
[0039] Finally, it should be noted that in the embodiment of the present invention, the number of displays 109 is 2, and the number of wireless transmitters 108 is also 2. The two displays 109 and the two wireless transmitters 108 are respectively stacked at the two ends of the beam 104, and work separately, so as to avoid that when one display 109 fails, the other display can still continue to work, so as to ensure the normal operation of the detection work, and has the technical characteristics of high safety performance.
[0040] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0041] The present invention arranges a first rangefinder at the center of a crossbeam, a second rangefinder at a first column, a third rangefinder at a second column, a camera fixed on the crossbeam for photographing a target vehicle, a wireless transmitter fixed on the crossbeam, a display fixed on the crossbeam, and a fill light fixed on the crossbeam for supplementing light for the camera during photographing; and the first column and the second column are respectively arranged on both sides of a road, and the first column and the second column are parallel to each other, one end of the crossbeam is fixed on the first column, and the other end of the crossbeam is fixed on the second column, and the crossbeam is respectively perpendicular to the first column and the second column, so as to form a vehicle detection system for road safety provided by the present invention, so that when a vehicle to be detected passes through the system, the distance data of the target vehicle measured by the first rangefinder, the second rangefinder and the third rangefinder are transmitted to the display via the wireless transmitter for display, and the system has the technical characteristics of simple structure and wide applicability.
[0042] Embodiment 2
[0043] Embodiment 1 of the present invention provides a method for detecting vehicles for road safety. The method is applied to the system described in Embodiment 1. Figure 2-4When the target vehicle passes through the first detection zone 201, the method includes:
[0044] Step S301: Obtain the projection position point a2 of the chassis center point a1 of the target vehicle on the first detection zone, wherein the first detection zone is a linear detection zone located between the first column and the second column, and is respectively perpendicular to the first column and the second column and parallel to the crossbeam, and the length of the first detection zone is L;
[0045] Specifically, since the actual body of the target vehicle is at a certain height relative to the ground, in step S301, the projection position point a2 of the chassis center point a1 of the target vehicle on the first detection band is first obtained to determine the actual coordinate position point a2 of the target vehicle's body relative to the actual ground.
[0046] Step S302: Obtaining a straight-line distance p1 between the second rangefinder and the first side surface of the target vehicle;
[0047] Step S303: Obtaining a straight-line distance p2 between the third rangefinder and the second side of the target vehicle, wherein the first side and the second side are two opposite sides of the target vehicle;
[0048] Step S304: Calculate the width d of the target vehicle according to the L, the p1 and the p2;
[0049] When the target vehicle passes through the first detection zone 201, since the second rangefinder and the third rangefinder are at the same height, the straight-line distance p1 between the second rangefinder and the first side of the target vehicle is first obtained, and then the straight-line distance p2 between the third rangefinder and the second side of the target vehicle is obtained, and the first side and the second side are two opposite sides of the target vehicle, so that the width d of the target vehicle is calculated by L, p1 and p2. That is, the width d of the target vehicle is calculated as L-p1-p2.
[0050] Accordingly, the width d can be compared with a preset safety threshold, so the safety threshold can include a vehicle safety width threshold D. Specifically, the width d is compared with a preset vehicle safety width threshold D. If the width d is greater than the vehicle safety width threshold D, the comparison result is transmitted to the display for display. It can be understood that the vehicle safety width threshold D is the maximum allowable vehicle width when a vehicle passes through a toll road or gate as defined in road traffic safety. Obviously, when the actual width d of the vehicle is greater than the vehicle safety width threshold D, it is very easy for the vehicle to collide with a toll road or gate. Therefore, when the width d is displayed on the display as greater than the vehicle safety width threshold D, it means that the vehicle cannot safely pass through the toll road or gate ahead.
[0051] Furthermore, in order to achieve the purpose of warning, the controller can also send an alarm instruction to the alarm installed on the crossbeam through the wireless transmitter installed on the crossbeam according to the comparison result, such as controlling the alarm to sound when the alarm is a buzzer, or controlling the alarm to keep the red light on or flash when the alarm is an LED display light. In this way, the vehicle width of the vehicle to be tested can be safely monitored, and a warning can be given to play a role in safety precautions.
[0052] Step S305: Obtain the straight-line distance p3 between the center point b of the crossbeam and the center point a3 of the roof of the target vehicle, wherein a1, a2, and a3 are on the same straight line;
[0053] Among them, the reason for determining the center of the beam as point b is that the vehicle to be measured generally has three orientations when traveling on the road: left, middle or right, and no matter whether the first rangefinder is fixedly connected or slidably connected at point b, the laser beam emitted by the first rangefinder from point b when the target vehicle is on the left, or the laser beam emitted by the first rangefinder from point b when the target vehicle is on the right, has the smallest deflection range. When the target vehicle is in the middle of the road, the laser beam emitted by the first rangefinder from point b does not need to be deflected. At the same time, since a1, a2, and a3 are on the same straight line, the measured distance in the vertical direction is always maintained as a straight line distance. Thus, by selecting the center point b of the beam and setting a1, a2, and a3 on the same straight line, the two innovative designs are combined to greatly improve the measurement accuracy.
[0054] Step S306: Obtain the straight-line distance p4 between the center point b of the beam and the center point a4 of the first detection zone;
[0055] Step S307: When a2 and a4 overlap, the height h of the target vehicle is calculated according to the formula h=p4-p3;
[0056] Step S308: Compare the width d and the height h with a preset safety threshold;
[0057] Step S309: The comparison result is transmitted to the display for display.
[0058] Specifically, as described above, when a vehicle passes through the first detection zone, there are two situations:
[0059] Case 1: When a2 and a4 overlap, the height h of the target vehicle is calculated according to the formula h=p4-p3. Because a2 and a4 overlap, that is, the vehicle is just under the first rangefinder, the formula h=p4-p3 can directly calculate the height h of the target vehicle.
[0060] Case 2: When a2 and a4 do not overlap, that is, the vehicle is on the left or right of the first detection zone, the straight-line distance p5 between the center point b of the beam and a2 is obtained; according to the formula Calculate the distance p24 between a2 and a4; according to the formula Calculate the height h of the target vehicle.
[0061] Regardless of the first or second case, after the height h of the target vehicle is calculated, the height h can be compared with the preset safety threshold, so the safety threshold can include the vehicle safety height threshold H. Specifically, the height h is compared with the preset vehicle safety height threshold H. If the height h is greater than the vehicle safety height threshold H, the comparison result is transmitted to the display for display. It can be understood that the vehicle safety height threshold H is the maximum allowable vehicle width when the vehicle passes through a toll intersection or gate as specified in road traffic safety. Obviously, when the actual height h of the vehicle is greater than the vehicle safety height threshold H, it is very easy for the vehicle to collide with the toll intersection or gate. Safety accidents, therefore, when the height h is displayed on the display as greater than the vehicle safety height threshold H, it means that the vehicle cannot safely pass through the toll intersection or gate ahead.
[0062] Furthermore, in order to achieve the purpose of warning, the controller can also send an alarm instruction to the alarm installed on the crossbeam through the wireless transmitter installed on the crossbeam according to the comparison result, such as controlling the alarm to sound when the alarm is a buzzer, or controlling the alarm to keep the red light on or flash when the alarm is an LED display light. In this way, the vehicle width of the vehicle to be tested can be safely monitored, and a warning can be given to play a role in safety precautions.
[0063] It should be particularly noted that in the embodiments of the present invention, in order to achieve the technical effects of timely notification, timely transmission, and timely avoidance of danger, after the comparison results are obtained by the controller in the second embodiment of the present invention (for example, the comparison result that the width of the target vehicle exceeds the safe width of the vehicle, and the comparison result that the height of the target vehicle exceeds the safe height of the vehicle), it can be transmitted to the handheld terminal (such as a mobile phone) or remote terminal (such as a computer in the toll station operation room) of the nearest operator through the network transmission module. This is because if the staff is not on-site to check the display or alarm, it is impossible to obtain the dangerous information of over-width vehicles or over-height vehicles in time. Therefore, in order to enable remote personnel (such as staff in the toll station operation room, staff at the guard post) to obtain the dangerous information of over-width vehicles or over-height vehicles in time, the second embodiment of the present invention transmits it to the handheld terminal (such as a mobile phone) or remote terminal (such as a computer in the toll station operation room) of the nearest operator through the network transmission module, thereby further achieving the technical effect of safety protection.
[0064] Based on the same inventive concept, the embodiment of the present invention also provides a device corresponding to the method in the second embodiment, see the third embodiment.
[0065] Embodiment 3
[0066] Embodiment 2 of the present invention provides a device, which is applied to the method described in Embodiment 2, wherein the device includes:
[0067] A projection position point a2 acquisition module is configured to acquire a projection position point a2 of the chassis center point a1 of the target vehicle on the first detection zone, wherein the first detection zone is a linear detection zone located between the first column and the second column, and is respectively perpendicular to the first column and the second column and parallel to the crossbeam, and the length of the first detection zone is L;
[0068] A straight-line distance p1 acquisition module is configured to acquire a straight-line distance p1 between the second rangefinder and the first side surface of the target vehicle;
[0069] a straight-line distance p2 acquisition module, configured to acquire a straight-line distance p2 between the second rangefinder and a second side surface of the target vehicle, wherein the first side surface and the second side surface are two opposite sides of the target vehicle;
[0070] A width d calculation module, configured to calculate the width d of the target vehicle according to the L, the p1 and the p2;
[0071] A straight-line distance p3 acquisition module is configured to acquire a straight-line distance p3 between a center point b of the crossbeam and a center point a3 of a top cover of the target vehicle, wherein a1, a2, and a3 are on the same straight line;
[0072] A straight-line distance p4 acquisition module is configured to acquire a straight-line distance p4 between a central point b of the beam and a central point a4 of the first detection point;
[0073] A height h calculation module is configured to calculate the height h of the target vehicle according to a formula h=p4-p3 when a2 and a4 overlap;
[0074] A comparison module, configured to compare the width d and the height h with a preset safety threshold;
[0075] The display module is configured to transmit the comparison result to the display for display.
[0076] Optional,
[0077] The preset safety thresholds include: a vehicle safety width threshold D and a vehicle safety height threshold H;
[0078] The comparison module comprises:
[0079] A first submodule is configured to compare the width d with a preset vehicle safety width threshold D, and if the width d is greater than the vehicle safety width threshold D, the comparison result includes that the width of the target vehicle exceeds the vehicle safety width;
[0080] The second submodule is configured to compare the height h with a preset vehicle safety height threshold H. If the width h is greater than the vehicle safety height threshold H, the comparison result includes that the height of the target vehicle exceeds the vehicle safety height.
[0081] Since the device introduced in the third embodiment of the present invention is a device used to implement the method of the second embodiment of the present invention, those skilled in the art can understand the specific structure and deformation of the device based on the method introduced in the first embodiment of the present invention, so it is not described here in detail. All devices used in the method of the second embodiment of the present invention belong to the scope of protection of the present invention.
[0082] Embodiment 4
[0083] It should be noted that, based on the same inventive concept as the above-mentioned embodiments 1, 2 and 3, embodiment 5 of the present invention provides a device, including: a radio frequency (RF) circuit 310, a memory 320, an input unit 330, a display unit 340, an audio circuit 350, a WiFi module 360, a processor 370, and a power supply 380. Among them, the memory 320 stores a computer program that can be run on the processor 370, and when the processor 370 executes the computer program, the following steps in embodiment 2 are implemented:
[0084] Obtaining a projection position point a2 of the center point a1 of the chassis of the target vehicle on the first detection zone, wherein the first detection zone is a linear detection zone located between the first column and the second column, and is respectively perpendicular to the first column and the second column and parallel to the crossbeam, and the length of the first detection zone is L;
[0085] Obtaining a straight-line distance p1 between the second rangefinder and the first side surface of the target vehicle;
[0086] Obtaining a straight-line distance p2 between the second rangefinder and a second side surface of the target vehicle, wherein the first side surface and the second side surface are two opposite sides of the target vehicle;
[0087] Calculating the width d of the target vehicle according to the L, the p1 and the p2;
[0088] Obtaining a straight-line distance p3 between a center point b of the crossbeam and a center point a3 of a roof of the target vehicle, wherein a1, a2, and a3 are on the same straight line;
[0089] Obtaining a straight-line distance p4 between a center point b of the beam and a center point a4 of the first detection point;
[0090] When a2 and a4 overlap, the height h of the target vehicle is calculated according to the formula h=p4-p3;
[0091] Compare the width d and the height h with a preset safety threshold;
[0092] The comparison result is transmitted to the display for display.
[0093] In the specific implementation process, when the processor executes the computer program, any implementation method in Embodiment 2 or 3 can be implemented.
[0094] Combine the following Figure 5 A detailed introduction to the various components of computer equipment:
[0095] The RF circuit 310 can be used for receiving and sending signals, and in particular, after receiving the downlink information of the base station, it is processed by the processor 370. Generally, the RF circuit 310 includes but is not limited to at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.
[0096] The memory 320 can be used to store software programs and modules. The processor 370 executes various functional applications and data processing of the computer device by running the software programs and modules stored in the memory 320. The memory 320 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the computer device, etc. In addition, the memory 320 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0097] The input unit 330 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the computer device. Specifically, the input unit 330 may include a keyboard 331 and other input devices 332. The keyboard 331 can collect the user's input operations on it and drive the corresponding connection device according to a pre-set program. The keyboard 331 collects the output information and then sends it to the processor 370. In addition to the keyboard 331, the input unit 330 may also include other input devices 332. Specifically, other input devices 332 may include, but are not limited to, one or more of a touch panel, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0098] The display unit 340 can be used to display information input by the user or information provided to the user and various menus of the computer device. The display unit 340 may include a display panel 341. Optionally, the display panel 341 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the keyboard 331 may cover the display panel 341. When the keyboard 331 detects a touch operation on or near it, it is transmitted to the processor 370 to determine the type of touch event. Subsequently, the processor 370 provides a corresponding visual output on the display panel 341 according to the type of input event. Although in Figure 3The keyboard 331 and the display panel 341 are two independent components to implement the input and output functions of the computer device, but in some embodiments, the keyboard 331 and the display panel 341 can be integrated to implement the input and output functions of the computer device.
[0099] The audio circuit 350, the speaker 351, and the microphone 352 can provide an audio interface between the user and the computer device. The audio circuit 350 can transmit the electrical signal converted from the received audio data to the speaker 351, which is converted into a sound signal for output;
[0100] WiFi is a short-range wireless transmission technology. Computer devices can help users send and receive emails, browse web pages, and access streaming media through WiFi modules 360. It provides users with wireless broadband Internet access. Figure 4 A WiFi module 360 is shown, but it is understandable that it is not an essential component of the computer device and can be omitted as needed without changing the essence of the invention.
[0101] The processor 370 is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 320, and calling data stored in the memory 320, the processor 370 performs various functions of the computer device and processes data, thereby monitoring the computer device as a whole. Optionally, the processor 370 may include one or more processing units; preferably, the processor 370 may integrate an application processor, wherein the application processor mainly processes the operating system, user interface, and application programs.
[0102] The computer device also includes a power supply 380 (such as a power adapter) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 370 through a power management system.
[0103] Embodiment 5
[0104] Based on the same inventive concept, Figure 6 As shown, this fifth embodiment provides a computer-readable storage medium 400, on which a computer program 411 is stored. When the computer program 411 is executed by a processor, the following steps in the second embodiment are implemented:
[0105] Obtaining a projection position point a2 of the center point a1 of the chassis of the target vehicle on the first detection zone, wherein the first detection zone is a linear detection zone located between the first column and the second column, and is respectively perpendicular to the first column and the second column and parallel to the crossbeam, and the length of the first detection zone is L;
[0106] Obtaining a straight-line distance p1 between the second rangefinder and the first side surface of the target vehicle;
[0107] Obtaining a straight-line distance p2 between the second rangefinder and a second side surface of the target vehicle, wherein the first side surface and the second side surface are two opposite sides of the target vehicle;
[0108] Calculating the width d of the target vehicle according to the L, the p1 and the p2;
[0109] Obtaining a straight-line distance p3 between a center point b of the crossbeam and a center point a3 of a roof of the target vehicle, wherein a1, a2, and a3 are on the same straight line;
[0110] Obtaining a straight-line distance p4 between a center point b of the beam and a center point a4 of the first detection point;
[0111] When a2 and a4 overlap, the height h of the target vehicle is calculated according to the formula h=p4-p3;
[0112] Compare the width d and the height h with a preset safety threshold;
[0113] The comparison result is transmitted to the display for display.
[0114] Those skilled in the art will understand that Figure 4 The device structure shown in the figure does not constitute a limitation on the device itself, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0115] In the specific implementation process, when the computer program 411 is executed by a processor, any implementation method in Embodiments 2, 3, and 4 can be implemented.
[0116] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0117] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0118] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0119] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0120] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0121] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0124] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0125] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, if these modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A vehicle detection method for road safety, Features: The method is applied to a system, and the system comprises: A first distance meter, wherein the first distance meter is arranged at the center of the crossbeam, and the first distance meter is slidably arranged on the crossbeam through a pulley connection or a slide rail connection; A second distance meter, the second distance meter is arranged on the first column, and the second distance meter is slidably arranged on the first column through a pulley connection or a slide rail connection; A third distance meter, the third distance meter is arranged on the second column, and the third distance meter is slidably arranged on the second column through a pulley connection or a slide rail connection; A camera, the camera is fixed on the crossbeam and is used to photograph the target vehicle; A wireless transmitter, wherein the wireless transmitter is fixed on the crossbeam; A display, the display being fixed on the crossbeam, so that the distance data of the target vehicle measured by the first rangefinder, the second rangefinder, and the third rangefinder are transmitted to the display via the wireless transmitter for display; A fill light, which is fixed on the crossbeam and is used to provide fill light for the camera during shooting; The first column and the second column are respectively arranged on both sides of the road, and the first column and the second column are parallel to each other, one end of the crossbeam is fixed on the first column, and the other end of the crossbeam is fixed on the second column, and the crossbeam is respectively perpendicular to the first column and the second column; A ladder is provided on the first column; and / or, A ladder is provided on the second column; Also includes: a first lightning rod, wherein the first lightning rod is fixed at a connection portion between the first column and the crossbeam; a second lightning rod, the second lightning rod being fixed at a connection portion between the second column and the crossbeam; Wherein, when the target vehicle passes through the first detection zone, the method includes: Obtaining a projection position point a2 of the center point a1 of the chassis of the target vehicle on the first detection zone, wherein the first detection zone is a linear detection zone located between the first column and the second column, and is respectively perpendicular to the first column and the second column and parallel to the crossbeam, and the length of the first detection zone is L; Obtaining a straight-line distance p1 between the second rangefinder and the first side surface of the target vehicle; Obtaining a straight-line distance p2 between the third rangefinder and a second side surface of the target vehicle, wherein the first side surface and the second side surface are two opposite sides of the target vehicle; Calculating the width d of the target vehicle according to the L, the p1 and the p2; Obtaining a straight-line distance p3 between a center point b of the crossbeam and a center point a3 of a roof of the target vehicle, wherein a1, a2, and a3 are on the same straight line; Obtaining a straight-line distance p4 between a center point b of the beam and a center point a4 of the first detection zone; When a2 and a4 overlap, the height h of the target vehicle is calculated according to the formula h=p4-p3; Compare the width d and the height h with a preset safety threshold; and transmitting the comparison result to a display for display; The preset safety thresholds include: a vehicle safety width threshold D and a vehicle safety height threshold H; The comparing the width d and the height h with a preset safety threshold comprises: Comparing the width d with a preset vehicle safety width threshold D, if the width d is greater than the vehicle safety width threshold D, the comparison result includes that the width of the target vehicle exceeds the vehicle safety width; Comparing the height h with a preset vehicle safety height threshold H, if the height h is greater than the vehicle safety height threshold H, the comparison result includes that the height of the target vehicle exceeds the vehicle safety height; When a2 and a4 do not overlap, a straight-line distance p5 between the center point b of the beam and a2 is obtained; According to the formula Calculate the distance p24 between a2 and a4; According to the formula Calculate the height h of the target vehicle.
Citation Information
Patent Citations
Vehicle over-width over-height detecting apparatus and detection method
CN104964662A
A vehicle detection system for road safety
CN209401165U
