Infrared signal interception wake-up circuit, wake-up method and infrared remote control system
By designing a listening wake-up circuit in an infrared remote control system, the microcontroller unit is awakened only when the infrared signal conforms to the preset frame structure, the problem of high infrared data reception power consumption is solved, and the effect of low power consumption and efficient infrared signal reception is achieved .
Patent Information
- Application Number
- CN202411372046.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-03
AI Technical Summary
The existing infrared remote control system consumes a high power consumption when receiving infrared data, especially the software decoding scheme requires the microcontroller unit to remain in the working state, resulting in an increase in system power consumption.
A sensing and wake-up circuit for infrared signals is designed, including signal conversion circuit, detection and amplification circuit and infrared frame detection state machine. By judging whether the infrared signal meets the preset frame structure, it determines whether the microcontroller unit is awakened, and only if the frame structure is in compliance with the frame structure. When wake up the microcontroller unit for software decoding, other times listen to wake up the wakeup circuits work alone to reduce power consumption.
It effectively reduces the power consumption of infrared data reception, improves the system's low power consumption and efficient reception capabilities, and filters out interfering signals that do not conform to the preset frame structure, improving the accuracy of signal reception.
Smart Images

Figure CN119254820A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of infrared communication technology, and in particular to an infrared signal listening wake-up circuit, a wake-up method and an infrared remote control system. Background Art
[0002] Since infrared rays have a long wavelength and are better able to penetrate smoke and dust, they can achieve wireless and concealed control to a certain extent. Infrared remote control technology is widely used in home and industrial fields, such as the control of televisions, air conditioners, set-top boxes and other equipment.
[0003] There are usually two solutions for infrared data reception: hardware decoding and software decoding. The hardware decoding solution can use a microcontroller unit with an integrated infrared receiving head or a self-developed decoding circuit (with a complex structure). The decoding circuit is always working during operation, and the system power consumption is high. The software decoding solution is that the microcontroller unit cooperates with an external amplifier circuit to amplify the signal of the infrared receiving tube and then processes and receives the infrared data; in this process, the microcontroller unit must remain in a working state to correctly receive the infrared data, which is not conducive to the low power consumption of the system. Summary of the invention
[0004] The invention provides an infrared signal listening awakening circuit, awakening method and infrared remote control system to reduce the power consumption required for infrared data reception.
[0005] According to one aspect of the present invention, there is provided an infrared signal listening wake-up circuit, comprising:
[0006] A signal conversion circuit, used for receiving the infrared signal and converting the infrared signal into a modulation signal;
[0007] A detection amplifier circuit, used for rectifying and amplifying the modulated signal, and outputting a digital signal;
[0008] The infrared frame detection state machine is used to receive the digital signal, determine whether the digital signal conforms to the preset infrared frame structure, and output the effective level of the wake-up signal to wake up the micro control unit when the digital signal conforms to the preset infrared frame structure.
[0009] Optionally, the signal conversion circuit includes: a photodiode, a first adjustable resistor, a second adjustable resistor, a first transistor, a second transistor and a third transistor;
[0010] The anode of the photosensitive diode and the gate of the first transistor are electrically connected to a first node, the cathode of the photosensitive diode is electrically connected to a first power supply terminal, and the first adjustable resistor is connected in parallel with the photosensitive diode;
[0011] The first electrode of the first transistor is also electrically connected to the first power supply terminal, and the second electrode of the first transistor and the gate of the second transistor and the gate of the third transistor are electrically connected to a second node; the second node is grounded through the second adjustable resistor;
[0012] The first electrode of the second transistor is electrically connected to the second power supply terminal, the second electrode of the second transistor and the first electrode of the third transistor are both electrically connected to the output terminal of the signal conversion circuit, and the second electrode of the third transistor is grounded.
[0013] Optionally, the signal conversion circuit further includes: a light emitting diode and a light emitting control transistor;
[0014] The positive electrode of the light emitting diode is electrically connected to the first power supply terminal, and the negative electrode of the light emitting diode is electrically connected to the first node;
[0015] A first electrode of the light emitting control transistor is electrically connected to the first node, a second electrode of the light emitting control transistor is grounded, and a gate of the light emitting control transistor is electrically connected to an input end of the signal conversion circuit.
[0016] Optionally, the detection amplifier circuit includes: a unidirectional conducting diode, a filter capacitor, a DC blocking capacitor, an inverter, and an amplifying resistor;
[0017] The positive electrode of the unidirectional conducting diode is electrically connected to the output end of the signal conversion circuit, the negative electrode of the unidirectional conducting diode is grounded through the filter capacitor, and the negative electrode of the unidirectional conducting diode is also electrically connected to the input end of the inverter through the DC blocking capacitor; the amplifying resistor is connected in parallel with the inverter.
[0018] Optionally, the infrared frame detection state machine confirms that the digital signal complies with the preset infrared frame structure when the level maintenance time of the digital signal satisfies a preset time range.
[0019] Optionally, it further comprises: a register; the register is electrically connected to the infrared frame detection state machine;
[0020] The infrared frame detection state machine is further used to obtain a preset address, and when the digital signal conforms to the preset infrared frame structure and the address of the digital signal includes the preset address, output the effective level of the wake-up signal to wake up the micro control unit.
[0021] Optionally, the infrared frame detection state machine is also used to obtain the working state of the micro control unit, and control the listening wake-up circuit to stop working when the micro control unit is in the awake state, and control the listening wake-up circuit to work when the micro control unit is in the non-awakened state.
[0022] Optionally, it also includes: an oscillator;
[0023] The oscillator is electrically connected to the infrared frame detection state machine.
[0024] According to another aspect of the present invention, a method for waking up a circuit for listening to infrared signals is provided, based on the above-mentioned waking up circuit for listening to infrared signals;
[0025] The listening wakeup methods include:
[0026] Acquire a digital signal extracted from the infrared signal;
[0027] Determining whether the digital signal conforms to a preset infrared frame structure;
[0028] If the digital signal conforms to the preset infrared frame structure, outputting the effective level of the wake-up signal to wake up the micro control unit;
[0029] If the digital signal does not conform to the preset infrared frame structure, an invalid level of the wake-up signal is outputted, and the micro control unit is not woken up.
[0030] According to another aspect of the present invention, an infrared remote control system is provided, comprising the above infrared signal monitoring and waking-up circuit, and a micro control unit electrically connected to the monitoring and waking-up circuit.
[0031] The technical solution of the present invention is to set up a listening wake-up circuit for infrared signals. When there is no infrared signal that meets the preset infrared frame structure, the microcontroller unit will not be woken up, the microcontroller unit will not work, and only the listening wake-up circuit will work, and the power consumption is low; when there is an infrared signal that meets the preset infrared frame structure, the microcontroller unit can be woken up, and the microcontroller unit can receive the infrared signal that meets the preset infrared frame structure by software decoding; in addition, by listening to the infrared signal through the listening wake-up circuit, other interference signals that do not meet the preset infrared frame structure can be filtered out, and the microcontroller unit can be woken up when the infrared signal that meets the preset infrared frame structure is detected, which is conducive to cooperating with the microcontroller unit to achieve low power consumption and efficient reception of infrared signals.
[0032] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 It is a structural schematic diagram of an infrared signal listening wake-up circuit provided by an embodiment of the present invention;
[0035] Figure 2 is a circuit structure diagram of a signal conversion circuit provided by an embodiment of the present invention;
[0036] Figure 3 It is a circuit structure diagram of a detection amplifier circuit provided by an embodiment of the present invention;
[0037] Figure 4 It is a flow chart of a method for waking up a circuit by listening to an infrared signal provided by an embodiment of the present invention;
[0038] Figure 5 It is a structural schematic diagram of an infrared remote control system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0041] Figure 1is a schematic diagram of a structure of an infrared signal listening wake-up circuit provided by an embodiment of the present invention, with reference to Figure 1 The infrared signal listening wake-up circuit 01 includes: a signal conversion circuit 10, which is used to receive the infrared signal and convert the infrared signal into a modulated signal; a detection and amplifier circuit 20, which is used to rectify and amplify the modulated signal and output a digital signal; an infrared frame detection state machine 30, which is used to receive the digital signal, determine whether the digital signal conforms to the preset infrared frame structure, and output the effective level of the wake-up signal when the digital signal conforms to the preset infrared frame structure to wake up the micro control unit.
[0042] Specifically, the output end of the signal conversion circuit 10 is electrically connected to the input end of the detection amplifier circuit 20, the output end of the detection amplifier circuit 20 is electrically connected to the input end of the infrared frame detection state machine 30, and the output end of the infrared frame detection state machine 30 is electrically connected to the micro control unit.
[0043] The modulated signal refers to a modulated high-frequency carrier signal. By processing the initial low-frequency signal and then loading it onto the high-frequency carrier signal, the initial low-frequency signal can be converted into a high-frequency carrier signal carrying data information suitable for transmission, that is, converted into a modulated signal, which is beneficial to signal transmission.
[0044] Exemplarily, the infrared signal can represent a series of binary high-frequency pulse signals, for example, the presence of the infrared signal can be 0, and the absence of the infrared signal can be 1. The high-frequency pulse signal represented by the infrared signal is a modulated signal, which refers to a signal that modulates the initial low-frequency signal on a characteristic carrier frequency. For example, the carrier frequency can be 38KHz, and the frequency of the high-frequency pulse signal represented by the infrared signal is also 38KHz. In this way, the infrared signal can be prevented from being interfered by other signals during wireless transmission. The signal conversion circuit 10 can receive the infrared signal and convert the infrared signal into an electrical signal, that is, a high-frequency pulse signal, and the subsequent circuit can extract information from the high-frequency pulse signal. The detection amplifier circuit 20 can rectify the high-frequency pulse signal carrying data information into high and low levels, that is, demodulate the modulated high-frequency carrier signal into a low-frequency digital signal, for example, the high level can be a digital signal 1, and the low level can be a digital signal 0. The frequency of the digital signal can be the same as the frequency of the initial low-frequency signal before modulation; the detection amplifier circuit 20 can also amplify the rectified high and low levels for easy recognition by the subsequent circuit.
[0045] The infrared frame detection state machine 30 can determine whether the digital signal output by the detection amplifier circuit 20 belongs to the preset infrared frame structure, for example, it can determine whether the demodulated digital signal belongs to the preset infrared frame structure according to the duration of the digital signal 1 and the digital signal 0. Taking the preset infrared frame structure as the NEC infrared frame structure as an example, if the duration of the digital signal 1 satisfies 0.56±0.05ms or 1.68±0.05ms, and if the duration of the digital signal 0 satisfies 0.56±0.05ms, it can be considered that the digital signal belongs to the NEC infrared frame structure, indicating that the infrared signal received by the signal conversion circuit 10 meets the requirements and is the infrared signal that the micro control unit needs to receive. At this time, the infrared frame detection state machine 30 can output the effective level of the wake-up signal to wake up the micro control unit to work, and the micro control unit can receive the infrared signal and identify the bit, address, and command. Among them, the sum of the duration of the digital signal 1 and the duration of the digital signal 0 is less than or equal to 2.24+0.1ms, the duration is short, and the level reversal frequency is low, so that the current in the infrared frame detection state machine 30 is small and the power consumption is low.
[0046] In the embodiment of the present invention, a listening wake-up circuit for infrared signals is set. When there is no infrared signal that meets the preset infrared frame structure, the microcontroller unit will not be woken up, the microcontroller unit will not work, and only the listening wake-up circuit will work, and the power consumption is low; when there is an infrared signal that meets the preset infrared frame structure, the microcontroller unit can be woken up, and the microcontroller unit can receive the infrared signal that meets the preset infrared frame structure by software decoding; in addition, by listening to the infrared signal by the listening wake-up circuit, other interference signals that do not meet the preset infrared frame structure can be filtered out, and the microcontroller unit can be woken up when the infrared signal that meets the preset infrared frame structure is detected, which is conducive to cooperating with the microcontroller unit to achieve low power consumption and efficient reception of infrared signals.
[0047] Optionally, the infrared frame detection state machine 30 may confirm that the digital signal complies with a preset infrared frame structure when the level maintenance time of the digital signal satisfies a preset time range.
[0048] The level maintenance time of the digital signal may be the low level maintenance time of the digital signal 0, or may be the high level maintenance time of the digital signal 1.
[0049] Exemplarily, taking the preset infrared frame structure as the NEC infrared frame structure as an example, the infrared frame detection state machine 30 can determine whether the low-level maintenance time of the digital signal 0 satisfies 0.56±0.05ms. If so, it can be considered that the infrared signal received by the signal conversion circuit 10 meets the preset infrared frame structure and wakes up the micro control unit. If not, it can be considered that the infrared signal received by the signal conversion circuit 10 does not meet the preset infrared frame structure and does not wake up the micro control unit, which is beneficial to the low power consumption of the monitoring wake-up circuit 01 and is also beneficial to the micro control unit to efficiently receive infrared signals.
[0050] Optional, continue to refer to Figure 1 The infrared signal listening wake-up circuit 01 also includes a register 40, which is electrically connected to the infrared frame detection state machine 30; the infrared frame detection state machine 30 is also used to obtain a preset address, and when the digital signal conforms to the preset infrared frame structure and the address of the digital signal includes the preset address, outputs the effective level of the wake-up signal to wake up the micro control unit.
[0051] Exemplarily, the infrared frame detection state machine 30 can identify bits according to a preset infrared protocol. Taking the preset infrared protocol as the NEC infrared protocol as an example, it can identify code 1 (0.56±0.05ms low level plus 1.68±0.05ms high level) and code 0 (0.56±0.05ms low level plus 0.56±0.05ms high level). According to the arrangement of code 1 and code 0, the address of the infrared signal can be identified. When the address of the infrared signal is the same as the preset address, the effective level of the wake-up signal is output to wake up the micro control unit. In this way, the accuracy of the wake-up can be improved and false wake-up can be avoided.
[0052] Optionally, the infrared frame detection state machine 30 is also used to obtain the working state of the micro control unit, and control the listening wake-up circuit 01 to stop working when the micro control unit is in the awake state, and control the listening wake-up circuit 01 to work when the micro control unit is in the non-awakened state.
[0053] Exemplarily, when the microcontroller unit is not awakened, the low-power listening wake-up circuit 01 replaces the microcontroller unit to listen to infrared signals; after the microcontroller unit wakes up, the listening wake-up circuit 01 no longer works, which is beneficial to reducing the power consumption required for infrared data reception.
[0054] In other optional embodiments, in addition to providing a wake-up signal to the microcontroller unit, the infrared frame detection state machine 30 can also provide the microcontroller unit with a digital signal output by the detection amplifier circuit or a bit sequence (the arrangement sequence of 1 codes and 0 codes) identified according to a preset infrared protocol. That is, after the microcontroller unit wakes up, the listening wake-up circuit 01 continues to work, which is beneficial to reducing the power consumption of the microcontroller unit.
[0055] Optional, continue to refer to Figure 1 The infrared signal listening wake-up circuit 01 further includes an oscillator 50, which is electrically connected to the infrared frame detection state machine 30, and is used to provide a clock to the infrared frame detection state machine 30. In an optional embodiment, the oscillator 50 can reuse the oscillator in the micro control unit or be reused as the oscillator in the micro control unit, which is beneficial to reducing costs and power consumption.
[0056] The oscillator 50 includes but is not limited to a 38KHz RC oscillator.
[0057] Optional, Figure 2 is a circuit structure diagram of a signal conversion circuit provided by an embodiment of the present invention, with reference to Figure 2 The signal conversion circuit 10 includes: a photosensitive diode D1, a first adjustable resistor Rin, a second adjustable resistor Rout, a first transistor M2, a second transistor M3 and a third transistor M4; the positive electrode of the photosensitive diode D1 and the gate of the first transistor M2 are electrically connected to the first node A, the negative electrode of the photosensitive diode D1 is electrically connected to the first power supply terminal VDDIO, and the first adjustable resistor Rin is connected in parallel with the photosensitive diode D1; the first electrode of the first transistor M2 is also connected to the first power supply terminal VDDIO, the second electrode of the first transistor M2 and the gate of the second transistor M3 and the gate of the third transistor M4 are electrically connected to the second node B; the second node B is grounded through the second adjustable resistor Rout; the first electrode of the second transistor M3 is electrically connected to the second power supply terminal VDDCORE, the second electrode of the second transistor M3 and the first electrode of the third transistor M4 are both electrically connected to the output terminal RX_OUT of the signal conversion circuit 10, and the second electrode of the third transistor M4 is grounded.
[0058] Exemplarily, the first transistor M2 and the second transistor M3 are PMOS transistors, and the third transistor M4 is an NMOS transistor. The signal conversion circuit 10 can receive an infrared signal. When the photodiode D1 receives the infrared signal, a current from the positive electrode to the negative electrode will be generated in the photodiode D1, and the voltage of the first node A will decrease. When the voltage difference between the first node A and the first power supply terminal VDDIO is less than the threshold voltage of the first transistor M2, the first transistor M2 is turned on, the voltage of the second node B increases, the voltage difference between the second node B and the ground terminal is greater than the threshold voltage of the third transistor M4, the third transistor M4 is turned on, and the output terminal RX_OUT of the signal conversion circuit 10 is pulled down to a low level. When the photodiode D1 does not receive an infrared signal or the infrared signal is very weak, there is no current or a very small current in the photodiode D1, the voltage of the first node A is high, the first transistor M2 is turned off, the voltage of the second node B is low, the second transistor M3 is turned on, and the output terminal RX_OUT of the signal conversion circuit 10 is high.
[0059] When there is no infrared signal, the first transistor M2, the second transistor M3 and the third transistor M4 do not consume any current. By adjusting the first adjustable resistor Rin, the second adjustable resistor Rout and the size of the first transistor M2, the minimum input current required for the output terminal RX_OUT to flip can be adjusted, that is, the minimum input current required for the voltage jump of the output terminal RX_OUT when receiving an infrared signal, which is beneficial to reducing the power consumption of the signal conversion circuit 10.
[0060] Based on the above embodiments, continue to refer to Figure 2 The signal conversion circuit 10 also includes a light emitting diode D2 and a light emitting control transistor M0; the positive electrode of the light emitting diode D2 is electrically connected to the first power supply terminal VDDIO, and the negative electrode of the light emitting diode D2 is electrically connected to the first node A; the first electrode of the light emitting control transistor M0 is electrically connected to the first node A, the second electrode of the light emitting control transistor M0 is grounded, and the gate of the light emitting control transistor M0 is electrically connected to the input terminal TX_IN of the signal conversion circuit 10.
[0061] Exemplarily, after the signal conversion circuit 10 receives the infrared signal, the microcontroller unit can set the inverse code according to the user code of the received infrared signal, and the inverse code can be sent through the light-emitting diode D2 of the signal conversion circuit 10 to verify the accuracy of data transmission. When the signal conversion circuit 10 transmits the infrared signal, the first adjustable resistor Rin and the first transistor M2 do not work (the circuit where the first adjustable resistor Rin and the first transistor M2 are located is open), the light-emitting control transistor M0 works, and the input terminal TX_IN of the signal conversion circuit 10 can receive an electrical signal from the microcontroller unit, and the signal received by the input terminal TX_IN is a modulated high-frequency carrier signal, for example, a 38KHz electrical signal; when the signal conversion circuit 10 receives the infrared signal, the light-emitting diode D2 and the light-emitting control transistor M0 do not work (the circuit where the light-emitting diode D2 and the light-emitting control transistor M0 are located is open), and the first adjustable resistor Rin and the first transistor M2 work.
[0062] Taking the light-emitting control transistor M0 as an NMOS transistor as an example, when the input terminal TX_IN is at a high level, the voltage difference between the input terminal TX_IN and the ground terminal is greater than the threshold voltage of the light-emitting control transistor M0, the light-emitting control transistor M0 is turned on, and the light-emitting diode D2 can emit a modulated high-frequency infrared signal; when the input terminal TX_IN is at a low level, the light-emitting control transistor M0 is turned off, and the light-emitting diode D2 stops emitting light. When the signal conversion circuit 10 emits an infrared signal and the light-emitting control transistor M0 works, the second node B is always at a low level, the second transistor M3 is turned on, and the output terminal RX_OUT of the signal conversion circuit 10 is at a high level.
[0063] Optional, Figure 3 is a schematic diagram of a circuit structure of a detection amplifier circuit provided by an embodiment of the present invention, with reference to Figure 3 The detection amplifier circuit 20 includes: a unidirectional conducting diode D3, a filter capacitor C1, a DC blocking capacitor C2, an inverter U1, and an amplifying resistor R1; the anode of the unidirectional conducting diode D3 is electrically connected to the output terminal RX_OUT of the signal conversion circuit 10, the cathode of the unidirectional conducting diode D3 is grounded GND through the filter capacitor C1, and the cathode of the unidirectional conducting diode D3 is also electrically connected to the input terminal of the inverter UQ through the DC blocking capacitor C2; the amplifying resistor R1 is connected in parallel with the inverter U1 to form a self-biased amplifier circuit.
[0064] Exemplarily, the unidirectional conducting diode D3 and the filter capacitor C1 can lead the high-frequency signal to the ground, and the low-frequency signal can reach the DC-isolating capacitor C2. The DC-isolating capacitor C2 filters out the DC signal and couples the AC signal to match the level of the input end of the inverter UQ, so that the self-biased amplifier circuit amplifies the low-frequency signal. The detection amplifier circuit 20 can demodulate the modulated high-frequency carrier signal into a low-frequency digital signal, wherein the unidirectional conducting diode D3, the filter capacitor C1 and the DC-isolating capacitor C2 are all passive devices and do not consume any static current; the self-biased amplifier circuit with the inverter U1 as the core does not consume static current either, which is conducive to reducing the power consumption required for infrared data reception.
[0065] Based on the same inventive concept, an embodiment of the present invention further provides a wake-up method for an infrared signal listening wake-up circuit, based on the above infrared signal listening wake-up circuit. Figure 4 is a flowchart of a method for waking up a circuit by listening to an infrared signal provided by an embodiment of the present invention, with reference to Figure 4 , the listening wake-up methods include:
[0066] S110: Acquire a digital signal extracted from the infrared signal.
[0067] S120, determine whether the digital signal conforms to the preset infrared frame structure. If yes, execute S130; if no, execute S140.
[0068] S130 , outputting the effective level of the wake-up signal to wake up the micro control unit.
[0069] S140: Output an invalid level of the wake-up signal and do not wake up the micro control unit.
[0070] Exemplarily, it is possible to determine whether the digital signal belongs to the preset infrared frame structure based on the duration of the digital signal 1 and 0. Taking the preset infrared frame structure as the NEC infrared frame structure as an example, if the duration of the digital signal 1 satisfies 0.56±0.05ms or 1.68±0.05ms, and if the duration of the digital signal 0 satisfies 0.56±0.05ms, it can be considered that the digital signal belongs to the NEC infrared frame structure, indicating that the infrared signal received by the signal conversion circuit 10 meets the requirements and is the infrared signal that the micro control unit needs to receive. The infrared frame detection state machine 30 can output the effective level of the wake-up signal to wake up the micro control unit to work, receive the infrared signal, and identify the bit, address, and command. If the duration of the digital signal 1 does not meet 0.56±0.05ms or 1.68±0.05ms, or the duration of the digital signal 0 does not meet 0.56±0.05ms, it can be considered that the digital signal does not belong to the NEC infrared frame structure, indicating that the infrared signal received by the signal conversion circuit 10 does not meet the requirements and is not the infrared signal that the micro control unit needs to receive. The infrared frame detection state machine 30 can output an invalid level of the wake-up signal and does not wake up the micro control unit.
[0071] In the embodiment of the present invention, when there is no infrared signal that conforms to the preset infrared frame structure, the micro control unit will not be awakened and the micro control unit will not work; when there is an infrared signal that conforms to the preset infrared frame structure, the micro control unit can be awakened, and the micro control unit can software decode and receive the infrared signal that conforms to the preset infrared frame structure, which is beneficial to reducing the power consumption required for infrared data reception.
[0072] In an optional embodiment, if the digital signal conforms to a preset infrared frame structure, the effective level of the wake-up signal is output to wake up the micro control unit, including: if the digital signal conforms to the preset infrared frame structure, obtaining the level maintenance time of the digital signal; judging whether the level maintenance time of the digital signal meets the preset time range; if the level maintenance time of the digital signal meets the preset time range, outputting the effective level of the wake-up signal to wake up the micro control unit.
[0073] In another optional embodiment, the infrared signal listening wake-up circuit also includes a register 40, which is electromechanically connected to the infrared frame detection state machine; if the digital signal conforms to the preset infrared frame structure, the valid level of the wake-up signal is output to wake up the micro control unit, including: if the digital signal conforms to the preset infrared frame structure, obtaining the preset address; determining whether the address of the digital signal includes the preset address; if the address of the digital signal includes the preset address, outputting the valid level of the wake-up signal to wake up the micro control unit; if the address of the digital signal does not include the preset address, outputting the invalid level of the wake-up signal.
[0074] In another optional embodiment, before obtaining the digital signal extracted from the infrared signal, and / or after outputting the effective level or the effective level of the wake-up signal, it also includes: obtaining the working status of the microcontroller unit, and when the microcontroller unit is in the awakened state, controlling the listening wake-up circuit to stop working, and when the microcontroller unit is in the non-awakened state, controlling the listening wake-up circuit to work.
[0075] The wake-up method of the infrared signal listening wake-up circuit provided in the embodiment of the present invention, using the infrared signal listening wake-up circuit provided in any embodiment of the present invention, has the corresponding technical features and beneficial effects of the listening wake-up circuit. The contents not fully described in the embodiment of the wake-up method of the listening wake-up circuit can refer to the above description of the listening wake-up circuit, and will not be repeated here; similarly, the infrared signal listening wake-up circuit provided in the embodiment of the present invention also has the functional modules and beneficial effects that can execute the wake-up method of the listening wake-up circuit provided in any embodiment of the present invention. The contents not fully described in the embodiment of the complex listening wake-up circuit can refer to the above description of the wake-up method of the listening wake-up circuit, and will not be repeated here.
[0076] Based on the same inventive concept, an embodiment of the present invention further provides an infrared remote control system. Figure 5 FIG. 1 is a schematic diagram of the structure of an infrared remote control system provided by an embodiment of the present invention. Figure 5 The infrared remote control system includes the listening wake-up circuit 01 provided in any embodiment of the present invention, and the micro control unit 02 electrically connected to the listening wake-up circuit 01. The infrared remote control system provided in the embodiment of the present invention can be any product with an infrared remote control function, including but not limited to the following categories: televisions, air conditioners, set-top boxes, etc., and the embodiment of the present invention does not specifically limit this.
[0077] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. An infrared signal listening wake-up circuit, characterized in that: include: A signal conversion circuit, used for receiving the infrared signal and converting the infrared signal into a modulation signal; A detection amplifier circuit, used for rectifying and amplifying the modulated signal, and outputting a digital signal; The infrared frame detection state machine is used to receive the digital signal, determine whether the digital signal conforms to the preset infrared frame structure, and output the effective level of the wake-up signal to wake up the micro control unit when the digital signal conforms to the preset infrared frame structure.
2. The infrared signal listening wake-up circuit according to claim 1, characterized in that: The signal conversion circuit includes: a photosensitive diode, a first adjustable resistor, a second adjustable resistor, a first transistor, a second transistor and a third transistor; The anode of the photosensitive diode and the gate of the first transistor are electrically connected to a first node, the cathode of the photosensitive diode is electrically connected to a first power supply terminal, and the first adjustable resistor is connected in parallel with the photosensitive diode; The first electrode of the first transistor is also electrically connected to the first power supply terminal, and the second electrode of the first transistor and the gate of the second transistor and the gate of the third transistor are electrically connected to a second node; the second node is grounded through the second adjustable resistor; The first electrode of the second transistor is electrically connected to the second power supply terminal, the second electrode of the second transistor and the first electrode of the third transistor are both electrically connected to the output terminal of the signal conversion circuit, and the second electrode of the third transistor is grounded.
3. The infrared signal listening wake-up circuit according to claim 2, characterized in that: The signal conversion circuit also includes: a light emitting diode and a light emitting control transistor; The positive electrode of the light emitting diode is electrically connected to the first power supply terminal, and the negative electrode of the light emitting diode is electrically connected to the first node; A first electrode of the light emitting control transistor is electrically connected to the first node, a second electrode of the light emitting control transistor is grounded, and a gate of the light emitting control transistor is electrically connected to an input end of the signal conversion circuit.
4. The infrared signal listening wake-up circuit according to claim 1, characterized in that: The detection amplifier circuit comprises: a unidirectional conducting diode, a filter capacitor, a DC blocking capacitor, an inverter, and an amplifying resistor; The positive electrode of the unidirectional conducting diode is electrically connected to the output end of the signal conversion circuit, the negative electrode of the unidirectional conducting diode is grounded through the filter capacitor, and the negative electrode of the unidirectional conducting diode is also electrically connected to the input end of the inverter through the DC blocking capacitor; the amplifying resistor is connected in parallel with the inverter.
5. The infrared signal listening wake-up circuit according to claim 1, characterized in that: The infrared frame detection state machine confirms that the digital signal complies with the preset infrared frame structure when the level maintenance time of the digital signal meets the preset time range.
6. The infrared signal listening wake-up circuit according to claim 1, characterized in that: Also includes: register; The register is electrically connected to the infrared frame detection state machine; The infrared frame detection state machine is further used to obtain a preset address, and when the digital signal conforms to the preset infrared frame structure and the address of the digital signal includes the preset address, output the effective level of the wake-up signal to wake up the micro control unit.
7. The infrared signal listening wake-up circuit according to claim 1, characterized in that: The infrared frame detection state machine is also used to obtain the working state of the micro control unit, and control the listening wake-up circuit to stop working when the micro control unit is in the awake state, and control the listening wake-up circuit to work when the micro control unit is in the unawakened state.
8. The infrared signal listening wake-up circuit according to claim 1, characterized in that: Also includes: Oscillator; The oscillator is electrically connected to the infrared frame detection state machine.
9. A method for waking up a circuit by listening to an infrared signal, characterized in that: A listening wake-up circuit based on the infrared signal according to any one of claims 1 to 8; The listening wakeup methods include: Acquire a digital signal extracted from the infrared signal; Determining whether the digital signal conforms to a preset infrared frame structure; If the digital signal conforms to the preset infrared frame structure, outputting the effective level of the wake-up signal to wake up the micro control unit; If the digital signal does not conform to the preset infrared frame structure, an invalid level of the wake-up signal is outputted, and the micro control unit is not woken up.
10. An infrared remote control system, characterized in that: include: The infrared signal listening wake-up circuit according to any one of claims 1 to 8, and a micro control unit electrically connected to the listening wake-up circuit.
Citation Information
Cited By
Infrared light communication method based on mode switching
CN119921859A
Infrared Light Communication Method Based on Mode Switching
CN119921859B
