Summary of the invention
Purpose of this disclosure is to provide detection methods and device that a kind of display of oil mass is abnormal, can determine saddle-shape fuel oil
Whether the oil mass of case shows abnormal.
According to the first aspect of the embodiment of the present disclosure, a kind of detection method that oil mass display is abnormal is provided, horse is applied to
Saddle fuel tank, the saddle-shape fuel tank includes main fuel tank and auxiliary fuel tank, comprising: obtains the main fuel tank internal combustion oil liquid respectively
The height of fuel level and the height referring to liquid level in the height in face and the auxiliary fuel tank, corresponding oil mass characterization parameter,
In, the reference liquid level is the fuel level when main fuel tank is connected to the auxiliary fuel tank;The oil mass characterization parameter is used for
Characterize oil mass;Determine whether oil mass is shown abnormal according to the oil mass characterization parameter of acquisition.
Optionally, the oil mass characterization parameter includes the corresponding resistance value of height of fuel level;It is described to obtain institute respectively
The height of fuel level and the height referring to liquid level in the height of fuel level and the auxiliary fuel tank are stated in main fuel tank, it is corresponding
Oil mass characterization parameter includes: to obtain in the main fuel tank in the corresponding first resistor value of height and the auxiliary fuel tank of fuel level
The corresponding second resistance value of the height of fuel level and the corresponding reference resistance value of height referring to liquid level.
Optionally, the oil mass characterization parameter according to acquisition determines that oil mass shows that whether abnormal includes: to meet
When following exceptional condition, determine that oil mass display is abnormal: the first resistor value and the second resistance value are all larger than described
Reference resistance value, and the first resistor value and second resistance value are unequal;Alternatively, the first resistor value and described
Any of two resistance values are less than or equal to the reference resistance value, and another is greater than the reference resistance value;Alternatively, institute
It states first resistor value and the second resistance value is respectively less than the reference resistance value, and the second resistance value is not 0.
Optionally, the method also includes: when determining that oil mass display is abnormal, issue prompt messages.
According to the second aspect of the embodiment of the present disclosure, a kind of detection device that oil mass display is abnormal is provided, horse is applied to
Saddle fuel tank, the saddle-shape fuel tank includes main fuel tank and auxiliary fuel tank, comprising: obtains module, obtains the main oil respectively
The height of fuel level and the height referring to liquid level, corresponding fuel level gauge in the height of fuel level and the auxiliary fuel tank in case
Levy parameter, wherein the reference liquid level is the fuel level when main fuel tank is connected to the auxiliary fuel tank;The oil mass characterization
Parameter is for characterizing oil mass;Processing module determines whether oil mass is shown abnormal according to the oil mass characterization parameter of acquisition.
Optionally, the processing module includes: the corresponding resistance of height that the oil mass characterization parameter includes fuel level
Value;The acquisition module includes: acquisition submodule, corresponding first electricity of the height for obtaining fuel level in the main fuel tank
The corresponding second resistance value of the height of fuel level and the height referring to liquid level are corresponding in resistance value and the auxiliary fuel tank
Reference resistance value.
Optionally, the processing module is used for when meeting following exceptional condition, determines that the oil mass display is abnormal: described
First resistor value and the second resistance value are all larger than the reference resistance value, and the first resistor value and the second resistance
It is worth unequal;Alternatively, any of the first resistor value and the second resistance value are less than or equal to the reference resistance
Value, and another is greater than the reference resistance value;Alternatively, the first resistor value and the second resistance value are respectively less than the ginseng
According to resistance value, and the second resistance value is not 0.
Optionally, described device further include: alarm module, for when determining that oil mass display is abnormal, described in triggering
Alarm module issues prompt messages.
In terms of according to the third of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, meter is stored thereon with
Calculation machine program realizes the oil mass display that embodiment of the present disclosure first aspect provides abnormal inspection when the program is executed by processor
Survey method.
According to the 4th of the embodiment of the present disclosure the aspect, a kind of detection device that oil mass display is abnormal is provided, comprising: this public affairs
The computer readable storage medium provided in terms of opening embodiment third;And one or more processor, for holding
Program in the row computer readable storage medium.
Through the above technical solutions, obtaining the height of fuel level and fuel level in the auxiliary fuel tank in the main fuel tank respectively
Height and height referring to liquid level, corresponding oil mass characterization parameter;The oil mass characterization parameter is for characterizing oil mass;According to obtaining
The oil mass characterization parameter taken determines whether oil mass is shown abnormal.In this way, avoid actual oil mass in saddle-shape fuel tank with
It shows the inconsistent problem of oil mass, improves the accuracy that oil mass is shown.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the disclosure.It should be understood that this place is retouched
The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
The disclosure can be applied to saddle-shape fuel tank, and Fig. 1 is according to a kind of saddle-shape fuel tank shown in the prior art
Structural schematic diagram, as shown in Figure 1, the saddle-shape fuel tank 10 includes main fuel tank 11, auxiliary fuel tank 12 and main fuel tank 11 and pair oil
The interconnecting part 13 of case 12 can be such that main fuel tank is connected to fuel oil in auxiliary fuel tank by the interconnecting part 13, and fuel level is such as when the connection
The straight line A indicated in Fig. 1.Wherein, it is equipped with main oil pump 111 in main fuel tank 11, is equipped with auxiliary oil pump 121, main oil pump in auxiliary fuel tank 12
111 are connected with auxiliary oil pump 121 by pipeline, and float 14 is equipped in main fuel tank and auxiliary fuel tank, which floats on fuel level
On, it follows the height change of fuel level and changes.
When the height of fuel level is higher than straight line A where float in main fuel tank and auxiliary fuel tank, pass through the master in main fuel tank
Engine oil of the oil pump to automobile;When the height of fuel level is straight line A where float in main fuel tank, main oil pump output
Most of fuel oil is used for outside to engine oil, and remaining sub-fraction fuel oil makes the combustion in auxiliary fuel tank for driving auxiliary oil pump
Oil is transported in main fuel tank, to guarantee that the height of fuel level in main fuel tank maintains at straight line A, until the fuel oil in auxiliary fuel tank
Until having supplied.
In addition, float is connected with slide rheostat, the corresponding slide rheostat of the float of the height of different fuel levels
Resistance value is different, to export different electric signals, and calculates corresponding oil mass according to the electric signal of output.
When the height of fuel level is greater than straight line A where float in main fuel tank and auxiliary fuel tank, in main fuel tank where float
The height of fuel level is consistent with the height of fuel level where float in auxiliary fuel tank, and therefore, the oil mass in main fuel tank is equal to pair
Oil mass in fuel tank, oil meter directly display oil mass;The height of fuel level is equal to or less than straight line where float in main fuel tank
A, when the height of fuel level where float is less than straight line A in auxiliary fuel tank, the height pair of fuel level where float in main fuel tank
The sum of the oil mass answered oil mass corresponding with the height of fuel level where float in auxiliary fuel tank is the oil mass shown on oil meter.
But when the height of fuel level where according to float calculates corresponding oil mass, float be likely to occur clamping stagnation,
Corrode or fall off etc. other damages the case where, the height of fuel level where leading to float and the presence of the height of practical fuel level
Difference shows the oil mass on oil meter abnormal so that fuel contents gauge calculates mistake.
The disclosure provides a kind of detection method and device that oil mass display is abnormal, according to the height of fuel level in main fuel tank
The height of fuel level and the height referring to liquid level in degree, auxiliary fuel tank, corresponding oil mass characterization parameter, which determines that oil mass is shown, is
No exception.It avoids the actual oil mass in saddle-shape fuel tank and shows the inconsistent problem of oil mass, improve what oil mass was shown
Accuracy.
The disclosure is described in detail below with reference to specific embodiment.
Fig. 2 is a kind of flow chart of detection method that oil mass display is abnormal shown according to an exemplary embodiment, such as Fig. 2
Shown, this method is applied to saddle-shape fuel tank, which includes main fuel tank and auxiliary fuel tank, comprising the following steps:
S201, the height and tested liquid for obtaining the height of fuel level and fuel level in auxiliary fuel tank in main fuel tank respectively
The height in face, corresponding oil mass characterization parameter.
In this step, which is the fuel level when main fuel tank is connected to the auxiliary fuel tank, oil mass characterization
Parameter is for characterizing oil mass.Float can be equipped in the main fuel tank, which follows the variation of fuel level and change, different
The float of the height of fuel level corresponds to different oil mass characterization parameters, and different oil mass characterization parameters corresponds to different oil masses.
The oil mass characterization parameter may include resistance value, the voltage value either to be converted by the resistance value perhaps current value or the oil
Amount itself.
Illustratively, which can be connected with slide rheostat, and the corresponding sliding of the float of the height of different fuel levels becomes
The resistance value for hindering device is different, to export different electric signals, and calculates corresponding oil mass according to the electric signal of output.
S202, determine whether oil mass is shown abnormal according to the oil mass characterization parameter of acquisition.
Wherein, when the oil mass characterization parameter includes resistance value, can determine whether oil mass is shown abnormal according to the resistance value.
Illustratively, the corresponding first resistor value of height of fuel level, auxiliary fuel tank internal combustion oil liquid in main fuel tank are obtained respectively
The corresponding second resistance value of the height in face and the corresponding reference resistance value of height referring to liquid level, according to the first resistor value,
The second resistance value and reference resistance value determine that whether oil mass is shown abnormal, determines that the oil mass shows whether Yi Chang condition can wrap
Include: first resistor value and second resistance value are all larger than the reference resistance value, and first resistor value and second resistance value are unequal;
Alternatively, any of first resistor value and second resistance value are less than or equal to reference resistance value, and another is greater than referring to electricity
Resistance value;Alternatively, first resistor value and second resistance value are respectively less than reference resistance value, and second resistance value is not 0.
By the above method, according to the height and ginseng of fuel level in the height of fuel level in main fuel tank, auxiliary fuel tank
According to the height of liquid level, corresponding oil mass characterization parameter determines whether oil mass is shown abnormal.Avoid the reality in saddle-shape fuel tank
The border oil mass problem inconsistent with display oil mass, improves the accuracy that oil mass is shown.
Fig. 3 is a kind of flow chart of detection method that oil mass display is abnormal shown according to an exemplary embodiment, such as Fig. 3
Shown, this method is applied to saddle-shape fuel tank, which includes main fuel tank and auxiliary fuel tank, in the present embodiment,
It is illustrated using resistance value as oil mass characterization parameter, the disclosure is not construed as limiting this, comprising the following steps:
The corresponding first resistor value of S301, the height for obtaining fuel level in the main fuel tank.
In this step, one kind which obtains is possible to be achieved in that, can be equipped in the main fuel tank floating
Son, the float connect slide rheostat, the height of the different fuel level in float place, the resistance of corresponding different slide rheostat
Value.
The corresponding second resistance value of S302, the height for obtaining fuel level in the auxiliary fuel tank.
In this step, one kind which obtains is possible to be achieved in that, can be equipped in the auxiliary fuel tank floating
Son, the float connect slide rheostat, the height of the different fuel level in float place, the resistance of corresponding different slide rheostat
Value.
The corresponding reference resistance value of S303, the height for obtaining the reference liquid level.
Wherein, which is the fuel level when main fuel tank is connected to the auxiliary fuel tank.
S304, determine whether oil mass is shown different according to the first resistor value, second resistance value and reference resistance value of acquisition
Often.
In this step, determine that oil mass shows whether abnormal one kind is possible and is achieved in that, the first resistor value,
When the second resistance value and the reference resistance value meet any one in following three conditions, determine that oil mass display is abnormal:
Condition one: the first resistor value and the second resistance value are all larger than the reference resistance value, and the first resistor value with
Second resistance value is unequal.
Under this condition, it can be connected at height as main fuel tank with the fuel oil in auxiliary fuel tank referring to where liquid level, institute
With main when the height of fuel level is all larger than the height referring to liquid level in the height of fuel level and auxiliary fuel tank in main fuel tank
The height of liquid level of fuel oil in fuel tank liquid level is consistent with the height of fuel level in auxiliary fuel tank.Accordingly, in first resistor value and the second electricity
When resistance value is all larger than reference resistance value, if first resistor value is equal with second resistance value, oil mass is shown normally;If first resistor
Value and second resistance value are unequal, then illustrate that oil mass display is abnormal.
Condition two: any of the first resistor value and the second resistance value are less than or equal to the reference resistance value, and
Another is greater than the reference resistance value.
Under this condition, it can be connected at height as main fuel tank with the fuel oil in auxiliary fuel tank referring to where liquid level, because
This, when the height of fuel level is all larger than referring to liquid level in the height of fuel level and auxiliary fuel tank in main fuel tank, main oil
The height of fuel level is equal in the height of fuel level and auxiliary fuel tank in case.Accordingly, first resistor value and second resistance value
When being all larger than reference resistance value, first resistor value is equal to second resistance value.Therefore, in first resistor value and second resistance value
Any one is less than or equal to reference resistance value, and when another is greater than the reference resistance value, determines that oil mass display is abnormal.
Condition three: the first resistor value and the second resistance value are respectively less than the reference resistance value, and the second resistance value is not
It is 0.
In the condition, join since the height of fuel level in the height of fuel level in main fuel tank and auxiliary fuel tank is respectively less than
According to liquid level height when, illustrate that the fuel oil in auxiliary fuel tank is all conveyed to main fuel tank, at this point, the oil mass in auxiliary fuel tank should be 0.
Accordingly, when first resistor value and second resistance value are respectively less than reference resistance value, if second resistance value is 0, illustrate that oil mass is aobvious
Show normal;If second resistance value is not 0, illustrate that oil mass display is abnormal.
In addition, it is contemplated that it is small to remain one when the oil mass in auxiliary fuel tank is all transported in main fuel tank, in auxiliary fuel tank
Part oil mass, causing second resistance value practical is absolutely not 0, influences the abnormal definitive result of oil mass display.Therefore, in this public affairs
In another embodiment opened, a deviation range can be set to second resistance value, when second resistance value becomes in the deviation range
Then think that second resistance value is 0 when change.For example, the deviation range of the second resistance value can be set as 0~1 Ω, when second resistance value
When changing within the scope of 0~1 Ω, then it is assumed that second resistance value is 0;When second resistance value is greater than 1 Ω, then it is assumed that second resistance
Value is not 0.
It should be noted that in three conditions of the determination abnormal for the display of above-mentioned oil mass, due to actually detected environment
The influence of (such as vehicle location or driving status), causes fuel level to fluctuate, and is likely to result in the height pair of fuel level
The resistance value answered resistance value corresponding with the height of practical fuel level causes carrying out oil mass display exception really there are deviation
Periodically, there is mistake, such as in the travel speed difference of vehicle, exist up and down referring to the corresponding reference resistance value of height of liquid level
The problem of fluctuation.In order to solve this problem, in another embodiment of the disclosure, a deviation model can be arranged to reference resistance value
It encloses, shows the accuracy judged extremely to increase oil mass.Illustratively, which can be set as 9 Ω, and deviation range can be
The Ω of 8 Ω~10 is then the corresponding reference resistance value of height referring to liquid level when resistance value changes within the scope of the Ω of 8 Ω~10;
It is then not the corresponding reference resistance value of height referring to liquid level when resistance value is greater than 10 Ω or less than 8 Ω.
In addition, for improve determine oil mass show whether Yi Chang accuracy, vehicle can be in a horizontal position, and make speed
It is zero, to guarantee that the fuel oil in saddle-shape fuel tank remains static, reduces fuel level fluctuation to fuel oil liquid where float
The influence of the height and actual height difference in face reduces the deviation between the calculated value of oil mass and actual value, and then improves and determine
Oil mass show whether Yi Chang accuracy.
S305, when determining that oil mass display is abnormal, issue prompt messages.
In step, which can be speech prompt information or flashing light prompt information, wherein voice prompting letter
Breath can be issued by sound equipment, which can be issued by indicator light, the mountable oil meter in automobile of the indicator light
On.Illustratively, when determining that oil meter display is abnormal, prompt information or triggering that sound equipment issues " oil mass display is abnormal " be can trigger
Whether indicator light periodic flicker is prompted the display of user's oil mass abnormal, is gone wrong with the float overhauled in saddle-shape fuel tank.
It should be noted that the oil mass characterization parameter in the present embodiment is illustrated by taking resistance value as an example, the disclosure
It is not limited thereto, can also be the voltage value that is converted by the resistance value, perhaps current value or the resistance value are corresponding
Oil mass itself, specific embodiment can refer to above-mentioned steps S301 to S305, repeat no more.
It, can be according in the corresponding first resistor value of height of fuel level in main fuel tank, auxiliary fuel tank by the above method
It the corresponding second resistance value of the height of fuel level and corresponds to reference resistance value referring to the height of liquid level and determines that oil mass is shown and be
No exception issues prompt messages when oil mass shows abnormal.Avoid the actual oil mass and display in saddle-shape fuel tank
The inconsistent problem of oil mass improves the accuracy that oil mass is shown, meanwhile, when determining that oil mass display is abnormal, issue the user with
Prompt messages.
Fig. 4 is a kind of block diagram of detection device that oil mass display is abnormal shown according to an exemplary embodiment, such as Fig. 4 institute
Show, is applied to saddle-shape fuel tank, which includes main fuel tank and auxiliary fuel tank, which includes:
Module 401 is obtained, obtains the height of the height of fuel level and fuel level in the auxiliary fuel tank in the main fuel tank respectively
Degree and referring to liquid level height, corresponding oil mass characterization parameter, wherein reference the liquid level be the main fuel tank and the auxiliary fuel tank company
Fuel level when logical;The oil mass characterization parameter is for characterizing oil mass;
Processing module 402 determines whether oil mass is shown abnormal according to the oil mass characterization parameter of acquisition.
Optionally, which includes the corresponding resistance value of height of fuel level;As shown in figure 5, the acquisition
Module 401 includes:
Acquisition submodule 4011, the corresponding first resistor value of height and the pair for obtaining fuel level in the main fuel tank
The corresponding reference resistance value of height of the corresponding second resistance value of the height of liquid level of fuel oil in fuel tank liquid level and the reference liquid level.
Optionally, which is used for when meeting following exceptional condition, determines that oil mass display is abnormal: this
One resistance value and the second resistance value are all larger than the reference resistance value, and the first resistor value and second resistance value are unequal;
Alternatively, any of the first resistor value and the second resistance value are less than or equal to the reference resistance value, and another is greater than
The reference resistance value;Alternatively, the first resistor value and the second resistance value are respectively less than the reference resistance value, and the second resistance value
It is not 0.
Optionally, as shown in fig. 6, the device 400 further include: alarm module 403, for determining that oil mass display is abnormal
When, it triggers the alarm module 403 and issues prompt messages.
According to above-mentioned apparatus, the height of fuel level and fuel level in the auxiliary fuel tank in the main fuel tank can be obtained respectively
Height and height referring to liquid level, corresponding oil mass characterization parameter, and according to the characterization parameter determine oil mass show whether
Abnormal, when determining that oil mass display is abnormal, triggering warning device issues warning note.Avoid the reality in saddle-shape fuel tank
The oil mass problem inconsistent with display oil mass, improves the accuracy that oil mass is shown, meanwhile, when determining that oil mass display is abnormal,
Issue the user with prompt messages.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 7 is the block diagram of a kind of electronic equipment 700 shown according to an exemplary embodiment.As shown in fig. 7, the electronics is set
Standby 700 may include: processor 701, memory 702, multimedia component 703, input/output (I/O) interface 704, Yi Jitong
Believe component 705.
Wherein, processor 701 is used to control the integrated operation of the electronic equipment 700, with complete above-mentioned oil mass show it is different
All or part of the steps in normal detection method.Memory 702 is for storing various types of data to support in the electronics
The operation of equipment 700, these data for example may include any application program or side for operating on the electronic equipment 700
The instruction of method and the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..
The memory 702 can realize by any kind of volatibility or non-volatile memory device or their combination, such as quiet
State random access memory (Static Random Access Memory, abbreviation SRAM), the read-only storage of electrically erasable
Device (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), it is erasable to compile
Journey read-only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM), may be programmed read-only storage
Device (Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as
ROM), magnetic memory, flash memory, disk or CD.Multimedia component 703 may include screen and audio component.Wherein
Screen for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may include
One microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in storage
Device 702 is sent by communication component 705.Audio component further includes at least one loudspeaker, is used for output audio signal.I/O
Interface 704 provides interface between processor 701 and other interface modules, other above-mentioned interface modules can be keyboard, mouse,
Button etc..These buttons can be virtual push button or entity button.Communication component 705 is for the electronic equipment 700 and other
Wired or wireless communication is carried out between equipment.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field
Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication
Component 705 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 700 can be by one or more application specific integrated circuit
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member
Part is realized, for executing the abnormal detection method of above-mentioned oil mass display.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction, example are additionally provided
It such as include the memory 702 of program instruction, above procedure instruction can be executed by the processor 701 of electronic equipment 700 on to complete
The abnormal detection method of the oil mass display stated.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure
Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case where shield, can be combined in any appropriate way, in order to avoid unnecessary repetition, the disclosure to it is various can
No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought equally should be considered as disclosure disclosure of that.