JPH04284026A - A/d converter for multiple channels - Google Patents

A/d converter for multiple channels

Info

Publication number
JPH04284026A
JPH04284026A JP4835191A JP4835191A JPH04284026A JP H04284026 A JPH04284026 A JP H04284026A JP 4835191 A JP4835191 A JP 4835191A JP 4835191 A JP4835191 A JP 4835191A JP H04284026 A JPH04284026 A JP H04284026A
Authority
JP
Japan
Prior art keywords
information
conversion
channel
rate
scan
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
JP4835191A
Other languages
Japanese (ja)
Inventor
Mitsuyuki Zakouji
座光寺 充幸
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP4835191A priority Critical patent/JPH04284026A/en
Publication of JPH04284026A publication Critical patent/JPH04284026A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To set a conversion rate different for each channel by using a common A/D conversion circuit by thinning timing to write A/D converted data in a memory. CONSTITUTION:A scan step number counter 5 is provided to set the number of times for A/D conversion in respect to one time of a sample pulse input, a scan information register 6 is provided to hold rate information corresponding to the number of times for conversion, and a thinning control circuit 18 is provided to divide the frequency of the sample pulse at a frequency dividing ratio corresponding to the rate information while being applied the rate information and to generate a timing signal for writing A/D converted signals in a data memory 17. Namely, the conversion rate is set for each channel, and the thinning control circuit 18 fetches the A/D converted data in the data memory 17 at the timing thinning the sample pulse according to the set conversion rate.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は多チャネルから与えられ
る複数のアナログ入力を選択的にアナログ・デジタル変
換(以下、A/D変換とする)する多チャネルのA/D
変換器の改良に関するものである。
[Industrial Application Field] The present invention is a multi-channel A/D converter that selectively converts a plurality of analog inputs from multiple channels into analog-to-digital conversion (hereinafter referred to as A/D conversion).
This paper relates to improvements in converters.

【0002】0002

【従来の技術】従来、多チャネルのA/D変換器として
は、例えば図7に示す構成のものがあった。図において
、1は複数のチャネルCH1〜CHnから与えられる複
数のアナログ入力のいずれか1つを選択するマルチプレ
クサ、2はマルチプレクサ1が選択したアナログ入力を
所定のゲインで増幅するアンプ、3はアンプ2で増幅し
たアナログ入力をA/D変換するA/D変換回路である
。4は制御回路であり、サンプルパルスが入力される度
に、マルチプレクサをスキャンし、A/D変換回路3に
各チャネルCH1〜CHnから入るアナログ入力をA/
D変換させる。また、制御回路4は、チャネル毎にアン
プ2のゲインを設定する。
2. Description of the Related Art Conventionally, a multi-channel A/D converter has a configuration shown in FIG. 7, for example. In the figure, 1 is a multiplexer that selects any one of multiple analog inputs provided from multiple channels CH1 to CHn, 2 is an amplifier that amplifies the analog input selected by multiplexer 1 with a predetermined gain, and 3 is an amplifier 2. This is an A/D conversion circuit that converts analog input amplified by A/D. 4 is a control circuit that scans the multiplexer every time a sample pulse is input, and converts the analog input input from each channel CH1 to CHn to the A/D conversion circuit 3.
Make D conversion. Further, the control circuit 4 sets the gain of the amplifier 2 for each channel.

【0003】このようなマルチプレクサを用いて多チャ
ネルから与えられるアナログ入力をA/D変換するA/
D変換器(以下、マルチプレクス形のA/D変換器とす
る)では、サンプルパルスが1回入力されると、各チャ
ネルのアナログ入力について1回ずつA/D変換をして
いる。このため、各チャネルの変換レ―トが共通になっ
てしまい、変換レ―トを変えたい場合には、変換レ―ト
毎に図7に示すような回路を用意する必要があり、回路
が非常に高価なものになってしまう。
[0003] An A/D converter uses such a multiplexer to A/D convert analog inputs provided from multiple channels.
In a D converter (hereinafter referred to as a multiplex type A/D converter), when a sample pulse is input once, the analog input of each channel is A/D converted once. Therefore, the conversion rate of each channel becomes common, and if you want to change the conversion rate, you need to prepare a circuit like the one shown in Figure 7 for each conversion rate. It ends up being extremely expensive.

【0004】0004

【発明が解決しようとする課題】本発明はこのような問
題点を解決するためになされたものであり、マルチプレ
クス形のA/D変換器でありながら、チャネルに応じて
異なる変換レ―トに設定できる多チャネルのA/D変換
器を実現することを目的とする。
[Problems to be Solved by the Invention] The present invention has been made to solve these problems, and although it is a multiplex type A/D converter, it is capable of different conversion rates depending on the channel. The purpose of this invention is to realize a multi-channel A/D converter that can be set to

【0005】[0005]

【課題を解決するための手段】本発明は次のとおりの構
成になった多チャネルのA/D変換器である。 (1)多チャネルから入る複数のアナログ入力をマルチ
プレクサで選択し、選択したアナログ入力をA/D変換
する多チャネルのA/D変換器において、A/D変換さ
れたデジタル信号が書き込まれるデ―タメモリと、1回
のサンプルパルス入力に対してA/D変換を行なう回数
がセットされ、セット値がNである場合は、サンプルパ
ルスが1回入力されると0からNまでカウント動作する
スキャンステップ数カウンタと、何回目のA/D変換で
あるかを示す変換回数情報と、変換レ―トを指定するレ
―ト情報と、A/D変換を行なうチャネル番号を指定す
るチャネル番号情報が対応して格納されていて、前記ス
キャンステップ数カウンタがカウント動作する毎に、こ
のカウントと一致した変換回数情報に対応したレ―ト情
報とチャネル番号情報が読み出され、読み出されたチャ
ネル番号情報を前記マルチプレクサに与えてチャネルを
選択させるスキャン情報レジスタと、このスキャン情報
レジスタから読み出されたレ―ト情報が与えられ、この
レ―ト情報に応じた分周比で前記サンプルパルスを分周
し、A/D変換した信号を前記デ―タメモリへ書き込む
タイミング信号を生成する間引き制御回路と、を具備し
たことを特徴とする多チャネルのA/D変換器。 (2)前記マルチプレクサで選択されたアナログ入力を
増幅するアンプを有するとともに、前記スキャン情報レ
ジスタには、選択する信号のレンジに応じて前記アンプ
のゲインを指定するレンジ情報が前記変換回数情報,レ
―ト情報,チャネル番号情報と対応して格納されていて
、このレンジ情報はレ―ト情報,チャネル番号情報とと
もに読み出され、読み出されたレンジ情報で前記アンプ
のゲインが設定されることを特徴とする(1)記載のA
/D変換器。
[Means for Solving the Problems] The present invention is a multi-channel A/D converter configured as follows. (1) A multi-channel A/D converter selects multiple analog inputs from multiple channels using a multiplexer and converts the selected analog inputs into A/D. If the set value is N, the scan step counts from 0 to N when a sample pulse is input once. A number counter, conversion number information indicating the number of A/D conversions, rate information specifying the conversion rate, and channel number information specifying the channel number for A/D conversion correspond to each other. Each time the scan step number counter counts, the rate information and channel number information corresponding to the conversion number information that matches this count are read out, and the read channel number information is stored as is applied to the multiplexer to select a channel, and rate information read from the scan information register is provided, and the sample pulse is divided by a frequency division ratio according to this rate information. and a thinning control circuit that generates a timing signal for writing the A/D converted signal into the data memory. (2) It has an amplifier that amplifies the analog input selected by the multiplexer, and the scan information register includes range information that specifies the gain of the amplifier according to the range of the signal to be selected. - This range information is stored in correspondence with rate information and channel number information, and this range information is read out along with rate information and channel number information, and the gain of the amplifier is set using the read range information. Characteristic A described in (1)
/D converter.

【0006】[0006]

【作用】このような本発明では、チャネル毎に変換レ―
トを設定し、間引き制御回路は設定した変換レ―トに従
ってサンプルパルスを間引いたタイミングでA/D変換
したデ―タをデ―タメモリに取り込む。また、チャネル
毎にレンジを設定し、設定したレンジに応じてA/D変
換したデ―タを増幅する。
[Operation] In the present invention, the conversion rate is set for each channel.
The decimation control circuit takes in the A/D converted data into the data memory at the timing at which the sample pulses are decimated according to the set conversion rate. Further, a range is set for each channel, and A/D converted data is amplified according to the set range.

【0007】[0007]

【実施例】以下、図面を用いて本発明を説明する。図1
は本発明の一実施例の構成図である。図1で図7と同一
のものは同一符号を付ける。図1において、5はスキャ
ンステップ数カウンタであり、1回のサンプルパルスの
入力に対してスキャンを行なうチャネル数が設定される
。このカウンタ5は、サンプルパルスを受け、1回のサ
ンプルパルス入力に対して予め設定された値だけカウン
ト動作を行なう。例えば、設定値がNである場合は、カ
ウンタ5は1回のサンプルパルス入力に対して、0,1
,2…Nまでカウント動作する。6はスキャン情報レジ
スタであり、例えば9ビット×32個のレジスタ群によ
って構成される。このレジスタ群に格納される情報のフ
ォ―マットを図2に示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained below with reference to the drawings. Figure 1
1 is a configuration diagram of an embodiment of the present invention. Components in FIG. 1 that are the same as those in FIG. 7 are given the same reference numerals. In FIG. 1, 5 is a scan step number counter, and the number of channels to be scanned for one sample pulse input is set. This counter 5 receives a sample pulse and performs a counting operation by a preset value for each sample pulse input. For example, if the set value is N, the counter 5 will be 0, 1 for one sample pulse input.
, 2... Counts up to N. Reference numeral 6 denotes a scan information register, which is composed of, for example, a group of 9 bits×32 registers. FIG. 2 shows the format of the information stored in this register group.

【0008】図2において、0〜31は何回目のA/D
変換であるかを示す変換回数情報である。図2の例では
、変換回数情報はマルチプレクサ1に接続されたチャネ
ル数に合せて32まで設けられている。GR0,GR1
は変換レ―トを指定する変換レ―ト情報である。図2の
例では変換レ―トは2ビットの情報によって4種類に指
定される。RA0,RA1はアンプ2の増幅率を指定す
るレンジ情報である。このレンジ情報はマルチプレクサ
で選択されたチャネルからのアナログ入力をどのような
レンジでA/D変換回路に与えるかを指定するものであ
る。CA0〜CA4はマルチプレクサで選択するチャネ
ル番号を指定するチャネル番号情報である。このような
フォ―マットになったスキャン情報レジスタ6の内容は
、SRAバス7を介して与えられるカウンタ5のカウン
トをアドレスにして、このカウントに等しい変換回数に
対応した情報が読み出される。再び図1へもどり、8,
9,10はCAバス,RAバス,GRバスであり、スキ
ャン情報レジスタ6から読み出されたチャネル番号,レ
ンジ情報,変換レ―ト情報がそれぞれ転送される。CA
バス8により転送されたチャネル情報によってマルチプ
レクサ1は32チャネルの中からA/D変換を行なうチ
ャネル番号を選択する。RAバス9により転送されたレ
ンジ情報によってアンプ2のゲインが設定される。11
はA/D変換器3によってA/D変換されたA/Dデ―
タが転送されるA/Dデ―タバス、12はA/Dデ―タ
バス11とFIFO(First  InFirstO
ut)デ―タバス13の転送速度差を調整するバッファ
、14はFIFOデ―タバス13によって転送されたデ
―タが一時格納されるFIFOメモリである。15はF
IFOデ―タバス13とデ―タバス16の転送速度差を
調整するバッファ、17はデ―タバス16により転送さ
れたデ―タが格納されるデ―タメモリである。
In FIG. 2, 0 to 31 indicate the number of A/D
This is conversion number information indicating whether conversion is being performed. In the example of FIG. 2, up to 32 conversion count information are provided to match the number of channels connected to the multiplexer 1. GR0, GR1
is conversion rate information that specifies the conversion rate. In the example of FIG. 2, four types of conversion rates are specified using 2-bit information. RA0 and RA1 are range information specifying the amplification factor of the amplifier 2. This range information specifies in what range the analog input from the channel selected by the multiplexer is applied to the A/D conversion circuit. CA0 to CA4 are channel number information that designates channel numbers to be selected by the multiplexer. The contents of the scan information register 6 in such a format are read out using the count of the counter 5 given via the SRA bus 7 as an address, and the information corresponding to the number of conversions equal to this count. Returning to Figure 1 again, 8,
Reference numerals 9 and 10 are a CA bus, an RA bus, and a GR bus, to which the channel number, range information, and conversion rate information read from the scan information register 6 are transferred, respectively. CA
Based on the channel information transferred via bus 8, multiplexer 1 selects a channel number for A/D conversion from among 32 channels. The gain of the amplifier 2 is set based on the range information transferred via the RA bus 9. 11
is the A/D data converted from A/D by the A/D converter 3.
The A/D data bus 12 is connected to the A/D data bus 11 and the FIFO (First In First O
ut) A buffer for adjusting the transfer speed difference of the data bus 13; 14 is a FIFO memory in which data transferred by the FIFO data bus 13 is temporarily stored; 15 is F
A buffer 17 adjusts the transfer speed difference between the IFO data bus 13 and the data bus 16, and a data memory 17 stores data transferred by the data bus 16.

【0009】18はGRバス10によって転送される変
換レ―ト情報に応じてサンプルパルスを間引き、A/D
デ―タをデ―タメモリ17に取り込むタイミングを与え
る信号を生成する間引き制御回路である。図3は間引き
制御回路18の具体的な構成例を示した図である。この
図に示すように、間引き制御回路18には、サンプルク
ロックの間引き率に応じて分けた4組のスキャングル―
プ毎に分周カウンタ181〜184が設けられている。 各カウンタ181〜184は、サンプルクロックが入る
毎にカウントが変わり、カウントアップすると書き込み
要求信号FW0′〜FW3′をアサ―トする。なお、図
面でバ―が付いている信号は明細書では′を付けて表わ
す。この要求信号がアサ―トされた期間中にA/D変換
されたデ―タのみがFIFOメモリ14に書き込まれる
。各スキャングル―プの間引き率を決める分周カウンタ
の分周値は予め設定されていて、変換レ―ト情報GR,
GR1の内容によって4個のカウンタのうちのどのカウ
ンタを動作させるかを決める。
Reference numeral 18 thins out the sample pulses according to the conversion rate information transferred by the GR bus 10, and
This is a thinning control circuit that generates a signal that provides the timing to take data into the data memory 17. FIG. 3 is a diagram showing a specific example of the configuration of the thinning control circuit 18. As shown in this figure, the thinning control circuit 18 has four scan groups divided according to the sample clock thinning rate.
Frequency division counters 181 to 184 are provided for each group. Each of the counters 181 to 184 changes its count each time a sample clock is input, and when the counter counts up, it asserts the write request signals FW0' to FW3'. Note that signals marked with a bar in the drawings are indicated with a ' in the specification. Only data that has been A/D converted during the period in which this request signal is asserted is written into the FIFO memory 14. The frequency division value of the frequency division counter that determines the thinning rate of each scan group is set in advance, and the conversion rate information GR,
Which of the four counters is to be operated is determined depending on the contents of GR1.

【0010】図1へもどり、19は書き込み要求信号F
W0′〜FW3′がアサ―トされると、FIFOアドレ
スバス20を介してFIFOメモリ14に対し書き込み
アドレスFIFO  ADRを出力するFIFOコント
ロ―ラ部である。FIFIコントロ―ラ部19において
、191〜194は4つの書き込み要求信号FW0′〜
FW3′毎に設けられたFIFOコントロ―ラである。 これら4つのFIFOコントロ―ラ191〜194のう
ち、アサ―トされた書き込み要求信号を与えられたもの
のみが書き込みアドレスFIFO  ADRを出力する
。 A/D変換器3が変換終了信号EOC′を出力すると、
FIFOコントロ―ラ191〜194の前段にあるゲ―
トが閉じて要求信号FW0′〜FW3′がFIFOコン
トロ―ラ191〜194に与えられなくなる。書き込み
アドレスFIFO  ADRが出力されると、FIFO
メモリ14に書き込まれるA/Dデ―タは、A/Dデ―
タバス11→バッファ12→FIFOデ―タバス13を
経由してFIFOメモリ14に書き込まれる。FIFO
メモリ14にデ―タが書き込まれると、FIFOコント
ロ―ラ191〜194は転送要求信号REQ0〜REQ
3を出力する。21はダイレクト・メモリ・アクセス・
コントロ―ラ(以下、DMACとする)であり、FIF
Oメモリ14に格納されているA/Dデ―タをデ―タメ
モリ17にDMA動作にて転送する。転送の際に、DM
AC21はアドレスバス22によりデ―タメモリ17へ
書き込みアドレスを与える。DMA転送で、転送デ―タ
は、FIFOメモリ14→FIFOデ―タバス13→バ
ッファ15→デ―タバス16を経由してデ―タメモリ1
7に書き込まれる。FIFOメモリ14からのデ―タの
読み出しの際にも、FIFOコントロ―ラ191〜19
4がFIFOメモリからの読み出しアドレスを生成する
。FIFOコントロ―ラ191〜194は、2つのカウ
ンタを有し、FIFOメモリ14からのデ―タの読み出
し時と書き込み時に応じてこれらのカウンタを使い分け
、カウント値で読み出しアドレスと書き込みアドレスを
発生するものである。
Returning to FIG. 1, 19 is a write request signal F.
When W0' to FW3' are asserted, the FIFO controller section outputs a write address FIFO ADR to the FIFO memory 14 via the FIFO address bus 20. In the FIFI controller section 19, 191-194 are four write request signals FW0'-
This is a FIFO controller provided for each FW 3'. Of these four FIFO controllers 191-194, only the one to which the asserted write request signal is applied outputs the write address FIFO ADR. When the A/D converter 3 outputs the conversion end signal EOC',
The game in front of FIFO controllers 191 to 194
The gate is closed and the request signals FW0'-FW3' are no longer applied to the FIFO controllers 191-194. When write address FIFO ADR is output, FIFO
The A/D data written to the memory 14 is
data bus 11→buffer 12→FIFO data bus 13, and then written to the FIFO memory 14. FIFO
When data is written to the memory 14, the FIFO controllers 191-194 send transfer request signals REQ0-REQ.
Outputs 3. 21 is direct memory access
Controller (hereinafter referred to as DMAC), FIF
A/D data stored in O memory 14 is transferred to data memory 17 by DMA operation. When forwarding, please DM
AC 21 provides a write address to data memory 17 via address bus 22. In DMA transfer, transfer data is transferred to data memory 1 via FIFO memory 14 → FIFO data bus 13 → buffer 15 → data bus 16.
7 is written. When reading data from the FIFO memory 14, the FIFO controllers 191 to 19
4 generates a read address from the FIFO memory. The FIFO controllers 191 to 194 have two counters, use these counters depending on when reading and writing data from the FIFO memory 14, and generate read addresses and write addresses based on the count values. It is.

【0011】このようなA/D変換器の動作を説明する
。例えば、スキャン情報レジスタ6に図4に示す内容が
格納され、スキャンステップ数カウンタ5に“3”が設
定された場合は、サンプルパルスが入力される毎に、ス
キャン情報レジスタ6の先頭から4番目まで、すなわち
0番から3番までが順次に読み出される。図4で、GR
,RA,CAはそれぞれチャネル番号情報,レンジ情報
,変換レ―ト情報である。この場合、各バスで転送され
る情報は図5に示すとおりになる。例えば、図4で3番
目にスキャンする内容は、スキャンレ―トのグル―プは
1、アンプのレンジは3、スキャンするチャネル番号は
5である。このような内容は図5の矢印Aに示す部分に
相当する。一方、図3に示す各スキャングル―プの分周
カウンタ181〜184には、予め分周比が設定されて
おり、GRバス10上の信号をエンコ―ドした信号によ
り選択された4つのカウンタの中のいずれか1つがカウ
ント動作する。例として、分周カウンタ181〜184
をそれぞれ1/2,1/3,1/4,1/5の分周比で
動作させる場合のタイミングを図6に示す。ただし、ス
キャン情報レジスタに格納される内容とスキャンステッ
プ数カウンタにセットされる値は図4及び図5に示す例
と同じであるとする。図6のタイムチャ―トに示すよう
に、サンプルパルスが入力されると、3番,2番,5番
,6番のチャネル番号の順にアナログ入力がスキャンさ
れる。3番と2番のチャネルから入ったアナログ入力を
A/D変換したデ―タは、間引き制御回路18内の分周
カウンタ181の分周クロックに従い、サンプルパルス
の2回に1回の割合すなわち分周比1/2でデ―タ収集
される。5番のチャネルから入ったアナログ入力をA/
D変換したデ―タは分周比1/3で、6番のチャネルか
ら入ったアナログ入力をA/D変換したデ―タは分周比
1/4でそれぞれデ―タ収集される。このようにして収
集されたデ―タはいったんFIFOメモリ14に格納さ
れた後にデ―タメモリ17に書き込まれる。このように
A/D変換したデ―タをメモリに書き込むタイミングを
間引くことによって変換レ―トを制御する。例えば、サ
ンプルパルスの周波数が200kHzである場合は、3
番と2番のチャネル入力の変換レ―トは100kHz、
5番のチャネル入力の変換レ―トは66.7kHz、6
番のチャネル入力の変換レ―トは50kHzになる。
The operation of such an A/D converter will be explained. For example, if the contents shown in FIG. 4 are stored in the scan information register 6 and the scan step number counter 5 is set to "3", each time a sample pulse is input, the fourth , that is, numbers 0 to 3 are sequentially read out. In Figure 4, GR
, RA, and CA are channel number information, range information, and conversion rate information, respectively. In this case, the information transferred on each bus is as shown in FIG. For example, the content to be scanned third in FIG. 4 is that the scan rate group is 1, the amplifier range is 3, and the channel number to be scanned is 5. Such content corresponds to the part shown by arrow A in FIG. On the other hand, the frequency division counters 181 to 184 of each scan group shown in FIG. One of them performs a counting operation. As an example, frequency division counters 181 to 184
FIG. 6 shows the timing when operating at frequency division ratios of 1/2, 1/3, 1/4, and 1/5, respectively. However, it is assumed that the contents stored in the scan information register and the value set in the scan step number counter are the same as the examples shown in FIGS. 4 and 5. As shown in the time chart of FIG. 6, when a sample pulse is input, the analog input is scanned in the order of channel numbers 3, 2, 5, and 6. The data obtained by A/D converting the analog inputs input from channels No. 3 and No. 2 is processed at a rate of once every two sample pulses, that is, according to the frequency division clock of the frequency division counter 181 in the thinning control circuit 18. Data is collected at a frequency division ratio of 1/2. Analog input from channel 5 is connected to A/
D-converted data is collected at a frequency division ratio of 1/3, and data obtained by A/D conversion of the analog input input from channel No. 6 is collected at a frequency division ratio of 1/4. The data thus collected is once stored in the FIFO memory 14 and then written to the data memory 17. The conversion rate is controlled by thinning out the timing at which A/D converted data is written to the memory. For example, if the sample pulse frequency is 200kHz, 3
The conversion rate of channel inputs No. and No. 2 is 100kHz,
The conversion rate of the 5th channel input is 66.7kHz, 6
The conversion rate of the channel input will be 50kHz.

【0012】0012

【発明の効果】従来のマルチプレクス形になった多チャ
ネルのA/D変換器では、各チャネルの変換レ―トは固
定されているため、チャネルによって異なる変換レ―ト
にしたいときは、変換レ―ト毎にA/D変換回路を設け
る必要があり、コストが高くなる。これに対して本発明
ではチャネルをグル―プ分けし、各グル―プ毎に異なる
分周比になった分周クロックを用いてA/D変換したデ
―タを間引いたタイミングでメモリに書き込むことによ
って変換レ―トを変えている。これによって、共通のA
/D変換回路を用いてチャネルによって異なる変換レ―
トに設定できる。このようにすると1チャネル当たりの
回路コストを低減できる。
[Effect of the invention] In the conventional multiplex type multi-channel A/D converter, the conversion rate of each channel is fixed, so if you want to set different conversion rates for each channel, you can change the conversion rate. It is necessary to provide an A/D conversion circuit for each rate, which increases cost. In contrast, in the present invention, the channels are divided into groups, and the A/D converted data is written to the memory at thinned out timings using a divided clock with a different frequency division ratio for each group. This changes the conversion rate. This allows the common A
/D conversion circuit to convert different conversion rates depending on the channel.
Can be set to In this way, the circuit cost per channel can be reduced.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】図1のスキャンステップ数カウンタに格納され
るデ―タのフォ―マットを示した図である。
FIG. 2 is a diagram showing the format of data stored in the scan step number counter in FIG. 1;

【図3】図1の間引き制御回路の具体的構成例を示した
図である。
FIG. 3 is a diagram showing a specific configuration example of the thinning control circuit of FIG. 1;

【図4】図1のA/D変換器の動作説明図である。FIG. 4 is an explanatory diagram of the operation of the A/D converter in FIG. 1;

【図5】図1のA/D変換器の動作説明図である。FIG. 5 is an explanatory diagram of the operation of the A/D converter in FIG. 1;

【図6】図1のA/D変換器の動作説明図である。FIG. 6 is an explanatory diagram of the operation of the A/D converter in FIG. 1;

【図7】A/D変換器の従来例の構成図である。FIG. 7 is a configuration diagram of a conventional example of an A/D converter.

【符号の説明】[Explanation of symbols]

1  マルチプレクサ 2  アンプ 3  A/D変換回路 5  スキャンステップ数カウンタ 6  スキャン情報レジスタ 17  デ―タメモリ 18  間引き制御回路 1 Multiplexer 2 Amplifier 3 A/D conversion circuit 5 Scan step number counter 6 Scan information register 17 Data memory 18 Thinning control circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  多チャネルから入る複数のアナログ入
力をマルチプレクサで選択し、選択したアナログ入力を
A/D変換する多チャネルのA/D変換器において、A
/D変換されたデジタル信号が書き込まれるデ―タメモ
リと、1回のサンプルパルス入力に対してA/D変換を
行なう回数がセットされ、セット値がNである場合は、
サンプルパルスが1回入力されると0からNまでカウン
ト動作するスキャンステップ数カウンタと、何回目のA
/D変換であるかを示す変換回数情報と、変換レ―トを
指定するレ―ト情報と、A/D変換を行なうチャネル番
号を指定するチャネル番号情報が対応して格納されてい
て、前記スキャンステップ数カウンタがカウント動作す
る毎に、このカウントと一致した変換回数情報に対応し
たレ―ト情報とチャネル番号情報が読み出され、読み出
されたチャネル番号情報を前記マルチプレクサに与えて
チャネルを選択させるスキャン情報レジスタと、このス
キャン情報レジスタから読み出されたレ―ト情報が与え
られ、このレ―ト情報に応じた分周比で前記サンプルパ
ルスを分周し、A/D変換した信号を前記デ―タメモリ
へ書き込むタイミング信号を生成する間引き制御回路と
、を具備したことを特徴とする多チャネルのA/D変換
器。
Claim 1: A multi-channel A/D converter that selects a plurality of analog inputs from multiple channels using a multiplexer and converts the selected analog inputs into A/D.
If the data memory into which the /D-converted digital signal is written and the number of times A/D conversion is performed for one sample pulse input are set, and the set value is N,
A scan step number counter that counts from 0 to N when a sample pulse is input once, and a scan step number counter that counts from 0 to N when a sample pulse is input once.
Conversion number information indicating whether A/D conversion is performed, rate information specifying a conversion rate, and channel number information specifying a channel number for performing A/D conversion are stored in correspondence with each other. Every time the scan step number counter counts, the rate information and channel number information corresponding to the conversion number information that matches this count are read out, and the read channel number information is given to the multiplexer to select the channel. A scan information register to be selected and rate information read from this scan information register are given, and the sample pulse is frequency-divided at a frequency division ratio according to this rate information, and A/D converted signal is generated. A multi-channel A/D converter comprising: a thinning control circuit that generates a timing signal for writing the data into the data memory.
【請求項2】  前記マルチプレクサで選択されたアナ
ログ入力を増幅するアンプを有するとともに、前記スキ
ャン情報レジスタには、選択する信号のレンジに応じて
前記アンプのゲインを指定するレンジ情報が前記変換回
数情報,レ―ト情報,チャネル番号情報と対応して格納
されていて、このレンジ情報はレ―ト情報,チャネル番
号情報とともに読み出され、読み出されたレンジ情報で
前記アンプのゲインが設定されることを特徴とする請求
項1記載のA/D変換器。
2. An amplifier that amplifies the analog input selected by the multiplexer, and the scan information register includes range information that specifies the gain of the amplifier according to the range of the signal to be selected, and the conversion number information. , rate information, and channel number information, and this range information is read out along with the rate information and channel number information, and the gain of the amplifier is set based on the read range information. The A/D converter according to claim 1, characterized in that:
JP4835191A 1991-03-13 1991-03-13 A/d converter for multiple channels Pending JPH04284026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4835191A JPH04284026A (en) 1991-03-13 1991-03-13 A/d converter for multiple channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4835191A JPH04284026A (en) 1991-03-13 1991-03-13 A/d converter for multiple channels

Publications (1)

Publication Number Publication Date
JPH04284026A true JPH04284026A (en) 1992-10-08

Family

ID=12800955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4835191A Pending JPH04284026A (en) 1991-03-13 1991-03-13 A/d converter for multiple channels

Country Status (1)

Country Link
JP (1) JPH04284026A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012134886A (en) * 2010-12-22 2012-07-12 Mitsumi Electric Co Ltd Ad conversion method and ad conversion circuit
WO2022264394A1 (en) * 2021-06-18 2022-12-22 三菱電機株式会社 Ad conversion device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012134886A (en) * 2010-12-22 2012-07-12 Mitsumi Electric Co Ltd Ad conversion method and ad conversion circuit
WO2022264394A1 (en) * 2021-06-18 2022-12-22 三菱電機株式会社 Ad conversion device

Similar Documents

Publication Publication Date Title
US4994914A (en) Composite video image device and related method
JP2010109602A (en) A/d converter
JPH04284026A (en) A/d converter for multiple channels
JP4615915B2 (en) Multi-port interface device and multi-function interface method using one A / D converter
US4037203A (en) High speed digital information storage system
JPS5779547A (en) Digital converting circuit for more than one input analog data
SU1578706A1 (en) Device for information input from analog devices
JP4905260B2 (en) A / D converter
JPH04172720A (en) D/a converter
JP2002062316A (en) Waveform recorder
SU1431073A1 (en) Multichannel d-a converter
JPH051773Y2 (en)
KR100200736B1 (en) Micom interface apparatus
JPH0370213A (en) Successive comparison type a/d converter circuit
JP4583612B2 (en) Ultrasonic diagnostic equipment
JPH0750876B2 (en) Frame conversion circuit
SU1456946A1 (en) Device for output of information to graph plotter
JPS62168220A (en) Data input device
JPH01128174A (en) Analog data collection system
JPH04360425A (en) Semiconductor storage device
JPH07234882A (en) Waveform measuring instrument
JPH04324196A (en) Audio signal processor
JPH05315971A (en) Serial/parallel conversion circuit
JPS62151029A (en) Serial-parallel conversion circuit with counter
JPH06188734A (en) Device for converting plural analog signals to be received into plural output digital signals and system for increasingconversion speed