mirror of https://github.com/rusefi/wideband.git
add drawing
This commit is contained in:
parent
8e34dca1c2
commit
e946b5ba71
|
@ -34,6 +34,7 @@ static void SamplingThread(void*)
|
|||
// AKA the absolute value of the difference between r2_opposite_phase and r2 is the amplitude
|
||||
// of the AC component on the nernst voltage. We have to pull this trick so as to use the past 3
|
||||
// samples to cancel out any slope in the DC (aka actual nernst cell output) from the AC measurement
|
||||
// See firmware/sampling.png for a drawing of what's going on here
|
||||
float r2_opposite_phase = (r_1 + r_3) / 2;
|
||||
|
||||
// Compute AC (difference) and DC (average) components
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Loading…
Reference in New Issue