Reference voltage generating circuit and generating method thereof

By adjusting the reference voltage in the counter and the digital-to-analog converter, the problem in the existing technology that the reference voltage cannot generate an arbitrary slope is solved, and the slope and direction of the reference voltage can be flexibly adjusted to meet different application requirements.

CN114625202BActive Publication Date: 2024-08-30SG MICRO CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011450867.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-10
Publication Date
2024-08-30
Estimated Expiration
2040-12-10

AI Technical Summary

Technical Problem

The existing reference voltage generation circuit cannot generate a reference voltage with any slope, and it is difficult to achieve a stable reference voltage output over a long period of time, requiring a smaller current source or a larger capacitor value.

Method used

Using a counter and a digital-to-analog converter, by adjusting the voltage values ​​of the first reference voltage and the second reference voltage in different counting cycles of the counter, arbitrary adjustment of the slope and change direction of the reference voltage is achieved.

Benefits of technology

It realizes the generation of reference voltage with any slope, and can adjust the variation amplitude and direction of the reference voltage at different times to meet different application requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114625202B
    Figure CN114625202B
Patent Text Reader

Abstract

The present invention discloses a reference voltage generating circuit and a generating method thereof, wherein the circuit comprises: a counter, used to generate a plurality of counting clocks based on an initial clock signal; a digital-to-analog converter, used to perform digital-to-analog conversion on the counting values ​​represented by the plurality of counting clocks based on a first reference voltage and a second reference voltage to generate a reference voltage, wherein the voltage value of at least one of the first reference voltage and the second reference voltage is adjustable in different counting cycles of the counter. The reference voltage generating circuit and the generating method thereof can generate a reference voltage with an arbitrary slope, and realize arbitrary adjustment of the change direction (including positive change or negative change) of the reference voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to a reference voltage generating circuit and a generating method thereof. Background Art

[0002] There is often a need for reference voltage supply in circuit applications. Common solutions include: Figure 1a As shown, Figure 1a A circuit structure schematic diagram of an existing reference voltage generating circuit is shown, in which a current source i and a capacitor C are connected in series between a power supply terminal VDD and a reference ground, and a reference voltage Vref is obtained at an intermediate node between the current source i and the capacitor C.

[0003] But if Figure 1b As shown, Figure 1b Show Figure 1a The relationship curve diagram of the reference voltage changing with time is shown in FIG. 1 . The reference voltage Vref generated by the circuit changes with time in a linear relationship, which cannot meet the application needs that require different slopes. At the same time, based on the circuit structure, if you want to use the reference voltage Vref for a long period of time, the current source i needs to provide a very small current, or the capacitance value of the capacitor C needs to be very large, which is not easy to achieve.

[0004] Therefore, it is necessary to provide an improved technical solution to overcome the above technical problems existing in the prior art. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a reference voltage generating circuit and a generating method thereof, which can generate a reference voltage with any slope and realize arbitrary adjustment of the change direction of the reference voltage (including positive change or negative change).

[0006] In a first aspect, a reference voltage generating circuit according to the present invention includes: a counter, configured to generate a plurality of counting clocks based on an initial clock signal;

[0007] a digital-to-analog converter connected to the counter and receiving a first reference voltage and a second reference voltage, and configured to perform digital-to-analog conversion on the count values ​​represented by the plurality of count clocks based on the first reference voltage and the second reference voltage to generate a reference voltage,

[0008] Wherein, in different counting cycles of the counter, the voltage value of at least one of the first reference voltage and the second reference voltage is adjustable.

[0009] Optionally, the digital-to-analog converter comprises:

[0010] A first branch, the first branch comprising a plurality of second resistors and a plurality of first resistors connected in series between a first reference voltage input terminal and a reference voltage output terminal;

[0011] A plurality of second branches, each of which comprises:

[0012] A selection switch, a first input terminal connected to a first reference voltage input terminal, and a second input terminal connected to a second reference voltage input terminal;

[0013] A plurality of second resistors are connected between the first branch and the output end of the selection switch,

[0014] The multiple selection switches on the multiple second branches receive the multiple counting clocks correspondingly, and a first resistor is included between the connection nodes of any two adjacent second branches and the first branch.

[0015] Optionally, each second branch includes a second resistor, and the resistance of each second resistor is twice the resistance of the first resistor.

[0016] Optionally, each second branch includes two second resistors connected in series, and the resistance value of each second resistor is equal to the resistance value of the first resistor.

[0017] Optionally, in any two counting cycles of the counter, the magnitude relationship between the first reference voltage and the second reference voltage remains unchanged, and the difference between the first reference voltage and the second reference voltage is different.

[0018] Optionally, in any two counting cycles of the counter, the magnitude relationship between the first reference voltages is different.

[0019] Optionally, the voltage value of the first reference voltage in the second counting cycle of the counter is equal to the voltage value of the second reference voltage in the first counting cycle of the counter.

[0020] The first counting cycle and the second counting cycle are adjacent to each other, and in both the first counting cycle and the second counting cycle, the reference voltage steps from the first reference voltage to the second reference voltage.

[0021] In a second aspect, a method for generating a reference voltage according to the present invention includes: generating a plurality of counting clocks based on an initial clock signal;

[0022] Performing digital-to-analog conversion on the count values ​​represented by the plurality of count clocks based on the first reference voltage and the second reference voltage to generate a reference voltage,

[0023] Wherein, in different counting cycles of the counter, the voltage value of at least one of the first reference voltage and the second reference voltage is adjustable.

[0024] The beneficial effects of the present invention are as follows: the present disclosure relates to a reference voltage generating circuit and a generating method thereof, which uses a counter and a digital-to-analog converter to generate a reference voltage with an arbitrary slope. In the process of generating the reference voltage, since the voltage value of at least one of the first reference voltage and the second reference voltage received by the digital-to-analog converter is adjustable in different counting cycles of the counter (the cycle duration of each counting cycle is equal), the change amplitude of the reference voltage in the same time can be changed by adjusting at least one of the first reference voltage and the second reference voltage, so as to achieve the purpose of adjusting the generation slope of the reference voltage. In the process of adjusting at least one of the first reference voltage and the second reference voltage, the reference voltage with different slopes can be generated based on the first reference voltage and the second reference voltage with different differences (including different magnitudes of the differences, and / or different positive and negative differences). Therefore, a reference voltage with an arbitrary slope can be generated in different counting cycles of the counter, and any adjustment of the change direction of the reference voltage (including positive change or negative change) can be achieved.

[0025] It should be noted that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings.

[0027] Figure 1a A schematic diagram showing the circuit structure of an existing reference voltage generating circuit is shown;

[0028] Figure 1b Show Figure 1a A schematic diagram of a curve showing the relationship between the reference voltage and time;

[0029] Figure 2 A schematic diagram showing the structure of a reference voltage generating circuit provided according to an embodiment of the present disclosure is shown;

[0030] Figure 3 Show Figure 2 Schematic diagram of the internal circuit structure of the digital-to-analog converter;

[0031] Figure 4 A schematic diagram showing a curve showing a relationship between a reference voltage and time provided according to an embodiment of the present disclosure;

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

[0033] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0035] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

[0036] Figure 2 A schematic diagram of the structure of a reference voltage generating circuit provided according to an embodiment of the present disclosure is shown.

[0037] like Figure 2 As shown, in the embodiment of the present disclosure, the reference voltage generating circuit includes: a counter 100 and a digital-to-analog converter 200 .

[0038] The counter 100 is used to generate a plurality of counting clocks based on an initial clock signal CLK.

[0039] In this embodiment, the input end of the counter 100 receives an initial clock signal CLK, and the counter 100 generates a plurality of counting clocks based on a clock cycle corresponding to the initial clock signal CLK, and then counts according to different level states of the plurality of counting clocks.

[0040] Herein, if the counter 100 can output 9 counting clocks as an example, the multiple counting clocks (recorded as D<0:8>) may include: a first counting clock D <0> , the second counting clock D <1> , the third counting clock D <2> , the fourth counting clock D <3> , the fifth counting clock D <4> , the sixth counting clock D <5> , seventh counting clock D <6> , the eighth counting clock D <7> and the ninth count clock D <8> . It is thus possible to realize the output of 512 groups of control signals within the range of 111111111 to 000000000, and realize the reference voltage Vref within one counting cycle. Further, if it is assumed that the clock period of the initial clock signal CLK is T(CLK)=2us, then one counting period (denoted as T) of the counter 100 is T=512*T(CLK) / 2=512us.

[0041] However, it should be understood that the number of output terminals of the counter 100, that is, the number of counting clocks generated by it, is proportional to the step accuracy of the reference voltage Vref over time. That is, if the accuracy requirement of the corresponding reference voltage Vref is high, a counter 100 with a large number of output terminals can be selected to meet the high-precision requirement; if the accuracy requirement of the corresponding reference voltage Vref is low, a counter 100 with a relatively small number of output terminals can be selected to save circuit area and cost. At the same time, correspondingly, a counter with more output terminals can also be directly selected, and only when the circuit is connected, the number of output terminals actually effectively connected to the circuit is selected as needed. The present disclosure does not make specific restrictions on this, and in practice, corresponding selections can be made according to different application scenarios.

[0042] It should be noted that one counting cycle of the counter 100 may be equal to the minimum adjustment cycle when adjusting the slope of the reference voltage Vref. In this document, for ease of understanding, one counting cycle of the counter 100 is set as the adjustment cycle when adjusting the slope of the reference voltage Vref.

[0043] The digital-to-analog converter 200 is connected to the output end of the counter 100 and receives a first reference voltage VA and a second reference voltage VB at the same time. The digital-to-analog converter 200 is used to perform digital-to-analog conversion on the count values ​​represented by multiple count clocks output by the counter 100 based on the first reference voltage VA and the second reference voltage VB to generate a reference voltage.

[0044] In this embodiment, the digital-to-analog converter 200 performs digital-to-analog conversion on the count value of the counter 100 based on the first reference voltage VA and the second reference voltage VB. When the counter 100 performs continuous counting based on the initial clock signal CLK, the digital-to-analog converter 200 can obtain a continuous voltage curve that changes with time by performing digital-to-analog conversion on the continuous count value (the curve described in this article includes special curves such as straight lines and broken lines). This voltage curve is a curve of the voltage change over time of the reference voltage Vref.

[0045] Further, in this embodiment, the digital-to-analog converter 200 includes: a first branch and a plurality of second branches. The first branch includes a plurality of second resistors and a plurality of first resistors connected in series between the first reference voltage VA input terminal and the reference voltage Vref output terminal. Each of the plurality of second branches includes: a selection switch and a plurality of second resistors, the first input terminal of the selection switch is connected to the first reference voltage VA input terminal, the second input terminal of the selection switch is connected to the second reference voltage VB input terminal; and the plurality of second resistors are connected between the first branch and the output terminal of the selection switch. The plurality of selection switches on the plurality of second branches (each second branch includes a selection switch) correspond to receiving a plurality of counting clocks output by the counter 100 (that is, each selection switch corresponds to receiving a counting clock), and a first resistor is included between any two adjacent second branches and the connection node of the first branch.

[0046] It can be understood that the number of the second branches in the digital-to-analog converter 200 is equal to the number of counting clocks output by the counter 100 and the number of selection switches.

[0047] Optionally, the selection switch on each second branch includes but is not limited to a two-to-one selection switch or a relay.

[0048] Optionally, in the first embodiment of the present disclosure, each second branch includes a second resistor, and the resistance of the second resistor in each second branch is twice the resistance of the first resistor. In this case, if the resistance of the first resistor is R, the resistance of the second resistor is 2R. In this way, since only one resistor needs to be connected in series in each second branch, it helps to save the area of ​​the step diagram.

[0049] Optionally, in the first embodiment of the present disclosure, each second branch includes two second resistors connected in series, and the resistance value of each second resistor on each second branch is equal to the resistance value of the first resistor. In this case, if the resistance value of the first resistor is R, the resistance value of the second resistor is also R. In this way, since resistors with the same resistance value are used in the digital-to-analog converter 200, the specifications of the resistors can be unified, avoiding the influence of the resistance value difference of resistors with different specifications on the performance of the digital-to-analog converter 200.

[0050] Furthermore, in this embodiment, in different counting cycles of the counter 100 , the voltage value of at least one of the first reference voltage VA and the second reference voltage VB is adjustable.

[0051] Based on the working principle of the digital-to-analog converter, it can be known that within a counting cycle of the counter 100, the slope K=(VB-VA) / T of the reference voltage curve generated by the digital-to-analog converter 200 based on multiple counting clocks and the first reference voltage VA and the second reference voltage VB remains unchanged. Therefore, in different counting cycles of the counter 100, by adjusting the value of (VB-VA), the slope K of the reference voltage curve can be adjusted. In other words, in different counting cycles of the counter 100, setting the voltage value of at least one of the first reference voltage VA and the second reference voltage VB to be adjustable can achieve the purpose of generating a reference voltage Vref with an arbitrary slope, and at the same time realize arbitrary adjustment of the change direction of the reference voltage (including positive change or negative change).

[0052] Specifically, in the first embodiment of the present disclosure, when adjusting the voltage value of at least one of the first reference voltage VA and the second reference voltage VB, the magnitude relationship between the adjusted first reference voltage VA and the second reference voltage VB in any two adjacent counting cycles of the counter 100 remains unchanged, and only the difference between the first reference voltage VA and the second reference voltage VB is different. For example, in the first counting cycle of the counter 100, the voltage value of the adjusted first reference voltage VA is smaller than the voltage value of the second reference voltage VB, and there is a first difference between the voltage value of the first reference voltage VA and the voltage value of the second reference voltage VB, and in the second counting cycle of the counter 100, the voltage value of the adjusted first reference voltage VA is also smaller than the voltage value of the second reference voltage VB, and there is a second difference between the voltage value of the first reference voltage VA and the voltage value of the second reference voltage VB, wherein the first counting cycle and the second counting cycle are adjacent, and the first difference is not equal to the second difference. ; or so that in the first counting cycle of the counter 100, the voltage value of the adjusted first reference voltage VA is greater than the voltage value of the second reference voltage VB, and there is a third difference between the voltage value of the first reference voltage VA and the voltage value of the second reference voltage VB, and in the second counting cycle of the counter 100, the voltage value of the adjusted first reference voltage VA is also greater than the voltage value of the second reference voltage VB, and there is a fourth difference between the voltage value of the first reference voltage VA and the voltage value of the second reference voltage VB, wherein the first counting cycle and the second counting cycle are adjacent, and the third difference is not equal to the fourth difference. In this way, it can be achieved that in any two or more adjacent counting cycles of the counter 100, only the value of the generated slope of the reference voltage Vref is adjusted, while the positive and negative of the generated slope of the reference voltage Vref remains unchanged.

[0053] In the second embodiment of the present disclosure, when adjusting the voltage value of at least one of the first reference voltage VA and the second reference voltage VB, the magnitude relationship of the adjusted first reference voltage VA and the second reference voltage VB in two adjacent counting cycles of the counter 100 is different, but the difference between the first reference voltage VA and the second reference voltage VB is the same; or the magnitude relationship of the adjusted first reference voltage VA and the second reference voltage VB in two adjacent counting cycles of the counter 100 is different, and the difference between the first reference voltage VA and the second reference voltage VB is also different. For example: in the first counting cycle of the counter 100, the voltage value of the adjusted first reference voltage VA is less than the voltage value of the second reference voltage VB, and in the second counting cycle of the counter 100, the voltage value of the adjusted first reference voltage VA is greater than the voltage value of the second reference voltage VB, wherein the first counting cycle and the second counting cycle are adjacent. In this way, it is possible to achieve the positive and negative adjustment of the generated slope of the reference voltage Vref in any two or more adjacent counting cycles of the counter 100, or to achieve the magnitude adjustment and positive and negative adjustment of the generated slope of the reference voltage Vref at the same time.

[0054] Furthermore, if in each counting cycle of the counter 100, the reference voltage Vref steps from the first reference voltage VA to the second reference voltage VB. At this time, when adjusting the voltage value of at least one of the first reference voltage VA and the second reference voltage VB, in any two counting cycles of the counter 100, the voltage value of the adjusted first reference voltage VA is equal to the voltage value of the second reference voltage VB before adjustment (that is, the voltage value of the first reference voltage VA in the second counting cycle of the counter 100 is equal to the voltage value of the second reference voltage VB in the first counting cycle of the counter 100, and the first counting cycle is adjacent to the second counting cycle). In this way, a continuous reference voltage curve can be obtained to avoid the voltage value of the reference voltage Vref from jumping between adjacent adjustment cycles.

[0055] For example, taking the counter 100 as an example, which can output 9 counting clocks, refer to Figure 3 , Figure 3 Show Figure 2At this time, the digital-to-analog converter 200 has 9 second branches, and the multiple selection switches (such as S0, S1, S2, ..., S8) in the 9 second branches correspond to the first counting clock D output by the receiving counter 100 respectively. <0> , the second counting clock D <1> , the third counting clock D <2> , the fourth counting clock D <3> , the fifth counting clock D <4> , the sixth counting clock D <5> , seventh counting clock D <6> , the eighth counting clock D <7> and the ninth count clock D <8> As respective control signals, the reference voltage Vref can be controlled to change from VA to VB in 512 steps. It can be understood that the counter 100 uses different sub-clock signals, and the corresponding multiple counting clocks D <0> ~D <8> The clock cycles are also different.

[0056] Meanwhile, it is assumed that in this example, each selection switch in the digital-to-analog converter 200 selects to output the first reference voltage VA to the corresponding node of the first branch when the corresponding received control signal is at a high level (or corresponds to logic 1), and selects to output the second reference voltage VB to the corresponding node of the first branch when the corresponding received control signal is at a low level (or corresponds to logic 0). Figure 3 It can be seen that within one counting cycle of the counter, the change process of the reference voltage Vref is as follows:

[0057] In the initial state of the counter 100 (corresponding to time t=0 us): D<8:0>=111111111, Vref=VA.

[0058] In the final state of the counter 100 (corresponding to time t=512 us): D<8:0>=0000000000, Vref=VB.

[0059] Based on this, if the voltage value of at least one of the first reference voltage VA and the second reference voltage VB is adjusted, the initial value and the final value of the reference voltage Vref will also change accordingly. In this process, if the duration of a counting cycle T of the counter 100 is kept unchanged, or the change ratio of the duration of the counting cycle T of the counter 100 is kept different from the change ratio of (VB-VA), a reference voltage curve with an arbitrary slope can be finally generated, and the slope of the reference voltage Vref can be arbitrarily adjusted in different counting cycles.

[0060] Exemplary, reference Figure 4 , Figure 4 The three curves in represent the voltage variation curves of the first reference voltage VA, the second reference voltage VB and the reference voltage Vref respectively. Assuming that in the first counting cycle of the counter 100 (i.e., the time period 0 to 512us), VA = 0V, VB = 2V, then the corresponding:

[0061] In the initial state (corresponding to time t=0us): D<8:0>=1111111111, Vref=0V.

[0062] In the final state (corresponding to time t=512us): D<8:0>=0000000000, Vref=2V.

[0063] After that, the counter 100 restarts counting, and in the second counting cycle of the counter 100 (i.e., the time period 512 to 1024 us), VA = 2V, VB = 1V, then correspondingly:

[0064] In the initial state (corresponding to time t=0us): D<8:0>=1111111111, Vref=2V.

[0065] In the final state (corresponding to time t=512us): D<8:0>=0000000000, Vref=1V.

[0066] After that, the counter 100 starts counting again, and in the third counting cycle of the counter 100 (i.e., the time period 1024-1536us), VA=1V, VB=2V, then correspondingly:

[0067] In the initial state (corresponding to time t=0us): D<8:0>=111111111, Vref=1V.

[0068] In the final state (corresponding to time t=512us): D<8:0>=0000000000, Vref=2V.

[0069] It can be seen from this that by adjusting the first reference voltage VA and / or the second reference voltage VB, the slope and / or the positive and negative sign of the reference voltage Vref curve can be arbitrarily adjusted within different counting cycles.

[0070] Figure 5 A flow chart of a method for generating a reference voltage according to an embodiment of the present disclosure is shown.

[0071] like Figure 5 As shown, in this embodiment, the method for generating a reference voltage includes executing steps S1 to S2.

[0072] In step S1, a plurality of counting clocks are generated based on an initial clock signal.

[0073] In step S2, digital-to-analog conversion is performed on count values ​​represented by a plurality of count clocks based on a first reference voltage and a second reference voltage to generate a reference voltage.

[0074] Furthermore, in this embodiment, in different counting cycles of the counter, the voltage value of at least one of the first reference voltage and the second reference voltage is adjustable.

[0075] The specific adjustment process and adjustment principle can be referred to in this article. Figures 2 to 4 The description in will not be repeated here.

[0076] In summary, the present disclosure is to generate a reference voltage with an arbitrary slope by using a counter and a digital-to-analog converter. In the process of generating the reference voltage, since the voltage value of at least one of the first reference voltage and the second reference voltage received by the digital-to-analog converter is adjustable in different counting cycles of the counter (the cycle duration of each counting cycle is equal), the change amplitude of the reference voltage in the same time can be changed by adjusting at least one of the first reference voltage and the second reference voltage, so as to achieve the purpose of adjusting the generation slope of the reference voltage. In the process of adjusting at least one of the first reference voltage and the second reference voltage, the reference voltage with different slopes can be generated based on the first reference voltage and the second reference voltage with different differences (including different sizes of the differences, and / or different positive and negative differences). Therefore, a reference voltage with an arbitrary slope can be generated in different counting cycles of the counter, and any adjustment of the change direction of the reference voltage (including positive change or negative change) can be achieved.

[0077] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0078] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present invention.

Claims

1. A reference voltage generating circuit, wherein: include: A counter, used for continuously counting based on an initial clock signal to generate a plurality of counting clocks; a digital-to-analog converter connected to the counter and receiving a first reference voltage and a second reference voltage, and configured to perform digital-to-analog conversion on the continuous count values ​​represented by the plurality of count clocks based on the first reference voltage and the second reference voltage to generate a reference voltage whose voltage value varies with time, Among them, within different counting cycles of the counter, the voltage value of at least one of the first reference voltage and the second reference voltage is adjustable, and the purpose of generating a reference voltage with an arbitrary slope is achieved by adjusting at least one of the first reference voltage and the second reference voltage to change the variation amplitude of the reference voltage within the same time, and the slope of the reference voltage is equal to the ratio of the difference between the first reference voltage and the second reference voltage to the counting cycle.

2. The reference voltage generating circuit according to claim 1, wherein: The digital-to-analog converter comprises: A first branch, the first branch comprising a plurality of second resistors and a plurality of first resistors connected in series between a first reference voltage input terminal and a reference voltage output terminal; A plurality of second branches, each of which comprises: A selection switch, a first input terminal connected to a first reference voltage input terminal, and a second input terminal connected to a second reference voltage input terminal; A plurality of second resistors are connected between the first branch and the output end of the selection switch, The multiple selection switches on the multiple second branches receive the multiple counting clocks correspondingly, and a first resistor is included between the connection nodes of any two adjacent second branches and the first branch.

3. The reference voltage generating circuit according to claim 2, wherein: Each second branch includes a second resistor, and the resistance of each second resistor is twice the resistance of the first resistor.

4. The reference voltage generating circuit according to claim 2, wherein: Each second branch includes two second resistors connected in series, and the resistance value of each second resistor is equal to the resistance value of the first resistor.

5. The reference voltage generating circuit according to claim 2, wherein: In any two counting cycles of the counter, the magnitude relationship between the first reference voltage and the second reference voltage remains unchanged, and the difference between the first reference voltage and the second reference voltage is different.

6. The reference voltage generating circuit according to claim 2, wherein: In any two counting cycles of the counter, the magnitude relationship between the first reference voltages is different.

7. The reference voltage generating circuit according to claim 1, wherein: The voltage value of the first reference voltage in the second counting cycle of the counter is equal to the voltage value of the second reference voltage in the first counting cycle of the counter, The first counting cycle and the second counting cycle are adjacent to each other, and in both the first counting cycle and the second counting cycle, the reference voltage steps from the first reference voltage to the second reference voltage.

8. A method for generating a reference voltage, wherein: include: Continuously counting based on the initial clock signal to generate multiple counting clocks; Based on the first reference voltage and the second reference voltage, the continuous count values ​​represented by the plurality of count clocks are converted into digital-to-analog values ​​to generate a reference voltage whose voltage value varies with time. In which, within different counting cycles of the counter, the voltage value of at least one of the first reference voltage and the second reference voltage is adjustable, and by adjusting at least one of the first reference voltage and the second reference voltage to change the change amplitude of the reference voltage within the same time, the purpose of generating a reference voltage with an arbitrary slope is achieved, and the slope of the reference voltage is equal to the ratio of the difference between the first reference voltage and the second reference voltage to the counting cycle.

Citation Information

Patent Citations

  • Reference-voltage generation circuit,reference-voltage generation method,chip and liquid crystal display

    CN108648717A