JP2017085744A - Reference voltage generating circuit and switching power supply device - Google Patents

Reference voltage generating circuit and switching power supply device Download PDF

Info

Publication number
JP2017085744A
JP2017085744A JP2015210646A JP2015210646A JP2017085744A JP 2017085744 A JP2017085744 A JP 2017085744A JP 2015210646 A JP2015210646 A JP 2015210646A JP 2015210646 A JP2015210646 A JP 2015210646A JP 2017085744 A JP2017085744 A JP 2017085744A
Authority
JP
Japan
Prior art keywords
circuit
width modulation
reference voltage
output
pulse width
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.)
Granted
Application number
JP2015210646A
Other languages
Japanese (ja)
Other versions
JP6529128B2 (en
Inventor
一宏 堀井
Kazuhiro Horii
一宏 堀井
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.)
Cosel Co Ltd
Original Assignee
Cosel 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 Cosel Co Ltd filed Critical Cosel Co Ltd
Priority to JP2015210646A priority Critical patent/JP6529128B2/en
Publication of JP2017085744A publication Critical patent/JP2017085744A/en
Application granted granted Critical
Publication of JP6529128B2 publication Critical patent/JP6529128B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To set a high-resolution output voltage, reduce a ripple voltage of the output voltage, and shorten a set voltage change period at low cost.SOLUTION: A reference voltage generating circuit 10 includes a first digital PWM circuit 12-1 and a second digital PWM circuit 12-2 for outputting voltage pulses in a rectangular wave with a period and a duty that can be externally set. Resistors 14-1 and 14-2 have one ends connected to respective outputs and the other ends commonly connected to a capacitor 16. A voltage generated at a connection point between the resistors 14-1 and 14-2 and the capacitor 16 is retrieved as a reference voltage Vref. Resistance values of the resistors 14-1 and 14-2 are set so that a resistance value R2 of the resistor 14-2 connected to the second digital PWM circuit 12-2 is sufficiently large with respect to a resistance value R1 of the resistor 14-1 connected to the first digital PWM circuit 12-1.SELECTED DRAWING: Figure 1

Description

本発明は、デジタルプロセッサ等により基準電圧を変更する制御を可能とする基準電圧発生回路及びスイッチング電源装置に関する。   The present invention relates to a reference voltage generation circuit and a switching power supply device that enable control to change a reference voltage by a digital processor or the like.

従来、入力電圧をスイッチング素子のオン、オフにより断続電圧に変換し、これを整流・平滑することで直流の出力電圧を得ることができるスイッチング電源装置が広く用いられている。   2. Description of the Related Art Conventionally, switching power supply devices that can obtain a DC output voltage by converting an input voltage into an intermittent voltage by turning on and off the switching element, and rectifying and smoothing the same are widely used.

スイッチング電源装置は、出力電圧を安定な一定の電圧に制御するためのフィードバック制御回路を備えたものが一般的である。また、フィードバック制御回路には、スイッチング電源装置の出力電圧を所定の値に設定するために、基準電圧発生回路が設けられる。   A switching power supply device generally includes a feedback control circuit for controlling the output voltage to a stable and constant voltage. The feedback control circuit is provided with a reference voltage generation circuit for setting the output voltage of the switching power supply device to a predetermined value.

基準電圧発生回路をDAコンバータで構成したスイッチング電源装置が知られている(特許文献1)。DAコンバータで構成した基準電圧発生回路は、DAコンバータをデジタルプロセッサで制御することで、スイッチング電源装置の出力電圧を高精度に制御することが可能となる。例えば、スイッチング電源装置のソフトスタート動作の制御をDAコンバータとデジタルプロセッサを用いて行うことで、スイッチング電源が起動する際のオーバーシュートを抑制している。   A switching power supply device in which a reference voltage generation circuit is configured by a DA converter is known (Patent Document 1). The reference voltage generation circuit configured with a DA converter can control the output voltage of the switching power supply device with high accuracy by controlling the DA converter with a digital processor. For example, by controlling the soft start operation of the switching power supply device using a DA converter and a digital processor, overshoot when the switching power supply is activated is suppressed.

スイッチング電源装置の基準電圧発生回路としてDAコンバータを用いる場合、DAコンバータの分解能が十分に高くなければスイッチング電源装置の実用性を低下させてしまう。例えば、5Vを出力するスイッチング電源装置の基準電圧発生回路に8ビットのDAコンバータを用いたとする。8ビットのDAコンバータの分解能は256であるので、DAコンバータの電圧設定は、5V÷256=19.5mV単位となり、離散的にしか出力電圧設定ができないスイッチング電源装置となってしまう。   When a DA converter is used as the reference voltage generation circuit of the switching power supply device, the practicality of the switching power supply device is reduced unless the resolution of the DA converter is sufficiently high. For example, assume that an 8-bit DA converter is used for the reference voltage generation circuit of a switching power supply device that outputs 5V. Since the resolution of the 8-bit DA converter is 256, the voltage setting of the DA converter is in units of 5V ÷ 256 = 19.5 mV, resulting in a switching power supply device in which the output voltage can only be set discretely.

これでは、DSP(Digital Signal Processor)やFPGA(Field Programmable Gate Array)等の高精度な電圧設定が求められる半導体デバイス用のスイッチング電源装置として用いることが難しい。   In this case, it is difficult to use as a switching power supply device for a semiconductor device such as a DSP (Digital Signal Processor) or an FPGA (Field Programmable Gate Array) that requires highly accurate voltage setting.

スイッチング電源装置として実用的な出力電圧設定精度を得るためには、基準電圧発生回路に最低でも12ビット(分解能4096、5V出力のスイッチング電源装置では1.22mV単位)、可能であれば14ビット(分解能16384、5V出力のスイッチング電源装置では0.305mV単位)の分解能を持つDAコンバータを用いる必要がある。   In order to obtain a practical output voltage setting accuracy as a switching power supply device, the reference voltage generating circuit must have at least 12 bits (in units of 1.22 mV for a switching power supply device with a resolution of 4096, 5 V output), and 14 bits if possible ( It is necessary to use a DA converter having a resolution of 0.305 mV in a switching power supply with a resolution of 16384 and 5 V output.

ところで、高分解能のDAコンバータは高価であるので、これを用いた基準電圧発生回路は、高価なものになってしまうため、スイッチング電源装置も高価なものになってしまうといった問題を持っている。   By the way, since a high-resolution DA converter is expensive, a reference voltage generation circuit using the DA converter is expensive, so that the switching power supply device is also expensive.

(デジタルPWM回路)
スイッチング電源装置の基準電圧発生回路をデジタルプロセッサで制御する方法として、
デジタルプロセッサで制御可能なパルス幅変調回路(以下「デジタルPWM回路」という)を用いた方法が知られている(特許文献2)。この方法では、デジタルPWM回路、抵抗、および、コンデンサを用いて基準電圧発生回路を構成し、デジタルPWM回路の出力を抵抗とコンデンサで平滑することで得た直流電圧を基準電圧として用いる。
(Digital PWM circuit)
As a method of controlling the reference voltage generation circuit of the switching power supply device with a digital processor,
A method using a pulse width modulation circuit (hereinafter referred to as “digital PWM circuit”) that can be controlled by a digital processor is known (Patent Document 2). In this method, a reference voltage generating circuit is configured using a digital PWM circuit, a resistor, and a capacitor, and a DC voltage obtained by smoothing the output of the digital PWM circuit with a resistor and a capacitor is used as a reference voltage.

デジタルPWM回路は、市販のワンチップマイクロコンピュータ等のデジタルプロセッサに一般的に内蔵されているもので、マイクロコンピュータでは、タイマと呼ばれている場合もある。デジタルPWM回路は、安価なマイクロコンピュータにも内蔵されていることから、安価に基準電圧発生回路を構成することができる。   The digital PWM circuit is generally built in a digital processor such as a commercially available one-chip microcomputer, and is sometimes called a timer in the microcomputer. Since the digital PWM circuit is also built in an inexpensive microcomputer, the reference voltage generating circuit can be configured at low cost.

しかしながら、デジタルPWM回路を用いた基準電圧発生回路によりスイッチング電源装置の出力電圧設定精度を高めた場合には、スイッチング電源装置の出力電圧を高速に変化させる用途には使用できないという欠点を持つ。以下、その理由を説明する。   However, when the output voltage setting accuracy of the switching power supply device is increased by the reference voltage generation circuit using the digital PWM circuit, there is a disadvantage that it cannot be used for the purpose of changing the output voltage of the switching power supply device at high speed. The reason will be described below.

(デジタルPWM回路の動作)
図8はデジタルPWM回路およびこれを用いた従来の基準電圧発生回路を示した回路ブロック図である。図8に示すように、デジタルPWM回路100は、カウンタ回路104、第1比較回路106、第2比較回路108、RS−フリップフロップ回路110から構成される。
(Operation of digital PWM circuit)
FIG. 8 is a circuit block diagram showing a digital PWM circuit and a conventional reference voltage generation circuit using the digital PWM circuit. As shown in FIG. 8, the digital PWM circuit 100 includes a counter circuit 104, a first comparison circuit 106, a second comparison circuit 108, and an RS-flip flop circuit 110.

クロック発振回路102は、決まった周期TckでHレベルとLレベルが繰り返されるクロック信号E1を出力する回路である。デジタルPWM回路100がマイクロコンピュータに内蔵されている場合は、CPUにクロック信号を供給するためのクロック発振回路とデジタルPWM回路にクロック信号を供給するクロック発振回路を共用して用いる場合が多い。   The clock oscillation circuit 102 is a circuit that outputs a clock signal E1 in which the H level and the L level are repeated at a predetermined cycle Tck. When the digital PWM circuit 100 is built in a microcomputer, a clock oscillation circuit for supplying a clock signal to the CPU and a clock oscillation circuit for supplying a clock signal to the digital PWM circuit are often used in common.

カウンタ回路104は、クロック発振回路102が出力するクロック信号E1をカウントし、第1比較回路106及び第2比較回路108にカウント値Nを出力する。また、リセット信号E2が入力されると、カウント値Nがゼロにリセットされる。   The counter circuit 104 counts the clock signal E1 output from the clock oscillation circuit 102 and outputs a count value N to the first comparison circuit 106 and the second comparison circuit 108. When the reset signal E2 is input, the count value N is reset to zero.

第1比較回路106は、外部から設定できる第1設定値S1を持ち、カウンタ回路104が出力するカウント値Nが第1設定値S1と等しくなって、次のクロック信号E1が入力されるタイミングでリセット信号E2を出力する。   The first comparison circuit 106 has a first set value S1 that can be set from the outside, and the count value N output from the counter circuit 104 becomes equal to the first set value S1, and the next clock signal E1 is input. A reset signal E2 is output.

第2比較回路108は、外部から設定できる第2設定値S2を持ち、カウンタ回路104が出力するカウント値Nが第2設定値S2と等しくなったタイミングで出力反転信号E3を出力する。   The second comparison circuit 108 has a second setting value S2 that can be set from the outside, and outputs an output inversion signal E3 at a timing when the count value N output from the counter circuit 104 becomes equal to the second setting value S2.

RS−フリップフロップ回路110は、第1比較回路106が出力するリセット信号E2が入力されると出力QBがHレベル、出力QがLレベルとなってこれを維持し、第2比較回路108が出力する出力反転信号E3が入力されると出力QBがLレベル、出力QがHレベルとなってこれを維持し、出力QBから矩形波信号(PWM信号)E4を出力する。   When the reset signal E2 output from the first comparison circuit 106 is input, the RS flip-flop circuit 110 maintains the output QB at the H level and the output Q at the L level. When the output inversion signal E3 to be input is input, the output QB becomes L level and the output Q becomes H level and is maintained, and a rectangular wave signal (PWM signal) E4 is output from the output QB.

デジタルPWM回路100は、このような構成を持つことで、クロック信号E1のクロック周期をTckとすると、Tck×(S1+1)の周期で、S2/(S1+1)のデューティを持つ矩形波信号E4を出力することができる。   With this configuration, the digital PWM circuit 100 outputs a rectangular wave signal E4 having a duty of S2 / (S1 + 1) with a period of Tck × (S1 + 1), where Tck is the clock period of the clock signal E1. can do.

図9は図8のデジタルPWM回路の動作を示したタイムチャートであり、クロック周期Tck=100nS、第1設定値S1=3999、第2設定値S2=1600とした場合を例にとっている。ここで、図9(A)はクロック信号E1を示し、図9(B)はカウンタ回路のカウント値Nを示し、図9(C)はリセット信号E2を示し、図9(D)は出力反転信号E3を示し、図9(E)は矩形波信号E4を示す。   FIG. 9 is a time chart showing the operation of the digital PWM circuit of FIG. 8, taking as an example the case where the clock cycle Tck = 100 nS, the first set value S1 = 3999, and the second set value S2 = 1600. 9A shows the clock signal E1, FIG. 9B shows the count value N of the counter circuit, FIG. 9C shows the reset signal E2, and FIG. 9D shows the output inversion. A signal E3 is shown, and FIG. 9E shows a rectangular wave signal E4.

(期間Aの動作)
図9の期間Aは、カウンタ回路104のカウント値Nが0から第2設定値S2に達した瞬間までの期間である。ここでは、RS-フリップフロップ回路110は出力QBがHレベル、出力QがLレベルとなっている。
(Operation during period A)
A period A in FIG. 9 is a period from the time when the count value N of the counter circuit 104 reaches 0 to the second set value S2. Here, in the RS flip-flop circuit 110, the output QB is H level and the output Q is L level.

カウンタ回路104は、クロック信号E1がLレベルからHレベルに変化するタイミングでカウント値Nが1だけ上昇する。カウント値Nが第2設定値S2=1600になった瞬間に、第2比較回路108が出力反転信号E3をRS−フリップフロップ回路110のセット端子Sへ出力する。このとき、RS−フリップフロップ回路110は出力QBがLレベル、出力QがHレベルとなる。   In the counter circuit 104, the count value N increases by 1 at the timing when the clock signal E1 changes from L level to H level. At the moment when the count value N becomes the second set value S2 = 1600, the second comparison circuit 108 outputs the output inversion signal E3 to the set terminal S of the RS-flip flop circuit 110. At this time, the output flip-flop circuit 110 has the output QB at the L level and the output Q at the H level.

(期間Bの動作)
期間Bは、カウンタ回路104のカウント値Nが0から第1設定値S1に1を加えた(S1+1)に達する直前までの期間である。
(Operation during period B)
The period B is a period from the time when the count value N of the counter circuit 104 reaches 0 to immediately before reaching 1 (S1 + 1) obtained by adding 1 to the first set value S1.

カウンタ回路104は、クロック信号E1がLレベルからHレベルに変化するタイミングでカウント値Nが1だけ上昇する。カウント値Nが第1設定値S1と等しくなって、次のクロック信号が入力されるタイミングで第1比較回路106がリセット信号E2を出力し、カウンタ回路104をリセットする。即ち、カウント値Nが(S1+1)=4000になるタイミングでリセット信号E2が出力されることで、カウント値Nがリセットされて0となる。   In the counter circuit 104, the count value N increases by 1 at the timing when the clock signal E1 changes from L level to H level. The first comparison circuit 106 outputs the reset signal E2 at the timing when the count value N becomes equal to the first set value S1 and the next clock signal is input, and the counter circuit 104 is reset. That is, when the reset signal E2 is output at the timing when the count value N becomes (S1 + 1) = 4000, the count value N is reset to zero.

このとき、RS−フリップフロップ回路110のリセット端子Rへもリセット信号E2が出力されるため、RS−フリップフロップ回路110の出力QBがLレベルからHレベルとなる。従って、デジタルPWM回路100から出力される矩形波信号E4は、
100nS×(3999+1)=400μS
の周期を持つことになる。
At this time, since the reset signal E2 is also output to the reset terminal R of the RS-flip flop circuit 110, the output QB of the RS-flip flop circuit 110 changes from L level to H level. Therefore, the rectangular wave signal E4 output from the digital PWM circuit 100 is
100 nS × (3999 + 1) = 400 μS
Will have a period of

このようにデジタルPWM回路100からは、(期間A)/(期間B)のデューティdutyと期間Bの周期Tpwmを持った矩形波信号E4が出力される。期間Aは(Tck×S2)であり、期間Bは{Tck×(S1+1)}であるため、デジタルPWM回路100の周期Tpwm、デューティdutyは、以下の式で表される。
Tpmw=Tck×(S1+1) (1)
duty=S2/(S1+1) (2)
例えば、図9に示した動作となる図8のデジタルPWM回路100からは、周期400μS、デューティ0.4の矩形波信号E4が出力される。
Thus, the digital PWM circuit 100 outputs a rectangular wave signal E4 having a duty period of (period A) / (period B) and a period Tpwm of period B. Since the period A is (Tck × S2) and the period B is {Tck × (S1 + 1)}, the period Tpwm and the duty duty of the digital PWM circuit 100 are expressed by the following equations.
Tpmw = Tck × (S1 + 1) (1)
duty = S2 / (S1 + 1) (2)
For example, the digital PWM circuit 100 shown in FIG. 8 having the operation shown in FIG. 9 outputs a rectangular wave signal E4 having a cycle of 400 μS and a duty of 0.4.

第1比較回路106の第1設定値S1および第2比較回路108の第2設定値S2は、デジタルプロセッサ等を用いて、外部から設定を変更することが可能であるため、デジタルPWM回路100のデューティと周期は自由に設定することができる。   The first setting value S1 of the first comparison circuit 106 and the second setting value S2 of the second comparison circuit 108 can be changed from the outside by using a digital processor or the like. Duty and period can be set freely.

(デジタルPWM回路を用いた基準電圧発生回路の動作)
デジタルPWM回路100を用いた基準電圧発生回路は、デジタルPWM回路100の出力する矩形波信号E4を、抵抗112とコンデンサ114を用いて平滑した電圧を基準電圧Vrefとしている。基準電圧Vrefは、デジタルPWM回路100のHレベルの出力電圧、Lレベルの出力電圧、デジタルPWM回路100のデューティで決定される。
(Operation of reference voltage generation circuit using digital PWM circuit)
The reference voltage generation circuit using the digital PWM circuit 100 uses the voltage obtained by smoothing the rectangular wave signal E4 output from the digital PWM circuit 100 using the resistor 112 and the capacitor 114 as the reference voltage Vref. The reference voltage Vref is determined by the H level output voltage of the digital PWM circuit 100, the L level output voltage, and the duty of the digital PWM circuit 100.

例えば、デジタルPWM回路100のHレベルの出力電圧をVH、Lレベルの出力電圧をVL、デジタルPWM回路100のデューティをdutyとすると、基準電圧Vrefは以下の式で表すことができる。
Vref=(VH−VL)×duty+VL (3)
例えば、図8及び図9において、VH=5V、VL=0V、S1=3999、S2=1600とすると、duty=0.4となるので、図8の基準電圧発生回路は基準電圧Vrefとして2Vを出力する。
For example, when the H level output voltage of the digital PWM circuit 100 is VH, the L level output voltage is VL, and the duty of the digital PWM circuit 100 is duty, the reference voltage Vref can be expressed by the following equation.
Vref = (VH−VL) × duty + VL (3)
For example, in FIGS. 8 and 9, when VH = 5V, VL = 0V, S1 = 3999, and S2 = 1600, the duty is 0.4. Therefore, the reference voltage generation circuit of FIG. 8 sets 2V as the reference voltage Vref. Output.

(分解能)
デジタルPWM回路100を用いた基準電圧発生回路が出力する基準電圧Vrefの電圧分解能は、デジタルPWM回路100のデューティ分解能で決定される。デジタルPWM回路100はクロック信号E1をカウントすることで周期Tpmwとデューティdutyを生成しており、第2設定値S2が0に設定されたときデューティdutyは0になり、設定値S2が(S1+1)に設定されたときデューティdutyは1になる。
(resolution)
The voltage resolution of the reference voltage Vref output from the reference voltage generation circuit using the digital PWM circuit 100 is determined by the duty resolution of the digital PWM circuit 100. The digital PWM circuit 100 generates the period Tpmw and the duty duty by counting the clock signal E1, and when the second set value S2 is set to 0, the duty duty becomes 0 and the set value S2 is (S1 + 1). When set to, the duty duty becomes 1.

従って、デジタルPWM回路100のデューティ分解能は第1設定値S1で決定され、基準電圧Vrefの電圧分解能となる最小変化幅Vstepは以下の式で決定される。
Vstep=(VH―VL)/(S1+1) (4)
例えば、図8及び図9において、VH=5V、VL=0V、S1=3999とすると、図8の基準電圧Vrefの電圧分解能となる最小変化幅Vstepは、1.25mVとなる。
Accordingly, the duty resolution of the digital PWM circuit 100 is determined by the first set value S1, and the minimum change width Vstep that becomes the voltage resolution of the reference voltage Vref is determined by the following equation.
Vstep = (VH−VL) / (S1 + 1) (4)
For example, in FIG. 8 and FIG. 9, when VH = 5V, VL = 0V, and S1 = 3999, the minimum change width Vstep that provides the voltage resolution of the reference voltage Vref in FIG. 8 is 1.25 mV.

以上より、デジタルPWM回路100を用いた基準電圧発生回路において、基準電圧Vrefの電圧分解能を向上させる場合、第1比較回路106の第1設定値S1を大きくする必要がある。   From the above, in the reference voltage generation circuit using the digital PWM circuit 100, when the voltage resolution of the reference voltage Vref is improved, the first set value S1 of the first comparison circuit 106 needs to be increased.

(リップル電圧)
デジタルPWM回路100を用いた基準電圧発生回路は、デジタルPWM回路100の出力となる矩形波信号E4を平滑して基準電圧Vrefを作るため、抵抗112の抵抗値R0、コンデンサ114の容量C0、および、矩形波信号E4の周期Tpwmの値で決定されるリップル電圧Vripが重畳する。出力電圧Voを、基準電圧Vrefを基に制御を行うスイッチング電源装置の場合、基準電圧Vrefにリップル電圧が重畳していると出力電圧Voにもリップル電圧が重畳することになる。
(Ripple voltage)
Since the reference voltage generation circuit using the digital PWM circuit 100 smoothes the rectangular wave signal E4 that is the output of the digital PWM circuit 100 to generate the reference voltage Vref, the resistance value R0 of the resistor 112, the capacitance C0 of the capacitor 114, and The ripple voltage Vrip determined by the value of the period Tpwm of the rectangular wave signal E4 is superimposed. In the case of a switching power supply device that controls the output voltage Vo based on the reference voltage Vref, if the ripple voltage is superimposed on the reference voltage Vref, the ripple voltage is also superimposed on the output voltage Vo.

例えば、基準電圧Vref=2Vのとき、出力電圧Vo=12Vとなるスイッチング電源装置を考える。出力電圧Voは基準電圧Vrefの6倍になるように制御が行われていることになるので、出力電圧Voのリップル電圧は基準電圧Vrefのリップル電圧Vripの6倍の値となる。   For example, consider a switching power supply device in which the output voltage Vo = 12V when the reference voltage Vref = 2V. Since the output voltage Vo is controlled to be 6 times the reference voltage Vref, the ripple voltage of the output voltage Vo is 6 times the ripple voltage Vrip of the reference voltage Vref.

一般的なスイッチング電源装置では、出力電圧Voのリップル電圧は出力電圧の0.2%程度に設計されているが小さいほど望ましい。例えば、12Vを出力するスイッチング電源装置のリップル電圧は24mVとなる。基準電圧Vref=2Vのとき、出力電圧Vo=12Vとなるスイッチング電源装置において、出力電圧のリップル電圧を24mV以下とする場合、基準電圧Vrefのリップル電圧Vripを4mV以下とする必要がある。そこで、基準電圧Vrefに重畳しているリップル電圧Vripを求めると次のようになる。   In a general switching power supply device, the ripple voltage of the output voltage Vo is designed to be about 0.2% of the output voltage, but the smaller the better. For example, the ripple voltage of a switching power supply device that outputs 12 V is 24 mV. In the switching power supply device in which the output voltage Vo = 12V when the reference voltage Vref = 2V, when the ripple voltage of the output voltage is 24 mV or less, the ripple voltage Vrip of the reference voltage Vref needs to be 4 mV or less. Therefore, the ripple voltage Vrip superimposed on the reference voltage Vref is obtained as follows.

デジタルPWM回路100がHレベルのときの出力電圧をVH、Lレベルのときの出力電圧を0Vとして、以下を説明する。また、抵抗112の抵抗値をR0、コンデンサ114の容量をC0とする。デジタルPWM回路100の出力がHレベルのとき、抵抗112を流れる電流Ir0は、以下の式で表される。
Ir0=(VH―Vref)/R0 (5)
The following will be described assuming that the output voltage when the digital PWM circuit 100 is at the H level is VH, and the output voltage when the digital PWM circuit 100 is at the L level is 0V. The resistance value of the resistor 112 is R0, and the capacitance of the capacitor 114 is C0. When the output of the digital PWM circuit 100 is at the H level, the current Ir0 flowing through the resistor 112 is expressed by the following equation.
Ir0 = (VH−Vref) / R0 (5)

抵抗112を流れる電流Ir0は、コンデンサ114に流れ込む電流となる。デジタルPWM回路100がHレベルを出力している時間は、デジタルPWM回路100の周期Tpwmとデューティdutyの積である。従って、コンデンサ114には、
時間T=Tpwm×duty
の間、電流Ir0が流れ込む。この間のコンデンサ114の電圧変動ΔVc0がデジタルPWM回路100のリップル電圧Vripとなる。
The current Ir0 flowing through the resistor 112 becomes a current flowing into the capacitor 114. The time during which the digital PWM circuit 100 outputs the H level is a product of the period Tpwm and the duty duty of the digital PWM circuit 100. Therefore, the capacitor 114 has
Time T = Tpwm × duty
During this period, current Ir0 flows. During this time, the voltage fluctuation ΔVc0 of the capacitor 114 becomes the ripple voltage Vrip of the digital PWM circuit 100.

Figure 2017085744
Figure 2017085744

例えば、図8及び図9 においては、VH=5V、Vref=2V、Tpwm=400μS、duty=0.4であるので、Vrip≦4mVとなる条件は、以下の式で表される。
C0・R0 ≧{ (VH−Vref)・Tpwm・duty}/4mV
= 0.12 (7)
例えば、C0=10μF、R0=12kΩとすれば、Vrip=4mVが得られる。
For example, in FIGS. 8 and 9, since VH = 5V, Vref = 2V, Tpwm = 400 μS, and duty = 0.4, the condition for Vrip ≦ 4 mV is expressed by the following equation.
C0 · R0 ≧ {(VH−Vref) · Tpwm · duty} / 4 mV
= 0.12 (7)
For example, if C0 = 10 μF and R0 = 12 kΩ, Vrip = 4 mV is obtained.

以上より、リップル電圧を小さくしようとする場合、コンデンサ114の容量C0および抵抗112の抵抗値R0を大きくする必要がある。   From the above, in order to reduce the ripple voltage, it is necessary to increase the capacitance C0 of the capacitor 114 and the resistance value R0 of the resistor 112.

また、リップル電圧を小さくするための他の方法としては、式(6)からデジタルPWM回路100の周期Tpwmを短くして周波数を高くする方法がある。   As another method for reducing the ripple voltage, there is a method of increasing the frequency by shortening the period Tpwm of the digital PWM circuit 100 from the equation (6).

(基準電圧変更時間)
デジタルPWM回路100を用いた基準電圧発生回路において、基準電圧Vrefを変更する場合は、デジタルPWM回路100からの出力する矩形波信号E4のデューティを変更する。例えば、図8では、第2比較回路108の第2設定値S2を変更することで、矩形波信号のデューティを変えて、基準電圧Vrefを変更する。
(Reference voltage change time)
In the reference voltage generating circuit using the digital PWM circuit 100, when the reference voltage Vref is changed, the duty of the rectangular wave signal E4 output from the digital PWM circuit 100 is changed. For example, in FIG. 8, the reference voltage Vref is changed by changing the duty of the rectangular wave signal by changing the second setting value S2 of the second comparison circuit 108.

基準電圧Vrefを電圧Vref1から電圧Vref2に変更する場合、変更に必要な時間を考える。デジタルPWM回路100を用いた基準電圧発生回路は、抵抗112とコンデンサ114を用いた平滑回路を内部に持っているため、平滑回路の時定数τの計算を行うことで、基準電圧Vrefを電圧Vref1から電圧Vref2に変更する時間を求めることができる。   When the reference voltage Vref is changed from the voltage Vref1 to the voltage Vref2, the time required for the change is considered. Since the reference voltage generation circuit using the digital PWM circuit 100 has a smoothing circuit using the resistor 112 and the capacitor 114, the reference voltage Vref is set to the voltage Vref1 by calculating the time constant τ of the smoothing circuit. The time for changing to voltage Vref2 can be obtained.

一般的に、時定数τはτ=RCで求められる。従って、デジタルPWM回路100のデューティを変更してからコンデンサ114の容量C0と抵抗112の抵抗値R0の積で求まる時間τが経過すると、基準電圧Vrefは、
Vref=(Vref2―Vref1)×0.632+Vref1
になっている。
In general, the time constant τ is obtained by τ = RC. Therefore, when the time τ determined by the product of the capacitance C0 of the capacitor 114 and the resistance value R0 of the resistor 112 elapses after the duty of the digital PWM circuit 100 is changed, the reference voltage Vref is
Vref = (Vref2−Vref1) × 0.632 + Vref1
It has become.

例えば、図8及び図9のデジタルPWM回路100を用いた基準電圧発生回路において、第2設定値S2が1600のとき基準電圧Vrefは2Vであるが、第2設定値S2を2000に変更するとデジタルPWM回路100のデューティは0.5となり、基準電圧Vrefは2.5Vを目指して変化し、0.12sec(=10μF×12kΩ)後には、2.316V(=(2.5V-2V)×0.632+2V)になっている。   For example, in the reference voltage generation circuit using the digital PWM circuit 100 of FIGS. 8 and 9, when the second set value S2 is 1600, the reference voltage Vref is 2V, but when the second set value S2 is changed to 2000, the digital value is changed. The duty of the PWM circuit 100 becomes 0.5, the reference voltage Vref changes with a goal of 2.5 V, and after 0.12 sec (= 10 μF × 12 kΩ), 2.316 V (= (2.5 V−2 V) × 0 .632 + 2V).

特開2010−028951号公報JP 2010-028951 A 特開2014−128110号公報JP 2014-128110 A

このようにスイッチング電源装置の出力電圧を制御するための基準電圧発生回路として、DAコンバータを用いる方法は、基準電圧発生回路は高分解能であることが求められるため、高価なDAコンバータが必要となり、基準電圧発生回路が高価なものになってしまう問題がある。   As described above, the method using the DA converter as the reference voltage generation circuit for controlling the output voltage of the switching power supply apparatus requires an expensive DA converter because the reference voltage generation circuit is required to have high resolution. There is a problem that the reference voltage generating circuit becomes expensive.

この問題を解決する方法として、前述したように、デジタルPWM回路から出力された周期とデューティを外部から設定できる矩形波信号を抵抗とコンデンサを用いて平滑して得られた電圧をスイッチング電源の基準電圧とする方法があるが、この方法は、矩形波信号を抵抗とコンデンサにより平滑しているため、基準電圧にリップル電圧が重畳し、基準電圧のリップル電圧は、出力電圧のリップル電圧になってしまう。   As a method of solving this problem, as described above, a voltage obtained by smoothing a rectangular wave signal output from the digital PWM circuit using a resistor and a capacitor that can set the period and duty from the outside is used as a reference of the switching power supply. There is a method of voltage, but this method smoothes the rectangular wave signal with a resistor and capacitor, so the ripple voltage is superimposed on the reference voltage, and the ripple voltage of the reference voltage becomes the ripple voltage of the output voltage End up.

一般的に、スイッチング電源装置は出力電圧のリップル電圧が小さいほど良く、出力電圧設定値を変更する際に必要な時間が短いほど良いが、基準電圧のリップル電圧を小さくするためには、矩形波信号の周波数を高くすることが考えられ、周波数を高くしようとすると高速クロックを用いたデジタルPWM回路が必要となるため、基準電圧発生回路が高価なものになるという問題が発生する。   In general, the smaller the output voltage ripple voltage is, the better the switching power supply device is, and the shorter the time required for changing the output voltage setting value, the better. It is conceivable to increase the frequency of the signal. If the frequency is to be increased, a digital PWM circuit using a high-speed clock is required, which causes a problem that the reference voltage generation circuit becomes expensive.

また、リップル電圧を小さくするためにコンデンサと抵抗の積を大きくする必要があるが、スイッチング電源装置の出力電圧設定値を変更する際に必要な時間を短くするには、コンデンサと抵抗の積を小さくする必要があり、両方を満たすことができない。   In order to reduce the ripple voltage, it is necessary to increase the product of the capacitor and the resistor.To shorten the time required to change the output voltage setting value of the switching power supply, the product of the capacitor and the resistor must be increased. It needs to be small and cannot satisfy both.

従って、従来のデジタルPWM回路を用いた基準電圧発生回路では、分解能、リップル電圧、設定変更時間の要素を低コストで成り立たせることができないという問題があった。   Therefore, the conventional reference voltage generation circuit using the digital PWM circuit has a problem that the elements of resolution, ripple voltage, and setting change time cannot be realized at low cost.

本発明は、高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さを低コストで両立可能とするデジタルPWM回路を用いた基準電圧発生回路及びスイッチング電源装置を提供することを目的とする。   The present invention provides a reference voltage generation circuit and a switching power supply device using a digital PWM circuit that can achieve both high resolution output voltage setting, reduction of output voltage ripple voltage, and short setting voltage change time at low cost. The purpose is to do.

(基準電圧発生回路)
本発明は、基準電圧発生回路に於いて、
周期とデューティを外部から設定可能な矩形波信号を出力する複数のパルス幅変調回路と、
複数のパルス幅変調回路の出力の各々に一端を接続した複数の抵抗と、
複数の抵抗の他端を共通接続したコンデンサと、
を備え、
複数の抵抗とコンデンサの接続点に発生する電圧を基準電圧として取り出す構成を備えたことを特徴とする。
(Reference voltage generation circuit)
The present invention provides a reference voltage generating circuit,
A plurality of pulse width modulation circuits that output a rectangular wave signal whose period and duty can be set from the outside;
A plurality of resistors having one end connected to each of the outputs of the plurality of pulse width modulation circuits;
A capacitor in which the other ends of a plurality of resistors are connected in common;
With
A configuration is provided in which a voltage generated at a connection point between a plurality of resistors and a capacitor is extracted as a reference voltage.

(2つのパルス幅変調回路の出力抵抗の関係)
複数のパルス幅変調回路を相互に重なるように並び順に2回路ずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)に対し第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)が十分に大きな値に設定される。
(Relationship between output resistances of two pulse width modulation circuits)
When a plurality of pulse width modulation circuits are divided into groups of two circuits in order so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order within each group, the first pulse width modulation The resistance value (R i + 1 ) of the second resistor connected to the second pulse width modulation circuit is set to a sufficiently large value relative to the resistance value (R i ) of the first resistor connected to the circuit.

(2つのパルス幅変調回路の出力抵抗比をデューティ分解能に基づき設定)
複数のパルス幅変調回路は所定のデューティ分解能を有し、
複数のパルス幅変調回路を相互に重なるように並び順に2回路ずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)と第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)の比(Ri+1/Ri)が第1パルス幅変調回路のデューティ分解能とほぼ等しくなるように、第1抵抗及び第2抵抗の抵抗値が設定される。
(Set the output resistance ratio of two pulse width modulation circuits based on duty resolution)
The plurality of pulse width modulation circuits have a predetermined duty resolution,
When a plurality of pulse width modulation circuits are divided into groups of two circuits in order so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order within each group, the first pulse width modulation The ratio (R i + 1 / R i ) of the resistance value (R i ) of the first resistor connected to the circuit and the resistance value (R i + 1 ) of the second resistor connected to the second pulse width modulation circuit is the first. The resistance values of the first resistor and the second resistor are set so as to be substantially equal to the duty resolution of the pulse width modulation circuit.

(パルス幅変調回路の詳細とデューティ分解能)
パルス幅変調回路は、カウンタ回路、第1比較回路、第2比較回路及び出力反転回路を備え、
カウンタ回路は、外部から供給されたクロック信号を計数してカウント値を出力すると共に第1比較回路から出力されたリセット信号によりリセットされ、
第1比較回路は、カウンタ回路のカウント値を外部から設定された所定の第1設定値と比較し、カウント値が第1設定値に一致した場合にリセット信号を出力し、
第2比較回路は、カウンタ回路のカウント値を第1設定値以下の外部から設定された第2設定値と比較し、カウント値が第2設定値に一致した場合に出力反転信号を出力し、
出力反転回路は、リセット信号が得られたときに出力をLレベルからHレベルに立上げ、出力反転信号が得られた場合に出力をHレベルからLレベルに反転して矩形波信号を出力する。
(Details of pulse width modulation circuit and duty resolution)
The pulse width modulation circuit includes a counter circuit, a first comparison circuit, a second comparison circuit, and an output inversion circuit,
The counter circuit counts a clock signal supplied from the outside and outputs a count value, and is reset by a reset signal output from the first comparison circuit,
The first comparison circuit compares the count value of the counter circuit with a predetermined first set value set from the outside, and outputs a reset signal when the count value matches the first set value;
The second comparison circuit compares the count value of the counter circuit with a second set value set from outside that is equal to or less than the first set value, and outputs an output inversion signal when the count value matches the second set value;
The output inversion circuit raises the output from the L level to the H level when the reset signal is obtained, and outputs the rectangular wave signal by inverting the output from the H level to the L level when the output inversion signal is obtained. .

(スイッチング電源装置)
本発明は、
電力変換部、スイッチング素子駆動回路及び基準電圧発生回路を備え、
電力変換部はスイッチング素子のオン、オフによって入力電源が供給する入力電圧を断続電圧に変換すると共に断続電圧を整流平滑して直流電圧を生成し、
スイッチング素子駆動回路は、基準電圧発生回路からの基準電圧に対応してスイッチング素子のオンデューティを制御するスイッチング電源装置に於いて、
基準電圧発生回路は、
周期とデューティを外部から設定可能な矩形波信号を出力する複数のパルス幅変調回路と、
複数のパルス幅変調回路の出力の各々に一端を接続した複数の抵抗と、
複数の抵抗の他端を共通接続したコンデンサと、
を備え、
複数の抵抗とコンデンサの接続点で発生する電圧を基準電圧として取り出す構成を備えたことを特徴とする。
(Switching power supply)
The present invention
A power conversion unit, a switching element drive circuit and a reference voltage generation circuit;
The power conversion unit converts the input voltage supplied by the input power supply into an intermittent voltage by turning on and off the switching element and rectifies and smoothes the intermittent voltage to generate a DC voltage.
In the switching power supply device that controls the on-duty of the switching element in response to the reference voltage from the reference voltage generation circuit,
The reference voltage generator circuit
A plurality of pulse width modulation circuits that output a rectangular wave signal whose period and duty can be set from the outside;
A plurality of resistors having one end connected to each of the outputs of the plurality of pulse width modulation circuits;
A capacitor in which the other ends of a plurality of resistors are connected in common;
With
A configuration is provided in which a voltage generated at a connection point between a plurality of resistors and a capacitor is taken out as a reference voltage.

(2つのパルス幅変調回路の出力抵抗の関係)
スイッチング電源装置に設けた複数のパルス幅変調回路を相互に重なるように並び順に2回路ずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)に対し第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)が十分に大きな値に設定される。
(Relationship between output resistances of two pulse width modulation circuits)
When a plurality of pulse width modulation circuits provided in the switching power supply device are divided into groups of two circuits in order so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order in each group The resistance value (R i + 1 ) of the second resistor connected to the second pulse width modulation circuit is set to a sufficiently large value relative to the resistance value (R i ) of the first resistor connected to the first pulse width modulation circuit. Is done.

(2つのパルス幅変調回路の出力抵抗比をデューティ分解能に基づき設定)
スイッチング電源装置に設けた複数のパルス幅変調回路は所定のデューティ分解能を有し、
複数のパルス幅変調回路を相互に重なるように並び順に2回路ずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)と第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)の抵抗値の比(Ri+1/Ri)が第1パルス幅変調回路のデューティ分解能とほぼ等しくなるように、第1抵抗及び第2抵抗の抵抗値が設定される。
(Set the output resistance ratio of two pulse width modulation circuits based on duty resolution)
The plurality of pulse width modulation circuits provided in the switching power supply device have a predetermined duty resolution,
When a plurality of pulse width modulation circuits are divided into groups of two circuits in order so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order within each group, the first pulse width modulation Ratio (R i + 1 / R i ) of the resistance value (R i ) of the first resistor connected to the circuit and the resistance value (R i + 1 ) of the second resistor connected to the second pulse width modulation circuit Are set to be substantially equal to the duty resolution of the first pulse width modulation circuit, the resistance values of the first resistor and the second resistor are set.

(パルス幅変調回路の詳細とデューティ分解能)
スイッチング電源装置に設けたパルス幅変調回路は、カウンタ回路、第1比較回路、第2比較回路及び出力反転回路を備え、
カウンタ回路は、外部から供給されたクロック信号を計数してカウント値を出力すると共に第1比較回路から出力されたリセット信号によりリセットされ、
第1比較回路は、カウンタ回路のカウント値を外部から設定された所定の第1設定値と比較し、カウント値が第1設定値に一致した場合にリセット信号を出力し、
第2比較回路は、カウンタ回路のカウント値を第1設定値以下の外部から設定された第2設定値と比較し、カウント値が第2設定値に一致した場合に出力反転信号を出力し、
出力反転回路は、リセット信号が得られたときに出力を正転し、出力反転信号が得られた場合に出力を反転して矩形波信号を出力する。
(Details of pulse width modulation circuit and duty resolution)
The pulse width modulation circuit provided in the switching power supply device includes a counter circuit, a first comparison circuit, a second comparison circuit, and an output inversion circuit.
The counter circuit counts a clock signal supplied from the outside and outputs a count value, and is reset by a reset signal output from the first comparison circuit,
The first comparison circuit compares the count value of the counter circuit with a predetermined first set value set from the outside, and outputs a reset signal when the count value matches the first set value;
The second comparison circuit compares the count value of the counter circuit with a second set value set from outside that is equal to or less than the first set value, and outputs an output inversion signal when the count value matches the second set value;
The output inverting circuit normally rotates the output when the reset signal is obtained, and inverts the output and outputs a rectangular wave signal when the output inverted signal is obtained.

(基準電圧発生回路の基本的な効果)
本発明は、基準電圧発生回路に於いて、周期とデューティを外部から設定可能な矩形波信号を出力する複数のパルス幅変調回路と、複数のパルス幅変調回路の出力の各々に一端を接続した複数の抵抗と、複数の抵抗の他端を共通接続したコンデンサとを備え、複数の抵抗とコンデンサの接続点に発生する電圧を基準電圧として取り出す構成を備えるようにしたため、パルス幅変調回路として低速クロックで動作するデジタルPWM回路をデューティ分解能を低く設定して用いても、基準電圧の分解能を高くすることが可能となるため、高速クロックで動作する高価なデジタルPWM回路を用いることなく、矩形波信号の周期を短くすることが可能となり、また、デジタルPWM回路のデューティ分解能を低く設定したことで矩形波信号の周期を短くできることから、基準電圧の設定電圧変更時間を短くするために、デジタルPWM回路の出力に接続する抵抗とコンデンサの時定数を小さくした場合でも、基準電圧のリップル電圧が大きくなることが無く、高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さを低コストで両立可能とする。
(Basic effects of the reference voltage generation circuit)
According to the present invention, in the reference voltage generating circuit, one end is connected to each of a plurality of pulse width modulation circuits that output a rectangular wave signal whose period and duty can be set from the outside, and each of the outputs of the plurality of pulse width modulation circuits. It is equipped with a plurality of resistors and a capacitor with the other ends of the plurality of resistors connected in common, and has a configuration for extracting the voltage generated at the connection point between the plurality of resistors and the capacitor as a reference voltage. Even if a digital PWM circuit that operates with a clock is used with a low duty resolution, the resolution of the reference voltage can be increased. Therefore, a rectangular wave can be used without using an expensive digital PWM circuit that operates with a high-speed clock. The period of the signal can be shortened, and the period of the rectangular wave signal can be reduced by setting the duty resolution of the digital PWM circuit low. Because it can be shortened, even if the time constant of the resistor and capacitor connected to the output of the digital PWM circuit is reduced in order to shorten the set voltage change time of the reference voltage, the ripple voltage of the reference voltage does not increase and is high. The resolution output voltage setting, output voltage ripple voltage reduction, and setting voltage change time can be reduced at a low cost.

(2つのパルス幅変調回路の出力抵抗の関係による効果)
また、複数のパルス幅変調回路を相互に重なるように並び順に2回路ずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)に対し第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)が十分に大きな値に設定されたため、基準電圧に対しては、第1比較回路からの矩形波信号による電圧変化は直接に基準電圧の電圧変化に反映されることで粗調整として働き、第1比較回路からの矩形波信号による電圧変化は第1抵抗と第2抵抗の大小関係に基づき小さな電圧変化として基準電圧に反映されることで微調整として働き、両者の組合せにより高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さを低コストで両立可能とする。
(Effect due to the relationship between the output resistances of the two pulse width modulation circuits)
Further, when the plurality of pulse width modulation circuits are divided into groups of two circuits in the order of arrangement so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order in each group, the first pulse Since the resistance value (R i + 1 ) of the second resistor connected to the second pulse width modulation circuit is set to a sufficiently large value relative to the resistance value (R i ) of the first resistor connected to the width modulation circuit, the reference For the voltage, the voltage change due to the rectangular wave signal from the first comparison circuit is directly reflected in the voltage change of the reference voltage, thereby acting as a rough adjustment, and the voltage change due to the rectangular wave signal from the first comparison circuit is Based on the magnitude relationship between the first resistor and the second resistor, a small voltage change is reflected in the reference voltage to work as a fine adjustment. By combining both, high resolution output voltage setting, output voltage ripple voltage reduction, setting voltage Change time The short and compatible with low cost.

(2つのパルス幅変調回路の出力抵抗比をデューティ分解能に基づき設定する効果)
また、複数のパルス幅変調回路は所定のデューティ分解能を有し、複数のパルス幅変調回路を相互に重なるように並び順に2回路ずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)と第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)の比(Ri+1/Ri)が第1パルス幅変調回路のデューティ分解能とほぼ等しくなるように、第1抵抗及び第2抵抗の抵抗値が設定されたため、第1抵抗と第2抵抗の比を第1パルス幅変調回路のデューティ分解能とほぼ等しく設定したことで、デジタルプロセッサ等による外部から周期、デューティ分解能及びデューティを変更する制御により、基準電圧を例えば0Vから矩形波信号のHレベル電圧の範囲で、第1パルス幅変調回路のデューティ分解能と第2パルス幅変調回路のデューティ分解能を掛け合わせた分解能に対応した微小電圧単位に調整が可能となり、基準電圧を高精度に制御することが可能となる。
(Effect of setting output resistance ratio of two pulse width modulation circuits based on duty resolution)
The plurality of pulse width modulation circuits have a predetermined duty resolution, and the plurality of pulse width modulation circuits are divided into groups of two circuits in the arrangement order so as to overlap each other, and the first pulse width modulation is arranged in the arrangement order in each group. If the circuit and the second pulse width modulation circuit, the first resistor resistance value connected to the first pulse width modulation circuit (R i) and the second resistor resistance value connected to the second pulse width modulation circuit (R i +1 ) ratio (R i + 1 / R i ) is set so that the resistance values of the first resistor and the second resistor are substantially equal to the duty resolution of the first pulse width modulation circuit. By setting the ratio of the second resistance to be substantially equal to the duty resolution of the first pulse width modulation circuit, the reference voltage is changed from, for example, 0 V to a rectangular wave by controlling the period, duty resolution, and duty from the outside by a digital processor or the like. Within the range of the H level voltage of the signal, it is possible to adjust to the minute voltage unit corresponding to the resolution obtained by multiplying the duty resolution of the first pulse width modulation circuit and the duty resolution of the second pulse width modulation circuit. It becomes possible to control to.

また、基準電圧は、第1パルス幅変調回路のデューティ分解能と第2パルス幅変調回路のデューティ分解能を掛け合わせた分解能に基づき生成されるため、第1パルス幅変調回路及び第2パルス幅変調回路のデューティ分解能は小さくすることができ、デューティ分解能が小さければ、従来と同じクロック周期とすると、矩形波信号の周期は短くなることで高速動作することとなり、パルス幅変調回路の出力に接続する抵抗とコンデンサの時定数を小さくしても、基準電圧のリップルを小さくすることができる。   Further, since the reference voltage is generated based on a resolution obtained by multiplying the duty resolution of the first pulse width modulation circuit and the duty resolution of the second pulse width modulation circuit, the first pulse width modulation circuit and the second pulse width modulation circuit If the duty cycle is the same as the conventional clock cycle, the cycle of the rectangular wave signal will be shortened, resulting in high-speed operation and a resistor connected to the output of the pulse width modulation circuit. Even if the time constant of the capacitor is reduced, the ripple of the reference voltage can be reduced.

その結果、高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さを低コストで両立可能とする。   As a result, high resolution output voltage setting, reduction of ripple voltage of output voltage, and short setting voltage change time can be achieved at low cost.

(パルス幅変調回路の詳細とデューティ分解能による効果)
また、パルス幅変調回路は、カウンタ回路、第1比較回路、第2比較回路及び出力反転回路を備え、カウンタ回路は、外部から供給されたクロック信号を計数してカウント値を出力すると共に第1比較回路から出力されたリセット信号によりリセットされ、第1比較回路は、カウンタ回路のカウント値を外部から設定された所定の第1設定値と比較し、カウント値が第1設定値に一致した場合にリセット信号を出力し、第2比較回路は、カウンタ回路のカウント値を外部から設定された第2設定値と比較し、カウント値が第2設定値に一致した場合に出力反転信号を出力し、出力反転回路は、リセット信号が得られたときに出力を正転し、出力反転信号が得られた場合に出力を反転して矩形波信号を出力するようにしたため、このような構成を備えた第1パルス幅変調回路と第2パルス幅変調回路に対し、デジタルプロセッサ等により外部から第1設定値を変更することで矩形波信号の周期とデューティ分解能を変更する制御ができ、また、第2設定値を変更することで矩形波信号のデューティを変更する制御が可能となり、第1パルス幅変調回路のデューティ分解能と第2パルス幅変調回路のデューティ分解能を掛け合わせた分解能に対応した微小電圧単位に基準電圧の調整が可能となり、基準電圧を高精度に制御することができる。
(Details of pulse width modulation circuit and effect of duty resolution)
The pulse width modulation circuit includes a counter circuit, a first comparison circuit, a second comparison circuit, and an output inversion circuit. The counter circuit counts a clock signal supplied from the outside and outputs a count value. When reset by the reset signal output from the comparison circuit, the first comparison circuit compares the count value of the counter circuit with a predetermined first set value set from the outside, and the count value matches the first set value The second comparison circuit compares the count value of the counter circuit with a second set value set from the outside, and outputs an output inversion signal when the count value matches the second set value. The output inverting circuit normally rotates the output when the reset signal is obtained, and outputs the rectangular wave signal by inverting the output when the output inverted signal is obtained. The first pulse width modulation circuit and the second pulse width modulation circuit provided can be controlled to change the period and duty resolution of the rectangular wave signal by changing the first set value from the outside by a digital processor or the like. By changing the second set value, it is possible to control to change the duty of the rectangular wave signal, and the minute resolution corresponding to the resolution obtained by multiplying the duty resolution of the first pulse width modulation circuit and the duty resolution of the second pulse width modulation circuit. The reference voltage can be adjusted in units of voltage, and the reference voltage can be controlled with high accuracy.

また、基準電圧は、第1パルス幅変調回路のデューティ分解能と第2パルス幅変調回路のデューティ分解能を掛け合わせた分解能に基づき生成されるため、第1パルス幅変調回路及び第2パルス幅変調回路の第1設定値を小さな値に設定することでデューティ分解能を小さくすることができ、デューティ分解能が小さければ、従来と同じクロック周期とすると、矩形波信号の周期は短くなることで高速動作することとなり、パルス幅変調回路の出力に接続する抵抗とコンデンサの時定数を小さくしても基準電圧のリップルを小さくすることができる。   Further, since the reference voltage is generated based on a resolution obtained by multiplying the duty resolution of the first pulse width modulation circuit and the duty resolution of the second pulse width modulation circuit, the first pulse width modulation circuit and the second pulse width modulation circuit The duty resolution can be reduced by setting the first set value to a small value, and if the duty resolution is small, the period of the rectangular wave signal is shortened and the high-speed operation is performed with the same clock period as before. Therefore, the ripple of the reference voltage can be reduced even if the time constant of the resistor and the capacitor connected to the output of the pulse width modulation circuit is reduced.

その結果、高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さを低コストで両立可能とする。   As a result, high resolution output voltage setting, reduction of ripple voltage of output voltage, and short setting voltage change time can be achieved at low cost.

(スイッチング電源装置の効果)
本発明は、電力変換部、スイッチング素子駆動回路及び基準電圧発生回路を備え、電力変換部はスイッチング素子のオンオフによって入力電源が供給する入力電圧を断続電圧に変換すると共に断続電圧を整流平滑して直流電圧を生成し、スイッチング素子駆動回路は、基準電圧発生回路からの基準電圧に対応してスイッチング素子のオンデューティを制御するスイッチング電源装置に於いて、基準電圧発生回路は、周期とデューティを外部から設定可能な矩形波信号を出力する複数のパルス幅変調回路と、複数のパルス幅変調回路の出力の各々に一端を接続した複数の抵抗と、複数の抵抗の他端を共通接続したコンデンサとを備え、複数の抵抗とコンデンサの接続点で発生する電圧を基準電圧として取り出す構成を備えるようにしたため、前述した本発明による基準電圧発生回路の効果により、デジタルプロセッサ等で高精度かつ高速応答に出力電圧を制御でき、出力電圧リップルが小さいスイッチング電源装置を低コストで作ることができる。
(Effect of switching power supply)
The present invention includes a power conversion unit, a switching element drive circuit, and a reference voltage generation circuit. The power conversion unit converts an input voltage supplied from an input power source into an intermittent voltage by rectifying and smoothing the intermittent voltage by turning on and off the switching element. In a switching power supply device that generates a DC voltage and the switching element drive circuit controls the on-duty of the switching element in response to the reference voltage from the reference voltage generation circuit, the reference voltage generation circuit sets the cycle and duty to external A plurality of pulse width modulation circuits for outputting a settable rectangular wave signal, a plurality of resistors having one end connected to each of the outputs of the plurality of pulse width modulation circuits, and a capacitor having the other ends of the plurality of resistors connected in common And a configuration that takes out the voltage generated at the connection point of multiple resistors and capacitors as a reference voltage. The effect of the reference voltage generating circuit according to the invention as, with high accuracy and fast response in a digital processor or the like to control the output voltage, the output voltage ripple is small switching power supply unit can be made at low cost.

なお、スイッチング電源装置におけるそれ以外の特徴による効果は、基準電圧発生回路の場合と基本的に同様となる。   The effects of the other features of the switching power supply device are basically the same as those of the reference voltage generation circuit.

デジタルPWM回路を2回路設けた基準電圧発生回路の概略を示した回路ブロック図A circuit block diagram showing an outline of a reference voltage generating circuit provided with two digital PWM circuits. 図1の基準電圧発生回路につきデジタルPWM回路の具体的な回路構成を含めて示した回路ブロック図1 is a circuit block diagram showing a specific circuit configuration of a digital PWM circuit for the reference voltage generating circuit of FIG. 基準電圧発生回路のコンデンサ容量を無限大とした場合の等価回路を示した回路ブロック図Circuit block diagram showing an equivalent circuit when the capacitor capacity of the reference voltage generation circuit is infinite デジタルPWM回路を3回路以上設けた基準電圧発生回路の概略を示した回路ブロック図A circuit block diagram showing an outline of a reference voltage generating circuit provided with three or more digital PWM circuits. 本発明の基準電圧発生回路を設けたスイッチング電源装置の第1実施形態を示した回路ブロック図1 is a circuit block diagram showing a first embodiment of a switching power supply device provided with a reference voltage generation circuit according to the present invention. 本発明の基準電圧発生回路を設けたスイッチング電源装置の第2実施形態を示した回路ブロック図The circuit block diagram which showed 2nd Embodiment of the switching power supply device provided with the reference voltage generation circuit of this invention 本発明の基準電圧発生回路を設けたフィードバック制御回路を持たないスイッチング電源装置の第3実施形態を示した回路ブロック図The circuit block diagram which showed 3rd Embodiment of the switching power supply device which does not have the feedback control circuit which provided the reference voltage generation circuit of this invention 従来のデジタルPWM回路を用いた基準電圧発生回路を示した回路ブロック図A circuit block diagram showing a reference voltage generation circuit using a conventional digital PWM circuit 図7のデジタルPWM回路における各部の動作波形を示したタイムチャートFIG. 7 is a time chart showing operation waveforms of various parts in the digital PWM circuit of FIG.

[基準電圧発生回路の第1実施形態]
図1はデジタルPWM回路を2回路設けた基準電圧発生回路の概略を示した回路ブロック図、図2は図1の基準電圧発生回路につきデジタルPWM回路の具体的な回路構成を含めて示した回路ブロック図、図3は基準電圧発生回路のコンデンサ容量を無限大とした場合の等価回路を示した回路ブロック図である。
[First Embodiment of Reference Voltage Generating Circuit]
1 is a circuit block diagram showing an outline of a reference voltage generating circuit provided with two digital PWM circuits. FIG. 2 is a circuit showing a specific circuit configuration of the digital PWM circuit for the reference voltage generating circuit of FIG. FIG. 3 is a circuit block diagram showing an equivalent circuit when the capacitor capacity of the reference voltage generating circuit is infinite.

(基準電圧発生回路の概略)
図1に示すように、本実施形態の基準電圧発生回路10は、第1パルス幅変調回路として機能する第1デジタルPWM回路12−1と第2パルス幅変調回路として機能する第2デジタルPWM回路12−2を備え、第1デジタルPWM回路12−1の出力に第1抵抗14−1の一端を接続し、第2デジタルPWM回路12−2の出力に第2抵抗14−2の一端を接続し、第1抵抗14−1及び第2抵抗14−2の他端はコンデンサ16の一端に共通接続し、第1抵抗14−1、第2抵抗14−2及びコンデンサ16の接続点から出力端子18に接続し、基準電圧Vrefを得る構成としている。
(Outline of reference voltage generation circuit)
As shown in FIG. 1, the reference voltage generation circuit 10 of this embodiment includes a first digital PWM circuit 12-1 that functions as a first pulse width modulation circuit and a second digital PWM circuit that functions as a second pulse width modulation circuit. 12-2, one end of the first resistor 14-1 is connected to the output of the first digital PWM circuit 12-1, and one end of the second resistor 14-2 is connected to the output of the second digital PWM circuit 12-2. The other ends of the first resistor 14-1 and the second resistor 14-2 are connected in common to one end of the capacitor 16, and the output terminal is connected from the connection point of the first resistor 14-1, the second resistor 14-2, and the capacitor 16. 18 to obtain a reference voltage Vref.

(第1デジタルPWM回路)
図2に示すように、基準電圧発生回路10に設けた第1デジタルPWM回路12−1は、カウンタ回路20−1、第1比較回路22−1、第2比較回路24−1、RS−フリップフロップ回路26−1から構成される。
(First digital PWM circuit)
As shown in FIG. 2, the first digital PWM circuit 12-1 provided in the reference voltage generation circuit 10 includes a counter circuit 20-1, a first comparison circuit 22-1, a second comparison circuit 24-1, and an RS flip-flop. Circuit 26-1.

カウンタ回路20−1は、クロック発振回路15−1が出力するクロック信号E11をカウントし、第1比較回路22−1及び第2比較回路24−1にカウント値N1を出力する。また、カウンタ回路20−1にリセット信号E12が入力されると、カウント値N1がゼロにリセットされる。   The counter circuit 20-1 counts the clock signal E11 output from the clock oscillation circuit 15-1, and outputs a count value N1 to the first comparison circuit 22-1 and the second comparison circuit 24-1. When the reset signal E12 is input to the counter circuit 20-1, the count value N1 is reset to zero.

第1比較回路22−1は、外部から設定できる第1設定値S11を持ち、カウンタ回路20−1が出力するカウント値N1が第1設定値S11と等しくなって、次のクロック信号E11が入力されるタイミングでリセット信号E12を出力する。   The first comparison circuit 22-1 has a first set value S11 that can be set from the outside. The count value N1 output from the counter circuit 20-1 becomes equal to the first set value S11, and the next clock signal E11 is input. The reset signal E12 is output at the timing.

第2比較回路24−1は、外部から設定できる第2設定値S12を持ち、カウンタ回路20−1が出力するカウント値N1が第2設定値S12と等しくなったタイミングで出力反転信号E13を出力する。   The second comparison circuit 24-1 has a second set value S12 that can be set from the outside, and outputs an output inversion signal E13 at the timing when the count value N1 output from the counter circuit 20-1 becomes equal to the second set value S12. To do.

RS−フリップフロップ回路26−1は、出力反転回路として機能し、第1比較回路22−1が出力するリセット信号E12が入力されると出力QBがHレベル、出力QがLレベルとなってこれを維持し、第2比較回路24−1が出力する出力反転信号E13が入力されると出力QBがLレベル、出力QがHレベルとなってこれを維持し、出力QBから矩形波信号(PWM信号)E14を出力する。   The RS flip-flop circuit 26-1 functions as an output inverting circuit. When the reset signal E12 output from the first comparison circuit 22-1 is input, the output QB becomes H level and the output Q becomes L level. When the output inversion signal E13 output from the second comparison circuit 24-1 is input, the output QB becomes L level and the output Q becomes H level, and this is maintained. From the output QB, the rectangular wave signal (PWM Signal) E14 is output.

これにより第1デジタルPWM回路12−1は、周期Tpwm1とデューティduty1をもつ矩形波信号E14を出力する。ここで、周期Tpwm1とデューティduty1は次式で与えられる。
Tpwm1=Tck1×(S11+1)
duty1=S12/(S11+1)
Accordingly, the first digital PWM circuit 12-1 outputs a rectangular wave signal E14 having a cycle Tpwm1 and a duty duty 1 . Here, the period Tpwm1 and the duty duty 1 are given by the following equations.
Tpwm1 = Tck1 × (S11 + 1)
duty 1 = S12 / (S11 + 1)

(第2デジタルPWM回路)
図2に示すように、基準電圧発生回路10に設けた第2デジタルPWM回路12−2は、カウンタ回路20−2、第1比較回路22−2、第2比較回路24−2、RS−フリップフロップ回路26−2から構成される。
(Second digital PWM circuit)
As shown in FIG. 2, the second digital PWM circuit 12-2 provided in the reference voltage generation circuit 10 includes a counter circuit 20-2, a first comparison circuit 22-2, a second comparison circuit 24-2, and an RS flip-flop. Circuit 26-2.

カウンタ回路20−2は、クロック発振回路15−2が出力するクロック信号E21をカウントし、第1比較回路22−2及び第2比較回路24−2にカウント値N2を出力する。また、カウンタ回路20−2は、リセット信号E22が入力されると、カウント値N2がゼロにリセットされる。   The counter circuit 20-2 counts the clock signal E21 output from the clock oscillation circuit 15-2, and outputs a count value N2 to the first comparison circuit 22-2 and the second comparison circuit 24-2. The counter circuit 20-2 resets the count value N2 to zero when the reset signal E22 is input.

第1比較回路22−2は、外部から設定できる第1設定値S21を持ち、カウンタ回路20−2が出力するカウント値N2が第1設定値S21と等しくなって、次のクロック信号E21が入力されるタイミングでリセット信号E22を出力する。   The first comparison circuit 22-2 has a first set value S21 that can be set from the outside. The count value N2 output from the counter circuit 20-2 becomes equal to the first set value S21, and the next clock signal E21 is input. The reset signal E22 is output at the timing.

第2比較回路24−2は、外部から設定できる第2設定値S22を持ち、カウンタ回路20−2が出力するカウント値N2が第2設定値S22と等しくなったタイミングで出力反転信号E23を出力する。   The second comparison circuit 24-2 has a second setting value S22 that can be set from the outside, and outputs an output inversion signal E23 at the timing when the count value N2 output from the counter circuit 20-2 becomes equal to the second setting value S22. To do.

RS−フリップフロップ回路26−2は、出力反転回路として機能し、第1比較回路22−2が出力するリセット信号E22が入力されると出力QBがHレベル、出力QがLレベルとなってこれを維持し、第2比較回路24−2が出力する出力反転信号E23が入力されると出力QBがLレベル、出力QがHレベルとなってこれを維持し、出力QBから矩形波信号(PWM信号)E24を出力する。   The RS flip-flop circuit 26-2 functions as an output inverting circuit. When the reset signal E22 output from the first comparison circuit 22-2 is input, the output QB becomes H level and the output Q becomes L level. When the output inversion signal E23 output from the second comparison circuit 24-2 is input, the output QB becomes L level and the output Q becomes H level, and this is maintained. From the output QB, the rectangular wave signal (PWM Signal) E24 is output.

これにより第2デジタルPWM回路12−2は、周期Tpwm2とデューティduty2をもつ矩形波信号(PWM信号)E24を出力する。ここで、周期Tpwm2とデューティduty2は次式で与えられる。
Tpwm2=Tck2×(S21+1)
duty2=S22/(S21+1)
As a result, the second digital PWM circuit 12-2 outputs a rectangular wave signal (PWM signal) E24 having a cycle Tpwm2 and a duty duty 2 . Here, the cycle Tpwm2 and the duty duty 2 are given by the following equations.
Tpwm2 = Tck2 × (S21 + 1)
duty 2 = S22 / (S21 + 1)

(整流平滑)
第1デジタルPWM回路12−1の出力と第2デジタルPWM回路12−2の出力は、第1抵抗14−1及び第2抵抗14−2を介して接続される。第1抵抗14−1と第2抵抗14−2の接続点にコンデンサ16を接続し、コンデンサ16の電圧を基準電圧Vrefとして出力端子18から取り出す。
(Rectifying and smoothing)
The output of the first digital PWM circuit 12-1 and the output of the second digital PWM circuit 12-2 are connected via a first resistor 14-1 and a second resistor 14-2. The capacitor 16 is connected to the connection point between the first resistor 14-1 and the second resistor 14-2, and the voltage of the capacitor 16 is taken out from the output terminal 18 as the reference voltage Vref.

(基準電圧の生成動作)
図1及び図2に示した基準電圧発生回路10の基準電圧Vrefの発生動作について、以下に説明する。
(Reference voltage generation operation)
The operation of generating the reference voltage Vref of the reference voltage generation circuit 10 shown in FIGS. 1 and 2 will be described below.

コンデンサ16の容量C1を無限大とすると、基準電圧Vref側から見た第1デジタルPWM回路12−1と第2デジタルPWM回路12−2の出力電圧は、それぞれが出力するパルス電圧の矩形波信号を平滑した電圧を出力する直流電圧源と考えることができる。   When the capacitance C1 of the capacitor 16 is infinite, the output voltage of the first digital PWM circuit 12-1 and the second digital PWM circuit 12-2 viewed from the reference voltage Vref side is a rectangular wave signal of a pulse voltage output from each. Can be considered as a DC voltage source that outputs a smoothed voltage.

このため、第1及び第2デジタルPWM回路12−1,12−2からの矩形波信号E14,E24のHレベル出力電圧をVH1,VH2とし、Lレベル出力電圧をVL1,VL2とすると、第1デジタルPWM回路12−1の出力を平滑した電圧VSM1および第2デジタルPWM回路12−2の出力を平滑した電圧VSM2は以下の式で表される。   Therefore, when the H level output voltages of the rectangular wave signals E14 and E24 from the first and second digital PWM circuits 12-1 and 12-2 are VH1 and VH2, and the L level output voltages are VL1 and VL2, the first A voltage VSM1 obtained by smoothing the output of the digital PWM circuit 12-1 and a voltage VSM2 obtained by smoothing the output of the second digital PWM circuit 12-2 are represented by the following equations.

VSM1=(VH1−VL1)×S12/(S11+1)+VL1
=(VH1−VL1)・duty1+VL1 (8)
VSM2=(VH2−VL2)×S22/(S21+1)+VL2
=(VH2−VL2)・duty2+VL2 (9)
VSM1 = (VH1-VL1) * S12 / (S11 + 1) + VL1
= (VH1−VL1) · duty 1 + VL1 (8)
VSM2 = (VH2−VL2) × S22 / (S21 + 1) + VL2
= (VH2-VL2) · duty 2 + VL2 (9)

第1デジタルPWM回路12−1および第2デジタルPWM回路12−2は第1抵抗14−1と第2抵抗14−2を介して接続されており、第1抵抗14−1と第2抵抗14−2の接続点の電圧が基準電圧Vrefとなっているので、基準電圧発生回路10は図3のように表すことができる。   The first digital PWM circuit 12-1 and the second digital PWM circuit 12-2 are connected via a first resistor 14-1 and a second resistor 14-2, and the first resistor 14-1 and the second resistor 14 are connected. Since the voltage at the connection point -2 is the reference voltage Vref, the reference voltage generation circuit 10 can be expressed as shown in FIG.

図3で示すように、第1デジタルPWM回路12−1から第1抵抗14−1及び第2抵抗14−2を介して第2デジタルPWM回路12−2に流れる電流をi1として計算すると、基準電圧Vrefを求めることができる。   As shown in FIG. 3, if the current flowing from the first digital PWM circuit 12-1 to the second digital PWM circuit 12-2 via the first resistor 14-1 and the second resistor 14-2 is calculated as i1, The voltage Vref can be obtained.

第1抵抗14−1を流れる電流i1は、第1抵抗14−1の抵抗値をR1とすると、第1抵抗14−1の両端の電圧差と抵抗値R1から、以下の式が成り立つ。
i1=(VSM1−Vref)/R1 (10)
The current i1 flowing through the first resistor 14-1 is expressed by the following equation from the voltage difference between both ends of the first resistor 14-1 and the resistance value R1, where R1 is the resistance value of the first resistor 14-1.
i1 = (VSM1-Vref) / R1 (10)

また、第2抵抗14−2にも同じ電流i1が流れるので、第2抵抗14−2の抵抗値をR2とすると、同様に、以下の式が成り立つ。
i1=(Vref−VSM2)/R2 (11)
Further, since the same current i1 also flows through the second resistor 14-2, the following equation holds similarly when the resistance value of the second resistor 14-2 is R2.
i1 = (Vref−VSM2) / R2 (11)

第1抵抗14−1の抵抗値R1と第2抵抗14−2の抵抗値R2の関係を
A=R2/R1
とすると、基準電圧Vrefは以下の式で求められる。
Vref={A/(A+1)}VSM1+{1/(A+1)}VSM2 (12)
The relationship between the resistance value R1 of the first resistor 14-1 and the resistance value R2 of the second resistor 14-2 is A = R2 / R1.
Then, the reference voltage Vref is obtained by the following equation.
Vref = {A / (A + 1)} VSM1 + {1 / (A + 1)} VSM2 (12)

ここで、A>>1となるように、即ち、第1抵抗14−1の抵抗値R1に対し第2抵抗14−2の抵抗値R2が十分に大きくなるように、抵抗値R1,R2の値を設定すると、
A+1≒A
となるので、基準電圧Vrefは以下の式で表すことができる。
Vref≒VSM1+(1/A)VSM2 (13)
Here, the resistance values R1 and R2 are set so that A >> 1, that is, the resistance value R2 of the second resistor 14-2 is sufficiently larger than the resistance value R1 of the first resistor 14-1. If you set a value,
A + 1 ≒ A
Therefore, the reference voltage Vref can be expressed by the following equation.
Vref≈VSM1 + (1 / A) VSM2 (13)

この式(13)の関係から、基準電圧Vrefに対しては、平滑電圧VSM1の電圧変化は直接に基準電圧Vrefの電圧変化に反映され、平滑電圧VSM2の電圧変化は(1/A)倍で基準電圧Vrefの電圧変化に反映されることが分かる。   From the relationship of Equation (13), for the reference voltage Vref, the voltage change of the smoothing voltage VSM1 is directly reflected in the voltage change of the reference voltage Vref, and the voltage change of the smoothing voltage VSM2 is (1 / A) times. It can be seen that this is reflected in the voltage change of the reference voltage Vref.

第1デジタルPWM回路12−1からの平滑電圧VSM1は、基準電圧Vrefの電圧変化に対して粗調整として働くことができ、また、第2デジタルPWM回路12−2からの平滑電圧VSM2は、基準電圧Vrefの電圧変化に対して微調整として働くことができる。   The smoothing voltage VSM1 from the first digital PWM circuit 12-1 can act as a rough adjustment with respect to the voltage change of the reference voltage Vref, and the smoothing voltage VSM2 from the second digital PWM circuit 12-2 is a reference voltage. It can serve as a fine adjustment for the voltage change of the voltage Vref.

また、基準電圧Vrefの電圧分解能は、第1デジタルPWM回路12−1におけるデューティ分解能が第1比較回路12−1の第1設定値S11に1を加えた(S11+1)であり、また第2デジタルPWM回路12−2のデューティ分解能が第1比較回路22−1の第1設定値S21に1を加えた(S21+1)であり、基準電圧Vrefの電圧分解能は、両者のデューティ分解能を掛け合わせた分解能(S11+1)(S21+1)として決定できる。このため第1デジタルPWM回路12−1および第2デジタルPWM回路12−2のそれぞれのデューティ分解能が低くても基準電圧Vrefの電圧分解能を高くすることができる。   The voltage resolution of the reference voltage Vref is the duty resolution in the first digital PWM circuit 12-1 obtained by adding 1 to the first set value S11 of the first comparison circuit 12-1 (S11 + 1), and the second digital PWM circuit 12-1. The duty resolution of the PWM circuit 12-2 is 1 (S21 + 1) obtained by adding 1 to the first set value S21 of the first comparison circuit 22-1, and the voltage resolution of the reference voltage Vref is a resolution obtained by multiplying both duty resolutions. It can be determined as (S11 + 1) (S21 + 1). Therefore, the voltage resolution of the reference voltage Vref can be increased even if the duty resolution of each of the first digital PWM circuit 12-1 and the second digital PWM circuit 12-2 is low.

また、基準電圧Vrefの電圧分解能が第1及び第2デジタルPWM回路12−1,12−2のデューティ分解能を掛け合わせた分解能(S11+1)(S21+1)により決定できるということは、第1デジタルPWM回路12−1と第2デジタルPWM回路12−2のデューティ分解能が小さくて良いということである。   Further, the fact that the voltage resolution of the reference voltage Vref can be determined by the resolution (S11 + 1) (S21 + 1) obtained by multiplying the duty resolutions of the first and second digital PWM circuits 12-1 and 12-2 is the first digital PWM circuit. The duty resolution of the 12-1 and the second digital PWM circuit 12-2 may be small.

このように第1デジタルPWM回路12−1と第2デジタルPWM回路12−2のデューティ分解能を小さくすることができると、両者の周期Tpwm1、Tpwm2を短くして用いることができる。   When the duty resolution of the first digital PWM circuit 12-1 and the second digital PWM circuit 12-2 can be reduced in this way, the periods Tpwm1 and Tpwm2 of both can be shortened.

(本実施形態のメリット)
このような図1乃至図3に示した本実施形態の基準電圧発生回路10は、低速クロックで動作するデジタルPWM回路をデューティ分解能を低く設定して用いても、基準電圧Vrefの分解能を高くすることが可能となるため、第1及び第2デジタルPWM回路12−1,12−2に高速クロックで動作する高価なデジタルPWM回路を用いることなく、デジタルPWM回路が出力する矩形波信号の周期を短くすることが可能となり、また、デジタルPWM回路のデューティ分解能を低く設定したことで矩形波信号の周期を短くできることから、基準電圧Vrefの設定電圧変更時間を短くするために、デジタルPWM回路の出力に接続する抵抗とコンデンサの時定数を小さくした場合でも、基準電圧Vrefのリップルを小さくすることができることになり、高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さの全てを低コストで両立できる。
(Advantages of this embodiment)
The reference voltage generation circuit 10 of the present embodiment shown in FIGS. 1 to 3 increases the resolution of the reference voltage Vref even when a digital PWM circuit operating with a low-speed clock is used with a low duty resolution. Therefore, the period of the rectangular wave signal output from the digital PWM circuit can be reduced without using an expensive digital PWM circuit that operates with a high-speed clock for the first and second digital PWM circuits 12-1 and 12-2. Since the period of the rectangular wave signal can be shortened by setting the duty resolution of the digital PWM circuit low, the output of the digital PWM circuit can be shortened in order to shorten the set voltage change time of the reference voltage Vref. Even when the time constant of the resistor and the capacitor connected to the capacitor is reduced, the ripple of the reference voltage Vref can be reduced. Will be that can output voltage setting of the high resolution, reduction of the ripple voltage of the output voltage can be both all short set voltage change time at low cost.

(第1実施形態の変形)
図4はデジタルPWM回路を3回路以上となる複数回路設けた基準電圧発生回路の概略を示した回路ブロック図である。
(Modification of the first embodiment)
FIG. 4 is a circuit block diagram showing an outline of a reference voltage generating circuit in which a plurality of digital PWM circuits including three or more circuits are provided.

図1乃至図3に示した第1実施形態の基準電圧発生回路では、2回路のデジタルPWM回路をそれぞれ抵抗を介してコンデンサに接続した回路としているが、3回路以上となる複数のデジタルPWM回路を、それぞれ抵抗を介してコンデンサに接続した回路としても良く、この場合にも同様の効果を得ることができる。   In the reference voltage generation circuit of the first embodiment shown in FIGS. 1 to 3, two digital PWM circuits are connected to capacitors via resistors, respectively, but a plurality of digital PWM circuits having three or more circuits are used. Each may be a circuit connected to a capacitor via a resistor, and in this case, the same effect can be obtained.

図4の基準電圧発生回路10では、3回路以上となる複数のデジタルPWM回路12−1〜12−nのそれぞれの出力に、抵抗14−1〜14−nの一端を接続し、抵抗14−1〜14−nの他端のすべてをコンデンサ16と接続し、コンデンサ16から電圧Vrefを得る構成としている。   In the reference voltage generation circuit 10 of FIG. 4, one end of resistors 14-1 to 14-n is connected to the output of each of a plurality of digital PWM circuits 12-1 to 12-n that are three or more circuits, and the resistor 14- All the other ends of 1 to 14 -n are connected to the capacitor 16, and the voltage Vref is obtained from the capacitor 16.

この場合、複数のデジタルPWM回路12−1〜12−n及び抵抗14−1〜14−nを、相互に重なるように並び順に2回路ずつのグループG1〜Gn−1に分け、i番目とi+1番目を含む任意のグループGiのデジタルPWM回路を、グループ内での並び順に第1デジタルPWM回路12−iと第2デジタルPWM回路12−(i+1)とした場合、第1デジタルPWM回路12−iに接続した第1抵抗14−iの抵抗値Riに対し第2デジタルPWM回路12−(i+1)に接続した第2抵抗14−(i+1)の抵抗Ri+1を十分に大きな値に設定し、グループ単位に前記の式(13)の関係が得られるようにすれば良い。ただし、i=1〜nの整数とする。 In this case, the plurality of digital PWM circuits 12-1 to 12-n and the resistors 14-1 to 14-n are divided into groups G1 to Gn-1 of two circuits in order so as to overlap each other. In the case where the digital PWM circuits of an arbitrary group Gi including the first are used as the first digital PWM circuit 12-i and the second digital PWM circuit 12- (i + 1) in the arrangement order in the group, the first digital PWM circuit 12-i set to a value sufficiently the resistance R i + 1 of the second digital PWM circuit with respect to the resistance value R i 12- (i + 1) connected to the second resistor 14- (i + 1) of the first resistor 14-i connected to the Then, the relationship of the above equation (13) may be obtained for each group. However, i is an integer of 1 to n.

ここで、抵抗14−1〜14−nの抵抗値R1〜Rnの関係を、
R2/R1=A1
R3/R2=A2
・・・
Rn/Rn−1=An-1
とすると、前記の式(13)の関係から、本実施形態の基準電圧発生回路10による基準電圧Vrefは以下の式で表すことができる。
Vref=VSM1+(1/A1)VSM2+(1/A2)VSM3+
・・・+(1/An-1)VSMn (14)
Here, the relationship between the resistance values R1 to Rn of the resistors 14-1 to 14-n is
R2 / R1 = A 1
R3 / R2 = A 2
...
Rn / Rn-1 = A n-1
Then, from the relationship of the above equation (13), the reference voltage Vref by the reference voltage generation circuit 10 of the present embodiment can be expressed by the following equation.
Vref = VSM1 + (1 / A 1 ) VSM2 + (1 / A 2 ) VSM3 +
... + (1 / A n-1 ) VSMn (14)

この第1実施形態の変形例においても、第1実施形態と同様に、高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さの全てを低コストで両立できる。   Also in the modification of the first embodiment, as in the first embodiment, all of the high-resolution output voltage setting, the reduction of the ripple voltage of the output voltage, and the short setting voltage change time can be achieved at low cost.

[基準電圧発生回路の第2実施形態]
第2実施形態の基準電圧発生回路は、その構成は図1及び図2に示した第1実施形態と同じであるが、第1抵抗14−1の抵抗値R1と第2抵抗14−2の抵抗値R2の比(R2/R1)を、下記の式(15)のように、第1デジタルPWM回路12−1のデューティ分解能(Rd1−1)に設定することで、基準電圧Vrefを高精度に制御できるようにしたものである。
R2/R1 = Rd1−1 (15)
[Second Embodiment of Reference Voltage Generation Circuit]
The reference voltage generation circuit of the second embodiment has the same configuration as that of the first embodiment shown in FIGS. 1 and 2, but the resistance value R1 of the first resistor 14-1 and the resistance of the second resistor 14-2. By setting the ratio (R2 / R1) of the resistance value R2 to the duty resolution (Rd 1 -1) of the first digital PWM circuit 12-1 as shown in the following equation (15), the reference voltage Vref is increased. It can be controlled with high accuracy.
R2 / R1 = Rd 1 −1 (15)

以下、本実施形態による基準電圧の発生動作を、図1及び図2に示した第1デジタルPWM回路12−1および第2デジタルPWM回路12−2のHレベル出力電圧を共にVHとし、Lレベル出力電圧を0として説明を行う。   Hereinafter, the operation of generating the reference voltage according to the present embodiment is performed by setting both the H level output voltages of the first digital PWM circuit 12-1 and the second digital PWM circuit 12-2 shown in FIGS. The description will be made assuming that the output voltage is zero.

本実施形態は、第1実施形態で示した式(8)〜式(15)から得られる以下の式で説明できる。   This embodiment can be described by the following equations obtained from Equations (8) to (15) shown in the first embodiment.

第1デジタルPWM回路12−1および第2デジタルPWM回路12−2からの矩形波信号のHレベル出力電圧をVHとすると、VH1=VH2=VHとなる。また、Lレベル出力電圧が0であるので、VL1=VL2=0となる。この条件を式(8)、式(9)に与える。   When the H level output voltage of the rectangular wave signal from the first digital PWM circuit 12-1 and the second digital PWM circuit 12-2 is VH, VH1 = VH2 = VH. Since the L level output voltage is 0, VL1 = VL2 = 0. This condition is given to Equation (8) and Equation (9).

また、式(12)で第1抵抗14−1と第2抵抗14−2の抵抗値の関係を記述するのに用いた
A=R2/R1
を、式(15)に代入すると
A=Rd1−1
となるので、これを式(12)に代入する。これより、以下の式が得られる。
Vref=(VH・duty1) + (1/Rd1)(VH・duty2) (16)
In addition, A = R2 / R1 used to describe the relationship between the resistance values of the first resistor 14-1 and the second resistor 14-2 in Expression (12).
Is substituted into equation (15), A = Rd 1 −1
Therefore, this is substituted into Expression (12). From this, the following equation is obtained.
Vref = (VH · duty 1 ) + (1 / Rd 1 ) (VH · duty 2 ) (16)

第1デジタルPWM回路12−1のduty1は(1/Rd1)を最小単位として0〜1まで変化することができる。第2デジタルPWM回路12−2のduty2は(1/Rd2)を最小単位として0〜1まで変化することができる。 The duty 1 of the first digital PWM circuit 12-1 can vary from 0 to 1 with (1 / Rd 1 ) as the minimum unit. The duty 2 of the second digital PWM circuit 12-2 can vary from 0 to 1 with (1 / Rd 2 ) as the minimum unit.

式(16)より、第2デジタルPWM回路12−2のduty2が基準電圧Vrefの電圧変化に及ぼす寄与率は、(1/Rd1)となっている。第2デジタルPWM回路12−2のduty2が0〜1の範囲で変化したとき、第2デジタルPWM回路12−2がVrefの電圧変化に及ぼす影響は、第1デジタルPWM回路12−1のdutyの最小単位(1/Rd1)分ということになる。 From equation (16), the contribution ratio of the duty 2 of the second digital PWM circuit 12-2 to the voltage change of the reference voltage Vref is (1 / Rd 1 ). When the duty 2 of the second digital PWM circuit 12-2 changes in the range of 0 to 1, the influence of the second digital PWM circuit 12-2 on the voltage change of Vref is the duty of the first digital PWM circuit 12-1. That is, the minimum unit (1 / Rd 1 ).

以上の点に関して、具体的に数値を与えて説明すると次のようになる。まず、
矩形波信号のHレベル出力電圧VH=5V、
第1デジタルPWM回路12−1の第1設定値S11=99
第2デジタルPWM回路12−2の第1設定値S21=99
とする。
The above point will be described below with specific numerical values. First,
H level output voltage of rectangular wave signal VH = 5V,
First set value S11 = 99 of the first digital PWM circuit 12-1.
First set value S21 = 99 of the second digital PWM circuit 12-2
And

第1デジタルPWM回路12−1からの矩形波信号のデューティduty1は、
duty1=S12/(S11+1)
であるので、第1設定値S12=0のときデューティduty1=0、第2設定値S12=100のときデューティduty1=1となる。第2設定値S12は0から100の値を取り得ることからデューティduty1の分解能Rd1はRd1=100となる。
The duty duty 1 of the rectangular wave signal from the first digital PWM circuit 12-1 is
duty 1 = S12 / (S11 + 1)
Therefore, when the first set value S12 = 0, the duty duty 1 = 0, and when the second set value S12 = 100, the duty duty 1 = 1. The second set value S12 resolution Rd 1 duty duty 1 since it can take a value from 0 to 100 becomes Rd 1 = 100.

そこで、第1抵抗14−1と第2抵抗14−2の抵抗値R1,R2を、
R1=1kΩ
R2=99kΩ
とすることで、(R2/R1=Rd1−1)の関係を満たすことができる。
Therefore, the resistance values R1 and R2 of the first resistor 14-1 and the second resistor 14-2 are
R1 = 1kΩ
R2 = 99kΩ
Thus, the relationship (R2 / R1 = Rd 1 −1) can be satisfied.

また、第2デジタルPWM回路12−2から出力される矩形波信号のデューティduty2は、
duty2=S22/(S21+1)
であるので、デューティduty2は第2設定値S22=0のときduty2=0となり、第2設定値S22=100のときデューティduty2=1となる。これにより式(16)は以下の式に変形できる。
Vref=(5・S12/100 )+(1/100)(5・S22/100)
(17)
Also, the duty duty 2 of the rectangular wave signal output from the second digital PWM circuit 12-2 is
duty 2 = S22 / (S21 + 1)
Therefore, the duty 2 becomes duty 2 = 0 when the second set value S22 = 0, and becomes duty 2 = 1 when the second set value S22 = 100. Thereby, Formula (16) can be transformed into the following formula.
Vref = (5 · S12 / 100) + (1/100) (5 · S22 / 100)
(17)

第1デジタルPWM回路12−1の第1設定値S12=0のとき(周期Tpwm=1で出力を0Vに固定)、第2デジタルPWM回路12−2の第2設定値S22を0から100の範囲で変化させると、式(17)の右辺第2項から、基準電圧Vrefは、0から50mVの範囲で変化させることができる。ここで、第2設定値S22は整数であるので、S22=1とすると、基準電圧Vrefは式(17)の右辺第2項から、
(1/100)・5・(1/100)=0.5mV
単位で値を設定できる。
When the first set value S12 = 0 of the first digital PWM circuit 12-1 (the output is fixed at 0V in the cycle Tpwm = 1), the second set value S22 of the second digital PWM circuit 12-2 is set to 0 to 100. When changing in the range, the reference voltage Vref can be changed in the range of 0 to 50 mV from the second term on the right side of the equation (17). Here, since the second set value S22 is an integer, when S22 = 1, the reference voltage Vref is obtained from the second term on the right side of the equation (17):
(1/100) ・ 5 ・ (1/100) = 0.5mV
You can set the value in units.

一方、第1設定値S12=0とし、第2設定値S22=100としたときの基準電圧Vref=50mVは、第1設定値S12=1とし、第2設定値S22=0としても作ることができる。第1デジタルPWM回路12−1の第1設定値S12=1 のとき、第2デジタルPWM回路12−2の第2設定値S22を0から100の範囲で変化させると、基準電圧Vrefは、50mVから100mVの範囲で、先と同様に、0.5mV単位で値を設定できる。   On the other hand, when the first set value S12 = 0 and the second set value S22 = 100, the reference voltage Vref = 50 mV can be made with the first set value S12 = 1 and the second set value S22 = 0. it can. When the first setting value S12 = 1 of the first digital PWM circuit 12-1 and the second setting value S22 of the second digital PWM circuit 12-2 are changed in the range of 0 to 100, the reference voltage Vref is 50 mV. Can be set in units of 0.5 mV in the same manner as before.

以上のように、本実施形態にあっては、第1デジタルPWM回路12−1の第1設定値S12の設定値によって基準電圧Vrefを50mV単位で変化させることが可能であり(粗調整)、同時に第2デジタルPWM回路12−2の第2設定値S22によって基準電圧Vrefを0.5mV単位で変化させる(微調整)ことが可能であることが分かる。   As described above, in the present embodiment, the reference voltage Vref can be changed in units of 50 mV by the set value of the first set value S12 of the first digital PWM circuit 12-1 (coarse adjustment). At the same time, it can be seen that the reference voltage Vref can be changed (finely adjusted) in units of 0.5 mV by the second set value S22 of the second digital PWM circuit 12-2.

従って、第1デジタルPWM回路12−1の第1設定値S12と第2デジタルPWM回路12−2の第2設定値S22を調整することで、基準電圧Vrefは0〜5Vの範囲で0.5mV単位で設定できることになる。このとき、基準電圧Vrefの分解能は、第1デジタルPWM回路12−1のデューティ分解能Rd1=100と第2デジタルPWM回路12−2のデューティ分解能Rd2=100を掛け合わせた分解能
Rd1×Rd2=100×100=10000
となる。
Therefore, by adjusting the first set value S12 of the first digital PWM circuit 12-1 and the second set value S22 of the second digital PWM circuit 12-2, the reference voltage Vref is 0.5 mV in the range of 0 to 5V. It can be set in units. At this time, the resolution of the reference voltage Vref, the first digital PWM circuit 12-1 duty resolution Rd 1 = 100 and the second digital PWM circuit 12-2 duty resolution Rd 2 = 100 a multiplying allowed resolution Rd 1 × Rd 2 = 100 × 100 = 10000
It becomes.

(第2実施形態のメリット)
本実施形態は、図1及び図2に示した基準電圧発生回路10において、第1デジタルPWM回路12−1および第2デジタルPWM回路12−2のHレベル出力電圧を共にVHとし、Lレベル出力電圧を0とし、第1抵抗14−1と第2抵抗14−2の抵抗値R1,R2の比(R2/R1)を第1デジタルPWM回路12−1のデューティ分解能Rd1から1を引いた値(Rd1−1)、即ち第1デジタルPWM回路12−1の第1設定値S11に設定することで、基準電圧Vrefを、0〜VHの範囲で、第1デジタルPWM回路12−1と第2デジタルPWM回路12−2のデューティ分解能を乗算した値で除算した
VH/(Rd1×Rd2
の単位で調整することが可能となるため、基準電圧Vrefを高精度に制御することが可能となる。
(Advantages of the second embodiment)
In this embodiment, in the reference voltage generation circuit 10 shown in FIGS. 1 and 2, the H level output voltages of the first digital PWM circuit 12-1 and the second digital PWM circuit 12-2 are both set to VH, and the L level output is performed. the voltage is 0, minus one duty resolution Rd 1 of the first resistor 14-1 and the resistance value R1, the ratio of R2 to (R2 / R1) first digital PWM circuit 12-1 of the second resistor 14-2 By setting the value (Rd 1 −1), that is, the first set value S11 of the first digital PWM circuit 12-1, the reference voltage Vref is set in the range of 0 to VH with the first digital PWM circuit 12-1. VH / (Rd 1 × Rd 2 ) divided by a value obtained by multiplying the duty resolution of the second digital PWM circuit 12-2.
Therefore, the reference voltage Vref can be controlled with high accuracy.

第1実施形態と比較すると、第1デジタルPWM回路12−1の分解能に対して第1抵抗14−1と第2抵抗14−2の抵抗値R1,R2の比(R2/R1)を設定したことで、基準電圧Vrefを変化させる際の調整を均等な変化幅で調整できることが第2実施形態の利点となる。   Compared with the first embodiment, the ratio (R2 / R1) of the resistance values R1 and R2 of the first resistor 14-1 and the second resistor 14-2 is set with respect to the resolution of the first digital PWM circuit 12-1. Thus, it is an advantage of the second embodiment that the adjustment at the time of changing the reference voltage Vref can be adjusted with a uniform change width.

また、第1実施形態と同様に、第1及び第2デジタルPWM回路12−1,12−2に高速クロックで動作する高価なデジタルPWMを用いることなく、周期を短く設定して用いることが可能となる。例えば、従来の図8のデジタルPWM回路102と比較すると、次のようになる。   Similarly to the first embodiment, the first and second digital PWM circuits 12-1 and 12-2 can be used with a short cycle without using an expensive digital PWM that operates with a high-speed clock. It becomes. For example, a comparison with the conventional digital PWM circuit 102 of FIG. 8 is as follows.

まず、図8の従来例では、第1比較回路106の第1設定値S1をS1=3999としていたので分解能RdはRd=S1+1=4000となり、クロック周期Tck=100nSの場合のデジタルPWM回路102の周期はTpwm=400μSとなる。   First, since the first set value S1 of the first comparison circuit 106 is S1 = 3999 in the conventional example of FIG. 8, the resolution Rd is Rd = S1 + 1 = 4000, and the digital PWM circuit 102 in the case of the clock cycle Tck = 100 nS is used. The period is Tpwm = 400 μS.

これに対し本実施形態では、例えば第1デジタルPWM回路12−1における第1比較回路22−1の第1設定値S11=99とし、第2デジタルPWM回路12−2における第1比較回路22−2の第1設定値S21=99と、
(S11+1)×(S21+1)=(99+1)×(99+1)=10000
により分解能は10000となり、クロック周期Tck=100nSの場合、第1及び第2デジタルPWM回路12−1,12−2からの矩形波信号の周期はTpwm=10μSとなる。
On the other hand, in the present embodiment, for example, the first set value S11 of the first comparison circuit 22-1 in the first digital PWM circuit 12-1 is set to 99, and the first comparison circuit 22- in the second digital PWM circuit 12-2. First setting value S21 = 99 of 2,
(S11 + 1) × (S21 + 1) = (99 + 1) × (99 + 1) = 10000
Thus, the resolution is 10,000, and when the clock period Tck = 100 nS, the period of the rectangular wave signal from the first and second digital PWM circuits 12-1 and 12-2 is Tpwm = 10 μS.

従って、従来に比べ本実施形態は、デューティ分解能が4000から10000と2.5倍になっているにも関わらず、周期は400μSから10μSと短くなっており、40倍速い周波数で動作させていることが分かる。このため、第1及び第2デジタルPWM回路12−1,12−2の出力に接続する第1及び第2抵抗14−1,14−2とコンデンサ16の時定数を小さくしても、基準電圧Vrefのリップル電圧を小さくすることができることになり、高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さの全てを低コストで両立できる。   Therefore, in this embodiment, although the duty resolution is 2.5 times from 4000 to 10,000, the period is shortened from 400 μS to 10 μS, and the operation is performed at a frequency 40 times faster than the conventional one. I understand that. Therefore, even if the time constants of the first and second resistors 14-1 and 14-2 and the capacitor 16 connected to the outputs of the first and second digital PWM circuits 12-1 and 12-2 are reduced, the reference voltage is reduced. Since the ripple voltage of Vref can be reduced, high resolution output voltage setting, reduction of output voltage ripple voltage, and short setting voltage change time can all be achieved at low cost.

(第2実施形態の変形1)
第2実施形態の基準電圧発生回路では、第1抵抗14−1の抵抗値R1と第2抵抗14−2の抵抗値R2の比を第1デジタルPWM回路12−1のデューティ分解能(Rd1−1)に設定したが、実際の回路においては、以下の式(18)のように、第1抵抗14−1の抵抗値R1と第2抵抗14−2の抵抗値R2の比を第1デジタルPWM回路12−1のデューティ分解能Rd1とほぼ近い値としても、上記の効果が得られる。
R2/R1 ≒ Rd1 (18)
(Modification 1 of 2nd Embodiment)
In the reference voltage generation circuit according to the second embodiment, the ratio of the resistance value R1 of the first resistor 14-1 and the resistance value R2 of the second resistor 14-2 is determined as the duty resolution (Rd 1 − of the first digital PWM circuit 12-1. In the actual circuit, the ratio of the resistance value R1 of the first resistor 14-1 and the resistance value R2 of the second resistor 14-2 is set to the first digital value as shown in the following equation (18). The above-described effect can be obtained even when the duty resolution Rd 1 of the PWM circuit 12-1 is substantially close.
R2 / R1 ≒ Rd 1 (18)

(第2実施形態の変形2)
第2実施形態の基準電圧発生回路では、2回路のデジタルPWM回路を、それぞれ抵抗を介してコンデンサに接続した回路としているが、図4に示したと同様に、3回路以上のデジタルPWM回路12−1〜12−nのそれぞれの出力に、抵抗14−1〜14−nの一端を接続し、抵抗14−1〜14−nの他端のすべてをコンデンサ16と接続し、コンデンサ16から電圧Vrefを得る構成とすることができる。
(Modification 2 of the second embodiment)
In the reference voltage generating circuit of the second embodiment, two digital PWM circuits are connected to capacitors via resistors, respectively. However, as shown in FIG. 4, three or more digital PWM circuits 12- One end of resistors 14-1 to 14-n is connected to each output of 1 to 12-n, and all the other ends of the resistors 14-1 to 14-n are connected to the capacitor 16, and the voltage Vref from the capacitor 16 is connected. Can be obtained.

この場合、図4に示したと同様に、複数のデジタルPWM回路12−1〜12−n及び抵抗14−1〜14−nを、相互に重なるように並び順に2回路ずつのグループG1〜Gn−1に分け、i番目とi+1番目を含む任意のグループGiのデジタルPWM回路を、グループ内での並び順に第1デジタルPWM回路12−iと第2デジタルPWM回路12−(i+1)とした場合、第1デジタルPWM回路12−iの分解能をRdiとすると、第1抵抗14−iの抵抗値Riと第2抵抗14−(i+1)の抵抗値Ri+1を以下の式の形にすれば良い。
i+1/Ri = Rdi−1 (19)
In this case, as shown in FIG. 4, a plurality of digital PWM circuits 12-1 to 12-n and resistors 14-1 to 14-n are arranged in groups of two circuits G1 to Gn− in order so as to overlap each other. When the digital PWM circuits of an arbitrary group Gi including the i-th and i + 1-th divisions are set as the first digital PWM circuit 12-i and the second digital PWM circuit 12- (i + 1) in the arrangement order in the group, When the resolution of the first digital PWM circuit 12-i and Rd i, in the form of the following equation resistance R i + 1 of the resistance value R i and a second resistor 14- (i + 1) of the first resistor 14-i Just do it.
R i + 1 / R i = Rd i −1 (19)

これにより本実施形態の基準電圧発生回路10で発生する基準電圧Vrefは次のようになる。本実施形態の基準電圧発生回路10に設けた抵抗14−1〜14−nの抵抗値R1〜Rnの関係を
R2/R1=Rd1−1
R3/R2=Rd2−1
・・・
Rn/Rn−1=Rdn-1−1
とすると、式(16)の関係から、本実施形態の基準電圧発生回路10による基準電圧Vrefは以下の式で表すことができる。
Vref=(VH・duty1) + (1/Rd1)(VH・duty2)+
・・・・+(1/Rdn-1)(VH・dutyn
(20)
As a result, the reference voltage Vref generated by the reference voltage generation circuit 10 of the present embodiment is as follows. The relationship between the resistance values R1 to Rn of the resistors 14-1 to 14-n provided in the reference voltage generation circuit 10 of the present embodiment is expressed as R2 / R1 = Rd 1 −1.
R3 / R2 = Rd 2 −1
...
Rn / Rn-1 = Rd n-1 -1
Then, from the relationship of Expression (16), the reference voltage Vref by the reference voltage generation circuit 10 of this embodiment can be expressed by the following expression.
Vref = (VH · duty 1 ) + (1 / Rd 1 ) (VH · duty 2 ) +
.... + (1 / Rd n-1 ) (VH · duty n )
(20)

従って、第2実施形態の変形例においても、第2実施形態と同様に、高分解能の出力電圧設定、出力電圧のリップル電圧の低減、設定電圧変更時間の短さの全てを低コストで両立できる。   Therefore, in the modified example of the second embodiment, as in the second embodiment, all of the high-resolution output voltage setting, the reduction of the ripple voltage of the output voltage, and the short setting voltage change time can be achieved at low cost. .

また、この場合でも、第1抵抗14−iの抵抗値Riと第2抵抗14−(i+1)の抵抗値Ri+1の比を、以下の式のように、第1デジタルPWM回路12−iのデューティ分解能Rdiとほぼ近い値としても、上記と同様の効果が得られる。
i+1/Ri ≒ Rdi (21)
Moreover, even in this case, the ratio of the resistance values R i + 1 of the resistance value R i and a second resistor 14- (i + 1) of the first resistor 14-i, as shown in the following expression, the first digital PWM circuit 12 The same effect as described above can be obtained even when the duty resolution Rd i is substantially close to −i.
R i + 1 / R i ≒ Rd i (21)

[スイッチング電源装置]
(スイッチング電源装置の第1実施形態)
図5は本発明による基準電圧発生回路を設けたスイッチング電源装置の第1実施形態を示した回路ブロック図である。
[Switching power supply]
(First Embodiment of Switching Power Supply Device)
FIG. 5 is a circuit block diagram showing a first embodiment of a switching power supply device provided with a reference voltage generating circuit according to the present invention.

図5に示すように、本実施形態のスイッチング電源装置30は、電力変換部34、スイッチング素子駆動回路38、フィードバック制御回路36及び基準電圧発生回路10を備える。   As shown in FIG. 5, the switching power supply device 30 of this embodiment includes a power converter 34, a switching element drive circuit 38, a feedback control circuit 36, and a reference voltage generation circuit 10.

電力変換部34は、入力電源28が供給する入力電圧Vinを断続電圧に変換するためのスイッチング素子、および、スイッチング素子が生成した断続電圧を整流平滑して直流出力電圧Voを生成する整流平滑回路を内部に備えている。   The power converter 34 includes a switching element for converting the input voltage Vin supplied from the input power supply 28 into an intermittent voltage, and a rectifying / smoothing circuit that rectifies and smoothes the intermittent voltage generated by the switching element to generate a DC output voltage Vo. Is provided inside.

スイッチング素子駆動回路38は、フィードバック制御信号FBAを受けて、スイッチング素子の駆動信号を生成する回路であり、スイッチング素子のデューティを制御する。即ち、スイッチング素子駆動回路38は、三角波発振器48とPWMコンパレータ46で構成されており、三角波電圧Vtriがフィードバック信号FBAよりも低いとき、スイッチング素子をオンし、三角波電圧Vtriがフィードバック信号FBAよりも高いとき、スイッチング素子をオフする制御を行う。これにより、フィードバック信号FBAが上昇するとスイッチング素子のデューティを広くし、フィードバック信号FBAが低下するとスイッチング素子のデューティを狭くする制御を行う。   The switching element driving circuit 38 is a circuit that receives the feedback control signal FBA and generates a driving signal for the switching element, and controls the duty of the switching element. That is, the switching element driving circuit 38 is configured by a triangular wave oscillator 48 and a PWM comparator 46. When the triangular wave voltage Vtri is lower than the feedback signal FBA, the switching element is turned on, and the triangular wave voltage Vtri is higher than the feedback signal FBA. When the switching element is turned off. Thereby, when the feedback signal FBA rises, the duty of the switching element is widened, and when the feedback signal FBA falls, the duty of the switching element is narrowed.

フィードバック制御回路36は、誤差アンプ44により出力電圧Voと基準電圧Vrefを比較し、出力電圧Voが基準電圧Vrefで決定される所定の値にフィードバック信号FBAを調整する。   The feedback control circuit 36 compares the output voltage Vo and the reference voltage Vref with the error amplifier 44, and adjusts the feedback signal FBA to a predetermined value determined by the reference voltage Vref.

即ち、誤差アンプ44は、出力電圧Voが基準電圧Vrefよりも高いとフィードバック信号FBAを低下させ、出力電圧Voが基準電圧Vrefよりも低いとフィードバック信号FBAを上昇させる。これにより、出力電圧Voが基準電圧Vrefで決定される所定の値になるように制御される。     That is, the error amplifier 44 decreases the feedback signal FBA when the output voltage Vo is higher than the reference voltage Vref, and increases the feedback signal FBA when the output voltage Vo is lower than the reference voltage Vref. Thereby, the output voltage Vo is controlled to be a predetermined value determined by the reference voltage Vref.

基準電圧発生回路10は、図1〜図4に示した第1実施形態、第1実施形態の変形、第2実施形態または第2実施形態の変形に示した回路であり、デジタルプロセッサ等で基準電圧発生回路10に設けている複数のデジタルPWM回路の周期、デューティ分解能、及びデューティを制御することで、基準電圧Vrefを高精度かつ高速応答に制御し、この結果、スイッチング電源装置の出力電圧を高精度且つ高速応答に制御し、出力電圧リップルが小さいスイッチング電源装置を低コストで作ることができる。   The reference voltage generation circuit 10 is a circuit shown in the first embodiment, the modification of the first embodiment, the second embodiment, or the modification of the second embodiment shown in FIGS. By controlling the period, duty resolution, and duty of a plurality of digital PWM circuits provided in the voltage generation circuit 10, the reference voltage Vref is controlled with high accuracy and high speed response. As a result, the output voltage of the switching power supply device is controlled. A switching power supply device that is controlled with high accuracy and high-speed response and has a small output voltage ripple can be manufactured at low cost.

(スイッチング電源装置の第2実施形態)
図6は本発明による基準電圧発生回路を設けたスイッチング電源装置の第2実施形態を示した回路ブロック図である。
(Second Embodiment of Switching Power Supply Device)
FIG. 6 is a circuit block diagram showing a second embodiment of a switching power supply device provided with a reference voltage generating circuit according to the present invention.

図5の第1実施形態では、フィードバック制御回路36に、基準電圧発生回路10の出力を接続していたが、本実施形態では、フィードバック制御回路36に設けた誤差アンプ44の非反転入力に所定の基準電圧Vref1を固定的に発生する基準電圧源45を接続し、誤差アンプ44の反転入力に、出力電圧Voを抵抗40,42で分圧した出力電圧情報Vo1を入力しており、この出力電圧情報Vo1が入力される箇所に基準電圧発生回路10の出力を抵抗50を介して接続して基準電圧Vrefを加算している。それ以外の構成は図5の第1実施形態と同じになる。   In the first embodiment of FIG. 5, the output of the reference voltage generation circuit 10 is connected to the feedback control circuit 36. However, in this embodiment, a predetermined value is applied to the non-inverting input of the error amplifier 44 provided in the feedback control circuit 36. Is connected to a reference voltage source 45 that generates a fixed reference voltage Vref1, and output voltage information Vo1 obtained by dividing the output voltage Vo by resistors 40 and 42 is input to the inverting input of the error amplifier 44. The reference voltage Vref is added by connecting the output of the reference voltage generation circuit 10 via a resistor 50 to the place where the voltage information Vo1 is input. Other configurations are the same as those of the first embodiment shown in FIG.

図6のスイッチング電源装置30にあっては、基準電圧発生回路10からの基準電圧Vrefを大きくすると、フィードバック制御回路36に設けた誤差アンプ44からのフィードバック制御信号FBAを低下させ、スイッチング素子のデューティを狭くして出力電圧Voを下げることかできる。また、基準電圧発生回路10からの基準電圧Vrefを小さくすると、フィードバック制御回路36に設けた誤差アンプ44からのフィードバック制御信号FBAを上昇させ、スイッチング素子のデューティを広くして出力電圧Voを上げることかできる。   In the switching power supply device 30 of FIG. 6, when the reference voltage Vref from the reference voltage generation circuit 10 is increased, the feedback control signal FBA from the error amplifier 44 provided in the feedback control circuit 36 is lowered, and the duty of the switching element is reduced. The output voltage Vo can be lowered by narrowing the voltage. Further, when the reference voltage Vref from the reference voltage generation circuit 10 is decreased, the feedback control signal FBA from the error amplifier 44 provided in the feedback control circuit 36 is increased, and the output voltage Vo is increased by increasing the duty of the switching element. I can do it.

本実施形態の基準電圧発生回路10は、図5のスイッチング電源装置の第1実施形態と同様に、図1〜図4に示した第1実施形態、第1実施形態の変形、第2実施形態または第2実施形態の変形に示した回路であり、デジタルプロセッサ等で基準電圧発生回路10に設けている複数のデジタルPWM回路の周期、デューティ分解能、及びデューティを制御することで、基準電圧を高精度かつ高速応答に制御し、この結果、スイッチング電源装置の出力電圧を高精度かつ高速応答に制御でき、出力電圧リップルが小さいスイッチング電源装置を低コストで作ることができる。   The reference voltage generation circuit 10 of the present embodiment is similar to the first embodiment of the switching power supply device of FIG. 5, the first embodiment shown in FIGS. 1 to 4, a modification of the first embodiment, the second embodiment. Alternatively, it is a circuit shown in a modification of the second embodiment, and the reference voltage is increased by controlling the period, duty resolution, and duty of a plurality of digital PWM circuits provided in the reference voltage generation circuit 10 by a digital processor or the like. As a result, it is possible to control the output voltage of the switching power supply device with high accuracy and high speed response, and to produce a switching power supply device with a small output voltage ripple at low cost.

(スイッチング電源装置の第3実施形態)
図7は本発明による基準電圧発生回路を設けたスイッチング電源装置の第3実施形態を示した回路ブロック図である。
(Third embodiment of the switching power supply device)
FIG. 7 is a circuit block diagram showing a third embodiment of a switching power supply device provided with a reference voltage generating circuit according to the present invention.

図5及び図6では、フィードバック制御回路36を持つスイッチング電源装置に本発明による基準電圧発生回路10を適用していたが、図7の本実施形態に示すように、フィードバック制御回路を持たないスイッチング電源装置に適用しても良い。   5 and 6, the reference voltage generation circuit 10 according to the present invention is applied to the switching power supply device having the feedback control circuit 36. However, as shown in the present embodiment of FIG. 7, the switching without the feedback control circuit is used. You may apply to a power supply device.

図7の第3実施形態によるスイッチング電源装置30では、基準電圧発生回路10の出力をスイッチング素子駆動回路38のPWMコンパレータ46に入力することで、電力変換部34に設けたスイッチング素子のデューティを直接制御し、スイッチング素子のデューティで決定される出力電圧に変換する。   In the switching power supply 30 according to the third embodiment of FIG. 7, the output of the reference voltage generation circuit 10 is input to the PWM comparator 46 of the switching element drive circuit 38, whereby the duty of the switching element provided in the power conversion unit 34 is directly set. It is controlled and converted into an output voltage determined by the duty of the switching element.

本実施形態の基準電圧発生回路10は、図5及び図6の第1及び第2実施形態と同様に、図1〜図4に示した第1実施形態、第1実施形態の変形、第2実施形態または第2実施形態の変形に示した回路であり、デジタルプロセッサ等で基準電圧発生回路10に設けている複数のデジタルPWM回路の周期、デューティ分解能、及びデューティを制御することで、基準電圧を高精度かつ高速応答に制御し、この結果、スイッチング電源装置の出力電圧を高精度かつ高速応答に制御し、出力電圧リップルが小さいスイッチング電源装置を低コストで作ることができる。   The reference voltage generation circuit 10 of the present embodiment is similar to the first and second embodiments of FIGS. 5 and 6 in the first embodiment shown in FIGS. The circuit shown in the modification of the embodiment or the second embodiment, and the reference voltage is controlled by controlling the period, duty resolution, and duty of a plurality of digital PWM circuits provided in the reference voltage generation circuit 10 by a digital processor or the like. Can be controlled with high accuracy and high speed response. As a result, the switching power supply device can be controlled with high accuracy and high speed response, and a switching power supply device with small output voltage ripple can be manufactured at low cost.

[本発明の変形例]
また、本発明は上記の実施形態に限定されず、その目的と利点を損なうことのない適宜の変形を含み、更に上記の実施形態に示した数値による限定は受けない。
[Modification of the present invention]
The present invention is not limited to the above-described embodiment, includes appropriate modifications without impairing the object and advantages thereof, and is not limited by the numerical values shown in the above-described embodiment.

10:基準電圧発生回路
12−1:第1デジタルPWM回路
12−2:第2デジタルPWM回路
14−1:第1抵抗
14−1:第2抵抗
15−1,15−2:クロック発振回路
16:コンデンサ
20−1,20−2:カウンタ回路
22−1,22−2:第1比較回路
24−1,24−2:第2比較回路
26−1,26−2:RS−フリップフロップ回路
28:入力電源
30:スイッチング電源装置
32:負荷
34:電力変換部
36:フィードバック制御回路
38:スイッチング素子駆動回路
44:誤差アンプ
45:基準電圧源
46:PWMコンパレータ
48:三角波発振器
10: reference voltage generation circuit 12-1: first digital PWM circuit 12-2: second digital PWM circuit 14-1: first resistor 14-1: second resistor 15-1, 15-2: clock oscillation circuit 16 : Capacitors 20-1, 20-2: Counter circuits 22-1, 22-2: First comparison circuits 24-1, 24-2: Second comparison circuits 26-1, 26-2: RS-flip-flop circuit 28 : Input power supply 30: switching power supply device 32: load 34: power converter 36: feedback control circuit 38: switching element drive circuit 44: error amplifier 45: reference voltage source 46: PWM comparator 48: triangular wave oscillator

Claims (8)

周期とデューティを外部から設定可能な矩形波信号を出力する複数のパルス幅変調回路と、
前記複数のパルス幅変調回路の出力の各々に一端を接続した複数の抵抗と、
前記複数の抵抗の他端を共通接続したコンデンサと、
を備え、
前記複数の抵抗とコンデンサの接続点に発生する電圧を基準電圧として取り出す構成を備えたことを特徴とする基準電圧発生回路。
A plurality of pulse width modulation circuits that output a rectangular wave signal whose period and duty can be set from the outside;
A plurality of resistors having one end connected to each of the outputs of the plurality of pulse width modulation circuits;
A capacitor commonly connected to the other ends of the plurality of resistors;
With
A reference voltage generation circuit comprising a configuration for extracting a voltage generated at a connection point of the plurality of resistors and capacitors as a reference voltage.
請求項1記載の基準電圧発生回路に於いて、
前記複数のパルス幅変調回路を相互に重なるように並び順に2回路ずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、前記第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)に対し前記第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)が十分に大きな値に設定されたことを特徴とする基準電圧発生回路。
In the reference voltage generating circuit according to claim 1,
When the plurality of pulse width modulation circuits are divided into groups of two circuits in the order of arrangement so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order of each group, the first pulse The resistance value (Ri + 1) of the second resistor connected to the second pulse width modulation circuit is set to a sufficiently large value with respect to the resistance value (Ri) of the first resistor connected to the width modulation circuit. Reference voltage generation circuit.
請求項1記載の基準電圧発生回路に於いて、
前記複数のパルス幅変調回路は所定のデューティ分解能を有し、
前記複数のパルス幅変調回路を相互に重なるように並び順に2回路ずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、前記第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)と前記第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)の比(Ri+1/Ri)が前記第1パルス幅変調回路のデューティ分解能とほぼ等しくなるように、前記第1抵抗及び第2抵抗の抵抗値が設定されたことを特徴とする基準電圧発生回路。
In the reference voltage generating circuit according to claim 1,
The plurality of pulse width modulation circuits have a predetermined duty resolution,
When the plurality of pulse width modulation circuits are divided into groups of two circuits in the order of arrangement so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order of each group, the first pulse The ratio (Ri + 1 / Ri) of the resistance value (Ri) of the first resistor connected to the width modulation circuit and the resistance value (Ri + 1) of the second resistance connected to the second pulse width modulation circuit is the first pulse width modulation circuit. A reference voltage generating circuit, wherein resistance values of the first resistor and the second resistor are set so as to be substantially equal to a duty resolution of the first resistor.
請求項1記載の基準電圧発生回路に於いて、
前記パルス幅変調回路は、カウンタ回路、第1比較回路、第2比較回路及び出力反転回路を備え、
前記カウンタ回路は、外部から供給されたクロック信号を計数してカウント値を出力すると共に前記第1比較回路から出力されたリセット信号によりリセットされ、
前記第1比較回路は、前記カウンタ回路のカウント値を外部から設定された所定の第1設定値と比較し、前記カウント値が前記第1設定値に一致した場合に前記リセット信号を出力し、
前記第2比較回路は、前記カウンタ回路のカウント値を外部から設定された第2設定値と比較し、前記カウント値が前記第2設定値に一致した場合に出力反転信号を出力し、
前記出力反転回路は、前記リセット信号が得られたときに出力を正転し、前記出力反転信号が得られた場合に出力を反転して矩形波信号を出力することを特徴とする基準電圧発生回路。
In the reference voltage generating circuit according to claim 1,
The pulse width modulation circuit includes a counter circuit, a first comparison circuit, a second comparison circuit, and an output inversion circuit,
The counter circuit counts a clock signal supplied from the outside and outputs a count value, and is reset by a reset signal output from the first comparison circuit,
The first comparison circuit compares a count value of the counter circuit with a predetermined first set value set from the outside, and outputs the reset signal when the count value matches the first set value;
The second comparison circuit compares the count value of the counter circuit with a second set value set from the outside, and outputs an output inversion signal when the count value matches the second set value;
The output inverting circuit normally rotates the output when the reset signal is obtained, and outputs the rectangular wave signal by inverting the output when the output inverted signal is obtained. circuit.
電力変換部、スイッチング素子駆動回路及び基準電圧発生回路を備え、
前記電力変換部はスイッチング素子のオンオフによって入力電源が供給する入力電圧を断続電圧に変換すると共に当該断続電圧を整流平滑して直流電圧を生成し、
スイッチング素子駆動回路は、前記基準電圧発生回路からの基準電圧に対応して前記スイッチング素子のオンデューティを制御するスイッチング電源装置に於いて、
前記基準電圧発生回路は、
周期とデューティを外部から設定できる矩形波の電圧パルスを出力する複数のパルス幅変調回路と、
前記複数のパルス幅変調回路の出力の各々に一端を接続した複数の抵抗と、
前記複数の抵抗の他端を共通接続したコンデンサと、
を備え、
前記複数の抵抗とコンデンサの接続点で発生する電圧を基準電圧として取り出す構成を備えたことを特徴とするスイッチング電源装置。
A power conversion unit, a switching element drive circuit and a reference voltage generation circuit;
The power conversion unit converts the input voltage supplied by the input power source into an intermittent voltage by turning on and off the switching element and rectifies and smoothes the intermittent voltage to generate a DC voltage,
In the switching power supply device for controlling the on-duty of the switching element corresponding to the reference voltage from the reference voltage generating circuit,
The reference voltage generation circuit includes:
A plurality of pulse width modulation circuits that output rectangular voltage pulses whose period and duty can be set externally;
A plurality of resistors having one end connected to each of the outputs of the plurality of pulse width modulation circuits;
A capacitor commonly connected to the other ends of the plurality of resistors;
With
A switching power supply device comprising a configuration in which a voltage generated at a connection point of the plurality of resistors and capacitors is taken out as a reference voltage.
請求項5記載のスイッチング電源装置に於いて、
前記複数のパルス幅変調回路を相互に重なるように並び順に2つずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、前記第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)に対し前記第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)が十分に大きな値に設定されたことを特徴とする基準電圧発生回路。
In the switching power supply device according to claim 5,
When the plurality of pulse width modulation circuits are divided into two groups in order so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order in each group, the first pulse The resistance value (Ri + 1) of the second resistor connected to the second pulse width modulation circuit is set to a sufficiently large value with respect to the resistance value (Ri) of the first resistor connected to the width modulation circuit. Reference voltage generation circuit.
請求項5記載のスイッチング電源装置に於いて、
前記複数のパルス幅変調回路は所定のデューティ分解能を有し、
前記複数のパルス幅変調回路を相互に重なるように並び順に2つずつのグループに分け、各グループ内で並び順に第1パルス幅変調回路と第2パルス幅変調回路とした場合、前記第1パルス幅変調回路に接続した第1抵抗の抵抗値(Ri)と前記第2パルス幅変調回路に接続した第2抵抗の抵抗値(Ri+1)の抵抗値の比(Ri+1/Ri)が前記第1パルス幅変調回路のデューティ分解能とほぼ等しくなるように、前記第1抵抗及び第2抵抗の抵抗値が設定されたことを特徴とするスイッチング電源装置。
In the switching power supply device according to claim 5,
The plurality of pulse width modulation circuits have a predetermined duty resolution,
When the plurality of pulse width modulation circuits are divided into two groups in order so as to overlap each other, and the first pulse width modulation circuit and the second pulse width modulation circuit are arranged in order in each group, the first pulse The ratio (Ri + 1 / Ri) of the resistance value (Ri) of the first resistor connected to the width modulation circuit and the resistance value (Ri + 1) of the second resistor connected to the second pulse width modulation circuit is the first pulse. A switching power supply device characterized in that resistance values of the first resistor and the second resistor are set so as to be substantially equal to a duty resolution of a width modulation circuit.
請求項5記載のスイッチング電源装置に於いて、
前記パルス幅変調回路は、カウンタ回路、第1比較回路、第2比較回路及び出力反転回路を備え、
前記カウンタ回路は、外部から供給されたクロック信号を計数してカウント値を出力すると共に前記第1比較回路から出力されたリセット信号によりリセットされ、
前記第1比較回路は、前記カウンタ回路のカウント値を外部から設定された所定の第1設定値と比較し、前記カウント値が前記第1設定値に一致した場合に前記リセット信号を出力し、
前記第2比較回路は、前記カウンタ回路のカウント値を前記第1設定値以下の外部から設定された第2設定値と比較し、前記カウント値が前記第2設定値に一致した場合に出力反転信号を出力し、
前記出力反転回路は、前記リセット信号が得られたときに前記リセット信号が得られたときに出力を正転し、前記出力反転信号が得られた場合に出力を反転して矩形波信号を出力することを特徴とするスイッチング電源装置。
In the switching power supply device according to claim 5,
The pulse width modulation circuit includes a counter circuit, a first comparison circuit, a second comparison circuit, and an output inversion circuit,
The counter circuit counts a clock signal supplied from the outside and outputs a count value, and is reset by a reset signal output from the first comparison circuit,
The first comparison circuit compares a count value of the counter circuit with a predetermined first set value set from the outside, and outputs the reset signal when the count value matches the first set value;
The second comparison circuit compares the count value of the counter circuit with a second set value set from the outside that is equal to or less than the first set value, and inverts the output when the count value matches the second set value Output signal,
The output inverting circuit normally rotates the output when the reset signal is obtained and outputs a rectangular wave signal by inverting the output when the output inverted signal is obtained. A switching power supply device characterized in that:
JP2015210646A 2015-10-27 2015-10-27 Reference voltage generating circuit and switching power supply Active JP6529128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015210646A JP6529128B2 (en) 2015-10-27 2015-10-27 Reference voltage generating circuit and switching power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015210646A JP6529128B2 (en) 2015-10-27 2015-10-27 Reference voltage generating circuit and switching power supply

Publications (2)

Publication Number Publication Date
JP2017085744A true JP2017085744A (en) 2017-05-18
JP6529128B2 JP6529128B2 (en) 2019-06-12

Family

ID=58713480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015210646A Active JP6529128B2 (en) 2015-10-27 2015-10-27 Reference voltage generating circuit and switching power supply

Country Status (1)

Country Link
JP (1) JP6529128B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979892A (en) * 2017-12-15 2018-05-01 杰华特微电子(杭州)有限公司 Its ripple elimination circuit of reference voltage control circuit, control method and application
CN115622853A (en) * 2022-12-21 2023-01-17 航天深拓(北京)科技有限公司 Single-bus communication modulation-demodulation circuit and chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09284104A (en) * 1996-04-18 1997-10-31 Matsushita Electric Ind Co Ltd Vertical amplitude correction control circuit
JPH10300544A (en) * 1997-04-24 1998-11-13 Hitachi Ltd Method and apparatus for measurement of air flow rate
JP2003131281A (en) * 2001-10-24 2003-05-08 Canon Inc Device for correcting image blurring
JP2008026754A (en) * 2006-07-24 2008-02-07 Matsushita Electric Works Ltd Discharge lamp lighting device and projection image display apparatus
JP2010124524A (en) * 2008-11-17 2010-06-03 Cosel Co Ltd Switching-type power unit
JP2014128110A (en) * 2012-12-26 2014-07-07 Cosel Co Ltd Switching power supply device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09284104A (en) * 1996-04-18 1997-10-31 Matsushita Electric Ind Co Ltd Vertical amplitude correction control circuit
JPH10300544A (en) * 1997-04-24 1998-11-13 Hitachi Ltd Method and apparatus for measurement of air flow rate
JP2003131281A (en) * 2001-10-24 2003-05-08 Canon Inc Device for correcting image blurring
JP2008026754A (en) * 2006-07-24 2008-02-07 Matsushita Electric Works Ltd Discharge lamp lighting device and projection image display apparatus
JP2010124524A (en) * 2008-11-17 2010-06-03 Cosel Co Ltd Switching-type power unit
JP2014128110A (en) * 2012-12-26 2014-07-07 Cosel Co Ltd Switching power supply device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979892A (en) * 2017-12-15 2018-05-01 杰华特微电子(杭州)有限公司 Its ripple elimination circuit of reference voltage control circuit, control method and application
CN107979892B (en) * 2017-12-15 2023-07-18 杰华特微电子股份有限公司 Reference voltage control circuit, control method and ripple cancellation circuit using reference voltage control circuit
CN115622853A (en) * 2022-12-21 2023-01-17 航天深拓(北京)科技有限公司 Single-bus communication modulation-demodulation circuit and chip
CN115622853B (en) * 2022-12-21 2023-03-10 航天深拓(北京)科技有限公司 Single-bus communication modulation-demodulation circuit and chip

Also Published As

Publication number Publication date
JP6529128B2 (en) 2019-06-12

Similar Documents

Publication Publication Date Title
EP2932590B1 (en) Power converter for generating both positive and negative output signals
US8174302B2 (en) Pulse signal generator, and method of generating pulse signal
JP5786368B2 (en) Digitally controlled switching power supply with input voltage detection circuit
US20080238395A1 (en) DC-DC Converter, Power Supply System, and Power Supply Method
US8030976B2 (en) Triangle wave generating circuit
JP6015370B2 (en) Switching power supply
US20180331628A1 (en) Load current adjusting circuit and adjusting method thereof
TWI520468B (en) Controllers and control methods for dc/dc converter
JP6145038B2 (en) DC-DC converter and semiconductor integrated circuit
JP4967395B2 (en) Semiconductor integrated circuit
US8803579B2 (en) Digitally controlled pulse width modulator utilizing real time calibration
JP6529128B2 (en) Reference voltage generating circuit and switching power supply
US20220196437A1 (en) Inductive sensing methods, devices and systems
KR101774601B1 (en) Switching regulator control circuit and switching regulator
US9602002B2 (en) Switching power supply device
JP2012070501A (en) Voltage generation circuit
JP2018133980A (en) Switching power supply circuit
JP2014207569A (en) Ramp wave generation circuit
JP5598507B2 (en) Power supply
JP3576140B2 (en) Switching power supply control circuit and switching power supply using the same
JP6295397B1 (en) Switching power supply circuit
US20150042294A1 (en) High accuracy pulse duty-cycle calculation implementation for power converter's PWM control apparatus
US20230387889A1 (en) Clock generator and electronic device including the same
JP7406055B2 (en) Exponential function generation circuit
JP6151564B2 (en) Regulator device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190215

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190508

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190510

R150 Certificate of patent or registration of utility model

Ref document number: 6529128

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250