TIDUF39 March   2025

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 DAC70502: Dual-Channel, 1-LSB INL, 14-Bit, SPI Voltage-Output Digital-to-Analog Converter (DAC)
      2. 2.3.2 INA818: 35μV Offset, 8nV/√Hz Noise, Low-Power, Precision Instrumentation Amplifier
      3. 2.3.3 OPA192: High-Voltage, Rail-to-Rail Input/Output, 5µV, 0.2µV/°C, Precision Operational Amplifier
      4. 2.3.4 LM5146: 100V Synchronous Buck DC/DC Controller With Wide Duty Cycle Range
  9. 3System Design Theory
    1. 3.1 Constant Current Control Design
    2. 3.2 Constant Current and Voltage Simulation
  10. 4Hardware, Software, Testing Requirements, and Test Results
    1. 4.1 Hardware Requirements
    2. 4.2 Software Requirements
    3. 4.3 Test Setup
      1. 4.3.1 Constant Current Test Setup
      2. 4.3.2 Constant Voltage Test Setup
    4. 4.4 Test Results
      1. 4.4.1 Current Control Accuracy
      2. 4.4.2 Voltage Control Accuracy
      3. 4.4.3 CC, CV Transformation
      4. 4.4.4 Constant Current Transient Response
      5. 4.4.5 Constant Voltage Transient Response
      6. 4.4.6 Voltage Ripple at Short Circuit
      7. 4.4.7 Tracking DC-DC output
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks
  12. 6About the Author

Constant Current Control Design

The constant current control design requires a high-precision current sensor, and the selection of the right operational amplifier (op amp) for measuring battery charge or battery discharge current through a shunt resistor is pivotal for accurate and reliable current measurement. The Y14770R00300F9R shunt resistor, with a resistance of 3mΩ made up of a power metal strip, is an excellent choice for current sensing. With a 1% tolerance and a maximum temperature coefficient of ±40ppm/°C, this shunt resistor provides accurate and stable performance.

For amplifying the current signal across the shunt, the INA818, a high-precision instrumentation amplifier, is used. The choice of an instrumentation amplifier with the right common-mode voltage is crucial, because the amplifier directly impacts the input and output voltage limitations. The instrumentation amplifier provides compatibility with the common-mode voltage of the application and is essential for achieving accurate and reliable current measurements in CC control.

Using TI's analog engineer's calculator to determine the input common-mode and limitations of the INA818, Figure 3-1 shows the calculation results. The maximum common-mode voltage is consistent with the maximum voltage on the battery side, which is 15V in this case. The INA818 is powered by 20V and –5V, and the reference voltage generated from the DAC is 2.5V. When the gain is set to 66, the calculation shows the input range from –111.4mV to 112.1mV, fitting within the current signal range (±8A × 3mΩ = 24mV).

The CC control loop also needs a high-precision op amp. The precision drift op amp, OPA192, with maximum input offset drift of ±0.1µV/°C, is used for this function.

TIDA-010089 Vcm vs Vout Calculator for
                    INA818 Figure 3-1 Vcm vs Vout Calculator for INA818

Figure 3-2 illustrates the CC control loop schematic. The output voltage, linked to a voltage-controlled voltage source, functions as the tracking input for the DC-DC converter, supplying VDCDC to the MOSFET drain. An intentional 1V rise is incorporated into the configuration to maintain VDS at 1V, regardless of load conditions. The reference voltage, ISET, is generated from a digital-to-analog converter (DAC) to control the output current or voltage depending on the operation mode. Another input, ISENSE is the current feedback signal acquired through the differential voltage across the current sense resistor. These signals undergo differentiation in the error amplifier, OPA192, to facilitate current loop control. For small signal simulation, a 1TF capacitor and 1TH inductor are connected to the ISENSE. This purpose is to break the feedback loop as the capacitor is open at DC while the inductor is a short. At high frequencies, the inductor is open and the capacitor is shorted.

TIDA-010089 Schematic for Constant Current
                    Loop Simulation Figure 3-2 Schematic for Constant Current Loop Simulation

Figure 3-3 shows the small signal of the CC simulation. The phase margin for constant current output of 8A is 73.39°, with the crossover frequency of 189.59kHz. This simulation affirms the stability of the control circuit and bandwidth sufficiency.

TIDA-010089 Stability Simulation for
                    Current Loop Analysis Figure 3-3 Stability Simulation for Current Loop Analysis

The voltage to adjust output current can be set from 0V to 5V. Use Equation 1 to calculate the input reference voltage for the desired current settings. In this reference design, to generate 8A output current, ISET, the DAC output voltage, is set to 4.08V.

Equation 1. I S E T = I desired × INA 818   gain × R SENSE + V REF