CN110514268A - The oil mass of vehicle determines method, apparatus and computer equipment - Google Patents

The oil mass of vehicle determines method, apparatus and computer equipment Download PDF

Info

Publication number
CN110514268A
CN110514268A CN201910741436.9A CN201910741436A CN110514268A CN 110514268 A CN110514268 A CN 110514268A CN 201910741436 A CN201910741436 A CN 201910741436A CN 110514268 A CN110514268 A CN 110514268A
Authority
CN
China
Prior art keywords
oil mass
current
vehicle
oil
value
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.)
Pending
Application number
CN201910741436.9A
Other languages
Chinese (zh)
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.)
Jiangmen Dachangjiang Group Co Ltd
Original Assignee
Jiangmen Dachangjiang Group 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 Jiangmen Dachangjiang Group Co Ltd filed Critical Jiangmen Dachangjiang Group Co Ltd
Priority to CN201910741436.9A priority Critical patent/CN110514268A/en
Publication of CN110514268A publication Critical patent/CN110514268A/en
Pending legal-status Critical Current

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/22Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
    • G01F23/24Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of resistance of resistors due to contact with conductor fluid

Abstract

This application involves a kind of oil masses of vehicle to determine method, apparatus and computer equipment.This method comprises: obtaining target oil mass slope compensation value of the vehicle under current state;According to the current oil measurement value of the target oil mass slope compensation value and the vehicle, the actual oil mass of the vehicle is determined.Enable to the actual oil mass of identified vehicle more acurrate using this method.

Description

The oil mass of vehicle determines method, apparatus and computer equipment
Technical field
This application involves field of computer technology, determine method, apparatus and calculating more particularly to a kind of oil mass of vehicle Machine equipment.
Background technique
Usual vehicle in motion, can detect oil mass remaining in fuel tank, and when low on fuel, driver can be with In time to group refueling to prevent oil mass from not enough leading to not travel.Traditional oil mass detection method is by setting on fuel tank It sets fuel-quantity transducer to detect Fuel Oil Remaining, principle is by the way that a floating drum, the height of the floating drum is arranged in fuel tank internal Change with the height change of pasta, floating drum connects variable resistance by connecting rod can power transformation when the height of floating drum changes The resistance value of resistance also changes therewith, it is possible thereby to determine remaining oil mass according to the resistance value of variable resistance.
However, vehicle is in use, usually tilting of car body will cause due to road conditions etc..By taking motorcycle as an example, Vehicle is in the case where riding or stopping, such as turns round, and when beat side foot-stand, car body usually can run-off the straight, at this point, Fuel head can change therewith, lead to traditional oil mass detection method oil mass inaccuracy detected.
Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, the oil mass for providing a kind of vehicle that can be improved accuracy determines Method, apparatus, computer equipment and storage medium.
In a first aspect, the oil mass that the embodiment of the present application provides a kind of vehicle determines method, which comprises
Obtain target oil mass slope compensation value of the vehicle under current state;
According to the current oil measurement value of the target oil mass slope compensation value and the vehicle, the reality of the vehicle is determined Border oil mass.
The target oil mass slope compensation value that vehicle is obtained under current state in one of the embodiments, comprising:
Obtain the current tilt angle and the corresponding current oil measurement information of current oil mass of the vehicle;The current oil Measurement information is used to characterize the size of the current oil measurement value;
According to the current tilt angle, the current oil measurement information and preset angle oil mass corresponding relationship, really The fixed target oil mass slope compensation value of the vehicle under current state, the angle oil mass corresponding relationship are inclining for vehicle Rake angle, vehicle oil measurement information and oil mass offset between corresponding relationship.
The current oil mass according to the target oil mass slope compensation value and the vehicle in one of the embodiments, Measured value determines the actual oil mass of the vehicle, comprising:
The target oil mass slope compensation value and the current oil measurement value are overlapped, the practical oil is obtained Amount.
The current oil mass according to the target oil mass slope compensation value and the vehicle in one of the embodiments, Measured value, before the actual oil mass for determining the vehicle, comprising:
Obtain the corresponding current measurement electric signal of current oil mass of the vehicle;
The current measurement electric signal is passed through into analog-to-digital conversion ADC, generates the current oil measurement value.
In one of the embodiments, the method also includes: the actual oil mass is shown.
Second aspect, the embodiment of the present application provide a kind of oil mass determining device of vehicle, and described device includes: oil mass sensing Device and micro-control unit MCU;
The fuel-quantity transducer is used to obtain the current oil measurement value of the vehicle;
The MCU is used to obtain target oil mass slope compensation value of the vehicle under current state, and according to the target oil Slope compensation value and the current oil measurement value are measured, determines the actual oil mass of the vehicle.
Described device further includes obliquity sensor in one of the embodiments,;
The obliquity sensor is used to obtain the current tilt angle of the vehicle;
The MCU for obtaining the corresponding current oil measurement information of current oil mass, and according to the current tilt angle, The current oil measurement information and preset angle oil mass corresponding relationship determine the mesh of the vehicle under current state Oil mass slope compensation value is marked, the angle oil mass corresponding relationship is tilt angle, the oil measurement information of vehicle and the oil of vehicle Measure the corresponding relationship between offset.
The MCU is used for the target oil mass slope compensation value and the current oil mass in one of the embodiments, Measured value is overlapped, and obtains the actual oil mass.
The MCU is also used to obtain the corresponding current measurement of current oil mass of the vehicle in one of the embodiments, Electric signal, and the current measurement electric signal is passed through into analog-to-digital conversion ADC, generate the current oil measurement value.
Described device in one of the embodiments, further include: display unit;
The display unit is for showing the actual oil mass.
The third aspect, the embodiment of the present application provide a kind of computer equipment, including memory and processor, the memory It is stored with computer program, the processor performs the steps of when executing the computer program
Obtain target oil mass slope compensation value of the vehicle under current state;
According to the current oil measurement value of the target oil mass slope compensation value and the vehicle, the reality of the vehicle is determined Border oil mass.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer program, The computer program performs the steps of when being executed by processor
Obtain target oil mass slope compensation value of the vehicle under current state;
According to the current oil measurement value of the target oil mass slope compensation value and the vehicle, the reality of the vehicle is determined Border oil mass.
The oil mass of above-mentioned vehicle determines method, apparatus, computer equipment and storage medium, is obtained by oil mass determining device Target oil mass slope compensation value of the vehicle under current state, and according to the current oil mass of target oil mass slope compensation value and vehicle Measured value determines the actual oil mass of vehicle, so as to avoid in the case where inclination of vehicle, is directly surveyed by fuel-quantity transducer The situation of the inaccuracy of oil mass detection brought by measurement oil mass, by oil measurement value according under the current state of vehicle Target oil mass slope compensation value compensate or correct so that the actual oil mass of identified vehicle is more acurrate.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the oil mass determining device of vehicle in one embodiment;
Fig. 2 is that the oil mass for the vehicle that one embodiment provides determines the flow diagram of method;
Fig. 3 is that the oil mass for the vehicle that another embodiment provides determines the flow diagram of method;
Fig. 4 is that the oil mass for the vehicle that another embodiment provides determines the flow diagram of method;
Fig. 5 is that the oil mass for the vehicle that another embodiment provides determines the flow diagram of method;
Fig. 6 is the structural schematic diagram of the oil mass determining device for the vehicle that one embodiment provides;
Fig. 7 is the structural schematic diagram of the oil mass determining device for the vehicle that another embodiment provides;
Fig. 8 is the structural schematic diagram of the oil mass determining device for the vehicle that another embodiment provides;
Fig. 9 is the structural schematic diagram of the oil mass determining device for the vehicle that another embodiment provides;
Figure 10 is the structural schematic diagram of the oil mass determining device for the vehicle that another embodiment provides;
Figure 11 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
The oil mass of vehicle provided by the embodiments of the present application determines method, can be applied to the oil mass of vehicle as shown in Figure 1 In determining device.The oil mass determining device includes fuel-quantity transducer and micro-control unit (Micro Control Unit, abbreviation MCU), optionally, fuel-quantity transducer includes floating drum, connecting rod and variable resistance.Floating drum is built in fuel tank, and is stretched out by connecting rod Fuel tank is connected with variable resistance.When the fuel head in fuel tank changes, the height of floating drum changes therewith, to drive Connecting rod, so that the resistance value of variable resistance changes, MCU can be calculated according to the change in resistance situation of variable resistance Oil mass in oil drum.When fuel-quantity transducer detects the oil mass in oil drum, above-mentioned MUC can according to oil mass detected, in conjunction with Oil mass offset of the vehicle under current state, determines the actual oil mass of vehicle.
It will be understood by those skilled in the art that structure shown in Fig. 1, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
How the technical solution of the application and the technical solution of the application are solved with specific embodiment below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiments herein is described.
It should be noted that the executing subject of following methods embodiment can be the oil mass determining device of vehicle, the device It can be entity apparatus, be also possible to virtual bench, which can pass through the side of software, hardware or software and hardware combining Formula is implemented as some or all of of above-mentioned computer equipment.It is that oil mass is true with executing subject in following methods embodiment Determine to be illustrated for device.
Fig. 2 is that the oil mass for the vehicle that one embodiment provides determines the flow diagram of method.Fig. 2 is that the oil mass of vehicle is true Determine the detailed process that device determines the actual oil mass of the vehicle.As shown in Figure 2, which comprises
S102, target oil mass slope compensation value of the vehicle under current state is obtained.
Specifically, oil mass determining device can obtain vehicle oil mass offset corresponding under current state, optionally, Current state may be the state of run-off the straight, and oil mass determining device is using the oil mass offset as target oil mass slope compensation Value.It is alternatively possible to be that oil mass determining device reception other equipment detect, vehicle target corresponding under current state Oil mass slope compensation value;Be also possible to oil mass determining device according to the inclined direction and inclined degree of the heeling condition, calculate or Person finds out the target oil mass slope compensation value of vehicle, and the present embodiment obtains target oil mass slope compensation value to oil mass determining device Mode without limitation.Current state may be the state of vehicle run-off the straight, it is also possible to the not inclined state of vehicle.Its In, above-mentioned target oil mass slope compensation value can be specific oil mass value, such as X liter, be also possible to the ginseng of a compensating proportion Number, a such as percentage, also without limitation to this present embodiment.
S104, according to the current oil measurement value of the target oil mass slope compensation value and the vehicle, determine the vehicle Actual oil mass.
Specifically, oil mass determining device is according to above-mentioned target oil mass slope compensation value, to the current oil measurement value of vehicle It compensates or corrects, so that the actual oil mass of vehicle be calculated.Wherein, current oil measurement value can sense for oil mass The oil mass value that device measurement obtains.
In the present embodiment, oil mass determining device obtains target oil mass slope compensation value of the vehicle under current state, and root According to the current oil measurement value of target oil mass slope compensation value and vehicle, the actual oil mass of vehicle is determined, so as to avoid In the case where inclination of vehicle, the situation of oil mass detection inaccuracy brought by measurement oil mass is directly measured by fuel-quantity transducer, By the way that oil measurement value is compensated or is corrected according to the target oil mass slope compensation value under the current state of vehicle, so that The actual oil mass of identified vehicle is more acurrate.
Fig. 3 is that the oil mass for the vehicle that another embodiment provides determines the flow diagram of method.Fig. 3 is that oil mass determines dress Set the detailed process for obtaining target oil mass slope compensation value of the vehicle under current state.As shown in Figure 3, which comprises
S202, the current tilt angle and the corresponding current oil measurement information of current oil mass for obtaining the vehicle;It is described Current oil measurement information is used to characterize the size of the current oil measurement value.
Specifically, oil mass determining device can measure to obtain the current tilt angle of vehicle, it may include that first direction inclines Oblique degree, the inclined degree of second direction, the inclined degree of third direction and the inclined degree of fourth direction.It needs to illustrate It is that first direction and second direction are opposite both direction, is respectively directed to two side direction of left and right vehicle wheel;Third direction and the 4th Direction is opposite both direction, is respectively directed to the front-rear direction of vehicle.It is alternatively possible to by being arranged in oil mass determining device Obliquity sensor obtain vehicle current tilt angle, optionally, which can be acceleration transducer (G Sensor), gyroscope or optical angle detecting instrument.In addition, oil mass determining device can obtain current oil mass institute by measurement Corresponding current oil measurement information.The current oil measurement information can characterize the size of current oil measurement value.Optionally, The current oil measurement information can be the voltage assigned on the variable resistance that measurement obtains, and be also possible to pass through in variable resistance Electric current, can also be the current resistance value or root of the variable resistance being calculated according to the voltage on variable resistance The current oil measurement value being calculated according to voltage, the present embodiment do not limit this.Such as by variable resistance and one The fixed voltage of fixed resistance load, measures the voltage value divided on variable resistance, then calculates variable resistance according to voltage value Current resistance value.
S204, it is closed according to the current tilt angle, the current oil measurement information and preset angle oil mass are corresponding System, determines the target oil mass slope compensation value of the vehicle under current state, the angle oil mass corresponding relationship is institute State the corresponding relationship between the tilt angle of vehicle, the oil measurement information of the vehicle and oil mass offset.
Specifically, above-mentioned angle oil mass corresponding relationship be the tilt angle of vehicle, the current oil measurement information of vehicle and Corresponding relationship between oil mass offset, thus oil mass determining device can according to the current tilt angle of acquired vehicle and Current oil measurement information, is searched in preset angle oil mass corresponding relationship, thus find out current tilt angle and Target oil mass slope compensation value corresponding to current oil measurement information.Wherein, above-mentioned current oil measurement information, which can be, works as Current voltage, current flow, current resistance value or current oil measurement value under preceding state.Optionally, angle oil mass pair Should be related to can not limit this for one-to-one correspondence, one-to-many or many-one, the present embodiment.For example, working as above-mentioned current oil When measurement information is current resistance value, above-mentioned angle oil mass corresponding relationship can be as described in Table 1, wherein N generation Table natural number.Certainly, above-mentioned angle oil mass corresponding relationship can also be the corresponding relationship of smaller or bigger granularity, such as tilt The granularity of angle is 0.1 degree, and the granularity of oil mass offset is one thousandth, and to this, the present embodiment does not limit.
Table 1
Tilt angle Current resistance value Oil mass offset
It tilts 0 degree A 0%
1 degree of left bank Aa1 1%
2 degree of left bank Aa2 2%
3 degree of left bank Aa3 3%
4 degree of left bank Aa4 4%
Left bank N degree AaN AN%
1 degree of right bank Ab1 1.10%
2 degree of right bank Ab2 2.20%
3 degree of right bank Ab3 3.30%
4 degree of right bank Ab4 4.40%
Right bank N degree AbN BN%
Tilt forward and back 0 degree A 0.00%
1 degree of top rake Ac1 - 1%
2 degree of top rake Ac2 - 2%
3 degree of top rake Ac3 - 3%
4 degree of top rake Ac4 - 4%
Top rake N degree AcN CN%
1 degree of rear-inclined Ad1 - 1.10%
2 degree of rear-inclined Ad2 - 2.20%
3 degree of rear-inclined Ad3 - 3.30%
4 degree of rear-inclined Ad4 - 4.40%
Rear-inclined N degree AdN DN%
In the present embodiment, since the tilt angle, oil measurement information and oil mass that angle oil mass corresponding relationship is vehicle are mended The corresponding relationship between value is repaid, therefore oil mass determining device can obtain the current tilt angle and current oil measurement of vehicle Information, and according to the angle oil mass corresponding relationship, it determines and vehicle is in the matched target oil mass slope compensation of current state institute Value, so as to according to the current oil measurement value of target oil mass slope compensation value and vehicle under current state, determine with Matched, the more accurate actual oil mass of inclination of vehicle state and actual conditions institute.
Optionally, on the basis of above-mentioned each embodiment, step S104 be can specifically include: the target oil mass is inclined Oblique offset and the current oil measurement value are overlapped, and obtain the actual oil mass.Specifically, oil mass determining device can be with By current oil detected under the corresponding target oil mass slope compensation value of the current tilt angle of vehicle and current tilt angle Measurement is overlapped, to obtain the actual oil mass after compensating according to current tilt angle.Optionally, work as target When oil mass slope compensation value is the numerical value of a specific characterization oil mass, by target oil mass slope compensation value and current oil measurement Value superposition can be in current oil measurement value plus corresponding target oil mass slope compensation value.Wherein, which inclines Oblique offset can be positive value or negative value.Optionally, when target oil mass slope compensation value be compensating proportion, for example, one When a percentage, the oil mass for increasing the percentage on the basis of above-mentioned current oil measurement value can be.In the present embodiment, lead to It crosses and is overlapped target oil mass slope compensation value and current oil measurement value, obtain actual oil mass, ensuring actual oil mass standard It is more simple and easy to the correcting mode of actual oil mass while true, therefore it further saves resource, and improves The determination efficiency of actual oil mass.
Fig. 4 is that the oil mass for the vehicle that another embodiment provides determines the flow diagram of method.Fig. 4 is that oil mass determines dress Set the detailed process for determining current oil measurement value.On the basis of the above embodiments, before S102, as shown in figure 4, the side Method can also include:
S302, the corresponding current measurement electric signal of current oil mass for obtaining the vehicle.
It should be noted that the current measurement electric signal is the electric signal that current state measurement obtains, can be current Voltage signal or current flow signal.Specifically, the height of floating drum becomes therewith when the fuel head in fuel tank changes Change, so that the resistance value of variable resistance output changes, and further includes another solid in oil mass determining device to drive connecting rod Determine resistance, the fixed resistance and variable resistance series winding.Oil mass determining device exports one to the fixed resistance and variable resistance of series winding Then a fixed voltage acquires the current flow on the current voltage signal on above-mentioned variable resistance, or measurement variable resistance Signal.
S304, the current measurement electric signal is passed through to analog to digital conversion (Analog-to-Digital Converter, letter Claim ADC), generate the current oil measurement value.
Specifically, above-mentioned current measurement electric signal is passed through ADC by oil mass determining device, numerical value is converted to, then basis should The size of numerical value generates corresponding current oil measurement value.For example, above-mentioned numerical value can be combined fixed electricity by oil mass determining device The resistance value of resistance and above-mentioned fixed voltage calculate the corresponding current voltage value of the numerical value, are then calculated according to the current voltage value The current resistance value of the variable resistance, and then according to current resistance value, by searching for preset oil measurement value and output The corresponding relationship of resistance determines current oil measurement value.
In the present embodiment, oil mass determining device passes through the corresponding current measurement electric signal of current oil mass for obtaining vehicle, and Current measurement electric signal is converted into the calculating that numerical value carries out current oil measurement value later by ADC, determines current oil mass The mode of measured value is simple and easy, determines high-efficient, thereby reduces cost.
Optionally, on the basis of above-mentioned each embodiment, the method also includes: the actual oil mass is shown Show.Oil mass determining device can also be shown actual oil mass by display unit, therefore can be intuitively by actual oil mass User is showed, so that user grasps the situation of change of oil mass at any time, so as to avoid not travelling caused by low on fuel, So that driving safer.
For the ease of the understanding of those skilled in the art, this sentences a specific embodiment to vehicle provided by the present application Oil mass determine that method describes in detail, as shown in figure 5, this method may include:
S402, the corresponding current measurement electric signal of current oil mass for obtaining vehicle.
S404, the current measurement electric signal is passed through into analog-to-digital conversion, generates the current oil measurement value.
S406, the current tilt angle for obtaining the vehicle and current oil measurement information;The current oil measurement letter Cease the size for characterizing the current oil measurement value.
S408, it is closed according to the current tilt angle, the current oil measurement information and preset angle oil mass are corresponding System, determines the target oil mass slope compensation value of the vehicle under current state, the angle oil mass corresponding relationship is institute State the corresponding relationship between the tilt angle of vehicle, the oil measurement information of vehicle and oil mass offset.
S410, the target oil mass slope compensation value and the current oil measurement value are overlapped, obtain the reality Border oil mass.
S412, the actual oil mass is shown.
The working principle and technical effect that the oil mass of vehicle provided in this embodiment determines method as described in above-described embodiment, Details are not described herein.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in fig. 6, providing a kind of oil mass determining device of vehicle, described device includes: oil Quantity sensor 602 and microprocessing unit (Micro Control Unit, abbreviation MCU) 604.
Specifically, fuel-quantity transducer 602 is used to obtain the current oil measurement value of the vehicle.
MCU604, for obtaining target oil mass slope compensation value of the vehicle under current state, and according to the target oil Slope compensation value and the current oil measurement value are measured, determines the actual oil mass of the vehicle.
Fig. 7 is the structural schematic diagram of the oil mass determining device of vehicle provided by another embodiment.Optionally, above-mentioned On the basis of embodiment shown in fig. 6, described device further includes obliquity sensor 606.
Specifically, obliquity sensor 606 is used to obtain the current tilt angle of the vehicle.
MCU604 specifically can be used for obtaining the corresponding current oil measurement information of current oil mass, and ought be leaned forward according to described Rake angle, the current oil measurement information and preset angle oil mass corresponding relationship, determine the vehicle under current state The target oil mass slope compensation value, the angle oil mass corresponding relationship is the oil measurement of the tilt angle of vehicle, vehicle Corresponding relationship between information and oil mass offset.
In one embodiment, MCU604 specifically can be used for the target oil mass slope compensation value and the current oil mass Measured value is overlapped, and obtains the actual oil mass.
In one embodiment, as shown in figure 8, including ADC6041 in MCU604, MCU604 be can be also used for described in acquisition The corresponding current measurement electric signal of the current oil mass of vehicle, and the current measurement electric signal is passed through into ADC6041, described in generation Current oil measurement value.
Fig. 9 is the structural schematic diagram of the oil mass determining device of vehicle provided by another embodiment.Optionally, above-mentioned On the basis of Fig. 6, Fig. 7 or embodiment shown in Fig. 8, described device further includes display unit 608.
Specifically, display unit 608 is for showing the actual oil mass.Optionally, which can be with For the instrument board on vehicle, such as electronic instrument panel, the embodiment of the present application is to the type of display unit and without limitation.
Optionally, on that basi of the above embodiments, described device can also be as shown in Figure 10, including oil mass circuit for detecting 610;Oil mass circuit for detecting 610, for determining current oil measurement value according to the current oil measurement information.
Specific restriction about oil mass determining device may refer to the restriction that method is determined above for oil mass, herein not It repeats again.Modules in above-mentioned oil mass determining device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, internal structure chart can be as shown in figure 11.The calculating Machine equipment includes processor, memory, network interface, database, display screen and the input unit connected by system bus.Its In, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes non-volatile Property storage medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and database.This is interior Memory provides environment for the operation of operating system and computer program in non-volatile memory medium.The computer equipment Database is for storing oil mass offset.The network interface of the computer equipment can be used for connecting with external terminal by network Connect letter.To realize that a kind of oil mass determines method when the computer program is executed by processor.Optionally, which can To be server, it can be desktop computer, can be personal digital assistant, can also be other terminal devices, such as plate electricity Brain, mobile phone etc., can also be cloud or remote server, the embodiment of the present application to the concrete form of computer equipment not It limits.The display screen of the computer equipment can be liquid crystal display or electric ink display screen, the computer equipment Input unit can be the touch layer covered on display screen, be also possible to the key being arranged on computer equipment shell, trace ball Or Trackpad, it can also be external keyboard, Trackpad or mouse etc..Certainly, above-mentioned network interface, input unit and display screen It can also be not belonging to a part of computer equipment, can be the external equipment of computer equipment.
It will be understood by those skilled in the art that structure shown in Fig. 9, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
Obtain target oil mass slope compensation value of the vehicle under current state;
According to the current oil measurement value of the target oil mass slope compensation value and the vehicle, the reality of the vehicle is determined Border oil mass.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the current tilt angle and the corresponding current oil measurement information of current oil mass of the vehicle;The current oil Measurement information is used to characterize the size of the current oil measurement value;
According to the current tilt angle, the current oil measurement information and preset angle oil mass corresponding relationship, really The fixed target oil mass slope compensation value of the vehicle under current state, the angle oil mass corresponding relationship are inclining for vehicle Rake angle, vehicle oil measurement information and oil mass offset between corresponding relationship.
In one embodiment, it is also performed the steps of when processor executes computer program
The target oil mass slope compensation value and the current oil measurement value are overlapped, the practical oil is obtained Amount.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the corresponding current measurement electric signal of current oil mass of the vehicle;
The current measurement electric signal is passed through into analog-to-digital conversion ADC, generates the current oil measurement value.
In one embodiment, it is also performed the steps of when processor executes computer program
The actual oil mass is shown.
It is and each in the above method it should be understood that processor executes the process of computer program in the embodiment of the present application The implementation procedure of a step is consistent, and for details, reference can be made to described above.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Obtain target oil mass slope compensation value of the vehicle under current state;
According to the current oil measurement value of the target oil mass slope compensation value and the vehicle, the reality of the vehicle is determined Border oil mass.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the current tilt angle and the corresponding current oil measurement information of current oil mass of the vehicle;The current oil Measurement information is used to characterize the size of the current oil measurement value;
According to the current tilt angle, the current oil measurement information and preset angle oil mass corresponding relationship, really The fixed target oil mass slope compensation value of the vehicle under current state, the angle oil mass corresponding relationship are inclining for vehicle Rake angle, vehicle oil measurement information and oil mass offset between corresponding relationship.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The target oil mass slope compensation value and the current oil measurement value are overlapped, the practical oil is obtained Amount.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the corresponding current measurement electric signal of current oil mass of the vehicle;
The current measurement electric signal is passed through into analog-to-digital conversion ADC, generates the current oil measurement value.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The actual oil mass is shown.
It is and each in the above method it should be understood that processor executes the process of computer program in the embodiment of the present application The implementation procedure of a step is consistent, and for details, reference can be made to described above.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of oil mass of vehicle determines method, which is characterized in that the described method includes:
Obtain target oil mass slope compensation value of the vehicle under current state;
According to the current oil measurement value of the target oil mass slope compensation value and the vehicle, the practical oil of the vehicle is determined Amount.
2. the method according to claim 1, wherein the target oil mass for obtaining vehicle under current state is inclined Oblique offset, comprising:
Obtain the current tilt angle and the corresponding current oil measurement information of current oil mass of the vehicle;The current oil measures Amount information is used to characterize the size of the current oil measurement value;
According to the current tilt angle, the current oil measurement information and preset angle oil mass corresponding relationship, institute is determined The target oil mass slope compensation value of the vehicle under current state is stated, the angle oil mass corresponding relationship is the inclination angle of vehicle It spends, the corresponding relationship between the oil measurement information and oil mass offset of vehicle.
3. according to the method described in claim 2, it is characterized in that, described according to the target oil mass slope compensation value and described The current oil measurement value of vehicle, determines the actual oil mass of the vehicle, comprising:
The target oil mass slope compensation value and the current oil measurement value are overlapped, the actual oil mass is obtained.
4. according to the method described in claim 3, it is characterized in that, described according to the target oil mass slope compensation value and described The current oil measurement value of vehicle, before the actual oil mass for determining the vehicle, comprising:
Obtain the corresponding current measurement electric signal of current oil mass of the vehicle;
The current measurement electric signal is passed through into analog-to-digital conversion ADC, generates the current oil measurement value.
5. a kind of oil mass determining device of vehicle, which is characterized in that described device includes: fuel-quantity transducer and micro-control unit MCU;
The fuel-quantity transducer is used to obtain the current oil measurement value of the vehicle;
The MCU inclines for obtaining target oil mass slope compensation value of the vehicle under current state according to the target oil mass Oblique offset and the current oil measurement value, determine the actual oil mass of the vehicle.
6. device according to claim 5, which is characterized in that described device further includes obliquity sensor;
The obliquity sensor is used to obtain the current tilt angle of the vehicle;
The MCU is for obtaining the corresponding current oil measurement information of current oil mass, and according to the current tilt angle, described Current oil measurement information and preset angle oil mass corresponding relationship determine target oil of the vehicle under current state Slope compensation value is measured, the angle oil mass corresponding relationship is that the tilt angle, the oil measurement information of vehicle and oil mass of vehicle are mended Repay the corresponding relationship between value.
7. device according to claim 6, which is characterized in that the MCU is used for the target oil mass slope compensation value It is overlapped with the current oil measurement value, obtains the actual oil mass.
8. device according to claim 7, which is characterized in that described device further includes oil mass circuit for detecting;The oil mass Circuit for detecting is used to determine the corresponding current measurement electric signal of current oil mass according to the current oil measurement information.
9. device according to claim 7, which is characterized in that MCU is also used to be worked as by described according to current measurement electric signal Preceding measurement electric signal passes through analog-to-digital conversion ADC, generates the current oil measurement value.
10. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 4 the method when executing the computer program.
CN201910741436.9A 2019-08-12 2019-08-12 The oil mass of vehicle determines method, apparatus and computer equipment Pending CN110514268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910741436.9A CN110514268A (en) 2019-08-12 2019-08-12 The oil mass of vehicle determines method, apparatus and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910741436.9A CN110514268A (en) 2019-08-12 2019-08-12 The oil mass of vehicle determines method, apparatus and computer equipment

Publications (1)

Publication Number Publication Date
CN110514268A true CN110514268A (en) 2019-11-29

Family

ID=68625891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910741436.9A Pending CN110514268A (en) 2019-08-12 2019-08-12 The oil mass of vehicle determines method, apparatus and computer equipment

Country Status (1)

Country Link
CN (1) CN110514268A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114166312A (en) * 2021-10-25 2022-03-11 深圳市发掘科技有限公司 Vehicle oil quantity measuring method and device, computer equipment and storage medium
CN114961921A (en) * 2022-06-13 2022-08-30 潍柴动力股份有限公司 Oil pan oil quantity calculation method and vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201583309U (en) * 2009-08-17 2010-09-15 向军锋 Oil quantity correcting instrument in tilting of automobile
CN105181086A (en) * 2015-08-28 2015-12-23 惠州华阳通用电子有限公司 Automobile fuel capacity detection method and device
CN106556441A (en) * 2015-09-25 2017-04-05 比亚迪股份有限公司 The detection method of remaining fuel of fuel tank, device and vehicle
CN109000749A (en) * 2018-05-08 2018-12-14 华侨大学 A kind of the oil mass detection method and its fuel tank of engineering truck

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201583309U (en) * 2009-08-17 2010-09-15 向军锋 Oil quantity correcting instrument in tilting of automobile
CN105181086A (en) * 2015-08-28 2015-12-23 惠州华阳通用电子有限公司 Automobile fuel capacity detection method and device
CN106556441A (en) * 2015-09-25 2017-04-05 比亚迪股份有限公司 The detection method of remaining fuel of fuel tank, device and vehicle
CN109000749A (en) * 2018-05-08 2018-12-14 华侨大学 A kind of the oil mass detection method and its fuel tank of engineering truck

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱占平主编: "《汽车电器》", 30 September 2014, 北京理工大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114166312A (en) * 2021-10-25 2022-03-11 深圳市发掘科技有限公司 Vehicle oil quantity measuring method and device, computer equipment and storage medium
CN114961921A (en) * 2022-06-13 2022-08-30 潍柴动力股份有限公司 Oil pan oil quantity calculation method and vehicle
CN114961921B (en) * 2022-06-13 2024-01-16 潍柴动力股份有限公司 Oil pan oil mass calculation method and vehicle

Similar Documents

Publication Publication Date Title
CN110514268A (en) The oil mass of vehicle determines method, apparatus and computer equipment
CN109782175A (en) Batteries of electric automobile capacity correction test method and electronic equipment
CN109613543A (en) Method and device for correcting laser point cloud data, storage medium and electronic equipment
CN104849523B (en) The temperature compensation of single-phase electric energy meter
CN102168945B (en) System and method for image measurement
CN111735591B (en) Bridge dynamic deformation measuring method
CN102519511B (en) Indication verification apparatus of automobile instrument and verification method thereof
CN103135854A (en) Optical touch screen, correction device and correction method thereof
CN100585928C (en) Fuel cell state monitor apparatus and method
CN113503813B (en) Six-degree-of-freedom motion platform linear displacement positioning precision measurement and error compensation method
CN110568397A (en) Electric energy meter correction method and system based on MCU software
CN112486093A (en) Method, apparatus, device and medium for compensating for platform accuracy
CN115454275A (en) Quality detection method and device of capacitive touch screen and computer equipment
CN104373236A (en) Static and dynamic pressure compensation for intake oxygen sensing
CN102750412A (en) Intelligent load arrangement system and method thereof in bridge load test
JPS62195520A (en) Waveform deciding method for waveform storage device
CN112629833B (en) Load acquisition method and device
CN114581314A (en) Galvanometer calibration method, device and computer readable storage medium
CN109990776B (en) Attitude measurement method and device
CN114217298B (en) Self-adaptive waveform template construction method
CN108871785A (en) A kind of automobile instrument test bracket
JP3828467B2 (en) Base sequence analysis chip
CN114877858B (en) Attitude estimation algorithm under high-dynamic and magnetic interference environment
CN108616315A (en) Power amplifier output power detection method, device, computer equipment and storage medium
RU76629U1 (en) COMPLEX FOR CARRYING OUT EXPERIENCES

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191129

RJ01 Rejection of invention patent application after publication