Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

An infrared receiving method and device

An infrared receiving and infrared technology, applied in the field of infrared remote control, can solve the problems of data loss, priority conflict, decoding errors, etc., and achieve the effect of avoiding decoding errors

Active Publication Date: 2021-06-01
SHENZHEN INTELTRON INTELLIGENT SCI & TECH CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] However, during the specific process of infrared reception by the board-level MCU (or single-chip microcomputer), due to the priority conflict of multiple interrupts inside the MCU, the timer adds an overflow interrupt or adds an overflow interrupt, which causes a frame of data to be lost. , resulting in a decoding error

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
  • An infrared receiving method and device
  • An infrared receiving method and device
  • An infrared receiving method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030]In order to understand the objects, technical solutions and advantages of the present invention, the present invention will be further elaborated in connection with the accompanying drawings and examples.

[0031]Such asfigure 1 As shown in one embodiment of the invention, the infrared receiving method includes the steps of:

[0032]S10, single-chip configuration timer, turning the timer overflow interrupt and capture interrupt.

[0033]The present invention employs a rolling count using a 1US 12-bit width (4096 嗒) timer, and the timer is overflowed once, and the overflow number n is used once.

[0034]S20, when capturing interrupt triggers, get overflows and capture time values.

[0035]The present invention employs an external interrupt plus a timer to receive an infrared signal, and the infrared pulse signal enters the microcontroller of the infrared receiving end through the external interrupt opening, the timer is rolled in response to the 10 / -rising edge triggering interruption, when t...

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 infrared receiving method and device. The infrared receiving method comprises the steps of: configuring a timer for a single-chip microcomputer, enabling timer overflow interrupt and capture interrupt; value, last capture time value and overflow times value to calculate the capture time difference; if the capture time difference satisfies the condition a-k-2 b <△t<a+k‑2 b , or a‑k+2 b <△t<a+k+2 b , correct and output the capture time difference according to preset rules; decode the infrared pulse sequence according to the capture time difference. When the capture time difference satisfies the preset condition, the present invention firstly corrects and outputs the capture time difference according to the preset rule, and then decodes the infrared pulse sequence according to the capture time difference, avoiding the error caused by the wrong calculation of the capture time difference. A decoding error condition occurs.

Description

Technical field[0001]The present invention relates to the field of infrared remote control techniques, and more particularly to an infrared receiving method and apparatus.Background technique[0002]Patent No. 201210436867.2 discloses a method of decoding an infrared remote control in an input capture interrupt manner, including steps:[0003]S1: Configure the input capture timer in the single-chip older program, start the input capture timer, open the interrupt;[0004]S2: Interrupt Trigger Gets the capture time value.[0005]S3: Compare the time value of the last capture time, is calculated twice, ie the pulse width.[0006]S4: The state machine is in the idle state, at which point the pulse width is in line with the front end of the guide code, and it is transferred to S5, otherwise it is transferred to S8 to exit.[0007]S5: Confirm that whether it is a terminal, it enters the decoded state, otherwise it is transferred to S4.[0008]S6: The state machine is in the decoded state. At this time,...

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): G08C23/04H04B10/508H04L1/00
CPCG08C23/04H04B10/508H04L1/0078
Inventor 冉亚林吴进坤唐波董晓勇向杨皮峰罗鹏陈轲毛巧运王义
Owner SHENZHEN INTELTRON INTELLIGENT SCI & TECH CO LTD
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
Eureka Blog
Learn More
PatSnap group products