Voltage generating unit, method and electronic device

By designing the voltage generation unit, using multiple modules and adjustment mechanisms, the problem of stable reference voltage output in the integrated circuit is solved, and the resistance to changes in external conditions and the accuracy of voltage generation is achieved.

CN113031686BActive Publication Date: 2025-02-11ZHUHAI MAIJU MICROELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110251369.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-08
Publication Date
2025-02-11
Estimated Expiration
2041-03-08

AI Technical Summary

Technical Problem

In integrated circuits, it is difficult for the prior art to obtain a stable absolute voltage reference value, and the voltage output of the reference source is susceptible to external conditions such as temperature changes.

Method used

A voltage generation unit is designed, including a first voltage generation module, a second voltage generation module, a second voltage adjustment module, a control module and an addition module. By controlling the second voltage adjustment module, the second voltage is adjusted based on the difference between the first voltage and the second adjustment voltage, and a stable reference voltage is generated.

Benefits of technology

The stable output of the reference voltage is achieved, eliminating the impact of external conditions changes (such as temperature changes) on the reference voltage, and improving the accuracy and stability of voltage generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113031686B_ABST
    Figure CN113031686B_ABST
Patent Text Reader

Abstract

The present disclosure provides a voltage generating unit, comprising: a first voltage generating module for generating a first voltage; a second voltage generating module for generating a second voltage; a second voltage adjusting module, the second voltage adjusting module is used to receive the second voltage and adjust the second voltage to output a second adjusted voltage; a control module, the control module receives the first voltage and the second adjusted voltage, and controls the second voltage adjusting module to adjust the second voltage based on the relevant information of the first voltage and / or the relevant information of the second adjusted voltage; and an addition module, the addition module receives the first voltage adjustment value and the second adjusted voltage and generates a third voltage, wherein the control module controls the second voltage adjusting module based on the difference between the first voltage difference value at two moments and the second adjusted voltage difference value at two moments. The present disclosure also provides a voltage generating method and an electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a voltage generating unit, a method and an electronic device. Background Art

[0002] In an integrated circuit, an absolute voltage is required as a reference value for a stable standard, but the voltage value may change due to the influence of external conditions. Therefore, how to obtain the voltage reference value is a technical problem that has been solved in the art.

[0003] In the prior art, the stability of the output voltage is mainly improved by improving the electronic devices of the reference source. However, the process of improving the electronic devices will inevitably increase the cost greatly, and the electronic devices will be affected by external conditions and their parameters will also change. Therefore, even if improvements are made, it will more or less affect the output voltage.

[0004] For example, in a reference source affected by temperature, the prior art is usually used to eliminate first-order effects, but higher-order effects still exist, so the variation of the reference voltage caused by the temperature of the reference source still exists. Summary of the invention

[0005] In order to solve one of the above technical problems, the present disclosure provides a voltage generating unit, a method and an electronic device.

[0006] According to one aspect of the present disclosure, a voltage generating unit is characterized by comprising:

[0007] A first voltage generating module, used to generate a first voltage;

[0008] A second voltage generating module, used for generating a second voltage;

[0009] a second voltage adjustment module, the second voltage adjustment module being configured to receive the second voltage and adjust the second voltage to output a second adjusted voltage;

[0010] a control module, the control module receiving the first voltage and the second adjusted voltage, and controlling a second voltage adjustment module to adjust the second voltage based on relevant information of the first voltage and / or relevant information of the second adjusted voltage; and

[0011] an adding module, the adding module receiving the first voltage adjustment value and the second adjustment voltage and generating a third voltage

[0012] The control module controls the second voltage adjustment module based on a difference between a first voltage difference at two moments and a second adjusted voltage difference at two moments.

[0013] According to at least one embodiment of the present disclosure, the voltage generating unit further includes:

[0014] a first analog-to-digital conversion module, the first analog-to-digital conversion module being used to collect the first voltage, perform analog-to-digital conversion on the first voltage, and provide a converted first digital signal to the control module; and

[0015] A second analog-to-digital conversion module is used to collect the second adjustment voltage, perform analog-to-digital conversion on the second adjustment voltage, and provide the converted second digital signal to the control module.

[0016] According to the voltage generating unit of at least one embodiment of the present disclosure, the first analog-to-digital conversion module and the second analog-to-digital conversion module use the third voltage as a reference voltage to convert the first voltage into a first digital signal and convert the second adjustment voltage into a second digital signal.

[0017] According to the voltage generating unit of at least one embodiment of the present disclosure, the second voltage adjustment module includes a second coefficient adjustment module and a second multiplication module, the control module controls the adjustment of the second coefficient, and the second multiplication module multiplies the adjusted second coefficient by the second voltage to obtain the second adjusted voltage.

[0018] According to the voltage generating unit of at least one embodiment of the present disclosure, the control module determines whether a first difference between a first digital signal of a first voltage at a first moment and a first digital signal of the first voltage at a second moment is equal to a second difference between a second digital signal of a second adjusted voltage at the first moment and a second digital signal of the second adjusted voltage at the second moment, and if the first difference is not equal to the second difference, adjusts the second coefficient.

[0019] According to the voltage generating unit of at least one embodiment of the present disclosure, at the first moment, the second coefficient is adjusted so that the third voltage at the first moment is equal to the expected voltage.

[0020] According to the voltage generating unit of at least one embodiment of the present disclosure, if the second difference is greater than the first difference, the second coefficient is reduced, and the second difference between the second digital signal of the second adjustment voltage generated according to the reduced second coefficient and the second digital signal of the second adjustment voltage at the first moment and the first difference are compared, and if the two are not equal, the second coefficient continues to be reduced until the second difference is equal to the first difference.

[0021] According to the voltage generating unit of at least one embodiment of the present disclosure, if the second difference is smaller than the first difference, the second coefficient is increased, and the second difference between the second digital signal of the second adjustment voltage generated according to the increased second coefficient and the second digital signal of the second adjustment voltage at the first moment and the first difference are compared; if the two are not equal, the second coefficient is continued to be increased until the second difference is equal to the first difference.

[0022] According to at least one embodiment of the present disclosure, the voltage generating unit further includes: a first voltage adjustment module, the first voltage adjustment module includes a first coefficient adjustment module and a first multiplication module, the control module controls the adjustment of the first coefficient, and the first multiplication module multiplies the adjusted first coefficient with the first voltage to obtain the first adjusted voltage, and the first adjusted voltage is provided to the control module, and the control module controls the first voltage adjustment module and / or the second voltage adjustment module to adjust the first voltage and / or the second voltage based on relevant information of the first adjustment voltage and / or relevant information of the second adjustment voltage.

[0023] According to the voltage generating unit of at least one embodiment of the present disclosure, the control module determines whether a first difference between a first digital signal of a first adjustment voltage at a first moment and a first digital signal of the first adjustment voltage at a second moment is equal to a second difference between a second digital signal of a second adjustment voltage at the first moment and a second digital signal of the second adjustment voltage at the second moment, and if the first difference is not equal to the second difference, adjusts the first coefficient and / or the second coefficient.

[0024] According to the voltage generating unit of at least one embodiment of the present disclosure, at the first moment, the first coefficient and / or the second coefficient is adjusted so that the third voltage at the first moment is equal to the expected voltage.

[0025] According to the voltage generating unit of at least one embodiment of the present disclosure, if the second difference is greater than the first difference, the second coefficient is reduced and / or the first coefficient is increased, so that the first difference and the second difference are obtained again, and the first difference and the second difference are continuously compared. If the two are not equal, the second coefficient is continuously reduced and / or the first coefficient is increased until the second difference is equal to the first difference.

[0026] According to the voltage generating unit of at least one embodiment of the present disclosure, if the second difference is smaller than the first difference, the second coefficient is increased and / or the first coefficient is decreased, so that the first difference and the second difference are obtained again, and the first difference and the second difference are continuously compared, and if the two are not equal, the second coefficient is continuously increased and / or the first coefficient is decreased until the second difference is equal to the first difference.

[0027] According to the voltage generating unit of at least one embodiment of the present disclosure, the first voltage generated by the first voltage generating module and the second voltage generated by the second voltage generating module are voltages that vary with external conditions.

[0028] According to the voltage generating unit of at least one embodiment of the present disclosure, the external condition is temperature, current and / or voltage.

[0029] According to the voltage generating unit of at least one embodiment of the present disclosure, the first voltage is a positive temperature coefficient voltage and the second voltage is a negative temperature coefficient voltage, or

[0030] The first voltage is a positive current coefficient voltage and the second voltage is a negative current coefficient voltage, or

[0031] The first voltage is a positive voltage coefficient voltage and the second voltage is a negative voltage coefficient voltage.

[0032] According to another aspect of the present disclosure, a voltage generating method includes:

[0033] generating a first voltage and a second voltage at a first moment, and adjusting the second voltage to generate a second adjusted voltage, so that a sum of the first voltage and the second adjusted voltage is a desired voltage;

[0034] Based on the third voltage at the first moment, converting the first voltage and the second adjustment voltage at the first moment into the first digital signal and the second digital signal at the first moment respectively;

[0035] generating a first voltage and a second adjustment voltage at a second moment;

[0036] Based on the third voltage at the second moment, converting the first voltage and the second adjustment voltage at the second moment into the first digital signal and the second digital signal at the second moment respectively;

[0037] Calculating a first difference between the first digital signal at the first moment and the second moment, and a second difference between the second digital signal at the first moment and the second moment, and comparing the first difference with the second difference; and

[0038] The second voltage is adjusted according to a difference between the first difference and the second difference to generate a second adjusted voltage.

[0039] According to the voltage generating method of at least one embodiment of the present disclosure, the second adjustment voltage is generated by multiplying the second voltage by the second coefficient.

[0040] According to the voltage generating method of at least one embodiment of the present disclosure, if the second difference is greater than the first difference, the second coefficient is reduced, and the second difference between the second digital signal of the second adjustment voltage generated according to the reduced second coefficient and the second digital signal of the second adjustment voltage at the first moment and the first difference are compared. If the two are not equal, the second coefficient continues to be reduced until the second difference is equal to the first difference.

[0041] According to the voltage generating method of at least one embodiment of the present disclosure, if the second difference is smaller than the first difference, the second coefficient is increased, and the second difference between the second digital signal of the second adjustment voltage generated according to the increased second coefficient and the second digital signal of the second adjustment voltage at the first moment and the first difference are compared; if the two are not equal, the second coefficient is continued to be increased until the second difference is equal to the first difference.

[0042] According to yet another aspect of the present disclosure, an electronic device includes the voltage generating unit as described above, wherein the voltage generating unit forms a reference voltage of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.

[0044] Figure 1 A voltage generating unit according to one embodiment of the present disclosure is shown.

[0045] Figure 2 A schematic diagram of establishing a functional relationship according to an embodiment of the present disclosure is shown.

[0046] Figure 3 A schematic diagram of an electronic device according to one embodiment of the present disclosure is shown.

[0047] Figure 4 A flow chart of a voltage generating method according to an embodiment of the present disclosure is shown.

[0048] Figure 5 A flow chart of a voltage generating method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0049] The present disclosure is further described in detail below in conjunction with the accompanying drawings and implementations. It is understood that the specific implementations described herein are only used to explain the relevant content, rather than to limit the present disclosure. It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the accompanying drawings.

[0050] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0051] Unless otherwise specified, the exemplary embodiments / embodiments shown will be understood as providing exemplary features of various details of some ways in which the technical concept of the present disclosure can be implemented in practice. Therefore, unless otherwise specified, the features of the various embodiments / embodiments can be combined, separated, interchanged and / or rearranged without departing from the technical concept of the present disclosure.

[0052] The use of cross-hatching and / or shading in the accompanying drawings is generally used to make the boundaries between adjacent components clear. As such, unless otherwise specified, the presence or absence of cross-hatching or shading does not convey or indicate any preference or requirement for the specific materials, material properties, dimensions, proportions, commonalities between the components shown, and / or any other characteristics, attributes, properties, etc. of the components. In addition, in the accompanying drawings, the sizes and relative sizes of the components may be exaggerated for clarity and / or descriptive purposes. When the exemplary embodiments can be implemented differently, the specific process sequence can be performed in a different order than described. For example, two successively described processes can be performed substantially simultaneously or in an order opposite to the described order. In addition, the same figure numbers represent the same components.

[0053] When a component is referred to as being "on" or "over," "connected to," or "coupled to" another component, the component may be directly on, directly connected to, or directly coupled to the other component, or intervening components may be present. However, when a component is referred to as being "directly on," "directly connected to," or "directly coupled to" another component, there are no intervening components. For this purpose, the term "connected" may refer to a physical connection, an electrical connection, etc., with or without intervening components.

[0054] For descriptive purposes, the present disclosure may use spatially relative terms such as "under," "beneath," "under," "down," "over," "upper," "above," "higher," and "side (e.g., as in "sidewall")," to describe the relationship of one component to another (other) component as shown in the accompanying drawings. The spatially relative terms are intended to encompass different orientations of the device in use, operation, and / or manufacture in addition to the orientation depicted in the accompanying drawings. For example, if the device in the accompanying drawings is turned over, components described as "under" or "beneath" other components or features would subsequently be positioned "over" the other components or features. Thus, the exemplary term "under" can encompass both the "above" and "below" orientations. Furthermore, the device may be otherwise oriented (e.g., rotated 90 degrees or at other orientations), and the spatially relative descriptors used herein should be interpreted accordingly.

[0055] The terms used here are for the purpose of describing specific embodiments, and are not intended to be restrictive. As used here, unless the context clearly indicates otherwise, the singular forms "one (kind, person)" and "said (the)" are also intended to include plural forms. In addition, when the terms "comprise" and / or "include" and their variations are used in this specification, it is explained that there are stated features, integral bodies, steps, operations, parts, assemblies and / or their groups, but it is not excluded that there are or add one or more other features, integral bodies, steps, operations, parts, assemblies and / or their groups. It should also be noted that, as used here, the terms "substantially", "approximately" and other similar terms are used as approximate terms and not as degree terms, so that they are used to explain the inherent deviations of the measured values, calculated values ​​and / or the values ​​provided that will be recognized by those of ordinary skill in the art.

[0056] According to one embodiment of the present disclosure, a voltage generating unit is provided, which can provide an accurate reference voltage.

[0057] Figure 1 A voltage generating unit according to one embodiment of the present disclosure is shown.

[0058] like Figure 1 As shown, the voltage generating unit may include a first voltage generating module 11 , a first analog-to-digital conversion module 12 , a second voltage generating module 21 , a second analog-to-digital conversion module 22 , a second multiplication module 23 , a coefficient adjustment module 24 , an addition module 30 and a control module 40 .

[0059] The first voltage generating module 11 can be used to generate a first voltage V1 , and the first voltage V1 is provided to the first analog-to-digital conversion module 12 .

[0060] The first analog-to-digital conversion module 12 is used to receive a first voltage and perform analog-to-digital conversion on the first voltage, thereby providing a converted first digital signal D1 to the control module 40 .

[0061] The second voltage generating module 21 can be used to generate a second voltage V2, and the second voltage V2 is provided to the second multiplication module 23, which receives the second voltage V2 and the adjusted coefficient of the coefficient M of the coefficient adjustment module 24 and multiplies the adjusted coefficient with the second voltage V2 to obtain a second adjusted voltage.

[0062] The second analog-to-digital conversion module 22 is used for receiving the second adjustment voltage and performing analog-to-digital conversion on the adjustment voltage, thereby providing the converted second digital signal D2 to the control module 40 .

[0063] The control module receives the first digital signal and the second digital signal, and controls the coefficient adjustment module 24 according to the first digital signal and the second digital signal to adjust the coefficient.

[0064] The adding module 30 can be used to add the first voltage and the second adjustment voltage to obtain the added voltage V BG The voltage V BG Can be used as a reference voltage.

[0065] In addition, the voltage V BG It is also provided to the first analog-to-digital conversion module 12 and the second analog-to-digital conversion module 22, which can convert the voltage V BG As the benchmark voltage of the first analog-to-digital conversion module 12 and the second analog-to-digital conversion module 22. The first analog-to-digital conversion module 12 generates a first digital signal D1 by comparing the first voltage with the benchmark voltage, and the second analog-to-digital conversion module 22 generates a second digital signal D2 by comparing the second adjustment voltage with the benchmark voltage.

[0066] The following will take the adjustment coefficient M as an example for detailed description. In actual use, as time changes, the first voltage generation module 11 and the second voltage generation module 21 will generate the first voltage and the second voltage will change with the change of external conditions. If the first voltage and / or the second voltage is not adjusted, then the reference voltage V BG Changes will be made.

[0067] The following description will be made by taking the first moment T0 and the second moment T1 as an example, wherein in the present disclosure, the time difference between the first moment T0 and the second moment T1 is preferably in the millisecond level.

[0068] At the first time T0, the value of the first coefficient M is adjusted so that the output voltage V of the adding unit at the first time T0 is REF(T0) is the first reference voltage value V RFor example, the first reference voltage value may be equal to 1.24V, etc. In the present disclosure, the specific voltage value is not specifically limited and is only used as an example.

[0069] At the first moment T0, the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to measure and obtain the first voltage V 1(T0) and the second adjustment voltage M*V 2(T0) .

[0070] The first analog-to-digital conversion module and the second analog-to-digital conversion module are used to respectively measure the first voltage V 1(T0) and the second adjustment voltage M*V 2(T0) , so that the first voltage V can be obtained through the analog-to-digital conversion unit 1(T0) The first digital signal D 1(T0) and the second adjustment voltage M*V 2(T0) The second digital signal D 2(T0) .

[0071] In addition, in the present disclosure, the output voltage of the adding module at the first time T0 is also measured to obtain the reference voltage V REF(T0) .

[0072] Among them, D 1(T0) Can be equal to V 1(T0) / V REF(T0) . Where V REF(T0) is the voltage output by the adding module at the first moment T0. 2(T0) Can be equal to M*V 2(T0) / V REF(T0) .

[0073] In this way, M*V 2(T0) / V 1(T0) =D 2(T0) / D 1(T0) =x0.

[0074] At this time, V 1(T0) =V REF(T0) *1 / (1+x0), M*V 2(T0) =V REF(T0) *x0 / (1+x0).

[0075] At the second moment T1 (the second moment T1 is a moment after the first moment T0), the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to respectively measure the first voltage V 1(T1) and the second adjustment voltage V 2(T1) , so that the first voltage V can be obtained through the analog-to-digital conversion unit 1(T1) The first digital signal D 1(T1) and the second adjustment voltage M*V 2(T1) The second digital signal D2(T1) .

[0076] In addition, in the present disclosure, the output voltage of the adding module at the second time T1 is also measured to obtain the reference voltage V REF(T1) .

[0077] Among them, D 1(T1) Can be equal to V 1(T1) / V REF(T1) . Where V REF(T1) is the voltage output by the adding module at the second moment T1. 2(T1) Can be equal to M*V 2(T1) / V REF(T1) .

[0078] Such M*V 2(T1) / V 1(T1) =D 2(T1) / D 1(T1) =x1.

[0079] At this time, V 1(T1) =V REF(T1) *1 / (1+x1), M*V 2(T1) =V REF(T1) *x1 / (1+x1).

[0080] From the first time T0 to the second time T1, the change value of the second adjustment voltage M*V2 is Δ(M*V2)=M*V 2(T1) -M*V 2(T0) . That is, it is equal to V REF(T1) *x1 / (1+x1)—V REF(T0) *x0 / (1+x0).

[0081] From the first time T0 to the second time T1, the change value of the first voltage V1 is ΔV1=M*V 1(T1) -M*V 1(T0) , which is equal to V REF(T1) *x0 / (1+x0)—V REF(T0) *x0 / (1+x0).

[0082] In the present disclosure, the difference between the change value Δ(M*V2) of the second adjustment voltage M*V2 and the change value ΔV1 of the first voltage V1 is zero to eliminate the variation of the reference voltage generated by the adding module due to the change of external conditions. In this way, Δ(M*V2) must be equal to ΔV1.

[0083] Then V REF(T1) Must be equal to V REF(T0) , V REF It will not be affected by changes in external conditions.

[0084] Here we first assume that VREF(T1) is equal to the first reference voltage, for example 1.24V, then V REF(T1) =1.24.

[0085] Check the absolute value of 1.24*x1 / (1+x1)-1.24*x0 / (1+x0)|1.24*x1 / (1+x1)-1.24*x0 / (1+x0)| (hereinafter referred to as the second absolute value).

[0086] If the second absolute value is equal to the absolute value of 1.24*1 / (1+x1)-1.24*1 / (1+x0)|1.24*1 / (1+x1)-1.24*1 / (1+x0)| (hereinafter referred to as the first absolute value). Then, V REF(T1) Equal to V REF(T0) , which is equal to 1.24V.

[0087] If the second absolute value is greater than the first absolute value, it means that Δ(M*V2) is greater than ΔV1, so the first coefficient M is adjusted so that the first coefficient M becomes M-ΔM. This will form V REF(T1) -ΔM*V 2(T1) .

[0088] The second analog-to-digital conversion module is used again to measure the second adjustment voltage (M-ΔM)*V 2(T1) , the digital output of the second analog-to-digital conversion module is (M-ΔM)*V 2(T1) / V REF(T1) =(M-ΔM)*V 2(T1) / V 1(T1) =x1'.

[0089] Verify again to check whether |1.24*x1' / (1+x1')—1.24*x0 / (1+x0)| is greater than |1.24*1 / (1+x1')—1.24*1 / (1+x0)|.

[0090] If it is greater, then (M-ΔM) is reduced by ΔM again, which is equivalent to (M-2*ΔM).

[0091] If they are equal, it is considered that the impact caused by changes in external conditions has been eliminated.

[0092] In the case where is greater than , the verification is continued, and ΔM is continued to be reduced according to the result, until the situation of being equal to occurs.

[0093] If |1.24*x1' / (1+x1')-1.24*x0 / (1+x0)| is less than |1.24*1 / (1+x1')-1.24*1 / (1+x0)|, ​​it means Δ(M*V2) is less than ΔV1. Then adjust the first coefficient M so that the first coefficient M becomes M+ΔM. This will form V REF(T1) +ΔM*V 2(T1) .

[0094] The second analog-to-digital conversion module is used again to measure the second adjustment voltage (M+ΔM)*V 2(T1) , the digital output of the second analog-to-digital conversion module is (M+ΔM)*V 2(T1) / V REF(T1) =(M+ΔM)*V 2(T1) / V 1(T1) =x1'.

[0095] Verify again to see if |1.24*x1' / (1+x1')—1.24*x0 / (1+x0)| is less than |1.24*1 / (1+x1')—1.24*1 / (1+x0)|.

[0096] If it is less than, then (M+ΔM) is increased by ΔM again, which is equivalent to (M+2*ΔM), until the situation of being equal occurs.

[0097] Figure 2 A voltage generating unit according to one embodiment of the present disclosure is shown.

[0098] like Figure 2 As shown, the voltage generating unit may include a first voltage generating module 11, a first analog-to-digital conversion module 12, a first multiplication module 13, a first coefficient adjustment module 14, a second voltage generating module 21, a second analog-to-digital conversion module 22, a second multiplication module 23, a coefficient adjustment module 24, an addition module 30 and a control module 40.

[0099] The first voltage generating module 11 can be used to generate a first voltage V1, and the first voltage V1 is provided to the first multiplication module 13, the first multiplication module receives the first voltage V1 and the adjusted coefficient of the coefficient N of the first coefficient adjustment module 14 and multiplies the adjusted coefficient with the first voltage V1 to obtain a first adjusted voltage.

[0100] The first analog-to-digital conversion module 12 is used to receive a first voltage and perform analog-to-digital conversion on the first voltage, thereby providing a converted first digital signal D1 to the control module 40 .

[0101] The second voltage generating module 21 can be used to generate a second voltage V2, and the second voltage V2 is provided to the second multiplication module 23, the second multiplication module receives the second voltage V2 and the adjusted coefficient of the coefficient M of the second coefficient adjustment module 24 and multiplies the adjusted coefficient with the second voltage V2 to obtain a second adjusted voltage.

[0102] The second analog-to-digital conversion module 22 is used for receiving the second adjustment voltage and performing analog-to-digital conversion on the adjustment voltage, thereby providing the converted second digital signal D2 to the control module 40 .

[0103] The control module 40 receives the first digital signal and the second digital signal, and controls the coefficient adjustment module 24 to adjust the coefficient according to the first digital signal and the second digital signal.

[0104] The adding module 30 can be used to add the first adjustment voltage and the second adjustment voltage to obtain the added voltage V BG The voltage V BG Can be used as a reference voltage.

[0105] In addition, the voltage V BG It is also provided to the first analog-to-digital conversion module 12 and the second analog-to-digital conversion module 22, which can convert the voltage V BG As the benchmark voltage of the first analog-to-digital conversion module 12 and the second analog-to-digital conversion module 22. The first analog-to-digital conversion module 12 generates a first digital signal D1 by comparing the first adjustment voltage with the benchmark voltage, and the second analog-to-digital conversion module 22 generates a second digital signal D2 by comparing the second adjustment voltage with the benchmark voltage.

[0106] The following will take the adjustment coefficient M as an example for detailed description. In actual use, as time changes, the first voltage generation module 11 and the second voltage generation module 21 will generate the first voltage and the second voltage will change with the change of external conditions. If the first voltage and / or the second voltage is not adjusted, then the reference voltage V BG Changes will be made.

[0107] In reference Figure 1 In the embodiment, only one coefficient adjustment is described, and two coefficient adjustment may also be used below.

[0108] At the first time T0, the value of the first coefficient M and / or the value of the second coefficient N is adjusted so that the output voltage V of the adding unit at the first time T0 is REF(T0) is the first reference voltage value V R For example, the first reference voltage value may be equal to 1.24V, etc. In the present disclosure, the specific voltage value is not specifically limited and is only used as an example.

[0109] At the first moment T0, the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to measure and obtain the first voltage V 1(T0) The first adjustment voltage N*V 1(T0) and the second voltage V 2(T0) The second adjustment voltage M*V 2(T0) .

[0110] The first analog-to-digital conversion module and the second analog-to-digital conversion module are used to respectively measure the first adjustment voltage N*V 1(T0) and the second adjustment voltage M*V 2(T0) , so that the first adjustment voltage N*V can be obtained through the analog-to-digital conversion unit 1(T0) The first digital signal D 1(T0) and the second adjustment voltage M*V 2(T0) The second digital signal D 2(T0) .

[0111] In addition, in the present disclosure, the output voltage of the adding module at the first time T0 is also measured to obtain the reference voltage V REF(T0) .

[0112] Among them, D 1(T0) Can be equal to N*V 1(T0) / V REF(T0) . Where V REF(T0) is the voltage output by the adding module at the first moment T0. 2(T0) Can be equal to M*V 2(T0) / V REF(T0) .

[0113] In this way, M*V 2(T0) / (N*V 1(T0) )=D 2(T0) / D 1(T0) =x0.

[0114] At this time, N*V 1(T0) =V REF(T0) *1 / (1+x0), M*V 2(T0) =V REF(T0) *x0 / (1+x0).

[0115] At the second moment T1 (the second moment T1 is a moment after the first moment T0), the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to respectively measure the first adjustment voltage N*V 1(T0) and the second adjustment voltage M*V 2(T1) , so that the first adjustment voltage N*V can be obtained through the analog-to-digital conversion unit 1(T0) The first digital signal D 1(T1) and the second adjustment voltage M*V 2(T1) The second digital signal D2(T1) .

[0116] In addition, in the present disclosure, the output voltage of the adding module at the second time T1 is also measured to obtain the reference voltage V REF(T1) .

[0117] Among them, D 1(T1) Can be equal to N*V 1(T1) / V REF(T1) . Where V REF(T1) is the voltage output by the adding module at the second moment T1. 2(T1) Can be equal to M*V 2(T1) / V REF(T1) .

[0118] Such M*V 2(T1) / N*V 1(T1) =D 2(T1) / D 1(T1) =x1.

[0119] At this time, N*V 1(T1) =V REF(T1) *1 / (1+x1), M*V 2(T1) =V REF(T1) *x1 / (1+x1).

[0120] From the first time T0 to the second time T1, when the first adjustment voltage and the second adjustment voltage change, it can be referred to Figure 1 The same principle as the embodiment shown is used for adjustment, which will not be repeated here. For example, in the above embodiment, when the coefficient M is adjusted, for example, the first coefficient M is changed to M+ΔM, the following methods can be used in this method: 1. Only the first coefficient M is adjusted to M+ΔM, 2. Only the second coefficient N is adjusted to N-ΔN, or 3. The first coefficient M and the second coefficient N are adjusted at the same time, so that M+ΔM and N-ΔN. These methods can also be used for adjustment again.

[0121] In the present disclosure, the external condition may be temperature, voltage, and / or current, etc. For example, when the external condition changes to temperature, the first voltage generating module may be a negative temperature coefficient voltage generating module, and the first voltage V1 may be a negative temperature coefficient voltage V be The negative temperature coefficient voltage can be the base-emitter voltage of an NPN transistor, the base-emitter voltage of a PNP transistor, or the PN junction voltage of a diode. It can also be the gate-source voltage of a MOSFET. GS voltage or the threshold voltage of the MOSFET V TH .

[0122] The second voltage generating module may be a positive temperature coefficient voltage generating module, and the second voltage V2 may be a positive temperature coefficient voltage V PTAT The positive temperature coefficient voltage is a PTAT voltage (Proportional To Absolute Temperature voltage) that increases with increasing temperature. The PTAT voltage can be realized by a PTAT voltage generation circuit. In other words, the negative temperature coefficient voltage refers to a voltage that decreases with increasing temperature, and the positive temperature coefficient voltage refers to a voltage that increases with increasing temperature.

[0123] In addition, when the first voltage generating module and the second voltage generating module generate voltage, they are bound to be connected to an external voltage source or current source. The different values ​​provided by the external voltage source or current source will also cause fluctuations in the voltages generated by the first voltage generating module and the second voltage generating module. Therefore, the above-mentioned method according to the present disclosure can also eliminate such fluctuations.

[0124] Compared with the method of generating voltage by hardware, the embodiment according to the present disclosure will be more effective and more accurate. At the same time, not only the influence of the first-order change of the first voltage and the second voltage can be eliminated, but also the influence of the high-order change can be eliminated. In addition, according to the embodiment of the present disclosure, no matter how much the initial reference voltage (the voltage output by the addition module) deviates, it can eventually generate a stable expected reference voltage because of the ratio judgment method adopted.

[0125] According to another embodiment of the present disclosure, Figure 3 As shown, an electronic device is provided, wherein the electronic device may include the above-mentioned voltage generating unit, and the reference voltage generated by the above-mentioned voltage generating unit can power other components in the electronic device.

[0126] According to a further embodiment of the present disclosure, a voltage generating method is also provided. Figure 4 A flow chart of a voltage generation method 1000 according to the present disclosure is shown.

[0127] The following description will be made by taking the first moment T0 and the second moment T1 as an example.

[0128] In step 1002, at the first time T0, the value of the first coefficient M is adjusted so that the output voltage V of the adding unit at the first time T0 is REF(T0) is the first reference voltage value V R For example, the first reference voltage value may be equal to 1.24V, etc. In the present disclosure, the specific voltage value is not specifically limited and is only used as an example.

[0129] In step 1004, a first voltage V at a first time T0 is measured.1(T0) and the second voltage V 2(T0) .

[0130] In step 1006, at a first moment T0, the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to measure and obtain a first voltage V 1(T0) and the second adjustment voltage M*V 2(T0) , wherein the second adjustment voltage is the product of the adjusted first coefficient and the second voltage.

[0131] The first analog-to-digital conversion module and the second analog-to-digital conversion module are used to respectively measure the first voltage V 1(T0) and the second adjustment voltage M*V 2(T0) , so that the first voltage V can be obtained through the analog-to-digital conversion unit 1(T0) The first digital signal D 1(T0) and the second adjustment voltage M*V 2(T0) The second digital signal D 2(T0) .

[0132] In addition, in the present disclosure, the output voltage of the adding module at the first time T0 is also measured to obtain the reference voltage V REF(T0) .

[0133] Among them, D 1(T0) Can be equal to V 1(T0) / V REF(T0) . Where V REF(T0) is the voltage output by the adding module at the first moment T0. 2(T0) Can be equal to M*V 2(T0) / V REF(T0) .

[0134] In this way, M*V 2(T0) / V 1(T0) =D 2(T0) / D 1(T0) =x0.

[0135] At this time, V 1(T0) =V REF(T0) *1 / (1+x0), M*V 2(T0) =V REF(T0) *x0 / (1+x0).

[0136] In step 1008, at a second time T1 (the second time T1 is a time after the first time T0), the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to respectively measure the first voltage V 1(T1) and the second adjustment voltage V 2(T1) In step 1010, the first voltage V can be obtained by the analog-to-digital conversion unit. 1(T1) The first digital signal D 1(T1) and the second adjustment voltage M*V2(T1) The second digital signal D 2(T1) .

[0137] In addition, in step 1008, the output voltage of the adding module at the second time T1 is also measured to obtain the reference voltage V REF(T1) .

[0138] Among them, D 1(T1) Can be equal to V 1(T1) / V REF(T1) . Where V REF(T1) is the voltage output by the adding module at the second moment T1. 2(T1) Can be equal to M*V 2(T1) / V REF(T1) .

[0139] Such M*V 2(T1) / V 1(T1) =D 2(T1) / D 1(T1) =x1.

[0140] At this time, V 1(T1) =V REF(T1) *1 / (1+x1), M*V 2(T1) =V REF(T1) *x1 / (1+x1).

[0141] In step 1012, the voltage change value is determined. From the first time T0 to the second time T1, the change value of the second adjustment voltage M*V2 Δ(M*V2)=M*V 2(T1) -M*V 2(T0) . That is, it is equal to V REF(T1) *x1 / (1+x1)—V REF(T0) *x0 / (1+x0).

[0142] From the first time T0 to the second time T1, the change value of the first voltage V1 is ΔV1=M*V 1(T1) -M*V 1(T0) , which is equal to V REF(T1) *x0 / (1+x0)—V REF(T0) *x0 / (1+x0).

[0143] If the voltage change values ​​are not equal, the coefficient is adjusted in step 1014. If they are equal, go to step 1016 and do not adjust the coefficient. In the present disclosure, the difference between the change value Δ(M*V2) of the second adjustment voltage M*V2 and the change value ΔV1 of the first voltage V1 is zero to eliminate the change of the reference voltage generated by the addition module due to the change of external conditions. In this way, Δ(M*V2) must be equal to ΔV1.

[0144] Then VREF(T1) Must be equal to V REF(T0) , V REF It will not be affected by changes in external conditions.

[0145] Here we first assume that V REF(T1) is equal to the first reference voltage, for example 1.24V, then V REF(T1) =1.24.

[0146] Check the absolute value of 1.24*x1 / (1+x1)-1.24*x0 / (1+x0)|1.24*x1 / (1+x1)-1.24*x0 / (1+x0)| (hereinafter referred to as the second absolute value).

[0147] If the second absolute value is equal to the absolute value of 1.24*1 / (1+x1)-1.24*1 / (1+x0)|1.24*1 / (1+x1)-1.24*1 / (1+x0)| (hereinafter referred to as the first absolute value). Then, V REF(T1) Equal to V REF(T0) , which is equal to 1.24V.

[0148] If the second absolute value is greater than the first absolute value, it means that Δ(M*V2) is greater than ΔV1, so the first coefficient M is adjusted so that the first coefficient M becomes M-ΔM. This will form V REF(T1) -ΔM*V 2(T1) .

[0149] The second analog-to-digital conversion module is used again to measure the second adjustment voltage (M-ΔM)*V 2(T1) , the digital output of the second analog-to-digital conversion module is (M-ΔM)*V 2(T1) / V REF(T1) =(M-ΔM)*V 2(T1) / V 1(T1) =x1'.

[0150] Verify again to check whether |1.24*x1' / (1+x1')—1.24*x0 / (1+x0)| is greater than |1.24*1 / (1+x1')—1.24*1 / (1+x0)|.

[0151] If it is greater, then (M-ΔM) is reduced by ΔM again, which is equivalent to (M-2*ΔM).

[0152] If they are equal, it is considered that the impact caused by changes in external conditions has been eliminated.

[0153] In the case where is greater than , the verification is continued, and ΔM is continued to be reduced according to the result, until the situation of being equal to occurs.

[0154] If |1.24*x1' / (1+x1')-1.24*x0 / (1+x0)| is less than |1.24*1 / (1+x1')-1.24*1 / (1+x0)|, ​​it means Δ(M*V2) is less than ΔV1. Then adjust the first coefficient M so that the first coefficient M becomes M+ΔM. This will form V REF(T1) +ΔM*V 2(T1) .

[0155] The second analog-to-digital conversion module is used again to measure the second adjustment voltage (M+ΔM)*V 2(T1) , the digital output of the second analog-to-digital conversion module is (M+ΔM)*V 2(T1) / V REF(T1) =(M+ΔM)*V 2(T1) / V 1(T1) =x1'.

[0156] Verify again to see if |1.24*x1' / (1+x1')—1.24*x0 / (1+x0)| is less than |1.24*1 / (1+x1')—1.24*1 / (1+x0)|.

[0157] If it is less than, then (M-ΔM) is increased by ΔM again, which is equivalent to (M+2*ΔM), until the situation of being equal occurs.

[0158] According to a further embodiment of the present disclosure, a voltage generating method is also provided. Figure 5 A flow chart of a voltage generating method 2000 according to the present disclosure is shown.

[0159] In step 2002, at the first time T0, the value of the first coefficient M and / or the value of the second coefficient N is adjusted so that the output voltage V of the adding unit at the first time T0 is REF(T0) is the first reference voltage value V R For example, the first reference voltage value may be equal to 1.24V, etc. In the present disclosure, the specific voltage value is not specifically limited and is only used as an example.

[0160] In step 2004, at a first moment T0, the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to measure and obtain a first voltage V 1(T0) The first adjustment voltage N*V 1(T0) and the second voltage V 2(T0) The second adjustment voltage M*V 2(T0) In addition, in the present disclosure, the output voltage of the adding module at the first time T0 is also measured to obtain the reference voltage V REF(T0) .

[0161] In step 2006, the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to respectively measure the first adjustment voltage N*V 1(T0) and the second adjustment voltage M*V 2(T0) , so that the first adjustment voltage N*V can be obtained through the analog-to-digital conversion unit 1(T0) The first digital signal D 1(T0) and the second adjustment voltage M*V 2(T0) The second digital signal D 2(T0) .

[0162] Among them, D 1(T0) Can be equal to N*V 1(T0) / V REF(T0) . Where V REF(T0) is the voltage output by the adding module at the first moment T0. 2(T0) Can be equal to M*V 2(T0) / V REF(T0) .

[0163] In this way, M*V 2(T0) / (N*V 1(T0) )=D 2(T0) / D 1(T0) =x0.

[0164] At this time, N*V 1(T0) =V REF(T0) *1 / (1+x0), M*V 2(T0) =V REF(T0) *x0 / (1+x0).

[0165] In step 2008, at a second time T1 (the second time T1 is a time after the first time T0), the first analog-to-digital conversion module and the second analog-to-digital conversion module are used to respectively measure the first adjustment voltage N*V 1(T0) and the second adjustment voltage M*V 2(T1) In addition, in the present disclosure, the output voltage of the adding module at the second time T1 is also measured to obtain the reference voltage V REF(T1) In step 2010, the first adjustment voltage N*V 1(T0) The first digital signal D 1(T1) and the second adjustment voltage M*V 2(T1) The second digital signal D 2(T1) .

[0166] In step 2012, the change value of the first adjustment voltage is compared with the change value of the second adjustment voltage. If they are not equal, proceed to step 2014 for adjustment, and after the adjustment, continue to step 2012 for comparison again. If they are equal, proceed to step 2016.

[0167] Among them, D1(T1) Can be equal to N*V 1(T1) / V REF(T1) . Where V REF(T1) is the voltage output by the adding module at the second moment T1. 2(T1) Can be equal to M*V 2(T1) / V REF(T1) .

[0168] Such M*V 2(T1) / N*V 1(T1) =D 2(T1) / D 1(T1) =x1.

[0169] At this time, N*V 1(T1) =V REF(T1) *1 / (1+x1), M*V 2(T1) =V REF(T1) *x1 / (1+x1).

[0170] From the first time T0 to the second time T1, when the first adjustment voltage and the second adjustment voltage change, it can be referred to Figure 1 The same principle as the embodiment shown is used for adjustment, which will not be repeated here. For example, in the above embodiment, when the coefficient M is adjusted, for example, the first coefficient M is changed to M+ΔM, the following methods can be used in this method: 1. Only the first coefficient M is adjusted to M+ΔM, 2. Only the second coefficient N is adjusted to N-ΔN, or 3. The first coefficient M and the second coefficient N are adjusted at the same time, so that M+ΔM and N-ΔN. These methods can also be used for adjustment again.

[0171] In the description of this specification, the description with reference to the terms "one embodiment / method", "some embodiments / methods", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment / method or example are included in at least one embodiment / method or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment / method or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments / methods or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments / methods or examples described in this specification and the features of the different embodiments / methods or examples, unless they are contradictory.

[0172] 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 this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0173] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.

Claims

1. A voltage generating unit, characterized in that: include: A first voltage generating module, used to generate a first voltage; A second voltage generating module, used for generating a second voltage; a second voltage adjustment module, the second voltage adjustment module being configured to receive the second voltage and adjust the second voltage to output a second adjusted voltage; a first analog-to-digital conversion module, the first analog-to-digital conversion module being used to collect the first voltage and perform analog-to-digital conversion on the first voltage to obtain a converted first digital signal; a second analog-to-digital conversion module, the second analog-to-digital conversion module is used to collect the second adjustment voltage, and perform analog-to-digital conversion on the second adjustment voltage to obtain a converted second digital signal, a control module, the control module receiving the first digital signal and the second digital signal, and controlling the second voltage adjustment module to adjust the second voltage based on relevant information of the first digital signal and / or relevant information of the second digital signal, wherein the second voltage adjustment module includes a second coefficient adjustment module and a second multiplication module, the control module controls the adjustment of the second coefficient, and the second multiplication module multiplies the adjusted second coefficient with the second voltage to obtain the second adjusted voltage, and the control module controls the second coefficient of the second coefficient adjustment module of the second voltage adjustment module based on the difference between the first voltage difference at two moments and the second adjusted voltage difference at two moments, and the time difference between the two moments is in the millisecond level; An adding module receives the first voltage and the second adjustment voltage and generates a third voltage, wherein the first analog-to-digital conversion module and the second analog-to-digital conversion module use the third voltage as a reference voltage to convert the first voltage into a first digital signal and convert the second adjustment voltage into a second digital signal.

2. The voltage generating unit according to claim 1, wherein: The control module determines whether a first difference between a first digital signal of a first voltage at a first moment and a first digital signal of a first voltage at a second moment is equal to a second difference between a second digital signal of a second adjustment voltage at the first moment and a second digital signal of a second adjustment voltage at the second moment, and adjusts the second coefficient if the first difference is not equal to the second difference.

3. The voltage generating unit according to claim 2, characterized in that: At the first moment, the second coefficient is adjusted so that the third voltage at the first moment is equal to the expected voltage.

4. The voltage generating unit according to claim 2, wherein: If the second difference is greater than the first difference, the second coefficient is reduced, and the second difference between the second digital signal of the second adjustment voltage generated according to the reduced second coefficient and the second digital signal of the second adjustment voltage at the first moment and the first difference are compared. If the two are not equal, the second coefficient is continued to be reduced until the second difference is equal to the first difference.

5. The voltage generating unit according to claim 2, wherein: If the second difference is smaller than the first difference, the second coefficient is increased, and the second difference between the second digital signal of the second adjustment voltage generated according to the increased second coefficient and the second digital signal of the second adjustment voltage at the first moment and the first difference are compared; if the two are not equal, the second coefficient is continued to be increased until the second difference is equal to the first difference.

6. The voltage generating unit according to claim 1, wherein: It also includes: a first voltage adjustment module, the first voltage adjustment module includes a first coefficient adjustment module and a first multiplication module, the control module controls the adjustment of the first coefficient, and the first multiplication module multiplies the adjusted first coefficient with the first voltage to obtain a first adjustment voltage, and the first adjustment voltage is provided to the control module, and the control module controls the first voltage adjustment module and / or the second voltage adjustment module to adjust the first voltage and / or the second voltage based on relevant information of the first adjustment voltage and / or relevant information of the second adjustment voltage.

7. The voltage generating unit according to claim 6, wherein: The control module determines whether a first difference between a first digital signal of a first adjustment voltage at a first moment and a first digital signal of a first adjustment voltage at a second moment is equal to a second difference between a second digital signal of a second adjustment voltage at the first moment and a second digital signal of a second adjustment voltage at the second moment, and if the first difference is not equal to the second difference, adjusts the first coefficient and / or the second coefficient.

8. The voltage generating unit according to claim 7, characterized in that: At the first moment, the first coefficient and / or the second coefficient is adjusted so that the third voltage at the first moment is equal to the expected voltage.

9. The voltage generating unit according to claim 7, characterized in that: If the second difference is greater than the first difference, reduce the second coefficient and / or increase the first coefficient, then obtain the first difference and the second difference again, and continue to compare the first difference and the second difference. If the two are not equal, continue to reduce the second coefficient and / or increase the first coefficient until the second difference is equal to the first difference.

10. The voltage generating unit according to claim 7, characterized in that: If the second difference is smaller than the first difference, increase the second coefficient and / or decrease the first coefficient, then obtain the first difference and the second difference again, and continue to compare the first difference and the second difference. If the two are not equal, continue to increase the second coefficient and / or decrease the first coefficient until the second difference is equal to the first difference.

11. The voltage generating unit according to any one of claims 1 to 10, characterized in that: The first voltage generated by the first voltage generating module and the second voltage generated by the second voltage generating module are voltages that vary with external conditions.

12. The voltage generating unit according to claim 11, characterized in that: The external conditions are temperature, current and / or voltage.

13. The voltage generating unit according to claim 12, wherein: The first voltage is a positive temperature coefficient voltage and the second voltage is a negative temperature coefficient voltage, or The first voltage is a positive current coefficient voltage and the second voltage is a negative current coefficient voltage, or The first voltage is a positive voltage coefficient voltage and the second voltage is a negative voltage coefficient voltage.

14. An electronic device, characterized in that: The device comprises a voltage generating unit as claimed in any one of claims 1 to 13, wherein the voltage generating unit forms a reference voltage of the electronic device.

Citation Information

Patent Citations

  • Voltage generation unit and electronic device

    CN214278772U