Updated Hardware description (markdown)

Gabriel Koppenstein committed 2022-01-28 11:22:04 +01:00
1 parent 5100b8121b
commit 0403d9d278
1 file changed
+9 -1
+9 -1
@@ -52,7 +52,15 @@ The Motor Driver is a complete H-Bridge IC specifically made for DC-Motors.
In order to control the motor, it is necessary to measure the back-EMF. This is done by the ADC which measures at Points V_EMF_A and V_EMF_B respectively. The two resistors and the zener diode function similar to the circuit in the input stage. Only this time the actual voltage V<sub>EMF</sub> has to be measured. This means for voltages higher than ~1.8V the non-linearity of the Zener Diode needs to be taken into account. The correction is done in Software, approximated by the following formula:
V<sub>EMF</sub> = 11⋅V<sub>Measure</sub><sup>2</sup> - 43⋅V<sub>Measure</sub> + 45
V<sub>EMF</sub> > 1.8V:
V<sub>EMF</sub> ≈ 11⋅V<sub>Measure</sub><sup>2</sup> - 43⋅V<sub>Measure</sub> + 45
V<sub>EMF</sub> < 1.8V:
V<sub>EMF</sub> ≈ V<sub>Measure</sub>⋅(<sup>10kΩ+10kΩ</sup>/<sub>10kΩ</sub>)
Note: ADC converts 3.3V to 4096 and 0V to 0
Auxillary Output
--------------------------