Jump to content

UL212/Temperature Compensation温度补偿

From Ning-IoT Wiki
Revision as of 01:55, 1 December 2026 by Admin (talk | contribs) (Import from ShowDoc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

2. If the temperature has big change, then density will change as well, then the fuel height data need to calibrate depends on different temperature.

3. If you're using normal 0# Diesel, you can use the setting in Point 1 to do Temperature Compensation .

4. How to get correct Sound speed in 5, 55℃ if we're not using standard Diesel or other liquid?

a. Prepare the liquid, for example diesel in a small bottle/cup. Height around 200mm.
Put one Thermometer inside.

b. Put the cup in Fridge for 10 minutes, which temprature to be around 4~6 ℃

c. Then bring out the cup, put the Ultrasonic Sensor under the cup/bottle, and read the height data.

d. Pu the cup in a pot with hot 100℃ water.

e. Fo example,
Record the Ultrasonic Fuel Level Sensor Reading, Xmm @31.2℃, Y mm @ 54.5 ℃.
Then We can use the two data to calculate the height at 5, 55 ℃:
5℃: A mm
(|X-A|)/(31.2-5)=(X-Y)/(|31.2-54.5|)
A must be smaller than X

55℃: B mm
(|X-B|)/(|31.2-55|)=(X-Y)/(|31.2-54.5|)
B must be bigger than X

If you think X mm is correct value should show in your platform, which speed is 1345
Then sound speed in 5 ℃ V5, in 55℃ V55 will be
A/X=1345/V5
X/B=V55/1345

For example,
31.2℃,88.4mm=x, speed =1345
54.5℃, 97.4mm=Y

Then A=78.15mm, B=97.55mm
Then
V5= 134588.4/78.15=1221
V55= 134588.4/97.55=1522