2 Design of Controllable Gain Amplifier
Solution 1: Use a digital signal processing system consisting of A/D/A+DSP to achieve this. This solution has a complex system structure and high cost.
Solution 2: Use a programmable amplifier. Since a dedicated chip is used, gain control is limited to the capabilities provided by the chip, resulting in poor flexibility and high cost.
Solution 3: As we all know, the gain of the amplifier is related to the resistance. Changing the resistance of the corresponding resistor can change the gain of the amplifier. Since the solution of changing the resistance to control the gain of the amplifier has a clear concept, simple circuit composition, easy implementation, and low cost, it can better meet the actual requirements. This solution is usually used. The specific implementation methods are as follows:
(1) The resistance is changed by switching fixed resistors of different resistance values through a small relay. Each fixed resistor is determined after theoretical calculation and debugging.
(2) Use a resistive optocoupler (such as AD521L/H, etc.) to change the resistance value by controlling the current of its light-emitting tube.
(3) Use a digital potentiometer (such as X9312, X9241, etc.) to change the resistance value by writing the value into the potentiometer's related register through software control.
The method of using small relays is only applicable to the case where the resistance to be controlled is small. When the total number of gain types required to be controlled is large, a relay array is formed, which makes the circuit structure bulky and its control reliability is greatly reduced. In addition, the relay switching process will inevitably interfere with other circuits.
The resistive optocoupler has a good isolation effect, but it must be combined with a D/A conversion circuit and an amplifier circuit to work. Its circuit structure is complex and the cost is high. In addition, the current of the light-emitting diode of the resistive optocoupler and its resistance value are nonlinear, which makes the control more difficult.
The third method uses a digital potentiometer, which has the advantages of simple circuit structure and easy use. As long as the selected digital potentiometer has a high enough resolution, it can meet the requirements for gain control. The X9241M digital potentiometer can be used. It has 4 potentiometers with three resistance values. The resolution of each potentiometer is 1/63. The chip control uses the I2C bus. Potentiometers with different resistance values can be selected for different voltage gains. The resistance value of the sliding end relative to the fixed end is changed by changing the value of the counting register of the sliding end of the potentiometer, thereby achieving gain adjustment.
3 Implementation of Controllable Gain Amplifier Based on X9241
Taking the display circuit part of the automatic range conversion of the current sensor as an example, the controllable gain amplifier implemented by X9241 is introduced. Assume that the sensor range is: 100 A, 300 A and 500 A. No matter what range the sensor is in, its full-scale output current is 100 mA. The resistance used for I/V conversion is 5 Ω, and its output VM voltage at full scale is 0.5 V. In order to correctly display the magnitude of the measured current with a digital voltmeter (three and a half digits, 2 V range), only the three digits of the digital voltmeter are used, and it is necessary to add the amplifier circuit shown in Figure 2. The corresponding magnifications are: 0.2, 0.6 and 1 times, respectively. The feedback resistors of the first-stage amplifier should be: 0.2 kΩ, 0.6 kΩ and 10 kΩ, respectively.
X9241M digital potentiometer is used to replace R2, R3 and R4 in Figure 2, where R4 is a 10 kΩ potentiometer, and R2 and R3 are 2 kΩ potentiometers. The main circuit is shown in Figure 3. In the figure, P3.0 and P3.1 of AT89S52 microcontroller are used to simulate I2C bus to control X9241M. There are many reference materials for microcontrollers and their specific programming, so I will not go into details.
Usually, the key to programming is to select and control the digital potentiometer, that is, how to determine the required potentiometer and the value of its sliding end count register (WCR). The processing flow can be seen in Figure 4.
4 Measures to reduce gain error
Since the resistance provided by the digital potentiometer is a series of discrete values, there may not be a resistance value that fully meets the requirements among these discrete values. This is the main reason for the gain error. The following measures can be taken:
(1) Select a digital potentiometer with sufficiently high resolution. This depends on the development of component manufacturing technology, which is not yet achievable.
(2) Use a digital potentiometer chip (such as X9241M) that contains a variety of different rated resistance values, and connect potentiometers of different resistance values in series to meet the needs of the effective number of bits of the resistance value, further improving the accuracy of gain control.
(3) Use software to modify the value of the sliding end count register (WCR) and further adjust the gain of the amplifier so that the gain meets the actual requirements.
5 Conclusion
The use of digital potentiometers to control the gain of the amplifier has the advantages of simple circuit, convenient control, and low cost. Measures can also be taken to achieve high-precision control of the amplifier gain. The gain adjustment is achieved by selecting potentiometers with different resistance values in the digital potentiometer and further modifying the software. The controllable gain amplifier can be used for signal conditioning in the acquisition system or in situations where the amplifier gain is required to be programmable. It should be noted that with the advancement of technology and the continuous improvement of manufacturing level, the types of digital potentiometers are becoming more and more abundant, and the performance is becoming more and more perfect. It should be selected according to the requirements of specific applications.
Previous article:Programmable-Gain Amplifier, Using the MAX532 DAC
Next article:Micropower Operational Amplifiers in Portable Devices
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [TI Course] Questions about calculating the effective value of pfc inductor current
- CC2541 Timer Mode
- Espressif has released a new product: ESP32-H2: IEEE 802.15.4 + Bluetooth 5.2 (LE) RISC-V SoC
- vscode for web released
- Mir MYC-YT507 development board review: Performance test 3: Storage performance test
- What kind of chip is my fake stm32f103c8t6
- How are components connected in a PCB?
- [NXP Rapid IoT Review] Is your kit still working properly?
- Why is the output of this DCDC unstable?
- What are the considerations for performing two AD samplings at different nodes of the resistor divider?