JPS61169024A - Analog output processing system - Google Patents

Analog output processing system

Info

Publication number
JPS61169024A
JPS61169024A JP884985A JP884985A JPS61169024A JP S61169024 A JPS61169024 A JP S61169024A JP 884985 A JP884985 A JP 884985A JP 884985 A JP884985 A JP 884985A JP S61169024 A JPS61169024 A JP S61169024A
Authority
JP
Japan
Prior art keywords
output
digital
converter
internal data
logical
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
JP884985A
Other languages
Japanese (ja)
Inventor
Toshiya Sugimura
杉村 利弥
Hitoshi Kasai
仁 笠井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP884985A priority Critical patent/JPS61169024A/en
Publication of JPS61169024A publication Critical patent/JPS61169024A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an output with high accuracy with simple circuit constitution by transmitting externally an output of an integration device and inputting it to an A/D converter and controlling the output so as to be an object value thereby obtaining an analog signal. CONSTITUTION:An operating section 2 and the A/D converter 1 are started by sample pulses at times t1,t2... at a prescribed period. A converted value (x) of the converter 1 is smaller than an internal data (y) at a time t1 at first and the operating section 2 brings digital outputs O1,O2 to logical '1'. Thus, a capacitor C of the integration device 4 is charged by a time constant decided by C.R1 through a resistor R1 and an output voltage Z is shown in broken lines. The converted (x) is equal to the internal data (y) at a time t2, the operating device 2 brings the output O1 to logical '0' and the output O2 to logical '1' to keep the internal state. The converted value (x) becomes larger than the data (y) at a time t4 and the operation section 2 brings the outputs O1,O2 both to logical '0', then the capacitor C is discharged by a time constant of CR2 and the output voltage falls down. Then, the internal data 3 is outputted as an object value.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はアナログ出力処理方式、特に9例えばマイクロ
コンピュータ装置等において、比較的低速であって簡易
型のディジタル/アナログ変換出力を行うアナログ出力
処理方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an analog output processing method, particularly an analog output processing method that performs a relatively slow and simple digital/analog conversion output in a microcomputer device, etc. It is related to the method.

〔従来の技術と問題点〕[Conventional technology and problems]

例えば、マイクロコンピュータにより、各種装置を制御
する場合等には、ディジタル情報として保持する内部デ
ータを、アナログ信号として出力することが必要になる
ことがある。
For example, when controlling various devices with a microcomputer, it may be necessary to output internal data held as digital information as an analog signal.

第4図および第5図は従来のアナログ出力処理方式の例
を示す。
4 and 5 show examples of conventional analog output processing methods.

第4図は、いわゆる抵抗ラダ一式のディジタル/アナロ
グ(D/A)変換を行う回路を示している。図中、5は
アンプ、6はアナログ出力端子を表す。この方式によれ
ば、所望する分解能に応じたディジタル出力が必要とな
り、出力ビツト数が増加して、装置が比較的複雑になる
と共に、ディジタル出力更新時に、アナログ出力端子6
のアナログ出力にグリッジが発生しやすく、ディジタル
出力の変更周期でノイズが現れやすいという問題がある
FIG. 4 shows a circuit for performing digital/analog (D/A) conversion of a so-called resistance ladder set. In the figure, 5 represents an amplifier and 6 represents an analog output terminal. According to this method, a digital output corresponding to the desired resolution is required, the number of output bits increases, the device becomes relatively complex, and when updating the digital output, the analog output terminal 6
There are problems in that glitches are likely to occur in the analog output of the device, and noise is likely to appear in the change period of the digital output.

第5図に示した回路は、いわゆる可変デユーティ式によ
るものである。抵抗RおよびコンデンサCにより、充放
電の時定数が決まり、ディジタル出力のパルス幅に応じ
たアナログ出力が得られる。
The circuit shown in FIG. 5 is of a so-called variable duty type. The resistor R and capacitor C determine the charging/discharging time constant, and an analog output corresponding to the pulse width of the digital output is obtained.

この方式によれば1回路構成を簡単にできるが。According to this method, one circuit configuration can be made easily.

リプルが大きく、また短い周期でディジタル出力を行わ
なければならないという問題がある。
There are problems in that the ripple is large and digital output must be performed in short cycles.

C問題点を解決するための手段〕 本発明は上記問題点の解決を図り、マイクロコンピュー
タを用いたシステムに適したアナログ出力処理方式であ
って、簡単な回路で実現でき、且つ制御の容易な方式を
提供する。即ち2本発明のアナログ出力処理方式は、A
/Dコンバータと。
Means for Solving Problem C] The present invention aims to solve the above problems and is an analog output processing method suitable for a system using a microcomputer, which can be realized with a simple circuit and is easy to control. provide a method. In other words, the analog output processing method of the present invention is A.
/D converter.

アナログ出力を行う積分器と、上記A/Dコンバータか
ら取り込まれるディジタル信号と目標値とを比較し2つ
のディジタル出力を制御するディジタル処理装置による
演算部とを有する装置であって、一方の上記ディジタル
出力は上記積分器に対する充電制御を行い、他方の上記
ディジタル出力は上記積分器に対する放電制御を行うよ
う構成され、上記積分器の出力は外部への出力とされる
と共に、上記A/Dコンバータへの入力とされるよう接
続され、上記ディジタル処理装置が保持する目標値とな
る内部データをアナログ出力することを特徴としている
。以下1図面を参照しつつ、実施例に従って説明する。
The device includes an integrator that performs analog output, and an arithmetic unit using a digital processing device that compares a digital signal taken in from the A/D converter with a target value and controls two digital outputs, the device having one of the digital signals. The output is configured to control the charging of the integrator, and the other digital output is configured to control the discharging of the integrator, and the output of the integrator is output to the outside and is also sent to the A/D converter. It is characterized in that it is connected to the input of the digital processing device and outputs internal data, which is a target value held by the digital processing device, in analog form. An embodiment will be described below with reference to one drawing.

〔実施例〕〔Example〕

第1図は本発明の一実施例構成、第2図は第1図図示演
算部による処理制御を説明する図、第3図は第1図図示
実施例の動作を示すタイムチャートを示す。
FIG. 1 shows the configuration of an embodiment of the present invention, FIG. 2 is a diagram illustrating processing control by the arithmetic unit shown in FIG. 1, and FIG. 3 is a time chart showing the operation of the embodiment shown in FIG. 1.

図中、符号1はA/Dコンバータ、2はマイクロプロセ
ッサによる演算部、3は目標値となる内部データを保持
する内部データ記憶部、4は抵抗R1,R2,ダイオー
ドDi、D2およびコンデンサCによって構成される積
分器、5はアンプ。
In the figure, numeral 1 is an A/D converter, 2 is an arithmetic unit using a microprocessor, 3 is an internal data storage unit that holds internal data serving as a target value, and 4 is an A/D converter, 4 is connected to resistors R1, R2, diodes Di, D2, and capacitor C. It consists of an integrator, and 5 is an amplifier.

6はアナログ出力端子を表す。6 represents an analog output terminal.

演算部2は8例えばマイクロプロセッサにより。The arithmetic unit 2 is made up of eight microprocessors, for example.

第2図に示すような処理を実行するものである。The processing shown in FIG. 2 is executed.

演算部2による2つのディジタル出力01.02によっ
て、積分器4の出力が定まり、積分器4の出力は、アン
プ5を経て、外部の装置へ出力されると共に、A/Dコ
ンバータlへ入力されるようになっている。
The output of the integrator 4 is determined by the two digital outputs 01.02 from the calculation unit 2, and the output of the integrator 4 is outputted to an external device via the amplifier 5, and is also input to the A/D converter l. It has become so.

演算部2は、所定のサンプル・パルス毎に、第2図図示
処理10により、A/Dコンバータ1によるA/D変換
変換値内内部データ記憶部3に用意された内部データy
とを比較する。この内部データyは、出力の目標値とな
るディジタル値であって1通常の場合1時間と共に変化
する。演算部2は、A/D変換変換値内部データyより
小さいとき、処理11により、ディジタル出力O1およ
び02の双方へ1″を出力する。また、 A/D変換変
換値内部データyとが等しい場合には、処理12により
、ディジタル出力01に0”を出力し、ディジタル出力
02に“1”を出力する。
The calculation unit 2 calculates internal data y prepared in the internal data storage unit 3 within the A/D conversion value by the A/D converter 1 through the process 10 shown in FIG. 2 for each predetermined sample pulse.
Compare with. This internal data y is a digital value that is a target value of the output, and normally changes over one hour. When the A/D conversion conversion value internal data y is smaller than the A/D conversion conversion value internal data y, the calculation unit 2 outputs 1'' to both digital outputs O1 and 02 through process 11. Also, when the A/D conversion conversion value internal data y is equal to In this case, processing 12 outputs "0" to digital output 01 and "1" to digital output 02.

A/D変換変換値内部データyより大きい場合には、処
理13により、ディジタル出力01および02の双方へ
“0”を出力する。ディジタル出力01に1”が出力さ
れると、コンデンサCは充電し、ディジタル出力02に
0”が出力されると、コンデンサCは放電する。
If the A/D conversion value is larger than the internal data y, "0" is output to both digital outputs 01 and 02 in process 13. When 1'' is output to digital output 01, capacitor C is charged, and when 0'' is output to digital output 02, capacitor C is discharged.

次に、第3図に示すタイムチャートに従って。Next, follow the time chart shown in FIG.

第1図図示実施例の動作について説明する。The operation of the embodiment shown in FIG. 1 will be explained.

A/Dコンバータ1および演算部2は、所定の周期のサ
ンプル・パルスtl、 t2. t3・・・によって起
動される。
The A/D converter 1 and the calculation unit 2 generate sample pulses tl, t2 . It is activated by t3...

1)tlのとき、A/D変換変換値内部データyより小
さい。従って、演算部2は、第2図図示処理11により
、ディジタル出力01およびo2を“1”とする。これ
により、積分器4のコンデンサCには、抵抗R1を通し
て、CおよびR1によって決定される時定数でもって、
チャージされることとなり、その出力電圧2は、第3図
に破線で示すように上昇する。
1) When tl, the A/D conversion value is smaller than the internal data y. Therefore, the calculation unit 2 sets the digital outputs 01 and o2 to "1" by the process 11 shown in FIG. Thereby, the capacitor C of the integrator 4 is connected through the resistor R1 with a time constant determined by C and R1.
It will be charged, and its output voltage 2 will rise as shown by the broken line in FIG.

1i)t2のとき、A/D変換変換値内部データyと等
しくなり、演算部2は、第2圓図示処理12により、デ
ィジタル出力01を“0”とし、ディジタル出力02を
“1”とする。これにより。
1i) At t2, the A/D conversion value becomes equal to the internal data y, and the calculation unit 2 sets the digital output 01 to "0" and the digital output 02 to "1" by the second circle illustration process 12. . Due to this.

第1図に示す2つのダイオードDIおよびD2は、いず
れもカットオフ状態となり、コンデンサCのチャージは
変化しない。従って、出力電圧2も変化せず、いわゆる
定常状態となる。
The two diodes DI and D2 shown in FIG. 1 are both cut off, and the charge on the capacitor C remains unchanged. Therefore, the output voltage 2 also does not change, resulting in a so-called steady state.

1ii)R3のとき、 R2の場合と同様に定常状態を
維持する。
1ii) When R3, maintain steady state as in R2.

1v)R4のとき、内部データyが変化しているため。1v) At R4, internal data y has changed.

A/D変換変換値内部データyより大きくなっている。The A/D conversion value is larger than the internal data y.

そのため、演算部2は、第2図図示処理13により、デ
ィジタル出力01および02を共に“0″にする。これ
により、コンデンサCは、Cの容量とR2とによって定
まる時定数でもって、ディスチャージされる。従って、
出力電圧2は下降する。
Therefore, the calculation unit 2 sets both the digital outputs 01 and 02 to "0" by the process 13 shown in FIG. As a result, capacitor C is discharged with a time constant determined by the capacitance of C and R2. Therefore,
Output voltage 2 falls.

v)R5のとき、 R4の場合と同様に出力電圧2が下
降する。
v) When R5, the output voltage 2 decreases as in the case of R4.

vi)R6およびR7のとき、それぞれR3およびR4
の場合と同様に定常状態を維持する。
vi) When R6 and R7, R3 and R4 respectively
The steady state is maintained as in the case of .

〔発明の効果〕〔Effect of the invention〕

以上説明した如く1本発明によれば、以下のような効果
がある。
As explained above, the present invention has the following effects.

■ 簡単な回路構成で、かつ処理制御も単純であるため
9例えばマイクロプロセッサ等の処理負担が軽く、アナ
ログ出力以外の他の制御を並行処理することが可能であ
る。
(2) Since the circuit configuration is simple and the processing control is also simple, the processing load on, for example, a microprocessor is light, and other controls besides analog output can be processed in parallel.

■ A/Dコンバータに等しい分解能、精度を確保でき
る。
■ Resolution and accuracy equivalent to that of an A/D converter can be ensured.

■ 定常状態ではりプルがない。■ There is no beam pull in steady state.

■ ディジタル出力のポートの変化を積分器が吸収する
ので、グリッジが発生しない。
■ Glitches do not occur because the integrator absorbs changes in the digital output port.

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

第1図は本発明の一実施例構成、第2図は第1図図示演
算部による処理制御を説明する図、第3図は第1図図示
実施例の動作を示すタイムチャート、第4図および第5
図は従来のアナログ出力処理方式の例を示す。 図中、■はA/Dコンバータ、2ば演算部、3は内部デ
ータ記憶部、4は積分器、5はアンプ。 6はアナログ出力端子を表す。 特許出願人   富士通株式会社 代理人弁理士  森1)寛(外1名) 才1 図
FIG. 1 shows the configuration of an embodiment of the present invention, FIG. 2 is a diagram explaining processing control by the calculation unit shown in FIG. 1, FIG. 3 is a time chart showing the operation of the embodiment shown in FIG. 1, and FIG. 4 and the fifth
The figure shows an example of a conventional analog output processing method. In the figure, ■ is an A/D converter, 2 is an arithmetic unit, 3 is an internal data storage unit, 4 is an integrator, and 5 is an amplifier. 6 represents an analog output terminal. Patent applicant: Fujitsu Ltd. Representative Patent Attorney Hiroshi Mori 1) (and 1 other person) Figure 1

Claims (1)

【特許請求の範囲】[Claims] A/Dコンバータと、アナログ出力を行う積分器と、上
記A/Dコンバータから取り込まれるディジタル信号と
目標値とを比較し2つのディジタル出力を制御するディ
ジタル処理装置による演算部とを有する装置であって、
一方の上記ディジタル出力は上記積分器に対する充電制
御を行い、他方の上記ディジタル出力は上記積分器に対
する放電制御を行うよう構成され、上記積分器の出力は
外部への出力とされると共に、上記A/Dコンバータへ
の入力とされるよう接続され、上記ディジタル処理装置
が保持する目標値となる内部データをアナログ出力する
ことを特徴とするアナログ出力処理方式。
The apparatus includes an A/D converter, an integrator that performs analog output, and an arithmetic unit using a digital processing device that compares a digital signal taken in from the A/D converter with a target value and controls two digital outputs. hand,
One of the digital outputs is configured to perform charging control on the integrator, and the other digital output is configured to perform discharging control on the integrator, and the output of the integrator is output to the outside, and the A An analog output processing method characterized in that the digital processing device is connected to be input to a D/D converter and outputs internal data as a target value held by the digital processing device in analog form.
JP884985A 1985-01-21 1985-01-21 Analog output processing system Pending JPS61169024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP884985A JPS61169024A (en) 1985-01-21 1985-01-21 Analog output processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP884985A JPS61169024A (en) 1985-01-21 1985-01-21 Analog output processing system

Publications (1)

Publication Number Publication Date
JPS61169024A true JPS61169024A (en) 1986-07-30

Family

ID=11704188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP884985A Pending JPS61169024A (en) 1985-01-21 1985-01-21 Analog output processing system

Country Status (1)

Country Link
JP (1) JPS61169024A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52104859A (en) * 1976-03-01 1977-09-02 Hitachi Ltd Decoding method
JPS5783926A (en) * 1980-11-13 1982-05-26 Toshiba Corp Digital to analog converter
JPS595741A (en) * 1982-06-30 1984-01-12 Fujitsu Ltd Digital to analog converter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52104859A (en) * 1976-03-01 1977-09-02 Hitachi Ltd Decoding method
JPS5783926A (en) * 1980-11-13 1982-05-26 Toshiba Corp Digital to analog converter
JPS595741A (en) * 1982-06-30 1984-01-12 Fujitsu Ltd Digital to analog converter

Similar Documents

Publication Publication Date Title
IL36757A (en) Method and apparatus for digital to analog conversion
US20010006371A1 (en) Device and method for the rapid digital/analog conversion of pulse width modulated signals
JPS61169024A (en) Analog output processing system
US6525573B1 (en) Signal processing architecture
US5144310A (en) A/D converter utilizing successive approximation
US20030160716A1 (en) Shared parallel digital-to-analog conversion
JPH0446418A (en) Digital/analog converter
JPS63132510A (en) Programmable gain-controlled amplifier
JPH0327425A (en) Input discrimination system by micro computer
JPH06216777A (en) Oscillation detector
SU1273836A2 (en) Phase difference-to-voltage converter
JPS581236A (en) Input voltage detecting system
SU1506457A1 (en) Device for producing trigonometric functions
JPS6137805Y2 (en)
SU1182678A1 (en) Voltage-to-frequency converter
RU2060586C1 (en) Voltage-to-time-space changer
SU1515357A1 (en) Amplitude selector
SU1700745A1 (en) Pulser
SU1218477A2 (en) Device for generating test signals
SU962994A1 (en) Quadratic voltage-to-frequency converter
JPH02196523A (en) Test circuit for delta sigma modulation type a/d converter
SU1624351A1 (en) Device for resistance checking and measurement
JPS63196104A (en) Sound volume controller
SU1478135A1 (en) Multichannel detector of maximum signal
JPS63244103A (en) Input limit circuit