Motor Control Circuit with Software-Driven A/D Timing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing motor control circuits lack flexibility and versatility due to the inability to freely set and control the order and timing of A/D conversion, limiting their ability to adapt to various motor types and applications.
Innovation Solution
A motor control circuit with a multiplexer-based A/D converter and an interface circuit that utilizes internal signals for timing control, allowing software-driven synchronization with PWM cycles and event handling, enabling flexible software control and hardware synchronization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a software control system is used to achieve versatile motor control applications, then adaptability to different motor types and applications is improved, but the ability to freely control A/D converter timing and order deteriorates due to hardware limitations
Solution Approach 1:
The system dynamically switches between hardware mode and sequential mode based on operational requirements. In hardware mode, the A/D converter operates with fixed timing controlled by hardware circuits for real-time performance. In sequential mode, the processor can freely control the timing and order of A/D conversion through software, enabling versatile motor control applications. This dynamic adaptability resolves the contradiction between fixed hardware timing and flexible software control.
Solution Approach 2:
The system changes the operational parameters of the A/D converter by switching between two distinct modes. The mode selection register allows dynamic reconfiguration of the A/D converter's timing behavior, transforming it from a fixed hardware-controlled system to a flexible software-controlled system when needed. This parameter change enables the system to adapt to different motor types and applications while maintaining the ability to control A/D timing when required.
2Speed
If hardware control is used for A/D converter timing, then real-time control capability is improved, but flexibility and versatility in adapting to various motor applications deteriorates
Solution Approach 1:
The system employs dynamic mode switching to reconcile real-time control requirements with application versatility. The hardware mode provides deterministic real-time control for time-critical operations, while the sequential mode offers software flexibility for different motor types and control algorithms. The processor can select the appropriate mode based on the specific application requirements, thus achieving both real-time capability and adaptability.
3Device complexity
If a fixed A/D conversion timing is implemented in hardware, then system simplicity is improved, but the ability to optimize for different control algorithms and motor types deteriorates
Solution Approach 1:
The control system is segmented into two distinct operational modes with different complexity characteristics. The hardware mode represents a simplified fixed-timing approach suitable for basic applications, while the sequential mode provides a more complex but flexible software-controlled approach for optimized performance. This segmentation allows the system to maintain simplicity when needed while providing optimization capability when required, resolving the contradiction between simplicity and adaptability.
Data Source
AI summary
A control circuit for a motor, includes: a plurality of m number of analog ports to each of which a detection signal indicating an electrical state of the motor is input, m being an integer of 2 or more; an A/D converter including a multiplexer to receive detection signals of the m number of analog ports and being configured to convert a detection signal selected by the multiplexer into digital data; a processor to generate a drive command of the motor based on the digital data; a pulse width modulator to perform pulse width modulation to generate a PWM signal based on the drive command; and an interface circuit to be triggered by at least one internal signal generated in the control circuit to control an operation of the A/D converter according to a control command from the processor and deliver the digital data to the processor.


