Disclosure of Invention
The purpose of the invention is as follows: aiming at the problems, the invention provides a rapid diagnosis method and a rapid diagnosis system for a vehicle-mounted sensor based on a Telemetry technology.
The technical scheme is as follows: in order to realize the purpose of the invention, the technical scheme adopted by the invention is as follows:
a rapid diagnosis method for a vehicle-mounted sensor based on a Telemetry technology comprises the following steps:
step 1, a controller issues initialization information to a sensor through a transmission interface;
step 2, the sensor integration MCU receives and analyzes initialization information and carries out initialization setting; the sensor package sends a timestamp, the interface is transmitted, signals and working state information are collected to a Telemetry message, and the controller is periodically reported through the transmission interface;
step 3, the controller receives a Telemetry message reported by the sensor, extracts an acquisition signal of the sensor, analyzes the current working state information of the sensor, and judges whether the sensor is in a normal working mode or a failure mode based on the current working state information;
step 4, the controller packages the information of the diagnosis result of the working state of the sensor into a telemetering message and sends the telemetering message to the T-BOX terminal through a transmission interface; the T-BOX terminal receives and analyzes the diagnosis result of the working state of the sensor, and simultaneously caches and dynamically refreshes the real-time working state of the sensor;
and 5, the user terminal acquires the working state of the sensor in real time by connecting the T-BOX terminal.
Further, the initialization information comprises reference time, transmission interface selection and a transmission period for signal reporting; the initialization setting includes synchronizing sensor reference time, setting transmission interface and transmission period.
Further, in step 3, when the controller identifies that the sensor is in the failure mode, a failure protection process is performed by the corresponding actuator, such as enabling a backup sensor or a degradation process.
Further, the transmission interface is a CANFD or Ethernet interface.
A rapid diagnosis system of a vehicle-mounted sensor based on Telemetry technology comprises a sensor, a controller, a T-BOX terminal and a user terminal;
the sensor is integrated with the MCU and used for receiving the initialization information sent by the controller and carrying out initialization setting; after the sensor is started, packaging and acquiring signals and working state information to a telemetrology message, and periodically reporting to the controller through a transmission interface;
the controller is used for sending initialization information to the sensor, receiving telemetrology messages periodically reported by the sensor, extracting an acquisition signal, analyzing the working state of the sensor and judging whether the sensor is in a normal working state or a failure state;
the T-BOX terminal, the controller encapsulates the diagnostic result information of the sensor working state into a telemetrology message, and sends the telemetrology message to the T-BOX terminal through a transmission interface; the T-BOX terminal receives, analyzes, caches and dynamically refreshes the real-time working state of the sensor;
and the user terminal acquires the working state of the sensor in real time by connecting the T-BOX terminal.
Further, the initialization information comprises reference time, transmission interface selection and a transmission period for signal reporting; the initialization setting includes synchronizing sensor reference time, setting transmission interface and transmission period.
Further, the transmission interface is a CANFD or Ethernet interface.
Further, the system also comprises an actuator, and when the controller identifies that a certain sensor is in a failure state, failure protection processing is performed through the corresponding actuator, such as starting a backup sensor or degradation processing.
The invention has the advantages that compared with the prior art,
according to the invention, the MCU is integrated with the sensor, the real-time high-speed acquisition technology based on Telemetry is adopted, the acquisition signals of the sensor are actively reported periodically, and meanwhile, diagnostic information such as a state code, a timestamp and the like is attached to an associated channel, so that the real-time performance of vehicle-mounted sensor diagnosis is greatly improved, and an automatic driving vehicle can realize real-time perception and prediction and quickly deal with the safety problems such as sensor failure and the like.
The method is suitable for real-time high-speed acquisition technology through Telemetry, ensures the real-time monitoring of the health degree of the vehicle-mounted sensor, and provides important decision input for quick decision of an automatic driving algorithm in a sensor failure scene.
Detailed Description
The technical solution of the present invention is further described below with reference to the accompanying drawings and examples.
As shown in FIG. 1, the rapid diagnosis system for the vehicle-mounted sensor based on the Telemetry technology comprises a sensor, a controller, an actuator, a T-BOX terminal and a user terminal.
And the MCU is arranged on the sensor and is responsible for receiving the initialization information sent by the controller and initializing the sensor. The initialization setting includes synchronizing sensor reference time, setting transmission interface and transmission period. After the sensor is started, the MCU acquires a local signal acquisition physical channel number and acquires an acquisition signal; and then, information such as a sending timestamp, a transmission interface, a sensor working state, a collected signal and the like is packaged into a telemetrology message and periodically sent to a controller through a CANFD or Ethernet interface.
The controller issues initialization information to the sensor, wherein the initialization information comprises reference time, a transmission period of collected signal reporting, and transmission interface selection (CANFD or Ethernet, etc.). Then receiving Telemetry messages periodically reported by the sensor, extracting a collecting signal of the sensor, analyzing the working state of the sensor, and judging whether the sensor is in a normal working state or a failure state; if the controller identifies that a certain sensor is in a failure state, failure protection processing is carried out through a corresponding actuator, such as enabling a backup sensor or degradation processing.
Meanwhile, the controller serves as a Telemetry intermediate node, encapsulates the sensor working state diagnosis result information into a Telemetry message, and sends the Telemetry message to the T-BOX terminal through a transmission interface; and the T-BOX terminal receives, analyzes, caches and dynamically refreshes the real-time working state of the sensor.
And the user terminal acquires the working state of the sensor in real time by connecting the T-BOX terminal.
As shown in fig. 2, the rapid diagnosis method for the vehicle-mounted sensor based on the telemetrology technology includes the steps of:
step 1, a vehicle body controller issues initialization information to a vehicle-mounted sensor through a CANFD or Ethernet interface, wherein the initialization information comprises uniform reference time, a collection reporting time period, transmission interface selection (CANFD or Ethernet) and the like;
step 2, the sensor analyzes the initialization information to obtain reference time issued by the controller, and the reference time is set as MCU reference time; meanwhile, according to the acquisition reporting time period issued by the controller, the acquisition signal and the working state information of the sensor are encapsulated to a telemetric message, and the telemetric message is reported to the controller through a CANFD or Ethernet interface;
the sensor integrated MCU unit receives the initialization configuration information issued by the controller in the initial stage, performs initialization setting, synchronizes the reference time of the sensor, and sets a transmission interface and a sending period.
After the sensor is started, the MCU acquires a local signal acquisition physical channel number and acquires an acquisition signal; and then information such as a sending timestamp, a transmission interface, a sensor working state, a collected signal and the like is packaged into a telemeasurement message and periodically sent to the controller.
Step 3, the controller receives a telemetric message reported by the sensor and extracts an acquisition signal of the sensor; analyzing the current working state information of the sensor, and judging whether the sensor is in a normal working mode or a failure mode based on the state information;
the controller receives Telemetry messages periodically reported by the sensor, analyzes the working state of the sensor, and judges whether the sensor is in a normal working state or a failure state; if the controller identifies that a certain sensor fails, a failure protection process is carried out through a corresponding actuator, such as enabling a backup sensor or a degradation process.
The controller supports the processing of the failure state of the sensor, inputs the failure state to an automatic control algorithm in real time, and decides key actions, such as upgrading a backup sensor to be main or automatically driving to degrade and other safety measures.
The sensor and the controller are combined to form a self-diagnosis system, and meanwhile, important reference input is provided for processing the automatic driving failure mode.
Step 4, the controller packages the information of the diagnosis result of the working state of the sensor into a telemetrology message and sends the telemetrology message to the T-BOX terminal through the Ethernet interface;
the controller supports telemetric message processing and is responsible for diagnosing the failure state of the sensor and reporting to the T-BOX terminal.
The controller serves as a Telemetry intermediate node, encapsulates the refreshed working state result in a Telemetry message and sends the Telemetry message to the T-BOX terminal.
The T-BOX terminal receives and analyzes the diagnosis result of the working state of the sensor, and simultaneously caches and dynamically refreshes the real-time working state of each sensor. The user terminal can check the working state and the health degree of various sensors recorded by the T-BOX terminal in real time.
Step 5, the user terminal can be connected with the T-BOX terminal at any time to acquire the working state of the vehicle body sensor in real time; any abnormal alarm can be given back in time.
As shown in fig. 3, a diagram of a telematics-based data transmission and diagnostic message structure of a vehicle sensor is shown.
The sensor input end acquires original signals through a plurality of physical channels; after the MCU is started, the sensor receives the parameter configuration sent by the controller, such as system reference time, signal reporting period, and transmission interface selection (CANFD or Ethernet, etc.).
The sensor output end and the sensor serve as a head node of the Telemetry, acquire local information such as a signal acquisition physical channel number, a time stamp, a transmission interface, a working state code and an acquisition signal, and package the information into a Telemetry message.
For CANFD transmission, the information is filled in the payload section behind the candd field; for Ethernet transmission, the payload portion following the MAC address header and ethertype field is padded. Wherein, the CANFD load is limited to be within 64 bytes, and the Ethernet load is limited to be within 1500 bytes.
As shown in fig. 4, the flowchart of the processing inside the onboard sensor based on telemetrology technology includes the steps of:
(1) initializing a physical channel of the sensor and an MCU;
(2) the sensor receives the initialized configuration parameters sent by the controller and conducts validity check;
(3) analyzing the initialized configuration parameters sent by the controller, packing the working state codes and the collected signals according to the reference time, the sending period, the transmission interface and the like sent by the controller, encapsulating the working state codes and the collected signals into a telemetric message, and sending the telemetric message to the controller from the corresponding transmission interface.
As shown in fig. 5, the flowchart of the processing inside the onboard controller based on telemetric technology includes the following steps:
(1) initializing a controller MPU and a transmission channel;
(2) the controller receives Telemetry messages periodically reported by the sensors from the corresponding channels;
(3) analyzing the reported working state code from the telemetric message, checking the health degree of the sensor, and identifying whether the current sensor is in a normal working state or a failure state; if the controller identifies that a certain sensor fails, the sensor is input to an automatic driving algorithm in real time, and the sensor is output to a corresponding actuator in a decision-making manner to perform failure protection treatment, such as starting a backup sensor or degrading treatment; and meanwhile, encapsulating the sensor diagnosis result into a telemeasurement message and reporting the telemeasurement message to the T-BOX terminal.
The invention has the advantages that compared with the prior art,
according to the invention, the MCU is integrated with the sensor, the real-time high-speed acquisition technology based on Telemetry is adopted, the acquisition signals of the sensor are actively reported periodically, and meanwhile, diagnostic information such as a state code, a timestamp and the like is attached to an associated channel, so that the real-time performance of vehicle-mounted sensor diagnosis is greatly improved, and an automatic driving vehicle can realize real-time perception and prediction and quickly deal with the safety problems such as sensor failure and the like.
The method is suitable for real-time high-speed acquisition technology through Telemetry, ensures the real-time monitoring of the health degree of the vehicle-mounted sensor, and provides important decision input for quick decision of an automatic driving algorithm in a sensor failure scene.
The present applicant has described and illustrated embodiments of the present invention in detail with reference to the accompanying drawings, but it should be understood by those skilled in the art that the above embodiments are merely preferred embodiments of the present invention, and the detailed description is only for the purpose of helping the reader to better understand the spirit of the present invention, and not for limiting the scope of the present invention, and on the contrary, any improvement or modification made based on the spirit of the present invention should fall within the scope of the present invention.