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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


