CN111679709B - Voltage generating circuit and method - Google Patents

Voltage generating circuit and method Download PDF

Info

Publication number
CN111679709B
CN111679709B CN202010549347.7A CN202010549347A CN111679709B CN 111679709 B CN111679709 B CN 111679709B CN 202010549347 A CN202010549347 A CN 202010549347A CN 111679709 B CN111679709 B CN 111679709B
Authority
CN
China
Prior art keywords
voltage
circuit
resistor
sub
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010549347.7A
Other languages
Chinese (zh)
Other versions
CN111679709A (en
Inventor
郑科佳
陈�胜
陈晓曼
谢卉
肖清明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Information And Communication Technology Group Co ltd
Accelink Technologies Co Ltd
Original Assignee
China Information And Communication Technology Group Co ltd
Accelink Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Information And Communication Technology Group Co ltd, Accelink Technologies Co Ltd filed Critical China Information And Communication Technology Group Co ltd
Priority to CN202010549347.7A priority Critical patent/CN111679709B/en
Publication of CN111679709A publication Critical patent/CN111679709A/en
Application granted granted Critical
Publication of CN111679709B publication Critical patent/CN111679709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current
    • G05F1/46Regulating voltage or current wherein the variable actually regulated by the final control device is dc
    • G05F1/56Regulating voltage or current wherein the variable actually regulated by the final control device is dc using semiconductor devices in series with the load as final control devices
    • G05F1/561Voltage to current converters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Voltage And Current In General (AREA)

Abstract

The embodiment of the invention provides a voltage generation circuit and a voltage generation method. Wherein the voltage generation circuit comprises: a power supply generation sub-circuit for providing a first voltage; the magnitude of the first voltage is constant; a control sub-circuit for determining the magnitude of a second voltage applied to the load; determining a first parameter based on the first voltage and the second voltage; the digital-to-analog conversion sub-circuit is used for generating a third voltage by utilizing the first parameter; converting the generated third voltage into a digital quantity and an analog quantity; and the voltage adjusting sub-circuit is used for generating the second voltage by utilizing the first voltage and the third voltage after analog quantity conversion.

Description

Voltage generating circuit and method
Technical Field
The present invention relates to circuit control technologies, and in particular, to a voltage generating circuit and method.
Background
In the device model selection stage, due to the size and cost of a power module with a control function, a power integrated chip with a semi-fixed voltage output function is generally selected in practical application. The power integrated chips generally provide a reference voltage, and the reference voltage is adjusted by voltage division between two resistors arranged outside the chips, and finally the adjusted voltage is used as the output voltage of the power integrated chips. That is, when the external resistor is selected, the output voltage of the power integrated chips is fixed. In practical applications, when a load of some power supply voltages of the optical module changes, the power supply voltage value may need to be adjusted, and obviously, the voltage adjustment of the power supply integrated chips involves hardware modification and the adjustment manner is not flexible enough.
Disclosure of Invention
In order to solve the related technical problems, embodiments of the present invention provide a voltage generation circuit and method.
An embodiment of the present invention provides a voltage generation circuit, including:
a power supply generation sub-circuit for providing a first voltage; the magnitude of the first voltage is constant;
a control sub-circuit for determining the magnitude of a second voltage applied to the load; determining a first parameter based on the first voltage and the second voltage;
the digital-to-analog conversion sub-circuit is used for generating a third voltage by utilizing the first parameter; converting the generated third voltage into a digital quantity and an analog quantity;
and the voltage adjusting sub-circuit is used for generating the second voltage by utilizing the first voltage and the third voltage after analog quantity conversion.
In the above solution, the voltage adjustment sub-circuit at least includes a first resistor, a second resistor and a third resistor;
the voltage adjustment sub-circuit is specifically configured to perform voltage conversion by using the first voltage and a third voltage after analog quantity conversion through voltage division among the first resistor, the second resistor, and the third resistor, and generate the second voltage.
In the above scheme, the first voltage is provided at the first port of the power generation sub-circuit; one end of the first resistor is connected with the first port, and the other end of the first resistor is connected with the load; one end of the second resistor is connected with the first port, and the other end of the second resistor is connected with the ground; one end of the third resistor is connected with the first port, and the other end of the third resistor is connected with the digital-to-analog conversion sub-circuit.
In the foregoing solution, the control sub-circuit is specifically configured to determine a corresponding relationship among the first voltage, the second voltage, and the third voltage according to a current relationship among branches connected to the first port; determining a third voltage based on the correspondence; determining the first parameter according to the third voltage.
In the above scheme, the control sub-circuit and the digital-to-analog conversion sub-circuit are integrated in the same chip.
In the above solution, the first resistor includes a plurality of sub-resistors; and/or the second resistance comprises a plurality of sub-resistances; and/or the third resistance comprises a plurality of sub-resistances.
The embodiment of the invention also provides a voltage adjusting method, which comprises the following steps:
the power supply generation sub-circuit of the voltage generation circuit provides a first voltage; the magnitude of the first voltage is constant;
the control sub-circuit of the voltage generation circuit determines the magnitude of a second voltage applied to the load; determining a first parameter based on the first voltage and the second voltage;
the digital-to-analog conversion sub-circuit of the voltage generation circuit generates a third voltage by using the first parameter; and converting the generated third voltage into an analog quantity;
the voltage adjusting sub-circuit of the voltage generating circuit generates the second voltage by using the first voltage and the third voltage after analog quantity conversion.
In the above solution, the voltage adjustment sub-circuit at least includes a first resistor, a second resistor and a third resistor;
the generating the second voltage by using the first voltage and the third voltage after performing analog quantity conversion includes:
and performing voltage conversion by using the first voltage and a third voltage after analog quantity conversion through voltage division among the first resistor, the second resistor and the third resistor to generate the second voltage.
In the above scheme, the first voltage is provided at the first port of the power generation sub-circuit; one end of the first resistor is connected with the first port, and the other end of the first resistor is connected with the load; one end of the second resistor is connected with the first port, and the other end of the second resistor is connected with the ground; one end of the third resistor is connected with the first port, and the other end of the third resistor is connected with the digital-to-analog conversion sub-circuit.
In the foregoing solution, the determining a first parameter based on the first voltage and the second voltage includes:
determining a corresponding relation among the first voltage, the second voltage and the third voltage according to a current relation among branches connected with the first port;
determining a third voltage based on the correspondence;
determining the first parameter according to the third voltage.
The embodiment of the invention provides a voltage generation circuit and a voltage generation method. Wherein the voltage generation circuit comprises: a power supply generation sub-circuit for providing a first voltage; the magnitude of the first voltage is constant; a control sub-circuit for determining the magnitude of a second voltage applied to the load; determining a first parameter based on the first voltage and the second voltage; the digital-to-analog conversion sub-circuit is used for generating a third voltage by utilizing the first parameter; converting the generated third voltage into a digital quantity and an analog quantity; and the voltage adjusting sub-circuit is used for generating the second voltage by utilizing the first voltage and the third voltage after analog quantity conversion. According to the scheme of the embodiment of the invention, the adjustment of the second voltage output by the voltage generation circuit is realized by modifying the first parameter, and the value of the first parameter can be modified in a software mode, so that the adjustment mode is convenient and easy to realize. When the voltage generating circuit of the embodiment of the invention is applied to the electronic equipment, the functions of the control sub-circuit and the digital-to-analog conversion sub-circuit can be directly realized by using a Micro Control Unit (MCU) or a device with similar functions in the electronic equipment, so that the voltage generating circuit of the embodiment of the invention achieves the effects of low cost and small volume.
Drawings
FIG. 1 is a schematic diagram of a voltage generation circuit according to an embodiment of the present invention
FIG. 2 is a schematic diagram of a voltage generating circuit according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a voltage generation circuit according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a voltage generation circuit according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart illustrating a process for implementing voltage adjustment by the control device in an application scenario according to an embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating an implementation of the voltage generation method according to the embodiment of the present invention.
Detailed Description
In order to make the technical solutions and advantages of the embodiments of the present invention clearer, the following will describe specific technical solutions of the present invention in further detail with reference to the accompanying drawings in the embodiments of the present invention.
In the related art, when the optical module uses power integrated chips with a semi-fixed voltage output function, if the output voltages of the power integrated chips need to be adjusted, hardware needs to be modified; however, this hardware modification is difficult to accomplish in situations where these optical modules are already in downstream customer use.
In addition, because environmental factors such as the operating temperature and humidity of the optical module greatly change, when the power integrated chips are used in the optical module, the output voltage of the chip fluctuates due to the environmental influence, so that the output voltage deviates from the preset output voltage, the optimal operating voltage of a subsequent load cannot be reached, the performance of the optical module is degraded, and the customer perception is influenced.
Based on this, in each embodiment of the present invention, the adjustment of the magnitude of the second voltage output by the voltage generation circuit is realized according to the modification of the first parameter, and since the value of the first parameter can be modified in a software manner, the adjustment manner is convenient and easy to implement; when the voltage generating circuit of the embodiment of the invention is applied to the electronic equipment, the functions of the control sub-circuit and the digital-to-analog conversion sub-circuit can be realized by directly using an MCU or a device with similar functions in the electronic equipment, so that the voltage generating circuit of the embodiment of the invention achieves the effects of low cost and small volume. Meanwhile, the voltage generation circuit of the embodiment of the invention can flexibly adjust the voltage applied to the load according to the change of the actual environment, thereby ensuring that the load works at the optimal working voltage.
Fig. 1 is a diagram showing a structure of a voltage generation circuit according to an embodiment of the present invention, and a voltage generation circuit 100 according to an embodiment of the present invention includes: a power generation sub-circuit 101, a control sub-circuit 102, a digital-to-analog conversion sub-circuit 103 and a voltage adjustment sub-circuit 104; wherein the content of the first and second substances,
the power supply generation sub-circuit 101 is used for providing a first voltage; the magnitude of the first voltage is constant;
the control sub-circuit 102 is used for determining the magnitude of a second voltage applied to the load; determining a first parameter based on the first voltage and the second voltage;
the digital-to-analog conversion sub-circuit 103 is configured to generate a third voltage by using the first parameter; converting the generated third voltage into a digital quantity and an analog quantity;
the voltage adjustment sub-circuit 104 is configured to generate the second voltage by using the first voltage and a third voltage after analog-to-digital conversion.
The voltage generating circuit 100 according to the embodiment of the present invention is applied to an electronic device, and it should be understood that the electronic device is not limited to an optical module, and any electronic device having a voltage adjustment requirement is included.
The power supply generation sub-circuit 101 is mainly used for providing a voltage with a constant magnitude. In practical applications, the power supply generating sub-circuit 101 may include a power supply integrated chip, and the first voltage is a reference voltage generated by the power supply integrated chip, and generally, the precision of the reference voltage is high.
Here, the first parameter includes a digital quantity that needs to be input when the digital-to-analog conversion sub-circuit 103 outputs the third voltage, that is, a control code that the control sub-circuit 102 needs to issue to the digital-to-analog conversion sub-circuit 103.
In practical applications, the control sub-circuit 102 may be an MCU or other device with control function.
In practical application, the specific way for the control sub-circuit 102 to determine the magnitude of the second voltage applied to the load may be to receive the magnitude of the second voltage that needs to be applied to the load and is sent by an upstream control device (e.g., an upper computer) of the electronic device, and at this time, the upstream control device may receive the magnitude of the second voltage input by a relevant person. The specific way for the control sub-circuit 102 to determine the magnitude of the second voltage applied to the load may also be that the control sub-circuit 102 collects the characteristic conditions of the load, such as the magnitude of the load, the ambient temperature where the load is located, and the like, and according to the collected characteristic conditions of the load, queries a previously stored relationship table between the magnitude of the second voltage to be applied and the characteristic conditions of the load, so as to determine the magnitude of the second voltage to be applied to the load.
In practical applications, a specific implementation manner of determining the first parameter by the control sub-circuit 102 based on the first voltage and the second voltage will be described in detail in the following examples.
The digital-to-analog conversion sub-circuit 103 is mainly used for generating a third voltage by using a first parameter of the control sub-circuit 102; and performs digital-to-analog conversion of the generated third voltage.
In practical applications, specific implementations of conversion from digital quantity to analog quantity in related arts are mature, and are not described herein.
In practical applications, when the voltage generating circuit of the embodiment of the present invention is applied to an electronic device, the functions of the control sub-circuit and the digital-to-analog conversion sub-circuit can be directly implemented by using a micro control unit MCU or a device with similar functions in the electronic device, so as to achieve the effects of low cost and small size of the voltage generating circuit 100.
Based on this, in an embodiment, the control sub-circuit 102 and the digital-to-analog conversion sub-circuit 103 are integrated in the same chip.
In practical application, most of the MCU or devices with similar functions integrate the voltage digital-to-analog conversion function.
The voltage adjustment sub-circuit 104 is mainly used for performing voltage change on the first voltage and the third voltage after analog quantity conversion to generate a second voltage required by the load.
Fig. 2 is a specific example of a voltage generating circuit according to an embodiment of the present invention, and the following describes a specific technical solution of the present invention in further detail with reference to fig. 2.
As shown in fig. 2, the power supply generating sub-circuit 101 at least includes a power supply integrated chip U1, and the reference voltage provided by the power supply integrated chip U1 at the FB pin is the first voltage; the control sub-circuit 102 comprises an MCU; the digital-to-analog conversion sub-circuit 103 comprises a VDAC; the voltage adjustment subcircuit 104 includes R1, R2, and R3.
Based on this, in one embodiment, the voltage adjustment sub-circuit 104 at least includes a first resistor, a second resistor, and a third resistor;
the voltage adjustment sub-circuit 104 is specifically configured to perform voltage conversion by using the first voltage and a third voltage after analog quantity conversion through voltage division among the first resistor, the second resistor, and the third resistor, and generate the second voltage.
In an embodiment, the first voltage is provided at a first port of the power generation sub-circuit 101; one end of the first resistor is connected with the first port, and the other end of the first resistor is connected with the load; one end of the second resistor is connected with the first port, and the other end of the second resistor is connected with the ground; one end of the third resistor is connected to the first port, and the other end is connected to the digital-to-analog conversion sub-circuit 103.
It should be noted that the first resistor, the second resistor and the third resistor are merely an example of one implementation, and in practical applications, each of the first resistor, the second resistor and the third resistor may include a plurality of resistors, and the resistors may be connected in series or in parallel according to actual voltage division requirements. That is, the first resistance, the second resistance and the third resistance are herein understood to be equivalent first resistance, equivalent second resistance and equivalent third resistance between the corresponding branches.
Based on this, in one embodiment, the first resistor includes a plurality of sub-resistors; and/or the second resistance comprises a plurality of sub-resistances; and/or the third resistance comprises a plurality of sub-resistances.
In an embodiment, the control sub-circuit 102 is specifically configured to determine a corresponding relationship among the first voltage, the second voltage, and the third voltage according to a current relationship among branches connected to the first port; determining a third voltage based on the correspondence; determining the first parameter according to the third voltage.
A specific way of determining the first parameter is explained in connection with fig. 2. Specifically, the method comprises the following steps:
as shown in fig. 2, the first port is the FB pin of the power integrated chip U1, and the output voltage of the VDAC is denoted as Vdac(corresponding to the third voltage after analog conversion); let V denote the voltage applied to the output pin of the power IC U1 and the loadout(corresponding to the second voltage), the reference voltage supplied by U1 is denoted as Vfb(corresponding to the first voltage). From circuit theory, V can be obtainedoutAnd VdacAnd VfbThe relationship between (A) and (B) is:
as shown in fig. 2, for point a, according to the current node current method IR1+IR3=IR2(FB Pin high resistance state of U1) is given by:
Figure BDA0002541898850000071
and (3) carrying out arrangement and conversion on the formula (1), wherein the arrangement and conversion processes are shown as formulas (2) to (5).
Figure BDA0002541898850000072
Figure BDA0002541898850000081
Figure BDA0002541898850000082
Figure BDA0002541898850000083
Here, VfbThe reference voltage (corresponding to the first voltage) is fixed inside the power integrated chip U1, and the voltage value is constant and can be obtained from the usage data manual of the power integrated chip U1; after the R1, R2 and R3 resistor values are selected, Vout(corresponding to the second voltage) output of only sum Vdac(corresponding to the third voltage after analog conversion). Since the magnitude of the second voltage is known, V can be determined based on equation (5) abovedacNamely, the third voltage can be determined, and after the third voltage is determined, the value of the digital quantity to be input, namely the value of the first parameter, can be obtained according to the relationship between the input digital quantity and the output voltage in the VDAC.
It can be understood that VdacThe value of the output voltage of the digital-to-analog conversion sub-circuit is set for the control sub-circuit 102, so that V is applied to the loaddacThe output of which is controlled by the control sub-circuit 102, thereby achieving the purpose of conveniently and flexibly adjusting the output voltage.
An embodiment of the present invention provides a voltage generation circuit, including: a power supply generation sub-circuit for providing a first voltage; the magnitude of the first voltage is constant; a control sub-circuit for determining the magnitude of a second voltage applied to the load; determining a first parameter based on the first voltage and the second voltage; the digital-to-analog conversion sub-circuit is used for generating a third voltage by utilizing the first parameter; converting the generated third voltage into a digital quantity and an analog quantity; and the voltage adjusting sub-circuit is used for generating the second voltage by utilizing the first voltage and the third voltage after analog quantity conversion. According to the scheme of the embodiment of the invention, the adjustment of the second voltage output by the voltage generation circuit is realized by modifying the first parameter, and the value of the first parameter can be modified in a software mode, so that the adjustment mode is convenient and easy to realize; when the voltage generating circuit is applied to the electronic equipment, the functions of the control sub-circuit and the digital-to-analog conversion sub-circuit can be realized by directly utilizing a Micro Control Unit (MCU) or a device with similar functions in the electronic equipment, so that the voltage generating circuit achieves the effects of low cost and small size.
The present invention will be described in further detail with reference to specific application scenarios.
In the related art, the power supply to some voltages inside the optical module is generally implemented only by using the power ic and the fixed peripheral voltage dividing resistor, that is, in the related art, the power supply is implemented only by using the first portion shown in the left square in fig. 3, where R is the voltage at this time1And R2After selection, the output voltage V of the power integrated chipoutFixed, if in practice V needs to be modifiedoutMust modify R1And R2The resistance value of (2) is that the optical module needs to be returned to the factory at the moment, and the optical module needs to be disassembled. Still taking the example of fig. 2 as an example, the solution of the embodiment of the present application adds a second part shown in the right square in fig. 3 on the basis of the related art.
In this application scenario, the output voltage of the power supply integrated chip is adjusted through the internal software of the optical module and the idle voltage digital-to-analog converter, and fig. 4 is a schematic diagram of a composition structure of the voltage generation circuit in this application scenario. As shown in fig. 4, the scheme includes a power integrated chip (corresponding to the power integrated chip U1 in fig. 3), and a bridge resistor (corresponding to R in fig. 3)3) A voltage digital-to-analog converter (corresponding to VDAC in fig. 3), a control device (corresponding to MCU in fig. 3), and a load.
Fig. 5 is a schematic flow chart of the control device implementing voltage adjustment in the application scenario. The method comprises the following concrete steps:
step 500: starting;
in practical application, a command for starting voltage adjustment is received, a specific execution procedure is started, and the process proceeds to step 501.
Step 501: acquiring a load condition;
in practical application, the control device can obtain the load condition according to the feedback of the downstream devices of the circuit. After the load condition is obtained, the process proceeds to step 502.
Step 502: judging whether the voltage applied to the load needs to be adjusted or not;
in practical application, the voltage required to be applied to the load is determined according to the obtained load condition; comparing the voltage required to be applied to the load with the current voltage of the load, and determining that the voltage required to be applied to the load needs to be adjusted when the voltage deviation between the voltage required to be applied to the load and the current voltage of the load exceeds a certain range; when the voltage required to be applied to the load does not deviate from the current voltage applied to the load beyond a certain range, it is determined that the voltage applied to the load does not need to be adjusted.
When the voltage applied to the load needs to be adjusted, go to step 503; when the voltage applied to the load does not need to be adjusted, the process proceeds to step 501, the load condition is retrieved, and the steps following step 501 are executed again.
Step 503: calculating a control code of a voltage digital-to-analog converter needing to be adjusted;
in practical application, the control code of the voltage digital-to-analog converter is converted through the calculation of the formula. After step 503 is completed, the process proceeds to step 504.
Step 504: and issuing the control code according to a specific step length.
In practical application, the voltage is gradually sent to the voltage digital-to-analog converter according to a specific step length. The output voltage of the voltage digital-to-analog converter participates in the work of the power supply integrated chip through the bridging resistor so as to change the final output voltage of the source integrated chip. The load condition is reacquired after step 504 is completed and the steps following 501 are re-executed.
It can be understood that the voltage value output by the power supply integrated chip in the related art is fixed, and the output of the power supply integrated chip in the embodiment of the present invention not only is the voltage output by the power supply integrated chip itself, but also includes an adjustable voltage introduced through the bridge circuit, so that the voltage value finally output by the power supply integrated chip in the embodiment of the present invention can be changed.
It should be noted that, in practical application, the selection of the resistance value of the bridge resistor and the selection of the output range of the voltage digital-to-analog converter need to be matched with the parameters of the power supply integrated chip. Specifically, when the resistance value of the bridge resistor and the output range of the voltage digital-to-analog converter are selected, the calculated theoretical adjustable maximum value of the output voltage of the power supply integrated chip cannot exceed the output voltage range of the power supply integrated chip.
According to the scheme of the embodiment of the invention, the voltage digital-to-analog converter of the optical module is connected with the power supply integrated chip in the related technology through the bridging resistor, and the output size of the voltage digital-to-analog converter is controlled through the control device, so that the output voltage of the power supply integrated chip in the related technology is changed. Finally, the purpose that the output of the power supply chip can be configured at will under the condition that the cost and the chip volume are not increased is achieved, and therefore the load works in the optimal state.
Based on the above circuit, an embodiment of the present invention further provides a voltage generation method, as shown in fig. 6, the voltage generation method includes the following steps:
step 601: the power supply generation sub-circuit of the voltage generation circuit provides a first voltage; the magnitude of the first voltage is constant;
step 602: the control sub-circuit of the voltage generation circuit determines the magnitude of a second voltage applied to the load; determining a first parameter based on the first voltage and the second voltage;
step 603: the digital-to-analog conversion sub-circuit of the voltage generation circuit generates a third voltage by using the first parameter; and converting the generated third voltage into an analog quantity;
step 604: the voltage adjusting sub-circuit of the voltage generating circuit generates the second voltage by using the first voltage and the third voltage after analog quantity conversion.
In one embodiment, the voltage adjustment sub-circuit comprises at least a first resistor, a second resistor and a third resistor;
the generating the second voltage by using the first voltage and the third voltage after performing analog quantity conversion includes:
and performing voltage conversion by using the first voltage and a third voltage after analog quantity conversion through voltage division among the first resistor, the second resistor and the third resistor to generate the second voltage.
In an embodiment, the first voltage is provided at a first port of the power generation sub-circuit; one end of the first resistor is connected with the first port, and the other end of the first resistor is connected with the load; one end of the second resistor is connected with the first port, and the other end of the second resistor is connected with the ground; one end of the third resistor is connected with the first port, and the other end of the third resistor is connected with the digital-to-analog conversion sub-circuit.
In one embodiment, the determining a first parameter based on the first voltage and the second voltage comprises:
determining a corresponding relation among the first voltage, the second voltage and the third voltage according to a current relation among branches connected with the first port;
determining a third voltage based on the correspondence;
determining the first parameter according to the third voltage.
In one embodiment, the control sub-circuit and the digital-to-analog conversion sub-circuit are integrated in the same chip.
In one embodiment, the first resistor includes a plurality of sub-resistors; and/or the second resistance comprises a plurality of sub-resistances; and/or the third resistance comprises a plurality of sub-resistances.
The embodiment of the invention provides a voltage generation method, which comprises the following steps: the power supply generation sub-circuit of the voltage generation circuit provides a first voltage; the magnitude of the first voltage is constant; the control sub-circuit of the voltage generation circuit determines the magnitude of a second voltage applied to the load; determining a first parameter based on the first voltage and the second voltage; the digital-to-analog conversion sub-circuit of the voltage generation circuit generates a third voltage by using the first parameter; and converting the generated third voltage into an analog quantity; the voltage adjusting sub-circuit of the voltage generating circuit generates the second voltage by using the first voltage and the third voltage after analog quantity conversion. According to the scheme of the embodiment of the invention, the adjustment of the second voltage output by the voltage generation circuit is realized by modifying the first parameter, and the value of the first parameter can be modified in a software mode, so that the adjustment mode is convenient and easy to realize; in addition, the functions of the control sub-circuit and the digital-to-analog conversion sub-circuit in the embodiment of the invention can be realized by directly utilizing an MCU or a device with similar functions in electronic equipment, so that the voltage generating circuit in the embodiment of the invention achieves the effects of low cost and small volume.
It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In addition, the technical solutions described in the embodiments of the present invention may be arbitrarily combined without conflict.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (4)

1. A voltage generation circuit, comprising:
a power generation sub-circuit providing a first voltage at a first port of the power generation sub-circuit; one end of the first resistor is connected with the first port, and the other end of the first resistor is connected with a load; one end of the second resistor is connected with the first port, and the other end of the second resistor is connected with the ground; one end of the third resistor is connected with the first port, and the other end of the third resistor is connected with the digital-to-analog conversion sub-circuit; the magnitude of the first voltage is constant;
the control sub-circuit is used for acquiring the characteristic condition of the load and inquiring a pre-stored relation table corresponding to the magnitude of the second voltage to be applied and the characteristic condition of the load according to the acquired characteristic condition of the load so as to determine the magnitude of the second voltage applied to the load; determining a corresponding relation among the first voltage, the second voltage and the third voltage based on a current relation among branches connected with the first port; determining the third voltage based on the correspondence; determining a first parameter according to the third voltage;
the digital-to-analog conversion sub-circuit is used for generating the third voltage by utilizing the first parameter; converting the generated third voltage into a digital quantity to an analog quantity;
and a voltage adjustment sub-circuit at least including the first resistor, the second resistor, and the third resistor, and specifically configured to perform voltage conversion by using the first voltage and the third voltage after analog quantity conversion through voltage division among the first resistor, the second resistor, and the third resistor to generate the second voltage.
2. The voltage generation circuit of claim 1, wherein the control sub-circuit and the digital-to-analog conversion sub-circuit are integrated in the same chip.
3. The voltage generation circuit of claim 1, wherein the first resistor comprises a plurality of sub-resistors; and/or the second resistance comprises a plurality of sub-resistances; and/or the third resistance comprises a plurality of sub-resistances.
4. A method of voltage generation, the method comprising:
a first port of a power generation sub-circuit of the voltage generation circuit provides a first voltage; one end of the first resistor is connected with the first port, and the other end of the first resistor is connected with a load; one end of the second resistor is connected with the first port, and the other end of the second resistor is connected with the ground; one end of the third resistor is connected with the first port, and the other end of the third resistor is connected with the digital-to-analog conversion sub-circuit; the magnitude of the first voltage is constant;
the control sub-circuit of the voltage generation circuit collects the characteristic condition of the load and inquires a pre-stored relation table corresponding to the magnitude of the second voltage to be applied and the characteristic condition of the load according to the collected characteristic condition of the load so as to determine the magnitude of the second voltage applied to the load; determining a corresponding relation among the first voltage, the second voltage and the third voltage based on a current relation among branches connected with the first port;
determining the third voltage based on the correspondence;
determining a first parameter according to the third voltage;
the digital-to-analog conversion sub-circuit of the voltage generation circuit generates the third voltage by using the first parameter; and performing digital-to-analog conversion of the generated third voltage;
the voltage adjustment sub-circuit of the voltage generation circuit at least comprises the first resistor, the second resistor and the third resistor, and is specifically configured to perform voltage conversion by using the first voltage and the third voltage after analog quantity conversion through voltage division among the first resistor, the second resistor and the third resistor to generate the second voltage.
CN202010549347.7A 2020-06-16 2020-06-16 Voltage generating circuit and method Active CN111679709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010549347.7A CN111679709B (en) 2020-06-16 2020-06-16 Voltage generating circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010549347.7A CN111679709B (en) 2020-06-16 2020-06-16 Voltage generating circuit and method

Publications (2)

Publication Number Publication Date
CN111679709A CN111679709A (en) 2020-09-18
CN111679709B true CN111679709B (en) 2022-03-11

Family

ID=72455265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010549347.7A Active CN111679709B (en) 2020-06-16 2020-06-16 Voltage generating circuit and method

Country Status (1)

Country Link
CN (1) CN111679709B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04365109A (en) * 1991-06-13 1992-12-17 Matsushita Electric Ind Co Ltd Error amplifying circuit
US6859157B1 (en) * 2003-01-31 2005-02-22 Inovys Corporation Programmable precision current controlling apparatus
CN1623087A (en) * 2002-03-01 2005-06-01 艾伦·R·桑普森 Fluid presence and qualitative measurements by transient immitivity response
CN101387658A (en) * 2008-10-23 2009-03-18 成都优博创技术有限公司 Detection circuit for auto detecting avalanche magnitude of voltage of avalanche photodiode and method
CN102315633A (en) * 2010-07-06 2012-01-11 瑞昱半导体股份有限公司 Electrostatic protection circuit
CN103973231A (en) * 2013-01-31 2014-08-06 立锜科技股份有限公司 Voltage adjustment circuit of amplification circuit and related adjustment method
CN205305209U (en) * 2016-01-11 2016-06-08 湖南汽车工程职业学院 Vehicle headlamps control circuit
CN107565813A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 Apparatus for adjusting power supply and method, the chip system and method for running chip system
CN110429842A (en) * 2019-07-18 2019-11-08 天津大学 A kind of single-sensor inverter control method of combination inductive drop and capacitance voltage
CN110531143A (en) * 2018-05-25 2019-12-03 艾普凌科有限公司 Voltage detector
CN110954737A (en) * 2018-09-27 2020-04-03 意法半导体(鲁塞)公司 Monitoring a DC voltage value with respect to a number of voltage levels
CN210431229U (en) * 2019-07-23 2020-04-28 北京理工雷科电子信息技术有限公司 Self-adaptive power supply micro-control system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04365109A (en) * 1991-06-13 1992-12-17 Matsushita Electric Ind Co Ltd Error amplifying circuit
CN1623087A (en) * 2002-03-01 2005-06-01 艾伦·R·桑普森 Fluid presence and qualitative measurements by transient immitivity response
US6859157B1 (en) * 2003-01-31 2005-02-22 Inovys Corporation Programmable precision current controlling apparatus
CN101387658A (en) * 2008-10-23 2009-03-18 成都优博创技术有限公司 Detection circuit for auto detecting avalanche magnitude of voltage of avalanche photodiode and method
CN102315633A (en) * 2010-07-06 2012-01-11 瑞昱半导体股份有限公司 Electrostatic protection circuit
CN103973231A (en) * 2013-01-31 2014-08-06 立锜科技股份有限公司 Voltage adjustment circuit of amplification circuit and related adjustment method
CN205305209U (en) * 2016-01-11 2016-06-08 湖南汽车工程职业学院 Vehicle headlamps control circuit
CN107565813A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 Apparatus for adjusting power supply and method, the chip system and method for running chip system
CN110531143A (en) * 2018-05-25 2019-12-03 艾普凌科有限公司 Voltage detector
CN110954737A (en) * 2018-09-27 2020-04-03 意法半导体(鲁塞)公司 Monitoring a DC voltage value with respect to a number of voltage levels
CN110429842A (en) * 2019-07-18 2019-11-08 天津大学 A kind of single-sensor inverter control method of combination inductive drop and capacitance voltage
CN210431229U (en) * 2019-07-23 2020-04-28 北京理工雷科电子信息技术有限公司 Self-adaptive power supply micro-control system

Also Published As

Publication number Publication date
CN111679709A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
WO2018001328A1 (en) Power regulation device and method, chip system and method for operating chip system
US6535408B2 (en) Power converter with adjustable output voltage
TWI777454B (en) Digitally programmable, fully differential effor amplifier
JP2012160048A (en) Power circuit, control method of the same, and electronic device
US20150372592A1 (en) Apparatus and methods for low voltage high psrr systems
CN114200994B (en) Low dropout linear regulator and laser ranging circuit
CN211405861U (en) High-precision adjustable power supply circuit capable of reducing power supply ripple and power supply equipment
CN104331113A (en) High-precision numerically-controlled constant current source
CN210431229U (en) Self-adaptive power supply micro-control system
CN211181607U (en) Voltage regulating circuit and backlight driving circuit
CN201163760Y (en) Electronic potentiometer module
CN111679709B (en) Voltage generating circuit and method
CN104679084A (en) Voltage correction circuit and low-dropout linear regulator system
CN112363558A (en) Voltage regulating circuit
CN114207698B (en) Power management device and display device
CN111277134A (en) Voltage conversion circuit and display device
US7884589B2 (en) Controllable power supply device with step-up function
CN111277143A (en) Transient response enhanced digital control BUCK converter
US10890933B2 (en) Voltage regulator error detection and correction
CN219609502U (en) BUCK power supply output voltage adjusting circuit
CN210157086U (en) Power supply voltage following device and computing equipment
CN218473030U (en) Voltage conversion circuit
JP2003180073A (en) Power supply circuit
CN114977800B (en) DC stabilized power supply circuit and correction method thereof
CN221303898U (en) Constant current source circuit with adjustable output current and circuit board

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant