eCircuit  Center 
Error Budget Analysis

About SPICE | SPICE Basics | Running SPICE | CIRCUIT COLLECTION
SPICE Commands | SPICE Downloads | About | Contact | Home

Linear Voltage Regulator

3-Terminal Adjustable
(LM317 Type)


pic

 

While an Amplifier scales an input signal, the Regulator produces a fixed output, independent of the input signal (within a reasonable range)!

 

In this topic you'll get

For tutorials on Key Concepts and other circuits, goto EBA Series

 

OFFSET ERRORS

From the most general definition of an amplifier block, we'll see that the regulator can be defined by Offset Errors only!

pic

For clarity we'll define the "input" to the regulator as "vin_reg". While vin_reg provides a power source for the regulator, we know it's NOT considered an input to be amplified.

MAX ERROR BUDGET

The max budget (target spec) for the regulator has been chosen as:

LINEAR REGULATOR

Schematic with Errors

pic

Overview

The regulator produces an output voltage that can be described by.

pic

 

Device Errors

We'll analyze offset errors only for this topic.

Description Initial, Drift Error
OFFSET ERRORS  
U1, Vref, Internal Reference Voltage
U1, Iref, Input Reference Current
U1, vo/vin_reg, Input Line Regulation
U1, vo/Io, Output Load Regulation

R1, Resistor Tolerance
R2. Resistor Tolerance
50mV, 50uV/C
50uA, 2uA/C
0.03 V/V
0.02 V/A

0.1%, 100ppm/C
0.1%, 100ppm/C

 

Conditions and Assumptions

Temperature

5V Regulator

Errors

 

OFFSET ERRORS

Because the Regulator produces a fixed voltage (no Gain applied to a varying input signal), all errors will be categorized as Offset Errors.

 

REFERENCE VOLTAGE  (Vref)

The regulator's output voltage can be described by

pic

To calculate the Sensitivity of vo to Vref, we'll leverage a handy tool named superposition (set Iref=0) and solve for vo/vref.

pic

Now, given an actual error (Vref = 200mV for example), the output error becomes

pic

Description Initial Errors Drift Errors
Error Source: e Vref = 50mV Vref _TC = 50uV/C
Pick Analysis Node: Va vo vo
Calc Sensitivity: S
How does e impact Va?
S = vo / vref
  = R2/R1+1
  = 4.0
S = 4.0
Calc Offset Error at Analysis Node
  Initial:  Voffset = e * S
  Drift:   Voffset = e * T * S
Voffset
 = 50mV * 4
 = 200mV
Voffset
 = 50uV/C * 30C * 4
 = 1.5 mV
Calc Gain from
Analysis Node to Output:
  Ka = Vo / Va
Ka = 1 Ka = 1
Calc Error RTO
(Referred-to-Output):
  voffset_RTO = voffset * Ka
voffset_RT0
 = 200mV * 1
 = 200mV
voffset_RTI
 = 1.5mV / 5
 = 0.3mV

 

REFERENCE CURRENT  (Iref)

The output voltage can be described by

pic

To calculate the Sensitivity of vo to Iref, we'll again leverage superposition (set Vref=0) and solve for vo/Iref.

pic

Description Initial Errors Drift Errors
Error Source: e ∆Iref = 50uA ∆Iref _TC = 5uA/C
Pick Analysis Node: Va vo vo
Calc Sensitivity: S
How does e impact Va?
S = vo / iref
  = 1500
S = 1500
Calc Offset Error at Analysis Node
  Initial:  Voffset = e * S
  Drift:   Voffset = e * T * S
Voffset
 = 50uA * 1500
 = 20mV
Voffset
 = 5uA/C * 30C * 1500
 = 1.5 mV
Calc Gain from
Analysis Node to Output:
  Ka = Vo / Va
Ka = 1 Ka = 1
Calc Error RTO
(Referred-to-Output):
  voffset_RTO = voffset * Ka
voffset_RT0
 = 200mV * 1
 = 200mV
voffset_RTI
 = 1.5mV * 1
 = 0.3mV

 

RESISTOR (R1)

The output voltage is a function of R1

pic

To calculate the Sensitivity, we'll increment R1 by a small amount to find how a change in R1 causes a change in vo.

pic

Then, calculating S given a change in R1 (as a ratio) is simply

pic
 

Description Initial Errors Drift Errors
Error Source: e R2_Tol
 = 0.1%
R1_TC
  = 100ppm/C
  = 0.0001%/C
Pick Analysis Node: Va vo vo
Calc Sensitivity: S
How does e impact Gain vo?

Apply Difference Method:
 S = ∆vo / (∆R/R)
vo=Vref*(R2/R1+1)
      +Iref*R2
vo'=
Vref*(R2/(R1*1.01)+1)
      +Iref*R2

∆vo=vo'-vo
∆R/R = 0.01

S = ∆vo / (∆R/R)
   = +4000
S = 0.5
Calc Offset Error at Analysis Node
  Initial:  Voffset = e * S
  Drift:   Voffset = e * T * S
Voffset
 = 50uA * 1500
 = 20mV
Voffset
 = 5uA/C * 30C * 1500
 = 1.5 mV
Calc Gain from
Analysis Node to Output:
  Ka = Vo / Va
Ka = 1 Ka = 1
Calc Error RTO
(Referred-to-Output):
  voffset_RTO = voffset*Ka
voffset_RT0
 = 200mV * 1
 = 200mV
voffset_RTI
 = 1.5mV * 1
 = 0.3mV

 

RESISTOR (R2)

The output voltage is a function of R2

pic

To calculate the Sensitivity, we'll increment R2 by a small amount to find how a change in R2 causes a change in vo.

pic

Then, calculating S given a change in R2 (as a ratio) is simply

pic
 

 

SUMMARY

Let's review the Errors from the Offset Error sheet.

Description Initial Drift
OFFSET ERRORS    
U1 Vref
   
R1
R2
   

Total noise must be calculated using Root Sum Squares (RSS).

Does the Total Noise Error (peak) fly under the Max Error Budget?

NOISE VS. APP NOTE?

 

EBA WITH EXCEL

An Excel file was created to implement the error budget analysis.

      pic

3 Worksheets

Worksheet Enter Calculate
CIRCUIT CALC Circuit values Signal gains, levels and error sensitivities (S)
OFFSET Offset error sources Offset errors and totals
GAIN Gain error sources Gain errors and totals

While 3 worksheets seems over-the-top for smaller circuits, you'll find a big advantage when analyzing more complex circuits or multi-stage systems!
 

Try the Excel file:  amp1-noise.xlsx
  Right Click on the filename, select "Save link as...".

TRY IT!

REFERENCES

  1. Noise Calculations of Op-Amp Circuits, Application Note, Renesas Electronics.
  2. ISL28136, Precision, Rail-to-Rail, Op Amp Datasheet, Renesas Electronics.
  3. Tolerance Design of Electronic Circuits, Robert Spence, Randeep Soin, World Scientific Publishing.

 

For in-depth tutorials and more circuits, go to EBA Series