IP Library Granted Patent US 11,323,052
Granted Patent B2
US 11,323,052 · App. 16/254,797 · Granted May 3, 2022

Automated speed ramp control of stepper motors

Inventor: Keith Edwin Curtis (Queen Creek, AZ)
Assignee: Microchip Technology Incorporated
H02P8/14G05B19/416G05B2219/33088G05B2219/43139
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,323,052
App. No.
16/254,797
Granted
May 3, 2022
Kind
B2
Abstract

Automated speed ramp control of stepper motor acceleration and deceleration using direct memory access (DMA) and core independent peripherals (CIPs) comprises a numerically controlled oscillator (NCO) controlled through direct memory access (DMA) transfers of prescale values used in combination with a clock oscillator to generate clock pulses that are a function of the clock oscillator frequency and the prescale values. This automates changing the frequency of the NCO, thereby controlling steeper motor speed, without requiring computer processing unit (CPU) overhead. The DMA module is enabled during a first number of clock pulses for step speed acceleration, disabled during a second number of clock pulses for normal operation at full step speed, and then re-enabled during a third number of clock pulses for step speed deceleration. A table in memory may store and provide a plurality of acceleration and deceleration prescale values for DMA transfers to the NCO.

Claims (21)

1. An apparatus for automated speed ramp control of stepper motor acceleration and deceleration, comprising:

an oscillator having an output;

a numerically controlled oscillator (NCO) having oscillator and prescale value inputs and an output providing clock pulses, wherein the NCO oscillator input is coupled to the oscillator output and a frequency of the clock pulses from the NCO is a function of a frequency from the oscillator and the prescale value;

a memory for storing a plurality of acceleration and deceleration prescale values; and

a direct memory access (DMA) control circuit coupled between the NCO prescale value input and the memory, and the output of the NCO, wherein the DMA control circuit comprises a DMA controller configured to provide the NCO with the acceleration prescale values from the memory for a first number of clock pulses, and to provide the NCO with the deceleration prescale values from the memory for a third number of clock pulses, wherein the DMA controller is inhibited by the DMA control circuit for a second number of clock pulses wherein the DMA control circuit further comprises:

a first counter for counting the first number of clock pulses;

a second counter for counting the second number of clock pulses;

a third counter for counting the third number of clock pulses; and

a multiplexer having a first input coupled to the NCO output, a second input coupled to a fixed logic level, an output coupled to the DMA controller and input selection controlled by the first, second and third counters;

wherein

the first counter controls the multiplexer to couple the first input to the output thereof during the first number of clock pulses,

the second counter controls the multiplexer to couple the second input to the output thereof during the second number of clock pulses, and

the third counter controls the multiplexer to couple the first input to the output thereof during the third number of clock pulses.

2. The apparatus according to claim 1 , further comprising a central processing unit (CPU) configured to provide input values to the first, second, and third counter.

3. The apparatus according to claim 2 , wherein the CPU is further configured to generate a reset for said DMA control circuit.

4. The apparatus according to claim 2 , wherein the first counter is configured to receive an acceleration count value as an input value from the CPU.

5. The apparatus according to claim 2 , wherein the second counter is configured to receive an maximum speed count value as an input value from the CPU.

6. The apparatus according to claim 2 , wherein the third counter is configured to receive an deceleration count value as an input value from the CPU.

7. The apparatus according to claim 2 , wherein the third counter is configured to generate an interrupt.

8. The apparatus according to claim 1 , wherein the fixed logic level is a logic zero.

9. The apparatus according to claim 1 , wherein the oscillator, NCO, memory and DMA control circuit are provided by a microcontroller.

Assignments (13)
RELEASE OF SECURITY INTEREST Recorded Mar 14, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 060894/0437 →
RELEASE OF SECURITY INTEREST Recorded Mar 11, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059363/0001 →
RELEASE OF SECURITY INTEREST Recorded Mar 10, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059863/0400 →
RELEASE OF SECURITY INTEREST Recorded Mar 9, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059358/0335 →
RELEASE OF SECURITY INTEREST Recorded Feb 28, 2022
From: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059263/0001 →
GRANT OF SECURITY INTEREST IN PATENT RIGHTS Recorded Nov 19, 2021
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Reel/Frame 058214/0625 →
SECURITY INTEREST Recorded Jun 4, 2021
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Reel/Frame 057935/0474 →
SECURITY INTEREST Recorded Dec 24, 2020
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 055671/0612 →
SECURITY INTEREST Recorded Jun 5, 2020
From: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION
Reel/Frame 053468/0705 →
SECURITY INTEREST Recorded Jun 5, 2020
From: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 052856/0909 →
RELEASE OF SECURITY INTEREST Recorded May 30, 2020
From: JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT
To: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 053466/0011 →
SECURITY INTEREST Recorded Apr 24, 2020
From: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 053311/0305 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 23, 2019
From: CURTIS, KEITH EDWIN
To: MICROCHIP TECHNOLOGY INCORPORATED
Reel/Frame 048106/0865 →