Difference between revisions of "Calculation of refill tank content"

From aquarium-doc
Jump to navigationJump to search
Line 2: Line 2:


The calculation assumes that the refill tank has the geometry of a cuboid.
The calculation assumes that the refill tank has the geometry of a cuboid.
[[File:RefillTankLevelFiltered.png|1000px|Refill tank level (raw data and filtered data)]]


The calculation is done in the [[SW component RefillTnkLvl]].
The calculation is done in the [[SW component RefillTnkLvl]].
Line 10: Line 8:
- a low-pass filter (blue signal)
- a low-pass filter (blue signal)
- a filter checking if the new value is within a permissible range compared to the low-pass filtered signal
- a filter checking if the new value is within a permissible range compared to the low-pass filtered signal
The dynamic website applies an additional median filter (green signal).

Revision as of 10:42, 19 February 2023

Based on the geometrical parameters of the tank and the distance from the lid of the tank to the water surface, the control system calculates the content of the refill tank.

The calculation assumes that the refill tank has the geometry of a cuboid.

The calculation is done in the SW component RefillTnkLvl.

The control application applies two filters: - a low-pass filter (blue signal) - a filter checking if the new value is within a permissible range compared to the low-pass filtered signal