Hall Sensor Motor Control With Deterministic PWM Commutation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing sensor-based motor control systems rely on CPU interrupts for determining PWM commutation patterns, which can be non-deterministic and hinder CPU performance for other tasks.
Innovation Solution
A hardware-based system using lookup tables and processing logic to determine PWM commutation patterns independently from the CPU, ensuring deterministic operation within a predetermined time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If CPU interrupts are used for determining PWM commutation patterns, then motor control functionality is achieved, but system determinism deteriorates and CPU performance is hindered
Solution Approach 1:
The motor control system is segmented into two independent parts: a hardware-based deterministic control unit that handles PWM commutation pattern generation using lookup tables, and the CPU that handles higher-level tasks. This segmentation allows the critical time-sensitive control functions to operate independently with guaranteed timing, while the CPU is freed from interrupt overhead.
Solution Approach 2:
A hardware intermediary circuit is introduced between the sensor inputs and the PWM output generation. This intermediary hardware unit uses pre-configured lookup tables to directly translate sensor readings into PWM commutation patterns without requiring CPU intervention, thus maintaining system determinism while achieving full motor control functionality.
2Ease of operation
If CPU interrupts are used for determining PWM commutation patterns, then motor control is achieved, but CPU performance for other tasks deteriorates
Solution Approach 1:
The hardware-based control unit is self-sufficient in generating PWM commutation patterns using embedded lookup tables and combinational logic. It independently processes sensor inputs and generates control signals without requiring CPU services or interrupts, thereby freeing the CPU to focus on other productivity-enhancing tasks.
Solution Approach 2:
Lookup tables containing pre-computed commutation patterns are prepared in advance during system initialization or manufacturing. This preliminary action eliminates the need for real-time computational decisions during motor operation, allowing the hardware unit to directly map sensor states to control outputs without CPU involvement.
3Reliability
If hardware-based lookup table system is used, then system determinism is improved, but device complexity increases
Solution Approach 1:
All complex control logic and decision-making are pre-computed and stored in lookup tables during manufacturing or initialization. The runtime hardware unit only needs to perform simple table lookups and signal routing, which dramatically reduces the complexity of the operating hardware while maintaining high determinism.
Solution Approach 2:
Instead of implementing complex control algorithms in hardware logic, the system uses lookup tables that contain pre-stored control patterns. This copying approach replaces complex computational hardware with simpler memory-based lookup mechanisms, reducing hardware complexity while preserving deterministic behavior.
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 hardware-based system reliably determines PWM commutation patterns without CPU interrupts, maintaining consistent motor control and freeing the CPU for other operations.
Implementation Method 1
obtain an input comprising one or more hall sensor readings
Data Source
AI summary
An electronic circuit may be configured to obtain an input including one or more hall sensor readings, determine a current motor position based on the input and a first lookup table, determine a desired motor position based on the first lookup table on the current motor position, determine a pulse width modulation (PWM) commutation pattern based on the desired motor position and a second lookup table, and output the PWM commutation pattern within a predetermined time from obtaining the input.


