JP3991706B2 - Digital / analog conversion circuit - Google Patents

Digital / analog conversion circuit Download PDF

Info

Publication number
JP3991706B2
JP3991706B2 JP2002045565A JP2002045565A JP3991706B2 JP 3991706 B2 JP3991706 B2 JP 3991706B2 JP 2002045565 A JP2002045565 A JP 2002045565A JP 2002045565 A JP2002045565 A JP 2002045565A JP 3991706 B2 JP3991706 B2 JP 3991706B2
Authority
JP
Japan
Prior art keywords
pulse width
pass filter
low
output
signal
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
JP2002045565A
Other languages
Japanese (ja)
Other versions
JP2003249855A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002045565A priority Critical patent/JP3991706B2/en
Publication of JP2003249855A publication Critical patent/JP2003249855A/en
Application granted granted Critical
Publication of JP3991706B2 publication Critical patent/JP3991706B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、一般に、ディジタル信号をアナログ信号に変換するDAC(Digital to Analog Converter:ディジタル/アナログ変換回路)に関し、特に、PWM(Pulse Width Modulation:パルス幅変調)を利用してディジタル信号をアナログ信号に変換するDACに関する。
【0002】
【従来の技術】
従来から、PWMを利用してディジタル信号をアナログ信号に変換するDACが用いられている。このようなDACは、入力データに基づいて出力信号のパルス幅(デューティ)を変調するPWM回路と、PWM回路の出力信号を平滑化するローパスフィルタとを含んでいる。ローパスフィルタとしては、一般的に、抵抗とコンデンサとを組み合わせたCR型のローパスフィルタが所定の段数用いられる。DACの出力波形を安定させるためには、CRの時定数を大きくするか、ローパスフィルタの段数を大きくする必要がある。
【0003】
一方、プリンタにおいては、印字用紙を送ったり印字ヘッドを移動させるためのモータを駆動するモータドライバ回路においてDACが用いられている。このようなDACにおいては、応答時間を短縮することが求められる。しかしながら、CRの時定数やローパスフィルタの段数が大きいと、DACの応答が遅くなり、必要なスピードが得られないという問題があった。
【0004】
【発明が解決しようとする課題】
そこで、上記の点に鑑み、本発明は、PWMを利用したDACにおいて、出力波形を安定させたままで応答時間を短縮することを目的とする。
【0005】
【課題を解決するための手段】
以上の課題を解決するため、本発明の第1の観点に係るDACは、制御信号に応じて出力信号のパルス幅を変調するパルス幅変調回路と、パルス幅変調回路の出力信号を平滑化してアナログ出力電圧を生成するローパスフィルタと、入力データに基づいて、パルス幅変調回路に供給する制御信号を生成すると共に、パルス幅変調回路が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、セトリング期間においてローパスフィルタの中間ノード又は出力ノードに信号を印加するローパスフィルタ制御手段とを具備する。
【0006】
ここで、ローパスフィルタ制御手段が、ローパスフィルタの中間ノード又は出力ノードに中点電位よりも高い電位を有する信号を印加するための第1のトランジスタと、ローパスフィルタの中間ノード又は出力ノードに中点電位よりも低い電位を有する信号を印加するための第2のトランジスタと、パルス幅変調回路が出力すべきパルス幅の変化量が正であり、その値が所定の値を越える場合に、セトリング期間において第1のトランジスタを動作させ、パルス幅変調回路が出力すべきパルス幅の変化量が負であり、その絶対値が所定の値を越える場合に、セトリング期間において第2のトランジスタを動作させる制御部とを含むようにしても良い。
【0010】
また、本発明の第の観点に係るDACは、制御信号に応じて出力信号のパルス幅を変調するパルス幅変調回路と、パルス幅変調回路の出力信号を平滑化してアナログ出力電圧を生成するローパスフィルタと、入力データに基づいて、パルス幅変調回路に供給する制御信号を生成すると共に、パルス幅変調回路が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、セトリング期間においてローパスフィルタの時定数を変化させるローパスフィルタ制御手段と、ローパスフィルタによって生成されたアナログ出力電圧をアナログ/ディジタル変換するアナログ/ディジタル変換回路と、アナログ/ディジタル変換回路から出力されるデータを入力データと比較することによりセトリング期間を設定するコンパレータとを具備する。
【0011】
本発明によれば、PWMを利用したDACにおいて、パルス幅変調回路が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、パルス幅が変化するセトリング期間において、ローパスフィルタに信号を印加するか、又は、ローパスフィルタの時定数を変化させることにより、出力波形を安定させたままで応答時間を短縮することが可能となる。
【0012】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を参照しながら詳しく説明する。なお、同一の構成要素には同一の参照番号を付して、説明を省略する。
図1は、本発明の第1の実施形態に係るDACの構成を示すブロック図であり、図2は、本発明の第1の実施形態に係るDACの各部の信号波形を示すタイミングチャートである。
【0013】
図1に示すように、このDACは、制御信号に応じて出力信号のパルス幅(デューティ)を変調するPWM回路11と、PWM回路11の出力信号を平滑化してアナログ出力電圧VOUTを生成するローパスフィルタ13と、入力データに基づいて、PWM回路11に供給する制御信号を生成すると共に、PWM回路11が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、セトリング期間TSにおいてローパスフィルタ13の所定の部分に信号を印加するローパスフィルタ制御手段12とを含んでいる。
【0014】
ローパスフィルタ13としては、抵抗とコンデンサとを組み合わせたCR型のローパスフィルタが所定の段数用いられる。本実施形態においては、抵抗R1及びR2と、コンデンサC1及びC2とを含む2段のローパスフィルタを用いている。
【0015】
ローパスフィルタ制御手段12は、制御部14と、ルックアップテーブル15と、トランジスタ16及び17と、電源電位VDD及びVSSがそれぞれ供給される電源端子18及び19とを含んでいる。制御部14は、入力データに基づいて、PWM回路11に供給する制御信号を生成する。また、制御部14は、PWM回路11が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、所定の変化前におけるパルス幅τ1の値と所定の変化後におけるパルス幅τ2の値とをルックアップテーブル15に出力し、これに対応するセトリング期間TSの値をルックアップテーブル15から入力する。
【0016】
セトリング期間TSは、パルス幅τ1及びτ2の関数f(τ1,τ2)として表される。この値をローパスフィルタ制御手段12においてその都度計算により求めても良いが、本実施形態においては、ルックアップテーブル15を用いることにより応答時間を短縮している。ルックアップテーブル15は、パルス幅τ1及びτ2の値に対応して設定されたセトリング期間TSの値を格納している。
【0017】
PWM回路11が出力すべきパルス幅の変化量が正であり、その値が所定の値を越える場合には、制御部14がセトリング期間TSにおいてトランジスタ16を動作させて、中点電位(VDD−VSS)/2よりも高い電位を有するパルスPBをローパスフィルタ13のノードAに印加する。一方、PWM回路11が出力すべきパルス幅の変化量が負であり、その絶対値が所定の値を越える場合には、制御部14がセトリング期間TSにおいてトランジスタ17を動作させて、中点電位(VDD−VSS)/2よりも低い電位を有するパルスPBをローパスフィルタ13のノードAに印加する。なお、これらの電位をノードAに印加する替わりに、ノードBに印加しても良いし、若しくは、ノードAとノードBとに同時に印加するようにしても良い。
【0018】
次に、図1及び図2を参照しながら、本実施形態に係るDACの動作について説明する。図2は、パルス幅の変化量が正の場合を示している。
パルス幅の所定の変化前において、制御部14は、一定周期Tでパルス幅τ1のパルスPAを発生するように、PWM回路11に制御信号を供給する。PWM回路11が発生したパルスPAは、ローパスフィルタ13に入力される。また、制御部14は、トランジスタ16及び17をオープン状態とする。従って、パルスPAが、ローパスフィルタ13によって平滑化されて、アナログ出力電圧VOUTの値はV1になる。
【0019】
パルス幅の所定の変化の際に、制御部14は、一定周期Tでパルス幅τ2のパルスPAを発生するように、PWM回路11に制御信号を供給する。また、制御部14は、所定の変化前後におけるパルス幅τ1、τ2の値に対応するセトリング期間TSの値を予めルックアップテーブル15から読み出しておく。PWM回路11が出力すべきパルス幅の変化量が正であり、その値が所定の値を越える場合には、制御部14がセトリング期間TSにおいてトランジスタ16を動作させる。トランジスタ16は、例えば電位VDDのパルスPBをローパスフィルタ13のノードAに印加する。パルスPBは、ローパスフィルタ13によって平滑化されて、アナログ出力電圧VOUTは急激に上昇する。なお、このような動作は一時的なものであり、長い期間で観察すれば、アナログ出力電圧VOUTの波形は安定していると言える。
【0020】
セトリング期間TSの経過後において、制御部14は、一定周期Tでパルス幅τ2のパルスPAを発生するように、PWM回路11に制御信号を供給する。PWM回路11が発生したパルスPAは、ローパスフィルタ13に入力される。また、制御部14は、トランジスタ16及び17をオープン状態とする。従って、パルスPAが、ローパスフィルタ13によって平滑化されて、アナログ出力電圧VOUTの値はV2になる。
【0021】
なお、パルス幅の所定の変化の際に、PWM回路11が出力すべきパルス幅の変化量が負であり、その絶対値が所定の値を越える場合には、制御部14がセトリング期間TSにおいてトランジスタ17を動作させる。トランジスタ17は、例えば電位VSSのパルスPBをローパスフィルタ13のノードAに印加する。パルスPBは、ローパスフィルタ13によって平滑化されて、アナログ出力電圧VOUTは急激に下降する。
【0022】
このように、アナログ出力電圧を急激に上昇又は下降させなければならない過渡期において、ローパスフィルタ13の所定のノードに所定の期間ハイレベル又はローレベルの信号を印加することにより、DACの応答時間を短縮させることができる。
【0023】
次に、本発明の第2の実施形態について説明する。図3は、本発明の第2の実施形態に係るDACの構成を示すブロック図であり、図4は、本発明の第2の実施形態に係るDACの各部の信号波形を示すタイミングチャートである。
【0024】
図3に示すように、このDACは、制御信号に応じて出力信号のパルス幅(デューティ)を変調するPWM回路21と、PWM回路21の出力信号を平滑化してアナログ出力電圧VOUTを生成するローパスフィルタ23と、入力データに基づいて、PWM回路21に供給する制御信号を生成すると共に、PWM回路21が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、セトリング期間TSにおいてローパスフィルタ23の時定数を変化させるローパスフィルタ制御手段22とを具備する。
【0025】
ローパスフィルタ23としては、抵抗とコンデンサとを組み合わせたCR型のローパスフィルタが所定の段数用いられる。本実施形態においては、抵抗R1及びR2と、コンデンサC1及びC2とを含む2段のローパスフィルタを用いている。
【0026】
ローパスフィルタ制御手段22は、制御部24と、ルックアップテーブル25と、トランジスタ26及び27とを含んでいる。制御部24は、入力データに基づいて、PWM回路21に供給する制御信号を生成する。また、制御部24は、PWM回路21が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、所定の変化前におけるパルス幅τの値と所定の変化後におけるパルス幅τの値とをルックアップテーブル25に出力し、これに対応するセトリング期間Tの値をルックアップテーブル25から入力する。
【0027】
セトリング期間TSは、パルス幅τ1及びτ2の関数f(τ1,τ2)として表される。この値をローパスフィルタ制御手段22においてその都度計算により求めても良いが、本実施形態においては、ルックアップテーブル25を用いることにより応答時間を短縮している。ルックアップテーブル25は、パルス幅τ1及びτ2の値に対応して設定されたセトリング期間TSの値を格納している。
【0028】
PWM回路11が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合には、制御部14がセトリング期間TSにおいてトランジスタ26及び27をオンさせて、ローパスフィルタ23の時定数を減少させる。
【0029】
次に、図3及び図4を参照しながら、本実施形態に係るDACの動作について説明する。図4は、パルス幅の変化が正の場合を示している。
パルス幅の所定の変化前において、制御部24は、一定周期Tでパルス幅τ1のパルスPCを発生するように、PWM回路21に制御信号を供給する。PWM回路21が発生したパルスPCは、ローパスフィルタ23に入力される。また、制御部24は、トランジスタ26及び27をオープン状態とする。従って、パルスPcが、ローパスフィルタ23によって平滑化されて、アナログ出力電圧VOUTの値はV1になる。
【0030】
パルス幅の所定の変化の際に、制御部24は、一定周期Tでパルス幅τ2のパルスPCを発生するように、PWM回路21に制御信号を供給する。また、制御部24は、所定の変化前後におけるパルス幅τ1、τ2の値に対応するセトリング期間TSの値を予めルックアップテーブル25から読み出しておく。PWM回路11が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合には、制御部14がセトリング期間TSにおいてトランジスタ26及び27をオンさせる。これにより、R2が短絡して、ローパスフィルタ23の時定数TCRが(C1+C2)(R1+R2)から(C1+C2)R1へと減少する。ここで、アナログ出力電圧VOUTの過渡応答は、次式で表される。
OUT={1−exp(−t/TCR)}V0
従って、アナログ出力電圧VOUTは、急激に上昇又は下降するようになる。なお、このような動作は一時的なものであり、長い期間で観察すれば、アナログ出力電圧VOUTの波形は安定していると言える。
【0031】
セトリング期間TSの経過後において、制御部24は、一定周期Tでパルス幅τ2のパルスPCを発生するように、PWM回路21に制御信号を供給する。PWM回路21が発生したパルスPCは、ローパスフィルタ23に入力される。また、制御部24は、トランジスタ26及び27をオープン状態とする。従って、パルスPCは、ローパスフィルタ23によって平滑化されて、アナログ出力電圧VOUTの値はV2になる。
【0032】
このように、アナログ出力電圧を急激に上昇又は下降させなければならない過渡期において、ローパスフィルタの時定数を減少させることにより、DACの応答時間を短縮させることができる。
【0033】
次に、本発明の第2の実施形態の変形例について説明する。この変形例においては、予め設定されたセトリング期間の値を用いるのではなく、DACの出力電圧をADC(アナログ/ディジタル変換回路)を用いて再びディジタルデータに戻し、これを入力データと比較することにより、セトリング期間を決定している。
【0034】
図5は、本発明の第2の実施形態の変形例に係るDACの構成を示している。図5に示すように、このDACにおけるローパスフィルタ制御手段32は、制御部34、トランジスタ26及び27に加えて、アナログ出力電圧VOUTをディジタル信号に変換するADC35と、ADC35から出力されるデータ(出力値)を入力データ(ターゲット値)と比較することによりセトリング期間を与えるコンパレータ36とをさらに含んでいる。
【0035】
コンパレータ36は、出力値がターゲット値よりも小さい場合においてハイレベルの比較信号を出力し、出力値がターゲット値以上の場合において、ローレベルの比較信号を出力する。なお、コンパレータ36における比較動作は、出力値とターゲット値の上位ビットに基づいて行うようにしても良い。
【0036】
パルス幅の所定の変化前において、制御部34は、一定周期Tでパルス幅τ1のパルスPCを発生するように、PWM回路21に制御信号を供給する。PWM回路21が発生したパルスPCは、ローパスフィルタ23に入力される。また、制御部34は、トランジスタ26及び27をオープン状態とする。従って、パルスPcが、ローパスフィルタ23によって平滑化されて、アナログ出力電圧VOUTの値はV1になる。
【0037】
パルス幅の所定の変化の際に、制御部34は、一定周期Tでパルス幅τ2のパルスPCを発生するように、PWM回路21に制御信号を供給する。また、出力値がターゲット値よりも小さい場合において、コンパレータ36は、ハイレベルの比較信号を出力する。制御部34は、PWM回路21が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、比較信号がハイレベルであるセトリング期間において、トランジスタ26及び27をオンさせる。これにより、R2が短絡して、ローパスフィルタ23の時定数が減少し、アナログ出力電圧VOUTは、急激に上昇又は下降するようになる。
【0038】
セトリング期間TSの経過後において、制御部34は、一定周期Tでパルス幅τ2のパルスPCを発生するように、PWM回路21に制御信号を供給する。PWM回路21が発生したパルスPCは、ローパスフィルタ23に入力される。また、制御部34は、トランジスタ26及び27をオープン状態とする。従って、パルスPCは、ローパスフィルタ23によって平滑化されて、アナログ出力電圧VOUTの値はV2になる。
【0039】
このように、出力値とターゲット値を比較することによりセトリング期間を設定し、アナログ出力電圧を急激に上昇又は下降させなければならない過渡期において、ローパスフィルタ23の時定数を減少させることにより、DACの応答時間を短縮させることができる。
【0040】
なお、ADC35とコンパレータ36とを用いてセトリング期間を設定する方式は、第2の実施形態のみならず、第1の実施形態にも適用することができる。
【0041】
【発明の効果】
以上述べた様に、本発明によれば、PWMを利用したDACにおいて、出力波形を安定させたままで応答時間を短縮することが可能となる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態に係るDACの構成を示すブロック図である。
【図2】本発明の第1の実施形態に係るDACの各部の信号波形を示すタイミングチャートである。
【図3】本発明の第2の実施形態に係るDACの構成を示すブロック図である。
【図4】本発明の第2の実施形態に係るDACの各部の信号波形を示すタイミングチャートである。
【図5】本発明の第2の実施形態の変形例に係るDACの構成を示すブロック図である。
【符号の説明】
11、21 PWM回路
12、22、32 ローパスフィルタ制御手段
13、23 ローパスフィルタ
14、24、34 制御部
15、25 ルックアップテーブル
16、17、26、27 トランジスタ
18、19 電源端子
35 ADC
36 コンパレータ
[0001]
BACKGROUND OF THE INVENTION
The present invention generally relates to a DAC (Digital to Analog Converter) that converts a digital signal into an analog signal, and more particularly, uses a PWM (Pulse Width Modulation) to convert an analog signal into an analog signal. It relates to a DAC to be converted.
[0002]
[Prior art]
Conventionally, a DAC that converts a digital signal into an analog signal using PWM is used. Such a DAC includes a PWM circuit that modulates the pulse width (duty) of an output signal based on input data, and a low-pass filter that smoothes the output signal of the PWM circuit. As the low-pass filter, a CR-type low-pass filter in which a resistor and a capacitor are combined is generally used for a predetermined number of stages. In order to stabilize the output waveform of the DAC, it is necessary to increase the CR time constant or increase the number of stages of the low-pass filter.
[0003]
On the other hand, in a printer, a DAC is used in a motor driver circuit that drives a motor for feeding printing paper and moving a print head. In such a DAC, it is required to shorten the response time. However, if the CR time constant or the number of stages of the low-pass filter is large, there is a problem that the response of the DAC becomes slow and a necessary speed cannot be obtained.
[0004]
[Problems to be solved by the invention]
Therefore, in view of the above points, an object of the present invention is to shorten a response time while keeping an output waveform stable in a DAC using PWM.
[0005]
[Means for Solving the Problems]
In order to solve the above problems, the DAC according to the first aspect of the present invention smoothes the pulse width modulation circuit that modulates the pulse width of the output signal in accordance with the control signal and the output signal of the pulse width modulation circuit. A low-pass filter that generates an analog output voltage and a control signal to be supplied to the pulse width modulation circuit based on the input data, and the absolute value of the change amount of the pulse width to be output by the pulse width modulation circuit is a predetermined value And a low-pass filter control means for applying a signal to the intermediate node or output node of the low-pass filter during the settling period.
[0006]
Here, the low-pass filter control means applies the first transistor for applying a signal having a potential higher than the midpoint potential to the intermediate node or output node of the lowpass filter, and the midpoint to the intermediate node or output node of the lowpass filter. The second transistor for applying a signal having a potential lower than the potential and the amount of change in pulse width to be output by the pulse width modulation circuit is positive, and the set value exceeds the predetermined value. In which the first transistor is operated and the second transistor is operated in the settling period when the change amount of the pulse width to be output by the pulse width modulation circuit is negative and the absolute value thereof exceeds a predetermined value. May be included.
[0010]
Furthermore, DAC according to a second aspect of the present invention includes a pulse width modulation circuit for modulating the pulse width of the output signal in response to the control signal to generate an analog output voltage an output signal of the pulse width modulation circuit smoothes Generates a control signal to be supplied to the pulse width modulation circuit based on the low-pass filter and input data, and setstling when the absolute value of the pulse width change amount to be output by the pulse width modulation circuit exceeds a predetermined value Low-pass filter control means for changing the time constant of the low-pass filter during the period, analog / digital conversion circuit for analog / digital conversion of the analog output voltage generated by the low-pass filter, and data output from the analog / digital conversion circuit A comparator that sets the settling period by comparing with the data
[0011]
According to the present invention, in a DAC using PWM, when the absolute value of the change amount of the pulse width to be output by the pulse width modulation circuit exceeds a predetermined value, the low-pass filter is set in the settling period in which the pulse width changes. By applying a signal or changing the time constant of the low-pass filter, it is possible to shorten the response time while keeping the output waveform stable.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The same constituent elements are denoted by the same reference numerals, and the description thereof is omitted.
FIG. 1 is a block diagram showing a configuration of a DAC according to the first embodiment of the present invention, and FIG. 2 is a timing chart showing signal waveforms of respective parts of the DAC according to the first embodiment of the present invention. .
[0013]
As shown in FIG. 1, this DAC generates an analog output voltage V OUT by smoothing the output signal of the PWM circuit 11 that modulates the pulse width (duty) of the output signal in accordance with the control signal, and the PWM circuit 11. Based on the low-pass filter 13 and the input data, a control signal to be supplied to the PWM circuit 11 is generated, and when the absolute value of the change amount of the pulse width to be output by the PWM circuit 11 exceeds a predetermined value, the settling period Low-pass filter control means 12 for applying a signal to a predetermined portion of the low-pass filter 13 at T S.
[0014]
As the low-pass filter 13, a CR-type low-pass filter in which a resistor and a capacitor are combined is used in a predetermined number of stages. In the present embodiment, a two-stage low-pass filter including resistors R1 and R2 and capacitors C1 and C2 is used.
[0015]
The low-pass filter control means 12 includes a control unit 14, a lookup table 15, transistors 16 and 17, and power supply terminals 18 and 19 to which power supply potentials V DD and V SS are supplied, respectively. The control unit 14 generates a control signal to be supplied to the PWM circuit 11 based on the input data. In addition, when the absolute value of the change amount of the pulse width to be output by the PWM circuit 11 exceeds a predetermined value, the control unit 14 determines the value of the pulse width τ 1 before the predetermined change and the pulse width after the predetermined change. The value of τ 2 is output to the lookup table 15, and the value of the settling period T S corresponding thereto is input from the lookup table 15.
[0016]
The settling period T S is expressed as a function f (τ 1 , τ 2 ) of the pulse widths τ 1 and τ 2 . Although this value may be obtained by calculation each time in the low-pass filter control means 12, in this embodiment, the response time is shortened by using the lookup table 15. The look-up table 15 stores values of the settling period T S set corresponding to the values of the pulse widths τ 1 and τ 2 .
[0017]
When the change amount of the pulse width to be output by the PWM circuit 11 is positive and the value exceeds a predetermined value, the control unit 14 operates the transistor 16 in the settling period T S , and the midpoint potential (V A pulse P B having a potential higher than DD −V SS ) / 2 is applied to the node A of the low-pass filter 13. On the other hand, a variation of the pulse width PWM circuit 11 to be output is negative, that when the absolute value exceeds a predetermined value, operates the transistor 17 in the control unit 14 is settling period T S, the midpoint A pulse P B having a potential lower than the potential (V DD −V SS ) / 2 is applied to the node A of the low-pass filter 13. Note that these potentials may be applied to the node B instead of being applied to the node A, or may be applied to the node A and the node B at the same time.
[0018]
Next, the operation of the DAC according to the present embodiment will be described with reference to FIGS. FIG. 2 shows a case where the change amount of the pulse width is positive.
Before the predetermined change in the pulse width, the control unit 14 to generate a pulse width tau 1 pulse P A at a constant period T, and supplies a control signal to the PWM circuit 11. Pulse P A of the PWM circuit 11 is generated, is input to the low-pass filter 13. In addition, the control unit 14 opens the transistors 16 and 17. Thus, the pulse P A is, is smoothed by the low pass filter 13, the value of the analog output voltage V OUT becomes V 1.
[0019]
When a predetermined change in the pulse width, the control unit 14 to generate a pulse width tau 2 pulses P A at a constant period T, and supplies a control signal to the PWM circuit 11. Further, the control unit 14 reads in advance the value of the settling period T S corresponding to the values of the pulse widths τ 1 and τ 2 before and after the predetermined change from the lookup table 15. When the change amount of the pulse width to be output by the PWM circuit 11 is positive and the value exceeds a predetermined value, the control unit 14 operates the transistor 16 in the settling period T S. The transistor 16 applies, for example, a pulse P B having a potential V DD to the node A of the low-pass filter 13. The pulse P B is smoothed by the low-pass filter 13, and the analog output voltage V OUT rises rapidly. Incidentally, such an operation is temporary, if observed in a long time, the waveform of the analog output voltage V OUT can be said to be stable.
[0020]
After elapse of the settling period T S, the control unit 14 to generate a pulse width tau 2 pulses P A at a constant period T, and supplies a control signal to the PWM circuit 11. Pulse P A of the PWM circuit 11 is generated, is input to the low-pass filter 13. In addition, the control unit 14 opens the transistors 16 and 17. Thus, the pulse P A is, is smoothed by the low pass filter 13, the value of the analog output voltage V OUT becomes V 2.
[0021]
When the pulse width change amount to be output by the PWM circuit 11 is negative and the absolute value exceeds a predetermined value when the pulse width changes, the control unit 14 sets the settling period T S. The transistor 17 is operated at. The transistor 17 applies, for example, a pulse P B of the potential V SS to the node A of the low-pass filter 13. The pulse P B is smoothed by the low-pass filter 13, and the analog output voltage V OUT drops rapidly.
[0022]
In this way, in a transition period in which the analog output voltage must be suddenly increased or decreased, a high level or low level signal is applied to a predetermined node of the low-pass filter 13 for a predetermined period, thereby reducing the DAC response time. It can be shortened.
[0023]
Next, a second embodiment of the present invention will be described. FIG. 3 is a block diagram showing a configuration of a DAC according to the second embodiment of the present invention, and FIG. 4 is a timing chart showing signal waveforms of respective parts of the DAC according to the second embodiment of the present invention. .
[0024]
As shown in FIG. 3, the DAC generates an analog output voltage VOUT by smoothing the PWM circuit 21 that modulates the pulse width (duty) of the output signal in accordance with the control signal, and the output signal of the PWM circuit 21. Based on the low-pass filter 23 and the input data, a control signal to be supplied to the PWM circuit 21 is generated, and when the absolute value of the pulse width change amount to be output by the PWM circuit 21 exceeds a predetermined value, the settling period Low-pass filter control means 22 for changing the time constant of the low-pass filter 23 at T S.
[0025]
As the low-pass filter 23, a CR-type low-pass filter in which a resistor and a capacitor are combined is used in a predetermined number of stages. In the present embodiment, a two-stage low-pass filter including resistors R1 and R2 and capacitors C1 and C2 is used.
[0026]
The low pass filter control means 22 includes a control unit 24, a lookup table 25, and transistors 26 and 27. The control unit 24 generates a control signal to be supplied to the PWM circuit 21 based on the input data. In addition, when the absolute value of the change amount of the pulse width to be output by the PWM circuit 21 exceeds a predetermined value, the control unit 24 determines the value of the pulse width τ 1 before the predetermined change and the pulse width after the predetermined change. outputs and tau 2 values in the look-up table 25, and inputs the value of the settling period T S from the look-up table 25 corresponding thereto.
[0027]
The settling period T S is expressed as a function f (τ 1 , τ 2 ) of the pulse widths τ 1 and τ 2 . Although this value may be obtained by calculation each time in the low-pass filter control means 22, in this embodiment, the response time is shortened by using the lookup table 25. The look-up table 25 stores the value of the settling period T S set corresponding to the values of the pulse widths τ 1 and τ 2 .
[0028]
When the absolute value of the change amount of the pulse width to be output by the PWM circuit 11 exceeds a predetermined value, the control unit 14 turns on the transistors 26 and 27 in the settling period T S and sets the time constant of the low-pass filter 23. Decrease.
[0029]
Next, the operation of the DAC according to the present embodiment will be described with reference to FIGS. FIG. 4 shows a case where the change in pulse width is positive.
Before the predetermined change in the pulse width, the control unit 24 to generate a pulse P C of the pulse width tau 1 at a predetermined period T, and supplies a control signal to the PWM circuit 21. Pulse P C to the PWM circuit 21 is generated, is input to the low-pass filter 23. In addition, the control unit 24 opens the transistors 26 and 27. Therefore, the pulse P c is smoothed by the low-pass filter 23, and the value of the analog output voltage V OUT becomes V 1 .
[0030]
When a predetermined change in the pulse width, the control unit 24 to generate a pulse P C of the pulse width tau 2 at a predetermined period T, and supplies a control signal to the PWM circuit 21. Further, the control unit 24 reads in advance the value of the settling period T S corresponding to the values of the pulse widths τ 1 and τ 2 before and after the predetermined change from the lookup table 25. When the absolute value of the change amount of the pulse width to be output by the PWM circuit 11 exceeds a predetermined value, the control unit 14 turns on the transistors 26 and 27 in the settling period T S. Thus, R2 is shorted, reduced constant T CR of the low-pass filter 23 from (C1 + C2) (R1 + R2) to (C1 + C2) R1. Here, the transient response of the analog output voltage V OUT is expressed by the following equation.
V OUT = {1−exp (−t / T CR )} V 0
Therefore, the analog output voltage V OUT suddenly rises or falls. Note that such an operation is temporary, and it can be said that the waveform of the analog output voltage V OUT is stable when observed over a long period of time.
[0031]
After elapse of the settling period T S, the control unit 24 to generate a pulse P C of the pulse width tau 2 at a predetermined period T, and supplies a control signal to the PWM circuit 21. Pulse P C to the PWM circuit 21 is generated, is input to the low-pass filter 23. In addition, the control unit 24 opens the transistors 26 and 27. Therefore, the pulse P C is smoothed by the low-pass filter 23, and the value of the analog output voltage V OUT becomes V 2 .
[0032]
In this way, the DAC response time can be shortened by reducing the time constant of the low-pass filter in the transition period in which the analog output voltage must be rapidly increased or decreased.
[0033]
Next, a modification of the second embodiment of the present invention will be described. In this modification, instead of using a preset settling period value, the DAC output voltage is converted back to digital data using an ADC (analog / digital conversion circuit) and compared with the input data. Thus, the settling period is determined.
[0034]
FIG. 5 shows the configuration of a DAC according to a modification of the second embodiment of the present invention. As shown in FIG. 5, in addition to the control unit 34 and transistors 26 and 27, the low-pass filter control means 32 in the DAC includes an ADC 35 that converts the analog output voltage V OUT into a digital signal, and data output from the ADC 35 ( It further includes a comparator 36 that provides a settling period by comparing the output value) with the input data (target value).
[0035]
The comparator 36 outputs a high-level comparison signal when the output value is smaller than the target value, and outputs a low-level comparison signal when the output value is greater than or equal to the target value. Note that the comparison operation in the comparator 36 may be performed based on the upper bits of the output value and the target value.
[0036]
Before the predetermined change in the pulse width, the control unit 34 to generate a pulse P C of the pulse width tau 1 at a predetermined period T, and supplies a control signal to the PWM circuit 21. Pulse P C to the PWM circuit 21 is generated, is input to the low-pass filter 23. In addition, the control unit 34 opens the transistors 26 and 27. Therefore, the pulse P c is smoothed by the low-pass filter 23, and the value of the analog output voltage V OUT becomes V 1 .
[0037]
When a predetermined change in the pulse width, the control unit 34 to generate a pulse P C of the pulse width tau 2 at a predetermined period T, and supplies a control signal to the PWM circuit 21. When the output value is smaller than the target value, the comparator 36 outputs a high level comparison signal. The control unit 34 turns on the transistors 26 and 27 in the settling period in which the comparison signal is at a high level when the absolute value of the change amount of the pulse width to be output by the PWM circuit 21 exceeds a predetermined value. As a result, R2 is short-circuited, the time constant of the low-pass filter 23 is decreased, and the analog output voltage V OUT suddenly rises or falls.
[0038]
After elapse of the settling period T S, the control unit 34 to generate a pulse P C of the pulse width tau 2 at a predetermined period T, and supplies a control signal to the PWM circuit 21. Pulse P C to the PWM circuit 21 is generated, is input to the low-pass filter 23. In addition, the control unit 34 opens the transistors 26 and 27. Therefore, the pulse P C is smoothed by the low-pass filter 23, and the value of the analog output voltage V OUT becomes V 2 .
[0039]
In this way, by setting the settling period by comparing the output value and the target value, and reducing the time constant of the low-pass filter 23 in the transition period in which the analog output voltage must be rapidly increased or decreased, the DAC is set. The response time can be shortened.
[0040]
The method for setting the settling period using the ADC 35 and the comparator 36 can be applied not only to the second embodiment but also to the first embodiment.
[0041]
【The invention's effect】
As described above, according to the present invention, in a DAC using PWM, it is possible to shorten the response time while keeping the output waveform stable.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a DAC according to a first embodiment of the present invention.
FIG. 2 is a timing chart showing signal waveforms of respective parts of the DAC according to the first embodiment of the present invention.
FIG. 3 is a block diagram showing a configuration of a DAC according to a second embodiment of the present invention.
FIG. 4 is a timing chart showing signal waveforms of respective parts of the DAC according to the second embodiment of the present invention.
FIG. 5 is a block diagram showing a configuration of a DAC according to a modification of the second embodiment of the present invention.
[Explanation of symbols]
11, 21 PWM circuit 12, 22, 32 Low pass filter control means 13, 23 Low pass filter 14, 24, 34 Control unit 15, 25 Look-up table 16, 17, 26, 27 Transistor 18, 19 Power supply terminal 35 ADC
36 Comparator

Claims (3)

制御信号に応じて出力信号のパルス幅を変調するパルス幅変調回路と、
前記パルス幅変調回路の出力信号を平滑化してアナログ出力電圧を生成するローパスフィルタと、
入力データに基づいて、前記パルス幅変調回路に供給する制御信号を生成すると共に、前記パルス幅変調回路が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、セトリング期間において前記ローパスフィルタの中間ノード又は出力ノードに信号を印加するローパスフィルタ制御手段と、
を具備するディジタル/アナログ変換回路。
A pulse width modulation circuit that modulates the pulse width of the output signal in accordance with the control signal;
A low-pass filter that generates an analog output voltage by smoothing an output signal of the pulse width modulation circuit;
Based on the input data, a control signal to be supplied to the pulse width modulation circuit is generated, and when the absolute value of the change amount of the pulse width to be output by the pulse width modulation circuit exceeds a predetermined value, in the settling period Low-pass filter control means for applying a signal to an intermediate node or an output node of the low-pass filter;
A digital / analog conversion circuit comprising:
前記ローパスフィルタ制御手段が、
前記ローパスフィルタの中間ノード又は出力ノードに中点電位よりも高い電位を有する信号を印加するための第1のトランジスタと、
前記ローパスフィルタの中間ノード又は出力ノードに中点電位よりも低い電位を有する信号を印加するための第2のトランジスタと、
前記パルス幅変調回路が出力すべきパルス幅の変化量が正であり、その値が所定の値を越える場合に、前記セトリング期間において前記第1のトランジスタを動作させ、前記パルス幅変調回路が出力すべきパルス幅の変化量が負であり、その絶対値が所定の値を越える場合に、前記セトリング期間において前記第2のトランジスタを動作させる制御部と、
を含む、請求項1記載のディジタル/アナログ変換回路。
The low-pass filter control means is
A first transistor for applying a signal having a potential higher than a midpoint potential to an intermediate node or an output node of the low-pass filter;
A second transistor for applying a signal having a potential lower than a midpoint potential to an intermediate node or an output node of the low-pass filter;
When the amount of change in pulse width to be output by the pulse width modulation circuit is positive and the value exceeds a predetermined value, the first transistor is operated during the settling period, and the pulse width modulation circuit outputs A control unit that operates the second transistor in the settling period when the change amount of the pulse width to be negative is negative and the absolute value thereof exceeds a predetermined value;
The digital / analog conversion circuit according to claim 1, comprising:
制御信号に応じて出力信号のパルス幅を変調するパルス幅変調回路と、
前記パルス幅変調回路の出力信号を平滑化してアナログ出力電圧を生成するローパスフィルタと、
入力データに基づいて、前記パルス幅変調回路に供給する制御信号を生成すると共に、前記パルス幅変調回路が出力すべきパルス幅の変化量の絶対値が所定の値を越える場合に、セトリング期間において前記ローパスフィルタの時定数を変化させるローパスフィルタ制御手段と、
前記ローパスフィルタによって生成されたアナログ出力電圧をアナログ/ディジタル変換するアナログ/ディジタル変換回路と、
前記アナログ/ディジタル変換回路から出力されるデータを入力データと比較することにより前記セトリング期間を設定するコンパレータと、
を具備するディジタル/アナログ変換回路。
A pulse width modulation circuit that modulates the pulse width of the output signal in accordance with the control signal;
A low-pass filter that generates an analog output voltage by smoothing an output signal of the pulse width modulation circuit;
Based on the input data, a control signal to be supplied to the pulse width modulation circuit is generated, and when the absolute value of the change amount of the pulse width to be output by the pulse width modulation circuit exceeds a predetermined value, in the settling period Low-pass filter control means for changing the time constant of the low-pass filter;
An analog / digital conversion circuit for analog / digital conversion of the analog output voltage generated by the low-pass filter;
A comparator that sets the settling period by comparing data output from the analog / digital conversion circuit with input data;
A digital / analog conversion circuit comprising:
JP2002045565A 2002-02-22 2002-02-22 Digital / analog conversion circuit Expired - Fee Related JP3991706B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002045565A JP3991706B2 (en) 2002-02-22 2002-02-22 Digital / analog conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002045565A JP3991706B2 (en) 2002-02-22 2002-02-22 Digital / analog conversion circuit

Publications (2)

Publication Number Publication Date
JP2003249855A JP2003249855A (en) 2003-09-05
JP3991706B2 true JP3991706B2 (en) 2007-10-17

Family

ID=28659339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002045565A Expired - Fee Related JP3991706B2 (en) 2002-02-22 2002-02-22 Digital / analog conversion circuit

Country Status (1)

Country Link
JP (1) JP3991706B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5394984B2 (en) 2010-05-21 2014-01-22 トヨタ自動車株式会社 Duty ratio / voltage conversion circuit
JP5713820B2 (en) * 2011-06-29 2015-05-07 京セラドキュメントソリューションズ株式会社 Exposure apparatus and image forming apparatus
JP6405149B2 (en) * 2014-08-19 2018-10-17 アズビル株式会社 D / A converter circuit

Also Published As

Publication number Publication date
JP2003249855A (en) 2003-09-05

Similar Documents

Publication Publication Date Title
US6373334B1 (en) Real time correction of a digital PWM amplifier
US7952337B2 (en) Hybrid DC-DC switching regulator circuit
US7233134B2 (en) DC-to-DC converter with fast load transient response and method thereof
US20070057707A1 (en) Triangular wave generation circuit
JPH1158735A (en) Ink jet recorder
JP2004007324A (en) Triangular wave generating circuit in class d amplifier
US20080150368A1 (en) Configurable power supply integrated circuit
US7701190B2 (en) Control circuit and method for a DC-to-DC converter to improve transient response thereof
WO2003058798A1 (en) Pwm controller with single-cycle response
JP3991706B2 (en) Digital / analog conversion circuit
JP4211465B2 (en) Pulse width modulation circuit
JP2010158084A (en) Power unit
JP3991705B2 (en) Digital / analog conversion circuit
CN110350765B (en) Voltage conversion device
JPWO2003021769A1 (en) Switching amplifier
JP4493681B2 (en) Liquid crystal drive device
JPH1130771A (en) Driving voltage generating device of liquid crystal display device
US10980090B1 (en) Light emitting device driving apparatus and dimming control circuit and dimming control method thereof
US7061417B2 (en) Method and system for increased effective resolution in an N-bit digital-to-analog converter
US6043619A (en) Method and circuit arrangement for commutation of a multiple winding electric motor
EP2562933A1 (en) Class D amplifier and control method
JP2000116163A (en) Circuit and method for starting
JP3236071B2 (en) Triangular wave signal generation circuit
JP2001337653A (en) Drive power supply for liquid crystal
US7630215B2 (en) Power apparatus and method to provide high voltage

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061027

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070410

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070607

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070615

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: 20070703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070716

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: 20100803

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130803

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees