CN113665506A - Vehicle-mounted equipment control method and system based on CAN network detection - Google Patents

Vehicle-mounted equipment control method and system based on CAN network detection Download PDF

Info

Publication number
CN113665506A
CN113665506A CN202110952075.XA CN202110952075A CN113665506A CN 113665506 A CN113665506 A CN 113665506A CN 202110952075 A CN202110952075 A CN 202110952075A CN 113665506 A CN113665506 A CN 113665506A
Authority
CN
China
Prior art keywords
network
vehicle
control signal
differential amplifier
mounted equipment
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110952075.XA
Other languages
Chinese (zh)
Inventor
赵宽安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuanfeng Technology Co Ltd
Original Assignee
Yuanfeng Technology Co Ltd
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 Yuanfeng Technology Co Ltd filed Critical Yuanfeng Technology Co Ltd
Priority to CN202110952075.XA priority Critical patent/CN113665506A/en
Publication of CN113665506A publication Critical patent/CN113665506A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a vehicle-mounted equipment control method and a system based on CAN network detection, wherein the method comprises the following steps: detecting whether a CAN network on a vehicle is in a data signal transmission state in real time, and if so, generating a first control signal; if not, generating a second control signal; the first control signal is used for controlling the vehicle-mounted equipment to be in a first working state; the second control signal is used for controlling the vehicle-mounted equipment to be in a second working state; by adopting the control method of the vehicle-mounted equipment, whether the vehicle is in the working state is judged by checking whether the CAN network on the vehicle is in the data signal transmission state, the real-time working state of the vehicle CAN be accurately obtained by detecting the CAN network, and then the control signal of the vehicle-mounted equipment is generated by the detection result, so that the aim of effectively controlling the vehicle-mounted equipment is achieved. In addition, compared with the signal obtained from the vehicle ignition device, the signal obtained from the CAN network has higher safety and is convenient to implement.

Description

Vehicle-mounted equipment control method and system based on CAN network detection
Technical Field
The invention relates to the technical field of vehicle-mounted equipment control, in particular to a vehicle-mounted equipment control method and system based on CAN network detection.
Background
The vehicle-mounted equipment comprises a vehicle-mounted sound box, a vehicle-mounted display, a vehicle-mounted network communication terminal and the like, and generally requires that the working state of the vehicle-mounted equipment follows the working state of the vehicle, namely when the vehicle is in a starting state, the vehicle-mounted equipment is in a starting or waiting starting state, and when the vehicle is flameout, the vehicle-mounted equipment is automatically closed, so that a vehicle-mounted power supply is saved, and the vehicle-mounted battery is prevented from being excessively consumed. In the prior art, for convenience, the vehicle-mounted device generally directly acquires a vehicle state signal from an ignition device of a vehicle to control the working state of the vehicle-mounted device, however, under the requirement of overall safety and stability of the vehicle, some vehicle designs and self-service providers may put high requirements on the vehicle-mounted device service providers, and the vehicle-mounted device is required not to acquire the signal from the ignition device, so that a new vehicle state detection method is needed to safely and effectively control the working state of the vehicle-mounted device.
Disclosure of Invention
The invention aims to provide a vehicle-mounted equipment control method and system based on CAN network detection, which avoid a vehicle ignition power supply to acquire the working state of a vehicle so as to automatically control vehicle-mounted equipment.
In order to achieve the purpose, the invention discloses a vehicle-mounted equipment control method based on CAN network detection, which comprises the following steps:
detecting whether the CAN network on the vehicle is in a data signal transmission state in real time, if so,
generating a first control signal; if not, generating a second control signal;
the first control signal is used for controlling the vehicle-mounted equipment to be in a first working state;
the second control signal is used for controlling the vehicle-mounted equipment to be in a second working state
Preferably, the method for detecting whether the CAN network is in a data signal transmission state includes:
respectively detecting the high-order voltage and the low-order voltage of a high-order data line and a low-order data line of the CAN network;
when the high-level voltage is greater than the low-level voltage, the CAN network is in a data signal transmission state;
and when the high-order voltage is equal to the low-order voltage, the CAN network is in an idle state.
Preferably, the duration of the first control signal and the duration of the second control signal are prolonged.
The invention also discloses a vehicle-mounted equipment control system based on CAN network detection, which comprises a signal acquisition and judgment module and a control module;
the signal acquisition and judgment module is used for acquiring CAN network working state data on a vehicle in real time so as to judge the current working state of the CAN network and generate a first control signal corresponding to the CAN network in a data signal transmission state and a second control signal corresponding to the CAN network in an idle state;
and the control module is used for controlling the working state of the vehicle-mounted equipment according to the first control signal or the second control signal output by the signal acquisition and judgment module.
Preferably, the signal acquisition and judgment module comprises a differential amplifier, and a non-inverting input end of the differential amplifier is electrically connected with a high-order data line of the CAN network to acquire a high-order voltage of the CAN network; the inverting input end of the differential amplifier is electrically connected with the low-level data line of the CAN network to obtain the low-level voltage of the CAN network; when the high-order voltage is greater than the low-order voltage, the differential amplifier outputs the first control signal, and when the high-order voltage is equal to the low-order voltage, the differential amplifier outputs the second control signal; the output end of the differential amplifier is electrically connected with the control module.
Preferably, the output end of the differential amplifier is electrically connected to the control module through a delay circuit, and the delay circuit is configured to prolong the duration of the first control signal and the second control signal.
Preferably, the delay circuit includes an RC delay circuit.
Preferably, the control module includes a first three-pole transistor and a second three-pole transistor connected in series, and the first three-pole transistor and the second three-pole transistor are used for amplifying and outputting a signal output by the differential amplifier.
Preferably, the first triode transistor is an MOS transistor, and the second triode transistor is a triode.
Compared with the prior art, the vehicle-mounted equipment control method and the vehicle-mounted equipment control system judge whether the vehicle is in the working state or not by checking whether the CAN network on the vehicle is in the data signal transmission state or not, and CAN accurately acquire the real-time working state of the vehicle by detecting the CAN network because the working state of the CAN network is consistent with the working state of the vehicle, so that the control signal for the vehicle-mounted equipment is generated by the detection result, and the aim of effectively controlling the vehicle-mounted equipment is achieved. In addition, compared with the method for acquiring signals from the vehicle ignition device, the method for acquiring signals from the CAN network has higher safety, and the vehicle CAN reserve an external interface for the CAN network without changing the overall design of the vehicle, so that the installation and the matching are convenient.
Drawings
Fig. 1 is a flowchart of a control method for an in-vehicle device according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a vehicle-mounted device control system in the embodiment of the invention.
Detailed Description
In order to explain technical contents, structural features, and objects and effects of the present invention in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
As shown in fig. 1, the present embodiment discloses a method for controlling a vehicle-mounted device based on CAN network detection, which determines a current operating state (start or stop) of a vehicle by detecting an operating state of a CAN network, so as to achieve a purpose of controlling the vehicle-mounted device. Specifically, the control method comprises the following steps:
s1: detecting whether the CAN network on the vehicle is in a data signal transmission state in real time, if so, entering S2, and if not, entering S3;
s2: generating a first control signal;
s3: generating a second control signal;
the first control signal is used for controlling the vehicle-mounted equipment to be in a first working state;
the second control signal is used for controlling the vehicle-mounted equipment to be in a second working state.
In this embodiment, because the vehicle is when starting the state, has data signal transmission in the CAN network, and when the vehicle was in flame-out state, the CAN network was in quiescent condition, no longer had data signal transmission, consequently, CAN judge the current state of vehicle through the data signal transmission state to in the CAN network, and then generate the first control signal and the second control signal that are used for controlling the mobile unit, reached the purpose of effective control mobile unit. Specifically, the first operating state may be an operating state or a state to be started, and the second operating state may be a closed state. In addition, compared with the method for acquiring signals from the vehicle ignition device, the method for acquiring signals from the CAN network has higher safety, and the vehicle CAN reserve an external interface for the CAN network without changing the overall design of the vehicle, so that the installation and the matching are convenient.
Further, the method for detecting whether the CAN network is in a data signal transmission state comprises the following steps:
respectively detecting the high-order voltage and the low-order voltage of a high-order data line and a low-order data line of the CAN network;
when the high-level voltage is greater than the low-level voltage, the CAN network is in a data signal transmission state;
when the high-order voltage is equal to the low-order voltage, the CAN network is in an idle state.
In addition, when the vehicle is in a starting state, the time interval of data signal transmission in the CAN network is not fixed, so that the duration of the first control signal and the second control signal is prolonged in order to avoid misjudgment (misjudgment is that the vehicle is in a flameout state) caused by long time of the data signal transmission interval.
In order to effectively execute the above-mentioned vehicle-mounted device control method, as shown in fig. 2, another embodiment of the present invention further discloses a vehicle-mounted device control system based on CAN network detection, which includes a signal acquisition and judgment module 100 and a control module 101.
The signal collecting and judging module 100 is configured to collect the working state data of the CAN network on the vehicle in real time to judge the current working state of the CAN network, and generate a first control signal corresponding to the CAN network being in a data signal transmission state and a second control signal corresponding to the CAN network being in an idle state.
The control module 101 is configured to control a working state of the vehicle-mounted device according to the first control signal or the second control signal output by the signal collecting and determining module 100. The working principle of the vehicle-mounted device control system in this embodiment is described in detail in the vehicle-mounted device control method, and is not described herein again.
Specifically, the signal collecting and determining module 100 includes a differential amplifier a1, and a non-inverting input terminal of the differential amplifier a1 is electrically connected to a high-level data line H1 of the CAN network to obtain a high-level voltage CAN-H of the CAN network. The inverting input terminal of the differential amplifier a1 is electrically connected to the low-level data line H2 of the CAN network to obtain the low-level voltage CAN-L of the CAN network. When the high-order voltage CAN-H is larger than the low-order voltage CAN-L, the differential amplifier A1 outputs a first control signal, and when the high-order voltage CAN-H is equal to the low-order voltage CAN-L, the differential amplifier A1 outputs a second control signal; the output terminal of the differential amplifier a1 is electrically connected to the control module 101. For the CAN network on the vehicle, when the CAN network is in the idle state, the high-order voltage CAN-H is equal to the low-order voltage CAN-L, when the CAN network is in the data signal transmission state, the high-order voltage CAN-H is greater than the low-order voltage CAN-L, therefore, in this embodiment, the high-order voltage CAN-H and the low-order voltage CAN-L of the CAN network are collected and judged through a differential amplifier a1, if the CAN network is in the idle state, the differential amplifier a1 outputs a low voltage (second control signal), and if the CAN network is in the data signal transmission state, the differential amplifier a1 outputs a high level (first control signal). The control module 101 controls the in-vehicle apparatus in an on state or an off state based on the output of the differential amplifier a 1. More specifically, the high-order voltage CAN-H and the low-order voltage CAN-L enter the differential amplifier a1 through the current-limiting resistors R1 and R2, respectively, the non-inverting input terminal of the differential amplifier a1 is further electrically connected with a grounding resistor R3, and a feedback resistor R4 is further electrically connected between the output terminal and the inverting input terminal of the differential amplifier a 1.
Further, the output terminal of the differential amplifier a1 is electrically connected to the control module 101 through a delay circuit 102, and the duration of the first control signal and the duration of the second control signal are extended through the delay circuit 102. Preferably, the delay circuit 102 includes an RC delay circuit, and in particular, the RC delay circuit includes a delay resistor R6 and a delay capacitor C1 connected in parallel between the output terminal of the differential amplifier a1 and the input terminal of the control module 101.
Further, the control module 101 includes a first three-pole transistor Q1 and a second three-pole transistor Q2 connected in series, the first three-pole transistor Q1 and the second three-pole transistor Q2 are used for amplifying the signal output from the differential amplifier a1 and finally output from an output terminal OUT of the second three-pole transistor Q2. In the present embodiment, the first control signal and the second control signal output from the differential amplifier a1 are amplified in two stages by the first three-pole transistor Q1 and the second three-pole transistor Q2 to efficiently drive the in-vehicle device. Specifically, the first triode transistor Q1 is a MOS transistor, and the second triode transistor Q2 is a triode. More specifically, a current limiting resistor R7, R8 is provided between the first triode transistor Q1 and the power supply, and at the same time, the current limiting resistor R8 is a current limiting resistor between the second triode transistor Q2 and the power supply, and the signal output by the first triode transistor Q1 reaches the second triode transistor Q2 through the current limiting resistor R7. In addition, in order to prevent the electrical signal in the control module 101 from flowing back into the differential amplifier a1, a diode D1 and a current-limiting resistor R5 are connected in series between the first three-pole transistor Q1 and the output terminal of the differential amplifier a 1. Furthermore, the output end of the second three-pole transistor Q2 is also provided with a light emitting diode LED1 for signal indication.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the scope of the present invention, therefore, the present invention is not limited by the appended claims.

Claims (9)

1. A control method of vehicle-mounted equipment based on CAN network detection is characterized by comprising the following steps:
detecting whether the CAN network on the vehicle is in a data signal transmission state in real time, if so,
generating a first control signal; if not, generating a second control signal;
the first control signal is used for controlling the vehicle-mounted equipment to be in a first working state;
the second control signal is used for controlling the vehicle-mounted equipment to be in a second working state.
2. The CAN network detection-based on-vehicle device control method according to claim 1, wherein the method of detecting whether the CAN network is in a data signal transmission state includes:
respectively detecting the high-order voltage and the low-order voltage of a high-order data line and a low-order data line of the CAN network;
when the high-level voltage is greater than the low-level voltage, the CAN network is in a data signal transmission state;
and when the high-order voltage is equal to the low-order voltage, the CAN network is in an idle state.
3. The CAN network detection-based on-board device control method according to claim 2, wherein a duration of the first control signal and the second control signal is extended.
4. A vehicle-mounted equipment control system based on CAN network detection is characterized by comprising a signal acquisition and judgment module and a control module;
the signal acquisition and judgment module is used for acquiring CAN network working state data on a vehicle in real time so as to judge the current working state of the CAN network and generate a first control signal corresponding to the CAN network in a data signal transmission state and a second control signal corresponding to the CAN network in an idle state;
and the control module is used for controlling the working state of the vehicle-mounted equipment according to the first control signal or the second control signal output by the signal acquisition and judgment module.
5. The CAN network detection-based vehicle-mounted device control system according to claim 4, wherein the signal acquisition and judgment module comprises a differential amplifier, and a non-inverting input end of the differential amplifier is electrically connected with a high-order data line of the CAN network to obtain a high-order voltage of the CAN network; the inverting input end of the differential amplifier is electrically connected with the low-level data line of the CAN network to obtain the low-level voltage of the CAN network; when the high-order voltage is greater than the low-order voltage, the differential amplifier outputs the first control signal, and when the high-order voltage is equal to the low-order voltage, the differential amplifier outputs the second control signal; the output end of the differential amplifier is electrically connected with the control module.
6. The CAN-network-detection-based vehicle-mounted device control system of claim 5, wherein the output end of the differential amplifier is electrically connected to the control module through a delay circuit, and the delay circuit is configured to extend the duration of the first control signal and the second control signal.
7. The CAN-network-detection-based in-vehicle device control system of claim 6, wherein the delay circuit comprises an RC delay circuit.
8. The CAN network detection-based on-board device control system according to claim 5, wherein the control module includes a first three-pole transistor and a second three-pole transistor connected in series, and the first three-pole transistor and the second three-pole transistor are configured to amplify and output a signal output from the differential amplifier.
9. The CAN network detection-based on-board device control system of claim 8, wherein the first triode transistor is a MOS transistor and the second triode transistor is a triode.
CN202110952075.XA 2021-08-18 2021-08-18 Vehicle-mounted equipment control method and system based on CAN network detection Pending CN113665506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110952075.XA CN113665506A (en) 2021-08-18 2021-08-18 Vehicle-mounted equipment control method and system based on CAN network detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110952075.XA CN113665506A (en) 2021-08-18 2021-08-18 Vehicle-mounted equipment control method and system based on CAN network detection

Publications (1)

Publication Number Publication Date
CN113665506A true CN113665506A (en) 2021-11-19

Family

ID=78543840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110952075.XA Pending CN113665506A (en) 2021-08-18 2021-08-18 Vehicle-mounted equipment control method and system based on CAN network detection

Country Status (1)

Country Link
CN (1) CN113665506A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1962452A1 (en) * 2007-02-22 2008-08-27 Omron Europe B.V. A method, a system, a bus master module and a test module for testing the termination of a differential serial communication bus
JP2012148717A (en) * 2011-01-20 2012-08-09 Yupiteru Corp Power supply control device
JP2014104937A (en) * 2012-11-29 2014-06-09 Denso Corp Electronic controller
WO2019178842A1 (en) * 2018-03-23 2019-09-26 深圳市锐明技术股份有限公司 Automobile, and vehicle-mounted monitoring device and vehicle signal detection circuit thereof
WO2020022387A1 (en) * 2018-07-26 2020-01-30 日置電機株式会社 Signal generation device and signal reading system
US20200205080A1 (en) * 2018-12-25 2020-06-25 Sumitomo Wiring Systems, Ltd. In-vehicle communication device
GB202007397D0 (en) * 2020-05-19 2020-07-01 Vitesco Tech Gmbh Device and method for detecting termination in communication unit in vehicle
CN112838971A (en) * 2019-11-22 2021-05-25 恩智浦有限公司 CAN communication under cable breaking condition
US11063561B1 (en) * 2020-07-29 2021-07-13 Amazing Microelectronic Corp. Receiver circuit with input common mode voltage sensing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1962452A1 (en) * 2007-02-22 2008-08-27 Omron Europe B.V. A method, a system, a bus master module and a test module for testing the termination of a differential serial communication bus
JP2012148717A (en) * 2011-01-20 2012-08-09 Yupiteru Corp Power supply control device
JP2014104937A (en) * 2012-11-29 2014-06-09 Denso Corp Electronic controller
WO2019178842A1 (en) * 2018-03-23 2019-09-26 深圳市锐明技术股份有限公司 Automobile, and vehicle-mounted monitoring device and vehicle signal detection circuit thereof
WO2020022387A1 (en) * 2018-07-26 2020-01-30 日置電機株式会社 Signal generation device and signal reading system
US20200205080A1 (en) * 2018-12-25 2020-06-25 Sumitomo Wiring Systems, Ltd. In-vehicle communication device
CN112838971A (en) * 2019-11-22 2021-05-25 恩智浦有限公司 CAN communication under cable breaking condition
GB202007397D0 (en) * 2020-05-19 2020-07-01 Vitesco Tech Gmbh Device and method for detecting termination in communication unit in vehicle
US11063561B1 (en) * 2020-07-29 2021-07-13 Amazing Microelectronic Corp. Receiver circuit with input common mode voltage sensing

Similar Documents

Publication Publication Date Title
US10363825B2 (en) Method, battery management system and vehicle for charging awakening
CN107487201B (en) Charging wake-up method, battery management system and vehicle
CN103481844B (en) A kind of in-vehicle electronic system, vehicle electronic device method for managing power supply and automobile
CN205190105U (en) Detection apparatus for car ACC signal
CN1808150B (en) Vehicle battery protection method having power supply noise signal mode analysis function and apparatus therefor
CN109309375A (en) One kind being based on monolithic processor controlled POE power supply system
EP2161858B1 (en) Optical receiver circuit
CN113665506A (en) Vehicle-mounted equipment control method and system based on CAN network detection
JP5878729B2 (en) Electronic control unit
CN213705184U (en) Safety detection device and system for charging connection of electric equipment
JP2010199953A (en) Optical reception circuit, optical reception device, and method of protecting optical reception circuit
CN116466131A (en) Power detection circuit and energy storage device
CN215894889U (en) Control circuit capable of detecting short circuit break of LED, charging seat and electric vehicle
CN216718534U (en) Voltage sampling circuit and voltage sampling system
CN113696842B (en) Multimedia display power supply and transmission control system based on CAN network
CN215526451U (en) Vehicle-mounted camera hardware diagnosis device
CN113665505B (en) Vehicle-mounted multimedia display system based on CAN network
CN211577382U (en) Short circuit detection device and charging equipment
JP2014117077A (en) Usb voltage drop compensation circuit
CN108490294B (en) Heavy-duty car generator fault detection device and method
CN219248062U (en) Audio detection device
CN101407233B (en) Charging monitoring instrument for motor vehicle accumulator
CN112230037A (en) Voltage detection circuit and detection method of motor controller and automobile
CN211123074U (en) Electromagnetic compatibility testing device and equipment
US20120056611A1 (en) Connection detection circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211119

RJ01 Rejection of invention patent application after publication