CN109470338A - A kind of urea box liquid level scaling method and device - Google Patents
A kind of urea box liquid level scaling method and device Download PDFInfo
- Publication number
- CN109470338A CN109470338A CN201811628366.8A CN201811628366A CN109470338A CN 109470338 A CN109470338 A CN 109470338A CN 201811628366 A CN201811628366 A CN 201811628366A CN 109470338 A CN109470338 A CN 109470338A
- Authority
- CN
- China
- Prior art keywords
- liquid level
- voltage value
- level sensor
- urea box
- ratio
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F25/00—Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
- G01F25/20—Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of apparatus for measuring liquid level
Abstract
Urea box liquid level scaling method and device provided by the invention, applied to automobile technical field, the voltage value of this method monitoring liquid level sensor, when monitoring that voltage value is reduced to less than or equal to predetermined voltage threshold by being greater than predetermined voltage threshold, obtain the voltage value of liquid level sensor, and start timing simultaneously, if before timing duration reaches preset time threshold, monitor that voltage value changes to next voltage value, voltage value after obtaining variation, and restart timing, until when timing duration reaches the preset time threshold, do not monitor that the voltage value of liquid level sensor changes to next voltage value, determine the corresponding liquid level ratio of the voltage value of each liquid level sensor, complete calibration.The present processes, in conjunction with the concrete condition of liquid level sensor, it determines the output voltage of liquid level sensor and the corresponding relationship of urea box liquid level ratio, can avoid the problem of bringing due to the individual difference of liquid level sensor, effectively improve the accuracy of determining urea box liquid level ratio.
Description
Technical field
The invention belongs to automobile technical field more particularly to a kind of urea box liquid level scaling methods and device.
Background technique
Using the vehicle of diesel engine, it is both provided with urea box greatly, is contained in case molten for the urea of vent gas treatment
Liquid.For the effect for guaranteeing vent gas treatment, need accurately to know the liquid level of urea box, and when urea box liquid level is lower than pre-set limit
Alert, to remind driver that urea liquid is replenished in time.
In the prior art, liquid level sensor is provided in urea box, car running computer can be from the output end of liquid level sensor
Voltage value is collected, meanwhile, calibration has the corresponding relationship of voltage value and liquid level ratio, car running computer in advance inside car running computer
According to the voltage value specifically collected, that is, it can determine the liquid level of urea box.
But due to the consistency problem of liquid level sensor, even if with a liquid level sensor for same urea box liquid level,
The voltage value of output may also can have deviation, cause car running computer according to the voltage value demarcated in advance and the correspondence of liquid level ratio
The urea level inaccuracy that relationship determines, influences normally to use.
Summary of the invention
In view of this, improving the purpose of the present invention is to provide a kind of urea box liquid level scaling method and device according to liquid
Level sensor voltage value determines the accuracy of urea box liquid level ratio, and concrete scheme is as follows:
In a first aspect, the present invention provides a kind of urea box liquid level scaling method, comprising:
Monitor the voltage value of liquid level sensor;
The default electricity is reduced to less than or equal to by being greater than predetermined voltage threshold in the voltage value of the liquid level sensor
When pressing threshold value, the voltage value of the liquid level sensor is obtained, and start timing;
If the voltage value of the liquid level sensor changes to next voltage before timing duration reaches preset time threshold
Value returns and executes the voltage value for obtaining the liquid level sensor;
If timing duration reaches the preset time threshold, and does not monitor that the voltage value of the liquid level sensor changes to
Next voltage value determines the corresponding liquid level ratio of voltage value of each liquid level sensor acquired respectively, completes calibration.
Optionally, the corresponding liquid level ratio of voltage value for determining each liquid level sensor acquired respectively,
Include:
If the quantity of the voltage value of the liquid level sensor acquired is less than or equal to preset quantity, determination is obtained respectively
The corresponding liquid level ratio of the voltage value of each liquid level sensor obtained is corresponding default liquid level ratio;
It is default according to first if the quantity of the voltage value of the liquid level sensor acquired is greater than the preset quantity
Rules Filtering obtains the voltage value of the liquid level sensor of the preset quantity;
Determine the liquid level scale base of characterization liquid level ratio variable gradient;
According to the liquid level scale base, the liquid level sensor that screening obtains is determined respectively according to the second preset rules
The corresponding liquid level ratio of voltage value.
Optionally, first preset rules are as follows:
Screen the voltage value of obtained each liquid level sensor two liquid level sensors incremented by successively and adjacent
The difference of voltage value be gradually reduced,
Or,
The voltage value for screening obtained each liquid level sensor successively successively decreases, and two adjacent liquid level sensors
The difference of voltage value be gradually increased.
Optionally, second preset rules are as follows:
The corresponding liquid level ratio of voltage value for screening the obtained liquid level sensor is times of the liquid level scale base
Number, and described in adjacent in the variation tendency of the difference of two adjacent liquid level ratios and first preset rules two
The variation tendency of the difference of the voltage value of liquid level sensor is consistent.
Optionally, the urea box liquid level scaling method that first aspect present invention provides, further includes:
After completing calibration, if the voltage value of the liquid level sensor monitored is less than any institute currently acquired
The voltage value of liquid level sensor is stated, then returns and executes the voltage value step for obtaining the liquid level sensor.
Optionally, the urea box liquid level scaling method that first aspect present invention provides, further includes:
If monitoring, the voltage value of the liquid level sensor is greater than predetermined voltage threshold, sends the first warning message.
Optionally, the urea box liquid level scaling method that first aspect present invention provides, further includes:
After completing calibration, if monitoring the voltage value of the specified corresponding liquid level sensor of liquid level ratio, second is sent
Warning message.
Second aspect, the present invention provide a kind of urea box liquid level caliberating device, comprising:
Monitoring unit, for monitoring the voltage value of liquid level sensor;
Acquiring unit is decreased below or is waited by being greater than predetermined voltage threshold for the voltage value in the liquid level sensor
When the predetermined voltage threshold, the voltage value of the liquid level sensor is obtained, and starts timing;
First circulation unit, if for before timing duration reaches preset time threshold, the voltage of the liquid level sensor
Value changes to next voltage value, triggers the acquiring unit, to obtain the voltage value of the liquid level sensor;
Determination unit if reaching the preset time threshold for timing duration, and does not monitor the liquid level sensor
Voltage value change to next voltage value, determine the corresponding liquid level of voltage value of each liquid level sensor acquired respectively
Ratio completes calibration.
Optionally, the determination unit, for determining the voltage value pair of each liquid level sensor acquired respectively
When the liquid level ratio answered, specifically include:
If the quantity of the voltage value of the liquid level sensor acquired is less than or equal to preset quantity, determination is obtained respectively
The corresponding liquid level ratio of the voltage value of each liquid level sensor obtained is corresponding default liquid level ratio;
It is default according to first if the quantity of the voltage value of the liquid level sensor acquired is greater than the preset quantity
Rules Filtering obtains the voltage value of the liquid level sensor of the preset quantity;
Determine the liquid level scale base of characterization liquid level ratio variable gradient;
According to the liquid level scale base, the liquid level sensor that screening obtains is determined respectively according to the second preset rules
The corresponding liquid level ratio of voltage value.
Optionally, the urea box liquid level caliberating device that second aspect of the present invention provides, further includes:
Second circulation unit, for working as after completing calibration if the voltage value of the liquid level sensor monitored is less than
Before the voltage value of any liquid level sensor that acquires, the acquiring unit is triggered, to obtain the liquid level sensor
Voltage value.
Based on the above-mentioned technical proposal, urea box liquid level scaling method and device provided by the invention monitor liquid level sensor
Voltage value, the voltage value for monitoring liquid level sensor by be greater than predetermined voltage threshold be reduced to less than or equal to predeterminated voltage
When threshold value, illustrate that urea box has connected and finish, is prepared for addition urea liquid, obtains the voltage value of liquid level sensor, and
Start timing simultaneously, if monitoring that the voltage value of liquid level sensor changes to before timing duration reaches preset time threshold
Next voltage value, the voltage value after obtaining variation, and restart timing, so circulation is gone down, until reaching in timing duration
The preset time threshold, and do not monitor that the voltage value of liquid level sensor changes to next voltage value, illustrate urea liquid
It is finished through filling, then, it is determined that the corresponding liquid level ratio of the voltage value of each liquid level sensor, completes calibration.The present patent application mentions
The urea box liquid level scaling method of confession, in conjunction with the concrete condition of liquid level sensor, determines level sensing after urea box connects
The output voltage of device and the corresponding relationship of urea box liquid level ratio, with the method phase for demarcating corresponding relationship in advance in the prior art
Than can avoid the problem of bringing due to the individual difference of liquid level sensor, effectively improving the accurate of determining urea box liquid level ratio
Property.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is the structural schematic diagram of liquid level sensor in the embodiment of the present invention;
Fig. 2 is the level sensing schematic diagram of liquid level sensor in the embodiment of the present invention;
Fig. 3 is the flow chart of urea box liquid level scaling method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of urea box liquid level caliberating device provided in an embodiment of the present invention;
Fig. 5 is the structural block diagram of another urea box liquid level caliberating device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It is the structural schematic diagram of liquid level sensor in the embodiment of the present invention, the liquid level being arranged in urea box referring to Fig. 1, Fig. 1
Sensor is provided with floating block, and with gradually increasing for the urea liquid in urea box, which, can gradually under the action of buoyancy
It increases, the position of floating block and the liquid level moment of urea liquid are consistent.Further, referring to fig. 2, Fig. 2 is implementation of the present invention
The level sensing schematic diagram of liquid level sensor in example, in embodiment shown in Fig. 2, PIN1 and PIN2 are the output of liquid level sensor
Port, ECU (Electronic ControlUnit, car running computer) obtain liquid level sensor by being connected with PIN1, PIN2
Voltage value.Meanwhile the shift in position of the floating block of liquid level sensor, it will lead to the shape of switch RS1~RSx in schematic diagram shown in Fig. 2
State changes.Specifically, when, without urea liquid, when floating block is in extreme lower position, all switches are in dozen in urea box
Open state, the voltage value between the PIN1 and PIN2 that ECU measurement obtains is maximum, correspondingly, increasing with urea liquid, floating block
Rising, drive is corresponding to close the switch (closing order are as follows: RSx is closed at first, and RS1 is finally closed, and x indicates the quantity of switch),
It is envisioned that one switch of every closure, will corresponding to a resistance, (one in R1~Rx, x indicates corresponding with switch and sets
The quantity for the resistance set) it is shorted, so that the voltage that ECU measurement obtains gradually decreases.Therefore, in conjunction in Fig. 1 and Fig. 2
Hold it is found that the position of floating block is lower for any liquid level sensor, the resistance value of liquid level sensor entirety is bigger, and ECU is measured
The corresponding voltage arrived is higher.The quantity that switch is arranged with corresponding resistance is more, and the liquid level variation of reaction is more accurate.
It is the process of urea box liquid level scaling method provided in an embodiment of the present invention referring to Fig. 3, Fig. 3 based on above-mentioned premise
Figure, the process may include:
Step S100, the voltage value of liquid level sensor is monitored.
On existing vehicle production line, after engine is installed on vehicle, ECU can obtain corresponding work electricity
Source, therefore, the urea box liquid level scaling method that the present patent application embodiment provides are opened after the corresponding power supply of ECU connection
The voltage value of beginning monitoring liquid level sensor.
It should be noted that avoid driver or other staff in the feelings that vehicle is inactive or the key of vehicle is not inserted into
(at this point, the circuit system of vehicle powers on not yet, without life's work) fills urea liquid, this hair to urea box under condition
The method that bright application embodiment provides, ECU remain to the voltage value for obtaining liquid level sensor in situation above-mentioned, and further
Subsequent step is executed, the calibration of urea box liquid level is completed.
Step S110, judge the voltage value of liquid level sensor whether by being reduced to less than or equal to greater than predetermined voltage threshold
Predetermined voltage threshold, if so, step S120 is executed, if it is not, returning to step S100.
In the case where urea box does not complete installation, liquid level sensor does not establish connection with ECU, liquid that ECU measurement obtains
The voltage value of level sensor is greater than predetermined voltage threshold.Therefore, pre- if monitoring that the voltage value of liquid level sensor is greater than
If voltage threshold, then it can be determined that liquid level sensor does not establish connection with ECU, for example, new urea box does not install or liquid
Open circuit occurs for the connection of level sensor and ECU, or, driver the urea box and liquid level sensor such as replaces.
Correspondingly, illustrating liquid level if monitoring that the voltage value of liquid level sensor is less than or equal to predetermined voltage threshold
Sensor and ECU have been set up stable connection.
Therefore, it is based on above content, determines a need for starting sentencing for calibration process in available the embodiment of the present application
Fixed condition ought monitor that the voltage value of liquid level sensor is reduced to less than or equal to predeterminated voltage by being greater than predetermined voltage threshold
When threshold value, calibration process can be started, execute step S120.It is envisioned that the formulation of this decision condition, can cover
The situation that urea box was likely to occur in use need to demarcate urea box, for example, pacifying for the first time before new car is offline
Fill urea box, the situation that liquid level sensor is connect with ECU for the first time;And in vehicle use process, to urea box and level sensing
The situation etc. that device is replaced.
Optionally, structural schematic diagram and voltage measurement principle based on aforementioned urea case liquid level sensor, predeterminated voltage
Threshold value can be urea box when being empty, the voltage value for the liquid level sensor that can be monitored.I.e. in the liquid level sensor of urea box
After establishing connection with ECU, maximum voltage value that ECU can be monitored.
Step S120, the voltage value of liquid level sensor is obtained, and starts timing.
Predeterminated voltage is reduced to less than or equal to by being greater than predetermined voltage threshold in the voltage value for monitoring liquid level sensor
When threshold value, the voltage value of liquid level sensor can be obtained, and starts simultaneously at timing.
It is envisioned that it is empty, i.e., corresponding voltage when liquid level ratio is 0% that the voltage value obtained at this time, which is urea box,
Value.
Step S130, judge whether before timing duration reaches preset time threshold, the voltage value variation of liquid level sensor
To next voltage value, if so, S120 is returned to step, if it is not, executing step S140.
Under normal circumstances, it is installed in urea box, i.e., after liquid level sensor and ECU establish connection, that is, it is molten to start urea
The filling process of liquid, and filling process often persistently carries out, and therefore, the floating block of liquid level sensor can be with urea liquid
Increase and gradually rise, correspondingly, ECU can monitor multiple and different voltage values.
But in actual operation, if it is unpredictable for disposably filling it up with urea box.For example, in vehicle factor, to new
When vehicle carries out urea liquid filling, tend not to fill it up with urea box;For example, driver replace urea box after, may
Urea box is disposably filled it up with, so that ECU is available to whole corresponding voltage values, driver may also only filling one
Point, under such circumstances, ECU can only just get fractional voltage Of.
Therefore, it is necessary to timing be carried out, if reaching default in timing duration after often getting a different voltage value
Before time threshold, the voltage value of liquid level sensor changes to next voltage value, then returns to step S120, after obtaining the variation
Voltage value, and restart timing simultaneously;If timing duration reaches preset time threshold, but does not monitor liquid level sensor
Voltage value change to next voltage value, then determine that the filling process of urea liquid is over, can start to carry out subsequent
Step.
Step S140, the corresponding liquid level ratio of voltage value of each liquid level sensor acquired is determined respectively, completes mark
It is fixed.
After determining urea liquid filling process, it is thus necessary to determine that the voltage value pair of each liquid level sensor acquired
The liquid level ratio answered, and then complete calibration.
Optionally, according to the working principle of the controllers such as ECU it is found that ECU is by executing in a series of be pre-stored within
The machine code in portion realizes expectation function, and will necessarily be related to corresponding data ginseng during executing respective code
Number.Therefore, it to realize urea box liquid level scaling method provided by the embodiments of the present application, needs to pass each liquid level acquired
The voltage value of sensor is stored.For this purpose, corresponding memory space is provided in memory, for storing in the present embodiment
The voltage value of preset quantity, and liquid level ratio corresponding with each voltage value.
It should be noted that voltage value and corresponding with voltage value liquid level ratio for storing each liquid level sensor
Memory space is not that same storage is empty with the memory space for storing all liquid level sensor voltage values acquired
Between.The embodiment of the present application for memory space setting position without limitation.
Need further exist for explanation, for store each liquid level sensor voltage value and liquid level corresponding with voltage value
The quantity of the memory space of ratio is limited, i.e., the voltage value of preset quantity can be at most stored in the memory space, and
The liquid level ratio of urea box corresponding with each voltage value.And it is used to store depositing for all liquid level sensor voltage values acquired
Storage space can not then limit quantity, to meet the needs of different liquid level sensors, comprehensively store liquid level as far as possible
The voltage value of sensor output.
Based on above-mentioned premise, the corresponding liquid level ratio of voltage value of each liquid level sensor acquired is being determined respectively
In the process, two kinds of situations can be divided into:
The first situation: the quantity of the voltage value of the liquid level sensor acquired is less than or equal to preset quantity.
In such cases, for storing the voltage value of each liquid level sensor and depositing for liquid level ratio corresponding with voltage value
Storage space cannot be fully used or just be fully used, at this point, the corresponding liquid level ratio-dependent of each liquid level sensor is pair
Answer preset ratio.
For example, aforementioned preset quantity is 11, i.e., the voltage value for storing 11 liquid level sensors is preset in memory
And the memory space of liquid level ratio corresponding with each voltage value, and storage form can be as shown in table 1.
Table 1
U0 | U1 | U2 | U3 | U4 | U5 | U6 | U7 | U8 | U9 | U10 |
R0% | R1% | R2% | R3% | R4% | R5% | R6% | R7% | R8% | R9% | R10% |
As shown in table 1, U0 to U10 is used to store the voltage value of liquid level sensor, and R0% to R10% is for being stored in each electricity
Pressure is worth corresponding liquid level ratio.
If the voltage value of the liquid level sensor acquired is less than 11, for example gets 5 voltage values, use respectively
U0 ', U1 ', U2 ', U3 ', U4 ' are indicated, and U0 ' > U1 ' > U2 ' > U3 ' > U4 ', liquid corresponding with 5 voltage values that this is acquired
Position ratio, it is determined that be preset liquid level ratio, specifically, reference can be made to shown in table 2.
Table 2
U0’ | U1’ | U2’ | U3’ | U4’ | U5 | U6 | U7 | U8 | U9 | U10 |
0% | 10% | 20% | 30% | 40% | R5% | R6% | R7% | R8% | R9% | R10% |
It should be noted that the corresponding voltage value of U5 to U10 is null value in table 2, correspondingly, R5% to R10% is also right
Answering is null value, and certainly, R5% to R10% can also assign specific preset liquid level ratio, only will be at corresponding voltage value
Reason is null value.
Second situation: the quantity of the voltage value of the liquid level sensor acquired is greater than preset quantity,
In such cases, need to screen to obtain according to the first preset rules the voltage value of the liquid level sensor of preset quantity,
And then determine the liquid level scale base of characterization liquid level ratio variable gradient, it is pre- according to second after obtaining the liquid level scale base
If rule determines the corresponding liquid level ratio of voltage value for the liquid level sensor that screening obtains respectively.
Wherein, aforementioned first preset rules are as follows:
If the voltage value for each liquid level sensor that screening is obtained sorts according to ascending sequence, i.e. screening obtains
Each voltage value is incremented by successively, and the variation tendency that presentation is gradually reduced by the difference of two adjacent voltage values;
Correspondingly, if the voltage value for each liquid level sensor that screening is obtained sorts according to descending sequence, i.e.,
It screens obtained each voltage value successively to successively decrease, and the variation tendency being gradually increased is presented in the difference of two adjacent voltage values.
Aforementioned second preset rules are as follows:
The corresponding liquid level ratio of voltage value for screening obtained liquid level sensor is the multiple of aforementioned liquid level scale base, and
The variation tendency of the difference of two adjacent liquid level ratios obtains the variation of the difference of the voltage value of each liquid level sensor with screening
Trend is consistent, i.e., if the variation tendency being gradually reduced is presented in the difference of aforesaid voltage value, correspondingly, the difference of liquid level ratio is same
The variation tendency gradually decreased is presented in sample;If the variation tendency being gradually increased is presented in the difference of aforesaid voltage value, correspondingly, liquid
The variation tendency being gradually increased equally is presented in the difference of position ratio.
Below with reference to specific embodiment shown in above-mentioned Tables 1 and 2, illustrate under second situation how to determine each liquid level
The corresponding liquid level ratio of the voltage value of sensor.
For getting 15 liquid level sensor voltage values, provides and a kind of meet above-mentioned first preset rules and second
The method of the corresponding liquid level ratio of the voltage value of each liquid level sensor of the determination of preset rules.
It is envisioned that no matter how aforementioned preset quantity is specifically arranged, and the level sensing actually acquired
The particular number of the voltage value of device, (from the first last bit to memory space of memory space, storage in preset memory space
Voltage value be sequentially reduced, illustrate by taking such storage mode as an example), the first voltage value be it is determining, that is, acquire most
Big voltage value, correspondingly, liquid level ratio corresponding with the maximum voltage value be also it is determining, as 0%;In addition, default
The voltage value of last bit of memory space be the smallest voltage value that is determining, as acquiring, correspondingly, the smallest with this
The corresponding liquid level ratio of voltage value be also it is determining, as 100%.It therefore, in the latter case, can be by the first and last bit
Content directly determine.
After removing the first and last bit voltage value and corresponding liquid level ratio, subsequent screening process is as follows:
It calculating M=(N-2)/9, wherein N is the sum of the acquired voltage value for obtaining liquid level sensor, is 15 in this example,
N-2 be the remaining voltage value not screened number, 9 be remaining memory space number, and each voltage value be according to by
Small sequence is arrived greatly carries out selection.
If 1 < M < 2, remaining voltage value is successively screened one by one, and calculate M value after each screening, until 2≤M <
3;
If 2≤M < 3, remaining voltage value is sequentially screened every a voltage value, and calculate M after each screening
Value, until 3≤M < 4;
If 3≤M < 4, remaining voltage value is sequentially screened every two voltage values, and so on, until by gained liquid
All screening finishes the voltage value of level sensor, obtains the voltage value of preset quantity.
Specifically, N=15, after determining the first and last bit, also remains 13 voltage values.13/9=1.44, then by subsequent electricity
Pressure value is sequentially filled in turn;
After filling in 4, also remain 13-4=8 voltage value, it is a that remaining storage control also remains 9-5=4,8/4=2 then after
It is continuous to be filled out in subsequent memory space every 1.
After the voltage value of the liquid level sensor of screening preset quantity, need to further determine that characterization liquid level ratio variation
The liquid level scale base of gradient.Specifically, liquid level scale base can indicate are as follows:
100%/(N-1), wherein N is the quantity of the voltage value of acquired obtained liquid level sensor.
In this example, liquid level scale base is 7.14%.
After obtaining the liquid level scale base, the liquid level sensor that screening obtains is determined respectively according to the second preset rules
The corresponding liquid level ratio of voltage value.
As previously mentioned, the specific value of each liquid level ratio all should be the multiple of the liquid level scale base, and and sieve
Select obtained voltage value variation tendency having the same.
In above-described embodiment, after abovementioned steps calculate, finally obtained corresponding relationship can be as shown in table 3.
Table 3
U0’ | U1’ | U2’ | U3’ | U4’ | U5’ | U7’ | U9’ | U11’ | U13’ | U14’ |
0% | 7.14% | 14.28% | 21.42% | 28.56% | 35.7% | 49.98% | 64.26% | 78.54% | 92.82% | 100% |
The voltage value of each liquid level sensor handled by above-mentioned steps and the corresponding relationship of liquid level ratio, so that
In the lower situation of urea box liquid level, sensitivity with higher, accuracy, the selection of voltage value, can be more than comparatively dense
The variation of urea box liquid level is accurately showed, and when urea box liquid level is higher, then need not be provided higher sensitivity, therefore,
The selection of voltage value is then than sparse.
It optionally, can be according to after the corresponding liquid level ratio of voltage value for obtaining each liquid level sensor as shown in table 3
Certain preset format saves the corresponding relationship of the voltage value of each liquid level sensor and liquid level ratio, facilitates subsequent make
With.
In conclusion the urea box liquid level scaling method that the present patent application provides, after urea box connects, in conjunction with liquid level
The concrete condition of sensor determines the output voltage of liquid level sensor and the corresponding relationship of urea box liquid level ratio, with existing skill
The method for demarcating corresponding relationship in advance in art is compared, and can avoid the problem of bringing due to the individual difference of liquid level sensor, effectively
Improve the accuracy for determining urea box liquid level ratio.
Optionally, as previously mentioned, the specific filling process of urea liquid has uncontrollability, it is possible to primary calibrated
After journey, urea box does not fill full urea liquid, since ECU is to continue to carry out to the monitoring of liquid level sensor voltage,
After completing primary calibration, if the voltage value for the liquid level sensor that ECU is monitored is less than any liquid level currently acquired
The voltage value of sensor, i.e., filled more urea liquids when than last time calibration in urea box, on the floating block of liquid level sensor
It is raised to higher position, then is needed on the basis of available data, continues the voltage value for obtaining liquid level sensor, and re-start
The determination of the corresponding liquid level ratio of each voltage value.
Optionally, after ECU starts to monitor the voltage of liquid level sensor, if monitoring that the voltage value of liquid level sensor is big
In predetermined voltage threshold, illustrate that urea box is not installed correctly, then can send the first warning message, notify driver or other
Personnel repair corresponding failure.
Optionally, after completing calibration, if ECU monitors the voltage of the specified corresponding liquid level sensor of liquid level ratio
Value sends the second warning message.For example, vehicle in actual use, to avoid the urea liquid in urea box from being consumed
It is complete, a liquid level ratio can be preassigned, first place and last bit liquid level ratio in this specified liquid level ratio and calibration process
Equally, be all it is given in advance, be it is not modifiable, the work for needing to do during the calibration process is the determining specified liquid level ratio
The corresponding voltage value of example.After the completion of calibration, if ECU monitors corresponding voltage value, and then determine that urea box is just being located at present
In the specified liquid level ratio, then the second warning message is issued.
For the content shown in the table 3, rules and regulations, when urea box liquid level is lower than 5%, it is necessary to the second warning message is issued,
And learnt according to calculating, it can't monitor voltage value corresponding with 5%, it therefore, can be by the corresponding liquid level ratio of second
It is appointed as 5%, and during the calibration process, determines that voltage value corresponding with the specified liquid level ratio is U1 '.Further, it is
The sensitivity of warning function is improved, can be also the numerical value less than 5% by the specified liquid level ratio setting, this is all optional
's.
Urea box liquid level caliberating device provided in an embodiment of the present invention is introduced below, urea box liquid described below
Position caliberating device may be considered the urea box liquid level scaling method that embodiment provides to realize the present invention, need in central equipment
The functional module framework of setting;Be described below content can with above it is cross-referenced.
Fig. 4 is a kind of structural block diagram of urea box liquid level caliberating device provided in an embodiment of the present invention, referring to Fig. 4, the dress
It sets and may include:
Monitoring unit 10, for monitoring the voltage value of liquid level sensor;
Acquiring unit 20, for the voltage value in the liquid level sensor by be greater than predetermined voltage threshold decrease below or
When equal to the predetermined voltage threshold, the voltage value of the liquid level sensor is obtained, and starts timing;
First circulation unit 30, if for before timing duration reaches preset time threshold, the electricity of the liquid level sensor
Pressure value changes to next voltage value, triggers the acquiring unit, to obtain the voltage value of the liquid level sensor;
Determination unit 40 if reaching the preset time threshold for timing duration, and does not monitor the level sensing
The voltage value of device changes to next voltage value, determines the corresponding liquid of voltage value of each liquid level sensor acquired respectively
Position ratio, completes calibration.
Optionally, the determination unit 40, for determining the voltage value of each liquid level sensor acquired respectively
When corresponding liquid level ratio, specifically include:
If the quantity of the voltage value of the liquid level sensor acquired is less than or equal to preset quantity, determination is obtained respectively
The corresponding liquid level ratio of the voltage value of each liquid level sensor obtained is corresponding default liquid level ratio;
It is default according to first if the quantity of the voltage value of the liquid level sensor acquired is greater than the preset quantity
Rules Filtering obtains the voltage value of the liquid level sensor of the preset quantity;
Determine the liquid level scale base of characterization liquid level ratio variable gradient;
According to the liquid level scale base, the liquid level sensor that screening obtains is determined respectively according to the second preset rules
The corresponding liquid level ratio of voltage value.
It optionally, is the structure of another urea box liquid level caliberating device provided in an embodiment of the present invention referring to Fig. 5, Fig. 5
Block diagram, the device on the basis of the embodiment shown in fig. 4, can also include:
Second circulation unit 50 is used for after completing calibration, if the voltage value of the liquid level sensor monitored is less than
The voltage value of any liquid level sensor currently acquired triggers the acquiring unit 20, is passed with obtaining the liquid level
The voltage value of sensor.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments in the case where not departing from core of the invention thought or scope.Therefore, originally
Invention is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein
Consistent widest scope.
Claims (10)
1. a kind of urea box liquid level scaling method characterized by comprising
Monitor the voltage value of liquid level sensor;
The predeterminated voltage threshold is reduced to less than or equal to by being greater than predetermined voltage threshold in the voltage value of the liquid level sensor
When value, the voltage value of the liquid level sensor is obtained, and starts timing;
If the voltage value of the liquid level sensor changes to next voltage value before timing duration reaches preset time threshold, return
The voltage value of the acquisition liquid level sensor described in receipt row;
If timing duration reaches the preset time threshold, and it is next not monitor that the voltage value of the liquid level sensor changes to
Voltage value determines the corresponding liquid level ratio of voltage value of each liquid level sensor acquired respectively, completes calibration.
2. urea box liquid level scaling method according to claim 1, which is characterized in that the determination respectively acquired
The corresponding liquid level ratio of the voltage value of each liquid level sensor, comprising:
If the quantity of the voltage value of the liquid level sensor acquired is less than or equal to preset quantity, determination is obtained respectively
The corresponding liquid level ratio of the voltage value of each liquid level sensor arrived is corresponding default liquid level ratio;
If the quantity of the voltage value of the liquid level sensor acquired is greater than the preset quantity, according to the first preset rules
Screening obtains the voltage value of the liquid level sensor of the preset quantity;
Determine the liquid level scale base of characterization liquid level ratio variable gradient;
According to the liquid level scale base, the electricity for the liquid level sensor that screening obtains is determined respectively according to the second preset rules
Pressure is worth corresponding liquid level ratio.
3. urea box liquid level scaling method according to claim 2, which is characterized in that first preset rules are as follows:
The electricity of the voltage value for each liquid level sensor that screening obtains two liquid level sensors incremented by successively and adjacent
The difference of pressure value is gradually reduced,
Or,
The voltage value for screening obtained each liquid level sensor successively successively decreases, and the electricity of two adjacent liquid level sensors
The difference of pressure value is gradually increased.
4. urea box liquid level scaling method according to claim 3, which is characterized in that second preset rules are as follows:
The corresponding liquid level ratio of voltage value for screening the obtained liquid level sensor is the multiple of the liquid level scale base, and
Two adjacent liquid levels in the variation tendency and first preset rules of the difference of the liquid level ratio of adjacent two
The variation tendency of the difference of the voltage value of sensor is consistent.
5. urea box liquid level scaling method according to claim 1, which is characterized in that the method also includes:
After completing calibration, if the voltage value of the liquid level sensor monitored is less than any liquid currently acquired
The voltage value of level sensor then returns and executes the voltage value step for obtaining the liquid level sensor.
6. urea box liquid level scaling method according to claim 1, which is characterized in that the method also includes:
If monitoring, the voltage value of the liquid level sensor is greater than predetermined voltage threshold, sends the first warning message.
7. urea box liquid level scaling method according to claim 1, which is characterized in that the method also includes:
After completing calibration, if monitoring the voltage value of the specified corresponding liquid level sensor of liquid level ratio, the second alarm is sent
Information.
8. a kind of urea box liquid level caliberating device characterized by comprising
Monitoring unit, for monitoring the voltage value of liquid level sensor;
Acquiring unit is reduced to less than or equal to institute by being greater than predetermined voltage threshold for the voltage value in the liquid level sensor
When stating predetermined voltage threshold, the voltage value of the liquid level sensor is obtained, and starts timing;
First circulation unit, if the voltage value of the liquid level sensor becomes for before timing duration reaches preset time threshold
Change to next voltage value, trigger the acquiring unit, to obtain the voltage value of the liquid level sensor;
Determination unit if reaching the preset time threshold for timing duration, and does not monitor the electricity of the liquid level sensor
Pressure value changes to next voltage value, determines the corresponding liquid level ratio of voltage value of each liquid level sensor acquired respectively
Example completes calibration.
9. urea box liquid level caliberating device according to claim 8, which is characterized in that the determination unit, for distinguishing
When determining the corresponding liquid level ratio of the voltage value of each liquid level sensor acquired, specifically include:
If the quantity of the voltage value of the liquid level sensor acquired is less than or equal to preset quantity, determination is obtained respectively
The corresponding liquid level ratio of the voltage value of each liquid level sensor arrived is corresponding default liquid level ratio;
If the quantity of the voltage value of the liquid level sensor acquired is greater than the preset quantity, according to the first preset rules
Screening obtains the voltage value of the liquid level sensor of the preset quantity;
Determine the liquid level scale base of characterization liquid level ratio variable gradient;
According to the liquid level scale base, the electricity for the liquid level sensor that screening obtains is determined respectively according to the second preset rules
Pressure is worth corresponding liquid level ratio.
10. urea box liquid level caliberating device according to claim 8, which is characterized in that described device, further includes:
Second circulation unit, for currently being obtained if the voltage value of the liquid level sensor monitored is less than after completing calibration
The voltage value of any liquid level sensor obtained, triggers the acquiring unit, to obtain the electricity of the liquid level sensor
Pressure value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811628366.8A CN109470338B (en) | 2018-12-28 | 2018-12-28 | Urea tank liquid level calibration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811628366.8A CN109470338B (en) | 2018-12-28 | 2018-12-28 | Urea tank liquid level calibration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109470338A true CN109470338A (en) | 2019-03-15 |
CN109470338B CN109470338B (en) | 2021-07-09 |
Family
ID=65677895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811628366.8A Active CN109470338B (en) | 2018-12-28 | 2018-12-28 | Urea tank liquid level calibration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109470338B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110332964A (en) * | 2019-07-06 | 2019-10-15 | 杭州乾博科技有限公司 | A kind of coil induction type water meter of detectable failure |
CN110455376A (en) * | 2019-07-15 | 2019-11-15 | 广东省计量科学研究院(华南国家计量测试中心) | A kind of urea for vehicle charging machine calibrating installation and its implementation |
CN112729490A (en) * | 2021-01-13 | 2021-04-30 | 上海星融汽车科技有限公司 | Vehicle urea tank liquid level calibration method and system and vehicle ECU |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5652393A (en) * | 1994-01-24 | 1997-07-29 | Chrysler Corporation | Method for collecting pressure data from a fuel tank |
CN103727991A (en) * | 2014-01-17 | 2014-04-16 | 北京航空航天大学 | System and method for calibrating oil mass of vehicle oil tank |
CN104330135A (en) * | 2014-10-23 | 2015-02-04 | 北京遥测技术研究所 | Continuous liquid level simulation emulation method |
CN104729620A (en) * | 2013-12-19 | 2015-06-24 | 西安兴仪科技股份有限公司 | Liquid level measuring instrument with alarming function |
CN107975409A (en) * | 2017-12-25 | 2018-05-01 | 潍柴动力股份有限公司 | Urea box liquid level display methods and device |
-
2018
- 2018-12-28 CN CN201811628366.8A patent/CN109470338B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5652393A (en) * | 1994-01-24 | 1997-07-29 | Chrysler Corporation | Method for collecting pressure data from a fuel tank |
CN104729620A (en) * | 2013-12-19 | 2015-06-24 | 西安兴仪科技股份有限公司 | Liquid level measuring instrument with alarming function |
CN103727991A (en) * | 2014-01-17 | 2014-04-16 | 北京航空航天大学 | System and method for calibrating oil mass of vehicle oil tank |
CN104330135A (en) * | 2014-10-23 | 2015-02-04 | 北京遥测技术研究所 | Continuous liquid level simulation emulation method |
CN107975409A (en) * | 2017-12-25 | 2018-05-01 | 潍柴动力股份有限公司 | Urea box liquid level display methods and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110332964A (en) * | 2019-07-06 | 2019-10-15 | 杭州乾博科技有限公司 | A kind of coil induction type water meter of detectable failure |
CN110455376A (en) * | 2019-07-15 | 2019-11-15 | 广东省计量科学研究院(华南国家计量测试中心) | A kind of urea for vehicle charging machine calibrating installation and its implementation |
CN110455376B (en) * | 2019-07-15 | 2021-07-06 | 广东省计量科学研究院(华南国家计量测试中心) | Vehicle urea filling machine calibrating device and implementation method thereof |
CN112729490A (en) * | 2021-01-13 | 2021-04-30 | 上海星融汽车科技有限公司 | Vehicle urea tank liquid level calibration method and system and vehicle ECU |
WO2022151656A1 (en) * | 2021-01-13 | 2022-07-21 | 上海星融汽车科技有限公司 | Vehicle urea tank liquid level calibration method and system, and vehicle ecu |
Also Published As
Publication number | Publication date |
---|---|
CN109470338B (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109470338A (en) | A kind of urea box liquid level scaling method and device | |
CN107918382B (en) | Automobile fault diagnosis method, automobile fault diagnosis device and electronic equipment | |
DE102013200249B4 (en) | Interacting diagnostic system for generating a prognosis | |
CN102393733B (en) | Failure diagnosis method, fault diagnosis instrument and system thereof, new energy automobile | |
CN107426013B (en) | Equipment information monitoring method, device and system | |
EP3610277B1 (en) | System and method for determining a status of a vehicle battery | |
CN111997709B (en) | On-line monitoring method and system for vehicle-mounted engine oil | |
CN106594262B (en) | The neutral gear decision threshold self study device and method of neutral position sensor signal | |
CN114379482A (en) | Tire maintenance prediction method and apparatus, and computer-readable storage medium | |
CN113468241A (en) | Engine oil maintenance reminding method and device, electronic equipment and storage medium | |
CN111323848A (en) | Method for correcting vehicle rainfall sensor and storage medium | |
CN114442587A (en) | Method and system for monitoring abnormal power failure of engine and storage medium | |
CN110513828A (en) | Clarifier strainer state testing method, device, control equipment and clarifier | |
CN113407597A (en) | Abnormity early warning method and device, storage medium and computer equipment | |
CN113253117A (en) | Estimation method and estimation device for residual SOE value | |
CN111063922B (en) | Method and device for monitoring replacement state of deionized water and ion filter | |
CN112095284A (en) | Washing equipment, water inlet control method thereof and roller washing machine | |
CN112268696A (en) | Clutch detection method, device, storage medium and device | |
CN111862384A (en) | Oil quantity monitoring method and device, electronic equipment and readable storage medium | |
CN113685259B (en) | Fault judgment method, device and equipment for engine thermostat | |
CN113062786B (en) | Control method and system for engine oil maintenance | |
CN110533255B (en) | Engine maintenance time prediction method, device, equipment and storage medium | |
CN113982771A (en) | Fuel pump service life evaluation method and fuel pump controller thereof | |
CN110040085A (en) | Electromobile pedal aperture failure automatic processing method | |
CN111306702A (en) | Method and device for prompting dirt blockage of filter screen and air conditioner |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210615 Address after: 261000 no.1269 Dongfeng East Street, Yongchun community, Qingchi street, Weifang High tech Zone, Weifang City, Shandong Province Applicant after: Weifang internal combustion engine quality inspection center Co.,Ltd. Applicant after: Weichai Power Co.,Ltd. Address before: 261061 Shandong city in Weifang province Fu hi tech Industrial Development Zone, East Street No. 197 Applicant before: Weichai Power Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |