SNVAA20 July 2021 DRV8833 , DRV8833 , LMR33630 , LMR33630
Stepper motors can be controlled with high accuracy, but do not inherently have feedback to indicate their position. An external means of feedback is therefore necessary to control the stepper motor effectively. The resistive track provides a means to do so by using an external reference voltage which connects to the resistive track via a fuse and series resistor, forming a variable resistive divider. The middle node voltage of this variable resistive divider changes depending on the position of the metal arm assembly and is tracked by the second ADC located on the controller module. The middle node voltage can vary from 0 V up to the divided voltage, VDiv, which is defined by the fixed series resistance chosen as per equation:
Where RDiv is calculated according to:
This design uses the quiet 3.3-V rail from the controller board as a reference voltage and a 50-Ω series resistor, which limits VDiv to values between 0 V (load of 40.5 Ω) and approximately 1.5 V (load of 0.0 Ω). The feedback scheme is outlined in Figure 3-6.
Care must be taken to ensure that the LDO is able to provide the maximum required current. The selected peak current output current of the LDO is typically 150 mA and is no less than 100 mA, making it a suitable selection. The maximum LDO current for this design is defined as:
If a single value of resistor was used for the entire resistive track, the voltage and resistance relationship would be linear, but since different sized resistors were used, the relationship is piece-wise. The relationship can be empirically determined between the resistance and position. Alternatively, the voltage VDiv, can be calculated for each resistor.