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

Digital encoder interrupt filtering method based on linux platform

A digital coding and platform technology, applied in the direction of instruments, conversion sensor output, measuring devices, etc., can solve the problems of high bit error rate, large error, and high software complexity

Pending Publication Date: 2021-05-18
SUZHOU CHANGFENG AVIATION ELECTRONICS
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional query method needs to continuously detect the level signal of the input and output (I / O) pins, which takes up more processor resources and cannot determine the delay time for the user program to read the underlying I / O. The detection information is lost in the process; while the edge-triggered interrupt method is limited by the mechanical rotation characteristics of the digital encoder, the bit error rate is high, and the error is also large
[0006] In view of this, the existing technology should be improved to solve the technical problems of high hardware cost, high software complexity, and high bit error rate in solving digital encoder interference based on the linux+arm platform

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
  • Digital encoder interrupt filtering method based on linux platform
  • Digital encoder interrupt filtering method based on linux platform
  • Digital encoder interrupt filtering method based on linux platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] An embodiment of an interrupt filtering method for a digital encoder based on a linux platform according to the present invention will be described below with reference to the accompanying drawings. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit and scope of the present invention. Accordingly, the drawings and description are illustrative in nature and not intended to limit the scope of the claims. Also, in this specification, the drawings are not drawn to scale, and like reference numerals denote like parts.

[0026] It should be noted that the expressions "first" and "second" used in the embodiments of the present invention are used to distinguish between two entities with the same name but different parameters or different parameters. It can be seen that "first" and "second " is only for the convenience of expression, and should not be understood as a limitation on...

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 provides a digital encoder interrupt filtering method based on a linux platform. The method comprises the following steps of S1, configuring a read function and a query function in a write device driver on a system driver layer, and registering a device, S2, configuring an opening function in the write device driver, and initializing an input / output interface, S3, registering an interrupt function so as to generate interrupt when the first pulse signal is at a rising edge or a falling edge, and S4, configuring a poll function, enabling the interrupt function to judge whether conversion of the first pulse signal is correct or not according to a second pulse signal, if the conversion of the first pulse signal is correct, enabling the interrupt function to send a stepping signal to the poll function and modify level triggering, and transmitting parameters to the read function. Aiming at the problem of interference processing of a digital encoder in the prior art, low hardware cost and low complexity are achieved, and the bit error rate can be effectively improved.

Description

technical field [0001] The invention belongs to the technical field of digital encoder signal processing, and in particular relates to an interruption filtering method of a digital encoder based on a linux platform. Background technique [0002] An encoder is a device that compiles and converts signals or data into signal forms that can be used for communication, transmission and storage. Existing digital encoders are mostly designed based on single-chip microcomputers, which can convert mechanical displacement into electrical signals, which can be used to measure the length, angle, position or speed of objects, and are widely used in papermaking and printing machinery, testing instruments, automatic machinery, transportation System, pressure control, test bench, speed measurement and other fields. [0003] In the field of industrial control and other fields, there is a high requirement for the stability of the equipment, and the digital encoder is inherently accompanied by...

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/244
Inventor 苗仲海杨亮周魏陈柯
Owner SUZHOU CHANGFENG AVIATION ELECTRONICS
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