Automatic gain adjuster and automatic gain adjustment circuit

By introducing components such as noise integrator and interval time detector into the infrared receiver, the signal and noise are distinguished and the gain control signal is output, which solves the problem of the signal being misidentified as noise when the infrared receiver receives a coded signal with a small interval time. , improving the decoding accuracy of infrared signals.

CN110401425BActive Publication Date: 2024-08-23XIAMEN SILICON ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910650024.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-18
Publication Date
2024-08-23
Estimated Expiration
2039-07-18

AI Technical Summary

Technical Problem

When an existing infrared receiver receives an infrared coded signal with a short interval and a long total code length, it is easy to identify the signal as noise, resulting in a reduction in gain and the inability to receive the complete signal.

Method used

An automatic gain adjuster is designed, including a noise integrator, interval time detector, hold time timer, RS flip-flop, control logic circuit and gain control integrator. Through these components, the signal and noise are effectively distinguished and the gain control signal is output. to adjust the gain appropriately.

Benefits of technology

It improves the decoding accuracy of infrared signals with short interval time and long total encoding time, ensuring that the signal can be correctly identified and amplified for output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110401425B
    Figure CN110401425B
Patent Text Reader

Abstract

The present invention provides an automatic gain adjuster, which includes a noise integrator, an interval time detector, a holding time timer, an RS trigger, a control logic circuit and a gain control integrator; the output end of the noise integrator is respectively connected to the input end of the interval time detector, the first input end of the holding time timer and the control logic circuit; the interval time detector is respectively connected to the RS trigger and the holding time timer; the output end of the holding time timer is respectively connected to the RS trigger and the control logic circuit; the RS trigger is respectively connected to the holding time timer and the control logic circuit; the control logic circuit is connected to the gain control integrator, and the control logic circuit is connected to the gain control integrator. Compared with the related art, the automatic gain adjuster of the present invention can effectively distinguish the noise and signal in the infrared signal with short interval time and long total encoding time, and the automatic gain circuit of the present invention has high decoding accuracy for the infrared signal.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention relates to the field of infrared remote control, and in particular to an automatic gain adjuster and an automatic gain adjustment circuit used in an infrared receiver. [Background technology]

[0002] With the continuous development of remote controllers, infrared receivers are widely used. Among them, the infrared receiver is equipped with an automatic gain adjustment circuit, and the structural design of the automatic gain adjustment circuit directly affects the function realization of the infrared receiver. Therefore, in order to improve the performance of the infrared receiver, it is necessary to optimize the design of the automatic gain adjustment circuit.

[0003] In the related art, the automatic gain adjustment circuit includes a diode, a current / voltage conversion circuit, a preamplifier, a gain variable amplifier, a bandpass filter, a comparator, a demodulation integrator, a shaping output circuit and an automatic gain adjuster. The output end of the diode is connected to the input end of the current / voltage conversion circuit, the output end of the current / voltage conversion circuit is connected to the input end of the preamplifier, the output end of the preamplifier is connected to the input end of the gain variable amplifier, the output end of the gain variable amplifier is connected to the input end of the gain suppressor, the output end of the gain suppressor is connected to the input end of the bandpass filter, the output end of the pass filter is connected to the input end of the comparator, the output end of the comparator is connected to the input end of the automatic gain adjuster and the demodulation integrator, the output end of the automatic gain adjuster is connected to the gain variable amplifier, and the output end of the demodulation integrator is connected to the shaping output circuit input end.

[0004] However, when the automatic gain adjuster in the related art receives an infrared coded signal with a small interval time and a long total coding length, it will identify the signal as noise, and then continue to reduce the gain of the gain variable amplifier, so that the infrared receiver cannot receive the complete infrared coded signal.

[0005] Therefore, it is necessary to provide an automatic gain adjuster and an automatic gain adjustment circuit to solve the above technical problems. [Summary of the invention]

[0006] The object of the present invention is to provide an automatic gain adjuster and an automatic gain adjustment circuit, which can effectively distinguish noise and signal in infrared signals with short interval time and long total encoding time, so that the automatic gain circuit of the present invention can decode infrared signals with short interval time and long total encoding time with high accuracy.

[0007] The automatic gain adjuster can receive and decode infrared signals with short interval time and long total encoding time, so as to effectively distinguish noise from signals, and enable the automatic gain circuit to decode infrared signals with short interval time and long total encoding time.

[0008] To achieve the above object, the present invention provides an automatic gain adjuster, which includes a noise integrator, an interval time detector, a holding time timer, an RS trigger, a control logic circuit and a gain control integrator;

[0009] The output terminal of the noise integrator is respectively connected to the input terminal of the interval time detector, the first input terminal of the hold time timer and the first input terminal of the control logic circuit;

[0010] The output terminal of the interval time detector is connected to the first input terminal of the RS trigger and the second input terminal of the holding time timer respectively;

[0011] The output terminal of the holding time timer is connected to the second input terminal of the RS trigger and the second input terminal of the control logic circuit respectively;

[0012] The output terminal of the RS trigger is connected to the third input terminal of the holding time timer and the third input terminal of the control logic circuit respectively;

[0013] The first output terminal of the control logic circuit is connected to the first input terminal of the gain control integrator, and the second output terminal of the control logic circuit is connected to the second input terminal of the gain control integrator.

[0014] Preferably, the noise integrator is used to receive the input signal of the automatic gain adjuster, and determine whether the input signal belongs to a preset frequency range, and control the output end of the noise integrator to output a high level or a low level according to the determination result;

[0015] The interval time detector is used to detect the low level duration and high level duration of the output end of the noise integrator in real time, calculate and obtain the judgment threshold, compare the magnitude relationship between the high level duration and the judgment threshold, and control the output end of the interval time detector to output a high level or a low level according to the comparison result;

[0016] The RS trigger is used to detect the level and level change of the output end of the interval time detector and the level and level change of the output end of the holding time timer in real time, and control the output end of the RS trigger to output a high level or a low level according to the detection result;

[0017] The holding time timer is used to detect the levels of the output end of the noise integrator, the output end of the interval time detector and the output end of the RS trigger in real time, and detect the level change of the output end of the noise integrator and the level change of the output end of the interval time detector, and control the output end of the holding time timer to output one of a low level, a high level or a positive narrow pulse according to the detection result;

[0018] The control logic circuit is used to detect the levels of the output end of the noise integrator, the output end of the hold time timer and the output end of the RS trigger in real time, and control the first output end of the control logic circuit to output a low level or a high level according to the detection result, and control the second output end of the control logic circuit to output a high level or a low level;

[0019] The gain control integrator is used to detect the levels of the first output terminal and the second output terminal of the control logic circuit in real time, and control the output terminal of the gain control integrator to output a gain control signal according to the detection result.

[0020] Preferably, the preset frequency range is 36 kHz to 41 kHz.

[0021] Preferably, the judgment threshold is the sum of 1 / 10 of the low level duration and a preset time.

[0022] Preferably, the preset time is 100 microseconds.

[0023] The present invention also provides an automatic gain adjustment circuit, which includes a diode, a current / voltage conversion circuit, a preamplifier, a gain variable amplifier, a bandpass filter, a comparator, a demodulation integrator, a shaping output circuit and the automatic gain adjuster described in the present invention; the input end of the diode is connected to ground, the output end of the diode is connected to the input end of the current / voltage conversion circuit, the output end of the current / voltage conversion circuit is connected to the input end of the preamplifier, the output end of the preamplifier is connected to the first input end of the gain variable amplifier, the output end of the gain variable amplifier is connected to the input end of the bandpass filter, the output end of the bandpass filter is connected to the input end of the comparator, the first output end of the comparator is connected to the demodulation integrator, and the output end of the demodulation integrator is connected to the input end of the shaping output circuit; the second output end of the comparator is connected to the input end of the noise integrator, and the output end of the gain control integrator is connected to the second input end of the gain variable amplifier.

[0024] Preferably, the comparator is used to send an input signal to the input end of the noise integrator;

[0025] The variable gain amplifier is used to receive the gain control signal output from the output end of the gain control integrator, and control the voltage of the variable gain amplifier to increase or decrease according to the gain control signal, and at the same time control the gain of the variable gain amplifier to increase or decrease.

[0026] Preferably, the diode is an infrared photosensitive diode.

[0027] Compared with the related art, the automatic gain adjuster of the present invention includes a noise integrator, an interval time detector, a holding time timer, an RS trigger, a control logic circuit and a gain control integrator; through the setting of the noise integrator, when receiving an infrared coding signal with a small interval time and a long total coding length, the noise integrator is used to judge whether the signal is a useful signal or ambient light interference noise, effectively distinguishing the signal from the noise, and outputting a gain control signal through the gain control integrator based on the judgment, so that the noise is suppressed and the useful signal can be amplified and output. When the above-mentioned automatic gain adjuster is applied to the automatic gain adjustment circuit of the present invention, the automatic gain adjustment circuit appropriately maintains the gain level based on the gain control signal, thereby improving the decoding accuracy of infrared signals with short interval time and long total coding time.

Brief Description of the Drawings

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0029] Figure 1 A schematic diagram of the circuit structure of the automatic gain adjuster of the present invention;

[0030] Figure 2 is a working waveform diagram of the automatic gain adjuster of the present invention;

[0031] Figure 3 It is a working flow chart of the automatic gain adjuster of the present invention;

[0032] Figure 4 The figure is a schematic diagram of the circuit structure of the automatic gain adjustment circuit of the present invention. [Specific implementation method]

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0034] See also Figure 1 As shown, the present invention provides an automatic gain adjuster 100, which includes a noise integrator 1, an interval time detector 2, a holding time timer 3, an RS trigger 4, a control logic circuit 5 and a gain control integrator 6.

[0035] The input terminal V of the noise integrator 1 in Connecting to the external module, the input terminal V in As an input port of the automatic gain adjuster 100, used to receive an input signal sent by an external module;

[0036] The output terminal V of the noise integrator 1 int are respectively connected to the input terminal of the interval time detector 2, the first input terminal of the holding time timer 3 and the first input terminal of the control logic circuit 5;

[0037] The output terminal V of the interval time detector 2 gap are respectively connected to the first input terminal of the RS trigger 4 and the second input terminal of the holding time timer 3;

[0038] The output terminal V of the holding time timer 3 hold are respectively connected to the second input terminal of the RS trigger 4 and the second input terminal of the control logic circuit 5;

[0039] The output terminal V of the RS flip-flop 4 rs are respectively connected to the third input terminal of the holding time timer 3 and the third input terminal of the control logic circuit 5;

[0040] The first output terminal V of the control logic circuit 5 sp connected to the first input terminal of the gain control integrator 6, and the second output terminal V sn connected to the second input terminal of the gain control integrator 6;

[0041] The output terminal V of the gain control integrator 6 agc Connected to the external module, the output terminal V agc As the output port of the automatic gain adjuster 100, it is used to output a gain control signal to an external module.

[0042] Please also see Figure 1-3 As shown, the functions of each module of the automatic gain adjuster 100 will be described in detail below:

[0043] The noise integrator 1 is used to receive an input signal sent by an external module, and determine whether the input signal belongs to a preset frequency range, and control the output end of the noise integrator to output a high level or a low level according to the determination result.

[0044] Specifically, the noise integrator 1 is connected to the input terminal V in The received input signal is integrated to determine whether the input signal belongs to the preset frequency range. If so, the output terminal V is controlled. int Output low level, if not, then control the output terminal V int Output high level; wherein the typical value of the preset frequency range is 36 kHz to 41 kHz, and can also be other frequency ranges.

[0045] The interval time detector 2 is used to detect the output terminal V of the noise integrator 1 in real time. int The low level duration and high level duration of the interval time detector 2 are controlled according to the comparison result. gap Output high or low level.

[0046] Specifically, when the output terminal V int When the output is low level, the interval time detector 2 detects the output terminal V int The duration of the output low level is recorded as low level duration T b The low level duration is T b is the pulse train time; when the output terminal V int When the output is high level, the interval time detector 2 detects the output terminal V int The duration of the output high level is recorded as high level duration T gap The high level duration is T gap is the interval time between two adjacent pulse signals; the interval time detector 2 calculates the judgment threshold T0 through a preset functional relationship. Specifically, the judgment threshold T i The low level duration T b The sum of one tenth of the time T0 and the preset time T0 is the judgment threshold: T i =T b×10%+T0, wherein i refers to the i-th comparison, and i is an integer greater than or equal to 1; the preset time T0 is preset, and it can be specifically set according to actual conditions. For example, in this embodiment, the preset time T0 is 100 microseconds.

[0047] For ease of understanding, the working process of the interval time detector 2 will be described below with examples:

[0048] When the output terminal V int When a low level is outputted for the first time, the interval time detector 2 detects and records the first low level duration T b1 , according to the first low level duration T b1 Calculate the judgment threshold T1 = T for the first comparison b1 ×10%+T0; and when the output terminal V int When the low level output stops and turns to high level output, the interval time detector 2 detects and records the first high level duration T gap1 , and compare the first high level duration T in real time gap1 Compared with the first judgment threshold T 11 Compare, if the first high level duration T gap1 Greater than the judgment threshold T of the first comparison 11 When the output terminal V of the interval time detector 2 is gap Output low level; then, when the output terminal V int When the high level output stops and turns to low level output, the interval time detector 2 detects and records the second low level duration T b2 At this time, according to the second low level duration T b2 Calculate the judgment threshold T2 = T for the second comparison b2 ×10%+T0, then, the interval time detector 2 sets the judgment threshold T for the second comparison 12 The duration of the first high level detected last time is T gap1 When the first high level duration T gap1 Less than the judgment threshold T of the second comparison 12 , then the output terminal V of the interval time detector 2 gap Output high level. Similarly, the interval time detector 2 controls the output terminal V according to the comparison result. gap Output high or low level.

[0049] The RS trigger 4 is used to detect the output terminal V of the interval time detector 2 in real time. gap The level and level change of the output terminal V of the holding time timer 3hold The level and level change of the RS trigger 4 are controlled according to the detection result. rs Output high or low level.

[0050] Specifically, when the output terminal V gap When the output terminal V hold Keep the output low level, the output terminal V rs Output high level; when the output terminal V hold When the output terminal V gap Keep the output low level, the output terminal V rs Output low level.

[0051] The holding time timer 3 is used to detect the output terminal V of the noise integrator 1 in real time. int , the output terminal V of the interval time detector 2 gap and the output terminal V of the RS flip-flop 4 rs The level of the noise integrator 1 is detected at the output terminal V int The level change of the output terminal V of the interval time detector 2 gap According to the level change of the detection result, the output terminal V of the holding time timer 3 is controlled hold Output one of low level, high level or positive narrow pulse.

[0052] Specifically, when the output terminal V gap Output high level or the output terminal V int When the output is low, the output terminal V hold Output low level.

[0053] When the output terminal V rs output high level, and the input terminal V gap For the falling edge, the output terminal V hold The output is kept at a low level within a first preset time, and then a positive narrow pulse is output; the period of the positive narrow pulse is not limited. For example, as an optional implementation, the period of the positive narrow pulse is preferably 10 microseconds.

[0054] When the output terminal V rs output low level, and the output terminal V int For the rising edge, the output terminal V hold The output maintains a low level output for a second preset time, and then outputs a high level.

[0055] It should be noted that the first preset time and the second preset time are not limited and can be set according to actual conditions. For example, in this embodiment, the first preset time is 10 milliseconds and the second preset time is 20 milliseconds.

[0056] The control logic circuit 5 is used to detect the output terminal V of the noise integrator 1 in real time. int , the output terminal V of the holding time timer 3 hold and the output terminal V of the RS flip-flop 4 rs The level of the control logic circuit 5 is controlled according to the detection result. sp Outputs a low level or a high level and controls the second output terminal V of the control logic circuit 5 sn Output high level or low level;

[0057] Specifically, when the output terminal V rs output high level, and the output terminal V int When the output is low level, the first output terminal V sp Output low level, otherwise, the first output terminal V sp Output high level.

[0058] When the output terminal V rs output low level, and the output terminal V hold When the output is high level, the second output terminal V sn Output high level, otherwise, the second output terminal V sn Output low level.

[0059] The gain control integrator 6 is used to detect the first output terminal V of the control logic circuit 5 in real time. sp and the second output terminal V sn The output terminal V of the gain control integrator 6 is controlled according to the detection result. agc Output gain control signal.

[0060] Specifically, when the first output terminal V sp outputs a high level, and the second output terminal V sn When the output is low level, the output terminal V agc The voltage is kept constant and a gain hold signal is sent to the external module.

[0061] When the first output terminal V sp outputs a low level, and the second output terminal V sn When the output is low level, the output terminal V agc The voltage rises and sends a gain reduction signal to the external module.

[0062] When the first output terminal V sp outputs a high level, and the second output terminal V sn When the output is high level, the output terminal V agc The voltage drops and sends a gain increase signal to the external module.

[0063] Furthermore, as shown in the figure, the entire working process of the automatic gain adjuster 100 is:

[0064] In stage 001, the initial state of the automatic gain adjustment circuit 100 is stage 001, and the automatic gain adjuster 100 determines in real time the output terminal V int Is it a low level?

[0065] When the output terminal V int When it is low level, it jumps to stage 009 to control the second output terminal V sn Outputs a low level and sends a gain hold signal, then jumps back to stage 001 to repeat the output terminal V int Whether it is a low level judgment.

[0066] When the output terminal V int When it turns high, it jumps to stage 002.

[0067] In stage 002, it is determined that the high level duration T gap Is it less than the judgment threshold T used for this judgment? i If yes, then jump to stage 003, the output terminal V rs Output high level, and start timing from 0 seconds, the timing length is recorded as the trigger duration T rs Then, keep recording the trigger duration T rs At the same time, jump to stage 004 and determine the output terminal V int Is it a low level? If so, jump to stage 006 to make the first output terminal V sp Output low level, so that the output terminal V agc If the voltage rises, a gain reduction signal is sent; if not, the process jumps to stage 005, so that the first output terminal V sp Output high level and send gain hold signal. Then, return to stage 002 to determine the duration of high level T gap Is it less than the judgment threshold T used for this judgment? i If so, jump to stage 003 and repeat making the output terminal V rs Output high level, and restart timing from 0 seconds, record the timing length as trigger duration T rsThen, the logic loop formed by the subsequent stages 004, 005, 006 and 002 is repeated.

[0068] In stage 002, it is determined that the high level duration T gap Is it greater than the judgment threshold T used for this judgment? i , then jump to stage 007.

[0069] In stage 007, the output terminal V rs Is it a low level? If so, jump to stage 011 to determine the duration of the high level T gap Is it greater than the second preset time? If not, jump to stage 008 to determine the duration of the trigger T rs Whether it is greater than the first preset time.

[0070] In stage 008, if the judgment result is yes, then jump to stage 010 to make the output terminal V rs Output low level, at this time the first output terminal V sp Output high level, send gain hold signal, and then jump to stage 011; if the judgment result is no, jump to stage 004 and enter the logic loop formed by subsequent stages 005, 006 and 002.

[0071] In stage 011, if the judgment result is yes, then jump to stage 013 to make the second output terminal V sn Output high level, so that the output terminal V agc The voltage drops, and a gain increase signal is sent, and then the process jumps back to stage 001; if the judgment result is no, the process jumps to stage 012, so that the second output terminal V sn Output low level and send gain hold signal, then jump to stage 001 again.

[0072] Please also participate Figure 1 and Figure 4 As shown, the present invention also provides an automatic gain adjustment circuit 200, which includes a diode 201, a current / voltage conversion circuit 202, a preamplifier 203, a gain variable amplifier 204, a bandpass filter 205, a comparator 206, a demodulation integrator 207, a shaping output circuit 208 and the automatic gain adjuster 100 described in the present invention.

[0073] In this embodiment, the input end of the diode 201 is connected to the ground, the output end of the diode 201 is connected to the input end of the current / voltage conversion circuit 202, the output end of the current / voltage conversion circuit 202 is connected to the input end of the preamplifier 203, the output end of the preamplifier 203 is connected to the first input end of the gain variable amplifier 204, the output end of the gain variable amplifier 204 is connected to the input end of the bandpass filter 205, the output end of the bandpass filter 205 is connected to the input end of the comparator 206, the first output end of the comparator 206 is connected to the demodulation integrator 207, the output end of the demodulation integrator 207 is connected to the input end of the shaping output circuit 208; the second output end of the comparator 206 is connected to the input end of the noise integrator 1, and the output end of the gain control integrator 204 is connected to the second input end of the gain variable amplifier 204.

[0074] It is worth mentioning that the diode 201 is an infrared photosensitive diode, which is used to receive the infrared signal sent by the infrared signal transmitting device.

[0075] Furthermore, the comparator 206 is used to provide a voltage to the input terminal V of the noise integrator 1. int The variable gain amplifier 204 is used to receive the output terminal V of the gain control integrator 1. agc The output gain control signal includes any one of a gain hold signal, a gain increase signal or a gain decrease signal, and controls the voltage of the gain variable amplifier 204 to increase or decrease according to the gain control signal, and at the same time controls the gain of the gain variable amplifier 204 to increase or decrease.

[0076] The automatic gain adjuster 100 of the present invention is applied to the automatic gain adjustment circuit 200 of the present invention. It should be noted that the various components in the automatic gain adjustment circuit 200, such as the diode 201, the current / voltage conversion circuit 202, the preamplifier 203, the gain variable amplifier 204, the bandpass filter 205, the comparator 206, the demodulation integrator 207 and the shaping output circuit 208, are all components or circuit chips in the current technology; at the same time, the various components in the automatic gain adjuster 100, such as the noise integrator 1, the interval time detector 2, the holding time The timer 3, RS trigger 4, control logic circuit 5 and gain control integrator 6 are also components or circuit chips in the current technology. The circuit structure of the present invention is formed by connecting the components in different circuits to realize new functions, so that the automatic gain adjuster 100 can read the digital signal output by the comparator 206, and judge whether the signal is a useful signal or ambient light interference noise through the noise integrator 1, and send a gain control signal to the gain variable amplifier 204 through the gain control integrator 6 based on the judgment, so that the noise is effectively suppressed and the useful signal is amplified and output. In addition, the automatic gain adjustment circuit 200 can appropriately maintain the gain level based on the gain control signal, thereby improving its decoding accuracy for infrared signals with short interval time and long total encoding time.

[0077] Compared with the related art, the automatic gain adjuster of the present invention includes a noise integrator, an interval time detector, a holding time timer, an RS trigger, a control logic circuit and a gain control integrator; through the setting of the noise integrator, when receiving an infrared coding signal with a small interval time and a long total coding length, the noise integrator is used to judge whether the signal is a useful signal or ambient light interference noise, effectively distinguishing the signal from the noise, and outputting a gain control signal through the gain control integrator based on the judgment, so that the noise is suppressed and the useful signal can be amplified and output. When the above-mentioned automatic gain adjuster is applied to the automatic gain adjustment circuit of the present invention, the automatic gain adjustment circuit appropriately maintains the gain level based on the gain control signal, thereby improving the decoding accuracy of infrared signals with short interval time and long total coding time.

[0078] The above description is only an implementation mode of the present invention. It should be pointed out that, for ordinary technicians in this field, improvements can be made without departing from the creative concept of the present invention, but these all belong to the protection scope of the present invention.

Claims

1. An automatic gain adjuster, characterized in that: The automatic gain adjuster comprises a noise integrator, an interval time detector, a hold time timer, an RS trigger, a control logic circuit and a gain control integrator; The output terminal of the noise integrator is respectively connected to the input terminal of the interval time detector, the first input terminal of the hold time timer and the first input terminal of the control logic circuit; The output terminal of the interval time detector is connected to the first input terminal of the RS trigger and the second input terminal of the holding time timer respectively; The output terminal of the holding time timer is connected to the second input terminal of the RS trigger and the second input terminal of the control logic circuit respectively; The output terminal of the RS trigger is connected to the third input terminal of the holding time timer and the third input terminal of the control logic circuit respectively; The first output terminal of the control logic circuit is connected to the first input terminal of the gain control integrator, and the second output terminal of the control logic circuit is connected to the second input terminal of the gain control integrator; The noise integrator is used to receive the input signal of the automatic gain adjuster, and determine whether the input signal belongs to a preset frequency range, and control the output end of the noise integrator to output a high level or a low level according to the determination result; The interval time detector is used to detect the low level duration and high level duration of the output end of the noise integrator in real time, calculate and obtain the judgment threshold, compare the magnitude relationship between the high level duration and the judgment threshold, and control the output end of the interval time detector to output a high level or a low level according to the comparison result; The RS trigger is used to detect the level and level change of the output end of the interval time detector and the level and level change of the output end of the holding time timer in real time, and control the output end of the RS trigger to output a high level or a low level according to the detection result; The holding time timer is used to detect the levels of the output end of the noise integrator, the output end of the interval time detector and the output end of the RS trigger in real time, and detect the level change of the output end of the noise integrator and the level change of the output end of the interval time detector, and control the output end of the holding time timer to output one of a low level, a high level or a positive narrow pulse according to the detection result; The control logic circuit is used to detect the levels of the output end of the noise integrator, the output end of the hold time timer and the output end of the RS trigger in real time, and control the first output end of the control logic circuit to output a low level or a high level according to the detection result, and control the second output end of the control logic circuit to output a high level or a low level; The gain control integrator is used to detect the levels of the first output terminal and the second output terminal of the control logic circuit in real time, and control the output terminal of the gain control integrator to output a gain control signal according to the detection result.

2. The automatic gain adjuster according to claim 1, characterized in that: The preset frequency range is 36 kHz to 41 kHz.

3. The automatic gain adjuster according to claim 1, characterized in that: The judgment threshold is the sum of 1 / 10 of the low level duration and a preset time.

4. The automatic gain adjuster according to claim 3, characterized in that: The preset time is 100 microseconds.

5. An automatic gain adjustment circuit, characterized in that: The automatic gain adjustment circuit includes a diode, a current / voltage conversion circuit, a preamplifier, a gain variable amplifier, a bandpass filter, a comparator, a demodulation integrator, a shaping output circuit and the automatic gain adjuster according to any one of claims 1 to 4; the input end of the diode is connected to ground, the output end of the diode is connected to the input end of the current / voltage conversion circuit, the output end of the current / voltage conversion circuit is connected to the input end of the preamplifier, the output end of the preamplifier is connected to the first input end of the gain variable amplifier, the output end of the gain variable amplifier is connected to the input end of the bandpass filter, the output end of the bandpass filter is connected to the input end of the comparator, the first output end of the comparator is connected to the demodulation integrator, and the output end of the demodulation integrator is connected to the input end of the shaping output circuit; the second output end of the comparator is connected to the input end of the noise integrator, and the output end of the gain control integrator is connected to the second input end of the gain variable amplifier.

6. The automatic gain adjustment circuit according to claim 5, characterized in that: The comparator is used to send an input signal to the input end of the noise integrator; The variable gain amplifier is used to receive the gain control signal output from the output end of the gain control integrator, and control the voltage of the variable gain amplifier to increase or decrease according to the gain control signal, and at the same time control the gain of the variable gain amplifier to increase or decrease.

7. The automatic gain adjustment circuit according to claim 5, characterized in that: The diode is an infrared photosensitive diode.