CN114863666A - Infrared remote control carrier-free coding method - Google Patents
Infrared remote control carrier-free coding method Download PDFInfo
- Publication number
- CN114863666A CN114863666A CN202210637673.2A CN202210637673A CN114863666A CN 114863666 A CN114863666 A CN 114863666A CN 202210637673 A CN202210637673 A CN 202210637673A CN 114863666 A CN114863666 A CN 114863666A
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000006698 induction Effects 0.000 abstract description 6
- 238000001514 detection method Methods 0.000 abstract description 2
- 238000005265 energy consumption Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 9
- 239000012050 conventional carrier Substances 0.000 description 3
- 230000003321 amplification Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0083—Formatting with frames or packets; Protocol or part of protocol for error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements 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/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1806—Go-back-N protocols
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optical Communication System (AREA)
- Selective Calling Equipment (AREA)
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
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 sensing 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 itself has no carrier demodulation function, so the invention can solve the problem well by adopting a carrier-free coding method based on the above.
Disclosure of Invention
The invention aims to provide an infrared remote control carrier-free coding method to solve the problems in the background technology.
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: a sync bit 100/850, an end bit 100/400, a binary data bit "1" 100/600, a binary data bit "0" 100/350;
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.
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 sync 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 carrier-less 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within 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 sync 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: a sync bit 100/850, an end bit 100/400, a binary data bit "1" 100/600, a binary data bit "0" 100/350;
(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 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.
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 step 1, the definition of each data bit is as follows: the sync 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.
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 true CN114863666A (en) | 2022-08-05 |
CN114863666B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115833998A (en) * | 2023-02-21 | 2023-03-21 | 江西飞尚科技有限公司 | Two-bus communication coding method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003046801A (en) * | 2001-07-31 | 2003-02-14 | Kenwood Corp | Remote controller |
CN101877613A (en) * | 2010-06-18 | 2010-11-03 | 苏州本控电子科技有限公司 | Infrared communication method used for a remote controller |
CN102509444A (en) * | 2011-12-09 | 2012-06-20 | 广东长虹电子有限公司 | 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 |
-
2022
- 2022-06-07 CN CN202210637673.2A patent/CN114863666B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003046801A (en) * | 2001-07-31 | 2003-02-14 | Kenwood Corp | Remote controller |
CN101877613A (en) * | 2010-06-18 | 2010-11-03 | 苏州本控电子科技有限公司 | Infrared communication method used for a remote controller |
CN102509444A (en) * | 2011-12-09 | 2012-06-20 | 广东长虹电子有限公司 | 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 |
Non-Patent Citations (1)
Title |
---|
姚晓通: "《轻松玩转PIC单片机C语言》", 31 July 2011 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115833998A (en) * | 2023-02-21 | 2023-03-21 | 江西飞尚科技有限公司 | Two-bus communication coding method and system |
Also Published As
Publication number | Publication date |
---|---|
CN114863666B (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106817197B (en) | Communication coding and decoding method based on duty ratio modulation | |
CN101895371B (en) | Information processing apparatus, encoding method and frame synchronization method | |
CN106063181B (en) | Receiver circuit and the method operated on receiver circuit | |
US9673961B2 (en) | Multi-lane N-factorial (N!) and other multi-wire communication systems | |
CN109039553B (en) | Signal detection method, assembly and display device | |
CN114863666B (en) | Infrared remote control carrier-free coding method | |
US10218492B2 (en) | Clock and data recovery for pulse based multi-wire link | |
CN105210047A (en) | Multi-wire single-ended push-pull link with data symbol transition based clocking | |
JP2010263496A (en) | Signal processing device and error correction method | |
CN105637797A (en) | N factorial dual data rate clock and data recovery | |
CN103400173A (en) | Generating method and reading method of two-dimensional code containing private information | |
JP2013229776A (en) | Coding device, decoding device, and transmission system | |
EP3117527B1 (en) | Method for using error correction codes with n factorial or cci extension | |
CN106448128B (en) | Infrared remote control data processing method and system | |
CN104467865B (en) | Serial communication protocol controller, byte split circuit and 8b10b encoders | |
CN104700807A (en) | Data transmission device of embedded clock point-to-point transmission architecture and data transmission method | |
CN103036666B (en) | A kind of dynamic adjustment bit synchronization based on carrier communication | |
CN105760329B (en) | A kind of coding and decoding device for reducing bus coupling overturning | |
CN105006222A (en) | panel and signal coding method | |
CN103793979A (en) | Method for upgrading photon receiving end | |
CN102855113A (en) | Encoding method and device for outputting information through display screen, and terminal | |
KR102520096B1 (en) | Encoded multi-lane N-factorial and other multi-wire communication systems | |
CN105471512B (en) | A kind of photon acceptor end and its coding/decoding method | |
CN201393232Y (en) | Bus communication circuit applying novel CMI encoding | |
CN101656038B (en) | Source electrode driving device and driving method thereof |
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 |