viewof led_voltage = Inputs.range([1.8, 3.5], {value: 2.1, step: 0.1, label: "LED Forward Voltage (V)"})
viewof led_current = Inputs.range([5, 50], {value: 20, step: 1, label: "LED Forward Current (mA)"})
viewof pwm_duty = Inputs.range([0, 100], {value: 50, step: 5, label: "PWM Duty Cycle (%)"})
viewof hours = Inputs.range([1, 24], {value: 24, step: 1, label: "Operating Hours"})Interactive PWM Power Calculator
Interactive PWM Power Calculator
animation
actuators
visual
audio
Try Leave LED Forward Voltage (V) at 2.1 and LED Forward Current (mA) at 20. Move PWM Duty Cycle (%) from 50 toward 100.
Observe At the opening 50% duty, average current is 10.0 mA and power is 21.0 mW. Energy saved over 24 hours starts at 504.0 mWh and shrinks as duty rises.
Explain PWM Duty Cycle (%) scales the on-state current to get average current; voltage times that current gives power, and the power difference times Operating Hours gives energy saved.
Technical boundaries. This estimate assumes a constant forward voltage and on-state current. It accounts for LED electrical power only, without driver losses, switching losses or a perceived-brightness model.
TipInteractive PWM Power Calculator
Calculate power consumption and energy savings for LED brightness control:
Example: At 50% PWM duty, an LED driven at 2.1 V and 20 mA while on has about half its full-duty average current and power; its perceived brightness need not be exactly half. Average current is mA, so power is W. Over 24 hours, this saves Wh compared to full brightness.