Information transmission method, control device, electromagnetic signal transceiver device, and signal processing device
The dual-processor, multi-channel architecture in millimeter-wave radar systems addresses dual-point failures by simultaneous fault processing, enhancing reliability and preventing system failures.
Patent Information
- Application Number
- JP2023526334
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2040-10-30
AI Technical Summary
Existing millimeter-wave radar systems in automotive applications face challenges in timely handling of dual-point failures, which can lead to system short circuits and incorrect data generation due to the inability to process multiple faults concurrently.
A method and device architecture utilizing dual processors and multiple communication channels (SPI and LVDS) to independently process and transmit fault information, enabling simultaneous handling of dual-point failures by multiplexing LVDS channels for redundancy.
Ensures timely processing of dual-point faults, preventing system failures and data inaccuracies by avoiding communication channel failures and ensuring efficient fault handling in millimeter-wave radar systems.
Smart Images

Figure 0007560042000001 
Figure 0007560042000002 
Figure 0007560042000003
Abstract
Description
[Technical field]
[0001] This application relates to the field of information transmission technology, and in particular to an information transmission method, a control apparatus, an electromagnetic signal transceiver apparatus, and a signal processing device. [Background technology]
[0002] Millimeter-wave radar systems have been attracting more and more attention due to their low cost and mature technology. The millimeter-wave radar system has the following advantages, including but not limited to: Large bandwidth, abundant frequency domain resources, and low antenna side lobes, which lead to the implementation of imaging or quasi-imaging; Short wavelength, which can reduce the size and antenna diameter of the radar device and reduce the weight; Narrow beam, and for the same antenna size, the millimeter-wave beam is much narrower than the microwave beam, resulting in high radar resolution; The millimeter-wave radar system has strong penetrability and has a stronger ability to penetrate smoke, dust, and fog than laser radar and optical systems, and can operate throughout the day. Based on the advantages of the millimeter-wave radar system, the millimeter-wave radar system has been widely applied to multiple fields, such as the automotive field. The wavelength of millimeter waves ranges from 1 millimeter (mm) to 10 millimeters, and the corresponding frequency range is from 30 gigahertz (GHz) to 200 GHz. Therefore, in this frequency band, the characteristics related to millimeter waves are very suitable for the automotive field. Generally, the frequencies of automotive millimeter wave radar systems are 24 GHz and 77 GHz.
[0003] Failure handling in electric and electronic systems in vehicle-mounted millimeter wave radar systems is essential. The failure behavior of electric and electronic systems is mainly caused by random hardware failures and system failures. Random hardware failures are further classified into single-point failures, dual-point failures (or referred to as dual-point failures), and multi-point failures (also referred to as security failures), including three-point failures. Dual-point failures mean two failures occur in the same task cycle, and three-point failures mean three failures occur in the same task cycle. Multi-point failures, including three-point failures, have a very low probability of occurring, and therefore can basically be ignored. For dual-point failures, new failures cannot be handled in time, which may cause system short-circuits, generation of erroneous data, etc. Summary of the Invention
[0004] This application provides an information transmission method, a control apparatus, an electromagnetic signal transceiver apparatus, and a signal processing device for timely handling each fault in a dual-point fault.
[0005] According to a first aspect, the application provides an information transmission method. The method may be applied to a control device, and the control device may include a first processor and a second processor. The method may include: the first processor acquires first fault information of an electromagnetic signal transceiver device through a first channel; and the second processor acquires second fault information from the electromagnetic signal transceiver device and transmitted through a second channel, where the first fault information corresponds to a first fault, and the second fault information corresponds to a second fault.
[0006] Based on this solution, the first processor can obtain the first fault information through the first channel, and the second processor can obtain the second fault information through the second channel. In this way, the first processor can timely process the first fault corresponding to the first fault information, and the second processor can timely process the second fault corresponding to the second fault information. In other words, the second processor can process the second fault at the same time when the first processor processes the first fault, so that each fault in the dual-point fault can be timely processed.
[0007] In a possible implementation, the first channel may be a serial peripheral interface (SPI) and / or the second channel may be a low voltage differential signaling (LVDS) channel.
[0008] Further, optionally, the first channel may be an SPI channel and the second channel may be an LVDS channel.
[0009] The method of transmitting the second fault information by multiplexing the LVDS channel is a heterogeneous redundancy method, which helps to avoid the case where all communication channels fail because a single SPI communication method is used.
[0010] In a possible implementation, the control device may further include a first memory, the second fault information is stored in the first memory, and the second processor can acquire the second fault information from the first memory.
[0011] For example, the second processor may obtain the second fault information from the first memory in the following two possible implementations.
[0012] Implementation 1: The second processor periodically queries the first memory and obtains second fault information from the first memory.
[0013] Implementation 2: A second processor detects a second fault indication (FI) hardwire flag and obtains second fault information from the first memory, where the second FI hardwire flag is used to indicate a second fault.
[0014] In implementation 2, after the second processor detects the second FI hardwire flag, which indicates that a second fault occurs, in this case, the second processor further obtains the second fault information from the first memory, which helps to reduce the power consumption of the second processor.
[0015] In a possible implementation, the second processor processes the second fault in response to at least one of the incomplete processing of the first fault, the first instruction, or detection of a second FI hardwire flag, where the first instruction is used to instruct the second processor to process the second fault.
[0016] For example, when the second processor determines that the processing of the first fault is incomplete and detects the second FI hardwire flag, it processes the second fault.
[0017] In a possible implementation, the first processor detects the first FI hardwire flag and sends a first instruction to the second processor, where the first instruction is used to instruct the second processor to handle the second fault and the first FI hardwire flag is used to indicate the first fault.
[0018] The first processor sends the first instruction to the second processor, so that the second processor can handle the generated second fault in a timely manner, which helps to avoid the second processor being unable to handle the second fault in a timely manner because the second processor processes another task, thereby helping to further improve the handling efficiency of the dual-point fault.
[0019] In a possible implementation, the second processor sends a second instruction to the electromagnetic signal transceiver device, where the second instruction is used to instruct the electromagnetic signal transceiver device to clear the second FI hardwire flag and / or the second fault information.
[0020] The second FI hardwire flag and the second fault information corresponding to the second fault are cleared in a timely manner after the second processor completes processing the second fault, so that the newly generated fault can be processed in a timely manner in the next task period.
[0021] In a possible implementation, the first processor receives a first FI hardwire flag from the electromagnetic signal transceiver device, where the first FI hardwire flag is used to indicate a first fault. When the first processor receives the first FI hardwire flag, it indicates that a first fault has occurred in the electromagnetic signal transceiver device. The first processor transmits a first request message to the electromagnetic signal transceiver device, where the first request message is used to request the first fault information. The first processor receives the first fault information from the electromagnetic signal transceiver device through a first channel.
[0022] According to a second aspect, the application provides an information transmission method, the method including: an electromagnetic signal transceiver device detects a first fault and transmits first fault information to a control device through a first channel, where the first fault information corresponds to the first fault, and an electromagnetic signal transceiver device detects a second fault and transmits second fault information to the control device through a second channel, where the second fault information corresponds to the second fault.
[0023] Based on this solution, the electromagnetic signal transceiver device can transmit different fault information (i.e., the first fault information and the second fault information) to the control device through two different channels (i.e., the first channel and the second channel), which helps to improve the timeliness of transmitting fault information to the control device by the electromagnetic signal transceiver device, thereby further improving the timeliness of handling each fault in dual-point faults.
[0024] In a possible implementation, the first channel may be an SPI and / or the second channel may be an LVDS channel.
[0025] Further, optionally, the first channel may be an SPI channel and the second channel may be an LVDS channel.
[0026] The method of transmitting the second fault information by multiplexing the LVDS channel is a heterogeneous redundancy method, which helps to avoid the case where all communication channels fail because a single SPI communication method is used.
[0027] In a possible implementation, the electromagnetic signal transceiver device can transmit the second fault information over a second channel to a first memory in the control device.
[0028] When a second fault occurs in the electromagnetic signal transceiver device, the electromagnetic signal transceiver device can transmit second fault information to the first memory through the second channel, where the electromagnetic signal transceiver device can directly transmit the second fault information to the first memory without waiting for an instruction from the processor, which helps to improve the efficiency of transmitting the second fault information by the electromagnetic signal transceiver device, thereby helping to improve the timeliness of handling the second fault.
[0029] In a possible implementation, the electromagnetic signal transceiver device can transmit a second FI hardwire flag to a second processor in the control device, where the second FI hardwire flag is used to indicate a second fault.
[0030] Additionally, optionally, upon detecting a second fault, the electromagnetic signal transceiver device may transmit a second FI hardwire flag to a second processor in the control device, the second FI hardwire flag being used to indicate the second fault.
[0031] In a possible implementation, the electromagnetic signal transceiver device can transmit a first FI hardwire flag to a first processor in the control device, where the first FI hardwire flag is used to indicate that a first fault has been generated.
[0032] Further, optionally, upon detecting the first fault, the electromagnetic signal transceiver device may transmit a first FI hardwire flag to a first processor in the control device, the first FI hardwire flag being used to indicate that a first fault has been generated.
[0033] The electromagnetic signal transceiver device triggers a first FI hardwire flag when it detects a first fault, and triggers a second FI hardwire flag when it detects a second fault, in this way, after detecting two faults, the electromagnetic signal transceiver device can notify the control device of both faults in a timely manner, so that the control device can handle the faults in a timely manner.
[0034] In a possible implementation, the electromagnetic signal transceiver device receives a second instruction from the second processor and clears the second FI hardwire flag and / or the second fault information based on the second instruction.
[0035] The electromagnetic signal transceiver device timely clears the second FI hardwire flag and / or the second fault information corresponding to the second fault to prevent the newly generated fault from affecting the next task period.
[0036] In a possible implementation, the electromagnetic signal transceiver device can receive a first request message from a first processor in the control device, and obtain the first fault information based on the first request message. For example, the electromagnetic signal transceiver device can query a fault register based on the first request message and obtain the first fault information from the fault register.
[0037] According to a third aspect, the application provides an information transmission device or a control device. The information transmission device or the control device in this case is configured to perform the method in the first aspect or any of the methods in the first aspect, and includes corresponding functional modules separately configured to perform the steps of the aforementioned methods. The functions may be implemented by hardware or by executing corresponding software by the hardware. The hardware or software includes one or more modules corresponding to the aforementioned functions.
[0038] The control device includes a first processor, a second processor, a first interface circuit, and a second interface circuit. The first processor is configured to acquire first fault information of the electromagnetic signal transceiver device by using the first interface circuit corresponding to the first channel, where the first fault information corresponds to a first fault. The second processor is configured to acquire second fault information of the electromagnetic signal transceiver device, where the second fault information corresponds to a second fault, and the second fault information is from the electromagnetic signal transceiver device and is transmitted by using the second interface circuit corresponding to the second channel.
[0039] In a possible implementation, the first channel is an SPI channel and / or the second channel is an LVDS channel.
[0040] In a possible implementation, the control device further includes a first memory, the second fault information is stored in the first memory, and the second processor is configured to acquire the second fault information from the first memory.
[0041] In a possible implementation, the second processor is configured to periodically query the first memory and obtain second fault information from the first memory.
[0042] In a possible implementation, the second processor is configured to detect a second FI hardwire flag and obtain second fault information from the first memory, where the second FI hardwire flag is used to indicate the second fault.
[0043] In a possible implementation, the second processor is further configured to process a second fault in response to detecting the incomplete processing of the first fault, the first instruction, or the second FI hardwire flag, where the first instruction is used to instruct the second processor to process the second fault.
[0044] In a possible implementation, the control device further includes a third interface circuit, and the first processor is further configured to detect the first FI hardwire flag and send a first instruction to the second processor by using the third interface circuit, where the first instruction is used to instruct the second processor to handle the second fault and the first FI hardwire flag is used to indicate the first fault.
[0045] In a possible implementation, the second processor is further configured to send a second instruction to the electromagnetic signal transceiver device by using a first interface circuit corresponding to the first channel, where the second instruction is used to instruct the electromagnetic signal transceiver device to clear the second FI hardwire flag and / or the second fault information.
[0046] In a possible implementation, the first processor is configured to receive a first FI hardwire flag from the electromagnetic signal transceiver device by using a first FI hardwire pin, where the first FI hardwire flag is used to indicate a first fault, and the first processor is configured to send a first request message to the electromagnetic signal transceiver device by using a first interface circuit corresponding to a first channel, where the first request message is used to request the first fault information.
[0047] Further, optionally, the first processor may be configured to receive the first fault information from the electromagnetic signal transceiver device by using an interface circuit corresponding to the first channel.
[0048] According to a fourth aspect, the application provides an information transmission device or an electromagnetic signal transceiver device, configured to perform any method or any of the second aspects, and including corresponding functional modules separately configured to perform steps of said methods. The functions may be implemented by hardware or by executing corresponding software by the hardware. The hardware or software includes one or more modules corresponding to said functions.
[0049] The electromagnetic signal transceiver device includes a controller, a fourth interface circuit, and a fifth interface circuit. The controller is configured to detect a first fault and transmit first fault information to the controller by using the fourth interface circuit corresponding to a first channel, where the first fault information corresponds to the first fault. The controller is further configured to detect a second fault and transmit second fault information to the controller by using the fifth interface circuit corresponding to a second channel, where the second fault information corresponds to the second fault.
[0050] In a possible implementation, the first channel may be an SPI and / or the second channel may be an LVDS channel.
[0051] Further, optionally, the first channel may be an SPI channel and / or the second channel may be an LVDS channel.
[0052] In a possible implementation, the controller is configured to transmit the second fault information to a first memory in the control device by using a fifth interface circuit corresponding to the second channel.
[0053] In a possible implementation, the controller is further configured to send a second FI hardwire flag to a second processor in the control device by using a second FI hardwire pin, the second FI hardwire flag being used to indicate a second fault.
[0054] Further, optionally, the controller is configured, upon detecting a second fault, to send, by using a second FI hardwire pin, a second FI hardwire flag used to indicate the second fault to a second processor in the control device.
[0055] In a possible implementation, the controller is further configured to clear the second FI hardwire flag and / or the second fault information based on a second instruction from a second processor in the control device.
[0056] Further, optionally, the controller may be configured to receive second instructions from a second processor in the control device by using a fourth interface circuit corresponding to the first channel.
[0057] In a possible implementation, the controller is further configured to send a first FI hardwire flag to a first processor in the control device by using a first FI hardwire pin, where the first FI hardwire flag is used to indicate that a first fault has been generated.
[0058] Further, optionally, the controller is configured, upon detecting the first fault, to send to a first processor in the control device by using the first FI hardwire pin a first FI hardwire flag used to indicate that a first fault has been generated.
[0059] In a possible implementation, the controller is configured to obtain first fault information in the fault register based on a first request message from a first processor in the control device.
[0060] Further, optionally, the controller may be configured to receive a first request message from a first processor in the control device by using a fourth interface circuit corresponding to the first channel.
[0061] According to a fifth aspect, the application provides a signal processing device, the signal processing device including a control device in the third aspect or any possible implementation of the third aspect, and / or an electromagnetic signal transceiver device in the fourth aspect or any possible implementation of the fourth aspect, the control device may be configured to perform the first aspect or any method in the first aspect, and the electromagnetic signal transceiver device may be configured to perform the second aspect or any method in the second aspect.
[0062] According to a sixth aspect, the present application provides a terminal device, which may include the signal processing device of the fifth aspect.
[0063] In possible implementations, the terminal device may be an intelligent transportation device (vehicle or unmanned aerial vehicle), a smart home device, an intelligent manufacturing device, a robot, etc.
[0064] The intelligent transportation device may be, for example, an automated guided vehicle (AGV) or an unmanned transportation vehicle.
[0065] According to a seventh aspect, the application provides a computer readable storage medium. The computer readable storage medium has stored thereon a computer program or instructions. When the computer program or instructions are executed by a control device, the control device is enabled to perform the method in the first aspect or any possible implementation of the first aspect. Alternatively, when the computer program or instructions are executed by an electromagnetic signal transceiver device, the electromagnetic signal transceiver device is enabled to perform the method in the second aspect or any possible implementation of the second aspect.
[0066] According to an eighth aspect, the application provides a computer program product. The computer program product includes a computer program or instructions. When the computer program or instructions are executed by a control device, the control device is enabled to perform the method in the first aspect or any possible implementation of the first aspect. Alternatively, when the computer program or instructions are executed by an electromagnetic signal transceiver device, the electromagnetic signal transceiver device is enabled to perform the method in the second aspect or any possible implementation of the second aspect.
[0067] For technical effects that may be achieved in the third aspect, please refer to the description of beneficial effects in the first aspect. For technical effects that may be achieved in the fourth aspect, please refer to the description of beneficial effects in the second aspect. For technical effects that may be achieved in the fifth to eighth aspects, please refer to the description of beneficial effects in the first and second aspects. Details will not be described again here. [Brief description of the drawings]
[0068] [Figure 1A] FIG. 1A is a schematic flow chart of an information transmission method in the prior art. [Figure 1B] FIG. 1B is a schematic flow chart of an information transmission method in the prior art. [Diagram 2] FIG. 2 is a schematic flow chart of another information transmission method in the prior art. [Diagram 3] FIG. 3 is a schematic diagram of a millimeter wave radar system according to this application. [Figure 4] FIG. 4 is a schematic flow chart of an information transmission method according to the present application. [Diagram 5] FIG. 5 is a schematic flow chart of another information transmission method according to the present application. [Figure 6] FIG. 6 is a schematic flow chart of yet another method of transmitting information in accordance with the present application. [Figure 7] FIG. 7 is a schematic flow chart of yet another method of transmitting information in accordance with the present application. [Figure 8] FIG. 8 is a schematic diagram showing the configuration of a control device according to the present application. [Figure 9] FIG. 9 is a schematic diagram of an electromagnetic signal transceiver device structure according to this application. [Figure 10] FIG. 10 is a schematic diagram showing the configuration of a signal processing device according to the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0069] The following describes in detail the embodiments of the present application with reference to the accompanying drawings.
[0070] The following explains some terms in this application. It should be noted that these explanations are intended to facilitate understanding by those skilled in the art, but do not constitute a limitation on the scope of protection claimed in this application.
[0071] I. Rising and falling edges
[0072] Rising edge means that in digital circuits, the level of voltage is represented by logic level. Logic level includes two types: high level and low level. In digital circuits that include different elements, the voltages also correspond to different logic levels. It can be defined that the logic high level is represented by digit 1, and the logic low level is represented by digit 0. The moment when the digital level changes from low level (digit "0") to high level (digit "1") is called rising edge, and the moment when the digital level changes from high level (digit "1") to low level (digit "0") is called falling edge.
[0073] II. Random access memory (RAM)
[0074] Random access memory, also called main memory, is an internal memory that directly exchanges data with the CPU. Random access memory can be read and written at any time (except during refresh), is fast, and is mostly used as a temporary data storage medium for the operating system or another executing program. During operation, information can be written (stored) into any designated address in RAM at any time, or information can be read (obtained) from any designated address in RAM at any time. After RAM is powered on, data information can be accessed at any time and at any location. After RAM is powered off, the internal information disappears accordingly.
[0075] III. Register
[0076] Registers are some small storage areas used to store data in a CPU, and are used to temporarily store data involved in calculations and calculation results. This may also be understood as a register being mostly a sequential logic circuit, but a sequential logic circuit includes only a storage circuit. The storage circuit of a register includes a latch or a flip-flop. One latch or flip-flop can store one bit of binary number, so N latches or flip-flops can form an N-bit register. A register is a component of a central processing unit. A register is a high-speed storage component with limited storage capacity, and can be used to temporarily store instructions, data, and addresses. A trigger in a register is only required to have the function of setting 1 and setting 0. Therefore, both a level-triggered trigger and a pulse-triggered or edge-triggered trigger can form a register.
[0077] IV. Serial peripheral interface (SPI)
[0078] A serial peripheral interface is a synchronous peripheral interface that allows a single-chip microcomputer (or monolithic microwave integrated circuit) to communicate in a serial manner to exchange information with various peripheral devices, including but not limited to microprocessing units (micro controller units, MCUs), etc.
[0079] SPI can be applied to various systems under software control, such as a multi-host system (distributed system) formed by connecting one primary controller and several secondary controllers, or by connecting several secondary controllers, or a primary controller and one or several secondary I / O devices. In some application scenarios, the primary controller can be used as a primary control machine to control and send data to one or several peripheral devices. The secondary controller can receive or send data only when the primary controller sends a command. The data transmission format of the secondary controller is such that the most significant bit (MSB) is located before the least significant bit (LSB).
[0080] V. Hardwire pin
[0081] Hardwired pins means that two pins are connected by using a hardwire to transmit high and low levels.
[0082] 1A and 1B are schematic flow charts of an information processing method in the prior art. In this method, the CPU is a CPU in an MCU, and the control unit is a control unit included in an MMIC. This method includes the following steps:
[0083] Step 101: The controller in the MMIC detects that the MMIC is faulty and sends a FI hardwire flag to the MCU.
[0084] Here, the controller detects that the MMIC has failed and triggers the FI hardwire flag.
[0085] Step 102: The CPU detects the FI hardwire flag, and sends command b to the control unit through the SPI, where command b is used to instruct the MMIC to stop receiving and transmitting service data (i.e., stop collecting normal service data of the millimeter wave radar system) and discard the service data acquired in the current task period.
[0086] Step 103: Based on command b, the control unit in the MMIC stops sending and receiving service data, stops sending service data to the RAM in the MCU, and discards (clears) the service data acquired by the RAM in the MMIC in the current task period.
[0087] Step 104: The control unit in the MMIC periodically sends the execution process of the instruction b to the CPU through the SPI. In response, the CPU receives the execution process of the instruction b from the control unit. Here, a first processing flag may be used to indicate the execution process of the instruction b, and the first processing flag may be distinguished by 0 and 1, where 0 indicates that the execution of the instruction b is incomplete, and 1 indicates that the execution of the instruction b is completed.
[0088] Step 105: The CPU can determine whether the MMIC has completed the execution of instruction b based on the first process flag, and executes step 106 if the MMIC has completed the execution of instruction b. Alternatively, if the MMIC has not completed the execution of instruction b, it continues to detect the execution process of instruction b. That is, it repeats step 105. Here, if the first process flag received by the CPU is 0, it can be determined that the execution of instruction b is incomplete. Alternatively, if the first process flag received by the CPU is 1, it can be determined that the execution of instruction b is completed.
[0089] Step 106: The CPU clears (or is referred to as "discard") the service data received by the RAM in the MCU in the current task cycle.
[0090] Here, clearing the service data received by the RAM in the MCU in the current task period means clearing all data stored in the RAM in the MCU.
[0091] Step 107: The CPU sends an instruction c to the control unit through the SPI. In response, the control unit receives an instruction c from the CPU through the SPI, where the instruction c is used to instruct the control unit to query the fault register.
[0092] Step 108: The control unit in the MMIC queries the fault register based on the instruction c to obtain the information in the fault register.
[0093] Step 109: The control unit in the MMIC sends the information found in the fault register to the CPU through the SPI. Correspondingly, the CPU can receive the information in the fault register from the control unit through the SPI.
[0094] Step 110: The CPU identifies the first fault based on the information in the fault register. For example, if the information in the fault register received by the CPU is 01000000000000000000000000000000000, the CPU can identify that a fault occurred in the second bit.
[0095] Step 111: The CPU processes the first fault identified.
[0096] After the CPU completes processing the first fault through step 111, the FI hardwire flag corresponding to the first fault and the fault information corresponding to the first fault need to be cleared.
[0097] Step 112: The CPU sends an instruction d to the control unit through the SPI. In response, the control unit receives an instruction d from the CPU through the SPI. Here, the instruction d is used to instruct the control unit to clear the FI hardwire flag bit and the fault information corresponding to the first fault.
[0098] Step 113: Based on the command d, the control unit in the MMIC clears the fault information corresponding to the first fault, and clears the FI hardwire flag.
[0099] Step 114: The control unit in the MMIC periodically sends a response d to the CPU through the SPI. In response, the CPU receives a response d from the control unit. Here, the response d includes the execution process of the command d, where 0 indicates that the execution of the command d is incomplete, and 1 indicates that the execution of the command d is completed.
[0100] Step 115: The CPU determines based on the received response d that the MMIC has completed the execution of instruction d, and then ends the fault handling task.
[0101] Based on Figure 1A and Figure 1B, a single point failure can be handled. In order to handle a dual point failure, in the prior art, after completing the processing of the first failure, the CPU actively queries whether a second failure is generated, and then processes the second failure. Figure 2 is a diagram showing an information processing method in the prior art. This information processing method can be used to solve a dual point failure.
[0102] In the prior art, in handling dual-point faults, the first fault that occurs in the MMIC (referred to as the first fault) is handled first. For a specific handling process, see steps 101 to 114 in Figures 1A and 1B. After step 115 in which the CPU determines that the MMIC has completed execution of instruction d, the following steps 201 to 207 are executed.
[0103] Step 201: The CPU sends an instruction e to the control unit through the SPI. In response, the control unit receives an instruction e from the SPI through the SPI. Here, the instruction e is used to instruct the control unit to query fault information.
[0104] Step 202: The control unit in the MMIC can query the fault register according to command e to obtain information in the fault register. Here, the information in the fault register found by the control unit includes fault information of two faults. For example, if the found information in the fault register is 010010000000000000000000000000000000, it indicates that a fault occurs in the second bit and a fault occurs in the fifth bit.
[0105] Step 203: The control unit in the MMIC sends the found information in the fault register to the CPU through the SPI. Correspondingly, the CPU can receive the information in the fault register from the control unit through the SPI. For step 203, please refer to the description of step 109. The details will not be described again here.
[0106] Step 204: The CPU detects whether the second fault in the information in the fault register is a valid fault, and executes step 205 if the second fault in the information in the fault register is a valid fault, or executes step 206 if the second fault in the information in the fault register is not a valid fault.
[0107] Since the CPU actively and periodically queries whether a fault exists, the MMIC may not be faulty during the query by the CPU. Therefore, it is necessary to determine whether the second fault is a valid fault. Here, the CPU needs to identify the second fault from the information in the fault register. For example, if the discovered information in the fault register is 01000000000000000000000000000000000000 and it can be determined that the fault at the second bit has been processed, it indicates that the second fault has not occurred or is an invalid fault. Alternatively, if the discovered information in the fault register is 010010000000000000000000000000000000 and it can be determined that the fault at the second bit has been processed, it indicates that the fault at the fifth bit is a valid fault, i.e., the second fault.
[0108] Step 205: The CPU can process the second fault.
[0109] Step 206: The CPU finishes the fault handling task.
[0110] Based on the existing information processing method, after generating a fault, the MMIC triggers an FI hardwire flag bit, and sends the FI hardwire flag to the CPU in the MCU. After detecting the FI hardwire flag, the CPU sends an instruction to query the fault register to the MMIC. The MMIC sends the found information in the fault register to the CPU. The CPU identifies the information in the fault register and processes the first fault after identifying the first fault. The FI hardwire flag is cleared only after the first fault is processed. Based on this, if the MMIC generates a new fault in a task period in which the first fault is processed, and the FI hardwire flag of the first fault is not cleared, the CPU cannot know the new fault and does not process the new fault. As a result, the new fault cannot be processed in a timely manner, which causes a system short circuit, generation of erroneous data, etc.
[0111] In consideration of the above problems, this application provides an information transmission method, as shown in Fig. 4 below. This information transmission method enables each failure in a dual-point failure to be processed as timely as possible.
[0112] The following describes a system architecture to which the information transmission method provided in this application can be applied.
[0113] FIG. 3 is a schematic diagram of a possible architecture of a millimeter wave radar system according to this application. As shown in FIG. 3, the millimeter wave radar system may include a micro controller unit (MCU) 301 and a monolithic microwave integrated circuit (MMIC) 302. The MCU 301 may include at least two central processing units (CPUs) (an example including a CPU 3011 and a CPU 3012 is used in FIG. 3), a RAM 3013, an SPI module 3014, and an LVDS module 3015. The MMIC 302 may include a control unit 3021, an LVDS module 3022, an SPI module 3023, a fault register 3024, a fault register 3025, etc. The SPI module 3014 corresponds to the SPI module 3023. The SPI module 3014, the SPI module 3023, and the physical connection lines (e.g., cables or PCB wires) between the SPI module 3014 and the SPI module 3023 may form a channel between the MCU 301 and the MMIC 302, e.g., the channel may be referred to as an SPI. The LVDS module 3015 corresponds to the LVDS module 3022. The LVDS module 3015, the LVDS module 3022, and the physical connection lines (e.g., cables or PCB wires) between the LVDS module 3015 and the LVDS module 3022 may also form a channel between the MCU 301 and the MMIC 302, e.g., the channel may be referred to as an LVDS channel. The LVDS module 3015 may be referred to as a differential signal transmitter, and may be configured to convert a TTL signal with balanced transmission to an LVDS signal with unbalanced transmission. The LVDS module 3022 may be referred to as a differential signal receiver, and may be configured to convert a balanced LVDS signal into an unbalanced TTL signal.It should be understood that the SPI module may be an interface circuit or may be referred to as an input / output interface, and the LVDS module may be an interface circuit or may be referred to as an input / output interface. The CPU 3011 (or the CPU 3012) can communicate with the control unit 3021 through the SPI, and the RAM 3013 can communicate with the control unit 3021 through the LVDS channel. For example, electromagnetic waves received by the MMIC 302, etc., can be transmitted to the RAM 3013 through the LVDS channel. The MCU may further include multiple pins, and the function of each pin can be controlled by software to realize a specific function. For example, an interrupt pin in the MCU can implement an interrupt function through software control. It should be noted that the MMIC 302 is a passive component and needs to be controlled by the MCU 301 to perform a task. It should be noted that the various elements included in the architecture here are merely examples for explanation. For example, the CPU, fault registers, etc. may be replaced with other elements having equivalent functionality. No particular element type is specifically contemplated in this application.
[0114] The control unit 3021 is configured to control the operation of the MMIC 302, and can control the MMIC 302, for example, to detect service data, detect faults in the MMIC, and so on. The control unit 3021 can generate a radar signal (i.e., electromagnetic wave) and transmit the radar signal by using a transmitter. The radar signal includes one or more burst packets, and each burst includes a plurality of chirp signals. After the radar signal is transmitted, an echo signal is formed after the radar signal is reflected by one or more targets, and the echo signal is received by a receiver. The MMIC 302 is further configured to perform processing, such as conversion and sampling, on the echo signal received by the receiver, and transmit the processed echo signal to the MCU 301.
[0115] Both CPU 3011 and CPU 3012 are configured to handle faults, for example, faults generated by MMIC 302 .
[0116] The RAM 3013 is configured to temporarily store data (eg, electromagnetic waves), fault information, etc. transmitted from the MMIC 302 .
[0117] Further, optionally, the millimeter wave radar system may further include a transmitter 1031, a receiver 1032, etc. The transmitter may include a transmitting antenna and a transmitting channel in the MMIC, and the receiver may include a receiving antenna and a receiving channel in the MMIC. The transmitting antenna and the receiving antenna may be disposed on a printed circuit board (PCB), and the transmitting channel and the receiving channel may be disposed on a chip, i.e., antenna on PCB (AOB). Alternatively, the transmitting antenna and the receiving antenna may be disposed in a chip package, and the transmitting channel and the receiving channel may be disposed in a chip, i.e., antenna in package (AIP). The combination form is not particularly limited in this embodiment of this application.
[0118] The millimeter wave radar system shown in FIG. 3 can be applied to multiple fields. For example, vehicle-mounted radar (i.e., the millimeter wave radar system is mounted on a vehicle), roadside traffic radar (i.e., the millimeter wave radar system is mounted on a roadside traffic device), and unmanned aerial vehicle radar (i.e., the millimeter wave radar system is mounted on an unmanned aerial vehicle). Alternatively, the millimeter wave radar system shown in FIG. 3 may be applied to a terminal device or disposed within a component of a terminal device. The terminal device may be, for example, a smart home device, an intelligent manufacturing device, a robot, or an intelligent transportation device. The intelligent transportation device may be, for example, an automated guided vehicle (AGV) or an unmanned transportation vehicle.
[0119] When the millimeter wave radar system is applied to a vehicle, i.e., an on-board millimeter wave radar, the millimeter wave radar system may further include a connector, a control area network (CAN), an electromagnetic compatibility (EMC) protection, and a power management module (PMIC). The connector may be configured to connect the millimeter wave radar system to an electric and electronic system in the entire vehicle. The control area network can be used for information exchange between the electric system and the electronic system in the entire vehicle. For example, fault information can be reported to the electric and electronic system in the entire vehicle by using the CAN. The control area network is a serial communication protocol in the ISO international standard, and can be configured to directly communicate with an external control end. The electromagnetic compatibility protection can be used for electromagnetic compatibility protection of the power supply. The power management module can be configured to convert the power input to the entire vehicle to 3.3V and 1.25V, and then supply it to the CAN, MCU, MMIC, etc.
[0120] The vehicle-mounted millimeter-wave radar system can measure the distance, angle, and relative speed between the millimeter-wave radar system and the measurement object. Specifically, the vehicle-mounted millimeter-wave radar system can transmit millimeter waves by using a transmitter 1031, and receive a reflected signal by using a receiver 1032. Then, after processing the target reflected signal, the vehicle can quickly and accurately obtain physical environment information around the vehicle body (e.g., the relative distance, relative speed, angle, and moving direction between the vehicle and other objects), and can perform target tracking, identification, and classification based on the detected object information, and can perform data fusion in combination with the dynamic information of the vehicle body. After making an appropriate judgment, the vehicle-mounted millimeter-wave radar system can notify or warn the driver in multiple ways, such as sound, light, and tactile ways, or can perform active intervention in the vehicle in a timely manner to ensure safety and comfort in the driving process and reduce the probability of accidents. Currently, vehicles can use millimeter-wave radar systems to implement the functions of advanced driving assistant systems (ADAS). These include adaptive cruise control, forward collision warning, blind spot detection, parking aid, and lane change assist.
[0121] It should be noted that the system architecture and applicable scenarios described in this application are intended to more clearly explain the technical solutions in this application, and do not constitute limitations on the technical solutions provided in this application. Those skilled in the art can understand that with the evolution of the system architecture and the emergence of new service scenarios, the technical solutions provided in this application can also be applied to the following similar technical problems.
[0122] In the millimeter wave radar system, the transmission and processing of information on the electric and electronic systems, especially the transmission and processing of fault information on the electric and electronic systems, is essential. The fault behavior of the electric and electronic systems is mainly caused by random hardware faults and system faults. The random hardware faults are further classified into single point faults, dual point faults (or called dual point faults), and multi-point faults (also called security faults) including three point faults. The single point fault means that one fault occurs in the same task cycle, and the task cycle means the duration from the occurrence of the fault to the completion of the processing of the fault. The dual point fault means that two faults occur in the same task cycle, and the three point fault means that three faults occur in the same task cycle. The probability of the occurrence of multi-point faults is very low, and therefore can basically be ignored.
[0123] In order to ensure the functional safety of components in a millimeter wave radar system, faults generated by an electric / electronic system need to be handled in a timely manner. FIG. 4 shows an information transmission method according to this application. The method can be applied to the millimeter wave radar system shown in FIG. 3 or related devices in the millimeter wave radar system. For example, the method can be applied to an electromagnetic signal transceiver device and a control device. The control device includes a first processor and a second processor, and may optionally further include at least one memory. The electromagnetic signal transceiver device includes a controller, and may optionally further include at least one register. The method includes the following steps:
[0124] Step 401: The electromagnetic signal transceiver device can detect a first fault, and send first fault information corresponding to the first fault to the control device through a first channel. In response, the control device obtains the first fault information of the electromagnetic signal transceiver device through the first channel.
[0125] In a further optional design of step 401, the first fault information is sent to a first processor in the control device through a first channel, and / or the first processor in the control device acquires the first fault information through the first channel.
[0126] In a possible implementation, the first channel may be a control channel, e.g., an SPI, an inter-integrated circuit (IIC) interface, or a serial communication interface (SCI), or a channel corresponding to an interface may be referred to as a channel. Optionally, the control device is a microcontroller unit, e.g., MCU 301, and the electromagnetic signal transceiver device is a monolithic microwave integrated circuit, e.g., MMIC 302.
[0127] In a possible implementation, when detecting the first fault, the electromagnetic signal transceiver device can send a first FI hardwire flag to a first processor in the control device, which is used to indicate that a first fault has been generated. For example, when detecting the first fault, the electromagnetic signal transceiver device can set the FI hardwire flag to a high level (e.g., 1), and send the FI hardwire flag set to a high level to the control device. Here, the FI hardwire flag set to a high level is the first FI hardwire flag. Optionally, the FI hardwire flag is represented by 1 after being triggered. It should be understood that the FI hardwire flag may also be a rising edge or a falling edge.
[0128] Correspondingly, the first processor in the control device receives a first FI hardwire flag from the electromagnetic signal transceiver device. Further, the first processor sends a first request message to the electromagnetic signal transceiver device. Wherein, the first request message is used to request the first fault information. In a possible implementation, the electromagnetic signal transceiver device can acquire the first fault information in the fault register based on the first request message. Specifically, the electromagnetic signal transceiver device can query the fault register based on the first request message in the sequence of the fault register to acquire the information in the fault register. Wherein, the information in the fault register includes the first fault information. The information in the fault register may have 32 bits or 64 bits. And, the following uses an example in which the information in the fault register has 32 bits. When no fault occurs, the information in the fault register is 000000000000000000000000000000000000. When one fault occurs, one bit in the 32 bits changes from 0 to 1. For example, 0000010000000000000000000000000000. When two faults occur, two bits of the 32 bits change from 0 to 1. For example, 0010010000000000000000000000000000. In other words, 1 indicates that a fault has occurred, and 0 indicates that no fault has occurred.
[0129] Further, the electromagnetic signal transceiver device can transmit the information in the fault register to the control device. Wherein, the information in the fault register includes the first fault information. Correspondingly, the control device can receive the information in the fault register from the electromagnetic signal transceiver device. Further, optionally, the first processor in the control device can identify the first fault information in the information in the fault register. For example, if the information in the fault register received by the first processor is 0000010000000000000000000000000000, the first processor can identify that the sixth bit is the first fault information, i.e., the first fault information is in the sixth bit. For another example, if the information in the fault register received by the first processor is 001001000000000000000000000000000, the first processor performs identification in order and identifies that the third bit is the first fault information, i.e., the first fault information is in the third bit.
[0130] Step 402: The electromagnetic signal transceiver device can detect a second fault and send second fault information corresponding to the second fault to the control device through a second channel. In response, the control device obtains the second fault information through the second channel.
[0131] In a further optional design of step 402, the second fault information is transmitted to a second processor in the control device via a second channel, and / or the second processor in the control device acquires the second fault information transmitted via the second channel.
[0132] Here, the second channel may be a data channel, for example an LVDS channel or a mobile industry processor interface (MIPI).
[0133] In an optional design, the first channel is an SPI and the second channel is an LVDS channel. In this way, when applied to a millimeter wave radar, the solution can be compatible with the SPI and LVDS channels in existing millimeter wave radars.
[0134] In a possible implementation, the second fault information may be stored in a first memory in the control device. In other words, the electromagnetic signal transceiver device transmits the second fault information to the first memory in the control device through the second channel.
[0135] The following show two exemplary possible implementations of acquiring the second fault information by the second processor.
[0136] Implementation 1: A second processor detects a second FI hardwire flag, where the second FI hardwire flag is used to indicate that a second fault occurs on the electromagnetic signal transceiver device, and obtains second fault information from a first memory.
[0137] Implementation 2: The second processor periodically queries the first memory and obtains the second fault information from the first memory. For example, the second processor can periodically query the first memory and identify the second fault information. For possible identification schemes, see the related description of step 509 in FIG. 5. In this case, the FI hardwire flag does not need to be triggered.
[0138] Based on Implementation 1 or Implementation 2, upon detecting the second fault, the electromagnetic signal transceiver device can transmit the information in the fault register to the controller over the LVDS channel. Correspondingly, the controller can receive the information in the fault register from the electromagnetic signal transceiver device over the LVDS channel. Further, the second processor in the controller can obtain (or may be referred to as "identify") the information in the fault register and identify the second fault information from the information in the fault register.
[0139] For example, the information in the fault register obtained by the second processor from the first memory in the control device is 0010010000000000000000000000000000, and the second processor reads from the cache of the first processor that the sixth bit in the information in the fault register (i.e., the first fault information) has been processed by the first processor. Upon identifying the information in the fault register 0010010000000000000000000000000000, the second processor masks the sixth bit, i.e., skips identifying the first fault information in the sixth bit. The second processor identifies the third bit, and determines the third bit as the second fault information.
[0140] In another example, the information in the fault register read by the second processor from the first memory in the control device is 000001000100000000000000000000000, and the second processor reads from the cache of the first processor that the sixth bit in the information in the fault register (i.e., the first fault information) has been processed by the first processor. Upon identifying the information in the fault register 000001000100000000000000000000000, the second processor masks the sixth bit, i.e., skips identifying the fault information in the sixth bit. The second processor continues to identify bits after the sixth to the 106th bit and determines the tenth bit as the second fault information.
[0141] From step 401 and step 402, it can be seen that the second processor can process the second fault at the same time that the first processor processes the first fault, so that each fault in the dual-point fault can be processed as timely as possible. In addition, the first fault information and the second fault information are transmitted through two channels. This helps to avoid the case where the communication channel fails because a single channel is used.
[0142] After obtaining the second fault information, the control device can process the second fault corresponding to the second fault information. The following shows three exemplary possible ways of triggering the second processor to process the second fault:
[0143] Method 1: The second processor receives a first instruction from the first processor.
[0144] In a possible implementation, when detecting the first FI hardwire flag, the first processor may further send a first instruction to the second processor, where the first instruction is used to instruct the second processor to handle the second fault. Correspondingly, the second processor may receive the first instruction from the first processor and handle the second fault in response to the first instruction.
[0145] It should be understood that when the first processor in the control device detects the FI hardwire flag, it indicates that a fault (referred to as a first fault) has occurred in the electromagnetic signal transceiver device. In this case, the first processor needs to process the first fault. In order to avoid that the new fault generated by the electromagnetic signal transceiver device cannot be processed in a timely manner in the task period in which the first processor processes the first fault, the second processor needs to start a fault processing interrupt task to process the new fault (referred to as a second fault) generated by the electromagnetic signal transceiver device in a timely manner. Based on this, the first instruction can be used to instruct the second processor to process the second fault. Specifically, the first instruction can directly instruct the second processor to process the second fault, or the first instruction can indirectly instruct the second processor to process the second fault. For example, the first instruction indicates that the first processor is occupied to process the first fault, or instructs the second processor to start a fault processing task, so that when the second fault is generated, the second processor can process the second fault.
[0146] In a possible implementation, the first instruction may trigger a software flag bit in the second processor, and the second processor reads a fault handling task corresponding to the software flag bit in a storage area corresponding to the software flag bit.
[0147] Method 2: The second processor detects the second FI hardwire flag.
[0148] Based on scheme 2, the second processor may handle the second fault in response to detecting the second FI hardwire flag. It should be understood that when the second processor detects the second FI hardwire flag, it indicates that a second fault has occurred, and the second processor may be triggered here to handle the second fault.
[0149] Method 3: The second processor determines that the processing of the first fault is incomplete.
[0150] Based on the scheme 3, the second processor can process the second fault in response to the processing of the first fault not being completed. It should be understood that the first processor does not complete the processing of the first fault. In this case, the first processor needs to process the first fault. In order to avoid that the new fault generated by the electromagnetic signal transceiver device cannot be processed in a timely manner in the task period in which the first processor processes the first fault, the second processor needs to start a fault processing task.
[0151] It should be noted that any combination of the above three schemes may alternatively trigger the second processor to process the second fault. For example, when the second processor determines that the processing of the first fault is incomplete and detects the second FI hardwire flag (i.e., the combination of scheme 2 and scheme 3), the second processor processes the second fault in response to the incomplete processing of the first fault and the detection of the second FI hardwire flag. It should be understood that when the second processor detects the second FI hardwire flag, it indicates that the second fault has occurred. In addition, the first processor does not complete the processing of the first fault. In order to allow the first fault and the second fault to be processed as timely as possible, the second processor needs to process the second fault.
[0152] The following description is provided by using an example, in which the first FI hardwire flag is a FI hardwire flag, the second FI hardwire flag is a fault second indication (FSI) hardwire flag, the first memory is a RAM in the MCU, the electromagnetic signal transceiver device is a MMIC, the control device is an MCU, the first processor is a first CPU, the second processor is a second CPU, the first channel is a SPI, and the second channel is an LVDS channel. In other words, in the subsequent description of this application, each RAM may be replaced with a first memory, each MMIC may be replaced with an electromagnetic signal transceiver device, each MCU may be replaced with a controller, each first CPU may be replaced with a first processor, each second CPU may be replaced with a second processor, each FI hardwire flag may be replaced with a first FI hardwire flag, each FSI hardwire flag may be replaced with a second FI hardwire flag, each SPI may be replaced with a first channel, and each LVDS channel may be replaced with a second channel. The following is merely an exemplary description for ease of explanation.
[0153] Fig. 5 shows another information transmission method according to the present application. This information transmission method can be applied to the millimeter wave radar system shown in Fig. 3. This method can include the following steps.
[0154] Step 501: The MMIC detects a first fault and sends a FI hardwire flag to the first CPU.
[0155] Referring to FIG. 3, the controller 3021 in the MMIC 302 can detect a first fault and send an FI hardwire flag to the CPU 3011 by using an FI hardwire pin connected to a pin of the MCU 301.
[0156] It should be understood that the MMIC may begin to detect the fault based on the instruction a sent by the first CPU.
[0157] Step 502: A first CPU in the MCU detects an FI hardwire flag and sends a first instruction to a second CPU in the MCU. In response, the second CPU receives the first instruction from the first CPU.
[0158] Here, each pin of the MCU has a corresponding flag, and the flag corresponding to the pin may be stored in a register of the MCU. The pin of the MCU is connected to an FI hardwire pin, and the register stores a flag bit (referred to as an FI hardwire flag bit) of the pin connected to the FI hardwire pin. The first CPU can periodically detect the FI hardwire flag bit in the register of the MCU to determine whether the MMIC is faulty. For example, when the CPU detects that the FI hardwire flag is 1, it indicates that a fault has occurred in the MMIC. For the description of the first instruction, please refer to the related content above. The details will not be described again here.
[0159] Step 503: The first CPU in the MCU sends a first request message to the MMIC. In response, the MMIC receives the first request message from the first CPU in the MCU.
[0160] The first request message is used to request the first fault information, or the first request message is used to request the MMIC to query a fault register to obtain the first fault information.
[0161] Step 504: The MMIC queries the fault register based on the first request message.
[0162] Here, the MMIC can query the information in the fault register based on the first request message. It should be noted that the MMIC is a passive component and can only determine that a fault has occurred, but cannot identify the specific faulty bit in the fault register.
[0163] Step 505: The MMIC may send the information in the fault register to the first CPU. Correspondingly, the first CPU may receive the information in the fault register from the MMIC and buffer the information.
[0164] Here, the information in the fault register includes the first fault information.
[0165] In a possible implementation, the MMIC can send the information in the fault register to the first CPU over the SPI, and correspondingly, the first CPU can receive the information in the fault register from the MMIC over the SPI and buffer the information.
[0166] When the data amount of the information found in the fault register is relatively large, the MMIC may need to send the information in the fault register to the first CPU multiple times. For the information in the fault register, please refer to the above related description. The details will not be described again here.
[0167] Step 506: The first CPU in the MCU determines (also referred to as "identifies") the first fault information in the information in the fault register.
[0168] Here, for the process that the first CPU identifies the first fault information in the information in the fault register, please refer to the above related description. Details will not be described again here. It should be noted that after identifying the first fault information, the first CPU can execute the following step 507 without continuing to identify subsequent bits.
[0169] Step 507: The first CPU in the MCU processes the first fault.
[0170] In a possible implementation, the fault handling software deployed in the first CPU includes a fault handling policy, and the fault handling policy includes, but is not limited to, a correspondence between a fault level and a handling method. For example, if the fault level is a minor fault, the MMIC is reset; if the fault cannot be recovered in three times, the MMIC is powered off; or if the fault level is a major fault, the MMIC is powered off directly. For example, the first CPU can first determine the level of the first fault, and then perform a corresponding handling for the first fault based on the level of the first fault.
[0171] Step 508: The MMIC may detect the second fault and send the information in the fault register to the MCU through the LVDS channel. Correspondingly, the MCU may receive the information in the fault register from the MMIC through the LVDS channel.
[0172] Here, the information in the fault register may be stored in a RAM of the MCU, and the information in the fault register includes the second fault information.
[0173] 3, when the second fault is detected, the MMIC 302 can send the information in the fault register to the RAM 3013 in the MCU 301 through the LVDS channel. In response, the RAM 3013 in the MCU 301 stores the information in the fault register. In other words, when the MMIC 302 detects the second fault, the LVDS channel is no longer used to send normal service data to the RAM 3013 in the MCU 301, and instead, the LVDS channel is multiplexed to send the information in the fault register to the RAM 3013 in the MCU 301.
[0174] Now, upon detecting a second fault, the MMIC can only determine that two faults have occurred and is unable to determine which two specific bits in the fault register are faulty. For example, the information in the fault register is 00100100000000000000000000000000000 and the MMIC sends the information in the fault register 00100100000000000000000000000000000 to the RAM in the MCU over the LVDS channel. Correspondingly, the RAM in the MCU can store 001001000000000000000000000000000. For another example, the information in the fault register is 0000010001000000000000000000000000 and the MMIC sends the information in the fault register 00000100010000000000000000000000 to the RAM in the MCU over the LVDS channel. Correspondingly, the RAM in the MCU can store 000001000100000000000000000000000.
[0175] In a possible implementation, after detecting a first fault, the MMIC continues to detect faults, and the second fault may be detected any time in the task period of the first fault after the first fault is detected.
[0176] It should be noted that step 508 can be any step after step 501 and before step 509 .
[0177] Step 509: The second CPU in the MCU obtains (or "identifies") the second fault information in the information in the fault register.
[0178] The following shows two exemplary possible implementations in which the second CPU in the MCU obtains the second fault information in the information in the fault register.
[0179] Implementation 1: The second CPU detects the FSI hardwire flag and obtains the second fault information from the RAM in the MCU.
[0180] Referring to FIG. 3, the CPU 3011 is connected to the controller 3021 by using the FI hardwire pin, and the CPU 3012 is connected to the controller 3021 by using the FSI hardwire pin. In other words, an FSI hardwire flag used for fault notification is set between the MMIC 302 and the MCU 301. The controller 3021 in the MMIC 302 detects a second fault and sends the FSI hardwire flag to the CPU 3012 by using the FSI hardwire pin connected to the pin of the MCU 301. For example, two hardwire flag bits (i.e., the FI hardwire flag bit and the FSI hardwire flag bit) are pre-configured in the firmware deployed in the MMIC, and the function of the FSI hardwire pin and the function of the FI hardwire pin are controlled by using software. That is, when the firmware deployed by the MMIC detects a fault for the first time, the FI hardwire flag bit is triggered. And when the firmware detects a fault for the second time, the FSI hardwire flag bit is triggered.
[0181] Based on implementation 1, after detecting the second fault, the MMIC triggers the FSI hardwire flag bit, for example, sets the FSI hardwire flag bit to a high level (eg, 1).
[0182] Here, the second CPU executes tasks serially, and detecting the FSI hardwire flag is one of the tasks. Generally, the task of handling the FSI hardwire flag interrupt has the highest priority. For example, the second CPU needs to execute task 1 (i.e., detecting the FSI hardwire flag), task 2, and task 3, and the second CPU can execute the three tasks in sequence based on the priority. For example, the priority of task 1 is higher than the priority of task 2, and the priority of task 2 is higher than the priority of task 3. The first CPU executes task 1, task 2, and task 3 in sequence. When it detects that task 1 has occurred, the second CPU can enter task 1, that is, execute the procedure of task 1.
[0183] Upon detecting the FSI hardwire flag, a second CPU in the MCU reads information in a fault register from a RAM in the MCU and reads the first fault information in the fault register from a cache of the first CPU, and, upon determining that the first fault has been handled by the first CPU, the second CPU masks the first fault information and identifies the second fault information from the information in the fault register.
[0184] For possible implementations of the second CPU identifying the second fault information from the information in the fault register, please refer to the related description above. The details will not be described again here.
[0185] Implementation 2: The second CPU periodically queries the RAM in the MCU and obtains second fault information from the RAM in the MCU.
[0186] According to implementation 2, the second CPU periodically reads the information in the fault register from the RAM in the MCU and reads the first fault information in the information in the fault register from the cache of the first CPU, and if the second CPU determines that the first fault has been handled by the first CPU, the second CPU masks the first fault information and identifies the second fault information from the information in the fault register.
[0187] For an example of the second CPU identifying the second fault information from the information read in the fault register, see the related description in implementation form 1. The details will not be described again here.
[0188] In a possible implementation, the second CPU may query the RAM in the MCU periodically, for example querying the RAM every 1 ms.
[0189] Step 510: The second CPU in the MCU processes the second fault.
[0190] For step 510, see step 507. Details will not be described again here.
[0191] From step 501 to step 510, it can be seen that the first CPU handles the first fault, and the second CPU handles the second fault, so that the first fault and the second fault can be handled in a timely manner. In addition, the method of transmitting information in the fault register by multiplexing the LVDS channel is a heterogeneous redundancy method, which helps to avoid the case where all communication channels fail because a single SPI communication method is used.
[0192] After step 502, i.e., after receiving the first instruction, the second CPU can initiate a fault handling task in response to the first instruction. Figure 6 is a schematic flow chart of another information transmission method according to the present application. In this method, for example, the FI hardwire flag bit being 1 indicates an FI hardwire flag interrupt (i.e., the FI hardwire flag is triggered), and the FSI hardwire flag bit being 1 indicates an FSI hardwire flag interrupt (i.e., the FSI hardwire flag is triggered).
[0193] Step 601: The second CPU clears the data in the RAM in the MCU.
[0194] Here, the second CPU can send a data clear command to the RAM in the MCU, and the RAM in the MCU clears the stored data according to the data clear command, thus preventing the original data in the RAM in the MCU from interfering with the fault interrupt processing task.
[0195] It should be noted that after the second CPU receives the first instruction, the RAM in the MCU has not received information about the fault register from the MMIC, in other words, before the information in the fault register is received, the data in the RAM in the MCU is first cleared, so that after receiving the information in the fault register, the RAM in the MCU only stores the information in the fault register.
[0196] Step 602: The second CPU judges whether or not the FI hardwire flag is 1. If the FI hardwire flag is 1, the second CPU executes step 603; otherwise, if the FI hardwire flag is not 1, the second CPU executes step 604.
[0197] Here, if the FI hardwire flag is 1, it indicates that the first CPU has not completed processing the first fault. If a second fault occurs in the MMIC, the first CPU cannot process the second fault in a timely manner. Therefore, the second CPU needs to process the second fault. If the FI hardwire flag is determined to be 0, it indicates that the first CPU has processed the first fault. In this case, if a second fault occurs in the MMIC, the first CPU can directly process the second fault, and the second CPU does not need to process the second fault. Here, the second CPU can execute the following steps 604 and 605.
[0198] Step 603: The second CPU judges whether the FSI hardwire flag is 1. If the FSI hardwire flag is 1, execute the following step 606; otherwise, if the FSI hardwire flag is not 1, return to execute step 602.
[0199] Here, if the FSI hardwire flag is 1, it indicates that the second CPU has not completed processing the second fault, and therefore the second CPU needs to process the second fault, i.e., execute step 606. If the FSI hardwire flag is 0, it indicates that the second fault has been processed, and the second CPU returns to step 602 and waits again for a new fault processing task.
[0200] Step 604: The second CPU clears the RAM in the MCU. Step 605 is executed after step 604.
[0201] Step 605: The second CPU finishes the fault handling task.
[0202] Step 606: The second CPU processes the second fault.
[0203] When the second CPU acquires the second fault information based on the implementation 1, after completing the processing of the second fault, the second CPU further needs to clear the second fault in the information in the fault register and / or the FSI hardwire flag corresponding to the second fault information. See the description of FIG. 7.
[0204] Step 701: The second CPU can send a second command to the MMIC. In response, the MMIC receives a second command from the second CPU by using the SPI.
[0205] In a possible implementation, the second CPU can send a second command to the MMIC over the SPI.
[0206] Here, the second command is used to instruct the MMIC to clear the FSI hardwire flag and / or the second fault information. Referring to FIG. 3, the CPU 1302 can send the second command to the controller 3021 in the MMIC 302. The second command is used to instruct the controller 3021 to clear the second fault information and / or clear the FSI hardwire flag. For example, the controller 3021 can restore the second fault information from 1 to 0 and set the FSI hardwire flag bit to a low level (e.g., 0).
[0207] Step 702: The MMIC may clear the second fault information contained in the information in the fault register and / or the FSI hardwire flag based on a second instruction.
[0208] 5, for example, the information in the fault register is 001001000000000000000000000000000 and the second fault information is the third bit in the information in the fault register. The MMIC can restore the 1 in the third bit to a 0 based on the second instruction. For another example, the information in the fault register is 00000100010000000000000000000000 and the second fault information is the tenth bit in the information in the fault register. The MMIC can restore the 1 in the tenth bit to a 0 based on the second instruction.
[0209] Here, if the "FI hardwire flag is 1" indicates an interrupt, the MMIC can restore the FI hardwire flag to 0 based on the second instruction.
[0210] Step 703: The MMIC may send a third response to the second CPU.
[0211] In a possible implementation, the MMIC can send a third response to the second CPU over the SPI.
[0212] Here, the third response includes the execution process of the second instruction. For example, the execution process of the second instruction can be identified by 0 and 1, where 0 indicates that the execution of the second instruction is incomplete, and 1 indicates that the execution of the second instruction is completed. It should be noted that the execution of the second instruction can alternatively be represented by another identifier, as long as the identifier can identify whether the second instruction is completed or incomplete. This is not limited in this application.
[0213] It should be understood that the second CPU needs to determine the process of executing the second instruction by the MMIC. Therefore, the MMIC periodically feeds back the execution process of the second instruction to the second CPU. For example, the MMIC can feed back the execution process of the second instruction to the second CPU once every 10us.
[0214] Step 704: The second CPU judges whether the MMIC has completed the execution of the second instruction based on the received third response. If the execution of the second instruction is completed, the second CPU executes step 705; if the execution of the second instruction is not completed, the second CPU continues to detect the execution process of the second instruction. That is, the second CPU executes step 704 periodically.
[0215] For example, a second CPU sends a second command at time t1 and sees a third response at time t2. Times t1 and t2 may be preset, i.e., the CPU sends commands and receives responses based on a mostly fixed duration.
[0216] Step 705: The second CPU finishes the fault handling task.
[0217] Through steps 701 to 705, after completing the processing of the second fault, the second CPU clears the FSI hardwire flag and / or the second fault information corresponding to the second fault in a timely manner, so that the newly generated fault can be processed in a timely manner in the next task period.
[0218] It should be noted that in the above embodiment, the execution process of the steps in the first CPU is serial, the execution process of the steps in the second CPU is serial, and the execution processes of the first CPU and the second CPU can be serial or parallel. It should be noted that the execution process of the above steps is described to clearly explain the solution. Based on the requirements in the actual scenario, one or more steps in the above steps may not need to be executed, or multiple steps may be combined for execution. This depends on the specific execution in the actual scenario.
[0219] It will be understood that in order to implement the functions in the above-mentioned embodiments, the control device includes corresponding hardware structures and / or software modules for performing the functions. Those skilled in the art will easily recognize that the modules and method steps in the examples described with reference to the embodiments disclosed in this application can be implemented in this application by hardware, or a combination of hardware and computer software. Whether the functions are performed by hardware or hardware driven by computer software depends on the specific application scenario and design constraints of the technical solution.
[0220] Based on the above and the same concept, Figure 8 is a schematic diagram of a possible structure of a control device according to this application. The control device can be configured to implement the functions of the control device in the above-mentioned method embodiment, and thus can also implement the beneficial effects of the above-mentioned method embodiment. In this application, the control device can be the MCU 301 shown in Figure 3.
[0221] As shown in FIG. 8, the control device 800 includes a first processor 801 and a second processor 802. In addition, the control device 800 may include a first interface circuit 803 and a second interface circuit 804. Optionally, the control device 800 may further include a first memory 805 and / or a second memory 806. The first memory 805 may be configured to store instructions executed by the first processor 801 and the second processor 802. The second memory 806 may be configured to store second fault information received by the control device 800. The control device 800 may be configured to implement the functions of the control device or MCU in the embodiments of the method shown in FIG. 4, FIG. 5, FIG. 6, or the figures. It should be noted that the first interface circuit 803 may also be referred to as a first input / output interface 803, and the second interface circuit 804 may also be referred to as a second input / output interface 804. The interface circuits are introduced here to better explain the hardware structure of the product. Those skilled in the art will understand that an interface circuit may be a hardware circuit or a logical circuit that implements a corresponding channel. In the following, "by using an interface circuit corresponding to a channel" may also be directly understood or replaced with "through a channel."
[0222] When the control device 800 is configured to implement the functions of the control device in the embodiment of the method shown in Fig. 4, the first processor 801 is configured to acquire first fault information of the electromagnetic signal transceiver device by using a first interface circuit 803 corresponding to a first channel, where the first fault information corresponds to a first fault. And the second processor 802 is configured to acquire second fault information of the electromagnetic signal transceiver device, where the second fault information corresponds to a second fault. The second fault information is from the electromagnetic signal transceiver device and is transmitted by using a second interface circuit 804 corresponding to a second channel.
[0223] A more detailed description of the first processor 801 and the second processor 802 can be obtained directly by referring to the relevant description in the embodiment of the method shown in Figure 4. The details will not be described one by one again here.
[0224] Based on the above and the same concept, Figure 9 is a schematic diagram of a possible structure of an electromagnetic signal transceiver device according to this application. The electromagnetic signal transceiver device can be configured to implement the functions of the electromagnetic signal transceiver device in the above-mentioned method embodiment, and thus can also implement the beneficial effects of the above-mentioned method embodiment. In this application, the electromagnetic signal transceiver device can be the MMIC 302 shown in Figure 3.
[0225] As shown in FIG. 9, the electromagnetic signal transceiver device 900 includes a controller 901, and may further include a fourth interface circuit 902 and a fifth interface circuit 903. Optionally, the controller 900 may further include a memory 904, and the memory 904 may be configured to store fault information. It should be noted that the instructions executed by the controller 901 are mostly firmware programs, that is, the instructions executed by the controller 901 are mostly fixed in the electromagnetic signal transceiver device 900. The electromagnetic signal transceiver device 900 is configured to implement the functions of the electromagnetic signal transceiver device module or MMIC in the embodiment of FIG. 4, FIG. 5, FIG. 6, or the method shown in the figure. The fourth interface circuit 902 may also be referred to as a fourth input / output interface 902, and the fifth interface circuit 903 may also be referred to as a fifth input / output interface 903. For the description of the interface circuits herein, please refer to the above description. Additionally, optionally, the memory 904 may include registers.
[0226] When the electromagnetic signal transceiver device 900 is configured to implement the functionality of the electromagnetic signal transceiver device in the embodiment of the method shown in Figure 4, the controller 901 is configured to detect a first fault and send first fault information to the control device by using the fourth interface circuit 902 corresponding to the first channel, where the first fault information corresponds to the first fault, and the controller 901 is further configured to detect a second fault and send second fault information to the control device by using the fifth interface circuit 903 corresponding to the second channel, where the second fault information corresponds to the second fault.
[0227] A more detailed description of the controller 901 can be obtained directly by referring to the relevant description in the embodiment of the method shown in Figure 4. The details will not be described one by one again here.
[0228] Based on the above and the same concept, this application further provides a signal processing device 1000, as shown in Fig. 10. The signal processing device 1000 may include at least one of a control device 800 or an electromagnetic signal transceiver device 900. For the control device 800, please refer to the related description of Fig. 8. For the electromagnetic signal transceiver device 900, please refer to the related description of Fig. 9.
[0229] When the signal processing device 1000 is configured to perform the method shown in FIG. 4, the control device 800 is configured to perform the functions of a control device, and the electromagnetic signal transceiver device 900 is configured to perform the functions of an electromagnetic signal transceiver device.
[0230] It will be understood that the processor in the embodiments of this application may be a central processing unit (CPU) or may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor. The controller may be, for example, a control unit in a millimeter wave radar system, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof.
[0231] The method steps in the embodiments of this application may be implemented by using hardware or by executing software instructions by a processor. The software instructions may include corresponding software modules. The software modules may be stored in a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from and write information to the storage medium. Indeed, the storage medium may be a component of the processor. The processor and the storage medium may be located in an ASIC. In addition, the ASIC may be located in a controller or an electromagnetic signal transceiver device. Indeed, the processor and the storage medium may reside as discrete components in a network or terminal device.
[0232] All or some of the above-mentioned embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, all or some of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer programs or instructions are loaded and executed in a computer, all or some of the procedures or functions in the embodiments of this application are executed. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or another programmable device. The computer program or instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer program or instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired or wireless manner. The computer-readable storage medium may be any available medium accessible by a computer or data storage device, such as a server or data center, integrating one or more available media. The available medium may be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape, an optical medium, such as a digital video disc (DVD), or a semiconductor medium, such as a solid state drive (SSD).
[0233] In the embodiments of this application, unless otherwise specified or there is no logical contradiction, the terms and / or descriptions between different embodiments are consistent and can be cross-referenced, and the technical features in different embodiments can be combined based on the internal logical relationships of the embodiments to form a new embodiment.
[0234] In this application, the word "example" is used to mean serving as an example, illustration, or explanation. Any embodiment or design solution described in this application as an "example" should not be described as preferred or having more advantages over another embodiment or design solution. Alternatively, this may be understood as the use of the word "example" being intended to present concepts in a particular way and not to constitute a limitation on this application.
[0235] It will be understood that various numbers in the embodiments of this application are merely used for distinction to facilitate description, and are not used to limit the scope of the embodiments of this application. The sequence numbers of the aforementioned processes do not imply an execution order. The execution order of the processes should be determined based on the functions and internal logic of the processes. The terms "first", "second", and other similar expressions are used to distinguish between similar objects, but are used excessively to describe a particular order or sequence. In addition, the terms "include", "have", and any variations thereof are intended to cover a non-exclusive inclusion, for example, including a series of steps or modules. The methods, systems, products, or devices are not unnecessarily limited to the explicitly recited steps or modules, but may include other steps or modules not explicitly recited or inherent to these processes, methods, products, or devices.
[0236] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of protection of this application. This application is intended to cover these modifications and variations of this application, provided that they are within the scope of the claims of this application and its equivalent technology.
Claims
1. An information transmission method applied to a control device of a millimeter wave radar, the method comprising: transmitting fault information from an electromagnetic signal transceiver device to the control device, the control device including a first processor and a second processor, the method comprising: acquiring, by the first processor, first fault information of the electromagnetic signal transceiver device through a first channel, the first fault information corresponding to a first fault; and acquiring, by the second processor, second fault information of the electromagnetic signal transceiver device, the second fault information corresponding to a second fault. the second fault information is from the electromagnetic signal transceiver device and is transmitted to the control device over a second channel; the first channel and the second channel being paths from the electromagnetic signal transceiver device to the control device; method.
2. the first channel is a serial peripheral interface SPI; and / or the second channel is a low voltage differential signaling LVDS channel; The method of claim 1.
3. The control device further includes a first memory; and the second failure information is stored in the first memory; The step of acquiring second fault information of the electromagnetic signal transceiver device by the second processor includes: acquiring, by the second processor, the second failure information from the first memory; The method according to claim 1 or 2.
4. The step of acquiring the second failure information from the first memory by the second processor includes: periodically querying, by the second processor, the first memory; acquiring, by the second processor, the second failure information from the first memory; The method of claim 3 , comprising:
5. The step of acquiring the second failure information from the first memory by the second processor includes: detecting, by the second processor, a second FI hardwire flag and obtaining the second fault information from the first memory; the second FI hardwire flag is a flag used to indicate the second fault; The method of claim 3 , comprising:
6. The method further comprises: processing the second fault by the second processor in response to at least one of incomplete processing of the first fault, a first instruction, or detection of the second FI hardwire flag, the first instruction being used to instruct the second processor to process the second fault; The method of claim 5 , comprising:
7. The method further comprises: detecting, by the first processor, a first FI hardwire flag, the first FI hardwire flag being a flag used to indicate the first fault; sending, by the first processor, the first instruction to the second processor, the first instruction being used to instruct the second processor to handle the second fault; The method of claim 6, comprising:
8. The method further comprises: sending, by the second processor, a second instruction to the electromagnetic signal transceiver device, the second instruction being used to instruct the electromagnetic signal transceiver device to clear the second FI hardwire flag; The method of claim 5 , comprising:
9. The step of acquiring first fault information of the electromagnetic signal transceiver device through a first channel by the first processor includes: receiving, by the first processor, the first FI hardwire flag from the electromagnetic signal transceiver device, the first FI hardwire flag being used to indicate the first fault; transmitting, by the first processor, a first request message to the electromagnetic signal transceiver device, the first request message being used to request the first fault information; receiving, by the first processor, the first fault information from the electromagnetic signal transceiver device over the first channel; The method of claim 7, comprising:
10. An information transmission method applied to a method for controlling a millimeter wave radar, comprising the steps of: transmitting fault information from an electromagnetic signal transceiver device to a control device, the method comprising: detecting a first fault by an electromagnetic signal transceiver device and transmitting first fault information to a control device through a first channel, the first fault information corresponding to the first fault; detecting a second fault by the electromagnetic signal transceiver device and transmitting second fault information to the control device through a second channel, the second fault information corresponding to the second fault; Including, the first channel and the second channel being paths from the electromagnetic signal transceiver device to the control device; method.
11. the first channel is a serial peripheral interface SPI; and / or the second channel is a low voltage differential signaling LVDS channel; The method of claim 10.
12. the step of transmitting second fault information to a control device over a second channel by the electromagnetic signal transceiver device, transmitting, by the electromagnetic signal transceiver device, the second fault information over the second channel to a first memory in the control device; The method of claim 10 or 11, comprising:
13. The method further comprises: transmitting, by the electromagnetic signal transceiver device, a second FI hardwire flag to a second processor in the control device; the second FI hardwire flag is a flag used to indicate the second fault; The method of claim 10, comprising:
14. The method further comprises: receiving, by the electromagnetic signal transceiver device, second instructions from the second processor; clearing, by the electromagnetic signal transceiver device, the second FI hardwire flag based on the second command; The method of claim 13, comprising:
15. The method further comprises: transmitting, by the electromagnetic signal transceiver device, a first FI hardwire flag to a first processor in the control device; the first FI hardwire flag is a flag used to indicate that the first fault has occurred; The method of claim 10, comprising:
16. The step of detecting a first fault by an electromagnetic signal transceiver device and transmitting first fault information to a controller over a first channel includes: receiving, by the electromagnetic signal transceiver device, a first request message from the first processor; obtaining, by the electromagnetic signal transceiver device, the first fault information in a fault register based on the first request message; 16. The method of claim 15, comprising:
17. A control device for a millimeter wave radar comprising a first processor, a second processor, a first interface circuit, and a second interface circuit, The first processor is configured to acquire first fault information of the electromagnetic signal transceiver device by using the first interface circuit corresponding to a first channel, the first fault information corresponding to a first fault; the second processor is configured to obtain second fault information of the electromagnetic signal transceiver device, the second fault information corresponding to a second fault; the second fault information is from the electromagnetic signal transceiver device and is transmitted by using the second interface circuit corresponding to a second channel; the first channel and the second channel are paths from the electromagnetic signal transceiver device to the control device; Fault information is transmitted from the electromagnetic signal transceiver device to the control device. Device.
18. the first channel is a serial peripheral interface SPI; and / or the second channel is a low voltage differential signaling LVDS channel; 20. The apparatus of claim 17.
19. The control device further includes a first memory; and the second failure information is stored in the first memory; the second processor is configured to obtain the second failure information from the first memory; 19. Apparatus according to claim 17 or 18.
20. The second processor Periodically querying the first memory; and obtaining the second fault information from the first memory; It is configured as follows:
20. The apparatus of claim 19.
21. The second processor Detecting a second FI hardwire flag; and obtaining the second fault information from the first memory; It is structured as follows: The second FI hardwire flag is a flag used to indicate the second fault.
20. The apparatus of claim 19.
22. The second processor further comprises: configured to process the second fault in response to at least one of: incomplete processing of the first fault, a first instruction, or detection of the second FI hardwire flag; the first instruction is used to instruct the second processor to handle the second fault; 22. The apparatus of claim 21.
23. The control device further includes a third interface circuit; The first processor further comprises: Detecting a first FI hardwire flag; and transmitting the first instruction to the second processor by using the third interface circuit; It is structured as follows: the first instruction is used to instruct the second processor to handle the second fault; The first FI hardwire flag is a flag used to indicate the first fault.
23. The apparatus of claim 22.
24. The second processor further comprises: transmitting a second command to the electromagnetic signal transceiver device by using the first interface circuit corresponding to the first channel; It is structured as follows: the second instruction is used to instruct the electromagnetic signal transceiver device to clear the second FI hardwire flag; 22. The apparatus of claim 21.
25. The first processor, configured to receive the first FI hardwire flag from the electromagnetic signal transceiver device by using a first FI hardwire pin; the first FI hardwire flag is used to indicate the first fault; and further configured to transmit a first request message to the electromagnetic signal transceiver device by using the first interface circuit corresponding to the first channel; the first request message is used to request the first fault information; 24. The apparatus of claim 23.
26. An electromagnetic signal transceiver device comprising a controller, a fourth interface circuit, and a fifth interface circuit. The controller: Detecting a first fault and transmitting first fault information to a control device of the millimeter wave radar by using the fourth interface circuit corresponding to a first channel; It is structured as follows: the first failure information corresponds to the first failure, The controller further comprises: detecting a second fault and transmitting second fault information to the control device by using the fifth interface circuit corresponding to a second channel; It is composed of the second failure information corresponds to the second failure, the first channel and the second channel are paths from the electromagnetic signal transceiver device to the control device; Fault information is transmitted from the electromagnetic signal transceiver device to the control device. Device.
27. the first channel is a serial peripheral interface SPI; and / or the second channel is a low voltage differential signaling LVDS channel; 27. The apparatus of claim 26.
28. The controller: transmitting the second fault information to a first memory in the control device by using the fifth interface circuit corresponding to the second channel; It is configured as follows:
28. Apparatus according to claim 26 or 27.
29. The controller further comprises: sending a second FI hardwire flag to a second processor in the controller by using a second FI hardwire pin; It is structured as follows: The second FI hardwire flag is a flag used to indicate the second fault.
27. The apparatus of claim 26.
30. The controller further comprises: clearing the second FI hardwire flag based on a second instruction from the second processor in the control device; It is configured as follows:
30. The apparatus of claim 29.
31. The controller further comprises: Sending a first FI hardwire flag to a first processor in the controller by using a first FI hardwire pin; It is structured as follows: The first FI hardwire flag is a flag used to indicate that the first fault has been generated.
27. The apparatus of claim 26.
32. The controller: Obtaining the first fault information in a fault register based on a first request message from the first processor in the control device; It is configured as follows:
32. The apparatus of claim 31.
33. 1. A signal processing device, comprising: A device according to any one of claims 17 to 25, or 32. An apparatus according to any one of claims 26 to 31, A device comprising:
34. The device is a millimeter wave radar.
34. The device of claim 33.
Citation Information
Patent Citations
Electronic controller for radar sensors
JP2017533432A
Spectral estimation of noise in rader device
JP2019132838A
Self-driving system, and vehicle control method and apparatus
JP2019206337A
Method for realizing radar-communication integration of vehicle, and related device and system
WO2019205724A1
