Skip to content

Improved Data Logger & Sensor Filtering, Maintenance Release

Compare
Choose a tag to compare
@TG9541 TG9541 released this 17 Dec 17:28
· 38 commits to master since this release

Improved Data Logger

Per log cycle, the data logger now logs the following values:

  • Lowest temperature
  • Highest temperature
  • Heating duty cycle DC = 100% (t.on/(t.on + t.off)
  • Number of relay trip cycles

The console command L.dump produces 144 lines with the following values each:

Duty Cycle [%] Relay Cycle # T-Low[°C] T-High[°C]
58 3 36.1 37.9

These values get packed into 32bits for efficient storage in the EEPROM.

L.dump produces lists with 144 lines. The latest entry is last in the list.

\ % #  min  max
\ - - ---- ----
 58 3 36.1 37.9
 66 3 36.0 37.9
 58 3 36.1 37.9
 65 3 36.1 37.9
 66 3 36.1 37.9
 58 4 36.3 37.9
 60 3 36.2 37.9
 61 4 36.2 37.9
 52 3 36.2 38.2
 53 4 36.3 38.0
 55 3 36.3 38.0
 53 4 36.3 38.0

These numbers can be fed into a spread sheet, e.g. for creating diagrams

Improved Sensor Filtering

measure.fs now applies a second low pass filter on the linearized output. Rounding of values has also been improved.

Other Changes

  • General code clean-up, improved identifiers and comments,
  • re-ordering the high-level words in task revealed a bug in the DEFAULT path (it was still safe). #15 "Sensor error leads to unbalanced stack in control.fs" fixes this.