Reference voltage circuit and chip

By combining the first bandgap and second bandgap reference voltage circuits and trimming circuits in the reference voltage circuit, dynamic compensation is performed according to changes in ambient temperature and voltage, which solves the stability problem of the bandgap reference voltage circuit under temperature changes. Low power consumption and high-precision reference voltage output are achieved.

CN118534965AInactive Publication Date: 2024-08-23SHENZHEN SIYUAN SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410440708.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The bandgap reference voltage circuit cannot generate a stable reference voltage when the ambient temperature changes, which affects chip performance, and the use of temperature compensation circuits will lead to increased power consumption.

Method used

A reference voltage circuit is designed, including a first bandgap reference voltage circuit, a second bandgap reference voltage circuit and a trimming circuit. Through temperature detection and voltage detection, the second bandgap reference voltage circuit is turned on or off according to predetermined conditions. Temperature compensation uses a trimming circuit to convert the first bandgap reference voltage into a stable reference voltage.

Benefits of technology

While reducing or eliminating the impact of ambient temperature on the reference voltage, lower power consumption and cost are taken into account, and the overall accuracy of the reference voltage is maintained.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534965A
    Figure CN118534965A
Patent Text Reader

Abstract

The invention discloses a reference voltage circuit and a chip. The reference voltage circuit comprises a first band-gap reference voltage circuit, a second band-gap reference voltage circuit and a trimming circuit. The first band-gap reference voltage circuit is used for providing a first band-gap reference voltage. The second band-gap reference voltage circuit is used for providing a second band-gap reference voltage. And the trimming circuit is used for converting the first band-gap reference voltage into the reference voltage and performing temperature compensation on the reference voltage according to the second band-gap reference voltage under the condition that the preset condition is met. The second band-gap reference circuit is not turned on under the condition that the preset condition is not met. And the second band-gap reference circuit is started under the condition that a preset condition is met, so that the trimming circuit performs temperature compensation on the reference voltage. According to the reference voltage circuit, the influence of the environment temperature on the reference voltage is reduced or eliminated, meanwhile, low power consumption and cost are taken into account, and the overall precision of the reference voltage is not influenced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply circuits, and more specifically, to a reference voltage circuit and a chip. Background Art

[0002] Inside the chip, the reference voltage circuit is used to generate a reference voltage to provide to the subsequent circuit as an operating voltage. Specifically, the bandgap reference voltage circuit can generate a 1.2V bandgap reference voltage, and then different reference voltage circuits can generate target reference voltages of different sizes based on the bandgap reference voltage.

[0003] During the operation of the bandgap reference voltage circuit, the ambient temperature of the bandgap reference voltage circuit may change, and the change in ambient temperature will cause the threshold voltage of the transistor in the bandgap reference voltage circuit to change, resulting in the bandgap reference voltage circuit being unable to generate a stable bandgap reference voltage, which in turn causes the reference voltage circuit to be unable to generate a stable reference voltage, affecting the working performance of the chip. A temperature compensation circuit can be used to eliminate the influence of temperature on the reference voltage, however, using a temperature compensation circuit will increase the power consumption of the chip. Summary of the invention

[0004] Embodiments of the present invention provide a reference voltage circuit and a chip.

[0005] The reference voltage circuit provided in the embodiment of the present invention is used to provide a reference voltage. The reference voltage circuit includes a first bandgap reference voltage circuit, a second bandgap reference voltage circuit and a trimming circuit. The first bandgap reference voltage circuit is used to provide a first bandgap reference voltage. The second bandgap reference voltage circuit is used to provide a second bandgap reference voltage. The trimming circuit is used to convert the first bandgap reference voltage into the reference voltage, and when the predetermined condition is met, the reference voltage is temperature compensated according to the second bandgap reference voltage.

[0006] In some embodiments, the predetermined condition is a predetermined time interval.

[0007] In some embodiments, the reference voltage circuit further includes a temperature detection circuit. The temperature detection circuit is used to detect the ambient temperature, and the predetermined condition is that the change value of the ambient temperature is greater than a preset temperature value.

[0008] In some embodiments, the reference voltage circuit further includes a voltage detection circuit. The voltage detection circuit is further configured to detect a system power supply voltage of the first bandgap reference voltage circuit, and the predetermined condition is that a change in the system power supply voltage is greater than a predetermined voltage change value.

[0009] In some implementations, the trimming circuit obtains the second bandgap reference voltage when the predetermined condition is met, and performs temperature compensation on the reference voltage according to a difference between the second bandgap reference voltage and the reference voltage.

[0010] In some embodiments, the trimming circuit includes a control circuit and a voltage conversion circuit. The control circuit is used to provide a control signal to the voltage conversion circuit according to the voltage difference, so as to control the voltage conversion circuit to convert the first bandgap reference voltage into the reference voltage.

[0011] In some embodiments, the voltage conversion circuit includes a first operational amplifier and a plurality of feedback lines. The first input terminal of the first operational amplifier is used to access the first bandgap reference voltage, the output terminal of the first operational amplifier is used to provide the reference voltage, and the second input terminal of the first operational amplifier is connected to the output terminal of the first operational amplifier through the feedback line. Each feedback line includes a control switch and a voltage divider resistor, and the control circuit is used to control any one of the control switches to be turned on or off to control the voltage value ratio of the reference voltage to the first bandgap reference voltage.

[0012] In some embodiments, the first bandgap reference voltage circuit includes a first transistor unit, a first reference current circuit, and a first resistor unit. The first transistor unit includes at least one transistor, the first reference current circuit is used to provide a first reference current according to a threshold voltage of a transistor of the first transistor unit, and the first reference current flows through the first resistor unit to generate the first bandgap reference voltage.

[0013] In some embodiments, the first transistor unit includes a first transistor and a second transistor. The first reference current circuit includes a first resistor and a second operational amplifier. The reference voltage circuit also includes a first current mirror circuit. The first input terminal of the second operational amplifier is grounded through the first resistor and the second transistor, the second input terminal of the second operational amplifier is grounded through the first transistor, the output terminal of the second operational amplifier is connected to the first input terminal and the second input terminal of the second operational amplifier, and the first current mirror circuit is used to copy the current flowing through the first transistor as the first reference current. The first bandgap reference voltage circuit also includes a first bandgap reference voltage source, the first bandgap reference voltage source is grounded through the first resistor unit, and the first bandgap reference voltage source is used to provide a first bandgap reference voltage.

[0014] In some embodiments, the first reference current circuit further includes a second resistor and a third resistor, the second input terminal of the second operational amplifier is grounded through the second resistor, and the first input terminal of the second operational amplifier is grounded through the third resistor.

[0015] In some embodiments, the first bandgap reference voltage circuit includes a third operational amplifier, a third transistor, a fourth transistor, a fourth resistor, a fifth resistor, and a sixth resistor. The first input terminal of the third operational amplifier is grounded through the third transistor, and the first input terminal of the third operational amplifier is connected to the output terminal of the third operational amplifier through the fourth resistor. The second input terminal of the third operational amplifier is grounded through the fifth resistor and the fourth transistor, and the second input terminal of the third operational amplifier is connected to the output terminal of the third operational amplifier through the sixth resistor, and the fifth resistor and / or the sixth resistor include a variable resistor.

[0016] In some embodiments, when the predetermined condition is met, the adjustment circuit obtains the second bandgap reference voltage, and adjusts the resistance value of the fifth resistor and / or the sixth resistor according to the difference between the second bandgap reference voltage and the reference voltage to perform temperature compensation on the reference voltage.

[0017] In some embodiments, the second bandgap reference voltage circuit includes a second transistor unit, a second reference current circuit, a temperature compensation circuit, and a second resistor unit. The second transistor unit includes at least one transistor, and the second reference current circuit is used to provide a second reference current according to a threshold voltage of a transistor of the second transistor unit. The temperature compensation circuit is used to provide a compensation current. The compensation current and the second reference current flow through the second resistor unit to generate the second bandgap reference voltage.

[0018] In some embodiments, the second transistor unit includes a fifth transistor and a sixth transistor, and the second reference current circuit includes a seventh resistor, a fourth op amp, and a second current mirror circuit. The second input terminal of the fourth op amp is grounded through the fifth transistor, the first input terminal of the fourth op amp is grounded through the seventh resistor and the sixth transistor, the output terminal of the fourth op amp is connected to the first input terminal and the second input terminal of the fourth op amp, and the second current mirror circuit is used to copy the current flowing through the fifth transistor as the second reference current. The temperature compensation circuit includes a seventh transistor, an eighth resistor, and a ninth resistor, the second input terminal of the fourth op amp is grounded through the eighth resistor and the seventh transistor, and the first input terminal of the fourth op amp is grounded through the ninth resistor and the sixth transistor. The second bandgap reference voltage circuit includes a second bandgap reference voltage source, the second bandgap reference voltage source is grounded through the second resistor unit, and the second bandgap reference voltage source is used to provide a second bandgap reference voltage.

[0019] In some embodiments, the second reference current circuit further includes a tenth resistor and an eleventh resistor, the second input terminal of the fourth operational amplifier is grounded through the tenth resistor, and the first input terminal of the fourth operational amplifier is grounded through the eleventh resistor.

[0020] An embodiment of the present invention further provides a chip, wherein the chip includes the reference voltage circuit of any of the above embodiments.

[0021] In the reference voltage circuit and chip provided in the embodiment of the present invention, the first bandgap reference voltage circuit can provide a first bandgap reference voltage, and the voltage value of the first bandgap reference voltage is significantly affected by temperature. The second bandgap reference voltage circuit can provide a second bandgap reference voltage with temperature compensation. Compared with the first bandgap reference voltage, the second bandgap reference voltage has better stability, but the second bandgap reference voltage circuit consumes more power. The second bandgap reference circuit is not turned on when the predetermined conditions are not met, and is turned on and provides the second bandgap reference voltage when the predetermined conditions are met, so that the adjustment circuit performs temperature compensation on the reference voltage according to the second bandgap reference voltage. While reducing or eliminating the influence of ambient temperature on the reference voltage, the reference voltage circuit takes into account lower power consumption and cost, and does not affect the overall accuracy of the reference voltage.

[0022] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0024] Figure 1 is a schematic diagram of a reference voltage circuit according to an embodiment of the present invention;

[0025] Figure 2 is a schematic diagram of a trimming circuit according to an embodiment of the present invention;

[0026] Figure 3 is another schematic diagram of a trimming circuit according to an embodiment of the present invention;

[0027] Figure 4 is a circuit diagram of a first bandgap reference voltage according to a first embodiment of the present invention;

[0028] Figure 5 is a circuit diagram of a first bandgap reference voltage according to a second embodiment of the present invention;

[0029] Figure 6 is a circuit diagram of a first bandgap reference voltage according to a third embodiment of the present invention;

[0030] Figure 7 is a circuit diagram of a second bandgap reference voltage according to a first embodiment of the present invention;

[0031] Figure 8 is a schematic diagram of a chip according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The embodiments of the present invention are described in detail below, and the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0033] Inside the chip, the reference voltage circuit is used to generate a reference voltage to provide to the subsequent circuit as an operating voltage. Specifically, the bandgap reference voltage circuit can generate a 1.2V bandgap reference voltage, and then different reference voltage circuits can generate target reference voltages of different sizes based on the bandgap reference voltage.

[0034] During the operation of the bandgap reference voltage circuit, the ambient temperature of the bandgap reference voltage circuit may change, and the change in ambient temperature will cause the threshold voltage of the transistor in the bandgap reference voltage circuit to change, resulting in the bandgap reference voltage circuit being unable to generate a stable bandgap reference voltage, which in turn causes the reference voltage circuit to be unable to generate a stable reference voltage, affecting the working performance of the chip. A temperature compensation circuit can be used to eliminate the influence of temperature on the reference voltage, however, using a temperature compensation circuit will increase the power consumption of the chip.

[0035] See also Figure 1 The embodiment of the present invention provides a reference voltage circuit 100, which can provide a reference voltage Vout. The reference voltage circuit 100 includes a first bandgap reference voltage circuit 10, a second bandgap reference voltage circuit 20 and a trimming circuit 30.

[0036] The first bandgap reference voltage circuit 10 can provide a first bandgap reference voltage Vref1, and the voltage value of the first bandgap reference voltage Vref1 is significantly affected by temperature. The second bandgap reference voltage circuit 20 can provide a second bandgap reference voltage Vref2 with temperature compensation. Compared with the first bandgap reference voltage Vref1, the second bandgap reference voltage Vref2 has better stability, but the power consumption of the second bandgap reference voltage circuit 20 is greater. Therefore, the first bandgap reference voltage circuit 10 can be a reference voltage source with low power consumption and high temperature drift, and the second bandgap reference voltage circuit 20 can be a reference voltage source with low temperature drift and high power consumption.

[0037] Reference Figure 2During the operation of the reference voltage circuit 100, the first bandgap reference voltage circuit 10 is in an on state for a long time and provides the first bandgap reference voltage Vref1. The trimming circuit 30 can be used as a subsequent circuit of the first bandgap reference voltage circuit 10. The trimming circuit 30 can convert the first bandgap reference voltage Vref1 into a reference voltage Vout for external output.

[0038] Reference Figure 3 , the second bandgap reference circuit is turned on and provides a second bandgap reference voltage Vref2 when the predetermined condition is met. When the predetermined condition is met, the trimming circuit 30 can perform temperature compensation on the reference voltage Vout according to the second bandgap reference voltage Vref2 to reduce or eliminate the influence of the ambient temperature on the reference voltage Vout.

[0039] When the predetermined condition is not met, the second bandgap reference circuit can be in a closed state, which can prevent the high-power second bandgap reference voltage circuit 20 from being turned on for a long time and also prevent the reference voltage circuit 100 from consuming too much power.

[0040] In summary, the second bandgap reference circuit is not turned on when the predetermined condition is not met, and is turned on and provides the second bandgap reference voltage Vref2 when the predetermined condition is met, so that the trimming circuit 30 performs temperature compensation on the reference voltage Vout according to the second bandgap reference voltage Vref2. The reference voltage circuit 100 reduces or eliminates the influence of the ambient temperature on the reference voltage Vout while taking into account lower power consumption and cost, and does not affect the overall accuracy of the reference voltage.

[0041] Further, in some embodiments, the predetermined condition may be a predetermined time interval.

[0042] The reference voltage circuit 100 may include an enable circuit, which may provide an enable signal to the second bandgap reference voltage circuit 20 to control the second bandgap reference voltage circuit 20 to start or stop working. The enable circuit may provide an enable signal to the second bandgap reference voltage circuit 20 at a predetermined time interval to control the second bandgap reference voltage circuit 20 to start at a predetermined time interval.

[0043] The second bandgap reference voltage circuit 20 can also be connected to the power supply through a corresponding switch device, and the switch device can be controlled to be turned on or off, thereby controlling the second bandgap reference voltage circuit 20 to start or stop working. The corresponding switch device can be controlled to be turned on at a predetermined time interval to control the second bandgap reference voltage circuit 20 to start at a predetermined time interval.

[0044] Reference Figure 2During the operation of the reference voltage circuit 100 , the first bandgap reference voltage circuit 10 is in the on state for a long time, and the voltage value of the first bandgap reference voltage Vref1 may change with the change of the ambient temperature, thereby causing the voltage value of the reference voltage Vout to be unstable.

[0045] Reference Figure 3 The second bandgap reference voltage circuit 20 can be turned on at a predetermined time interval, so that the trimming circuit 30 can correct the voltage value of the reference voltage Vout at a predetermined time interval, so that the voltage value of the reference voltage Vout is stable.

[0046] For example, the predetermined time interval can be set to Δt. At time t1, the second bandgap reference voltage circuit 20 is turned on and provides the second bandgap reference voltage Vref2a, so that the reference voltage provided by the trimming circuit 30 according to the second bandgap reference voltage Vref2a is Vout1. Between time t1 and time t1+Δt, the reference voltage provided by the trimming circuit 30 is Vout1. At time t1+Δt, the second bandgap reference voltage circuit 20 is turned on and provides the second bandgap reference voltage Vref2b, so that the reference voltage provided by the trimming circuit 30 according to the second bandgap reference voltage Vref2b is Vout2.

[0047] The predetermined time interval Δt can be determined according to actual use requirements. In application scenarios where the reference voltage stability requirement is low, the predetermined time interval Δt can be set to be relatively large. Under the premise of meeting the reference voltage stability requirement, the larger the predetermined time interval Δt is, the shorter the turn-on time of the second bandgap reference voltage circuit 20 is, and the lower the power consumption of the reference voltage circuit 100 is.

[0048] In application scenarios where the reference voltage stability requirement is high, the predetermined time interval Δt can be set to be relatively small to ensure the stability of the reference voltage. The smaller the predetermined time interval Δt is, the longer the second bandgap reference voltage circuit 20 is turned on, the higher the frequency of the trimming circuit 30 correcting the reference voltage, and the higher the stability of the reference voltage.

[0049] In some embodiments, the predetermined condition may be a situation where a change in ambient temperature is greater than a preset temperature value.

[0050] The reference voltage circuit 100 may further include a temperature detection circuit, which may include a thermistor whose physical properties change with temperature, such as a thermistor, a thermocouple, etc. The temperature detection circuit may detect the ambient temperature at different time points. According to the ambient temperature at different time points detected by the temperature detection circuit, the change value of the ambient temperature may be determined.

[0051] Reference Figure 2When the ambient temperature changes, the voltage value of the first bandgap reference voltage Vref1 may change with the change of the ambient temperature, thereby causing the voltage value of the reference voltage Vout to be unstable.

[0052] Reference Figure 3 The second bandgap reference voltage circuit 20 can be turned on when the ambient temperature changes greatly, and the second bandgap reference voltage Vref2 is less affected by the ambient temperature. The adjustment circuit 30 can correct the voltage value of the reference voltage Vout according to the second bandgap reference voltage Vref2 to eliminate or reduce the influence of the ambient temperature on the reference voltage Vout.

[0053] The preset temperature value may be a temperature threshold. For example, the preset temperature value is a temperature threshold Ta. At time t3, the ambient temperature determined by the temperature detection circuit is T0, and at time t4, the ambient temperature determined by the temperature detection circuit is T1. When T1-T0 is greater than Ta, or T0-T1 is greater than Ta, it can be considered that the predetermined condition is met, and the second reference bandgap voltage circuit is turned on.

[0054] The preset temperature value may also be a temperature change rate threshold. For example, the preset temperature value is a temperature change threshold Tb / tb. At time t5, the ambient temperature determined by the temperature detection circuit is T2, and at time t6, the ambient temperature determined by the temperature detection circuit is T3. When (T3-T2) / (t6-t5) is greater than Tb / tb, or T2-T3 / t6-t5 is greater than Tb / tb, it can be considered that the predetermined condition is met, and the second reference bandgap voltage circuit is turned on.

[0055] The preset temperature value can be determined according to actual use requirements. In application scenarios where the reference voltage stability requirement is low, the preset temperature value can be set relatively large. Under the premise of meeting the reference voltage stability requirement, the larger the preset temperature value, the shorter the turn-on time of the second bandgap reference voltage circuit 20, and the lower the power consumption of the reference voltage circuit 100.

[0056] In application scenarios where the stability of the reference voltage is required to be high, the preset temperature value can be set to be relatively small to ensure the stability of the reference voltage. The smaller the preset temperature value, the higher the frequency of turning on the second bandgap reference voltage circuit 20, the higher the frequency of the reference voltage correction circuit 30, and the higher the stability of the reference voltage.

[0057] In some embodiments, the predetermined condition may be a case where the change value of the system power supply voltage is greater than a predetermined voltage change value. The reference voltage circuit 100 may further include a voltage detection circuit, which may detect the system power supply voltage of the first bandgap reference voltage circuit 10 .

[0058] Reference Figure 2The first bandgap reference voltage circuit 10 can generate the first bandgap reference voltage according to the connected system power voltage. When the system power voltage of the first bandgap reference voltage circuit 10 changes, the first bandgap reference voltage Vref1 will also change, thereby causing the voltage value of the reference voltage Vout to be unstable.

[0059] by Figure 4 For example, the voltage of the voltage source Vdd1 may be the system power supply voltage of the first bandgap reference voltage circuit 10. When the voltage of the voltage source Vdd changes, the first bandgap reference voltage Vref1 also changes, thereby making the reference voltage Vout unstable.

[0060] Reference Figure 3 The second bandgap reference voltage circuit 20 can be turned on when the system power supply voltage of the first bandgap reference voltage circuit 10 changes significantly, and the adjustment circuit 30 can correct the voltage value of the reference voltage Vout according to the second bandgap reference voltage Vref2 to eliminate or reduce the influence of the system power supply voltage of the first bandgap reference voltage circuit 10 on the reference voltage Vout.

[0061] The preset voltage value may be a voltage threshold. For example, the preset voltage value may be a voltage threshold Ua. The initial value of the system power supply voltage of the first bandgap reference voltage circuit 10 may be Udd. When the voltage detection circuit detects that the system power supply voltage of the first bandgap reference voltage circuit 10 is less than Udd-Ua, or detects that the system power supply voltage of the first bandgap reference voltage circuit 10 is greater than Udd+Ua, it may be considered that the predetermined condition is met, and the second reference bandgap voltage circuit is turned on.

[0062] The preset voltage value can be determined according to actual usage requirements. In application scenarios where the reference voltage stability requirement is low, the preset voltage value can be set relatively large. Under the premise of meeting the reference voltage stability requirement, the larger the preset voltage value, the shorter the turn-on time of the second bandgap reference voltage circuit 20, and the lower the power consumption of the reference voltage circuit 100.

[0063] In application scenarios where the reference voltage stability requirement is high, the preset voltage value can be set to be relatively small to ensure the stability of the reference voltage. The smaller the preset voltage value, the higher the frequency of turning on the second bandgap reference voltage circuit 20, the higher the frequency of the trimming circuit 30 correcting the reference voltage, and the higher the stability of the reference voltage.

[0064] In some implementations, the trimming circuit 30 obtains the second bandgap reference voltage when a predetermined condition is met, and performs temperature compensation on the reference voltage according to the difference between the second bandgap reference voltage and the reference voltage.

[0065] The trimming circuit 30 can obtain the voltage value of the reference voltage Vout in real time. When a predetermined condition is met, the second bandgap reference voltage circuit 20 is turned on, and the trimming circuit 30 can obtain the difference between the second bandgap reference voltage Vref2 and the reference voltage Vout.

[0066] The trimming circuit 30 can adjust the voltage value of the reference voltage Vout to be close to the voltage value of the second bandgap reference voltage Vref2 to achieve temperature compensation for the reference voltage Vout.

[0067] When the difference between the second bandgap reference voltage Vref2 and the reference voltage Vout is a positive number, that is, the voltage value of the second bandgap reference voltage Vref2 is greater than the voltage value of the reference voltage Vout, the trimming circuit 30 can adjust the voltage value of the reference voltage Vout to be greater. When the difference between the second bandgap reference voltage Vref2 and the reference voltage Vout is a negative number, that is, the voltage value of the second bandgap reference voltage Vref2 is less than the voltage value of the reference voltage Vout, the trimming circuit 30 can adjust the voltage value of the reference voltage Vout to be less.

[0068] Reference Figure 2 In some embodiments, the trimming circuit 30 may include a control circuit 31 and a voltage conversion circuit 32. The control circuit 31 may provide a control signal to the voltage conversion circuit 32 according to the voltage difference. The voltage conversion circuit 32 may convert the first bandgap reference voltage Vref1 into a reference voltage Vout.

[0069] The input end of the voltage conversion circuit 32 can be connected to the first bandgap reference voltage Vref1, and the output end of the voltage conversion circuit 32 can provide a reference voltage Vout. The voltage conversion circuit 32 has a corresponding voltage conversion ratio Ka, and the voltage value of the reference voltage Vout can be Ka*Vref1. The larger the voltage conversion ratio Ka, the larger the voltage value of the reference voltage Vout, and the smaller the voltage conversion ratio Ka, the smaller the voltage value of the reference voltage Vout.

[0070] In some embodiments, the voltage conversion circuit 32 may include a first operational amplifier and a plurality of feedback lines. The first input terminal of the first operational amplifier is used to access the first bandgap reference voltage, the output terminal of the first operational amplifier is used to provide the reference voltage, and the second input terminal of the first operational amplifier is connected to the output terminal of the first operational amplifier through the feedback line. Each feedback line includes a control switch and a voltage divider resistor, and the control circuit 31 is used to control any one of the control switches to be turned on or off to control the voltage value ratio of the reference voltage to the first bandgap reference voltage.

[0071] Optionally, Figure 2For example, the first operational amplifier may include operational amplifier A1, the voltage conversion circuit 32 may include n feedback lines, the voltage dividing resistor may include resistors Ra1 to Ran, and the control switch may include switch elements SW1 to SWn. The resistor Ram and the switch element SWm may form a feedback line, and m may be any positive integer from 1 to n.

[0072] The control circuit 31 can control a control switch to be turned on. For example, the control circuit 31 can control the switch element SWm to be turned on and other switch elements to be turned off, so that the amplification factor of the operational amplifier A1 is Ram / Ra0, that is, the voltage value ratio of the reference voltage to the first bandgap reference voltage is Ram / Ra0.

[0073] The control circuit 31 can also control multiple control switches to be turned on. For example, the control circuit 31 can control the switch elements SW1~SWm to be turned on, and the other switch elements to be turned off. The parallel equivalent resistance of the resistor Ra1~resistor Ram is RAm, so that the amplification factor of the operational amplifier A1 is RAm / Ra0, that is, the voltage value ratio of the reference voltage to the first bandgap reference voltage is RAm / Ra0.

[0074] The control circuit 31 can provide a control signal to the voltage conversion circuit 32 according to the voltage difference to control the voltage conversion ratio Ka, thereby adjusting the magnitude of the reference voltage Vout. When the difference between the second bandgap reference voltage Vref2 and the reference voltage Vout is a positive number, that is, the voltage value of the second bandgap reference voltage Vref2 is greater than the voltage value of the reference voltage Vout, the control circuit 31 can control the voltage conversion ratio Ka to become larger, so that the voltage value of the reference voltage Vout becomes larger. When the difference between the second bandgap reference voltage Vref2 and the reference voltage Vout is a negative number, that is, the voltage value of the second bandgap reference voltage Vref2 is less than the voltage value of the reference voltage Vout, the control circuit 31 can control the voltage conversion ratio Ka to become smaller, so that the voltage value of the reference voltage Vout becomes smaller.

[0075] Reference Figure 3 The reference voltage circuit 100 may further include an analog-to-digital converter (ADC), which may convert the acquired voltage difference analog signal into a corresponding digital signal and send it to the control circuit 31.

[0076] Furthermore, a delta-sigma modulator may be used to convert the acquired voltage difference analog signal into a corresponding digital signal. The delta-sigma modulator may include a comparator, a digital-to-analog converter (DAC), an ADC, and an integration circuit.

[0077] The positive input of the comparator can be connected to the second bandgap reference voltage Vref2, the output of the ADC is connected to the negative input of the comparator through the DAC, and the output of the comparator is connected to the input of the ADC through the integration circuit. The corresponding digital signal converted by the ADC can be converted into an analog signal through the DAC and fed to the negative input of the comparator.

[0078] The delta-sigma modulator can provide a differential signal to an integration circuit, and the integration circuit can accumulate multiple differential signals and provide them to the ADC, which then converts them into corresponding digital signals and provides them to the control circuit 31.

[0079] Furthermore, the delta-sigma modulator may also include a digital filtering circuit, which may filter out noise in the digital signal provided by the ADC, thereby improving the modulation accuracy of the delta-sigma modulator.

[0080] Reference Figure 4 In some embodiments, the first bandgap reference voltage circuit 10 includes a first transistor unit 11 , a first reference current circuit 12 and a first resistor unit 13 .

[0081] When the ambient temperature changes, the threshold voltage of the transistor of the first transistor unit 11 will also change, causing the reference current flowing through the first resistor unit 13 to change, thereby causing the first bandgap reference voltage to change.

[0082] In some embodiments, the first transistor unit 11 may include a first transistor 111 and a second transistor 112. The first reference current circuit 12 may include a first resistor 121 and a second operational amplifier, and the reference voltage circuit 100 may include a first current mirror circuit 14, and the first current mirror circuit 14 is used to copy the current flowing through the first transistor 111 as a first reference current. The first bandgap reference voltage circuit 10 may include a first bandgap reference voltage source 15, and the first bandgap reference voltage source 15 is used to provide a first bandgap reference voltage.

[0083] The first transistor 111 may be a transistor Q1, and the second transistor 112 may be a transistor Q2. The transistor Q1 and the transistor Q2 are in an on state.

[0084] The first resistor 121 may be a resistor R1, and the second operational amplifier may be an operational amplifier A2. The negative input terminal of the operational amplifier A2 may be grounded through a transistor Q1, and the positive input terminal of the operational amplifier A2 may be grounded through the resistor R1 and the transistor Q2. The transistor M1, the transistor M2, and the transistor M3 are all turned on, so that the output terminal of the operational amplifier A2 is short-circuited with the positive input terminal and the negative input terminal of the operational amplifier A2, respectively.

[0085] The voltage drop of resistor R1 is voltage UR1, the threshold voltage of transistor Q1 is ΔVBE1, and the threshold voltage of transistor Q2 is ΔVBE2. When the ambient temperature changes, the threshold voltage ΔVBE1 of transistor Q1 changes, causing the current flowing through transistor Q1 to change, that is, the current flowing through transistor M1 changes.

[0086] The transistor M1 , the transistor M2 and the transistor M3 may form a first current mirror circuit 14 . When the current flowing through the transistor M1 changes, the current flowing through the transistor M3 also changes, that is, the current flowing through the resistor Rb1 changes.

[0087] The first resistance unit 13 may be a resistor Rb1 , and the first bandgap reference voltage source 15 may be grounded through the resistor Rb1 . A change in the current flowing through the resistor Rb1 may cause a change in the first bandgap reference voltage Vref1 .

[0088] Reference Figure 5 In some embodiments, the first reference current circuit 12 may include a second resistor 123 and a third resistor 124 , the second input terminal of the second operational amplifier is grounded through the second resistor 123 , and the first input terminal of the second operational amplifier is grounded through the third resistor 124 .

[0089] The second resistor 123 may be a resistor R2, the third resistor 124 may be a resistor R3, the negative input terminal of the operational amplifier A2 may be grounded through the resistor R2, and the positive input terminal of the operational amplifier A2 may be grounded through the resistor R3. The resistors R2 and R3 may be used as ground terminal resistors of the operational amplifier A2 to improve the input noise voltage of the operational amplifier A2.

[0090] Reference Figure 6 In some embodiments, the first bandgap reference voltage circuit 10 may include a third operational amplifier 166 , a third transistor 161 , a fourth transistor 162 , a fourth resistor 163 , a fifth resistor 164 , and a sixth resistor 165 .

[0091] The third operational amplifier 166 may be an operational amplifier A3, the third transistor 161 may be a transistor Q3, the fourth transistor 162 may be a transistor Q4, the fourth resistor 163 may be a resistor R4, the fifth resistor 164 may be a resistor R5, and the sixth resistor 165 may be a resistor R6.

[0092] The voltage drop of resistor R5 is UR5, the threshold voltage of transistor Q3 is ΔVBE3, and the threshold voltage of transistor Q4 is ΔVBE4. Since the voltage at the positive input terminal and the voltage at the negative input terminal of op amp A2 are the same, it can be determined that ΔVBE3=UR5+ΔVBE4, UR5=ΔVBE3-ΔVBE4.

[0093] Since the current flowing through the resistor R5 is the same as the current flowing through the resistor R6, the voltage drop of the resistor R6 is UR6, UR6 = (ΔVBE3-ΔVBE4)*R6 / R5.

[0094] Furthermore, the voltage drop of the resistor R4 is UR4, UR4=UR6=(ΔVBE3-ΔVBE4)*R6 / R5. Vref1=UR4+ΔVBE3. When the specifications of the transistors Q3 and Q4 are determined, ΔVBE3-ΔVBE4 can be a fixed value T, and R6 / R5 can be recorded as K, therefore, Vref1=K*T+ΔVBE3.

[0095] When the specifications of the transistors Q3 and Q4 and the resistors R5 and R6 are determined to be unchanged, if the ambient temperature changes, resulting in a threshold voltage ΔVBE3 of the third transistor 161 , the first bandgap reference voltage Vref1 will change.

[0096] In some embodiments, the fifth resistor 164 and / or the sixth resistor 165 may include a variable resistor.

[0097] When a predetermined condition is met, the adjustment circuit 30 obtains the second bandgap reference voltage and adjusts the resistance value of the fifth resistor 164 and / or the sixth resistor 165 according to the difference between the second bandgap reference voltage and the reference voltage to perform temperature compensation on the reference voltage.

[0098] The control circuit 31 may provide a control signal according to the difference between the second bandgap reference voltage Vref2 and the reference voltage Vout to adjust the resistance values ​​of the resistors R5 and R6, and further adjust the value of K.

[0099] When the difference between the second bandgap reference voltage Vref2 and the reference voltage Vout is a positive number, that is, the voltage value of the second bandgap reference voltage Vref2 is greater than the voltage value of the reference voltage Vout, the control circuit 31 can reduce the resistance R5 or increase the resistance R6 to increase K, thereby increasing the first bandgap reference voltage Vref1 to achieve temperature compensation for the reference voltage Vout.

[0100] When the difference between the second bandgap reference voltage Vref2 and the reference voltage Vout is a negative number, that is, the voltage value of the second bandgap reference voltage Vref2 is less than the voltage value of the reference voltage Vout, the control circuit 31 can increase the resistor R5 or decrease the resistor R6 to reduce K, thereby reducing the first bandgap reference voltage Vref1 to achieve temperature compensation for the reference voltage Vout.

[0101] Reference Figure 7In some embodiments, the second bandgap reference voltage circuit 20 may include a second transistor unit 21, a second reference current circuit 22, a temperature compensation circuit 23, and a second resistor unit 24. The second transistor unit 21 includes at least one transistor, and the second reference current circuit 22 is used to provide a second reference current according to a threshold voltage of a transistor of the second transistor unit 21. The temperature compensation circuit 23 is used to provide a compensation current. The compensation current and the second reference current flow through the second resistor unit 24 to generate a second bandgap reference voltage.

[0102] The second transistor unit 21 includes a fifth transistor 211 and a sixth transistor 212 , and the second reference current circuit 22 includes a seventh resistor 221 , a fourth operational amplifier 222 and a second current mirror circuit 25 .

[0103] The fifth transistor 211 may be a transistor Q5, and the sixth transistor 212 may be a transistor Q6. The transistor Q5 and the transistor Q6 are in an on state.

[0104] The seventh resistor 221 may be a resistor R7, and the fourth operational amplifier 222 may be an operational amplifier A4. The negative input terminal of the operational amplifier A4 may be grounded through a transistor Q5, and the positive input terminal of the operational amplifier A4 may be grounded through a resistor R7 and a transistor Q6. The transistor M1, the transistor M2, and the transistor M3 are all turned on, so that the output terminal of the operational amplifier A4 is short-circuited with the positive input terminal and the negative input terminal of the operational amplifier A4, respectively.

[0105] The voltage drop of resistor R7 is voltage UR7, and the threshold voltage of transistor Q5 is ΔVBE5. When the ambient temperature changes, the threshold voltage ΔVBE5 of transistor Q5 changes, so that the current flowing through transistor Q5 changes, that is, the current flowing through transistor M1 changes.

[0106] The transistor M1, the transistor M2 and the transistor M3 can form a second current mirror circuit 25. When the current flowing through the transistor M1 changes, the current flowing through the transistor M3 also changes, that is, the current flowing through the resistor Rb2 changes.

[0107] The second resistance unit 24 may be a resistor Rb2 . The second bandgap reference voltage source 26 may be grounded through the resistor Rb2 . A change in the current flowing through the resistor Rb2 may cause a change in the second bandgap reference voltage Vref2 .

[0108] The temperature compensation circuit 23 may include a seventh transistor 231, an eighth resistor 232, and a ninth resistor 233. The seventh transistor 231 may be a transistor Q7, the eighth resistor 232 may be a resistor R8, and the ninth resistor 233 may be a resistor R9. The positive input terminal of the operational amplifier A4 may be grounded through the resistor R9 and the transistor Q7, and the negative input terminal of the operational amplifier A4 may be grounded through the resistor R8 and the transistor Q7.

[0109] When the ambient temperature changes, the threshold voltage ΔVBE5 of the transistor Q5 changes, the current flowing through the transistor Q5 changes, and the temperature compensation current is provided to the transistor Q5 through the resistor R8. By setting the resistance values ​​of the resistors R7, R8 and R9, the temperature offset current flowing through the transistor Q5 can be offset, and the temperature compensation of the second bandgap reference voltage Vref2 can be achieved.

[0110] Reference Figure 7 In some embodiments, the first reference current circuit 12 may include a tenth resistor 223 and an eleventh resistor 224. The tenth resistor 223 may be a resistor R10, the eleventh resistor 224 may be a resistor R11, the negative input terminal of the operational amplifier A4 may be grounded through the resistor R10, and the positive input terminal of the operational amplifier A2 may be grounded through the resistor R11. The resistors R10 and R11 may serve as ground terminal resistors of the operational amplifier A4 to improve the noise voltage of the input of the operational amplifier A4.

[0111] Reference Figure 8 The embodiment of the present invention further provides a chip 1000, which includes the reference voltage circuit 100 of any of the above embodiments. The beneficial effects of the chip 1000 include all the beneficial effects of the reference voltage circuit 100, which are not described one by one here.

[0112] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.

[0113] In addition, the term "connection" should be understood in a broad sense, for example, it can include fixed connection, detachable connection, or integral connection; it can include direct connection, indirect connection through an intermediate medium, and internal communication between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0114] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0115] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0116] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A reference voltage circuit for providing a reference voltage, characterized in that: The reference voltage circuit comprises: A first bandgap reference voltage circuit, used for providing a first bandgap reference voltage; A second bandgap reference voltage circuit, configured to start and provide a second bandgap reference voltage with temperature compensation when a predetermined condition is met; The trimming circuit is used to convert the first bandgap reference voltage into the reference voltage, and perform temperature compensation on the reference voltage according to the second bandgap reference voltage when the predetermined condition is met.

2. The reference voltage circuit according to claim 1, characterized in that: The predetermined condition is a predetermined time interval.

3. The reference voltage circuit according to claim 1, characterized in that: The reference voltage circuit further includes a temperature detection circuit, and the temperature detection circuit is used to detect the ambient temperature. The predetermined condition is that the change value of the ambient temperature is greater than a preset temperature value.

4. The reference voltage circuit according to claim 1, characterized in that: The reference voltage circuit also includes a voltage detection circuit, which is further used to detect the system power supply voltage of the first bandgap reference voltage circuit, and the predetermined condition is that a change value of the system power supply voltage is greater than a predetermined voltage change value.

5. The reference voltage circuit according to any one of claims 1 to 4, characterized in that: When the predetermined condition is met, the trimming circuit obtains the second bandgap reference voltage and performs temperature compensation on the reference voltage according to a difference between the second bandgap reference voltage and the reference voltage.

6. The reference voltage circuit according to claim 5, characterized in that: The trimming circuit includes a control circuit and a voltage conversion circuit. The control circuit is used to provide a control signal to the voltage conversion circuit according to the voltage difference, so as to control the voltage conversion circuit to convert the first bandgap reference voltage into the reference voltage.

7. The reference voltage circuit according to claim 6, characterized in that: The voltage conversion circuit includes a first operational amplifier and multiple feedback lines, the first input end of the first operational amplifier is used to access the first bandgap reference voltage, the output end of the first operational amplifier is used to provide the reference voltage, the second input end of the first operational amplifier is connected to the output end of the first operational amplifier through the feedback line, each feedback line includes a control switch and a voltage divider resistor, and the control circuit is used to control any one of the control switches to be turned on or off to control the voltage value ratio of the reference voltage to the first bandgap reference voltage.

8. The reference voltage circuit according to claim 1, characterized in that: The first bandgap reference voltage circuit comprises: A first transistor unit, comprising at least one transistor; A first reference current circuit, configured to provide a first reference current according to a threshold voltage of a transistor of the first transistor unit; A first resistance unit, the first reference current flows through the first resistance unit to generate the first bandgap reference voltage.

9. The reference voltage circuit according to claim 8, characterized in that: The first transistor unit includes a first transistor and a second transistor, the first reference current circuit includes a first resistor and a second operational amplifier, the reference voltage circuit further includes a first current mirror circuit, the first input terminal of the second operational amplifier is grounded through the first resistor and the second transistor, the second input terminal of the second operational amplifier is grounded through the first transistor, the output terminal of the second operational amplifier is connected to the first input terminal and the second input terminal of the second operational amplifier, and the first current mirror circuit is used to copy the current flowing through the first transistor as the first reference current; The first bandgap reference voltage circuit further includes a first bandgap reference voltage source, which is grounded through the first resistor unit and is used to provide a first bandgap reference voltage.

10. The reference voltage circuit according to claim 9, characterized in that: The first reference current circuit further includes a second resistor and a third resistor. The second input terminal of the second operational amplifier is grounded through the second resistor, and the first input terminal of the second operational amplifier is grounded through the third resistor.

11. The reference voltage circuit according to claim 1, characterized in that: The first bandgap reference voltage circuit includes a third operational amplifier, a third transistor, a fourth transistor, a fourth resistor, a fifth resistor and a sixth resistor. The first input terminal of the third operational amplifier is grounded through the third transistor, the first input terminal of the third operational amplifier is connected to the output terminal of the third operational amplifier through the fourth resistor, the second input terminal of the third operational amplifier is grounded through the fifth resistor and the fourth transistor, the second input terminal of the third operational amplifier is connected to the output terminal of the third operational amplifier through the sixth resistor, and the fifth resistor and / or the sixth resistor include a variable resistor.

12. The reference voltage circuit according to claim 11, characterized in that: When the predetermined condition is met, the trimming circuit obtains the second bandgap reference voltage, and adjusts the resistance value of the fifth resistor and / or the sixth resistor according to the difference between the second bandgap reference voltage and the reference voltage to perform temperature compensation on the reference voltage.

13. The reference voltage circuit according to claim 1, characterized in that: The second bandgap reference voltage circuit comprises: A second transistor unit, comprising at least one transistor; A second reference current circuit, configured to provide a second reference current according to a threshold voltage of a transistor of the second transistor unit; A temperature compensation circuit for providing a compensation current; A second resistance unit, the compensation current and the second reference current flow through the second resistance unit to generate the second bandgap reference voltage.

14. The reference voltage circuit according to claim 13, characterized in that: The second transistor unit includes a fifth transistor and a sixth transistor, the second reference current circuit includes a seventh resistor, a fourth operational amplifier and a second current mirror circuit, the second input terminal of the fourth operational amplifier is grounded through the fifth transistor, the first input terminal of the fourth operational amplifier is grounded through the seventh resistor and the sixth transistor, the output terminal of the fourth operational amplifier is connected to the first input terminal and the second input terminal of the fourth operational amplifier, and the second current mirror circuit is used to copy the current flowing through the fifth transistor as the second reference current; The temperature compensation circuit includes a seventh transistor, an eighth resistor and a ninth resistor, the second input terminal of the fourth operational amplifier is grounded through the eighth resistor and the seventh transistor, and the first input terminal of the fourth operational amplifier is grounded through the ninth resistor and the sixth transistor; The second bandgap reference voltage circuit includes a second bandgap reference voltage source, the second bandgap reference voltage source is grounded through the second resistor unit, and the second bandgap reference voltage source is used to provide a second bandgap reference voltage.

15. The reference voltage circuit according to claim 14, characterized in that: The second reference current circuit further includes a tenth resistor and an eleventh resistor. The second input terminal of the fourth operational amplifier is grounded through the tenth resistor, and the first input terminal of the fourth operational amplifier is grounded through the eleventh resistor.

16. A chip, characterized in that: The chip comprises the reference voltage circuit according to any one of claims 1-15.