WO2021179992A1 - Disconnection detection method for obd module, obd vehicle-mounted monitoring terminal, obd monitoring system - Google Patents

Disconnection detection method for obd module, obd vehicle-mounted monitoring terminal, obd monitoring system Download PDF

Info

Publication number
WO2021179992A1
WO2021179992A1 PCT/CN2021/079167 CN2021079167W WO2021179992A1 WO 2021179992 A1 WO2021179992 A1 WO 2021179992A1 CN 2021079167 W CN2021079167 W CN 2021079167W WO 2021179992 A1 WO2021179992 A1 WO 2021179992A1
Authority
WO
WIPO (PCT)
Prior art keywords
obd
vehicle
module
mcu
monitoring terminal
Prior art date
Application number
PCT/CN2021/079167
Other languages
French (fr)
Chinese (zh)
Inventor
王维林
Original Assignee
深圳市道通科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市道通科技股份有限公司 filed Critical 深圳市道通科技股份有限公司
Publication of WO2021179992A1 publication Critical patent/WO2021179992A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Definitions

  • This application relates to the technical field of vehicle detection, and in particular to an OBD module disconnection detection method, an OBD vehicle-mounted monitoring terminal, and an OBD monitoring system.
  • OBD On-Board Diagnostics
  • the pin of the OBD connector is generally a normal power supply, and the vehicle battery directly supplies power to this pin. Therefore, it is usually detected whether the OBD connector has voltage to determine whether the OBD device is unplugged. If the OBD connector has no voltage, the OBD device is considered to be unplugged, and if the OBD connector has voltage, it is considered that the OBD device is not unplugged. .
  • the inventor found that the related technology has at least the following problems: if the communication line is disconnected without disconnecting the power cord, this situation may also be a malicious unplugging situation, but it will be considered by the algorithm as not malicious unplugging. . Therefore, the prior art has a problem of low accuracy when detecting whether the OBD device is maliciously pulled out.
  • the embodiments of the present invention aim to provide an OBD module disconnection detection method, an OBD vehicle monitoring terminal, and an OBD monitoring system, which are used to improve the accuracy of detecting whether the OBD module is maliciously pulled out.
  • the embodiments of the present invention provide the following technical solutions:
  • the embodiment of the present invention provides an OBD module disconnection detection method, which is applied to an OBD vehicle monitoring terminal, the OBD vehicle monitoring terminal includes an MCU and an OBD module, and the OBD module is connected to the OBD interface on the vehicle , So that the OBD module communicates with an electronic control unit on the vehicle, the method includes:
  • the MCU detects whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal
  • the MCU determines whether the vehicle supports the high-speed CAN communication protocol
  • the MCU detects whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on;
  • the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  • the MCU detecting whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on including:
  • the MCU outputs a high-level signal to control the first data line terminal in the CAN loop to input a first voltage
  • the MCU detects whether the second voltage of the second data line terminal in the CAN loop matches the first voltage
  • the first voltage is a randomly selected voltage in a preset voltage set.
  • the matching relationship between any one voltage in the preset voltage set and the voltage of the second data line terminal is determined when the OBD vehicle monitoring terminal is connected to the vehicle for the first time, and the OBD is pre-stored In the vehicle monitoring terminal.
  • whether the vehicle supports the high-speed CAN communication protocol is detected when the OBD vehicle-mounted monitoring terminal is installed, and the detection result is pre-stored in the OBD vehicle-mounted monitoring terminal.
  • the method further includes:
  • the method further includes:
  • the MCU detects whether the OBD module supports normal power supply
  • the vehicle will be detected according to the position information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle have abnormal communication.
  • the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  • whether the OBD module supports the normal power supply is configured when the OBD vehicle-mounted monitoring terminal is installed, and the configuration result is pre-stored in the OBD vehicle-mounted monitoring terminal.
  • the detecting the connection state of the OBD module according to the position change information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle are abnormal in communication includes:
  • the MCU If the position of the vehicle has not changed, it is detected whether the time of abnormal communication between the OBD module and the electronic control unit is greater than or equal to the preset time, and if so, the MCU sends the OBD module to the background management server Disconnect early warning, and execute the OBD module disconnection detection and monitoring program again;
  • the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  • an embodiment of the present invention also provides an OBD vehicle-mounted monitoring terminal, including: an MCU, an OBD module, and a communication module.
  • the OBD module is connected to the OBD interface on the vehicle so that the OBD module and the Communication with the electronic control unit on the vehicle;
  • the MCU is used for:
  • the vehicle supports the high-speed CAN communication protocol, detecting whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on;
  • the OBD module includes an OBD connector and an OBD chip, the OBD chip is electrically connected to the OBD connector and the MCU, and the OBD connector is connected to an OBD interface on the vehicle.
  • the OBD module and the OBD interface on the vehicle are connected by a high-speed CAN bus, and the high-speed CAN bus forms a CAN loop;
  • the MCU is used for:
  • the MCU is further configured to:
  • the OBD vehicle-mounted monitoring terminal further includes a positioning module electrically connected to the MCU;
  • the positioning module is used to detect the position information of the vehicle
  • the MCU is also used to:
  • the vehicle will be detected according to the position information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle have abnormal communication.
  • a disconnection warning of the OBD module is sent to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  • the OBD vehicle-mounted monitoring terminal further includes an alarm module electrically connected to the MCU;
  • the alarm module is used to send an alarm when the OBD module is disconnected.
  • the OBD vehicle monitoring terminal further includes a power management module, a battery, and a charger
  • the power management module is respectively connected to the OBD module, the MCU, the battery, and the charger
  • the battery is respectively connected to the OBD module, the MCU, the battery and the charger. Connect the charger and the MCU.
  • the embodiments of the present invention also provide an OBD monitoring system, which is applied to a car, the car is provided with an OBD interface, and the system includes: the above-mentioned OBD vehicle monitoring terminal, a network, and a background management server ;
  • the OBD vehicle-mounted monitoring terminal communicates with the car through the OBD interface, and communicates with the background management server through the network;
  • the OBD vehicle-mounted monitoring terminal is used to detect whether the CAN circuit between the OBD vehicle-mounted monitoring terminal and the electronic control unit of the car is conductive when the car supports the high-speed CAN communication protocol.
  • the background management server sends a disconnection warning of the OBD vehicle-mounted monitoring terminal;
  • the background management server is configured to receive the disconnection warning and respond to the disconnection warning.
  • the embodiments of the present invention provide an OBD module disconnection detection method, an OBD vehicle-mounted monitoring terminal, and an OBD monitoring system.
  • OBD module disconnection detection method By detecting whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal; if it is abnormal, determine whether the vehicle supports the high-speed CAN communication protocol; if the vehicle supports the high-speed CAN communication protocol, detect the communication between the OBD module and the electronic control unit on the vehicle If the CAN circuit is not turned on, the OBD vehicle monitoring terminal sends a disconnection warning of the OBD module to the background management server to warn that the communication between the OBD module and the electronic control unit of the vehicle is disconnected.
  • the OBD module disconnection detection method, the OBD vehicle monitoring terminal and the OBD monitoring system provided by the embodiments of the present invention can more accurately detect whether the communication between the OBD module and the electronic control unit of the vehicle is disconnected, and can prevent non-malicious pulling out of the OBD The situation of the vehicle monitoring terminal is incorrectly identified as a malicious pullout situation, which improves the accuracy of OBD module disconnection detection.
  • Figure 1 is a schematic structural diagram of an OBD monitoring system provided by an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an OBD vehicle-mounted monitoring terminal provided by an embodiment of the present invention.
  • Figure 3a is a communication network topology diagram corresponding to one of the high-speed CAN protocols provided by an embodiment of the present invention
  • Figure 3b is a communication network topology diagram corresponding to another high-speed CAN protocol provided by an embodiment of the present invention.
  • Fig. 5 is a flowchart of another OBD module disconnection detection method provided by an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of an OBD monitoring system provided by an embodiment of the present invention.
  • the system 100 includes an OBD vehicle monitoring terminal 10, a network 20 and a background management server 30.
  • the system can be applied to a car.
  • the car is equipped with an OBD interface, wherein the OBD vehicle-mounted monitoring terminal 10 is connected to the vehicle through the OBD interface, and is used to monitor the emission data of the vehicle and the OBD vehicle-mounted monitoring terminal 10, and also send the emission data and the unplug event to the background management server 30 through the network 20.
  • the background management server 30 is used for correspondingly controlling the emission of the automobile according to the emission data, giving early warnings and warnings to vehicles that do not meet the emission requirements, and notifying the owners of maintenance and rectification.
  • the background management server 30 is also used to monitor the pull-out event of the OBD vehicle monitoring terminal 10, and grasp the connection between the OBD vehicle monitoring terminal 10 and the car in time.
  • the OBD vehicle monitoring terminal 10 is used to detect whether the CAN circuit between the OBD vehicle monitoring terminal 10 and the electronic control unit of the vehicle is conductive when the vehicle supports the high-speed CAN communication protocol.
  • the background management server 30 sends the disconnection warning of the OBD vehicle monitoring terminal to the background management server 30; the background management server 30 is configured to receive the disconnection warning and respond to the disconnection warning.
  • the network 20 may be a mobile network, which supports TCP/IP protocol and the like.
  • the system 100 may further include a satellite, and the OBD vehicle monitoring terminal 10 may communicate with the satellite to locate the car.
  • the location information of the car can be uploaded to the background management server 30 by the OBD vehicle monitoring terminal 10 via the network 20.
  • FIG. 1 only shows one OBD vehicle-mounted monitoring terminal 10, it can be understood that multiple OBD vehicle-mounted monitoring terminals 10 may also be included, and each OBD vehicle-mounted monitoring terminal 10 corresponds to a car.
  • the type of OBD vehicle monitoring terminal 10 is not limited, and each OBD vehicle monitoring terminal 10 can be connected to the background management server 30 through the network 20, so that the background management server 30 can simultaneously monitor the OBD vehicle monitoring terminal 10 on multiple vehicles.
  • the embodiment of the present invention provides an OBD monitoring system, which monitors the pull-out event of the OBD vehicle-mounted monitoring terminal 10, and reports the monitoring data to the background management server 30.
  • the system improves the detection of the pull-out event of the OBD vehicle-mounted monitoring terminal 10 Accuracy.
  • FIG. 2 is a schematic structural diagram of one of the OBD vehicle-mounted monitoring terminals according to an embodiment of the present invention.
  • the OBD vehicle monitoring terminal 10 includes: an OBD module 101, an MCU 102, and a communication module 103, and the MCU 102 is electrically connected to the OBD module 101 and the communication module 103, respectively.
  • the OBD module 101 includes an OBD connector 1011 and an OBD chip 1012, and the OBD chip 1012 is electrically connected to the OBD connector 1011 and the MCU, respectively.
  • the OBD module 101 is connected to an OBD interface on the automobile, so that the OBD module 101 communicates with an electronic control unit (ECU) of the automobile. Specifically, the OBD module 101 is connected to the OBD interface of the car through the OBD connector 1011, and a communication connection between the car and the OBD vehicle monitoring terminal 10 is established through the OBD chip.
  • ECU electronice control unit
  • the OBD connector 1011 usually includes 16 pins.
  • the meaning of the 16 pins can refer to the prior art.
  • Pin4 represents the chassis ground
  • Pin5 represents the signal ground
  • Pin16 represents the normal power supply.
  • Pin16 can be directly connected to the battery.
  • Other pins are either communication lines or reserved pins.
  • Pin1, Pin3, Pin8, Pin9, Pin11, Pin12 and Pin13 are not allocated and can be defined by the vehicle manufacturer.
  • Pin2, Pin6, Pin7, Pin10, Pin14 and Pin15 can be used for diagnostic communication, such as high-speed CAN communication protocol commonly used Pin6 and Pin14 communication, KWP2000 line protocol commonly used Pin7 and Pin15 communication.
  • the OBD connector 101 may also be a round hole connector containing 9 pins, and the corresponding meaning of each pin is adjusted according to actual applications.
  • the OBD chip 1012 supports CAN, PWP2000, SAE J1850 (PWM), SAE J1850 (VPW), ISO 15765-4, ISO9141-2, ISO 14230-4 and other communication protocols.
  • the OBD chip 1012 can automatically scan and identify the communication protocol, select and connect different communication lines, and perform signal conversion.
  • the OBD chip 1012 can perform data communication with the MCU 102 through a communication protocol such as a serial port, SPI, or CAN.
  • the MCU 102 serves as the control core of the OBD on-board monitoring terminal 10, and is used for data communication with other modules based on a communication protocol, and processing according to the acquired data to perform corresponding functions.
  • the MCU 102 may be provided with a USB interface, which is used to connect a USB device.
  • the MCU 102 can also be provided with a serial peripheral interface SPI, which can be used to connect to other chips, such as encryption chips.
  • the communication module 103 may perform data communication with the MCU 102 based on a Universal Asynchronous Receiver/Transmitter (UART).
  • UART Universal Asynchronous Receiver/Transmitter
  • the communication module 103 supports 2G, 3G, 4G, and 5G mobile network data communication, and supports assisted global positioning system (Assisted Global Positioning System, AGPS) assisted positioning.
  • AGPS assisted Global Positioning System
  • the OBD on-board monitoring terminal 10 may be a type II on-board diagnostic system (On-Board Diagnostic II, OBD II), and the type of the OBD connector 1011 is OBD II.
  • OBD II On-Board Diagnostic II
  • the OBD vehicle-mounted monitoring terminal 10 is mainly used to monitor vehicle emissions, and regularly report emission monitoring data to the back-end management server 30, so that the back-end management server 30 can give early warnings and warnings to vehicles that do not meet the requirements, and notify the owner of the vehicle. Carry out repair processing. Therefore, it is generally prohibited that the OBD vehicle monitoring terminal 10 is maliciously pulled out of the car. In order to prevent the OBD vehicle-mounted monitoring terminal 10 from not being able to effectively report monitoring data, it is of great significance to detect the pull-out event.
  • the OBD vehicle-mounted monitoring terminal 10 is plugged into the OBD interface of the car through the OBD connector 1011 to connect to the car. Therefore, detecting the unplugging event of the OBD vehicle-mounted monitoring terminal 10 is to detect whether the OBD connector 1011 is maliciously unplugged.
  • factors such as the communication link status of the OBD vehicle monitoring terminal 10, the closedness of the detection communication loop, the power status of the OBD connector 1011, and the vehicle operating status are comprehensively analyzed.
  • the MCU 102 is used to detect whether the communication between the OBD module 101 and the electronic control unit on the car is abnormal; if it is abnormal, determine whether the car supports the high-speed CAN communication protocol; if the car supports the high-speed CAN communication protocol , Detect whether the CAN circuit between the OBD module 101 and the electronic control unit of the automobile is conductive; if not, send a disconnection warning of the OBD module to the background management server 30 to warn the The communication between the OBD module and the electronic control unit of the car is disconnected.
  • the communication link between the OBD vehicle monitoring terminal 10 and the vehicle will be disconnected, for example, the communication between the OBD vehicle monitoring terminal 10 and the ECU is terminated. Therefore, data signals can be sent to the OBD vehicle monitoring terminal 10 through the ECU. If the ECU cannot receive the feedback signal returned by the OBD vehicle monitoring terminal 10, it can be determined that the OBD module 101 is connected to the vehicle. The communication of the electronic control unit is abnormal. Of course, other methods can also be used to detect whether the communication between the OBD module 101 and the electronic control unit on the automobile is abnormal.
  • whether the vehicle supports the high-speed CAN communication protocol may be detected when the OBD vehicle-mounted monitoring terminal 10 is installed, and the detection result is pre-stored in the OBD vehicle-mounted monitoring terminal 10.
  • the high-speed CAN bus is a loopback loop. All devices can be accessed through CAN_H and CAN_L.
  • the loopback loop supports a multi-host structure. All devices connected to the CAN bus can send information by broadcasting. The incoming device can choose the information it receives according to its needs.
  • the OBD vehicle monitoring terminal 10 can be connected to the high-speed CAN bus through CAN_H and CAN_L, and the OBD vehicle monitoring terminal 10 can be connected to the high-speed CAN bus through pins Pin6 and Pin14 on the OBD connector 1011.
  • the ECU of the car can also be connected to the high-speed CAN bus through CAN_H and CAN_L, and the ECU of the car can be connected to the high-speed CAN bus through pins Pin6 and Pin14 of the OBD interface connected to it.
  • the resistance in FIG. 3a may specifically be 120 ohms, etc., when the resistance is 120 ohms, the CAN loop can be well connected, and poor contact at a certain connection of the conductive loop can be avoided.
  • the CAN_H is the high-level end of the high-speed CAN bus
  • the CAN_L is the low-level end of the high-speed CAN bus.
  • the MCU 102 is used to detect whether the CAN loop between the OBD module 101 and the electronic control unit on the automobile is turned on, including: the MCU 102 outputs a high-level signal to control the CAN loop A first voltage is input to the first data line terminal; the MCU 102 detects whether the second voltage at the second data line terminal in the CAN loop matches the first voltage; if it does not match, the CAN loop does not match Conduction.
  • the high-level signal output by the MCU 102 is used to control the power supply to input the first voltage to the first data line end of the CAN loop.
  • the first voltage is a randomly selected voltage in a preset voltage set.
  • the matching relationship between any one of the preset voltage sets and the voltage of the second data line terminal is determined when the OBD vehicle-mounted monitoring terminal is connected to the vehicle for the first time, and is pre-stored in the OBD vehicle-mounted monitoring terminal .
  • the MCU 102 controls the power supply to input voltages of 5V, 4.2V, 3.7V, 3.3V, and 3V at CAN_H in Figure 3a.
  • each output voltage corresponds to the above-mentioned input voltage one-to-one, and the voltage input by CAN_H and the voltage output by CAN_L are correspondingly saved in the database.
  • the first data line end may be CAN_H, then the second data line end is CAN_L; the first data line end may also be CAN_L, then the second data line end is CAN_H.
  • MCU 102 controls GPIO to output low-level signals.
  • S0 is connected to CAN_H of OBD II (that is, CAN_H is connected to CAN_H1)
  • S1 is connected to CAN_L of OBD II (that is, CAN_L).
  • Connect CAN_L1) at this time the signal is normally transmitted between OBD II and CAN loop.
  • the MCU 102 controls the GPIO to output a high-level signal, and the control power supply VCC provides an input voltage (such as 3V ⁇ 5V), at this time S0 is connected to VCC (that is, VCC is connected to CAN_H1), and S1 is connected to ADC (that is, ADC is connected to CAN_L1), so the MCU and CAN loop form a new loop, because the input voltage is added to the VCC terminal connected to S0 Therefore, the ADC can detect the voltage connected to S1 to determine whether the CAN circuit is normal.
  • VCC voltage
  • ADC that is, ADC is connected to CAN_L1
  • the S0 and S1 are routing switches, and the connection between S0 and S1 can be controlled by controlling the level signal output by GPIO to control S0 to choose one between CAN_H and VCC, and control S1 to be between CAN_L and ADC Choose one of the two to control CAN_H1 and CAN_L1 to connect to the corresponding network.
  • the embodiment of the present invention detects whether the OBD connector 1011 is unplugged by detecting the connection state of the CAN loop when the car supports the high-speed CAN communication protocol, instead of simply thinking that the unplugging event is triggered when the communication link is disconnected. Therefore, the accuracy of disconnection detection of the OBD module 101 is improved.
  • the OBD II vehicle monitoring terminal 10 further includes a power management module 104, a battery 105, a charger 106, and a fuel gauge 107.
  • the power management module 104 is connected to the OBD connector. 1011.
  • the OBD chip 1012, the MCU 102, the battery 105, and the charger 106, and the OBD connector 1011 is connected to the battery 105 through the charger 106.
  • the OBD vehicle-mounted monitoring terminal 10 can be powered by the Pin 16 of the OBD connector 101, or can be powered by the battery 105, and the Pin 16 can also charge the battery 105.
  • the fuel gauge 107 is used to count the power of the battery 105 and report the statistics result to the MCU 102.
  • the OBD vehicle monitoring terminal 10 further includes an alarm module 108, and the alarm module 108 is electrically connected to the MCU 102 through a GPIO interface. Wherein, if it is detected that the CAN loop is disconnected, an OBD connector 1011 disconnection alarm signal can be issued. The alarm signal is used to prompt the OBD vehicle-mounted monitoring terminal 10 to be maliciously pulled out.
  • the OBD chip 1012 may send the alarm signal to the MCU 102, and the MCU 102 sends the alarm signal to the background management server 30 through the communication module 103.
  • the MCU 102 may also control the alarm module 108 to perform an alarm.
  • the alarm module 108 may be an indicator light, a horn, etc., and may emit a preset sound and/or light signal when an alarm occurs.
  • the OBD vehicle-mounted monitoring terminal 10 further includes a positioning module 109, and the positioning module 109 is electrically connected to the MCU 102.
  • the positioning module 109 is used to detect real-time position information of the car.
  • the positioning module 109 can receive signals from GPS (Global Positioning System), BD (Beidou Satellite Positioning System), GLONASS (Galileo Satellite Positioning System), and Galileo (Galileo Satellite Positioning System).
  • the MCU 102 is also used to detect whether the OBD module 101 supports the normal power supply; if it supports the normal power supply and is in the power-on state, or does not support the normal power supply, then Detect the connection state of the OBD module 101 according to the position information of the vehicle and the time when the OBD module 101 and the electronic control unit on the vehicle have a communication abnormality; if the normal power supply is supported and the power supply is disconnected , A disconnection warning of the OBD module 101 is sent 30 to the background management server to warn that the OBD module 101 is disconnected from the electronic control unit of the vehicle.
  • the 16 pins of the OBD connector 1011 that is, Pin16 is usually a normal power supply, and the battery of the car can directly supply power to the Pin16.
  • whether the OBD module 101 supports the normal power supply is configured when the OBD vehicle-mounted monitoring terminal 10 is installed, and the configuration result is pre-stored in the OBD vehicle-mounted monitoring terminal 10.
  • the detecting the connection state of the OBD module 101 according to the position change information of the vehicle and the time when the OBD module 101 and the electronic control unit on the vehicle are abnormally communicated includes: acquiring the Location information of the vehicle; determine whether the location of the vehicle has changed when the OBD module 101 and the electronic control unit communicate abnormally; if the location of the vehicle has not changed, detect that the OBD module 101 and Whether the communication abnormality of the electronic control unit is greater than or equal to the preset time, if yes, the MCU 102 sends the disconnection warning of the OBD module 101 to the background management server, and executes the OBD module 101 disconnection detection and monitoring again Program; if the location of the vehicle has changed, the MCU 102 sends a disconnection warning of the OBD module 101 to the background management server to warn the OBD module 101 to communicate with the electronic control unit of the vehicle disconnect.
  • the OBD vehicle-mounted monitoring terminal 10 has a satellite positioning function, and can detect the real-time position information of the car according to the positioning module 109 described above. If the car is in motion and the communication link is disconnected, the OBD connector 1011 is definitely in the unplugged state; if the car is stationary and the communication link is disconnected, although it cannot be concluded that the OBD connector 1011 must be in the unplugged state. The status does not conform to the regular business rules of motor vehicles, therefore, at this time, it is necessary to give an early warning to the background.
  • the preset time can be self-defined setting, such as 24 hours, 12 hours, etc.
  • the disconnection warning is used to remind the background management server that a disconnection event may currently occur. After the early warning operation is performed, the detection method of the foregoing embodiment can be repeated continuously to perform disconnection detection on the OBD module 101. If the position of the car has not changed, and the time for which the position has not changed when the communication link is disconnected is less than the preset time, the OBD module 101 disconnection detection monitoring program can be executed again. Wherein, the disconnection warning is issued to the background management server 30 when the time when the position of the car has not changed is greater than or equal to the preset time, and the OBD module 101 and the electronic control unit have been communicating abnormally during this time. The situation does not conform to the regular business laws of motor vehicles. In order to avoid this situation that may be caused by the unplugging event, it is necessary to give an early warning to the background management server 30 to improve the safety of the equipment.
  • the MCU 102 when an abnormal communication between the OBD module and the electronic control unit on the vehicle is detected, the MCU 102 is also used to wake up the OBD vehicle-mounted monitoring terminal 10 in a sleep state , And activate the configuration of the OBD vehicle monitoring terminal 10.
  • the OBD vehicle-mounted monitoring terminal 10 can be put into a sleep state when the car engine is turned off. Because the OBD vehicle-mounted monitoring terminal 10 usually needs to resume communication with the ECU within 60 seconds of starting the engine, in order to improve the detection accuracy, the OBD vehicle-mounted monitoring terminal 10 must be activated within 60 seconds at most when the engine is started.
  • the communication module 103 and the positioning module 109 do not need to work and enter a low power consumption mode.
  • the MCU 102 can also detect the unplugging status and report the server alarm information.
  • the battery 105 supplies power to the OBD vehicle monitoring terminal 10.
  • activating the OBD vehicle monitoring terminal 10 is activation configuration information
  • the configuration information includes OBD communication protocol, whether to support high-speed CAN communication protocol, server communication address, OBD II Pin16 constant power supply support and other information.
  • the configuration is activated and the monitoring takes effect. If the OBD vehicle-mounted monitoring terminal 10 is not activated, the disconnection detection and monitoring program of the OBD module 101 is not run. Therefore, the vehicle that has not activated the OBD vehicle-mounted monitoring terminal 10 will not be affected by the operating state.
  • the disconnection detection process of the OBD module 101 is described below by using an example, and the model of the OBD device is OBD II.
  • the OBD II device first check whether the communication of the OBD II device is normal. If it is normal, it means that the OBD II device is connected normally; if the communication is abnormal, wake up the sleeping OBD II vehicle monitoring terminal and activate the configuration. At the same time, check again whether the communication is back to normal. If it is still abnormal, according to whether the car supports the high-speed CAN protocol, whether the car supports OBD II Pin16 normal power supply, the connection status of the CAN loop between the OBD II device and the car, and the car’s Information such as the location change performs detailed detection of the disconnection of the OBD II device. For the detailed process, refer to the foregoing embodiment.
  • the OBD II device when the car engine is turned off, the OBD II device is in the dormant state.
  • the configuration of the OBD II device needs to be activated first, because the OBD II device needs to be restored within 60 seconds of the engine start.
  • the OBD II device In order to improve the detection accuracy of the communication with the car, the OBD II device must be activated within 60 seconds at most when the car engine is started.
  • a voltage of 3 to 5V is applied to CAN_H, the voltage value is preset, and there is a corresponding output voltage at CAN_L.
  • other voltages can also be set according to the CAN loop.
  • the embodiment of the present invention provides an OBD vehicle-mounted monitoring terminal.
  • OBD vehicle-mounted monitoring terminal By detecting whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal; if it is abnormal, determine whether the vehicle supports the high-speed CAN communication protocol; if the vehicle supports the high-speed CAN communication protocol, detect the communication between the OBD module and the electronic control unit on the vehicle If the CAN circuit is not turned on, the OBD vehicle monitoring terminal sends a disconnection warning of the OBD module to the background management server to warn that the communication between the OBD module and the electronic control unit of the vehicle is disconnected.
  • the terminal improves the accuracy of OBD module disconnection detection and reduces the probability of false alarms when the OBD module is unplugged.
  • the OBD vehicle monitoring terminal can support multiple communication protocols and achieve full OBD functions; again, A low-power design is added to reduce the system power consumption; finally, the terminal is suitable for all kinds of cars, including all road mobile vehicles and most non-road construction machinery vehicles, with strong versatility.
  • FIG. 5 is a flowchart of a method for detecting disconnection of an OBD module according to an embodiment of the present invention.
  • the OBD module disconnection detection method can be applied to the OBD vehicle-mounted monitoring terminal described in any of the above embodiments.
  • the OBD vehicle-mounted monitoring terminal includes an MCU and an OBD module, and the OBD module is connected to the OBD interface on the vehicle to enable The OBD module communicates with an electronic control unit on the vehicle, and the method includes:
  • S201 The MCU detects whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal.
  • step S202 If yes, execute the following step S202. If not, the OBD module is in a normal connection state.
  • S202 The MCU determines whether the vehicle supports the high-speed CAN communication protocol.
  • S203 The MCU detects whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on.
  • step S204 If not, execute the following step S204; if yes, the OBD module is in a normal connection state.
  • S204 The MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  • the MCU detecting whether the CAN loop between the OBD module and the electronic control unit on the vehicle is conducted including:
  • the MCU outputs a high-level signal to control the first data line terminal in the CAN loop to input a first voltage
  • the MCU detects whether the second voltage of the second data line terminal in the CAN loop matches the first voltage
  • the first voltage is a randomly selected voltage in a preset voltage set.
  • the matching relationship between any one voltage in the preset voltage set and the voltage of the second data line terminal is determined when the OBD on-board monitoring terminal is connected to the vehicle for the first time, and is pre-stored in the OBD on-board monitoring In the terminal.
  • the method further includes:
  • the method further includes:
  • the MCU detects whether the OBD module supports normal power supply
  • the vehicle will be detected according to the position information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle have abnormal communication.
  • the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  • whether the OBD module supports the normal power supply is configured when the OBD vehicle-mounted monitoring terminal is installed, and the configuration result is pre-stored in the OBD vehicle-mounted monitoring terminal.
  • the detecting the connection state of the OBD module according to the position change information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle are abnormal in communication includes:
  • the MCU If the position of the vehicle has not changed, it is detected whether the time of abnormal communication between the OBD module and the electronic control unit is greater than or equal to the preset time, and if so, the MCU sends the OBD module to the background management server Disconnect early warning, and execute the OBD module disconnection detection and monitoring program again;
  • the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  • the embodiment of the present invention provides a method for detecting disconnection of an OBD module.
  • This method detects whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal; if it is abnormal, it is determined whether the vehicle supports the high-speed CAN communication protocol; if the vehicle supports the high-speed CAN communication protocol, the OBD module and the electronic control unit on the vehicle are detected Whether the CAN circuit between the two is turned on; if the CAN circuit is not turned on, the OBD vehicle monitoring terminal sends a disconnection warning of the OBD module to the background management server to warn that the communication between the OBD module and the electronic control unit of the vehicle is broken open.
  • this method improves the accuracy of OBD module disconnection detection and reduces the probability of false alarms of OBD module unplugging events; secondly, this method reduces system power consumption; finally, this method is suitable for all kinds of cars, including all roads Mobile vehicles and most non-road construction machinery vehicles have strong versatility.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

A disconnection detection method for an OBD module (101), an OBD vehicle-mounted monitoring terminal (10) and an OBD monitoring system. The method comprises that: a MCU (102) detects whether communication between the OBD module (101) and an electronic control unit on a vehicle is abnormal; if so, then the MCU (102) determines whether the vehicle supports a high-speed CAN communication protocol; if the vehicle supports the high-speed CAN communication protocol, then the MCU (102) detects whether a CAN circuit between the OBD module (101) and the electronic control unit on the vehicle is turned on; if not, the MCU (102) sends a disconnection warning of the OBD module (101) to a background management server (30) so as to warn that the communication between the OBD module (101) and the electronic control unit of the vehicle is disconnected. The method may more accurately detect whether the communication between the OBD module (101) and the electronic control unit of the vehicle is disconnected, and may prevent the non-malicious pulling out of the OBD vehicle-mounted monitoring terminal (10) from being mistakenly identified as a malicious pulling out situation, thus improving the accuracy of disconnection detection for the OBD module (101).

Description

OBD模块断开检测方法、OBD车载监控终端、OBD监控系统OBD module disconnection detection method, OBD vehicle monitoring terminal, OBD monitoring system
本申请要求于2020年3月12日提交中国专利局、申请号为202010171250.7、申请名称为“OBD模块断开检测方法、OBD车载监控终端、OBD监控系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of a Chinese patent application filed with the Chinese Patent Office on March 12, 2020, the application number is 202010171250.7, and the application name is "OBD module disconnection detection method, OBD vehicle monitoring terminal, OBD monitoring system", all of which The content is incorporated in this application by reference.
技术领域Technical field
本申请涉及车辆检测技术领域,尤其涉及一种OBD模块断开检测方法、OBD车载监控终端以及OBD监控系统。This application relates to the technical field of vehicle detection, and in particular to an OBD module disconnection detection method, an OBD vehicle-mounted monitoring terminal, and an OBD monitoring system.
背景技术Background technique
机动车排放是环境污染的主要来源之一,特别是柴油车的氮氧化物和颗粒物排放分别占据汽车总排放量的68.3%和77.8%。为加强对重型柴油车排放管控,国家环境保护部门要求对机动车排放进行远程监控,在每台机动车上强制安装车载诊断系统(On-Board Diagnostic,OBD),通过该系统定时向后台管理服务器上报排放监控数据,对不符合排放要求的车辆进行预警和告警,通知车主进行维修处理。为了防止终端不能有效上报数据,加装的OBD设备严禁恶意拔出。Motor vehicle emissions are one of the main sources of environmental pollution. In particular, nitrogen oxide and particulate matter emissions from diesel vehicles account for 68.3% and 77.8% of total vehicle emissions, respectively. In order to strengthen the emission control of heavy diesel vehicles, the national environmental protection department requires remote monitoring of motor vehicle emissions. On-Board Diagnostics (OBD) is mandatory to install on each motor vehicle, through which the system regularly manages the server in the background Report emission monitoring data, provide early warnings and warnings for vehicles that do not meet emission requirements, and notify vehicle owners for maintenance. In order to prevent the terminal from not being able to report data effectively, the installed OBD device is strictly prohibited to be unplugged maliciously.
目前,OBD接头的引脚一般是常电源,机动车蓄电池直接给该引脚供电。因此,通常是检测OBD接头的引脚是否有电压来判断OBD设备是否被拔出,如果OBD接头无电压,则认为OBD设备被拔出,如果OBD接头有电压,则认为OBD设备没有被拔出。At present, the pin of the OBD connector is generally a normal power supply, and the vehicle battery directly supplies power to this pin. Therefore, it is usually detected whether the OBD connector has voltage to determine whether the OBD device is unplugged. If the OBD connector has no voltage, the OBD device is considered to be unplugged, and if the OBD connector has voltage, it is considered that the OBD device is not unplugged. .
发明人在实现本发明实施例的过程中发现相关技术至少存在以下问题:如果断开通信线而不断开电源线,此种情况也可能是恶意拔出情况,然而会被算法认为不是恶意拔出。因此,现有技术在检测OBD设备是否被恶意拔出时存在准确率低的问题。In the process of implementing the embodiments of the present invention, the inventor found that the related technology has at least the following problems: if the communication line is disconnected without disconnecting the power cord, this situation may also be a malicious unplugging situation, but it will be considered by the algorithm as not malicious unplugging. . Therefore, the prior art has a problem of low accuracy when detecting whether the OBD device is maliciously pulled out.
发明内容Summary of the invention
本发明实施例旨在提供一种OBD模块断开检测方法、OBD车载监控终端以及OBD监控系统,用于提高检测OBD模块是否恶意拔出的准确率。The embodiments of the present invention aim to provide an OBD module disconnection detection method, an OBD vehicle monitoring terminal, and an OBD monitoring system, which are used to improve the accuracy of detecting whether the OBD module is maliciously pulled out.
为解决上述技术问题,本发明实施例提供以下技术方案:To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
在第一方面,本发明实施例提供了一种OBD模块断开检测方法,应用于OBD车载监控终端,所述OBD车载监控终端包括MCU和OBD模块,所述OBD模块与车辆上的OBD接口连接,以使所述OBD模块与所述车辆上的电子控制单元通信,所述方法包括:In the first aspect, the embodiment of the present invention provides an OBD module disconnection detection method, which is applied to an OBD vehicle monitoring terminal, the OBD vehicle monitoring terminal includes an MCU and an OBD module, and the OBD module is connected to the OBD interface on the vehicle , So that the OBD module communicates with an electronic control unit on the vehicle, the method includes:
所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元的通信是否异常;The MCU detects whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal;
若是,则所述MCU判断所述车辆是否支持高速CAN通信协议;If yes, the MCU determines whether the vehicle supports the high-speed CAN communication protocol;
若所述车辆支持所述高速CAN通信协议,则所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元之间的CAN回路是否导通;If the vehicle supports the high-speed CAN communication protocol, the MCU detects whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on;
若否,所述MCU向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If not, the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
可选地,所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元之间的CAN回路是否导通,包括:Optionally, the MCU detecting whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on, including:
所述MCU输出高电平信号,以控制所述CAN回路中的第一数据线端输入有第一电压;The MCU outputs a high-level signal to control the first data line terminal in the CAN loop to input a first voltage;
所述MCU检测所述CAN回路中的第二数据线端的第二电压是否与所述第一电压匹配;The MCU detects whether the second voltage of the second data line terminal in the CAN loop matches the first voltage;
若不匹配,则所述CAN回路不导通。If it does not match, the CAN loop is not conducting.
可选地,所述第一电压为预设电压集合中的随机选出的一个电压。Optionally, the first voltage is a randomly selected voltage in a preset voltage set.
可选地,所述预设电压集合中的任意一个电压与所述第二数据线端的电压的匹配关系是由所述OBD车载监控终端首次连接所述车辆时确定的,并预存在所述OBD车载监控终端中。Optionally, the matching relationship between any one voltage in the preset voltage set and the voltage of the second data line terminal is determined when the OBD vehicle monitoring terminal is connected to the vehicle for the first time, and the OBD is pre-stored In the vehicle monitoring terminal.
可选地,所述车辆是否支持高速CAN通信协议是在安装所述OBD车载监控终端时检测得到的,并将检测结果预存在所述OBD车载监控终端。Optionally, whether the vehicle supports the high-speed CAN communication protocol is detected when the OBD vehicle-mounted monitoring terminal is installed, and the detection result is pre-stored in the OBD vehicle-mounted monitoring terminal.
可选地,当检测到所述OBD模块与所述车辆上的所述电子控制单元的通信异常时,所述方法还包括:Optionally, when an abnormal communication between the OBD module and the electronic control unit on the vehicle is detected, the method further includes:
将处于休眠状态的所述OBD车载监控终端唤醒,并激活所述OBD车载监控终端的配置。Wake up the OBD vehicle-mounted monitoring terminal in the dormant state, and activate the configuration of the OBD vehicle-mounted monitoring terminal.
可选地,若所述车辆不支持所述高速CAN通信协议,所述方法还包括:Optionally, if the vehicle does not support the high-speed CAN communication protocol, the method further includes:
所述MCU检测所述OBD模块是否支持常电源;The MCU detects whether the OBD module supports normal power supply;
如果支持常电源并且为电源接通状态,或者不支持常电源,则根据所述车辆的位置信息,以及所述OBD模块与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块的连接状态;If the normal power supply is supported and the power is turned on, or the normal power supply is not supported, the vehicle will be detected according to the position information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle have abnormal communication. The connection status of the OBD module;
如果支持常电源并且为电源断开状态,则所述MCU向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If the normal power supply is supported and the power supply is disconnected, the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
可选地,所述OBD模块是否支持常电源是在安装所述OBD车载监控终端时进行配置的,并将配置结果预存在所述OBD车载监控终端。Optionally, whether the OBD module supports the normal power supply is configured when the OBD vehicle-mounted monitoring terminal is installed, and the configuration result is pre-stored in the OBD vehicle-mounted monitoring terminal.
可选地,所述根据所述车辆的位置变化信息,以及所述OBD模块与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块的连接状态,包括:Optionally, the detecting the connection state of the OBD module according to the position change information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle are abnormal in communication, includes:
获取所述车辆的位置信息;Acquiring location information of the vehicle;
判断在所述OBD模块与所述电子控制单元发生通信异常时所述车辆的位置是否发生过变化;Determine whether the position of the vehicle has changed when the OBD module and the electronic control unit have a communication abnormality;
如果所述车辆的位置未发生过变化,检测所述OBD模块与所述电子控制单元发生通信异常的时间是否大于或等于预设时间,若是,则所述MCU向后台管理服务器发送所述OBD模块的断开预警,并再次执行OBD模块断开检测监控程序;If the position of the vehicle has not changed, it is detected whether the time of abnormal communication between the OBD module and the electronic control unit is greater than or equal to the preset time, and if so, the MCU sends the OBD module to the background management server Disconnect early warning, and execute the OBD module disconnection detection and monitoring program again;
如果所述车辆的位置发生过变化,则所述MCU向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If the position of the vehicle has changed, the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
在第二方面,本发明实施例还提供了一种OBD车载监控终端,包括:MCU、OBD模块以及通信模块,所述OBD模块与车辆上的OBD接口连接,以使所述OBD模块与所述车辆上的电子控制单元通信;In a second aspect, an embodiment of the present invention also provides an OBD vehicle-mounted monitoring terminal, including: an MCU, an OBD module, and a communication module. The OBD module is connected to the OBD interface on the vehicle so that the OBD module and the Communication with the electronic control unit on the vehicle;
所述MCU用于:The MCU is used for:
检测所述OBD模块与所述车辆上的所述电子控制单元的通信是否异常;Detecting whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal;
若是,则判断所述车辆是否支持高速CAN通信协议;If yes, determine whether the vehicle supports the high-speed CAN communication protocol;
若所述车辆支持所述高速CAN通信协议,则检测所述OBD模块与所述车辆上的所述电子控制单元之间的CAN回路是否导通;If the vehicle supports the high-speed CAN communication protocol, detecting whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on;
若否,通过所述通信模块向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If not, send a disconnection warning of the OBD module to the background management server through the communication module to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
可选地,所述OBD模块包括OBD接头和OBD芯片,所述OBD芯片分别与所述OBD接头、所述MCU电连接,所述OBD接头与所述车辆上的OBD接口连接。Optionally, the OBD module includes an OBD connector and an OBD chip, the OBD chip is electrically connected to the OBD connector and the MCU, and the OBD connector is connected to an OBD interface on the vehicle.
可选地,当所述车辆支持所述高速CAN通信协议时,所述OBD模块与所述车辆上的OBD接口之间通过高速CAN总线连接,所述高速CAN总线构成一CAN回路;Optionally, when the vehicle supports the high-speed CAN communication protocol, the OBD module and the OBD interface on the vehicle are connected by a high-speed CAN bus, and the high-speed CAN bus forms a CAN loop;
所述MCU用于:The MCU is used for:
输出高电平信号,以控制所述CAN回路中的第一数据线端输入有第一电压;Output a high-level signal to control the first data line terminal in the CAN loop to input a first voltage;
检测所述CAN回路中的第二数据线端的第二电压是否与所述第一电压匹配,若不匹配,则所述CAN回路不导通。It is detected whether the second voltage of the second data line terminal in the CAN loop matches the first voltage, and if it does not match, the CAN loop does not conduct.
可选地,当检测到所述OBD模块与所述车辆上的所述电子控制单元的通信异常时,所述MCU还用于:Optionally, when an abnormal communication between the OBD module and the electronic control unit on the vehicle is detected, the MCU is further configured to:
将处于休眠状态的所述OBD车载监控终端唤醒,并激活所述OBD车载监控终端的配置。Wake up the OBD vehicle-mounted monitoring terminal in the dormant state, and activate the configuration of the OBD vehicle-mounted monitoring terminal.
可选地,所述OBD车载监控终端还包括与所述MCU电连接的定位模块;Optionally, the OBD vehicle-mounted monitoring terminal further includes a positioning module electrically connected to the MCU;
所述定位模块用于检测车辆的位置信息;The positioning module is used to detect the position information of the vehicle;
若所述车辆不支持所述高速CAN通信协议,所述MCU还用于:If the vehicle does not support the high-speed CAN communication protocol, the MCU is also used to:
检测所述OBD模块是否支持常电源;Detecting whether the OBD module supports normal power supply;
如果支持常电源并且为电源接通状态,或者不支持常电源,则根据所述车辆的位置信息,以及所述OBD模块与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块的连接状态;If the normal power supply is supported and the power is turned on, or the normal power supply is not supported, the vehicle will be detected according to the position information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle have abnormal communication. The connection status of the OBD module;
如果支持常电源并且为电源断开状态,则向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If the normal power supply is supported and the power supply is disconnected, a disconnection warning of the OBD module is sent to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
可选地,所述OBD车载监控终端还包括与所述MCU电连接的告警模块;Optionally, the OBD vehicle-mounted monitoring terminal further includes an alarm module electrically connected to the MCU;
所述告警模块,用于在所述OBD模块断开时,发出告警。The alarm module is used to send an alarm when the OBD module is disconnected.
可选地,所述OBD车载监控终端还包括电源管理模块、电池以及充电器,所述电源管理模块分别连接所述OBD模块、所述MCU、所述电池以及所述充电器,所述电池分别连接所述充电器和所述MCU。Optionally, the OBD vehicle monitoring terminal further includes a power management module, a battery, and a charger, the power management module is respectively connected to the OBD module, the MCU, the battery, and the charger, and the battery is respectively connected to the OBD module, the MCU, the battery and the charger. Connect the charger and the MCU.
在第三方面,本发明实施例还提供了一种OBD监控系统,应用于汽车,所述汽车上设有OBD接口,所述系统包括:如上所述的OBD车载监控终端,网络以及后台管理服务器;In the third aspect, the embodiments of the present invention also provide an OBD monitoring system, which is applied to a car, the car is provided with an OBD interface, and the system includes: the above-mentioned OBD vehicle monitoring terminal, a network, and a background management server ;
所述OBD车载监控终端通过所述OBD接口与所述汽车通信连接,并通过所述网络与所述后台管理服务器通信连接;The OBD vehicle-mounted monitoring terminal communicates with the car through the OBD interface, and communicates with the background management server through the network;
所述OBD车载监控终端,用于在所述汽车支持高速CAN通信协议时,检测所述OBD车载监控终端与所述汽车的电子控制单元之间的CAN回路是否导通,如果不导通,向所述后台管理服务器发送所述OBD车载监控终端的断开警告;The OBD vehicle-mounted monitoring terminal is used to detect whether the CAN circuit between the OBD vehicle-mounted monitoring terminal and the electronic control unit of the car is conductive when the car supports the high-speed CAN communication protocol. The background management server sends a disconnection warning of the OBD vehicle-mounted monitoring terminal;
所述后台管理服务器,用于接收所述断开警告,并响应所述断开警告。The background management server is configured to receive the disconnection warning and respond to the disconnection warning.
本发明的有益效果是:与现有技术相比较,本发明实施例提供了一种OBD模块断开检测方法、OBD车载监控终端以及OBD监控系统。通过检测OBD模块与车辆上的电子控制单元的通信是否异常;如果异常,则判断车辆是否支持高速CAN通信协议;如果车辆支持高速CAN通信协议,则检测OBD模块与车辆上的电子控制单元之间的CAN回路是否导通;如果该CAN回路未导通,所述OBD车载监控终端向后台管理服务器发送OBD模块的断开警告,以警告OBD模块与车辆的电子控制单元之间的通信断开。本发明实施例提供的OBD模块断开检测方法、OBD车载监控终端以及OBD监控系统可以更准确的检测OBD模块与车辆的电子控制单元之间的通信是否断开,能够避免将非恶意拔出OBD车载监控终端的情况错误识别为恶意拔出情况,提高了OBD模块断开检测的准确率。The beneficial effect of the present invention is that compared with the prior art, the embodiments of the present invention provide an OBD module disconnection detection method, an OBD vehicle-mounted monitoring terminal, and an OBD monitoring system. By detecting whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal; if it is abnormal, determine whether the vehicle supports the high-speed CAN communication protocol; if the vehicle supports the high-speed CAN communication protocol, detect the communication between the OBD module and the electronic control unit on the vehicle If the CAN circuit is not turned on, the OBD vehicle monitoring terminal sends a disconnection warning of the OBD module to the background management server to warn that the communication between the OBD module and the electronic control unit of the vehicle is disconnected. The OBD module disconnection detection method, the OBD vehicle monitoring terminal and the OBD monitoring system provided by the embodiments of the present invention can more accurately detect whether the communication between the OBD module and the electronic control unit of the vehicle is disconnected, and can prevent non-malicious pulling out of the OBD The situation of the vehicle monitoring terminal is incorrectly identified as a malicious pullout situation, which improves the accuracy of OBD module disconnection detection.
附图说明Description of the drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings. These exemplified descriptions do not constitute a limitation on the embodiments. The elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the attached drawings do not constitute a scale limitation.
图1是本发明实施例提供的一种OBD监控系统的结构示意图;Figure 1 is a schematic structural diagram of an OBD monitoring system provided by an embodiment of the present invention;
图2是本发明实施例提供的一种OBD车载监控终端的结构示意图;Figure 2 is a schematic structural diagram of an OBD vehicle-mounted monitoring terminal provided by an embodiment of the present invention;
图3a是本发明实施例提供的其中一种高速CAN协议对应的通信网络拓扑图;Figure 3a is a communication network topology diagram corresponding to one of the high-speed CAN protocols provided by an embodiment of the present invention;
图3b是本发明实施例提供的其中另一种高速CAN协议对应的通信网络拓扑图;Figure 3b is a communication network topology diagram corresponding to another high-speed CAN protocol provided by an embodiment of the present invention;
图4是本发明实施例提供的其中一种OBD模块断开检测方法的流程图;4 is a flowchart of one of the OBD module disconnection detection methods provided by the embodiment of the present invention;
图5是本发明实施例提供的其中另一种OBD模块断开检测方法的流程图。Fig. 5 is a flowchart of another OBD module disconnection detection method provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了便于理解本申请,下面结合附图和具体实施方式,对本申请进行更详细的说明。需要说明的是,当一个元件被表述“连接”另一个元件,它可以是直接连接到另一个元件、或者其间可以存在一个或多个居中的元件。此外,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。In order to facilitate the understanding of the application, the application will be described in more detail below with reference to the drawings and specific implementations. It should be noted that when an element is expressed as being "connected" to another element, it may be directly connected to the other element, or one or more intermediate elements may exist in between. In addition, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance.
除非另有定义,本说明书所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。在本发明的说明书中所使用的术语只是为了描述具体的实施方式的目的,不是用于限制本发明。本说明书所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terminology used in the specification of the present invention is only for the purpose of describing specific embodiments, and is not used to limit the present invention. The term "and/or" used in this specification includes any and all combinations of one or more related listed items.
此外,下面所描述的本申请不同实施例中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.
请参阅图1,图1是本发明实施例提供的一种OBD监控系统的结构示意图。如图1所示,该系统100包括OBD车载监控终端10、网络20以及后台管理服务器30。该系统可以应用于汽车,所述汽车上设有OBD接口,其中,所述OBD车载监控终端10通过所述OBD接口与所述汽车通信连接,其用于监控汽车的排放数据和OBD车载监控终端10的拔出事件,并且还通过所述网络20发送所述排放数据和所述拔出事件至所述后台管理服务器30。所述后台管理服务器30用于根据所述排放数据对所述汽车的排放进行相应地管控,对不符合排放要求的车辆进行预警和告警,通知车主进行维修整改等。此外,所述后台管理服务器30还用于对OBD车载监控终端10的拔出事件进行监控,及时掌握OBD车载监控终端10与汽车的连接情况。比如,所述OBD车载监控终端10用于在所述汽车支持高速CAN通信协议时,检测所述OBD车载监控终端10与所述汽车的电子控制单元之间的CAN回路是否导通,如果不导通,向所述后台管理服务器30发送所述OBD车载监控终端的断开警告;所述后台管理服务器30用于接收所述断开警告,并响应所述断开警告。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of an OBD monitoring system provided by an embodiment of the present invention. As shown in FIG. 1, the system 100 includes an OBD vehicle monitoring terminal 10, a network 20 and a background management server 30. The system can be applied to a car. The car is equipped with an OBD interface, wherein the OBD vehicle-mounted monitoring terminal 10 is connected to the vehicle through the OBD interface, and is used to monitor the emission data of the vehicle and the OBD vehicle-mounted monitoring terminal 10, and also send the emission data and the unplug event to the background management server 30 through the network 20. The background management server 30 is used for correspondingly controlling the emission of the automobile according to the emission data, giving early warnings and warnings to vehicles that do not meet the emission requirements, and notifying the owners of maintenance and rectification. In addition, the background management server 30 is also used to monitor the pull-out event of the OBD vehicle monitoring terminal 10, and grasp the connection between the OBD vehicle monitoring terminal 10 and the car in time. For example, the OBD vehicle monitoring terminal 10 is used to detect whether the CAN circuit between the OBD vehicle monitoring terminal 10 and the electronic control unit of the vehicle is conductive when the vehicle supports the high-speed CAN communication protocol. The background management server 30 sends the disconnection warning of the OBD vehicle monitoring terminal to the background management server 30; the background management server 30 is configured to receive the disconnection warning and respond to the disconnection warning.
其中,所述网络20可以是移动网络,其支持TCP/IP协议等。Wherein, the network 20 may be a mobile network, which supports TCP/IP protocol and the like.
在一些实施例中,所述系统100还可以包括卫星,所述OBD车载监控终端10可以与所述卫星进行通信,以对汽车进行定位。所述汽车的位置信息可以由所述OBD车载监控终端10通过网络20上传至后台管理服务器30。In some embodiments, the system 100 may further include a satellite, and the OBD vehicle monitoring terminal 10 may communicate with the satellite to locate the car. The location information of the car can be uploaded to the background management server 30 by the OBD vehicle monitoring terminal 10 via the network 20.
需要说明的是,虽然图1仅示出了一个OBD车载监控终端10,可以理解的是,还可以包括多个OBD车载监控终端10,每一OBD车载监控终端10分别对应一汽车,所述汽车的类型不做限制,每一OBD车载监控终端10都可以通过网络20与所述后台管理服务器30连接,从而所述后台管理服务器30可以对多辆汽车上的OBD车载监控终端10同时进行监控。It should be noted that although FIG. 1 only shows one OBD vehicle-mounted monitoring terminal 10, it can be understood that multiple OBD vehicle-mounted monitoring terminals 10 may also be included, and each OBD vehicle-mounted monitoring terminal 10 corresponds to a car. The type of OBD vehicle monitoring terminal 10 is not limited, and each OBD vehicle monitoring terminal 10 can be connected to the background management server 30 through the network 20, so that the background management server 30 can simultaneously monitor the OBD vehicle monitoring terminal 10 on multiple vehicles.
本发明实施例提供了一种OBD监控系统,通过OBD车载监控终端10对其 拔出事件进行监控,并上报监控数据至后台管理服务器30,该系统提高了检测OBD车载监控终端10拔出事件的准确率。未在本实施例中详尽描述的技术细节,可参见下述设备实施例。The embodiment of the present invention provides an OBD monitoring system, which monitors the pull-out event of the OBD vehicle-mounted monitoring terminal 10, and reports the monitoring data to the background management server 30. The system improves the detection of the pull-out event of the OBD vehicle-mounted monitoring terminal 10 Accuracy. For technical details that are not described in detail in this embodiment, please refer to the following device embodiment.
请参阅图2,为本发明实施例的其中一种OBD车载监控终端的结构示意图。所述OBD车载监控终端10包括:OBD模块101、MCU102以及通信模块103,所述MCU 102分别与OBD模块101、所述通信模块103电连接。其中,所述OBD模块101包括OBD接头1011和OBD芯片1012,所述OBD芯片1012分别与所述OBD接头1011、所述MCU电连接。Please refer to FIG. 2, which is a schematic structural diagram of one of the OBD vehicle-mounted monitoring terminals according to an embodiment of the present invention. The OBD vehicle monitoring terminal 10 includes: an OBD module 101, an MCU 102, and a communication module 103, and the MCU 102 is electrically connected to the OBD module 101 and the communication module 103, respectively. The OBD module 101 includes an OBD connector 1011 and an OBD chip 1012, and the OBD chip 1012 is electrically connected to the OBD connector 1011 and the MCU, respectively.
所述OBD模块101与汽车上的OBD接口连接,从而使所述OBD模块101与汽车的电子控制单元(Electronic Control Unit,ECU)通信。具体的,所述OBD模块101通过所述OBD接头1011与汽车的OBD接口连接,通过所述OBD芯片建立汽车与OBD车载监控终端10的通信连接。The OBD module 101 is connected to an OBD interface on the automobile, so that the OBD module 101 communicates with an electronic control unit (ECU) of the automobile. Specifically, the OBD module 101 is connected to the OBD interface of the car through the OBD connector 1011, and a communication connection between the car and the OBD vehicle monitoring terminal 10 is established through the OBD chip.
其中,所述OBD接头1011通常包括16个引脚,16个引脚所表示的含义可以参考现有技术,比如,Pin4表示底盘地,Pin5表示信号地,Pin16表示常电源,在大部分机动车上,Pin16可以直接连接蓄电池。其他引脚要么是通信线,要么是预留引脚,比如,Pin1,Pin3,Pin8,Pin9,Pin11,Pin12和Pin13未作分配,可以由车辆制造厂定义。Pin2,Pin6,Pin7,Pin10,Pin14和Pin15可使用作诊断通讯,比如高速CAN通信协议常用Pin6和Pin14通信,KWP2000线协议常用Pin7和Pin15通信。可选地,所述OBD接头101还可以是包含9个引脚的圆孔接头,每个引脚对应的含义根据实际应用作出调整。Wherein, the OBD connector 1011 usually includes 16 pins. The meaning of the 16 pins can refer to the prior art. For example, Pin4 represents the chassis ground, Pin5 represents the signal ground, and Pin16 represents the normal power supply. Above, Pin16 can be directly connected to the battery. Other pins are either communication lines or reserved pins. For example, Pin1, Pin3, Pin8, Pin9, Pin11, Pin12 and Pin13 are not allocated and can be defined by the vehicle manufacturer. Pin2, Pin6, Pin7, Pin10, Pin14 and Pin15 can be used for diagnostic communication, such as high-speed CAN communication protocol commonly used Pin6 and Pin14 communication, KWP2000 line protocol commonly used Pin7 and Pin15 communication. Optionally, the OBD connector 101 may also be a round hole connector containing 9 pins, and the corresponding meaning of each pin is adjusted according to actual applications.
所述OBD芯片1012支持CAN、PWP2000、SAE J1850(PWM)、SAE J1850(VPW)、ISO 15765-4、ISO9141-2、ISO 14230-4等通信协议。所述OBD芯片1012可以自动扫描和识别通信协议,选择连接不同的通信线路,并进行信号转换。比如,OBD芯片1012可以通过串口、SPI或CAN等通信协议与所述MCU 102进行数据通信。The OBD chip 1012 supports CAN, PWP2000, SAE J1850 (PWM), SAE J1850 (VPW), ISO 15765-4, ISO9141-2, ISO 14230-4 and other communication protocols. The OBD chip 1012 can automatically scan and identify the communication protocol, select and connect different communication lines, and perform signal conversion. For example, the OBD chip 1012 can perform data communication with the MCU 102 through a communication protocol such as a serial port, SPI, or CAN.
所述MCU 102作为所述OBD车载监控终端10的控制核心,用于基于通信协议与其他模块进行数据通信,根据获取到的数据进行处理,以执行相应的功能。所述MCU 102可设置USB接口,其用于连接USB设备。所述MCU 102还可设置串行外设接口SPI,其可以用于连接其他芯片,比如加密芯片等。The MCU 102 serves as the control core of the OBD on-board monitoring terminal 10, and is used for data communication with other modules based on a communication protocol, and processing according to the acquired data to perform corresponding functions. The MCU 102 may be provided with a USB interface, which is used to connect a USB device. The MCU 102 can also be provided with a serial peripheral interface SPI, which can be used to connect to other chips, such as encryption chips.
所述通信模块103可以基于通用异步收发传输器(Universal Asynchronous Receiver/Transmitter,UART)与所述MCU102进行数据通信。所述通信模块103支持2G、3G、4G、5G移动网络数据通信,支持辅助全球卫星定位系统(Assisted Global Positioning System,AGPS)辅助定位。The communication module 103 may perform data communication with the MCU 102 based on a Universal Asynchronous Receiver/Transmitter (UART). The communication module 103 supports 2G, 3G, 4G, and 5G mobile network data communication, and supports assisted global positioning system (Assisted Global Positioning System, AGPS) assisted positioning.
其中,所述OBD车载监控终端10可以是II型车载诊断系统(On-Board Diagnostic II,OBD II),所述OBD接头1011的类型为OBD II。Wherein, the OBD on-board monitoring terminal 10 may be a type II on-board diagnostic system (On-Board Diagnostic II, OBD II), and the type of the OBD connector 1011 is OBD II.
所述OBD车载监控终端10主要用于对汽车的排放物进行监控,并定时向后台管理服务器30上报排放监控数据,以使后台管理服务器30能够对不符合要求的车辆进行预警和告警,通知车主进行维修处理。因此,通常严禁OBD 车载监控终端10被恶意拔出汽车。为了防止OBD车载监控终端10不能有效的上报监控数据,对拔出事件进行检测具有重要意义。The OBD vehicle-mounted monitoring terminal 10 is mainly used to monitor vehicle emissions, and regularly report emission monitoring data to the back-end management server 30, so that the back-end management server 30 can give early warnings and warnings to vehicles that do not meet the requirements, and notify the owner of the vehicle. Carry out repair processing. Therefore, it is generally prohibited that the OBD vehicle monitoring terminal 10 is maliciously pulled out of the car. In order to prevent the OBD vehicle-mounted monitoring terminal 10 from not being able to effectively report monitoring data, it is of great significance to detect the pull-out event.
所述OBD车载监控终端10通过所述OBD接头1011插入汽车的OBD接口,从而与所述汽车连接。因此,对所述OBD车载监控终端10的拔出事件进行检测,也即是检测OBD接头1011是否被恶意拔出。在本实施例中,为了提高拔出检测的准确率,综合分析OBD车载监控终端10的通信链路状态、检测通信环路的闭合性、OBD接头1011的电源状态和汽车运行状态等因素。The OBD vehicle-mounted monitoring terminal 10 is plugged into the OBD interface of the car through the OBD connector 1011 to connect to the car. Therefore, detecting the unplugging event of the OBD vehicle-mounted monitoring terminal 10 is to detect whether the OBD connector 1011 is maliciously unplugged. In this embodiment, in order to improve the accuracy of unplugging detection, factors such as the communication link status of the OBD vehicle monitoring terminal 10, the closedness of the detection communication loop, the power status of the OBD connector 1011, and the vehicle operating status are comprehensively analyzed.
具体地,所述MCU 102,用于检测所述OBD模块101与所述汽车上的电子控制单元的通信是否异常;若是异常,则判断汽车是否支持高速CAN通信协议;若汽车支持高速CAN通信协议,则检测所述OBD模块101与所述汽车的电子控制单元之间的CAN回路是否导通;若不导通,则向后台管理服务器30发送所述OBD模块的断开警告,以警告所述OBD模块与汽车的电子控制单元通信断开。Specifically, the MCU 102 is used to detect whether the communication between the OBD module 101 and the electronic control unit on the car is abnormal; if it is abnormal, determine whether the car supports the high-speed CAN communication protocol; if the car supports the high-speed CAN communication protocol , Detect whether the CAN circuit between the OBD module 101 and the electronic control unit of the automobile is conductive; if not, send a disconnection warning of the OBD module to the background management server 30 to warn the The communication between the OBD module and the electronic control unit of the car is disconnected.
其中,当OBD接头1011拔出或者汽车电源关闭时,所述OBD车载监控终端10与汽车的通信链路就会断开,比如,OBD车载监控终端10与ECU之间的通信终止。因此,可以通过ECU向所述OBD车载监控终端10发送数据信号,如果所述ECU不能接收到所述OBD车载监控终端10返回的反馈信号,则可以确定所述OBD模块101与所述汽车上的电子控制单元的通信异常。当然,还可以通过其他方法检测所述OBD模块101与所述汽车上的电子控制单元的通信是否异常。Wherein, when the OBD connector 1011 is unplugged or the vehicle power is turned off, the communication link between the OBD vehicle monitoring terminal 10 and the vehicle will be disconnected, for example, the communication between the OBD vehicle monitoring terminal 10 and the ECU is terminated. Therefore, data signals can be sent to the OBD vehicle monitoring terminal 10 through the ECU. If the ECU cannot receive the feedback signal returned by the OBD vehicle monitoring terminal 10, it can be determined that the OBD module 101 is connected to the vehicle. The communication of the electronic control unit is abnormal. Of course, other methods can also be used to detect whether the communication between the OBD module 101 and the electronic control unit on the automobile is abnormal.
其中,所述车辆是否支持高速CAN通信协议可以是在安装所述OBD车载监控终端10时检测得到的,并将检测结果预存在所述OBD车载监控终端10中。Wherein, whether the vehicle supports the high-speed CAN communication protocol may be detected when the OBD vehicle-mounted monitoring terminal 10 is installed, and the detection result is pre-stored in the OBD vehicle-mounted monitoring terminal 10.
通常大部分汽车使用高速CAN通信协议与汽车的ECU通信,通信网络的拓扑结构可以参考图3a和图3b。在图3a中,高速CAN总线是一个回环回路,所有的设备都可以通过CAN_H和CAN_L接入,该回环回路支持多主机结构,接入CAN总线的所有设备都可以以广播的方式发送信息,接入的设备可以根据需要选择接收的信息。其中,所述OBD车载监控终端10可以通过CAN_H和CAN_L接入高速CAN总线,所述OBD车载监控终端10具体可以通过OBD接头1011上的引脚Pin6和Pin14接入高速CAN总线。所述汽车的ECU也可以通过CAN_H和CAN_L接入高速CAN总线,所述汽车的ECU具体可以通过与其连接的OBD接口的引脚Pin6和Pin14接入高速CAN总线。其中,图3a中的所述电阻具体可以是120欧姆等,当电阻为120欧姆时,可以使CAN回路联接良好,避免导电回路某一连接处接触不良。所述CAN_H是高速CAN总线的高电平端,所述CAN_L是高速CAN总线的低电平端。Usually most cars use the high-speed CAN communication protocol to communicate with the car's ECU. The topological structure of the communication network can refer to Figure 3a and Figure 3b. In Figure 3a, the high-speed CAN bus is a loopback loop. All devices can be accessed through CAN_H and CAN_L. The loopback loop supports a multi-host structure. All devices connected to the CAN bus can send information by broadcasting. The incoming device can choose the information it receives according to its needs. The OBD vehicle monitoring terminal 10 can be connected to the high-speed CAN bus through CAN_H and CAN_L, and the OBD vehicle monitoring terminal 10 can be connected to the high-speed CAN bus through pins Pin6 and Pin14 on the OBD connector 1011. The ECU of the car can also be connected to the high-speed CAN bus through CAN_H and CAN_L, and the ECU of the car can be connected to the high-speed CAN bus through pins Pin6 and Pin14 of the OBD interface connected to it. Wherein, the resistance in FIG. 3a may specifically be 120 ohms, etc., when the resistance is 120 ohms, the CAN loop can be well connected, and poor contact at a certain connection of the conductive loop can be avoided. The CAN_H is the high-level end of the high-speed CAN bus, and the CAN_L is the low-level end of the high-speed CAN bus.
如图3a所示,由于高速CAN网络拓扑是一个封闭的回路,在OBD设备CAN_H端加上一个电压,在OBD设备CAN_L端能够检测到另一个对应的电压。如果OBD接头1011拔出,则CAN_H与CAN_L的回路断开,加到CAN_H端的电压不能反馈到CAN_L端。As shown in Figure 3a, because the high-speed CAN network topology is a closed loop, a voltage is added to the CAN_H terminal of the OBD device, and another corresponding voltage can be detected at the CAN_L terminal of the OBD device. If the OBD connector 1011 is unplugged, the circuit of CAN_H and CAN_L is disconnected, and the voltage applied to the CAN_H terminal cannot be fed back to the CAN_L terminal.
可以根据上述原理检测汽车是否支持高速CAN通信协议,而对于支持高速 CAN通信的汽车,还可以根据上述原理检测OBD接头1011是否拔出。It is possible to detect whether the car supports the high-speed CAN communication protocol according to the above-mentioned principle, and for the car that supports high-speed CAN communication, it can also detect whether the OBD connector 1011 is unplugged according to the above-mentioned principle.
所述MCU 102用于检测所述OBD模块101与所述汽车上的所述电子控制单元之间的CAN回路是否导通包括:所述MCU 102输出高电平信号,以控制所述CAN回路中的第一数据线端输入有第一电压;所述MCU 102检测所述CAN回路中的第二数据线端的第二电压是否与所述第一电压匹配;若不匹配,则所述CAN回路不导通。The MCU 102 is used to detect whether the CAN loop between the OBD module 101 and the electronic control unit on the automobile is turned on, including: the MCU 102 outputs a high-level signal to control the CAN loop A first voltage is input to the first data line terminal; the MCU 102 detects whether the second voltage at the second data line terminal in the CAN loop matches the first voltage; if it does not match, the CAN loop does not match Conduction.
其中,MCU 102输出的高电平信号用于控制电源向所述CAN回路的第一数据线端输入第一电压。所述第一电压为预设电压集合中的随机选出的一个电压。所述预设电压集合中的任意一个电压与所述第二数据线端的电压的匹配关系是由所述OBD车载监控终端首次连接所述车辆时确定的,并预存在所述OBD车载监控终端中。比如在OBD车载监控终端首次安装于一个车辆时,或在其他情形下,MCU 102控制电源在图3a中的CAN_H处分别输入5V、4.2V、3.7V、3.3V、3V的电压,在OBD接头1011插入汽车后检测CAN_L处分别输出的电压,输出的各电压与上述输入的电压一一对应,并将CAN_H输入的电压与CAN_L输出的电压对应保存在数据库中。The high-level signal output by the MCU 102 is used to control the power supply to input the first voltage to the first data line end of the CAN loop. The first voltage is a randomly selected voltage in a preset voltage set. The matching relationship between any one of the preset voltage sets and the voltage of the second data line terminal is determined when the OBD vehicle-mounted monitoring terminal is connected to the vehicle for the first time, and is pre-stored in the OBD vehicle-mounted monitoring terminal . For example, when the OBD vehicle monitoring terminal is installed in a vehicle for the first time, or in other situations, the MCU 102 controls the power supply to input voltages of 5V, 4.2V, 3.7V, 3.3V, and 3V at CAN_H in Figure 3a. 1011 is inserted into the car to detect the voltages respectively output at CAN_L, each output voltage corresponds to the above-mentioned input voltage one-to-one, and the voltage input by CAN_H and the voltage output by CAN_L are correspondingly saved in the database.
所述第一数据线端可以是CAN_H,那么所述第二数据线端为CAN_L;所述第一数据线端还可以是CAN_L,那么所述第二数据线端为CAN_H。The first data line end may be CAN_H, then the second data line end is CAN_L; the first data line end may also be CAN_L, then the second data line end is CAN_H.
比如,如图3b所示,默认情况下,MCU 102控制GPIO输出低电平信号,此时S0接入到OBD II的CAN_H(即CAN_H连通CAN_H1),S1接入到OBD II的CAN_L(即CAN_L连通CAN_L1),此时信号在OBD II和CAN回路之间正常传输。当需要检测所述OBD模块101与所述汽车上的所述电子控制单元之间的CAN回路是否导通时,MCU 102控制GPIO输出高电平信号,并且控制电源VCC提供输入电压(比如3V~5V),此时S0接入到VCC(即VCC连通CAN_H1),S1接入到ADC(即ADC连通CAN_L1),于是MCU和CAN回路构成新的回路,由于在S0连接的VCC端加入了输入电压,因此可以通过ADC检测S1接入的电压来判断CAN回路是否正常,如果S1接入的电压与S0加入的电压匹配,则CAN回路导通,否则不导通。其中,所述S0和S1为选路开关,S0和S1之间是导通的,可以通过控制GPIO输出的电平信号来控制S0在CAN_H与VCC之间二选一,控制S1在CAN_L与ADC之间二选一,从而控制CAN_H1和CAN_L1连接到对应的网络上去。For example, as shown in Figure 3b, by default, MCU 102 controls GPIO to output low-level signals. At this time, S0 is connected to CAN_H of OBD II (that is, CAN_H is connected to CAN_H1), and S1 is connected to CAN_L of OBD II (that is, CAN_L). Connect CAN_L1), at this time the signal is normally transmitted between OBD II and CAN loop. When it is necessary to detect whether the CAN loop between the OBD module 101 and the electronic control unit on the car is turned on, the MCU 102 controls the GPIO to output a high-level signal, and the control power supply VCC provides an input voltage (such as 3V~ 5V), at this time S0 is connected to VCC (that is, VCC is connected to CAN_H1), and S1 is connected to ADC (that is, ADC is connected to CAN_L1), so the MCU and CAN loop form a new loop, because the input voltage is added to the VCC terminal connected to S0 Therefore, the ADC can detect the voltage connected to S1 to determine whether the CAN circuit is normal. If the voltage connected to S1 matches the voltage added to S0, the CAN circuit is turned on, otherwise it is not turned on. Among them, the S0 and S1 are routing switches, and the connection between S0 and S1 can be controlled by controlling the level signal output by GPIO to control S0 to choose one between CAN_H and VCC, and control S1 to be between CAN_L and ADC Choose one of the two to control CAN_H1 and CAN_L1 to connect to the corresponding network.
本发明实施例是在汽车支持高速CAN通信协议时,通过检测CAN回路的连通状态来检测OBD接头1011是否被拔掉,而不是简单的认为通信链路断开了就触发了拔出事件,由此,提高了OBD模块101断开检测的准确率。The embodiment of the present invention detects whether the OBD connector 1011 is unplugged by detecting the connection state of the CAN loop when the car supports the high-speed CAN communication protocol, instead of simply thinking that the unplugging event is triggered when the communication link is disconnected. Therefore, the accuracy of disconnection detection of the OBD module 101 is improved.
在一些实施例中,同样请参阅图2,所述OBD II车载监控终端10还包括电源管理模块104、电池105、充电器106以及电量计107,所述电源管理模块104分别连接所述OBD接头1011、所述OBD芯片1012、所述MCU 102、所述电池105以及充电器106,所述OBD接头1011通过所述充电器106连接所述电池105。所述OBD车载监控终端10可以通过所述OBD接头101的Pin16 供电,也可以通过电池105供电,并且该Pin16还可以给电池105充电。所述电量计107用于对电池105的电量进行统计,并将统计结果上报给MCU 102。In some embodiments, referring to FIG. 2 as well, the OBD II vehicle monitoring terminal 10 further includes a power management module 104, a battery 105, a charger 106, and a fuel gauge 107. The power management module 104 is connected to the OBD connector. 1011. The OBD chip 1012, the MCU 102, the battery 105, and the charger 106, and the OBD connector 1011 is connected to the battery 105 through the charger 106. The OBD vehicle-mounted monitoring terminal 10 can be powered by the Pin 16 of the OBD connector 101, or can be powered by the battery 105, and the Pin 16 can also charge the battery 105. The fuel gauge 107 is used to count the power of the battery 105 and report the statistics result to the MCU 102.
在一些实施例中,同样请参阅图2,所述OBD车载监控终端10还包括告警模块108,所述告警模块108通过GPIO接口与所述MCU 102电连接。其中,如果检测所述CAN回路断开,则可以发出OBD接头1011连接断开告警信号。所述告警信号用于提示OBD车载监控终端10被恶意拔出。所述OBD芯片1012可以将所述告警信号发送给MCU 102,MCU 102通过所述通信模块103向后台管理服务器30发送所述告警信号。所述MCU 102也可以控制所述告警模块108进行告警,所述告警模块108可以是指示灯、喇叭等,在告警时,可以发出预设的声音和/或光信号。In some embodiments, referring to FIG. 2 as well, the OBD vehicle monitoring terminal 10 further includes an alarm module 108, and the alarm module 108 is electrically connected to the MCU 102 through a GPIO interface. Wherein, if it is detected that the CAN loop is disconnected, an OBD connector 1011 disconnection alarm signal can be issued. The alarm signal is used to prompt the OBD vehicle-mounted monitoring terminal 10 to be maliciously pulled out. The OBD chip 1012 may send the alarm signal to the MCU 102, and the MCU 102 sends the alarm signal to the background management server 30 through the communication module 103. The MCU 102 may also control the alarm module 108 to perform an alarm. The alarm module 108 may be an indicator light, a horn, etc., and may emit a preset sound and/or light signal when an alarm occurs.
在一些实施例中,一些汽车并不支持高速CAN协议,而且所述通信链路也是断开状态,此时,可以根据OBD接头1011的电源状态以及汽车的运动状态等因素来检测OBD接头1011是否被拔掉。具体地,同样请参阅图2,所述OBD车载监控终端10还包括定位模块109,所述定位模块109与所述MCU 102电连接。所述定位模块109用于检测汽车的实时位置信息。所述定位模块109可以接收GPS(全球卫星定位系统)、BD(北斗卫星定位系统)、GLONASS(格洛纳斯卫星定位系统)、Galileo(伽利略卫星定位系统)的信号。In some embodiments, some cars do not support the high-speed CAN protocol, and the communication link is also disconnected. At this time, whether the OBD connector 1011 can be detected according to factors such as the power state of the OBD connector 1011 and the motion state of the car Was unplugged. Specifically, referring to FIG. 2 as well, the OBD vehicle-mounted monitoring terminal 10 further includes a positioning module 109, and the positioning module 109 is electrically connected to the MCU 102. The positioning module 109 is used to detect real-time position information of the car. The positioning module 109 can receive signals from GPS (Global Positioning System), BD (Beidou Satellite Positioning System), GLONASS (Galileo Satellite Positioning System), and Galileo (Galileo Satellite Positioning System).
若所述车辆不支持所述高速CAN通信协议,所述MCU 102还用于:检测所述OBD模块101是否支持常电源;如果支持常电源并且为电源接通状态,或者不支持常电源,则根据所述车辆的位置信息,以及所述OBD模块101与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块101的连接状态;如果支持常电源并且为电源断开状态,则向后台管理服务器发30送所述OBD模块101的断开警告,以警告所述OBD模块101与所述车辆的所述电子控制单元通信断开。If the vehicle does not support the high-speed CAN communication protocol, the MCU 102 is also used to detect whether the OBD module 101 supports the normal power supply; if it supports the normal power supply and is in the power-on state, or does not support the normal power supply, then Detect the connection state of the OBD module 101 according to the position information of the vehicle and the time when the OBD module 101 and the electronic control unit on the vehicle have a communication abnormality; if the normal power supply is supported and the power supply is disconnected , A disconnection warning of the OBD module 101 is sent 30 to the background management server to warn that the OBD module 101 is disconnected from the electronic control unit of the vehicle.
其中,OBD接头1011的16引脚,即Pin16通常为常电源,汽车的蓄电池可以直接给该Pin16供电。Among them, the 16 pins of the OBD connector 1011, that is, Pin16 is usually a normal power supply, and the battery of the car can directly supply power to the Pin16.
其中,所述OBD模块101是否支持常电源是在安装所述OBD车载监控终端10时进行配置的,并将配置结果预存在所述OBD车载监控终端10。Wherein, whether the OBD module 101 supports the normal power supply is configured when the OBD vehicle-mounted monitoring terminal 10 is installed, and the configuration result is pre-stored in the OBD vehicle-mounted monitoring terminal 10.
其中,所述根据所述车辆的位置变化信息,以及所述OBD模块101与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块101的连接状态,包括:获取所述车辆的位置信息;判断在所述OBD模块101与所述电子控制单元发生通信异常时所述车辆的位置是否发生过变化;如果所述车辆的位置未发生过变化,检测所述OBD模块101与所述电子控制单元发生通信异常的时间是否大于或等于预设时间,若是,则所述MCU 102向后台管理服务器发送所述OBD模块101的断开预警,并再次执行OBD模块101断开检测监控程序;如果所述车辆的位置发生过变化,则所述MCU 102向后台管理服务器发送所述OBD模块101的断开警告,以警告所述OBD模块101与所述车辆的所述电子控制单元通信断开。Wherein, the detecting the connection state of the OBD module 101 according to the position change information of the vehicle and the time when the OBD module 101 and the electronic control unit on the vehicle are abnormally communicated includes: acquiring the Location information of the vehicle; determine whether the location of the vehicle has changed when the OBD module 101 and the electronic control unit communicate abnormally; if the location of the vehicle has not changed, detect that the OBD module 101 and Whether the communication abnormality of the electronic control unit is greater than or equal to the preset time, if yes, the MCU 102 sends the disconnection warning of the OBD module 101 to the background management server, and executes the OBD module 101 disconnection detection and monitoring again Program; if the location of the vehicle has changed, the MCU 102 sends a disconnection warning of the OBD module 101 to the background management server to warn the OBD module 101 to communicate with the electronic control unit of the vehicle disconnect.
可以理解的是,如果汽车为泊车状态,发动机不工作,此时汽车没有尾气排放,这种状态不需要对其排放进行监控,而如果汽车处于运动状态,发动机持续工作,那么OBD车载监控终端10就必须启动。在本实施例中,所述OBD车载监控终端10具有卫星定位功能,可以根据上述定位模块109检测汽车的实时位置信息。如果汽车处于运动状态,并且通信链路断开,则OBD接头1011肯定处于拔出状态;如果汽车处于静止状态,并且通信链路断开,虽然不能断定OBD接头1011一定是拔出状态,但该状态不符合机动车常规业务规律,因此,此时需要向后台进行预警。It is understandable that if the car is parked and the engine is not working, the car has no exhaust emissions at this time. This state does not need to monitor its emissions, and if the car is in motion and the engine continues to work, then the OBD vehicle monitoring terminal 10 must be started. In this embodiment, the OBD vehicle-mounted monitoring terminal 10 has a satellite positioning function, and can detect the real-time position information of the car according to the positioning module 109 described above. If the car is in motion and the communication link is disconnected, the OBD connector 1011 is definitely in the unplugged state; if the car is stationary and the communication link is disconnected, although it cannot be concluded that the OBD connector 1011 must be in the unplugged state. The status does not conform to the regular business rules of motor vehicles, therefore, at this time, it is necessary to give an early warning to the background.
其中,所述预设时间可以自定义设置,比如24小时、12小时等。所述断开预警用于提醒后台管理服务器当前可能会发生拔出事件。在执行预警操作后,可以继续重复上述实施例的检测方法,对OBD模块101进行断开检测。而如果汽车位置未发生变化,并且在通信链路断开时,其位置未发生改变的时间小于预设时间,则可以再次执行OBD模块101断开检测监控程序。其中,是在汽车位置未改变的时间大于或等于预设时间,并且该时间内所述OBD模块101与所述电子控制单元一直通信异常时才向后台管理服务器30发出断开预警,由于此种情况不符合机动车常规业务规律,为了避免可能是拔出事件造成此种情况,因此有必要向后台管理服务器30进行预警,以提高设备安全性。Wherein, the preset time can be self-defined setting, such as 24 hours, 12 hours, etc. The disconnection warning is used to remind the background management server that a disconnection event may currently occur. After the early warning operation is performed, the detection method of the foregoing embodiment can be repeated continuously to perform disconnection detection on the OBD module 101. If the position of the car has not changed, and the time for which the position has not changed when the communication link is disconnected is less than the preset time, the OBD module 101 disconnection detection monitoring program can be executed again. Wherein, the disconnection warning is issued to the background management server 30 when the time when the position of the car has not changed is greater than or equal to the preset time, and the OBD module 101 and the electronic control unit have been communicating abnormally during this time. The situation does not conform to the regular business laws of motor vehicles. In order to avoid this situation that may be caused by the unplugging event, it is necessary to give an early warning to the background management server 30 to improve the safety of the equipment.
在一些实施例中,当检测到所述OBD模块与所述车辆上的所述电子控制单元的通信异常时,所述MCU 102还用于:将处于休眠状态的所述OBD车载监控终端10唤醒,并激活所述OBD车载监控终端10的配置。In some embodiments, when an abnormal communication between the OBD module and the electronic control unit on the vehicle is detected, the MCU 102 is also used to wake up the OBD vehicle-mounted monitoring terminal 10 in a sleep state , And activate the configuration of the OBD vehicle monitoring terminal 10.
可以理解的是,为了降低能耗,在汽车发动机关闭时,可以使所述OBD车载监控终端10为休眠状态。因为通常发动机启动60秒内OBD车载监控终端10需要恢复与ECU的通信,为了提高检测准确率,在发动机启动时,所以OBD车载监控终端10要在至多60秒内激活。It can be understood that, in order to reduce energy consumption, the OBD vehicle-mounted monitoring terminal 10 can be put into a sleep state when the car engine is turned off. Because the OBD vehicle-mounted monitoring terminal 10 usually needs to resume communication with the ECU within 60 seconds of starting the engine, in order to improve the detection accuracy, the OBD vehicle-mounted monitoring terminal 10 must be activated within 60 seconds at most when the engine is started.
其中,在所述OBD车载监控终端10的休眠期间,通信模块103和定位模块109勿需工作,进入低功耗模式。当OBD接头1011拔出后,MCU 102还能检测拔出状态和上报服务器告警信息,当OBD接头1011拔出后,由电池105给OBD车载监控终10供电。Wherein, during the sleep period of the OBD vehicle monitoring terminal 10, the communication module 103 and the positioning module 109 do not need to work and enter a low power consumption mode. After the OBD connector 1011 is unplugged, the MCU 102 can also detect the unplugging status and report the server alarm information. When the OBD connector 1011 is unplugged, the battery 105 supplies power to the OBD vehicle monitoring terminal 10.
其中,激活所述OBD车载监控终端10,也即是激活配置信息,所述配置信息包括OBD通信协议、是否支持高速CAN通信协议、服务器通信地址、OBD II Pin16常电源支持等信息。配置完成后,配置激活,监控生效。如果不激活OBD车载监控终端10,则不运行OBD模块101的断开检测监控程序,所以对于没有激活OBD车载监控终端10的车辆,不受运行状态影响。Wherein, activating the OBD vehicle monitoring terminal 10 is activation configuration information, and the configuration information includes OBD communication protocol, whether to support high-speed CAN communication protocol, server communication address, OBD II Pin16 constant power supply support and other information. After the configuration is completed, the configuration is activated and the monitoring takes effect. If the OBD vehicle-mounted monitoring terminal 10 is not activated, the disconnection detection and monitoring program of the OBD module 101 is not run. Therefore, the vehicle that has not activated the OBD vehicle-mounted monitoring terminal 10 will not be affected by the operating state.
基于上述实施例,下面通过举例说明OBD模块101的断开检测流程,所述OBD设备的型号为OBD II。Based on the foregoing embodiment, the disconnection detection process of the OBD module 101 is described below by using an example, and the model of the OBD device is OBD II.
例如,如图4所示,先检测OBD II设备的通信是否正常,如果正常,则表示OBD II设备连接正常;如果通信异常,则将休眠的OBD II车载监控终端进行唤醒并激活配置,与此同时,再次检测其通信是否恢复正常,如果还是异 常,则根据汽车是否支持高速CAN协议,汽车是否支持OBD II Pin16常电源,OBD II设备与汽车之间连接的CAN回路的连接状态,以及汽车的位置变化等信息对OBD II设备的连接断开进行详细检测,该详细过程可以参考上述实施例。For example, as shown in Figure 4, first check whether the communication of the OBD II device is normal. If it is normal, it means that the OBD II device is connected normally; if the communication is abnormal, wake up the sleeping OBD II vehicle monitoring terminal and activate the configuration. At the same time, check again whether the communication is back to normal. If it is still abnormal, according to whether the car supports the high-speed CAN protocol, whether the car supports OBD II Pin16 normal power supply, the connection status of the CAN loop between the OBD II device and the car, and the car’s Information such as the location change performs detailed detection of the disconnection of the OBD II device. For the detailed process, refer to the foregoing embodiment.
其中,在汽车发动机关闭的情况下,OBD II设备为休眠状态,当需要检测OBD II设备是否有拔出事件时,需要先激活OBD II设备的配置,由于发动机启动60秒内OBD II设备需要恢复与汽车的通信,为了提高检测准确率,因此,在汽车发动机启动时,所以OBD II设备要在至多60秒内激活。Among them, when the car engine is turned off, the OBD II device is in the dormant state. When it is necessary to detect whether the OBD II device has an unplug event, the configuration of the OBD II device needs to be activated first, because the OBD II device needs to be restored within 60 seconds of the engine start In order to improve the detection accuracy of the communication with the car, the OBD II device must be activated within 60 seconds at most when the car engine is started.
其中,在检测CAN回路的连通状况时,在CAN_H施加了3~5V电压,该电压值是预先设置好的,并且在CAN_L处有与其对应的输出电压。在实际应用中,还可以根据CAN回路设置其他电压。Among them, when detecting the connection status of the CAN loop, a voltage of 3 to 5V is applied to CAN_H, the voltage value is preset, and there is a corresponding output voltage at CAN_L. In practical applications, other voltages can also be set according to the CAN loop.
其中,如果汽车位置未改变的时间大于或等于24小时,并且该时间内OBD II设备与汽车一直都是通信异常,此种情况不符合机动车常规业务规律,为了避免可能是拔出事件造成此种情况,因此有必要向后台管理服务器进行预警,以提高设备安全性。Among them, if the time that the car position has not changed is greater than or equal to 24 hours, and the OBD II device and the car have been communicating abnormally during this time, this situation does not conform to the regular business rules of motor vehicles, in order to avoid the possibility of unplugging incidents causing this In this case, it is necessary to give an early warning to the background management server to improve equipment security.
本发明实施例提供了一种OBD车载监控终端。通过检测OBD模块与车辆上的电子控制单元的通信是否异常;如果异常,则判断车辆是否支持高速CAN通信协议;如果车辆支持高速CAN通信协议,则检测OBD模块与车辆上的电子控制单元之间的CAN回路是否导通;如果该CAN回路未导通,所述OBD车载监控终端向后台管理服务器发送OBD模块的断开警告,以警告OBD模块与车辆的电子控制单元之间的通信断开。综上,该终端提高了OBD模块断开检测的准确率,降低了OBD模块拔出事件误报概率;其次,该OBD车载监控终端可以支持多种通信协议,实现了全OBD功能;再次,还加入了低功耗设计,降低了系统功耗;最后,该终端适用于各种汽车,包括所有道路移动车辆和大部分非道路工程机械车辆,通用性强。The embodiment of the present invention provides an OBD vehicle-mounted monitoring terminal. By detecting whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal; if it is abnormal, determine whether the vehicle supports the high-speed CAN communication protocol; if the vehicle supports the high-speed CAN communication protocol, detect the communication between the OBD module and the electronic control unit on the vehicle If the CAN circuit is not turned on, the OBD vehicle monitoring terminal sends a disconnection warning of the OBD module to the background management server to warn that the communication between the OBD module and the electronic control unit of the vehicle is disconnected. In summary, the terminal improves the accuracy of OBD module disconnection detection and reduces the probability of false alarms when the OBD module is unplugged. Secondly, the OBD vehicle monitoring terminal can support multiple communication protocols and achieve full OBD functions; again, A low-power design is added to reduce the system power consumption; finally, the terminal is suitable for all kinds of cars, including all road mobile vehicles and most non-road construction machinery vehicles, with strong versatility.
请参阅图5,为本发明实施例提供的一种OBD模块断开检测方法的流程图。所述OBD模块断开检测方法可以应用于如上任一实施例所述的OBD车载监控终端,所述OBD车载监控终端包括MCU和OBD模块,所述OBD模块与车辆上的OBD接口连接,以使所述OBD模块与所述车辆上的电子控制单元通信,所述方法包括:Please refer to FIG. 5, which is a flowchart of a method for detecting disconnection of an OBD module according to an embodiment of the present invention. The OBD module disconnection detection method can be applied to the OBD vehicle-mounted monitoring terminal described in any of the above embodiments. The OBD vehicle-mounted monitoring terminal includes an MCU and an OBD module, and the OBD module is connected to the OBD interface on the vehicle to enable The OBD module communicates with an electronic control unit on the vehicle, and the method includes:
S201:所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元的通信是否异常。S201: The MCU detects whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal.
若是,则执行下述步骤S202。若不是,则所述OBD模块是正常连接状态。If yes, execute the following step S202. If not, the OBD module is in a normal connection state.
S202:所述MCU判断所述车辆是否支持高速CAN通信协议。S202: The MCU determines whether the vehicle supports the high-speed CAN communication protocol.
若是,则执行下述步骤S203。If yes, execute the following step S203.
S203:所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元之间的CAN回路是否导通。S203: The MCU detects whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on.
若否,则执行下述步骤S204;若是,则所述OBD模块是正常连接状态。If not, execute the following step S204; if yes, the OBD module is in a normal connection state.
S204:所述MCU向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。S204: The MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
其中,所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元之间的CAN回路是否导通,包括:Wherein, the MCU detecting whether the CAN loop between the OBD module and the electronic control unit on the vehicle is conducted, including:
所述MCU输出高电平信号,以控制所述CAN回路中的第一数据线端输入有第一电压;The MCU outputs a high-level signal to control the first data line terminal in the CAN loop to input a first voltage;
所述MCU检测所述CAN回路中的第二数据线端的第二电压是否与所述第一电压匹配;The MCU detects whether the second voltage of the second data line terminal in the CAN loop matches the first voltage;
若不匹配,则所述CAN回路不导通。If it does not match, the CAN loop is not conducting.
其中,所述第一电压为预设电压集合中的随机选出的一个电压。Wherein, the first voltage is a randomly selected voltage in a preset voltage set.
其中,所述预设电压集合中的任意一个电压与所述第二数据线端的电压的匹配关系是由所述OBD车载监控终端首次连接所述车辆时确定的,并预存在所述OBD车载监控终端中。Wherein, the matching relationship between any one voltage in the preset voltage set and the voltage of the second data line terminal is determined when the OBD on-board monitoring terminal is connected to the vehicle for the first time, and is pre-stored in the OBD on-board monitoring In the terminal.
其中,所述车辆是否支持高速CAN通信协议是在安装所述OBD车载监控终端时检测得到的,并将检测结果预存在所述OBD车载监控终端。Wherein, whether the vehicle supports the high-speed CAN communication protocol is detected when the OBD vehicle-mounted monitoring terminal is installed, and the detection result is pre-stored in the OBD vehicle-mounted monitoring terminal.
其中,当检测到所述OBD模块与所述车辆上的所述电子控制单元的通信异常时,所述方法还包括:Wherein, when an abnormal communication between the OBD module and the electronic control unit on the vehicle is detected, the method further includes:
将处于休眠状态的所述OBD车载监控终端唤醒,并激活所述OBD车载监控终端的配置。Wake up the OBD vehicle-mounted monitoring terminal in the dormant state, and activate the configuration of the OBD vehicle-mounted monitoring terminal.
在一些实施例中,若所述车辆不支持所述高速CAN通信协议,所述方法还包括:In some embodiments, if the vehicle does not support the high-speed CAN communication protocol, the method further includes:
所述MCU检测所述OBD模块是否支持常电源;The MCU detects whether the OBD module supports normal power supply;
如果支持常电源并且为电源接通状态,或者不支持常电源,则根据所述车辆的位置信息,以及所述OBD模块与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块的连接状态;If the normal power supply is supported and the power is turned on, or the normal power supply is not supported, the vehicle will be detected according to the position information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle have abnormal communication. The connection status of the OBD module;
如果支持常电源并且为电源断开状态,则所述MCU向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If the normal power supply is supported and the power supply is disconnected, the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
其中,所述OBD模块是否支持常电源是在安装所述OBD车载监控终端时进行配置的,并将配置结果预存在所述OBD车载监控终端。Wherein, whether the OBD module supports the normal power supply is configured when the OBD vehicle-mounted monitoring terminal is installed, and the configuration result is pre-stored in the OBD vehicle-mounted monitoring terminal.
其中,所述根据所述车辆的位置变化信息,以及所述OBD模块与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块的连接状态,包括:Wherein, the detecting the connection state of the OBD module according to the position change information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle are abnormal in communication, includes:
获取所述车辆的位置信息;Acquiring location information of the vehicle;
判断在所述OBD模块与所述电子控制单元发生通信异常时所述车辆的位置是否发生过变化;Determine whether the position of the vehicle has changed when the OBD module and the electronic control unit have a communication abnormality;
如果所述车辆的位置未发生过变化,检测所述OBD模块与所述电子控制 单元发生通信异常的时间是否大于或等于预设时间,若是,则所述MCU向后台管理服务器发送所述OBD模块的断开预警,并再次执行OBD模块断开检测监控程序;If the position of the vehicle has not changed, it is detected whether the time of abnormal communication between the OBD module and the electronic control unit is greater than or equal to the preset time, and if so, the MCU sends the OBD module to the background management server Disconnect early warning, and execute the OBD module disconnection detection and monitoring program again;
如果所述车辆的位置发生过变化,则所述MCU向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If the position of the vehicle has changed, the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
需要说明的是,上述方法实施例与本发明的设备实施例基于同一构思,具体内容可参见本发明设备实施例中的叙述,此处不再赘述。It should be noted that the foregoing method embodiment and the device embodiment of the present invention are based on the same concept, and the specific content can be referred to the description in the device embodiment of the present invention, which will not be repeated here.
本发明实施例提供了一种OBD模块断开检测方法。该方法通过检测OBD模块与车辆上的电子控制单元的通信是否异常;如果异常,则判断车辆是否支持高速CAN通信协议;如果车辆支持高速CAN通信协议,则检测OBD模块与车辆上的电子控制单元之间的CAN回路是否导通;如果该CAN回路未导通,所述OBD车载监控终端向后台管理服务器发送OBD模块的断开警告,以警告OBD模块与车辆的电子控制单元之间的通信断开。综上,该方法提高了OBD模块断开检测的准确率,降低了OBD模块拔出事件误报概率;其次,该方法降低了系统功耗;最后,该方法适用于各种汽车,包括所有道路移动车辆和大部分非道路工程机械车辆,通用性强。The embodiment of the present invention provides a method for detecting disconnection of an OBD module. This method detects whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal; if it is abnormal, it is determined whether the vehicle supports the high-speed CAN communication protocol; if the vehicle supports the high-speed CAN communication protocol, the OBD module and the electronic control unit on the vehicle are detected Whether the CAN circuit between the two is turned on; if the CAN circuit is not turned on, the OBD vehicle monitoring terminal sends a disconnection warning of the OBD module to the background management server to warn that the communication between the OBD module and the electronic control unit of the vehicle is broken open. In summary, this method improves the accuracy of OBD module disconnection detection and reduces the probability of false alarms of OBD module unplugging events; secondly, this method reduces system power consumption; finally, this method is suitable for all kinds of cars, including all roads Mobile vehicles and most non-road construction machinery vehicles have strong versatility.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; under the idea of the present invention, the technical features of the above embodiments or different embodiments can also be combined. The steps can be implemented in any order, and there are many other variations of the different aspects of the present invention as described above. For the sake of brevity, they are not provided in the details; although the present invention has been described in detail with reference to the foregoing embodiments, it is common in the art The skilled person should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or equivalently replace some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the implementations of the present invention. Examples of the scope of technical solutions.

Claims (17)

  1. 一种OBD模块断开检测方法,应用于OBD车载监控终端,所述OBD车载监控终端包括MCU和OBD模块,所述OBD模块与车辆上的OBD接口连接,以使所述OBD模块与所述车辆上的电子控制单元通信,其特征在于,包括:An OBD module disconnection detection method is applied to an OBD vehicle-mounted monitoring terminal. The OBD vehicle-mounted monitoring terminal includes an MCU and an OBD module. The OBD module is connected to an OBD interface on a vehicle so that the OBD module is connected to the vehicle. The electronic control unit communication on the computer is characterized in that it includes:
    所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元的通信是否异常;The MCU detects whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal;
    若是,则所述MCU判断所述车辆是否支持高速CAN通信协议;If yes, the MCU determines whether the vehicle supports the high-speed CAN communication protocol;
    若所述车辆支持所述高速CAN通信协议,则所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元之间的CAN回路是否导通;If the vehicle supports the high-speed CAN communication protocol, the MCU detects whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on;
    若否,所述MCU向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If not, the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  2. 根据权利要求1所述的方法,其特征在于,所述MCU检测所述OBD模块与所述车辆上的所述电子控制单元之间的CAN回路是否导通,包括:The method according to claim 1, wherein the MCU detecting whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on, comprising:
    所述MCU输出高电平信号,以控制所述CAN回路中的第一数据线端输入有第一电压;The MCU outputs a high-level signal to control the first data line terminal in the CAN loop to input a first voltage;
    所述MCU检测所述CAN回路中的第二数据线端的第二电压是否与所述第一电压匹配;The MCU detects whether the second voltage of the second data line terminal in the CAN loop matches the first voltage;
    若不匹配,则所述CAN回路不导通。If it does not match, the CAN loop is not conducting.
  3. 根据权利要求2所述的方法,其特征在于,所述第一电压为预设电压集合中的随机选出的一个电压。The method according to claim 2, wherein the first voltage is a randomly selected voltage in a preset voltage set.
  4. 根据权利要求3所述的方法,其特征在于,所述预设电压集合中的任意一个电压与所述第二数据线端的电压的匹配关系是由所述OBD车载监控终端首次连接所述车辆时确定的,并预存在所述OBD车载监控终端中。The method according to claim 3, wherein the matching relationship between any one voltage in the preset voltage set and the voltage at the second data line terminal is when the OBD vehicle-mounted monitoring terminal is connected to the vehicle for the first time Determined and pre-stored in the OBD vehicle monitoring terminal.
  5. 根据权利要求1所述的方法,其特征在于,所述车辆是否支持高速CAN通信协议是在安装所述OBD车载监控终端时检测得到的,并将检测结果预存在所述OBD车载监控终端。The method according to claim 1, wherein whether the vehicle supports the high-speed CAN communication protocol is detected when the OBD vehicle-mounted monitoring terminal is installed, and the detection result is pre-stored in the OBD vehicle-mounted monitoring terminal.
  6. 根据权利要求1所述的方法,其特征在于,当检测到所述OBD模块与所述车辆上的所述电子控制单元的通信异常时,所述方法还包括:The method according to claim 1, wherein when an abnormal communication between the OBD module and the electronic control unit on the vehicle is detected, the method further comprises:
    将处于休眠状态的所述OBD车载监控终端唤醒,并激活所述OBD车载监控终端的配置。Wake up the OBD vehicle-mounted monitoring terminal in the dormant state, and activate the configuration of the OBD vehicle-mounted monitoring terminal.
  7. 根据权利要求1至6任一项所述的方法,其特征在于,若所述车辆不支持所述高速CAN通信协议,所述方法还包括:The method according to any one of claims 1 to 6, wherein if the vehicle does not support the high-speed CAN communication protocol, the method further comprises:
    所述MCU检测所述OBD模块是否支持常电源;The MCU detects whether the OBD module supports normal power supply;
    如果支持常电源并且为电源接通状态,或者不支持常电源,则根据所述车辆的位置信息,以及所述OBD模块与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块的连接状态;If the normal power supply is supported and the power is turned on, or the normal power supply is not supported, the vehicle will be detected according to the position information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle have abnormal communication. The connection status of the OBD module;
    如果支持常电源并且为电源断开状态,则所述MCU向后台管理服务器发送 所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If the normal power supply is supported and the power supply is disconnected, the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  8. 根据权利要求7所述的方法,其特征在于,所述OBD模块是否支持常电源是在安装所述OBD车载监控终端时进行配置的,并将配置结果预存在所述OBD车载监控终端。8. The method according to claim 7, wherein whether the OBD module supports normal power is configured when the OBD vehicle-mounted monitoring terminal is installed, and the configuration result is pre-stored in the OBD vehicle-mounted monitoring terminal.
  9. 根据权利要求7所述的方法,其特征在于,所述根据所述车辆的位置变化信息,以及所述OBD模块与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块的连接状态,包括:8. The method according to claim 7, wherein the OBD module is detected according to the position change information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle are abnormal in communication The connection status includes:
    获取所述车辆的位置信息;Acquiring location information of the vehicle;
    判断在所述OBD模块与所述电子控制单元发生通信异常时所述车辆的位置是否发生过变化;Determine whether the position of the vehicle has changed when the OBD module and the electronic control unit have a communication abnormality;
    如果所述车辆的位置未发生过变化,检测所述OBD模块与所述电子控制单元发生通信异常的时间是否大于或等于预设时间,若是,则所述MCU向后台管理服务器发送所述OBD模块的断开预警,并再次执行OBD模块断开检测监控程序;If the position of the vehicle has not changed, it is detected whether the time of abnormal communication between the OBD module and the electronic control unit is greater than or equal to the preset time, and if so, the MCU sends the OBD module to the background management server Disconnect early warning, and execute the OBD module disconnection detection and monitoring program again;
    如果所述车辆的位置发生过变化,则所述MCU向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If the position of the vehicle has changed, the MCU sends a disconnection warning of the OBD module to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  10. 一种OBD车载监控终端,其特征在于,包括:MCU、OBD模块以及通信模块,所述OBD模块与车辆上的OBD接口连接,以使所述OBD模块与所述车辆上的电子控制单元通信;An OBD vehicle-mounted monitoring terminal, characterized by comprising: an MCU, an OBD module, and a communication module, the OBD module is connected to an OBD interface on a vehicle, so that the OBD module communicates with an electronic control unit on the vehicle;
    所述MCU用于:The MCU is used for:
    检测所述OBD模块与所述车辆上的所述电子控制单元的通信是否异常;Detecting whether the communication between the OBD module and the electronic control unit on the vehicle is abnormal;
    若是,则判断所述车辆是否支持高速CAN通信协议;If yes, determine whether the vehicle supports the high-speed CAN communication protocol;
    若所述车辆支持所述高速CAN通信协议,则检测所述OBD模块与所述车辆上的所述电子控制单元之间的CAN回路是否导通;If the vehicle supports the high-speed CAN communication protocol, detecting whether the CAN loop between the OBD module and the electronic control unit on the vehicle is turned on;
    若否,通过所述通信模块向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If not, send a disconnection warning of the OBD module to the background management server through the communication module to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  11. 根据权利要求10所述的终端,其特征在于,所述OBD模块包括OBD接头和OBD芯片,所述OBD芯片分别与所述OBD接头、所述MCU电连接,所述OBD接头与所述车辆上的OBD接口连接。The terminal according to claim 10, wherein the OBD module comprises an OBD connector and an OBD chip, the OBD chip is electrically connected to the OBD connector and the MCU, and the OBD connector is connected to the vehicle OBD interface connection.
  12. 根据权利要求10所述的终端,其特征在于,当所述车辆支持所述高速CAN通信协议时,所述OBD模块与所述车辆上的OBD接口之间通过高速CAN总线连接,所述高速CAN总线构成一CAN回路;The terminal according to claim 10, wherein when the vehicle supports the high-speed CAN communication protocol, the OBD module and the OBD interface on the vehicle are connected via a high-speed CAN bus, and the high-speed CAN The bus constitutes a CAN loop;
    所述MCU用于:The MCU is used for:
    输出高电平信号,以控制所述CAN回路中的第一数据线端输入有第一电压;Output a high-level signal to control the first data line terminal in the CAN loop to input a first voltage;
    检测所述CAN回路中的第二数据线端的第二电压是否与所述第一电压匹配,若不匹配,则所述CAN回路不导通。It is detected whether the second voltage of the second data line terminal in the CAN loop matches the first voltage, and if it does not match, the CAN loop does not conduct.
  13. 根据权利要求10所述的终端,其特征在于,当检测到所述OBD模块与所述车辆上的所述电子控制单元的通信异常时,所述MCU还用于:The terminal according to claim 10, wherein when an abnormal communication between the OBD module and the electronic control unit on the vehicle is detected, the MCU is further configured to:
    将处于休眠状态的所述OBD车载监控终端唤醒,并激活所述OBD车载监控终端的配置。Wake up the OBD vehicle-mounted monitoring terminal in the dormant state, and activate the configuration of the OBD vehicle-mounted monitoring terminal.
  14. 根据权利要求10至13任一项所述的终端,其特征在于,所述OBD车载监控终端还包括与所述MCU电连接的定位模块;The terminal according to any one of claims 10 to 13, wherein the OBD vehicle-mounted monitoring terminal further comprises a positioning module electrically connected to the MCU;
    所述定位模块用于检测车辆的位置信息;The positioning module is used to detect the position information of the vehicle;
    若所述车辆不支持所述高速CAN通信协议,所述MCU还用于:If the vehicle does not support the high-speed CAN communication protocol, the MCU is also used to:
    检测所述OBD模块是否支持常电源;Detecting whether the OBD module supports normal power supply;
    如果支持常电源并且为电源接通状态,或者不支持常电源,则根据所述车辆的位置信息,以及所述OBD模块与所述车辆上的所述电子控制单元发生通信异常的时间检测所述OBD模块的连接状态;If the normal power supply is supported and the power is turned on, or the normal power supply is not supported, the vehicle will be detected according to the position information of the vehicle and the time when the OBD module and the electronic control unit on the vehicle have abnormal communication. The connection status of the OBD module;
    如果支持常电源并且为电源断开状态,则向后台管理服务器发送所述OBD模块的断开警告,以警告所述OBD模块与所述车辆的所述电子控制单元通信断开。If the normal power supply is supported and the power supply is disconnected, a disconnection warning of the OBD module is sent to the background management server to warn that the OBD module is disconnected from the electronic control unit of the vehicle.
  15. 根据权利要求14所述的终端,其特征在于,所述OBD车载监控终端还包括与所述MCU电连接的告警模块;The terminal according to claim 14, wherein the OBD vehicle monitoring terminal further comprises an alarm module electrically connected to the MCU;
    所述告警模块,用于在所述OBD模块断开时,发出告警。The alarm module is used to send an alarm when the OBD module is disconnected.
  16. 根据权利要求10所述的终端,其特征在于,所述OBD车载监控终端还包括电源管理模块、电池以及充电器,所述电源管理模块分别连接所述OBD模块、所述MCU、所述电池以及所述充电器,所述电池分别连接所述充电器和所述MCU。The terminal according to claim 10, wherein the OBD vehicle monitoring terminal further comprises a power management module, a battery, and a charger, and the power management module is respectively connected to the OBD module, the MCU, the battery, and The charger and the battery are respectively connected to the charger and the MCU.
  17. 一种OBD监控系统,应用于汽车,所述汽车上设有OBD接口,其特征在于,所述系统包括:权利要求10至16任一项所述的OBD车载监控终端,网络以及后台管理服务器;An OBD monitoring system, applied to a car, the car is provided with an OBD interface, characterized in that the system comprises: the OBD vehicle monitoring terminal according to any one of claims 10 to 16, a network and a background management server;
    所述OBD车载监控终端通过所述OBD接口与所述汽车通信连接,并通过所述网络与所述后台管理服务器通信连接;The OBD vehicle-mounted monitoring terminal communicates with the car through the OBD interface, and communicates with the background management server through the network;
    所述OBD车载监控终端,用于在所述汽车支持高速CAN通信协议时,检测所述OBD车载监控终端与所述汽车的电子控制单元之间的CAN回路是否导通,如果不导通,向所述后台管理服务器发送所述OBD车载监控终端的断开警告;The OBD vehicle-mounted monitoring terminal is used to detect whether the CAN circuit between the OBD vehicle-mounted monitoring terminal and the electronic control unit of the car is conductive when the car supports the high-speed CAN communication protocol. The background management server sends a disconnection warning of the OBD vehicle-mounted monitoring terminal;
    所述后台管理服务器,用于接收所述断开警告,并响应所述断开警告。The background management server is configured to receive the disconnection warning and respond to the disconnection warning.
PCT/CN2021/079167 2020-03-12 2021-03-04 Disconnection detection method for obd module, obd vehicle-mounted monitoring terminal, obd monitoring system WO2021179992A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010171250.7A CN111426984B (en) 2020-03-12 2020-03-12 OBD module disconnection detection method, OBD vehicle-mounted monitoring terminal and OBD monitoring system
CN202010171250.7 2020-03-12

Publications (1)

Publication Number Publication Date
WO2021179992A1 true WO2021179992A1 (en) 2021-09-16

Family

ID=71546329

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/079167 WO2021179992A1 (en) 2020-03-12 2021-03-04 Disconnection detection method for obd module, obd vehicle-mounted monitoring terminal, obd monitoring system

Country Status (2)

Country Link
CN (1) CN111426984B (en)
WO (1) WO2021179992A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114893722A (en) * 2022-04-29 2022-08-12 江苏鼎力华业测控技术有限公司 Monitoring device and monitoring method for thermal insulation performance of vehicle-mounted LNG (liquefied natural gas) cylinder
CN115285042A (en) * 2022-07-25 2022-11-04 爱驰汽车有限公司 Vehicle-mounted communication device and early warning detection method

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111426984B (en) * 2020-03-12 2022-09-02 深圳市道通科技股份有限公司 OBD module disconnection detection method, OBD vehicle-mounted monitoring terminal and OBD monitoring system
CN111812554A (en) * 2020-07-24 2020-10-23 上海星融汽车科技有限公司 On-board diagnostic (OBD) interface plug-pull state detection device based on photoresistor and detection method thereof
CN112147702A (en) * 2020-09-27 2020-12-29 潍柴动力股份有限公司 Vehicle-mounted terminal detachment detection method and device, vehicle-mounted terminal and storage medium
CN112882456B (en) * 2021-01-13 2022-04-12 深圳市道通科技股份有限公司 OBD equipment
CN112969160B (en) * 2021-01-21 2023-04-14 深圳市正大信维通讯设备有限公司 Vehicle communication method
CN113341939B (en) * 2021-08-04 2021-11-30 北京智科车联科技有限公司 Vehicle offline detection system and method
US20230282038A1 (en) * 2022-03-02 2023-09-07 Moj.Io, Inc. Mobile compute system with interface verification mechanism and method of operation thereof
CN114445985B (en) * 2022-04-11 2022-08-09 深圳市赛格导航科技股份有限公司 Anti-disassembly alarm device and method for vehicle OBD terminal
CN115257577B (en) * 2022-06-10 2024-07-19 潍柴动力股份有限公司 Method and device for determining whether vehicle-mounted terminal of vehicle is removed
CN115396850A (en) * 2022-08-25 2022-11-25 高新兴物联科技股份有限公司 T-BOX product interaction method and device
CN117969932B (en) * 2024-03-29 2024-06-14 长城汽车股份有限公司 Static current testing device and method and vehicle

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994601A (en) * 2015-06-01 2015-10-21 南京邮电大学 4G vehicle smart terminal system
KR20150121591A (en) * 2014-04-21 2015-10-29 주식회사 디엠씨시스 Apparatus for vehicle diagnosing apparatus and power control method thereof
CN107643702A (en) * 2016-07-21 2018-01-30 中斗科技(江苏)有限公司 A kind of motoring condition automatic monitoring device based on OBD interfaces
CN208953641U (en) * 2018-09-11 2019-06-07 广州亚美信息科技有限公司 A kind of equipment extraction detection circuit based on car OBD interface
CN208985007U (en) * 2018-12-10 2019-06-14 深圳云科智联科技有限公司 OBD terminal applied to car networking
CN109921956A (en) * 2018-12-10 2019-06-21 东莞职业技术学院 A kind of detection method of automotive networking signal
CN209297160U (en) * 2019-03-19 2019-08-23 天津卡达克数据有限公司 A kind of CAN bus monitor
CN209642687U (en) * 2019-04-03 2019-11-15 杭州鸿泉物联网技术股份有限公司 T-BOX terminal and CAN network go offline detection device
CN111426984A (en) * 2020-03-12 2020-07-17 深圳市道通科技股份有限公司 OBD module disconnection detection method, OBD vehicle-mounted monitoring terminal and OBD monitoring system

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004140673A (en) * 2002-10-18 2004-05-13 Hitachi Ltd Method of controlling network device
FR2861866B1 (en) * 2003-10-31 2006-02-10 Renault Sas METHOD FOR DIAGNOSING THE PHYSICAL FAULTS OF THE CAN HIGH SPEED NETWORK OF A MOTOR VEHICLE
JP4952212B2 (en) * 2006-11-22 2012-06-13 株式会社デンソー Communication interference prevention device, communication system node, communication system, vehicle fault diagnosis device, and in-vehicle device
CN102540018B (en) * 2012-02-16 2014-11-05 奇瑞汽车股份有限公司 Device and method for evaluating endurance and reliability of CAN (Controller Area Network) bus
KR101589217B1 (en) * 2014-10-17 2016-02-12 현대자동차주식회사 Method and system for providing vehicle security service
CN105516303A (en) * 2015-12-08 2016-04-20 张长隆 On board diagnosis (OBD) intelligent device for internet of vehicles
CN205344826U (en) * 2015-12-24 2016-06-29 滴滴(中国)科技有限公司 Vehicle management system
CN106740504A (en) * 2017-01-16 2017-05-31 杭州爱驾科技有限公司 OBD heartbeats monitoring system and its implementation
US10347056B2 (en) * 2017-04-17 2019-07-09 Connected Holdings, Llc Apparatus and method for monitoring vehicle ON/OFF state
CN107294826B (en) * 2017-05-27 2020-05-15 惠州市德赛西威汽车电子股份有限公司 CAN network-based TBOX parameter calibration method and device
CN108416990B (en) * 2018-03-26 2019-09-10 青岛中瑞车联电子科技有限公司 Vehicle carried pick device and judge the method that vehicle carried pick device is removed
US10363904B1 (en) * 2018-08-06 2019-07-30 GM Global Technology Operations LLC System and method to detect telematics unit disconnection
CN209170398U (en) * 2018-12-10 2019-07-26 东莞职业技术学院 A kind of detector of automotive networking signal
CN209690435U (en) * 2019-02-26 2019-11-26 成都安的光电科技有限公司 A kind of device connection status detection
CN110011809A (en) * 2019-03-29 2019-07-12 深圳市元征科技股份有限公司 A kind of communication means and vehicle diagnostic equipment of vehicle diagnostic equipment
CN110588570B (en) * 2019-08-30 2021-09-21 上海能塔智能科技有限公司 Vehicle-mounted equipment anti-theft method and device, vehicle-mounted anti-theft equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150121591A (en) * 2014-04-21 2015-10-29 주식회사 디엠씨시스 Apparatus for vehicle diagnosing apparatus and power control method thereof
CN104994601A (en) * 2015-06-01 2015-10-21 南京邮电大学 4G vehicle smart terminal system
CN107643702A (en) * 2016-07-21 2018-01-30 中斗科技(江苏)有限公司 A kind of motoring condition automatic monitoring device based on OBD interfaces
CN208953641U (en) * 2018-09-11 2019-06-07 广州亚美信息科技有限公司 A kind of equipment extraction detection circuit based on car OBD interface
CN208985007U (en) * 2018-12-10 2019-06-14 深圳云科智联科技有限公司 OBD terminal applied to car networking
CN109921956A (en) * 2018-12-10 2019-06-21 东莞职业技术学院 A kind of detection method of automotive networking signal
CN209297160U (en) * 2019-03-19 2019-08-23 天津卡达克数据有限公司 A kind of CAN bus monitor
CN209642687U (en) * 2019-04-03 2019-11-15 杭州鸿泉物联网技术股份有限公司 T-BOX terminal and CAN network go offline detection device
CN111426984A (en) * 2020-03-12 2020-07-17 深圳市道通科技股份有限公司 OBD module disconnection detection method, OBD vehicle-mounted monitoring terminal and OBD monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114893722A (en) * 2022-04-29 2022-08-12 江苏鼎力华业测控技术有限公司 Monitoring device and monitoring method for thermal insulation performance of vehicle-mounted LNG (liquefied natural gas) cylinder
CN115285042A (en) * 2022-07-25 2022-11-04 爱驰汽车有限公司 Vehicle-mounted communication device and early warning detection method

Also Published As

Publication number Publication date
CN111426984A (en) 2020-07-17
CN111426984B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
WO2021179992A1 (en) Disconnection detection method for obd module, obd vehicle-mounted monitoring terminal, obd monitoring system
US11368825B2 (en) System and method for managing a fleet of vehicles including electric vehicles
WO2018018761A1 (en) Vehicle-mounted gateway controller based information processing method and gateway controller
US11641290B2 (en) Configurable OBD isolation
US10347056B2 (en) Apparatus and method for monitoring vehicle ON/OFF state
CN107015838B (en) Upgrade system of sensing device and tire pressure monitoring system
CN105513160A (en) OBD-II-based vehicle-mounted intelligent terminal and vehicle-mounted information public service system
CN106372545B (en) Data processing method, vehicle-mounted automatic diagnosis system OBD controller and vehicle
CN112810568A (en) Vehicle-mounted vibration monitoring method and system
CN205427973U (en) Intelligent terminal and public service system of on -vehicle information based on OBD -II
CN202995388U (en) Self-diagnosis device of vehicle terminal
CN110949318A (en) Vehicle anti-theft method and T-box with anti-theft function
CN211918425U (en) Electric vehicle storage battery monitoring and Internet of things electric pile system
CN109362071A (en) Method and system of the off roader in network black spots and server emergency communication
CN210591735U (en) System for reducing static power consumption of vehicle-mounted electronic equipment and switching circuit
CN205044677U (en) Intelligent vehicle -mounted terminal
CN201777208U (en) Vehicle-mounted GPS wireless positioning controller
CN201532576U (en) Control system for cash truck running route
US11864084B2 (en) Emergency user interfaces in telematic systems
CN112947165B (en) Method for waking up electronic equipment and electronic equipment
CN113329484A (en) Vehicle-mounted terminal capable of switching communication modules
CN105653289A (en) Vehicle-mounted software control and management device and application method thereof
CN214151415U (en) 4G T-BOX remote monitoring's on-vehicle detection control circuit
CN218347447U (en) Anti-theft device of particle catcher and vehicle
US11641036B1 (en) Battery methods for use with telematics

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21767010

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21767010

Country of ref document: EP

Kind code of ref document: A1