Integrated circuit and instruction comparison method for infrared receiver

CN116107631BActive Publication Date: 2026-10-16NUVOTON
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111332840.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-11
Publication Date
2026-10-16
Estimated Expiration
2041-11-11

Smart Images

  • Figure CN116107631B_ABST
    Figure CN116107631B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide an integrated circuit and a command comparison method for an infrared receiver. The integrated circuit includes an operation unit and an infrared receiver. The infrared receiver is connected to an infrared sensor outside the integrated circuit and is used to receive a first command signal and a second command signal repeatedly transmitted by a remote controller and detected by the infrared sensor. The infrared receiver is used to determine whether the first command signal and the second command signal match. In response to the infrared receiver determining that the first command signal and the second command signal match, the infrared receiver sets a matching identifier to notify the operation unit that the first command signal or the second command signal is obtained by the infrared receiver, and performs command decoding on the obtained first command signal or second command signal to execute corresponding operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to infrared devices, and more particularly to an integrated circuit and an instruction comparison method for an infrared receiver. Background Technology

[0002] Consumer IR receivers (CIR) are a common technology in daily life and are used in many consumer electronic devices, such as televisions, computers, and audio-visual players. Through pre-defined encoding protocols, CIR receivers can decode different signal widths to control the behavior of electronic devices. Summary of the Invention

[0003] This invention provides an integrated circuit, including: a processing unit and an infrared receiver. The infrared receiver is connected to an infrared sensor external to the integrated circuit and is used to receive a first command signal and a second command signal repeatedly transmitted by a remote control, detected by the infrared sensor. The infrared receiver is used to determine whether the first command signal and the second command signal match. In response to the infrared receiver determining that the first command signal and the second command signal match, the infrared receiver sets a matching flag to notify the processing unit to obtain the first command signal or the second command signal from the infrared receiver, and to perform command decoding on the obtained first command signal or the second command signal to execute a corresponding operation.

[0004] In some embodiments, the infrared receiver includes: a first command buffer, a second command buffer, a selection circuit, a decoder, a bit counter, and a first comparison circuit. The selection circuit controls data writing to the first and second command buffers. The decoder decodes the first command signal to obtain one or more first data entries in the first command signal and stores the one or more first data entries in the first command buffer selected by the selection circuit. The bit counter calculates the number of first bits in the one or more first data entries in the first command signal. The first comparison circuit compares the number of first bits with a target data length. In response to the first comparison circuit determining that the number of first bits equals the target data length, the first comparison circuit generates a first pulse signal to the selection circuit to cause the selection circuit to select the second command buffer.

[0005] In some embodiments, in response to the selection circuit selecting the second instruction buffer, the decoder decodes the second instruction signal to obtain one or more pieces of second data in the second instruction signal, and stores the one or more pieces of second data in the second instruction buffer selected by the selection circuit. The bit counter also calculates the number of second bits of the one or more pieces of second data in the second instruction signal, and the first comparison circuit is used to compare the number of second bits with the target data length.

[0006] In some embodiments, the infrared receiver further includes a second comparison circuit. In response to the first comparison circuit determining that the number of second bits is equal to the target data length, the first comparison circuit generates a second pulse signal to the selection circuit to cause the selection circuit to select the first instruction buffer. In response to the second pulse signal, the second comparison circuit determines whether the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer match.

[0007] In some embodiments, in response to the second comparison circuit determining that the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer match, the second comparison circuit retains the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer, and sets the matching flag to notify the arithmetic unit to obtain the first instruction signal or the second instruction signal from the infrared receiver.

[0008] In some embodiments, in response to the second comparison circuit determining that the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer do not match, the second comparison circuit clears the earlier first instruction signal or the second instruction signal in the first instruction buffer and the second instruction buffer, and continues to receive new instruction signals from the infrared sensor.

[0009] In other embodiments, in response to the second comparison circuit determining that the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer do not match, the second comparison circuit clears the data in the first instruction buffer and the second instruction buffer, and continues to receive new instruction signals from the infrared sensor.

[0010] In some embodiments, the matching identifier is an interrupt signal.

[0011] The present invention also provides a command comparison method for an infrared receiver, wherein the infrared receiver is disposed in an integrated circuit and connected to an infrared sensor external to the integrated circuit. The method includes: receiving, using the infrared receiver, a first command signal and a second command signal repeatedly transmitted by a remote control detected by the infrared sensor; determining, using the infrared receiver, whether the first command signal and the second command signal match; and, in response to the infrared receiver determining that the first command signal and the second command signal match, setting a matching flag using the infrared receiver to notify a processing unit in the integrated circuit to obtain the first command signal or the second command signal from the infrared receiver, and performing command decoding on the obtained first command signal or the second command signal to execute a corresponding operation. Attached Figure Description

[0012] Figure 1 This is a block diagram of an integrated circuit in one embodiment of this application;

[0013] Figure 2A and Figure 2B This is a schematic diagram of the command signal in one embodiment of this application;

[0014] Figure 2C This is a schematic diagram of a repeated transmission command signal in one embodiment of this application;

[0015] Figure 3 This is a schematic diagram of a temporary register for an infrared receiver in one embodiment of this application;

[0016] Figure 4 This is a block diagram of an infrared receiver according to an embodiment of this application;

[0017] Figure 5 This is a flowchart of an instruction comparison method in one embodiment of this application.

[0018] [Symbol Explanation]

[0019] 100: Integrated Circuits

[0020] 110: Infrared receiver

[0021] 120: Arithmetic Unit

[0022] 130: Non-volatile memory

[0023] 140: Temporary Register Group

[0024] 150: Infrared sensor

[0025] 160: Infrared signal

[0026] 162: Command Signal

[0027] 200: Remote Control

[0028] 301-308: Temporary Registers

[0029] 311-314: Temporary Registers

[0030] 402: Decoder

[0031] 404: Bit Counter

[0032] 406: Comparator Circuit

[0033] 407: Pulse signal

[0034] 408: Selection Circuit

[0035] 410, 412: Instruction buffer

[0036] 414: Comparator Circuit

[0037] S502~S516: Steps Detailed Implementation

[0038] The following description is a preferred embodiment of the invention and is intended to describe the basic spirit of the invention, but is not intended to limit the invention. The actual invention must be understood with reference to the scope of the claims.

[0039] It must be understood that the words "comprising" and "including" used in this specification are used to indicate the presence of specific technical features, values, method steps, operation processes, devices and / or components, but do not preclude the addition of more technical features, values, method steps, operation processes, devices, components, or any combination thereof.

[0040] The use of terms such as "first," "second," and "third" in the claims is to modify the devices in the claims, and is not to indicate that there is a priority order, a prior relationship, or that one device precedes another, or the chronological order of the execution of the method steps. They are only used to distinguish devices with the same name.

[0041] Figure 1 This shows a block diagram of an integrated circuit according to an embodiment of the present invention.

[0042] In one embodiment, the integrated circuit 100 may be disposed in an electronic device or computer equipment as a controller. The integrated circuit 100 includes an infrared receiver 110, a processing unit 120, a non-volatile memory 130, and a register file 140. Furthermore, the integrated circuit 100 is electrically connected to an external infrared sensor 150, which receives infrared signals 160 (e.g., containing multiple pulse signals conforming to a predetermined format) emitted by the remote control 200 and converts the infrared signals 160 into command signals 162. The command signal 162 is, for example, presented in square wave form and has a specific encoding format, the details of which will be described later.

[0043] Figure 2A and Figure 2B This is a schematic diagram of an instruction signal according to an embodiment of the present invention. Figure 2C This is a schematic diagram of repeatedly sending command signals according to an embodiment of the present invention.

[0044] Please refer to this first. Figure 2A and Figure 2B The command signal 162 received by the integrated circuit 100 from the infrared sensor 150 includes, for example, a header, data 0, data 1, special settings, and an endpoint. Furthermore, Figure 2A and Figure 2B The command signals in the code are inverted signals. However, Figure 2A and Figure 2B The command signals in the diagram are for illustration and explanation only; this invention is not limited to their use. Figure 2A and Figure 2B The encoding protocol and format of the instruction signals shown.

[0045] When the remote control 200 (e.g., an infrared transmitter) is transmitting infrared signals (e.g., coded signals), the remote control 200 will repeatedly send commands, such as... Figure 2C As shown. For example, if the infrared transmitter only sends a command once, the infrared receiver (e.g., infrared sensor 150) may not be able to correctly decode the single command signal when it is in a heavily interfered environment. Therefore, appropriately repeating the command signal 162 (e.g., repeating it once or multiple times) can improve the probability of the infrared receiver correctly decoding the command signal. In addition, repeatedly sending the command signal also allows the infrared receiver to perform multiple comparisons internally to ensure that the command signal does not produce errors due to interference and cause the electronic device to perform erroneous actions.

[0046] Please refer to this again. Figure 1The infrared receiver 110 receives the command signal 162 from the infrared sensor 150 and can compare whether two command signals 162 repeatedly sent by the remote controller 200 match. In response to the matching of the two command signals 162, the infrared receiver 110 notifies the processing unit 120 to obtain the matching command signal from the infrared receiver 110, so that the processing unit 120 can decode the command signal and perform the corresponding operation.

[0047] The processing unit 120 may be, for example, a processor or a microcontroller. Besides decoding and performing corresponding operations on the instruction signals, the processing unit 120 also executes the corresponding operations of the instruction signals. For example, if the integrated circuit 100 is installed in a television, the integrated circuit 100 may be electrically connected to other devices in the television, such as the display panel, image buffer, etc. If the user presses the volume down button on the remote control 200, the instruction signal 162 issued by the remote control 200 carries the instruction to press the volume down button. Therefore, when the processing unit 120 successfully decodes the instruction signal 162 to obtain the corresponding instruction (i.e., pressing the volume down button), the processing unit 120 can read the corresponding volume bar pattern from the BIOS firmware to cover a specific area of ​​the image signal, for example, displaying a volume bar below the image signal.

[0048] The non-volatile memory 130 can be implemented, for example, using flash memory or read-only memory (ROM). The non-volatile memory 130 is used to store the firmware and related settings required by the arithmetic unit 120 to control other devices, and to store the relevant setting values ​​of the infrared receiver 110.

[0049] Figure 3 This is a schematic diagram of a temporary register for an infrared receiver according to an embodiment of the present invention.

[0050] Please also refer to Figure 1 and Figure 3The register group 140 can be implemented, for example, using static random access memory, and may include multiple registers to store numerical settings required for the circuit operation of the infrared receiver 110. For example, the CIR_CTL value stored in register 301 indicates whether the infrared receiver 110 is enabled. The CIR_HDBOUND, CIR_DOBOUND, CIR_D1BOUND, CIR_SPBOUND, and CIR_ENDBOUND values ​​stored in registers 303-307 represent the length settings of the header, data 0, data 1, special settings, and endpoint in the instruction signal, respectively. The DATA_LENGTH value stored in register 308 represents the bit length of the instruction signal. In some embodiments, when the electronic device configured by the integrated circuit 100 is powered on or reset, the arithmetic unit 120 reads the numerical settings required by the infrared receiver 110 from the non-volatile memory 130 and writes them to the corresponding registers in the register group 140.

[0051] In addition, the infrared receiver 110 also includes registers 311 to 314, wherein the CIR_RDBC value stored in register 311 represents the bit count value of the instruction length. The CIR_CMPCTL value stored in register 314 indicates whether the function of repeat instruction signal comparison is enabled. For example, CIR_CMPCTL=1 indicates that the function of repeat instruction signal comparison is enabled, and CIR_CMPCTL=1 indicates that the function of repeat instruction signal comparison is disabled. In addition, registers 312 and 313 may provide, for example, a large capacity of continuous storage space.

[0052] Figure 4 This is a block diagram of an infrared receiver according to an embodiment of the present invention.

[0053] like Figure 4 As shown, the infrared receiver 110 includes a decoder 402, a bit counter 404, a comparator circuit 406, a selection circuit 408, instruction buffers 410 and 412, and a comparator circuit 414. The infrared receiver 110 can be considered, for example, as a hardware circuit for decoding cyclic instructions. The decoder 402 determines the header, data 0, data 1, special setting, and endpoint in the instruction signal 162 based on the values ​​of the registers 303-307, and transmits the determined data 0 and data 1 to the instruction buffer 410 or 412 selected by the selection circuit 408.

[0054] Bit counter 404 can, for example, count the number of data 0s or data 1s output from decoder 402. During the decoding process of the same instruction signal, whenever decoder 402 outputs data 0 or data 1, the count value of bit counter 404 is incremented by 1, and this count value CIR_RDBC is stored in temporary register 311. In other words, bit counter 404 counts the number of data entries (bits) generated by decoder 402 decoding instruction signal 162. When decoder 402 determines the end of the current instruction signal 162 (or the header of the next instruction signal 162), it resets the count value of bit counter 404 to 0.

[0055] The comparator circuit 406 compares the bit length DATA_LENGTH of the instruction signal stored in the temporary register 308 with the count value of the bit counter 404. In response to the count value being equal to the bit length, the comparator circuit 406 generates a pulse signal to notify the selection circuit 408.

[0056] Selection circuit 408 is used to select whether data 0 or data 1 output by decoder 402 is to be stored in instruction buffer 410 or 412. Instruction buffer 410 or 412 may be, for example, a first-in-first-out buffer or a register set. For example, selection circuit 408 may set instruction buffer 410 or 412 to a preset instruction buffer, and a write index register (not shown) may be used to indicate the selected instruction buffer.

[0057] For example, when the value written to the indicator register is 0, the selection circuit 408 selects a preset instruction buffer (e.g., instruction buffer 410); when the value written to the indicator register is 1, the selection circuit 408 selects another instruction buffer (e.g., instruction buffer 412). Whenever the selection circuit 408 receives a pulse signal from the comparator circuit 406, the selection circuit 408 toggle the value written to the indicator register to select another instruction buffer different from the current instruction buffer. It should be noted that the decoder 402 will only write the output data 0 or data 1 to the instruction buffer selected by the selection circuit 408.

[0058] Comparison circuit 414 is used to compare whether the command signals stored in command buffers 410 and 412 match. Specifically, because remote control 200 repeatedly sends command signal 162, the first command signal 162 is stored in command buffer 410 and the second command signal 162 is stored in command buffer 412 via the control mechanism described above in infrared receiver 110. When comparison circuit 414 determines that command buffers 410 and 412 have both stored a predetermined length of command (e.g., comparison circuit 406 has generated two pulse signals), comparison circuit 414 begins to compare whether the command signals stored in command buffers 410 and 412 match.

[0059] When the comparison circuit 414 determines that the command signals stored in the command buffers 410 and 412 match, the comparison circuit 414 generates a match flag to notify the arithmetic unit 120 to retrieve the matching command signals from the command buffers 410 and 412 for command decoding. The match flag can be, for example, an interrupt signal. When the comparison circuit 414 determines that the data do not match, it indicates that the command signal 162 repeatedly sent by the remote control 200 may be interfered with. In this case, the comparison circuit 414 clears the earlier command signals stored in the command buffers 410 and 412, and the infrared receiver 110 continues to receive command signals, comparing the command signals stored in the command buffers 410 and 412 again via the above mechanism.

[0060] For example, the comparison circuit 414 can refer to the value of the write index register of the selection circuit 408 to determine whether the instruction buffer 410 or 412 stores an earlier instruction signal. If the current value of the write index register is 1, it indicates that the instruction buffer 412 is the current instruction buffer for writing instruction signals, so the instruction buffer 410 stores an earlier instruction signal at this time. In this embodiment, if the user presses and holds a specific button on the remote control 200 for more than a first predetermined time, the remote control 200 will repeatedly send the same instruction signal, thus clearing the earlier instruction signal stored in the instruction buffers 410 and 412.

[0061] In this situation, if the comparator circuit 414 determines that the command signals stored in the command buffers 410 and 412 are a first match, it will lock the command buffers 410 and 412, preventing the decoder 402 from writing data to the command buffers 410 and 412. If the infrared receiver 110 does not receive any command signal after a second predetermined time, it indicates that the user has released the specific button on the remote control 200. Therefore, the comparator circuit 414 can unlock the command buffers 410 and 412 and clear the data in the command buffers 410 and 412 to receive new command signals again.

[0062] In other embodiments, when the comparison circuit 414 determines that the command signals stored in the command buffers 410 and 412 do not match, it indicates that the command signal 162 repeatedly sent by the remote controller 200 may be interfered with. At this time, the comparison circuit 414 clears the data in the command buffers 410 and 412, and the infrared receiver 110 continues to receive command signals and compares the command signals stored in the command buffers 410 and 412 again through the above mechanism.

[0063] In prior art, infrared receivers typically only function as interpreters, meaning they decode the header, data 0, data 1, special settings, and endpoint of the received command signal. However, they cannot further determine whether the received command signal is correct, thus requiring backend processing units to expend system resources for this determination. In this invention, the infrared receiver 110 can use hardware circuitry to determine whether the received command signal is correct, which not only improves the practicality of the infrared receiver but also enhances the efficiency of the integrated circuit in comparing infrared command signals.

[0064] Figure 5 This is a flowchart of a command comparison method for an infrared receiver according to an embodiment of the present invention. Please also refer to... Figure 1 and Figure 5 .

[0065] In step S502, the target instruction length is set. For example, the value of DATA_LENGTH in the temporary register 308 can represent the target instruction length of the infrared protocol that the infrared receiver 110 wants to use.

[0066] In step S504, the duplicate instruction comparison function is enabled. For example, the user can set the value of the register 314 to 1 through the arithmetic unit 120 to enable the duplicate instruction comparison function of the infrared receiver 110.

[0067] In step S506, a first instruction signal is received and stored in a first instruction buffer.

[0068] In step S508, a second instruction signal is received and stored in a second instruction buffer. For example, via... Figure 4 In the control mechanism of the infrared controller 110 described in the embodiment, the instruction signals repeatedly sent by the remote controller 200 can be stored in the instruction buffer 410 (e.g., the first instruction buffer) and the instruction buffer 412 (e.g., the second instruction buffer).

[0069] In step S510, it is determined whether the first command signal and the second command signal match. If the first command signal matches the second command signal, step S512 is executed. If the first command signal does not match the second command signal, step S514 is executed. For example, because the remote control 200 repeatedly sends the command signal 162, the first command signal 162 is stored in the command buffer 410 and the second command signal 162 is stored in the command buffer 412 via the control mechanism described above in the infrared receiver 110. When the comparison circuit 414 determines that both the command buffers 410 and 412 have stored a command of a predetermined length (for example, the comparison circuit 406 has generated two pulse signals), the comparison circuit 414 begins to compare whether the command signals stored in the command buffers 410 and 412 match.

[0070] In step S512, the data in the first instruction buffer and the second instruction buffer are retained, and a matching flag is set to notify the arithmetic unit. For example, since the first instruction signal in the first instruction buffer matches the second instruction signal in the second instruction buffer, it means that the instruction signal repeatedly sent by the remote control 200 should be error-free. Therefore, the comparison circuit 414 can set a matching flag (e.g., an interrupt signal) to notify the arithmetic unit 120.

[0071] In step S514, the earlier command signals stored in the first and second command buffers are cleared, and command signals are received again. If the user presses and holds a specific button on the remote control 200 for more than a first predetermined time, the remote control 200 will repeatedly send the same command signal, thus clearing the earlier command signals stored in command buffers 410 and 412. In this case, if the comparison circuit 414 determines that the command signals stored in command buffers 410 and 412 are the first match, it will lock command buffers 410 and 412, preventing the decoder 402 from writing data to command buffers 410 and 412. If the infrared receiver 110 does not receive any command signal for more than a second predetermined time, it means that the user has released the specific button on the remote control 200. Therefore, the comparison circuit 414 can unlock command buffers 410 and 412 and clear the data in command buffers 410 and 412 to receive new command signals again.

[0072] In step S516, the arithmetic unit obtains the instruction signal from the first instruction buffer or the second instruction buffer and performs instruction decoding to execute the corresponding operation. For example, if the integrated circuit 100 is installed in a television, the integrated circuit 100 can be electrically connected to other devices in the television, such as the display panel, image buffer, etc. If the user presses the volume down button on the remote control 200, the instruction signal 162 issued by the remote control 200 carries the instruction to press the volume down button. Therefore, when the arithmetic unit 120 successfully decodes the instruction signal 162 to obtain the corresponding instruction (i.e., pressing the volume down button), the arithmetic unit 120 can read the corresponding volume bar pattern from the BIOS firmware to cover a specific area of ​​the image signal, such as displaying the volume bar below the image signal.

[0073] In summary, this invention provides an integrated circuit and a method for comparing instructions for an infrared receiver. The infrared receiver in the integrated circuit can use hardware circuitry to determine whether the received instruction signal is correct, thereby avoiding the consumption of computing unit resources. This not only improves the practicality of the infrared receiver but also enhances the efficiency of the integrated circuit in comparing infrared instruction signals.

[0074] While the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the scope of the invention. Anyone skilled in the art can make some modifications and refinements without departing from the scope of protection of the claims.

Claims

1. An integrated circuit, characterized in that, include: One arithmetic unit; as well as An infrared receiver is connected to an infrared sensor external to the integrated circuit and is used to receive a first command signal and a second command signal repeatedly transmitted by a remote control, detected by the infrared sensor. The infrared sensor includes a first instruction buffer and a second instruction buffer to store the first instruction signal and the second instruction signal, respectively. The infrared receiver is used to determine whether the first command signal and the second command signal match. In response to the infrared receiver determining that the first instruction signal and the second instruction signal match, the infrared receiver sets a matching identifier to notify the computing unit to obtain the first instruction signal or the second instruction signal from the infrared receiver, and performs instruction decoding on the obtained first instruction signal or the second instruction signal to execute the corresponding operation. In response to the infrared receiver determining that the first command signal in the first command buffer and the second command signal in the second command buffer do not match, the infrared receiver clears the earlier first command signal or the second command signal in the first command buffer and the second command buffer, and continues to receive new command signals from the infrared sensor.

2. The integrated circuit according to claim 1, characterized in that, The infrared receiver includes: A selection circuit is used to control the data writing of the first instruction buffer and the second instruction buffer; A decoder is used to decode the first instruction signal to obtain one or more first data entries in the first instruction signal, and to store the one or more first data entries into the first instruction buffer selected by the selection circuit. A bit counter is used to count the number of the first bit of the one or more first data entries in the first instruction signal; and A first comparison circuit is used to compare the first bit quantity with a target data length; When the first comparison circuit determines that the number of the first bits is equal to the target data length, the first comparison circuit generates a first pulse signal to the selection circuit so that the selection circuit selects the second instruction buffer.

3. The integrated circuit according to claim 2, characterized in that, In response to the selection circuit selecting the second instruction buffer, the decoder decodes the second instruction signal to obtain one or more pieces of second data in the second instruction signal, and stores the one or more pieces of second data into the second instruction buffer selected by the selection circuit; The bit counter further calculates the number of second bits of the one or more second data entries in the second instruction signal, and the first comparison circuit is used to compare the number of second bits with the target data length.

4. The integrated circuit according to claim 3, characterized in that, The infrared receiver also includes a second comparison circuit; When the first comparison circuit determines that the number of the second bit is equal to the target data length, the first comparison circuit generates a second pulse signal to the selection circuit so that the selection circuit selects the first instruction buffer. In response to the second pulse signal, the second comparison circuit determines whether the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer match.

5. The integrated circuit according to claim 4, characterized in that, In response to the second comparison circuit determining that the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer match, the second comparison circuit retains the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer, and sets the matching flag to notify the arithmetic unit to obtain the first instruction signal or the second instruction signal from the infrared receiver.

6. The integrated circuit according to claim 5, characterized in that, In response to the second comparison circuit determining that the first instruction signal in the first instruction buffer and the second instruction signal in the second instruction buffer do not match, the second comparison circuit further clears the data in the first instruction buffer and the second instruction buffer, and continues to receive new instruction signals from the infrared sensor.

7. The integrated circuit according to claim 1, characterized in that, The matching identifier is an interrupt signal.

8. A command comparison method for an infrared receiver, characterized in that, The infrared receiver is disposed in an integrated circuit and connected to an infrared sensor external to the integrated circuit, and the infrared sensor includes a first instruction buffer and a second instruction buffer. The method includes: The infrared receiver receives a first command signal and a second command signal repeatedly sent by a remote control, which are detected by the infrared sensor. The first command buffer and the second command buffer store the first command signal and the second command signal, respectively. The infrared receiver is used to determine whether the first command signal and the second command signal match. In response to the infrared receiver determining that the first command signal and the second command signal match, a matching identifier is set using the infrared receiver to notify a processing unit in the integrated circuit to obtain the first command signal or the second command signal from the infrared receiver, and to perform command decoding on the obtained first command signal or the second command signal to execute the corresponding operation; and In response to the infrared receiver determining that the first command signal in the first command buffer and the second command signal in the second command buffer do not match, the infrared receiver clears the earlier first command signal or the second command signal in the first command buffer and the second command buffer, and continues to receive new command signals from the infrared sensor.

Citation Information

Patent Citations

  • Infrared signal transmitting method, infrared signal transmitting device and remote controller

    CN103927864A

  • Remote control receiver and control method

    CN1301127A