Vehicle collision avoidance method and device

By combining millimeter-wave radar and laser rangefinder, multi-level early warning instructions are generated, and the problem of low near-distance detection accuracy of vehicle collision avoidance systems is solved, precise distance detection and braking control within the full range is achieved, and avoidance is improved Touch efficiency and safety.

CN110497895BActive Publication Date: 2024-11-15TAIYUAN TIMES (BEIJING) INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910809588.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-29
Publication Date
2024-11-15
Estimated Expiration
2039-08-29

AI Technical Summary

Technical Problem

The existing vehicle collision avoidance system has blind spots at close range, resulting in low relative distance detection accuracy and poor collision avoidance efficiency, which cannot effectively reduce the probability of vehicle collision.

Method used

A combination of millimeter-wave radar and laser rangefinder is used to integrate relative distance and speed information through the electronic control mechanism to generate multi-level early warning instructions to remind the driver to take anti-collision measures in a timely manner, and combine the vehicle speed measuring instrument to achieve accuracy within the full distance range. Distance detection and braking control.

Benefits of technology

It improves the accuracy and efficiency of the vehicle collision avoidance system, reduces the probability of a vehicle collision, enhances the driver's reaction time, and reduces the occurrence of rear-end collision accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110497895B_ABST
    Figure CN110497895B_ABST
Patent Text Reader

Abstract

The present invention provides a vehicle collision avoidance method and device, the method comprising: receiving a first relative distance and a first relative speed of a vehicle relative to a front obstacle detected by a millimeter wave radar, a second relative distance and a second relative speed detected by a laser rangefinder; and a real-time speed of the vehicle detected by a speedometer; if the first relative distance is greater than a preset distance threshold, and the first relative speed is greater than zero, a first warning instruction is generated according to the first relative distance, the first relative speed and the real-time speed, and the driver of the vehicle is warned; if the first relative distance is not greater than the preset distance threshold, and the first relative speed is greater than zero, the smaller value of the first relative distance and the second relative distance is obtained, and a second warning instruction is generated according to the smaller value, the first relative speed and the real-time speed, and the driver of the vehicle is warned. The probability of a vehicle collision can be effectively reduced, and the collision avoidance efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle safe driving, and in particular to a vehicle collision avoidance method and device. Background Art

[0002] With the rapid development of my country's economy, cars have become the main means of transportation for families. However, the increasing number of family cars has given rise to a large number of novice drivers who lack driving experience. This makes it easy for them to collide with the vehicle in front after the vehicle ahead slows down.

[0003] Currently, during driving, millimeter-wave radars installed on vehicles are mainly used to avoid collisions with the vehicle in front. When the millimeter-wave radar detects that the distance between the vehicle and the vehicle in front is less than a preset safety distance threshold, it determines that there is a risk of collision and issues an alarm to the driver, allowing the driver to take anti-collision measures in time.

[0004] However, in this vehicle collision avoidance method, the millimeter-wave radar issues a collision avoidance alarm based on the distance between the vehicle and the vehicle in front. However, when the relative distance between the vehicle and the vehicle in front is small, the millimeter-wave radar has a blind spot when detecting distance, resulting in low relative distance detection accuracy at close ranges, which leads to poor collision avoidance efficiency and cannot effectively reduce vehicle collisions. Summary of the Invention

[0005] In view of this, an object of the present invention is to provide a vehicle collision avoidance method and device to reduce the probability of vehicle collision and improve collision avoidance efficiency.

[0006] In a first aspect, an embodiment of the present invention provides a vehicle collision avoidance device, comprising: a millimeter wave radar, a laser rangefinder, a vehicle speed meter, and an electronic control mechanism, wherein:

[0007] The number of the millimeter-wave radar, the electronic control mechanism, and the vehicle speed measuring instrument is one, and the number of the laser rangefinder is two. The millimeter-wave radar, the laser rangefinder, and the vehicle speed measuring instrument are connected to the electronic control mechanism through a wiring harness.

[0008] The millimeter-wave radar is installed in the middle area of ​​the vehicle's front air intake grille, the laser rangefinders are symmetrically installed on the left and right sides of the millimeter-wave radar, the vehicle speed meter is installed in an area at a predetermined first distance from the vehicle's drive shaft, and the electronic control mechanism is installed in the cab;

[0009] a millimeter-wave radar configured to transmit a millimeter-wave signal to a forward obstacle, receive a millimeter-wave reflected signal reflected by the forward obstacle, determine a first relative distance and a first relative speed of the vehicle relative to the forward obstacle based on the millimeter-wave signal and the millimeter-wave reflected signal, and output the first relative distance and the first relative speed to an electronic control mechanism;

[0010] a laser rangefinder, configured to transmit a laser signal toward the front obstacle, receive a laser reflection signal reflected by the front obstacle, determine a second relative distance and a second relative speed of the vehicle relative to the front obstacle based on the laser signal and the laser reflection signal, and output the second relative distance and the second relative speed to the electronic control mechanism;

[0011] A vehicle speed measuring instrument is used to measure the real-time vehicle speed and output the measured real-time vehicle speed to the electronic control mechanism;

[0012] an electronic control mechanism, configured to generate a first warning instruction based on the first relative distance, the first relative speed, and the real-time vehicle speed if the first relative distance is greater than a preset distance threshold and the first relative speed is greater than zero, to warn a driver of the vehicle so that the driver brakes according to the first warning instruction;

[0013] If the first relative distance is not greater than a preset distance threshold and the first relative speed is greater than zero, the smaller value of the first relative distance and the second relative distance is obtained, and a second warning instruction is generated based on the smaller value, the first relative speed and the real-time vehicle speed to warn the driver of the vehicle so that the driver can brake according to the second warning instruction.

[0014] In combination with the first aspect, an embodiment of the present invention provides a first possible implementation of the first aspect, wherein the electronic control mechanism is further configured to:

[0015] Displaying the first relative distance, the second relative distance, and the real-time vehicle speed;

[0016] After the early warning instruction is generated, a voice / sound alarm is issued, and the output of the vehicle drive is braked according to the early warning instruction, wherein the early warning instruction includes a first early warning instruction and a second early warning instruction.

[0017] In combination with the first aspect, the embodiment of the present invention provides a second possible implementation of the first aspect, which further includes:

[0018] a brake actuator, numbered one, connected to the electronic control mechanism via a wiring harness and mounted in an area at a predetermined second distance from a brake pedal of the vehicle;

[0019] The electronic control mechanism is also used to, after generating a warning instruction, monitor that the driver does not brake according to the warning instruction within the control time corresponding to the warning instruction, and output the warning instruction to the brake actuator so that the brake actuator brakes according to the warning instruction, and the warning instruction includes a first warning instruction and a second warning instruction.

[0020] In combination with the first aspect, the first or second possible implementation manner of the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein the millimeter wave radar includes: a radar transceiver, a modulation signal generator, a difference frequency signal preprocessor, an analog-to-digital converter, and a digital signal processor based on a field programmable gate array, wherein:

[0021] A modulation signal generator, used for outputting the generated triangular wave for modulation to the radar transceiver;

[0022] A radar transceiver configured to transmit a linear frequency modulation signal in a radio frequency band generated based on the received triangular wave to a forward obstacle, and output the linear frequency modulation signal and an echo signal obtained by reflecting the transmitted linear frequency modulation signal from the forward obstacle to a difference frequency signal preprocessor;

[0023] A difference frequency signal preprocessor is used to output the difference frequency signal obtained by mixing the received echo signal with the linear frequency modulation signal to the analog-to-digital converter;

[0024] An analog-to-digital converter is used to perform analog-to-digital conversion and digital filtering on the received difference frequency signal and output the obtained digital signal to a digital signal processor based on an FPGA;

[0025] The FPGA-based digital signal processor is used to output the first relative distance of the vehicle relative to the front obstacle obtained by processing the digital signal to the electronic control mechanism.

[0026] In combination with the third possible implementation of the first aspect, an embodiment of the present invention provides a fourth possible implementation of the first aspect, wherein the millimeter wave radar further includes:

[0027] The modulation signal conditioner is used to adjust the amplitude and frequency of the triangle wave output by the modulation signal generator and then output it to the radar transceiver.

[0028] In combination with the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein the modulation signal generator includes: an oscillation integrated circuit, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, and a tenth resistor, wherein,

[0029] One end of the eighth resistor is connected to the positive electrode of the predetermined first voltage, and the other end is connected to one end of the sixth resistor;

[0030] The other end of the sixth resistor is connected to the negative electrode of the predetermined first voltage;

[0031] One end of the first capacitor is connected to the positive electrode of the predetermined first voltage, and the other end is connected to the eighth pin of the oscillation integrated circuit, and the eighth pin is also movably connected to the eighth resistor;

[0032] One end of the second capacitor is connected to the tenth pin of the oscillation integrated circuit, and the other end is connected to the negative electrode of the predetermined first voltage;

[0033] The fourth pin of the oscillator integrated circuit is connected to one end of the first resistor, the other end of the first resistor is connected to one end of the seventh resistor, the other end of the seventh resistor is connected to one end of the second resistor, the other end of the second resistor is connected to the fifth pin of the oscillator integrated circuit, and the positive electrode of the predetermined first voltage is movably connected to the seventh resistor;

[0034] The sixth pin of the oscillation integrated circuit is connected to the positive electrode of the predetermined first voltage;

[0035] The ninth pin of the oscillator integrated circuit is connected to one end of the third resistor and outputs a square wave, and the other end of the third resistor is connected to the positive electrode of the predetermined first voltage;

[0036] The third pin of the oscillator integrated circuit outputs a triangle wave;

[0037] The second pin of the oscillator integrated circuit outputs a sine wave;

[0038] The eleventh pin of the oscillation integrated circuit is connected to the negative electrode of the predetermined first voltage;

[0039] The first pin of the oscillator integrated circuit is connected to one end of the third capacitor, and the other end of the third capacitor is connected to the negative electrode of the predetermined first voltage;

[0040] The first pin of the oscillator integrated circuit is also movably connected to the ninth resistor;

[0041] One end of the ninth resistor is connected to the negative electrode of the predetermined first voltage, and the other end is connected to one end of the fourth resistor;

[0042] The other end of the fourth resistor is connected to the positive electrode of the predetermined first voltage and one end of the fifth resistor respectively;

[0043] The other end of the fifth resistor is connected to one end of the tenth resistor;

[0044] The other end of the tenth resistor is connected to one end of the fourth capacitor and the negative electrode of the predetermined first voltage respectively;

[0045] The twelfth pin of the oscillation integrated circuit and the other end of the fourth capacitor are also movably connected to the tenth resistor.

[0046] In combination with the fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, wherein the modulation signal conditioner includes: an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a first op amp, and a fifth capacitor, wherein:

[0047] One end of the eleventh resistor is connected to the positive electrode of the predetermined first voltage, and the other end is connected to one end of the sixteenth resistor;

[0048] The other end of the sixteenth resistor is grounded;

[0049] One end of the thirteenth resistor is connected to the triangle wave, and the other end is connected to one end of the seventeenth resistor;

[0050] The other end of the seventeenth resistor is grounded;

[0051] The third terminal of the first operational amplifier is connected to one end of the twelfth resistor and the fourteenth resistor respectively, and the other end of the twelfth resistor is movably connected to the sixteenth resistor;

[0052] The other end of the fourteenth resistor is connected to one end of the fifth capacitor, and the other end of the fifth capacitor is movably connected to the seventeenth resistor;

[0053] The second end of the first operational amplifier is respectively connected to the fifteenth resistor and one end of the eighteenth resistor, and is further movably connected to the eighteenth resistor. The other end of the fifteenth resistor is grounded, and the other end of the eighteenth resistor is connected to the first end of the first operational amplifier. The first end of the first operational amplifier is an output end.

[0054] The eighth terminal of the first operational amplifier is connected to the positive electrode of the predetermined first voltage, and the fourth terminal of the first operational amplifier is connected to the negative electrode of the predetermined first voltage.

[0055] In a second aspect, an embodiment of the present invention further provides a vehicle collision avoidance method, comprising:

[0056] receiving a first relative distance and a first relative speed of the vehicle relative to a front obstacle detected by the millimeter-wave radar;

[0057] receiving a second relative distance and a second relative speed of the vehicle relative to the front obstacle detected by a laser rangefinder;

[0058] receiving a real-time speed of the vehicle detected by a speedometer;

[0059] If the first relative distance is greater than a preset distance threshold and the first relative speed is greater than zero, generating a first warning instruction based on the first relative distance, the first relative speed, and the real-time vehicle speed, to warn the driver of the vehicle so that the driver brakes according to the first warning instruction;

[0060] If the first relative distance is not greater than a preset distance threshold and the first relative speed is greater than zero, the smaller value of the first relative distance and the second relative distance is obtained, and a second warning instruction is generated based on the smaller value, the first relative speed and the real-time vehicle speed to warn the driver of the vehicle so that the driver can brake according to the second warning instruction.

[0061] In a third aspect, an embodiment of the present application provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0062] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are executed.

[0063] The vehicle collision avoidance method and device provided by an embodiment of the present invention receive a first relative distance and a first relative speed of a vehicle relative to a front obstacle detected by a millimeter-wave radar; receive a second relative distance and a second relative speed of the vehicle relative to the front obstacle detected by a laser rangefinder; and receive the real-time speed of the vehicle detected by a speedometer; if the first relative distance is greater than a preset distance threshold and the first relative speed is greater than zero, generate a first warning instruction based on the first relative distance, the first relative speed, and the real-time speed, and warn the driver of the vehicle so that the driver brakes according to the first warning instruction; if the first relative distance is not greater than the preset distance threshold and the first relative speed is greater than zero, obtain the smaller value of the first relative distance and the second relative distance, generate a second warning instruction based on the smaller value, the first relative speed, and the real-time speed, and warn the driver of the vehicle so that the driver brakes according to the second warning instruction. In this way, through monitoring by millimeter-wave radar, laser rangefinder and vehicle speed meter, and outputting detection information to the electronic control mechanism for information processing, when it is detected that the vehicle is in danger of a rear-end collision with an obstacle in front, the driver is reminded to take collision avoidance measures in time, thereby avoiding the occurrence of rear-end collision accidents, reducing the probability of vehicle collision and improving collision avoidance efficiency.

[0064] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.

[0066] Figure 1 A schematic structural diagram of a vehicle collision avoidance device provided by an embodiment of the present invention is shown;

[0067] Figure 2 A schematic diagram of the structure of a millimeter-wave radar provided in an embodiment of the present invention is shown;

[0068] Figure 3 A schematic diagram showing frequency changes of a transmitting signal and a receiving signal provided by an embodiment of the present invention is shown;

[0069] Figure 4 A schematic diagram showing the frequency and time of the transmitted signal, received signal, and difference frequency signal when a front obstacle and a millimeter-wave radar are in relative motion provided by an embodiment of the present invention;

[0070] Figure 5 A schematic diagram of the circuit structure of a modulation signal generator provided in an embodiment of the present invention is shown;

[0071] Figure 6 A schematic diagram of the circuit structure of a modulation signal regulator provided by an embodiment of the present invention is shown;

[0072] Figure 7 A schematic diagram of the circuit structure of a second-order high-pass filter provided in an embodiment of the present invention is shown;

[0073] Figure 8 A schematic diagram showing the circuit structure of a gain adjustment circuit provided in an embodiment of the present invention is shown;

[0074] Figure 9 FIG2 shows a schematic diagram of the circuit structure of the anti-aliasing filter provided by an embodiment of the present invention;

[0075] Figure 10 A schematic flow chart of a vehicle collision avoidance method provided by an embodiment of the present invention is shown;

[0076] Figure 11 A schematic diagram of the structure of a computer device 110 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0077] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions 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 only part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0078] The embodiments of the present invention provide a vehicle collision avoidance method and device, which are described below through embodiments.

[0079] Figure 1 FIG. 1 shows a schematic structural diagram of a vehicle collision avoidance device provided by an embodiment of the present invention. Figure 1 As shown, in the embodiment of the present invention, the vehicle collision avoidance device includes: a millimeter wave radar 11, a laser rangefinder 12, a vehicle speed measuring instrument 13 and an electronic control mechanism 14, wherein:

[0080] The number of the millimeter wave radar 11, the vehicle speed measuring instrument 13 and the electronic control mechanism 14 is 1, the number of the laser rangefinder 12 is 2, and the millimeter wave radar 11, the laser rangefinder 12 and the vehicle speed measuring instrument 13 are connected to the electronic control mechanism 14 respectively through a wiring harness;

[0081] The millimeter-wave radar 11 is installed in the middle area of ​​the vehicle's front air intake grille, the laser rangefinders 12 are symmetrically installed on the left and right sides of the millimeter-wave radar 11, the vehicle speed meter 13 is installed in an area at a predetermined first distance from the vehicle's transmission shaft, and the electronic control mechanism 14 is installed in the cab;

[0082] a millimeter-wave radar 11 configured to transmit a millimeter-wave signal to a forward obstacle, receive a millimeter-wave reflected signal reflected by the forward obstacle, determine a first relative distance and a first relative speed of the vehicle relative to the forward obstacle based on the millimeter-wave signal and the millimeter-wave reflected signal, and output the first relative distance and the first relative speed to the electronic control mechanism 14;

[0083] a laser rangefinder 12 for emitting a laser signal toward the front obstacle, receiving a laser reflection signal reflected by the front obstacle, determining a second relative distance and a second relative speed of the vehicle relative to the front obstacle based on the laser signal and the laser reflection signal, and outputting the second relative distance and the second relative speed to the electronic control mechanism 14;

[0084] The vehicle speed measuring device 13 is used to measure the real-time vehicle speed and output the measured real-time vehicle speed to the electronic control mechanism 14;

[0085] an electronic control mechanism 14 configured to generate a first warning instruction based on the first relative distance, the first relative speed, and the real-time vehicle speed if the first relative distance is greater than a preset distance threshold and the first relative speed is greater than zero, to warn a driver of the vehicle so that the driver brakes according to the first warning instruction;

[0086] If the first relative distance is not greater than a preset distance threshold and the first relative speed is greater than zero, the smaller value of the first relative distance and the second relative distance is obtained, and a second warning instruction is generated based on the smaller value, the first relative speed and the real-time vehicle speed to warn the driver of the vehicle so that the driver can brake according to the second warning instruction.

[0087] In an embodiment of the present invention, the driver implements automatic braking of the vehicle according to the warning instruction to avoid a collision accident. The warning instruction can be divided into multiple levels of instructions. For example, if the first relative distance is large but smaller than the safety distance, and the first relative speed is positive (the vehicle speed is greater than the speed of the obstacle ahead) and small, the danger level is defined as small, and the first warning instruction generated can be an instruction to the driver of the vehicle to slow down slightly; if the first relative distance is large, and the first relative speed is positive and large, the danger level is defined as medium, and the first warning instruction generated can be an instruction to the driver of the vehicle to slow down the vehicle to below a certain speed; if the second relative distance is small, and the first relative speed is positive and small, the danger level is defined as large, and the second warning instruction generated can be an instruction to the driver of the vehicle to slow down immediately; if the second relative distance is small, and the real-time vehicle speed is positive and large, the second warning instruction generated can be an instruction to the driver of the vehicle to slow down immediately and perform emergency braking.

[0088] In this embodiment of the present invention, a millimeter-wave radar is used to detect the first relative distance between the vehicle and the obstacle ahead. Millimeter-wave radar has strong penetration capabilities in fog, smoke, and dust, is less affected by natural light and thermal radiation, and has high accuracy, making it suitable for long-range detection. However, it has blind spots and poor accuracy at close range. Simultaneously, a laser rangefinder is used to detect the second relative distance between the vehicle and the obstacle ahead. Laser rangefinders have strong anti-interference capabilities and are low-cost, making them suitable for close-range detection. Therefore, combining millimeter-wave radar and a laser rangefinder to detect the relative distance between the vehicle and the obstacle ahead enables distance detection across the entire range, thereby improving distance detection accuracy. Braking control based on the highly accurate detection distance can effectively reduce the probability of a collision and improve collision avoidance efficiency.

[0089] In an embodiment of the present invention, as an optional embodiment, the electric control mechanism is further used to:

[0090] Displaying the first relative distance, the second relative distance, the first relative speed, the second relative speed, and the real-time vehicle speed;

[0091] After the early warning instruction is generated, a voice / sound alarm is issued, and the output of the vehicle drive is braked according to the early warning instruction, wherein the early warning instruction includes a first early warning instruction and a second early warning instruction.

[0092] In the embodiment of the present invention, the electronic control mechanism has an information display function and a voice / sound alarm function.

[0093] In an embodiment of the present invention, a millimeter-wave radar and a laser rangefinder are combined to detect the relative distance between the obstacle ahead and the vehicle.

[0094] In an embodiment of the present invention, as an optional embodiment, the vehicle collision avoidance device further includes:

[0095] a brake actuator 15, one in number, connected to the electronic control mechanism via a wiring harness and installed in an area at a predetermined second distance from the vehicle brake pedal;

[0096] The electronic control mechanism 14 is also used to monitor that the driver does not brake according to the warning instruction within the control time corresponding to the warning instruction after generating the warning instruction, and output the warning instruction to the brake actuator so that the brake actuator brakes according to the warning instruction. The warning instruction includes a first warning instruction and a second warning instruction.

[0097] In the embodiment of the present invention, the brake actuator implements automatic braking of the vehicle according to the warning instruction to avoid a collision accident of the vehicle.

[0098] In an embodiment of the present invention, as an optional embodiment, different warning instructions correspond to different control times. For example, if the first relative distance is large but smaller than the safe distance, and the real-time vehicle speed is positive and small, the control time corresponding to the generated warning instruction can be slightly longer.

[0099] In an embodiment of the present invention, monitoring is performed using millimeter-wave radar, a laser rangefinder, and a speedometer, and the detection information is output to an electronic control mechanism for processing. When a vehicle is detected as being in danger of a rear-end collision with a preceding vehicle (or obstacle), a warning is issued before a rear-end collision occurs, automatically reminding the driver to take timely avoidance measures, such as braking, to prevent an accident. If, after the warning, it is detected that the driver still has not taken avoidance measures, resulting in an imminent rear-end collision, intelligent braking is automatically performed based on the risk level, thereby avoiding a rear-end collision, reducing the probability of a collision with the obstacle ahead, or minimizing injuries to the driver and passengers and the severity of a vehicle collision.

[0100] In the embodiment of the present invention, as an optional embodiment, the millimeter wave radar is a frequency modulated continuous wave millimeter wave radar.

[0101] Figure 2 FIG. 1 shows a schematic diagram of the structure of the millimeter wave radar provided by an embodiment of the present invention. Figure 2 As shown, the millimeter wave radar includes: a radar transceiver 201, a modulation signal generator 202, a difference frequency signal preprocessor 203, an analog-to-digital converter 204, and a digital signal processor 205 based on a field programmable gate array (FPGA).

[0102] The modulation signal generator 202 is used to output the generated triangular wave for modulation to the radar transceiver 201;

[0103] The radar transceiver 201 is configured to transmit a linear frequency modulation signal in a radio frequency band generated based on the received triangular wave toward a forward obstacle, and output the linear frequency modulation signal and an echo signal obtained by reflecting the transmitted linear frequency modulation signal from the forward obstacle to the difference frequency signal preprocessor 203;

[0104] In an embodiment of the present invention, a linear frequency modulation signal is transmitted by the antenna of the radar transceiver 201 toward the obstacle in front. The transmitted linear frequency modulation signal is reflected by the obstacle in front. The antenna receives the linear frequency modulation signal reflected by the obstacle in front to obtain an echo signal. The linear frequency modulation signal and the echo signal are output to the difference frequency signal preprocessor 203.

[0105] The difference frequency signal preprocessor 203 is used to output the difference frequency signal obtained by mixing the received echo signal with the linear frequency modulation signal to the analog-to-digital converter 204;

[0106] In this embodiment of the present invention, the beat frequency signal preprocessor 203 mixes the received echo signal with the linear frequency modulation signal (the transmitted signal) to generate a beat frequency signal containing distance information. As an optional embodiment, the beat frequency signal preprocessor 203 is further configured to perform signal preprocessing such as filtering and gain adjustment on the beat frequency signal, and output the result to the analog-to-digital converter 204.

[0107] The analog-to-digital converter 204 is used to perform analog-to-digital (AD) conversion and digital filtering on the received difference frequency signal and output the obtained digital signal to the FPGA-based digital signal processor 205;

[0108] The FPGA-based digital signal processor 205 is configured to output the first relative distance of the vehicle relative to the front obstacle obtained by processing the digital signal to the electronic control mechanism.

[0109] In an embodiment of the present invention, the analog-to-digital converter 204 performs analog-to-digital (AD) conversion and digital filtering on the received signal, and then serially outputs the signal to the FPGA-based digital signal processor 205 via the serial peripheral interface (SPI) for digital signal processing to obtain a frequency value. Finally, a calculation is performed based on the obtained frequency value with high accuracy to obtain a first relative distance of the vehicle to the obstacle ahead.

[0110] In an embodiment of the present invention, as an optional embodiment, the millimeter wave radar further includes:

[0111] The modulation signal regulator (not shown in the figure) is used to adjust the amplitude and frequency of the triangular wave output by the modulation signal generator and then output it to the radar transceiver 201.

[0112] In the embodiment of the present invention, as another optional embodiment, the millimeter wave radar further includes:

[0113] A power supply (not shown in the figure) is respectively connected to the radar transceiver 201, the modulation signal generator 202, the difference frequency signal preprocessor 203, the analog-to-digital converter 204, and the digital signal processor 205 based on the field programmable gate array, and provides operating voltage for the radar transceiver 201, the modulation signal generator 202, the difference frequency signal preprocessor 203, the analog-to-digital converter 204, and the digital signal processor 205 based on the field programmable gate array.

[0114] In this embodiment of the present invention, the millimeter-wave radar transmits a series of continuously frequency-modulated millimeter waves (linear frequency modulation signals) through the antenna and receives reflected signals (received signals) from obstacles ahead. The frequency of the transmitted signal (linear frequency modulation signal) varies over time according to the modulation signal, which is a triangular wave signal.

[0115] Figure 3 FIG. 1 shows a schematic diagram of frequency variation of a transmitting signal and a receiving signal provided by an embodiment of the present invention. Figure 3 As shown in the figure, the solid line waveform represents the transmitted signal, the dotted line waveform represents the received signal, T represents the modulation period of the transmitted signal, ΔF represents the oscillation range of the transmitted signal frequency of the voltage-controlled oscillator, that is, the frequency modulation bandwidth, f diff_up Indicates the difference frequency signal frequency in the forward frequency modulation band after the transmit signal and the receive signal are mixed, f diff_down Indicates the frequency of the difference signal in the negative frequency modulation band after the transmit signal and the receive signal are mixed.

[0116] In the embodiment of the present invention, the time delay between the transmitted signal and the received signal caused by signal propagation is called the delay effect, which causes a difference of τ between the transmitted signal and the received signal on the time axis. This difference causes a difference of f between the transmitted signal and the received signal on the frequency axis. Delay The frequency difference is:

[0117]

[0118] Where,

[0119] R is the relative distance of the front obstacle to the millimeter-wave radar, that is, the first relative distance of the vehicle to the front obstacle;

[0120] C is the speed of light.

[0121] According to the triangular relationship, Figure 3 We can get:

[0122]

[0123] In the embodiment of the present invention, f Delay =f diff_up =f diff_down .

[0124] Substituting formula (1) into formula (2), we can get:

[0125]

[0126] From this, we can see that when the obstacle in front is relatively stationary with the millimeter-wave radar, the relative distance is linearly related to the difference frequency signal.

[0127] If the obstacle ahead and the millimeter-wave radar are in relative motion, the modulation parameters of the transmitted signal (modulation period T of the transmitted signal and oscillation range ΔF of the transmitted frequency) remain unchanged. When using a triangular wave to modulate the millimeter-wave radar, in addition to considering the time difference t caused by the delay effect, the Doppler frequency shift f caused by the Doppler effect must also be considered. Dopp .

[0128] Figure 4 The figure shows the frequency and time of the transmitted signal, received signal and difference frequency signal when the front obstacle and the millimeter wave radar are in relative motion according to the embodiment of the present invention. Figure 4 As shown in Figure 2, the relationship between the Doppler frequency shift and the speed v of the obstacle ahead is as follows:

[0129]

[0130] Where,

[0131] f Dopp is the Doppler frequency shift, in Hz;

[0132] f0 is the transmission frequency of the millimeter wave radar, in Hz;

[0133] v is the speed of the obstacle in front (m / s);

[0134] c is the speed of light (m / s);

[0135] α is the angle (°) between the line connecting the millimeter-wave radar to the obstacle in front and the moving direction of the obstacle in front.

[0136] In the embodiment of the present invention, to simplify formula (4), let the angle α = 0, that is, the obstacle in front moves radially relative to the millimeter wave radar, then formula (4) can be simplified to:

[0137]

[0138] Figure 4 In the positive frequency modulation section of the triangle wave, the time delay effect and the Doppler effect cancel each other out; in the negative frequency modulation section of the triangle wave, the time delay effect and the Doppler effect are superimposed on each other. Therefore, in the positive frequency modulation section of the triangle wave, the output signal f of the millimeter wave radar is diff_up , and, in the negative frequency modulation band, the output signal f of the millimeter wave radar diff_down They are:

[0139] f diff_up =f Delay -f Dopp (6)

[0140] f diff_down =f Delay +f Dopp (7)

[0141] Adding equation (6) and equation (7), we can get:

[0142] f diff_up +f diff_d own=2f Delay (8)

[0143] Substituting formula (8) into formula (3), we can obtain:

[0144]

[0145] In this way, by analyzing the difference frequency signal obtained by millimeter wave radar signal processing, the output signal f of the triangle wave in the forward frequency modulation band can be obtained. diff_up , and the output signal f in the negative frequency modulation band diff_down , and then according to formula (9), the relative distance of the obstacle in front relative to the millimeter-wave radar (the first relative distance) can be obtained.

[0146] In the embodiment of the present invention, by subtracting equation (6) from equation (7), we can obtain:

[0147] f diff_up -f diff_down =-2f Delay (10)

[0148] Substituting formula (10) into formula (5), we can obtain:

[0149]

[0150] In this way, by obtaining the output signal of the millimeter-wave radar in the positive frequency modulation band and the output signal in the negative frequency modulation band, combined with the transmission frequency f0 of the millimeter-wave radar, the relative speed information of the radial motion of the obstacle in front relative to the millimeter-wave radar can be obtained.

[0151] In an embodiment of the present invention, as an optional embodiment, the radar transceiver adopts a K-band radar transceiver (IVS-148). The K-band radar transceiver integrates a voltage-controlled oscillator (VCO). The radar transceiver adopts a planar microstrip antenna structure, and the transmitting and receiving antennas are integrated into one. In this way, the structure is compact, the power consumption is low during operation, and it is also easy to integrate into the millimeter wave radar.

[0152] The modulation signal generator uses the precision oscillation integrated circuit ICL8038, which has the characteristics of multiple waveform output types, low distortion, and high linearity. It can generate waveforms from 0.001Hz to 1MHz with fewer components, and the frequency and duty cycle of the waveform can be controlled by external capacitors and potentiometers respectively. The output waveform can be a triangle wave, square wave, sine wave, etc.

[0153] Figure 5 FIG. 1 shows a schematic diagram of the circuit structure of the modulation signal generator provided by an embodiment of the present invention. Figure 5As shown, the modulation signal generator includes: an oscillation integrated circuit 501, a first capacitor 502, a second capacitor 503, a third capacitor 504, a fourth capacitor 505, a first resistor 506, a second resistor 507, a third resistor 508, a fourth resistor 509, a fifth resistor 510, a sixth resistor 511, a seventh resistor 512, an eighth resistor 513, a ninth resistor 514 and a tenth resistor 515, wherein,

[0154] One end of the eighth resistor 513 is connected to the positive electrode of the predetermined first voltage, and the other end is connected to one end of the sixth resistor 511;

[0155] The other end of the sixth resistor 511 is connected to the negative electrode of the predetermined first voltage;

[0156] One end of the first capacitor 502 is connected to the positive electrode of the predetermined first voltage, and the other end is connected to the eighth pin of the oscillation integrated circuit 501, and the eighth pin is also movably connected to the eighth resistor 513;

[0157] One end of the second capacitor 503 is connected to the tenth pin of the oscillation integrated circuit 501, and the other end is connected to the negative electrode of the predetermined first voltage;

[0158] The fourth pin of the oscillation integrated circuit 501 is connected to one end of the first resistor 506, the other end of the first resistor 506 is connected to one end of the seventh resistor 512, the other end of the seventh resistor 512 is connected to one end of the second resistor 507, the other end of the second resistor 507 is connected to the fifth pin of the oscillation integrated circuit 501, and the positive electrode of the predetermined first voltage is movably connected to the seventh resistor 512.

[0159] The sixth pin of the oscillation integrated circuit 501 is connected to the positive electrode of the predetermined first voltage;

[0160] The ninth pin of the oscillation integrated circuit 501 is connected to one end of the third resistor 508 and outputs a square wave, and the other end of the third resistor 508 is connected to the positive electrode of the predetermined first voltage;

[0161] The third pin of the oscillation integrated circuit 501 outputs a triangular wave;

[0162] The second pin of the oscillation integrated circuit 501 outputs a sine wave;

[0163] The eleventh pin of the oscillation integrated circuit 501 is connected to the negative electrode of the predetermined first voltage;

[0164] The first pin of the oscillation integrated circuit 501 is connected to one end of the third capacitor 504, and the other end of the third capacitor 504 is connected to the negative electrode of the predetermined first voltage;

[0165] The first pin of the oscillator integrated circuit 501 is also movably connected to the ninth resistor 514;

[0166] One end of the ninth resistor 514 is connected to the negative electrode of the predetermined first voltage, and the other end is connected to one end of the fourth resistor 509;

[0167] The other end of the fourth resistor 509 is connected to the positive electrode of the predetermined first voltage and one end of the fifth resistor 510 respectively;

[0168] The other end of the fifth resistor 510 is connected to one end of the tenth resistor 515;

[0169] The other end of the tenth resistor 515 is connected to one end of the fourth capacitor 505 and the negative electrode of the predetermined first voltage respectively;

[0170] The twelfth pin of the oscillation integrated circuit 501 and the other end of the fourth capacitor 505 are also movably connected to the tenth resistor 515 .

[0171] In the embodiment of the present invention, as an optional embodiment, the capacitance values ​​of the first capacitor 502, the second capacitor 503, the third capacitor 504 and the fourth capacitor 505 are all 0.1 microfarads;

[0172] The resistance values ​​of the first resistor 506 , the second resistor 507 , the third resistor 508 , the fourth resistor 509 and the fifth resistor 510 are all 10 k ohms, and the resistance value of the sixth resistor 511 is all 20 k ohms;

[0173] The resistance of the seventh resistor 512 is 5k ohms, the resistance of the eighth resistor 513 is 10k ohms, the resistance of the ninth resistor 514 and the tenth resistor 515 are both 100k ohms, and the predetermined first voltage is 12V.

[0174] Figure 6 FIG. 1 shows a schematic diagram of the circuit structure of the modulation signal regulator provided by an embodiment of the present invention. Figure 6 As shown, the modulation signal regulator includes: an eleventh resistor 601, a twelfth resistor 602, a thirteenth resistor 603, a fourteenth resistor 604, a fifteenth resistor 605, a sixteenth resistor 606, a seventeenth resistor 607, an eighteenth resistor 608, a first operational amplifier 609 and a fifth capacitor 610, wherein,

[0175] One end of the eleventh resistor 601 is connected to the positive electrode of the predetermined first voltage, and the other end is connected to one end of the sixteenth resistor 606;

[0176] The other end of the sixteenth resistor 606 is grounded;

[0177] One end of the thirteenth resistor 603 is connected to the triangle wave, and the other end is connected to one end of the seventeenth resistor 607;

[0178] The other end of the seventeenth resistor 607 is grounded;

[0179] The third terminal of the first operational amplifier 609 is connected to one end of the twelfth resistor 602 and one end of the fourteenth resistor 604 respectively. The other end of the twelfth resistor 602 is movably connected to the sixteenth resistor 606.

[0180] The other end of the fourteenth resistor 604 is connected to one end of the fifth capacitor 610 , and the other end of the fifth capacitor 610 is movably connected to the seventeenth resistor 607 ;

[0181] A second end of the first operational amplifier 609 is connected to one end of the fifteenth resistor 605 and the eighteenth resistor 608, respectively, and is further movably connected to the eighteenth resistor 608. The other end of the fifteenth resistor 605 is grounded, and the other end of the eighteenth resistor 608 is connected to the first end of the first operational amplifier 609. The first end of the first operational amplifier 609 is an output end.

[0182] The eighth terminal of the first operational amplifier 609 is connected to the positive electrode of the predetermined first voltage, and the fourth terminal is connected to the negative electrode of the predetermined first voltage.

[0183] In the embodiment of the present invention, the first operational amplifier 609 is of model OPA2211A, with a third terminal being a non-inverting input terminal and a second terminal being an out-of-phase input terminal. The resistance of the eleventh resistor 601 is 50k ohms, the resistance of the twelfth resistor 602 is 10k ohms, the resistance of the thirteenth resistor 603 is 5k ohms, the resistance of the fourteenth resistor 604 is 10k ohms, the resistance of the fifteenth resistor 605 is 10k ohms, the resistance of the sixteenth resistor 606 is 5k ohms, the resistance of the seventeenth resistor 607 is 20k ohms, the resistance of the eighteenth resistor 608 is 100k ohms, and the capacitance of the fifth capacitor 610 is 10 microfarads.

[0184] In the embodiment of the present invention, the DC bias and the peak-to-peak value range of the triangle wave can be controlled respectively by adjusting the sixteenth resistor 606 and the eighteenth resistor 608 .

[0185] In an embodiment of the present invention, as an optional embodiment, the difference frequency signal preprocessor includes: a second-order high-pass filter, a gain adjustment circuit and an anti-aliasing filter.

[0186] Figure 7 FIG. 1 shows a schematic diagram of the circuit structure of a second-order high-pass filter provided by an embodiment of the present invention. Figure 7As shown, the second-order high-pass filter includes: a nineteenth resistor 701, a twentieth resistor 702, a twenty-first resistor 703, a twenty-second resistor 704, a twenty-third resistor 705, a twenty-fourth resistor 706, a twenty-fifth resistor 707, a twenty-sixth resistor 708, a twenty-seventh resistor 709, a sixth capacitor 710, a seventh capacitor 711, an eighth capacitor 712, a ninth capacitor 713, a tenth capacitor 714, a second operational amplifier 715, and a third operational amplifier 716, wherein:

[0187] One end of the nineteenth resistor 701 is connected to the positive electrode of the predetermined second voltage, and the other end is connected to one end of the twenty-first resistor 703, the sixth capacitor 710, the twenty-second resistor 704, and the twentieth resistor 702 respectively;

[0188] The other end of the twenty-first resistor 703 and the sixth capacitor 710 is grounded;

[0189] The other end of the 22nd resistor 704 is connected to the third end of the second operational amplifier 715 , and the other end of the 20th resistor 702 is connected to the fifth end of the third operational amplifier 716 ;

[0190] The eighth terminal of the second op amp 715 and the eighth terminal of the third op amp 716 are respectively connected to the positive electrode of the predetermined first voltage, and the fourth terminal of the second op amp 715 and the fourth terminal of the third op amp 716 are respectively connected to the negative electrode of the predetermined first voltage;

[0191] A second end of the second operational amplifier 715 is connected to the twenty-fifth resistor 707 , the twenty-sixth resistor 708 , and one end of the tenth capacitor 714 , respectively;

[0192] The other end of the twenty-fifth resistor 707 is connected to one end of the eighth capacitor 712, and the other end of the eighth capacitor 712 is connected to the transmission signal, the reflected signal, and one end of the twenty-seventh resistor 709 respectively;

[0193] The other end of the twenty-seventh resistor 709 is grounded;

[0194] The other end of the twenty-sixth resistor 708 and the tenth capacitor 714 are connected to the first end of the second operational amplifier 715 , and the first end of the second operational amplifier 715 is further connected to one end of the seventh capacitor 711 ;

[0195] The other end of the seventh capacitor 711 is connected to one end of the twenty-third resistor 705, and the other end of the twenty-third resistor 705 is connected to the sixth end of the third operational amplifier 716, the twenty-fourth resistor 706, and one end of the ninth capacitor 713 respectively;

[0196] The other end of the twenty-fourth resistor 706 and the ninth capacitor 713 are connected to the seventh end of the third operational amplifier 716 . The seventh end of the third operational amplifier 716 is an output end.

[0197] In the embodiment of the present invention, as an optional embodiment, the model of the second operational amplifier 715 is MC330781, and the model of the third operational amplifier 716 is MC330787. The resistance of the nineteenth resistor 701 is 47k ohms, the resistance of the twentieth resistor 702 is 1k ohm, the resistance of the twenty-first resistor 703 is 15k ohms, the resistance of the twenty-second resistor 704 is 1k ohm, the resistance of the twenty-third resistor 705 is 1k ohm, the resistance of the twenty-fourth resistor 706 is 30k ohms, the resistance of the twenty-fifth resistor 707 is 1k ohm, the resistance of the twenty-sixth resistor 708 is 30k ohms, the resistance of the twenty-seventh resistor 709 is 100k ohms, the capacitance of the sixth capacitor 710 is 10 microfarads, the capacitance of the seventh capacitor 711 is 68 nanofarads, the capacitance of the eighth capacitor 712 is 68 nanofarads, and the capacitances of the ninth capacitor 713 and the tenth capacitor 714 are both 150 picofarads.

[0198] In this embodiment of the present invention, the predetermined second voltage is 5V, the second-order high-pass filter is a second-order active high-pass filter with a gain of -3dB and a frequency of 2kHz, and the op amp is an MC33078, which features low noise, low offset voltage, and a high gain-bandwidth product. The second-order high-pass filter filters and amplifies the input signal.

[0199] Figure 8 FIG. 1 shows a schematic diagram of the circuit structure of the gain adjustment circuit provided by an embodiment of the present invention. Figure 8 As shown, the gain adjustment circuit includes: a twenty-eighth resistor 801, a twenty-ninth resistor 802, a thirtieth resistor 803 and a fourth operational amplifier 804, wherein,

[0200] One end of the twenty-eighth resistor 801 is connected to the input signal, and the other end is connected to the third end of the fourth operational amplifier 804;

[0201] The second end of the fourth operational amplifier 804 is connected to one end of the twenty-ninth resistor 802 and the thirtieth resistor 803 respectively, the eighth end is connected to the positive electrode of the predetermined first voltage, and the fourth end is connected to the negative electrode of the predetermined first voltage;

[0202] The other end of the 30th resistor 803 is grounded, and the other end of the 29th resistor 802 is connected to the first end of the fourth operational amplifier 804 . The first end of the fourth operational amplifier 804 is an output end.

[0203] In an embodiment of the present invention, the gain adjustment circuit is used to ensure that the difference frequency signal of the preceding circuit and the AD sampling of the subsequent circuit do not affect each other, and is used to ensure that the peak-to-peak value of the difference frequency signal reaches the full range value of the AD as much as possible, while also providing effective isolation between the preceding and following circuits. As an optional embodiment, the fourth op amp is an OPA2211A, the resistance of the eighteenth resistor is 1k ohm, the resistance of the twenty-fifth resistor is 5k ohm, and the resistance of the twenty-seventh resistor is 10k ohm.

[0204] Figure 9 FIG. 1 shows a schematic diagram of the circuit structure of the anti-aliasing filter provided by an embodiment of the present invention. Figure 9 As shown, the anti-aliasing filter includes: a thirty-first resistor 901 and an eleventh capacitor 902, wherein,

[0205] One end of the thirty-first resistor 901 is connected to the input signal, and the other end is connected to one end of the eleventh capacitor 902;

[0206] The other end of the eleventh capacitor 902 is grounded, one end of the thirty-first resistor 901 and the other end of the eleventh capacitor 902 form an input end, and both ends of the eleventh capacitor 902 form an output end.

[0207] In the embodiment of the present invention, as an optional embodiment, the resistance of the thirty-first resistor 901 is 1 k ohm, and the capacitance of the eleventh capacitor 902 is 510 pF.

[0208] In embodiments of the present invention, if filtering measures are not taken when an analog-to-digital converter samples a beat frequency signal, high-frequency noise interference may occur. When the frequency of the high-frequency noise exceeds the Nyquist sampling frequency, frequency aliasing may occur. To prevent frequency aliasing when digitizing the beat frequency signal, an anti-aliasing filter is used to filter out the frequency components that cause frequency aliasing.

[0209] In an embodiment of the present invention, as an optional embodiment, the analog-to-digital conversion circuit adopts the 12-bit high-speed serial data converter AD7893 produced by AD Company, adopts a single 5V power supply, the resolution of the converter can reach 0.02%, the power consumption is 25mW, and includes a 6usDAC, a sampling / holding amplifier, a control logic circuit and a high-speed serial interface.

[0210] The principle of laser rangefinder is as follows:

[0211] When the laser rangefinder is powered on, the square wave signal generated by the oscillator controls the self-inductance boost circuit, converting the laser rangefinder's main power supply (DC5V) into a DC pulsating voltage with a no-load voltage of approximately DC160V. After voltage stabilization, a no-load voltage of approximately DC120V is generated at the emitter to generate an emission excitation voltage for the transmitting circuit. This high-voltage DC pulsating voltage is further filtered to form the excitation power supply for the receiving photodiode.

[0212] The main processor issues a laser launch command, simultaneously notifying the coprocessor of this. Specifically, the laser launch command turns on the switching transistor, allowing the high voltage stored in the capacitor to instantly flow through the switching transistor, stimulating the pulsed infrared laser diode to emit a pulsed laser. Simultaneously, a pulse signal (main wave) is generated to notify the coprocessor of the successful pulsed laser launch. The coprocessor then controls the time integration circuit to begin charging the integration capacitor.

[0213] The laser emitted by a laser rangefinder is properly focused by the transmitting lens to form a beam directed toward the target. Light reflected from the target surface is converged by the receiving lens and projected onto the effective photosensitive area of ​​the receiving tube, forming a weak, narrow pulse signal. This narrow pulse signal undergoes current and voltage amplification (echo pulse signal) and is then sent to the non-inverting input (pin 2) of the voltage comparator. The reference power supply is fed into the voltage comparator from its inverting input (pin 3). Only echo pulse signals with a voltage higher than the reference voltage pass through the comparator, while echo pulse signals with a voltage lower than the reference voltage are filtered out. By adjusting the reference voltage, the laser rangefinder's anti-interference capability can be adjusted.

[0214] The useful echo pulse signal is sent to the coprocessor. The coprocessor sends a signal to the main processor indicating that the echo has been received and issues an instruction to stop charging the integrating capacitor. The main processor collects the corresponding integrated voltage on the integrating capacitor and calculates the charging time of the integrating capacitor from the integrated voltage value, that is, the total time T from laser emission to echo return. Given that the speed of light in air is C = 3 × 108 m / s, the distance S from the laser rangefinder to the target can be calculated using the following formula.

[0215] S=T×C / 2

[0216] Where,

[0217] The unit of S is meter, and the total time T from laser emission to echo return is second.

[0218] Figure 10 A schematic flow chart of a vehicle collision avoidance method provided in an embodiment of the present invention is shown.

[0219] Step 101: receiving a first relative distance and a first relative speed of a vehicle relative to a front obstacle detected by a millimeter-wave radar;

[0220] Step 102, receiving a second relative distance and a second relative speed of the vehicle relative to the front obstacle detected by a laser rangefinder;

[0221] In an embodiment of the present invention, a millimeter-wave radar and a laser rangefinder are combined to detect the relative distance between the obstacle ahead and the vehicle.

[0222] Step 103, receiving the real-time speed of the vehicle detected by the speedometer;

[0223] Step 104: Whether the first relative distance is greater than a preset distance threshold and the first relative speed is greater than zero, if so, proceed to step 105; otherwise, proceed to step 106;

[0224] Step 105: generating a first warning instruction based on the first relative distance, the first relative speed, and the real-time vehicle speed, and warning the driver of the vehicle so that the driver brakes according to the first warning instruction;

[0225] Step 106: Obtain the smaller value between the first relative distance and the second relative distance, generate a second warning instruction based on the smaller value, the first relative speed and the real-time vehicle speed, and warn the driver of the vehicle so that the driver brakes according to the second warning instruction.

[0226] In an embodiment of the present invention, as an optional embodiment, the method further includes:

[0227] Displaying the first relative distance, the second relative distance, the first relative speed, the second relative speed, and the real-time vehicle speed;

[0228] After the early warning instruction is generated, a voice / sound alarm is issued, and the output of the vehicle drive is braked according to the early warning instruction, wherein the early warning instruction includes a first early warning instruction and a second early warning instruction.

[0229] In the embodiment of the present invention, as another optional embodiment, the method further includes:

[0230] After generating a warning instruction, it is monitored that the driver does not brake according to the warning instruction within the control time corresponding to the warning instruction, and the warning instruction is output to the brake actuator so that the brake actuator brakes according to the warning instruction. The warning instruction includes a first warning instruction and a second warning instruction.

[0231] like Figure 11As shown, an embodiment of the present application provides a computer device 110 for executing Figure 10 The vehicle collision avoidance method in the apparatus includes a memory 111, a processor 112, and a computer program stored in the memory 111 and executable on the processor 112, wherein the processor 112 implements the steps of the vehicle collision avoidance method when executing the computer program.

[0232] Specifically, the above-mentioned memory 111 and processor 112 can be general-purpose memories and processors, which are not specifically limited here. When the processor 112 runs the computer program stored in the memory 111, the above-mentioned vehicle collision avoidance method can be executed.

[0233] Corresponding to Figure 10 The vehicle collision avoidance method in the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the above-mentioned vehicle collision avoidance method are executed.

[0234] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned vehicle collision avoidance method can be executed.

[0235] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. There may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interface, indirect coupling or communication connection of the system or unit, which may be electrical, mechanical or other forms.

[0236] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0237] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0238] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0239] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0240] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The scope of protection of the present application is not limited thereto. Although the present application has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present application, or perform equivalent replacements for some of the technical features thereof. However, these modifications, changes, or replacements do not deviate from the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the scope of protection of the claims.

Claims

1. A vehicle collision avoidance device, characterized in that: include: Millimeter wave radar, laser rangefinder, vehicle speed measuring instrument and electronic control mechanism, among which, The number of the millimeter wave radar, the electric control mechanism and the vehicle speed measuring instrument is 1, the number of the laser range finder is 2, and the millimeter wave radar, the laser range finder and the vehicle speed measuring instrument are connected to the electric control mechanism respectively through a wire harness; The millimeter wave radar is installed in the middle area of ​​the front air intake network of the vehicle, the laser rangefinder is symmetrically installed on the left and right sides of the millimeter wave radar, the vehicle speed measuring instrument is installed in the area at a predetermined first distance from the vehicle transmission shaft, and the electronic control mechanism is installed in the cab; a millimeter wave radar, configured to transmit a millimeter wave signal to a front obstacle, receive a millimeter wave reflected wave signal reflected by the front obstacle, determine a first relative distance and a first relative speed of the vehicle relative to the front obstacle according to the millimeter wave signal and the millimeter wave reflected wave signal, and output the first relative distance and the first relative speed to an electronic control mechanism; a laser rangefinder, configured to emit a laser signal to the obstacle ahead, receive a laser reflection signal reflected by the obstacle ahead, determine a second relative distance and a second relative speed of the vehicle relative to the obstacle ahead based on the laser signal and the laser reflection signal, and output the second relative distance and the second relative speed to the electronic control mechanism; The vehicle speed measuring instrument is used to measure the real-time vehicle speed of the vehicle and output the measured real-time vehicle speed to the electronic control mechanism; an electronic control mechanism, configured to generate a first warning instruction according to the first relative distance, the first relative speed and the real-time vehicle speed if the first relative distance is greater than a preset distance threshold and the first relative speed is greater than zero, so as to warn the driver of the vehicle so that the driver brakes according to the first warning instruction; If the first relative distance is not greater than a preset distance threshold and the first relative speed is greater than zero, obtaining a smaller value between the first relative distance and the second relative distance, generating a second warning instruction according to the smaller value, the first relative speed and the real-time vehicle speed, and warning the driver of the vehicle so that the driver brakes according to the second warning instruction; The millimeter wave radar includes: a radar transceiver, a modulation signal generator, a difference frequency signal preprocessor, an analog-to-digital converter, and a digital signal processor based on a field programmable gate array, wherein: A modulation signal generator, used for outputting the generated triangular wave for modulation to the radar transceiver; A radar transceiver, used for transmitting a linear frequency modulation signal of a radio frequency band generated according to the received triangular wave to a front obstacle, and outputting the linear frequency modulation signal and an echo signal obtained by reflecting the transmitted linear frequency modulation signal from the front obstacle to a difference frequency signal preprocessor; A difference frequency signal preprocessor, used for outputting a difference frequency signal obtained by mixing the received echo signal with the linear frequency modulation signal to an analog-to-digital converter; An analog-to-digital converter, used for performing analog-to-digital conversion and digital filtering on the received difference frequency signal, and outputting the obtained digital signal to a digital signal processor based on FPGA; A digital signal processor based on FPGA, used for outputting the first relative distance of the vehicle relative to the front obstacle obtained by processing the digital signal to the electronic control mechanism; The millimeter wave radar also includes: A modulation signal regulator, used for adjusting the amplitude and frequency of the triangular wave output by the modulation signal generator and then outputting it to the radar transceiver; The modulation signal generator includes: an oscillating integrated circuit, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor and a tenth resistor, wherein: One end of the eighth resistor is connected to the positive electrode of the predetermined first voltage, and the other end is connected to one end of the sixth resistor; The other end of the sixth resistor is connected to the negative electrode of the predetermined first voltage; One end of the first capacitor is connected to the positive electrode of the predetermined first voltage, and the other end is connected to the eighth pin of the oscillating integrated circuit, and the eighth pin is also movably connected to the eighth resistor; One end of the second capacitor is connected to the tenth pin of the oscillator integrated circuit, and the other end is connected to the negative electrode of the predetermined first voltage; The fourth pin of the oscillator integrated circuit is connected to one end of the first resistor, the other end of the first resistor is connected to one end of the seventh resistor, the other end of the seventh resistor is connected to one end of the second resistor, the other end of the second resistor is connected to the fifth pin of the oscillator integrated circuit, and the positive electrode of the predetermined first voltage is movably connected to the seventh resistor; The sixth pin of the oscillator integrated circuit is connected to the positive electrode of the predetermined first voltage; The ninth pin of the oscillator integrated circuit is connected to one end of the third resistor and outputs a square wave, and the other end of the third resistor is connected to the positive electrode of the predetermined first voltage; The third pin of the oscillator integrated circuit outputs a triangular wave; The second pin of the oscillator integrated circuit outputs a sine wave; The eleventh pin of the oscillator integrated circuit is connected to the negative electrode of the predetermined first voltage; The first pin of the oscillator integrated circuit is connected to one end of the third capacitor, and the other end of the third capacitor is connected to the negative electrode of the predetermined first voltage; The first pin of the oscillating integrated circuit is also movably connected to the ninth resistor; One end of the ninth resistor is connected to the negative electrode of the predetermined first voltage, and the other end is connected to one end of the fourth resistor; The other end of the fourth resistor is connected to the positive electrode of the predetermined first voltage and one end of the fifth resistor respectively; The other end of the fifth resistor is connected to one end of the tenth resistor; The other end of the tenth resistor is respectively connected to one end of the fourth capacitor and the negative electrode of the predetermined first voltage; The twelfth pin of the oscillator integrated circuit and the other end of the fourth capacitor are also movably connected to the tenth resistor; The modulation signal regulator includes: an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a first operational amplifier and a fifth capacitor, wherein: One end of the eleventh resistor is connected to the positive electrode of the predetermined first voltage, and the other end is connected to one end of the sixteenth resistor; The other end of the sixteenth resistor is grounded; One end of the thirteenth resistor is connected to the triangle wave, and the other end is connected to one end of the seventeenth resistor; The other end of the seventeenth resistor is grounded; The third terminal of the first operational amplifier is connected to one end of the twelfth resistor and the fourteenth resistor respectively, and the other end of the twelfth resistor is movably connected to the sixteenth resistor; The other end of the fourteenth resistor is connected to one end of the fifth capacitor, and the other end of the fifth capacitor is movably connected to the seventeenth resistor; The second end of the first operational amplifier is connected to the fifteenth resistor and one end of the eighteenth resistor respectively, and is also movably connected to the eighteenth resistor. The other end of the fifteenth resistor is grounded. The other end of the eighteenth resistor is connected to the first end of the first operational amplifier. The first end of the first operational amplifier is an output end. The eighth terminal of the first operational amplifier is connected to the positive electrode of the predetermined first voltage, and the fourth terminal is connected to the negative electrode of the predetermined first voltage; The millimeter wave radar is used to transmit a millimeter wave signal to a front obstacle, receive a millimeter wave reflected signal reflected by the front obstacle, and determine a first relative distance and a first relative speed of the vehicle relative to the front obstacle according to the millimeter wave signal and the millimeter wave reflected signal, specifically used to: The first relative distance and the first relative speed are calculated by the following formula: Wherein, R represents the first relative distance; T represents the modulation period of the linear frequency modulation signal; c is the speed of light; f diff_up represents the frequency of the difference frequency signal in the forward frequency modulation section after the linear frequency modulation signal and the echo signal reflected by the obstacle in front are mixed; f diff_down represents the frequency of the difference frequency signal in the negative frequency modulation section after the linear frequency modulation signal and the echo signal reflected by the obstacle in front are mixed; ΔF represents the oscillation range of the linear frequency modulation signal frequency of the voltage-controlled oscillator; Wherein, v represents the first relative velocity; f0 represents the transmitting frequency of the millimeter wave radar.

2. The vehicle collision avoidance device according to claim 1, characterized in that: The electric control mechanism is also used for: Displaying the first relative distance, the second relative distance, and the real-time vehicle speed; After the early warning instruction is generated, a voice / sound alarm is issued, and, according to the early warning instruction, the output of the vehicle drive is braked, wherein the early warning instruction includes a first early warning instruction and a second early warning instruction.

3. The vehicle collision avoidance device according to claim 1, characterized in that: Also includes: a brake actuator, one in number, connected to the electric control mechanism via a wiring harness and installed in an area at a predetermined second distance from a brake pedal of the vehicle; The electronic control mechanism is also used to, after generating a warning instruction, monitor that the driver does not brake according to the warning instruction within the control time corresponding to the warning instruction, and output the warning instruction to the brake actuator so that the brake actuator brakes according to the warning instruction. The warning instruction includes a first warning instruction and a second warning instruction.

4. A vehicle collision avoidance method, characterized in that: The method is applied to the electric control mechanism in the vehicle collision avoidance device according to claim 1, and the method comprises: Receiving a first relative distance and a first relative speed of the vehicle relative to a front obstacle detected by the millimeter wave radar; receiving a second relative distance and a second relative speed of the vehicle relative to the front obstacle detected by a laser rangefinder; Receiving the real-time speed of the vehicle detected by a vehicle speed measuring instrument; If the first relative distance is greater than a preset distance threshold and the first relative speed is greater than zero, a first warning instruction is generated according to the first relative distance, the first relative speed and the real-time vehicle speed to warn the driver of the vehicle so that the driver brakes according to the first warning instruction; If the first relative distance is not greater than a preset distance threshold and the first relative speed is greater than zero, a smaller value between the first relative distance and the second relative distance is obtained, and a second warning instruction is generated based on the smaller value, the first relative speed and the real-time vehicle speed to warn the driver of the vehicle so that the driver can brake according to the second warning instruction.

5. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the vehicle collision avoidance method as described in claim 4 are performed.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the vehicle collision avoidance method as claimed in claim 4.