CN114863666B - Infrared remote control carrier-free coding method - Google Patents

Infrared remote control carrier-free coding method Download PDF

Info

Publication number
CN114863666B
CN114863666B CN202210637673.2A CN202210637673A CN114863666B CN 114863666 B CN114863666 B CN 114863666B CN 202210637673 A CN202210637673 A CN 202210637673A CN 114863666 B CN114863666 B CN 114863666B
Authority
CN
China
Prior art keywords
bit
code
remote control
data
check code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210637673.2A
Other languages
Chinese (zh)
Other versions
CN114863666A (en
Inventor
何龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Apply Electronic Technology Co ltd
Original Assignee
Guangzhou Apply Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Apply Electronic Technology Co ltd filed Critical Guangzhou Apply Electronic Technology Co ltd
Priority to CN202210637673.2A priority Critical patent/CN114863666B/en
Publication of CN114863666A publication Critical patent/CN114863666A/en
Application granted granted Critical
Publication of CN114863666B publication Critical patent/CN114863666B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1806Go-back-N protocols
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses an infrared remote control carrier-free coding method, which comprises the following steps: the infrared remote control sending end sends a complete data frame, and the complete data frame structure comprises: 1 bit synchronization bit, 8 bit user check code, 8 bit user code, 8 bit data check code, 8 bit data code, 1 bit end bit; after receiving the data frame, the infrared remote control receiving end respectively checks the user check code and the user code and the data check code and the data code; and the infrared remote control sending end repeatedly sends the complete data frame. The invention has simple coding rule, short single code time and less data bits of the data frame, and greatly improves the decoding timeliness of the remote control receiving end; the coding method of the invention is compatible with the infrared receiving tube of the control panel of the infrared induction product, does not need to additionally increase an infrared receiving head and other hardware circuits, adapts to the characteristic of intermittent work of the infrared induction product, reduces the detection time of the remote control signal of the remote control receiving end and keeps the low energy consumption characteristic of the control panel.

Description

Infrared remote control carrier-free coding method
Technical Field
The invention relates to the technical field related to communication coding, in particular to an infrared remote control carrier-free coding method.
Background
In reality, a plurality of infrared induction products have the infrared remote control function in order to realize the contact-free setting of working parameters, improve the production debugging efficiency and facilitate daily maintenance. According to the existing carrier coding method, an infrared receiving head is required to be added to complete the amplification and demodulation of the remote control signal, and a system block diagram, a data frame structure diagram and a data bit definition diagram of the carrier coding method are respectively shown in fig. 1, 2 and 3.
In order to realize the infrared sensing function, an infrared receiving tube is used on a control panel of the control circuit of the infrared sensing product. If the infrared receiving tube can be used, the infrared induction type product can be added with the infrared remote control function without adding an infrared receiving head and other hardware circuits. However, the infrared receiving tube does not have the carrier demodulation function, so the invention can well solve the problem by adopting a carrier-free coding method based on the above.
Disclosure of Invention
The present invention aims to provide a carrier-free encoding method for infrared remote control, so as to solve the problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
an infrared remote control carrier-free coding method comprises the following steps:
1. the infrared remote control sending end sends a complete data frame, and the complete data frame structure comprises: 1 bit synchronization bit, 8 bit user check code, 8 bit user code, 8 bit data check code, 8 bit data code, 1 bit end bit; pulse duty ratio of each data bit: 100/850 of synchronization bit, 100/400 of end bit, 100/600 of binary data bit "1", 100/350 of binary data bit "0";
2. after receiving the data frame, the infrared remote control receiving end respectively verifies the user check code and the user code and the data check code and the data code;
3. and the infrared remote control sending end repeatedly sends the complete data frame.
As a further scheme of the invention: in step 2, after receiving the data frame, the infrared remote control receiving end respectively checks the user check code and the user code, and the data check code and the data code, and the method includes the following steps:
(31) After the user check code is negated, whether the user check code is equal to the user code or not is judged, and if not, the remote control is invalid;
(32) And then after the data check code is negated, judging whether the data check code is equal to the data code, if not, performing remote control invalidity, and if so, executing a corresponding remote control instruction.
As a further scheme of the invention: the user check code is the inverse code of the user code, and the data check code is the inverse code of the data code.
As a further scheme of the invention: in step 1, the definition of each data bit is as follows: the synchronization bits comprise a high level of 100us, a low level of 750 us; the end bit comprises a high level of 100us, a low level of 300 us; binary data bit "1" comprises a high level of 100us, a low level of 500 us; binary data bit "0" includes a high of 100us, a low of 250 us.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention has simple coding rule, short single code time and few data frame digits, and greatly improves the decoding time efficiency of the infrared remote control receiving end;
2. the coding method of the invention is compatible with the infrared receiving tube of the infrared induction product control panel, and does not need to additionally increase an infrared receiving head and other hardware circuits;
3. the coding method of the invention is suitable for the characteristic of intermittent work of the infrared induction product, reduces the detection time of the remote control signal of the infrared remote control receiving end and keeps the low energy consumption characteristic of the control panel;
4. the check code in the coding rule can greatly reduce the error rate in remote control operation and improve the reliability of operation.
Drawings
Fig. 1 is a system block diagram of a conventional carrier coding method.
Fig. 2 is a diagram illustrating a structure of a data frame in a conventional carrier coding method.
Fig. 3 is a diagram illustrating the definition of each data bit in the conventional carrier coding method.
Fig. 4 is a system block diagram of the carrier-less encoding method of the present invention.
Fig. 5 is a diagram of a data frame structure of the carrierless encoding method of the present invention.
FIG. 6 is a flowchart of a data verification method according to the present invention.
FIG. 7 is a diagram illustrating the definition of data bits in the carrierless encoding method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 4 to 7, in an embodiment of the present invention, an infrared remote control carrier-free encoding method includes the following steps:
1. the infrared remote control sending end sends a complete data frame, and the complete data frame structure comprises: 1 bit synchronization bit, 8 bit user check code, 8 bit user code, 8 bit data check code, 8 bit data code, 1 bit end bit, wherein the user check code is the code reversal of the user code, the data check code is the code reversal of the data code, in this process, the definition of each data bit: the synchronization bits comprise a high level of 100us, a low level of 750 us; the end bit comprises a high level of 100us, a low level of 300 us; binary data bit "1" comprises a high level of 100us, a low level of 500 us; binary data bit "0" comprises a high of 100us, a low of 250 us; the pulse duty ratio of each data bit is respectively: 100/850, 100/400, 100/600, 100/350. The high and low level time of each data bit can maximally allow a deviation of +/-20%.
2. After receiving the data frame, the infrared remote control receiving end respectively verifies the user check code and the user code and the data check code and the data code, specifically, after the user check code is negated, whether the user check code is equal to the user code or not is judged, and if not, the remote control is invalid; then after the data check code is negated, judging whether the data check code is equal to the data code or not, if not, performing remote control invalidity, and if so, executing a corresponding remote control instruction;
3. the infrared remote control sending end repeatedly sends the complete data frame so as to adapt to the characteristic of intermittent work of infrared induction type products.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (4)

1. An infrared remote control carrier-free coding method is characterized in that: the method comprises the following steps:
(1) The infrared remote control sending end sends a complete data frame, and the complete data frame structure comprises: 1 bit synchronization bit, 8 bit user check code, 8 bit user code, 8 bit data check code, 8 bit data code, 1 bit end bit; pulse duty ratio of each data bit: 100/850 of synchronous bit, 100/400 of end bit, 100/600 of binary data bit of 1, 100/350 of binary data bit of 0;
(2) After receiving the data frame, the infrared remote control receiving end respectively checks the user check code and the user code and the data check code and the data code;
(3) And the infrared remote control sending end repeatedly sends the complete data frame.
2. The infrared remote control carrier-free coding method according to claim 1, characterized in that: in the step (2), after the infrared remote control receiving end receives the data frame, the method for respectively checking the user check code and the user code and the data check code and the data code comprises the following steps:
(31) After the user check code is negated, whether the user check code is equal to the user code or not is judged, and if not, the remote control is invalid;
(32) And then after the data check code is negated, judging whether the data check code is equal to the data code, if not, performing remote control invalidity, and if so, executing a corresponding remote control instruction.
3. The infrared remote control carrier-free coding method according to claim 2, characterized in that: the user check code is the inverse code of the user code, and the data check code is the inverse code of the data code.
4. The infrared remote control carrier-free coding method according to claim 1, characterized in that: in the step (1), the definition of each data bit is as follows: the synchronization bits comprise a high level of 100us, a low level of 750 us; the end bit comprises a high level of 100us, a low level of 300 us; binary data bit "1" comprises a high level of 100us, a low level of 500 us; binary data bit "0" includes a high level of 100us, a low level of 250 us.
CN202210637673.2A 2022-06-07 2022-06-07 Infrared remote control carrier-free coding method Active CN114863666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210637673.2A CN114863666B (en) 2022-06-07 2022-06-07 Infrared remote control carrier-free coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210637673.2A CN114863666B (en) 2022-06-07 2022-06-07 Infrared remote control carrier-free coding method

Publications (2)

Publication Number Publication Date
CN114863666A CN114863666A (en) 2022-08-05
CN114863666B true CN114863666B (en) 2023-04-07

Family

ID=82624407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210637673.2A Active CN114863666B (en) 2022-06-07 2022-06-07 Infrared remote control carrier-free coding method

Country Status (1)

Country Link
CN (1) CN114863666B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115833998A (en) * 2023-02-21 2023-03-21 江西飞尚科技有限公司 Two-bus communication coding method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046801A (en) * 2001-07-31 2003-02-14 Kenwood Corp Remote controller
CN101877613B (en) * 2010-06-18 2013-07-10 苏州本控电子科技有限公司 Infrared communication method used for a remote controller
CN102509444B (en) * 2011-12-09 2014-04-02 广东长虹电子有限公司 Data transmission method
CN103390341A (en) * 2013-07-15 2013-11-13 东南大学 Touch technology-based universal infrared learning remote-control device and control method thereof
CN106877925A (en) * 2017-01-09 2017-06-20 深圳市欢创科技有限公司 A kind of point-to-point infrared communication method and system

Also Published As

Publication number Publication date
CN114863666A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN101895371B (en) Information processing apparatus, encoding method and frame synchronization method
CN114863666B (en) Infrared remote control carrier-free coding method
CN106063181B (en) Receiver circuit and the method operated on receiver circuit
CN109039553B (en) Signal detection method, assembly and display device
CN103400173A (en) Generating method and reading method of two-dimensional code containing private information
CN105162471A (en) Differential Manchester decoding circuit and method
JP2010263496A (en) Signal processing device and error correction method
CN105450299A (en) Method, device and system for coding and decoding signal
CN106105043B (en) Method for using the error correcting code with N factorial or CCI extension
CN106448128B (en) Infrared remote control data processing method and system
CN102420617B (en) Overlapped RM (Reed-Muller) code decoding method and system
CN104467865B (en) Serial communication protocol controller, byte split circuit and 8b10b encoders
CN103166732B (en) The data transmission method that clock pulse embeds and packet data coding/decoding method
CN104700807A (en) Data transmission device of embedded clock point-to-point transmission architecture and data transmission method
CN103793979A (en) Method for upgrading photon receiving end
CN105006222A (en) panel and signal coding method
CN102855113A (en) Encoding method and device for outputting information through display screen, and terminal
CN105760329B (en) A kind of coding and decoding device for reducing bus coupling overturning
US20210342285A1 (en) Encoding of symbols for a computer interconnect based on frequency of symbol values
CN105471512A (en) Photon receiving end and decoding method
CN103023610A (en) Data transmission method and apparatus of 485 interface
CN101656038B (en) Source electrode driving device and driving method thereof
Gan et al. High-speed Molecular Communication Testbed with Liquid Pipeline Channel
CN117424675A (en) Passive transmission method and device, electronic equipment and storage medium
CN203406971U (en) DCA bit signal encoding circuit in FPD-LINK LVDS video transmission

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant