See the relationship before changing it
The figure reads from left to right. The blue card is motor current. The middle card applies this page's rule. The green card is sense-amplifier output. Walk the arrows once: set the input, apply the rule, then read the result with its unit.
The retained audit below checks several chapter fixtures. This model keeps those stated values fixed and changes only motor current, so the numeric fixture does not switch without explanation.
Derive the baseline in four named moves
- 1
Name the input. The chapter baseline is 0.6 A.
- 2
Name the relationship. sense output = current x 0.1 ohm x gain 10
- 3
Substitute with units. 0.60 x 0.1 x 10 = 0.60 V
- 4
Read the result. Keep the unit beside the value. Use it only inside the technical boundary on this page.
Predict, then change motor current
Try Predict the direction of sense output = current x 0.1 ohm x gain 10. Test another motor current, then compare sense-amplifier output.
Observe Larger motor current makes more sensed voltage until headroom clips. Reset motor current to 0.6 and compare sense-amplifier output.
Explain Larger motor current makes more sensed voltage until headroom clips.
Check yourself
What should you do before trusting a moved-control result?
What does this small model leave out?
1. Current becomes a voltage
A small resistor develops V=IR. An amplifier multiplies that voltage so the ADC can distinguish normal running from load and stall.
2. Build the measurement chain
SenseVsense=IcoilRsense.
AmplifyVout=GVsense.
DigitiseAn N-bit ADC has q=Vref/2^N.
3. Ask the time question separately
If sampling is too slow, the switching ripple does not disappear. Its samples fit a slower false pattern.
4. Try the ADC sampling rate
TryRaise the sample rate from the chapter's 1,200 Hz example toward the 40 kHz Nyquist floor.
ObserveAt 1,200 Hz, the three currents become 0.180, 0.600, and 1.800 V, the ADC step is 3.22 mV, but 20 kHz ripple folds to 400 Hz.
ExplainThe ADC has enough voltage resolution to separate the regimes. It still needs at least 40 kHz sampling, or an analogue filter plus a justified slower measurement contract, to avoid a false low-frequency ripple.
This ideal chain
- resistor tolerance
- Needs separate evidence
- heating
- Needs separate evidence
- amplifier offset/bandwidth/saturation
- Needs separate evidence
- ADC acquisition time
- Needs separate evidence
- switching edges
- Needs separate evidence
- common-mode limits
- Needs separate evidence
- anti-alias filtering
- Needs separate evidence
- motor commutation
- Needs separate evidence
- sensor calibration
- Needs separate evidence
Use field evidence or a deeper model before release.
5. Reproduce the 400 Hz fold
round(20,000/1,200)=17. Therefore |20,000−17×1,200|=400 Hz. That slow-looking wobble came from fast switching, not a 400 Hz mechanical fault.
6. Verify a stall rule
Capture raw current with timestamps. Record the PWM clock, sample clock, analogue filter, ADC range, startup duration, loaded baseline, stall threshold, and independent motion evidence.
7. Check yourself
What voltage represents the 600 mA loaded case?
Why is 3.22 mV resolution not enough by itself?
Does a 400 Hz trace prove a 400 Hz motor event?
These are the chapter inputs, worked results, and named teaching assumptions.
- 180 mA
- Current or responsivity value
- 600 mA
- Current or responsivity value
- 1.8 A
- Current or responsivity value
- 0.1 Ω
- Resistance or impedance value
- gain 10
- Percentage, ratio, or gain
- 0.180 V
- Voltage or voltage-step value
- 0.600 V
- Voltage or voltage-step value
- 1.800 V
- Voltage or voltage-step value
- 10-bit
- Digital resolution or converter setting
- 3.3 V
- Voltage or voltage-step value
- 3.22 mV
- Voltage or voltage-step value
- 20 kHz
- Frequency, sample rate, or event rate
- 40 kHz
- Frequency, sample rate, or event rate
- 1,200 Hz
- Frequency, sample rate, or event rate
- 400 Hz
- Frequency, sample rate, or event rate
They do not define a production stall detector by themselves.
Max guides