JP6405149B2 - D / A converter circuit - Google Patents
D / A converter circuit Download PDFInfo
- Publication number
- JP6405149B2 JP6405149B2 JP2014166382A JP2014166382A JP6405149B2 JP 6405149 B2 JP6405149 B2 JP 6405149B2 JP 2014166382 A JP2014166382 A JP 2014166382A JP 2014166382 A JP2014166382 A JP 2014166382A JP 6405149 B2 JP6405149 B2 JP 6405149B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- pass filter
- low
- output
- control 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.)
- Active
Links
Images
Description
本発明は、デジタルデータをアナログ信号に変換するD/A変換回路に関するものである。 The present invention relates to a D / A conversion circuit that converts digital data into an analog signal.
図6(A)に、従来技術のD/A変換回路に用いられるPWM(Pulse Width Modulation)信号を示し、図6(B)に、パルス分割PWM信号を示す。図6(A)、図6(B)の縦軸は電圧、横軸は時間である。パルス分割PWM信号は、高速応答するために、PWMパルス周期を分割して(図6(B)の例では4分割)、変調信号の周波数を上げている。変調信号の周波数を上げることによって、PWM信号と同リップルの条件で、D/A変換回路に用いるアナログフィルタの時定数を下げることができる。フィルタの時定数を下げることにより、D/A変換回路の応答速度を上げることができるが、フィルタの時定数を下げて応答速度を上げる方法にも限度があり、また、ノイズの影響により、D/A変換回路の変換精度が劣化する可能性がある。 FIG. 6A shows a PWM (Pulse Width Modulation) signal used in a conventional D / A conversion circuit, and FIG. 6B shows a pulse division PWM signal. 6A and 6B, the vertical axis represents voltage, and the horizontal axis represents time. In order to respond at high speed, the pulse division PWM signal divides the PWM pulse period (four divisions in the example of FIG. 6B) to increase the frequency of the modulation signal. By increasing the frequency of the modulation signal, the time constant of the analog filter used in the D / A conversion circuit can be decreased under the same ripple condition as the PWM signal. Although the response speed of the D / A converter circuit can be increased by lowering the filter time constant, there is a limit to the method of increasing the response speed by lowering the filter time constant. The conversion accuracy of the / A conversion circuit may deteriorate.
図7はデジタルデータをパルス分割PWM信号でアナログ信号に変換する従来のD/A変換回路の構成を示すブロック図、図8は別のD/A変換回路の構成を示すブロック図である。図7の構成は特許文献1に開示され、図8の構成は特許文献2に開示されている。図7のD/A変換回路は、PWM信号発生部100と、端数処理部101と、平滑部102とから構成されている。PWM信号発生部100は、メインクロックMCLKと設定データDSETの上位側ビットとが印加され、PWM信号とPWM周期信号とを生成して、これらの信号を端数処理部101に出力する。端数処理部101は、メインクロックMCLKと設定データDSETの下位側ビットとが印加され、分割PWM信号を生成して、この信号を平滑部102に出力する。平滑部102は、分割PWM信号を平滑して、アナログ信号を出力する。
FIG. 7 is a block diagram showing the configuration of a conventional D / A conversion circuit that converts digital data into an analog signal using a pulse division PWM signal, and FIG. 8 is a block diagram showing the configuration of another D / A conversion circuit. The configuration of FIG. 7 is disclosed in
図8のD/A変換回路は、PWM回路200と、重畳部201と、ローパスフィルタ202とから構成されている。PWM回路200は、ディジタル入力値Dinの上位Nビット分Xに基づいてパルス幅変調されたパルス幅変調パルスP(X)を生成する。重畳部201は、ディジタル入力値Dinの下位mビット分Zに対応した数の1クロック分の単位パルスUを、ディジタル入力値Dinの上位Nビット分に対応した変換周期Tの最終の1クロック分に分散させて重畳させる。1クロック分の時間をtとすると、変換周期Tは2N×tで与えることができる。ローパスフィルタ202は、重畳部201の出力からPWM回路200のキャリア周波数のリップルを除去し、アナログ出力値Aoutを出力する。PWM回路200は、変換値レジスタ203と、比較器204,205と、Nビットカウンタ206とから構成される。重畳部201は、mビットレートマルチプライヤ207と、論理積回路208と、論理和回路209とから構成される。
The D / A conversion circuit in FIG. 8 includes a
図7、図8のいずれのD/A変換回路も、設定データを上位ビットと下位ビットに分けて、PWM信号を分割するものである。
図9は従来の他のD/A変換回路の構成を示すブロック図である。図9のD/A変換回路は、ASIC(Application Specific Integrated Circuit)300を使って、応答性を向上させるようにしたものである。PWM信号をつくるデジタルデータが変化したときは、抵抗302とコンデンサ303とからなる時定数が小さいアナログフィルタに切り替えて、応答性を良くする。デジタルデータに変化がないときは、抵抗301とコンデンサ303とからなる時定数が大きいアナログフィルタに切り替えて、出力リップルを抑制する。
Each of the D / A conversion circuits in FIGS. 7 and 8 divides the PWM signal by dividing the setting data into upper bits and lower bits.
FIG. 9 is a block diagram showing the configuration of another conventional D / A conversion circuit. The D / A conversion circuit of FIG. 9 uses an ASIC (Application Specific Integrated Circuit) 300 to improve responsiveness. When the digital data for generating the PWM signal changes, the response is improved by switching to an analog filter composed of a
温度センサや圧力センサに用いられるD/A変換回路では、入力変化が大きい場合、高精度な出力値(>15bit)に安定することが要求されると共に、ある一定の値まで(たとえば63.2%応答)、高速に応答することが求められる。高精度・高速応答の2つの要求を満たすためには、入力信号の状況に応じて、D/A変換用フィルタの時定数を可変にできる仕組みを必要とする。フィルタの時定数を可変にできるD/A変換回路として、図9に示したような構成が提案されている。 In a D / A conversion circuit used for a temperature sensor or a pressure sensor, when an input change is large, it is required to be stabilized to a highly accurate output value (> 15 bits) and to a certain value (for example, 63.2). % Response), a high-speed response is required. In order to satisfy the two requirements of high accuracy and high speed response, a mechanism is required that can change the time constant of the D / A conversion filter according to the state of the input signal. A configuration as shown in FIG. 9 has been proposed as a D / A conversion circuit capable of varying the time constant of the filter.
しかし、図9に示したD/A変換回路では、フィルタの時定数を変えるために、ICの出力端子を2つ設けると共に、ICの外部に抵抗を2つ設ける必要があり、回路面積とコストが増加してしまうという問題点があった。
さらに、図9に示したD/A変換回路では、高次のフィルタを設けようとすると、ICからの制御端子を設けると共に、スイッチ等の外部素子を設ける必要があり、回路面積とコストが増加してしまうという問題点があった。
However, in the D / A conversion circuit shown in FIG. 9, it is necessary to provide two output terminals of the IC and two resistors outside the IC in order to change the time constant of the filter. There was a problem that would increase.
Furthermore, in the D / A conversion circuit shown in FIG. 9, when a high-order filter is provided, it is necessary to provide a control terminal from the IC and an external element such as a switch, which increases circuit area and cost. There was a problem of doing.
本発明は、上記課題を解決するためになされたもので、D/A変換回路の出力に用いる平滑用のフィルタの時定数の切り替えを従来よりも低コストかつ小さい回路面積で実現することができるD/A変換回路を提供することを目的とする。
また、本発明は、D/A変換回路の出力に用いる平滑用のフィルタとして高次のフィルタを設ける場合でも、回路面積とコストを削減することができるD/A変換回路を提供することを目的とする。
The present invention has been made to solve the above-described problem, and can switch the time constant of the smoothing filter used for the output of the D / A conversion circuit at a lower cost and with a smaller circuit area than in the prior art. It is an object to provide a D / A conversion circuit.
Another object of the present invention is to provide a D / A conversion circuit that can reduce the circuit area and cost even when a high-order filter is provided as a smoothing filter used for the output of the D / A conversion circuit. And
本発明のD/A変換回路は、デジタルデータの値に応じたデューティ比の変調信号を出力する変調回路と、制御信号が入力されないときは第1の時定数とし、前記制御信号が入力されたときは前記第1の時定数よりも小さい第2の時定数とする時定数切替機能を有し、前記変調信号を平滑化してアナログ信号を出力するローパスフィルタと、前記デジタルデータの変化を検出したときに一定時間、前記制御信号を出力する変化検出回路とを備え、前記変化検出回路は、前記デジタルデータを1サンプリング周期分だけ遅延させる遅延回路と、前記デジタルデータから前記遅延回路の出力データを減算する減算回路と、前記減算回路の出力データの絶対値を求める絶対値回路と、しきい値を設定可能なレジスタと、前記絶対値回路の出力値が前記レジスタに設定されたしきい値を超えたときに前記制御信号を一定時間出力し、前記絶対値回路の出力値が前記しきい値以下のときに前記制御信号を出力しないコンパレータとから構成され、前記変調回路と前記ローパスフィルタの少なくとも一部と前記変化検出回路とは、集積回路の内部に設けられ、前記一定時間は、前記ローパスフィルタの時定数が前記第2の時定数の状態で、前記デジタルデータに応じて変化する前記アナログ信号が最終値の63.2%まで変化する時間に設定されていることを特徴とするものである。
また、本発明のD/A変換回路の1構成例において、前記ローパスフィルタは、前記変調回路の出力端子とD/A変換回路の出力端子との間に直列に挿入された第1、第2の抵抗と、前記制御信号が入力されたときに前記第2の抵抗を短絡するスイッチと、前記集積回路の外部素子としてD/A変換回路の出力端子と接地との間に設けられるコンデンサとから構成されることを特徴とするものである。
The D / A conversion circuit of the present invention has a modulation circuit that outputs a modulation signal having a duty ratio corresponding to the value of digital data, and a first time constant when no control signal is input, and the control signal is input A time constant switching function for setting a second time constant smaller than the first time constant, a low-pass filter for smoothing the modulation signal and outputting an analog signal, and detecting a change in the digital data A change detection circuit that outputs the control signal for a certain period of time, the change detection circuit delays the digital data by one sampling period, and outputs the output data of the delay circuit from the digital data. A subtracting circuit for subtracting; an absolute value circuit for obtaining an absolute value of output data of the subtracting circuit; a register capable of setting a threshold; and an output value of the absolute value circuit Said control signal fixed time output when it exceeds the threshold set for the register, the output value of the absolute value circuit is composed of a comparator does not output the control signal when below the threshold value, The modulation circuit, at least a part of the low-pass filter, and the change detection circuit are provided in an integrated circuit, and the time constant of the low-pass filter is in the state of the second time constant for the predetermined time. The analog signal that changes according to digital data is set to a time when the analog signal changes to 63.2% of the final value .
Further, in one configuration example of the D / A conversion circuit of the present invention, the low-pass filter includes a first and a second inserted in series between an output terminal of the modulation circuit and an output terminal of the D / A conversion circuit. A switch for short-circuiting the second resistor when the control signal is input, and a capacitor provided as an external element of the integrated circuit between the output terminal of the D / A conversion circuit and the ground. It is characterized by being configured.
また、本発明のD/A変換回路の1構成例は、さらに、前記ローパスフィルタの出力端子に接続されるバッファ回路を前記集積回路の内部に備え、前記ローパスフィルタは、前記変調回路の出力端子と前記バッファ回路の入力端子との間に直列に挿入された第1、第2の抵抗と、前記制御信号が入力されたときに前記第2の抵抗を短絡するスイッチと、前記バッファ回路の入力端子と接地との間に設けられるコンデンサとから構成されることを特徴とするものである。
また、本発明のD/A変換回路の1構成例は、さらに、前記ローパスフィルタの出力端子に接続されるバッファ回路を前記集積回路の内部に備え、前記ローパスフィルタは、1次のフィルタを複数段縦続接続したものであり、前記1次のフィルタの各々は、前記変調回路の出力端子と前記バッファ回路の入力端子との間に直列に挿入された第1、第2の抵抗と、前記制御信号が入力されたときに前記第2の抵抗を短絡するスイッチと、前記集積回路の外部素子として前記第2の抵抗の2つの端子のうちの出力側の端子と接地との間に設けられたコンデンサとから構成されることを特徴とするものである。
In addition, one configuration example of the D / A conversion circuit of the present invention further includes a buffer circuit connected to the output terminal of the low-pass filter in the integrated circuit, and the low-pass filter includes the output terminal of the modulation circuit. And first and second resistors inserted in series between the input terminal of the buffer circuit, a switch for short-circuiting the second resistor when the control signal is input, and an input of the buffer circuit It is comprised from the capacitor | condenser provided between a terminal and earth | ground.
The D / A conversion circuit according to the present invention further includes a buffer circuit connected to the output terminal of the low-pass filter in the integrated circuit, and the low-pass filter includes a plurality of primary filters. Each of the primary filters includes first and second resistors inserted in series between an output terminal of the modulation circuit and an input terminal of the buffer circuit, and the control circuit. A switch that short-circuits the second resistor when a signal is input; and an external element of the integrated circuit provided between an output-side terminal of the two terminals of the second resistor and the ground It is comprised from a capacitor | condenser.
本発明によれば、入力されるデジタルデータに応じてローパスフィルタの時定数を切り替えることにより、高精度・高速応答のD/A変換回路を実現することができる。本発明では、ローパスフィルタの少なくとも一部を集積回路の内部に設けることにより、回路面積とコストを削減することができる。 According to the present invention, a high-accuracy and high-speed response D / A conversion circuit can be realized by switching the time constant of the low-pass filter in accordance with input digital data. In the present invention, the circuit area and cost can be reduced by providing at least part of the low-pass filter in the integrated circuit.
また、本発明では、ローパスフィルタに加えて、バッファ回路を集積回路に内蔵したことにより、集積回路の外部部品を削減することができる。 In the present invention, in addition to the low-pass filter, the buffer circuit is built in the integrated circuit, so that external components of the integrated circuit can be reduced.
また、本発明では、ローパスフィルタを、1次のフィルタを複数段縦続接続した構成とし、各1次のフィルタを、第1、第2の抵抗とスイッチとコンデンサとから構成することにより、ローパスフィルタとして高次のフィルタを設ける場合でも、回路面積とコストを削減することができる。 In the present invention, the low-pass filter has a configuration in which a plurality of stages of primary filters are cascade-connected, and each primary filter is composed of a first resistor, a second resistor, a switch, and a capacitor. Even when a high-order filter is provided, the circuit area and cost can be reduced.
[第1の実施の形態]
以下、本発明の実施の形態について図面を参照して説明する。図1は本発明の第1の実施の形態に係るD/A変換回路の構成を示すブロック図である。本実施の形態のD/A変換回路は、変調回路2と、ローパスフィルタ3と、Dフリップフロップからなる遅延回路4と、減算回路5と、絶対値回路6と、レジスタ7と、コンパレータ8とから構成される。このようなD/A変換回路は、集積回路(IC)1で実現される。遅延回路4と減算回路5と絶対値回路6とレジスタ7とコンパレータ8とは、デジタルデータINの変化を検出する変化検出回路を構成している。
[First Embodiment]
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the D / A conversion circuit according to the first embodiment of the present invention. The D / A conversion circuit according to the present embodiment includes a
図2(A)〜図2(E)は図1のD/A変換回路の各部の波形を示す図である。図2(A)に示すデジタルデータINは、変調回路2に入力される。変調回路2は、図2(B)に示すようにデジタルデータINの値に応じたデューティ比の変調信号(PWM信号またはΔΣ変調信号)VINを出力する。なお、図2(B)の例では、変調回路2がPWM信号を出力する場合について記載されている。
2A to 2E are diagrams showing waveforms of respective parts of the D / A conversion circuit of FIG. Digital data IN shown in FIG. 2A is input to the
ローパスフィルタ3は、変調信号VINを平滑化して、アナログ信号VOUTを出力する。ローパスフィルタ3は、IC1内部で時定数を変えることができるアクティブフィルタとなっている。
Dフリップフロップからなる遅延回路4は、デジタルデータINを1サンプリング周期分だけ遅延させる。
The low-
The
減算回路5は、デジタルデータINから遅延回路4の出力データを減算する。これにより、デジタルデータINと1サンプリング周期前のデジタルデータINとの差を求めることになる。
絶対値回路6は、減算回路5の出力データの絶対値を求める。レジスタ7には、予めしきい値THRESが設定されている。
The
The
コンパレータ8は、絶対値回路6の出力値とレジスタ7に設定されたしきい値THRESとを比較する。コンパレータ8は、絶対値回路6の出力値がしきい値THRESを超えたとき、すなわちデジタルデータINが変化したとき、図2(E)に示すようにローパスフィルタ3の時定数を小さくする制御信号ACTを一定時間出力し、絶対値回路6の出力値がしきい値THRES以下のとき、すなわちデジタルデータINが変化しないときは、制御信号ACTを出力しない。
The
図2(A)のようにデジタルデータINが変化したとき、ローパスフィルタ3の時定数が大きい場合には、図2(C)の40の特性で示すようにアナログ信号VOUTのリップルは抑制されるが、デジタルデータINに対する応答性が悪くなる。ローパスフィルタ3の時定数が小さい場合には、図2(C)の41の特性で示すように応答性は良いが、アナログ信号VOUTのリップルが大きく、D/A変換回路の変換精度を所定の範囲に抑えることができない場合がある。
When the digital data IN changes as shown in FIG. 2A and the time constant of the low-
一方、本実施の形態では、上記のように、デジタルデータINが変化してから、ある一定時間T1の間だけローパスフィルタ3の時定数を小さくし、デジタルデータINに変化がないとき、または一定時間T1が経過したときは、ローパスフィルタ3の時定数を大きくする。これにより、本実施の形態では、図2(D)に示すようにアナログ信号VOUTのリップルを所定の精度に抑えつつ、デジタルデータINに対する応答性を向上させることができる。
On the other hand, in the present embodiment, as described above, the time constant of the low-
一定時間T1については、アナログ信号VOUTがオーバーシュートしないように予め設定しておく必要がある。具体的には、例えばローパスフィルタ3の時定数が小さい状態でアナログ信号VOUTが63.2%まで変化する時間を一定時間T1として設定しておけばよい。
また、しきい値THRESはアプリケーションに応じて決定されるが、レジスタ7に設定するしきい値THRESを外部からの入力によって設定変更することが可能である。
The fixed time T1 needs to be set in advance so that the analog signal VOUT does not overshoot. Specifically, for example, the time during which the analog signal VOUT changes to 63.2% when the time constant of the low-
The threshold value THRES is determined according to the application, but the threshold value THRES set in the
こうして、本実施の形態では、高精度・高速応答のD/A変換回路を実現することができる。本実施の形態では、ローパスフィルタ3をIC1に内蔵することで、IC1の出力端子を1つに抑えることができるので、端子数および外部素子を削減することができ、回路面積とコストを削減することができる。
Thus, in this embodiment, a D / A conversion circuit with high accuracy and high speed response can be realized. In the present embodiment, since the
[第2の実施の形態]
次に、本発明の第2の実施の形態について説明する。図3は本発明の第2の実施の形態に係るD/A変換回路の構成を示すブロック図であり、図1と同様の構成には同一の符号を付してある。本実施の形態は、第1の実施の形態のローパスフィルタ3の具体例を示すものである。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. FIG. 3 is a block diagram showing a configuration of a D / A conversion circuit according to the second embodiment of the present invention. The same reference numerals are given to the same configurations as those in FIG. This embodiment shows a specific example of the low-
本実施の形態のローパスフィルタ3は、変調回路2の出力端子とD/A変換回路の出力端子(IC1の出力端子)との間に直列に設けられる抵抗30,31と、コンパレータ8からの制御信号ACTに応じて抵抗31を短絡するスイッチ32と、IC1の外部素子としてD/A変換回路の出力端子と接地との間に設けられるコンデンサ9とから構成される。
The low-
コンパレータ8から制御信号ACTが出力されると、スイッチ32はオン状態となる。これにより、抵抗31が短絡されるので、ローパスフィルタ3の時定数が小さくなる。制御信号ACTが出力されない場合は、スイッチ32はオフ状態となる。これにより、抵抗30と31とが直列に接続されるので、ローパスフィルタ3の時定数が大きくなる。
When the control signal ACT is output from the
図9に示した従来のD/A変換回路では、フィルタの時定数を変えるために、ICの出力端子を2つ設けると共に、ICの外部に抵抗301,302とコンデンサ303を設ける必要があった。
これに対して、本実施の形態では、ローパスフィルタ3の抵抗30,31をIC1に内蔵することで、IC1の出力端子を1つに抑えることができる。本実施の形態においても、IC1の外部素子としてコンデンサ9が必要となるが、抵抗30,31をIC1に内蔵したことで、回路面積とコストを削減することができる。
In the conventional D / A conversion circuit shown in FIG. 9, in order to change the time constant of the filter, it is necessary to provide two output terminals of the IC and to provide
On the other hand, in the present embodiment, by incorporating the
本実施の形態のように、ローパスフィルタ3として1次のRCフィルタを用いた場合、ローパスフィルタ3の応答時間(63.2%応答)はRC、アナログ信号VOUTのリップルは(A/2)×[1−EXP{−T/2/(RC)}]と与えられる。抵抗30の抵抗値をR1、抵抗31の抵抗値をR2、コンデンサ9の容量値をCとすると、上記の応答時間とリップルの式のRC、すなわちローパスフィルタ3の時定数RCは、スイッチ32がオフのとき(R1+R2)×C(第1の時定数)となり、スイッチ32がオンのときR1×C(第2の時定数)となる。また、Aはローパスフィルタ3に入力される矩形波(変調回路2から出力される変調信号VIN)の振幅、Tは矩形波の周期である。
When a primary RC filter is used as the low-
R1=10kΩ、R2=90kΩ、C=100nF、変調信号周波数100kHz、1Vフルスケールとした場合、スイッチ32のオン時は、ローパスフィルタ3の応答時間が1ms、アナログ信号VOUTのリップルが2.5mV(0.25%FS)となる。また、スイッチ32のオフ時は、ローパスフィルタ3の応答時間が10ms、アナログ信号VOUTのリップルが0.25mV(0.025%FS)となる。設計仕様が、応答時間1ms、リップル0.1%FSと与えられた場合、デジタルデータINの変化時に、1ms程度スイッチ32をオンにすることで(すなわち、T1=1ms)、仕様を満たすことができる。
When R1 = 10 kΩ, R2 = 90 kΩ, C = 100 nF,
[第3の実施の形態]
次に、本発明の第3の実施の形態について説明する。図4は本発明の第3の実施の形態に係るD/A変換回路の構成を示すブロック図であり、図1と同様の構成には同一の符号を付してある。本実施の形態は、第1、第2の実施の形態においてIC1の外部に設けられるバッファ回路10をIC1に内蔵したことを特徴としている。バッファ回路10は、ローパスフィルタ3の出力を駆動する。
[Third Embodiment]
Next, a third embodiment of the present invention will be described. FIG. 4 is a block diagram showing a configuration of a D / A conversion circuit according to the third embodiment of the present invention. The same reference numerals are given to the same configurations as those in FIG. This embodiment is characterized in that the
本実施の形態では、バッファ回路10をIC1に内蔵したことにより、第2の実施の形態では外部素子としていたコンデンサ9の代わりに、コンデンサ33をIC1の内部に設けるようにしている。
こうして、本実施の形態では、第1、第2の実施の形態と比較して外部部品を削減することができる。
In the present embodiment, since the
Thus, in the present embodiment, external parts can be reduced as compared with the first and second embodiments.
[第4の実施の形態]
次に、本発明の第4の実施の形態について説明する。図5は本発明の第4の実施の形態に係るD/A変換回路の構成を示すブロック図であり、図1、図4と同様の構成には同一の符号を付してある。本実施の形態は、ローパスフィルタ3として高次のフィルタを設けたものである。
[Fourth Embodiment]
Next, a fourth embodiment of the present invention will be described. FIG. 5 is a block diagram showing a configuration of a D / A conversion circuit according to the fourth embodiment of the present invention. The same reference numerals are given to the same configurations as those in FIGS. In the present embodiment, a high-order filter is provided as the low-
本実施の形態のローパスフィルタ3は、変調回路2の出力端子とバッファ回路10の入力端子との間に直列に設けられる抵抗30a,31a,30b,31bと、コンパレータ8からの制御信号ACTに応じて抵抗31a,31bを短絡するスイッチ32a,32bと、IC1の外部素子として抵抗31a,30bの接続点と接地との間に設けられるコンデンサ9aと、IC1の外部素子としてローパスフィルタ3の出力端子(バッファ回路10の入力端子)と接地との間に設けられるコンデンサ9bとから構成される。
The low-
このローパスフィルタ3は、1次のフィルタを2段縦続接続したものである。初段の1次フィルタは、抵抗30a,31aとスイッチ32aとコンデンサ9aとから構成され、後段の1次フィルタは、抵抗30b,31bとスイッチ32bとコンデンサ9bとから構成される。
The low-
コンパレータ8から制御信号ACTが出力されると、スイッチ32a,32bはオン状態となる。これにより、抵抗31a,31bが短絡されるので、ローパスフィルタ3の時定数が小さくなる。制御信号ACTが出力されない場合は、スイッチ32a,32bはオフ状態となる。これにより、抵抗30aと31aと30bと31bとが直列に接続されるので、ローパスフィルタ3の時定数が大きくなる。
When the control signal ACT is output from the
図9に示した従来のD/A変換回路では、高次のフィルタを設けようとすると、ICからの制御端子を設けると共に、スイッチ等の外部素子を設ける必要があった。
これに対して、本実施の形態では、ローパスフィルタ3の抵抗30a,31a,30b,31bとスイッチ32a,32bとをIC1に内蔵することで、ローパスフィルタ3として高次のフィルタを設ける場合でも、回路面積とコストを削減することができる。
In the conventional D / A conversion circuit shown in FIG. 9, in order to provide a high-order filter, it is necessary to provide a control terminal from the IC and an external element such as a switch.
On the other hand, in this embodiment, even when a high-order filter is provided as the low-
なお、本実施の形態では、ローパスフィルタ3として1次のフィルタを2段縦続接続したものを用いたが、これに限るものではなく、1次のフィルタを3段以上縦続接続してもよい。
また、本実施の形態では、コンデンサ9a,9bをIC1の外部に設けているが、第3の実施の形態と同様にコンデンサ9a,9bをIC1の内部に設けるようにしてもよい。
In this embodiment, a low-
In this embodiment,
本発明は、D/A変換回路に適用することができる。 The present invention can be applied to a D / A conversion circuit.
1…集積回路、2…変調回路、3…ローパスフィルタ、4…遅延回路、5…減算回路、6…絶対値回路、7…レジスタ、8…コンパレータ、9,9a,9b,33…コンデンサ、10…バッファ回路、30,31,30a,31a,30b,31b…抵抗、32,32a,32b…スイッチ。
DESCRIPTION OF
Claims (4)
制御信号が入力されないときは第1の時定数とし、前記制御信号が入力されたときは前記第1の時定数よりも小さい第2の時定数とする時定数切替機能を有し、前記変調信号を平滑化してアナログ信号を出力するローパスフィルタと、
前記デジタルデータの変化を検出したときに一定時間、前記制御信号を出力する変化検出回路とを備え、
前記変化検出回路は、
前記デジタルデータを1サンプリング周期分だけ遅延させる遅延回路と、
前記デジタルデータから前記遅延回路の出力データを減算する減算回路と、
前記減算回路の出力データの絶対値を求める絶対値回路と、
しきい値を設定可能なレジスタと、
前記絶対値回路の出力値が前記レジスタに設定されたしきい値を超えたときに前記制御信号を一定時間出力し、前記絶対値回路の出力値が前記しきい値以下のときに前記制御信号を出力しないコンパレータとから構成され、
前記変調回路と前記ローパスフィルタの少なくとも一部と前記変化検出回路とは、集積回路の内部に設けられ、
前記一定時間は、前記ローパスフィルタの時定数が前記第2の時定数の状態で、前記デジタルデータに応じて変化する前記アナログ信号が最終値の63.2%まで変化する時間に設定されていることを特徴とするD/A変換回路。 A modulation circuit that outputs a modulation signal having a duty ratio according to the value of the digital data;
A time constant switching function for setting a first time constant when no control signal is input, and a second time constant smaller than the first time constant when the control signal is input; A low pass filter that outputs an analog signal by smoothing
A change detection circuit that outputs the control signal for a predetermined time when a change in the digital data is detected;
The change detection circuit includes:
A delay circuit for delaying the digital data by one sampling period;
A subtracting circuit for subtracting the output data of the delay circuit from the digital data;
An absolute value circuit for obtaining an absolute value of output data of the subtracting circuit;
Registers with configurable thresholds;
When the output value of the absolute value circuit exceeds a threshold value set in the register, the control signal is output for a predetermined time, and when the output value of the absolute value circuit is equal to or less than the threshold value, the control signal is output. And a comparator that does not output
The modulation circuit, at least a part of the low-pass filter, and the change detection circuit are provided in an integrated circuit ,
The predetermined time is set to a time when the analog signal that changes according to the digital data changes to 63.2% of the final value in a state where the time constant of the low-pass filter is the second time constant. A D / A conversion circuit characterized by the above.
前記ローパスフィルタは、
前記変調回路の出力端子とD/A変換回路の出力端子との間に直列に挿入された第1、第2の抵抗と、
前記制御信号が入力されたときに前記第2の抵抗を短絡するスイッチと、
前記集積回路の外部素子としてD/A変換回路の出力端子と接地との間に設けられるコンデンサとから構成されることを特徴とするD/A変換回路。 The D / A converter circuit according to claim 1,
The low-pass filter is
First and second resistors inserted in series between the output terminal of the modulation circuit and the output terminal of the D / A conversion circuit;
A switch that short-circuits the second resistor when the control signal is input;
A D / A conversion circuit comprising a capacitor provided as an external element of the integrated circuit between an output terminal of the D / A conversion circuit and ground.
さらに、前記ローパスフィルタの出力端子に接続されるバッファ回路を前記集積回路の内部に備え、
前記ローパスフィルタは、
前記変調回路の出力端子と前記バッファ回路の入力端子との間に直列に挿入された第1、第2の抵抗と、
前記制御信号が入力されたときに前記第2の抵抗を短絡するスイッチと、
前記バッファ回路の入力端子と接地との間に設けられるコンデンサとから構成されることを特徴とするD/A変換回路。 The D / A converter circuit according to claim 1,
Furthermore, a buffer circuit connected to the output terminal of the low-pass filter is provided inside the integrated circuit,
The low-pass filter is
First and second resistors inserted in series between the output terminal of the modulation circuit and the input terminal of the buffer circuit;
A switch that short-circuits the second resistor when the control signal is input;
A D / A conversion circuit comprising a capacitor provided between an input terminal of the buffer circuit and ground.
さらに、前記ローパスフィルタの出力端子に接続されるバッファ回路を前記集積回路の内部に備え、
前記ローパスフィルタは、1次のフィルタを複数段縦続接続したものであり、
前記1次のフィルタの各々は、
前記変調回路の出力端子と前記バッファ回路の入力端子との間に直列に挿入された第1、第2の抵抗と、
前記制御信号が入力されたときに前記第2の抵抗を短絡するスイッチと、
前記集積回路の外部素子として前記第2の抵抗の2つの端子のうちの出力側の端子と接地との間に設けられたコンデンサとから構成されることを特徴とするD/A変換回路。 The D / A converter circuit according to claim 1,
Furthermore, a buffer circuit connected to the output terminal of the low-pass filter is provided inside the integrated circuit,
The low-pass filter is a cascade connection of a plurality of primary filters.
Each of the first order filters is
First and second resistors inserted in series between the output terminal of the modulation circuit and the input terminal of the buffer circuit;
A switch that short-circuits the second resistor when the control signal is input;
A D / A converter circuit comprising a capacitor provided between an output terminal of the two terminals of the second resistor and a ground as an external element of the integrated circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014166382A JP6405149B2 (en) | 2014-08-19 | 2014-08-19 | D / A converter circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014166382A JP6405149B2 (en) | 2014-08-19 | 2014-08-19 | D / A converter circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016042675A JP2016042675A (en) | 2016-03-31 |
JP6405149B2 true JP6405149B2 (en) | 2018-10-17 |
Family
ID=55592236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014166382A Active JP6405149B2 (en) | 2014-08-19 | 2014-08-19 | D / A converter circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6405149B2 (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05227611A (en) * | 1992-02-17 | 1993-09-03 | Toshiba Corp | Controller for electric vehicle |
JPH06188738A (en) * | 1992-12-18 | 1994-07-08 | Fuji Electric Co Ltd | D/a converter |
JPH08213910A (en) * | 1995-02-02 | 1996-08-20 | Yamatake Honeywell Co Ltd | D/a converter |
KR100220383B1 (en) * | 1996-07-09 | 1999-09-15 | 윤종용 | D/a converter and the method using pwm |
JP2002199351A (en) * | 2000-12-27 | 2002-07-12 | Matsushita Electric Ind Co Ltd | Stillness judging device, and scanning line interpolating device provided with the same |
JP3991706B2 (en) * | 2002-02-22 | 2007-10-17 | セイコーエプソン株式会社 | Digital / analog conversion circuit |
JP4932573B2 (en) * | 2007-04-09 | 2012-05-16 | ソニー・エリクソン・モバイルコミュニケーションズ株式会社 | Audio playback device |
JP2012124669A (en) * | 2010-12-07 | 2012-06-28 | Asahi Kasei Electronics Co Ltd | D/a converter |
-
2014
- 2014-08-19 JP JP2014166382A patent/JP6405149B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016042675A (en) | 2016-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9369137B2 (en) | Clock generation circuit, successive comparison A/D converter, and integrated circuit device | |
JP2010199798A (en) | Analog/digital conversion circuit | |
JP6293516B2 (en) | Double integral type A / D converter | |
US20180012045A1 (en) | Sine wave multiplication device and input device having the same | |
JPH04152715A (en) | Digital/analog converter | |
JP6405149B2 (en) | D / A converter circuit | |
US11196441B2 (en) | Sensor device including a capacitive charge output device connected to an A/D converter | |
JP5882539B2 (en) | D / A converter and control method of D / A converter | |
KR101451494B1 (en) | Duty ratio/voltage conversion circuit | |
EP3349092A1 (en) | Sine wave multiplier device and input device comprising same | |
JP4639162B2 (en) | Analog to digital converter | |
JP5549824B2 (en) | A / D conversion circuit, electronic device, and A / D conversion method | |
WO2016017702A1 (en) | Integration circuit and ad converter | |
JP6640773B2 (en) | Time digital converter | |
JP5527397B1 (en) | Pulse generator | |
WO2009019632A1 (en) | Signal processor comprising an integrating analog-to-digital converter | |
JP4955725B2 (en) | Binary circuit | |
JP5002964B2 (en) | Delay circuit and analog / digital converter circuit having the same | |
JP2004194201A (en) | Integrated circuit and a/d conversion circuit | |
TW201332294A (en) | Counter based digital pulse width modulation device could scalable the resolution | |
JPS58179119A (en) | Protecting relay | |
US7821438B2 (en) | Digital-to-analog converter circuit layout | |
TWI428609B (en) | Current sensing circuit | |
JP2012112873A (en) | Frequency measurement circuit | |
JP5409122B2 (en) | Averaging circuit that outputs the moving average of the input signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170327 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171122 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171219 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180213 |
|
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: 20180828 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180914 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6405149 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |