CN103308115A - Method of effectively eliminating potential safety hazard of automotive digital oil meter - Google Patents

Method of effectively eliminating potential safety hazard of automotive digital oil meter Download PDF

Info

Publication number
CN103308115A
CN103308115A CN2012104338408A CN201210433840A CN103308115A CN 103308115 A CN103308115 A CN 103308115A CN 2012104338408 A CN2012104338408 A CN 2012104338408A CN 201210433840 A CN201210433840 A CN 201210433840A CN 103308115 A CN103308115 A CN 103308115A
Authority
CN
China
Prior art keywords
mcu
potential safety
safety hazard
sampling
array
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.)
Granted
Application number
CN2012104338408A
Other languages
Chinese (zh)
Other versions
CN103308115B (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.)
Xuchang University
Original Assignee
SCHOOL OF ELECTRICAL ENGINEERING XUCHANG UNVERSITY
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 SCHOOL OF ELECTRICAL ENGINEERING XUCHANG UNVERSITY filed Critical SCHOOL OF ELECTRICAL ENGINEERING XUCHANG UNVERSITY
Priority to CN201210433840.8A priority Critical patent/CN103308115B/en
Publication of CN103308115A publication Critical patent/CN103308115A/en
Application granted granted Critical
Publication of CN103308115B publication Critical patent/CN103308115B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Fluid Pressure (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

The invention relates to a method of effectively eliminating potential safety hazard of an automotive digital oil meter. The method comprises the following steps: firstly, the direct current of 12-24 V is supplied, after the direct current passes through an anti-transposition diode D1, the direct current is transmitted to a pressure sensor in an oil tank through a P-channel MOSFET (Metal-Oxide-Semiconductor Field Effect Transistor) tube SI2303, and a current signal of 4-20 mA is output after the pressure sensor passes through a transmitter; and secondly, output values of the pressure sensor are sampled at every 10 milliseconds by an MCU (Microprogrammed Control Unit) and are comprehensively analyzed, if an AD value is abnormal, the MOSFET tube is timely closed by the MCU, and meanwhile, the alarm information is transmitted to an automotive computer. According to the invention, the system has the advantages of high safety, sensitive response, rapid action and remarkable effect, and the system has very low false alarm rate due to adoption of a scientific filtering algorithm.

Description

A kind of method of effective elimination automobile numeral oil meter potential safety hazard
Technical field
The present invention relates to a kind of method of effective elimination automobile numeral oil meter potential safety hazard.
Background technology
Along with the development of automotive electronic technology, the automobile digitizing becomes a kind of trend gradually, also becomes automobile seller's a big attraction, and the digitizing upgrading of automobile has become the unremitting pursuit of automaker.Wherein the digitizing of automobile oil gauge has also obtained many achievements.Wherein major part adds the AD sampling module at traditional oils float-type simulation oil meter and finishes, and this kind method is not real total digitalization, is a kind of half-way house.At present, the automobile oil plant remote monitoring adopts pressure sensor of doing on the Yitong Passenger Train Co has replaced traditional oil float, really accomplished the total digitalization of oil meter, but pressure transducer is placed directly in the fuel tank of automobile and directly contacts with oil plant, and ifs circuit then exists very big potential safety hazard without particular design.
Existing scheme, finish method for digitizing traditional at oil float minor simulation oil meter interpolation AD sampling module, though there is not security risk, but because oil float mixes moving violent in fuel tank in the vehicle traveling process, add tap on the sub-potentiometer of oil float and shake kinetic friction for a long time and cause contact resistance to become big, these factors directly influence the accuracy of AD sampled value.
The digital improvement of most of automobile oil gauges is to finish by increasing the AD sampling module on oil float that tradition is crossed, though there is not security risk in this type of oil meter, but because oil float rocks in fuel tank acutely, add tap on the sub-potentiometer of oil float and shake kinetic friction for a long time and cause contact resistance to become big, cause the problem that measurement accuracy descends; Because filtering algorithm is bad, ubiquity rate of false alarm height.
At present, domestic being engaged in to the company of oil plant monitoring seldom, domestic more reasonable companies of doing do not take appropriate measures substantially at secure context.Domestic monitoring is primarily aimed at tank wagon to oil plant, and monitored object and control point are also different, and they do not exist pressure transducer to be directly installed on the problem of fuel tank internal.
Summary of the invention
The objective of the invention is to the oil plant of full-sized car or lorry is monitored, prevent that the driver from stealing oil midway, writing out falsely invoice, solve the security risk that exists when sensor is placed directly in the automotive oil tank oil measurement simultaneously.
For this reason, the present invention by the following technical solutions,
A kind of method of effective elimination automobile numeral oil meter potential safety hazard, at first, 12V~24V powered by direct current, through anti-connecing behind the anti-diode D1 through a P channel mosfet pipe SI2303, be sent to the pressure transducer in the fuel tank, pressure transducer is through being output as the current signal of 4mA~20mA behind the transmitter; Secondly, MCU is every the output valve of 10 milliseconds of once sampling pressure transducers, and it is carried out analysis-by-synthesis, and unusual if AD value occurs, MCU in time closes MOFET and manages, the car computer of simultaneously warning message being seen off; At last, pressure transducer receives the automobile power source power supply by P channel mosfet pipe SI2303, P channel mosfet pipe SI2303 is by a NPN triode and the totem driving that the PNP triode is formed, the low level conducting, MCU goes wrong or when cutting off the power supply, MOSFET pipe SI2303 can turn-off voluntarily; Described AD sampling module comprises one 150 ohm 1% precision metal film sampling resistors and a low-pass filter circuit, described filtering circuit comprises the direct earth capacitance of resistance and the 0.1uF of a 1K, it is as follows that described filtering circuit carries out sampling filter algorithm concrete steps: MCU is every 10 milliseconds of once sampling AD values, put it into array a[4] in, 40 milliseconds of 4 data sampling times; A[4] in data be averaging put into array b[5], totally 200 milliseconds of 5 data; With b[5] in data do in twos and to judge, if occur b[0 continuously]>4000, b[1]>4000, b[2]>4000 or b[1]>4000, b[2]>4000, b[3]>4000 or b[2]>4000, b[3]>4000, b[4]>4000 showing the sensor phenomenon that is short-circuited, the MCU output low level is to the CON end, turn-off MOSFET pipe SI2303, send warning message to car running computer simultaneously; Equally with b[5] in data do in twos and to judge, if occur b[0 continuously]<600, b[1]<600, b[2]<600 or b[1]<600, b[2]<600, b[3]<600 or b[2]<600, b[3]<600, b[4]<600 showing sensor generation breaking phenomena, the MCU output low level is to the CON end, turn-off MOSFET pipe SI2303, send warning message to car running computer simultaneously; Array a[4] and array b[5] adopt round-robin queue to deposit.
Described pressure transducer adopts American SS I company high-precision pressure sensor, 1 meter of range.
The MCU of described employing is the STM32F103RC processor, carries 12 AD.
Described filtering circuit is the RC low-pass filter circuit.
Pressure transducer of the present invention and MCU divide and open power supply, if the phenomenon of being short-circuited, MCU can in time cut off power supply, even MCU breaks down, the MOSFET pipe also can cut off automatically, system safe; The system response sensitivity is swift in motion, and effect is remarkable; Owing to adopted the filtering algorithm of science, system's mistake rate of false alarm is extremely low.
Description of drawings
Fig. 1 is pressure transducer feed circuit of the present invention.
Embodiment
A kind of method of effective elimination automobile numeral oil meter potential safety hazard, at first, 12V~24V powered by direct current, through anti-connecing behind the anti-diode D1 through a P channel mosfet pipe SI2303, be sent to the pressure transducer in the fuel tank, pressure transducer is through being output as the current signal of 4mA~20mA behind the transmitter; Secondly, MCU is every the output valve of 10 milliseconds of once sampling pressure transducers, and it is carried out analysis-by-synthesis, and unusual if AD value occurs, MCU in time closes MOFET and manages, the car computer of simultaneously warning message being seen off; At last, pressure transducer receives the automobile power source power supply by P channel mosfet pipe SI2303, P channel mosfet pipe SI2303 is by a NPN triode and the totem driving that the PNP triode is formed, the low level conducting, MCU goes wrong or when cutting off the power supply, MOSFET pipe SI2303 can turn-off voluntarily; Described AD sampling module comprises one 150 ohm 1% precision metal film sampling resistors and a low-pass filter circuit, described filtering circuit comprises the direct earth capacitance of resistance and the 0.1uF of a 1K, it is as follows that described filtering circuit carries out sampling filter algorithm concrete steps: MCU is every 10 milliseconds of once sampling AD values, put it into array a[4] in, 40 milliseconds of 4 data sampling times; A[4] in data be averaging put into array b[5], totally 200 milliseconds of 5 data; With b[5] in data do in twos and to judge, if occur b[0 continuously]>4000, b[1]>4000, b[2]>4000 or b[1]>4000, b[2]>4000, b[3]>4000 or b[2]>4000, b[3]>4000, b[4]>4000 showing the sensor phenomenon that is short-circuited, the MCU output low level is to the CON end, turn-off MOSFET pipe SI2303, send warning message to car running computer simultaneously; Equally with b[5] in data do in twos and to judge, if occur b[0 continuously]<600, b[1]<600, b[2]<600 or b[1]<600, b[2]<600, b[3]<600 or b[2]<600, b[3]<600, b[4]<600 showing sensor generation breaking phenomena, the MCU output low level is to the CON end, turn-off MOSFET pipe SI2303, send warning message to car running computer simultaneously; Array a[4] and array b[5] adopt round-robin queue to deposit.
Described pressure transducer adopts American SS I company high-precision pressure sensor, 1 meter of range.
The MCU of described employing is the STM32F103RC processor, carries 12 AD.
Described filtering circuit is the RC low-pass filter circuit.
The pressure transducer feed circuit as shown in Figure 1, DC is 12V~24V direct current, through the anti-laggard P channel mosfet of an anti-diode D1 pipe SI2303 that connects, the pressurization pressure sensor, pressure transducer is through exporting the current signal of 4mA~20mA behind the transmitter, R5 is 150 ohm of 1% precision metal film sampling resistor, and R4 and C1 constitute the RC filter network, and the AD port send the AD sampling channel of MCU.
The specific implementation process is that P channel mosfet pipe SI2303 drives the low level conducting by the totem that Q1 and Q3 form.MCU is by control CON end, and control MOSFET manages the SI2303 switch.
During the CON low level, totem output high level, MOSFET pipe SI2303 closes.If MCU goes wrong, Q2 base resistance R3 drags down the base potential of Q2, thereby has guaranteed reliably closing of MOSFET pipe SI2303.
The above embodiment has only expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (6)

1. method of effectively eliminating automobile numeral oil meter potential safety hazard, it is characterized in that, at first, 12V~24V powered by direct current, through anti-connecing behind the anti-diode D1 through a P channel mosfet pipe SI2303, be sent to the pressure transducer in the fuel tank, pressure transducer is through being output as the current signal of 4mA~20mA behind the transmitter; Secondly, MCU is every the output valve of 10 milliseconds of once sampling pressure transducers, and it is carried out analysis-by-synthesis, and unusual if AD value occurs, MCU in time closes MOFET and manages, the car computer of simultaneously warning message being seen off; At last, pressure transducer receives the automobile power source power supply by P channel mosfet pipe SI2303, P channel mosfet pipe SI2303 is by a NPN triode and the totem driving that the PNP triode is formed, the low level conducting, MCU goes wrong or when cutting off the power supply, MOSFET pipe SI2303 can turn-off voluntarily; Described AD sampling module comprises one 150 ohm 1% precision metal film sampling resistors and a low-pass filter circuit, described filtering circuit comprises the direct earth capacitance of resistance and the 0.1uF of a 1K, it is as follows that described filtering circuit carries out sampling filter algorithm concrete steps: MCU is every 10 milliseconds of once sampling AD values, put it into array a[4] in, 40 milliseconds of 4 data sampling times; A[4] in data be averaging put into array b[5], totally 200 milliseconds of 5 data; With b[5] in data do in twos and to judge, if occur b[0 continuously]>4000, b[1]>4000, b[2]>4000 or b[1]>4000, b[2]>4000, b[3]>4000 or b[2]>4000, b[3]>4000, b[4]>4000 showing the sensor phenomenon that is short-circuited, the MCU output low level is to the CON end, turn-off MOSFET pipe SI2303, send warning message to car running computer simultaneously; Equally with b[5] in data do in twos and to judge, if occur b[0 continuously]<600, b[1]<600, b[2]<600 or b[1]<600, b[2]<600, b[3]<600 or b[2]<600, b[3]<600, b[4]<600 showing sensor generation breaking phenomena, the MCU output low level is to the CON end, turn-off MOSFET pipe SI2303, send warning message to car running computer simultaneously; Array a[4] and array b[5] adopt round-robin queue to deposit.
2. the method for a kind of effective elimination automobile numeral oil meter potential safety hazard according to claim 1 is characterized in that MCU and pressure transducer be power supply separately, and pipe also can turn-off voluntarily even volume MOSFET appears asking in MCU, has improved reliability.
3. the method for a kind of effective elimination automobile numeral oil meter potential safety hazard according to claim 1 is characterized in that described AD sampling time interval is 10 milliseconds, array a[4], b[5] adopt round-robin queue to deposit.
4. the method for a kind of effective elimination automobile numeral oil meter potential safety hazard according to claim 1, it is characterized in that, to array b[5] if in data b[0 relatively appears in twos continuously]>4000, b[1]>4000, b[2]>4000 or b[1]>4000, b[2]>4000, b[3]>4000 or b[2]>4000, b[3]>4000, b[4]>4000 situation shows that short circuit accident has taken place pressure transducer, the method effectively reduces rate of false alarm.
5. the method for a kind of effective elimination automobile numeral oil meter potential safety hazard according to claim 1, it is characterized in that, to array b[5] if in data b[0 relatively appears in twos continuously]<600, b[1]<600, b[2]<600 or b[1]<600, b[2]<600, b[3]<600 or b[2]<600, b[3]<600, b[4]<600 show sensor generation breaking phenomena.
6. the method for a kind of effective elimination automobile numeral oil meter potential safety hazard according to claim 1 is characterized in that, the value of pressure transducer send MCU to carry out the AD sampling before through a RC low-pass filter circuit.
CN201210433840.8A 2012-11-02 2012-11-02 A kind of method of effective elimination Digital Automobile oil meter potential safety hazard Expired - Fee Related CN103308115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210433840.8A CN103308115B (en) 2012-11-02 2012-11-02 A kind of method of effective elimination Digital Automobile oil meter potential safety hazard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210433840.8A CN103308115B (en) 2012-11-02 2012-11-02 A kind of method of effective elimination Digital Automobile oil meter potential safety hazard

Publications (2)

Publication Number Publication Date
CN103308115A true CN103308115A (en) 2013-09-18
CN103308115B CN103308115B (en) 2016-05-11

Family

ID=49133594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210433840.8A Expired - Fee Related CN103308115B (en) 2012-11-02 2012-11-02 A kind of method of effective elimination Digital Automobile oil meter potential safety hazard

Country Status (1)

Country Link
CN (1) CN103308115B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1760646A (en) * 2005-09-16 2006-04-19 杨容涛 Digital method for measuring quantity of fuel oil in fuel tank of motor vehicle, and metering device
KR20090069554A (en) * 2007-12-26 2009-07-01 한국생산기술연구원 Water level detecting device using timer ic
CN102359803A (en) * 2011-09-22 2012-02-22 安徽江淮汽车股份有限公司 Indication control method of automobile fuel gauge
CN102452319A (en) * 2010-10-20 2012-05-16 芜湖华泰汽车仪表有限公司 Control method for automobile fuel gauge

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1760646A (en) * 2005-09-16 2006-04-19 杨容涛 Digital method for measuring quantity of fuel oil in fuel tank of motor vehicle, and metering device
KR20090069554A (en) * 2007-12-26 2009-07-01 한국생산기술연구원 Water level detecting device using timer ic
CN102452319A (en) * 2010-10-20 2012-05-16 芜湖华泰汽车仪表有限公司 Control method for automobile fuel gauge
CN102359803A (en) * 2011-09-22 2012-02-22 安徽江淮汽车股份有限公司 Indication control method of automobile fuel gauge

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邱淑贤 等: "汽车电子燃油表控制策略研究", 《吉林大学学报(信息科学版)》 *

Also Published As

Publication number Publication date
CN103308115B (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN101871804B (en) Method and device for displaying fuel quantity
CN106227122B (en) A kind of detection of vehicle mounted failure and early warning system
CN202827165U (en) Real-time vehicle speed control device
CN104369690B (en) One realizes voice and buzzer switchable dual pathways alarm device
CN103231656A (en) Vehicle instrument based on internet of things
CN103277671A (en) Gas cylinder margin monitoring device
CN105006165A (en) Automatic reminding method for realizing early warning at violation high-risk places on vehicle apparatus
CN102506943A (en) Fuel filling amount monitoring device
CN203063939U (en) Automatic collision avoidance system for automobile
CN201280070Y (en) Apparatus for implementing meter function collocation
CN202186331U (en) Automobile rearview mirror and vehicle-mounted detecting system
CN204055560U (en) A kind of automobile that can detect bearing circle error state
CN203957893U (en) Heavy motor vehicle LNG fuel surplus detects and read out instrument
CN103308115A (en) Method of effectively eliminating potential safety hazard of automotive digital oil meter
CN202728144U (en) Voice prompting device for automobile meter
CN102322910A (en) Oil consumption detection method for industrial fork truck
CN203962093U (en) A kind of engine motor oil liquid level real time monitoring device
CN201672948U (en) Instrument for measuring vehicle fuel consumption
CN202080134U (en) Automobile instrument with oil tank cover sealing and monitoring function
CN204309674U (en) One realizes voice and the switchable binary channel warning device of buzzer phone
CN103644932B (en) General automobile combination instrument function detection equipment
CN202101733U (en) Detection device of automobile oil level
CN203172447U (en) Vehicle instrument based on Internet of Things
CN201998887U (en) Multi-functional safe driving-Bao
CN204264134U (en) Train emergency braking detecting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160329

Address after: Weidu District Bayi Road 461000 Xuchang city Henan province Xuchang University No. 88

Applicant after: Xuchang College

Address before: 461000 School of electrical and information engineering, Xuchang University, Bayi Road, Henan, Xuchang, China

Applicant before: School of Electrical Engineering, Xuchang Unversity

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160511

Termination date: 20161102