Skip to content
Documentation sections

PWM Duty Cycle to Motor Voltage

POSThttps://rftools.io/api/py/v1/calculate

Slug pwm-duty-cycle-motor. Convert PWM duty cycle to effective motor voltage, calculate no-load speed and stall current for DC motor PWM control.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of pwm-duty-cycle-motor
NameUnitRangeDefaultDescription
supplyVoltagenumberVat least 0.112Supply Voltage
dutyCyclenumber%0 … 10075Duty Cycle
motorKvnumberRPM/Vat least 1100Speed per volt at no load
motorResistancenumberΩat least 0.011.5Winding Resistance

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of pwm-duty-cycle-motor
FieldUnitDescription
effectiveVoltageheadlineVEffective Voltage
noLoadSpeedRPMNo-Load Speed
stallCurrentAStall Current
peakPowerWPeak Power (stall)
rippleVoltageFactorVVoltage ripple factor — V_s × D × (1−D); indicates PWM voltage variation, not current

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.