SNOAA84A January   2022  – February 2022 LM4050QML-SP , LMP7704-SP

 

  1.   1
  2.   2
  3.   3
  4.   4
  5.   5
  6.   6
  7.   7
  8.   8

Design Simulations

  • Input and Output Ranges

    The following plots show the output voltage across the 2.49-kΩ (R3) resistor. The error is calculated based on the following equation:

    GUID-20211104-SS0I-WH2D-WS4W-VJWM014BVJZN-low.png

    Ideally, Vout swings from 0 V to 5 V as the load current (Iload) swings from 0 A to 10 A. However, the minimum of Vout is 373 mV and is non-linear before the load current (Iload) gets up to 735 mV.

    GUID-20211104-SS0I-RT7G-G1DH-9S9FFBH5ZQH0-low.png
  • Power Consumption

    The following simulation and calculations show the power consumption of each component in the circuit with different load currents. Without considering the power consumption on the R_shunt, the overall power rate is from 471.4 mW to 651.3 mW. R2 dominates the power consumption.

    GUID-20211104-SS0I-SVL8-DDCC-8DPSNL8WDWH3-low.png
    GUID-20211104-SS0I-LTJZ-PT8W-G5N4PGQTRK1P-low.png
  • Bandwidth

    The following figure shows the gain of the circuit, where Gain = Vout (V) / Iload (A). With a load capacitance of 15 pF, the 1% full power bandwidth and the 3-dB bandwidth is found to be 478 kHz and 3.8 MHz.

    GUID-20211104-SS0I-CZFF-3K5R-QGVRVT0VMX18-low.png
  • Stability Analysis

    The stability of the system is verified by measuring its phase margin and applying a small signal-transient step response. To ensure stability, the phase margin, which is measured at a point where the Aol curve intersects 1/β, needs to be at least 45 degrees.

    As shown in the following schematic, a 1-μF capacitor is added in the feedback loop to increase stability. The following open-loop AC simulation breaks the loop at the input and the following equations are used to plot the relevant curves:

    GUID-20211104-SS0I-1CVV-MJJF-3PGHL3XQTJZM-low.png
    GUID-20211104-SS0I-PFFW-8SBH-8VVRD0DKQLPN-low.png

    The previous image shows the frequency domain simulation result. The phase margin is measured at a point where 1/ꞵ and Aol intercept, and it is 58.3 degrees, indicating the system is stable.

    To further ensure stability, a small signal transient step response is applied at the input (IG1) of the circuit and percent overshoot is measured at Vo. The overshoot in the following image indicates a phase margin of 59 degrees, further confirming the stability of the system.

    GUID-20211104-SS0I-KCVB-GHPG-7MLMMQFX2CGG-low.png
    GUID-20211104-SS0I-J6CB-NT1F-TXB10SMCNQG8-low.png
  • Fault Analysis
    CAUTION: If the LMP7704-SP op amp is damaged and the PMOS gate is left floating, this might destroy the microcontroller or ADC.

    It is necessary to put a 10-kΩ pullup resistor (R1) in front of the PMOS gate to pull up the PMOS gate and protect the ADC or microcontroller.

    Another fault consideration is whether the op amp (LMP7704-sp) will get damaged by the 100-V Vbus. To simulate it, a 100-V peak-to-peak square wave is applied to the Vbus. See the simulation results in the following image.

    GUID-20211104-SS0I-FBZD-XGWV-LP64GZXL7WZT-low.png

    V_opamp, which is the difference between Vbus and VEE, is always below 4.933 V. LMP7704 is designed for a power supply up to 12 V, so it will not be damaged. Load current is set to 5 A in the simulation. As expected, Vout is simulated to be around 2.5 V.

  • Error Calculation

    To analysis the output error of the circuit, the following parameters are needed

    • Vos: Op amp offset error (V)
    • Vos_drift: Offset drift (V/°C)
    • CMRR: Common-mode rejection ratio (dB)
    • PSRR: Power supply rejection ratio (dB)
    • temp: temperature (°C)
    • Vcm_sys: common-mode voltage (V), 5 V in this application
    • Vcm_ds: common-mode voltage used for testing in the data sheet (V).
    • R1: R6 resistor value (Ω)
    • R_shunt: Shunt resistor value (Ω)
    • Rshunt_tol: Shunt resistor tolerance (%)
    • TC_shunt: Shunt resistor temperature coefficient (ppm/°C)
    • Iload: Load current (A)
    • Ib: Input bias current (A)
    • R1_tol: R6 resistor tolerance (%)
    • TC1: R6 resistor temperature coefficient (ppm/°C)
    • R2_tol: R3 resistor tolerance (%)
    • TC2: R3 resistor temperature coefficient (ppm/°C)

    Offset error:

    GUID-20211104-SS0I-V0TV-6DLJ-SHQPW7CN82NQ-low.png

    CMRR error:

    GUID-20211104-SS0I-1S5X-JZSP-DSHJPD9VLV3N-low.png

    PSRR error:

    GUID-20211104-SS0I-R5QT-6WRT-9Z94HHQLTR08-low.png

    Shunt resistor error:

    GUID-20211104-SS0I-88SD-GWBT-FZTX0Z5QWJSP-low.png

    Resistor (R3 and R6) error:

    GUID-20211104-SS0I-VBLF-M6C8-RPGZGRK9HW74-low.png

    Bias current error:

    GUID-20211104-SS0I-TN7H-K9FD-7NDZ4T5L4BDC-low.png

    Root Sum Square (RSS) total error:

    GUID-20211104-SS0I-QFBP-NRFV-1C8SXCSRSNL8-low.png

    Extreme Value Analysis (EVA):

    GUID-20211104-SS0I-M145-CBZV-ZDWCDBMNGTHB-low.png

The previous error equations are implemented in MATLAB, and the simulation result is shown in the following image.

GUID-20211104-SS0I-8FRF-2BD7-1HM3JSJ8CH0K-low.png

The RSS is 0.658% when the load current is 1 A. This RSS satisfies the 0.7% error requirement. The EVA plot is also provided on the right as a reference.

GUID-20211104-SS0I-TXJW-GJCZ-SHQTSKMFXQGW-low.png

The previous result is calculated with R_shunt set to 10 mΩ. When the load current is 1 A, the op amp Vos dominates the error. When load current is 10 A, the shunt resistor tolerance dominates the error.

The previous error calculation is verified again with TINA-TITM simulation, and the result is shown in the following image.

GUID-20211104-SS0I-GRBV-DHQP-S0HCDMSKN1PH-low.png

The percent error is calculated with the following equation.

GUID-20211104-SS0I-PR44-SHZW-G2VTR16QGKKG-low.png

As shown in the simulation, when the load current is 1 A, the error is 0.63%. This error is consistent with the 0.6% Vos error in the previous MATLAB calculation. TINA-TITM does not simulate the error caused by resistor tolerance and changing temperature on the shunt resistor.