Traffic cruise control method in multiple scenarios based on multi-sensor data fusion

Through multi-sensor data fusion and NPU hardware processing, the intelligent traffic cruiser's autonomous obstacle avoidance and multi-scenario dynamic strategy research and judgment are realized, which solves the problems of autonomous obstacle avoidance and single applicable scenario in the existing technology, and improves the level of traffic intelligence.

CN114371693BActive Publication Date: 2024-10-25JIANGSU GENTURE ELECTRONICS INFORMATION SERVICE CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202111420880.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2024-10-25
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

Existing intelligent traffic cruisers cannot autonomously avoid obstacles after target recognition. The control method has a single scalability and applicable scenario, and requires a large number of video signal inputs, which cannot meet the traffic needs in multiple scenarios.

Method used

A multi-sensor data fusion method is adopted, including ultrasonic and infrared sensors to collect obstacle distance information, cameras for target recognition, NPU board hardware deployment models, image coordinate information processing and data fusion analysis, and different scene data combined for obstacle avoidance judgment and Action execution to achieve autonomous obstacle avoidance.

Benefits of technology

It achieves autonomous obstacle avoidance without video signal input, can study and judge dynamic strategies based on different scenarios, maintain traffic order, reduce human resource investment, and promote traffic intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114371693B_ABST
    Figure CN114371693B_ABST
Patent Text Reader

Abstract

The present invention relates to a traffic cruiser control method in multiple scenarios based on multi-sensor data fusion, which belongs to the field of intelligent transportation technology. Ultrasonic and infrared sensors collect distance information; cameras collect real-time video data; models are deployed on NPU board hardware; data fusion analysis and processing; obstacle avoidance judgment execution; traffic cruiser execution commands in different scenarios; and redundant data cleaning and data updating. The present invention can identify a variety of traffic data by fusing environmental information data collected by ultrasonic and infrared sensors, deploy the model on the NPU board hardware, identify surrounding obstacles, and can autonomously complete obstacle avoidance when there is no video signal input to the system. At the same time, it can complete dynamic strategy research and judgment in multiple scenarios according to different scene information, play a role in maintaining traffic order, reduce the investment of human resources, and promote intelligent transportation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a traffic cruiser control method in multiple scenarios based on multi-sensor data fusion, belonging to the technical field of intelligent transportation. Background Art

[0002] Recently, intelligent traffic cruisers have been increasingly used in the transportation field, but their efficiency and effectiveness cannot meet the requirements of the transportation field. The main problems are: 1. They can realize basic target recognition functions but cannot further realize selective obstacle avoidance based on the target recognition results; 2. The control methods used by existing robots in the transportation field are not scalable, the applicable scenarios are single, and they cannot perform different actions according to different scenarios; 3. A large amount of video signal input is required.

[0003] The embedded neural network processor NPU adopts the "data-driven parallel computing" architecture and is particularly good at processing massive multimedia data such as videos and images.

[0004] Therefore, a traffic civilization cruiser capable of autonomous obstacle avoidance is needed. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a traffic cruise control method in multiple scenarios based on multi-sensor data fusion, and its specific technical solution is as follows:

[0006] A traffic cruise control method in multiple scenarios based on multi-sensor data fusion, comprising the following steps:

[0007] Step 1: Ultrasonic sensors and infrared sensors collect obstacle distance information around the traffic cruiser and analyze it;

[0008] Step 2: The camera collects real-time video data, including traffic information of the environment in which the traffic cruiser is located, and performs target recognition, wherein the traffic information includes traffic signs, traffic lights and pedestrians;

[0009] Step 3: Deploy the model on the NPU board hardware. The model input is the video stream image, and the model output is the image coordinate information, which includes the upper left corner coordinates (X1, Y1) and the lower right corner coordinates (X2, Y2) of the detection target.

[0010] Step 4: Data fusion analysis and processing: Compare the statistical data on the left side of the image source with the target obstacle detected by ultrasonic wave in the left front, and compare the statistical data on the right side of the image source with the target obstacle detected by ultrasonic wave in the right front, and classify the target obstacle;

[0011] Step 5: Obstacle avoidance judgment execution: According to the distance between the traffic cruiser and the obstacle target and the set safety distance S between the traffic cruiser and the surrounding objects, the main control module issues an execution instruction and outputs the corresponding obstacle avoidance action;

[0012] Step 6: The main control module gives a specified command to the traffic cruiser according to the data processing results of different scenarios, and the traffic cruiser takes corresponding actions.

[0013] Step 7: Clean up redundant data and update data.

[0014] Furthermore, the specific process of step 1 is as follows:

[0015] Step 1.1: Install an infrared sensor on the left and right sides of the front of the traffic cruiser, and install an ultrasonic sensor on the left front, right front, left side, and right side of the traffic cruiser;

[0016] Step 1.2: Assume that the distance from the left front sensor to the obstacle is d1, and the distance from the right front sensor to the obstacle is d2. Calculate the obstacle distance D=max(d1,d2) based on the reflection data of the infrared sensor.

[0017] Step 1.3: Calculate the obstacle data of the left front, right front, left side and right side detected by the ultrasonic sensor and perform statistics on the detected targets separately.

[0018] Furthermore, the specific process of step 2 is as follows:

[0019] Step 2.1: Cut the video stream into separate frames. The width of the image is W, the height is H, the center of the image is the coordinate origin, and the coordinates of the upper right corner of the image are (W / 2, H / 2);

[0020] Step 2.2: Classify the target according to the target contour and feature point information, number and track the human targets, mark the non-human obstacles, and perform subsequent processing on the traffic signs.

[0021] Furthermore, the specific process of data fusion analysis in step 4 is as follows:

[0022] Step 4.1: When the target information X1+X2<0, count the target in the left obstacle, and the left target width is L1. During the movement and turning process, update L1=max(L1,X2-X1) in real time;

[0023] Step 4.2: When the target information X1+X2>0, the target is counted in the right obstacle, and the right target width is L2. During the movement and turning process, L2=max(L2,X2-X1) is updated in real time;

[0024] Step 4.3: When the target information X1+X2=0, the target is counted on the side with more targets according to the current cumulative number of targets on the left and right sides. If the current number of targets on both sides is equal, the target is added to the side with the larger total obstacle target width L.

[0025] Furthermore, the specific process of executing the obstacle avoidance judgment in step 5 is as follows:

[0026] Step 5.1: Set the safe distance S between the traffic cruiser and the obstacle target. When it is determined that the distance between the traffic cruiser and the obstacle target is less than S, stop moving forward and perform a turning action, specifically:

[0027] Step 5.1.1: When the distance between the traffic cruiser and the obstacle target on the left is less than S, turn 60° to the right;

[0028] Step 5.1.2: When the distance between the traffic cruiser and the obstacle target on the right is less than S, turn 60° to the left;

[0029] Step 5.1.3: When the distance between the traffic cruiser and the obstacle target on both sides is less than S, obtain the ultrasonic detection data on the left and right sides, compare the ultrasonic detection data on the left and right sides, and turn 120° to the side with the smaller result;

[0030] Step 5.2: When it is determined that the distance between the traffic cruiser and the obstacle target is greater than S, the infrared and left and right ultrasonic data are traversed to determine the visual blind spot situation and decide whether to slow down or stop.

[0031] Furthermore, the different scenarios of step 6 include patrol scenarios and traffic light intersection scenarios.

[0032] In patrol scenarios, the route is identified as a pedestrian lane or a motor vehicle lane based on the lane line and lane number of traffic factor information. If the route type is determined to be a motor vehicle lane, the traffic cruiser will only focus on pedestrians when it does not perform a turning action. Once a pedestrian is identified, a warning voice will be issued to the pedestrian.

[0033] In the traffic light intersection scenario, when the traffic light is red, facial recognition is performed on pedestrians who violate traffic rules and records are kept; when the traffic light is yellow, an alarm is triggered if pedestrians are detected appearing on the zebra crossing; when the traffic light is green, no pedestrian detection is performed.

[0034] Furthermore, the violation of traffic rules includes running a red light, and the method for determining the running a red light is:

[0035] a. When in an intersection scene and the traffic sign is recognized as a red light and the red light label is retained, the numbered labels are retained for pedestrian targets within the intersection;

[0036] b. Keep the feature position information of the current frame , and the feature position information of the same number in the previous frame Make comparisons;

[0037] c. Get N groups of zebra crossing data of the current frame , the slope of a zebra crossing , take the slope of the zebra crossings at both ends of the intersection ;

[0038] d. Draw a straight line with a slope of The slope is The straight line , and Hand in , find the distance ,

[0039] e. Determine the range of zebra crossing , , when t exceeds the set threshold If the replace .

[0040] Furthermore, the redundant data cleaning and data updating in step 7 are specifically performed as follows:

[0041] Step 7.1: Clear the target data of obstacles that are judged to affect the execution of the action

[0042] Step 7.1.1: Clear the location information and distance information of the obstacle avoided after turning;

[0043] Step 7.1.2: Reset the initialization d1, d2, D of the infrared distance position, and reset the L1, L2 width parameters;

[0044] Step 7.2: retain the lane conditions, update and replace the identification data of the traffic light conditions and traffic signs, and clear the replaced historical data, specifically: retain the traffic labels of the current frame image, and delete the traffic labels that appeared in the previous frame but not in the current frame;

[0045] Step 7.3: Cache the information identified as human targets, retain the data before updating and replacing, and delete the retained tracking target number and position information when the tracking target is finished.

[0046] The beneficial effects of the present invention are as follows: the present invention can identify a variety of traffic data by fusing environmental information data collected by ultrasonic and infrared sensors, deploy the model on the NPU board hardware, identify surrounding obstacles, and autonomously complete obstacle avoidance when there is no video signal input to the system. At the same time, it can complete dynamic strategy analysis in multiple scenarios based on different scene information, play a role in maintaining traffic order, reduce human resource investment, and promote intelligent transportation. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flow chart of the control method of the present invention,

[0048] Figure 2 is a schematic diagram of image coordinates of the present invention,

[0049] Figure 3 is the obstacle target calculation flow chart of the present invention,

[0050] Figure 4 is a patrol scene execution flow chart of the present invention,

[0051] Figure 5 is a flow chart of executing the traffic light scene of the present invention,

[0052] Figure 6 It is a schematic diagram of red light running judgment in the traffic light scenario of the present invention. DETAILED DESCRIPTION

[0053] The present invention will now be further described in detail in conjunction with the accompanying drawings. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0054] like Figure 1 As shown, the traffic cruise control method in multiple scenarios based on multi-sensor data fusion of the present invention includes the following steps:

[0055] Step 1: Ultrasonic sensors and infrared sensors collect obstacle distance information around the traffic cruiser and analyze it;

[0056] Step 1.1: Install an infrared sensor on the left and right sides of the front of the traffic cruiser, and install an ultrasonic sensor on the left front, right front, left side, and right side of the traffic cruiser;

[0057] Step 1.2: Assume that the distance from the left front sensor to the obstacle is d1, and the distance from the right front sensor to the obstacle is d2. Calculate the obstacle distance D=max(d1,d2) based on the reflection data of the infrared sensor.

[0058] Step 2: The camera collects real-time video data, including traffic information of the environment in which the traffic cruiser is located, and performs target recognition, wherein the traffic information includes traffic signs, traffic lights and pedestrians;

[0059] Step 2.1: Figure 2 As shown, the video stream is intercepted into separate frames, the obtained image width is W, the height is H, the center of the image is the coordinate origin, and the coordinates of the upper right corner of the image are (W / 2, H / 2);

[0060] Step 2.2: Target classification is performed based on target contours and feature point information, human targets are numbered and tracked, non-human obstacles are marked, and traffic signs are subsequently processed;

[0061] Step 3: Deploy the model on the NPU board hardware. The model input is the video stream image, and the model output is the image coordinate information such as Figure 2 As shown, the image coordinate information includes the upper left corner coordinates (X1, Y1) and the lower right corner coordinates (X2, Y2) of the detection target;

[0062] Step 4: Data fusion analysis and processing: According to Figure 3 As shown in the flowchart, the statistical data on the left side of the image source is compared with the ultrasonic detection obstacle in the left front, and the statistical data on the right side of the image source is compared with the ultrasonic detection obstacle in the right front, and the target obstacle is classified;

[0063] Step 4.1: When the target information X1+X2<0, count the target in the left obstacle, and the left target width is L1. During the movement and turning process, update L1=max(L1,X2-X1) in real time;

[0064] Step 4.2: When the target information X1+X2>0, the target is counted in the right obstacle, and the right target width is L2. During the movement and turning process, L2=max(L2,X2-X1) is updated in real time;

[0065] Step 4.3: When the target information X1+X2=0, the target is counted on the side with more targets according to the current cumulative number of targets on the left and right sides. If the current number of targets on both sides is equal, the target is added to the side with the larger total obstacle target width L;

[0066] like Figure 3 As shown, in the image information obtained by the traffic cruiser, the target information X1+X2>0, so the target is counted in the right obstacle, and the right target width is L2. During the movement and turning process, L2=max(L2,X2-X1) is updated in real time;

[0067] Step 5: Obstacle avoidance judgment execution: According to the distance between the traffic cruiser and the obstacle target and the set safety distance S between the traffic cruiser and the surrounding objects, the main control module issues an execution instruction and outputs the corresponding obstacle avoidance action;

[0068] Step 5.1: Set the safe distance S between the traffic cruiser and the obstacle target. When it is determined that the distance between the traffic cruiser and the obstacle target is less than S, stop moving forward and perform a turning action, specifically:

[0069] Step 5.1.1: When the distance between the traffic cruiser and the obstacle target on the left is less than S, turn 60° to the right;

[0070] Step 5.1.2: When the distance between the traffic cruiser and the obstacle target on the right is less than S, turn 60° to the left;

[0071] Step 5.1.3: When the distance between the traffic cruiser and the obstacle target on both sides is less than S, obtain the ultrasonic detection data on the left and right sides, compare the ultrasonic detection data on the left and right sides, and turn 120° to the side with the smaller result;

[0072] Step 5.2: When it is determined that the distance between the traffic cruiser and the obstacle target is greater than S, the infrared and left and right ultrasonic data are traversed to determine the visual blind spot and decide whether to slow down or stop;

[0073] Step 6: The main control module gives a specified command to the traffic cruiser according to the data processing results of different scenarios, and the traffic cruiser takes corresponding actions;

[0074] like Figure 4 The control flow chart of the traffic cruiser in the patrol scenario shown in the figure identifies the route as a pedestrian lane or a motor vehicle lane according to the lane line and lane number of traffic factor information. If the route type is determined to be a motor vehicle lane, the traffic cruiser will only focus on pedestrians when it does not perform a turning action. Once a pedestrian is identified, a warning voice will be issued to the pedestrian.

[0075] like Figure 5 The traffic cruise control flow chart for the traffic light intersection scenario is shown. When the traffic light is red, facial recognition is performed on pedestrians who violate traffic rules and records are kept for filing; when the traffic light is yellow, an alarm is triggered if pedestrians are detected on the zebra crossing; when the traffic light is green, no pedestrian detection is performed.

[0076] like Figure 6 As shown in the figure, the method for judging whether a pedestrian runs a red light is as follows:

[0077] a. When in an intersection scene and the traffic sign is recognized as a red light and the red light label is retained, the numbered labels are retained for pedestrian targets within the intersection;

[0078] b. Keep the feature position information of the current frame , and the feature position information of the same number in the previous frame Make comparisons;

[0079] c. Get N groups of zebra crossing data of the current frame , the slope of a zebra crossing , take the slope of the zebra crossings at both ends of the intersection ;

[0080] d. Draw a straight line with a slope of The slope is The straight line , and Hand in , find the distance ,

[0081] e. Determine the range of zebra crossing , , when t exceeds the set threshold If the replace .

[0082] Step 7: Redundant data cleaning and data update

[0083] Step 7.1: Clear the target data of obstacles that are judged to affect the execution of the action

[0084] Step 7.1.1: Clear the location information and distance information of the obstacle avoided after turning;

[0085] Step 7.1.2: Reset the initialization d1, d2, D of the infrared distance position, and reset the L1, L2 width parameters;

[0086] Step 7.2: retain the lane conditions, update and replace the identification data of the traffic light conditions and traffic signs, and clear the replaced historical data, specifically: retain the traffic labels of the current frame image, and delete the traffic labels that appeared in the previous frame but not in the current frame;

[0087] Step 7.3: Cache the information identified as human targets, retain the data before updating and replacing, and delete the retained tracking target number and position information when the tracking target is finished.

[0088] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A traffic cruise control method in multiple scenarios based on multi-sensor data fusion, characterized by: The following steps are involved: Step 1: Ultrasonic sensors and infrared sensors collect obstacle distance information around the traffic cruiser and analyze it; The specific process of step 1 is as follows: Step 1.1: Install an infrared sensor on the left and right sides of the front of the traffic cruiser, and install an ultrasonic sensor on the left front, right front, left side, and right side of the traffic cruiser; Step 1.2: Assume that the distance from the left front sensor to the obstacle is d1, and the distance from the right front sensor to the obstacle is d2. Calculate the obstacle distance D=max(d1,d2) based on the reflection data of the infrared sensor. Step 1.3: Calculate the obstacle data of the left front side, right front side, left side and right side detected by the ultrasonic sensor and perform statistics on the detected targets separately; Step 2: The camera collects real-time video data, including traffic information of the environment in which the traffic cruiser is located, and performs target recognition, wherein the traffic information includes traffic signs, traffic lights and pedestrians; The specific process of step 2 is as follows: Step 2.1: Cut the video stream into separate frames. The width of the image is W, the height is H, the center of the image is the coordinate origin, and the coordinates of the upper right corner of the image are (W / 2, H / 2); Step 2.2: Target classification is performed based on target contours and feature point information, human targets are numbered and tracked, non-human obstacles are marked, and traffic signs are subsequently processed; Step 3: Deploy the model on the NPU board hardware. The model input is the video stream image, and the model output is the image coordinate information, which includes the upper left corner coordinates (X1, Y1) and the lower right corner coordinates (X2, Y2) of the detection target. Step 4: Data fusion analysis and processing: Compare the statistical data on the left side of the image source with the target obstacle detected by ultrasonic wave in the left front, and compare the statistical data on the right side of the image source with the target obstacle detected by ultrasonic wave in the right front, and classify the target obstacle; The specific process of data fusion analysis and processing in step 4 is as follows: Step 4.1: When the target information X1+X2<0, count the target in the left obstacle, and the left target width is L1. During the movement and turning process, update L1=max(L1,X2-X1) in real time; Step 4.2: When the target information X1+X2>0, the target is counted in the right obstacle, and the right target width is L2. During the movement and turning process, L2=max(L2,X2-X1) is updated in real time; Step 4.3: When the target information X1+X2=0, the target is counted on the side with more targets according to the current cumulative number of targets on the left and right sides. If the current number of targets on both sides is equal, the target is added to the side with the larger total obstacle target width L; Step 5: Obstacle avoidance judgment execution: According to the distance between the traffic cruiser and the obstacle target and the set safety distance S between the traffic cruiser and the surrounding objects, the main control module issues an execution instruction and outputs the corresponding obstacle avoidance action; The specific process of obstacle avoidance judgment execution in step 5 is as follows: Step 5.1: Set the safe distance S between the traffic cruiser and the obstacle target. When it is determined that the distance between the traffic cruiser and the obstacle target is less than S, stop moving forward and perform a turning action, specifically: Step 5.1.1: When the distance between the traffic cruiser and the obstacle target on the left is less than S, turn 60° to the right; Step 5.1.2: When the distance between the traffic cruiser and the obstacle target on the right is less than S, turn 60° to the left; Step 5.1.3: When the distance between the traffic cruiser and the obstacle target on both sides is less than S, obtain the ultrasonic detection data on the left and right sides, compare the ultrasonic detection data on the left and right sides, and turn 120° to the side with the smaller result; Step 5.2: When it is determined that the distance between the traffic cruiser and the obstacle target is greater than S, the infrared and left and right ultrasonic data are traversed to determine the visual blind spot and decide whether to slow down or stop; Step 6: The main control module gives a specified command to the traffic cruiser according to the data processing results of different scenarios, and the traffic cruiser takes corresponding actions; The different scenarios of step 6 include patrol scenarios and traffic light intersection scenarios. In patrol scenarios, the route is identified as a pedestrian lane or a motor vehicle lane based on the lane line and lane number of traffic factor information. If the route type is determined to be a motor vehicle lane, the traffic cruiser will only focus on pedestrians when it does not perform a turning action. Once a pedestrian is identified, a warning voice will be issued to the pedestrian. At traffic light intersections, when the traffic light is red, facial recognition is performed on pedestrians who violate traffic rules and a record is kept; when the traffic light is yellow, an alarm is triggered if a pedestrian is detected on the zebra crossing; when the traffic light is green, no pedestrian detection is performed; The violation of traffic rules includes running a red light, and the determination method of the running a red light is as follows: a. When in an intersection scene and the traffic sign is recognized as a red light and the red light label is retained, the numbered labels are retained for pedestrian targets within the intersection; b. Keep the feature position information of the current frame , and the feature position information of the same number in the previous frame Make comparisons; c. Get N groups of zebra crossing data of the current frame , the slope of a zebra crossing , take the slope of the zebra crossings at both ends of the intersection ; d. The slope is The straight line , Pass The slope is The straight line , and Hand in , find the distance , e. Determine the range of zebra crossing , when t exceeds the set threshold T m If the replace ; Step 7: Clean up redundant data and update data; The redundant data cleaning and data updating in step 7 are specifically as follows: Step 7.1: Clear the target data of obstacles that are judged to affect the execution of the action Step 7.1.1: Clear the location information and distance information of the obstacle avoided after turning; Step 7.1.2: Reset the initialization d1, d2, D of the infrared distance position, and reset the L1, L2 width parameters; Step 7.2: retain the lane conditions, update and replace the identification data of the traffic light conditions and traffic signs, and clear the replaced historical data, specifically: retain the traffic labels of the current frame image, and delete the traffic labels that appeared in the previous frame but not in the current frame; Step 7.3: Cache the information identified as human targets, retain the data before updating and replacing, and delete the retained tracking target number and position information when the tracking target is finished.

Citation Information

Patent Citations

  • Robot autonomous barrier avoiding method and device

    CN106054889A

  • Wheel-type moving robot obstacle-avoiding control system based on multi-sensor information fusion

    CN106383515A

  • IMU-based visual obstacle detection false alarm elimination method

    CN108230392A

  • Intelligent automatic tracking robot system and method

    CN109986605A

  • Intelligent vehicle searching method, device and system, server and cruise intelligent equipment

    CN110766973A