A programmable gain amplifier circuit and control method
By using the target amplification circuit, the memristor feedback array and the control module in the programmable gain amplification circuit, the resistance state of the memristor is adjusted to achieve flexible adjustment of the gain, which solves the problem of high hardware resource consumption in the existing technology and improves the efficiency of the programmable gain amplification circuit. The flexibility and precision of signal processing are improved.
Patent Information
- Application Number
- CN202410213560.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-02-27
AI Technical Summary
Existing programmable gain amplification circuits have major problems in hardware resource consumption, and it is difficult to flexibly adjust the gain of weak signals, resulting in resource occupation and low efficiency in applications in various electronic circuit fields.
Using a combination of target amplification circuit, memristor feedback array and control module, the gain can be flexibly adjusted by adjusting the resistance state of the memristor, reducing the occupation of circuit space resources and reducing hardware resource consumption.
It realizes the flexible change of amplification factor and achieves the effect of adjustable gain without using a large number of resistor resources, reducing the consumption of hardware resources of the circuit system and improving the flexibility and accuracy of signal processing.
Smart Images

Figure CN118074641B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of amplifiers, and in particular to a programmable gain amplifier circuit and a control method thereof. Background Art
[0002] Amplifier circuits are widely used in electronic circuits in many different fields, such as audio processing, wireless communication, measurement and instrumentation, sensor data processing, etc. They are used to amplify the amplitude of input weak signals for signal processing. With the development of science and technology, the requirements for the sensitivity and dynamic range of weak signals in electronic circuits in various fields are gradually increasing. In order to avoid the difficulty of traditional fixed gain amplifiers in flexibly adjusting weak signals, the existing technology uses programmable gain amplifier circuits to flexibly adjust the amplitude of weak signals by adjusting the gain.
[0003] Among them, the existing programmable gain amplifier circuit, such as PGA (Programmable Gain Amplifier), realizes gain adjustment by connecting a large number of resistors with different resistance values and switching the conduction state of the resistors with different resistance values. However, this method consumes a large amount of hardware resources such as resistors and circuit space. Therefore, it is necessary to propose a new programmable gain amplifier circuit. Summary of the invention
[0004] The invention provides a programmable gain amplifier circuit and a control method, which are used to solve the problem of excessive consumption of hardware resources in the existing programmable gain amplifier circuit.
[0005] In one aspect, the present invention provides a programmable gain amplifier circuit, comprising: a target amplifier circuit, a memristor feedback array, and a control module;
[0006] The first input terminal of the target amplifier circuit is connected to a signal source;
[0007] The second input terminal of the target amplifier circuit is connected to the memristor feedback array;
[0008] The output end of the target amplifier circuit is connected to the memristor feedback array;
[0009] The control module is connected to the memristor feedback array and is used to respond to an adjustment instruction and adjust the resistance state of the memristors in the memristor feedback array according to the adjustment instruction so that the resistance value of the memristor feedback array reaches a target resistance value.
[0010] Optionally, the memristor feedback array is provided with a first port, a second port, a first programming interface and a second programming interface; the first port is connected to the output end of the target amplifier circuit; the second port is connected to the second input end of the target amplifier circuit; the first programming interface and the second programming interface are respectively connected to the control module;
[0011] The memristor feedback array includes at least one array unit, and the array unit includes: a first transistor, a second transistor, a third transistor, a fourth transistor, an inverter, and a memristor;
[0012] The first terminal of the first transistor is connected to the first port;
[0013] The second end of the first transistor is connected to the positive electrode of the memristor;
[0014] The third terminal of the first transistor is connected to the third terminal of the second transistor and is connected to the first programming interface;
[0015] The first terminal of the second transistor is connected to the negative electrode of the memristor;
[0016] The second terminal of the second transistor is connected to the second port;
[0017] A first end of the third transistor is connected to the negative electrode of the memristor, and a second end of the third transistor is connected to one end of the inverter;
[0018] The third terminal of the third transistor is connected to the third terminal of the fourth transistor and is connected to the second programming interface;
[0019] The first end of the fourth transistor is connected to the positive electrode of the memristor, and the second end of the fourth transistor is connected to the inverter and to the control module.
[0020] Optionally, when the number of the array units is at least two, each of the array units is connected via the first port, the second port, the first programming interface, and the second programming interface.
[0021] Optionally, the target amplification circuit includes a voltage series negative feedback circuit;
[0022] The voltage series negative feedback circuit includes a first operational amplifier, a first resistor, and a first load resistor;
[0023] The non-inverting input terminal of the first operational amplifier is connected to the signal source;
[0024] The inverting input terminal of the first operational amplifier is connected to the second port of the memristor feedback array and one end of the first resistor respectively;
[0025] The output end of the first operational amplifier is connected to the first port of the memristor feedback array and one end of the first load resistor respectively;
[0026] The other end of the first resistor and the other end of the first load resistor are grounded respectively.
[0027] Optionally, the target amplification circuit includes a current series negative feedback circuit; the current series negative feedback circuit includes: a second operational amplifier and a second load resistor;
[0028] The non-inverting input terminal of the second operational amplifier is connected to the signal source;
[0029] The inverting input terminal of the second operational amplifier is connected to the first port of the memristor feedback array; the second port of the memristor feedback array is grounded;
[0030] The output end of the second operational amplifier is connected to one end of the second load resistor; the other end of the second load resistor is connected to the first port of the memristor feedback array.
[0031] Optionally, the target amplification circuit includes a voltage parallel negative feedback circuit; the voltage parallel negative feedback circuit includes: a third operational amplifier and a third load resistor;
[0032] The non-inverting input terminal of the third operational amplifier is connected to one end of the third load resistor and is grounded; the other end of the third load resistor is connected to the output terminal of the third operational amplifier;
[0033] The inverting input terminal of the third operational amplifier is connected to the second port of the memristor feedback array and the signal source respectively; the first port of the memristor feedback array is connected to the output terminal of the third operational amplifier.
[0034] Optionally, the target amplification circuit includes a current parallel negative feedback circuit; the current parallel negative feedback circuit includes: a fourth operational amplifier, a fourth load resistor, and a third resistor;
[0035] The inverting input terminal of the fourth operational amplifier is respectively connected to the second port of the memristor feedback array and the signal source; the first port of the memristor feedback array is respectively connected to one end of the third resistor and one end of the fourth load resistor; the other end of the fourth load resistor is connected to the output terminal of the fourth operational amplifier;
[0036] A non-inverting input terminal of the fourth operational amplifier is connected to the other end of the third resistor and is grounded.
[0037] Optionally, the third terminal of the first transistor is a gate, and the third terminal of the second transistor is a gate.
[0038] Optionally, the third terminal of the third transistor is a gate, and the third terminal of the fourth transistor is a gate.
[0039] Another aspect of the present invention provides a control method for a programmable gain amplifier circuit, the method being applied to the circuit as described above, the control method comprising:
[0040] In response to the adjustment instruction, generating a first control signal, a second control signal and a third control signal according to the adjustment instruction;
[0041] The first control signal is input into the memristor feedback array so that the resistance state of the memristor feedback array obtains the target resistance state; then, the second control signal is input into the memristor feedback array so that the resistance value of the memristor feedback array reaches the target resistance value; then, the third control signal is input into the memristor feedback array so that the memristor feedback array outputs the target resistance value.
[0042] It can be seen from the above technical solutions that the present invention has the following advantages:
[0043] A programmable gain amplifier circuit provided by the present invention comprises: a target amplifier circuit, a memristor feedback array and a control module; the first input end of the target amplifier circuit is connected to a signal source; the second input end of the target amplifier circuit is connected to the memristor feedback array; the output end of the target amplifier circuit is connected to the memristor feedback array; the control module is connected to the memristor feedback array and is used to respond to an adjustment instruction and adjust the resistance state of the memristors in the memristor feedback array according to the adjustment instruction so that the resistance value of the memristor feedback array reaches a target resistance value.
[0044] In the present invention, the first input end of the target amplifier circuit is connected to the signal source for receiving the signal to be processed; the second input end of the target amplifier circuit is connected to the memristor feedback array; the output end of the target amplifier circuit is connected to the memristor feedback array, so that the memristor feedback array constitutes a negative feedback link of the target amplifier circuit; the control module is connected to the memristor feedback array, and is used to respond to adjustment instructions, and adjust the resistance state of the memristors in the memristor feedback array according to the adjustment instructions, so that the resistance value of the memristor feedback array reaches the target resistance value, so as to realize flexible adjustment of the output resistance value of the memristor feedback array, thereby realizing flexible change of the amplification factor and achieving the effect of adjustable gain, without using a large amount of resistance resources, reducing the occupation of circuit space resources, reducing the hardware resource consumption of the entire circuit system, and solving the problem of high hardware resource consumption in the existing programmable gain amplifier circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0046] Figure 1 A schematic diagram of the structure of a programmable gain amplifier circuit provided by an embodiment of the present invention;
[0047] Figure 2 A schematic diagram of a programmable gain amplifier circuit provided by an embodiment of the present invention;
[0048] Figure 3 A schematic diagram of the structure of a memristor feedback array provided by an embodiment of the present invention;
[0049] Figure 4 A schematic diagram of the structure of a voltage series negative feedback amplifier circuit provided by an embodiment of the present invention;
[0050] Figure 5 A schematic diagram of the structure of a current series negative feedback amplifier circuit provided by an embodiment of the present invention;
[0051] Figure 6 A schematic diagram of the structure of a voltage parallel negative feedback amplifier circuit provided in an embodiment of the present invention;
[0052] Figure 7 A schematic diagram of the structure of a current parallel negative feedback amplifier circuit provided in an embodiment of the present invention;
[0053] Figure 8 It is a schematic diagram of simulation results of a voltage series negative feedback circuit according to an embodiment of the present invention;
[0054] Fig. 9 It is a schematic diagram of simulation results of a current series negative feedback circuit according to an embodiment of the present invention;
[0055] Fig.10 It is a schematic diagram of simulation results of a voltage parallel negative feedback circuit according to an embodiment of the present invention;
[0056] Fig.11 It is a schematic diagram of simulation results of a current parallel negative feedback circuit according to an embodiment of the present invention;
[0057] Fig.12 A flowchart of a control method for a programmable gain amplifier circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The embodiment of the present invention provides a programmable gain amplifier circuit and a control method, which are used to solve the problem of excessive consumption of hardware resources in the existing programmable gain amplifier circuit.
[0059] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in combination with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] See also Figure 1-Figure 2 A programmable gain amplifier circuit provided by an embodiment of the present invention includes a target amplifier circuit 1, a memristor feedback array 2 and a control module 3; a first input end of the target amplifier circuit 1 is connected to a signal source 4; a second input end of the target amplifier circuit 1 is connected to the memristor feedback array 2; an output end of the target amplifier circuit 1 is connected to the memristor feedback array 2; the control module 3 is connected to the memristor feedback array 2, and is used to respond to an adjustment instruction, and adjust the resistance state of the memristors in the memristor feedback array 2 according to the adjustment instruction, so that the resistance value of the memristor feedback array 2 reaches the target resistance value.
[0061] It should be noted that the target amplifier circuit 1 refers to a negative feedback amplifier circuit that does not include a feedback resistor. The feedback resistor refers to a resistor connecting the inverting input terminal and the output terminal of the operational amplifier in the negative feedback amplifier circuit. The signal source 4 refers to a signal that needs to be amplified. The function of negative feedback is to add or subtract the feedback amount from the input amount, thereby adjusting the net input and output of the circuit.
[0062] The memristor feedback array 2 includes a memristor and a transistor for switching the state of the memristor. A memristor is a non-volatile device whose conductance state can be adjusted by applying an external stimulus. It can adjust its internal resistance value according to the external stimulus, so it has the property of multiple resistance states. Therefore, in this embodiment, by adjusting the resistance state of the memristor, the memristor can display different resistance values, so that the memristor feedback array 2 can provide a richer resistance value selection and realize flexible adjustment. Moreover, the memristor itself is a nanometer-sized device, and its structure can be highly integrated and small-sized, occupying less circuit space resources.
[0063] The working principle of this embodiment is as follows: Figure 2As shown, the input signal of the target amplifier circuit 1 is called the net input, which depends on the input provided by the signal source 4 and the feedback provided by the memristor feedback array 2; the output signal of the target amplifier circuit 1 is called the output, which is the input signal of the memristor feedback array 2, and the feedback and the input are added and subtracted by the target amplifier circuit 1, and the net input and output of the target amplifier circuit 1 can be adjusted, so as to achieve the amplification of the output signal of the target amplifier circuit 1, so that the amplified signal meets the accuracy requirements of the circuit system, and by adjusting the output resistance of the memristor feedback array 2, the feedback output of the memristor feedback array 2 can be changed, so as to achieve the change of the net input and output of the target amplifier circuit 1, and achieve the flexible change of the amplification factor, so as to achieve the effect of adjustable gain. Therefore, in this embodiment, the memristor feedback array 2 is programmed to output different resistance values to generate different feedback amounts to affect the net input of the basic amplifier circuit, and output different feedback coefficients and voltage amplification factors, which greatly improves the flexibility of adjustment compared with the existing fixed gain negative feedback amplifier circuit.
[0064] Among them, if the feedback is taken from the output voltage, the output voltage will be stabilized; if the feedback is taken from the output current, the output current will be stabilized. If the feedback is taken from the output voltage, it is called voltage feedback; if it is taken from the output current, it is called current feedback. If the feedback and input are superimposed in voltage, it is called series feedback; if they are superimposed in current, it is called parallel feedback. There are four configurations of negative feedback amplifier circuits, including voltage series, voltage parallel, current series and current parallel.
[0065] In this embodiment, the first input end of the target amplifier circuit 1 is connected to the signal source 4 for receiving the signal to be processed; the second input end of the target amplifier circuit 1 is connected to the memristor feedback array 2; the output end of the target amplifier circuit 1 is connected to the memristor feedback array 2, so that the memristor feedback array 2 constitutes a negative feedback link of the target amplifier circuit 1, which is used to adjust the gain of the target amplifier circuit 1; the control module 3 is connected to the memristor feedback array 2, and is used to respond to the adjustment instruction, and adjust the resistance state of the memristors in the memristor feedback array 2 according to the adjustment instruction, so that the resistance value of the memristor feedback array 2 reaches the target resistance value, so as to realize the flexible adjustment of the output resistance value of the memristor feedback array 2, thereby realizing the flexible change of the amplification factor and achieving the effect of adjustable gain, without using a large amount of resistance resources, reducing the occupation of circuit space resources, and solving the problem of high hardware resource consumption in the existing programmable gain amplifier circuit.
[0066] In a specific embodiment, see Figure 1-Figure 3The memristor feedback array 2 is provided with a first port 11, a second port 12, a first programming interface OUTRES, and a second programming interface PROG; the first port 11 is connected to the output end of the target amplifier circuit 1; the second port 12 is connected to the inverting input end of the target amplifier circuit 1; the first programming interface OUTRES and the second programming interface PROG are respectively connected to the control module 3;
[0067] The memristor feedback array 2 includes at least one array unit 10, and the array unit 10 includes: a first transistor T1, a second transistor T2, a third transistor T3, a fourth transistor T4, an inverter and a memristor M1;
[0068] A first end of the first transistor T1 is connected to the first port 11;
[0069] The second end of the first transistor T1 is connected to the positive electrode of the memristor M1;
[0070] The third end of the first transistor T1 is connected to the third end of the second transistor T2 and is connected to the first programming interface OUTRES;
[0071] A first end of the second transistor T2 is connected to the negative electrode of the memristor M1;
[0072] The second end of the second transistor T2 is connected to the second port 12;
[0073] A first end of the third transistor T3 is connected to the negative electrode of the memristor M1, and a second end of the third transistor T3 is connected to one end of the inverter;
[0074] The third end of the third transistor T3 is connected to the third end of the fourth transistor T4 and is connected to the second programming interface PROG;
[0075] A first end of the fourth transistor T4 is connected to the positive electrode of the memristor M1 , and a second end of the fourth transistor T4 is connected to the inverter and to the control module 3 .
[0076] It should be noted that if Figure 3 As shown, 11 is the first port, 12 is the second port, OUTERS is the first programming interface, and PROG is the second programming interface. The memristor feedback array 2 may be provided with at least one array unit 10, each array unit 10 includes a first transistor T1, a second transistor T2, a third transistor T3, a fourth transistor T4 and an inverter.
[0077] by Figure 3 Taking the leftmost array unit 10 as an example, the working principle of this embodiment is described as follows:
[0078] A shutdown signal is input through the first programming interface OUTRES to turn off the first transistor T1 and the second transistor T2, and a turn-on signal is input through the second programming interface PROG to turn on the third transistor T3 and the fourth transistor T4, so that the memristor M1 is in a programmable resistance state, and the control module 3 outputs a resistance switching signal to the common connection IN0 of the fourth transistor T4 and the inverter, so as to change the resistance of the memristor M1. After the resistance of the memristor M1 is adjusted to the target resistance, the control module 3 inputs a turn-on signal to the first programming interface OUTRES to turn on the first transistor T1 and the second transistor T2, and inputs a shutdown signal to the second programming interface PROG to turn off the third transistor T3 and the fourth transistor T4, so that the memristor M1 that reaches the target resistance is connected to the external target amplifier circuit 1 through the first port 11 and the second port 12, thereby completing the flexible adjustment of the amplification factor of the amplifier circuit and achieving the effect of flexible and adjustable gain.
[0079] The on signal may be a high level signal, and the off signal may be a low level signal.
[0080] In a specific embodiment, the type of the memristor M1 can be digital control type or analog control type. The resistance state of the memristor M1 can be a high-low binary resistance state, a three-value resistance state or a multi-value resistance state, etc. Different resistance states represent different resistance values. This embodiment takes the digitally controlled high-low binary resistance state memristor M1 as an example for explanation as follows:
[0081] When a low resistance value needs to be output, the control module 3 inputs a low level signal to the first programming interface OUTRES and a high level signal to the second programming interface PROG, disconnects the first transistor T1 and the second transistor T2, and turns on the third transistor T3 and the fourth transistor T4. After that, the control module 3 inputs a high level signal to the connection between the fourth transistor T4 and the inverter, so that the memristor M1 is in a low resistance state, thereby making the resistance value of the memristor M1 a low resistance value. After that, the control module 3 inputs a high level signal to the first programming interface OUTRES and a low level signal to the second programming interface PROG, so that the memristor feedback array 2 outputs a low resistance value.
[0082] When a high resistance value needs to be output, the control module 3 inputs a low level signal to the first programming interface OUTRES and a high level signal to the second programming interface PROG. Then, the control module 3 inputs a low level signal to the connection between the fourth transistor T4 and the inverter, so that the memristor M1 is in a high resistance state, thereby making the resistance value of the memristor M1 a high resistance value. Then, the control module 3 inputs a high level signal to the first programming interface OUTRES and a low level signal to the second programming interface PROG, so that the memristor feedback array 2 outputs a high resistance value.
[0083] In a specific embodiment, when the number of array units 10 is at least two, each array unit 10 is connected via the first port 11 , the second port 12 , the first programming interface OUTRES, and the second programming interface PROG.
[0084] It should be noted that there may be multiple array units 10 in the memristor feedback array 2. This embodiment takes four array units 10 as an example for description as follows:
[0085] like Figure 3 As shown, the first transistor T1 and the second transistor T2 in each array unit 10 are connected to the first port 11 and the second port 12 respectively, so that the memristors M1 in the four array units 10 are connected in parallel. The third ends of the first transistor T1 and the second transistor T2 in each array unit 10 are respectively connected to the first programming port, so the first programming port can simultaneously control the on and off of the first transistor T1 and the second transistor T2 in each array unit 10. The third ends of the third transistor T3 and the fourth transistor T4 in each array unit 10 are respectively connected to the second programming port, so the second programming port can simultaneously control the on and off of the third transistor T3 and the fourth transistor T4. The connection points IN0, IN1, IN2, and IN3 of the fourth transistor T4 and the inverter in each array unit 10 are respectively connected to the control module 3, so that the resistance state of each memristor is switched through the control module 3, and the resistance of each memristor output in parallel in the memristor feedback array 2 is adjusted, so that the resistance of the overall output of the memristor feedback array 2 reaches the target resistance. Therefore, the gain-adjustable amplifier circuit in this embodiment can more flexibly adjust the gain of the amplifier circuit and reduce the occupation of circuit space resources.
[0086] In an application example, it is assumed that the memristor type used in this embodiment is a digitally controlled type and has a high and low binary resistance state, wherein the resistance corresponding to the high resistance state is 10000Ω, the resistance corresponding to the low configuration is 100Ω, the positive threshold voltage is 1.5V, and the negative threshold voltage is -1.5V.
[0087] When the four memristors in the four array units 10 are all in the low resistance state, the overall output resistance of the memristor feedback array 2 is 25Ω; when three memristors in the four array units 10 are in the low resistance state and one memristor is in the high resistance state, the overall output resistance of the memristor array is 10000 / 301Ω≈33Ω; when two memristors in the four array units 10 are in the low resistance state and two memristors are in the high resistance state, the memristor array is The overall output resistance of the resistor array is 10000 / 202Ω≈49.5; when three memristors in the four array units 10 are in a low resistance state and one memristor is in a high resistance state, the overall output resistance of the memristor array is 10000 / 103Ω≈97Ω; when four memristors in the four array units 10 are all in a high resistance state, the overall output resistance of the memristor feedback array 2 is 10000 / 4Ω=2500Ω.
[0088] Among them, the control module 3 can change the number of memristors in the high resistance state and the number of memristors in the low resistance state in the memristor feedback array 2 by changing the high and low levels input to the connection between the fourth transistor T4 and the inverter in the array unit 10, thereby changing the resistance value output by the memristor feedback array 2. For example: when the control module 3 inputs 1000 or 0100 or 0010 or 0001 to the connection IN0, IN1, IN2, IN3 between the fourth transistor T4 and the inverter in each array unit 10, a memristor in the high resistance state and three memristors in the low resistance state can be present in the memristor feedback array 2.
[0089] In a specific embodiment, the third terminal of the first transistor T1 is a gate, and the third terminal of the second transistor T2 is a gate.
[0090] It should be noted that the gates of the first transistor T1 and the second transistor T2 are connected to each other and are also connected to the first programming interface OUTRES.
[0091] In a specific embodiment, the third terminal of the third transistor T3 is a gate, and the third terminal of the fourth transistor T4 is a gate.
[0092] It should be noted that the gates of the third transistor T3 and the fourth transistor T4 are connected to each other and are also connected to the second programming interface PROG.
[0093] In a specific embodiment, the inverter is a NOT gate.
[0094] It should be noted that the inverter uses a NOT gate in a logic gate circuit.
[0095] In a specific embodiment, the target amplifier circuit 1 includes a voltage series negative feedback circuit;
[0096] The voltage series negative feedback circuit includes a first operational amplifier, a first resistor R1, and a first load resistor RL1;
[0097] The non-inverting input terminal of the first operational amplifier is connected to the signal source 4;
[0098] The inverting input terminal of the first operational amplifier is connected to the second port 12 of the memristor feedback array 2 and one end of the first resistor R1 respectively;
[0099] The output end of the first operational amplifier is connected to the first port 11 of the memristor feedback array 2 and one end of the first load resistor RL1 respectively;
[0100] The other end of the first resistor R1 and the other end of the first load resistor RL1 are grounded respectively.
[0101] It should be noted that the first input terminal of the target amplifier circuit 1 is the non-inverting input terminal of the first operational amplifier; and the second input terminal of the target amplifier circuit 1 is the inverting input terminal of the first operational amplifier.
[0102] See also Figure 4 , assuming that the resistance of the output of the memristor feedback array 2 is R2, the calculation formula of the feedback coefficient of the voltage series negative feedback circuit is:
[0103]
[0104] Where F is the feedback coefficient.
[0105] The voltage amplification factor of the voltage series negative feedback circuit is:
[0106]
[0107] Where A is the voltage gain.
[0108] It can be seen from the above that by changing the resistance value output by the memristor feedback array 2 , the voltage feedback coefficient and the voltage amplification factor of the voltage series negative feedback circuit can be adjusted, thereby achieving flexible gain adjustment.
[0109] In one application example, Figure 3The voltage series negative feedback circuit simulation model is constructed by taking the memristor feedback array 2 as an example, setting the input frequency to 1000 Hz, the amplitude to 0.005 V, the initial voltage to 0 V, R1 to 5 Ω, RL1 to 100 Ω, ON to represent the low resistance state of the memristor M1, OFF to represent the high resistance state of the memristor M1, inputting a low level signal to the first programming interface OUTRES, inputting a high level signal to the second programming interface PROG, and making the input signals of IN0, IN1, IN2, and IN3 at the connection between the fourth transistor T4 and the inverter in each array unit 10 to be 1111, 1110, and 1100, respectively. , 1000, so that the states of each memristor in the memristor feedback array 2 are respectively in the states of 4ON, 3ON1OFF, 2ON2OFF and 1ON3OFF. Then, a high-level signal is input to the first programming interface OUTRES, and a low-level signal is input to the second programming interface PROG, so that the resistance output by the memristor feedback array 2 is 25Ω, 33.3Ω, 49.5Ω and 97Ω respectively, and the feedback coefficients obtained according to formula (1) are 0.17, 0.13, 0.09 and 0.05 respectively; and the amplification factors obtained according to formula (2) are 6, 7.7, 11.1 and 20 respectively. The simulation results are shown in the figure below. Figure 8 As shown, Figure 8 Among them, (a) is the simulation result diagram of the voltage series negative feedback circuit when the amplification factor is 6, (b) is the simulation result diagram of the voltage series negative feedback circuit when the amplification factor is 7.7, (c) is the simulation result diagram of the voltage series negative feedback circuit when the amplification factor is 11.1; (d) is the simulation result diagram of the voltage series negative feedback circuit when the amplification factor is 20.
[0110] In a specific embodiment, the target amplifier circuit 1 includes a current series negative feedback circuit; the current series negative feedback circuit includes: a second operational amplifier, a second load resistor RL2;
[0111] The non-inverting input terminal of the second operational amplifier is connected to the signal source 4;
[0112] The inverting input terminal of the second operational amplifier is connected to the first port 11 of the memristor feedback array 2; the second port 12 of the memristor feedback array 2 is grounded;
[0113] The output end of the second operational amplifier is connected to one end of the second load resistor RL2 ; the other end of the second load resistor RL2 is connected to the first port 11 of the memristor feedback array 2 .
[0114] It should be noted that the first input terminal of the target amplifier circuit 1 is the non-inverting input terminal of the second operational amplifier; the second input terminal of the target amplifier circuit 1 is the inverting input terminal of the second operational amplifier. The first port 11 is the input terminal 1 of the memristor feedback array 2; the second port 12 is the output terminal 2 of the memristor feedback array.
[0115] See also Figure 5 , assuming that the resistance of the output of the memristor feedback array 2 is R, the calculation formulas for the feedback coefficient and voltage amplification factor of the current series negative feedback circuit are:
[0116] F=R (3)
[0117]
[0118] Among them, F is the feedback factor and A is the voltage gain.
[0119] It can be seen from the above that by changing the resistance value output by the memristor feedback array 2 , the voltage feedback coefficient and the voltage amplification factor of the current series negative feedback circuit can be adjusted, thereby achieving flexible gain adjustment.
[0120] In one application example, Figure 3 The memristor feedback array 2 is taken as an example to construct a current series negative feedback circuit simulation model, and the input frequency is set to 1000Hz, the amplitude is 0.005V, the initial voltage is 0V, and RL2 is 100Ω. ON represents the low resistance state of the memristor M1, and OFF represents the high resistance state of the memristor M1. A low level signal is input to the first programming interface OUTRES, and a high level signal is input to the second programming interface PROG. The input signals of IN0, IN1, IN2, and IN3 at the connection between the fourth transistor T4 and the inverter in each array unit 10 are 1111, 1110, and 110, respectively. 0, 1000, so that the states of each memristor in the memristor feedback array 2 are respectively in the states of 4ON, 3ON1OFF, 2ON2OFF and 1ON3OFF. Then, a high-level signal is input to the first programming interface OUTRES, and a low-level signal is input to the second programming interface PROG, so that the resistance output by the memristor feedback array 2 is 25Ω, 33.3Ω, 49.5Ω and 97Ω respectively, and the feedback coefficients obtained according to formula (3) are 25, 33.3, 49.5 and 97 respectively; and the amplification factors obtained according to formula (4) are 4, 3, 2 and 1 respectively. The simulation results are shown in the figure below. Fig. 9 As shown, Fig. 9 Among them, (a) is the simulation result diagram of the current series negative feedback circuit when the amplification factor is 4, (b) is the simulation result diagram of the current series negative feedback circuit when the amplification factor is 3, (c) is the simulation result diagram of the current series negative feedback circuit when the amplification factor is 2; (d) is the simulation result diagram of the current series negative feedback circuit when the amplification factor is 1.
[0121] In a specific embodiment, the target amplifier circuit 1 includes a voltage parallel negative feedback circuit; the voltage parallel negative feedback circuit includes: a third operational amplifier, a third load resistor RL3;
[0122] The non-inverting input terminal of the third operational amplifier is connected to one end of the third load resistor RL3 and is grounded; the other end of the third load resistor RL3 is connected to the output terminal of the third operational amplifier;
[0123] The inverting input terminal of the third operational amplifier is connected to the second port 12 of the memristor feedback array 2 and the signal source 4 respectively; the first port 11 of the memristor feedback array 2 is connected to the output terminal of the first operational amplifier.
[0124] It should be noted that the first input terminal and the second input terminal of the target amplifier circuit 1 are both inverting input terminals of the first operational amplifier. The first port 11 is the input terminal 1 of the memristor feedback array 2; the second port 12 is the output terminal 2 of the memristor feedback array.
[0125] See also Figure 6 , assuming that the resistance of the output of the memristor feedback array 2 is R, the calculation formula of the feedback coefficient of the voltage parallel negative feedback circuit is:
[0126]
[0127] Where F is the feedback coefficient.
[0128] The voltage amplification factor of the voltage parallel negative feedback circuit is:
[0129]
[0130] Where A is the voltage gain.
[0131] It can be seen from the above that by changing the resistance value output by the memristor feedback array 2 , the voltage feedback coefficient and the voltage amplification factor of the voltage parallel negative feedback circuit can be adjusted, thereby achieving flexible gain adjustment.
[0132] In one application example, Figure 3The voltage parallel negative feedback circuit simulation model is constructed by taking the memristor feedback array 2 as an example, setting the input frequency to 1000Hz, the amplitude to 0.005V, the initial voltage to 0V, the power supply internal resistance Rs to 5Ω, ON to represent the low resistance state of the memristor M1, OFF to represent the high resistance state of the memristor M1, inputting a low level signal to the first programming interface OUTRES, inputting a high level signal to the second programming interface PROG, and making the input signals of IN0, IN1, IN2, and IN3 at the connection between the fourth transistor T4 and the inverter in each array unit 10 to be 1111, 1110, 1100, and 1000 respectively, from The states of each memristor in the memristor feedback array 2 are respectively 4ON, 3ON1OFF, 2ON2OFF and 1ON3OFF. After that, a high-level signal is input to the first programming interface OUTRES and a low-level signal is input to the second programming interface PROG, so that the resistance output by the memristor feedback array 2 is 25Ω, 33.3Ω, 49.5Ω and 97Ω respectively. According to formula (5), the feedback coefficients are -0.04, -0.03, -0.02 and -0.01 respectively; and the amplification factors are -5, -6.66, -9.9 and -19.4 respectively according to formula (6). The simulation results are shown in the figure below. Fig.10 As shown, Fig.10 In the figure, (a) is the simulation result diagram of the voltage parallel negative feedback circuit when the amplification factor is -5, (b) is the simulation result diagram of the voltage parallel negative feedback circuit when the amplification factor is -6.66, (c) is the simulation result diagram of the voltage parallel negative feedback circuit when the amplification factor is -9.9; (d) is the simulation result diagram of the voltage parallel negative feedback circuit when the amplification factor is -19.4.
[0133] In a specific embodiment, the target amplifier circuit 1 includes a current parallel negative feedback circuit; the current parallel negative feedback circuit includes: a fourth operational amplifier, a fourth load resistor RL4, and a third resistor R3;
[0134] The inverting input terminal of the fourth operational amplifier is respectively connected to the second port 12 of the memristor feedback array 2 and the signal source 4; the first port 11 of the memristor feedback array 2 is respectively connected to one end of the third resistor R3 and one end of the fourth load resistor RL4; the other end of the fourth load resistor RL4 is connected to the output terminal of the fourth operational amplifier;
[0135] A non-inverting input terminal of the fourth operational amplifier is connected to the other end of the third resistor R3 and is grounded.
[0136] It should be noted that the first input terminal and the second input terminal of the target amplifier circuit 1 are both inverting input terminals of the fourth operational amplifier. The first port 11 is the input terminal 1 of the memristor feedback array 2; the second port 12 is the output terminal 2 of the memristor feedback array.
[0137] See also Figure 7 , assuming that the resistance of the output of the memristor feedback array 2 is R2, the calculation formulas for the feedback coefficient and voltage amplification factor of the current parallel negative feedback circuit are:
[0138]
[0139]
[0140] Among them, F is the feedback coefficient, A is the voltage gain, and Rs is the internal resistance of the power supply.
[0141] It can be seen from the above that by changing the resistance value output by the memristor feedback array 2 , the voltage feedback coefficient and the voltage amplification factor of the current parallel negative feedback circuit can be adjusted, thereby achieving flexible gain adjustment.
[0142] In one application example, Figure 3 The memristor feedback array 2 is taken as an example to construct a current parallel negative feedback circuit simulation model, and the input frequency is set to 1000Hz, the amplitude is 0.005V, the initial voltage is 0V, the power supply internal resistance Rs=5Ω, RL4=5Ω, R3=5Ω, ON represents the low resistance state of the memristor M1, and OFF represents the high resistance state of the memristor M1. A low level signal is input to the first programming interface OUTRES, and a high level signal is input to the second programming interface PROG. The input signals of IN0, IN1, IN2, and IN3 at the connection between the fourth transistor T4 and the inverter in each array unit 10 are 1111, 1110, and 1100, respectively. , 1000, so that the states of each memristor in the memristor feedback array 2 are respectively in the states of 4ON, 3ON1OFF, 2ON2OFF and 1ON3OFF. Then, a high-level signal is input to the first programming interface OUTRES, and a low-level signal is input to the second programming interface PROG, so that the resistance output by the memristor feedback array 2 is 25Ω, 33.3Ω, 49.5Ω and 97Ω respectively, and the feedback coefficients obtained according to formula (7) are respectively -0.17, -0.13, -0.09 and -0.05; and the amplification factors obtained according to formula (8) are respectively -6, -7.7, -9.9 and -20. Among them, the simulation results are shown in the figure below. Fig. 9 As shown, Fig. 9 Among them, (a) is the simulation result diagram of the current parallel negative feedback circuit when the amplification factor is -6, (b) is the simulation result diagram of the current parallel negative feedback circuit when the amplification factor is -7.7, (c) is the simulation result diagram of the current parallel negative feedback circuit when the amplification factor is -9.9; (d) is the simulation result diagram of the current parallel negative feedback circuit when the amplification factor is -20.
[0143] See also Fig.12The embodiment of the present invention provides a control method for a programmable gain amplifier circuit, the method is applied to the circuit of the above embodiment, wherein the control method comprises:
[0144] 101. In response to an adjustment instruction, generate a first control signal, a second control signal, and a third control signal according to the adjustment instruction.
[0145] It should be noted that the adjustment instruction includes the target resistance value to be adjusted, and the control module generates the corresponding first control signal, second control signal and third control signal according to the adjustment instruction.
[0146] 102. Input a first control signal into the memristor feedback array so that the resistance state of the memristor feedback array obtains a target resistance state; then, input a second control signal into the memristor feedback array so that the resistance value of the memristor feedback array reaches a target resistance value; then, input a third control signal into the memristor feedback array so that the memristor feedback array outputs the target resistance value.
[0147] It should be noted that the first control signal is used to turn off the transistors in the memristor feedback array connected to the first programming interface, and to turn on the transistors in the memristor feedback array connected to the second programming interface. The second control signal is used to adjust the resistance of each memristor in the memristor feedback array so that the resistance output of the memristor feedback array as a whole is consistent with the target resistance. The third control signal is used to turn on the transistors in the memristor feedback array connected to the first programming interface, and to turn off the transistors in the memristor feedback array connected to the second programming interface.
[0148] The present embodiment provides a control method for a programmable gain amplifier circuit. In response to an adjustment instruction, a first control signal, a second control signal and a third control signal are generated according to the adjustment instruction. The first control signal is input into a memristor feedback array so that the resistance state of the memristor feedback array obtains a target resistance state. Then, the second control signal is input into the memristor feedback array so that the resistance value of the memristor feedback array reaches the target resistance value. Then, the third control signal is input into the memristor feedback array so that the memristor feedback array outputs the target resistance value. The gain of the programmable gain amplifier circuit is flexibly adjusted. The control method is simple and easy to implement, thereby reducing the power consumption of the circuit system and the consumption of hardware resources.
[0149] As can be seen from the above, the embodiment of the present invention proposes a programmable gain amplifier circuit and a control method, which can reduce hardware equipment and can adjust the amplification factor of the programmable gain amplifier circuit as required through programming, thereby making the full-scale signal of the A / D converter more uniform, greatly improving the measurement accuracy, and realizing "automatic range switching", thereby meeting the specific requirements of subsequent circuits and systems.
[0150] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0151] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0152] It should also be noted that in the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they should not be understood as limitations on the present invention.
[0153] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A programmable gain amplifier circuit, It is characterized in that include: target amplifier circuit, memristor feedback array and control module; The first input terminal of the target amplifier circuit is connected to a signal source; The second input terminal of the target amplifier circuit is connected to the memristor feedback array; The output end of the target amplifier circuit is connected to the memristor feedback array; The control module is connected to the memristor feedback array and is used to respond to an adjustment instruction and adjust the resistance state of the memristors in the memristor feedback array according to the adjustment instruction so that the resistance value of the memristor feedback array reaches a target resistance value; The memristor feedback array is provided with a first port, a second port, a first programming interface and a second programming interface; the first port is connected to the output end of the target amplifier circuit; the second port is connected to the second input end of the target amplifier circuit; The first programming interface and the second programming interface are respectively connected to the control module; The memristor feedback array includes at least one array unit, and the array unit includes: a first transistor, a second transistor, a third transistor, a fourth transistor, an inverter, and a memristor; The first terminal of the first transistor is connected to the first port; The second end of the first transistor is connected to the positive electrode of the memristor; The third terminal of the first transistor is connected to the third terminal of the second transistor and is connected to the first programming interface; The first terminal of the second transistor is connected to the negative electrode of the memristor; The second terminal of the second transistor is connected to the second port; A first end of the third transistor is connected to the negative electrode of the memristor, and a second end of the third transistor is connected to one end of the inverter; The third terminal of the third transistor is connected to the third terminal of the fourth transistor and is connected to the second programming interface; The first end of the fourth transistor is connected to the positive electrode of the memristor, and the second end of the fourth transistor is connected to the inverter and to the control module.
2. The circuit according to claim 1, It is characterized in that When the number of the array units is at least two, each of the array units is connected through the first port, the second port, the first programming interface, and the second programming interface.
3. The circuit according to claim 2, It is characterized in that The target amplification circuit includes a voltage series negative feedback circuit; The voltage series negative feedback circuit includes a first operational amplifier, a first resistor, and a first load resistor; The non-inverting input terminal of the first operational amplifier is connected to the signal source; The inverting input terminal of the first operational amplifier is connected to the second port of the memristor feedback array and one end of the first resistor respectively; The output end of the first operational amplifier is connected to the first port of the memristor feedback array and one end of the first load resistor respectively; The other end of the first resistor and the other end of the first load resistor are grounded respectively.
4. The circuit according to claim 2, It is characterized in that The target amplification circuit includes a current series negative feedback circuit; the current series negative feedback circuit includes: a second operational amplifier and a second load resistor; The non-inverting input terminal of the second operational amplifier is connected to the signal source; The inverting input terminal of the second operational amplifier is connected to the first port of the memristor feedback array; the second port of the memristor feedback array is grounded; The output end of the second operational amplifier is connected to one end of the second load resistor; the other end of the second load resistor is connected to the first port of the memristor feedback array.
5. The circuit according to claim 2, It is characterized in that The target amplification circuit includes a voltage parallel negative feedback circuit; the voltage parallel negative feedback circuit includes: a third operational amplifier and a third load resistor; The non-inverting input terminal of the third operational amplifier is connected to one end of the third load resistor and is grounded; the other end of the third load resistor is connected to the output terminal of the third operational amplifier; The inverting input terminal of the third operational amplifier is connected to the second port of the memristor feedback array and the signal source respectively; the first port of the memristor feedback array is connected to the output terminal of the third operational amplifier.
6. The circuit according to claim 2, It is characterized in that The target amplification circuit includes a current parallel negative feedback circuit; the current parallel negative feedback circuit includes: a fourth operational amplifier, a fourth load resistor, and a third resistor; The inverting input terminal of the fourth operational amplifier is respectively connected to the second port of the memristor feedback array and the signal source; the first port of the memristor feedback array is respectively connected to one end of the third resistor and one end of the fourth load resistor; the other end of the fourth load resistor is connected to the output terminal of the fourth operational amplifier; A non-inverting input terminal of the fourth operational amplifier is connected to the other end of the third resistor and is grounded.
7. The circuit according to claim 1, It is characterized in that The third terminal of the first transistor is a gate, and the third terminal of the second transistor is a gate.
8. The circuit according to claim 1, It is characterized in that The third terminal of the third transistor is a gate, and the third terminal of the fourth transistor is a gate.
9. A control method for a programmable gain amplifier circuit, It is characterized in that The method is applied to the circuit according to any one of claims 1 to 8, and the control method comprises: In response to the adjustment instruction, generating a first control signal, a second control signal and a third control signal according to the adjustment instruction; The first control signal is input into the memristor feedback array so that the resistance state of the memristor feedback array obtains the target resistance state; then, the second control signal is input into the memristor feedback array so that the resistance value of the memristor feedback array reaches the target resistance value; then, the third control signal is input into the memristor feedback array so that the memristor feedback array outputs the target resistance value.
Citation Information
Patent Citations
Negative feedback idea-based memristor resistance value state control circuit
CN103199813A
Programmable analog circuit based on memory resistor and operation method thereof
CN104702264A
Memristor programming circuit based on operational amplifier and operating method for memristor programming circuit
CN104916312A
Programmable analog circuit based on memristor
CN108109654A
Programmable gain amplifier with adjustable input and output voltage
CN112886934A
