See the relationship before changing it
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 pwm resolution, so the numeric fixture does not switch without explanation.
Derive the baseline in four named moves
- 1
Name the input. The chapter baseline is 8 bits.
- 2
Name the relationship. PWM step = 12,000 mV / 2^bits
- 3
Substitute with units. 12,000 / 2^8 = 46.875 mV
- 4
Read the result. Keep the unit beside the value. Use it only inside the technical boundary on this page.
Predict, then change pwm resolution
Try Predict the direction of PWM step = 12,000 mV / 2^bits. Test another pwm resolution, then compare ideal drive step.
Observe More PWM bits shrink voltage steps; motor mechanics are a separate fixture. Reset pwm resolution to 8 and compare ideal drive step.
Explain Each extra pulse-width modulation bit doubles the available duty settings, halving the ideal average-voltage increment across the same drive range.
Check yourself
What should you do before trusting a moved-control result?
What does this small model leave out?
1. A smooth target meets a grid
A controller can ask for any voltage or angle. Hardware often offers only fixed steps. Rounding chooses the nearest step and leaves a small signed error.
2. Measure one rounding error
Name the stepCall the spacing between neighbouring choices q.
Bound the errorNearest-step rounding lies from −q/2 to +q/2.
Take its RMSA uniform error has σq=q/√12.
3. Add the separate time limit
Bit depth sets command spacing. Refresh rate sets the fastest command motion that can be represented. One cannot repair the other.
4. Try the PWM bit depth
TryMove the bit-depth control. The stepper and servo values stay fixed so you can see which limit changes.
ObserveAt 8-bit, 12 V becomes 46.875 mV steps with 13.53 mV RMS error and 49.9 dB ideal SNR. The two steppers stay at 0.520° and 0.0507° RMS, while the servo stays at 25 Hz.
ExplainThe same rounding law compares PWM and stepper resolution. Nyquist belongs to a different question: how quickly the commanded angle may change.
The voltage grid keeps the supply at 12 V while pulse-width modulation bit depth changes; its rounding-error estimate assumes targets are evenly spread within each step. Backlash, missed steps, torque, timer jitter, driver nonlinearity, servo mechanics, load, and control-loop behaviour are outside this grid calculation.
- backlash
- Needs separate evidence
- missed steps
- Needs separate evidence
- torque
- Needs separate evidence
- timer jitter
- Needs separate evidence
- driver nonlinearity
- Needs separate evidence
- servo mechanics
- Needs separate evidence
- load
- Needs separate evidence
- control-loop dynamics
- Needs separate evidence
Use field evidence or a deeper model before release.
5. Reproduce the chapter values
The NEMA 17 gives 1.8°/√12=0.520°. The 2,048-step motor gives q=360°/2,048=0.1758° and 0.0507° RMS, about 10× finer. A 50 Hz command stream gives 25 Hz by Nyquist.
6. Verify the physical result
Record timer resolution, driver mode, commanded and measured angle, load, backlash, missed steps, refresh rate, and the sensor used to prove motion.
7. Check yourself
Why divide q by √12?
Does more PWM bit depth raise a servo's 25 Hz limit?
Does 0.0507° RMS guarantee that motion accuracy?
The voltage grid keeps the supply at 12 V while pulse-width modulation bit depth changes; its rounding-error estimate assumes targets are evenly spread within each step. Backlash, missed steps, torque, timer jitter, driver nonlinearity, servo mechanics, load, and control-loop behaviour are outside this grid calculation.
- 12 V
- Drive supply voltage
- 8-bit
- Pulse-width modulation command resolution
- 46.875 mV
- Drive voltage step at eight bits
- 13.53 mV
- Root mean square drive rounding error
- 49.9 dB
- Ideal signal-to-noise ratio at eight bits
- 1.8°
- NEMA 17 full-step angle
- 0.520°
- NEMA 17 root mean square angle-rounding error
- 2,048-step
- 28BYJ-48 steps per revolution
- 0.1758°
- 28BYJ-48 angle per step
- 0.0507°
- 28BYJ-48 root mean square angle-rounding error
- roughly 10×
- Stepper angle-resolution improvement
- 50 Hz
- Servo command refresh rate
- 25 Hz
- Servo command Nyquist frequency
They describe command grids, not guaranteed actuator accuracy.
Max guides