Stepper Motor PWM Calibration for Zero-Crossing Current Errors

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Stepper motor control systems face inaccuracies due to manufacturing variances and end-user component variations, leading to errors in peak current regulation, which are exacerbated by delays in the feedback loop and unknown motor inductances and voltage outputs.

Innovation Solution

A stepper motor error reduction system that includes a zero-crossing calibrator, which detects body diode effects to adjust an offset reference voltage, compensating for delays and variations in the PWM control loop, thereby minimizing errors from process, voltage, and temperature variations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional PWM control is used without calibration, then the control circuit is simple, but current regulation accuracy deteriorates due to manufacturing variances and loop delays

Engineering Contradiction:
Improvecurrent regulation accuracyVSAvoidcontrol circuit complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by performing calibration before normal operation. The calibrator determines optimal offset values for reference voltages during a calibration phase, storing these values for use during subsequent motor control operations. This preliminary calibration action compensates for manufacturing variances and loop delays without adding complexity to the real-time control path.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The control system applies self-service by using its own resources (power switches, body diodes, and existing circuitry) to perform self-calibration. The calibrator utilizes the body diode effects that naturally occur during PWM operation to generate calibration signals, eliminating the need for external calibration equipment or additional complex circuitry.

Inventive Principle:
Principle #25Self-service

2Measurement precision

If offset calibration is performed to compensate for loop delays, then current regulation accuracy improves, but the control process time increases

Engineering Contradiction:
Improvepeak current regulation accuracyVSAvoidcalibration time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies periodic action by performing calibration at specific intervals or under specific conditions (such as during motor startup or when accuracy is critical). The calibrator operates periodically rather than continuously, determining offset values at calibrated moments and then using these values for extended periods, thus minimizing time loss while maintaining accuracy.

Inventive Principle:
Principle #19Periodic action

3Reliability

If body diode effect calibration is used, then compensation for PVT variations improves, but detection precision requirements increase

Engineering Contradiction:
Improvecompensation accuracy for PVT variationsVSAvoidbody diode effect detection difficulty
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent converts the harmful body diode effect (which causes voltage drops and timing errors) into a beneficial calibration signal. By intentionally utilizing the body diode conduction events during PWM operation, the system generates measurable voltage signals that reveal the magnitude of loop delays and manufacturing variances, transforming a source of error into a calibration opportunity.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

The system achieves precise current regulation and improved motor positioning accuracy by progressively adjusting the offset to optimize the trigger time for PWM signals, reducing peak current overshoots and undershoots, and compensating for loop delays.

Implementation Method 1

a calibrator detects a type of a body diode effect that occurs in the second power switch when the second switch stops de-energization of the coil

Methodology Applied
Scientific EffectBody diode effect: Diode

Data Source

PatentEP3607650B1Stepper motor error reduction
Publication Date: 2024.04.17 TEXAS INSTRUMENTS INC
  • EP3607650B1 patent drawingFigure 1~3
  • EP3607650B1 patent drawingFigure 2
  • EP3607650B1 patent drawingFigure 4~5

AI summary

In described examples, first and second power switches (214, 218) respectively energize and de-energize a coil (202) of a stepper motor (204) during each cycle for pulse-width modulating (PWM) (232) the coil current. During a cycle including a zero crossing microstep, a calibrator (234) detects a type of a body diode (218a) effect that occurs in the second power switch (218) when the second power switch (218) stops de-energization of the coil (202). A selected offset is adjusted in response to the type of detection of the body diode (218a) effect of the second power switch (218). By adjusting the selected offset, it controls the trigger time for a comparator (230) to compare an offset reference voltage to a motor voltage VSNS developed in response to the coil current. By progressively adjusting the selected offset over successive cycles, it compensates for delays of components in the PWM control loop and reduces errors.