JPS61203720A - Digital-analog converter - Google Patents

Digital-analog converter

Info

Publication number
JPS61203720A
JPS61203720A JP4511685A JP4511685A JPS61203720A JP S61203720 A JPS61203720 A JP S61203720A JP 4511685 A JP4511685 A JP 4511685A JP 4511685 A JP4511685 A JP 4511685A JP S61203720 A JPS61203720 A JP S61203720A
Authority
JP
Japan
Prior art keywords
digits
signal
circuit
converter
digital 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.)
Pending
Application number
JP4511685A
Other languages
Japanese (ja)
Inventor
Kazuhiro Hayashi
一博 林
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.)
Pioneer Corp
Original Assignee
Pioneer Electronic 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 Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP4511685A priority Critical patent/JPS61203720A/en
Publication of JPS61203720A publication Critical patent/JPS61203720A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To attain D/A conversion even when a supplied digital signal exceeds the number of digits of input to a D/A converter by shifting the digital signal in response to the exceeded number of digits. CONSTITUTION:A control circuit 11 generates a signal E representing the exceeded number of digits when the number of digits of an input code data is larger than the reference number of digits by the prescribed number of digits. A shift circuit receiving the said signal E shifts the position of a decimal point of the input code data by the number of exceeded digits toward high-order in response to the signal E. After the output of the shift circuit is converted by a D/A converter 1, the result is fed to an LPF 12 via a switching circuit 2 controlled by the signal E. Even when the supplied digital signal exceeds the input number of digits of the D/A converter, D/A conversion is attained.

Description

【発明の詳細な説明】 技術分野 本発明は、ディジタル・アナログ変換回路に関し、特に
固定小数点形式で表示された2進コードデータ等のコー
ドデータをグリッチノイズを抑制しつつアナログ信号に
変換するD/A変換回路に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a digital-to-analog conversion circuit, and in particular to a digital-to-analog conversion circuit that converts code data such as binary code data displayed in fixed-point format into an analog signal while suppressing glitch noise. Regarding the A conversion circuit.

従来この種の回路として第1図に示すものがあった。1
は所定のディジタル信号をアナログ信号に変換するディ
シタルーアナログ(D/A )変換器、2は制御端子3
を介して供給される制御・母ルス信号の・臂ルス幅に応
じて間欠的にD/A変換器1の出力信号を通過せしめる
スイッチング回路である。
A conventional circuit of this type is shown in FIG. 1
2 is a digital-to-analog (D/A) converter that converts a predetermined digital signal into an analog signal, and 2 is a control terminal 3.
This is a switching circuit that allows the output signal of the D/A converter 1 to pass intermittently according to the pulse width of the control pulse signal supplied via the control pulse signal.

スイッチング回路2は制御パルス信号に応答して動作す
るアナログスイッチ等によ多構成される。
The switching circuit 2 is comprised of many analog switches and the like that operate in response to control pulse signals.

スイッチング回路2の出力はローノやスフィルタ4を経
て出力される。
The output of the switching circuit 2 is outputted through a Ronos filter 4.

次に、第2図の波形図を参照しつつ動作について説明す
る。
Next, the operation will be explained with reference to the waveform diagram in FIG.

D/A変換器1では、図(A)に示す如きディジタル信
号に対して図(B)に示す毎きアナログ信号を出力する
。ここで、窃4.変換器10入力信号(A)が変化して
から出力信号(B)が安定するまでには応答期間αを要
し、この期間αでは、グリッチと称される大きなス・母
イクを生ずる場合がある。この出力信号(B)の期間α
における不安定部分およびグリッチによる悪影響を除く
ために、制御端子3を介して供給される制御ノJ?ルス
信号(C)により、そのパルス幅に応じた出力信号(B
)の安定期間す内の一定時間tだけスイッチング回路2
を作動(オン)させる。これによシ、スイッチング回路
2のアナログ出力信号(D)は、制御・ぐルス信号(C
)の・母ルス幅の・ぐルス振幅変調波となる。アナログ
出力信号(D)は、ロー・!スフィルタ4に供給される
。ローi4スフィルタ4は例えば積分回路によって形成
されて、該・母ルス振幅変調波からアナログ信号を得る
のである。
The D/A converter 1 outputs an analog signal as shown in Figure (B) in response to a digital signal as shown in Figure (A). Here, theft 4. A response period α is required from when the input signal (A) of the converter 10 changes until the output signal (B) becomes stable, and during this period α, large currents and peaks called glitches may occur. be. The period α of this output signal (B)
In order to eliminate the adverse effects of instability and glitches in the control signal J?, which is supplied via the control terminal 3, The pulse signal (C) generates an output signal (B) according to its pulse width.
) switching circuit 2 for a certain period of time t within the stable period of
Activate (turn on). Accordingly, the analog output signal (D) of the switching circuit 2 is the control signal (C
) becomes a pulse amplitude modulated wave of the base pulse width. The analog output signal (D) is low! is supplied to the filter 4. The locus filter 4 is formed by, for example, an integrating circuit, and obtains an analog signal from the pulse amplitude modulated wave.

このように構成された従来回路では、所定ビット数以下
のディジタル信号のみに使用が限定されておシ、例えば
当該所定ビット数のデータの加算によってビット数が増
加したデータを上記回路でアナログ信号に変換すること
は出来ないのである。
Conventional circuits configured in this manner are limited to use only for digital signals having a predetermined number of bits or less; It cannot be converted.

よって、本発明の目的とするところは、所定入力ビット
数のD/A変換器に該所定入力ビット数以上のディジタ
ル信号が供給された場合でも当該ディジタル信号をアナ
ログ信号に変換することを可能としたD/A変換回路を
提供することである。
Therefore, an object of the present invention is to make it possible to convert a digital signal into an analog signal even when a digital signal having a predetermined number of input bits or more is supplied to a D/A converter having a predetermined number of input bits. It is an object of the present invention to provide a D/A conversion circuit that has the following characteristics.

上記目的を達成する為に、本発明のD/A変換回路にお
いては、供給されるディジタル信号データの上位ビット
から所定ビット数をD/A変換器に供給し、該D/A変
換器の不足入力桁数に応じた信号によって該D/A変換
器の後段に設けられスイッチング回路の閉成期間を変化
せしめる構成を採用している。
In order to achieve the above object, the D/A converter circuit of the present invention supplies a predetermined number of bits from the upper bits of the supplied digital signal data to the D/A converter, and A configuration is adopted in which the closing period of a switching circuit provided after the D/A converter is changed by a signal corresponding to the number of input digits.

以下、第3図を参照しつつ本発明の一実施例について説
明する。同図において従来回路と同等部分は同一符号で
示す。外部からの例えば2進コードによる所定ビット(
以下Lピットと称する)のディジタル信号はシフト回路
10に供給される。また、Lビットのデジタル信号のう
ち上位桁より所定ビット数(以下Mビットと称する)の
ディジタル信号は制御回路11に供給される。制御回路
11は、Mビットのディジタル信号の符号に応じて所定
の時定数を択一に選択する論理回路と該論理回路の出力
によって・ぐルス幅に対応した時定数が設定される単安
定マルチバイブレータとによって構成される。また、該
単安定マルチバイブレータは供給されるディジタル信号
もしくはデータに含まれるクロックタイミング情報に同
期して上記・母ルスな発生する。そして、該マルチバイ
ブレータの出力及び上記論理回路の出力を制御・々ルス
信号(E)及びシフト信号としている。制御・臂ルス信
号(E)及びシフト信号はそれぞれスイッチング回路2
及びシフト回路10の各制御端子に供給される。制御パ
ルス信号(E)は、第4図に示すように上記Mピットの
ディジタル信号の符号に応じてノRルス幅が変化する。
An embodiment of the present invention will be described below with reference to FIG. In the figure, parts equivalent to the conventional circuit are indicated by the same symbols. A predetermined bit (for example, a binary code) from an external source (
The digital signal of the L pit (hereinafter referred to as L pit) is supplied to the shift circuit 10. Furthermore, a digital signal of a predetermined number of bits (hereinafter referred to as M bits) from the higher digits of the L-bit digital signal is supplied to the control circuit 11 . The control circuit 11 includes a logic circuit that selectively selects a predetermined time constant depending on the sign of an M-bit digital signal, and a monostable multi-channel circuit that sets a time constant corresponding to the pulse width by the output of the logic circuit. It consists of a vibrator. Further, the monostable multivibrator generates the above-mentioned pulse in synchronization with clock timing information included in the supplied digital signal or data. The output of the multivibrator and the output of the logic circuit are used as a control pulse signal (E) and a shift signal. The control/arm pulse signal (E) and shift signal are each sent to the switching circuit 2.
and each control terminal of the shift circuit 10. As shown in FIG. 4, the control pulse signal (E) has a Norus width that changes depending on the sign of the digital signal of the M pit.

シフト回路10は、シフトレジスタ、リングレジスタも
しくはマルチブレフサ等によって形成され、例えば供給
されるディジタル信号を一時記憶して上記シフト信号に
応じて該ディジタル信号を所定桁数シフトして上位より
(L−M)ビットのディジタル信号をD/A変換器1に
供給する。
The shift circuit 10 is formed by a shift register, a ring register, a multi-branch register, or the like, and temporarily stores the supplied digital signal, and shifts the digital signal by a predetermined number of digits in accordance with the shift signal, starting from the higher order (L-M ) bit digital signal is supplied to the D/A converter 1.

い変換器1は(L−M)ビットのディジタル信号をアナ
ログ信号に変換してこれをスイッチング回路2の一方の
入力端子に供給する。スイッチング回路2の他方の入力
端子は接地されている。スイッチング回路2は上記制御
パルス信号(E)の高レベル期間に対応して、上記アナ
ログ信号を間欠的に通過せしめる。スイッチング回路2
の出力はPAM及びPWBIIされた・母ルス信号とな
る。ローノ臂スフィルタ12は例れば制御・臂ルス信号
(E)の供給に同期してスイッチング回路2の出力を積
分しこの積分値と制御ノJ?ルス信号発生周期から平均
値を得てアナログ信号を発生しこれを高調波を除去する
フィルターを介して出力する構成となっている。
A converter 1 converts a (LM) bit digital signal into an analog signal and supplies it to one input terminal of a switching circuit 2. The other input terminal of switching circuit 2 is grounded. The switching circuit 2 intermittently passes the analog signal in response to the high level period of the control pulse signal (E). switching circuit 2
The output becomes a PAM and PWB II mother pulse signal. For example, the arm filter 12 integrates the output of the switching circuit 2 in synchronization with the supply of the control signal (E), and combines this integral value with the control signal (J?). The structure is such that an average value is obtained from the pulse signal generation period to generate an analog signal, which is output via a filter that removes harmonics.

さらに、上記回路の動作について説明する。例えば8ビ
ツトの〜0変換器によってアナログ信号を2進コードの
ディジタル信号に変換した後−18ビツトの各データを
加算して9ビツトのデータを得てこれを本発明の回路に
入力するものとする。
Furthermore, the operation of the above circuit will be explained. For example, after converting an analog signal into a binary code digital signal using an 8-bit ~0 converter, -18 bits of each data are added to obtain 9-bit data, which is input to the circuit of the present invention. do.

D/A変換回路1に8ビツトのD/A変換器を使用すれ
ば、(L−M)=8、I、=9及びM=1となる。
If an 8-bit D/A converter is used in the D/A conversion circuit 1, (LM)=8, I,=9, and M=1.

入力されたディノタルデータの上位のM(=1)ピット
は制御回路11に供給され、Mピットを含むLピットは
シフト回路10に供給される。制御回路11は、Mビッ
トのデータの値が0であるときは9ビツトデータのうち
上位2ビツトめよシ8ビットを、当該データの値が1で
あるときは9ビツトのうち上位8ビツトを選択せしめる
べくシフト回路IOにシフト信号を供給する。シフト回
路10は上記シフト信号に応じて8ビツトのデータを阪
α変換器1に供給する。D/A変換器1のアナログ信号
出力はスイッチング回路2に供給される。D/A変換器
1に供給されたデータが下位8ビツトであるとき、すな
わち制御回路111C供給されたデータがOのときは、
制御回路11は制御/4′ルス信号(E)のディプリッ
チ・やルス幅を基準・ぐルス幅τに設定する。
The upper M (=1) pits of the input dinotal data are supplied to the control circuit 11, and the L pits including the M pits are supplied to the shift circuit 10. The control circuit 11 outputs the upper 2 bits of the 9-bit data when the value of the M-bit data is 0, and the upper 8 bits of the 9 bits when the value of the data is 1. A shift signal is supplied to the shift circuit IO for selection. The shift circuit 10 supplies 8-bit data to the Osaka alpha converter 1 in response to the shift signal. The analog signal output of the D/A converter 1 is supplied to a switching circuit 2. When the data supplied to the D/A converter 1 is the lower 8 bits, that is, when the data supplied to the control circuit 111C is O,
The control circuit 11 sets the dip rich pulse width of the control/4' pulse signal (E) to the reference pulse width τ.

また、D/A変換器1に供給されたデータが上位8ビツ
トであるとき、すなわち制御回路11に供給されたデー
タが1のときは、制御回路11は制御/ぐルス信号(E
)の・臂ルス幅を2×τに設定する。スイッチ回路2の
出力はロー・母スフィルタ12によって前述の如く積分
されるので、制御パルス信号(E)のパルス幅が2×τ
のときのロー/J?スフィルタ12の出力レベルは当該
信号・母ルス幅がτであるときの2倍となる。このよう
にして、9ビツトにデータが及んだ時は、該データをシ
フト回路10によって1ピツトシフトしてその値を捧と
し、スイッチ回路2の通過時間を2倍にすることによシ
、はぼ元のデータの値に比例したアナログ信号を得るの
である。
Further, when the data supplied to the D/A converter 1 is the upper 8 bits, that is, when the data supplied to the control circuit 11 is 1, the control circuit 11 outputs the control signal (E
)'s arm lux width is set to 2×τ. Since the output of the switch circuit 2 is integrated as described above by the low bus filter 12, the pulse width of the control pulse signal (E) is 2×τ.
Low/J? The output level of the pulse filter 12 is twice that when the signal/base pulse width is τ. In this way, when the data reaches 9 bits, the shift circuit 10 shifts the data by 1 pit and uses that value, and doubles the passage time of the switch circuit 2. The result is an analog signal proportional to the original data value.

さらに、(L−M)ピットのD/A変換器においては、
1となっている上位ピットがLピットよりなるデータの
うちの下位からNビット目に存在するとき、Nビット目
から(L−M)ピットをシフト回路10によって選択し
、2(N−(L−M) ) ×τに相当する期間中スイ
ッチ回路2を閉成するように制御回路11を動作せしめ
れば良い。
Furthermore, in the (LM) pit D/A converter,
When the upper pit that is 1 exists at the Nth bit from the lower end of the data consisting of L pits, the shift circuit 10 selects (LM) pits from the Nth bit, and 2(N-(L) -M) ) The control circuit 11 may be operated to close the switch circuit 2 during the period corresponding to xτ.

なお、上記シフト信号及び制御パルス信号(E)はMビ
ットの符号に基づいて発生する信号であシこれらを単一
の信号に置換することが可能である。
Note that the shift signal and control pulse signal (E) are signals generated based on the sign of M bits, and it is possible to replace them with a single signal.

また、制御回路11をマイクロアロセッサによって構成
することも可能である。要は、所要の制御信号もしくは
作用が得られる構成のものであれば良いのである。
Furthermore, it is also possible to configure the control circuit 11 using a microprocessor. In short, any configuration that can provide the required control signal or effect is sufficient.

以上説明したように、本発明のD/A変換回路において
は、供給されるディジタル信号の桁数がD/A変換器の
入力桁数を超過したときは、該ディジタル信号を超過桁
数に応じてシフトして、これをD/A変換し、得られた
アナログ信号を上記超過桁数に応じた期間積分する構成
としているので、供給されるディジタル信号の桁数がD
/A変換器の入力桁数を超過してもD/A変換可能とな
って好ましいのである。
As explained above, in the D/A conversion circuit of the present invention, when the number of digits of the supplied digital signal exceeds the number of input digits of the D/A converter, the digital signal is converted according to the number of digits exceeding the number of digits. This is D/A converted, and the resulting analog signal is integrated for a period corresponding to the number of excess digits, so the number of digits of the supplied digital signal is D/A.
This is preferable because D/A conversion is possible even if the number of input digits exceeds the number of input digits of the /A converter.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、従来のD/A変換回路を示すブロック図、第
2図は、従来のD/A変換回路の主要な信号波形を示す
波形図、第3図は、本発明のD/A変換回路の実施例を
示すブロック図、第4図は、制御/4’ルス信号(E)
の波形を示す波形図である。 主要部分の符号の説明
FIG. 1 is a block diagram showing a conventional D/A conversion circuit, FIG. 2 is a waveform diagram showing main signal waveforms of the conventional D/A conversion circuit, and FIG. 3 is a D/A conversion circuit according to the present invention. A block diagram showing an embodiment of the conversion circuit, FIG. 4 shows the control/4' pulse signal (E)
FIG. Explanation of symbols of main parts

Claims (1)

【特許請求の範囲】[Claims] 入力コードデータの桁数が基準桁数より所定桁だけ大き
いとき超過桁数を表わす超過桁数信号を発する制御回路
と、前記超過桁数信号に応じて超過桁数分だけ前記入力
コードデータの小数点の位置を上位方向にシフトする小
数点シフト回路と、前記小数点シフト回路の出力をD/
A変換するD/A変換器と、前記D/A変換器の出力を
前記入力コードデータのクロックタイミングに同期して
前記超過桁数信号に応じて該超過桁数分に応じた長さだ
け通過するゲート回路とを含むことを特徴とするD/A
変換回路。
a control circuit that generates an excess number signal indicating the excess number of digits when the number of digits of the input code data is larger than the reference number of digits by a predetermined number of digits; and a decimal point of the input code data corresponding to the excess number of digits in accordance with the excess number of digits signal. A decimal point shift circuit that shifts the position of
A D/A converter for A conversion, and the output of the D/A converter is synchronized with the clock timing of the input code data and is passed for a length corresponding to the excess number of digits according to the excess number of digits signal. A D/A characterized in that it includes a gate circuit that
conversion circuit.
JP4511685A 1985-03-07 1985-03-07 Digital-analog converter Pending JPS61203720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4511685A JPS61203720A (en) 1985-03-07 1985-03-07 Digital-analog converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4511685A JPS61203720A (en) 1985-03-07 1985-03-07 Digital-analog converter

Publications (1)

Publication Number Publication Date
JPS61203720A true JPS61203720A (en) 1986-09-09

Family

ID=12710293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4511685A Pending JPS61203720A (en) 1985-03-07 1985-03-07 Digital-analog converter

Country Status (1)

Country Link
JP (1) JPS61203720A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54101076A (en) * 1978-01-26 1979-08-09 Nec Corp Digital program voltage generator
JPS58151106A (en) * 1982-03-04 1983-09-08 Mitsubishi Electric Corp Fader circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54101076A (en) * 1978-01-26 1979-08-09 Nec Corp Digital program voltage generator
JPS58151106A (en) * 1982-03-04 1983-09-08 Mitsubishi Electric Corp Fader circuit

Similar Documents

Publication Publication Date Title
JPH07212234A (en) D/a converter and frequency synthesizer using this d/a converter
JPH07503590A (en) Dual edge pulse width modulation system
EP0280321A3 (en) Digital-to-analog converter circuit
JPH04357716A (en) Multi-channel d/a converter
JPS61203720A (en) Digital-analog converter
JPS60256228A (en) Digital-analog converter
JPS63114422A (en) High-speed digital/analog converting circuit
JP2853723B2 (en) Pulse width modulation circuit
JPH09246869A (en) Noise generator
JPS61203719A (en) Signal processing circuit
JPH04208717A (en) Digital-analog converting circuit
JPH11312978A (en) Data converter
JPH0611662Y2 (en) Digital analog converter
JPH0695619A (en) Device for driving liquid crystal
KR950002302B1 (en) A/d converter
JPH0964745A (en) Optional waveform generator
KR20010048618A (en) Apparatus for digital tone generating in communication terminal
SU1376221A1 (en) Digital frequency synthesizer
JP2727508B2 (en) Material testing machine
JPS62139417A (en) Code conversion system
JPH01314023A (en) Digital signal processing circuit
JPH05268385A (en) Tone generation control circuit
JPH0730426A (en) D/a conversion device
JPS59159035U (en) D/A converter
JPH0126208B2 (en)