6 ms·
What RTC drifts so much in a week (or even a year) as to throw off lighting or HVAC controls timing?
by sokoloff 8y ago
What RTC drifts so much in a week (or even a year) as to throw off lighting or HVAC controls timing?
- pstrateman 8y agoAn RTC chip without temperature compensation in an extremely variable temperature environment.
- sokoloff 8y agoHow far would a lighting control or HVAC control have to drift before it became impractical to use? I could imagine 45 minutes could still be “eh, who cares?” 45 minutes in a year is under 1 part in 10000.
- TylerE 8y agoI can imagine 5 minutes being well into I care territory. Could be the difference, say, between pulling into a dark drive way or having light.
- sokoloff 8y agoProgram the lights to come on 30 minutes earlier then. An overcast day and a new moon vs a day with high cirrus overhead and clear skies to the west almost surely has more variability than 5 minutes' difference.
- TylerE 8y agoIf it drifts at 5 minutes per week you still have to reprogram after 6 weeks.
- sokoloff 8y agoSure, but that's ~500ppm drift, which is fairly extreme.
- freeone3000 8y agoHT1380 drifts 10 seconds every 20 hours under normal conditions. I don't think this is outside the realm of possibility if they chose a cheaper chip or had weird temperature fluctuations.
- klodolph 8y agoUgh. So many. There are tons of different RTCs you can get. Sometimes you don’t really have an “RTC” as much as you have an RC oscillator and a guess at what its frequency should be. A simple crystal oscillator could be as bad as 200 ppm, or five minutes per fortnight. RC oscillators are worse. Decent wristwatches generally have temperature compensated crystal oscillators (TCXO) which can be calibrated at the factory, often by adjusting the counter values periodically (e.g. every N counts, add X to the counter). NTP is better than this, but only if you run it as a daemon.