Unlock instant, AI-driven research and patent intelligence for your innovation.

Encoder output signal processing method

A technology of output signal and processing method, which is applied in the field of signal processing, can solve the problem that the jitter error pulse is too large to accurately judge the rotation direction of the encoder, and achieve the effect of improving accuracy

Active Publication Date: 2017-05-10
SHAANXI QINMING MEDICAL CO LTD
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art, and to provide a method for processing an encoder output signal, which can effectively solve the problem of large jitter error pulses during a period of time when the encoder output signal is at a low level or on a falling edge. The problem that the rotation direction of the knob on the encoder cannot be accurately judged

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
  • Encoder output signal processing method
  • Encoder output signal processing method
  • Encoder output signal processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention is described in further detail below in conjunction with accompanying drawing:

[0016] refer to figure 1 , the encoder output signal processing method of the present invention comprises the following steps:

[0017] Set the corresponding pins of the encoder output signal A and the corresponding pins of B as rising edge trigger interrupts, and then wait for the interrupts of all pins of the encoder to arrive;

[0018] When the pin corresponding to the encoder output signal A is interrupted, detect the level of the corresponding pin of the encoder output signal B, and when the corresponding pin of the encoder output signal B is low, it means that the encoder output signal A The corresponding pin is falsely interrupted; when the corresponding pin of the encoder output signal B is at a high level, the level of the corresponding pin of the encoder output signal A is detected again, and when the corresponding pin of the encoder output signal A is When...

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 an encoder output signal processing method which comprises the following steps: avoiding a case that large noise generates an erroneous interrupt when the interrupt corresponds to the low level by detecting the level of an interrupt pin twice so as to guarantee that the interrupt is a correct rising edge interrupt. In addition, the method detects the level of the interrupt pin of an encoder after delayed time so as to improve the accuracy for determining the rotation direction of the encoder, and can solve the problem that the rotation direction of a knob on the encoder cannot be accurately determined because of a large jitter error pulse within a period when the output signal of the encoder is at the low level or a falling edge.

Description

technical field [0001] The invention belongs to the field of signal processing and relates to an encoder output signal processing method. Background technique [0002] The encoder is a precision measuring device that combines mechanics and electronics. There is a knob on the outside that can be rotated left and right and can be pressed at the same time. Many devices (such as monitors, oscilloscopes, etc.) use it as a human-computer interaction interface. There are two types of rotary encoder signal output channels: single output and dual output. Single output means that the output of the rotary encoder is a set of pulses, while the rotary encoder with dual output outputs two sets of pulses with A / B phase difference. Through these two sets of pulses, not only the rotational speed can be measured, but also the rotational speed can be judged. direction. Generally, when the dual encoder rotates, phase A and phase B will each send out a pulse signal, and the rotation direction ...

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): G01D5/244
CPCG01D5/24476
Inventor 翟建波雷莎莎庞振新张喜娜
Owner SHAANXI QINMING MEDICAL CO LTD