JPH09269870A - A/d converter - Google Patents

A/d converter

Info

Publication number
JPH09269870A
JPH09269870A JP7874996A JP7874996A JPH09269870A JP H09269870 A JPH09269870 A JP H09269870A JP 7874996 A JP7874996 A JP 7874996A JP 7874996 A JP7874996 A JP 7874996A JP H09269870 A JPH09269870 A JP H09269870A
Authority
JP
Japan
Prior art keywords
conversion
channel
register
input
channels
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.)
Granted
Application number
JP7874996A
Other languages
Japanese (ja)
Other versions
JP3830199B2 (en
Inventor
Mitsunari Oya
充也 大家
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP07874996A priority Critical patent/JP3830199B2/en
Publication of JPH09269870A publication Critical patent/JPH09269870A/en
Application granted granted Critical
Publication of JP3830199B2 publication Critical patent/JP3830199B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an A/D converter reducing the processing load on an external devices. SOLUTION: When data showing a conversion mode, etc., is supplied for each register 4a to 4d through a register 4, a sequencer 5 successively controls an analog multiplexer 1 to successively select an input channel. A register to store A/D converted data is selected from a result register 3. The A/D converter 2 A/D-converts a signal supplied from the analog multiplexer 1 to supply for the result register. When A/D-converted data is stored in each register ADCR0 to ADCR(P-1), the sequencer 5 supplies interruption requesting the reading of A/D-converted data to the external device and the external device responds to the interrupting request and reads A/D-converted data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数のアナログ入
力を切り換えてA/D変換するA/D変換装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an A / D conversion device for A / D conversion by switching a plurality of analog inputs.

【0002】[0002]

【従来の技術】マルチプレクサを用いて入力を切り換え
ることにより、1つのA/D変換部で複数のチャネルの
電流あるいは電圧等を測定可能としたA/D変換装置が
知られている。このようなA/D変換装置は、機器の制
御等を行うマイクロコントローラ(以下、マイコンとい
う)等に用いられる。また、このようなA/D変換装置
は、A/D変換結果を保持するリザルトレジスタを備え
ている。このリザルトレジスタの数はA/D変換装置の
用途、価格等によって異なっている。
2. Description of the Related Art There is known an A / D converter capable of measuring currents or voltages of a plurality of channels with one A / D converter by switching inputs using a multiplexer. Such an A / D conversion device is used for a microcontroller (hereinafter, referred to as a microcomputer) that controls devices and the like. Further, such an A / D conversion device includes a result register that holds the A / D conversion result. The number of result registers differs depending on the use, price, etc. of the A / D converter.

【0003】リザルトレジスタを1つしか持たないA/
D変換装置により複数のチャネルの測定を行う場合に
は、図2(A)に示すように所定時間毎にA/D変換す
るチャネルを切り換え、各々のチャネルの電流あるいは
電圧等をA/D変換した後、同図(B)に示すように外
部の機器(マイコン、パーソナルコンピュータ等)に対
してA/D変換データの読み出しを要求するための割り
込みを発生する。従って、外部の機器は各々のチャネル
のA/D変換が終了する度に、割り込みに応じてA/D
変換装置からのデータを取り込む必要がある。このよう
な割り込みが頻繁に発生すると、割り込み処理のための
オーバーヘッドにより、外部の機器がA/D変換以外の
処理を行う処理能力が著しく低下する。
A / which has only one result register
When a plurality of channels are measured by the D converter, the channels to be A / D converted are switched at predetermined time intervals as shown in FIG. 2A, and the current or voltage of each channel is A / D converted. After that, an interrupt for requesting reading of A / D converted data is generated to an external device (microcomputer, personal computer, etc.) as shown in FIG. Therefore, the external device responds to the interrupt every time the A / D conversion of each channel is completed.
You need to capture the data from the converter. When such interrupts occur frequently, the overhead for interrupt processing significantly reduces the processing capability of the external device for processing other than A / D conversion.

【0004】これに対し、マルチプレクサのチャネル数
分のリザルトレジスタを設けたA/D変換装置を用いる
場合では、マルチプレクサを切り換えて全てのチャネル
のA/D変換が終了した後、A/D変換データの読み出
しを指示する割り込みを発生し、外部の機器が各リザル
トレジスタから各チャネルのデータを読み出す構成とす
ることができるため、割り込みの発生頻度を低下させる
ことができる。外部の機器の処理能力の低下を低減させ
ることができる。
On the other hand, in the case of using the A / D conversion device provided with the result registers for the number of channels of the multiplexer, the multiplexer is switched to complete the A / D conversion of all the channels, and then the A / D conversion data is obtained. Since an external device can be configured to generate an interrupt for instructing the reading of data from each result register and read the data of each channel from each result register, the frequency of interrupt occurrence can be reduced. It is possible to reduce a decrease in processing capacity of an external device.

【0005】しかしながら、この場合、全てのチャネル
毎にリザルトレジスタを設ける構成となるため、チャネ
ル数が増加すると回路規模が大きくなり、また、用途に
よってはマルチプレクサの全てのチャネルを使用すると
は限らないため、使用しないリザルトレジスタは無駄に
なってしまう。従って、A/D変換装置のコストが必要
以上に上昇してしまう。
However, in this case, since the result register is provided for every channel, the circuit scale increases as the number of channels increases, and not all channels of the multiplexer are used depending on the application. , The result register that is not used is wasted. Therefore, the cost of the A / D converter increases more than necessary.

【0006】また、マルプレクサのチャネル数より少な
い数のリザルトレジスタを設けたA/D変換装置では、
全てのチャネルを幾つかのグループに分けて扱うように
なっている。例えば16チャネルの入力に対して4チャ
ネル分のリザルトレジスタを備えるA/D変換装置で
は、16チャネル分の入力が図3に示すような4つのグ
ループ(グループ0〜グループ3)に分けられている。
Further, in the A / D conversion device provided with the number of result registers smaller than the number of channels of the Malplexer,
All channels are divided into several groups and handled. For example, in an A / D converter having a result register for four channels for 16-channel inputs, the input for 16 channels is divided into four groups (group 0 to group 3) as shown in FIG. .

【0007】例えばこれらのグループのうちのグループ
0(チャネル0〜チャネル3)が指定されると、このよ
うな構成のA/D変換装置は、例えば図2(A)に示す
ように、グループ0のチャネル0〜チャネル3の信号を
順次A/D変換し、最後のチャネル3のA/D変換が終
了した後、同図(C)に示すように、A/D変換データ
の読み出しを要求する割り込みを発生し、外部の機器に
よりリザルトレジスタからA/D変換データが読み出さ
れた後、チャネル0〜チャネル3の信号のA/D変換を
繰り返す。このような動作は連続モードと呼ばれる。
For example, when the group 0 (channel 0 to channel 3) of these groups is designated, the A / D conversion apparatus having such a configuration has the group 0 as shown in FIG. 2 (A). Signals of channels 0 to 3 are sequentially subjected to A / D conversion, and after the last A / D conversion of channel 3, the reading of A / D converted data is requested as shown in FIG. After the interrupt is generated and the A / D conversion data is read from the result register by the external device, the A / D conversion of the signals of channel 0 to channel 3 is repeated. Such an operation is called a continuous mode.

【0008】連続モードの動作では、同一のグループの
チャネルのみを繰り返してA/D変換しているだけなの
で、全てのチャネルの信号をA/D変換するためには、
外部の機器がグループの切り換えを行う必要がある。
In the continuous mode operation, only the channels of the same group are repeatedly A / D converted, so in order to A / D convert the signals of all the channels,
An external device needs to switch groups.

【0009】例えば上述のような各々4つのチャネルか
らなる4つのグループ(グループ0〜グループ3)を切
り換えてA/D変換する場合には、図4(A)に示すよ
うに、まず、外部の機器は時刻t0においてグループ0
のA/D変換を指示する。A/D変換装置は指示された
グループ0のA/D変換を開始し、チャネル0〜チャネ
ル3のA/D変換を行った後、同図(B)に示すよう
に、時刻t1においてA/D変換データの読み出しを要
求する割り込みを発生してA/D変換を停止する。外部
の機器はリザルトレジスタからA/D変換データを読み
出し、次のグループであるグループ1のA/D変換を指
示する。A/D変換装置は時刻t2においてグループ1
のA/D変換を開始し、チャネル4〜チャネル7でのA
/D変換を行い、グループ0の場合と同様に割り込みを
発生し、A/D変換を停止する。同様に、順次各グルー
プのA/D変換を行って全てのチャネルのA/D変換を
行う。
For example, when switching four groups (group 0 to group 3) each having four channels as described above for A / D conversion, as shown in FIG. The device is group 0 at time t0
A / D conversion is instructed. The A / D converter starts A / D conversion of the instructed group 0, performs A / D conversion of channels 0 to 3, and then performs A / D conversion at time t1 as shown in FIG. An interrupt requesting reading of D conversion data is generated to stop A / D conversion. The external device reads the A / D conversion data from the result register and instructs the A / D conversion of the next group, group 1. The A / D converter is in group 1 at time t2.
Start A / D conversion of the
A / D conversion is performed, an interrupt is generated as in the case of group 0, and A / D conversion is stopped. Similarly, A / D conversion of each group is sequentially performed, and A / D conversion of all channels is performed.

【0010】[0010]

【発明が解決しようとする課題】上述のように、複数の
グループを切り換えてA/D変換を行う場合には、各グ
ループのチャネルのA/D変換が終了する度に、A/D
変換を一旦停止してグループの切り換えを行う必要があ
る。従って、外部の機器は各グループ毎にA/D変換デ
ータの読み出しに加えてグループの切り換えを行わなけ
ればならず、処理負荷が増加する。また、グループの切
り換えのための時間が増加すると、A/D変換のサンプ
リング周期を短縮したい場合等に障害となる。
As described above, when performing A / D conversion by switching a plurality of groups, the A / D conversion is performed each time the A / D conversion of the channels of each group is completed.
It is necessary to stop conversion once and switch groups. Therefore, the external device must switch the groups in addition to reading the A / D converted data for each group, which increases the processing load. Further, if the time for switching the group increases, it becomes an obstacle when it is desired to shorten the sampling cycle of A / D conversion.

【0011】本発明は上述のような問題点に鑑みてなさ
れたものであり、外部機器の処理負荷を低減することが
できるA/D変換装置を提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an A / D conversion device capable of reducing the processing load of an external device.

【0012】[0012]

【課題を解決するための手段】本発明に係るA/D変換
装置は、複数の入力チャネルを選択する入力切り換え手
段と、入力切り換え手段により選択された入力チャネル
の入力信号をA/D変換するA/D変換手段と、A/D
変換手段のA/D変換結果を保持し、入力切り換え手段
の入力チャネルの数より少ない複数の保持手段と、入力
切り換え手段を制御して所定数の入力チャネルを順次選
択し、A/D変換手段にA/D変換を指示する選択制御
手段とを備える。また、このA/D変換装置は、選択制
御手段により選択した入力チャネルのA/D変換結果を
格納する保持手段を選択する保持部選択手段と、複数の
保持手段の内の所定数の保持手段にA/D変換結果が格
納されたときに外部の機器に保持手段からのA/D変換
結果の読み出しを要求する読み出し要求手段とを備え
る。
An A / D converter according to the present invention A / D converts input switching means for selecting a plurality of input channels and input signals of the input channels selected by the input switching means. A / D conversion means and A / D
A / D conversion means for holding the A / D conversion result of the conversion means, controlling a plurality of holding means having a smaller number of input channels of the input switching means and the input switching means, and sequentially selecting a predetermined number of input channels. And selection control means for instructing A / D conversion. Further, this A / D conversion device has a holding unit selecting unit that selects a holding unit that stores the A / D conversion result of the input channel selected by the selection control unit, and a predetermined number of holding units among the plurality of holding units. Read request means for requesting an external device to read the A / D conversion result from the holding means when the A / D conversion result is stored.

【0013】さらに、選択制御手段を制御して、所定の
周期で各入力チャネルのA/D変換を繰り返し、A/D
変換結果を更新する構成としてもよく、また、選択制御
手段が所定数の入力チャネルを、各々所定数の保持手段
の数以下の入力チャネルからなる複数のグループに分割
し、各グループ毎に入力チャネルの選択を行い、読み出
し要求手段が各グループのA/D変換結果毎に読み出し
要求を行う構成としてもよい。
Further, by controlling the selection control means, the A / D conversion of each input channel is repeated at a predetermined cycle, and the A / D conversion is performed.
The conversion result may be updated, and the selection control means divides a predetermined number of input channels into a plurality of groups each having a predetermined number of holding means or less, and the input channels for each group. May be selected, and the read requesting means may make a read request for each A / D conversion result of each group.

【0014】また、さらに、保持手段のうちの所定数を
複数の入力チャネルの内の特定の入力チャネルに割り当
てる割り当て手段を備える構成としてもよい。この場
合、保持部選択手段は、選択制御手段により選択した入
力チャネルが特定の入力チャネルであるときはA/D変
換結果を特定の入力チャネルに割り当てられた保持手段
に格納し、選択制御手段により選択した入力チャネルが
特定の入力チャネルでないときはA/D変換結果を特定
の入力チャネルに割り当てられた保持手段以外の保持手
段に格納する。
Further, it is possible to further comprise an assigning means for assigning a predetermined number of the holding means to a specific input channel of the plurality of input channels. In this case, the holding section selecting means stores the A / D conversion result in the holding means assigned to the specific input channel when the input channel selected by the selection controlling means is the specific input channel, and When the selected input channel is not the specific input channel, the A / D conversion result is stored in the holding means other than the holding means assigned to the specific input channel.

【0015】さらに、各保持手段に保持されているA/
D変換データにA/D変換データに関する付加情報を付
加する付加情報付加手段を備える構成としてもよい。
Further, A / held by each holding means
It may be configured to include additional information adding means for adding additional information regarding the A / D converted data to the D converted data.

【0016】[0016]

【発明の実施の形態】本発明の第1の実施形態に係るA
/D変換装置は、図1に示すように、n個の入力端子A
0〜AIn-1から入力されるnチャネルの信号のうちの
1つを選択して出力するアナログマルチプレクサ1と、
アナログマルチプレクサ1から供給される信号をA/D
変換して出力するA/Dコンバータ2と、A/D変換後
のデータを保持するA/Dリザルトレジスタ3と、バス
を介してCPU等から動作指示等が供給されるレジスタ
4とを備えている。また、このA/D変換装置はレジス
タの値に基づいてアナログマルチプレクサ1、A/Dコ
ンバータ2、A/Dリザルトレジスタ3等を制御するシ
ーケンサ5、シーケンサ5からの指示に応じて、それぞ
れアナログマルチプレクサ1、A/Dリザルトレジスタ
3の切り換えを制御するためのデコーダ6、7とを備え
ている。さらに、このA/D変換装置はA/Dリザルト
レジスタ3からのA/D変換データに付加情報を付加し
て出力する付加情報付加部8を備えている。
BEST MODE FOR CARRYING OUT THE INVENTION A according to a first embodiment of the present invention
As shown in FIG. 1, the A / D converter has n input terminals A
An analog multiplexer 1 for selecting and outputting one of n channel signals input from I 0 to AI n-1 ;
A / D signal supplied from analog multiplexer 1
An A / D converter 2 for converting and outputting, an A / D result register 3 for holding data after A / D conversion, and a register 4 to which operation instructions and the like are supplied from a CPU or the like via a bus There is. Further, this A / D converter is a sequencer 5 for controlling the analog multiplexer 1, the A / D converter 2, the A / D result register 3, etc. based on the value of the register, and the analog multiplexer according to the instruction from the sequencer 5, respectively. 1, and decoders 6 and 7 for controlling switching of the A / D result register 3. Further, this A / D conversion device is provided with an additional information adding section 8 which adds additional information to the A / D converted data from the A / D result register 3 and outputs it.

【0017】アナログマルチプレクサ1は、n個のアナ
ログ入力端子AI0〜AIn-1を備え、デコーダ6を介し
てシーケンサ5から指示されるチャネルからの入力をA
/Dコンバータ2に供給する。A/Dコンバータ2は、
シーケンサ5からの制御によってアナログ信号を所定ビ
ット数のデジタル値に変換する。このA/Dコンバータ
2のA/D変換方法はとくに限定されず、一般のA/D
コンバータを用いることができる。A/Dリザルトレジ
スタ3は、p個のレジスタADCR0〜ADCR(p−
1)からなる。このレジスタの数pは、アナログマルチ
プレクサ1の入力チャネルの数nより少なくなってい
る。以下、例えばアナログマルチプレクサ1の入力チャ
ネル数が16チャネルで4チャネル分のレジスタADC
R0、ADCR1、ADCR2、ADCR3を備えてい
る場合について説明する。
The analog multiplexer 1 is provided with n analog input terminals AI 0 to AI n-1, and receives an input from a channel designated by the sequencer 5 via the decoder 6 as A.
Supply to the / D converter 2. The A / D converter 2
The analog signal is converted into a digital value having a predetermined number of bits under the control of the sequencer 5. The A / D conversion method of the A / D converter 2 is not particularly limited, and a general A / D converter is used.
A converter can be used. The A / D result register 3 includes p registers ADCR0 to ADCR (p-
1). The number p of the registers is smaller than the number n of the input channels of the analog multiplexer 1. In the following, for example, the number of input channels of the analog multiplexer 1 is 16 and the register ADC for 4 channels is used.
The case where R0, ADCR1, ADCR2, and ADCR3 are provided will be described.

【0018】レジスタ4は、A/D変換の起動及び停止
の指示を入力するためのA/D起動・停止指示レジスタ
4aと、変換クロック数を指定するための変換クロック
数指定レジスタ4bと、変換モードを設定するための変
換モード設定レジスタ4cと、割り込み周期を設定する
ための割り込み周期設定レジスタ4d等からなる。これ
らのレジスタには、バス9を介して外部の機器から変換
モード等を示すデータが供給される。
The register 4 includes an A / D start / stop instruction register 4a for inputting A / D conversion start and stop instructions, a conversion clock number designation register 4b for designating the number of conversion clocks, and a conversion The conversion mode setting register 4c for setting the mode, the interrupt cycle setting register 4d for setting the interrupt cycle, and the like. Data indicating a conversion mode or the like is supplied to these registers from an external device via the bus 9.

【0019】シーケンサ5は、アナログマルチプレクサ
1、A/Dリザルトレジスタ3等の切り換えを制御する
ための切り換え制御部と、クロックCLKに基づいてア
ナログマルチプレクサ1の切り換え、A/Dコンバータ
2のA/D変換等のタイミングを制御するためのクロッ
クを発生するクロック発生部と、A/Dコンバータ2の
各ビット毎の変換タイミング等を制御するための変換タ
イミング生成部と、外部の機器に対してA/Dリザルト
レジスタからのA/D変換データの読み出しを要求する
割り込みを発生する割り込み処理部と、動作モードを設
定するためのモード設定部等を備えている。
The sequencer 5 includes a switching control section for controlling switching of the analog multiplexer 1, the A / D result register 3, etc., switching of the analog multiplexer 1 based on the clock CLK, and A / D of the A / D converter 2. A clock generation unit that generates a clock for controlling the timing of conversion, a conversion timing generation unit that controls the conversion timing of each bit of the A / D converter 2, and the like An interrupt processing unit for generating an interrupt requesting reading of A / D conversion data from the D result register, a mode setting unit for setting an operation mode, and the like are provided.

【0020】また、シーケンサ5のモード設定部で設定
されるモードは連続スキャンモード、特定チャネル指定
モード等からなる。連続スキャンモードでは、例えばレ
ジスタADCR0〜3を測定対象となる全てのチャネル
に割り当てておき、図5に示すように、測定対象のチャ
ネルの信号を4チャネル分ずつA/D変換し、得られた
4チャネル分のA/D変換データをレジスタADCR0
〜3に格納して割り込みを発生し、外部の機器が割り込
みに応じてレジスタADCR0〜3に格納されたA/D
変換データを読み出す。全てのチャネルを全てのレジス
タADCR0〜3に割り当てる必要はなく、一部のチャ
ネルを一部のレジスタに割り当ててもよい。
The modes set by the mode setting section of the sequencer 5 include a continuous scan mode and a specific channel designation mode. In the continuous scan mode, for example, the registers ADCR0 to 3 are assigned to all channels to be measured, and as shown in FIG. 5, the signals of the channels to be measured are A / D-converted for every four channels and obtained. Register A / D conversion data for 4 channels ADCR0
3 to 3 to generate an interrupt, and an external device stores the A / D in the registers ADCR0 to 3 in response to the interrupt.
Read the conversion data. It is not necessary to allocate all channels to all registers ADCR0 to ADCR3, and some channels may be allocated to some registers.

【0021】また特定チャネル指定モードでは、特定の
レジスタ、図6及び図7に示すように、レジスタADC
R0を特定のチャネル、例えばチャネル0に割り当てて
おき、残りのレジスタADCR1〜3を他のチャネルに
割り当てて順次A/D変換を行い、チャネル0のA/D
変換データはレジスタADCR0に格納し、チャネル0
以外のA/D変換データは3チャネルずつADCR0〜
3に格納する。
In the specific channel designation mode, a specific register, as shown in FIGS. 6 and 7, is a register ADC.
R0 is assigned to a specific channel, for example, channel 0, the remaining registers ADCR1 to ADCR1 to 3 are assigned to other channels, and A / D conversion is sequentially performed.
The converted data is stored in the register ADCR0, and the channel 0
Other than A / D conversion data, ADCR0 to 3 for each 3 channels
3 is stored.

【0022】特定チャネル指定モードで特定のレジスタ
に割り当てる特定のチャネルの数は、リザルトレジスタ
の数以下であればいくつでも良く、例えばリザルトレジ
スタ数と同じにすることもできる。この場合は、A/D
変換するチャネルに各々レジスタを割り当てた状態と同
様に動作する。また、連続スキャンモードは、特定チャ
ネル固定モードの特殊な形態、すなわち特定のチャネル
の指定がない場合とも言える。
The number of specific channels assigned to a specific register in the specific channel specification mode may be any number as long as it is equal to or smaller than the number of result registers. For example, it may be the same as the number of result registers. In this case, A / D
It operates in the same way as when registers are assigned to the channels to be converted. It can also be said that the continuous scan mode is a special mode of the specific channel fixed mode, that is, the case where no specific channel is designated.

【0023】この特定チャネル指定モードには、さらに
各割り込み毎に1回の頻度で特定のチャネル(チャネル
0)の信号をA/D変換するCモードと、他のチャネル
の信号が各々1回ずつA/D変換される間に1回の頻度
で特定のチャネル(チャネル0)の信号をA/D変換す
るDモードとがある。
In this specific channel designating mode, a C mode in which a signal of a specific channel (channel 0) is A / D converted at a frequency of once for each interrupt, and a signal of another channel is once each. There is a D mode in which a signal of a specific channel (channel 0) is A / D converted at a frequency while being A / D converted.

【0024】Cモードでは、図6に示すように、各割り
込み発生時毎に、チャネル0のA/D変換データを更新
する。従って、チャネル0のサンプリング周期が他のチ
ャネルに比較して短くなっている。このようなモードは
特定のチャネルの変化を特に詳しく調べる必要がある場
合等に用いられる。
In the C mode, as shown in FIG. 6, the A / D conversion data of channel 0 is updated every time an interrupt occurs. Therefore, the sampling cycle of channel 0 is shorter than that of other channels. Such a mode is used, for example, when it is necessary to investigate the change of a specific channel in detail.

【0025】また、Dモードでは、図7に示すように、
各割り込み発生時にはチャネル0以外のA/D変換デー
タのみを読み出し、全てのチャネルのA/D変換データ
が読み出されるまでの間、例えば他の全てのチャネルの
A/D変換データの読み出しが終了した後にチャネル0
のA/D変換データの読み出しを行う。このようなモー
ドは、各割り込み毎に全てのレジスタADCR0〜3か
らA/D変換データを読み出すことが難しい場合等に用
いられる。
In the D mode, as shown in FIG.
When each interrupt occurs, only the A / D conversion data other than channel 0 is read, and until the A / D conversion data of all channels are read, for example, the reading of A / D conversion data of all other channels is completed. Later channel 0
The A / D conversion data of is read. Such a mode is used when it is difficult to read the A / D conversion data from all the registers ADCR0 to ADCR3 for each interrupt.

【0026】これらのモードの切り換えは、シーケンサ
5が、バス9を介して外部の機器により設定されたレジ
スタの値を参照して行うようになっている。具体的には
シーケンサ5は上述のモード選択部として、図8に示す
ように、特定チャネルを割り当てるレジスタを設定する
特定チャネル指定部11と、特定チャネルのA/D変換
周期を設定して上述のCモードとDモードの切り換えを
制御する頻度設定部12と、特定チャネル指定部11で
設定されたレジスタを排他制御するレジスタ排他制御部
13と、特定チャネルが割り当てられたレジスタ以外の
レジスタに割り当てるチャネルを設定するチャネル割り
当て部14と、A/D変換時にA/D変換するチャネル
を選択するA/D変換チャネル選択部15と、A/D変
換結果を格納するレジスタを選択するA/D変換結果格
納レジスタ選択部16とを備えている。
The sequencer 5 switches between these modes by referring to the register value set by an external device via the bus 9. Specifically, as shown in FIG. 8, the sequencer 5 functions as the above-mentioned mode selection unit by setting a specific channel designating unit 11 that sets a register to which a specific channel is assigned and an A / D conversion cycle of the specific channel. A frequency setting unit 12 that controls switching between the C mode and the D mode, a register exclusion control unit 13 that exclusively controls the registers set by the specific channel designating unit 11, and a channel that is allocated to a register other than the register to which the specific channel is allocated. , A / D conversion channel selecting unit 15 for selecting a channel to be A / D converted during A / D conversion, and A / D conversion result for selecting a register for storing the A / D conversion result. The storage register selecting unit 16 is provided.

【0027】上述のような構成のA/D変換装置は、例
えば図9に示すマイクロコントローラ(マイコン)に用
いることができる。このマイコンは、CPU21と、R
OM22、RAM23と、シリアルI/F、パラレルI
/F等を有するI/O制御部24と、上述の図1に示す
A/D変換装置と同様に構成されたA/D変換部25
と、CPU21〜A/D変換部25が接続されているバ
ス26を備えている。また、このマイコンは、CPU2
1、ROM22及びRAM23の一部、I/O制御部2
4、A/D変換部25等が1つの素子として形成されて
いる。なお、上述の図1に示す構成の内、A/Dリザル
トレジスタ3は、図9中ではRAM23の一部に対応
し、バス9はバス26に対応し、他の構成要素はA/D
変換部25に対応する。また、この場合、CPU21が
上述の外部の機器に対応している。
The A / D converter having the above-described structure can be used in, for example, the microcontroller shown in FIG. This microcomputer has a CPU 21 and R
OM22, RAM23, serial I / F, parallel I
I / O control section 24 having an I / F and the like, and an A / D conversion section 25 configured similarly to the A / D conversion apparatus shown in FIG.
And a bus 26 to which the CPU 21 to the A / D converter 25 are connected. In addition, this microcomputer is CPU2
1, ROM 22 and part of RAM 23, I / O control unit 2
4, the A / D converter 25 and the like are formed as one element. In the configuration shown in FIG. 1, the A / D result register 3 corresponds to a part of the RAM 23 in FIG. 9, the bus 9 corresponds to the bus 26, and the other components are A / D.
It corresponds to the conversion unit 25. Further, in this case, the CPU 21 corresponds to the above-mentioned external device.

【0028】CPU21のメモリ空間上には、図10に
示すような制御用メモリ領域が設けられている。このよ
うな制御用メモリ空間上には、上述のI/O制御部24
のシリアルI/F及びパラレルI/FあるいはA/D変
換部25等の動作を制御するための256バイト程度の
制御用レジスタが割り付けられている。上述のリザルト
レジスタ3(レジスタADCR1〜3)及びレジスタ4
(A/D起動レジスタ4a〜割り込み同期設定レジスタ
4d)は、例えばそれぞれアドレスF010以降、F0
20以降に割り付けられている。このような制御用レジ
スタに用いることのできるメモリ領域には制限があるた
め、他のデバイスが多い場合等にはレジスタ数を増加さ
せることは困難である。
A control memory area as shown in FIG. 10 is provided in the memory space of the CPU 21. In the control memory space as described above, the above-mentioned I / O control unit 24 is provided.
A control register of about 256 bytes for controlling the operation of the serial I / F and the parallel I / F or the A / D conversion unit 25 is allocated. The above-mentioned result register 3 (registers ADCR1 to 3) and register 4
(A / D start register 4a to interrupt synchronization setting register 4d) are, for example, addresses F010 and later, F0 and
It is assigned after 20. Since the memory area that can be used for such a control register is limited, it is difficult to increase the number of registers when there are many other devices.

【0029】また、A/D変換部のチャネル数の異なる
マイコンファミリの展開を考える場合等で、リザルトレ
ジスタ等の制御用レジスタの数及びレジスタのマッピン
グ等の構成を共通としておけば、A/D変換部25のア
ナログマルチプレクサのチャネル数等の構成のみを変更
することにより、用途に適した仕様のマイコンを容易に
設計、製造することができる。このようにリザルトレジ
スタ等の制御用レジスタの数及び割り当て位置等の構成
を共通とすれば、アナログマルチプレクサのチャネル数
等が異なるマイコンにおいてもコンパイラ、制御用プロ
グラム等のソフトウェアを共通とすることができ、総合
的な製品コストを低減することができる。
Further, when considering the development of a microcomputer family having a different number of channels of the A / D converter, if the number of control registers such as a result register and the configuration of register mapping are common, the A / D By changing only the configuration such as the number of channels of the analog multiplexer of the conversion unit 25, it is possible to easily design and manufacture a microcomputer having specifications suitable for the application. If the configuration such as the number of control registers such as the result register and the allocation position is common in this way, the software such as the compiler and the control program can be shared even in the microcomputers having different numbers of channels of the analog multiplexer. , The overall product cost can be reduced.

【0030】このようなマイコンは、制御プログラムを
実行することにより、A/D変換装置を制御して複数の
A/D変換処理を実行することができるようになってい
る。
By executing a control program, such a microcomputer can control the A / D conversion device and execute a plurality of A / D conversion processes.

【0031】以下、このようなマイコンによりA/D変
換を行う場合について説明する。
The case where A / D conversion is performed by such a microcomputer will be described below.

【0032】まず、A/D変換を行う場合にマイコンの
CPU21は、バス26を介してA/D変換部25のモ
ード設定部に動作モードを指示する。具体的には、連続
スキャンモードでA/D変換を行う際には、CPU21
は、バス26、A/D変換部25を構成する変換モード
設定レジスタ4c(図1)を介して、シーケンサ5のチ
ャネル割り当て部14(図8)に、A/D変換するチャ
ネルと、使用するレジスタ等を指示する。
First, when performing A / D conversion, the CPU 21 of the microcomputer instructs the operation mode to the mode setting section of the A / D conversion section 25 via the bus 26. Specifically, when performing A / D conversion in the continuous scan mode, the CPU 21
Is used by the channel allocation unit 14 (FIG. 8) of the sequencer 5 via the bus 26 and the conversion mode setting register 4c (FIG. 1) that constitutes the A / D conversion unit 25 as a channel for A / D conversion. Instruct registers etc.

【0033】また、特定チャネル指定モードでは、CP
U21は、シーケンサ5を構成する特定チャネル指定部
11に、固定する特定チャネルと、この特定チャネルを
割り当てるレジスタを指示し、チャネル割り当て部14
に、A/D変換するチャネルと、使用するレジスタ等を
指示する。さらに、特定チャネル指定モードの動作をさ
せる場合、CPU21は頻度設定部12に、上述のCモ
ードあるいはDモードの動作を指示する。
In the specific channel designation mode, CP
The U21 instructs the specific channel designating section 11 constituting the sequencer 5 to the specific channel to be fixed and the register to which the particular channel is allocated, and the channel allocating section 14
Indicate the channel to be A / D converted, the register to be used, etc. Further, when operating in the specific channel designation mode, the CPU 21 instructs the frequency setting unit 12 to operate in the C mode or the D mode.

【0034】また、CPU21は、上述の図1に示す変
換クロック数指定レジスタ4bを介してシーケンサ5の
クロック発生部にA/D変換の1チャネル当たりの変換
周期を例えばクロックCLK数として指示し、また、割
り込み周期設定レジスタ4dを介してシーケンサ5の割
り込み処理部に、割り込みを発生する周期、タイミング
を、例えばそれぞれチャネル数、クロックCLK数等と
して指示する。
Further, the CPU 21 instructs the clock generation section of the sequencer 5 through the conversion clock number designating register 4b shown in FIG. 1 to indicate the conversion cycle per channel of A / D conversion as the number of clock CLKs, for example. Further, the interrupt processing unit of the sequencer 5 is instructed to the interrupt processing unit of the sequencer 5 via the interrupt cycle setting register 4d, for example, as the number of channels and the number of clocks CLK, respectively.

【0035】動作モード等の設定が終了すると、CPU
21は、図1及び図10に示すA/D起動・停止指示レ
ジスタ4aを介してシーケンサ5にA/D変換の開始を
指示する。A/D変換の開始が指示されると、A/D変
換部25は、CPU21からA/D変換の停止が指示さ
れるまでの間、シーケンサ5の制御により独立して動作
する。従って、CPU21はシーケンサ5から供給され
るA/D変換データの読み出しを要求する割り込みに応
答して各レジスタADCR0〜3に保持されているデー
タを読み出すだけでよい。
When the setting of the operation mode is completed, the CPU
21 instructs the sequencer 5 to start A / D conversion via the A / D start / stop instruction register 4a shown in FIGS. When the start of the A / D conversion is instructed, the A / D conversion unit 25 operates independently under the control of the sequencer 5 until the CPU 21 instructs the stop of the A / D conversion. Therefore, the CPU 21 need only read the data held in each of the registers ADCR0 to 3 in response to the interrupt requesting the reading of the A / D conversion data supplied from the sequencer 5.

【0036】連続スキャンモードが指示された場合に
は、特定チャネル指定部11にはいずれのチャネルも設
定されていないため、レジスタ排他制御部13によるレ
ジスタの排他制御は行われず、A/D変換チャネル選択
部15はクロック発生部からのクロックに基づいて、順
次、チャネル割り当て部14に設定されているチャネル
の信号が選択されるように図1中のデコーダ6に選択信
号を供給する。これにより、デコーダ6が選択信号のデ
コード出力をアナログマルチプレクサ1に供給し、この
デコード出力によって、例えば図5(A)に示すよう
に、順次、チャネル0、チャネル1、チャネル2、チャ
ネル3、チャネル4・・・が選択される。また、このと
き、A/D変換チャネル選択部15は選択したチャネル
を順次A/D変換結果格納レジスタ選択部16に通知す
る。
When the continuous scan mode is instructed, since no channel is set in the specific channel designating section 11, register exclusive control by the register exclusive control section 13 is not performed, and the A / D conversion channel is not set. The selection unit 15 supplies selection signals to the decoder 6 in FIG. 1 so that the signals of the channels set in the channel allocation unit 14 are sequentially selected based on the clock from the clock generation unit. As a result, the decoder 6 supplies the decode output of the selection signal to the analog multiplexer 1, and the decode output sequentially provides channel 0, channel 1, channel 2, channel 3, channel 3 as shown in FIG. 5A, for example. 4 ... is selected. At this time, the A / D conversion channel selection unit 15 sequentially notifies the A / D conversion result storage register selection unit 16 of the selected channels.

【0037】A/D変換結果格納レジスタ選択部16
は、A/D変換チャネル選択部15から現在選択されて
いるチャネルが通知されると、通知されたチャネルのA
/D変換データが、順次、チャネル割り当て部14よっ
て割り当てられているレジスタに格納されるように、A
/D変換データを格納するレジスタを示す選択信号を図
1に示すデコーダ7に供給する。これにより、デコーダ
7が選択信号をデコードし、このデコード出力により、
A/Dリザルトレジスタ3の中からA/D変換データを
格納するレジスタが選択され、例えば図5(C)〜同図
(F)に示すように、チャネル0、チャネル1、チャネ
ル2、チャネル3、チャネル4・・・のA/D変換デー
タが順次、レジスタADCR0、ADCR1、ADCR
2、ADCR3、ADCR0、ADCR1・・・に格納
される。
A / D conversion result storage register selecting section 16
Is notified of the currently selected channel from the A / D conversion channel selection unit 15, the A of the notified channel
The A / D conversion data is stored in the registers allocated by the channel allocation unit 14 in sequence so that
A selection signal indicating a register for storing / D converted data is supplied to the decoder 7 shown in FIG. As a result, the decoder 7 decodes the selection signal, and the decoded output causes
A register for storing the A / D conversion data is selected from the A / D result register 3, and for example, as shown in FIGS. 5C to 5F, channel 0, channel 1, channel 2, channel 3 are selected. , A / D conversion data of channel 4 ... Sequentially in registers ADCR0, ADCR1, ADCR
2, ADCR3, ADCR0, ADCR1 ...

【0038】また、A/D変換結果格納レジスタ選択部
16は、A/D変換チャネル選択部15から通知された
チャネルの数を計数しており、この計数結果により、使
用可能なレジスタADCR0〜3に全てA/D変換デー
タが格納されたことを検出すると、割り込み処理部を制
御してA/D変換データの読み出しを要求する割り込み
を発生させる。例えば図5(A)に示すように、チャネ
ル3(あるいはチャネル7)のA/D変換が終了し、同
図(C)〜同図(F)に示すようにレジスタADCR0
〜3にチャネル0〜3(あるいはチャネル4〜7)が供
給された時に、同図(B)に示すように割り込みを発生
させる。
Further, the A / D conversion result storage register selecting section 16 counts the number of channels notified from the A / D conversion channel selecting section 15, and according to the counting result, the usable registers ADCR0 to 3 can be used. When it is detected that all the A / D converted data are stored in, the interrupt processing unit is controlled to generate an interrupt requesting the reading of the A / D converted data. For example, as shown in FIG. 5A, the A / D conversion of channel 3 (or channel 7) is completed, and the register ADCR0 as shown in FIGS.
When channels 0 to 3 (or channels 4 to 7) are supplied to channels 3 to 3, an interrupt is generated as shown in FIG.

【0039】割り込みが発生すると、図9に示すCPU
21は割り込みに応答してレジスタADCR0〜3に保
持されているデータを読み出し、各チャネル毎のA/D
変換データに分離する。
When an interrupt occurs, the CPU shown in FIG.
21 reads the data held in the registers ADCR0 to 3 in response to the interrupt, and A / Ds each channel.
Separate into converted data.

【0040】このような連続モードでは、上述のように
モード設定を行った後、A/D変換の開始を指示すると
A/D変換部25が独立して動作する。従って、CPU
21が動作モードを制御する場合あるいはリザルトレジ
スタが1つしかない場合等に比較してCPU21の処理
負荷を大幅に低減することができる。また、このような
連続モードではシーケンサ5が入力チャネルを自動的に
切り換える構成となっているため、CPUが入力チャネ
ルあるいは入力チャネルグループを切り換える構成とし
た場合のように、A/D変換を一旦停止する必要がない
ため、A/D変換周期を短縮することが容易となる。
In such a continuous mode, after the mode is set as described above, if the start of A / D conversion is instructed, the A / D conversion section 25 operates independently. Therefore, CPU
The processing load of the CPU 21 can be significantly reduced as compared with the case where 21 controls the operation mode or the case where there is only one result register. Further, in such a continuous mode, since the sequencer 5 is configured to automatically switch the input channel, the A / D conversion is temporarily stopped as in the case where the CPU switches the input channel or the input channel group. Since it is not necessary to do so, it becomes easy to shorten the A / D conversion cycle.

【0041】また、このA/D変換装置は、各入力チャ
ネル毎にリザルトレジスタを設けた場合に比較して、装
置の回路規模を小さくすることができ、装置の小型化、
コストの低減等が容易となる。
Further, in this A / D converter, the circuit scale of the device can be reduced as compared with the case where the result register is provided for each input channel, and the device can be downsized.
The cost can be reduced easily.

【0042】一方、CPU21から特定チャネル指定モ
ードが指示された場合には、特定チャネル固定部11に
設定されたチャネルは特定のレジスタ、例えばレジスタ
ADCR0に割り当てられる。レジスタ排他制御部13
は、この特定のレジスタADCR0がA/D変換結果格
納レジスタ選択部16において他のチャネルに割り当て
られないように制御する。
On the other hand, when the specific channel designation mode is instructed from the CPU 21, the channel set in the specific channel fixing section 11 is assigned to a specific register, for example, the register ADCR0. Register exclusion controller 13
Controls the specific register ADCR0 not to be assigned to another channel in the A / D conversion result storage register selecting section 16.

【0043】この特定チャネル指定モードが指示された
場合には、A/D変換チャネル選択部15は頻度設定部
12を参照して上述のCモード又はDモードのいずれに
設定されているかを確認する。
When this specific channel designation mode is instructed, the A / D conversion channel selection section 15 refers to the frequency setting section 12 to confirm whether the C mode or the D mode is set. .

【0044】Cモードに設定されているときは、A/D
変換チャネル選択部15はクロック発生部からのクロッ
クに基づいて、各割り込み毎にチャネル0が選択された
後、チャネル割り当て部14に設定されているチャネル
の信号が順次選択されるようにデコーダ6に選択信号を
供給する。
When the C mode is set, the A / D
Based on the clock from the clock generation unit, the conversion channel selection unit 15 causes the decoder 6 to sequentially select the signals of the channels set in the channel allocation unit 14 after the channel 0 is selected for each interrupt. Supply a selection signal.

【0045】これにより、デコーダ6が選択信号のデコ
ード出力をアナログマルチプレクサ1に供給し、このデ
コード出力によって、例えば図6(A)に示すように、
順次、チャネル0、チャネル1、チャネル2、チャネル
3、チャネル0、チャネル4、チャネル5・・・が選択
される。また、このとき、A/D変換チャネル選択部1
5は選択したチャネルを順次A/D変換結果格納レジス
タ選択部16に通知する。
As a result, the decoder 6 supplies the decode output of the selection signal to the analog multiplexer 1, and the decode output causes the decoder 6 to output, for example, as shown in FIG.
Channel 0, channel 1, channel 2, channel 3, channel 0, channel 4, channel 5, ... Are sequentially selected. At this time, the A / D conversion channel selection unit 1
5 sequentially notifies the A / D conversion result storage register selecting unit 16 of the selected channels.

【0046】A/D変換結果格納レジスタ選択部16
は、A/D変換チャネル選択部15から現在選択されて
いるチャネルが通知されると、特定チャネルであるチャ
ネル0のA/D変換データがレジスタADCR0に格納
され、残りのチャネルのA/D変換データが、順次、チ
ャネル割り当て部14よって割り当てられているレジス
タに格納されるように、A/D変換データを格納するレ
ジスタを示す選択信号をデコーダ7に供給する。これに
より、デコーダ7が選択信号をデコードし、このデコー
ド出力により、A/Dリザルトレジスタ3の中からA/
D変換データを格納するレジスタが選択され、例えば図
6(B)〜(E)に示すように、チャネル0、チャネル
1、チャネル2、チャネル3、チャネル0、チャネル4
・・・のA/D変換データが順次、レジスタADCR
0、ADCR1、ADCR2、ADCR3、ADCR
0、ADCR1・・・に格納される。
A / D conversion result storage register selecting section 16
When the currently selected channel is notified from the A / D conversion channel selection unit 15, the A / D conversion data of the channel 0 which is a specific channel is stored in the register ADCR0, and the A / D conversion of the remaining channels is performed. A selection signal indicating a register for storing A / D conversion data is supplied to the decoder 7 so that the data is sequentially stored in the register allocated by the channel allocation unit 14. As a result, the decoder 7 decodes the selection signal, and the decoded output outputs A / D from the A / D result register 3.
A register for storing the D conversion data is selected, and as shown in FIGS. 6B to 6E, for example, channel 0, channel 1, channel 2, channel 3, channel 0, channel 4
The A / D conversion data of ... Are sequentially registered in the register ADCR
0, ADCR1, ADCR2, ADCR3, ADCR
0, ADCR1 ...

【0047】また、A/D変換結果格納レジスタ選択部
16は、A/D変換チャネル選択部15から通知された
チャネルの数を計数しており、この計数結果により、使
用可能なレジスタADCR0〜3に全てA/D変換デー
タが格納されたことを検出すると、割り込み処理部を制
御してA/D変換データの読み出しを要求する割り込み
を発生させる。例えば図6(A)に示すように、チャネ
ル3(あるいはチャネル6、チャネル9、チャネル1
2、チャネル15)のA/D変換が終了し、同図(B)
〜(E)に示すようにレジスタADCR0にチャネル
0、レジスタADCR1〜3にチャネル1〜3(あるい
はチャネル4〜6、チャネル7〜9、チャネル10〜1
2、チャネル13〜15)が供給された時に、同図
(F)に示すように割り込みを発生させる。
Further, the A / D conversion result storage register selecting section 16 counts the number of channels notified from the A / D conversion channel selecting section 15, and the usable registers ADCR0 to ADCR3 are counted according to the counting result. When it is detected that all the A / D converted data are stored in, the interrupt processing unit is controlled to generate an interrupt requesting the reading of the A / D converted data. For example, as shown in FIG. 6A, channel 3 (or channel 6, channel 9, channel 1
2, A / D conversion of channel 15) is completed and the same figure (B)
As shown in (E), channel 0 is in register ADCR0 and channels 1-3 are in registers ADCR1-3 (or channels 4-6, channels 7-9, channels 10-1).
2, when channels 13 to 15) are supplied, an interrupt is generated as shown in FIG.

【0048】割り込みが発生すると、CPU21は上述
の連続スキャンモードと同様に割り込みに応答してレジ
スタADCR0〜3に保持されているデータを読み出
し、各チャネル毎のA/D変換データに分離する。
When an interrupt occurs, the CPU 21 responds to the interrupt in the same manner as in the continuous scan mode described above, reads the data held in the registers ADCR0 to ADCR3, and separates the data into A / D conversion data for each channel.

【0049】なお、特定レジスタ及び特定チャネルの数
は1つでなくともよくレジスタADCR0にチャネル
0、レジスタADCR1にチャネル1を割り当てる等、
適宜変更することができる。
The number of specific registers and the number of specific channels are not limited to one, and channel 0 is assigned to register ADCR0, channel 1 is assigned to register ADCR1, and so on.
It can be changed as appropriate.

【0050】このCモードでは、上述したように特定の
チャネルのA/D変換周期を他のチャネルに対して短く
することができるため、CPU21の処理負荷を増加さ
せることなく測定対象となるチャネルの信号の特性に適
した測定を行うことができる。また、2つの異なるA/
D変換周期でA/D変換を行うことができるため、A/
D変換装置の自由度を向上させることができる。
In the C mode, the A / D conversion cycle of a specific channel can be shortened as compared with other channels as described above, so that the channel to be measured can be processed without increasing the processing load of the CPU 21. Measurements suitable for the characteristics of the signal can be performed. Also, two different A /
Since A / D conversion can be performed in the D conversion cycle,
The degree of freedom of the D conversion device can be improved.

【0051】また、頻度設定部12を参照した際に、D
モードに設定されているときは、A/D変換チャネル選
択部15はクロック発生部からのクロックに基づいて、
特定チャネル指定部11及びチャネル割り当て部14に
設定されているチャネルの信号が順次選択されるように
デコーダ6に選択信号を供給する。これにより、例えば
図7(A)に示すように、順次、チャネル0、チャネル
1、チャネル2、チャネル3、チャネル4・・・が選択
される。なお、この順序は上述の連続スキャンモードと
同じである。このとき、A/D変換チャネル選択部15
は選択したチャネルを順次A/D変換結果格納レジスタ
選択部16に通知する。
When referring to the frequency setting unit 12, D
When the mode is set, the A / D conversion channel selection unit 15 is based on the clock from the clock generation unit,
A selection signal is supplied to the decoder 6 so that the signals of the channels set in the specific channel designation unit 11 and the channel allocation unit 14 are sequentially selected. As a result, for example, as shown in FIG. 7A, channel 0, channel 1, channel 2, channel 3, channel 4, ... Are sequentially selected. Note that this order is the same as in the above continuous scan mode. At this time, the A / D conversion channel selection unit 15
Notifies the A / D conversion result storage register selection unit 16 of the selected channels sequentially.

【0052】A/D変換結果格納レジスタ選択部16
は、A/D変換チャネル選択部15から現在選択されて
いるチャネルが通知されると、上述のCモードの場合と
同様に、チャネル0のA/D変換データがレジスタAD
CR0に格納され、残りのチャネルのA/D変換データ
が、順次、レジスタADCR1〜3に格納されるよう
に、A/D変換データを格納するレジスタを選択する。
これにより、A/Dリザルトレジスタ3の中からA/D
変換データを格納するレジスタが選択され、例えば図7
(B)〜(E)に示すように、チャネル0のA/D変換
データがレジスタADCR0に、チャネル1、チャネル
2、チャネル3、チャネル4、チャネル5・・・のA/
D変換データが順次、レジスタADCR1、ADCR
2、ADCR3、ADCR1、ADCR2・・・に格納
される。
A / D conversion result storage register selecting section 16
When the currently selected channel is notified from the A / D conversion channel selection unit 15, the A / D conversion data of the channel 0 is registered in the register AD as in the case of the C mode.
A register for storing the A / D conversion data is selected so that the A / D conversion data of the remaining channels stored in CR0 are sequentially stored in the registers ADCR1 to ADCR1 to 3.
As a result, the A / D from the A / D result register 3
A register for storing the conversion data is selected, for example, as shown in FIG.
As shown in (B) to (E), the A / D conversion data of channel 0 is stored in the register ADCR0 as A / D of channel 1, channel 2, channel 3, channel 4, channel 5 ...
The D conversion data are sequentially registered in the registers ADCR1 and ADCR
2, ADCR3, ADCR1, ADCR2 ...

【0053】A/D変換結果格納レジスタ選択部16
は、A/D変換チャネル選択部15から通知されたチャ
ネルの数を計数しており、この計数結果により、使用可
能なレジスタADCR0〜3に全てA/D変換データが
格納されたことを検出すると、割り込み処理部を制御し
てA/D変換データの読み出しを要求する割り込みを発
生させる。
A / D conversion result storage register selecting section 16
Counts the number of channels notified from the A / D conversion channel selection unit 15, and when it detects that the A / D conversion data are all stored in the usable registers ADCR0 to 3 by the counting result. , The interrupt processing unit is controlled to generate an interrupt requesting reading of A / D conversion data.

【0054】割り込みが発生すると、CPU21は上述
のCモードと同様に割り込みに応答してレジスタADC
R0〜3に保持されているデータを読み出し、各チャネ
ル毎のA/D変換データに分離する。
When an interrupt occurs, the CPU 21 responds to the interrupt in the same manner as in the C mode described above, and registers the register ADC.
The data held in R0 to 3 is read and separated into A / D converted data for each channel.

【0055】ここで、レジスタADCR0がチャネル0
に割り当てられているため、レジスタADCR0の内容
は、1度チャネル0のA/D変換データを格納してか
ら、次にチャネル0のA/D変換データが格納される間
での間、変更されない。従って、CPU25はチャネル
3、チャネル6、チャネル9、チャネル12のA/D変
換後の割り込み発生時には、レジスタADCR0に保持
されているA/D変換データを読み出す必要がなく、他
の3つのレジスタADCR1〜3に保持されているA/
D変換データのみを読み出し、最後のチャネル15のA
/D変換後の割り込み発生時にのみ全てのレジスタAD
CR0〜3に保持されているA/D変換データを読み出
すだけでよい。
Here, the register ADCR0 is set to the channel 0.
The contents of the register ADCR0 are not changed between the time the A / D conversion data of channel 0 is stored once and the time the A / D conversion data of channel 0 is stored next. . Therefore, the CPU 25 does not need to read the A / D conversion data held in the register ADCR0 when an interrupt occurs after the A / D conversion of the channel 3, channel 6, channel 9, and channel 12, and the other three registers ADCR1 A / held in ~ 3
Only D conversion data is read out, and A of the last channel 15 is read.
All registers AD only when an interrupt occurs after / D conversion
It is only necessary to read the A / D conversion data held in CR0-3.

【0056】このDモードでは、連続スキャンモードに
比較して割り込み回数が増加するが、1回の割り込み当
たりにレジスタから読み出すデータ数が減少する。この
ため、例えばバス26の速度が遅い等の理由により、C
PU21が各割り込み時に全てのレジスタの内容を読み
出す時間的余裕が無い場合等に、このDモードに設定す
ることにより、1回の割り込みで読み出すレジスタの数
を減少させることができる。このDモードでは上述した
ように、各割り込み毎に読み出すチャネル数を減少させ
ることにより、CPU21の処理能力、バス26の性能
等に適した処理を行うことができる。
In this D mode, the number of interrupts increases as compared with the continuous scan mode, but the number of data read from the register per interrupt decreases. Therefore, for example, because the speed of the bus 26 is slow, C
When the PU 21 does not have enough time to read the contents of all the registers at each interrupt, by setting this D mode, the number of registers read by one interrupt can be reduced. In the D mode, as described above, by reducing the number of channels read for each interrupt, it is possible to perform processing suitable for the processing capacity of the CPU 21, the performance of the bus 26, and the like.

【0057】従って、このCモード、Dモードからなる
特定レジスタ指定モードでは、特定レジスタに割り当て
られたチャネルとそれ以外のチャネルとで異なる処理を
施すことができ、A/D変換の自由度を向上させること
ができる。
Therefore, in the specific register designation mode consisting of the C mode and the D mode, different processing can be performed on the channel assigned to the specific register and the other channels, and the degree of freedom of A / D conversion is improved. Can be made.

【0058】また、上述の付加情報付加部8は、図11
に示すように、上述のシーケンサ5のA/D変換チャネ
ル選択部15からのチャネル選択データをラッチして上
述のリザルトレジスタ3に供給するラッチ32から構成
されている。このラッチ32にはラッチタイミング入力
としてシーケンサ5からA/Dコンバータ2のA/D変
換が終了したことを示すA/D完了信号が供給されてい
る。
Further, the above-mentioned additional information adding section 8 is shown in FIG.
As shown in FIG. 3, it is composed of a latch 32 which latches the channel selection data from the A / D conversion channel selection unit 15 of the sequencer 5 and supplies it to the result register 3 described above. An A / D completion signal indicating that the A / D conversion of the A / D converter 2 is completed is supplied from the sequencer 5 to the latch 32 as a latch timing input.

【0059】また、リザルトレジスタ3には、A/Dコ
ンバータ2からの10ビットのA/D変換データをラッ
チするラッチ31からの出力が供給されている。このラ
ッチ31にはラッチ32と同様に、ラッチタイミング入
力としてシーケンサ5からA/D完了信号が供給されて
いる。
Further, the result register 3 is supplied with the output from the latch 31 which latches the 10-bit A / D conversion data from the A / D converter 2. Like the latch 32, the latch 31 is supplied with an A / D completion signal from the sequencer 5 as a latch timing input.

【0060】上述のようにA/D変換を行う際には、A
/D変換チャネル選択部15がA/D変換を選択する。
この選択データはラッチ32に供給されており、A/D
変換が終了した際にA/D変換完了信号に応じてラッチ
32によってラッチされる。同様にA/Dコンバータ2
からのA/D変換データはラッチ31によってラッチさ
れる。
When performing A / D conversion as described above, A
The / D conversion channel selection unit 15 selects A / D conversion.
This selection data is supplied to the latch 32, and the A / D
When the conversion is completed, it is latched by the latch 32 according to the A / D conversion completion signal. Similarly, A / D converter 2
The A / D converted data from is latched by the latch 31.

【0061】これらのラッチ31、32にラッチされた
データはA/D変換結果格納レジスタ選択部16からの
選択信号によって選択されたレジスタに供給される。こ
れにより、リザルトレジスタ3の各レジスタADCR0
〜ADCR(p−1)には図12に示すようにA/D変
換データとこのA/D変換データのチャネルを示すチャ
ネルデータ(付属情報)が格納される。
The data latched by the latches 31 and 32 are supplied to the register selected by the selection signal from the A / D conversion result storage register selection section 16. As a result, each register ADCR0 of the result register 3 is
.. to ADCR (p-1) store A / D converted data and channel data (adjunct information) indicating the channel of this A / D converted data, as shown in FIG.

【0062】このように各チャネルのA/D変換データ
に各チャネルを示すチャネルデータを付加することによ
り、CPU21は各レジスタから読み出したA/D変換
データがどのチャネルのものであるか容易に判断するこ
とができる。従って、各チャネルのデータの分離を確実
に行うことができる。
By thus adding the channel data indicating each channel to the A / D converted data of each channel, the CPU 21 can easily determine which channel the A / D converted data read from each register belongs to. can do. Therefore, the data of each channel can be reliably separated.

【0063】なお、 この付加情報付加部8において、
A/D変換データに付加する付加情報は、上述のチャネ
ルを示すチャネルデータの他に、A/D変換のサンプリ
ング周期、サンプルホールド時間、時刻を表すタイムス
タンプ、動作モード等を示す情報であってもよい。これ
らの付属情報はシーケンサ5の内部で用いられているた
め、チャネルデータの場合と同様に、これらの付属情報
をA/D変換完了信号に応じてラッチし、このラッチ出
力をリザルトレジスタ3に供給すればよい。
In the additional information adding section 8,
The additional information added to the A / D conversion data is information indicating the sampling cycle of A / D conversion, the sample hold time, the time stamp indicating the time, the operation mode, etc. in addition to the channel data indicating the above-mentioned channel. Good. Since these attached information are used inside the sequencer 5, the attached information is latched according to the A / D conversion completion signal and the latched output is supplied to the result register 3 as in the case of the channel data. do it.

【0064】また、このようにシーケンサ5中で用いら
れているデータをA/D変換データに付加する場合は、
上述のようにラッチを設けるといった単純な構成の変更
により、機能を追加することができる。
When the data used in the sequencer 5 is added to the A / D conversion data,
A function can be added by a simple configuration change such as providing a latch as described above.

【0065】[0065]

【発明の効果】本発明に係るA/D変換装置では、選択
制御手段が入力切り換え手段を制御して所定数の入力チ
ャネルを順次選択し、A/D変換手段にA/D変換を指
示し、保持部選択手段が選択制御手段により選択した入
力チャネルのA/D変換結果を格納する保持手段を選択
することにより、自動的に各チャネルのA/D変換結果
が所定数の保持手段に格納される。従って、外部の機器
は、読み出し要求手段からの読み出し要求に応じて保持
手段からA/D変換結果を読み出すだけでよく、外部の
機器が入力チャネルの切り換え等を制御する場合に比較
して、外部の機器の処理負荷を低減させることができ
る。
In the A / D conversion device according to the present invention, the selection control means controls the input switching means to sequentially select a predetermined number of input channels, and instructs the A / D conversion means to perform A / D conversion. By selecting the holding unit for storing the A / D conversion result of the input channel selected by the holding unit selection unit by the selection control unit, the A / D conversion result of each channel is automatically stored in a predetermined number of holding units. To be done. Therefore, the external device only needs to read the A / D conversion result from the holding device in response to the read request from the read requesting device, and compared to the case where the external device controls the switching of the input channel, etc. The processing load on the device can be reduced.

【0066】また、選択制御手段を制御して、所定の周
期で各入力チャネルのA/D変換を繰り返し、A/D変
換結果を更新する構成とすれば、自動的にA/D変換結
果が更新されるため、外部の機器の処理負荷をさらに低
減させることができる。
If the selection control means is controlled to repeat the A / D conversion of each input channel at a predetermined cycle and update the A / D conversion result, the A / D conversion result is automatically obtained. Since it is updated, the processing load on the external device can be further reduced.

【0067】また、選択制御手段が所定数の入力チャネ
ルを、各々所定数の保持手段の数以下の入力チャネルか
らなる複数のグループに分割し、各グループ毎に入力チ
ャネルの選択を行い、読み出し要求手段が各グループの
A/D変換結果毎に読み出し要求を行う構成とすれば、
保持手段の数及び外部の機器の処理負荷を増加させずに
入力チャネルを増加させることができる。
Further, the selection control means divides the predetermined number of input channels into a plurality of groups each of which is equal to or less than the predetermined number of holding means, selects an input channel for each group, and requests reading. If the means makes a read request for each A / D conversion result of each group,
It is possible to increase the number of input channels without increasing the number of holding units and the processing load of external devices.

【0068】また、割り当て手段により保持手段のうち
の所定数を特定の入力チャネルに割り当て、残りの保持
手段を他の入力チャネルに割り当て、保持部選択手段
が、特定の入力チャネルのA/D変換結果を所定数の保
持手段に格納し、他の入力チャネルのA/D変換結果を
残りの保持手段に格納することにより、特定のチャネル
とそれ以外のチャネルとで異なる処理を施すことがで
き、A/D変換の自由度を向上させることができる。
The assigning means assigns a predetermined number of the holding means to a specific input channel, the remaining holding means to another input channel, and the holding section selecting means performs A / D conversion of the specific input channel. By storing the results in a predetermined number of holding units and storing the A / D conversion results of other input channels in the remaining holding units, different processing can be performed on a specific channel and other channels, The degree of freedom of A / D conversion can be improved.

【0069】また、各保持手段に保持されているA/D
変換データにA/D変換データに関する付加情報を付加
する付加情報付加手段を備える構成とすれば、外部の装
置は、読み出したA/D変換データの識別を容易に行う
ことができる。
Further, the A / D held by each holding means
If the additional information adding means for adding the additional information regarding the A / D converted data to the converted data is provided, the external device can easily identify the read A / D converted data.

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

【図1】 本発明の一実施形態に係るA/D変換装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an A / D conversion device according to an embodiment of the present invention.

【図2】 従来のA/D変換装置のA/D変換動作を示
すタイミングチャートである。
FIG. 2 is a timing chart showing an A / D conversion operation of a conventional A / D conversion device.

【図3】 上記従来のA/D変換装置において測定する
チャネルをグループ化する場合の各グループに対するチ
ャネルの割り当てを示す図である。
FIG. 3 is a diagram showing allocation of channels to each group when channels to be measured are grouped in the conventional A / D converter.

【図4】 上記従来のA/D変換装置のA/D変換動作
を示すタイミングチャートである。
FIG. 4 is a timing chart showing an A / D conversion operation of the conventional A / D conversion device.

【図5】 上記本発明の実施形態に係るA/D変換装置
の連続スキャンモードでA/D変換を行うときの動作を
示すタイミングチャートである。
FIG. 5 is a timing chart showing an operation when A / D conversion is performed in the continuous scan mode of the A / D conversion device according to the embodiment of the present invention.

【図6】 上記A/D変換装置の特定チャネル指定モー
ドでA/D変換を行うときの動作を示すタイミングチャ
ートである。
FIG. 6 is a timing chart showing an operation when A / D conversion is performed in a specific channel designation mode of the A / D conversion device.

【図7】 上記A/D変換装置の特定チャネル指定モー
ドでA/D変換を行うときの動作を示すタイミングチャ
ートである。
FIG. 7 is a timing chart showing an operation when A / D conversion is performed in the specific channel designation mode of the A / D conversion device.

【図8】 上記A/D変換装置において動作モードを選
択するモード選択部の構成を示す図である。
FIG. 8 is a diagram showing a configuration of a mode selection unit that selects an operation mode in the A / D conversion device.

【図9】 上記A/D変換装置を用いたマイコンの構成
を示すブロック図である。
FIG. 9 is a block diagram showing a configuration of a microcomputer using the A / D conversion device.

【図10】 上記マイコンを構成するCPUのメモリ空
間上に設けられた制御用メモリ領域を示すメモリマップ
である。
FIG. 10 is a memory map showing a control memory area provided in a memory space of a CPU which constitutes the microcomputer.

【図11】 上記A/D変換装置を構成する付加情報付
加部の構成を示すブロック図である。
FIG. 11 is a block diagram showing a configuration of an additional information adding unit which constitutes the A / D conversion device.

【図12】 上記付加情報付加部により付加情報が付加
されたA/D変換データを示す図である。
FIG. 12 is a diagram showing A / D conversion data to which additional information is added by the additional information adding unit.

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

1 アナログマルチプレクサ、2 A/Dコンバータ、
3 A/Dリザルトレジスタ、4 レジスタ、5 シー
ケンサ、8 付加情報付加部
1 analog multiplexer, 2 A / D converter,
3 A / D result register, 4 register, 5 sequencer, 8 additional information adding section

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の入力チャネルを選択する入力切り
換え手段と、 該入力切り換え手段により選択された入力チャネルの入
力信号をA/D変換するA/D変換手段と、 該A/D変換手段のA/D変換結果を保持する上記入力
チャネルの数より少ない複数の保持手段と、 上記入力切り換え手段を制御して所定数の入力チャネル
を順次選択し、上記A/D変換手段にA/D変換を指示
する選択制御手段と、 選択制御手段により選択した入力チャネルのA/D変換
結果を格納する保持手段を選択する保持部選択手段と、 上記複数の保持手段の内の所定数の保持手段にA/D変
換結果が格納されたときに外部の機器に保持手段からの
A/D変換結果の読み出しを要求する読み出し要求手段
とを備えることを特徴とするA/D変換装置。
1. An input switching means for selecting a plurality of input channels, an A / D conversion means for A / D converting an input signal of the input channel selected by the input switching means, and the A / D conversion means. A plurality of holding means, which is smaller than the number of the input channels holding the A / D conversion result, and the input switching means are controlled to sequentially select a predetermined number of input channels, and the A / D conversion means performs A / D conversion. The selection control means for instructing, the holding section selection means for selecting the holding means for storing the A / D conversion result of the input channel selected by the selection control means, and the predetermined number of holding means among the plurality of holding means. An A / D conversion device, comprising: a read request unit that requests an external device to read the A / D conversion result from a holding unit when the A / D conversion result is stored.
【請求項2】 さらに、上記選択制御手段を制御して、
所定の周期で各入力チャネルのA/D変換を繰り返し、
A/D変換結果を更新することを特徴とする請求項1に
記載のA/D変換装置。
2. Further, by controlling the selection control means,
Repeat A / D conversion of each input channel at a predetermined cycle,
The A / D conversion device according to claim 1, wherein the A / D conversion result is updated.
【請求項3】 上記選択制御手段は、上記所定数の入力
チャネルを、各々上記所定数の保持手段の数以下の入力
チャネルからなる複数のグループに分割し、各グループ
毎に入力チャネルの選択を行い、上記読み出し要求手段
は、各グループのA/D変換結果毎に読み出し要求を行
うことを特徴とする請求項1又は請求項2のいずれか1
項に記載のA/D変換装置。
3. The selection control means divides the predetermined number of input channels into a plurality of groups each of which is less than or equal to the predetermined number of holding means, and selects an input channel for each group. The read request means performs a read request for each A / D conversion result of each group.
An A / D converter according to the item.
【請求項4】 さらに、上記保持手段のうちの所定数を
上記複数の入力チャネルの内の特定の入力チャネルに割
り当てる割り当て手段を備え、 上記保持部選択手段は、上記選択制御手段により選択し
た入力チャネルが特定の入力チャネルであるときはA/
D変換結果を上記特定の入力チャネルに割り当てられた
保持手段に格納し、上記選択制御手段により選択した入
力チャネルが特定の入力チャネルでないときはA/D変
換結果を上記特定の入力チャネルに割り当てられた保持
手段以外の保持手段に格納することを特徴とする請求項
1乃至請求項3のいずれか1項に記載のA/D変換装
置。
4. An assigning means for assigning a predetermined number of the holding means to a specific input channel of the plurality of input channels, wherein the holding section selecting means selects the input selected by the selection control means. A / when the channel is a specific input channel
The D conversion result is stored in the holding means assigned to the specific input channel, and when the input channel selected by the selection control means is not the specific input channel, the A / D conversion result is assigned to the specific input channel. The A / D conversion device according to claim 1, wherein the A / D conversion device is stored in a holding unit other than the holding unit.
【請求項5】 さらに、上記各保持手段に保持されてい
るA/D変換データに該A/D変換データに関する付加
情報を付加する付加情報付加手段を備えることを特徴と
する請求項1乃至請求項4に記載のA/D変換装置。
5. The apparatus according to claim 1, further comprising additional information adding means for adding additional information relating to the A / D converted data to the A / D converted data held in each of the holding means. Item 4. The A / D conversion device according to item 4.
JP07874996A 1996-04-01 1996-04-01 A / D converter and microcontroller Expired - Fee Related JP3830199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07874996A JP3830199B2 (en) 1996-04-01 1996-04-01 A / D converter and microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07874996A JP3830199B2 (en) 1996-04-01 1996-04-01 A / D converter and microcontroller

Publications (2)

Publication Number Publication Date
JPH09269870A true JPH09269870A (en) 1997-10-14
JP3830199B2 JP3830199B2 (en) 2006-10-04

Family

ID=13670550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07874996A Expired - Fee Related JP3830199B2 (en) 1996-04-01 1996-04-01 A / D converter and microcontroller

Country Status (1)

Country Link
JP (1) JP3830199B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005278107A (en) * 2004-03-26 2005-10-06 Nec Electronics Corp Ad converter and ad converting method
JP2008301456A (en) * 2007-06-04 2008-12-11 Yamaha Motor Electronics Co Ltd A/d conversion apparatus
US7852246B2 (en) 2006-02-02 2010-12-14 Kabushiki Kaisha Toshiba Analogue/digital converter device
JP2011160199A (en) * 2010-02-01 2011-08-18 Denso Corp A/d conversion processing apparatus
US8046087B2 (en) 2003-11-04 2011-10-25 Hitachi, Ltd. Electronic controller for power converter and motor drive circuit
JP2013118549A (en) * 2011-12-05 2013-06-13 Hioki Ee Corp Signal selector circuit and a/d conversion device
JP2013179568A (en) * 2012-02-08 2013-09-09 Renesas Electronics Corp Semiconductor integrated circuit device and data processing system
JP2017514190A (en) * 2014-03-07 2017-06-01 インテル コーポレイション Physical duplication prevention function circuit using resistance change type memory device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046087B2 (en) 2003-11-04 2011-10-25 Hitachi, Ltd. Electronic controller for power converter and motor drive circuit
US8131388B2 (en) 2003-11-04 2012-03-06 Hitachi, Ltd. Electronic controller for power converter and motor drive circuit
JP2005278107A (en) * 2004-03-26 2005-10-06 Nec Electronics Corp Ad converter and ad converting method
US7852246B2 (en) 2006-02-02 2010-12-14 Kabushiki Kaisha Toshiba Analogue/digital converter device
JP2008301456A (en) * 2007-06-04 2008-12-11 Yamaha Motor Electronics Co Ltd A/d conversion apparatus
JP2011160199A (en) * 2010-02-01 2011-08-18 Denso Corp A/d conversion processing apparatus
JP2013118549A (en) * 2011-12-05 2013-06-13 Hioki Ee Corp Signal selector circuit and a/d conversion device
JP2013179568A (en) * 2012-02-08 2013-09-09 Renesas Electronics Corp Semiconductor integrated circuit device and data processing system
JP2017514190A (en) * 2014-03-07 2017-06-01 インテル コーポレイション Physical duplication prevention function circuit using resistance change type memory device

Also Published As

Publication number Publication date
JP3830199B2 (en) 2006-10-04

Similar Documents

Publication Publication Date Title
US5166685A (en) Automatic selection of external multiplexer channels by an A/D converter integrated circuit
US5168276A (en) Automatic A/D converter operation using a programmable control table
US4236213A (en) Apparatus for producing pulse width modulated signals
KR100222351B1 (en) A/d converting system and method thereof
JP3565613B2 (en) Semiconductor integrated circuit device
JP2005092374A (en) Memory interleave system
KR20040066424A (en) Assigning method of multi sources to multi channel and system thereof
JPH09269870A (en) A/d converter
EP0477534B1 (en) Automatic A/D converter operation with selectable result format
JP2008046771A (en) Direct memory access controller
JPH07105175A (en) Microcomputer
US6701395B1 (en) Analog-to-digital converter that preseeds memory with channel identifier data and makes conversions at fixed rate with direct memory access
JPH1091430A (en) Instruction decoding device
US5687380A (en) Macro service processing of interrupt requests in a processing system where a single interrupt is generated for a plurality of completed transactions
JPH01147618A (en) Analog/digital converter
JPH05314281A (en) Microcomputer with built-in a/d converter
EP0474024B1 (en) Automatic selection of external multiplexer channels by A/D converter integrated circuit
EP0474026B1 (en) Analog-to-digital conversion system using conversion command words
JP4905260B2 (en) A / D converter
JP2797137B2 (en) Processing equipment for electronic musical instruments
JPS63225821A (en) Signal processor
JP2715656B2 (en) Analog-to-digital converter
JPH10173526A (en) Sequentially-comparing-type a/d converting circuit
JPH08316836A (en) Signal processing circuit
JPH01230118A (en) Data processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050301

A521 Written amendment

Effective date: 20050419

Free format text: JAPANESE INTERMEDIATE CODE: A523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A521 Written amendment

Effective date: 20060615

Free format text: JAPANESE INTERMEDIATE CODE: A523

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Effective date: 20060711

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Effective date: 20060711

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 3

Free format text: PAYMENT UNTIL: 20090721

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees