Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method of generating fast exponential pulse output with arm microcontroller

A technology of ARM single-chip microcomputer and pulse output, which is applied in the field of AMR single-chip microcomputer technology and equipment, and can solve problems such as high cost, unstable frequency, and large impact of the motion mechanism.

Active Publication Date: 2019-01-01
SHENZHEN STRONG TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the single-chip microcomputer + stepping servo motor drive system, the motor is required to have the function of acceleration and deceleration during operation to reduce the impact of the mechanical device. Now most of them use simple timer + IO port operation, analog output linear pulse and motion controller Using the drive scheme of the motion controller will lead to high cost and cannot be used in low-cost occasions. Using a single-chip microcomputer to simulate linear pulse output has poor accuracy, unstable frequency, and cannot be smoothly transitioned. The impact of the motion mechanism Big

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solution of this patent will be further described in detail below in conjunction with specific embodiments.

[0032] A method for producing fast exponential pulse output with an ARM microcontroller, comprising the following steps:

[0033] Step 1 Timer setting:

[0034] 1.1 Initialize the timer hardware, make it work in the pulse width modulation mode, and set the duty cycle to 50%;

[0035] 1.2 Turn on the timer periodic update interrupt function, and set the pulse width comparator to the maximum value;

[0036] 1.3 Make the timer start timing work, and allow the ARM microcontroller to respond to the periodic interrupt signal of the timer;

[0037] 1.4 Make the timer in the system cycle interrupt state, this state has no pulse output;

[0038] Step 2: Input the necessary parameters of the pulse sequence to be output;

[0039] Step 3 calculates the exponential curve and saves the value of each point in an array;

[0040] Perform the following steps cy...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a method for generating rapid exponential pulse output by an using ARM single-chip microcontroller, comprising following steps: (1) setting a timer; (2) inputting necessary parameters of a pulse sequence to be output; (3) computing an exponential curve and storing values of each point into an array; (4) performing following steps in an updating interruption period of the timer so as to output the computed curve array. The present invention provides a method for generating rapid exponential pulse output by using an ARM single-chip microcontroller, realizes the computation of the exponential curve and stores into the array, realizes rapid output of curves by using the timer and realizes symmetrical outputs of acceleration and deceleration of the exponential curve.

Description

technical field [0001] The invention relates to the field of AMR single-chip microcomputer technical equipment, in particular to a method for generating fast exponential pulse output by using an ARM single-chip microcomputer. Background technique [0002] Single-chip microcomputer is a kind of integrated circuit chip, which adopts VLSI technology to combine central processing unit CPU with data processing capability, random access memory RAM, read-only memory ROM, various I / O ports and interrupt systems, timers / counters, etc. Functions (may also include display drive circuit, pulse width modulation circuit, analog multiplexer, A / D converter and other circuits) integrated into a silicon chip to form a small and complete microcomputer system, widely used in the field of industrial control application. From the 1980s, from the 4-bit and 8-bit single-chip microcomputers at that time, to the current 300M high-speed single-chip microcomputers. [0003] In the single-chip microco...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H03K4/00H02P8/14
CPCH02P8/14H03K4/00
Inventor 王伟程罗永明
Owner SHENZHEN STRONG TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products