CN107884023A - A kind of fuel gauge test circuit, device and method - Google Patents

A kind of fuel gauge test circuit, device and method Download PDF

Info

Publication number
CN107884023A
CN107884023A CN201710914945.8A CN201710914945A CN107884023A CN 107884023 A CN107884023 A CN 107884023A CN 201710914945 A CN201710914945 A CN 201710914945A CN 107884023 A CN107884023 A CN 107884023A
Authority
CN
China
Prior art keywords
fuel
formula
values
fuel gauge
sensor
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
CN201710914945.8A
Other languages
Chinese (zh)
Other versions
CN107884023B (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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201710914945.8A priority Critical patent/CN107884023B/en
Publication of CN107884023A publication Critical patent/CN107884023A/en
Application granted granted Critical
Publication of CN107884023B publication Critical patent/CN107884023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/80Arrangements for signal processing
    • G01F23/802Particular electronic circuits for digital processing equipment

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

The invention discloses a kind of fuel gauge test circuit, including switch K1, pull-up resistor R1 and fuel sensor Rx;A kind of test device of fuel gauge test circuit, including power consumption control module are also disclosed(2), compensation AD value acquisition modules(3), sensors A D value acquisition modules(4)And processor(1);In addition, a kind of fuel oil method of testing of fuel gauge test device is also disclosed.The fuel gauge test circuit of the present invention, device and method, modulus (AD, Analog to Digital) is received using the acquisition precision of fuel sensor, improves the precision of fuel sensor data acquisition.

Description

A kind of fuel gauge test circuit, device and method
Technical field
The present invention relates to automobile fuel gauge technical field, and in particular to a kind of fuel gauge test circuit, device and method.
Background technology
Fuel oil signal in vehicle complete vehicle only has instrument use, most absolutely when entire vehicle design is installed in order to save cost It is that directly sensor signal is linked into instrument in the case of number, without car body controller (BCM, Body Control Module Signal Pretreatment), instrument directly gather fuel sensor data and shown by inter-process.Although without The scheme for crossing BCM processing saves cost, but can bring a series of problems:Reference voltage source is not used, reduces fuel oil sensing The precision of device data acquisition;If improving acquisition precision, it is necessary to using high-precision power supply and reference voltage base, can carry again The cost of high product.
The content of the invention
Present invention solves the technical problem that being to provide a kind of fuel gauge test circuit, device and method, sensed using fuel oil The acquisition precision of device receives modulus (AD, Analog to Digital), improves the precision of fuel sensor data acquisition.
To achieve the above object, the present invention provides a kind of fuel gauge test circuit, including switch K1, pull-up resistor R1 and combustion Oil sensor Rx, switch K1, pull-up resistor R1 and the fuel sensor Rx are connected in series, and the switch K1 connects power supply, The fuel sensor Rx ground connection;The pull-up resistor R1 both ends are connected with offset voltage measurement circuit, and the offset voltage is surveyed The resistance R3 and electric capacity C3 as filter action are connected with examination circuit;The fuel sensor Rx both ends are connected with sensor electricity Measurement circuit is pressed, the resistance R2 and electric capacity C2 as filter action are connected with the sensor voltage measurement circuit.
Further, described switch K1 is relay.
In addition, the present invention also provides a kind of fuel gauge test device, including compensation AD values acquisition module, sensors A D values are adopted Collect module and processor;The processor is connected with compensation AD values acquisition module and sensors A D value acquisition modules respectively;Institute The collection that compensation AD values acquisition module is used for the AD values at pull-up resistor R1 both ends is stated, the sensors A D values acquisition module is used to fire The collection of the AD values at oil sensor Rx both ends, the processor are used to control compensation AD values acquisition module and the collection of sensors A D values Module works and computing compensation AD values acquisition module and the AD values of sensors A D values acquisition module collection.
Further, in addition to power consumption control module, the processor are connected with power consumption control module and control power consumption control Molding block is worked, and the power consumption control module is powered for whole fuel gauge test device.
In addition, the present invention also provides a kind of fuel oil weight testing method using fuel gauge test device, comprise the following steps:
S1, open switch K1;
S2, sensors A D value acquisition modules(4)Gather the AD values AD2 at fuel sensor Rx both ends;
S3, compensation AD value acquisition modules(3)Gather the AD values AD3 at pull-up resistor R1 both ends;
S4, processor(1)According to Rx algorithmic formula computing Rx resistance.
Further, the algorithmic formula of the Rx is
Further, formulaDerivation is as follows:
The voltage U2 calculation formula at fuel sensor Rx both ends are:(Formula one), wherein Δ is AD points The maximum numeric value of resolution, Uref are reference voltage;
The voltage U3 calculation formula at pull-up resistor R1 both ends are:(Formula two), wherein Δ is a/d resolution Maximum numeric value, Uref is reference voltage;
Following conversion relation be present in U2 and U3:(Formula three);
Formula one, formula two are substituted into formula three and can obtain
Further, there is delay in the step S2, and time delay is 15ms ~ 30ms.
Further, the time delay of the step S2 is 20ms.
Further, the cycle that described switch K1 is opened is 30s.
The beneficial effect that the present invention realizes mainly have it is following some:Offset voltage p-wire is set in fuel gauge test circuit Road, fuel gauge test device are provided with compensation AD value acquisition modules, directly can test or be calculated pull-up resistor R1 both ends Voltage calculate fuel sensor Rx resistances, without directly calculating fuel sensor Rx resistances using supply voltage calculating, It is inaccurate that fuel sensor Rx resistances are calculated caused by power supply precision can be avoided low;Add filter circuit so that compensation AD It is worth acquisition module, the voltage at the R1 both ends that sensors A D values acquisition module gathers, the test of fuel sensor Rx both end voltages or AD Value test is more accurate, so as to which the remaining fuel of fuel tank value finally calculated is more accurate;Rx computing the resistor values formula carries out equivalent replacement, keeps away Exempt to be influenceed by la tension de reference Uref est precision, and avoided the need for controller and carry out multiple multiplication and division computing, aggravated processor Load, influence the speed of service;The fuel oil weight testing method of fuel gauge test device sets delay step, and delay causes pull-up resistor R1, fuel sensor Rx are stable, so as to which test result is more accurate.
Brief description of the drawings
Fig. 1 is the electrical block diagram of the intermediate fuel oil table test device of the embodiment of the present invention one;
Fig. 2 is the modular structure schematic diagram of the intermediate fuel oil table test device of the embodiment of the present invention two;
Fig. 3 is the intermediate fuel oil table method of testing schematic flow sheet of the embodiment of the present invention three;
Fig. 4 is a kind of remaining fuel of fuel tank and fuel sensor Rx resistance corresponding relation figures in the embodiment of the present invention three.
Description of reference numerals:1- processors, 2- power consumption control modules, 3- compensation AD value acquisition modules, 4- sensors A D values Acquisition module.
Accompanying drawing being given for example only property explanation, it is impossible to be interpreted as the limitation to this patent;It is attached in order to more preferably illustrate the present embodiment Scheme some parts to have omission, zoom in or out, do not represent the size of actual product;To those skilled in the art, Some known features and its explanation may be omitted and will be understood by accompanying drawing;Same or analogous label corresponds to same or similar Part;Term the being given for example only property explanation of position relationship described in accompanying drawing, it is impossible to be interpreted as the limitation to this patent.
Embodiment
For the ease of it will be appreciated by those skilled in the art that being carried out below in conjunction with accompanying drawing and embodiment to the present invention further It is described in detail.
Embodiment one
Referring to Fig. 1, a kind of fuel gauge test circuit, including switch K1, pull-up resistor R1 and fuel sensor Rx, the switch K1, pull-up resistor R1 and fuel sensor Rx are connected in series, and the switch K1 connects power supply, and the fuel sensor Rx connects Ground, a loop is shaped as so as to switch K1, pull-up resistor R1 and fuel sensor Rx series connection.Switch K1 is a relay system The switch of work.
Pull-up resistor R1 both ends are connected with offset voltage measurement circuit, after resistance R3 and electric capacity C3 series connection with pull-up resistor R1 Parallel connection, resistance R3 and electric capacity C3 composition filter circuit, by filter circuit gather pull-up resistor R1 both end voltages be on The AD values AD3 at pull-up resistor R1 both ends is more accurate;The fuel sensor Rx both ends are connected with sensor voltage measurement circuit, resistance It is in parallel with fuel sensor Rx after R2 and electric capacity C2 series connection, R2 and electric capacity C2 composition filter circuits, pass through.Filter circuit to adopt The fuel sensor Rx both end voltages of collection are that the AD values AD2 at fuel sensor Rx both ends is more accurate.
During work, switch K1, pull-up resistor R1 and fuel sensor Rx composition series circuits, supply voltage are clipped in pull-up electricity Hinder on R1 and fuel sensor Rx, pull-up resistor R1 can be tested by the offset voltage measurement circuit at pull-up resistor R1 both ends The voltage U3 at both ends or the voltage for calculating pull-up resistor R1 both ends indirectly by testing the AD values AD3 at pull-up resistor R1 both ends U3;Equally, fuel sensor Rx both ends can be tested by the sensor voltage measurement circuit at fuel sensor Rx both ends The voltage U2 or voltage U2 for calculating fuel sensor Rx both ends indirectly by testing fuel sensor Rx AD values AD2.
Because known to pull-up resistor R1 resistance, and fuel sensor Rx and pull-up resistor R1 series connection is in circuit, so Fuel sensor can be calculated by the voltage U2 at the fuel sensor Rx both ends measured, the voltage U3 at pull-up resistor R1 both ends Rx resistance size, so as to be drawn by the oil mass corresponding relation in fuel sensor Rx size and automotive oil tank in fuel tank Oil mass value is simultaneously shown in the instrument of vehicle.
Because the voltage at pull-up resistor R1 both ends is directly tested or be calculated to the present embodiment to calculate fuel sensor Rx Resistance, do not calculated using supply voltage to calculate fuel sensor Rx resistances directly, it is possible to avoid power supply precision is low from leading The calculating fuel sensor Rx resistances of cause are inaccurate;Filter circuit is added in other the present embodiment so that the voltage at R1 both ends, Fuel sensor Rx both end voltages are tested or the test of AD values is more accurate.
Embodiment two
Referring to Fig. 2, a kind of fuel gauge test device, including power consumption control module 2, compensation AD values acquisition module 3, sensors A D Be worth acquisition module 4 and processor 1, processor 1 respectively with power consumption control module 2, compensation AD values acquisition module 3 and sensors A D values Acquisition module 4 is connected.
During work, the processor 1 is used to control compensation AD values acquisition module 3 and sensors A D values acquisition module 4 to work. Power consumption control module 2 is used for the power supply of whole fuel gauge test device;Compensate AD values acquisition module 3 and pull-up resistor R1 both ends Offset voltage measurement circuit connects, and gathers the AD values AD3 at pull-up resistor R1 both ends;The sensors A D values acquisition module 4 with The sensor voltage measurement circuit connection at fuel sensor Rx both ends, and gather the AD values AD2 at fuel sensor Rx both ends;Processing The AD2 that the AD3 and sensors A D values acquisition module 4 that device 1 gathers computing compensation AD values acquisition module 3 are gathered, obtains Rx resistance Value, so as to draw the oil mass value in fuel tank by the oil mass corresponding relation in fuel sensor Rx size and automotive oil tank and show Show in the instrument of vehicle.
Embodiment three
Referring to Fig. 3, a kind of fuel oil weight testing method of fuel gauge test device, including step in detail below:
S1, switch K1 is opened, the cycle of unlatching is 30s, i.e., switch K1 is opened once per 30s, and switch K1 completes follow-up after opening Step, closed until subsequent step is fully completed switch K1;
S2, sensors A D values acquisition module 4 gather the AD value AD2 at fuel sensor Rx both ends, and the step, which exists, to be postponed, during delay Between be 15ms ~ 30ms, preferably 20 ms, it is stable by postponing pull-up resistor R1, fuel sensor Rx, tied so as to test Fruit is more accurate;
S3, compensation AD values acquisition module 3 gather the AD values AD3 at pull-up resistor R1 both ends;
S4, processor 1 are according to fuel sensor Rx algorithmic formulaComputing Rx resistance.
Fuel sensor Rx algorithmic formulaDerivation it is as follows:
The voltage U2 calculation formula at fuel sensor Rx both ends are:(Formula one), wherein Δ is AD points The maximum numeric value of resolution, UrefFor reference voltage;
The voltage U3 calculation formula at pull-up resistor R1 both ends are:(Formula two), wherein Δ is a/d resolution Maximum numeric value, UrefFor reference voltage;
Following conversion relation be present in U2 and U3:(Formula three);
Formula one, formula two are substituted into formula three and can obtain
Simplifying the calculation formula of resistance for obtaining fuel sensor Rx is:
Fuel sensor Rx resistance is obtained by above-mentioned steps, so as to pass through fuel sensor Rx size and automobile oil Oil mass corresponding relation in case draws the oil mass value in fuel tank and is shown in the instrument of vehicle, for example, passing through Fig. 4 and table 1 Remaining fuel of fuel tank and fuel sensor Rx resistance corresponding relations, can obtain remaining fuel of fuel tank.
Table 1, a kind of remaining fuel of fuel tank and fuel sensor Rx resistance mapping tables
Rx resistances/Ω 25 40 65 90 117 230
Fuel Oil Remaining/L 50 40 30 20 10 3
It is the wherein specific implementation of the present invention above, its description is more specific and detailed, but can not therefore be interpreted as Limitation 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, this hair is not being departed from On the premise of bright design, various modifications and improvements can be made, these obvious alternative forms belong to the present invention's Protection domain.

Claims (10)

  1. A kind of 1. fuel gauge test circuit, it is characterised in that:It is described including switch K1, pull-up resistor R1 and fuel sensor Rx Switch K1, pull-up resistor R1 and fuel sensor Rx are connected in series, and the switch K1 meets power supply, the fuel sensor Rx Ground connection;The pull-up resistor R1 both ends are connected with offset voltage measurement circuit, and work is connected with the offset voltage measurement circuit For the resistance R3 and electric capacity C3 of filter action;The fuel sensor Rx both ends are connected with sensor voltage measurement circuit, described The resistance R2 and electric capacity C2 as filter action are connected with sensor voltage measurement circuit.
  2. 2. fuel gauge test circuit according to claim 1, it is characterised in that:Described switch K1 is relay.
  3. A kind of 3. test device for the fuel gauge test circuit of claim 1 or 2, it is characterised in that:Adopted including compensation AD values Collect module(3), sensors A D value acquisition modules(4)And processor(1);The processor(1)Respectively mould is gathered with compensation AD values Block(3)With sensors A D value acquisition modules(4)It is connected;The compensation AD value acquisition modules(3)For pull-up resistor R1 both ends AD values collection, the sensors A D value acquisition modules(4)For the collection of the AD values at fuel sensor Rx both ends, the place Manage device(1)AD value acquisition modules are compensated for controlling(3)With sensors A D value acquisition modules(4)Work and computing compensates AD values Acquisition module(3)With sensors A D value acquisition modules(4)The AD values of collection.
  4. 4. fuel gauge test device according to claim 1, it is characterised in that:Also include power consumption control module(2), it is described Processor(1)With power consumption control module(2)Connect and control power consumption control module(2)Work, the power consumption control module(2)With Powered in whole fuel gauge test device.
  5. 5. the fuel oil method of testing of the fuel gauge test device according to claim 3 or 4, it is characterised in that including following Step:
    S1, open switch K1;
    S2, sensors A D value acquisition modules(4)Gather the AD values AD2 at fuel sensor Rx both ends;
    S3, compensation AD value acquisition modules(3)Gather the AD values AD3 at pull-up resistor R1 both ends;
    S4, processor(1)According to Rx algorithmic formula computing Rx resistance.
  6. 6. fuel gauge method of testing according to claim 5, it is characterised in that:The algorithmic formula of the Rx is
  7. 7. fuel gauge method of testing according to claim 6, it is characterised in that:Formula Derivation is as follows:
    The voltage U2 calculation formula at fuel sensor Rx both ends are:(Formula one), wherein Δ It is the maximum numeric value of a/d resolution, UrefFor reference voltage;
    The voltage U3 calculation formula at pull-up resistor R1 both ends are:(Formula two), wherein Δ is The maximum numeric value of a/d resolution, UrefFor reference voltage;
    Following conversion relation be present in U2 and U3:(Formula three);
    Formula one, formula two are substituted into formula three and can obtain
  8. 8. fuel gauge method of testing according to claim 5, it is characterised in that:There is delay in the step S2, during delay Between be 15ms ~ 30ms.
  9. 9. fuel gauge method of testing according to claim 8, it is characterised in that:The time delay of the step S2 is 20ms。
  10. 10. fuel gauge method of testing according to claim 5, it is characterised in that:The cycle that described switch K1 is opened is 30s。
CN201710914945.8A 2017-09-30 2017-09-30 Fuel gauge test circuit, device and method Active CN107884023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710914945.8A CN107884023B (en) 2017-09-30 2017-09-30 Fuel gauge test circuit, device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710914945.8A CN107884023B (en) 2017-09-30 2017-09-30 Fuel gauge test circuit, device and method

Publications (2)

Publication Number Publication Date
CN107884023A true CN107884023A (en) 2018-04-06
CN107884023B CN107884023B (en) 2020-10-16

Family

ID=61781185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710914945.8A Active CN107884023B (en) 2017-09-30 2017-09-30 Fuel gauge test circuit, device and method

Country Status (1)

Country Link
CN (1) CN107884023B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109540254A (en) * 2018-10-10 2019-03-29 惠州市德赛西威汽车电子股份有限公司 A kind of fuel oil for vehicles overmeasure computation method based on voltage ratio
CN113124953A (en) * 2020-01-16 2021-07-16 广州汽车集团股份有限公司 Metering method and device for displaying oil amount in automobile fuel gauge and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2646907A1 (en) * 1989-05-09 1990-11-16 Jaeger Device for measuring the level and/or volume of liquid in a tank
CN201060548Y (en) * 2007-06-28 2008-05-14 上海德科电子仪表有限公司 Improved circuit for improving A/D sampling precision of vehicle
CN202002697U (en) * 2011-03-14 2011-10-05 重庆矢崎仪表有限公司 Fuel gauge signal collection circuit
KR20120006700A (en) * 2010-07-13 2012-01-19 콘티넨탈 오토모티브 시스템 주식회사 Apparatus for processing input signal of sensor
CN204330079U (en) * 2014-12-31 2015-05-13 北京圣庄科技有限公司 A kind of conductivity sensor circuit for measuring oil tank internal liquid level
CN106092358A (en) * 2016-06-13 2016-11-09 潍柴动力股份有限公司 A kind for the treatment of method and apparatus of resistance sensor signal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2646907A1 (en) * 1989-05-09 1990-11-16 Jaeger Device for measuring the level and/or volume of liquid in a tank
CN201060548Y (en) * 2007-06-28 2008-05-14 上海德科电子仪表有限公司 Improved circuit for improving A/D sampling precision of vehicle
KR20120006700A (en) * 2010-07-13 2012-01-19 콘티넨탈 오토모티브 시스템 주식회사 Apparatus for processing input signal of sensor
CN202002697U (en) * 2011-03-14 2011-10-05 重庆矢崎仪表有限公司 Fuel gauge signal collection circuit
CN204330079U (en) * 2014-12-31 2015-05-13 北京圣庄科技有限公司 A kind of conductivity sensor circuit for measuring oil tank internal liquid level
CN106092358A (en) * 2016-06-13 2016-11-09 潍柴动力股份有限公司 A kind for the treatment of method and apparatus of resistance sensor signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109540254A (en) * 2018-10-10 2019-03-29 惠州市德赛西威汽车电子股份有限公司 A kind of fuel oil for vehicles overmeasure computation method based on voltage ratio
CN113124953A (en) * 2020-01-16 2021-07-16 广州汽车集团股份有限公司 Metering method and device for displaying oil amount in automobile fuel gauge and related equipment

Also Published As

Publication number Publication date
CN107884023B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN103901345B (en) A kind of accumulator electric quantity detection apparatus and method
CN105467323A (en) Method for detecting the available traveling distance of electric vehicle power battery
CN102053226A (en) Device and method for testing internal resistance of battery
CN107884023A (en) A kind of fuel gauge test circuit, device and method
CN2766247Y (en) Ultra-capacitor tester
CN109085211B (en) Method for detecting victim area of clean room
CN106054081A (en) Lithium battery modeling method for SOC (State of Charge) estimation of electric vehicle power battery
CN102928109A (en) Signal collecting circuit
CN105629052B (en) Chip power-consumption real-time detection method
CN109062199A (en) Magnetic navigation sensor system and its control method
CN207215744U (en) A kind of humidity sensor chip with built-in calibration function
CN104267352A (en) Multifunctional electric vehicle battery management system
CN109061498A (en) A kind of battery dump energy metering chip and metering method
CN207114731U (en) A kind of BMS current detectings and current foldback circuit
CN202404157U (en) Circuit for detecting variable resistance value based on I/O port
CN208013301U (en) A kind of circuit board impedance device for fast detecting
CN207557344U (en) Non-linear power measures analysis recorder
CN101329215A (en) Output measuring circuit and measuring method of capacitance differential pressure transducer
CN112526433A (en) Lightning protection element tester calibration method based on timing voltage measurement method
CN104344857A (en) Thermal type automobile air flow meter for realizing temperature and humidity compensation by utilizing single-chip microcomputer
CN208282770U (en) Brake block detecting thickness circuit, brake system and motor vehicle
CN206235410U (en) A kind of electric automobile system for detecting temperature
CN204188776U (en) A kind of multifunctional motor-driven automobile batteries management system
CN108593133A (en) Detection circuit, the method, apparatus of the water temperature of handpiece Water Chilling Units in a kind of detection air-conditioning
CN106679738B (en) Low-power consumption gas flow measurement circuit with self-diagnostic function

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
GR01 Patent grant
GR01 Patent grant