Radar control method and device in autonomous driving, autonomous vehicle
By setting up multiple computing units in the autonomous driving system to monitor the radar drive status and switch control, the problem of control failure caused by radar drive abnormalities or hardware failures is solved, ensuring the safety and reliability of autonomous driving.
Patent Information
- Application Number
- CN202311082886.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-25
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-08-25
AI Technical Summary
In autonomous driving systems, radar control failure caused by abnormal radar drive or hardware malfunction of the computing unit can affect driving safety.
By setting up first and second computing units to monitor the radar drive operation status of their respective units, if an abnormality is detected, the first computing unit requests the second computing unit to take over radar control to ensure the reliability of radar control.
In the event of a radar-driven software failure, the system promptly switches to control via the second computing unit to prevent radar control failure and improve the reliability and stability of autonomous driving.
Smart Images

Figure CN117092653B_ABST
Abstract
Description
Technical Field
[0001] The embodiments disclosed herein relate to the field of artificial intelligence, specifically autonomous driving and AI chip technology, and can be applied to radar control scenarios in autonomous driving. Background Technology
[0002] Autonomous driving systems typically require a variety of sensors (such as radar) to enable functions such as automatic localization and perception of the surrounding environment, thereby assisting in strategies such as generating driving routes and ensuring the safety of autonomous driving.
[0003] For radar sensors, the computing unit in an autonomous driving system typically communicates with and controls the radar sensor using a radar driver. In situations where the computing unit's control over the radar is affected, such as a malfunction in the radar driver or a hardware failure in the computing unit, the autonomous driving system will usually control the vehicle to perform an emergency pullover to ensure driving safety. Summary of the Invention
[0004] Embodiments of this disclosure provide radar control methods, apparatus, autonomous vehicles, devices, storage media, and program products for autonomous driving.
[0005] In a first aspect, embodiments of this disclosure provide a radar control method for autonomous driving, comprising: monitoring whether the operation of a first radar driver is normal, wherein the first radar driver is installed in a first computing unit, and the first computing unit uses the first radar driver to control a target radar; in response to detecting an abnormal operation of the first radar driver, sending a first takeover request to a second computing unit, wherein the first takeover request is used to request the second computing unit to initiate control of the target radar using a second radar driver, wherein the second radar driver is installed in the second computing unit; in response to receiving a response from the second computing unit to the first takeover request, and in response to determining that the response indicates the second computing unit agrees to initiate control of the target radar, relinquishing control of the target radar.
[0006] Secondly, embodiments of this disclosure provide a radar control device for autonomous driving. The device includes: a monitoring module configured to monitor whether the operation of a first radar driver is normal, wherein the first radar driver is installed in a first computing unit, and the first computing unit uses the first radar driver to control a target radar; and a control module configured to, in response to detecting an abnormal operation of the first radar driver, send a first takeover request to a second computing unit, wherein the first takeover request requests the second computing unit to initiate control of the target radar using a second radar driver, wherein the second radar driver is installed in the second computing unit; and, in response to receiving a response from the second computing unit regarding the first takeover request, and in response to determining that the response indicates the second computing unit agrees to initiate control of the target radar, relinquish control of the target radar.
[0007] Thirdly, embodiments of this disclosure provide an autonomous vehicle, including a radar, a first computing unit, and a second computing unit; the first computing unit and the second computing unit are used to control the radar; the first computing unit is used to execute the method as described in the first aspect.
[0008] Fourthly, embodiments of this disclosure provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method as described in the first aspect.
[0009] Fifthly, embodiments of this disclosure provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the methods described in the first aspect.
[0010] In a sixth aspect, embodiments of this disclosure provide a computer program product including a computer program that, when executed by a processor, implements the method described in the first aspect.
[0011] The radar control method for autonomous driving provided in the embodiments of this disclosure sets up a first computing unit that can control a target radar using a first radar driver installed therein, and a second computing unit that can also control the target radar using a second radar driver installed therein. The first computing unit can monitor whether its own radar driver is running normally. If its own radar driver is abnormal, it will promptly request the second computing unit to take over the control of the target radar. This ensures that when a software failure occurs in the radar in an autonomous driving scenario, other computing units can take over the radar control in a timely manner, thereby improving the reliability of autonomous driving.
[0012] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0013] Other features, objects, and advantages of this disclosure will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0014] Figure 1 This is an exemplary system architecture diagram to which this disclosure can be applied;
[0015] Figure 2 This is a flowchart of one embodiment of the radar control method in autonomous driving disclosed herein;
[0016] Figure 3 This is a structural schematic diagram of an autonomous vehicle disclosed herein;
[0017] Figure 4 This is a schematic diagram illustrating the process of switching radar control using ADC and RDC in an autonomous vehicle according to this disclosure.
[0018] Figure 5 This is a schematic diagram of a structure of an embodiment of a radar control device in autonomous driving according to the present disclosure;
[0019] Figure 6 This is a block diagram of an electronic device used to implement the radar control method in autonomous driving according to embodiments of the present disclosure. Detailed Implementation
[0020] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0021] It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other. This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0022] Figure 1 An exemplary system architecture 100 is shown, in which embodiments of the radar control method or radar control device in autonomous driving of the present disclosure can be applied.
[0023] like Figure 1As shown, the system architecture 100 may include an autonomous vehicle 101, a computing unit 102, and a radar 103. The computing unit 102 can communicate with the radar 103 via a radar driver installed on it. The computing unit 102 can control the safe driving of the autonomous vehicle 101 by combining data information returned by the radar 103. For example, the computing unit 102 can send vehicle speed information and time synchronization messages to the radar 103. The radar 103 can return various information such as the distance, orientation, and speed of obstacles around the vehicle to the computing unit 102.
[0024] The computing unit 102 can be any device capable of implementing autonomous driving control. The computing unit 102 can be hardware or software. When the computing unit 102 is hardware, it can be any device including components such as a central processing unit (CPU). When the computing unit 102 is software, it can be installed in the aforementioned devices. It can be implemented as multiple software programs or software modules, or as a single software program or software module. No specific limitations are made here. Depending on the needs, multiple computing units can be provided in the autonomous vehicle 101, such as a main computing unit, redundant computing units, etc. Generally, multiple computing units can communicate with each other.
[0025] Radar 103 can be any type of radar required by the autonomous vehicle 101, such as lidar, millimeter-wave radar, etc.
[0026] It should be noted that the radar control method in autonomous driving provided in this embodiment is generally executed by the computing unit 102, and correspondingly, the radar control device in autonomous driving is generally located in the server 103.
[0027] It should be understood that Figure 1 The number of image acquisition devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of image acquisition devices, networks, and servers can be included.
[0028] Continue to refer to Figure 2 This illustrates a flow 200 of an embodiment of the radar control method in autonomous driving disclosed herein. The radar control method in autonomous driving includes the following steps:
[0029] Step 201: Monitor whether the operation of the first radar driver is normal.
[0030] In this embodiment, the autonomous driving system may include at least two computing units, such as a first computing unit and a second computing unit. Both the first and second computing units can be used to control the target radar.
[0031] The first computing unit may be equipped with a first radar driver, enabling it to control the target radar. The second computing unit may be equipped with a second radar driver, enabling it to control the target radar.
[0032] Generally, the first computing unit may include a first processor, and the first radar driver may be installed in the first processor. The second computing unit may include a second processor, and the second radar driver may be installed in the second processor. The first and second processors can process various data (such as data returned by the target radar) to generate control commands or control signals related to autonomous driving (such as vehicle speed, acceleration, deceleration, driving direction, etc.).
[0033] The first and second computing units can communicate and control the target radar through various communication methods (such as CAN bus or CANFD bus). It should be noted that, generally, at any given time, only one of the first and second computing units has control over the target radar.
[0034] The first computing unit can use various methods to monitor whether the first radar driver is operating normally. For example, the first radar driver can be pre-programmed to send commands or signals to the first computing unit at a specified period. In this case, the first computing unit can continuously monitor the commands or signals sent by the first radar driver. If it receives commands or signals from the first radar driver at the pre-agreed period, it can consider that the first radar driver is operating normally. Conversely, if it finds that the first radar driver does not send the corresponding commands or signals at the pre-agreed period (e.g., the period for receiving commands or signals from the first radar driver is too long), it can be considered that the first radar driver is operating abnormally, possibly due to excessive system pressure causing software failures such as process lag, freezing, or exit.
[0035] Step 202: In response to detecting an abnormal operation of the first radar drive, a first takeover request is sent to the second computing unit.
[0036] In this embodiment, when the first computing unit detects an abnormality in the operation of the first radar driver, it can send a first takeover request to the active second computing unit. This first takeover request can be used to request the second computing unit to utilize the second radar driver installed therein to initiate control of the target radar. In other words, it requests the second computing unit to take over control of the target radar.
[0037] Upon receiving the first takeover request, the second computing unit can activate the second radar actuator to control the target radar. Simultaneously, the second computing unit can also return a response to the first computing unit regarding the first takeover request. For example, the response could indicate that the second computing unit agrees to take over control of the target radar.
[0038] Step 203: In response to receiving the response information from the second computing unit in response to the first takeover request, and in response to determining that the response information indicates that the second computing unit agrees to initiate control of the target radar, the control of the target radar is relinquished.
[0039] In this embodiment, when the first computing unit receives the response information returned by the second computing unit, and the response information indicates that the second computing unit agrees to take over the control of the target radar, the first computing unit can relinquish the control of the target radar, that is, switch the radar control from the first computing unit to the second computing unit.
[0040] The radar control method for autonomous driving proposed in this disclosure can monitor software faults in the running radar driver. When a software fault occurs in the running radar driver, it can promptly request other computing units to take over the control of the target radar, thereby ensuring normal communication and control with the target radar, avoiding the impact of radar driver software faults on autonomous driving, and thus improving the reliability of autonomous driving.
[0041] In some optional implementations of this embodiment, after determining that the second computing unit has started controlling the target radar, the first computing unit can automatically monitor whether the second computing unit has experienced a hardware failure.
[0042] Hardware failures in the second computing unit may affect its control over the target radar. For example, a malfunction in the hardware within the second computing unit that enables data exchange between the second radar driver and the target radar could occur.
[0043] Specifically, the first computing unit can monitor the second computing unit for hardware failures using various methods. For example, the first and second computing units can pre-agree to send heartbeat messages to each other via a CAN / CAN FD bus at a specified period. In this case, the first computing unit can determine whether the second computing unit has experienced a hardware failure by whether it receives heartbeat messages from the second computing unit at the specified period. Generally, if the first computing unit does not receive messages from the second computing unit for an extended period, it can be assumed that the second computing unit may have experienced a hardware failure.
[0044] When the first computing unit detects the aforementioned hardware failure in the second computing unit and has not received a second takeover request from the second computing unit, the first computing unit can initiate control of the target radar to forcibly take over control. Simultaneously, the first computing unit can also send a first notification message to the second computing unit.
[0045] The second takeover request can refer to a takeover request actively sent by the second computing unit to the first computing unit when it detects an abnormality in its own radar drive operation. Specifically, the second takeover request can be used to request the first computing unit to initiate control of the target radar in order to take over control of the target radar.
[0046] The first notification information can be used to notify the second computing unit that the first computing unit has initiated control of the target radar, so that the second computing unit knows that the first computing unit has forcibly taken over control of the target radar.
[0047] This ensures that if a computing unit has control over the target radar but is unaware of a malfunction affecting its control, other computing units can promptly and forcibly take over control of the target radar, thereby further improving the reliability of radar control.
[0048] In some optional implementations of this embodiment, in response to determining that the second computing unit has initiated control of the target radar and in response to receiving a second takeover request sent by the second computing unit, the first computing unit may send a response message to the second computing unit indicating agreement to initiate control of the target radar and initiate control of the target radar.
[0049] When the first computing unit receives a second takeover request from the second computing unit while the second computing unit is controlling the target radar, it can take over control of the target radar according to the second takeover request. Generally, after receiving a response from the first computing unit indicating agreement to start, the second computing unit can relinquish its control over the target radar.
[0050] In this scenario, when the second computing unit detects an anomaly in the radar drive it is running, it can proactively send a second takeover request to the first computing unit, thereby enabling the first computing unit to passively take over control of the target radar and further improve the reliability of radar control.
[0051] In some optional implementations of this embodiment, the first computing unit relinquishes control of the target radar in response to receiving a second notification message sent by the second computing unit during the control of the target radar.
[0052] The second notification information can be used to notify the first computing unit that the second computing unit has started controlling the target radar, so that the first computing unit knows that the second computing unit has forcibly taken over the control of the target radar, and thus the first computing unit relinquishes control of the target radar.
[0053] Generally, after the first computing unit initiates control of the target radar, the second computing unit can automatically monitor the first computing unit for hardware faults that may affect control of the target radar. If a hardware fault is detected in the first computing unit, the second computing unit can send a second notification message to the first computing unit.
[0054] In this scenario, when a hardware failure occurs in the first computing unit that affects radar control, the second computing unit, which monitors the first computing unit, promptly and forcibly takes over control of the target radar, thereby further improving the reliability of radar control.
[0055] In some optional implementations of this embodiment, the first computing unit may include a Field Programmable Gate Array (FPGA). In this case, the first computing unit can utilize the FPGA to monitor whether the first radar driver is operating normally. Specifically, the processor in the first computing unit may be equipped with the first radar driver. The first radar driver can implement communication and control with the target radar based on the FPGA. For example, it can utilize an extended CAN FD interface on the FPGA to communicate with the target radar.
[0056] The second computing unit may include a microcontroller unit (MCU). In this case, the second computing unit can use the MCU to monitor whether the second radar driver is operating normally. Specifically, the processor in the second computing unit may be equipped with the second radar driver. The second radar driver can communicate and control the target radar based on the MCU. For example, it can use an extended CAN FD interface on the MCU to communicate with the target radar.
[0057] It should be noted that the terms "first" and "second" are used only to distinguish different objects and do not have any other additional limiting effect.
[0058] The first and second computing units can have identical or different structures, depending on the specific application requirements. Furthermore, it should be noted that the first computing unit itself can also function as the aforementioned second computing unit, and vice versa. That is, the first computing unit can proactively request the second computing unit to take over radar control by monitoring for software faults in its own radar driver. The first computing unit can also proactively and forcibly take over radar control by monitoring for hardware faults in the second computing unit. Correspondingly, the second computing unit can proactively request the first computing unit to take over radar control by monitoring for software faults in its own radar driver. The second computing unit can also proactively and forcibly take over radar control by monitoring for hardware faults in the first computing unit.
[0059] The radar control method for autonomous driving proposed in this disclosure employs two computing units. First, the computing unit with radar control can monitor for operational anomalies in its own radar drive and proactively request other computing units to take over radar control when such an anomaly occurs. Second, other computing units can monitor for hardware failures in the computing unit with radar control and forcibly take over radar control promptly when such a failure occurs. In other words, in situations where radar control may malfunction, the reliability of radar control is ensured by controlling the two computing units to actively or passively switch radar control, thereby guaranteeing the reliability of radar-controlled autonomous driving.
[0060] Further reference Figure 3 This illustrates a structural schematic diagram 300 of an autonomous vehicle disclosed herein. Figure 3 As shown, an autonomous vehicle may include a first computing unit 301, a second computing unit 302, and a radar 303 (e.g., Figure 3 The RADAR numbers shown are 0-3.
[0061] The first computing unit 301 may include a first processor 3011 and underlying firmware FPGA 3012. The first processor 3011 and FPGA 3012 can be connected via communication such as PCIe. The second computing unit 302 may include a second processor 3021 and underlying firmware MCU 3022. The second processor 3021 and MCU 3022 can be connected via communication such as PCIe.
[0062] Radar drivers can be installed on the first processor 3011 and the second processor 3021 respectively. The first computing unit 301 uses the extended CAN FD interface on the FPGA 3012 to communicate and control the external radar 303 via the CAN FD protocol. The second computing unit 302 can use the extended CAN FD interface on the MCU 3022 to communicate and control the external radar 303 via the CAN FD protocol.
[0063] Specifically, after the radar driver on the first processor 3011 starts up, it can communicate with the FPGA 3012 via PCIe, and the FPGA 3012 can communicate with the external radar 303 via CAN FD304. After the radar driver on the second processor 3021 starts up, it can communicate with the MCU 3022 via PCIe, and the MCU 3022 can communicate with the external radar 303 via CAN FD304.
[0064] In some cases, the first computing unit 301 can be implemented as the main computing unit (ADC, Autonomous Driving Controller) in an autonomous vehicle. The second computing unit 302 can be implemented as a redundant computing unit (RDC, Redundant Driving Controller) in an autonomous vehicle.
[0065] Further reference Figure 4 This illustrates a schematic diagram of the radar control switching process implemented by the ADC and RDC in an autonomous vehicle. Figure 4 As shown, in steps 401-402, the ADC starts the radar driver to send relevant messages, and the FPGA starts monitoring the radar driver. In step 403, when a software fault in the radar driver is detected, the ADC can actively request the RDC to take over radar control. In step 404, when the RDC agrees to take over, the ADC can stop sending relevant messages and start the bus (e.g., ...). Figure 3The ADC monitors the CAN FD bus to detect hardware faults in the RDC. In step 405, if a bus fault is detected, it indicates a hardware fault in the RDC. In this case, the ADC can forcibly take over the bus and, through the RDC, cause the RDC to disable relevant message transmission and start bus monitoring. Additionally, in step 406, when the ADC starts the radar driver to transmit relevant messages, the RDC can initiate the monitoring function. In step 407, if the RDC receives a request from the ADC to take over the bus during monitoring, the RDC can take over the bus and start relevant message transmission. In step 408, if a bus fault is detected, it indicates a hardware fault in the ADC. In this case, the RDC can forcibly take over the bus and notify the ADC to disable relevant message transmission and start bus monitoring.
[0066] By monitoring software faults in their own radar drivers and monitoring hardware faults in each other using ADC and RDC, flexible switching of radar control can be achieved, ensuring the stability and reliability of radar control, thereby improving the stability and reliability of autonomous vehicles.
[0067] Further reference Figure 5 As an implementation of the methods shown in the above figures, this disclosure provides an embodiment of a radar control device for autonomous driving, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.
[0068] like Figure 5 As shown, the radar control device 500 for autonomous driving provided in this embodiment includes a monitoring module 501 and a control module 502. The monitoring module 501 is configured to monitor whether the operation of a first radar driver is normal, wherein the first radar driver is installed in a first computing unit, and the first computing unit uses the first radar driver to control a target radar. The control module 502 is configured to, in response to detecting an abnormal operation of the first radar driver, send a first takeover request to a second computing unit, wherein the first takeover request requests the second computing unit to initiate control of the target radar using a second radar driver, wherein the second radar driver is installed in the second computing unit; and in response to receiving a response from the second computing unit regarding the first takeover request, and in response to determining that the response indicates the second computing unit agrees to initiate control of the target radar, relinquish control of the target radar.
[0069] In this embodiment, the specific processing of the monitoring module 501 and the control module 502 in the radar control device 500 of autonomous driving and the resulting technical effects can be referred to respectively. Figure 2 The relevant descriptions of steps 201-203 in the corresponding embodiments will not be repeated here.
[0070] In some optional implementations of this embodiment, the monitoring module 501 is further configured to: in response to determining that the second computing unit has started controlling the target radar, monitor whether the second computing unit has experienced a hardware failure, wherein the hardware failure affects the second computing unit's control over the target radar; the control module 502 is further configured to: in response to detecting a hardware failure in the second computing unit and in response to not receiving a second takeover request sent by the second computing unit, start controlling the target radar and send a first notification message to the second computing unit, wherein the second takeover request is used to request the first computing unit to start controlling the target radar, the second computing unit sends the second takeover request when it detects an abnormal operation of the second radar driver, and the first notification message is used to notify the first computing unit that it has started controlling the target radar.
[0071] In some optional implementations of this embodiment, the control module 502 is further configured to: in response to determining that the second computing unit has started control of the target radar, and in response to receiving a second takeover request sent by the second computing unit, send response information to the second computing unit indicating agreement to start control of the target radar, and start control of the target radar.
[0072] In some optional implementations of this embodiment, the control module 502 is further configured to: relinquish control of the target radar in response to receiving a second notification message sent by the second computing unit during the control of the target radar, wherein the second notification message is used to notify the second computing unit that control of the target radar has been initiated.
[0073] In some optional implementations of this embodiment, the first computing unit includes a field-programmable gate array (FPGA); and the monitoring module 501 is further configured to monitor whether the operation of the first radar drive is normal using the FPGA.
[0074] In some optional implementations of this embodiment, the second computing unit includes a microcontroller unit; and the second computing unit uses the microcontroller unit to monitor whether the operation of the second radar drive is abnormal.
[0075] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0076] Figure 6A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0077] like Figure 6 As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 602 or a computer program loaded from storage unit 608 into random access memory (RAM) 603. RAM 603 may also store various programs and data required for the operation of device 600. The computing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0078] Multiple components in device 600 are connected to I / O interface 605, including: input unit 606, such as a keyboard, mouse, etc.; output unit 607, such as various types of displays, speakers, etc.; storage unit 608, such as a disk, optical disk, etc.; and communication unit 609, such as a network card, modem, wireless transceiver, etc. Communication unit 609 allows device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks. Computing unit 601 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, central processing unit (CPU), graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Computing unit 601 performs the various methods and processes described above, such as radar control methods in autonomous driving. For example, in some embodiments, radar control methods in autonomous driving can be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by computing unit 601, one or more steps of the radar control method in autonomous driving described above may be performed. Alternatively, in other embodiments, computing unit 601 may be configured to perform the radar control method in autonomous driving by any other suitable means (e.g., by means of firmware).
[0079] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0080] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0081] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0082] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0083] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0084] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, distributed system servers, or servers incorporating blockchain technology.
[0085] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution provided in this disclosure can be achieved, and this is not limited herein.
[0086] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A radar control method for autonomous driving, applied to a first computing unit, comprising: The system monitors whether the operation of the first radar driver installed in the first computing unit is normal, and the first computing unit uses the first radar driver to control the target radar. In response to detecting an abnormal operation of the first radar driver, a first takeover request is sent to the second computing unit. The first takeover request is used to request the second computing unit to start control of the target radar using the installed second radar driver. In response to receiving a response from the second computing unit to the first takeover request, and the response indicating that the second computing unit agrees to initiate control of the target radar and relinquishes control of the target radar; In response to the second computing unit having initiated control over the target radar, the system monitors whether the second computing unit has experienced a hardware failure, which would affect the second computing unit's control over the target radar. In response to detecting a hardware failure in the second computing unit and not receiving a second takeover request from the second computing unit, control of the target radar is initiated, and a first notification message is sent to the second computing unit. The second takeover request is used to request the first computing unit to initiate control of the target radar. The second computing unit sends the second takeover request when it detects an abnormal operation of the second radar driver. The first notification message is used to notify the first computing unit that control of the target radar has been initiated.
2. The method according to claim 1, wherein, The method further includes: In response to determining that the second computing unit has initiated control of the target radar, and in response to receiving a second takeover request sent by the second computing unit, a response message indicating consent to initiate control of the target radar is sent to the second computing unit, and control of the target radar is initiated.
3. The method according to claim 2, wherein, The method further includes: In response to receiving a second notification message sent by the second computing unit during the control of the target radar, control of the target radar is relinquished, wherein the second notification message is used to notify the second computing unit that control of the target radar has been initiated.
4. The method according to any one of claims 1-3, wherein, The first computing unit includes a field-programmable gate array; as well as Monitoring whether the first radar driver is operating normally includes: using the field-programmable gate array to monitor whether the first radar driver is operating normally.
5. The method according to any one of claims 1-3, wherein, The second computing unit includes a microcontroller unit; and The second computing unit uses the microcontroller unit to monitor whether the operation of the second radar drive is abnormal.
6. A radar control device for autonomous driving, applied to a first computing unit, comprising: The monitoring module is configured to monitor whether the operation of the first radar driver installed in the first computing unit is normal, and the first computing unit uses the first radar driver to control the target radar. The control module is configured to send a first takeover request to the second computing unit in response to detecting an abnormal operation of the first radar driver. The first takeover request is used to request the second computing unit to start control of the target radar using the installed second radar driver. The control module is further configured to respond to receiving a response message from the second computing unit in response to the first takeover request, wherein the response message indicates that the second computing unit agrees to initiate control of the target radar and relinquishes control of the target radar; The monitoring module is further configured to: in response to the second computing unit having initiated control of the target radar, monitor whether the second computing unit has experienced a hardware failure, the hardware failure affecting the second computing unit's control of the target radar; The control module is further configured to, in response to detecting a hardware failure in the second computing unit and not receiving a second takeover request from the second computing unit, initiate control of the target radar and send a first notification message to the second computing unit. The second takeover request is used to request the first computing unit to initiate control of the target radar. The second computing unit sends the second takeover request when it detects an abnormal operation of the second radar driver. The first notification message is used to notify the first computing unit that control of the target radar has been initiated.
7. The apparatus according to claim 6, wherein, The control module is further configured to: In response to determining that the second computing unit has initiated control of the target radar, and in response to receiving a second takeover request sent by the second computing unit, a response message indicating consent to initiate control of the target radar is sent to the second computing unit, and control of the target radar is initiated.
8. The apparatus according to claim 7, wherein, The control module is further configured to: In response to receiving a second notification message sent by the second computing unit during the control of the target radar, control of the target radar is relinquished, wherein the second notification message is used to notify the second computing unit that control of the target radar has been initiated.
9. The apparatus according to any one of claims 6-8, wherein, The first computing unit includes a field-programmable gate array; and The monitoring module is further configured to monitor whether the operation of the first radar drive is normal using the field-programmable gate array.
10. The apparatus according to any one of claims 6-8, wherein, The second computing unit includes a microcontroller unit; and The second computing unit uses the microcontroller unit to monitor whether the operation of the second radar drive is abnormal.
11. An autonomous vehicle, comprising a radar, a first computing unit, and a second computing unit, wherein the first computing unit and the second computing unit are used to control the radar; The first computing unit is used to perform the method as described in any one of claims 1-5.
12. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
13. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-5.
14. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-5.
Citation Information
Patent Citations
Intelligent driving control method and device and intelligent driving control system
CN115529830A
