CN106325265B - A kind of method for diagnosing faults of automobile body control module - Google Patents

A kind of method for diagnosing faults of automobile body control module Download PDF

Info

Publication number
CN106325265B
CN106325265B CN201610972480.7A CN201610972480A CN106325265B CN 106325265 B CN106325265 B CN 106325265B CN 201610972480 A CN201610972480 A CN 201610972480A CN 106325265 B CN106325265 B CN 106325265B
Authority
CN
China
Prior art keywords
load
circuit
fault
cpu
electric current
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.)
Active
Application number
CN201610972480.7A
Other languages
Chinese (zh)
Other versions
CN106325265A (en
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.)
Shandong Xinkong Intelligent Technology Co ltd
Original Assignee
Institute of Automation Shandong Academy of Sciences
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 Institute of Automation Shandong Academy of Sciences filed Critical Institute of Automation Shandong Academy of Sciences
Priority to CN201610972480.7A priority Critical patent/CN106325265B/en
Publication of CN106325265A publication Critical patent/CN106325265A/en
Application granted granted Critical
Publication of CN106325265B publication Critical patent/CN106325265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections

Abstract

The present invention relates to a kind of fault diagnosis circuit of automobile body control module and method, circuit includes and the concatenated sample resistance in relay contact end;VBAT provides power supply by relay for load;Operation amplifier circuit is connected at relay contact end and the midpoint of sample resistance;The output of operation amplifier circuit is connected with the port ADC of CPU, and the operating current for acquiring load carrys out the open-circuit fault or overload fault of decision circuitry;The output of operation amplifier circuit is connected with comparator circuit simultaneously;The output of comparator circuit is connected with the I/O port of CPU, and the short trouble of decision circuitry is carried out for capturing rising edge interruption.

Description

A kind of method for diagnosing faults of automobile body control module
Technical field
The present invention relates to technical field of automotive electronics, are in particular the fault diagnosis circuits of automobile body control module With method.
Background technique
In body of a motor car electronic system, there are car light, rain shaving electrical machine, Car window electric machine, backsight mirror motor, door-lock motors etc. Various electronic loads, at present generally using smart power chip or the load of relay driving car light and motor load.
After short trouble occurs, smart power chip can trigger excess temperature shutdown protection before loading blown fuse, work as core After piece temperature drops in normal range (NR), then the load of the turn on automatically road, if car body control module does not detect short circuit in time Failure simultaneously turns off smart power chip, will cause smart power chip turn off repeatedly, connect the road load, chip be in always compared with Under high operating temperature, the service life of smart power chip is reduced.It is different according to size of current when overload fault occurs, The time of smart power chip triggering excess temperature shutdown protection can not determine, if car body control module does not detect to overload in time Failure will also result in smart power chip and work under biggish electric current always before shutdown, can not only reduce intelligent power core The service life of piece can also consume rapidly battery capacity, electricity is caused to exhaust and can not start engine.
In load driving circuits based on relay, if overload occurs for relay load and short trouble, electric current can be significantly More than rated operational current, relay contact or electric current cabling is caused to be brought rapidly up, if do not detect in time overload and it is short Road failure, will cause relay contact or electric current cabling is burned out, and car body control module is caused to damage or shot-firing circuit plate Consequence.
Summary of the invention
The present invention to solve the above-mentioned problems, proposes fault diagnosis circuit and the side of a kind of automobile body control module Method.
To achieve the goals above, the present invention uses following scheme:
A kind of fault diagnosis circuit of the automobile body control module based on relay, which is characterized in that including with relay The concatenated sample resistance of device tip side;VBAT provides power supply by relay for load;In relay contact end and sample resistance Midpoint connect operation amplifier circuit;The output of operation amplifier circuit is connected with the port ADC of CPU, for acquiring load Operating current come the open-circuit fault or overload fault of decision circuitry;The output of operation amplifier circuit while and comparator circuit It is connected;The output of comparator circuit is connected with the I/O port of CPU, and the short circuit event of decision circuitry is carried out for capturing rising edge interruption Barrier.
The resistance value of the sample resistance is milliohm grade.
The amplification factor of the operational amplification circuit is (R1+R2)/R1.
The CPU carries out analog-to-digital conversion, according to the amplification factor computational load of analog-digital conversion result and operational amplification circuit Operating current.
A kind of fault diagnosis circuit of the automobile body control module based on intelligent control chip, which is characterized in that including With the sample resistance of the current feedback pin serial connection of intelligent control chip, connect in the midpoint of sample resistance and current feedback pin The port ADC for meeting CPU, the operating current for acquiring load carry out the open-circuit fault or overload fault of decision circuitry;In sampling electricity The midpoint of resistance and current feedback pin connects comparator circuit simultaneously;The output of comparator circuit is connected with the I/O port of CPU, Carry out the short trouble of decision circuitry for capturing rising edge interruption.
The CPU carries out analog-to-digital conversion, is calculated according to the current feedback coefficient of analog-digital conversion result and intelligent control chip The operating current of load.
In fault diagnosis circuit based on relay or the fault diagnosis circuit based on intelligent control chip, the comparator The threshold voltage of circuit is set as 0.9 times of comparator reference voltage, when comparing voltage value is more than 0.9 times of comparator reference voltage When, comparator exports high level;When comparing voltage value is lower than 0.9 times of comparator reference voltage, comparator exports low level.
A kind of method for diagnosing faults of automobile body control module, characterized by comprising:
When meeting load on-condition, connects load and simultaneously cycle timer is set, for periodically sampling load Operating current;When switching off load, stops timer and stop the periodic samples to loaded work piece electric current.
After connecting load, setting starting time, the electric current detected during starting is only used for open-circuit fault diagnosis, no It is diagnosed for overload fault.
During loading connection, if the I/O port of CPU captures rising edge interruption, comparator exports high level, it is believed that goes out Existing short trouble;
During loading connection, if the loaded work piece electric current of continuous three second periodicity acquisition is zero, and the end IO of CPU Mouth does not capture rising edge interruption, it is believed that open-circuit fault occurs;
After between on startup, if the loaded work piece electric current of continuous three second periodicity acquisition is all larger than twice of specified electricity Stream, and the I/O port of CPU does not capture rising edge interruption, it is believed that there is overload fault.
After there is short trouble or overload fault, switching off load.
After there is short trouble, open-circuit fault or overload fault, corresponding fault message is stored.
Beneficial effects of the present invention:
(1) operating current of real-time monitoring load, according to the situation of change of load current and drive scheme type selecting, accurately Judge overload fault, short trouble and open-circuit fault whether occurs;
(2) overload fault, short trouble and open-circuit fault are turned off in time and is protected;
(3) in the fault diagnosis circuit based on relay, sample resistance resistance value is very small, does not influence the driving energy in the channel Power.
Detailed description of the invention
Fig. 1 is of the invention based on relay current detection circuit figure;
Fig. 2 is circuit failure diagnosis method flow chart of the invention.
Specific embodiment:
The invention will be further described with embodiment with reference to the accompanying drawing.
As shown in Figure 1, be the fault diagnosis circuit of the automobile body control module of the invention based on relay, including with The concatenated sample resistance in relay contact end;VBAT provides power supply by relay for load;At relay contact end and sampling The midpoint of resistance connects operation amplifier circuit;The output of operation amplifier circuit is connected with the port ADC of CPU, for acquiring The operating current of load carrys out the open-circuit fault or overload fault of decision circuitry;The output of operation amplifier circuit while and comparator Circuit is connected;The output of comparator circuit is connected with the I/O port of CPU, and the short circuit of decision circuitry is carried out for capturing rising edge interruption Failure.
In order to make sample resistance have no substantial effect on the driving capability in the channel, Rs value very little is milliohm grade, sampling electricity The amplification factor of pressure is (R1+R2)/R1, so that being sent into the voltage value of the port ADC under rated operational current as ADC module ginseng Examine 1/15th or so of voltage VCC.
The operating current of relay load is calculated according to the analog-digital conversion result of ADC.The ADC precision of CPU is 10, ADC Reference voltage VCC be 5V, it is assumed that loaded work piece electric current is I, and the result of ADC is that D(D is digital value between 0-1023), lead to Cross the formula of ADC result computational load electric current are as follows:
I=(5 * R1 of D *)/(1024 * Rs * (R1+R2)) (1)
The threshold V T of comparator is generated by R5 and R6 partial pressure, VT is set as 0.9 times of VCC, and comparing voltage value is super When crossing 0.9 times of VCC, comparator exports high level, it is believed that short trouble occurs;When lower than 0.9 times of VCC, comparator output Low level.
Fault diagnosis circuit based on intelligent control chip, including the current feedback pin serial connection with intelligent control chip Sample resistance carries out voltage sampling using current feedback pin of the sample resistance to smart power chip, is connected to the ADC of CPU Port, the operating current for acquiring load carry out the open-circuit fault or overload fault of decision circuitry;It is anti-in sample resistance and electric current The midpoint for presenting pin connects comparator circuit simultaneously;The output of comparator circuit is connected with the I/O port of CPU, using interruption side Whether formula capture there is rising edge, and the short trouble of decision circuitry is carried out for capturing rising edge interruption.
According to the operating current of the analog-digital conversion result computational intelligence power chip of ADC.The ADC precision of CPU is 10, The reference voltage of ADC is 5V, it is assumed that loaded work piece electric current is I, and the current feedback coefficient of smart power chip is K, sample resistance Result for R, ADC is D, passes through the formula of ADC result computational load electric current are as follows:
I = (D * 5 ) / (1024 * R * K) (2)
In fault diagnosis circuit based on intelligent control chip, the threshold V T setting means of comparator be based on relay The setting means of device scheme is identical, and VT is set as 0.9 times of VCC, when comparing voltage value is more than 0.9 times of VCC, comparator output High level, it is believed that short trouble occur;When lower than 0.9 times of VCC, comparator exports low level.
Finally, proposing a kind of method for diagnosing faults of automobile body control module, comprising:
When meeting load on-condition, connects load and simultaneously cycle timer is set, for periodically sampling load Operating current;When switching off load, stops timer and stop the periodic samples to loaded work piece electric current.
After connecting load, setting starting time, the electric current detected during starting is only used for open-circuit fault diagnosis, no It is diagnosed for overload fault.
During loading connection, if the rising edge for capturing loaded work piece electric current interrupts, it is believed that short trouble occur;Shutdown Load and store the short trouble of road load.
During loading connection, if the loaded work piece electric current of continuous three second periodicity acquisition is zero, and I/O port On do not capture high level, it is believed that there is open-circuit fault and store the road load open-circuit fault;
After between on startup, if the loaded work piece electric current of continuous three second periodicity acquisition is all larger than twice of specified electricity Stream, and high level is not captured on I/O port, it is believed that there is overload fault, switching off load and the overload for storing road load Failure.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.

Claims (3)

1. a kind of method for diagnosing faults of automobile body control module, characterized by comprising: when meeting load on-condition, It connects and loads and cycle timer is set, for periodically sampling the operating current of load;When switching off load, stop timer And stopping is to the periodic samples of loaded work piece electric current;
After connecting load, setting starting time, the electric current detected during starting is only used for open-circuit fault diagnosis, is not used in Overload fault diagnosis;
During loading connection, if the I/O port of CPU captures rising edge interruption, comparator exports high level, it is believed that occurs short Road failure;
During loading connection, if the loaded work piece electric current of continuous three second periodicity acquisition is zero, and the I/O port of CPU does not have Capture rising edge interruption, it is believed that open-circuit fault occur;
After between on startup, if the loaded work piece electric current of continuous three second periodicity acquisition is all larger than twice of rated current, and And the I/O port of CPU does not capture rising edge interruption, it is believed that overload fault occurs.
2. according to the method described in claim 1, it is characterized by: after there is short trouble or overload fault, switching off load.
3. according to the method described in claim 1, it is characterized in that being deposited after there is short trouble, open-circuit fault or overload fault Store up corresponding fault message.
CN201610972480.7A 2016-10-27 2016-10-27 A kind of method for diagnosing faults of automobile body control module Active CN106325265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610972480.7A CN106325265B (en) 2016-10-27 2016-10-27 A kind of method for diagnosing faults of automobile body control module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610972480.7A CN106325265B (en) 2016-10-27 2016-10-27 A kind of method for diagnosing faults of automobile body control module

Publications (2)

Publication Number Publication Date
CN106325265A CN106325265A (en) 2017-01-11
CN106325265B true CN106325265B (en) 2019-01-22

Family

ID=57815947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610972480.7A Active CN106325265B (en) 2016-10-27 2016-10-27 A kind of method for diagnosing faults of automobile body control module

Country Status (1)

Country Link
CN (1) CN106325265B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109143113B (en) * 2018-07-24 2021-11-09 郑州云海信息技术有限公司 Method, device and system for monitoring power supply of PCIE external plug-in card

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0847158A (en) * 1994-07-27 1996-02-16 Matsushita Electric Ind Co Ltd Short-circuit
KR100575610B1 (en) * 1999-08-18 2006-05-03 매그나칩 반도체 유한회사 Port circuit
CN201571033U (en) * 2009-12-25 2010-09-01 中国电子科技集团公司第四十研究所 Solid state power controller
CN102635564A (en) * 2012-02-27 2012-08-15 石家庄市公共交通总公司 Air-conditioning blower control system of natural gas bus
CN203596599U (en) * 2013-11-13 2014-05-14 北京光景照明设计有限公司 Digital direct-current circuit breaker
CN203838302U (en) * 2013-11-30 2014-09-17 芜湖国睿兆伏电子有限公司 Fault detection system for charge-discharge circuit
CN206133303U (en) * 2016-10-27 2017-04-26 山东省科学院自动化研究所 Car body control module's failure diagnosis circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0847158A (en) * 1994-07-27 1996-02-16 Matsushita Electric Ind Co Ltd Short-circuit
KR100575610B1 (en) * 1999-08-18 2006-05-03 매그나칩 반도체 유한회사 Port circuit
CN201571033U (en) * 2009-12-25 2010-09-01 中国电子科技集团公司第四十研究所 Solid state power controller
CN102635564A (en) * 2012-02-27 2012-08-15 石家庄市公共交通总公司 Air-conditioning blower control system of natural gas bus
CN203596599U (en) * 2013-11-13 2014-05-14 北京光景照明设计有限公司 Digital direct-current circuit breaker
CN203838302U (en) * 2013-11-30 2014-09-17 芜湖国睿兆伏电子有限公司 Fault detection system for charge-discharge circuit
CN206133303U (en) * 2016-10-27 2017-04-26 山东省科学院自动化研究所 Car body control module's failure diagnosis circuit

Also Published As

Publication number Publication date
CN106325265A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2018126634A1 (en) Detection method and device of charging switch of electric vehicle
CN106990353B (en) Relay fault detection circuit and relay with same
CN102231553B (en) The battery management system that charged controls
CN110907853B (en) Load state detection circuit and method
CN108303588B (en) DC system insulation monitoring device based on unbalanced bridge
US9944188B2 (en) On-board electrical system and method for operating an on-board electrical system
CN105759221A (en) Power battery group management system with internal resistance monitoring function
CN103457301B (en) A kind of cell activation device and control method thereof
CN201548643U (en) Load open circuit or short circuit detecting system for vehicle controller
CN111638448A (en) Contactor fault detection device and method and vehicle
CN105676091A (en) Battery pack insulation detection apparatus and insulation detection method thereof
CN111796201A (en) Ground fault detection device
CN207481815U (en) Electric system above and below electric automobile high-voltage
CN106325265B (en) A kind of method for diagnosing faults of automobile body control module
CN102508123B (en) Detection method of abnormal discharge of negative ion generator
CN204101643U (en) Three-phase electricity condition detection apparatus and electric system
CN206133303U (en) Car body control module's failure diagnosis circuit
CN102832596B (en) Low voltage electrombile drive protecting circuit and low voltage electrombile drive protecting method
CN210838933U (en) Silicon chain open-circuit protection system for direct-current power supply of power system
CN205229425U (en) A cross under -voltage failure detector circuit for on -vehicle low pressure battery of electric automobile
CN115579999A (en) Battery operation management system and battery operation management method
CN111679216B (en) Device and method for detecting high-voltage connection reliability of power battery
CN113406486A (en) Relay detection circuit, detection method, relay, power system and automobile
CN219893021U (en) Secondary fusion switch with system fault diagnosis
CN114115194B (en) PWM type active high-voltage interlocking detection system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231130

Address after: 2518 Jining Zhongguancun Information Valley Innovation Center, No. 69 Haichuan Road, Wangyin Street, High tech Zone, Jining City, Shandong Province, 272199

Patentee after: Shandong Xinkong Intelligent Technology Co.,Ltd.

Address before: 250014 No. 19, ASTRI Road, Lixia District, Shandong, Ji'nan

Patentee before: INSTITUTE OF AUTOMATION, SHANDONG ACADEMY OF SCIENCES

TR01 Transfer of patent right