[go: up one dir, main page]

CN106774328A - A kind of automated driving system and method based on road Identification - Google Patents

A kind of automated driving system and method based on road Identification Download PDF

Info

Publication number
CN106774328A
CN106774328A CN201611214453.XA CN201611214453A CN106774328A CN 106774328 A CN106774328 A CN 106774328A CN 201611214453 A CN201611214453 A CN 201611214453A CN 106774328 A CN106774328 A CN 106774328A
Authority
CN
China
Prior art keywords
steering wheel
car
gear
worm
micro
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611214453.XA
Other languages
Chinese (zh)
Inventor
黄文恺
朱静
莫国志
李嘉锐
练汉权
韩晓英
江吉昌
伍冯洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou University
Original Assignee
Guangzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou University filed Critical Guangzhou University
Priority to CN201611214453.XA priority Critical patent/CN106774328A/en
Publication of CN106774328A publication Critical patent/CN106774328A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0246Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0259Control of position or course in two dimensions specially adapted to land vehicles using magnetic or electromagnetic means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0268Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • G05D1/0278Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle using satellite positioning signals, e.g. GPS

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Electromagnetism (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Traffic Control Systems (AREA)
  • Steering Control In Accordance With Driving Conditions (AREA)

Abstract

本发明公开了一种基于道路识别的自动驾驶系统及方法,所述系统包括摄像头、GPS定位模块、汽车方向盘自动控制装置和微控制单元,所述摄像头、GPS定位模块和汽车方向盘自动控制装置分别与微控制单元相连;所述摄像头有多个,多个摄像头放置在汽车车身各处,用于全方位采集汽车周围环境信息;所述GPS定位模块安装在汽车车身内部,用于采集位置信息;所述微控制单元,用于根据摄像头采集的图像信息,识别出汽车是否偏离正确路线压线行驶,并根据GPS定位模块采集的位置信息,通过方向盘自动控制装置对汽车进行控制,使汽车回到正确的路线上行驶。本发明可以实现无人车的自动驾驶,无需人工干预在特定的公路上行使,以及实现自动驾驶和手动驾驶的切换模式。

The invention discloses an automatic driving system and method based on road recognition. The system includes a camera, a GPS positioning module, an automatic steering wheel control device and a micro control unit. The camera, the GPS positioning module and an automatic steering wheel control device are respectively It is connected with the micro control unit; there are multiple cameras, and the multiple cameras are placed in various parts of the car body for all-round collection of the surrounding environment information of the car; the GPS positioning module is installed inside the car body for collecting position information; The micro-control unit is used to identify whether the car deviates from the correct route and press the line according to the image information collected by the camera, and control the car through the steering wheel automatic control device according to the position information collected by the GPS positioning module, so that the car returns to Drive on the correct route. The invention can realize the automatic driving of the unmanned vehicle, drive on a specific road without manual intervention, and realize the switching mode of automatic driving and manual driving.

Description

一种基于道路识别的自动驾驶系统及方法A road recognition-based automatic driving system and method

技术领域technical field

本发明涉及一种自动驾驶系统及方法,尤其是一种基于道路识别的自动驾驶系统及方法,属于无人车自动驾驶领域。The invention relates to an automatic driving system and method, in particular to an automatic driving system and method based on road recognition, belonging to the field of automatic driving of unmanned vehicles.

背景技术Background technique

随着社会的进步,我国居民生活水平不断提高,汽车已成为我们不能缺少的重要交通工具。但由于车辆不断增多,伴随而来的城市拥堵成为了生活中的一大问题,并对我们的出行造成极大的不方便。同时,伴随着智能时代的到来,物联网得到了迅猛发展,交通系统也趋于智能化。而自动驾驶系统将极大的减少城市拥堵问题,自动驾驶汽车对社会、驾驶员和行人均有益处。自动驾驶汽车将能有效减少人为驾驶失误,交通事故发生率几乎可以下降至零,节约交通拥堵成本。Along with the progress of the society, the living standard of the residents in our country is continuously improved, and the automobile has become an important means of transportation that we cannot live without. However, due to the increasing number of vehicles, the accompanying urban congestion has become a major problem in life and has caused great inconvenience to our travel. At the same time, with the advent of the intelligent era, the Internet of Things has developed rapidly, and the transportation system has also become more intelligent. The self-driving system will greatly reduce urban congestion, and self-driving cars are beneficial to society, drivers and pedestrians. Self-driving cars will effectively reduce human driving errors, the incidence of traffic accidents can be reduced to almost zero, and the cost of traffic congestion can be saved.

发明内容Contents of the invention

本发明的目的是为了解决上述现有技术的缺陷,提供了一种基于道路识别的自动驾驶系统,该系统可以实现无人车的自动驾驶,无需人工干预在特定的公路上行使,以及实现自动驾驶和手动驾驶的切换模式。The purpose of the present invention is to solve the above-mentioned defects in the prior art, and to provide an automatic driving system based on road recognition. Switch mode for driving and manual driving.

本发明的另一目的在于提供一种基于道路识别的自动驾驶方法。Another object of the present invention is to provide an automatic driving method based on road recognition.

本发明的目的可以通过采取如下技术方案达到:The purpose of the present invention can be achieved by taking the following technical solutions:

一种基于道路识别的自动驾驶系统,包括摄像头、GPS定位模块、汽车方向盘自动控制装置和微控制单元,所述摄像头、GPS定位模块和汽车方向盘自动控制装置分别与微控制单元相连;An automatic driving system based on road recognition, comprising a camera, a GPS positioning module, an automatic steering wheel control device and a micro control unit, wherein the camera, the GPS positioning module and an automatic steering wheel control device are respectively connected to the micro control unit;

所述摄像头有多个,多个摄像头放置在汽车车身各处,用于全方位采集汽车周围环境信息;There are a plurality of cameras, and the plurality of cameras are placed in various parts of the car body for collecting the surrounding environment information of the car in an all-round way;

所述GPS定位模块安装在汽车车身内部,用于采集位置信息;The GPS positioning module is installed inside the car body for collecting location information;

所述微控制单元,用于根据摄像头采集的图像信息,识别出汽车是否偏离正确路线压线行驶,并根据GPS定位模块采集的位置信息,通过方向盘自动控制装置对汽车进行控制,使汽车回到正确的路线上行驶;The micro-control unit is used to identify whether the car deviates from the correct route and press the line according to the image information collected by the camera, and control the car through the steering wheel automatic control device according to the position information collected by the GPS positioning module, so that the car returns to drive on the correct route;

进一步的,所述微控制单元内置嵌入式最小系统,嵌入式最小系统利用累计概率霍夫变换算法识别车道线,进行分析处理,拟合出车道。Further, the micro-control unit has a built-in embedded minimum system, and the embedded minimum system uses the cumulative probability Hough transform algorithm to identify lane lines, perform analysis and processing, and fit out the lane.

进一步的,所述系统还包括实时操控显示面板,所述实时操控显示面板与微控制单元相连,用于实时显示车辆驾驶状况。Further, the system also includes a real-time control display panel, which is connected with the micro control unit and used to display the driving status of the vehicle in real time.

进一步的,所述实时操控显示面板安装在汽车车身内部的主驾驶右侧。Further, the real-time control display panel is installed on the right side of the main driver inside the vehicle body.

进一步的,所述汽车方向盘自动控制装置包括方向盘、转向轴、减速电机、蜗杆、蜗轮、输入轴和输出轴,所述减速电机通过CAN总线与微控制单元相连,并与蜗杆相连,所述蜗杆与蜗轮相啮合,所述蜗杆与输入轴相连,所述蜗轮与输出轴相连,所述输出轴与方向盘相连;所述减速电机转动后,通过输入轴带动蜗杆转动,蜗杆绕轴心旋转运动,使蜗轮作旋转运动,从而带动输出轴的转动,输出轴的转动通过转向轴带动方向盘转动。Further, the automobile steering wheel automatic control device includes a steering wheel, a steering shaft, a geared motor, a worm, a worm gear, an input shaft and an output shaft, and the geared motor is connected to a micro control unit through a CAN bus, and is connected to a worm, and the worm Meshing with the worm gear, the worm is connected to the input shaft, the worm gear is connected to the output shaft, and the output shaft is connected to the steering wheel; after the geared motor rotates, the input shaft drives the worm to rotate, and the worm rotates around the axis. The worm gear is made to rotate, thereby driving the rotation of the output shaft, and the rotation of the output shaft drives the steering wheel to rotate through the steering shaft.

进一步的,所述汽车方向盘自动控制装置还包括第一齿轮、第二齿轮和多圈绝对值编码器,所述第一齿轮的轴心与方向盘的轴心相重合,所述第一齿轮与第二齿轮相啮合,所述第二齿轮的轴心与多圈绝对值编码器的轴心相重合;所述方向盘转动后,带动第一齿轮转动,第一齿轮的转动使得第二齿轮转动,从而带动多圈绝对值编码器的轴心转动。Further, the automobile steering wheel automatic control device also includes a first gear, a second gear and a multi-turn absolute encoder, the axis of the first gear coincides with the axis of the steering wheel, and the first gear and the second gear The two gears are meshed, and the axis of the second gear coincides with the axis of the multi-turn absolute encoder; after the steering wheel rotates, it drives the first gear to rotate, and the rotation of the first gear makes the second gear rotate, thereby Drive the shaft center of the multi-turn absolute encoder to rotate.

本发明的另一目的可以通过采取如下技术方案达到:Another object of the present invention can be achieved by taking the following technical solutions:

一种基于道路识别的自动驾驶方法,所述方法包括:A road recognition-based automatic driving method, the method comprising:

摄像头采集的图像信息传输给微控制单元,微控制单元根据摄像头采集的图像信息,利用累计概率霍夫变换算法识别车道线,进行分析处理,拟合出车道,从而识别出汽车是否偏离正确路线压线行驶,并根据GPS定位模块采集的位置信息,通过方向盘自动控制装置对汽车进行控制,使汽车回到正确的路线上行驶。The image information collected by the camera is transmitted to the micro-control unit, and the micro-control unit uses the cumulative probability Hough transform algorithm to identify the lane line based on the image information collected by the camera, conducts analysis and processing, and fits the lane to identify whether the car deviates from the correct route. According to the location information collected by the GPS positioning module, the car is controlled through the steering wheel automatic control device, so that the car can return to the correct route.

进一步的,所述利用累计概率霍夫变换算法识别车道线,进行分析处理,拟合出车道,具体为:Further, the use of the cumulative probability Hough transform algorithm to identify the lane line, perform analysis and processing, and fit the lane, specifically:

利用累计概率霍夫变换算法在采集的图像信息中提取车道线图像信息,通过对车道线图像进行灰度化、自适应阈值二值化,采用Canny边缘检测算子提取边缘信息,并根据车道分布的特征,从上一帧车道线的位置预测下一帧的车道线位置,最后用最小二乘法拟合进行道路模型匹配,得到新的车道线信息。Using the cumulative probability Hough transform algorithm to extract the lane line image information from the collected image information, by graying the lane line image and adaptive threshold binarization, the Canny edge detection operator is used to extract the edge information, and according to the lane distribution The features of the lane line predict the position of the lane line in the next frame from the position of the lane line in the previous frame, and finally use the least squares method to fit the road model to match and obtain new lane line information.

进一步的,所述累计概率霍夫变换算法的具体步骤如下:Further, the specific steps of the cumulative probability Hough transform algorithm are as follows:

1)从点集中随机选取一个像素点,对应的累加器加一;1) Randomly select a pixel point from the point set, and add one to the corresponding accumulator;

2)从点集中删除该点;2) Delete the point from the point set;

3)更新累加器;3) Update the accumulator;

4)若更新之后的累加器值大于阈值,则删除集合中位于该直线上的所有点;4) If the accumulator value after the update is greater than the threshold, then delete all points located on the straight line in the set;

5)重复以上步骤,直到点集为空。5) Repeat the above steps until the point set is empty.

进一步的,所述自适应阈值二值化通过最大类间方差法实现。Further, the adaptive threshold binarization is realized by the method of maximum variance between classes.

本发明相对于现有技术具有如下的有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1、本发明采用分布式方式在车身放置摄像头,进行全方位、多角度观察周围环境,带有汽车方向盘自动控制装置,并在汽车车身内部安装GPS定位模块,微控制单元可以根据摄像头采集的图像,通过对车道标识线的有效识别,判断其是否有车道偏离情况,并根据GPS定位模块采集的位置信息,通过汽车方向盘自动控制装置对汽车转向进行控制,以实现自动转向。1. The present invention adopts a distributed method to place a camera on the vehicle body to observe the surrounding environment in all directions and from multiple angles. It is equipped with an automatic steering wheel control device, and a GPS positioning module is installed inside the vehicle body. The micro-control unit can collect images according to the camera. , Through the effective recognition of the lane markings, it is judged whether there is a lane departure, and according to the position information collected by the GPS positioning module, the steering of the car is controlled by the automatic steering wheel control device to realize automatic steering.

2、本发明利用累计概率霍夫变换算法在采集的图像信息中提取车道线图像信息,通过对车道线图像进行灰度化、自适应阈值二值化,采用Canny边缘检测算子提取边缘信息,提取边缘信息的预处理可以提高检测的精度,并根据车道分布的特征,从上一帧车道线的位置预测下一帧的车道线位置,以提高效率。2. The present invention utilizes the cumulative probability Hough transform algorithm to extract lane line image information from the collected image information, by graying the lane line image and adaptive threshold binarization, and using the Canny edge detection operator to extract edge information, The preprocessing of extracting edge information can improve the detection accuracy, and predict the lane line position of the next frame from the position of the lane line in the previous frame according to the characteristics of the lane distribution, so as to improve the efficiency.

3、本发明在汽车车身内部的主驾驶右侧安装实时操控显示面板,通过实时操控显示面板可以实时显示车辆驾驶状况,还可以提供汽车控制、导航、影音等应用功能。3. The present invention installs a real-time control display panel on the right side of the main driver inside the car body, through which the real-time control display panel can display the driving status of the vehicle in real time, and can also provide application functions such as car control, navigation, audio and video.

4、本发明为了给使用者更加便利的操作方式,提供了自动驾驶和人工驾驶的方式结合,利用电磁离合装置分合自动驾驶装置,可实现自动驾驶和人工驾驶的一键切换。4. In order to provide users with a more convenient operation mode, the present invention provides a combination of automatic driving and manual driving. The electromagnetic clutch device is used to separate and close the automatic driving device, which can realize one-key switching between automatic driving and manual driving.

5、本发明利用道路边界及车道标识线的灰度特征而完成的对道路边界及车道标识线的识别,利用CAN总线与微控制单元进行通讯,进而控制汽车转向和油门,以实现无人车自动驾驶的目的。5. The present invention utilizes the grayscale features of road boundaries and lane marking lines to complete the identification of road boundaries and lane marking lines, uses CAN bus to communicate with micro-control units, and then controls the steering and accelerator of automobiles to realize unmanned vehicles. purpose of autonomous driving.

附图说明Description of drawings

图1为本发明实施例1的基于道路识别的自动驾驶系统结构框图。FIG. 1 is a structural block diagram of an automatic driving system based on road recognition according to Embodiment 1 of the present invention.

图2为本发明实施例1的摄像头所在位置示意图。FIG. 2 is a schematic diagram of the position of the camera according to Embodiment 1 of the present invention.

图3为本发明实施例1的实时操控显示面板所在位置示意图。FIG. 3 is a schematic diagram of the location of the real-time control display panel according to Embodiment 1 of the present invention.

图4为本发明实施例1的汽车方向盘自动控制装置的结构图。Fig. 4 is a structural diagram of an automatic steering wheel control device for an automobile according to Embodiment 1 of the present invention.

图5为本发明实施例1的汽车方向盘自动控制装置中蜗杆与蜗轮相连示意图。Fig. 5 is a schematic diagram of the connection between the worm and the worm gear in the automatic steering wheel control device of an automobile according to Embodiment 1 of the present invention.

图6为本发明实施例2的于道路识别的自动驾驶方法流程图。FIG. 6 is a flowchart of an automatic driving method based on road recognition according to Embodiment 2 of the present invention.

其中,1-摄像头,2-实时操控显示面板,3-GPS定位模块,4-汽车方向盘自动控制装置,5-微控制单元,6-方向盘,7-转向轴,8-减速电机,9-蜗杆,10-蜗轮,11-输入轴,12-输出轴,13-第一齿轮,14-第二齿轮,15-多圈绝对值编码器。Among them, 1-camera, 2-real-time control display panel, 3-GPS positioning module, 4-automatic steering wheel control device, 5-micro control unit, 6-steering wheel, 7-steering shaft, 8-reduction motor, 9-worm , 10-worm gear, 11-input shaft, 12-output shaft, 13-first gear, 14-second gear, 15-multi-turn absolute encoder.

具体实施方式detailed description

下面结合实施例及附图对本发明作进一步详细的描述,但本发明的实施方式不限于此。The present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.

实施例1:Example 1:

如图1所示,本实施例提供了一种基于道路识别的自动驾驶系统,该系统包括摄像头1、实时操控显示面板2、GPS定位模块3、汽车方向盘自动控制装置4以及微控制单元(Microcontroller Unit,MCU)5,所述摄像头1、实时操控显示面板2、GPS定位模块3、汽车方向盘自动控制装置4分别与微控制单元5相连。As shown in Figure 1, the present embodiment provides a kind of automatic driving system based on road recognition, and this system comprises camera 1, real-time control display panel 2, GPS positioning module 3, automobile steering wheel automatic control device 4 and microcontrol unit (Microcontroller Unit, MCU) 5, the camera 1, the real-time control display panel 2, the GPS positioning module 3, the automobile steering wheel automatic control device 4 are connected to the micro control unit 5 respectively.

如图2所示,所述摄像头1采用广角彩色摄像头装置,可以设置多个,多个摄像头1放置在汽车车身各处,从图2可以看到,本实施例将摄像头1放置在汽车前部和左右两侧,用于全方位采集汽车周围环境信息,如路面和交通灯情况。As shown in Figure 2, the camera 1 adopts a wide-angle color camera device, and multiple cameras 1 can be placed on the car body. As can be seen from Figure 2, the camera 1 is placed on the front of the car in this embodiment. and the left and right sides, which are used to collect all-round information about the surrounding environment of the car, such as road surfaces and traffic lights.

如图3所示,所述实时操控显示面板2安装在汽车车身内部的主驾驶右侧,用于实时显示车辆驾驶状况,还可以提供汽车控制、导航、影音等应用功能。As shown in FIG. 3 , the real-time control display panel 2 is installed on the right side of the main driver inside the vehicle body, and is used for real-time display of vehicle driving conditions, and can also provide application functions such as vehicle control, navigation, audio and video.

所述GPS定位模块3安装在汽车车身内部,用于采集位置信息。The GPS positioning module 3 is installed inside the vehicle body for collecting position information.

如图4~图5所示,所述汽车方向盘自动控制装置4包括方向盘6、转向轴7、减速电机8、蜗杆9、蜗轮10、输入轴11、输出轴12、第一齿轮13、第二齿轮14和多圈绝对值编码器15;As shown in Fig. 4~Fig. 5, described automobile steering wheel automatic control device 4 comprises steering wheel 6, steering shaft 7, reduction motor 8, worm screw 9, worm wheel 10, input shaft 11, output shaft 12, first gear 13, second Gear 14 and multi-turn absolute value encoder 15;

所述减速电机8通过CAN总线与微控制单元5相连,并与蜗杆9相连,所述蜗杆9与蜗轮10相啮合,所述蜗杆10与输入轴11相连,所述蜗轮10与输出轴12相连,所述输出轴12与方向盘相连;所述减速电机8转动后,通过输入轴11带动蜗杆9转动,蜗杆9绕轴心旋转运动,使蜗轮10作旋转运动,从而带动输出轴12的转动,输出轴12的转动通过转向轴2带动方向盘6转动;The geared motor 8 is connected with the micro control unit 5 through the CAN bus, and is connected with the worm 9, and the worm 9 is meshed with the worm wheel 10, and the worm 10 is connected with the input shaft 11, and the worm wheel 10 is connected with the output shaft 12 , the output shaft 12 is connected with the steering wheel; after the reduction motor 8 rotates, the input shaft 11 drives the worm 9 to rotate, and the worm 9 rotates around the axis to make the worm wheel 10 rotate, thereby driving the rotation of the output shaft 12, The rotation of the output shaft 12 drives the steering wheel 6 to rotate through the steering shaft 2;

所述第一齿轮13的轴心与方向盘6的轴心相重合,所述第一齿轮13与第二齿轮14相啮合,所述第二齿轮14的轴心与多圈绝对值编码器15的轴心相重合;所述方向盘6转动后,带动第一齿轮13转动,第一齿轮13的转动使得第二齿轮14转动,从而带动多圈绝对值编码器15的轴心转动,可以获取角位移的数据。The shaft center of the first gear 13 coincides with the shaft center of the steering wheel 6, the first gear 13 is meshed with the second gear 14, and the shaft center of the second gear 14 is aligned with the multi-turn absolute value encoder 15. The axes coincide; after the steering wheel 6 rotates, it drives the first gear 13 to rotate, and the rotation of the first gear 13 makes the second gear 14 rotate, thereby driving the axis of the multi-turn absolute value encoder 15 to rotate, and the angular displacement can be obtained The data.

所述微控制单元5,用于根据摄像头1采集的图像信息,识别出汽车是否偏离正确路线压线行驶,并根据GPS定位模块3采集的位置信息,通过方向盘自动控制装置4对汽车进行控制,使汽车回到正确的路线上行驶;其中,微控制单元内置嵌入式最小系统,嵌入式最小系统利用累计概率霍夫变换算法识别车道线,进行分析处理,拟合出车道。The micro control unit 5 is used to identify whether the car deviates from the correct route and press the line according to the image information collected by the camera 1, and controls the car through the steering wheel automatic control device 4 according to the position information collected by the GPS positioning module 3, Make the car go back to the correct route; Among them, the micro-control unit has an embedded minimum system, and the embedded minimum system uses the cumulative probability Hough transform algorithm to identify the lane line, analyze and process it, and fit the lane.

实施例2:Example 2:

如图6所示,本实施例提供了一种基于道路识别的自动驾驶方法,所述方法基于上述系统实现,包括以下步骤:As shown in Figure 6, this embodiment provides a road recognition-based automatic driving method, which is implemented based on the above-mentioned system, and includes the following steps:

S1、摄像头采集的图像信息传输给微控制单元;S1, the image information collected by the camera is transmitted to the micro control unit;

S2、微控制单元根据摄像头采集的图像信息,利用累计概率霍夫变换算法(PPHT)识别车道线,进行分析处理,拟合出车道,从而识别出汽车是否偏离正确路线压线行驶;其中,所述利用累计概率霍夫变换算法识别车道线,进行分析处理,拟合出车道,具体为:S2. According to the image information collected by the camera, the micro control unit uses the cumulative probability Hough transform algorithm (PPHT) to identify the lane line, analyze and process it, and fit the lane, so as to identify whether the car deviates from the correct route and press the line; wherein, the Describes the use of the cumulative probability Hough transform algorithm to identify lane lines, analyze and process them, and fit out lanes, specifically:

利用累计概率霍夫变换算法在采集的图像信息中提取车道线图像信息,通过对车道线图像进行灰度化、自适应阈值二值化(采用最大类间方差法,又称大津法OTSU),采用Canny边缘检测算子提取边缘信息,提取边缘信息的预处理可以提高检测的精度,并根据车道分布的特征,从上一帧车道线的位置预测下一帧的车道线位置,即把上一帧图像中车道线和边界的位置,作为下一帧的预测位置在其水平领域内搜索新的特征点,以提高效率,最后用最小二乘法拟合进行道路模型匹配,得到新的车道线信息。Using the cumulative probability Hough transform algorithm to extract the lane line image information from the collected image information, by graying the lane line image and adaptive threshold binarization (using the maximum between-class variance method, also known as the Otsu method OTSU), The Canny edge detection operator is used to extract edge information, and the preprocessing of edge information extraction can improve the detection accuracy, and according to the characteristics of the lane distribution, the position of the lane line in the next frame is predicted from the position of the lane line in the previous frame, that is, the position of the lane line in the previous frame The position of the lane line and boundary in the frame image is used as the predicted position of the next frame to search for new feature points in its horizontal field to improve efficiency. Finally, the least squares method is used to fit the road model to obtain new lane line information .

所述累计概率霍夫变换算法是标准霍夫变换(SHT)算法的一个改进,它在一定的范围内进行霍夫变换,计算单独线段的方向以及范围,从而减少计算量,缩短计算时间;之所以称PPHT为“概率”的,是因为并不将累加器平面内的所有可能的点累加,而只是累加其中的一部分,如果峰值如果足够高,只用一小部分时间去寻找它即可,所以可以实质性地减少计算时间,其具体步骤如下:The cumulative probability Hough transform algorithm is an improvement of the standard Hough transform (SHT) algorithm, which performs Hough transform within a certain range to calculate the direction and range of a single line segment, thereby reducing the amount of calculation and shortening the calculation time; Therefore, PPHT is called "probability" because it does not accumulate all possible points in the accumulator plane, but only accumulates a part of them. If the peak value is high enough, it only takes a small amount of time to find it. Therefore, the calculation time can be substantially reduced, and the specific steps are as follows:

1)从点集中随机选取一个像素点,对应的累加器加一;1) Randomly select a pixel point from the point set, and add one to the corresponding accumulator;

2)从点集中删除该点;2) Delete the point from the point set;

3)更新累加器;3) Update the accumulator;

4)若更新之后的累加器值大于阈值,则删除集合中位于该直线上的所有点;4) If the accumulator value after the update is greater than the threshold, then delete all points located on the straight line in the set;

5)重复以上步骤,直到点集为空。5) Repeat the above steps until the point set is empty.

S3、微控制单元根据GPS定位模块3采集的位置信息,通过方向盘自动控制装置4对汽车进行控制,使汽车回到正确的路线上行驶。S3. The micro control unit controls the car through the steering wheel automatic control device 4 according to the position information collected by the GPS positioning module 3, so that the car returns to the correct route.

综上所述,本发明采用分布式方式在车身放置摄像头,进行全方位、多角度观察周围环境,带有汽车方向盘自动控制装置,并在汽车车身内部安装GPS定位模块,微控制单元可以根据摄像头采集的图像,通过对车道标识线的有效识别,判断其是否有车道偏离情况,并根据GPS定位模块采集的位置信息,通过汽车方向盘自动控制装置对汽车转向进行控制,以实现自动转向。In summary, the present invention adopts a distributed method to place cameras on the vehicle body to observe the surrounding environment in all directions and from multiple angles. It is equipped with an automatic steering wheel control device, and a GPS positioning module is installed inside the vehicle body. Through the effective recognition of the lane markings in the collected images, it is judged whether there is a lane departure, and according to the position information collected by the GPS positioning module, the steering of the car is controlled by the automatic steering wheel control device to realize automatic steering.

以上所述,仅为本发明专利较佳的实施例,但本发明专利的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明专利所公开的范围内,根据本发明专利的技术方案及其发明构思加以等同替换或改变,都属于本发明专利的保护范围。The above is only a preferred embodiment of the patent of the present invention, but the scope of protection of the patent of the present invention is not limited thereto. Equivalent replacements or changes to the technical solutions and their inventive concepts all fall within the scope of protection of the invention patent.

Claims (10)

1.一种基于道路识别的自动驾驶系统,其特征在于:包括摄像头、GPS定位模块、汽车方向盘自动控制装置和微控制单元,所述摄像头、GPS定位模块和汽车方向盘自动控制装置分别与微控制单元相连;1. A kind of automatic driving system based on road recognition, it is characterized in that: comprise camera, GPS positioning module, automobile steering wheel automatic control device and micro-control unit, described camera, GPS positioning module and automobile steering wheel automatic control device are respectively connected with micro-controller unit connected; 所述摄像头有多个,多个摄像头放置在汽车车身各处,用于全方位采集汽车周围环境信息;There are a plurality of cameras, and the plurality of cameras are placed in various parts of the car body for collecting the surrounding environment information of the car in an all-round way; 所述GPS定位模块安装在汽车车身内部,用于采集位置信息;The GPS positioning module is installed inside the car body for collecting location information; 所述微控制单元,用于根据摄像头采集的图像信息,识别出汽车是否偏离正确路线压线行驶,并根据GPS定位模块采集的位置信息,通过方向盘自动控制装置对汽车进行控制,使汽车回到正确的路线上行驶。The micro-control unit is used to identify whether the car deviates from the correct route and press the line according to the image information collected by the camera, and control the car through the steering wheel automatic control device according to the position information collected by the GPS positioning module, so that the car returns to Drive on the correct route. 2.根据权利要求1所述的一种基于道路识别的自动驾驶系统,其特征在于:所述微控制单元内置嵌入式最小系统,嵌入式最小系统利用累计概率霍夫变换算法识别车道线,进行分析处理,拟合出车道。2. A kind of automatic driving system based on road recognition according to claim 1, characterized in that: said micro-control unit has a built-in embedded minimum system, and the embedded minimum system utilizes the cumulative probability Hough transform algorithm to identify lane lines and perform Analysis and processing, fitting out of the lane. 3.根据权利要求1或2所述的一种基于道路识别的自动驾驶系统,其特征在于:所述系统还包括实时操控显示面板,所述实时操控显示面板与微控制单元相连,用于实时显示车辆驾驶状况。3. A road recognition-based automatic driving system according to claim 1 or 2, characterized in that: the system also includes a real-time control display panel, the real-time control display panel is connected with a micro-control unit for real-time Displays the driving condition of the vehicle. 4.根据权利要求3所述的一种基于道路识别的自动驾驶系统,其特征在于:所述实时操控显示面板安装在汽车车身内部的主驾驶右侧。4 . The road recognition-based automatic driving system according to claim 3 , wherein the real-time control display panel is installed on the right side of the main driver inside the vehicle body. 5.根据权利要求1或2所述的一种基于道路识别的自动驾驶系统,其特征在于:所述汽车方向盘自动控制装置包括方向盘、转向轴、减速电机、蜗杆、蜗轮、输入轴和输出轴,所述减速电机通过CAN总线与微控制单元相连,并与蜗杆相连,所述蜗杆与蜗轮相啮合,所述蜗杆与输入轴相连,所述蜗轮与输出轴相连,所述输出轴与方向盘相连;所述减速电机转动后,通过输入轴带动蜗杆转动,蜗杆绕轴心旋转运动,使蜗轮作旋转运动,从而带动输出轴的转动,输出轴的转动通过转向轴带动方向盘转动。5. A kind of automatic driving system based on road recognition according to claim 1 or 2, characterized in that: said automobile steering wheel automatic control device comprises steering wheel, steering shaft, reduction motor, worm screw, worm gear, input shaft and output shaft , the geared motor is connected to the micro control unit through the CAN bus, and is connected to the worm, the worm is meshed with the worm wheel, the worm is connected to the input shaft, the worm wheel is connected to the output shaft, and the output shaft is connected to the steering wheel After the geared motor rotates, the input shaft drives the worm to rotate, and the worm rotates around the axis to make the worm wheel rotate, thereby driving the output shaft to rotate, and the rotation of the output shaft drives the steering wheel to rotate through the steering shaft. 6.根据权利要求5所述的一种基于道路识别的自动驾驶系统,其特征在于:所述汽车方向盘自动控制装置还包括第一齿轮、第二齿轮和多圈绝对值编码器,所述第一齿轮的轴心与方向盘的轴心相重合,所述第一齿轮与第二齿轮相啮合,所述第二齿轮的轴心与多圈绝对值编码器的轴心相重合;所述方向盘转动后,带动第一齿轮转动,第一齿轮的转动使得第二齿轮转动,从而带动多圈绝对值编码器的轴心转动。6. A kind of automatic driving system based on road recognition according to claim 5, characterized in that: said automobile steering wheel automatic control device also includes a first gear, a second gear and a multi-turn absolute value encoder, said first The axis of a gear coincides with the axis of the steering wheel, the first gear meshes with the second gear, and the axis of the second gear coincides with the axis of the multi-turn absolute value encoder; the steering wheel rotates Finally, the first gear is driven to rotate, and the rotation of the first gear causes the second gear to rotate, thereby driving the axis of the multi-turn absolute encoder to rotate. 7.一种基于道路识别的自动驾驶方法,其特征在于:所述方法包括:7. An automatic driving method based on road recognition, characterized in that: the method comprises: 摄像头采集的图像信息传输给微控制单元,微控制单元根据摄像头采集的图像信息,利用累计概率霍夫变换算法识别车道线,进行分析处理,拟合出车道,从而识别出汽车是否偏离正确路线压线行驶,并根据GPS定位模块采集的位置信息,通过方向盘自动控制装置对汽车进行控制,使汽车回到正确的路线上行驶。The image information collected by the camera is transmitted to the micro-control unit, and the micro-control unit uses the cumulative probability Hough transform algorithm to identify the lane line based on the image information collected by the camera, conducts analysis and processing, and fits the lane to identify whether the car deviates from the correct route. According to the location information collected by the GPS positioning module, the car is controlled through the steering wheel automatic control device, so that the car can return to the correct route. 8.根据权利要求7所述的自动驾驶方法,其特征在于:所述利用累计概率霍夫变换算法识别车道线,进行分析处理,拟合出车道,具体为:8. The automatic driving method according to claim 7, characterized in that: the use of the cumulative probability Hough transform algorithm to identify lane lines, perform analysis and processing, and fit out the lane, specifically: 利用累计概率霍夫变换算法在采集的图像信息中提取车道线图像信息,通过对车道线图像进行灰度化、自适应阈值二值化,采用Canny边缘检测算子提取边缘信息,并根据车道分布的特征,从上一帧车道线的位置预测下一帧的车道线位置,最后用最小二乘法拟合进行道路模型匹配,得到新的车道线信息。Using the cumulative probability Hough transform algorithm to extract the lane line image information from the collected image information, by graying the lane line image and adaptive threshold binarization, the Canny edge detection operator is used to extract the edge information, and according to the lane distribution The features of the lane line predict the position of the lane line in the next frame from the position of the lane line in the previous frame, and finally use the least squares method to fit the road model to match and obtain new lane line information. 9.根据权利要求8所述的自动驾驶方法,其特征在于:所述累计概率霍夫变换算法的具体步骤如下:9. The automatic driving method according to claim 8, characterized in that: the specific steps of the cumulative probability Hough transform algorithm are as follows: 1)从点集中随机选取一个像素点,对应的累加器加一;1) Randomly select a pixel point from the point set, and add one to the corresponding accumulator; 2)从点集中删除该点;2) Delete the point from the point set; 3)更新累加器;3) Update the accumulator; 4)若更新之后的累加器值大于阈值,则删除集合中位于该直线上的所有点;4) If the accumulator value after the update is greater than the threshold, then delete all points located on the straight line in the set; 5)重复以上步骤,直到点集为空。5) Repeat the above steps until the point set is empty. 10.根据权利要求7-9任一项所述的自动驾驶方法,其特征在于:所述自适应阈值二值化采用最大类间方差法。10. The automatic driving method according to any one of claims 7-9, characterized in that: said adaptive threshold binarization adopts a maximum inter-class variance method.
CN201611214453.XA 2016-12-26 2016-12-26 A kind of automated driving system and method based on road Identification Pending CN106774328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611214453.XA CN106774328A (en) 2016-12-26 2016-12-26 A kind of automated driving system and method based on road Identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611214453.XA CN106774328A (en) 2016-12-26 2016-12-26 A kind of automated driving system and method based on road Identification

Publications (1)

Publication Number Publication Date
CN106774328A true CN106774328A (en) 2017-05-31

Family

ID=58919557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611214453.XA Pending CN106774328A (en) 2016-12-26 2016-12-26 A kind of automated driving system and method based on road Identification

Country Status (1)

Country Link
CN (1) CN106774328A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073174A (en) * 2017-12-21 2018-05-25 重庆鲁班机器人技术研究院有限公司 Unmanned vehicle control and method
CN108319267A (en) * 2018-01-30 2018-07-24 深圳汇通智能化科技有限公司 A kind of unmanned taxi
CN108762260A (en) * 2018-05-16 2018-11-06 南京理工大学 Crawler type independent navigation robot based on differential GPS and its air navigation aid
CN108986481A (en) * 2018-07-17 2018-12-11 太仓远见科技咨询服务有限公司 A kind of increasingly automated vehicular traffic
CN109300139A (en) * 2018-09-30 2019-02-01 百度在线网络技术(北京)有限公司 Method for detecting lane lines and device
CN109866772A (en) * 2019-01-28 2019-06-11 重庆邮电大学 A kind of variable structure control method that intelligent vehicle human-machine cooperation drives
CN110784680A (en) * 2019-08-09 2020-02-11 中国第一汽车股份有限公司 Vehicle positioning method and device, vehicle and storage medium
CN113205687A (en) * 2021-04-30 2021-08-03 广州大学 Drunk driving vehicle track recognition system based on video monitoring
CN113494915A (en) * 2020-04-02 2021-10-12 广州汽车集团股份有限公司 Vehicle transverse positioning method, device and system
CN113848955A (en) * 2021-10-29 2021-12-28 广州理工学院 Automatic vehicle driving control system based on image recognition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5245422A (en) * 1991-06-28 1993-09-14 Zexel Corporation System and method for automatically steering a vehicle within a lane in a road
CN201858309U (en) * 2010-11-12 2011-06-08 江苏高能齿轮箱有限公司 Worm-and-gear connection speed variator
CN103465953A (en) * 2013-09-27 2013-12-25 太仓康茂电子有限公司 Retarding mechanism
CN203838902U (en) * 2014-05-15 2014-09-17 南昌墨泥软件有限公司 Force feedback and vibration type automobile driving simulator turning apparatus
CN104460667A (en) * 2014-10-31 2015-03-25 成都众易通科技有限公司 Automatic drive system of automobile

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5245422A (en) * 1991-06-28 1993-09-14 Zexel Corporation System and method for automatically steering a vehicle within a lane in a road
CN201858309U (en) * 2010-11-12 2011-06-08 江苏高能齿轮箱有限公司 Worm-and-gear connection speed variator
CN103465953A (en) * 2013-09-27 2013-12-25 太仓康茂电子有限公司 Retarding mechanism
CN203838902U (en) * 2014-05-15 2014-09-17 南昌墨泥软件有限公司 Force feedback and vibration type automobile driving simulator turning apparatus
CN104460667A (en) * 2014-10-31 2015-03-25 成都众易通科技有限公司 Automatic drive system of automobile

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
储卫东 等: "缩微交通环境下的车道标识线检测", 《 计算机科学与探索》 *
陈军 等: "基于概率霍夫变换的车道检测技术研究", 《科技通报》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073174A (en) * 2017-12-21 2018-05-25 重庆鲁班机器人技术研究院有限公司 Unmanned vehicle control and method
CN108319267A (en) * 2018-01-30 2018-07-24 深圳汇通智能化科技有限公司 A kind of unmanned taxi
CN108762260A (en) * 2018-05-16 2018-11-06 南京理工大学 Crawler type independent navigation robot based on differential GPS and its air navigation aid
CN108986481A (en) * 2018-07-17 2018-12-11 太仓远见科技咨询服务有限公司 A kind of increasingly automated vehicular traffic
CN109300139A (en) * 2018-09-30 2019-02-01 百度在线网络技术(北京)有限公司 Method for detecting lane lines and device
CN109866772A (en) * 2019-01-28 2019-06-11 重庆邮电大学 A kind of variable structure control method that intelligent vehicle human-machine cooperation drives
CN110784680A (en) * 2019-08-09 2020-02-11 中国第一汽车股份有限公司 Vehicle positioning method and device, vehicle and storage medium
CN113494915A (en) * 2020-04-02 2021-10-12 广州汽车集团股份有限公司 Vehicle transverse positioning method, device and system
CN113205687A (en) * 2021-04-30 2021-08-03 广州大学 Drunk driving vehicle track recognition system based on video monitoring
CN113848955A (en) * 2021-10-29 2021-12-28 广州理工学院 Automatic vehicle driving control system based on image recognition

Similar Documents

Publication Publication Date Title
CN106774328A (en) A kind of automated driving system and method based on road Identification
CN110689761B (en) A method of automatic parking
CN106845547B (en) A kind of intelligent automobile positioning and road markings identifying system and method based on camera
CN107745710B (en) A kind of automatic parking method and system based on machine vision and machine learning
CN110688992A (en) Traffic signal identification method and device, vehicle navigation equipment and unmanned vehicle
DE102019112002A1 (en) SYSTEMS AND METHOD FOR THE AUTOMATIC DETECTION OF PENDING FEATURES
CN203134149U (en) Vehicle auxiliary driving system based on different wave band imaging fusion image processing
CN108447305B (en) Pre-warning method and pre-warning system for courier pedestrian
US20200055516A1 (en) Camera assessment techniques for autonomous vehicles
CN110634297B (en) Signal lamp state identification and passing control system based on vehicle-mounted laser radar
CN104361648B (en) Event data recorder provided with signal lamps for reminding other vehicles and control method of event data recorder
CN110610153A (en) A lane recognition method and system for automatic driving
CN114419603A (en) An automatic driving vehicle control method, system and automatic driving vehicle
CN105313773A (en) High-definition panoramic parking and driving assisting system
DE102016216205B4 (en) Navigation methods for self-driving vehicles
CN103150337A (en) Lane line reconstruction method based on Bezier curve
CN112926404B (en) Active interactive human-vehicle passing system and method
CN104951790B (en) Based on multi-source against the seamless spliced Lane detection method of fluoroscopy images
CN110901638A (en) Driving assistance method and system
CN104361649A (en) Automobile data recorder capable of prompting other vehicles and control method thereof
WO2016157277A1 (en) Method and device for generating travelling environment abstract image
CN116824549B (en) Target detection method and device based on multi-detection network fusion and vehicle
CN118038409A (en) Vehicle drivable area detection method, device, electronic equipment and storage medium
CN107292818B (en) A system and method for automatic positioning of wire catcher based on surround view camera
CN112034829A (en) An end-to-end autonomous driving method, system and vehicle therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531