An intelligent driving system that uses a single camera to accurately measure distance
By using a single variable focus camera and neural network algorithm in the intelligent driving system, combined with focus motor and priority control, the problems of high cost and poor ranging accuracy of lidar and millimeter wave radar are solved, and low-cost, high-precision Ranging effect.
Patent Information
- Application Number
- CN202210483993.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-05
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-05-05
AI Technical Summary
In existing intelligent driving systems, ranging methods based on lidar or millimeter wave radar are expensive and cannot be popularized; distance space reconstruction methods based on deep learning and monocular vision have poor ranging accuracy and cannot achieve long-distance high-precision measurement. distance.
It uses a single variable-focus camera, combined with a vision processor, co-processor and ranging controller, and uses a focus motor and neural network algorithm to identify the target object and assign priority to achieve the focus operation and calculate the distance information of the target object.
It achieves low-cost accurate ranging, with long-distance accuracy up to 5cm and short-range accuracy up to 1cm, covering a wide range of 0.05m-300m, reducing system costs and improving ranging accuracy.
Smart Images

Figure CN115988304B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile design and manufacturing, and more particularly to an intelligent driving system that uses a single camera to accurately measure distance. Background Art
[0002] In the field of autonomous driving, cameras are essential components that are responsible for identifying vehicles, pedestrians, lane lines, red lights, road signs, etc. Scenes with small shape differences and difficult identification can only be completed by the camera's machine vision algorithm. In intelligent driving, when obstacles are detected, avoidance is required, and distance measurement is the key. At present, there are two main methods for distance measurement during driving:
[0003] 1. Based on laser radar or millimeter wave radar ranging, although it has high accuracy, the cost is too high and it is difficult to popularize and apply it in ordinary economical cars;
[0004] 2. A distance space reconstruction method based on deep learning and monocular vision. However, based on the current iterative algorithm parameters, the ranging accuracy is poor and long-distance, high-precision ranging cannot be achieved. Summary of the invention
[0005] In order to solve the above-mentioned technical problems existing in the prior art, an object of the present invention is to provide an intelligent driving system that uses a single camera to accurately measure distance.
[0006] The intelligent driving system of the present invention for accurately measuring distance using a single camera comprises: a variable-focus camera, a visual processor, a coprocessor, a memory unit, a communication module, a power module and a distance measurement controller;
[0007] The variable-focus camera includes a lens and an image sensor, wherein the position of the lens is adjusted by a focus motor to project target objects at different distances onto the image sensor;
[0008] The visual processor recognizes the image obtained by the zoom camera, identifies the target object in the image and adds estimated distance information;
[0009] The coprocessor receives the target object identified by the visual processor and the estimated distance information, and assigns the target object a corresponding priority according to the identified target object; the coprocessor transmits the target object, the assigned priority and the estimated distance information to the distance measurement controller through the communication module; wherein: the rapidly changing target object is assigned a priority of level 1; the slowly changing target is assigned a priority of level 2; the unchanged target object is assigned a priority of level 3;
[0010] The distance measuring controller performs a focusing operation on the target object according to the priority of the target object and the estimated distance information. For a target object with a priority of level 1, the distance measuring controller controls the focus motor to perform the focusing operation at a frequency of 60 times / second; for a target object with a priority of level 2, the distance measuring controller controls the focus motor to perform the focusing operation at a frequency of 10 times / second; for a target object with a priority of level 3, the distance measuring controller controls the focus motor to perform the focusing operation at a frequency of 1 time / second;
[0011] The visual processor also selects a clear image obtained according to the focus operation, reads the focus motor position parameters, and calculates the distance information according to the imaging formula 1 / u+1 / v=1 / f.
[0012] Wherein, the image sensor is a CCD sensor or a CMOS sensor.
[0013] The visual processor identifies the target object in the image through a neural network algorithm and estimates the distance information.
[0014] Among them, the rapidly changing target objects include vehicles, bicycles, motorcycles, pedestrians and obstacles; the slowly changing targets include traffic lights and variable lane signs; and the unchanging target objects include speed limit signs and gate signs.
[0015] The memory unit is used to store images, neural network algorithms of visual processors, and provide memory space for neural network algorithms and distance calculations.
[0016] Wherein, the power module is used to provide power to the zoom camera and the ranging controller.
[0017] The distance information can be sent to the display module and the alarm module via the communication module.
[0018] Compared with the prior art, the intelligent driving system of the present invention has the following beneficial effects:
[0019] The intelligent driving system of the present invention can use a low-cost monocular camera to replace laser radar, millimeter-wave radar, and ultrasonic radar to achieve precise ranging, and realize precise ranging in a large range of 0.05m-300m. The long-distance ranging accuracy can reach within 5cm, and the close-range ranging accuracy can reach within 1cm. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a structural block diagram of an intelligent driving system for accurately measuring distance using a single camera according to Example 1.
[0021] Figure 2This is a schematic diagram of the intelligent driving system of Example 1 using a single camera to accurately measure distance.
[0022] Figure 3 This is a flow chart of the intelligent driving system of Example 1 using a single camera to accurately measure distance. DETAILED DESCRIPTION
[0023] The following will further explain the intelligent driving system for accurately measuring distance using a single camera of the present invention in combination with specific embodiments to help technicians in this field have a more complete, accurate and in-depth understanding of the technical solution of the present invention.
[0024] Example 1
[0025] like Figure 1 As shown, the intelligent driving system of this embodiment that uses a single camera to accurately measure distance includes a zoom camera, a visual processor, a coprocessor, a memory unit, a communication module, a power module and a distance measurement controller. The zoom camera is used to capture images of the car during driving or stopping. The zoom camera includes a lens and an image sensor. The lens receives reflected light from a target object (such as a vehicle, bicycle, motorcycle, pedestrian, obstacle, traffic light, variable lane sign, speed limit sign, gate sign, etc.) through the lens. The light after passing through the lens reaches the image sensor, which detects the received light and converts the received light into an electrical signal to generate an image composed of pixels. The image sensor can be a CCD sensor or a CMOS sensor.
[0026] In this embodiment, the lens adjusts the position of the lens through a focus motor to clearly project target objects at different distances onto an image sensor (CCD sensor or CMOS sensor). The image sensor determines whether the lens distance is at the most ideal position by comparing the color gradient of two adjacent pixel particles, which is usually called focusing. Figure 2 As shown in the figure, according to the imaging formula 1 / u+1 / v=1 / f, u refers to the object distance, that is, the distance from the target object to the center of the lens; v refers to the image distance, that is, the distance from the image to the center; f refers to the focal length. Therefore, the distance from the target object to the car can be calculated based on the image distance and the focal length.
[0027] In this embodiment, the visual processor recognizes the image obtained by the zoom camera, identifies the target object in the image and adds distance information. The visual processor recognizes the target object in the image through a neural network algorithm and estimates the distance information. This type of visual processor using a neural network algorithm is known in the prior art. For example, the neural network algorithm is trained by using images of a vehicle during driving as training samples, and the target object is recognized and the distance of the target object is estimated through the neural network algorithm.
[0028] In this embodiment, the coprocessor receives the target object identified by the visual processor and the estimated distance information, and assigns the target object a corresponding priority according to the identified target object. In this embodiment, fast-changing target objects such as vehicles, bicycles, motorcycles, pedestrians and obstacles are assigned a priority of level 1, slowly changing targets such as traffic lights and variable lane signs are assigned a priority of level 2, and constant target objects such as speed limit signs and gate signs are assigned a priority of level 3. The coprocessor transmits the target object, the assigned priority and the estimated distance information to the distance measurement controller through the communication module (CAN FD module or CAN module). The distance measurement controller performs a focus operation on the target object according to the priority and the estimated distance information of the target object. For a target object with a priority of level 1, the distance measurement controller controls the focus motor to perform the focus operation at a frequency of 60 times / second; for a target object with a priority of level 2, the distance measurement controller controls the focus motor to perform the focus operation at a frequency of 10 times / second; for a target object with a priority of level 3, the distance measurement controller controls the focus motor to perform the focus operation at a frequency of 1 time / second. The visual processor selects a clear image obtained according to the focus operation, reads the focus motor position parameters, and then calculates the distance information according to the imaging formula 1 / u+1 / v=1 / f. The distance information can be sent to the display module, alarm module, etc. through the communication module.
[0029] In this embodiment, the memory unit is used to store images, neural network algorithms of a visual processor, and provide memory space for neural network algorithms and distance calculations.
[0030] In this embodiment, the power module is used to provide power to the zoom camera, the ranging controller, etc.
[0031] Figure 2 FIG. 4 shows a schematic diagram of the embodiment of the present invention using a single camera to accurately measure distance. Figure 3 A flow chart of the intelligent driving system of this embodiment using a single camera to accurately measure distance is shown.
[0032] The intelligent driving system of this embodiment uses a single camera, which first uses a visual processor to identify the target object and estimate its distance, then gives it priority through co-processing, and through focusing, quickly and accurately measures the precise distance of the target object, rather than the distance calculated by the software algorithm, to improve the robustness of the system, and can achieve accurate ranging in a large range of 0.05m-300m, with a long-distance ranging accuracy of less than 5cm and a close-range ranging accuracy of less than 1cm. Automobiles using the technical solution of this embodiment can reduce the cost of basic ADAS systems by 50%, while having the same performance as intelligent driving systems equipped with lidar and millimeter-wave radar.
[0033] For ordinary technicians in this field, the specific embodiments are only illustrative descriptions of the present invention. It is obvious that the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention, they are all within the protection scope of the present invention.
Claims
1. An intelligent driving system that uses a single camera to accurately measure distance, characterized in that include: Variable-focus camera, visual processor, coprocessor, memory unit, communication module, power module and ranging controller; The variable-focus camera includes a lens and an image sensor, wherein the position of the lens is adjusted by a focus motor to project target objects at different distances onto the image sensor; The visual processor recognizes the image obtained by the zoom camera, identifies the target object in the image and adds estimated distance information; The coprocessor receives the target object identified by the visual processor and the estimated distance information, and assigns the target object a corresponding priority according to the identified target object; the coprocessor transmits the target object, the assigned priority and the estimated distance information to the distance measurement controller through the communication module; wherein: the rapidly changing target object is assigned a priority of level 1; the slowly changing target is assigned a priority of level 2; the unchanged target object is assigned a priority of level 3; The distance measuring controller performs a focusing operation on the target object according to the priority of the target object and the estimated distance information. For a target object with a priority of level 1, the distance measuring controller controls the focus motor to perform the focusing operation at a frequency of 60 times / second; for a target object with a priority of level 2, the distance measuring controller controls the focus motor to perform the focusing operation at a frequency of 10 times / second; for a target object with a priority of level 3, the distance measuring controller controls the focus motor to perform the focusing operation at a frequency of 1 time / second; The visual processor also selects a clear image obtained according to the focus operation, reads the focus motor position parameters, and calculates the distance information according to the imaging formula 1 / u+1 / v=1 / f.
2. The intelligent driving system for accurate distance measurement using a single camera according to claim 1, characterized in that: The image sensor is a CCD sensor or a CMOS sensor.
3. The intelligent driving system for accurate distance measurement using a single camera according to claim 1, characterized in that: The visual processor identifies the target object in the image and estimates the distance information through a neural network algorithm.
4. The intelligent driving system for accurate distance measurement using a single camera according to claim 1, characterized in that: The rapidly changing target objects include vehicles, bicycles, motorcycles, pedestrians and obstacles; the slowly changing targets include traffic lights and variable lane signs; and the unchanging target objects include speed limit signs and gate signs.
5. The intelligent driving system for accurate distance measurement using a single camera according to claim 1, characterized in that: The memory unit is used to store images, neural network algorithms of the visual processor, and provide memory space for the neural network algorithm and distance calculation.
6. The intelligent driving system for accurate distance measurement using a single camera according to claim 1, characterized in that: The power supply module is used to provide power to the zoom camera and the distance measuring controller.
7. The intelligent driving system for accurate distance measurement using a single camera according to claim 1, characterized in that: The distance information can be sent to the display module and the alarm module through the communication module.
