From 0403d9d27868762a3a4bc0c6172ea12718fc0819 Mon Sep 17 00:00:00 2001
From: Gabriel Koppenstein <82903393+1nct@users.noreply.github.com>
Date: Fri, 28 Jan 2022 11:22:04 +0100
Subject: [PATCH] Updated Hardware description (markdown)
---
Hardware-description.md | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Hardware-description.md b/Hardware-description.md
index acf29d4..c50c8ff 100644
--- a/Hardware-description.md
+++ b/Hardware-description.md
@@ -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 VEMF 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:
-VEMF = 11⋅VMeasure2 - 43⋅VMeasure + 45
+VEMF > 1.8V:
+
+VEMF ≈ 11⋅VMeasure2 - 43⋅VMeasure + 45
+
+VEMF < 1.8V:
+
+VEMF ≈ VMeasure⋅(10kΩ+10kΩ/10kΩ)
+
+Note: ADC converts 3.3V to 4096 and 0V to 0
Auxillary Output
--------------------------