Counting device and method based on incremental encoder

A technology of incremental encoders and counting devices, which is applied to measuring devices, counting mechanisms/items, instruments, etc., can solve problems such as counting errors, increased production costs, and low main frequency of single-chip microcomputers, so as to save production costs and simplify circuits Effect of Design, Fast and Efficient Incremental Encoder Counting

Inactive Publication Date: 2017-01-04
广州吉欧光学科技有限公司
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing counting method requires the use of a single-chip microcomputer with counting registers, and additionally draws input and output circuits for the single-chip microcomputer, which increases productio...

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Counting device and method based on incremental encoder
  • Counting device and method based on incremental encoder
  • Counting device and method based on incremental encoder

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0031] see figure 1 , is a structural schematic diagram of an embodiment of the counting device based on the incremental encoder provided by the present invention. like figure 1 As shown, the counting device includes: an ARM chip 1 , a level conversion circuit 2 and an incremental encoder 3 . Wherein, the ARM chip 1 is provided with a shared memory, a first GPIO interface 11 and a second GPIO interface 12 . The incremental encoder 3 is provided with a first phas...

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 invention discloses a counting device and method based on an incremental encoder. The method comprises steps that an ARM chip receives level signals input by a first GPIO interface and a second GPIO interface and the level signals are converted into sequential codes; the ARM chip compares the sequential codes with pre-stored turning codes, wherein the turning codes comprises forward turning codes and backward turning codes; and if the sequential codes are identical to the turning codes, the ARM chip modifies counting values storied in a shared memory according to turning and level signals corresponding to the turning codes. Embodiments of the invention enable the circuit to be simplified, and achieve rapid and effective counting of the incremental encoder.

Description

technical field [0001] The invention relates to the technical field of electronic equipment, in particular to a counting device and method based on an incremental encoder. Background technique [0002] The incremental encoder converts the displacement into a periodic electrical signal, and then converts the electrical signal into a counting pulse, and uses the number of pulses to represent the magnitude of the displacement. When the shaft of the incremental encoder rotates, there is a corresponding pulse output, and the judgment of the rotation direction and the increase or decrease of the number of pulses are realized by the direction judgment circuit and the counter at the rear. The counting starting point can be set arbitrarily, which can realize multi-turn infinite accumulation and measurement. It is also possible to use a Z signal that sends out a pulse per revolution as a reference mechanical zero position. One rotation of the encoder shaft will output fixed pulses, ...

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
IPC IPC(8): G06M1/27G01D5/245
CPCG06M1/27G01D5/2451
Inventor 郭归阳
Owner 广州吉欧光学科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products