add drawing

This commit is contained in:
Matthew Kennedy 2020-10-29 17:22:18 -07:00
parent 8e34dca1c2
commit e946b5ba71
2 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ static void SamplingThread(void*)
// AKA the absolute value of the difference between r2_opposite_phase and r2 is the amplitude // 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 // 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 // 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; float r2_opposite_phase = (r_1 + r_3) / 2;
// Compute AC (difference) and DC (average) components // Compute AC (difference) and DC (average) components

BIN
firmware/sampling.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB