CN103308115B - A kind of method of effective elimination Digital Automobile oil meter potential safety hazard - Google Patents
A kind of method of effective elimination Digital Automobile oil meter potential safety hazard Download PDFInfo
- Publication number
- CN103308115B CN103308115B CN201210433840.8A CN201210433840A CN103308115B CN 103308115 B CN103308115 B CN 103308115B CN 201210433840 A CN201210433840 A CN 201210433840A CN 103308115 B CN103308115 B CN 103308115B
- Authority
- CN
- China
- Prior art keywords
- mcu
- potential safety
- safety hazard
- pressure sensor
- oil meter
- 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.)
- Expired - Fee Related
Links
Landscapes
- Measuring Fluid Pressure (AREA)
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
Abstract
The present invention relates to a kind of method of effective elimination Digital Automobile oil meter potential safety hazard, first, 12V~24V powered by direct current, through anti-connecing after anti-diode D1 through a P channel mosfet pipe SI2303, be sent to the pressure sensor in fuel tank, pressure sensor is output as the current signal of 4mA~20mA after transmitter; Secondly, MCU is every the output valve of 10 milliseconds of sampling should be carried out pressure sensors, and it is comprehensively analyzed, and abnormal if AD value occurs, MCU closes in time MOFET and manages, and send car running computer by warning message simultaneously. System of the present invention safe, system response is sensitive to be swift in motion, and effect is remarkable, and owing to having adopted the filtering algorithm of science, misreport of system rate is extremely low.
Description
Technical field
The present invention relates to a kind of method of effective elimination Digital Automobile oil meter potential safety hazard.
Background technology
Along with the development of automotive electronic technology, Digital Automobileization becomes a kind of trend gradually, also becomes automobile seller'sLarge attraction, the digitlization upgrading of automobile has become the unremitting pursuit of automaker. Wherein the digitlization of automobile oil gauge also obtainsMany achievements. Wherein major part adds AD sampling module and completes on traditional oils float-type simulation oil meter, this kind of methodNot being real total digitalization, is a kind of half-way house. At present, the automobile oil plant remote monitoring of doing on Yitong Passenger Train Co adopts pressureSensor has replaced traditional oil float, has really accomplished the total digitalization of oil meter, but pressure sensor is placed directly in the oil of automobileIn case, directly contact with oil plant, if circuit without particular design, exists very large potential safety hazard.
Existing scheme is added AD sampling module and is completed method for digitizing traditional on oil float minor simulation oil meter, thoughSo there is not security risk, but because oil float in vehicle traveling process is mixed moving violent in fuel tank, add the sub-potentiometer of oil floatOn tap shake for a long time dynamic friction and cause contact resistance to become large, these factors directly affect the accuracy of AD sampled value.
The digital improvement of most of automobile oil gauges is to complete by increasing AD sampling module on oil float of crossing in tradition,Although this type of oil meter does not exist security risk, because oil float rocks acutely in fuel tank, add on the sub-potentiometer of oil floatTap is shaken for a long time dynamic friction and is caused contact resistance to become large, causes the problem that measurement accuracy declines; Because filtering algorithm is bad,Ubiquity rate of false alarm is high.
At present, the domestic company that oil plant is monitored that is engaged in is little, and domestic more reasonable companies of doing are at secure context baseThis does not take appropriate measures. Domestic oil plant is monitored mainly for oil truck, monitored object and control point are also different, heDo not exist pressure sensor to be directly installed on the problem of fuel tank internal.
Summary of the invention
The object of the invention is to the oil plant of full-sized car or lorry to monitor, prevent that driver from stealing oil midway, writing out falselyInvoice solves the security risk existing when sensor is placed directly in automotive oil tank oil measurement simultaneously.
For this reason, the present invention by the following technical solutions,
A method for effective elimination Digital Automobile oil meter potential safety hazard, first, 12V~24V powered by direct current, through anti-connecingAfter anti-diode D1, through a P channel mosfet pipe SI2303, be sent to the pressure sensor in fuel tank, pressure passesSensor is output as the current signal of 4mA~20mA after transmitter; Secondly, MCU is every 10 milliseconds of sampling should be carried out pressureThe output valve of sensor, and it is comprehensively analyzed, abnormal if AD value occurs, MCU closes MOFET pipe in time,Send car running computer by warning message simultaneously; Finally, pressure sensor receives automobile electric by P channel mosfet pipe SI2303Source power supply, the totem that P channel mosfet pipe SI2303 is made up of a NPN triode and PNP triode drivesMoving, low level conducting, MCU goes wrong or when power-off, MOSFET pipe SI2303 can turn-off voluntarily; DescribedAD sampling module comprises one 150 ohm 1% precision metal film sampling resistors and a low-pass filter circuit, described filtered electricalRoad comprises the ground capacity of resistance and a 0.1uF of a 1K, and described filter circuit carries out sampling filter algorithm concrete stepsAs follows: MCU, every 10 milliseconds of sampling should be carried out AD values, puts 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; By b[5] in data do between two than; if there is continuously b[0] > 4000, b[1] > 4000, b[2] > 4000 or b[1] > 4000; b[2] > 4000, b[3] > 4000Or b[2] > 4000, b[3] > 4000, b[4] > 4000 shows the sensor phenomenon that is short-circuited, MCU output low level is to CONEnd, turn-offs MOSFET pipe SI2303, sends warning message to car running computer simultaneously; Equally by b[5] in data do between two than; if there is occurring continuously b[0] < 600, b[1] < 600, b[2] < 600 or b[1] < 600; b[2] < 600, b[3] < 600 orPerson b[2] < 600, b[3] < 600, b[4] < 600 shows sensor generation breaking phenomena, MCU output low level is to CON end,Turn-off MOSFET pipe SI2303, send warning message to car running computer simultaneously; Array a[4] and array b[5] employing round-robin queueDeposit.
Described pressure sensor adopts American SS I company high-precision pressure sensor, 1 meter of range.
The MCU of described employing is STM32F103RC processor, carries 12 AD.
Described filter circuit is RC low-pass filter circuit.
Pressure sensor of the present invention and MCU divide out power supply, if the phenomenon of being short-circuited, MCU can cut off power supply in timePower supply, even if MCU breaks down, MOSFET pipe also can cut off automatically, system safe; System response is sensitive movingDo rapidly, effect is remarkable; Owing to having adopted the filtering algorithm of science, system mistake rate of false alarm is extremely low.
Brief description of the drawings
Fig. 1 is pressure sensor power supply circuits of the present invention.
Detailed description of the invention
A method for effective elimination Digital Automobile oil meter potential safety hazard, first, 12V~24V powered by direct current, through oneIndividual anti-connecing after anti-diode D1 through a P channel mosfet pipe SI2303, is sent to the pressure sensor in fuel tank,Pressure sensor is output as the current signal of 4mA~20mA after transmitter; Secondly, MCU is every 10 milliseconds of samplings oneThe output valve of inferior pressure sensor, and it is comprehensively analyzed, abnormal if AD value occurs, MCU closes in timeMOFET pipe send car running computer by warning message simultaneously; Finally, pressure sensor is by P channel mosfet pipeSI2303 receives automobile power source power supply, and P channel mosfet pipe SI2303 is by a NPN triode and PNP tri-utmost pointsThe totem of pipe composition drives, low level conducting, and MCU goes wrong or when power-off, MOSFET pipe SI2303 can be voluntarilyTurn-off; Described AD sampling module comprises one 150 ohm 1% precision metal film sampling resistors and a low-pass filter circuit,Described filter circuit comprises the ground capacity of resistance and a 0.1uF of a 1K, and described filter circuit carries out sampling filter calculationMethod concrete steps are as follows: MCU, every 10 milliseconds of sampling should be carried out AD values, puts it into array a[4] in, 4 data samplings40 milliseconds of times; A[4] in data be averaging put into array b[5], totally 200 milliseconds of 5 data; By b[5] inData are done between two and are compared, if there is continuously b[0] > 4000, b[1] > 4000, b[2] > 4000 or b[1] > 4000, b[2] > 4000B[3] > 4000 or b[2] > 4000, b[3] > 4000, b[4] > 4000 shows the sensor phenomenon that is short-circuited, MCU output is lowLevel, to CON end, turn-offs MOSFET pipe SI2303, sends warning message to car running computer simultaneously; Equally by b[5] inData are done between two and are compared, if there is occurring continuously b[0] < 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 shows sensor generation breaking phenomena, MCU output low levelTo 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 sensor adopts American SS I company high-precision pressure sensor, 1 meter of range.
The MCU of described employing is STM32F103RC processor, carries 12 AD.
Described filter circuit is RC low-pass filter circuit.
As shown in Figure 1, DC is 12V~24V direct current to pressure sensor power supply circuits, prevents connecing anti-diode through oneThe laggard P channel mosfet of D1 pipe SI2303, pressurization pressure sensor, pressure sensor after transmitter, export 4mA~The current signal of 20mA, R5 is 150 ohm of 1% precision metal film sampling resistor, R4 and C1 form RC filter network,AD port send the AD sampling channel of MCU.
Specific implementation process is that the totem that P channel mosfet pipe SI2303 is made up of Q1 and Q3 drives, low electricityFlat conducting. MCU, by controlling CON end, controls MOSFET pipe SI2303 switch.
When 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 ensured reliably closing of MOSFET pipe SI2303.
The above embodiment has only expressed embodiments of the present invention, and it describes comparatively concrete and in detail, but can not be because ofThis and be interpreted as the restriction to the scope of the claims of the present invention. It should be pointed out that for the person of ordinary skill of the art,Do not depart under the prerequisite of the present invention's design, 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. a method of effectively eliminating Digital Automobile oil meter potential safety hazard, is characterized in that, first, and 12V~24V powered by direct current,Through anti-connecing after anti-diode D1 through a P channel mosfet pipe SI2303, the pressure being sent in fuel tank passesSensor, pressure sensor is output as the current signal of 4mA~20mA after transmitter; Secondly, MCU is every 10 millisecondsThe output valve of sampling should be carried out pressure sensor, and it is comprehensively analyzed, abnormal if AD value occurs, MCU closes in timeClose MOFET pipe, send car running computer by warning message simultaneously; Finally, pressure sensor is by P channel mosfet pipeSI2303 receives automobile power source power supply, and P channel mosfet pipe SI2303 is by a NPN triode and PNP tri-utmost pointsThe totem of pipe composition drives, low level conducting, and MCU goes wrong or when power-off, MOSFET pipe SI2303 can be voluntarilyTurn-off; AD sampling module comprises one 150 ohm 1% precision metal film sampling resistors and a low-pass filter circuit, instituteState the ground capacity that filter circuit comprises resistance and a 0.1uF of a 1K, described filter circuit carries out sampling filter algorithmConcrete steps are as follows: MCU, every 10 milliseconds of sampling should be carried out AD values, puts it into array a[4] in, when 4 data samplingsBetween 40 milliseconds; A[4] in data be averaging put into array b[5], totally 200 milliseconds of 5 data; By b[5] in numberCompare according to doing between two, if there is continuously b[0] > 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 shows the sensor phenomenon that is short-circuited, MCU output is lowLevel, to CON end, turn-offs MOSFET pipe SI2303, sends warning message to car running computer simultaneously; Equally by b[5] inData are done between two and are compared, if there is occurring continuously b[0] < 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 shows sensor generation breaking phenomena, MCU output low levelTo 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 Digital Automobile oil meter potential safety hazard according to claim 1, is characterized in that MCUWith separately power supply of pressure sensor, even if volume MOSFET appears asking in MCU, pipe also can turn-off voluntarily, has improved reliability.
3.The method of a kind of effective elimination Digital Automobile oil meter potential safety hazard according to claim 1, is characterized in that described ADSampling 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 Digital Automobile oil meter potential safety hazard according to claim 1, is characterized in that logarithmGroup b[5] if in data relatively there is continuously between two b[0] > 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] situation of > 4000 shows that pressure sensor has occurredShort circuit accident, the method effectively reduces rate of false alarm.
5. the method for a kind of effective elimination Digital Automobile oil meter potential safety hazard according to claim 1, is characterized in that logarithmGroup b[5] if in data relatively there is continuously between two b[0] < 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 shows sensor generation breaking phenomena.
6. the method for a kind of effective elimination Digital Automobile oil meter potential safety hazard according to claim 1, is characterized in that pressureThe value of sensor send MCU to carry out AD sampling before through a RC low-pass filter circuit.
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 CN103308115A (en) | 2013-09-18 |
CN103308115B true 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 (3)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100956851B1 (en) * | 2007-12-26 | 2010-05-11 | 한국생산기술연구원 | Water Level Detecting Device Using Timer IC |
-
2012
- 2012-11-02 CN CN201210433840.8A patent/CN103308115B/en not_active Expired - Fee Related
Patent Citations (3)
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 |
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)
Title |
---|
汽车电子燃油表控制策略研究;邱淑贤 等;《吉林大学学报(信息科学版)》;20100531;第28卷(第3期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103308115A (en) | 2013-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204228219U (en) | A kind of engineering truck oil tank fuel monitoring device | |
CN203561882U (en) | Novel vehicle remote positioning and fault diagnosis device | |
CN201179856Y (en) | Electric vehicle trouble meter display and sound alarm device | |
CN103308115B (en) | A kind of method of effective elimination Digital Automobile oil meter potential safety hazard | |
CN202182793U (en) | Gasoline filter resistance monitoring system | |
CN203957893U (en) | Heavy motor vehicle LNG fuel surplus detects and read out instrument | |
CN203293988U (en) | Oil on-line detection system for engineering machines | |
CN203260147U (en) | Temperature detection device for early fire in vehicle engine compartment | |
CN203746210U (en) | Natural gas heavy-type automobile combustion gas leakage alarm device | |
CN202994250U (en) | Remote monitoring device for vehicle tank | |
CN204116974U (en) | External boiler water level measuring and controlling device | |
CN203962093U (en) | A kind of engine motor oil liquid level real time monitoring device | |
CN203422422U (en) | Electric vehicle battery box insulation monitoring alarm system | |
CN201723339U (en) | Air filter alarm device for automobile | |
CN202080134U (en) | Automobile instrument with oil tank cover sealing and monitoring function | |
CN203133600U (en) | Marine engine room monitoring device | |
CN204226177U (en) | A kind of interlock control system of lubricant oil oil pump of feed water pump | |
CN203811378U (en) | Novel detector for gear case moniter | |
CN207437244U (en) | A kind of engine fuel oil system for monitoring oil pressure | |
CN203587180U (en) | Warning device of mine vehicle oil tank | |
CN201792927U (en) | Maintenance reminding equipment for motorcycle | |
CN201215201Y (en) | Pressure release valve capable of distance data transmission | |
CN205280185U (en) | Take magnetic induced shrinkage or elongation liquid level measurement device of hard alarm detecting function of liquid level | |
CN204055749U (en) | Intelligent braking protection system | |
CN204258837U (en) | A kind of vehicle bus failure detector |
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 |