Detector circuit with adjustable dynamic range
By introducing a control module into the detection circuit to adjust the attenuation and switching circuit, the dynamic range of the detection circuit can be dynamically adjusted, solving the problem of excessively high power consumption and detection accuracy requirements in the prior art, and realizing flexible dynamic range adjustment and power consumption optimization.
Patent Information
- Application Number
- CN202423211323.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2034-12-24
AI Technical Summary
When existing detectors detect nodes with a small power variation range, an excessively large dynamic range can increase unnecessary power consumption and increase the pressure on subsequent circuit signal processing and the detection accuracy requirements.
A detection circuit with adjustable dynamic range is provided. The control module is connected to the control terminal of the attenuation module and the switching circuit. The gain attenuation of the attenuation module and the opening and closing of the switching circuit are adjusted to adjust the gain enhancement of the detection amplification module, so as to adapt to the dynamic range requirements of different scenarios.
This allows for adjustment of the dynamic range of the detection circuit according to scenario requirements, reducing power consumption and decreasing the pressure on subsequent circuit signal processing and detection accuracy requirements.
Smart Images

Figure CN223955664U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of integrated circuits, and in particular, to a detection circuit with adjustable dynamic range. BACKGROUND
[0002] In the field of communication, it is often necessary to detect the signal power state of each node in the integrated circuit system in real time to determine whether the system has failed or to realize the automatic control of the feedback circuit through the signal power state of the key node, so that the detector is widely used.
[0003] In order to detect nodes with different power variation ranges, the existing detector often has a large dynamic range to cover different scene requirements. However, when detecting nodes with a small power variation range, the large dynamic range will increase unnecessary power consumption and increase the pressure on signal processing of the subsequent circuit and the requirement for detection accuracy, which is not conducive to signal processing of the subsequent circuit. CONTENT OF THE INVENTION
[0004] Therefore, the present disclosure provides a detection circuit with adjustable dynamic range.
[0005] To achieve the above-mentioned purpose, the technical solution of the present disclosure is as follows:
[0006] The present disclosure provides a detection circuit with adjustable dynamic range, which comprises a control module, a switch circuit, and a series connection of an attenuation module and a detection amplification module. The detection amplification module comprises a plurality of detection units connected in cascade, and the switch circuit is connected in parallel with at least one of the detection units. The control module is connected to the control end of the attenuation module to adjust the gain attenuation of the attenuation module. The control module is connected to the control end of the switch circuit to control the opening and closing of the switch circuit, so that the switch circuit controls the pass or short circuit of the at least one detection unit, thereby adjusting the gain enhancement of the detection amplification module.
[0007] In some embodiments, the switch circuit comprises a plurality of switches, each of which is connected in parallel with at least one of the detection units. The control module is connected to the control end of each of the switches to control the opening and closing of each of the switches.
[0008] In some embodiments, each of the detection units comprises an amplification unit and a rectification unit connected in series. The output end of the amplification unit in the front-stage detection unit of the two adjacent detection units is connected to the input end of the amplification unit in the rear-stage detection unit. The output end of each of the rectification units is connected to the input end of the adder.
[0009] In some embodiments, each of the switches is connected in parallel with at least one of the amplification units.
[0010] In some embodiments, the control module is connected to a control terminal of the rectifier unit to control the opening and closing of the rectifier unit.
[0011] In some embodiments, a detection output slope of the detection circuit is greater than a first preset value.
[0012] In some embodiments, the detection unit further comprises a first filter, an input terminal of the first filter being connected to an output terminal of the amplification unit, and an output terminal of the first filter being connected to an input terminal of the rectifier unit.
[0013] In some embodiments, a second filter is further included, an input terminal of the second filter being connected to an output terminal of the adder.
[0014] In some embodiments, the attenuation module comprises a digital controlled attenuator.
[0015] In some embodiments, a serial peripheral interface is further included to receive control information, and the control module receives the control information through the serial peripheral interface and adjusts the gain attenuation of the attenuation module and the gain enhancement of the detection amplification module based on the control information.
[0016] The embodiments of the present disclosure provide a detection circuit with adjustable dynamic range, which comprises a control module, a switch circuit, and a series connection of an attenuation module and a detection amplification module. The detection amplification module comprises a plurality of detection units connected in cascade, and the switch circuit is connected in parallel with at least one of the detection units. The control module is connected to a control terminal of the attenuation module to adjust the gain attenuation of the attenuation module. The control module is connected to a control terminal of the switch circuit to control the opening and closing of the switch circuit, so that the switch circuit controls the pass or short of the at least one detection unit, thereby adjusting the gain enhancement of the detection amplification module. The detection circuit provided by the embodiments of the present disclosure adjusts the gain attenuation of the attenuation module by connecting the control module to the control terminal of the attenuation module, thereby adjusting the upper limit of the dynamic range of the detection circuit. The control module is connected to the control terminal of the switch circuit, so that the switch circuit controls the pass or short of the detection unit connected in parallel with the switch circuit, thereby adjusting the gain enhancement of the detection amplification module, and adjusting the lower limit of the dynamic range of the detection circuit. In this way, the dynamic range of the detection circuit can be adjusted according to the scene requirement, the dynamic range of the detection circuit can be narrowed to reduce the signal processing pressure of the subsequent circuit and the detection accuracy requirement, and part of the detection units can be shorted to reduce the power consumption in the scene without the complete dynamic range. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 Structure diagram of the detection circuit with adjustable dynamic range provided by the embodiments of the present disclosureFigure 1 ;
[0018] Figure 2 Structure diagram of the dynamic range adjustable detection circuit provided by the embodiment of the present disclosure Figure 2 ;
[0019] Figure 3 Structure diagram of the dynamic range adjustable detection circuit provided by the embodiment of the present disclosure Figure 3 ;
[0020] Figure 4 Structure diagram of the dynamic range adjustable detection circuit provided by the embodiment of the present disclosure Figure 4 ;
[0021] Figure 5 Structure diagram of the dynamic range adjustable detection circuit provided by the embodiment of the present disclosure Figure 5 . DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present disclosure.
[0023] In the following description, a large number of specific details are given in order to provide a more thorough understanding of the present disclosure. However, it is obvious to those skilled in the art that the present disclosure can be implemented without one or more of these details. In other examples, in order to avoid obscuring the present disclosure, some technical features known in the art are not described; that is, not all features of the actual embodiments are described here, and well-known functions and structures are not described in detail.
[0024] In the drawings, the sizes of layers, regions, elements and their relative sizes can be exaggerated for clarity. The same reference signs represent the same elements throughout.
[0025] It will be understood that when an element or layer is referred to as being "on", "adjacent", "connected to" or "coupled to" another element or layer, it can be directly on, adjacent, connected or coupled to the other element or layer, or one or more intervening elements or layers can be present. In contrast, when an element is referred to as being "directly on", "directly adjacent", "directly connected to", or "directly coupled to" another element or layer, then there are no intervening elements or layers present. It will be understood that, although the terms first, second, third, etc. can be used herein to describe various elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms are simply used to distinguish one element, component, region, layer or section from another element, component, region, layer or section. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the present disclosure and, similarly, a second element, component, region, layer or section discussed below could be termed a first element, component, region, layer or section without departing from the teachings of the present disclosure.
[0026] Spatially relative terms, such as "beneath", "below", "lower", "under", "above", "upper" and the like, can be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if a device in the figures is turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the exemplary term "below" can encompass both an orientation of above and below. The device can be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
[0027] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising", when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. As used herein the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0028] For a thorough understanding of the present disclosure, detailed steps and detailed structures will be presented in the following description in order to illustrate the technical solutions of the present disclosure. The preferred embodiments of the present disclosure are described in detail as follows, however, in addition to these detailed descriptions, the present disclosure can have other implementations.
[0029] Figure 1 Structure diagram of the dynamic range adjustable detection circuit provided by the embodiment of the present disclosure Figure 1 , Figure 1 In the embodiment, the detection amplification module includes three detection units, and the switch circuit is connected in parallel to two detection units. Referring to Figure 1 , the detection circuit includes a control module 10, a switch circuit 20, and a series connection of an attenuation module 30 and a detection amplification module; the detection amplification module includes a plurality of detection units connected in cascade, and the switch circuit 20 is connected in parallel to at least one detection unit; the control module 10 is connected to a control end of the attenuation module 30 to adjust a gain attenuation amount of the attenuation module 30; the control module 10 is connected to a control end of the switch circuit 20 to control opening and closing of the switch circuit 20, so that the switch circuit 20 controls passage or short circuit of at least one detection unit, thereby adjusting a gain enhancement amount of the detection amplification module.
[0030] Referring to Figure 1 , the detection circuit further includes a radio frequency input end RFIN and a direct current output end POUT; after a radio frequency signal enters the detection circuit through the radio frequency input end RFIN, the attenuation module 30 performs gain attenuation on the radio frequency signal and transmits the attenuated radio frequency signal to the detection amplification module; the detection amplification module performs gain enhancement on the attenuated radio frequency signal; the detection amplification module converts the enhanced radio frequency signal into a direct current output signal; and the direct current output end POUT is used for outputting the direct current output signal. It should be noted that the direct current output signal can be a direct current signal or a direct voltage signal.
[0031] In some embodiments, the detection amplification module can be a logarithmic detection circuit, a diode detection circuit or other detection circuit, and the present disclosure does not make specific limitations thereto.
[0032] Referring to Figure 2In the case that the control module 10 controls the switch circuit 20 to be closed, the detection unit 41 and the detection unit 42 will be short-circuited; in the case that the control module 10 controls the switch circuit 20 to be opened, the detection unit 41 and the detection unit 42 will not be short-circuited. Thus the control module 10 can control the switch circuit 20 to be opened or closed, so as to make part of the detection units (the detection units in parallel with the switch circuit 20) to be in a pass-through state or a short-circuit state, thereby adjusting the gain enhancement amount of the detection amplification module. Specifically, the gain enhancement amount of the detection amplification module is the sum of the gain enhancement amounts of the detection units that are not short-circuited. It should be noted that, in the embodiment of the present disclosure, the detection units in parallel with the switch when the switch is opened are in a pass-through state, and the detection units in parallel with the switch when the switch is closed are in a short-circuit state. In addition, the detection units involved in the embodiment of the present disclosure can be any detection circuit having a gain enhancement effect, for example, a logarithmic detector or a circuit composed of an amplifier and a diode detector in series, and the present disclosure does not make specific limitation on this.
[0033] In a specific example, the switch of the switch circuit is a field effect transistor, and the control end of the switch circuit is the gate of the field effect transistor. The control module 10 can control the opening and closing of the switch circuit 20 by adjusting the gate voltage of the field effect transistor.
[0034] In some embodiments, the power of the radio frequency signal is p dBm, the gain attenuation amount of the attenuation module 30 is m dB (specifically controlled by the control module 10), and the gain enhancement amount of the detection unit 41, the detection unit 42 and the detection unit 43 is n dB. In the case that the switch circuit 20 is closed, after the radio frequency signal enters the detection circuit through the radio frequency input end RFIN, the attenuation module 30 performs gain attenuation of m dB on the radio frequency signal, the attenuated radio frequency signal is transmitted to the detection unit 43 through the switch circuit 20, the detection unit 43 performs gain enhancement of n dB on the attenuated radio frequency signal and converts it into a direct current output signal, and the direct current output end POUT finally outputs a direct current output signal with a power of (p-m+n) dBm. In the case that the switch circuit 20 is opened, after the radio frequency signal enters the detection circuit through the radio frequency input end RFIN, the attenuation module 30 performs gain attenuation of m dB on the radio frequency signal, and the attenuated radio frequency signal sequentially passes through the detection unit 41, the detection unit 42 and the detection unit 43. The three detection units perform gain enhancement of n dB on the attenuated radio frequency signal respectively and convert it into a direct current output signal, and the direct current output end POUT finally outputs a direct current output signal with a power of (p-m+3n) dBm. It should be noted that dBm is decibel milliwatt, and dB is decibel.
[0035] In some embodiments, the maximum power (saturation power) of the radio frequency signal that the detection amplification module can detect when the control module 10 controls the gain attenuation amount of the attenuation module 30 to be 0 dB (i.e. the reference condition) is adBm. It can be understood that when the signal received by the detection amplification module reaches the saturation power, the direct current output signal output by the detection circuit will not increase with the increase of the signal power. When the control module 10 controls the gain attenuation amount of the attenuation module 30 to be q dB, it means that the power of the radio frequency signal less than or equal to (a+q) dBm will be attenuated by the attenuation module 30, and the power of the radio frequency signal after the gain attenuation will be less than or equal to adBm, at this time the detection amplification module can perform corresponding gain enhancement and detection on the radio frequency signal after the gain attenuation. Therefore, the upper limit of the dynamic range of the detection circuit in this case is (a+q) dBm.
[0036] In some embodiments, the gain enhancement amount of the detection amplification module affects whether the direct current output signal output by the detection circuit can be effectively detected by the subsequent circuit. In the case where the gain attenuation amount of the attenuation module is fixed, the gain enhancement amount of the detection amplification module is 0 dBm, and the noise figure and bandwidth of the detection circuit are fixed, when the power of the radio frequency signal reaches bdBm (minimum power), the direct current output signal output by the detection circuit can be effectively detected by the subsequent circuit. If the control module 10 controls the gain enhancement amount of the detection amplification module to be N dB, it means that the radio frequency signal with power reaching (b-N) dBm can be enhanced to bdBm by the detection amplification module, at this time the direct current output signal output by the detection circuit can be effectively detected by the subsequent circuit, therefore the lower limit of the dynamic range of the detection circuit in this case is (b-N) dBm. It should be noted that the change of the noise figure and the bandwidth of the detection circuit can affect the lower limit of the dynamic range of the detection circuit, here the noise figure and the bandwidth of the detection circuit are set to be fixed.
[0037] Therefore, when the gain attenuation amount of the attenuation module and the gain enhancement amount of the detection amplification module are both 0 dBm, the upper limit of the dynamic range of the detection circuit is adBm, and the lower limit of the dynamic range of the detection circuit is bdBm. The control module 10 can adjust the upper limit of the dynamic range of the detection circuit to (a+q) dBm by adjusting the gain attenuation amount (q) of the attenuation module 30; the control module 10 can also adjust the lower limit of the dynamic range of the detection circuit to (b-N) dBm by controlling the gain enhancement amount (N) of the detection amplification module through the switch circuit 20. In this way, the dynamic range of the detection circuit can be adjusted.
[0038] The complete dynamic range of the detection circuit is the dynamic range when the gain attenuation amount of the attenuation module is the maximum value and the gain enhancement amount of the detection amplification module is the maximum value (each detection unit is in the pass-through state). In a scenario that does not require the complete dynamic range, the control module can reduce the attenuation amount of the attenuation module, short-circuit part of the detection units by controlling the switch circuit to reduce the gain enhancement amount of the detection amplification module, so as to narrow the dynamic range of the detection circuit to the dynamic range required by the scenario, thereby reducing the power consumption, and reducing the signal processing pressure and detection accuracy requirement of the subsequent circuit. It should be noted that the scenario involved in the present disclosure can be a specific to-be-detected node, and the dynamic range required by the scenario can be the power range of the coupled signal coupled from the to-be-detected node to the detection circuit.
[0039] In some embodiments, the control module adjusts the dynamic range of the detection circuit to a preset range by adjusting the gain attenuation amount of the attenuation module and the gain enhancement amount of the detection amplification module, and the preset range is the dynamic range required in the current scenario, so as to reduce the power consumption, the signal processing pressure of the subsequent circuit, and the detection accuracy requirement.
[0040] In some embodiments, the switch circuit includes a plurality of switches, each switch being connected in parallel with at least one detection unit; and the control module is connected to a control end of each switch to control the opening and closing of each switch.
[0041] Figure 2 Structure diagram of the detection circuit with adjustable dynamic range provided by the embodiments of the present disclosure Figure 2 . Referring to Figure 3 , the switch circuit 20 includes three switches, namely, the switch 21a, the switch 22a, and the switch 23a, wherein the switch 21a is connected in parallel with the detection unit 41, the switch 22a is connected in parallel with the detection unit 42, and the switch 23a is connected in parallel with the detection unit 43. The control module 10 can control the opening and closing of the switch 21a, the switch 22a, and the switch 23a respectively to control the pass-through or short-circuit of the detection unit 41, the detection unit 42, and the detection unit 43 respectively. Therefore, the control module 10 can control the switch circuit 20 to short-circuit part of the detection units to adjust the gain enhancement amount of the detection amplification module, so as to adjust the lower limit of the dynamic range of the detection circuit.
[0042] In some embodiments, the number of detection units in the detection amplification module is the same as the number of switches in the switch circuit, each switch can be connected in parallel with different detection units, and the control module can control the pass or short of any detection unit by controlling the switch circuit. In other embodiments, the number of detection units in the detection amplification module is different from the number of switches in the switch circuit, each switch can be connected in parallel with different or same number of detection units, and each switch can be connected in parallel with different or same number of detection units. It should be noted that the number of detection units and switches is not limited in the present disclosure, and the number of detection units connected in parallel with each switch is also not limited.
[0043] In some embodiments, each detection unit includes an amplification unit and a rectification unit connected in series, the output end of the amplification unit in the front-stage detection unit of the two-stage detection units is connected to the input end of the amplification unit in the rear-stage detection unit, and the output end of each rectification unit is connected to the input end of the adder.
[0044] Figure 3 Structure diagram of the dynamic range adjustable detection circuit provided by the embodiments of the present disclosure Figure 3 . Referring to Figure 3 In the case of each detection unit pass, the attenuation module 30 transmits the attenuated radio frequency signal to the detection amplification module, wherein the amplification unit 411, the amplification unit 421 and the amplification unit 431 sequentially perform gain enhancement on the attenuated radio frequency signal, the rectification unit 412 converts the signal at the output end of the amplification unit 411 into a first direct current signal, the rectification unit 422 converts the signal at the output end of the amplification unit 421 into a second direct current signal, the rectification unit 432 converts the signal at the output end of the amplification unit 431 into a third direct current signal, and the adder 50 collects the three direct current signals to obtain a direct current output signal. It should be noted that the rectification unit can convert the signal at the output end of the amplification unit into a direct current signal or a direct voltage signal, the type of direct current signal output by each rectification unit is the same (that is, the signal output by each rectification unit is a direct current signal or a direct voltage signal), and the present disclosure does not limit whether the signal output by the rectification unit is a direct current signal or a direct voltage signal. In addition, when the rectification unit outputs a direct current signal, the adder is a current adder; when the rectification unit outputs a direct voltage signal, the adder is a voltage adder.
[0045] In some embodiments, the gain enhancement amount of each amplification unit and the amplitude limiting output amplitude can be the same, which can reduce the parameters that need to be adjusted in the detection amplification module, reduce the complexity of the circuit, and facilitate the calculation of the gain enhancement amount of the detection amplification module.
[0046] Referring to Figure 4When the output of the rectifying unit is a direct current signal and the adder is a current adder, the detection circuit can further comprise a current-to-voltage circuit 60, the input of the current-to-voltage circuit 60 is connected to the output of the adder 50, for converting the direct current signal output by the adder 50 into a direct voltage signal (i.e. the direct output signal of the detection circuit). It should be noted that the current-to-voltage circuit in the present disclosure can convert current to voltage domain, and the present disclosure does not limit the specific circuit structure of the current-to-voltage circuit.
[0047] In some embodiments, each switch is connected in parallel with at least one amplifying unit.
[0048] Referring to Figure 4 , the switch 21b is connected in parallel with the amplifying unit 411, the switch 22b is connected in parallel with the amplifying unit 421, and the switch 23b is connected in parallel with the amplifying unit 431. The control module 10 can control the opening and closing of the switches 21b, 22b and 23b respectively, so as to control the pass or short circuit of the amplifying units 411, 421 and 431 respectively. Therefore, the control module 10 can control the switch circuit 20 to short circuit part of the amplifying units, so as to adjust the gain enhancement of the detection amplifying module, and thus adjust the lower limit of the dynamic range of the detection circuit.
[0049] Figure 4 Structure of the detection circuit with adjustable dynamic range provided by the embodiments of the present disclosure Figure 3 Referring to Figure 4 , the switch 21c is connected in parallel with the amplifying unit 411, the switch 22c is connected in parallel with the amplifying units 411 and 421, and the switch 23c is connected in parallel with the amplifying units 421 and 431. The control module 10 can control the opening and closing of the switches 21c, 22c and 23c respectively, so as to control the pass or short circuit of one or two amplifying units. It should be noted that the present disclosure does not limit the number of amplifying units and switches, and does not limit the number of amplifying units connected in parallel with each switch.
[0050] In some embodiments, the control module is connected to the control end of the rectifying unit, so as to control the opening and closing of the rectifying unit.
[0051] Referring to Figure 3 and Figure 5 , the control module 10 is further connected to the control end of the rectifying units 412, 422 and 432. When the control module 10 controls the switch circuit 20 to short circuit part of the amplifying units, the rectifying unit connected to the output end of the short-circuited amplifying unit is closed, so as to avoid the rectifying unit in the detection unit from working when the amplifying unit in the detection unit is short-circuited. In this way, unnecessary power consumption can be reduced.
[0052] In some embodiments, the control module can control the opening and closing of each switch in the switch circuit and the turning on and off of each rectifier unit by a 1-bit digital bit (two states of 0 and 1). For example, 0 controls the closing of the switch and the turning off of the rectifier unit, and 1 controls the opening of the switch and the turning on of the rectifier unit. In this case, the control module outputs 1 to the switch 21a and the rectifier unit 412 to make the switch 21a open and the rectifier unit 412 turn on, and the control module also outputs 0 to the switch 22a, the switch 23a, the rectifier unit 422, and the rectifier unit 432 to make the switch 22a and the switch 23a close and the rectifier unit 422 and the rectifier unit 432 turn off. In this case, only the detection unit 41 in the detection amplification module remains in a pass-through state, and the detection unit 42 and the detection unit 43 are both short-circuited. In other embodiments, 0 can control the opening of the switch and the turning on of the rectifier unit, and 1 can control the closing of the switch and the turning off of the rectifier unit.
[0053] In some embodiments, the detection output slope of the detection circuit is greater than a first preset value.
[0054] In some embodiments, the detection output slope refers to the rate of change between the direct current output signal output by the detection circuit and the power of the radio frequency signal. In a specific example, the direct current output range of the detection circuit is 0V to 1V (i.e., the size of the direct current output range of the detection circuit is 1000mV), and the dynamic range of the detection circuit is -20dBm to 20dBm (i.e., the size of the dynamic range of the detection circuit is 40dB), so the detection output slope is 1000mV / 40dB = 25mV / dB.
[0055] The detection output slope reflects the sensitivity of the detection circuit. The greater the detection output slope, the faster the detection circuit responds to the power change of the radio frequency signal, that is, the sensitivity of the detection circuit is positively correlated with the detection output slope. The greater the detection output slope of the detection circuit, the more accurately the detection circuit can detect the slight change in the power of the radio frequency signal. And when the detection circuit has a large detection output slope, it has already provided relatively accurate information about the change in the radio frequency signal, so the later-stage circuit does not need to provide high detection accuracy and signal processing capability.
[0056] In some embodiments, the direct current output range of the detection circuit is Vrange, and the complete dynamic range of the detection circuit is Prange. The first preset value can be Vrange / Prange (in mV / dB), and specifically, the first preset value can be 40mV / dB, 60mV / dB, 80mV / dB, 100mV / dB, or 120mV / dB.
[0057] In some embodiments, when the detection output slope of the detection circuit is greater than the first preset value, sufficient sensitivity and accuracy can be provided, so that the signal processing pressure of the subsequent circuit can be reduced, and the detection accuracy requirement of the subsequent circuit can be reduced.
[0058] In some embodiments, the serial peripheral interface is further configured to receive the control information, and the control module is configured to receive the control information through the serial peripheral interface, and adjust the gain attenuation amount of the attenuation module and the gain enhancement amount of the detection amplification module based on the control information.
[0059] Referring to Figure 5 , the control module 10 can have a serial peripheral interface 11, and the user can input control information through the serial peripheral interface 11.
[0060] Specifically, the control module 10 adjusts the gain attenuation amount of the attenuation module 30 based on the control information, and the control module 10 can also control the opening and closing of each switch and the corresponding rectification unit in the switch circuit 20 based on the control information to adjust the gain enhancement amount of the detection amplification module.
[0061] In some embodiments, the control module can include a pin outside the detection circuit, and the user can manually adjust the gain attenuation amount of the attenuation module and manually control the opening and closing of each switch and the corresponding rectification unit in the switch circuit to adjust the gain enhancement amount of the detection amplification module through the pin of the control module.
[0062] In some embodiments, the detection unit further comprises a first filter, the input end of the first filter is connected to the output end of the amplification unit, and the output end of the first filter is connected to the input end of the rectification unit.
[0063] Figure 5 Structure diagram of the detection circuit with adjustable dynamic range provided by the embodiments of the present disclosure Figure 5 . Referring to , a first filter is arranged between the output end of the amplification unit and the input end of the rectification unit in each detection unit, specifically, a first filter 413 can be arranged between the output end of the amplification unit 411 and the input end of the rectification unit 412, a first filter 423 can be arranged between the output end of the amplification unit 421 and the input end of the rectification unit 422, and a first filter 433 can be arranged between the output end of the amplification unit 431 and the input end of the rectification unit 432.
[0064] Since each amplification unit can introduce noise and interference when amplifying the radio frequency signal, the rectification unit is used to convert the signal output by the corresponding amplification unit into a direct current signal, the first filter can reduce the influence of the signal components of high-frequency noise and interference on the rectification effect of the rectification unit, improve the rectification effect of the rectification unit, and reduce the complexity of signal processing of the rectification unit.
[0065] In some embodiments, the control module is further connected to the control end of each first filter, specifically, the control module 10 is connected to the control end of the first filter 413, the first filter 423 and the first filter 433. When the control module 10 controls the switches 21d, 22d and 23d in the switch circuit 20 so that the part of the amplification unit is short-circuited, the first filter and the rectification unit connected to the output end of the short-circuited amplification unit are turned off, so as to avoid the first filter and the rectification unit in the detection unit still working when the amplification unit in the detection unit is short-circuited, thus reducing unnecessary power consumption.
[0066] In some embodiments, a second filter is further included, and an input end of the second filter is connected to an output end of the adder.
[0067] Referring to The adder 50 is used to collect the direct current signals (or direct voltage signals) output by each rectification unit to obtain a direct current output signal. The collected direct current output signal may have different ripples and noises, and the second filter 70 can smooth the ripples and noises to improve the stability and accuracy of the direct current output signal.
[0068] In some embodiments, the attenuation module includes a digital attenuator.
[0069] In some embodiments, the attenuation module 30 can include a digital attenuator, and the control module 10 can adjust the gain attenuation of the attenuation module 30 in a digital control manner.
[0070] When the attenuation module 30 is a digital attenuator, the attenuation module 30 can have the characteristics of high precision and high sensitivity, and therefore, the detection circuit has faster speed and higher precision when adjusting the upper limit of the dynamic range.
[0071] In some embodiments, when the attenuation module 30 is a digital attenuator, the control module can select the gain attenuation of the attenuation module 30 by digital bits, for example, when 2-bit digital bits are used to control the gain attenuation of the attenuation module, there are four states of 00, 01, 10 and 11, which can make the attenuation module 30 realize the change of four gain attenuations.
[0072] The embodiment of the present disclosure provides a dynamic range adjustable detection circuit, which comprises a control module, a switch circuit, and a series connection of an attenuation module and a detection amplification module; the detection amplification module comprises a plurality of detection units connected in cascade, and the switch circuit is connected in parallel with at least one detection unit; the control module is connected to a control end of the attenuation module to adjust a gain attenuation amount of the attenuation module; the control module is connected to a control end of the switch circuit to control opening and closing of the switch circuit, so that the switch circuit controls passage or short circuit of the at least one detection unit, and then a gain enhancement amount of the detection amplification module is adjusted. The detection circuit provided by the embodiment of the present disclosure adjusts the gain attenuation amount of the attenuation module by connecting the control module to the control end of the attenuation module, and then the upper limit of the dynamic range of the detection circuit is adjusted; the gain enhancement amount of the detection amplification module is adjusted by connecting the control module to the control end of the switch circuit, so that the switch circuit controls passage or short circuit of the detection unit connected in parallel with the switch circuit, and then the lower limit of the dynamic range of the detection circuit is adjusted, so that not only the dynamic range of the detection circuit can be adjusted according to the scene requirement, but also the dynamic range of the detection circuit can be narrowed to reduce the signal processing pressure of the subsequent circuit and the detection precision requirement, and part of the detection units can be short-circuited to reduce the power consumption in the scene without the complete dynamic range.
[0073] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that the size of the serial number of each process in various embodiments of the present disclosure does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The serial number of the above-mentioned embodiments of the present disclosure is only for description, not representing the advantages and disadvantages of the embodiments.
[0074] The above description is only the preferred embodiment of the present disclosure, and does not limit the patent scope of the present disclosure. Any equivalent structural transformation made according to the disclosure content of the present disclosure and the contents of the specification and drawings, or direct / indirect application in other related technical fields is included in the patent protection scope of the present disclosure.
Claims
1. A dynamic range adjustable detection circuit, characterized by, The control module, the switch circuit, the attenuation module and the detection amplification module are connected in series. The detection amplification module comprises a plurality of detection units connected in cascade, and the switch circuit is connected in parallel with at least one of the detection units. The control module is connected to a control end of the attenuation module to adjust a gain attenuation amount of the attenuation module. The control module is connected to a control end of the switch circuit to control opening and closing of the switch circuit, so that the switch circuit controls passing or short-circuiting of the at least one detection unit, thereby adjusting a gain enhancement amount of the detection amplification module.
2. The detection circuit of claim 1, wherein, The switch circuit comprises a plurality of switches, each of which is connected in parallel with at least one of the detection units. The control module is connected to a control end of each of the switches to control opening and closing of each of the switches.
3. The detection circuit of claim 2, wherein, Each of the detection units comprises an amplification unit and a rectification unit connected in series, and an output end of the amplification unit in a front-stage detection unit of two adjacent stages of the detection units is connected to an input end of an amplification unit in a rear-stage detection unit. An output end of each of the rectification units is connected to an input end of an adder.
4. The detection circuit of claim 3, wherein, Each of the switches is connected in parallel with at least one of the amplification units.
5. The detection circuit of claim 3, wherein, The control module is connected to a control end of the rectification unit to control opening and closing of the rectification unit.
6. The detection circuit of claim 1, wherein, A detection output slope of the detection circuit is greater than a first preset value.
7. The detection circuit of claim 3, wherein, The detection unit further comprises a first filter, an input end of the first filter is connected to an output end of the amplification unit, and an output end of the first filter is connected to an input end of the rectification unit.
8. The detection circuit of claim 3, wherein, The detection unit further comprises a second filter, an input end of the second filter is connected to an output end of the adder.
9. The detection circuit of claim 1, wherein, The attenuation module comprises a digital control attenuator.
10. The detection circuit of claim 1, wherein, The control module receives the control information through the serial peripheral interface and adjusts the gain attenuation amount of the attenuation module and the gain enhancement amount of the detection amplification module based on the control information. The control module receives the control information through the serial peripheral interface and adjusts the gain attenuation amount of the attenuation module and the gain enhancement amount of the detection amplification module based on the control information.