CN117687464A - Voltage compensation circuit, circuit board, constant voltage output circuit and electronic cigarette - Google Patents

Voltage compensation circuit, circuit board, constant voltage output circuit and electronic cigarette Download PDF

Info

Publication number
CN117687464A
CN117687464A CN202410067929.XA CN202410067929A CN117687464A CN 117687464 A CN117687464 A CN 117687464A CN 202410067929 A CN202410067929 A CN 202410067929A CN 117687464 A CN117687464 A CN 117687464A
Authority
CN
China
Prior art keywords
voltage
output
unit
sampling
resistor
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.)
Pending
Application number
CN202410067929.XA
Other languages
Chinese (zh)
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.)
Hangzhou Shangtu Semiconductor Co ltd
Original Assignee
Hangzhou Shangtu Semiconductor 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 Hangzhou Shangtu Semiconductor Co ltd filed Critical Hangzhou Shangtu Semiconductor Co ltd
Priority to CN202410067929.XA priority Critical patent/CN117687464A/en
Publication of CN117687464A publication Critical patent/CN117687464A/en
Pending legal-status Critical Current

Links

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

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 application discloses voltage compensation circuit, circuit board, constant voltage output circuit and electron cigarette. Wherein the voltage compensation circuit includes: the power switch tube is used for outputting a driving signal; the first sampling unit is connected with the first end of the power switch tube and is used for outputting a first sampling voltage of the control chip according to the driving signal; the voltage compensation unit is connected with the second end of the power switch tube, and is used for obtaining the sampling current of the control chip according to the driving signal and outputting the analog resistor loss voltage according to the sampling current; the first output unit is respectively connected with the output end of the first sampling unit and the output end of the voltage compensation unit and is used for outputting a loss compensation voltage corresponding to the control chip according to the first sampling voltage and the analog resistor loss voltage. In this application, through output loss compensation voltage to be convenient for according to the corresponding drive signal of loss compensation voltage output, thereby realize constant voltage output, can bring better electron cigarette to use experience for the user.

Description

Voltage compensation circuit, circuit board, constant voltage output circuit and electronic cigarette
Technical Field
The application relates to the technical field of electronic circuits, in particular to a voltage compensation circuit, a circuit board, a constant voltage output circuit and an electronic cigarette.
Background
The electronic cigarette is an airflow sensor imitating a traditional cigarette, and the working principle is that the built-in chip controls current to pass through the heating wire, so that the heating wire heats to atomize liquid tobacco tar, and the electronic cigarette is similar to the traditional cigarette in aspects of appearance, smog, taste and the like. When the electronic cigarette adopts constant voltage output, the voltage of the output end of the chip is usually sampled, in practical application, the output end of the chip is usually connected with the heating wire through a lead, and the voltage at the heating wire is constant for users, because only the voltage at the heating wire is constant, the real constant voltage output can be realized, but because the heating wire has partial resistance, the voltage of the output end is larger than the voltage at the heating wire, and therefore, the actual constant voltage value is smaller than the design value. Therefore, how to reduce or compensate the influence of the loss voltage on the output becomes a technical problem to be solved.
Disclosure of Invention
The present application aims to solve, at least to some extent, one of the technical problems in the related art. Therefore, the application provides a voltage compensation circuit, a circuit board, a constant voltage output circuit and an electronic cigarette, which can compensate the influence of the loss voltage on the circuit output and realize constant voltage output.
In a first aspect, an embodiment of the present application provides a voltage compensation circuit, applied to a control chip, including:
the power switch tube is used for outputting a driving signal;
the first sampling unit is connected with the first end of the power switch tube and is used for outputting a first sampling voltage of the control chip according to the driving signal;
the voltage compensation unit is connected with the second end of the power switch tube, and is used for obtaining the sampling current of the control chip according to the driving signal and outputting the analog resistance loss voltage according to the sampling current;
and the first output unit is respectively connected with the output end of the first sampling unit and the output end of the voltage compensation unit and is used for outputting a loss compensation voltage corresponding to the control chip according to the first sampling voltage and the analog resistance loss voltage.
Optionally, in one embodiment of the present application, as shown in fig. 1, the voltage compensation unit includes a current mirror unit and a line loss compensation unit, where the current mirror unit is configured to output the sampling current to the line loss compensation unit according to the driving signal, so that the line loss compensation unit outputs the analog resistance loss voltage according to the sampling current, where a first end of the current mirror unit is connected to a second end of the power switching tube, and the line loss compensation unit is connected to a second end of the current mirror unit and a second end of the first output unit, respectively.
Optionally, in one embodiment of the present application, the line loss compensation unit includes an analog resistor string and a switch control group, where the switch control group is used to adjust a resistance value of the analog resistor string, the switch control group is connected in parallel to two ends of the analog resistor string, and the switch control group includes a plurality of control switches.
Optionally, in an embodiment of the present application, as shown in fig. 2, the first output unit includes a subtractor and a peripheral circuit matched with the subtractor, one input end of the subtractor is connected to the output end of the first sampling unit, the other input end of the subtractor is connected to the output end of the voltage compensation unit, and the output end of the subtractor is used for outputting a loss compensation voltage corresponding to the control chip.
Optionally, in an embodiment of the present application, the first sampling unit includes a first operational amplifier, and a first resistor and a second resistor connected in series, where one end of the first resistor is used to connect to a signal output end of the control chip, one end of the second resistor is used to connect to at least one load configured on the control chip, an in-phase input end of the first operational amplifier is connected between the other end of the first resistor and the other end of the second resistor, and an output end of the first operational amplifier is connected to the first end of the first output unit.
In a second aspect, embodiments of the present application further provide a circuit board including the voltage compensation circuit according to the first aspect.
In a third aspect, embodiments of the present application further provide a constant voltage output circuit, as shown in fig. 3, including:
the voltage compensation circuit of the first aspect;
the second sampling unit is connected with the output end of the voltage compensation circuit and is used for outputting a second sampling voltage according to the loss compensation voltage;
and the second output unit is connected with the output end of the second sampling unit and is used for outputting a constant voltage signal according to the second sampling voltage and the preset reference voltage.
Optionally, in an embodiment of the present application, the second output unit includes a comparator, a reversible adder, and an output unit, an input end of the reversible adder is connected to an output end of the comparator, and an output end of the reversible adder is connected to a feedback input end of the second sampling unit and an input end of the PWM output unit, respectively, where the comparator is configured to output a comparison signal according to the second sampling voltage and the reference voltage, and the reversible adder is configured to feedback the comparison signal to the second sampling unit, so that the second sampling unit adjusts the second sampling voltage according to the comparison signal, and is further configured to output the comparison signal to the output unit, so as to control a duration of a low level state of the driving signal at each clock cycle according to the comparison signal.
Optionally, in an embodiment of the present application, the second sampling unit includes a third resistor, a fourth resistor, and a plurality of digital output units, where the third resistor, the fourth resistor, and all the digital output units are connected in series between the control chip and the reference ground, and an output end of the second sampling unit is connected between the third resistor and the fourth resistor, and each digital output unit is configured to output a one-bit binary code.
In a fourth aspect, embodiments of the present application further provide an electronic cigarette including the constant voltage output circuit according to the third aspect.
The voltage compensation circuit, the circuit board, the constant voltage output circuit and the electronic cigarette that this application provided, through first sampling unit output first sampling voltage, and through voltage compensation unit output analog resistance loss voltage, and then can be based on first sampling voltage and analog resistance loss voltage through first output unit in order to export the loss compensation voltage that corresponds to control chip, this loss compensation voltage can be used for making up the influence of loss voltage to circuit output, under this kind of circumstances, second sampling unit and second output unit can be according to the corresponding drive signal of this loss compensation voltage output, thereby realize constant voltage output, can bring better electronic cigarette to use experience for the user.
Drawings
The accompanying drawings are included to provide a further understanding of the technical methods of the present application and are incorporated in and constitute a part of this specification, illustrate the technical methods of the present application and together with the examples of the present application, and not constitute a limitation of the technical methods of the present application.
FIG. 1 is a functional block diagram of a voltage compensation unit provided in one embodiment of the present application;
FIG. 2 is a functional block diagram of a first output unit provided in one embodiment of the present application;
fig. 3 is a functional block diagram of a constant voltage output circuit provided in one embodiment of the present application;
FIG. 4 is a schematic diagram of a prior art load driving circuit configuration;
FIG. 5 is a functional block diagram of a voltage compensation circuit provided in one embodiment of the present application;
FIG. 6 is a schematic diagram of the structural connection of a voltage compensation circuit according to one embodiment of the present application;
FIG. 7 is a schematic diagram of the structural connection of a voltage compensation circuit according to another embodiment of the present application;
fig. 8 is a functional block diagram of a constant voltage output circuit provided in another embodiment of the present application;
FIG. 9 is a schematic diagram of structural connection of a second sampling unit according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of a circuit board provided in one embodiment of the present application;
fig. 11 is a schematic diagram of an electronic cigarette according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical methods and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that, in the specification, the claims and the above drawings, the terms "first", "second", and the like are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, and the "first sampling unit" and "second sampling unit" in the following embodiments respectively represent two kinds of sampling units, and are not necessarily used to describe a specific order or sequence of the "first sampling unit" and the "second sampling unit", and the like, and are similarly equivalent to, for example, "first output unit", "second output unit", and the like, which are not repeated herein.
As shown in fig. 4, in the prior art, taking an electronic cigarette as an example, in the load driving circuit, when a user smokes, a switch AT an SW of a chip is turned on, so as to convert the smoking action of the user into an electrical signal and respond to the chip to make the AT output a signal, wherein the internal circuit of the chip can design the AT to be a constant voltage output, an LED is used for indicating the working state of the electronic cigarette, rset is used for configuring the power level, but because a part of resistance may exist between the AT and a load, the voltage of the final output end will be greater than the voltage AT the heating wire, so that the actual constant voltage value is smaller than the design value.
Based on the voltage compensation circuit, the circuit board, the constant voltage output circuit and the electronic cigarette are provided. The voltage compensation circuit of one embodiment is applied to a control chip and comprises: the power switch tube is used for outputting a driving signal; the first sampling unit is connected with the first end of the power switch tube and is used for outputting a first sampling voltage of the control chip according to the driving signal; the voltage compensation unit is connected with the second end of the power switch tube, and is used for obtaining the sampling current of the control chip according to the driving signal and outputting the analog resistor loss voltage according to the sampling current; the first output unit is respectively connected with the output end of the first sampling unit and the output end of the voltage compensation unit and is used for outputting a loss compensation voltage corresponding to the control chip according to the first sampling voltage and the analog resistor loss voltage. In this embodiment, through first sampling unit output first sampling voltage to and through voltage compensation unit output analog resistance loss voltage, so that can be based on first sampling voltage and analog resistance loss voltage through first output unit in order to output the loss compensation voltage that corresponds to control chip, this loss compensation voltage can be used for making up the influence of loss voltage to circuit output, realizes constant voltage output, can bring better electron cigarette to use experience for the user.
Embodiments of the present application are further described below with reference to the accompanying drawings.
As shown in fig. 5, fig. 5 is a schematic block diagram of a voltage compensation circuit according to an embodiment of the present application, which may be applied to, but not limited to, the control chip 200, and may include, but is not limited to:
a power switching tube 110 for outputting a driving signal;
the first sampling unit 130 is connected to the first end of the power switch tube 110, and is configured to output a first sampling voltage of the control chip 200 according to the driving signal;
the voltage compensation unit 120 is connected to the second end of the power switch tube 110, and is configured to obtain a sampling current of the control chip 200 according to the driving signal, and output an analog resistor loss voltage according to the sampling current;
the first output unit 140 is connected to the output terminal of the first sampling unit 130 and the output terminal of the voltage compensation unit 120, respectively, and is configured to output a loss compensation voltage corresponding to the control chip 200 according to the first sampling voltage and the analog resistance loss voltage.
The first sampling voltage is output through the first sampling unit 130, and the analog resistive loss voltage is output through the voltage compensation unit 120, so that a loss compensation voltage corresponding to the control chip 200, which can be used to compensate for the influence of the loss voltage on the circuit output in order to achieve constant voltage output, can be output through the first output unit 140 based on the first sampling voltage and the analog resistive loss voltage.
It should be noted that, in a specific application scenario, the control chip 200 may be but not limited to be connected to the power switch tube 110, the first sampling unit 130 and the voltage compensation unit 120, which is beneficial for the first sampling unit 130 to sample the first sampled voltage and the voltage compensation unit 120 to sample the analog resistance loss voltage, in other words, whether these elements are connected to the control chip 200 may be selected by themselves without being limited herein.
In an embodiment, the types, parameters, etc. of the power switch 110 and the control chip 200 may be various, that is, those skilled in the art may select and set the power switch according to the actual application scenario, which is not limited herein, for example, in the electronic cigarette application scenario corresponding to the present application, the power switch 110 and the control chip 200 will be matched with each other, but if in other application scenarios, the power switch 110 and the control chip 200 may also select other kinds of elements.
In an embodiment, the driving signal may be preset, i.e. the driving signal is constantly output, or may be variably output, for example, another dedicated circuit may be designed to control the duty cycle, so as to output different driving signals, etc., which is not limited herein.
In one embodiment, the load connected to the control chip 200 may be various, as long as it can be matched and docked with the control chip 200, which is not limited herein.
As shown in fig. 6, fig. 6 is a schematic structural connection diagram of a voltage compensation circuit according to an embodiment of the present application.
Referring to fig. 6, in an embodiment, the first sampling unit 130 includes a first operational amplifier OP1, and a first resistor R1 and a second resistor R2 connected in series, wherein one end of the first resistor R1 is used for being connected to the signal output end AT of the control chip, one end of the second resistor R2 is used for being connected to AT least one load configured on the control chip, the non-inverting input end of the first operational amplifier OP1 is connected between the other end of the first resistor R1 and the other end of the second resistor R2, and the output end of the first operational amplifier OP1 is connected to the first end of the first output unit, so that voltage sampling of the signal output end AT of the control chip can be achieved through cooperation of resistor voltage division and the first operational amplifier OP 1.
It should be noted that, specific parameters of the first operational amplifier OP1, the first resistor R1, and the second resistor R2 may be set correspondingly according to actual application scenarios, which is not limited herein.
Referring to fig. 6, in an embodiment, the voltage compensation unit 120 includes a current mirror unit 121 and a line loss compensation unit 122, the current mirror unit 121 is configured to output a sampling current to the line loss compensation unit 122 according to a driving signal, so that the line loss compensation unit 122 outputs an analog resistance loss voltage according to the sampling current, wherein a first end of the current mirror unit 121 is connected to a second end of the power switch tube, and the line loss compensation unit 122 is respectively connected to the second end of the current mirror unit 121 and a second end of the first output unit, that is, the current mirror unit 121 performs current sampling to obtain a sampling current of the control chip, and then outputs the sampling current to the line loss compensation unit 122, and the line loss compensation unit 122 is combined to obtain the analog resistance loss voltage.
It should be noted that the current mirror unit 121 may have a plurality of current mirror ratios, and the current mirror unit 121 may have a plurality of structures besides the current mirror unit 121 formed by connecting two switching tubes as shown in fig. 6, and those skilled in the art may select and set the current mirror unit according to specific application scenarios, which is not limited herein.
Referring to fig. 6, in an embodiment, the line loss compensation unit 122 includes an analog resistor string RX and a switch control group, the switch control group is used for adjusting the resistance value of the analog resistor string RX, the switch control group is connected in parallel to two ends of the analog resistor string RX, the switch control group includes a plurality of control switches, the analog resistor string RX is used for simulating the line loss resistance which may occur in the actual scene, and since the line loss resistances under different conditions may be different, in order to better simulate the actual line loss situation, the switch control group composed of a plurality of control switches is provided, that is, the change of the resistance value of the line loss resistance can be realized through the control switches, so that the line loss situation closer to the actual application scene can be better simulated, and more accurate analog resistance loss voltage can be provided.
It should be noted that the number, parameters, etc. of the resistors in the analog resistor string RX and the number, parameters, etc. of the control switches in the switch control group may be various, and may be selected and set by those skilled in the art according to specific application scenarios, which is not limited herein.
Referring to fig. 6, in an embodiment, the first output unit includes a subtractor 140 and a peripheral circuit matched with the subtractor 140, one input end of the subtractor 140 is connected to the output end of the first sampling unit 130, the other input end of the subtractor 140 is connected to the output end of the voltage compensation unit 120, and the output end of the subtractor 140 is used for outputting a loss compensation voltage corresponding to the control chip, that is, the subtractor 140 calculates the first sampling voltage and the analog resistor loss voltage, so as to obtain and output the loss compensation voltage corresponding to the control chip.
In an embodiment, the subtractor 140 may have a plurality of components besides the structure shown in fig. 6, and accordingly, the peripheral circuits matched with the subtractor 140 may also have a plurality of components, which are well known to those skilled in the art, and therefore are not described herein.
The voltage compensation flow in each of the above embodiments may be performed based on an analog method or a digital method, that is, the circuit unit in each of the above embodiments may be implemented by an analog circuit or a digital circuit, and each of these two cases will be specifically described below.
In order to better explain the working principles of the above embodiments, a number of specific examples are given below for illustration.
Example one:
referring to fig. 6, taking an analog circuit as an example, the AT end is used as the signal output end AT of the control chip, and the compensated output voltage is V AT /(R AT )*(R AT -RX)=V AT -I AT * RX is denoted by VL, and a flow of voltage compensation is described below.
When the driving signal pwm_out=1, the voltage divided by the first resistor R1 and the second resistor R2 and the first operational amplifierOP1 samples the voltage AT the AT end, denoted as K1 AT Wherein k1=r2/(r1+r2);
and current sampling is done by current mirror unit 121, denoted as K2 x I AT Wherein K2 is the current mirror proportion, and the sampled current flows into the analog resistor string RX to obtain K2I AT *RX;
Then, V is completed by the second operational amplifier OP2 in the subtractor 140 unit AT -I AT * The output of RX, namely:
UN=UP;
(U1-UN)/R5=(UN-UO)/Rf;
(U2-UP)/R6=UP/RP;
wherein UN and UP are the negative input terminal voltage and the positive input terminal voltage of the second operational amplifier OP2, UO is the output voltage of the second operational amplifier OP2, U1 is the analog resistor loss voltage, and U2 is the first sampling voltage, respectively.
The above-mentioned formulas are simultaneously available:
UO=(R5+Rf)/R5*RP/(R6+RP)*U2-(Rf/R5)*U1
=(R5+Rf)/R5*RP/(R6+RP)*K1*V AT -(Rf/R5)*K2*I AT *RX;
then the corresponding circuitry can be designed such that:
(R5+Rf)/R5*RP/(R6+RP)*K1=1;
(Rf/R5)*K2=1;
i.e. uo=v AT -I AT *RX。
Example two:
referring to fig. 7, taking a digital circuit as an example, the AT terminal is used as the signal output terminal AT of the control chip, and the compensated output voltage is V AT /(R AT )*(R AT -RX)=V AT -I AT * RX is denoted by VL, and a flow of voltage compensation is described below.
When the driving signal pwm_out=1, the voltage AT terminal is sampled by the voltage division of the first resistor R1 and the second resistor R2 and the first operational amplifier OP1, denoted as K1V AT Wherein k1=r2/(r1+r2);
and, current sampling is completed by the current mirror unit 121, and the record is madeFor K2 x I AT Wherein K2 is the current mirror proportion, and the sampled current flows into the analog resistor string RX to obtain K2I AT *RX;
In practical design, k1=1, k2=1, k1×v AT =V AT ,K2*I AT *RX=I AT * RX; will V AT And I AT * RX time-division is fed into an AD quantizer as shown in FIG. 7, and the AD quantized value is fed into a digital subtractor 140, and the output of the digital subtractor 140 is the digital value V AT -I AT * RX, then digital quantity V AT -I AT * RX is converted by DAC and then outputs analog quantity V AT -I AT * RX, the voltage compensation is completed.
As shown in fig. 8, fig. 8 is a schematic block diagram of a constant voltage output circuit provided in one embodiment of the present application, which may include, but is not limited to:
the voltage compensation circuit shown in any of the above embodiments;
the second sampling unit is connected with the output end of the voltage compensation circuit and is used for outputting a second sampling voltage according to the loss compensation voltage;
and the second output unit is connected with the output end of the second sampling unit and is used for outputting a constant voltage signal according to the second sampling voltage and the preconfigured reference voltage.
In the constant voltage output circuit, the first sampling voltage is output through the first sampling unit, and the analog resistor loss voltage is output through the voltage compensation unit, so that the loss compensation voltage corresponding to the control chip can be output through the first output unit based on the first sampling voltage and the analog resistor loss voltage, the loss compensation voltage can be used for compensating the influence of the loss voltage on the circuit output, in this case, the second sampling unit and the second output unit can output corresponding driving signals according to the loss compensation voltage, constant voltage output is achieved, and better electronic cigarette using experience can be brought to users.
In an embodiment, the reference voltage may be preconfigured in various manners, for example, please refer to fig. 8, wherein a reference unit is designed and connected to the comparator, and may be used to generate a stable reference voltage, or one skilled in the art may select other preconfiguration manners of the reference voltage according to a specific application scenario, which is not limited herein.
In an embodiment, the type of the constant voltage signal outputted by the second output unit may be various, for example, it may be outputted as the driving signal shown in the foregoing embodiment, and the driving signal may be provided to the power switch tube, that is, the driving signal in this case has a feedback effect, so as to implement overall constant voltage output adjustment based on the variation of the driving signal inputted to the power switch tube, however, those skilled in the art may also select other constant voltage output adjustment manners according to specific application scenarios, and this is not a limitation.
In an embodiment, the second output unit may, but not limited to, include a comparator, a reversible adder, and an output unit, wherein an input end of the reversible adder is connected to an output end of the comparator, and an output end of the reversible adder is connected to a feedback input end of the second sampling unit and an input end of the PWM output unit, respectively, wherein the comparator is configured to output a comparison signal according to the second sampling voltage and the reference voltage, and the reversible adder is configured to feedback the comparison signal to the second sampling unit, so that the second sampling unit adjusts the second sampling voltage according to the comparison signal, and is further configured to output the comparison signal to the output unit, so as to control a duration of the low level state of the driving signal at each clock cycle according to the comparison signal.
It should be noted that the specific structures of the comparator, the reversible adder and the output unit are well known to those skilled in the art, and the specific structures thereof are not described herein, and only the working principle thereof will be described later.
In an embodiment, the second sampling unit includes a third resistor, a fourth resistor, and a plurality of digital output units, where the third resistor, the fourth resistor, and all the digital output units are connected in series between the control chip and the reference ground, and an output end of the second sampling unit is connected between the third resistor and the fourth resistor, and each digital output unit is used to output a binary code, and it can be seen that, by using a plurality of digital output units, a binary code capable of being used to output multiple bits, the direction of the binary code is determined by an output of the comparator, and meanwhile, the second sampling voltage of the second sampling unit can be reliably determined in combination with a state of the binary code, where the number of the digital output units, that is, the binary number of bits, for example, the binary code output in fig. 8 is D5-D0, that is, a binary code capable of outputting 6 bits, or, that is, a binary code capable of outputting more bits, is not limited herein.
In order to better explain the working principle of the above embodiments, another specific example is given below for explanation.
Example three:
referring to fig. 8, the analog compensation process shown in the first example or the digital compensation process shown in the second example is described as steps, and the following steps for realizing the constant voltage output are as follows:
the steps are as follows: the compensated loss compensation voltage is sent to a second sampling unit and is output as K;
the steps are as follows: generating a fixed reference voltage, denoted Vref, by a reference cell;
the steps are as follows: feeding K VL and a reference voltage into a comparator;
the steps are as follows: the output of the comparator is fed into a bit reversible adder, the output bit binary code is marked as D5-D0, and the direction of the binary code is determined by the output of the comparator;
the steps are as follows: the 6-bit binary code generated by the reversible adder is used as a feedback signal to be input into the second sampling unit for adjusting the voltage proportion; the 6-bit binary code is simultaneously sent to the PWM output unit to control the off-time of the driving signal, and the on-time of the driving signal is set to be a fixed value Ton; when the steady state is reached, the voltage proportion regulated by the 6-bit binary code output by the reversible adder is equal to the reference voltage, the 6-bit binary code is constant at the moment, the corresponding off-time is also constant, and the corresponding output voltage is also constant at the moment, namely the magnitude of the output voltage is equal to the second sampling voltage.
Example four:
on the basis of example three, a process of realizing constant voltage output is exemplified below.
Referring to fig. 9, if the initial states D5-D0 are all 0, the output of the second sampling unit is VL/(r3+r4) ×r4, denoted as k×vl, where k=r4/(r3+r4), vl=v AT -I AT * RX; if k×vl is greater than Vref, the comparator outputs 1, and sends the same to the reversible adder to add D5-D0, i.e., D5-D0 changes from 000000 to 000001, and the 000001 makes K denominator add 1, K becomes smaller, and k×vl becomes smaller, corresponding to a decimal number of 1; the PWM output unit also controls off-time according to 000001, at the moment, the reduced K is compared with the reference voltage again until the output of the comparator is 0, the loop is stable, and D5-D0 is also stable;
if the decimal number corresponding to D5-D0 is D at this time, then
K*VL=R4/(R3+R4+D)*VL=Vref;
The corresponding Duty ratio output by the PWM output unit is duty=ton×t/(ton+d) ×t=ton/(ton+d), where Ton is pulse time and T is period;
the PWM output unit may have an output voltage v=vl=duty= (r3+r4+d)/r4×ton/(ton+d) ×vref, and when the circuit is designed, ton=r3+r4, v=(r3+r4)/r4×vref, so as to realize constant voltage output; if the initial k×vl is less than Vref, the comparator outputs 0, and the reversible adder performs subtraction to change D5-D0 from 111111 to 000000 in sequence until the loop stabilizes.
The following is a comparison of the output differences between different circuits that are not voltage compensated and that are voltage compensated.
Output voltage of the circuit without voltage compensation: v1=v AT *Duty;
Output voltage of the circuit for voltage compensation: v2=vl_duty= (V AT -I AT *RX)*Duty<V1;
It can be seen that the output voltage of the circuit with voltage compensation is smaller than the output voltage of the circuit without voltage compensation.
Taking the electronic cigarette as an example, namely the voltage AT the heating wire is smaller than the voltage AT the port AT of the control chip, after compensation, V2, namely the voltage AT the heating wire, can be constant, and constant voltage output is realized.
Taking the battery voltage of 3.8V as an example, the voltage drop of a power switch tube is ignored, R AT =1Ω, if RX is 20mΩ, I AT When the constant voltage output of 3.5V is designed with =3.8a, duty=3.5/3.8=0.921, and the voltage vl= (V) at the heating wire AT -I AT * RX) = (3.8-3.8 x 0.02) = 3.5/3.8 = 3.43V, which can result in a loss of about 0.07V voltage without compensation.
In addition, as shown in fig. 10, an embodiment of the present application further discloses a circuit board 300, including the voltage compensation circuit 100 as shown in any of the above embodiments.
In addition, as shown in fig. 11, an embodiment of the present application further discloses an electronic cigarette 500, including the constant voltage output circuit 400 as shown in any of the above embodiments.
The circuit board and the voltage compensation circuit provided by the embodiment of the application correspond to each other, and the electronic cigarette and the constant voltage output circuit correspond to each other, so that the circuit board and the electronic cigarette also have similar embodiments and beneficial technical effects as the corresponding voltage compensation circuit and the constant voltage output circuit, and the embodiments and beneficial technical effects of the voltage compensation circuit and the constant voltage output circuit have been described in detail above, so that the corresponding circuit board and the corresponding electronic cigarette are not described again.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A voltage compensation circuit, characterized in that it is applied to a control chip, comprising:
the power switch tube is used for outputting a driving signal;
the first sampling unit is connected with the first end of the power switch tube and is used for outputting a first sampling voltage of the control chip according to the driving signal;
the voltage compensation unit is connected with the second end of the power switch tube, and is used for obtaining the sampling current of the control chip according to the driving signal and outputting the analog resistance loss voltage according to the sampling current;
and the first output unit is respectively connected with the output end of the first sampling unit and the output end of the voltage compensation unit and is used for outputting a loss compensation voltage corresponding to the control chip according to the first sampling voltage and the analog resistance loss voltage.
2. The voltage compensation circuit of claim 1 wherein the voltage compensation unit comprises a current mirror unit and a line loss compensation unit, the current mirror unit configured to output the sampling current to the line loss compensation unit according to the driving signal, such that the line loss compensation unit outputs the analog resistance loss voltage according to the sampling current, wherein a first end of the current mirror unit is connected to a second end of the power switching tube, and the line loss compensation unit is connected to a second end of the current mirror unit and a second end of the first output unit, respectively.
3. The voltage compensation circuit of claim 2 wherein the line loss compensation unit comprises an analog resistor string and a switch control group for adjusting the resistance of the analog resistor string, the switch control group being connected in parallel across the analog resistor string, the switch control group comprising a plurality of control switches.
4. The voltage compensation circuit of claim 1 wherein the first output unit comprises a subtractor and a peripheral circuit matched to the subtractor, one input of the subtractor being connected to the output of the first sampling unit, the other input of the subtractor being connected to the output of the voltage compensation unit, the output of the subtractor being for outputting a loss compensation voltage corresponding to the control chip.
5. The voltage compensation circuit of claim 1 wherein the first sampling unit comprises a first operational amplifier, a first resistor and a second resistor connected in series, wherein one end of the first resistor is used for being connected with a signal output end of the control chip, one end of the second resistor is used for being connected with at least one load configured on the control chip, a non-inverting input end of the first operational amplifier is connected between the other end of the first resistor and the other end of the second resistor, and an output end of the first operational amplifier is connected with the first end of the first output unit.
6. A wiring board comprising the voltage compensation circuit according to any one of claims 1 to 5.
7. A constant voltage output circuit, comprising:
a voltage compensation circuit according to any one of claims 1 to 5;
the second sampling unit is connected with the output end of the voltage compensation circuit and is used for outputting a second sampling voltage according to the loss compensation voltage;
and the second output unit is connected with the output end of the second sampling unit and is used for outputting a constant voltage signal according to the second sampling voltage and the preset reference voltage.
8. The constant voltage output circuit according to claim 7, wherein the second output unit includes a comparator, a reversible adder, and an output unit, an input terminal of the reversible adder being connected to an output terminal of the comparator, an output terminal of the reversible adder being connected to a feedback input terminal of the second sampling unit and an input terminal of the PWM output unit, respectively, wherein the comparator is configured to output a comparison signal according to the second sampling voltage and the reference voltage, the reversible adder being configured to feedback the comparison signal to the second sampling unit so that the second sampling unit adjusts the second sampling voltage according to the comparison signal, and to output the comparison signal to the output unit so as to control a duration of a low level state of the driving signal at each clock cycle according to the comparison signal.
9. The constant voltage output circuit according to claim 7, wherein the second sampling unit includes a third resistor, a fourth resistor, and a plurality of digital output units, the third resistor, the fourth resistor, and all the digital output units are connected in series between the control chip and the reference ground, an output terminal of the second sampling unit is connected between the third resistor and the fourth resistor, and each of the digital output units is configured to output a one-bit binary code.
10. An electronic cigarette comprising the constant voltage output circuit according to any one of claims 7 to 9.
CN202410067929.XA 2024-01-17 2024-01-17 Voltage compensation circuit, circuit board, constant voltage output circuit and electronic cigarette Pending CN117687464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410067929.XA CN117687464A (en) 2024-01-17 2024-01-17 Voltage compensation circuit, circuit board, constant voltage output circuit and electronic cigarette

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410067929.XA CN117687464A (en) 2024-01-17 2024-01-17 Voltage compensation circuit, circuit board, constant voltage output circuit and electronic cigarette

Publications (1)

Publication Number Publication Date
CN117687464A true CN117687464A (en) 2024-03-12

Family

ID=90130310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410067929.XA Pending CN117687464A (en) 2024-01-17 2024-01-17 Voltage compensation circuit, circuit board, constant voltage output circuit and electronic cigarette

Country Status (1)

Country Link
CN (1) CN117687464A (en)

Similar Documents

Publication Publication Date Title
CN111638747B (en) Constant-power output PWM control circuit and implementation method thereof
US9008251B2 (en) Adaptive phase-shifted synchronization clock generation circuit and method for generating phase-shifted synchronization clock
JP2000232362A (en) Sigma-delta analog-to-digital converter and signal processing method
CN114468393A (en) Constant power control circuit and method, tobacco rod and electronic cigarette
CN102377421B (en) Switched capacitor circuit
CN117687464A (en) Voltage compensation circuit, circuit board, constant voltage output circuit and electronic cigarette
CN112187043B (en) Constant root-mean-square voltage output device and method
CN108459646B (en) Constant resistance control loop
CN114468392A (en) Constant power control circuit and method, tobacco rod and electronic cigarette
CN108111172A (en) A kind of circuit that digital quantity is converted to resistance output
CN107656572A (en) The multichannel variable voltage source and its control method realized with digital analog converter
CN112865799B (en) Sigma-delta ADC modulator for optimizing current rudder DAC and electronic equipment
TW201216764A (en) Semiconductor device of electronic load
CN212675437U (en) Integrated circuit and ramp voltage generator
CN210780581U (en) Power supply device adopting PWM signal to control output voltage and current
CN117762184A (en) Constant power output circuit, circuit board and electronic cigarette
CN110361570B (en) Electronic load
CN112633020A (en) Device for calculating product sum
CN108111018B (en) DC-DC converter slow time scale low-frequency oscillation delay control circuit and parameter calculation method
JPS6461109A (en) Variable gain amplifier circuit
CN214045574U (en) Switched capacitor circuit for generating specific voltage
CN110531820A (en) A kind of isolated digital-control constant-flow source module
US20230046618A1 (en) Operation circuit and chip
CN218099226U (en) IEPE sensor analog circuit and detection device
TW201342785A (en) Switching regulator and control circuit and control method thereof

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