# Patent

## Title
Voltage reference circuit based on temperature compensation

## Abstract

The present invention pertains to a voltage reference circuit based on temperature compensation, comprising positive and negative temperature coefficient generating units, temperature compensation circuit, image circuit and voltage divider. In this circuit, Item T is compensated with Item T, and Item T ln(T) is compensated by Item T in (T), which features a well-targeted compensation performance. The circuit outputs a reference voltage with zero temperature coefficient, which is independent to T and T ln (T). The output voltage value could be defined by adjusting the ratio of resistance in voltage divider. The invention provides a voltage reference circuit featuring good compensation, zero temperature coefficient and adjustable output voltage. The invention has a better compensation than the conventional one and a fixed output voltage, and it totally eliminates the temperature coefficient. The invention has wide application in analog IC and digital/analog mixed IC.

## Background
This application is a National Stage Application of PCT/CN2011/078830, filed 24 Aug. 2011, which claims benefit of Serial No. 201110216587.6, filed 29 Jul. 2011 in China and which applications are incorporated herein by reference. To the extent appropriate, a claim of priority is made to each of the above disclosed applications.
TECHNICAL FIELD
The present invention relates to a voltage reference circuit, specifically a voltage reference circuit based on temperature compensation, applicable for analog IC's and ditigal-analog mixed IC's where reference voltage with low temperature coefficient is required.
BACKGROUND ART
A voltage reference circuit with low temperature coefficient is an essential part for analog IC. The circuit generates low temperature coefficient voltage by weighted summing of positive and negative temperature coefficient voltages to reduce variation of the reference voltage with temperature. The conventional voltage reference is generated by weighted summing of difference in PN junction voltages of bipolar transistors with positive and negative temperature coefficients, as shown in FIG. 1 (the temperature coefficient of resistor is neglected), and operational amplifier AO enables voltages at g0 and f0) to be equal, as ICQ10R30=ICQ20R20, then:




  
    
      
        
          V
          REF
        
        =
        
          
            V
            
              BE
              
                Q
                ⁢
                
                  
                
                ⁢
                10
              
            
          
          +
          
            Δ
            ⁢
            
              
            
            ⁢
            
              
                V
                
                  BE
                  
                    
                      Q
                      ⁢
                      
                        
                      
                      ⁢
                      10
                    
                    ,
                    
                      Q
                      ⁢
                      
                        
                      
                      ⁢
                      20
                    
                  
                
              
              ·
              
                
                  R
                  20
                
                
                  R
                  10
                
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




Where VBE is PN junction voltage of bipolar transistor Q10, and ΔVBEQ10,Q20 is the PN junction voltage difference between Q10 and Q20.




  
    
      
        
          V
          BE
        
        =
        
          
            
              V
              T
            
            ⁢
            ln
            ⁢
            
              
            
            ⁢
            
              (
              
                
                  I
                  C
                
                
                  I
                  S
                
              
              )
            
          
          =
          
            
              kT
              q
            
            ⁢
            
              ln
              (
              
                
                  I
                  C
                
                
                  b
                  ·
                  
                    T
                    2.5
                  
                  ·
                  
                    e
                    
                      
                        -
                        
                          E
                          g
                        
                      
                      kT
                    
                  
                
              
              )
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




Where k is Boltzmann constant, T is absolute temperature, q is the quantity of electron, IC is the collector current of bipolar transistor, b is a proportional coefficient and Eg is Si bandgap energy.
From Equation (2), the following could be derived:




  
    
      
        
          Δ
          ⁢
          
            
          
          ⁢
          
            V
            
              BE
              
                
                  Q
                  ⁢
                  
                    
                  
                  ⁢
                  10
                
                ,
                
                  Q
                  ⁢
                  
                    
                  
                  ⁢
                  20
                
              
            
          
        
        =
        
          
            
              
                V
                T
              
              ⁢
              
                ln
                ⁡
                
                  (
                  
                    
                      I
                      
                        C
                        
                          Q
                          ⁢
                          
                            
                          
                          ⁢
                          10
                        
                      
                    
                    
                      I
                      S
                    
                  
                  )
                
              
            
            -
            
              
                V
                T
              
              ⁢
              
                ln
                ⁡
                
                  (
                  
                    
                      I
                      
                        C
                        
                          Q
                          ⁢
                          
                            
                          
                          ⁢
                          20
                        
                      
                    
                    
                      
                        n
                        0
                      
                      ⁢
                      
                        I
                        S
                      
                    
                  
                  )
                
              
            
          
          =
          
            
              
                V
                T
              
              ⁢
              
                ln
                ⁡
                
                  (
                  
                    
                      n
                      0
                    
                    ⁢
                    
                      
                        I
                        
                          C
                          
                            Q
                            ⁢
                            
                              
                            
                            ⁢
                            10
                          
                        
                      
                      
                        I
                        
                          C
                          
                            Q
                            ⁢
                            
                              
                            
                            ⁢
                            20
                          
                        
                      
                    
                  
                  )
                
              
            
            =
            
              
                
                  k
                  ⁢
                  
                    
                  
                  ⁢
                  
                    ln
                    ⁡
                    
                      (
                      
                        
                          n
                          0
                        
                        ⁢
                        
                          
                            R
                            20
                          
                          
                            R
                            30
                          
                        
                      
                      )
                    
                  
                
                q
              
              ·
              T
            
          
        
      
    
    
      
        (
        3
        )
      
    
  




Where k is Boltzmann constant, T is absolute temperature, q is the quantity of electron, n0 is the ratio of the number of bipolar transistor Q20 to Q10.
From Equation (2) & (3), the following could be derived:




  
    
      
        
          
            V
            
              BE
              
                Q
                ⁢
                
                  
                
                ⁢
                10
              
            
          
          =
          
            
              
                E
                g
              
              q
            
            +
            
              
                kT
                q
              
              ⁢
              
                ln
                ⁡
                
                  (
                  
                    I
                    
                      C
                      
                        Q
                        ⁢
                        
                          
                        
                        ⁢
                        10
                      
                    
                  
                  )
                
              
            
            -
            
              
                
                  2.5
                  ⁢
                  k
                
                q
              
              ⁢
              T
              ⁢
              
                
              
              ⁢
              
                ln
                ⁡
                
                  (
                  T
                  )
                
              
            
            -
            
              
                
                  k
                  ⁢
                  
                    
                  
                  ⁢
                  
                    ln
                    ⁡
                    
                      (
                      b
                      )
                    
                  
                
                q
              
              ⁢
              T
            
          
        
        ⁢
        
          

        
        ⁢
        Where
      
    
    
      
        (
        4
        )
      
    
  
  
    
      
        
          
            I
            
              C
              
                Q
                ⁢
                
                  
                
                ⁢
                10
              
            
          
          =
          
            
              
                
                  I
                  
                    C
                    
                      Q
                      ⁢
                      
                        
                      
                      ⁢
                      20
                    
                  
                
                ⁢
                
                  R
                  20
                
              
              
                R
                30
              
            
            =
            
              
                
                  
                    Δ
                    ⁢
                    
                      
                    
                    ⁢
                    
                      V
                      
                        BE
                        
                          
                            Q
                            ⁢
                            
                              
                            
                            ⁢
                            10
                          
                          ,
                          
                            Q
                            ⁢
                            
                              
                            
                            ⁢
                            20
                          
                        
                      
                    
                  
                  
                    R
                    10
                  
                
                ·
                
                  
                    R
                    20
                  
                  
                    R
                    30
                  
                
              
              =
              
                
                  
                    
                      kR
                      20
                    
                    ⁢
                    
                      ln
                      ⁡
                      
                        (
                        
                          
                            n
                            0
                          
                          ⁢
                          
                            
                              R
                              20
                            
                            
                              R
                              30
                            
                          
                        
                        )
                      
                    
                  
                  
                    
                      qR
                      10
                    
                    ⁢
                    
                      R
                      30
                    
                  
                
                ·
                T
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          Then
          ,
        
      
    
    
      
        (
        5
        )
      
    
  
  
    
      
        
          V
          
            BE
            
              Q
              ⁢
              
                
              
              ⁢
              10
            
          
        
        =
        
          
            
              E
              g
            
            q
          
          +
          
            
              
                k
                ⁢
                
                  
                
                ⁢
                
                  ln
                  (
                  
                    
                      
                        kR
                        20
                      
                      ⁢
                      
                        ln
                        ⁡
                        
                          (
                          
                            
                              n
                              0
                            
                            ⁢
                            
                              
                                R
                                20
                              
                              
                                R
                                30
                              
                            
                          
                          )
                        
                      
                    
                    
                      
                        qbR
                        10
                      
                      ⁢
                      
                        R
                        30
                      
                    
                  
                  )
                
              
              q
            
            ·
            T
          
          -
          
            
              
                
                  1.5
                  ⁢
                  k
                
                q
              
              ·
              T
            
            ⁢
            
              
            
            ⁢
            
              ln
              ⁡
              
                (
                T
                )
              
            
          
        
      
    
    
      
        (
        6
        )
      
    
  




From Equations (1),(3) and (6):




  
    
      
        
          V
          REF
        
        =
        
          
            
              E
              g
            
            q
          
          +
          
            
              
                k
                ⁢
                
                  
                
                ⁢
                
                  ln
                  (
                  
                    
                      
                        
                          
                            kR
                            20
                          
                          ⁡
                          
                            (
                            
                              
                                n
                                0
                              
                              ⁢
                              
                                
                                  R
                                  20
                                
                                
                                  R
                                  30
                                
                              
                            
                            )
                          
                        
                        
                          
                            R
                            20
                          
                          
                            R
                            10
                          
                        
                      
                      ⁢
                      
                        ln
                        ⁡
                        
                          (
                          
                            
                              n
                              0
                            
                            ⁢
                            
                              
                                R
                                20
                              
                              
                                R
                                30
                              
                            
                          
                          )
                        
                      
                    
                    
                      
                        qbR
                        10
                      
                      ⁢
                      
                        R
                        30
                      
                    
                  
                  )
                
              
              q
            
            ·
            T
          
          -
          
            
              
                
                  1.5
                  ⁢
                  k
                
                q
              
              ·
              T
            
            ⁢
            
              
            
            ⁢
            
              ln
              ⁡
              
                (
                T
                )
              
            
          
        
      
    
    
      
        (
        7
        )
      
    
  




It can be seen from Equations (3) and (6), ΔVBEQ10,Q20 is related to T, and VBEQ10 is not only relevant to T, but also to T ln(T). Therefore, when ΔVBEQ10,Q20 is added to VBEQ10, only T-related item can be used to compensate for T ln(T)-related item, as shown in Equation (7). For conventional voltage reference circuits, the reference voltage VREF is always associated to T and T ln(T), which means that the temperature coefficient of the reference voltage can never be fully eliminated. Temperature coefficient of the conventional voltage reference source using standard process technology is 40 ppm/° C., namely, in the temperature range from −40° C. to 85° C., variation of the reference voltage can be calculated from:

40 ppm/° C.×[85° C.−(−40° C.)]×100%=0.5% .

Therefore, a voltage reference circuit with zero-temperature coefficient based on temperature compensation is required to eliminate effects of T and T ln(T) and solve the problem of inability of temperature coefficient elimination due to the dependence of output reference voltage from the conventional voltage reference source on T and T ln(T).
Contents of Invention
The object of the present invention is to eliminate effects of T and T ln(T) and generate reference voltage with zero-temperature coefficient based on temperature compensation, so as to solve the problem of inability of temperature coefficient elimination due to the dependence of output reference voltage from the conventional voltage reference source on T and T ln(T).
The present invention accomplishes the object in the following way:
The present invention presents a voltage reference circuit based on temperature compensation, which comprises a positive temperature coefficient generating unit, a negative temperature coefficient generating unit, temperature compensaion circuit, mirror circuit and voltage divider circuit;
The positive temperature coefficient generating unit generates a positive temperature coefficient voltage with Item T ln (T), and outputs a positive temperature coefficient current with both Items T and T In (T);
The negative temperature coefficient generating unit generates positive temperature coefficient voltage with both Items T and T ln (T), and outputs positive temperature coefficient current with Item T;
The temperature compensation circuit converts the positive temperature coefficient current with both Items T and T ln (T) into positive temperature coefficient voltage with both Items T and T ln (T), and compensates the negative temperature coefficient voltage with both Items T and T ln (T) from negative temperature coefficient generating unit. The negative temperature coefficient generating unit, together with temperature compensation circuit, generates reference voltage with zero temperature coefficient;
Where T is absolute temperature;
The mirror circuit multiplies output current from the negative temperature coefficient generating unit by a factor of m, which is then input to the positive temperature coefficient generating unit;
The voltage divider adjusts output voltage and defines operating voltage of both positive and negative temperature coefficient generating units.
Furthermore, the temperature compensation circuit comprises resistor R5, the positive temperature coefficient generating unit comprises operational amplifier A1, bipolar transistors Q3 and Q4, resistors R6 and R4, where the positive input of A1 is connected to the base of Q4, while the negative input of A1 is connected to the collector of Q4, and the output of A1 is connected to the emitter of Q4, one end of R6 is connected to the negative input of A1 and the collector of Q4, and the other end of R6 is grounded, between emitters of both Q4 and Q3 is R4, the collector of Q3 is connected to mirror circuit, and the base of Q3 is connected to the base of Q4;
Furthermore, the negative temperature coefficient generating unit comprises operational amplifier A2, bipolar transistors Q1 and Q2, and resistors R1, R2 and R3, where the emitter of Q1 is connected to the positive input of A2, which is connected to R3, the emitter of Q2 is connected via R1 with the negative input of A2, which is connected to R2, the output of A2 is connected to resistor R5, of which the other end is connected with R2 and R3, the other end of R2 is connected to the emitter of Q3, collectors of both Q1 and Q2 are connected with mirror circuit, and the output of A2 is connected to voltage divider;
Furthermore, the mirror circuit comprises the first NMOS transistor M1 and the second NMOS transistor M2, of which the sources are grounded, the gates of both M1 and M2 are connected together, the gate of M2 is connected to its drain, the drain of Ml is connected to the collector of Q3, and the gate of M2 is connected to collectors of both Q1 and Q2;
Furthermore, the voltage divider comprises resistors R7 and R8, where R8 is connected with the output of operational amplifier A2, while the other end of R8 is connected with R7 and bases of Q1, Q2, Q3 and Q4, the other end of R7 is connected to the sources of M1 and M2, and the connection nodes of operational amplifier A2 with R5 and R8 are the output ports, Vo, of the voltage reference circuit;
Furthermore, the output reference voltage value is determined by the ratio of R7 to R8: Vo=(Eg/q)·(1+R7/R8) where (Eg/q) is Si bandgap voltage. Different output reference voltages can be obtained by adjusting the ratio of R7 to R8.
Furthermore, R4 and R5 has the following relation:




  
    
      
        R
        5
      
      
        R
        4
      
    
    =
    
      3
      2
    
  
  ;




Furthermore, the negative temperature coefficient generating unit comprises at least one bipolar transistor Q1 and at least one bipolar transistor Q2, and the ratio of the number of Q2 to Q1 is n. The positive temperature coefficient generating unit comprises at least one bipolar transistor Q3 and at least one bipolar transistor Q4, and the ratio of the number of Q4 to Q3 is p. The mirror circuit comprises at least one first NMOS transistor M1 and one second NMOS transistor M2, where n>1 and p>1.
Compared with the conventional voltage reference source, the voltage reference circuit based on temperature compensation in this invention features:
1 . The conventional voltage reference uses Item T to compensate Item T ln(T), while the present invention uses Item T to compensate Items T, and T ln (T) to compensate T ln (T), which makes the compensation more specific.
2 . In the conventional voltage reference circuit, Item T ln(T) is compensated by Item T, so the output reference voltage is ralated to both T and T ln(T), which makes it impossible to completely eliminate temperature coefficient (about 40 ppm/° C.). The present invention outputs a reference voltage independent to T and T ln(T), so, it is capable of delivering a reference voltage with zero-temperature coefficient.
3 . The output voltage range of the conventional voltage reference circuit is the bandgap voltage of silicon, therefore, the output voltage is a fixed value. The present invenion offers a voltage reference Vo=(Eg/q)·(1+R7/R8), which is defined flexibly by adjusting the ratio of resistor R7 to R8, so the circuit is capable of delivering any output voltage value within a certain range.
To sum up, the present invention has the advantages of well-targeted compensation, zero-temperature coefficient and adjustable output voltage values.
Other advantages, objects and features of the present invention will be elaborated in the subsequent embodiments, and may be best understood by referring to the following description of the presently preferred embodiments, together with the accompanying drawings.



DESCRIPTION OF DRAWINGS
To better understand the objects, technologies and advantages of the present invention, the accompanying drawings are referred to for further description, wherein:
FIG. 1 is a diagram of the conventional voltage reference circuit;
FIG. 2 is a diagram of Embodiment 1 of the voltage reference circuit based on temperature compensation in the present invention;
FIG. 3 is a diagram of Embodiment 2 of the voltage reference circuit based on temperature compensation in the present invention;
FIG. 4 is a diagram of Embodiment 3 of the voltage reference circuit based on temperature compensation in the present invention;
FIG. 5 is a diagram of embodiment 4 of the voltage reference circuit based on temperature compensation in the present invention.



SPECIFIC MODE FOR CARRYING OUT THE INVENTION
The embodiments of the present invention are described in detail and illustrated with attached drawings. It should be understand the following embodiments are only intended to illustrate the invention, not to limit the claims.
Embodiment 1
FIG. 2 is the diagram of Embodiment 1 of the voltage reference circuit based on temperature compensation in the present invention, as shown in FIG. 2: the present invention provides a voltage reference circuit based on temperature compensation, comprising a positive temperature coefficient generating unit 1, a negative temperature coefficient generating unit 2, a temperature compensation circuit 3, mirror circuit 4 and a voltage divider 5;
The positive temperature coefficient generating unit 1 generates a positive temperature coefficient voltage with Item T ln(T) and outputs a postive temperature coefficient current with Items T and T ln(T);
The negative temperature coefficient generating unit 2 generates a negative temperature coefficient voltage with Items T and T ln (T) and outputs a positive temperature coefficient current with Item T;
The temperature compensation circuit 3 converts the positive temperature coefficient current with Items T and T ln (T) into positive temperature coefficient voltage with Items T and T ln (T) and compensates the negative temperature coefficient voltage with Items T and T ln (T) from negative temperature coefficient generating unit. The negative temperature coefficient generating unit works together with temperature compensation circuit to generate reference voltage with zero temperature coefficient;
Where, T is absolute temperature;
The mirror circuit 4 multiplies the output current from the negative temperature coefficient generating unit by a factor of m, which is then input to the positive temperature coefficient generating unit;
The voltage divider 5 adjusts output voltage and defines operating voltages of both positive and negative temperature coefficient generating units.
As further improvements for above embodiment, the temperature compensation circuit comprises resistor R5, the positive temperature coefficient generating unit comprises operational amplifier Al, bipolar transistors Q3 and Q4, and resistors R6 and R4, wherein the positive input of A1 is connected to the base of Q4, the negative input of A1 is connected to the collector of Q4, the output of A1 is connected to the emitter of Q4, one end of R6 is connected to the negative input of A1 and the collector of Q4, and the other end of R6 is grounded, In between emitters of Q4 and Q3 is R4, the collector of Q3 is connected to mirror circuit, and the base of Q3 is connected with the base of Q4;
As further improvements for above embodiment, the negative temperature coefficient generating unit comprises operational amplifier A2, bipolar transistors Q1 and Q2, resistors R1, R2 and R3, wherein the emitter of Q1 is connected to the positive input of A2, which is connected to R3, the emitter of Q2 is connected via R1 with the negative input of A2, which is connecte to R5, and the other end of R5 is connected to R2 and R3, the other end of R2 is connected to the emitter of Q3, the collectors of Q1 and Q2 are connected with mirror circuit, and the output of A2 is connected to voltage divider circuit;
As further improvements for above embodiment, the mirror circuit comprises first NMOS transistor M1 and second NMOS transistor M2, wherein the source of M1 and M2 are grounded, the gate of M1 is connected to the gate of M2, the gate of M2 is connected to the drain of M2, the drain of M1 is connected with the collector of bipolar transistor Q3, and the gate of M2 is connected with collectors of bipolar transistors Q1 and Q2;
As further improvements for above embodiment, the voltage divider comprises resistors R7 and R8, wherein R8 is connected to the output of A2, the other end of R8 is connected to R7 and also to the base of Q1, Q2, Q3 and Q4, the other end of R7 is connected to the source of M1 and M2, the connectiong node of A2 with R5 and R8 is the output port, Vo, of the reference circuit;
As further improvements for above embodiment, the output reference voltage value is determined by the ratio of R7 to R8: Vo=(Eg/q)·(1+R7/R8) where (Eg/q) is the bandgap voltage of silicon. Different output reference voltages can be obtained by adjusting the ratio of R7 to R8.
As further improvements for above embodiment, R4 and R5 has the following relation:




  
    
      
        R
        5
      
      
        R
        4
      
    
    =
    
      3
      2
    
  
  ;




As further improvements for above embodiment, the negative temperature coefficient generating unit comprises at least one bipolar transistor Q1 and at least one bipolar transistor Q2, wherein the ratio of the number of Q2 to the number of Q1 is n. The positive temperature coefficient generating unit comprises at least one bipolar transistor Q3 and at least one bipolar transistor Q4, wherein the ratio of the number of Q4 to the number of Q3 is p. The mirror circuit comprises at least one first NMOS transistor M1 and at least one second NMOS transistor M2, wherein the ratio of the number of first MOS transistors M1 to the number of second NMOS transistor M2 is m, where n>1, p>1.
The present invention is described in detail, including its operational principle and embodiments:
FIG. 2 shows a whole diagram of the present invention, including two op-amps A1 and A2, four bipolar transitors Q1, Q2, Q3 and Q4, two MOS transostors M1 and M2 and eight resistors R1 to R8. Nodes a, b, c, d are connections of the base of Q4, Q3, Q2 and Q1, respectively; Node e is a common connection for R7 and R8, and it connects the base of Q4, Q3, Q2 and Q1; Node f connects the positive input of A2 with the emitter of Q1, Node g is a meeting point connecting the negative input of A2 with R1 and R1, Node h connects bipolar transistor Q4 to the negative input of A1, Nnode i is the output pport of operational amplifier A2; Connections in FIG. 2 is identical with the description of the invention content, regardless of temperature coefficient of resistors and MOS transistors, the theory of operation is as follows:
The difference betweem PN junction voltage of bipolar transistors Q1 and Q2 results in a positive temperature coefficient voltage with Item T, the operational amplifier A2 causes voltages at Nodes f and g to be equal, so the voltage on R1 is:




  
    
      
        
          V
          
            R
            ⁢
            
              
            
            ⁢
            1
          
        
        =
        
          
            Δ
            ⁢
            
              
            
            ⁢
            
              V
              
                
                  BE
                  ⁢
                  
                    
                  
                  ⁢
                  1
                
                ,
                2
              
            
          
          =
          
            
              
                
                  V
                  T
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    
                      
                        I
                        
                          Q
                          ⁢
                          
                            
                          
                          ⁢
                          1
                        
                      
                      
                        I
                        s
                      
                    
                    )
                  
                
              
              -
              
                
                  V
                  T
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    
                      
                        I
                        
                          Q
                          ⁢
                          
                            
                          
                          ⁢
                          2
                        
                      
                      
                        nI
                        s
                      
                    
                    )
                  
                
              
            
            =
            
              
                
                  V
                  T
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    
                      n
                      ·
                      
                        
                          R
                          2
                        
                        
                          R
                          3
                        
                      
                    
                    )
                  
                
              
              =
              
                
                  
                    k
                    ·
                    
                      ln
                      ⁡
                      
                        (
                        
                          n
                          ·
                          
                            
                              R
                              2
                            
                            
                              R
                              3
                            
                          
                        
                        )
                      
                    
                  
                  q
                
                ·
                T
              
            
          
        
      
    
    
      
        (
        8
        )
      
    
  




Where n is the ratio of the number of bipolar transistor Q2 to the number of bipolar transistor Q1.
The difference between PN junction voltage of bipolar transistors Q3 and Q4 results in a positive temperature coefficient voltage with Items T and T ln(T), e.g. voltage on R4:




  
    
      
        
          V
          
            R
            ⁢
            
              
            
            ⁢
            4
          
        
        =
        
          
            Δ
            ⁢
            
              
            
            ⁢
            
              V
              
                
                  BE
                  ⁢
                  
                    
                  
                  ⁢
                  3
                
                ,
                4
              
            
          
          =
          
            
              
                V
                T
              
              ⁢
              
                ln
                ⁡
                
                  (
                  
                    p
                    ·
                    
                      
                        I
                        
                          Q
                          ⁢
                          
                            
                          
                          ⁢
                          3
                        
                      
                      
                        I
                        
                          Q
                          ⁢
                          
                            
                          
                          ⁢
                          4
                        
                      
                    
                  
                  )
                
              
            
            =
            
              
                kT
                q
              
              ⁢
              
                ln
                ⁡
                
                  (
                  
                    p
                    ·
                    
                      
                        I
                        
                          Q
                          ⁢
                          
                            
                          
                          ⁢
                          3
                        
                      
                      
                        I
                        
                          Q
                          ⁢
                          
                            
                          
                          ⁢
                          4
                        
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




Operational amplifier Al makes voltages at Nodes a and h equal, neglecting the base current of all bipolar transistors, the voltage on R6 is:




  
    
      
        
          
            V
            
              R
              ⁢
              
                
              
              ⁢
              6
            
          
          =
          
            
              V
              
                R
                ⁢
                
                  
                
                ⁢
                7
              
            
            =
            
              
                
                  R
                  7
                
                
                  
                    R
                    8
                  
                  +
                  
                    R
                    7
                  
                
              
              ·
              
                V
                O
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          Then
          ,
        
      
    
    
      
        (
        10
        )
      
    
  
  
    
      
        
          I
          
            Q
            ⁢
            
              
            
            ⁢
            4
          
        
        =
        
          
            I
            
              R
              ⁢
              
                
              
              ⁢
              6
            
          
          =
          
            
              
                R
                7
              
              
                
                  (
                  
                    
                      R
                      8
                    
                    +
                    
                      R
                      7
                    
                  
                  )
                
                ⁢
                
                  R
                  6
                
              
            
            ·
            
              V
              O
            
          
        
      
    
    
      
        (
        11
        )
      
    
  




The current mirror consisting of the first NMOS transistor M1 and second NMOS transistor M2 multiplies the sum of current at collectors of bipolar transistors Q1 and Q2 by a factor of m, which is used as the collector current of bipolar transistor Q3:




  
    
      
        
          I
          
            Q
            ⁢
            
              
            
            ⁢
            3
          
        
        =
        
          
            m
            ·
            
              (
              
                
                  I
                  
                    Q
                    ⁢
                    
                      
                    
                    ⁢
                    1
                  
                
                +
                
                  I
                  
                    Q
                    ⁢
                    
                      
                    
                    ⁢
                    2
                  
                
              
              )
            
          
          =
          
            
              m
              ·
              
                (
                
                  1
                  +
                  
                    
                      R
                      2
                    
                    
                      R
                      3
                    
                  
                
                )
              
            
            ⁢
            
              I
              
                Q
                ⁢
                
                  
                
                ⁢
                2
              
            
          
        
      
    
    
      
        (
        12
        )
      
    
  




According to Equation (8):




  
    
      
        
          I
          
            Q
            ⁢
            
              
            
            ⁢
            2
          
        
        =
        
          
            
              V
              
                R
                ⁢
                
                  
                
                ⁢
                1
              
            
            
              R
              1
            
          
          =
          
            
              
                k
                ·
                
                  ln
                  ⁡
                  
                    (
                    
                      n
                      ·
                      
                        
                          R
                          2
                        
                        
                          R
                          3
                        
                      
                    
                    )
                  
                
              
              
                q
                ·
                
                  R
                  1
                
              
            
            ·
            T
          
        
      
    
    
      
        (
        13
        )
      
    
  




According to Equations (12) and (13):




  
    
      
        
          
            I
            
              Q
              ⁢
              
                
              
              ⁢
              3
            
          
          =
          
            
              
                
                  m
                  ·
                  k
                  ·
                  
                    ln
                    ⁡
                    
                      (
                      
                        n
                        ·
                        
                          
                            R
                            2
                          
                          
                            R
                            3
                          
                        
                      
                      )
                    
                  
                
                
                  q
                  ·
                  
                    R
                    1
                  
                
              
              ·
              
                (
                
                  1
                  +
                  
                    
                      R
                      2
                    
                    
                      R
                      3
                    
                  
                
                )
              
              ·
              T
            
            =
            
              
                α
                1
              
              ·
              T
            
          
        
        ⁢
        
          

        
        ⁢
        Where
      
    
    
      
        (
        14
        )
      
    
  
  
    
      
        
          α
          1
        
        =
        
          
            
              m
              ·
              k
              ·
              
                ln
                ⁡
                
                  (
                  
                    n
                    ·
                    
                      
                        R
                        2
                      
                      
                        R
                        3
                      
                    
                  
                  )
                
              
            
            
              q
              ·
              
                R
                1
              
            
          
          ·
          
            (
            
              1
              +
              
                
                  R
                  2
                
                
                  R
                  3
                
              
            
            )
          
        
      
    
    
      
        (
        15
        )
      
    
  




According to Equations (9), (11) and (14):




  
    
      
        
          I
          
            R
            ⁢
            
              
            
            ⁢
            4
          
        
        =
        
          
            
              V
              
                R
                ⁢
                
                  
                
                ⁢
                4
              
            
            
              R
              4
            
          
          =
          
            
              
                
                  k
                  
                    qR
                    4
                  
                
                ⁡
                
                  [
                  
                    
                      ln
                      ⁡
                      
                        (
                        
                          
                            
                              α
                              1
                            
                            ·
                            p
                            ·
                            
                              R
                              6
                            
                            ·
                            
                              (
                              
                                
                                  R
                                  8
                                
                                +
                                
                                  R
                                  7
                                
                              
                              ⁢
                              
                                
                              
                              )
                            
                          
                          
                            
                              R
                              7
                            
                            ·
                            
                              V
                              O
                            
                          
                        
                        )
                      
                    
                    +
                    
                      ln
                      ⁡
                      
                        (
                        T
                        )
                      
                    
                  
                  ]
                
              
              ·
              T
            
            =
            
              
                
                  α
                  2
                
                ·
                T
              
              +
              
                
                  
                    α
                    3
                  
                  ·
                  T
                
                ⁢
                
                  
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    T
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        16
        )
      
    
  
  
    
      
        
          
        
        ⁢
        Where
      
    
    
      
        
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            α
            2
          
          =
          
            
              k
              
                qR
                4
              
            
            ·
            
              ln
              ⁡
              
                (
                
                  
                    
                      α
                      1
                    
                    ·
                    p
                    ·
                    
                      R
                      6
                    
                    ·
                    
                      (
                      
                        
                          R
                          8
                        
                        +
                        
                          R
                          7
                        
                      
                      )
                    
                  
                  
                    
                      R
                      7
                    
                    ·
                    
                      V
                      O
                    
                  
                
                )
              
            
          
        
      
    
    
      
        (
        17
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            α
            3
          
          =
          
            k
            
              qR
              4
            
          
        
      
    
    
      
        (
        18
        )
      
    
  




According to Equations (12), (14) and (16), the current on R5 is:




  
    
      
        
          I
          
            R
            ⁢
            
              
            
            ⁢
            5
          
        
        =
        
          
            
              I
              
                Q
                ⁢
                
                  
                
                ⁢
                1
              
            
            +
            
              I
              
                Q
                ⁢
                
                  
                
                ⁢
                2
              
            
            +
            
              I
              
                Q
                ⁢
                
                  
                
                ⁢
                3
              
            
            +
            
              I
              
                R
                ⁢
                
                  
                
                ⁢
                4
              
            
          
          =
          
            
              
                (
                
                  
                    
                      
                        m
                        +
                        1
                      
                      m
                    
                    ·
                    
                      α
                      1
                    
                  
                  +
                  
                    α
                    2
                  
                
                )
              
              ·
              T
            
            +
            
              
                
                  α
                  3
                
                ·
                T
              
              ⁢
              
                
              
              ⁢
              
                ln
                ⁡
                
                  (
                  T
                  )
                
              
            
          
        
      
    
    
      
        (
        19
        )
      
    
  




Bipolar transistor Q1 generates a PN junction voltage with negative temperature coefficient containing Items T and T ln (T). According to Equation (4), the PN junction voltage of bipolar transistor Q1 is:




  
    
      
        
          
            V
            
              BE
              
                Q
                ⁢
                
                  
                
                ⁢
                1
              
            
          
          =
          
            
              
                V
                T
              
              ⁢
              
                ln
                ⁡
                
                  (
                  
                    
                      I
                      
                        Q
                        ⁢
                        
                          
                        
                        ⁢
                        1
                      
                    
                    
                      I
                      s
                    
                  
                  )
                
              
            
            =
            
              
                
                  E
                  g
                
                q
              
              +
              
                
                  kT
                  q
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    
                      I
                      
                        Q
                        ⁢
                        
                          
                        
                        ⁢
                        1
                      
                    
                    )
                  
                
              
              -
              
                
                  
                    2.5
                    ⁢
                    k
                  
                  q
                
                ⁢
                T
                ⁢
                
                  
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    T
                    )
                  
                
              
              -
              
                
                  
                    k
                    ⁢
                    
                      
                    
                    ⁢
                    
                      ln
                      ⁡
                      
                        (
                        b
                        )
                      
                    
                  
                  q
                
                ⁢
                T
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        Where
      
    
    
      
        (
        20
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              I
              
                Q
                ⁢
                
                  
                
                ⁢
                1
              
            
            =
            
              
                
                  R
                  2
                
                
                  R
                  3
                
              
              ⁢
              
                I
                
                  Q
                  ⁢
                  
                    
                  
                  ⁢
                  2
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            The
            ⁢
            
              
            
            ⁢
            voltage
            ⁢
            
              
            
            ⁢
            on
            ⁢
            
              
            
            ⁢
            R
            ⁢
            
              
            
            ⁢
            8
            ⁢
            
              
            
            ⁢
            is
            ⁢
            
              :
            
          
        
      
    
    
      
        (
        21
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            V
            
              R
              ⁢
              
                
              
              ⁢
              8
            
          
          =
          
            
              
                V
                
                  BE
                  
                    Q
                    ⁢
                    
                      
                    
                    ⁢
                    1
                  
                
              
              +
              
                V
                
                  R
                  ⁢
                  
                    
                  
                  ⁢
                  3
                
              
              +
              
                V
                
                  R
                  ⁢
                  
                    
                  
                  ⁢
                  5
                
              
            
            =
            
              
                V
                
                  BE
                  
                    Q
                    ⁢
                    
                      
                    
                    ⁢
                    1
                  
                
              
              +
              
                
                  I
                  
                    Q
                    ⁢
                    
                      
                    
                    ⁢
                    2
                  
                
                ·
                
                  R
                  2
                
              
              +
              
                
                  I
                  
                    R
                    ⁢
                    
                      
                    
                    ⁢
                    5
                  
                
                ·
                
                  R
                  5
                
              
            
          
        
      
    
    
      
        (
        22
        )
      
    
  




Where VR3 is the positive temperature coefficient voltage for R3 , and VR5 is the positive temperature coefficient voltage containing Items T and T ln (T).
According to Equations (13) and (19)-(22),




  
    
      
        
          
            
              
                V
                
                  R
                  ⁢
                  
                    
                  
                  ⁢
                  8
                
              
              =
              
              ⁢
              
                
                  
                    E
                    g
                  
                  q
                
                +
                
                  
                    k
                    q
                  
                  ⁢
                  
                    
                      ln
                      (
                      
                        
                          
                            R
                            2
                          
                          
                            R
                            3
                          
                        
                        ⁢
                        
                          
                            k
                            ·
                            
                              l
                              ⁡
                              
                                (
                                
                                  n
                                  ·
                                  
                                    
                                      R
                                      2
                                    
                                    
                                      R
                                      3
                                    
                                  
                                
                                )
                              
                            
                          
                          
                            q
                            ·
                            
                              R
                              1
                            
                          
                        
                      
                      )
                    
                    ·
                    T
                  
                
                -
                
                  
                    
                      
                        1.5
                        ⁢
                        k
                      
                      q
                    
                    ·
                    T
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    ln
                    ⁡
                    
                      (
                      T
                      )
                    
                  
                
                -
                
                  
                    
                      k
                      ⁢
                      
                        
                      
                      ⁢
                      
                        ln
                        ⁡
                        
                          (
                          b
                          )
                        
                      
                    
                    q
                  
                  ·
                  T
                
                +
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    R
                    2
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      
                        k
                        ·
                        
                          ln
                          ⁡
                          
                            (
                            
                              n
                              ·
                              
                                
                                  R
                                  2
                                
                                
                                  R
                                  3
                                
                              
                            
                            )
                          
                        
                      
                      
                        q
                        ·
                        
                          R
                          1
                        
                      
                    
                    ·
                    T
                  
                
                +
                
                  
                    (
                    
                      
                        
                          
                            m
                            +
                            1
                          
                          m
                        
                        ·
                        
                          α
                          1
                        
                      
                      +
                      
                        α
                        2
                      
                    
                    )
                  
                  ·
                  
                    R
                    5
                  
                  ·
                  T
                
                +
                
                  
                    α
                    3
                  
                  ·
                  
                    R
                    5
                  
                  ·
                
              
            
          
        
        
          
            
              
              ⁢
              
                T
                ⁢
                
                  
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    T
                    )
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  
                    E
                    g
                  
                  q
                
                +
                
                  
                    {
                    
                      
                        
                          
                            
                              
                                
                                  
                                    
                                      k
                                      q
                                    
                                    ⁢
                                    
                                      ln
                                      (
                                      
                                        
                                          
                                            R
                                            2
                                          
                                          
                                            R
                                            3
                                          
                                        
                                        ⁢
                                        
                                          
                                            k
                                            ·
                                            
                                              ln
                                              ⁡
                                              
                                                (
                                                
                                                  n
                                                  ·
                                                  
                                                    
                                                      R
                                                      2
                                                    
                                                    
                                                      R
                                                      
                                                        3
                                                        ⁢
                                                        
                                                          
                                                        
                                                      
                                                    
                                                  
                                                
                                                )
                                              
                                            
                                          
                                          
                                            q
                                            ·
                                            
                                              R
                                              1
                                            
                                          
                                        
                                      
                                      )
                                    
                                  
                                  -
                                
                              
                            
                            
                              
                                
                                  
                                    
                                      k
                                      ⁢
                                      
                                        
                                      
                                      ⁢
                                      
                                        ln
                                        ⁡
                                        
                                          (
                                          b
                                          )
                                        
                                      
                                    
                                    q
                                  
                                  +
                                  
                                    
                                      R
                                      2
                                    
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    
                                      
                                        k
                                        ·
                                        
                                          ln
                                          ⁡
                                          
                                            (
                                            
                                              n
                                              ·
                                              
                                                
                                                  R
                                                  2
                                                
                                                
                                                  R
                                                  3
                                                
                                              
                                            
                                            )
                                          
                                        
                                      
                                      
                                        q
                                        ·
                                        
                                          R
                                          1
                                        
                                      
                                    
                                  
                                  +
                                
                              
                            
                          
                        
                      
                      
                        
                          
                            
                              (
                              
                                
                                  
                                    
                                      m
                                      +
                                      1
                                    
                                    m
                                  
                                  ·
                                  
                                    α
                                    1
                                  
                                
                                +
                                
                                  α
                                  2
                                
                              
                              )
                            
                            ·
                            
                              R
                              5
                            
                          
                        
                      
                    
                    }
                  
                  ·
                  T
                
                +
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    {
                    
                      
                        -
                        
                          
                            1.5
                            ⁢
                            k
                          
                          q
                        
                      
                      +
                      
                        
                          α
                          3
                        
                        ·
                        
                          R
                          5
                        
                      
                    
                    }
                  
                  ·
                  T
                
                ⁢
                
                  
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    T
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        23
        )
      
    
  




To make VR8 independent to temperature, coefficients before T and T ln (T) should be 0, then:




  
    
      
        
          
            
              k
              q
            
            ⁢
            
              ln
              (
              
                
                  
                    R
                    2
                  
                  
                    R
                    
                      3
                      ⁢
                      
                        
                      
                    
                  
                
                ⁢
                
                  
                    k
                    ·
                    
                      ln
                      ⁡
                      
                        (
                        
                          n
                          ·
                          
                            
                              R
                              2
                            
                            
                              R
                              3
                            
                          
                        
                        )
                      
                    
                  
                  
                    q
                    ·
                    
                      R
                      1
                    
                  
                
              
              )
            
          
          -
          
            
              k
              ⁢
              
                
              
              ⁢
              
                ln
                ⁡
                
                  (
                  b
                  )
                
              
            
            q
          
          +
          
            
              R
              2
            
            ⁢
            
              
                k
                ·
                
                  ln
                  ⁡
                  
                    (
                    
                      n
                      ·
                      
                        
                          R
                          2
                        
                        
                          R
                          3
                        
                      
                    
                    )
                  
                
              
              
                q
                ·
                
                  R
                  1
                
              
            
          
          +
          
            
              (
              
                
                  
                    
                      m
                      +
                      1
                    
                    m
                  
                  ·
                  
                    α
                    1
                  
                
                +
                
                  α
                  2
                
              
              )
            
            ·
            
              R
              5
            
          
        
        =
        0
      
    
    
      
        (
        24
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              -
              
                
                  1.5
                  ⁢
                  k
                
                q
              
            
            +
            
              
                α
                3
              
              ·
              
                R
                5
              
            
          
          =
          0
        
      
    
    
      
        (
        25
        )
      
    
  




According to Equations (18) and (25),




  
    
      
        
          
            R
            5
          
          
            R
            4
          
        
        =
        
          3
          2
        
      
    
    
      
        (
        26
        )
      
    
  




According to Equations (23), (18) and (25),




  
    
      
        
          
            V
            O
          
          ·
          
            
              R
              8
            
            
              
                R
                7
              
              +
              
                R
                8
              
            
          
        
        =
        
          
            V
            
              R
              ⁢
              
                
              
              ⁢
              8
            
          
          =
          
            
              E
              g
            
            q
          
        
      
    
    
      
        (
        27
        )
      
    
  




Where Vo is the compensated output reference voltage, and (Eg/q) is the bandgap voltage of silicon.
According to Equations (15), (17), (24) and (26),




  
    
      
        
          ln
          ⁡
          
            (
            
              R
              1
            
            )
          
        
        =
        
          
            ln
            ⁡
            
              (
              
                
                  k
                  ·
                  
                    r
                    
                      2
                      ,
                      3
                    
                  
                  ·
                  
                    l
                    ⁡
                    
                      (
                      
                        n
                        ·
                        
                          r
                          
                            2
                            ,
                            3
                          
                        
                      
                      )
                    
                  
                
                
                  q
                  ·
                  b
                
              
              )
            
          
          +
          
            
              3
              2
            
            ·
            
              ln
              ⁡
              
                [
                
                  
                    m
                    ·
                    p
                    ·
                    k
                    ·
                    
                      ln
                      ⁡
                      
                        (
                        
                          n
                          ·
                          
                            r
                            
                              2
                              ,
                              3
                            
                          
                        
                        )
                      
                    
                    ·
                    
                      (
                      
                        1
                        +
                        
                          r
                          
                            2
                            ,
                            3
                          
                        
                      
                      )
                    
                    ·
                    
                      r
                      
                        6
                        ,
                        1
                      
                    
                    ·
                    
                      r
                      
                        8
                        ,
                        7
                      
                    
                  
                  
                    E
                    g
                  
                
                ]
              
            
          
          +
          
            
              r
              
                2
                ,
                1
              
            
            ·
            
              ln
              ⁡
              
                (
                
                  n
                  ·
                  
                    r
                    
                      2
                      ,
                      3
                    
                  
                
                )
              
            
          
          +
          
            
              r
              
                5
                ,
                1
              
            
            ·
            
              (
              
                m
                +
                1
              
              )
            
            ·
            
              (
              
                1
                +
                
                  r
                  
                    2
                    ,
                    3
                  
                
              
              )
            
            ·
            
              ln
              ⁡
              
                (
                
                  n
                  ·
                  
                    r
                    
                      2
                      ,
                      3
                    
                  
                
                )
              
            
          
        
      
    
    
      
        (
        28
        )
      
    
  
  
    
      
        
          
        
        ⁢
        Where
      
    
    
      
        
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              r
              
                2
                ,
                1
              
            
            =
            
              
                R
                2
              
              
                R
                1
              
            
          
          ,
          
            
              r
              
                5
                ,
                1
              
            
            =
            
              
                R
                5
              
              
                R
                1
              
            
          
          ,
          
            
              r
              
                6
                ,
                1
              
            
            =
            
              
                R
                6
              
              
                R
                1
              
            
          
          ,
          
            
              r
              
                2
                ,
                3
              
            
            =
            
              
                R
                2
              
              
                R
                3
              
            
          
          ,
          
            
              r
              
                8
                ,
                7
              
            
            =
            
              
                R
                8
              
              
                R
                7
              
            
          
        
      
    
    
      
        (
        29
        )
      
    
  




When resistor ratio coefficient in Equation (29) is defined (theoretically, the ratio in Equation (29) can be any value, which can be chosen based on specific process for convenience of layout design), R1 can be calculated using Equation (28). Resistance values of R2, R3, R4, R5 and R6 are calculated by applying Equations (26) and (29).
The compensated output reference voltage is calculated using Equation (27):




  
    
      
        
          V
          O
        
        =
        
          
            
              E
              g
            
            q
          
          ·
          
            (
            
              1
              +
              
                
                  R
                  7
                
                
                  R
                  8
                
              
            
            )
          
        
      
    
    
      
        (
        30
        )
      
    
  




As shown in Equation (30), the Vo expression does not contain items relevant to temperature T, so the compensated output reference voltage has zero temperature coefficient; the compensated output reference voltage Vo is determined by the ratio of R7 to R3. Therefore, different output reference voltages can be achieved by adjusting the ratio of R7 to R8, where the value of R7 should be chosen such that M2 operates in saturation region and bipolar transistors Q1 to Q4 operate in amplifying area. The voltage reference circuit based on temperature compensation in the present invention is fabricated in general Si-gate BiCMOS process.
Embodiment 2
FIG. 3 is a diagram of embodiment 2 of the present invention. As shown in FIG. 3, the difference between Embodiment 1 and Embodiment 2 is as follows: resistor R1 connects the emitter of Q2, resistor R2 connects the collector of bipolar transistor Q2 and the drain of second MOS transistor M2, resistor R3 connects the collector of bipolar transistor Q1 and the drain of the second NMOS transistor M2, the positive input of operational amplifier A2 connects the collector of bipolar transistor Q1, and the negative input of operational amplifier A2 connects the collector of Q2 and resistor R2.
Embodiment 3
FIG. 4 is a diagram of Embodiment 3 of the present invention. As shown in FIG. 4, the difference between Embodiment 3 and Embodiment 2 is as follows: bipolar transistors Q1,Q2,Q3 and Q4 are NPN type; the first MOS transistor M1 and the second MOS transistor M2 are N-channel enhanced MOSFET, and the common connection for R5 and R7 are grounded.
Embodiment 4
FIG. 5 is a diagram of Embodiment 4 of the present invention. As shown in FIG. 5, the difference between Embodiment 4 and Embodiment 1 is as follows: bipolar transistors Q1, Q2, Q3 and Q4 are NPN type; the first MOS transistor M1 and the second MOS transistor M2 are N-channel enhanced MOSFET, and the common connection for R5 and R7 are grounded.
The foregoing preferred embodiments are provided to describe, not to limit, technical approaches in the present invention. Obviously, bearing the essence and concept of the present invention, technologists in this field can make various changes and modifications to the present invention. It should be understood that those changes and modifications are also covered by claims of the present invention, if they are with the same purpose and within the same scope of the present invention.

## Claims

1. A temperature compensation based voltage reference circuit, comprising a positive temperature coefficient generating unit, a negative temperature coefficient generating unit, a temperature compensation circuit, mirror circuit and a voltage divider, wherein;
the positive temperature coefficient generating unit generates a positive temperature coefficient voltage comprising Item T ln (T), and outputs a positive temperature coefficient current comprising Items T and T ln (T);
the negative temperature coefficient generating unit generates a negative temperature coefficient voltage comprising Item T ln (T), and outputs a positive temperature coefficient current comprising Item T;
the temperature compensation circuit converts a positive temperature coefficient current comprising Items T and T ln (T) into a positive temperature coefficient voltage comprising Items T and T ln (T), and compensates negative temperature coefficient voltage comprising Items T and T ln(T) generated by negative temperature coefficient generating unit, which, together with temperature compensation circuit, generates a reference voltage with zero temperature coefficient;
Wherein, T is absolute temperature;
the mirror circuit multiplies output current from the negative temperature coefficient generating unit by a factor of m, which is then input into the positive temperature coefficient generating unit;
the voltage divider adjusts output voltage and calculates operating voltages of both positive and negative temperature coefficient generating units.

2. A voltage reference circuit based on temperature compensation according to claim 1 features:
the temperature compensation circuit comprising resistor R5, the positive temperature coefficient generating unit comprising operational amplifier A1, bipolar transistors Q3, Q4, resistors R6 and R4, wherein, the positive input of operational amplifier A1 is connected to the base of Q4, and the negative input is connected to its collector, and the output of operational amplifier A1 is connected to the emitter of Q4, and one end of resistor R6 is connected to the negative input of A1 and collector of Q4, the other end of R6 is grounded, and resistor R4 is between emitter of Q4 and emitter of Q3, the collector of Q3 is connected with the mirror circuit, and the base of Q3 is connected to base of Q4.

3. The voltage reference circuit based on temperature compensation according to claim 2, features:
the negative temperature coefficient generating unit comprising operational amplifier A2, bipolar transistors Q1 and Q2, resistor R1,R2 and R3, where the emitter of Q1 is connected to the positive input of A2, which is connected to R3, the emitter of Q2 is connected via R1 to negative input of A2, which is connected to R2, the output of A2 is connected to R5, of which the other end is connected to R2 and R3, and the other end of R2 is connected to the emitter of Q3, and collectors of Q1 and Q2 are connected with the other end of mirror circuit, and the output of A2 is connected to voltage divider.

4. The voltage reference circuit based on temperature compensation according to claim 3 features:
the mirror circuit comprising first NMOS transistor M1 and second NMOS transistor M2, wherein the sources of the first MOS transistor M1 and second MOS transistor M2 are grounded, the gates of M1 and M2 are connected with each other, the gate of M2 is connected to the drain of M2, the drain of M1 is connected to the collector of Q3 and the gate of M2 is connected to collectors of Q1 and Q2.

5. The voltage reference circuit based on temperature compensation according to claim 4 features:
the voltage divider comprising resistors R7 and R8, wherein R8 is connected to the output of A2, and the other end of R8 is connected to R7 and bases of Q1, Q2, Q3 and Q4, the other end of R7 is connected to sources of M1 and M2, the connecting node of A2 with R5 and R8 is the output port of the reference circuit, Vo.

6. The voltage reference circuit based on temperature compensation according to claim 5 features:
A reference voltage output Vo determined by the ratio of R7 and R8: Vo=(Eg/q)·(1+R7/R8), where (Eg/q) is the bandgap voltage of silicon, and different output reference voltages by adjusting the ratio of R7 and R8.

7. The voltage reference circuit based on temperature compensation according to claim 6 features:
R4 and R5 expressed as:





  
    
      R
      5
    
    
      R
      4
    
  
  =
  
    
      3
      2
    
    .

8. The voltage reference circuit based on temperature compensation according to claim 7 features:
the negative temperature coefficient generating unit comprising at least 1 bipolar transistor Q1 and at least 1 bipolar transistor Q2, wherein the ratio of the number of all Q2 to all Q1 is n;
the positive temperature coefficient generating unit comprising at least 1 bipolar transistor Q3 and and 1 bipolar transistor Q4, wherein the ratio of the number of all Q4 to all Q3 is p, where, n>1, p>1.