Constant power output system
By using MOS tubes, ADC modules and constant power modules in the constant power output system, the load voltage and current are converted into digital signals and the duty cycle of the PWM signal is adjusted. This solves the problem of high MCU cost in the existing technology and achieves low cost. Cost-effective, high-precision constant power output.
Patent Information
- Application Number
- CN202410921420.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-10
AI Technical Summary
In the existing constant power output system, in order to achieve constant power output of the heating wire, it is usually necessary to use a high-cost MCU for complex monitoring and adjustment, resulting in complex system development and high cost.
Using a low-cost hardware solution, through MOS tubes, ADC modules and constant power modules, the load voltage and load current are converted into digital signals, and the duty cycle of the PWM signal is adjusted to achieve constant power output. The solution includes a first ADC module and a second ADC module, each with b-byte precision. The duty cycle D of the PWM signal is adjusted through the digital signal X and the digital signal Y to achieve the output of constant power P1.
There is no need to use a high-cost MCU, and high-precision constant power output is achieved through low-cost hardware. The logic is simple, the structure is simple, and the cost is low.
Smart Images

Figure CN118759955A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of constant power output, in particular to a constant power output system. Background Art
[0002] In common DC heating applications where resistors are used as heating wires, the power on the heating wire needs to be constant for heating stability. However, the voltage value on the heating wire varies greatly, and the resistance of the heating wire also changes with temperature. To achieve constant power output, the voltage and current of the resistor wire need to be dynamically adjusted. Existing applications often use MCUs to monitor the power information of the heating wire to achieve constant power, but the cost of MCUs is high and product solution development is relatively complex. Summary of the invention
[0003] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art and to provide a constant power output system which can achieve constant power output with higher precision by adopting a pure hardware and low-cost method.
[0004] The constant power output system according to the embodiment of the present invention comprises a MOS tube MP, a source of the MOS tube MP inputs a load voltage Vbat, and a drain of the MOS tube MP outputs a load current Ibat;
[0005] A first ADC module, capable of converting a load voltage Vbat into a digital signal X;
[0006] A second ADC module is capable of converting the load current Ibat into a digital signal Y;
[0007] The first ADC module and the second ADC module are ADCs with b-byte precision (b is an integer and b>0);
[0008] A constant power module, wherein the constant power module outputs a PWM signal to drive the MOS tube MP, and the constant power module adjusts a duty cycle D of the PWM signal according to the digital signal X and the digital signal Y to output a constant power P1;
[0009] Wherein D=Ton / T, Ton is the on-time, and T is the period of the PWM signal.
[0010] According to some embodiments of the present invention, the period T of the PWM signal is constant, and the constant power module adjusts the on-time Ton according to the digital signal X and the digital signal Y to adjust the duty cycle D of the PWM signal.
[0011] According to some embodiments of the present invention, the on-time Ton is constant, and the constant power module adjusts the period T of the PWM signal according to the digital signal X and the digital signal Y, thereby adjusting the duty cycle D of the PWM signal.
[0012] According to some embodiments of the present invention, T=Z*CLK, CLK is the clock period of the first ADC module and the second ADC module or the clock period of the PWM signal, Z is the number of periods, and Z=D1*D2*X*Y / P1, and Z≥2b, D1 is the resolution of the load voltage Vbat, and D2 is the resolution of the load current Ibat;
[0013] Ton=K*CLK, K is a constant;
[0014] Then D=Ton / T=K / Z.
[0015] According to some embodiments of the present invention, the value range of the constant K is 2 (b-1) ~2 (b+1) .
[0016] According to some embodiments of the present invention, the first ADC module includes a variable resistor R1, a resistor R2, a comparator comp, and a digital circuit 1, one end of the variable resistor R1 inputs a load voltage Vbat, the other end of the variable resistor R1 is electrically connected to one end of the resistor R2 and an input end of the comparator comp, respectively, the other end of the resistor R2 is grounded, the output end of the comparator comp is electrically connected to the input end of the digital circuit 1, and the output end of the digital circuit 1 outputs a digital signal X; the digital circuit 1 outputs n when the nth clock rising edge comes to set the resistance value of the variable resistor R1 to n*R (n is a gradually increasing integer, and 1≤n≤2b), wherein the reference voltage of the comparator comp is Vf, the resistor R2=K1*R (K1 is a constant), then the resolution D1=reference voltage Vf / K1, and the digital signal X=n+K1.
[0017] According to some embodiments of the present invention, the value range of K1 is 2 b ~2 (b+1) .
[0018] According to some embodiments of the present invention, the second ADC module includes an adjustable current source, a sampling circuit, a comparison circuit and a digital circuit 2, the adjustable current source outputs a current I1, the input end of the adjustable current source inputs a load voltage Vbat, the sampling end of the sampling circuit is electrically connected to the drain of the MOS tube MP, the output end of the adjustable current source and the output end of the sampling circuit are electrically connected to the input end of the comparison circuit respectively, the comparison circuit outputs a pulse signal by comparing the current I1 with the sampling current of the sampling circuit to control the digital circuit 2 to output a digital signal Y; the digital circuit 2 outputs m at the rising edge of the mth clock, and sets the current I1 of the adjustable current source to (K2+m)uA, where m is a gradually increasing integer, and 1≤m≤2 b , K2 is a constant, then Y=K2+m.
[0019] According to some embodiments of the present invention, the sampling circuit includes a MOS tube MS, an operational amplifier A, a MOS tube MN0, a MOS tube MN1, and a MOS tube MN2, the amplification factor of the operational amplifier A is A1, the gate of the MOS tube MS inputs the PWM signal, the source of the MOS tube MS inputs the load voltage Vbat, the drain of the MOS tube MS is electrically connected to the source of the MOS tube MN0 and one input end of the operational amplifier A, respectively, the other input end of the operational amplifier A inputs the load current Ibat, the output end of the operational amplifier A is electrically connected to the gate of the MOS tube MN0, the drain of the MOS tube MN0 is electrically connected to the drain of the MOS tube MN1, the gate of the MOS tube MN1, and the gate of the MOS tube MN2, the drain of the MOS tube MN2 is electrically connected to the input end of the comparison circuit, and the amplification factor of the MOS tube MN2 relative to the MOS tube MN1 is A2; then the resolution D2=(A1*A2)uA, the output current I2 of the MOS tube MN2=load current Ibat / resolution D2=Ibat / (A1*A2).
[0020] According to some embodiments of the present invention, the comparison circuit includes a Schmitt trigger SCT. When the current I1>the current I2, the output of the Schmitt trigger SCT will jump from 0 to 1, so that the digital circuit 2 outputs the next digital signal Y.
[0021] The constant power output system according to the embodiment of the present invention has at least the following beneficial effects: the present invention does not need to adopt a high-cost MCU, and only needs to use a low-cost first ADC module and a second ADC module to convert the load voltage Vbat and the load current Ibat into a digital signal X and a digital signal Y, and then generate a specific PWM signal through a digital algorithm on the constant power module to control the duty cycle D of the MOS tube MP to achieve the output of constant power P1; the duty cycle is controlled by the digital signal X and the digital signal Y, the logic is simple, and it is easy to adjust and implement. Therefore, the present invention has low cost and simple structure.
[0022] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings;
[0024] Figure 1 It is the principle block diagram of the constant power output circuit;
[0025] Figure 2 This is the power supply schematic of the first ADC module;
[0026] Figure 3 This is the power supply schematic of the second ADC module;
[0027] Figure 4 Logic diagram of constant power module;
[0028] Figure 5 It is a Z-value table. DETAILED DESCRIPTION
[0029] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.
[0030] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0031] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0032] Reference Figures 1 to 5 The present invention provides a constant power output system, comprising a MOS tube MP, a first ADC module, a second ADC module and a constant power module, wherein the MOS tube MP can be a PMOS tube or an NMOS tube, the PMOS tube is easy to drive and has a lower cost, and the NMOS tube has a higher efficiency. The source of the MOS tube MP inputs a load voltage Vbat, and the drain of the MOS tube MP outputs a load current Ibat; the first ADC module can convert the load voltage Vbat into a digital signal X; the second ADC module can convert the load current Ibat into a digital signal Y; the first ADC module and the second ADC module are ADCs with b-byte precision (b is an integer and b>0); the constant power module outputs a PWM signal to drive the MOS tube MP, and the constant power module adjusts the duty cycle D of the PWM signal according to the digital signal X and the digital signal Y (D=Ton / T, T is the period of the PWM signal, and Ton is the on-time) to output a constant power P1.
[0033] In some embodiments, the period T of the PWM signal is constant, and the constant power module adjusts the on-time Ton according to the digital signal X and the digital signal Y, thereby adjusting the duty cycle D of the PWM signal.
[0034] In some embodiments, the on-time Ton is constant, and the constant power module adjusts the period T of the PWM signal according to the digital signal X and the digital signal Y, thereby adjusting the duty cycle D of the PWM signal. Preferably, the constant power module adjusts the period number Z according to the digital signal X and the digital signal Y, thereby adjusting the period T, so that the duty cycle D of the PWM signal changes to output a constant power P1; T = Z*CLK, CLK is the clock period of the first ADC module and the second ADC module or the clock period of the PWM signal, and the first ADC module, the second ADC module and the PWM signal can be the same clock or different clocks; wherein Z = D1*D2*X*Y / P1, and Z≥2 b , D1 is the resolution of the load voltage Vbat, D2 is the resolution of the load current Ibat; Ton=K*CLK, K is a constant; and D=Ton / T=K / Z is obtained.
[0035] The present invention does not need to use a high-cost MCU. It only needs to use a low-cost first ADC module and a second ADC module to convert the load voltage Vbat and the load current Ibat into a digital signal X and a digital signal Y, and then generate a specific PWM signal through a digital algorithm on the constant power module to control the duty cycle D (D=K / Z, K is an empirical constant) of the MOS tube MP to achieve the output of constant power P1. The logic of the adopted digital algorithm is simple. In particular, the relationship between the number of cycles Z and X*Y is clarified: Z=D1*D2*X*Y / P1, where D1 is the resolution of the load voltage Vbat, and D2 is the resolution of the load current Ibat. Therefore, there is a proportional relationship between Z and X*Y, and when Z≥2b, high-precision adjustment can be achieved, the logic is simple, and it is easy to adjust and implement. Therefore, the present invention has low cost, simple structure, and the algorithm of the constant power module is simple and high-precision.
[0036] The following example takes a constant power output of 8W, that is, P1 = 8W, where the precision of the first ADC module and the second ADC module are both 7 bits, that is, b = 7, and the conversion of digital signals is achieved through 128 steps of comparison:
[0037] like Figure 2As shown, in some embodiments, the first ADC module includes a variable resistor R1, a resistor R2, a comparator comp, and a digital circuit 1, which is composed of only a group of resistors, a comparator and a corresponding digital circuit, and occupies a small chip area and has a low cost. One end of the variable resistor R1 inputs the load voltage Vbat, and the other end of the variable resistor R1 is electrically connected to one end of the resistor R2 and an input end of the comparator comp respectively, and the other end of the resistor R2 is grounded. The output end of the comparator comp is electrically connected to the input end of the digital circuit 1, and the output end of the digital circuit 1 outputs a digital signal X; the digital circuit 1 adopts an existing digital circuit, and can output n when the nth clock rising edge comes to set the resistance value of the variable resistor R1 to n*R (n is a gradually increasing integer, and 1≤n≤128), wherein the reference voltage of the comparator comp is Vf, Vf=2.1V, and the resistor R2=K1*R (K1 is a constant), then the resolution D1=reference voltage Vf / K1, and the digital signal X=n+K1.
[0038] Furthermore, the value range of K1 is 2 b ~2 (b+1) , that is, 128 to 256. In this range, the control accuracy is high. According to experience, K1 = 140 is used. At this time, the digital signal X = n + 140, the resolution D1 = 0.015V, the actual voltage value Vbat is about D1*X = 0.015*X, and the range is 2.115V to 4.02V. If you need to change the range and accuracy of Vbat, you can change the comparison reference voltage Vf or the resistor voltage division method to achieve it.
[0039] like Figure 3 As shown, the second ADC module includes an adjustable current source, a sampling circuit, a comparison circuit and a digital circuit 2. The circuit consists of only three parts: current sampling, a comparator and a digital circuit. Excluding the power part, the circuit occupies a very small chip area. The adjustable current source outputs current I1, the input end of the adjustable current source inputs the load voltage Vbat, the sampling end of the sampling circuit is electrically connected to the drain of the MOS tube MP, the output end of the adjustable current source and the output end of the sampling circuit are electrically connected to the input end of the comparison circuit respectively, and the comparison circuit outputs a pulse signal by comparing the current I1 with the sampling current of the sampling circuit to control the digital circuit 2 to output a digital signal Y; the digital circuit 2 outputs m at the mth clock rising edge, and the current I1 of the adjustable current source is set to (K2+m)uA, m is a gradually increasing integer, and 1≤m≤128, K2 is a constant, then Y=K2+m. According to empirical values, K2=50, then I1=(50+m)Ua, Y=50+m.
[0040] In some embodiments, the sampling circuit includes a MOS tube MS, an operational amplifier A, a MOS tube MN0, a MOS tube MN1, and a MOS tube MN2. The amplification factor of the operational amplifier A is A1, and the value of A1 can be 300. The gate of the MOS tube MS inputs the PWM signal, the source of the MOS tube MS inputs the load voltage Vbat, the drain of the MOS tube MS is electrically connected to the source of the MOS tube MN0 and one input terminal of the operational amplifier A, respectively, the other input terminal of the operational amplifier A inputs the load current Ibat, and the output terminal of the operational amplifier A is electrically connected to the gate of the MOS tube MN0. , the drain of MOS tube MN0 is electrically connected to the drain of MOS tube MN1, the gate of MOS tube MN1 and the gate of MOS tube MN2 respectively, the drain of MOS tube MN2 is electrically connected to the input end of the comparison circuit, the amplification factor of MOS tube MN2 relative to MOS tube MN1 is A2, and A2 can be 100; then the resolution D2 = (A1*A2)uA = 30000Ua = 30mA, the output current I2 of MOS tube MN2 = load current Ibat / resolution D2 = Ibat / (A1*A2) = Ibat / 30000. In some embodiments, the comparison circuit includes a Schmitt trigger SCT, and when the current I1> the current I2, the output of the Schmitt trigger SCT will jump from 0 to 1, so that the digital circuit 2 outputs the next digital signal Y. The actual load current Ibat is approximately D2*Y=30Ma*Y, and the measuring range is 1.53A~5.34A. If you need to change the measuring range and accuracy of Ibat, you can change the current sampling ratio A1, A2 and constant K2 to achieve it.
[0041] The derivation process of the relationship between the clock cycle number Z of the PWM signal and X*Y is as follows:
[0042] When the MOS tube MP is turned on, the transient power P0 is:
[0043] P0=Ibat*Vbat=(D1*Y)*(D2*X)=D1*D2*X*Y
[0044] Since the period of the PWM signal is T = Z*CLK and the on-time Ton is fixed at K*CLK, the output constant power P1 (average power) is:
[0045] P1=P0*Ton / T=D1*D2*K*X*Y / Z
[0046] Assuming α = D1*D2*K, the relationship between the clock cycle number Z of the PWM signal and X*Y can be derived:
[0047] Z = α*XY / P1.
[0048] Among them, according to experience, the value range of constant K is 2 (b-1) ~2(b+1) , that is, 64 to 256, at this time higher accuracy can be achieved.
[0049] In this design, D1 = 15mV, D2 = 30mA, K = 128, P1 = 8W, so the above formula can be simplified to:
[0050] Z=0.0072*XY,Z≧128.
[0051] The digital circuit can achieve constant power output by adjusting the PWM period according to the Z value.
[0052] In some embodiments, the Z value can be set by looking up the table XY, which can reduce the design area of the digital circuit. Taking this design as an example, Z takes an integer value, X=140+n, the value range of X is 141~268, Y=50+m, the value range of Y is 51~178, then the value range of XY is 7191~47704. The 8W constant power Z value lookup table of this design is as follows Figure 5 As shown, the value range of Z is 128 to 339, and each integer step of Z corresponds to an XY step of 138.89. For the XY value between Z and Z+1, Z is taken as the corresponding conduction cycle number. The digital circuit follows Figure 5 By taking the PWM period from the table in the figure, a constant 8W output can be achieved.
[0053] In addition, reducing the measurement range and accuracy of the first ADC module and the second ADC module can reduce the number of XY lookup tables by multiples, depending on the design.
[0054] It is easy for those skilled in the art to understand that the above preferred embodiments can be freely combined and superimposed without conflict.
[0055] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or directly or indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A constant power output system, comprising: MOS tube MP, the source of the MOS tube MP inputs a load voltage Vbat, and the drain of the MOS tube MP outputs a load current Ibat; A first ADC module, capable of converting a load voltage Vbat into a digital signal X; A second ADC module is capable of converting the load current Ibat into a digital signal Y; The first ADC module and the second ADC module are ADCs with b-byte precision (b is an integer and b>0); A constant power module, wherein the constant power module outputs a PWM signal to drive the MOS tube MP, and the constant power module adjusts a duty cycle D of the PWM signal according to the digital signal X and the digital signal Y to output a constant power P1; Wherein D=Ton / T, Ton is the on-time, and T is the period of the PWM signal.
2. The constant power output system according to claim 1, characterized in that: The period T of the PWM signal is constant, and the constant power module adjusts the on-time Ton according to the digital signal X and the digital signal Y, thereby adjusting the duty cycle D of the PWM signal.
3. The constant power output system according to claim 1, characterized in that: The on-time Ton is constant, and the constant power module adjusts the period T of the PWM signal according to the digital signal X and the digital signal Y, thereby adjusting the duty cycle D of the PWM signal.
4. The constant power output system according to claim 3, characterized in that: T=Z*CLK, CLK is the clock period of the first ADC module and the second ADC module or the clock period of the PWM signal, Z is the number of periods, and Z=D1*D2*X*Y / P1, and Z≥2 b , D1 is the resolution of the load voltage Vbat, D2 is the resolution of the load current Ibat; Ton=K*CLK, K is a constant; Then D=Ton / T=K / Z.
5. The constant power output system according to claim 4, characterized in that: The value range of constant K is 2 (b-1) ~2 (b +1) .
6. The constant power output system according to claim 4, characterized in that: The first ADC module includes a variable resistor R1, a resistor R2, a comparator comp, and a digital circuit 1, wherein one end of the variable resistor R1 inputs a load voltage Vbat, the other end of the variable resistor R1 is electrically connected to one end of the resistor R2 and an input end of the comparator comp respectively, the other end of the resistor R2 is grounded, the output end of the comparator comp is electrically connected to the input end of the digital circuit 1, and the output end of the digital circuit 1 outputs a digital signal X; The digital circuit 1 outputs n when the nth clock rising edge comes to set the resistance value of the variable resistor R1 to n*R (n is a gradually increasing integer, and 1≤n≤2b), where the reference voltage of the comparator comp is Vf, the resistance R2=K1*R (K1 is a constant), then the resolution D1=reference voltage Vf / K1, and the digital signal X=n+K1.
7. The constant power output system according to claim 6, characterized in that: The value range of K1 is 2 b ~2 (b+1) .
8. The constant power output system according to claim 4, characterized in that: The second ADC module includes an adjustable current source, a sampling circuit, a comparison circuit and a digital circuit 2, the adjustable current source outputs a current I1, the input end of the adjustable current source inputs a load voltage Vbat, the sampling end of the sampling circuit is electrically connected to the drain of the MOS tube MP, the output end of the adjustable current source and the output end of the sampling circuit are electrically connected to the input end of the comparison circuit respectively, and the comparison circuit outputs a pulse signal by comparing the current I1 with the sampling current of the sampling circuit to control the digital circuit 2 to output a digital signal Y; Digital circuit 2 outputs m at the rising edge of the mth clock, and sets the current I1 of the adjustable current source to (K2+m)uA, where m is a gradually increasing integer and 1≤m≤2 b , K2 is a constant, then Y=K2+m.
9. The constant power output system according to claim 8, characterized in that: The sampling circuit includes a MOS tube MS, an operational amplifier A, a MOS tube MN0, a MOS tube MN1, and a MOS tube MN2. The amplification factor of the operational amplifier A is A1. The gate of the MOS tube MS inputs the PWM signal. The source of the MOS tube MS inputs the load voltage Vbat. The drain of the MOS tube MS is electrically connected to the source of the MOS tube MN0 and one input end of the operational amplifier A respectively. The load current Ibat is input to the other input end of the operational amplifier A. The output end of the operational amplifier A is electrically connected to the gate of the MOS tube MN0. The drain of the MOS tube MN0 is electrically connected to the drain of the MOS tube MN1, the gate of the MOS tube MN1, and the gate of the MOS tube MN2 respectively. The drain of the MOS tube MN2 is electrically connected to the input end of the comparison circuit. The amplification factor of the MOS tube MN2 relative to the MOS tube MN1 is A2. Then the resolution D2=(A1*A2)uA, and the output current I2 of the MOS tube MN2=load current Ibat / resolution D2=Ibat / (A1*A2).
10. The constant power output system according to claim 9, characterized in that: The comparison circuit includes a Schmitt trigger SCT. When the current I1>the current I2, the output of the Schmitt trigger SCT will jump from 0 to 1, so that the digital circuit 2 outputs the next digital signal Y.
Citation Information
Patent Citations
Constant power control circuit and method, cigarette rod and electronic cigarette
CN114468393A
DCDC converter, switching power supply and electronic equipment
CN115208190A
Constant-power controller
JP2000308336A
Battery compensation system using pwm
US20140033409A1
Power control method and apparatus
WO2016082395A1
