|
|
|
|
|
by zootboy
484 days ago
|
|
Indeed. I've been building systems that orchestrate batteries and power sources. Turns out, it's a difficult problem to temporally align data points produced by separate components that don't share any sort of common clock source. Just take the latest power supply current reading and subtract the latest battery current reading to get load current? Oops, they don't line up, and now you get bizarre values (like negative load power) when there's a fast load transient. Even more fun when multiple devices share a single communication bus, so you're basically guaranteed to not get temporally-aligned readings from all of the devices. |
|
Here’s a great podcast on the topic which you will surely like!
https://signalsandthreads.com/clock-synchronization/
And a related HN thread in case you missed it:
https://news.ycombinator.com/item?id=39298652