Method for encoding and decoding infrared data

An encoding and decoding method and infrared technology, which are applied in the field of encoding and decoding in infrared data transmission control, can solve problems such as poor compatibility, different infrared waveforms, powerlessness, etc., and achieve a simple and efficient decoding process.

Active Publication Date: 2018-10-23
浙江嘉科电子有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the advancement of science and technology and the development of society, more and more electrical appliances and digital technology products are equipped in the home. Whether it is traditional TV, air conditioner, water heater, digital DVD, projector, or today's smart TV, boxes are all Equipped with one-to-one corresponding traditional handheld infrared remote control, a remote control generally can only control one kind of equipment, poor compatibility, and inconvenient for users to use and operate
[0003] Nowadays, the popularization of Internet technology is mature, and the Internet of Things is hot, so that the smart home market presents a broad market prospect. There are various home smart infrared remote control terminals controlled by mobile phones in the market. Using mobile phone control requires data transmission, and especially Japanese brand air conditioners are different from ordinary TV remote controls. The original infrared data has more than 1k bytes, and most have more than 3k data information. If the original data is directly transmitted without processing and coding, it will put forward very high requirements for transmission bandwidth. WIFI may be competent, but in the smart home field of the Internet of Things, more low-bandwidth and low-power transmission protocols such as Zigbee are used.
Moreover, although the infrared data of various electrical appliance manufacturers generally follow the PPM (RC-5 code) and PWM (NEC code) protocols, they are basically derived and expanded on this basis, so the infrared waveforms of specific manufacturers are different. Same, cannot directly apply the existing agreement

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
  • Method for encoding and decoding infrared data
  • Method for encoding and decoding infrared data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] Such as Figures 1 to 2 As shown, a kind of infrared codec method in the embodiment of the present invention comprises the following steps:

[0023] S1. Obtain the original infrared data: Use infrared waveform analyzer and other equipment to capture the original infrared waveform and the corresponding original pulse width value data. "H" and "L" in front of the pulse width value represent high-level and low-level pulses respectively.

[0024] S2. Regular optimization processing: After the original pulse width value is rounded, use the first pulse width value in the rounded data as the matching value to compare with each subsequent pulse width value in turn, for example, the ratio is 0.9 to 1.1 and the voltage If the flat polarity is consistent, it will be replaced with the matching value, otherwise the original value will be maintained until the first regularization optimization is completed after the comparison of the last pulse width value; then use the second pulse w...

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 relates to the technical field of infrared communication and particularly relates to a method for encoding and decoding infrared data. The method has the beneficial effects that a characteristic value is found by regular optimization of the infrared data, and encoding and decoding are carried out by the characteristic value; in addition, based on waveform encoding, the compression rate is high, the specific protocol is avoided, the data type does not need to be specifically analyzed and the encoding process is simple and efficient.

Description

technical field [0001] The invention relates to the technical field of infrared communication, in particular to a codec method in infrared data transmission control. Background technique [0002] With the advancement of science and technology and the development of society, more and more electrical appliances and digital technology products are equipped in the home. Whether it is traditional TV, air conditioner, water heater, digital DVD, projector, or today's smart TV, boxes are all Equipped with one-to-one corresponding traditional hand-held infrared remote control, a remote control generally can only control one kind of equipment, the compatibility is poor, and the user is inconvenient to use and operate. [0003] Nowadays, the popularization of Internet technology is mature, and the Internet of Things is hot, so that the smart home market presents a broad market prospect. There are various home smart infrared remote control terminals controlled by mobile phones in the ma...

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 Applications(China)
IPC IPC(8): G08C23/04
CPCG08C23/04
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