JPS63114321A - Ad converter - Google Patents

Ad converter

Info

Publication number
JPS63114321A
JPS63114321A JP25986186A JP25986186A JPS63114321A JP S63114321 A JPS63114321 A JP S63114321A JP 25986186 A JP25986186 A JP 25986186A JP 25986186 A JP25986186 A JP 25986186A JP S63114321 A JPS63114321 A JP S63114321A
Authority
JP
Japan
Prior art keywords
data
channel
conversion
section
analog
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
JP25986186A
Other languages
Japanese (ja)
Inventor
Masahiro Takeda
武田 雅弘
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP25986186A priority Critical patent/JPS63114321A/en
Publication of JPS63114321A publication Critical patent/JPS63114321A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To relieve the load to an external device by storing the selective sequence of analog input channels and the conversion cycle so to automatically select the channel and outputting a data subject to AD conversion together with a data representing the channel. CONSTITUTION:A channel selection data from a data input/output line D and a conversion cycle setting data for each channel are stored in a storage section 8 and sent to a timer section 6. A timer section 6 detects an analog conversion timing and the sampling timing of the analog signal is supplied to sample-and- hold circuits 50-5n and a start command of AD conversion is issued to a control section 7. The control section 7 selects the channel by the analog channel switching circuit 17 and the AD converter 2 applies AD conversion. After the data is added with a channel data selected by the control section 7 in the data synthesizing section 3 and outputted to the data input/output line D through the data output buffer 4.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、AD変換器の回路構成に関する。[Detailed description of the invention] Industrial applications The present invention relates to a circuit configuration of an AD converter.

従来の技術 従来、複数のアナログ入力チャンネルを複数持つAD変
換器は、そのアナログ入力チャンネルの選択をその都度
外部より設定できる構成となっていた。
BACKGROUND OF THE INVENTION Conventionally, AD converters having a plurality of analog input channels have been configured so that selection of the analog input channels can be set externally each time.

第2図に従来のAD変換器の構成例を示す。FIG. 2 shows an example of the configuration of a conventional AD converter.

本図は、マイコンインクフェースを持つAD変換器の側
である。データ入出力線りを通して、チャンネル選択デ
ータがチャンネル切換制御部9にセットされると、チャ
ンネル切換回路1がアナログ入力チャンネルA。−A、
、を切換える。切換えられたチャンネルのデータはAD
変換器2に送られてAD変換が行われる。変換後のデー
タは出力バッファ4に出力された後、データ入出力線り
から出力される。
This figure shows the side of an AD converter with a microcomputer ink face. When channel selection data is set in the channel switching control section 9 through the data input/output line, the channel switching circuit 1 selects the analog input channel A. -A,
, switch. The data of the switched channel is AD
The signal is sent to a converter 2 where AD conversion is performed. The converted data is output to the output buffer 4 and then output from the data input/output line.

発明が解決しようとする問題点 上述の従来のAD変換器は、アナログ入力チャンネルの
選択が任意に行えるが入力チャンネルを切換える場合は
その都度A/D変換結果を読出し、次のチャンネル選択
データを外部より入力する必要がある。また、一定間隔
でAD変換を行う場合には外部にて時間の管理を行う必
要があるため、チャンネル切換の時間管理等外部にかか
る負担が大である。
Problems to be Solved by the Invention The conventional A/D converter described above can arbitrarily select an analog input channel, but each time the input channel is switched, the A/D conversion result is read out and the next channel selection data is transmitted externally. It is necessary to input more information. Furthermore, when AD conversion is performed at regular intervals, time management must be performed externally, which places a heavy burden on the outside, such as time management for channel switching.

問題点を解決するための手段 本発明のAD変換器は、複数のアナログ入力チャンネル
を有し、各チャンネルの選択が外部より設定可能なAD
変換器であって、アナログ入力チャンネルの選択順序及
び変換サイクルを記憶する回路と、その記憶された内容
に従って自動的にアナログ入力チャンネルの選択を行い
、該選択チャンネルのデータのAD変換を行う手段と、
該AD変換手役で変換されたデータをチャンネルを示す
データとともに出力する手段とを有している。
Means for Solving the Problems The AD converter of the present invention has a plurality of analog input channels, and the selection of each channel can be set externally.
A converter, comprising a circuit that stores the selection order and conversion cycle of analog input channels, and means that automatically selects an analog input channel according to the stored contents and performs AD conversion of the data of the selected channel. ,
and means for outputting the data converted by the AD conversion hand together with data indicating the channel.

実施例 次に、本発明について図面に従って説明する。Example Next, the present invention will be explained with reference to the drawings.

第1図は本発明の構成例を示す図である。データ人出力
線りからのチャンネル選択データ及び各チャンネルごと
の変換サイクル設定データは、記憶部8に記憶される。
FIG. 1 is a diagram showing an example of the configuration of the present invention. Channel selection data from the data output line and conversion cycle setting data for each channel are stored in the storage unit 8.

その記憶されたデータは、制御部7を通して変換サイク
ルの時間を管理するタイマ一部6へ送られる。タイマ一
部6ではアナログ変換タイミングを検出する。このタイ
マ一部6は、アナログ入力チャンネルA。−Ahにそれ
ぞれ設けられたサンプル・ホールド回路5゜〜5゜にア
ナログ信号のサンプリング・タイミングを与えるととも
に、制御部7にAD変換のスタート指令を出す。このス
タート指令により、制御部7゛はそのアナログチャンネ
ルをチャンネル切換回路1にて選択する。選択されたチ
ャンネルの入力はAD変換器2によりAD変換が行われ
る。変換されたデータは、データ合成部3で、制御部7
によって選択されたチャンネル・データを付加された後
、データ出力用バッファ4を通してデータ人出力線りへ
出力される。
The stored data is sent through a control section 7 to a timer section 6 that manages the time of the conversion cycle. The timer part 6 detects analog conversion timing. This timer part 6 is analog input channel A. -Ah provides the sampling timing of the analog signal to the sample and hold circuits 5° to 5° provided respectively, and issues an AD conversion start command to the control unit 7. In response to this start command, the control section 7' selects the analog channel using the channel switching circuit 1. The input of the selected channel is subjected to AD conversion by the AD converter 2. The converted data is sent to the data synthesis section 3 and then to the control section 7.
After adding the selected channel data, the data is outputted to the data output line through the data output buffer 4.

発明の詳細 な説明したように、本発明は、チャンネル選択データ及
びその変換サイクルを1度セットするのみでチャンネル
の切換えが自動的にかつ一定サイクルで行なわれ、チャ
ンネルデータが変換データに付加されて出力されるため
、出力されるデータを順次読み出せば、どのチャンネル
の変換データであるかの区別も容易であり、外部にかか
る負担が著しく軽減できる。従って、本発明によるAD
変換器をマイコンと接続する場合はマイコンの負担が軽
減され、ひいてはシステムのパフォーマンスの向上にな
る。
As described in detail, the present invention enables channel switching to be performed automatically and in constant cycles by setting channel selection data and its conversion cycle only once, and to add channel data to conversion data. Since the converted data is outputted, if the outputted data is read out sequentially, it is easy to distinguish which channel the converted data belongs to, and the burden placed on the outside can be significantly reduced. Therefore, the AD according to the present invention
When a converter is connected to a microcontroller, the burden on the microcontroller is reduced, which in turn improves system performance.

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

第1図は本発明のAD変換器の構成例を示す図であり、 第2図は従来のAD変換器の構成例を示す図である。 (主な参照番号) 八〇〜AI、・・アナログ入力チャンネルD・・データ
人出力線 1・・チャンネル切換回路 2・・AD変換器 3・・データ合成部 4・・データ出力用バッファ 5゜〜5r1  ・・サンプル・ホールド回路6・・タ
イマ一部 7・・制御部 8・・記憶部 9・・チャンネル切換制御部
FIG. 1 is a diagram showing an example of the configuration of an AD converter according to the present invention, and FIG. 2 is a diagram showing an example of the configuration of a conventional AD converter. (Main reference numbers) 80~AI, Analog input channel D, Data output line 1, Channel switching circuit 2, AD converter 3, Data synthesis unit 4, Data output buffer 5゜~5r1...Sample/hold circuit 6...Timer part 7...Control section 8...Storage section 9...Channel switching control section

Claims (1)

【特許請求の範囲】[Claims] 複数のアナログ入力チャンネルを有し、各チャンネルの
選択が外部より設定可能なAD変換器であって、アナロ
グ入力チャンネルの選択順序及び変換サイクルを記憶す
る回路と、その記憶された内容に従って自動的にアナロ
グ入力チャンネルの選択を行い、該選択チャンネルのデ
ータのAD変換を行う手段と、該AD変換手段で変換さ
れたデータをチャンネルを示すデータとともに出力する
手段とを有することを特徴とするAD変換器。
An AD converter that has multiple analog input channels, and the selection of each channel can be set externally, and includes a circuit that stores the selection order and conversion cycle of the analog input channels, and automatically converts the selection order of the analog input channels and the conversion cycle according to the stored contents. An AD converter comprising means for selecting an analog input channel and performing AD conversion on the data of the selected channel, and means for outputting the data converted by the AD conversion means together with data indicating the channel. .
JP25986186A 1986-10-30 1986-10-30 Ad converter Pending JPS63114321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25986186A JPS63114321A (en) 1986-10-30 1986-10-30 Ad converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25986186A JPS63114321A (en) 1986-10-30 1986-10-30 Ad converter

Publications (1)

Publication Number Publication Date
JPS63114321A true JPS63114321A (en) 1988-05-19

Family

ID=17339984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25986186A Pending JPS63114321A (en) 1986-10-30 1986-10-30 Ad converter

Country Status (1)

Country Link
JP (1) JPS63114321A (en)

Similar Documents

Publication Publication Date Title
JPS63114321A (en) Ad converter
JPH08307269A (en) A/d converter
JPH09297658A (en) Analog-to-digital conversion device
JPS5990139A (en) Converting circuit of plural data
JPH0620236Y2 (en) Power circuit measuring device
JPH03182927A (en) Mcrocomputer
JPH02218243A (en) Digital data transfer system
SU962859A1 (en) Apparatus for program control of group of objects
JPS59174640U (en) analog output circuit
JPS6288431A (en) Analog-digital converter
SU1164686A1 (en) Digital harmonic function generator
JPH0563568A (en) Memory bank device
JPH05266218A (en) Analog-digital conversion controller
JPS6440063U (en)
JPS63205726A (en) Microcomputer
JPS60164244U (en) analog input device
JPS6055841B2 (en) process control equipment
JPS6392950U (en)
JPH0418370U (en)
JPS6454428U (en)
JPS61181221A (en) Analog-digital converter
JPS6037935U (en) analog multiplexer circuit
JPH02119432A (en) Multiple digital/analog conversion method
JPH0787208A (en) Audio response equipment
JPH10123179A (en) Extended memory circuit system