Sliding Error Sampler Timing for Low-Latency PWM Control Loops

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Digital control loops in applications like switching power supplies and robotic controllers face latency issues due to long pipeline delays, which impair phase and gain margins, leading to suboptimal performance compared to analog loops.

Innovation Solution

The implementation of a sliding error sampler with adaptive timing in digital control loops, where the clock cycles for the digital pulse width modulator are varied based on previous outputs, and a margin is added to accommodate transient conditions, effectively reducing latency by sliding the sampling and conversion processes towards the output edge of the pulse width modulator.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If digital control loops use fixed pipeline delays for processing, then circuit simplicity is maintained, but loop latency increases reducing phase and gain margins

Engineering Contradiction:
Improveloop latencyVSAvoidcircuit complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent implements dynamic timing adjustment where the digital pulse width modulator adapts its output timing based on previous iteration results. The trailing edge of the PWM output is adjusted variable depending on the previous iteration pulse width, creating a dynamic system that optimizes latency while maintaining stability through adaptive rather than fixed timing

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent uses prediction of computation time for the proportional-integral-derivative filter based on average values from previous digital pulse width modulator outputs. This preliminary estimation allows the system to prepare timing adjustments in advance, reducing actual loop latency by anticipating processing requirements before they occur

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If digital control loops reduce pipeline delays to minimize latency, then loop latency decreases improving phase and gain margins, but power consumption and circuit complexity increase

Engineering Contradiction:
Improveloop latencyVSAvoidpower consumption
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The patent changes the timing parameters of the digital pulse width modulator dynamically based on previous iteration performance. By adjusting the trailing edge timing and using predicted computation times, the system optimizes latency without requiring additional parallel circuitry that would increase power consumption. The margin added to accommodate transient conditions is adjusted based on previous iteration pulse width, optimizing the balance between latency reduction and power efficiency

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8238414B1Sliding error sampler (SES) for latency reduction in the PWM path
Publication Date: 2012.08.07 NAT SEMICON CORP
  • US8238414B1 patent drawing
  • US8238414B1 patent drawing
  • US8238414B1 patent drawing

AI summary

A digital control loop within power switchers and the like includes a sliding error sampler pulse width modulation timing variably setting a number of clock cycles relative to a digital pulse width modulator output trailing edge for loading control variables for a filter. A computation time for the proportional-integral-derivative filter is predicted based on an average for previous digital pulse width modulator outputs, computed within the integral path for the previous loop iteration. A margin is added to accommodate transient conditions accelerating the trailing edge of the digital pulse width modulator output, either fixed or variable depending on the previous iteration pulse width.