Programmable gain amplifier, chip and electronic equipment
By introducing a switching network to adjust the filter frequency of the filter module in the programmable gain amplifier, the problem of not being able to effectively handle signals of different useful frequency components in the prior art is solved, and flexible signal processing and enhanced efficiency are achieved.
Patent Information
- Application Number
- CN202310593518.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-12-03
AI Technical Summary
Existing programmable gain amplifiers cannot effectively filter signals of different useful frequency components, making it difficult to adapt to signal processing requirements of different frequencies.
A programmable gain amplifier including an op amp module, a first and a second gain module, a filter module and a switching network is designed, and the filter frequency of the filter module is adjusted through the switching network to realize the filtering processing of signals of different useful frequency components.
The filtering processing of different useful frequency components signals is realized, which enhances the flexibility and efficiency of signal processing, and can adjust the gain and filtering frequency as needed.
Smart Images

Figure CN119070753A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to a programmable gain amplifier, a chip and an electronic device. Background Art
[0002] Small signals output by pressure sensors, temperature sensors, and bioelectric signals are usually the signals that need to be processed in current signal acquisition systems. However, most modern signal processing systems can quickly process digital signals. Therefore, it is necessary to amplify the above-mentioned tiny analog signals and then perform analog-to-digital conversion, and then send the converted digital signals to the controller for processing. Programmable gain amplifier (PGA) is a key module circuit often used for small signal processing, especially for input signals of different frequencies. Sometimes filtering is required to reduce the impact of irrelevant frequency components and noise on useful frequency components. The current programmable gain amplifier can only filter a single fixed frequency, which is not convenient for filtering signals with different useful frequency components. Summary of the invention
[0003] In view of the above problems, embodiments of the present application provide a programmable gain amplifier, a chip, and an electronic device to filter signals with different useful frequency components.
[0004] In a first aspect, an embodiment of the present application provides a programmable gain amplifier, comprising:
[0005] An operational amplifier module, including an input terminal and an output terminal;
[0006] A first gain module is connected to the input end of the operational amplifier module;
[0007] A second gain module is connected between the input terminal and the output terminal of the operational amplifier module;
[0008] A filter module is connected to the input and output ends of the operational amplifier module;
[0009] The switch network is connected to the filter module and is used to adjust the filter frequency of the filter module.
[0010] In the embodiment of the present application, the filtering frequency of the filtering module can be adjusted through the switch network to filter the signals with different useful frequency components.
[0011] In a second aspect, an embodiment of the present application further provides a chip, comprising the above-mentioned programmable gain amplifier.
[0012] In a third aspect, an embodiment of the present application further provides an electronic device, comprising the above-mentioned chip or programmable gain amplifier.
[0013] The embodiment of the present application provides a programmable gain amplifier, which can solve the technical problem that it is inconvenient to filter signals with different useful frequency components in the prior art. The present application can not only adjust the gain of the programmable gain amplifier through the first gain module and the second gain module, but also adjust the filtering frequency of the filtering module through the switch network, thereby achieving the technical effect of filtering signals with different useful frequency components.
[0014] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 A schematic diagram of the structure of a programmable gain amplifier provided in an embodiment of the present application is shown.
[0017] Figure 2 A circuit diagram of a programmable gain amplifier provided in an embodiment of the present application is shown.
[0018] Figure 3 Another structural schematic diagram of a programmable gain amplifier provided in an embodiment of the present application is shown.
[0019] Figure 4 Another structural schematic diagram of a programmable gain amplifier provided in an embodiment of the present application is shown.
[0020] Figure 5 Another circuit schematic diagram of a programmable gain amplifier provided in an embodiment of the present application is shown.
[0021] Figure 6 Another circuit schematic diagram of a programmable gain amplifier provided in an embodiment of the present application is shown.
[0022] Figure 7 Another circuit schematic diagram of a programmable gain amplifier provided in an embodiment of the present application is shown.
[0023] Figure 8 Another structural schematic diagram of a programmable gain amplifier provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0025] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0026] In the embodiments of the present application, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0027] Moreover, the terms "comprises," "comprising," or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0028] In the description of the embodiments of the present application, words such as "example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "example" or "for example" in the embodiments of the present application is not to be interpreted as being more preferred or having more advantages than another embodiment or design. The use of words such as "example" or "for example" is intended to present relative concepts in a clear manner.
[0029] In addition, the "plurality" in the embodiments of the present application refers to two or more than two. In view of this, in the embodiments of the present application, "plurality" can also be understood as "at least two". "At least one" can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and there is no limit on which ones are included. For example, including at least one of A, B and C, then A, B, C, A and B, A and C, B and C, or A, B and C can be included.
[0030] It should be noted that, in the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0031] It should be noted that in the embodiments of the present application, "connection" can be understood as electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components.
[0032] The following describes the solution of the present application with reference to the accompanying drawings. Figure 1 As shown, the programmable gain amplifier 100 includes an operational amplifier module 110, a first gain module 120, a second gain module 130, a filter module 140 and a switch network 150. The operational amplifier module 110 includes an input terminal and an output terminal; the first gain module 120 is connected to the input terminal of the operational amplifier module 110; the second gain module 130 is connected between the input terminal and the output terminal of the operational amplifier module 110; the filter module 140 is connected to the input terminal and the output terminal of the operational amplifier module 110; and the switch network 150 is connected to the filter module 140 for adjusting the filter frequency of the filter module.
[0033] In the embodiment of the present application, when processing small signals output by pressure sensors and temperature sensors, as well as tiny analog signals such as bioelectric signals, the operational amplifier module 110 amplifies the tiny analog signals, and the filter module 140 filters the tiny signals. The embodiment of the present application can adjust the filter frequency of the filter module through a switch network to filter signals with different useful frequency components.
[0034] In some implementations, the operational amplifier module includes one or more amplifiers. The input terminal of the operational amplifier module may be a non-inverting input terminal or an inverting input terminal. In order to better illustrate the technical principle of the operational amplifier module 110, an amplifier is taken as an example below.
[0035] As an implementation method, Figure 2 As shown, the operational amplifier module may include a single-ended amplifier 111 .
[0036] In other embodiments, the first gain module 120 and the second gain module 130 include one or more resistors. When the first gain module 120 and the second gain module 130 include multiple resistors, the circuit structure of the multiple resistors can be series, parallel, series-parallel, etc. The ratio of the first gain module 120 to the second gain module 130 can be fixed or adjustable. Correspondingly, the gain of the programmable gain amplifier 100 of the embodiment of the present application can be fixed or adjustable, which is not limited. When the gain is adjustable, the resistor can be an adjustable resistor, thereby generating different gains as needed.
[0037] As an implementation method, Figure 2 As shown, the first gain module 120 includes a resistor 121, and the second gain module 130 includes a resistor 131. The first end of the resistor 121 receives an input signal, the second end of the resistor 121 is connected to the first end of the resistor 131, the second end of the resistor 131 is connected to the output end of the single-ended amplifier 111, and the connection point between the resistor 121 and the resistor 131 is connected to the non-inverting input end of the single-ended amplifier 111. In this embodiment, the gain of the programmable gain amplifier 100 can be obtained by calculating the ratio of the resistor 131 to the resistor 121.
[0038] In some embodiments, Figure 3 As shown, the filter module 140 includes a first capacitor network 141, a resistor unit 142 and a second capacitor network 143. The first capacitor network 141 is connected between the first gain module 120 and the second gain module 130; one end of the resistor unit 142 is connected between the first gain module 120 and the second gain module 130, and the other end is connected to the input end of the operational amplifier module 110; one end of the second capacitor network 143 is connected to the input end of the operational amplifier module 110, and the other end is connected to the output end of the operational amplifier module 110.
[0039] The first capacitor network 141 and the second capacitor network 143 include one or more capacitors. When the first capacitor network 141 and the second capacitor network 143 include multiple capacitors, the circuit structure of the multiple capacitors can be connected in series, in parallel, in series and in parallel, etc. The resistor unit 142 includes one or more resistors. When the resistor unit 142 includes multiple resistors, the circuit structure of the multiple resistors can be connected in series, in parallel, in series and in parallel, etc.
[0040] As an implementation method, Figure 2As shown, the first capacitor network 141 includes a capacitor 1411 and a capacitor 1412, which are connected in parallel between the resistor 121 and the resistor 131. The resistor unit 142 includes a resistor 1421, one end of which is connected between the resistor 121 and the resistor 131, and the other end is connected to the non-inverting input terminal of the single-ended amplifier 111. The second capacitor network 143 includes a capacitor 1431 and a capacitor 1432, one end of which is connected in parallel to the non-inverting input terminal of the single-ended amplifier 111, and the other end is connected to the output terminal of the single-ended amplifier 111.
[0041] In other embodiments, Figure 3 As shown, the switch network includes a first switch unit 151 , which is connected to the first capacitor network 141 and is used to adjust the capacitance parameters of the first capacitor network 141 .
[0042] The first switch unit 151 may include one or more switches. The switches include but are not limited to triodes, field effect transistors, etc. The field effect transistor may be a MOS (metal oxide semiconductor) transistor or other types of field effect transistors, and the MOS transistor may be an NMOS transistor or a PMOS transistor.
[0043] As an implementation method, Figure 2 As shown, the first switch unit 151 includes a switch 1511 and a switch 1512. The switch 1511 is connected to the capacitor 1411, and the switch 1512 is connected to the capacitor 1412. By controlling the on and off of the switches 1511 and 1512, the capacitance parameters of the first capacitor network 141 can be adjusted, thereby adjusting the filtering frequency of the filtering module 140.
[0044] In some other embodiments, Figure 3 As shown, the switch network further includes a second switch unit 152 , which is connected to the second capacitor network 143 and is used to adjust the capacitance parameters of the second capacitor network 143 .
[0045] The second switch unit 152 may include one or more switches. The switches include but are not limited to triodes, field effect transistors, etc. The field effect transistor may be a MOS (metal oxide semiconductor) transistor or other types of field effect transistors, and the MOS transistor may be an NMOS transistor or a PMOS transistor.
[0046] As an implementation method, Figure 2 As shown, the second switch unit 152 includes a switch 1521 and a switch 1522, wherein the switch 1521 is connected to the capacitor 1431 and the switch 1522 is connected to the capacitor 1432. By controlling the on and off of the switches 1521 and 1522, the capacitance parameters of the second capacitor network 143 can be adjusted, thereby adjusting the filtering frequency of the filtering module 140.
[0047] In some other embodiments, Figure 3 As shown, the switch network further includes a third switch unit 153 , which is connected to the resistance unit 142 and is used to adjust the resistance parameter of the resistance unit 142 , thereby adjusting the filtering frequency of the filtering module 140 .
[0048] The third switch unit 153 may include one or more switches. The switches include but are not limited to triodes, field effect transistors, etc. The field effect transistor may be a MOS (metal oxide semiconductor) transistor or other types of field effect transistors, and the MOS transistor may be an NMOS transistor or a PMOS transistor.
[0049] In some other embodiments, Figure 4 As shown, the input end of the operational amplifier module 110 includes a first input end and a second input end, and the output end of the operational amplifier module 110 includes a first output end and a second output end.
[0050] The first gain module 120 includes a first input gain unit 122 and a second input gain unit 123 . The first input gain unit 122 is connected to the first input terminal of the operational amplifier module 110 , and the second input gain unit 123 is connected to the second input terminal of the operational amplifier module 110 .
[0051] The second gain module 130 includes a first feedback gain unit 132 and a second feedback gain unit 133 . The first feedback gain unit 132 is connected between the first input terminal and the second output terminal of the operational amplifier module 110 . The second feedback gain unit 133 is connected between the second input terminal and the first output terminal of the operational amplifier module 110 .
[0052] Among them, the first input terminal and the second input terminal of the operational amplifier module 110 are respectively the in-phase input terminal and the inverting input terminal, and the first output terminal and the second output terminal of the operational amplifier module 110 are respectively the in-phase output terminal and the inverting output terminal. When the first input terminal of the operational amplifier module 110 is the in-phase input terminal, the second input terminal is the inverting input terminal, the first output terminal is the in-phase output terminal, and the second output terminal is the inverting output terminal; when the first input terminal of the operational amplifier module 110 is the inverting input terminal, the second input terminal is the in-phase input terminal, the first output terminal is the inverting output terminal, and the second output terminal is the in-phase output terminal.
[0053] The first input gain unit 122, the second input gain unit 123, the first feedback gain unit 132, and the second feedback gain unit 133 include one or more resistors. When the first input gain unit 122, the second input gain unit 123, the first feedback gain unit 132, and the second feedback gain unit 133 include multiple resistors, the circuit structure of the multiple resistors may be in series, in parallel, in series and in parallel, etc. The resistor may be an adjustable resistor or a fixed resistor.
[0054] As an implementation method, Figure 5 As shown, the operational amplifier module 110 includes a differential amplifier 112, wherein the first input terminal of the differential amplifier 112 is a non-inverting input terminal, the second input terminal is an inverting input terminal, the first output terminal is a non-inverting output terminal, and the second output terminal is an inverting output terminal. The first input gain unit 122 includes a resistor 1221, and the second input gain unit 123 includes a resistor 1231. The resistor 1221 is connected to the non-inverting input terminal of the differential amplifier 112, and the resistor 1231 is connected to the inverting input terminal of the differential amplifier 112. The first feedback gain unit 132 includes a resistor 1321, and the second feedback gain unit 133 includes a resistor 1331. The resistor 1321 is connected between the non-inverting input terminal and the inverting output terminal of the differential amplifier 112, and the resistor 1331 is connected between the inverting input terminal and the non-inverting output terminal of the differential amplifier 112.
[0055] In some other embodiments, Figure 4 As shown, one end of the first capacitor network 141 is connected between the first input gain unit 122 and the first feedback gain unit 132 , and the other end is connected between the second input gain unit 123 and the second feedback gain unit 133 .
[0056] The resistance unit 142 includes a first resistance subunit 1422 and a second resistance subunit 1423. One end of the first resistance subunit 1422 is connected between the first input gain unit 122 and the first feedback gain unit 132, and the other end is connected to the first input end of the operational amplifier module 110. One end of the second resistance subunit 1423 is connected between the second input gain unit 123 and the second feedback gain unit 133, and the other end is connected to the second input end of the operational amplifier module 110.
[0057] The second capacitor network 143 includes a first feedback capacitor sub-network 1433 and a second feedback capacitor sub-network 1434. One end of the first feedback capacitor sub-network 1433 is connected to the first input end of the operational amplifier module 110, and the other end is connected to the second output end of the operational amplifier module 110; one end of the second feedback capacitor sub-network 1434 is connected to the second input end of the operational amplifier module 110, and the other end is connected to the first output end of the operational amplifier module 110.
[0058] Among them, the first resistance subunit 1422 and the second resistance subunit 1423 include one or more resistors. When the first resistance subunit 1422 and the second resistance subunit 1423 include multiple resistors, the circuit structure of the multiple resistors can be connected in series, in parallel, in series and in parallel, etc. The first feedback capacitor subnetwork 1433 and the second feedback capacitor subnetwork 1434 include one or more capacitors. When the first feedback capacitor subnetwork 1433 and the second feedback capacitor subnetwork 1434 include multiple capacitors, the circuit structure of the multiple capacitors can be connected in series, in parallel, in series and in parallel, etc.
[0059] As an implementation method, Figure 5 As shown, the first capacitor network includes a capacitor 1411 and a capacitor 1412 , one end of the capacitor 1411 and the capacitor 1412 connected in parallel is connected between the resistor 1221 and the resistor 1321 , and the other end is connected between the resistor 1231 and the resistor 1331 .
[0060] The first resistance subunit 1422 includes a resistor 14221, and the second resistance subunit 1423 includes a resistor 14231. One end of the resistor 14221 is connected between the resistor 1221 and the resistor 1321, and the other end is connected to the non-inverting input terminal of the differential amplifier 112. One end of the resistor 14231 is connected between the resistor 1231 and the resistor 1331, and the other end is connected to the inverting input terminal of the differential amplifier 112.
[0061] The first feedback capacitor sub-network 1433 includes a capacitor 14331 and a capacitor 14332, one end of the capacitor 14331 and the capacitor 14332 connected in parallel is connected to the non-inverting input terminal of the differential amplifier 112, and the other end is connected to the inverting output terminal of the differential amplifier 112. The second feedback capacitor sub-network 1434 includes a capacitor 14341 and a capacitor 14342, one end of the capacitor 14341 and the capacitor 14342 connected in parallel is connected to the inverting input terminal of the differential amplifier 112, and the other end is connected to the non-inverting output terminal of the differential amplifier 112.
[0062] In some other embodiments, Figure 4 As shown, the switch network 150 includes a first switch circuit 154 , which is connected to the first capacitor network 141 and is used to adjust the capacitance parameters of the first capacitor network 141 .
[0063] The first switch circuit 154 may include one or more switches. The switches include but are not limited to triodes, field effect transistors, etc. The field effect transistor may be a MOS (metal oxide semiconductor) transistor or other types of field effect transistors, and the MOS transistor may be an NMOS transistor or a PMOS transistor.
[0064] As an implementation method, Figure 5As shown, the first switch circuit 154 includes a switch 1541 and a switch 1542, wherein the switch 1541 is connected to the capacitor 1411, and the switch 1542 is connected to the capacitor 1412. By controlling the on and off of the switches 1541 and 1542, the capacitance parameters of the first capacitor network 141 can be adjusted, thereby adjusting the filtering frequency of the filtering module 140.
[0065] In some other embodiments, Figure 4 As shown, the switch network 150 further includes a second switch circuit 155 and a third switch circuit 156 .
[0066] The second switch circuit 155 is connected to the first feedback capacitor sub-network 1433 and is used to adjust the capacitance parameter of the first feedback capacitor sub-network 1433 ; the third switch circuit 156 is connected to the second feedback capacitor sub-network 1434 and is used to adjust the capacitance parameter of the second feedback capacitor sub-network 1434 .
[0067] The second switch circuit 155 and the third switch circuit 156 may include one or more switches. The switches include but are not limited to triodes, field effect transistors, etc. The field effect transistors may be MOS (metal oxide semiconductor) transistors or other types of field effect transistors, and the MOS transistors may be NMOS transistors or PMOS transistors.
[0068] As an implementation method, Figure 5 As shown, the second switch circuit 155 includes a switch 1551 and a switch 1552, wherein the switch 1551 is connected to the capacitor 14331, and the switch 1552 is connected to the capacitor 14332. By controlling the on and off of the switches 1551 and 1552, the capacitance parameter of the first feedback capacitor subnetwork 1433 can be adjusted, thereby adjusting the filtering frequency of the filtering module 140.
[0069] The third switch circuit 156 includes a switch 1561 and a switch 1562. The switch 1561 is connected to the capacitor 14341, and the switch 1562 is connected to the capacitor 14342. By controlling the on and off of the switches 1561 and 1562, the capacitance parameter of the second feedback capacitor subnetwork 1434 can be adjusted, thereby adjusting the filtering frequency of the filtering module 140.
[0070] In some other embodiments, Figure 4 As shown, the switch network 150 further includes a fourth switch circuit 157 and a fifth switch circuit 158. The fourth switch circuit 157 is connected to the first resistance subunit 1422 and is used to adjust the resistance parameter of the first resistance subunit 1422; the fifth switch circuit 158 is connected to the second resistance subunit 1423 and is used to adjust the resistance parameter of the second resistance subunit 1423.
[0071] The fourth switch circuit 157 and the fifth switch circuit 158 may include one or more switches. The switches include but are not limited to triodes, field effect transistors, etc. The field effect transistor may be a MOS (metal oxide semiconductor) transistor or other types of field effect transistors, and the MOS transistor may be an NMOS transistor or a PMOS transistor.
[0072] In order to better explain the technical principle of adjusting the filtering frequency by the first switch circuit 154, the second switch circuit 155, and the third switch circuit 156, the following examples are listed:
[0073] like Figure 5 As shown, the resistance values of the resistor 1221 and the resistor 1231 are set to be equal and R1, the resistance values of the resistor 1321 and the resistor 1331 are set to be equal and R2, the resistance values of the resistor 14221 and the resistor 14231 are set to be equal and R3, the capacitance of the capacitor 1411 is C0, the capacitance of the capacitor 1412 is C01, the capacitance of the capacitor 14331 and the capacitor 14341 are set to be equal and C1, and the capacitance of the capacitor 14332 and the capacitor 14342 are set to be equal and C2.
[0074] The following are three examples of this situation:
[0075] (1) Figure 5 As shown, when switch 1541 is closed and switches 1542, 1552, 1551, 1561, and 1562 are all disconnected, capacitors 1412, 14332, 14331, 14341, and 14342 are not connected to programmable gain amplifier 100, and the gain of programmable gain amplifier 100 is
[0076] (2) Figure 6 As shown, when switches 1541, 1551, and 1561 are closed and switches 1542, 1552, and 1562 are open, capacitors 1412, 14332, and 14342 are not connected to the programmable gain amplifier 100, and the transfer function of the programmable gain amplifier 100 is as follows:
[0077]
[0078] Wherein, VOUTN is the output result of the inverting output terminal of the differential amplifier 112, VOUTP is the output result of the non-inverting output terminal of the differential amplifier 112, VINP is the first input signal, VINN is the second input signal, and S is the Laplace factor. As can be seen from the above formula, the gain of the programmable gain amplifier 100 is still When the gain is determined and the input impedance (i.e., the impedance of resistors 1221 and 1231) is fixed, the resistance values of resistors 1221, 1231, 1321, and 1331 can be basically determined first. However, the denominator of the transfer function will cause the cutoff frequency of the filter to be different from the above case (1) because of the different connected capacitors.
[0079] In this example, The ratio of can also be changed, so that this example can achieve the effect of adjustable gains and cutoff frequencies.
[0080] (3) Figure 7 As shown, when switch 1541, switch 1542, switch 1551, switch 1561, switch 1552, and switch 1562 are all closed, the transfer function of programmable gain amplifier 100 is derived as follows:
[0081]
[0082]
[0083]
[0084]
[0085]
[0086] Wherein, V1 is the voltage at the connection point between the resistor 1221 and the resistor 1321, V2 is the voltage at the connection point between the resistor 1231 and the resistor 1331, Vp is the voltage at the non-inverting input terminal of the differential amplifier 112, and Vn is the voltage at the inverting input terminal of the differential amplifier 112. It can be seen from the above formula that the gain of the programmable gain amplifier 100 at this time is When the gain is determined and the input impedance (i.e., the impedance of the resistor 1221 and the resistor 1231) is fixed, the resistance values of the resistors 1221, 1231, 1321, and 1331 can be basically determined first. The filtering frequency is determined by the capacitor 1411, the capacitor 1412, the capacitor 14332, the capacitor 14331, the capacitor 14341, the capacitor 14342, the resistor 14221, the resistor 14231, the resistor 1221, the resistor 1231, the resistor 1321, and the resistor 1331.
[0087] In this example, when the gain of the programmable gain amplifier 100 is determined, different filtering frequencies can be achieved by controlling the on-off of switches 1541, 1542, 1552, 1551, 1561, and 1562 to change the capacitance value of the filter module 140. In this example, the resistance values of resistors 1221, 1231, 1321, and 1331 can also be changed to achieve different gains.
[0088] In some other embodiments, the programmable gain amplifier 100 further includes a frequency detection module 160 and a logic control module 170. The frequency detection module 160 is connected to the input end of the operational amplifier module 110 and is used to detect the frequency of the input signal; the logic control module 170 is connected to the output end of the frequency detection module 160 and is used to generate a control signal according to the output result of the frequency detection module 160; the switch network 150 is controlled by the control signal to adjust the filtering frequency of the filtering module 140.
[0089] Among them, the input signal can be a sinusoidal signal, a square wave signal, etc., and the control signal can be a high level signal, a low level signal, a pulse signal, etc.
[0090] When the input signal is an AC signal such as a sine wave signal, the cutoff frequency of the filter module 140 can be further adjusted according to the frequency of the input signal. Generally, the higher the frequency of the input signal, the higher the cutoff frequency of the filter module 140. The frequency of the input signal can be detected by a frequency detection circuit, and then the switches 1541, 1542, 1552, 1551, 1561, and 1562 are controlled by a logic control circuit to switch the capacitors connected to the programmable gain amplifier 100 to achieve different filtering frequencies, so that the filtering frequency can be changed according to the input signal frequency. For example, the higher the frequency of the input signal is set, the higher the cutoff frequency of the filter module 140 is.
[0091] In this embodiment, the frequency detection module 160 and the logic control module 170 may adopt existing technical solutions.
[0092] The frequency detection method in the frequency detection module 160 may include a frequency measurement method and / or a period measurement method.
[0093] The frequency measurement method is to record the number of change cycles (or pulses) Nx of the input signal within a certain time Tw, then the frequency of the measured signal is fx=Nx / Tw.
[0094] The period measurement method requires a signal fs with a standard frequency higher than the input signal frequency, and one period of the standard frequency signal is Ts. In one period Tx of the input signal, count according to the standard frequency fs. If the number counted in one period Tx is Ns, that is, Tx = Ts*Ns = 1 / fs*Ns, then the frequency of the input signal fx = 1 / Tx = fs / Ns; it is also possible to record the number of cycles (or pulses) Nx of the measured frequency change in multiple periods, then the measured frequency is fx = fs×Nx / Ns.
[0095] The counting values of these two methods will produce ±1 pulse error, and the test accuracy is related to the value Nx or Ns recorded in the counter.
[0096] In this embodiment, the frequency detection module 160 can detect the frequency of the input signal, and calculate and output the detection result according to the frequency. The logic control module 170 generates a control signal according to the detection result, and the filter module 140 is controlled by the control signal to adjust the filter frequency and gain of the input signal. Based on this, the embodiment can automatically adjust the filter frequency of the filter module 140 and the gain of the programmable gain amplifier 100.
[0097] The embodiment of the present application also provides a chip, which includes the above-mentioned programmable gain amplifier 100. A chip (Integrated Circuit, IC) is also called a chip, and the chip can be, but is not limited to, a SOC (System on Chip) chip or a SIP (system in package) chip. The chip can adjust the filtering frequency of the filter module 140 for filtering the input signal through a control signal, thereby achieving the technical effect of filtering a signal containing multiple different frequencies.
[0098] The embodiment of the present application also provides an electronic device, which includes a device body and a chip as described above provided in the device body. The electronic device may be, but is not limited to, a weight scale, a body fat scale, a nutrition scale, an infrared electronic thermometer, a pulse oximeter, a human body composition analyzer, a mobile power supply, a wireless charger, a fast charger, a car charger, an adapter, a display, a USB (Universal Serial Bus) docking station, a stylus, a true wireless headset, a car central control screen, a car, a smart wearable device, a mobile terminal, and a smart home device. Smart wearable devices include, but are not limited to, smart watches, smart bracelets, and cervical massagers. Mobile terminals include, but are not limited to, smart phones, laptops, tablet computers, and POS (point of sales terminal). Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart sweepers, and smart lights. The electronic device can adjust the filtering frequency of the filter module 140 to filter the input signal through a control signal, thereby achieving the technical effect of filtering signals with different useful frequency components.
[0099] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. A programmable gain amplifier, characterized in that: include: An operational amplifier module, including an input terminal and an output terminal; A first gain module, connected to the input end of the operational amplifier module; A second gain module, connected between the input terminal and the output terminal of the operational amplifier module; A filter module connected to the input and output ends of the operational amplifier module; The switch network is connected to the filter module and is used to adjust the filter frequency of the filter module.
2. The programmable gain amplifier according to claim 1, wherein: The filtering module comprises: A first capacitor network, wherein the first capacitor network is connected between the first gain module and the second gain module; A resistor unit, one end of which is connected between the first gain module and the second gain module, and the other end of which is connected to the input end of the operational amplifier module; A second capacitor network, one end of the second capacitor network is connected to the input end of the operational amplifier module, and the other end of the second capacitor network is connected to the output end of the operational amplifier module.
3. The programmable gain amplifier according to claim 2, wherein: The switch network comprises: A first switch unit, wherein the first switch unit is connected to the first capacitor network and is used to adjust a capacitance parameter of the first capacitor network.
4. The programmable gain amplifier according to claim 2, wherein: The switch network further comprises: A second switch unit, wherein the second switch unit is connected to the second capacitor network and is used to adjust a capacitance parameter of the second capacitor network.
5. The programmable gain amplifier according to claim 2, wherein: The switch network further comprises: A third switch unit is connected to the resistance unit and is used to adjust a resistance parameter of the resistance unit.
6. The programmable gain amplifier according to claim 2, wherein: The input end of the operational amplifier module includes a first input end and a second input end, and the output end of the operational amplifier module includes a first output end and a second output end; The first gain module includes a first input gain unit and a second input gain unit, the first input gain unit is connected to the first input end of the operational amplifier module; the second input gain unit is connected to the second input end of the operational amplifier module; The second gain module includes a first feedback gain unit and a second feedback gain unit, wherein the first feedback gain unit is connected between the first input terminal and the second output terminal of the operational amplifier module; and the second feedback gain unit is connected between the second input terminal and the first output terminal of the operational amplifier module.
7. The programmable gain amplifier according to claim 6, wherein: One end of the first capacitor network is connected between the first input gain unit and the first feedback gain unit, and the other end is connected between the second input gain unit and the second feedback gain unit; The resistance unit includes a first resistance subunit and a second resistance subunit, one end of the first resistance subunit is connected between the first input gain unit and the first feedback gain unit, and the other end is connected to the first input end of the operational amplifier module; one end of the second resistance subunit is connected between the second input gain unit and the second feedback gain unit, and the other end is connected to the second input end of the operational amplifier module; The second capacitor network includes a first feedback capacitor sub-network and a second feedback capacitor sub-network; one end of the first feedback capacitor sub-network is connected to the first input end of the operational amplifier module, and the other end is connected to the second output end of the operational amplifier module; one end of the second feedback capacitor sub-network is connected to the second input end of the operational amplifier module, and the other end is connected to the first output end of the operational amplifier module.
8. The programmable gain amplifier according to claim 7, wherein: The switch network includes a first switch circuit, which is connected to the first capacitor network and is used to adjust the capacitance parameters of the first capacitor network.
9. The programmable gain amplifier according to claim 7, wherein: The switch network further comprises: a second switch circuit, the second switch circuit being connected to the first feedback capacitor sub-network and being used to adjust a capacitance parameter of the first feedback capacitor sub-network; A third switch circuit is connected to the second feedback capacitor sub-network and is used to adjust a capacitance parameter of the second feedback capacitor sub-network.
10. The programmable gain amplifier according to claim 7, wherein: The switch network further comprises: a fourth switch circuit, the fourth switch circuit being connected to the first resistance subunit and being used to adjust a resistance parameter of the first resistance subunit; A fifth switch circuit, wherein the fifth switch circuit is connected to the second resistance sub-unit and is used to adjust the resistance parameter of the second resistance sub-unit.
11. The programmable gain amplifier according to any one of claims 1 to 10, characterized in that: Also includes: A frequency detection module, connected to the input end of the operational amplifier module, for detecting the frequency of an input signal; The logic control module is connected to the output end of the frequency detection module and is used to generate a control signal according to the output result of the frequency detection module; the switch network is controlled by the control signal to adjust the filtering frequency of the filtering module.
12. A chip, characterized in that: The programmable gain amplifier comprises any one of claims 1 to 10.
13. An electronic device, characterized in that: The invention comprises a device body and the chip as claimed in claim 12 arranged in the device body.
Citation Information
Cited By
Calibration circuit and method of continuous glucometer
CN119574673A
Phase compensator and related method
CN119865160A
