2025-06-09 11:00 PM
The basic algorithm here should be the reciprocal of the bus voltage, using LPF filtering for result. So the code should be modified as follows. Please help me confirm whether my understanding is incorrect or if there is indeed an error here?
2025-07-22 2:47 AM
Hello propu,
Although I'm not sure of the exact reason why the current busVoltageComp filtering is implemented this way, it is still a valid filter and I don't see any reason to change it. It is true that the filter you are talking about is the closest way to a LPF. However, it requires a division in that case, which we would rather avoid in an embedded context. The current implementation is therefore more adapted to our constraints.