Stepping Motor Duty Cycle Lookup Reduces CPU Load

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional CPU-based stepping motor control systems face a high processing burden due to the large number of control commands required for precise rotation control, especially in high-performance applications, leading to increased complexity and load on the motor control CPU.

Innovation Solution

A stepping motor control system that includes an angle address register, a duty cycle memory, and a pulse generator, where duty cycles are pre-calculated and stored, allowing the CPU to initialize a pointer register and update it with incremental angle addresses, reducing the CPU's processing load by using a duty cycle selector and revolution detector to manage motor rotation and acceleration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If CPU-based control is used to achieve precise rotation control with high number of control commands, then manufacturing precision and measurement precision are improved, but device complexity and processing burden increase

Engineering Contradiction:
Improverotation control precisionVSAvoidCPU processing burden
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The control system is segmented into distinct functional units: a duty cycle storage unit that pre-stores duty cycle data for each angular position, a duty cycle selection unit that retrieves appropriate duty cycles based on current position, and a pulse generation unit that converts duty cycles to drive pulses. This segmentation transfers computational burden from CPU to dedicated hardware components, reducing processing complexity while maintaining precise rotation control through systematic division of control functions

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Duty cycle data for all possible angular positions is pre-calculated and stored in the duty cycle storage unit before operation. During motor operation, the control system only needs to retrieve pre-computed duty cycles based on current angular position rather than performing real-time calculations. This preliminary action eliminates complex runtime computations while ensuring accurate rotation control through pre-prepared control parameters

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If the number of control commands is increased to achieve one revolution control, then rotation accuracy is improved, but processing time and CPU load increase

Engineering Contradiction:
Improveangular position accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

Duty cycle data corresponding to each angular position throughout one complete revolution is pre-calculated and stored in the duty cycle storage unit. During operation, the system simply retrieves the appropriate pre-computed duty cycle based on current angular position using address calculation, eliminating the need for real-time computation of 2304+ control commands while maintaining accurate angular position control throughout the entire revolution

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The control system is designed to handle periodic operation with one revolution as the complete cycle. By pre-storing duty cycle data for all angular positions from 0 to 360 degrees, the system efficiently manages the periodic nature of stepping motor operation, where the same sequence of control commands repeats with each revolution, reducing processing time through reusable pre-computed data

Inventive Principle:
Principle #19Periodic action

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

This solution reduces the CPU's processing burden, enabling smoother and more accurate rotation control with reduced computational demands, thus improving the efficiency of stepping motor control systems.

Implementation Method 1

The magnetic poles of the stator coils can be controlled electrically by varying the voltages applied to (or the currents flowing through) those coils 102 to 105. The S pole of the phase-A coil 103 attracts an N pole of the rotor 101, while the N pole of the phase-A′ coil 105 attracts an S pole of the rotor 101.

Methodology Applied
Scientific EffectElectromagnetic interaction: Electromagnetic Induction

Data Source

PatentUS7791306B2Apparatus, method, and system for controlling stepping motor
Publication Date: 2010.09.07 INFINEON TECHNOLOGIES AMERICAS CORP
  • US7791306B2 patent drawing
  • US7791306B2 patent drawing
  • US7791306B2 patent drawing

AI summary

A stepping motor controller that alleviates the CPU burden of motor control tasks. An acceleration control starter initializes a pointer register with a given start angle address upon receipt of a control start signal. Duty cycles for different motor angles are previously calculated and stored in a duty cycle memory. A duty cycle selector looks up this memory to select specific duty cycles corresponding to the angle address held in the pointer register. The stepping motor is driven with pulse signals that a pulse generator produces according to the selected duty cycles. An angle address calculator adds a given address increment to the pointer register. A revolution detector detects one revolution of the stepping motor by comparing the angle address of the pointer register with an end angle address, which permits an acceleration constant calculator to change the angular increment upon detection of one revolution.