This application claims the benefit of Chinese Patent Application No. 201610790138.5, filed on Aug. 31, 2016, which is incorporated herein by reference in its entirety.
The present disclosure relates to the technical field of circuits, and more particularly, to a control method, a control circuit and a device for a switching circuit.
At present, a switching circuit (such as a buck circuit which is used to obtain a voltage drop), is a common circuit used in circuit design, for example, as shown in
Furthermore, the control method for the switching circuit can be in a constant on-time control mode or a constant off-time control mode, wherein the constant on-time control mode is to control the switching circuit by controlling the turn-on time of the first switch 1′, and the constant off-time control mode is to control the switching circuit by controlling the turn-off time of the first switch 1′. The constant on/off time (COT) control modes have advantages of excellent performance on load transient response, simple inner structure and smooth switching between operating modes, thus applied well in the field of power supply.
However, the inventor of the disclosure finds out that, the buck circuit in the prior art operated under CCM and working in the constant on-time control mode or the constant off-time control mode cannot realize a function for fixing a frequency, that is, cannot keep a switching frequency of the first switch 1′ at a constant value.
An objective of the present invention is to provide a control method, a control circuit and a device for a switching circuit, for solving the problem on realizing a function of fixing a frequency of the switching circuit which is working at a constant on-time control mode or a constant off-time control mode and operated under CCM, thus the application scope of the control method of the switching circuit is increased.
To achieve the above objective, technical schemes adopted in the control method of the switching circuit provided by the present invention are as follows.
According to a first aspect, the disclosure provides a control method for a switching circuit, the control method is used in the switching circuit operated under continuous conduction mode and working in a constant on-time control mode or a constant off-time control mode, the switching circuit comprises a first switch, which transforms an input voltage into an output voltage for driving loads by turning the first switch on and off, the control method comprises: starting time measuring at a rising edge of a turn-on signal of the first switch; when a first measured time is reached, if the rising edge in a next cycle of the turn-on signal has not arrived, reducing a turn-on time or a turn-off time of the first switch for fixing a frequency of the switching circuit; when the rising edge in the next cycle of the turn-on signal has arrived before the first measured time is reached, increasing the turn-on time or the turn-off time of the first switch for fixing the frequency of the switching circuit.
According to a second aspect, the disclosure further provides a control method for a switching circuit, the control method is used in the switching circuit operated under continuous conduction mode and working in a constant on-time control mode or a constant off-time control mode, the switching circuit comprises a first switch, which transforms an input voltage into an output voltage for driving loads by turning the first switch on and off, the control method comprises: starting time measuring at a falling edge of a turn-on signal of the first switch; when a first measured time is reached, if the falling edge in a next cycle of the turn-on signal has not arrived, reducing a turn-on time or a turn-off time of the first switch for fixing a frequency of the switching circuit; when the falling edge in the next cycle of the turn-on signal has arrived before the first measured time is reached, increasing the turn-on time or the turn-off time of the first switch for fixing the frequency of the switching circuit.
According to a third aspect, the disclosure further provides a control circuit for a switching circuit, the control circuit is used in the switching circuit operated under the continuous conduction mode and working in a constant on-time control mode or a constant off-time control mode, wherein the switching circuit comprises a first switch and transforms an input voltage into an output voltage for driving loads by turning the first switch on and off, and the control circuit comprises: a timing module, which starts time measuring at a rising edge of a turn-on signal of the first switch; a regulation module, which is connected with the timing module, used to reduce a turn-on time or a turn-off time of the first switch for fixing a frequency of the switching circuit when a first measured time is reached and the rising edge in a next cycle of the turn-on signal has not arrived, and used to increase the turn-on time or the turn-off time of the first switch for fixing the frequency of the switching circuit when the rising edge in the next cycle of the turn-on signal has arrived before the first measured time is reached.
Preferably, the timing module comprises a second switch, a second capacitor, a second voltage comparator and a second current source, a control terminal of the second switch receives the turn-on signal of the first switch, a first terminal of the second switch is grounded, a second node is a node connected with a second terminal of the second switch; the second node is coupled with the second current source, a first input terminal of the second voltage comparator and a first terminal of the second capacitor, respectively, a second terminal of the second capacitor is grounded, a voltage of a second input terminal of the second voltage comparator is a first reference voltage, wherein the first reference voltage is the same with a voltage of the second node at the time when the first measured time is equal to a predetermined time of a switching cycle of the turn-on signal of the first switch.
Preferably, the regulation module comprises an edge comparator which has a first input terminal connected with an output terminal of the second voltage comparator and a second input terminal receiving the turn-on signal of the first switch.
Preferably, wherein the regulation module further comprises an on-time regulating unit and an on-time controlling unit, wherein the on-time regulating unit is connected with the edge comparator and an output current of the on-time regulating unit is adjusted in accordance with an output signal of the edge comparator, the on-time controlling unit is coupled with the on-time regulating unit and an output signal of the on-time controlling unit is adjusted in accordance with the adjusted output current of the on-time regulating unit.
Preferably, the edge comparator comprises a first output terminal and a second output terminal, the on-time regulating unit comprises a third switch, a third current source, a fourth switch, a fourth current source, a third capacitor and a voltage-to-current transforming subunit, a control terminal of the third switch is connected with the first output terminal of the edge comparator, a first terminal of the third switch is connected with the third current source, a third node is a node connected with a second terminal of the third switch, a control terminal of the fourth switch is connected with the second output terminal of the edge comparator, a first terminal of the fourth switch is grounded through the fourth current source, a second terminal of the fourth switch is connected with the third node, a first electrode of the third capacitor is connected with the third node, a second electrode of the third capacitor is grounded, an input terminal of the voltage-to-current transforming subunit is connected with the third node.
Preferably, the on-time controlling unit comprises a fifth switch, a fourth capacitor, and a third voltage comparator, wherein a control terminal of the fifth switch receives the turn-on signal of the first switch, the first terminal of the fifth switch is grounded, a fourth node is a node connected with a second terminal of the fifth switch, the fourth node is connected with an output terminal of the voltage-to-current transforming subunit, a first input terminal of the third voltage comparator and a first electrode of the fourth capacitor, respectively, a second electrode of the fourth capacitor is grounded, a voltage of a second input terminal of the third comparator is a second reference voltage.
Preferably, the on-time controlling unit further comprises a fifth current source connected with the fourth node, a current of the fifth current source is (M*Vina), the second reference voltage is equal to Vouta, wherein M is a fixed constant, Vina is an input voltage of the switching circuit, Vouta is an output voltage of the switching circuit.
According to a fourth aspect, the disclosure further provides a control circuit for a switching circuit, which is used to control the switching circuit operated under continuous conduction mode and working in a constant on-time control mode or a constant off-time control mode, the switching circuit comprises a first switch and transforms an input voltage into an output voltage for driving loads by turning the first switch on and off, the control circuit comprises: a timing module, which starts time measuring at a rising edge of a turn-on signal of the first switch; a regulation module, which is connected with the timing module, used to reduce a turn-on time or a turn-off time of the first switch when a first measured time is reached and the rising edge in a next cycle of the turn-on signal has not arrived, and used to increase the turn-on time or the turn-off time of the first switch when the rising edge in the next cycle of the turn-on signal has arrived before the first measured time is reached.
According to a fifth aspect, the disclosure further provides a device for a switching circuit which includes the control circuit.
Compared with the prior art, the present invention has following beneficial effects: the control method for the switching circuit provided by the embodiment of the present disclosure includes the above steps, so that it is only needed to start time measuring at a rising edge of the turn-on signal of the first switch, to reduce the turn-on time or the turn-off time of the first switch for fixing the frequency of the switching circuit if the rising edge in the next cycle of the turn-on signal of the first switch has not arrived when the first measured time is reached, and to increase the turn-on time or the turn-off time of the first switch for fixing the frequency when the rising edge in the next cycle of the turn-on signal of the first switch has arrived before the first measured time is reached. Therefore, the relationship between the input voltage and the output voltage of the control method for the switching circuit provided by the embodiment of the present disclosure is not required to satisfy specific conditions for fixing the frequency of the switching circuit, which extends the application scope of the control method for the switching circuit provided by the embodiment of the present disclosure.
Those technical solutions according to embodiments of the present disclosure and the prior art will be apparent when they are described in connection with appended drawings which are firstly described briefly hereinbelow. It will obvious to one skilled in the art that the following appended drawings only some embodiments of the present disclosure. Other appended drawings can be obtained from these appended drawings without the need for creative work.
Reference signs are described as follows:
1—timing module; 2—regulation module; 21—edge comparator;
22—on-time regulating unit; 210—voltage-to-current transforming subunit; 23—on-time controlling unit.
Those embodiments of the present disclosure will be described clearly and completely in connection with appended drawings. It is apparent that the embodiments described hereinbelow are some but not all of the present disclosure. All of other embodiments, which are obtained by one skilled in the art from the embodiments described hereinbelow without the need for creative work, will fall within the scope of the present disclosure.
For solving the problems described in the background, the embodiment of the disclosure provides a device for a switching circuit, comprising a switching circuit and a control circuit, the control circuit is used to control a buck circuit operated under CCM and working in a constant on-time control mode. Specifically, as shown in
In the following description, an operating process of the control circuit with the above circuit structure is described based on an example, in which the first input terminal of the first comparator U1 is an inverting terminal, the second input terminal of the first comparator U1 is a non-inverting terminal, and the first voltage comparator U1 outputs a high-level voltage when a voltage of the non-inverting terminal is higher than a voltage of the inverting terminal. Specifically, before a rising edge of the turn-on signal of the first switch arrives (that is, the first switch is off), the turn-on signal TON of the first switch has turned on the first switch K1, at this time, the first electrode of the first capacitor C1 is grounded, the voltage of the first node A is 0V, the first voltage comparator U1 outputs a high-level voltage. When the rising edge of the turn-on signal of the first switch arrives (that is, the first switch just begins to be conductive), the turn-on signal TON of the first switch turns off the first switch K1, at this time, the first electrode of the first capacitor C1 is off-grounded, the first electrode of the first capacitor C1 is charged by the first current source P1. When the voltage of the first electrode of the first capacitor C1 is equal to the output voltage Vout of the buck circuit, i.e., the voltage of the first input terminal of the first voltage comparator U1 is equal to the voltage of the second input terminal of the first voltage comparator U1, the output signal of the first voltage comparator U1 changes from high level to low level, that is, a falling edge of the output signal of the first voltage comparator U1 arrives, so that the falling edge of the turn-on signal of the first switch can be determined by the control signal CTR of the turn-on signal of the first switch in accordance with the falling edge of the output signal of the first voltage comparator U1, and then a time period during which the turn-on signal of the first switch is at high level can be determined, i.e., the turn-on time of the first switch can be determined.
A switching cycle Ta of the turn-on signal of the first switch determined by the control circuit for the switching circuit with the above circuit structure is calculated as below. From the analysis of the operating process of the control circuit described above, it can be known that the turn-on time of the first switch satisfies the first equation:
Ton=(C1×Vout)/I1=(C1×Vout)/(M×Vin)
=(C1/M)×(Vout/Vin),
wherein, C1 is the capacitance of the first capacitor C1.
Besides, according to the relationship between the input voltage Vin and the output voltage Vout when the buck circuit works in the constant on-time control mode and is operated under CCM, a second equation can be known:
Vout=Vin×(Ton/Ta)
According to the combination of the first equation and the second equation, it can be known that Ta=C1×M, i.e., the switching cycle of the turn-on signal of the first switch is constant, which means that the switching frequency of the first switch remains the same, so that a constant frequency of the buck circuit can be implemented when the buck circuit is working in the constant on-time control mode and operated under CCM.
According to the calculation process for obtaining the switching cycle Ta of the turn-on signal of the first switch in the first embodiment, it can be known that the condition for satisfying the second equation by the input voltage Vin of the buck circuit and the output voltage Vout of the buck circuit is to use a buck circuit as the switching circuit, to control the buck circuit in the constant on-time control mode and to operate under CCM. However, besides the buck circuit, the switching circuit can also be a boost circuit, a flyback circuit, a buck-boost circuit or other circuits in different types.
The inventor of the disclosure finds that, when the switching circuit is not a buck circuit, the input voltage and the output voltage of the switching circuit cannot satisfy the second equation, and even if the switching circuit is a buck circuit, when the switching circuit works in the constant off-time control mode and is operated under CCM, the input voltage and the output voltage of the switching circuit cannot satisfy the second equation, either. Therefore, the control circuit for the switching circuit provided by the first embodiment is only suitable to the switching circuit which is a buck circuit and the buck circuit should work in the constant on-time control mode and be operated under CCM, so that the control circuit has a narrow scope of application. Also, because the voltage comparator has a certain flip delay and there're errors generated by the sampling of the input voltage and the output voltage, the implement of the constant frequency of the buck circuit working in the constant on-time control mode doesn't have a good effect by using the method in the first embodiment.
For solving the problem described above, the embodiment of the present disclosure provides a control method for the switching circuit, wherein the switching circuit is operated under continuous conduction mode and works in a constant on-time control mode or a constant off-time control mode, comprises a first switch and transforms an input voltage into an output voltage for driving a load by turning the first switch on and off. As shown in
The control method for the switching circuit provided by the embodiment of the present disclosure includes the above steps, so that it is only needed to start time measuring at a rising edge of the turn-on signal of the first switch, to reduce the turn-on time or the turn-off time of the first switch for fixing the frequency of the switching circuit if the rising edge in the next cycle of the turn-on signal of the first switch has not arrived when the first measured time is reached, and to increase the turn-on time or the turn-off time of the first switch for fixing the frequency when the rising edge in the next cycle of the turn-on signal of the first switch arrives before the first measured time is reached. Therefore, the relationship between the input voltage and the output voltage of the control method for the switching circuit provided by the embodiment of the present disclosure is not required to satisfy specific conditions for fixing the frequency of the switching circuit, which extends the application range of the control method for the switching circuit provided by the embodiments of the present disclosure. For example, the control method for the switching circuit provided by the embodiments of the present disclosure can fix the frequency of the buck circuit operated under CCM and working in the constant on-time control mode or in the constant off-time control mode, and can also fix the frequency of the boost circuit operated under CCM and working in the constant on-time control mode.
Furthermore, it is not necessary to obtain the input voltage and the output voltage of the switching circuit according to the control method for the switching circuit for fixing the frequency of the switching circuit, so that there's no need to sample the input voltage and the output voltage of the switching circuit, and the error issue on fixing the frequency caused by the relatively big error generated by the sampling of the input voltage and the output voltage of the switching circuit is not exist, for example, even if the ripple of the input voltage of the switching circuit is large, it will not influence the fixed frequency of the switching circuit, so the control method for the switching circuit according to the embodiments of the present disclosure can fix the frequency of the switching circuit accurately.
Moreover, the embodiment of the present disclosure further provides a control method for the switching circuit, wherein the switching circuit is operated under continuous conduction mode and works in a constant on-time control mode or a constant off-time control mode and the switching circuit, which comprises a first switch, transforms an input voltage into an output voltage for driving a load by turning the first switch on and off. As shown in
The embodiment of the present disclosure provides a device for the switching circuit comprising a switching circuit and a control circuit, the control circuit is used for the switching circuit operated under continuous conduction mode and working in a constant on-time control mode or a constant off-time control mode, the switching circuit comprises a first switch and transforms an input voltage into an output voltage for driving a load by turning the first switch on and off. As shown in
The circuit for controlling the switching circuit provided by the embodiment of the disclosure includes the above circuit structure, so that the timing module 1 is able to start time measuring at the rising edge of the turn-on signal of the first switch, and the regulation module 2 reduces the turn-on time or the turn-off time of the first switch for obtaining the constant frequency of the switching circuit if the rising edge in the next cycle of the turn-on signal of the first switch has not arrived when the measured time reaches the first measured time, and increases the turn-on time or the turn-off time of the first switch for obtaining the constant frequency when the rising edge in the next cycle of the turn-on signal of the first switch has arrived and the measured time doesn't reach the first measured time. Therefore, the relationship between the input voltage and the output voltage according to the control circuit for the switching circuit provided by the embodiment of the present disclosure is not required to satisfy specific conditions for fixing the frequency of the switching circuit, thus the application range of the control circuit for the switching circuit provided by the embodiments of the present disclosure is extended.
Specifically, the timing module 1 can be realized in various ways, one skilled in the art can implement the timing module based on actual needs. As an example, as shown in
In the following description, an operating process of the timing module 1 with the above circuit structure is described based on an example, in which the first input terminal of the second comparator U2 is a non-inverting terminal, the second input terminal of the second comparator U2 is an inverting terminal, and the second voltage comparator U2 outputs a high-level voltage when a voltage of the non-inverting terminal is higher than a voltage of the inverting terminal. Specifically, when the rising edge of the turn-on signal of the first switch arrives, the second switch K2 is kept to be conductive for a certain time (for example, 30 ns), which is much less than the cycle of the turn-on signal TON of the first switch, then the second switch K2 is turned off, and at this time, the first electrode of the second capacitor C2 begins to be charged by the second current source P2, until the rising edge in the next operating cycle of the turn-on signal TON of the first switch arrives, the second switch K2 is turned on again for a certain time, and then the operating process of the previous operating cycle is repeated. That is, the first electrode of the second capacitor C2 begins to be charged at the beginning of the first measured time and stops being charged at the end of the first measured time, i.e., at the end of the first measured time, the voltage of the second node B reaches its maximum value.
The first reference voltage V1 is the same with the voltage of the second node B when the first measured time is the same with the predetermined value of the cycle of the turn-on signal TON of the first switch, therefore, as shown in
Furthermore, the regulation module 2 can also be realized in various ways, one skilled in the art can implement the timing module based on actual needs. As an example shown in
As shown in
Specifically, the on-time regulating unit 22 can be realized in various ways, one skilled in the art can reasonably implement the on-time regulating unit based on actual needs. As an example shown in
Specifically, the on-time controlling unit 23 can be realized in various ways, one skilled in the art can reasonably achieve the on-time controlling unit based on actual needs. As an example shown in
In the following description, an operating process of the regulation module 2 with the above circuit structure is described based on an example, in which the first input terminal of the third voltage comparator U3 is an inverting terminal, the second input terminal of the third voltage comparator U3 is a non-inverting terminal, and the third voltage comparator U3 outputs a high-level voltage when a voltage of the non-inverting terminal is higher than a voltage of the inverting terminal. As shown in
Moreover, the operating principle of the on-time controlling unit 23 can refer to the relevant operating principle of the control circuit for the switching circuit in the first embodiment, which will not be repeated here. According to the operating principle of the control circuit for the switching circuit in the first embodiment, it can be known that, when the output current of the voltage-to-current transforming subunit 210 is increased, the time for the voltage of the fourth node D to reach the second reference voltage V2 is reduced, thus the falling edge of the output signal of the third voltage comparator U3 arrives a certain time earlier, so that the control signal CTR of the turn-on signal TON of the first switch may make the rising edge in the next operating cycle of the first switch arrive in advance in accordance with the falling edge of the output signal of the third voltage comparator U3, which makes the cycle of the turn-on signal TON of the first switch and the predetermined value T of the cycle of the turn-on signal TON of the first switch equal or keeps the difference between the cycle of the turn-on signal TON of the first switch and the predetermined value T of the cycle of the turn-on signal TON of the first switch in a certain error range.
When the output current of the voltage-to-current transforming subunit 210 is reduced, the time for the voltage of the fourth node D to reach the second reference voltage V2 is increased, thus the falling edge of the output signal of the third voltage comparator U3 arrives with a certain time delay, so that the control signal CTR of the turn-on signal TON of the first switch delays the rising edge in the next operating cycle of the first switch for a certain time in accordance with the falling edge of the output signal of the third voltage comparator U3, which makes the cycle of the turn-on signal TON of the first switch the same with the predetermined value T of the cycle of the turn-on signal TON of the first switch or keeps the difference between the cycle of the turn-on signal TON of the first switch and the predetermined value T of the cycle of the turn-on signal TON of the first switch in a certain error range.
As shown in
Moreover, according to the above description, it can be known that the control circuit for the switching circuit is able to adjust the cycle of the turn-on signal TON of the first switch by use of the output current of the on-time regulating unit 22, therefore, although there's a delay generated by the third voltage comparator U3 in the on-time controlling unit 23, the delay of the third voltage comparator U3 can be compensated properly by use of the on-time regulating unit 22, which eliminates the error issue caused by the delay of the third voltage comparator U3. Especially, when the switching circuit is a buck circuit, and the delay of the third voltage comparator U3 is in tens of nanoseconds, if the turn-on time of the first switch is also in tens of nanoseconds, the control circuit for the switching circuit provided by the embodiments of the present disclosure can obviously eliminate the error issue caused by the delay of the third voltage comparator U3.
Besides, the embodiment of the present disclosure provides a control circuit for the switching circuit, the control circuit is included in a switching circuit operated under continuous conduction mode and working in a constant on-time control mode or a constant off-time control mode, the switching circuit comprises a first switch, the switching circuit transforms an input voltage into an output voltage for driving a load by turning the first switch on and off, the control circuit comprises: a time module, which starts time measuring at a falling edge of a turn-on signal of the first switch, and a regulation module connected with the timing module, which is used to reduce a turn-on time or a turn-off time of the first switch for fixing a frequency of the switching circuit if the falling edge in a next cycle of the turn-on signal has not arrived when a first measured time is reached and to increase the turn-on time or the turn-off time of the first switch for fixing the frequency of the switching circuit when the falling edge in the next cycle of the turn-on signal arrives before the first measured time is reached. It should be known that, the detailed structures of the above timing module and the regulation module of the control circuit for the switching circuit can be referred to the above description, and will not be repeated here.
The detailed descriptions of specific embodiment of the present invention have been presented, but are not intended to limit the invention to the precise forms disclosed. It will be readily apparent to one skilled in the art that many modifications and changes may be made in the present invention. Accordingly, the protection scope of the disclosure should be defined by attached claims.
Number | Date | Country | Kind |
---|---|---|---|
201610790138.5 | Aug 2016 | CN | national |