JP4749049B2 - Constant current circuit and electronic equipment - Google Patents

Constant current circuit and electronic equipment Download PDF

Info

Publication number
JP4749049B2
JP4749049B2 JP2005174870A JP2005174870A JP4749049B2 JP 4749049 B2 JP4749049 B2 JP 4749049B2 JP 2005174870 A JP2005174870 A JP 2005174870A JP 2005174870 A JP2005174870 A JP 2005174870A JP 4749049 B2 JP4749049 B2 JP 4749049B2
Authority
JP
Japan
Prior art keywords
current
output
holding
adjustment command
command
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.)
Expired - Fee Related
Application number
JP2005174870A
Other languages
Japanese (ja)
Other versions
JP2006350608A (en
Inventor
陽信 澤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rohm Co Ltd
Original Assignee
Rohm 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2005174870A priority Critical patent/JP4749049B2/en
Publication of JP2006350608A publication Critical patent/JP2006350608A/en
Application granted granted Critical
Publication of JP4749049B2 publication Critical patent/JP4749049B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、電源をスイッチングすることにより供給電流を調整する定電流回路およびそれを備えた電子機器に関し、特にスイッチング素子に与えるゲート電圧の遅れによる調整誤差を抑制する定電流回路およびそれを備えた電子機器に関するものである。   The present invention relates to a constant current circuit that adjusts a supply current by switching a power supply and an electronic apparatus including the constant current circuit, and more particularly to a constant current circuit that suppresses an adjustment error due to a delay in gate voltage applied to a switching element and the same. It relates to electronic equipment.

従来から、電源供給回路をスイッチングして供給電流や供給電圧を調整する電源装置が知られている。このような電源装置では、パルス幅変調(PWM:Pulse Width Modulation;以下、PWMと称す)方式により、一周期内のオン時間の割合(以下、Duty比と称す)を変化させて供給電流や供給電圧を調整することが一般的である。   Conventionally, a power supply device that switches a power supply circuit to adjust a supply current and a supply voltage is known. In such a power supply device, a supply current and a supply are changed by changing a ratio of on-time (hereinafter referred to as a duty ratio) within one cycle by a pulse width modulation (PWM) method. It is common to adjust the voltage.

たとえば、特許文献1には、PWM方式により供給電圧を調整し、かつ、100%に近い最大Duty比を設定できるDC/DCスイッチングコンバータが開示されている。   For example, Patent Document 1 discloses a DC / DC switching converter that can adjust a supply voltage by a PWM method and set a maximum duty ratio close to 100%.

また、特許文献2には、LED(Lighting Emitting Diode)などの電流駆動型素子に電流を駆動する定電流回路が開示されている。   Patent Document 2 discloses a constant current circuit that drives a current to a current driven element such as an LED (Lighting Emitting Diode).

図9は、従来のPWM方式の定電流回路200の概略構成図である。なお、定電流回路200は、特許文献2に開示される定電流回路において出力電流値を負帰還させるように変形したものである。   FIG. 9 is a schematic configuration diagram of a conventional PWM constant current circuit 200. The constant current circuit 200 is a modification of the constant current circuit disclosed in Patent Document 2 so that the output current value is negatively fed back.

図9を参照して、電源ノード2と基準電位との間に、負荷LED、定電流回路200および抵抗Rが直列に接続される。そして、定電流回路200は、回路をスイッチングすることで、電源ノード2から負荷LEDへ供給される電流を調整する。   Referring to FIG. 9, load LED, constant current circuit 200, and resistor R are connected in series between power supply node 2 and the reference potential. The constant current circuit 200 adjusts the current supplied from the power supply node 2 to the load LED by switching the circuit.

定電流回路200は、分圧抵抗R1,R2と、演算増幅器OP(Operational Amplifier)1と、PWM信号発生部80と、トランジスタTRと、スイッチSW6とからなる。   The constant current circuit 200 includes voltage dividing resistors R1 and R2, an operational amplifier OP (Operational Amplifier) 1, a PWM signal generator 80, a transistor TR, and a switch SW6.

分圧抵抗R1およびR2は、電源ノード2と基準電位との間に直列に接続され、電源電圧VCCを分圧抵抗R1とR2との比に応じた電流設定値Vに変換して演算増幅器OP1へ出力する。 The voltage dividing resistors R1 and R2 are connected in series between the power supply node 2 and the reference potential, and the power supply voltage VCC is converted into a current set value V I according to the ratio between the voltage dividing resistors R1 and R2, and is calculated. Output to amplifier OP1.

演算増幅器OP1は、分圧抵抗R1およびR2から受けた電流設定値Vと抵抗Rに生じる電圧(=R×IOUT)との差を増幅して差動電圧Vを発生し、スイッチSW6へ出力する。 The operational amplifier OP1 amplifies the difference between the current set value V I received from the voltage dividing resistors R1 and R2 and the voltage (= R × I OUT ) generated in the resistor R to generate a differential voltage V A , and the switch SW6 Output to.

PWM信号発生部80は、所定の周期をもち、かつ、外部から受けたDuty比に応じたパルス幅を有するPWM信号を生成し、スイッチSW6へ出力する。   The PWM signal generation unit 80 generates a PWM signal having a predetermined cycle and having a pulse width corresponding to the duty ratio received from the outside, and outputs the PWM signal to the switch SW6.

トランジスタTRは、電源ノード2と基準電位との間に介挿され、ゲート電圧に応じた出力電流IOUTを負荷LEDへ供給する。 The transistor TR is interposed between the power supply node 2 and the reference potential, and supplies an output current IOUT corresponding to the gate voltage to the load LED.

スイッチSW6は、PWM信号発生部80からPWM信号を受け、PWM信号のオン期間においては、トランジスタTRのゲートへ差動電圧Vを与え、オフ期間においては、トランジスタTRのゲートへ接地電位を与える。よって、トランジスタTRは、PWM信号のオン期間においては、差動電圧Vに応じた出力電流IOUTを供給し、オフ期間においては、電流を遮断する。 The switch SW6 receives the PWM signal from the PWM signal generation unit 80, applies the differential voltage VA to the gate of the transistor TR during the on period of the PWM signal, and applies the ground potential to the gate of the transistor TR during the off period. . Therefore, the transistor TR supplies the output current I OUT corresponding to the differential voltage VA during the on period of the PWM signal, and interrupts the current during the off period.

さらに、オン期間中には、抵抗Rに生じる電圧が負帰還され、負荷LEDへ供給される出力電流IOUTは、IOUT=V/Rで安定する。したがって、定常的に見れば、定電流回路200は、オン期間中の出力電流IOUTにDuty比を乗算した電流値を負荷LEDへ供給することになる。
特開2003−219638号公報 特開平7−321623号公報
Further, during the ON period, the voltage generated in the resistor R is negatively fed back, and the output current I OUT supplied to the load LED is stabilized at I OUT = V I / R. Therefore, when viewed constantly, the constant current circuit 200 supplies the load LED with a current value obtained by multiplying the output current I OUT during the ON period by the duty ratio.
JP 2003-219638 A JP 7-321623 A

しかしながら、図9に示す定電流回路では、オフ期間中において出力電流IOUTがゼロとなっているため、オン期間の開始直後における出力電流IOUTの立ち上がり時間が問題となる。 However, in the constant current circuit shown in FIG. 9, since the output current I OUT is zero during the off period, the rise time of the output current I OUT immediately after the start of the on period becomes a problem.

図10は、従来の定電流回路200における各部の時間波形を示す図である。
図10(a)は、PWM信号の時間波形である。
FIG. 10 is a diagram showing the time waveform of each part in the conventional constant current circuit 200.
FIG. 10A shows a time waveform of the PWM signal.

図10(b)は、スイッチSW6の時間波形である。
図10(c)は、出力電流IOUTの時間波形である。
FIG. 10B is a time waveform of the switch SW6.
FIG. 10C shows a time waveform of the output current I OUT .

図10(a)および図10(b)を参照して、PWM信号発生部80から出力されるPWM信号に応じて、スイッチSW6は、オンとオフとを交互に切換える。なお、図10(a)は、Duty比が約50%の場合を示す。一方、図10(c)を参照して、出力電流IOUTは、PWM信号に完全には追従することができない。 Referring to FIG. 10A and FIG. 10B, switch SW6 switches on and off alternately according to the PWM signal output from PWM signal generation unit 80. FIG. 10A shows a case where the duty ratio is about 50%. On the other hand, referring to FIG. 10C, the output current I OUT cannot completely follow the PWM signal.

図11は、図10(c)に示す拡大区間における各部の時間波形である。
図11(a)は、PWM信号の時間波形である。
FIG. 11 is a time waveform of each part in the enlarged section shown in FIG.
FIG. 11A shows a time waveform of the PWM signal.

図11(b)は、出力電流IOUTの時間波形である。
図11(c)は、差動電圧Vの時間波形である。
FIG. 11B is a time waveform of the output current I OUT .
FIG. 11C is a time waveform of the differential voltage VA .

図11(a)および(b)を参照して、PWM信号のオン期間の開始直後から出力電流IOUTが所定値となるまでには、むだ時間Td1および遅れ時間Td2が存在する。むだ時間Td1の期間においては、出力電流IOUTは全く増加せず、遅れ時間Td2の期間においては、出力電流IOUTは所定の時定数をもって漸増する。むだ時間Td1は、主として、スイッチSW6の応答速度およびトランジスタTRのゲート容量の充放電時間に起因するものであり、この期間においては、トランジスタTRは未だ導通状態になっていない。また、遅れ時間Td2は、主として、演算増幅器OP1の応答速度に起因するものである。 Referring to FIGS. 11A and 11B, there is a dead time Td1 and a delay time Td2 from immediately after the start of the ON period of the PWM signal until the output current I OUT becomes a predetermined value. During the dead time Td1, the output current I OUT does not increase at all, and during the delay time Td2, the output current I OUT gradually increases with a predetermined time constant. The dead time Td1 is mainly caused by the response speed of the switch SW6 and the charge / discharge time of the gate capacitance of the transistor TR. During this period, the transistor TR is not yet in a conductive state. The delay time Td2 is mainly caused by the response speed of the operational amplifier OP1.

図11(c)を参照して、むだ時間Td1が経過し、トランジスタTRが導通状態になると、定電流回路200から負荷LEDへの電流供給が開始される。一方、PWM信号のオフ期間において出力電流IOUTはゼロであるため、演算増幅器OPへ負帰還する電圧もゼロとなっている。そのため、オン期間になっても演算増幅器OPは、出力である差動電圧Vを瞬時に増加させることができず、自己の応答速度に応じて差動電圧Vを増加させる。 Referring to FIG. 11C, when the dead time Td1 elapses and the transistor TR becomes conductive, current supply from the constant current circuit 200 to the load LED is started. On the other hand, since the output current I OUT is zero during the OFF period of the PWM signal, the voltage that is negatively fed back to the operational amplifier OP is also zero. For this reason, the operational amplifier OP cannot increase the differential voltage V A as an output instantaneously even during the ON period, and increases the differential voltage V A according to its own response speed.

このように、PWM信号のオンタイミングに対して、出力電流IOUTの立ち上がりが遅れると、所望の電流値を負荷LEDへ供給することができない。特に、Duty比が小さい場合などにおいては、出力電流IOUTが立ち上がるまでにPWM信号のオン期間が終了することもあり、その誤差はより顕著に現れてしまう。 Thus, for on the timing of the PWM signal, when the rising of the output current I OUT is delayed, it is impossible to provide a desired current value to the load LED. In particular, when the duty ratio is small, the on period of the PWM signal may end before the output current IOUT rises, and the error appears more prominently.

ところで、むだ時間Td1は、数μ秒であるのに対して、遅れ時間Td2は、十数μ秒となる場合もある。そのため、出力電流IOUTの立ち上がりを早めるには、遅れ時間Td2の主要因である演算増幅器OP1の応答速度を高める必要がある。 By the way, the dead time Td1 is several microseconds, whereas the delay time Td2 may be ten and several microseconds. Therefore, to accelerate the rise of the output current I OUT, it is necessary to increase the response speed of the operational amplifier OP1 which is the main cause of the delay time Td2.

しかしながら、高速な演算増幅器を採用すると製造コストが上昇するといった問題があった。   However, when a high-speed operational amplifier is used, there is a problem that the manufacturing cost increases.

そこで、この発明は、かかる問題を解決するためになされたものであり、その目的は、コストを抑制しつつ、高い精度で電流調整が可能な定電流回路およびそれを備えた電子機器を提供することである。   Accordingly, the present invention has been made to solve such a problem, and an object of the present invention is to provide a constant current circuit capable of adjusting a current with high accuracy while suppressing cost, and an electronic apparatus including the constant current circuit. That is.

この発明によれば、電流調整指令に従い負荷へ供給する電流を調整する電流調整部と、第1の設定値と負荷へ供給される電流値に応じた値とを比較し、電流値が第1の設定値と一致するように第1の電流調整指令を出力する比較部と、第2の設定値に基づいて、電流調整部から電流が供給される時間比率を調整するための切換指令を出力する制御部と、制御部からの切換指令に基づいて第1の電流調整指令を断続し、電流調整部へ与えるスイッチ部と、保持指令を受けると、その時点における第1の電流調整指令を保持し、保持した第1の電流調整指令を第2の電流調整指令として出力する保持部とを備える定電流回路である。そして、制御部は、負荷へ供給される電流値が第1の設定値と略一致した時点において、保持部へ保持指令を与え、その後、スイッチ部に対して、第1の電流調整指令に代えて保持部から出力される第2の電流調整指令を断続して電流調整部へ与えるための切換指令を出力する。   According to the present invention, the current adjustment unit that adjusts the current supplied to the load according to the current adjustment command is compared with the first set value and the value corresponding to the current value supplied to the load, and the current value is the first value. A comparison unit that outputs a first current adjustment command so as to match the set value and a switching command for adjusting a time ratio at which current is supplied from the current adjustment unit based on the second set value The first current adjustment command is interrupted based on the switching command from the control unit, the switch unit to be given to the current adjustment unit, and the holding command is received, the first current adjustment command is held at that time And a holding unit that outputs the held first current adjustment command as the second current adjustment command. Then, the control unit gives a holding command to the holding unit when the current value supplied to the load substantially coincides with the first set value, and then replaces the switch unit with the first current adjustment command. A switching command for intermittently supplying the second current adjustment command output from the holding unit to the current adjustment unit is output.

好ましくは、切換指令は、オンとオフとが交互に繰返されるパルス信号であり、制御部は、外部から電流の供給を開始するための出力開始指令を受けて、切換指令の出力を開始し、かつ、切換指令の出力を開始した後の最初のオン期間において、保持部へ保持指令を与える。   Preferably, the switching command is a pulse signal that is alternately turned on and off, and the control unit receives an output start command for starting the supply of current from the outside, and starts outputting the switching command. In addition, in the first ON period after the output of the switching command is started, the holding command is given to the holding unit.

好ましくは、制御部は、第1の設定値が更新されると、スイッチ部に対して、第1の電流調整指令を断続して電流調整部へ与えるための切換指令を出力し、その後、負荷へ供給される電流値が更新された第1の設定値と略一致した時点において、保持部へ保持指令を与える。   Preferably, when the first set value is updated, the control unit outputs a switching command for intermittently supplying the first current adjustment command to the current adjustment unit to the switch unit, and then the load A holding command is given to the holding unit at a point in time when the current value supplied to is substantially coincident with the updated first set value.

好ましくは、保持部は、第1の電流調整指令をデジタル値に変換して記憶する。
好ましくは、保持部は、第1の電流調整指令に応じた電荷量を蓄電することにより第1の電流調整指令を保持する。
Preferably, the holding unit converts the first current adjustment command into a digital value and stores the digital value.
Preferably, the holding unit holds the first current adjustment command by storing a charge amount corresponding to the first current adjustment command.

好ましくは、保持部は、出力バッファを介して第2の電流調整指令を出力する。
好ましくは、比較部は、さらに、保持部から出力される第2の電流調整指令の出力バッファとして機能する。
Preferably, the holding unit outputs the second current adjustment command via the output buffer.
Preferably, the comparison unit further functions as an output buffer for a second current adjustment command output from the holding unit.

また、この発明によれば、電源と、電源と接続された負荷と、電源および負荷と直列に接続され、電流調整指令に従い負荷へ供給する電流を調整する電流調整部と、第1の設定値と負荷へ供給される電流値に応じた値とを比較し、電流値が第1の設定値と一致するように第1の電流調整指令を出力する比較部と、第2の設定値に基づいて、電流調整部から電流が供給される時間比率を調整するための切換指令を出力する制御部と、制御部からの切換指令に基づいて第1の電流調整指令を断続し、電流調整部へ与えるスイッチ部と、保持指令を受けると、その時点における第1の電流調整指令を保持し、保持した第1の電流調整指令を第2の電流調整指令として出力する保持部とを備える電子機器である。そして、制御部は、負荷へ供給される電流値が第1の設定値と略一致した時点において、保持部へ保持指令を与え、その後、スイッチ部に対して、第1の電流調整指令に代えて保持部から出力される第2の電流調整指令を断続して電流調整部へ与えるための切換指令を出力する。   According to the invention, the power source, the load connected to the power source, the power source and the load are connected in series, and adjusts the current supplied to the load in accordance with the current adjustment command, and the first set value. And a value corresponding to the current value supplied to the load, and outputs a first current adjustment command so that the current value matches the first set value, and based on the second set value And a control unit that outputs a switching command for adjusting a time ratio at which the current is supplied from the current adjustment unit, and the first current adjustment command is interrupted based on the switching command from the control unit, An electronic device comprising: a switch unit to be applied; and a holding unit that receives the holding command and holds the first current adjustment command at that time and outputs the held first current adjustment command as the second current adjustment command is there. Then, the control unit gives a holding command to the holding unit when the current value supplied to the load substantially coincides with the first set value, and then replaces the switch unit with the first current adjustment command. A switching command for intermittently supplying the second current adjustment command output from the holding unit to the current adjustment unit is output.

この発明によれば、第1の設定値に等しい電流値を負荷へ供給させるための電流調整指令が保持され、比較部を介することなく、その保持された電流調整指令が電流調整部へ与えられる。そのため、負荷へ供給される電流の断続に伴い、比較部から出力される第1の電流調整指令に生じる時間遅れの影響を回避できる。よって、負荷電流の断続にかかわらず、第1の設定値に応じた電流を供給できるので、高い精度で電流調整が可能な定電流回路およびそれを備えた電子機器を実現できる。   According to this invention, the current adjustment command for supplying the current value equal to the first set value to the load is held, and the held current adjustment command is given to the current adjustment unit without going through the comparison unit. . Therefore, it is possible to avoid the influence of the time delay that occurs in the first current adjustment command output from the comparison unit due to the interruption of the current supplied to the load. Therefore, since the current according to the first set value can be supplied regardless of the intermittent state of the load current, a constant current circuit capable of adjusting the current with high accuracy and an electronic apparatus including the constant current circuit can be realized.

この発明の実施の形態について、図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については、同一符号を付してその説明は繰返さない。   Embodiments of the present invention will be described in detail with reference to the drawings. Note that the same or corresponding parts in the drawings are denoted by the same reference numerals and description thereof will not be repeated.

[実施の形態1]
図1は、実施の形態1に従う定電流回路101の概略構成図である。
[Embodiment 1]
FIG. 1 is a schematic configuration diagram of a constant current circuit 101 according to the first embodiment.

図1を参照して、電源ノード2と基準電位との間に、負荷LED、定電流回路101および抵抗Rが直列に接続される。定電流回路101は、回路を開閉することで、電源ノード2から負荷LEDへ供給される電流を調整する。そして、定電流回路101は、電流設定部10と、演算増幅器OP1と、制御部20と、トランジスタTRと、スイッチSW1と、保持部30とからなる。   Referring to FIG. 1, load LED, constant current circuit 101 and resistor R are connected in series between power supply node 2 and a reference potential. The constant current circuit 101 adjusts the current supplied from the power supply node 2 to the load LED by opening and closing the circuit. The constant current circuit 101 includes a current setting unit 10, an operational amplifier OP1, a control unit 20, a transistor TR, a switch SW1, and a holding unit 30.

電流設定部10は、外部から電流設定値(デジタル値)を受け、電流設定値Vを演算増幅器OP1へ出力する。そして、電流設定部10は、レジスタ12と、デジタル/アナログ変換器(D/A)14とからなる。なお、電流設定値は、電流設定値Vが抵抗Rとオン期間における出力電流IOUTとの積(V=R×IOUT)に一致するように決定される。 The current setting unit 10 receives a current set value (digital value) from the outside, and outputs the current set value V I to the operational amplifier OP1. The current setting unit 10 includes a register 12 and a digital / analog converter (D / A) 14. The current set value is determined so that the current set value V I matches the product (V I = R × I OUT ) of the resistor R and the output current I OUT during the ON period.

レジスタ12は、外部から受けた電流設定値を記憶する。
デジタル/アナログ変換器14は、レジスタ12に記憶された電流設定値を読出し、その値に応じた電圧を発生し、演算増幅器OP1へ出力する。
The register 12 stores a current setting value received from the outside.
The digital / analog converter 14 reads the current setting value stored in the register 12, generates a voltage corresponding to the value, and outputs the voltage to the operational amplifier OP1.

演算増幅器OP1は、電流設定部10から受けた電流設定値Vと抵抗Rに生じる電圧(=R×IOUT)との差を増幅して差動電圧Vを発生し、スイッチSW1へ出力する比較部である。すなわち、演算増幅器OP1は、抵抗Rに生じる電圧を負帰還させ、出力電流IOUTが電流設定値Vに応じた電流値と一致するように、電流指令値である差動電圧Vを変化させる。 The operational amplifier OP1 amplifies the difference between the current setting value V I received from the current setting unit 10 and the voltage (= R × I OUT ) generated in the resistor R to generate a differential voltage V A and outputs it to the switch SW1. It is a comparison part. That is, the operational amplifier OP1 negatively feeds back the voltage generated in the resistor R, and changes the differential voltage V A that is the current command value so that the output current I OUT matches the current value corresponding to the current setting value V I. Let

保持部30は、制御部20からの保持指令を受けると、その時点における演算増幅器OP1から出力される差動電圧Vを記憶する。そして、保持部30は、その記憶した差動電圧Vを保持電圧Vとして、スイッチSW1へ出力する。すなわち、保持部30は、保持指令を受けた時点における電流設定値Vを保持し、電流指令値である保持電圧Vとして出力する。さらに、保持部30は、アナログ/デジタル変換器(A/D)32と、レジスタ34と、デジタル/アナログ変換器(A/D)36と、演算増幅器OP2とからなる。 When the holding unit 30 receives a holding command from the control unit 20, the holding unit 30 stores the differential voltage V A output from the operational amplifier OP1 at that time. Then, the holding unit 30 outputs the stored differential voltage V A as the holding voltage V B to the switch SW1. That is, the holding unit 30 holds the current setting value V I at the time of receiving the holding instruction, and outputs the holding voltage V B is a current command value. Further, the holding unit 30 includes an analog / digital converter (A / D) 32, a register 34, a digital / analog converter (A / D) 36, and an operational amplifier OP2.

アナログ/デジタル変換器32は、演算増幅器OP1から出力される差動電圧Vを受け、デジタル値に変換してレジスタ34へ出力する。 The analog / digital converter 32 receives the differential voltage VA output from the operational amplifier OP1, converts it to a digital value, and outputs it to the register 34.

レジスタ34は、制御部20から保持指令を受けると、アナログ/デジタル変換器32から出力される差動電圧Vのデジタル値を記憶する。 The register 34 stores the digital value of the differential voltage VA output from the analog / digital converter 32 when receiving a holding command from the control unit 20.

デジタル/アナログ変換器36は、レジスタ34に記憶された差動電圧Vのデジタル値を読出し、アナログ値に変換して演算増幅器OP2へ出力する。 The digital / analog converter 36 reads the digital value of the differential voltage VA stored in the register 34, converts it into an analog value, and outputs it to the operational amplifier OP2.

演算増幅器OP2は、デジタル/アナログ変換器36から受けた差動電圧Vに対して、自己の出力を負帰還させた結果を増幅して出力する。すなわち、演算増幅器OP2は、ユニティ・ゲイン・バッファであり、保持部30の出力バッファとしてとして機能する。そのため、保持部30は、デジタル/アナログ変換器36から受けた差動電圧Vと同一の電圧で、かつ、大きな出力容量をもった保持電圧VをスイッチSW1へ出力する。 The operational amplifier OP2 amplifies and outputs the result of negative feedback of its own output with respect to the differential voltage VA received from the digital / analog converter 36. In other words, the operational amplifier OP2 is a unity gain buffer and functions as an output buffer of the holding unit 30. Therefore, holding unit 30 outputs a holding voltage V B having the same voltage as differential voltage V A received from digital / analog converter 36 and having a large output capacity to switch SW1.

スイッチSW1は、制御部20から受けた切換指令に応じて、3つのポートA、BおよびCのうちいずれか1つのポートをトランジスタTRのゲートと接続し、電流指令を与える。すなわち、スイッチSW1は、演算増幅器OP1から出力される差動電圧V(ポートA)、保持部30から出力される保持電圧V(ポートB)および基準電位(ポートC)のうち、いずれか1つをトランジスタTRのゲートへ与える。 Switch SW1 connects any one of the three ports A, B, and C to the gate of transistor TR in response to a switching command received from control unit 20, and provides a current command. That is, the switch SW1 is one of the differential voltage V A (port A) output from the operational amplifier OP1, the holding voltage V B (port B) output from the holding unit 30, and the reference potential (port C). One is applied to the gate of transistor TR.

トランジスタTRは、電源ノード2と基準電位との間に介挿され、ゲートに与えられた電圧に従い負荷LEDへ供給する出力電流IOUTを調整する調整部である。そして、トランジスタTRは、たとえば、NMOSトランジスタなどからなる。 The transistor TR is an adjustment unit that is interposed between the power supply node 2 and the reference potential, and adjusts the output current I OUT supplied to the load LED according to the voltage applied to the gate. The transistor TR is composed of, for example, an NMOS transistor.

制御部20は、PWM信号発生部24を含み、出力開始指令を受けると、所定の周期で、かつ、外部から受けたDuty比に応じたPWM信号を発生する。そして、制御部20は、発生したPWM信号に基づいて、そのオン期間においては、差動電圧Vまたは保持電圧VをトランジスタTRのゲートへ与え、そのオフ期間においては、基準電位をトランジスタTRのゲートへ与えるための切換指令をスイッチSW1へ出力する。また、制御部20は、定期的にレジスタ12から電流設定値を読出し、その値が更新されているか否かを判断する。 The control unit 20 includes a PWM signal generation unit 24 and, upon receiving an output start command, generates a PWM signal in a predetermined cycle and according to the duty ratio received from the outside. Then, based on the generated PWM signal, the control unit 20 applies the differential voltage V A or the holding voltage V B to the gate of the transistor TR during the on period, and supplies the reference potential to the transistor TR during the off period. A switching command for giving to the gate of the switch is output to the switch SW1. Further, the control unit 20 periodically reads the current setting value from the register 12 and determines whether or not the value has been updated.

さらに、制御部20は、出力開始指令を受けた直後の最初のオン期間、および、電流設定値が更新された直後の最初のオン期間においてのみ差動電圧VをトランジスタTRのゲートへ与え、その他のオン期間においては、保持電圧VをトランジスタTRのゲートへ与えるような切換指令を出力する。そして、制御部20は、差動電圧VがトランジスタTRのゲートへ与えられた後、演算増幅器OP1が出力電流IOUTを電流設定値に略一致させることのできる所定の時間経過後に、保持部30へ保持指令を与える。 Furthermore, the control unit 20 provides the differential voltage V A to the gate of the transistor TR only in the first on period immediately after receiving the output start command and in the first on period immediately after the current set value is updated, in other oN period, a holding voltage V B to output the switching command so as to provide to the gate of the transistor TR. Then, after the differential voltage V A is applied to the gate of the transistor TR, the control unit 20 waits for a predetermined time after which the operational amplifier OP1 can make the output current I OUT substantially match the current set value. A holding command is given to 30.

負荷LEDは、たとえば、液晶のバックライトなどに用いられるLEDであり、供給される電流の供給時間に応じて、その発光輝度を変化させる。   The load LED is, for example, an LED used for a liquid crystal backlight or the like, and changes its emission luminance according to the supply time of the supplied current.

抵抗Rは、定電流回路101と基準電位との間に介挿され、出力電流IOUTを検出するための電圧を発生する。そのため抵抗Rの値は、出力電流IOUT、演算増幅器OP1および電流設定値Vなどに応じて適宜設計される。 Resistor R is inserted between the constant current circuit 101 and the reference potential, for generating a voltage for detecting the output current I OUT. Therefore, the value of the resistor R is appropriately designed according to the output current I OUT , the operational amplifier OP1, the current set value V I, and the like.

以下、実施の形態1に従う定電流回路101の動作について詳細に説明する。
図2は、出力開始指令が与えられた直後における定電流回路101の各部の時間波形を示す図である。
Hereinafter, an operation of constant current circuit 101 according to the first embodiment will be described in detail.
FIG. 2 is a diagram illustrating a time waveform of each part of the constant current circuit 101 immediately after the output start command is given.

図2(a)は、PWM信号発生部24が発生するPWM信号の時間波形である。
図2(b)は、スイッチSW1の時間波形である。
FIG. 2A shows a time waveform of the PWM signal generated by the PWM signal generator 24.
FIG. 2B is a time waveform of the switch SW1.

図2(c)は、差動電圧Vの時間波形である。
図2(d)は、保持電圧Vの時間波形である。
FIG. 2C shows a time waveform of the differential voltage VA .
Figure 2 (d) is a time waveform of the holding voltage V B.

図2(e)は、トランジスタTRへ与えられるゲート電圧Vの時間波形である。
図2(f)は、出力電流IOUTの時間波形である。
Figure 2 (e) is a time waveform of the gate voltage V G applied to the transistor TR.
FIG. 2F shows a time waveform of the output current IOUT .

図2(a)を参照して、制御部20は、出力開始指令を受けると、PWM信号の発生を開始する。図2(b)を参照して、制御部20は、PWM信号のオン期間においては、スイッチSW1にポートAまたはBを選択させ、PWM信号のオフ期間においては、スイッチSW1にポートCを選択させる。特に、制御部20は、出力開始指令を受けた直後の最初のオン期間において、スイッチSW1にポートAを選択させ、それ以降のオン期間においては、スイッチSW1にポートBを選択させる。   Referring to FIG. 2A, when receiving an output start command, control unit 20 starts generating a PWM signal. Referring to FIG. 2B, the control unit 20 causes the switch SW1 to select the port A or B during the PWM signal on period, and causes the switch SW1 to select the port C during the PWM signal off period. . In particular, the control unit 20 causes the switch SW1 to select the port A in the first on period immediately after receiving the output start command, and causes the switch SW1 to select the port B in the subsequent on period.

図2(c)を参照して、演算増幅器OP1は、所定の応答速度をもって、電流設定値Vと抵抗Rに生じる電圧との差に応じた差動電圧Vを変化させる。 Referring to FIG. 2C, the operational amplifier OP1 changes the differential voltage V A according to the difference between the current set value V I and the voltage generated in the resistor R with a predetermined response speed.

図2(d)を参照して、制御部20は、オン期間の開始から所定の時間が経過し、演算増幅器OP1から出力される差動電圧Vが所定値に到達すると、保持指令を保持部30へ出力する。保持部30は、保持指令を受けた時点における差動電圧Vをレジスタ34へ記憶し、その記憶した差動電圧Vと同一である保持電圧VをスイッチSW1へ出力する。すなわち、制御部20は、電流設定値Vに相当する出力電流IOUTを供給するためのゲート電圧Vを保持部30に保持させる。 Referring to FIG. 2D, the control unit 20 holds the holding command when a predetermined time has elapsed from the start of the ON period and the differential voltage V A output from the operational amplifier OP1 reaches a predetermined value. To the unit 30. The holding unit 30 stores the differential voltage V A at the time of receiving the holding command in the register 34, and outputs the holding voltage V B that is the same as the stored differential voltage V A to the switch SW1. That is, the control unit 20 causes the holding unit 30 to hold the gate voltage V G for supplying the output current I OUT corresponding to the current set value V I.

図2(e)を参照して、トランジスタTRのゲートへ与えられるゲート電圧Vは、出力開始指令を受けた直後の最初のオン期間では、演算増幅器OP1から出力される差動電圧Vとなり、それ以降のオン期間では、保持部30から出力される保持電圧Vとなる。保持電圧Vは、PWM信号のオン・オフに関係なく一定値に保持されるので、オン期間の開始直後から、立ち上がり時間無しに、トランジスタTRのゲートに対して保持電圧Vが与えられる。 Referring to FIG. 2 (e), the gate voltage V G applied to the gate of the transistor TR becomes the differential voltage V A output from the operational amplifier OP1 in the first ON period immediately after receiving the output start command. In the subsequent ON period, the holding voltage V B output from the holding unit 30 is obtained. Since the holding voltage V B is held at a constant value regardless of whether the PWM signal is on or off, the holding voltage V B is applied to the gate of the transistor TR immediately after the start of the on period and without a rise time.

図2(f)を参照して、トランジスタTRのゲート電圧Vに対応して、トランジスタTRから出力電流IOUTが供給される。そのため、出力開始指令を受けた直後の最初のオン期間においては、PWM信号に対して出力電流IOUTの遅れが生じるが、それ以降のオン期間においては、PWM信号に同期して急峻に立ち上がる出力電流IOUTが供給される。 Referring to FIG. 2F, the output current I OUT is supplied from the transistor TR corresponding to the gate voltage V G of the transistor TR. Therefore, in the first on-period immediately after receiving the output start command, the output current I OUT is delayed with respect to the PWM signal, but in the subsequent on-period, the output rises sharply in synchronization with the PWM signal. A current I OUT is supplied.

なお、定電流回路101に対して、同一の電流設定値を与えたとしても、トランジスタTRの製造バラツキ、電気的特性および温度特性などに起因して、演算増幅器OP1から出力される差動電圧Vは定まらない。そのため、制御部20は、出力開始指令を受けると、その最初のオン期間においてのみ、演算増幅器OP1から出力される差動電圧VをトランジスタTRへ与え、電流設定値Vに相当する出力電流IOUTを供給するためのゲート電圧Vを保持部30に保持させる。 Even if the same current set value is given to the constant current circuit 101, the differential voltage V output from the operational amplifier OP1 due to manufacturing variations, electrical characteristics, temperature characteristics, and the like of the transistor TR. A is not determined. Therefore, the control unit 20 receives the output start instruction, only at its first on period, the differential voltage V A output from the operational amplifier OP1 supplied to the transistor TR, an output current corresponding to current set value V I The holding unit 30 holds the gate voltage V G for supplying I OUT .

ところで、出力電流の調整は、主として、制御部20へ与えられるDuty比を変化させることで行なわれるが、電流設定値Vが変更されることもある。電流設定値Vが変更された場合には、その電流設定値Vに相当する出力電流IOUTを供給するためのゲート電圧Vを保持部30に再度記憶させる必要がある。 Incidentally, the adjustment of the output current is mainly performed by changing the duty ratio given to the control unit 20, but the current set value V I may be changed. When the current set value V I is changed, it is necessary to store the gate voltage V G for supplying the output current I OUT corresponding to the current set value V I in the holding unit 30 again.

そこで、制御部20は、電流設定値Vが変更されたか否かを監視し、変更された場合には、再度、保持指令を保持部30へ与える。 Therefore, the control unit 20 monitors whether or not the current set value V I has been changed, and when it is changed, gives a holding command to the holding unit 30 again.

図3は、電流設定値Vが変更された場合における定電流回路101の各部の時間波形を示す図である。 FIG. 3 is a diagram illustrating a time waveform of each part of the constant current circuit 101 when the current set value V I is changed.

図3(a)は、PWM信号発生部24が発生するPWM信号の時間波形である。
図3(b)は、電流設定値Vの時間波形である。
FIG. 3A is a time waveform of the PWM signal generated by the PWM signal generator 24.
FIG. 3B is a time waveform of the current set value V I.

図3(c)は、スイッチSW1の時間波形である。
図3(d)は、差動電圧Vの時間波形である。
FIG. 3C is a time waveform of the switch SW1.
FIG. 3D is a time waveform of the differential voltage VA .

図3(e)は、保持電圧Vの時間波形である。
図3(f)は、トランジスタTRへ与えられるゲート電圧Vの時間波形である。
Figure 3 (e) is a time waveform of the holding voltage V B.
Figure 3 (f) is a time waveform of the gate voltage V G applied to the transistor TR.

図3(g)は、出力電流IOUTの時間波形である。
図3(a)および(b)を参照して、電流設定部10へ新たな電流設定値が与えられると、電流設定部10は、新たな電流設定値Vを出力する。
FIG. 3G is a time waveform of the output current I OUT .
Referring to FIGS. 3 (a) and (b), when a new current set value to the current setting portion 10 is provided, the current setting unit 10 outputs a new current set value V I.

図3(c)を参照して、制御部20は、電流設定値Vが変更された直後の最初のオン期間において、スイッチSW1にポートAを選択させ、それ以降のオン期間においては、スイッチSW1にポートBを選択させる。 Referring to FIG. 3 (c), the control unit 20, in the first ON period immediately following the current set value V I is changed, the port A is selected in the switch SW1, the subsequent on-period, the switch Let SW1 select port B.

図3(d)を参照して、演算増幅器OP1は、いずれの電流設定値Vに対しても、所定の時定数をもって、電流設定値Vと抵抗Rに生じる電圧との差に応じた差動電圧Vを変化させる。 Referring to FIG. 3 (d), operational amplifier OP1, for any current setting value V I, with a predetermined time constant, corresponding to the difference between the voltage generated and the current set value V I in the resistor R The differential voltage VA is changed.

図3(e)を参照して、制御部20は、電流設定値Vの変更後における最初のオン期間の開始から所定の時間が経過し、演算増幅器OP1から出力される差動電圧Vが所定値に到達すると、保持指令を保持部30へ出力する。すなわち、制御部20は、出力開始指令を受けた場合と同様に、新たな電流設定値Vに相当する出力電流IOUTを供給するためのゲート電圧Vを保持部30に保持させる。 Referring to FIG. 3 (e), the control unit 20 determines that the predetermined voltage elapses from the start of the first ON period after the change of the current set value V I and the differential voltage V A output from the operational amplifier OP1. When the value reaches a predetermined value, a holding command is output to the holding unit 30. That is, the control unit 20 causes the holding unit 30 to hold the gate voltage V G for supplying the output current I OUT corresponding to the new current setting value V I as in the case where the output start command is received.

図3(f)を参照して、トランジスタTRのゲートへ与えられるゲート電圧Vは、電流設定値Vの変更後における最初のオン期間では、演算増幅器OP1から出力される差動電圧Vとなり、それ以降のオン期間では、保持部30から出力される保持電圧Vとなる。 Referring to FIG. 3F, the gate voltage V G applied to the gate of the transistor TR is the differential voltage V A output from the operational amplifier OP1 in the first ON period after the change of the current setting value V I. In the subsequent ON period, the holding voltage V B output from the holding unit 30 is obtained.

図3(g)を参照して、トランジスタTRのゲート電圧Vに対応して、トランジスタTRから出力電流IOUTが供給される。そのため、電流設定値Vの変更後における最初のオン期間においては、PWM信号に対して出力電流IOUTの遅れが生じるが、それ以降のオン期間においては、PWM信号に同期した方形状の出力電流IOUTが供給される。 Referring to FIG. 3G , the output current I OUT is supplied from the transistor TR corresponding to the gate voltage V G of the transistor TR. Therefore, in the first on period after the change of the current set value V I , the output current I OUT is delayed with respect to the PWM signal, but in the subsequent on period, the rectangular output synchronized with the PWM signal is generated. A current I OUT is supplied.

図4は、定電流回路101の制御部20における処理フローチャートである。
図4を参照して、制御部20は、出力開始指令を受けたか否かを判断する(ステップS100)。出力開始指令を受けていない場合(ステップS100においてNOの場合)には、制御部20は、出力開始指令を受けるまで待つ(ステップS100)。
FIG. 4 is a process flowchart in the control unit 20 of the constant current circuit 101.
Referring to FIG. 4, control unit 20 determines whether an output start command has been received (step S100). If an output start command has not been received (NO in step S100), control unit 20 waits until an output start command is received (step S100).

出力開始指令を受けた場合(ステップS100においてYESの場合)には、制御部20は、PWM信号の発生を開始する(ステップS102)。そして、制御部20は、最初のオン期間中において、ポートAを選択するための切換指令をスイッチSW1へ与える(ステップS104)。さらに、制御部20は、最初のオン期間の開始から所定の時間が経過した否かを判断する(ステップS106)。所定の時間が経過していない場合(ステップS106においてNOの場合)には、制御部20は、所定の時間が経過するまで待つ(ステップS106)。   When an output start command is received (YES in step S100), control unit 20 starts generating a PWM signal (step S102). Then, the control unit 20 gives a switch command for selecting the port A to the switch SW1 during the first ON period (step S104). Furthermore, the control unit 20 determines whether or not a predetermined time has elapsed since the start of the first on-period (step S106). If the predetermined time has not elapsed (NO in step S106), control unit 20 waits until the predetermined time elapses (step S106).

所定の時間が経過した場合(ステップS106においてYESの場合)には、制御部20は、保持指令を保持部30へ与える(ステップS108)。そして、制御部20は、オン期間が終了すると、ポートCを選択するための切換指令をスイッチSW1へ与える(ステップS110)。さらに、制御部20は、オフ期間が終了すると、ポートBを選択するための切換指令をスイッチSW1へ与える(ステップS112)。   If the predetermined time has elapsed (YES in step S106), control unit 20 provides a holding command to holding unit 30 (step S108). Then, when the ON period ends, the control unit 20 gives a switch command for selecting the port C to the switch SW1 (step S110). Furthermore, when the off period ends, the control unit 20 gives a switch command for selecting the port B to the switch SW1 (step S112).

その後、制御部20は、電流設定値が更新されたか否かを判断する(ステップS114)。電流設定値が更新された場合(ステップS114においてYESの場合)には、制御部20は、次のオン期間中において、ポートAを選択するための切換指令をスイッチSW1へ与える(ステップS104)。そして、制御部20は、上述のステップS106,S108,S110,S112を再度実行する。   Thereafter, the control unit 20 determines whether or not the current set value has been updated (step S114). If the current set value has been updated (YES in step S114), control unit 20 provides a switch command for selecting port A to switch SW1 during the next ON period (step S104). And the control part 20 performs above-mentioned step S106, S108, S110, S112 again.

電流設定値が更新されていない場合(ステップS114においてNOの場合)には、制御部20は、出力開始指令が継続しているか否かを判断する(ステップS116)。   If the current set value has not been updated (NO in step S114), control unit 20 determines whether or not the output start command is continued (step S116).

出力開始指令が継続している場合(ステップS116においてYESの場合)には、制御部20は、上述のステップS110,S112,S114を繰返す。   If the output start command is continued (YES in step S116), control unit 20 repeats steps S110, S112, and S114 described above.

出力開始指令が継続していない場合(ステップS116においてNOの場合)には、制御部20は、処理を終了する。   If the output start command is not continued (NO in step S116), control unit 20 ends the process.

なお、制御部20が保持部30へ保持指令を与えるタイミングは、演算増幅器OP1の応答速度に応じて決定されるが、演算増幅器OP1の応答速度に比較して、オン期間が短い場合には、オン期間内において出力電流IOUTが電流設定値まで上昇できないことがある。 Note that the timing at which the control unit 20 gives the holding command to the holding unit 30 is determined according to the response speed of the operational amplifier OP1, but when the ON period is shorter than the response speed of the operational amplifier OP1, In some cases, the output current I OUT cannot rise to the current set value within the ON period.

そこで、制御部20は、Duty比を無視して、出力開始指令を受けた直後の最初のオン期間、および、電流設定部10が新たな電流設定値を受けた直後の最初のオン期間を演算増幅器OP1の応答速度に応じて延長してもよい。   Therefore, the control unit 20 ignores the duty ratio and calculates the first on-period immediately after receiving the output start command and the first on-period immediately after the current setting unit 10 receives a new current set value. You may extend according to the response speed of amplifier OP1.

なお、上述の実施の形態1においては、定電流回路101がLEDに電流を供給する場合について説明したが、負荷はLEDに限らず、供給電流を調整させる必要がある定電流負荷であれば、同様に適用できることは言うまでもない。   In the first embodiment described above, the case where the constant current circuit 101 supplies current to the LED has been described. However, the load is not limited to the LED, and if the constant current load needs to adjust the supply current, It goes without saying that the same applies.

この発明の実施の形態1によれば、保持部において電流設定値に相当する出力電流を流すための差動電圧が保持され、制御部は、保持部により出力される保持電圧をトランジスタのゲートへ与えるように切換指令を出力する。そのため、演算増幅器からの差動電圧に時間遅れの影響を受けることなく、一定のゲート電圧をトランジスタのゲートへ与えることができる。よって、Duty比やPWM信号の周期にかかわらず、電流設定値に相当する出力電流を供給できるので、高い精度で電流調整が可能な定電流回路を実現できる。   According to the first embodiment of the present invention, the differential voltage for flowing the output current corresponding to the current set value is held in the holding unit, and the control unit sends the holding voltage output from the holding unit to the gate of the transistor. A switching command is output so as to give. Therefore, a constant gate voltage can be applied to the gate of the transistor without being affected by the time delay in the differential voltage from the operational amplifier. Therefore, since an output current corresponding to the current set value can be supplied regardless of the duty ratio and the period of the PWM signal, a constant current circuit capable of current adjustment with high accuracy can be realized.

また、この発明の実施の形態1によれば、制御部は、出力開始指令を受けた直後の最初のオン期間、および、電流設定値が更新された直後の最初のオン期間においてのみ、演算増幅器から出力される差動電圧をトランジスタのゲートへ与え、電流設定値に相当する出力電流を流すための差動電圧を生じさせる。そのため、トランジスタのゲートへ電流設定値に応じたゲート電圧を正確に与えることができ、かつ、演算増幅器の応答遅れによる影響を最小限にすることでできる。よって、高い精度で電流調整が可能な定電流回路を実現できる。   Further, according to the first embodiment of the present invention, the control unit operates the operational amplifier only in the first on-period immediately after receiving the output start command and the first on-period immediately after the current set value is updated. Is applied to the gate of the transistor to generate a differential voltage for flowing an output current corresponding to the current set value. Therefore, the gate voltage corresponding to the current setting value can be accurately applied to the gate of the transistor, and the influence of the response delay of the operational amplifier can be minimized. Therefore, a constant current circuit capable of current adjustment with high accuracy can be realized.

また、この発明によれば、保持部は、演算増幅器から出力される差動電圧をデジタル値に変換してレジスタに記憶するので、時間の経過や外乱などによりその値が変化することはない。よって、電流設定値の更新頻度が低く、かつ、長時間の電流供給が必要とされる場合などにおいて、安定した電流供給を実現できる。   Further, according to the present invention, the holding unit converts the differential voltage output from the operational amplifier into a digital value and stores it in the register, so that the value does not change due to the passage of time or disturbance. Therefore, stable current supply can be realized when the frequency of updating the current set value is low and current supply for a long time is required.

[実施の形態2]
実施の形態1においては、保持部がトランジスタのゲートへ与える差動電圧をデジタル値に変換して保持する構成について説明した。
[Embodiment 2]
In the first embodiment, the configuration in which the differential voltage applied to the gate of the transistor by the holding unit is converted into a digital value and held has been described.

一方、実施の形態2では、保持部が差動電圧をその電圧値に応じた電荷量として保持する構成について説明する。   On the other hand, in the second embodiment, a configuration in which the holding unit holds the differential voltage as a charge amount corresponding to the voltage value will be described.

図5は、実施の形態2に従う定電流回路102の概略構成図である。
図5を参照して、定電流回路102は、実施の形態1に従う定電流回路101において、保持部30および制御部20をそれぞれ保持部40および制御部22に代えたものである。
FIG. 5 is a schematic configuration diagram of constant current circuit 102 according to the second embodiment.
Referring to FIG. 5, constant current circuit 102 is obtained by replacing holding unit 30 and control unit 20 with holding unit 40 and control unit 22 in constant current circuit 101 according to the first embodiment, respectively.

保持部40は、演算増幅器OP1から出力される差動電圧Vを受け、その電圧に応じた電荷量を蓄える。そして、保持部40は、その電荷量に応じた電圧を保持電圧Vとして出力する。すなわち、保持部40は、サンプル・ホールド回路として機能する。さらに、保持部40は、スイッチSW2およびSW3と、キャパシタ46と、演算増幅器OP2とからなる。 The holding unit 40 receives the differential voltage VA output from the operational amplifier OP1, and stores an amount of charge corresponding to the voltage. Then, the holding unit 40 outputs a voltage corresponding to the charge amount as the holding voltage V B. That is, the holding unit 40 functions as a sample / hold circuit. Furthermore, the holding unit 40 includes switches SW2 and SW3, a capacitor 46, and an operational amplifier OP2.

スイッチSW2は、演算増幅器OP1の出力側とキャパシタ46との間に配置され、制御部22からポートBまたはCを選択するための切換指令を受けると閉路する。スイッチSW3は、キャパシタ46と演算増幅器OP2の入力側との間に配置され、制御部22からポートAを選択するための切換指令を受けると閉路する。そのため、スイッチSW2およびSW3は、同時に接続を「閉」となることはなく、いずれの時点においても、いずれか一方のみが「閉」となる。   The switch SW2 is disposed between the output side of the operational amplifier OP1 and the capacitor 46, and is closed when a switching command for selecting the port B or C is received from the control unit 22. The switch SW3 is disposed between the capacitor 46 and the input side of the operational amplifier OP2, and is closed when a switching command for selecting the port A is received from the control unit 22. Therefore, the switches SW2 and SW3 are not “closed” at the same time, and only one of them is “closed” at any time.

キャパシタ46は、スイッチSW2およびSW3と基準電位との間に介挿され、スイッチSW2が「閉」となっている期間は、演算増幅器OP1の出力側と接続され、スイッチSW3が「閉」となっている期間は、演算増幅器OP2の入力側と接続される。そして、キャパシタ46は、スイッチSW2が「閉」となっている期間において、差動電圧Vに応じた電荷を蓄積し、スイッチSW3が「閉」となっている期間において、蓄積した電荷に基づく差動電圧Vを演算増幅器OP2へ出力する。 The capacitor 46 is inserted between the switches SW2 and SW3 and the reference potential, and is connected to the output side of the operational amplifier OP1 and the switch SW3 is “closed” during the period when the switch SW2 is “closed”. Is connected to the input side of the operational amplifier OP2. The capacitor 46 accumulates charges according to the differential voltage V A during the period when the switch SW2 is “closed”, and is based on the accumulated charges during the period when the switch SW3 is “closed”. The differential voltage VA is output to the operational amplifier OP2.

演算増幅器OP2は、実施の形態1と同様に、ユニティ・ゲイン・バッファであり、出力バッファとして機能する。そして、演算増幅器OP2は、キャパシタ46から受けた差動電圧Vと同一の電圧で、かつ、大きな出力容量をもった保持電圧VをスイッチSW1へ出力する。 Similar to the first embodiment, the operational amplifier OP2 is a unity gain buffer and functions as an output buffer. Then, the operational amplifier OP2 is a differential voltage V A and the same voltage received from capacitor 46, and outputs the holding voltage V B having a large output capacity to the switch SW1.

制御部22は、PWM信号発生部24を含み、出力開始指令を受けると、所定の周期で、かつ、外部から受けたDuty比に応じたPWM信号を発生する。そして、制御部22は、PWM信号に基づいて、そのオン期間においては、差動電圧Vまたは保持電圧VをトランジスタTRのゲートへ与え、そのオフ期間においては、基準電位をトランジスタTRのゲートへ与えるための切換指令をスイッチSW1へ出力する。また、制御部22は、定期的にレジスタ12から電流設定値を読出し、その値が更新されているか否かを判断する。 The control unit 22 includes a PWM signal generation unit 24. Upon receiving an output start command, the control unit 22 generates a PWM signal in a predetermined cycle and according to the duty ratio received from the outside. Then, based on the PWM signal, the control unit 22 supplies the differential voltage V A or the holding voltage V B to the gate of the transistor TR during the on period, and applies the reference potential to the gate of the transistor TR during the off period. Is output to the switch SW1. In addition, the control unit 22 periodically reads the current setting value from the register 12 and determines whether or not the value has been updated.

さらに、制御部22は、出力開始指令を受けた直後の最初のオン期間、および、電流設定値が更新された直後の最初のオン期間においてのみ差動電圧VをトランジスタTRのゲートへ与え、その他のオン期間においては、保持電圧VをトランジスタTRのゲートへ与えるような切換指令を出力する。また、制御部22は、差動電圧VをトランジスタTRのゲートへ与えると同時に、スイッチSW2を「閉」とし、キャパシタ46に電荷を蓄えさせる。そして、制御部22は、それ以外の期間において、スイッチSW3を「閉」として、キャパシタ46に蓄えられている電荷に応じた電圧を保持電圧Vとして出力させる。 Further, the control unit 22 provides the differential voltage V A to the gate of the transistor TR only in the first on period immediately after receiving the output start command and in the first on period immediately after the current set value is updated, in other oN period, a holding voltage V B to output the switching command so as to provide to the gate of the transistor TR. In addition, the control unit 22 applies the differential voltage VA to the gate of the transistor TR, and at the same time, sets the switch SW2 to “close” and causes the capacitor 46 to store electric charge. Then, the control unit 22, in other periods, the switch SW3 as "closed", thereby outputting a voltage corresponding to the charge stored in the capacitor 46 as a holding voltage V B.

以下、実施の形態2に従う定電流回路102の動作について詳細に説明する。
図6は、出力開始指令が与えられた直後における定電流回路102の各部の時間波形を示す図である。
Hereinafter, the operation of constant current circuit 102 according to the second embodiment will be described in detail.
FIG. 6 is a diagram illustrating a time waveform of each part of the constant current circuit 102 immediately after the output start command is given.

図6(a)は、PWM信号発生部24が発生するPWM信号の時間波形である。
図6(b)は、スイッチSW1の時間波形である。
FIG. 6A is a time waveform of the PWM signal generated by the PWM signal generator 24.
FIG. 6B is a time waveform of the switch SW1.

図6(c)は、スイッチSW2の時間波形である。
図6(d)は、スイッチSW3の時間波形である。
FIG. 6C shows a time waveform of the switch SW2.
FIG. 6D is a time waveform of the switch SW3.

図6(e)は、差動電圧Vの時間波形である。
図6(f)は、キャパシタ電圧Vchの時間波形である。
FIG. 6E is a time waveform of the differential voltage VA .
FIG. 6F shows a time waveform of the capacitor voltage Vch .

図6(g)は、保持電圧Vの時間波形である。
図6(h)は、トランジスタTRへ与えられるゲート電圧Vの時間波形である。
Shown in FIG. 6 (g) is the time waveform of the holding voltage V B.
FIG 6 (h) is the time waveform of the gate voltage V G applied to the transistor TR.

図6(a)および(b)を参照して、実施の形態1と同様に、制御部22は、出力開始指令を受けると、PWM信号の発生を開始する。そして、制御部22は、PWM信号のオン期間においては、スイッチSW1にポートAまたはBを選択させ、PWM信号のオフ期間においては、スイッチSW1にポートCを選択させる。特に、制御部22は、出力開始指令を受けた直後の最初のオン期間において、スイッチSW1にポートAを選択させ、それ以降のオン期間においては、スイッチSW1にポートBを選択させる。   Referring to FIGS. 6A and 6B, similarly to the first embodiment, when receiving an output start command, control unit 22 starts generating a PWM signal. The control unit 22 causes the switch SW1 to select the port A or B during the PWM signal on period, and causes the switch SW1 to select the port C during the PWM signal off period. In particular, the control unit 22 causes the switch SW1 to select the port A in the first on period immediately after receiving the output start command, and causes the switch SW1 to select the port B in the subsequent on period.

図6(c)を参照して、スイッチSW2は、スイッチSW1がポートBまたはCを選択している期間において「開」となり、スイッチSW1がポートAを選択している期間において「閉」となる。   Referring to FIG. 6C, the switch SW2 is “open” while the switch SW1 is selecting the port B or C, and is “closed” when the switch SW1 is selecting the port A. .

図6(d)を参照して、スイッチSW3は、スイッチSW1がポートAを選択している期間において「開」となり、スイッチSW1がポートBまたはCを選択している期間において「閉」となる。   Referring to FIG. 6D, the switch SW3 is “open” while the switch SW1 is selecting the port A, and is “closed” when the switch SW1 is selecting the port B or C. .

図6(e)を参照して、演算増幅器OP1は、所定の時定数をもって、電流設定値Vと抵抗Rに生じる電圧との差に応じた差動電圧Vを変化させる。 Referring to FIG. 6E, the operational amplifier OP1 changes the differential voltage V A according to the difference between the current set value V I and the voltage generated in the resistor R with a predetermined time constant.

図6(f)を参照して、スイッチSW2が「閉」となると、キャパシタ46への電荷の蓄積が開始される。その後、所定の時間が経過すると、キャパシタ46には、差動電圧Vに応じた電荷が蓄積され、キャパシタ46のキャパシタ電圧Vchは、差動電圧Vまで上昇する。 Referring to FIG. 6F, when the switch SW2 is “closed”, accumulation of electric charge in the capacitor 46 is started. Thereafter, when a predetermined time elapses, electric charge corresponding to the differential voltage V A is accumulated in the capacitor 46, and the capacitor voltage V ch of the capacitor 46 rises to the differential voltage V A.

図6(g)を参照して、キャパシタ46に差動電圧Vに応じた電荷が蓄積された後、スイッチSW2が「開」となり、かつ、スイッチSW3が「閉」となると、演算増幅器OP2は、キャパシタ電圧Vchを保持電圧Vとして出力する。その後、演算増幅器OP2は、スイッチSW3が「開」となるまで、保持電圧Vの出力を継続する。 Referring to FIG. 6G, after the electric charge corresponding to the differential voltage VA is accumulated in the capacitor 46, when the switch SW2 is “open” and the switch SW3 is “closed”, the operational amplifier OP2 Outputs the capacitor voltage V ch as the holding voltage V B. Thereafter, operational amplifier OP2, until the switch SW3 is "open", continues to output the holding voltage V B.

図6(h)を参照して、トランジスタTRのゲートへ与えられるゲート電圧Vは、出力開始指令を受けた直後の最初のオン期間では、演算増幅器OP1から出力される差動電圧Vとなり、それ以降のオン期間では、保持部40から出力される保持電圧Vとなる。保持電圧Vは、PWM信号のオン・オフに関係なく一定値に保持されるので、オン期間の開始直後から、立ち上がり時間無しに、トランジスタTRのゲートに対して保持電圧Vが与えられる。 Referring to FIG. 6 (h), the gate voltage V G applied to the gate of the transistor TR is in the first ON period immediately after receiving the output start instruction, the differential voltage V A becomes output from the operational amplifier OP1 In the subsequent ON period, the holding voltage V B output from the holding unit 40 is obtained. Since the holding voltage V B is held at a constant value regardless of whether the PWM signal is on or off, the holding voltage V B is applied to the gate of the transistor TR immediately after the start of the on period and without a rise time.

ところで、抵抗成分によるリークの発生や、演算増幅器OP2の増幅率が有限であることなどから、キャパシタ46に蓄積される電荷は時間と共に減少する。その減少率が緩やかであれば、ほとんど問題は生じないが、電荷が急速に減少する場合やノイズの影響を受けやすい場合には、トランジスタTRへ十分なゲート電圧Vを与えることができなくなる。そこで、キャパシタ46の電荷の減少速度が大きい場合やノイズの影響を受けやすい場合には、定期的に蓄電動作を行なうとしてもよい。 Incidentally, the charge accumulated in the capacitor 46 decreases with time due to the occurrence of leakage due to the resistance component and the fact that the amplification factor of the operational amplifier OP2 is finite. If the reduction rate is moderate, but not caused little problem, if susceptible to or when noise charges decreases rapidly becomes unable to provide sufficient gate voltage V G to the transistor TR. In view of this, when the rate of charge reduction of the capacitor 46 is large or when it is susceptible to noise, the power storage operation may be performed periodically.

図7は、定期的に蓄電動作を行なう場合における定電流回路102の各部の時間波形を示す図である。   FIG. 7 is a diagram showing a time waveform of each part of the constant current circuit 102 when the power storage operation is periodically performed.

図7(a)は、PWM信号発生部24が発生するPWM信号の時間波形である。
図7(b)は、スイッチSW1の時間波形である。
FIG. 7A shows a time waveform of the PWM signal generated by the PWM signal generator 24.
FIG. 7B is a time waveform of the switch SW1.

図7(c)は、スイッチSW2の時間波形である。
図7(d)は、スイッチSW3の時間波形である。
FIG. 7C shows a time waveform of the switch SW2.
FIG. 7D is a time waveform of the switch SW3.

図7(e)は、差動電圧Vの時間波形である。
図7(f)は、キャパシタ電圧Vchの時間波形である。
FIG. 7E shows a time waveform of the differential voltage VA .
FIG. 7F shows a time waveform of the capacitor voltage Vch .

図7(g)は、保持電圧Vの時間波形である。
図7(h)は、トランジスタTRへ与えられるゲート電圧Vの時間波形である。
Shown in FIG. 7 (g) is the time waveform of the holding voltage V B.
Figure 7 (h) is the time waveform of the gate voltage V G applied to the transistor TR.

図7(a)、(b)、(c)および(d)を参照して、制御部22は、定期的に蓄電動作を行なうようにスイッチSW1,SW2,SW3に対して切換指令を与える。   Referring to FIGS. 7A, 7B, 7C, and 7D, control unit 22 gives a switching command to switches SW1, SW2, and SW3 so as to periodically perform a power storage operation.

図7(e)および(f)を参照して、スイッチSW2が「閉」となると、キャパシタ46への電荷の蓄積が開始され、キャパシタ電圧Vchが上昇する。その後、スイッチSW2が「開」となり、スイッチSW3が「閉」となると、キャパシタ電圧Vchが保持電圧VとしてトランジスタTRのゲートへ与えられる。一方、キャパシタ46に蓄積されている電荷の減少に従い、キャパシタ電圧Vchは所定の速度をもって低下する。そこで、制御部22は、キャパシタ電圧Vchの電圧低下分ΔVchが所定の範囲内に収まるように、スイッチSW2を「閉」、およびスイッチSW3を「開」に切換え、定期的に蓄電動作を行なう。蓄電動作の直後には、キャパシタ電圧Vchは、差動電圧Vまで上昇する。 Referring to FIGS. 7E and 7F, when the switch SW2 is “closed”, accumulation of electric charge in the capacitor 46 is started, and the capacitor voltage Vch increases. Then, next to the switch SW2 is "open", the switch SW3 is "closed", the capacitor voltage V ch is applied to the gate of the transistor TR as a holding voltage V B. On the other hand, as the charge accumulated in the capacitor 46 decreases, the capacitor voltage Vch decreases at a predetermined speed. Therefore, the control unit 22, so that the voltage decrease amount [Delta] V ch capacitor voltage V ch is within a predetermined range, the switch SW2 "closed", and switches the switch SW3 to "open", the regular power storage operation Do. Immediately after the storage operation, the capacitor voltage V ch rises to the differential voltage V A.

図7(g)を参照して、保持電圧Vは、キャパシタ電圧Vchに従い所定の速度をもって低下するが、定期的に蓄電動作を行なうことで、差動電圧Vまで引き上げられるため、トランジスタTRのゲートへ必要な電圧を与えることができる。 Referring to FIG. 7G, the holding voltage V B decreases at a predetermined speed according to the capacitor voltage V ch , but is periodically raised to the differential voltage V A by performing a power storage operation. A necessary voltage can be applied to the gate of TR.

図7(h)を参照して、蓄電動作を行なうオン期間においては、差動電圧VがトランジスタTRのゲートへ与えられ、それ以外のオン期間においては、保持電圧VがトランジスタTRのゲートへ与えられる。 Referring to FIG. 7H, differential voltage V A is applied to the gate of transistor TR in the on period in which the storage operation is performed, and holding voltage V B is applied to the gate of transistor TR in the other on period. Given to.

なお、キャパシタ46は、最初のオン期間においてのみ蓄電動作を行なうため、オン期間が短い場合やキャパシタ46の時定数(静電容量)が大きい場合には、必要な保持電圧Vまで蓄電することができないことがある。 Capacitor 46 performs a power storage operation only in the first ON period. Therefore, when the ON period is short or when the time constant (capacitance) of capacitor 46 is large, the capacitor 46 stores the required holding voltage V B. May not be possible.

そこで、制御部22は、Duty比を無視して、出力開始指令を受けた直後の最初のオン期間、および、電流設定部10が新たな電流設定値を受けた直後の最初のオン期間を延長してもよい。   Therefore, the control unit 22 ignores the duty ratio and extends the first on-period immediately after receiving the output start command and the first on-period immediately after the current setting unit 10 receives a new current set value. May be.

この発明の実施の形態2によれば、保持部は、演算増幅器から出力される差動電圧に応じた電荷量を蓄え、その蓄えた電荷量に基づいて、保持電圧を出力する。そのため、保持部は、電荷を蓄えるためのキャパシタおよび蓄電動作を制御するためのスイッチだけで実現できるので、より簡略化した構成となり、コストを抑制することができる。   According to the second embodiment of the present invention, the holding unit stores a charge amount according to the differential voltage output from the operational amplifier, and outputs a holding voltage based on the stored charge amount. Therefore, since the holding unit can be realized only by a capacitor for storing electric charge and a switch for controlling the electric storage operation, the holding unit has a more simplified configuration and can suppress the cost.

また、この発明の実施の形態2によれば、保持部は、出力バッファを介して、蓄電された電荷量に応じた保持電圧を出力するので、保持電圧の出力に伴う電荷量の減少を抑制できる。また、保持部は、トランジスタのゲートへ十分な電流を供給できるので、ゲート容量が大きいトランジスタに対しても、高速なスイッチングを行なわせることができる。   According to the second embodiment of the present invention, since the holding unit outputs a holding voltage corresponding to the stored charge amount via the output buffer, the reduction in the charge amount due to the output of the holding voltage is suppressed. it can. In addition, since the holding portion can supply a sufficient current to the gate of the transistor, high-speed switching can be performed even for a transistor having a large gate capacitance.

[実施の形態3]
実施の形態1および2においては、保持部に含まれる出力バッファを介して保持電圧が出力される構成について説明した。
[Embodiment 3]
In the first and second embodiments, the configuration in which the holding voltage is output via the output buffer included in the holding unit has been described.

一方、実施の形態3では、出力電流値を負帰還させるための演算増幅器を出力バッファとしても利用する構成について説明する。   On the other hand, in the third embodiment, a configuration in which an operational amplifier for negatively feeding back an output current value is also used as an output buffer will be described.

図8は、実施の形態3に従う定電流回路103の概略構成図である。
図8を参照して、定電流回路103は、実施の形態2に従う定電流回路102において、スイッチSW4を付加し、かつ、保持部40およびスイッチSW1をそれぞれ保持部50およびスイッチSW5に代えたものである。
FIG. 8 is a schematic configuration diagram of constant current circuit 103 according to the third embodiment.
Referring to FIG. 8, constant current circuit 103 is the same as constant current circuit 102 according to the second embodiment, except that switch SW4 is added and holding unit 40 and switch SW1 are replaced with holding unit 50 and switch SW5, respectively. It is.

スイッチSW4は、演算増幅器OP1の入力側に配置され、制御部20から受けた切換指令に応じて、演算増幅器OP1へ与える信号を切換える。そして、制御部22からポートAを選択するための切換指令を受けると、スイッチSW5は、演算増幅器OP1の「+」側に電流設定値Vを与え、「−」側に抵抗Rに生じる電圧を与える。すなわち、スイッチSW5は、実施の形態1および2と同様に、電流設定値Vに相当する出力電流IOUTを供給するための負帰還回路を形成する。 Switch SW4 is arranged on the input side of operational amplifier OP1, and switches a signal applied to operational amplifier OP1 in accordance with a switching command received from control unit 20. When receiving a switching command for selecting the port A from the control unit 22, the switch SW5 gives the current set value V I to the “+” side of the operational amplifier OP1 and the voltage generated in the resistor R on the “−” side. give. That is, switch SW5 forms a negative feedback circuit for supplying output current I OUT corresponding to current set value V I as in the first and second embodiments.

一方、制御部22からポートBまたはCを選択するための切換指令を受けると、スイッチSW4は、演算増幅器OP1の「+」側にキャパシタ電圧Vchを与え、「−」側に演算増幅器OP1の出力電圧を与える。すなわち、スイッチSW4は、演算増幅器OP1からなるユニティ・ゲイン・バッファを形成し、保持部50の出力バッファとして機能させる。 On the other hand, when receiving the switching command for selecting the port B or C from the control unit 22, switch SW4, the operational amplifier OP1 "+" side to give the capacitor voltage V ch, "-" side of the operational amplifier OP1 Give the output voltage. That is, the switch SW4 forms a unity gain buffer including the operational amplifier OP1 and functions as an output buffer of the holding unit 50.

保持部50は、実施の形態2に従う定電流回路102における保持部40において、出力バッファである演算増幅器OP2を取除いたものである。その他の部位は、保持部40と同様であるので、詳細な説明は繰返さない。   Holding unit 50 is obtained by removing operational amplifier OP2 that is an output buffer from holding unit 40 in constant current circuit 102 according to the second embodiment. Since other parts are the same as those of holding unit 40, detailed description will not be repeated.

スイッチSW5は、トランジスタTRのゲートの入力側に配置され、制御部20から受けた切換指令に応じて、トランジスタTRのゲートへ与える電圧を切換える。そして、制御部22からポートAまたはBを選択するための切換指令を受けると、スイッチSW5は、演算増幅器OP1から出力される差動電圧V(ポートAへの切換指令時)または保持電圧V(ポートBへの切換指令時)をトランジスタTRのゲートへ与える。一方、制御部22からポートCを選択するための切換指令を受けると、スイッチSW5は、基準電位をトランジスタTRのゲートへ与える。 Switch SW5 is arranged on the input side of the gate of transistor TR, and switches the voltage applied to the gate of transistor TR in accordance with a switching command received from control unit 20. When receiving a switching command for selecting port A or B from the control unit 22, the switch SW5 causes the differential voltage V A (at the switching command to the port A) or the holding voltage V output from the operational amplifier OP1. B (when switching to port B is commanded) is applied to the gate of transistor TR. On the other hand, upon receiving a switching command for selecting port C from control unit 22, switch SW5 applies a reference potential to the gate of transistor TR.

以下、実施の形態3に従う定電流回路103の動作について詳細に説明する。
PWM信号のオン期間において、制御部22からポートAを選択するための切換指令が与えられると、演算増幅器OP1は、電流設定値Vおよび抵抗Rに生じる電圧を受ける。そして、演算増幅器OP1は、抵抗Rに生じる電圧が負帰還されることで、出力電流IOUTが電流設定値Vに応じた電流値と一致するように、電流指令値である差動電圧Vを変化させる。同時に、トランジスタTRのゲートには、演算増幅器OP1から出力された差動電圧Vが与えられる。また、保持部50は、演算増幅器OP1から出力される差動電圧Vを受け、その電圧に応じた電荷量を蓄える。
Hereinafter, the operation of constant current circuit 103 according to the third embodiment will be described in detail.
In the ON period of the PWM signal, when the switching command is given for selecting the port A from the control unit 22, the operational amplifier OP1 receives a voltage generated in the current set value V I and the resistor R. Then, the operational amplifier OP1 provides a differential voltage V, which is a current command value, so that the voltage generated in the resistor R is negatively fed back so that the output current I OUT matches the current value corresponding to the current set value V I. Change A. At the same time, the differential voltage VA output from the operational amplifier OP1 is applied to the gate of the transistor TR. The holding unit 50 receives the differential voltage VA output from the operational amplifier OP1, and stores an amount of charge corresponding to the voltage.

次に、PWM信号のオン期間が終了し、制御部22からポートCを選択するための切換指令が与えられると、保持部50は、差動電圧Vによる電荷の蓄電を終了し、キャパシタ46に蓄えられた電荷量に応じたキャパシタ電圧Vchを出力する。同時に、演算増幅器OP1は、キャパシタ電圧Vchおよび自己の出力電圧を受ける。そして、演算増幅器OP1は、キャパシタ電圧Vchの出力容量を増大させて、保持電圧Vとして出力する。 Next, when the ON period of the PWM signal ends and a switching command for selecting port C is given from the control unit 22, the holding unit 50 ends the charge storage by the differential voltage V A and the capacitor 46. The capacitor voltage Vch corresponding to the amount of charge stored in is output. At the same time, the operational amplifier OP1 receives the capacitor voltage Vch and its own output voltage. The operational amplifier OP1, to increase the output capacitance of the capacitor voltage V ch, outputs a holding voltage V B.

また、トランジスタTRのゲートには、基準電位が与えられる。
さらに、PWM信号のオフ期間が終了し、制御部22からポートBを選択するための切換指令が与えられると、保持部50および演算増幅器OP1の状態は変化せず、トランジスタTRのゲートに、演算増幅器OP1から出力された保持電圧Vが与えられる。
A reference potential is applied to the gate of the transistor TR.
Further, when the OFF period of the PWM signal ends and a switching command for selecting port B is given from the control unit 22, the states of the holding unit 50 and the operational amplifier OP1 do not change, and the gate of the transistor TR The holding voltage V B output from the amplifier OP1 is applied.

以下、制御部22から出力される切換指令に応じて、同様の動作が繰返される。
上述のように、保持部から出力される保持電圧VがトランジスタTRのゲートへ与えられる期間においては、原則として、抵抗Rに生じる電圧を負帰還させる必要がない。そのため、負帰還動作を中止し、演算増幅器OP1を出力バッファとして機能させることができる。
Hereinafter, the same operation is repeated according to the switching command output from the control unit 22.
As described above, in the period in which the holding voltage V B is applied to the gate of the transistor TR output from the holding unit, in principle, there is no need to negative feedback voltage generated in the resistor R. Therefore, the negative feedback operation can be stopped and the operational amplifier OP1 can function as an output buffer.

この発明の実施の形態3によれば、実施の形態2における効果に加えて、出力電流を調整するための演算増幅器を保持部の出力バッファとして機能させるため、1つの演算増幅器で定電流回路を構成することができる。よって、定電流回路の構成がより簡素化され、製造コストを抑制することができる。   According to the third embodiment of the present invention, in addition to the effect of the second embodiment, in order to cause the operational amplifier for adjusting the output current to function as the output buffer of the holding unit, the constant current circuit is configured by one operational amplifier. Can be configured. Therefore, the configuration of the constant current circuit is further simplified, and the manufacturing cost can be suppressed.

上述した実施の形態以外にも、たとえば、複数のトランジスタがそれぞれ負荷へ電流を供給する定電流回路において、各トランジスタへ保持電圧を与える共通の保持部をもつように構成してもよい。また、保持部に含まれるレジスタを不揮発性のレジスタとし、初回のオン期間以降または電流設定値が変更された後の最初のオン期間以降においては、外部から供給される電源が喪失した場合であっても差動電圧の取込みを省略するように構成してもよい。さらに、出力開始後の最初のオン期間または電流設定値が変更された後の最初のオン期間以降において、電流設定部や演算増幅器の動作を停止するように構成してもよい。   In addition to the above-described embodiment, for example, a constant current circuit in which a plurality of transistors respectively supply current to a load may be configured to have a common holding unit that supplies a holding voltage to each transistor. In addition, the register included in the holding unit is a non-volatile register, and the power supplied from the outside is lost after the first on-period or after the first on-period after the current set value is changed. However, the differential voltage may be omitted. Furthermore, the operation of the current setting unit and the operational amplifier may be stopped after the first on period after the output is started or after the first on period after the current set value is changed.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

実施の形態1に従う半導体装置の概略構成図である。1 is a schematic configuration diagram of a semiconductor device according to a first embodiment. 出力開始指令が与えられた直後における定電流回路の各部の時間波形を示す図である。It is a figure which shows the time waveform of each part of the constant current circuit immediately after an output start command is given. 電流設定値が変更された場合における定電流回路の各部の時間波形を示す図である。It is a figure which shows the time waveform of each part of a constant current circuit when a current setting value is changed. 定電流回路の制御部における処理フローチャートである。It is a process flowchart in the control part of a constant current circuit. 実施の形態2に従う定電流回路の概略構成図である。FIG. 6 is a schematic configuration diagram of a constant current circuit according to a second embodiment. 出力開始指令が与えられた直後における定電流回路の各部の時間波形を示す図である。It is a figure which shows the time waveform of each part of the constant current circuit immediately after an output start command is given. 定期的に蓄電動作を行なう場合における定電流回路の各部の時間波形を示す図である。It is a figure which shows the time waveform of each part of a constant current circuit in the case of performing an electrical storage operation | movement regularly. 実施の形態3に従う定電流回路の概略構成図である。FIG. 6 is a schematic configuration diagram of a constant current circuit according to a third embodiment. 従来のPWM方式の定電流回路の概略構成図である。It is a schematic block diagram of the conventional constant current circuit of a PWM system. 従来の定電流回路における各部の時間波形を示す図である。It is a figure which shows the time waveform of each part in the conventional constant current circuit. 図10(c)に示す拡大区間における各部の時間波形である。It is a time waveform of each part in the expansion section shown in Drawing 10 (c).

符号の説明Explanation of symbols

2 電源ノード、10 電流設定部、12,34 レジスタ、14,36 デジタル/アナログ変換器(D/A)、20,22 制御部、24,80 PWM信号発生部、30,40,50 保持部、32 デジタル/アナログ変換器(D/A)、46 キャパシタ、101,102,103,200 定電流回路、IOUT 出力電流、LED 負荷、OP1,OP2 演算増幅器、R 抵抗、R1,R2 分圧抵抗、SW1,SW2,SW3,SW4,SW5,SW6 スイッチ、Td1 むだ時間、Td2 遅れ時間、TR トランジスタ、V 差動電圧、V 保持電圧、VCC 電源電圧、Vch キャパシタ電圧、V ゲート電圧、V 電流設定値、ΔVch 電圧低下分。 2 power supply node, 10 current setting unit, 12, 34 register, 14, 36 digital / analog converter (D / A), 20, 22 control unit, 24, 80 PWM signal generation unit, 30, 40, 50 holding unit, 32 digital / analog converter (D / A), 46 capacitor, 101, 102, 103, 200 constant current circuit, IOUT output current, LED load, OP1, OP2 operational amplifier, R resistor, R1, R2 voltage dividing resistor, SW1, SW2, SW3, SW4, SW5, SW6 switch, Td1 dead time, Td2 delay time, TR transistor, V A differential voltage, V B holding voltage, V CC supply voltage, V ch capacitor voltage, V G gate voltage, V I current setting value, [Delta] V ch voltage decrement.

Claims (8)

電流調整指令に従い負荷へ供給する電流を調整するスイッチング素子と、
第1の設定値と前記負荷へ供給される電流値に応じた値とを比較し、前記電流値が前記第1の設定値と一致するように第1の電流調整指令を出力する比較部と、
第2の設定値に基づいて、前記スイッチング素子から電流が供給される時間比率を調整するためのPWMの切換信号を出力する制御部と
持指令を受けると、その時点における前記第1の電流調整指令を保持し、保持した前記第1の電流調整指令を第2の電流調整指令として出力する保持部と
前記第1の電流調整指令、前記第2の電流調整指令、基準電圧、および、前記切換信号が入力され、前記制御部からの前記切換信号のオン期間には、前記第1の電流調整指令または前記第2の電流調整指令を出力し、オフ期間には、前記基準電圧を出力することにより、PWM信号を前記電流調整指令として前記スイッチング素子へ与えるスイッチ部とを備え、
前記制御部は、前記負荷へ供給される電流値が前記第1の設定値と略一致した時点において、前記保持部へ前記保持指令を与え、その後、前記スイッチ部は、前記切換信号のオン期間に前記第1の電流調整指令に代えて前記保持部から出力される前記第2の電流調整指令を前スイッチング素子へ与えることを特徴とする、定電流回路。
A switching element for adjusting the current supplied to the load according to the current adjustment command;
A comparison unit that compares a first set value with a value corresponding to a current value supplied to the load and outputs a first current adjustment command so that the current value matches the first set value; ,
A control unit based on the second set value, the current from the switching element to output a PWM switching signal for adjusting the time ratio to be supplied,
When receiving a hold command, a holding unit for outputting holding the first current adjustment command at that time, the first current adjustment command holding a second current adjustment command,
The first current adjustment command, the second current adjustment command, a reference voltage, and the switching signal are input, and during the ON period of the switching signal from the control unit, the first current adjustment command or outputting the second current adjustment command, the off period by outputting the reference voltage, and a switch section that gives to said switching element a PWM signal as said current adjustment command,
The control unit gives the holding command to the holding unit at a time point when a current value supplied to the load substantially coincides with the first set value, and then the switch unit sets an ON period of the switching signal. characterized in that providing the second current adjusting command output from the holding portion to the front Symbol switching element in place of said first current adjustment command, the constant current circuit.
記制御部は、
外部から電流の供給を開始するための出力開始指令を受けて、前記切換信号の出力を開始し、かつ、
前記切換信号の出力を開始した後の最初のオン期間において、前記保持部へ前記保持指令を与える、請求項1に記載の定電流回路。
Before Symbol control unit,
Receiving an output start command for starting the supply of current from the outside, and starts output of the switching signal, and,
Wherein in the first on period after starting the output of the switching signal, providing the hold command to the holding portion, a constant current circuit according to claim 1.
記第1の設定値が更新されると、前記スイッチ部は、前記切換信号のオン期間に前記第1の電流調整指令を前スイッチング素子へ出力し、その後、前記制御部は、前記負荷へ供給される電流値が更新された前記第1の設定値と略一致した時点において、前記保持部へ前記保持指令を与える、請求項1または2に記載の定電流回路。 When the first set value before Symbol is updated, the switch unit, the output to Previous Stories switching element said first current adjustment command to the on-period of the switching signal, then the control unit, the 3. The constant current circuit according to claim 1, wherein the holding command is given to the holding unit when a current value supplied to the load substantially coincides with the updated first set value. 4. 前記保持部は、前記第1の電流調整指令をデジタル値に変換して記憶する、請求項1〜3のいずれか1項に記載の定電流回路。   The constant current circuit according to claim 1, wherein the holding unit converts the first current adjustment command into a digital value and stores the digital value. 前記保持部は、前記第1の電流調整指令に応じた電荷量を蓄電することにより前記第1の電流調整指令を保持する、請求項1〜3のいずれか1項に記載の定電流回路。   The constant current circuit according to any one of claims 1 to 3, wherein the holding unit holds the first current adjustment command by storing a charge amount according to the first current adjustment command. 前記保持部は、出力バッファを介して前記第2の電流調整指令を出力する、請求項1〜5のいずれか1項に記載の定電流回路。   The constant current circuit according to claim 1, wherein the holding unit outputs the second current adjustment command via an output buffer. 前記比較部は、さらに、前記保持部から出力される前記第2の電流調整指令の出力バッファとして機能する、請求項1〜5のいずれか1項に記載の定電流回路。   The constant current circuit according to claim 1, wherein the comparison unit further functions as an output buffer for the second current adjustment command output from the holding unit. 電源と、
前記電源と接続された負荷と、
前記電源および前記負荷と直列に接続され、電流調整指令に従い負荷へ供給する電流を調整するスイッチング素子と、
第1の設定値と前記負荷へ供給される電流値に応じた値とを比較し、前記電流値が前記第1の設定値と一致するように第1の電流調整指令を出力する比較部と、
第2の設定値に基づいて、前記スイッチング素子から電流が供給される時間比率を調整するためのPWMの切換信号を出力する制御部と
持指令を受けると、その時点における前記第1の電流調整指令を保持し、保持した前記第1の電流調整指令を第2の電流調整指令として出力する保持部と
前記第1の電流調整指令、前記第2の電流調整指令、基準電圧、および、前記切換信号が入力され、前記制御部からの前記切換信号のオン期間には、前記第1の電流調整指令または前記第2の電流調整指令を出力し、オフ期間には、前記基準電圧を出力することにより、PWM信号を前記電流調整指令として前記スイッチング素子へ与えるスイッチ部とを備え、
前記制御部は、前記負荷へ供給される電流値が前記第1の設定値と略一致した時点において、前記保持部へ前記保持指令を与え、その後、前記スイッチ部は、前記切換信号のオン期間に前記第1の電流調整指令に代えて前記保持部から出力される前記第2の電流調整指令を前スイッチング素子へ与えることを特徴とする、電子機器。
Power supply,
A load connected to the power source;
A switching element that is connected in series with the power source and the load and adjusts a current supplied to the load according to a current adjustment command;
A comparison unit that compares a first set value with a value corresponding to a current value supplied to the load and outputs a first current adjustment command so that the current value matches the first set value; ,
A control unit based on the second set value, the current from the switching element to output a PWM switching signal for adjusting the time ratio to be supplied,
When receiving a hold command, a holding unit for outputting holding the first current adjustment command at that time, the first current adjustment command holding a second current adjustment command,
The first current adjustment command, the second current adjustment command, a reference voltage, and the switching signal are input, and during the ON period of the switching signal from the control unit, the first current adjustment command or outputting the second current adjustment command, the off period by outputting the reference voltage, and a switch section that gives to said switching element a PWM signal as said current adjustment command,
The control unit gives the holding command to the holding unit at a time point when a current value supplied to the load substantially coincides with the first set value, and then the switch unit sets an ON period of the switching signal. characterized in that providing the second current adjusting command output from the holding portion to the front Symbol switching element in place of said first current adjustment command, the electronic apparatus.
JP2005174870A 2005-06-15 2005-06-15 Constant current circuit and electronic equipment Expired - Fee Related JP4749049B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005174870A JP4749049B2 (en) 2005-06-15 2005-06-15 Constant current circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005174870A JP4749049B2 (en) 2005-06-15 2005-06-15 Constant current circuit and electronic equipment

Publications (2)

Publication Number Publication Date
JP2006350608A JP2006350608A (en) 2006-12-28
JP4749049B2 true JP4749049B2 (en) 2011-08-17

Family

ID=37646389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005174870A Expired - Fee Related JP4749049B2 (en) 2005-06-15 2005-06-15 Constant current circuit and electronic equipment

Country Status (1)

Country Link
JP (1) JP4749049B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9563144B2 (en) 2015-03-06 2017-02-07 Canon Kabushiki Kaisha Charging device, process cartridge, and image forming apparatus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6227890B2 (en) * 2012-05-02 2017-11-08 株式会社半導体エネルギー研究所 Signal processing circuit and control circuit
JP7472577B2 (en) * 2020-03-23 2024-04-23 株式会社オートネットワーク技術研究所 Current control device, switch control device, current control method, and computer program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2512869B2 (en) * 1985-12-25 1996-07-03 富士ゼロックス株式会社 Light emitting element output control device
JPH0869577A (en) * 1994-08-30 1996-03-12 Rohm Co Ltd Driving controller
JPH11233828A (en) * 1998-02-10 1999-08-27 Fuji Xerox Co Ltd Light emitting element driving circuit and its driving method
DE19930174A1 (en) * 1999-06-30 2001-01-04 Patent Treuhand Ges Fuer Elektrische Gluehlampen Mbh Control circuit for LED and associated operating method
JP2002324685A (en) * 2001-04-25 2002-11-08 Sony Corp Lighting device
JP4017960B2 (en) * 2002-10-24 2007-12-05 日本テキサス・インスツルメンツ株式会社 Driving circuit
JP2005116859A (en) * 2003-10-09 2005-04-28 Yamaha Corp Current-driven light-emitting element driving circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9563144B2 (en) 2015-03-06 2017-02-07 Canon Kabushiki Kaisha Charging device, process cartridge, and image forming apparatus

Also Published As

Publication number Publication date
JP2006350608A (en) 2006-12-28

Similar Documents

Publication Publication Date Title
JP4017960B2 (en) Driving circuit
JP6042091B2 (en) Switching regulator control circuit, switching regulator and electronic equipment, switching power supply, television
TWI431913B (en) Current detection circuit and current mode switch regulator
US7026851B2 (en) PWM controller having frequency jitter for power supplies
JP5577829B2 (en) Power supply device, control circuit, and control method for power supply device
WO2006059705A1 (en) Switching power supply and its control circuit, and electronic apparatus employing such switching power supply
TW201315114A (en) Electronic circuits and techniques for improving a short duty cycle behavior of a DC-DC converter driving a load
JP4226509B2 (en) Drive circuit and power supply device for voltage-driven switch element
JPH10248240A (en) Charge pump circuit
TWI435522B (en) Charge pump controller and method therefor
JP2012010577A (en) Overcurrent protection circuit and overcurrent protection method
WO2005096480A1 (en) Power supply and display
JP2006158055A (en) Switching power supply
JP2010279138A (en) Step-up dc-dc switching converter and semiconductor integrated circuit device
JP4566692B2 (en) LIGHT EMITTING DIODE DRIVING DEVICE AND OPTICAL TRANSMISSION DEVICE HAVING THE SAME
JP4749049B2 (en) Constant current circuit and electronic equipment
JP2007028732A (en) Switching circuit and switching power unit
JP2010283999A (en) Power supply, control circuit, and control method of power supply
JP2010277226A (en) Dc stabilized power supply device and electronic apparatus including the same
JP6914010B2 (en) Drive device
US20050035811A1 (en) Apparatus for controlling a boosted voltage and method of controlling a boosted voltage
JP2010063231A (en) Switching regulator
JP5070555B2 (en) Circuit and method for controlling the power supply of a pulse waveform
JP2004318339A (en) Dropper type regulator and power unit using same
US6654258B2 (en) Resonant power supply circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110401

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110510

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110517

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140527

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees