A technician must decide whether ideal voltage step is safe before changing pwm resolution on the real device. The result is unresolved until the rule and units are checked. Predict the direction first.
See the relationship before changing it
The figure reads from left to right. The blue card is pwm resolution. The middle card applies this page's rule. The green card is ideal voltage step. 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 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. step = 9,000 mV / 2^bits
- 3
Substitute with units. 9,000 / 2^8 = 35.156 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 step = 9,000 mV / 2^bits. Test another pwm resolution, then compare ideal voltage step.
Observe Each added bit halves the ideal command step before driver error is counted. Reset pwm resolution to 8 and compare ideal voltage step.
Explain Each added bit halves the ideal command step before driver error is counted.
Check yourself
What should you do before trusting a moved-control result?
What does this small model leave out?
1. PWM has two independent settings
Bit depth chooses how finely duty can be commanded. Frequency chooses how long current has to rise and fall in each cycle.
2. Quantise the voltage command
Count the codesEight bits gives 2^8=256 levels.
Divide full scaleq=Vsupply/2^N.
Bound ideal SNRSNR=6.02N+1.76 dB.
3. Follow the winding time constant
At 50% duty the exact ripple expression reduces to tanh(1/(4fτ)).
4. Try the PWM frequency
TryRaise the PWM frequency while keeping the same 8-bit command and illustrative winding.
ObserveAt 5 kHz, the code step is 35.2 mV, τ is 0.250 ms, and exact ripple is 19.7% of the full 9 V/6 Ω current step; about 20.0 kHz meets the illustrative 5% target.
ExplainChanging frequency reaches only the exponential terms. The 8-bit voltage step stays fixed because it comes from a separate formula.
This ideal voltage-fed periodic RL model
- back-EMF
- Needs separate evidence
- driver voltage drops
- Needs separate evidence
- fast/slow decay modes
- Needs separate evidence
- supply droop
- Needs separate evidence
- saturation
- Needs separate evidence
- heating
- Needs separate evidence
- torque ripple
- Needs separate evidence
- mechanics
- Needs separate evidence
- acoustic resonances
- Needs separate evidence
- Measure the actual current waveform and temperature
- Needs separate evidence
Use field evidence or a deeper model before release.
5. Read the chapter codes
The chapter's 25%, 75%, and 20% examples map to integer codes 64, 191, and 51. Rounding is visible; it is not evidence of exact motor speed.
6. Verify the physical channel
Record supply voltage under startup load, winding R and L, duty, frequency, driver decay mode, current ripple, temperature, sound, and shaft response.
7. Check yourself
What does 8-bit PWM bound?
Why is 5 kHz not a speed command?
Is this a Nyquist calculation?
These are the chapter inputs, worked results, and named teaching assumptions.
- 8-bit
- Digital resolution or converter setting
- 5 kHz
- Frequency, sample rate, or event rate
- 9 V
- Voltage or voltage-step value
- 35.2 mV
- Voltage or voltage-step value
- 49.9 dB
- Gain, loss, margin, or level ratio
- 6 Ω
- Resistance or impedance value
- 1.5 mH
- Inductance value
- 0.250 ms
- Time, interval, or service-life value
- 19.7%
- Percentage, ratio, or gain
- 20.0 kHz
- Frequency, sample rate, or event rate
They do not certify the lab motor; Under the Hood keeps the required measurements.
Max guides