JP2003198369A - A/d converter and signal processing system - Google Patents

A/d converter and signal processing system

Info

Publication number
JP2003198369A
JP2003198369A JP2001395835A JP2001395835A JP2003198369A JP 2003198369 A JP2003198369 A JP 2003198369A JP 2001395835 A JP2001395835 A JP 2001395835A JP 2001395835 A JP2001395835 A JP 2001395835A JP 2003198369 A JP2003198369 A JP 2003198369A
Authority
JP
Japan
Prior art keywords
conversion
count
count value
converter
processing
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
JP2001395835A
Other languages
Japanese (ja)
Other versions
JP3870089B2 (en
Inventor
Taiji Tani
泰司 谷
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2001395835A priority Critical patent/JP3870089B2/en
Publication of JP2003198369A publication Critical patent/JP2003198369A/en
Application granted granted Critical
Publication of JP3870089B2 publication Critical patent/JP3870089B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an A/D converter in which a temporal margin can be provided between A/D conversions without increasing the burden on a CPU or occupying a bus. <P>SOLUTION: The A/D converter 32 comprises an A/D converter 34 performing A/D conversion, a timer 35 performing count operation and outputting a count end signal when a specified count is reached, and an A/D conversion control circuit 33 receiving the count end signal from the timer 35 and delivering an A/D conversion start command to the A/D converter 34. The A/D converter 32 has a function for making a decision whether A/D conversions to be performed are left or not upon ending A/D conversion by the A/D converter 34 and restarting count operation of the timer 35 if A/D conversions to be performed are left. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はA/D変換装置、及
び信号処理システムに関し、より詳細には、A/D変換
処理とA/D変換処理との間に時間的余裕を持たすこと
のできるA/D変換装置、及び信号処理システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an A / D conversion device and a signal processing system, and more particularly, it is possible to provide a time margin between A / D conversion processing and A / D conversion processing. The present invention relates to an A / D conversion device and a signal processing system.

【0002】[0002]

【従来の技術】A/D変換には一般的に、同一チャンネ
ルのアナログ信号を繰り返しディジタル信号に変換する
リピート変換や、異なったチャンネルのアナログ信号を
1チャンネル毎にディジタル信号に変換していくスキャ
ン変換や、一つのチャンネルのアナログ信号を1回だけ
ディジタル信号に変換するシングル変換と呼ばれるもの
がある。
2. Description of the Related Art Generally, A / D conversion includes repeat conversion in which analog signals of the same channel are repeatedly converted into digital signals, and scanning in which analog signals of different channels are converted into digital signals for each channel. There is one called conversion or single conversion in which an analog signal of one channel is converted into a digital signal only once.

【0003】図6は、従来のA/D変換方式(リピート
変換)を採用した信号処理システムの要部を概略的に示
したブロック図である。前記信号処理システムはCPU
1と、A/D変換制御回路3及びA/D変換器4を備え
たA/D変換装置2とを含んで構成されている。また、
A/D変換制御回路3には、A/D変換器4で変換され
たディジタル信号を一時的に蓄積するための蓄積部3a
が装備されている。
FIG. 6 is a block diagram schematically showing a main part of a signal processing system adopting a conventional A / D conversion method (repeat conversion). The signal processing system is a CPU
1 and an A / D conversion device 2 including an A / D conversion control circuit 3 and an A / D converter 4. Also,
The A / D conversion control circuit 3 includes a storage unit 3a for temporarily storing the digital signal converted by the A / D converter 4.
Is equipped with.

【0004】CPU1はA/D変換制御回路3へA/D
変換回数を指定したり、A/D変換制御回路3に対して
A/D変換制御の開始を指示するものである。また、A
/D変換制御回路3はCPU1からの前記指示を受ける
と、A/D変換器4に対してA/D変換起動の開始を指
示するものである。また、A/D変換器4はA/D変換
制御回路3からの前記指示を受けると、入力されるアナ
ログ信号をディジタル信号に変換し、変換結果をA/D
変換制御回路3へ出力するものである。
CPU 1 sends A / D conversion control circuit 3 A / D
The number of conversions is designated and the A / D conversion control circuit 3 is instructed to start A / D conversion control. Also, A
Upon receiving the instruction from the CPU 1, the / D conversion control circuit 3 instructs the A / D converter 4 to start A / D conversion activation. When the A / D converter 4 receives the instruction from the A / D conversion control circuit 3, the input analog signal is converted into a digital signal and the conversion result is converted into an A / D signal.
It is output to the conversion control circuit 3.

【0005】次に、前記信号処理システムにおけるA/
D変換処理の動作手順を図7に示したタイミングチャー
トに基づいて説明する。まず始めに、CPU1がA/D
変換制御回路3へA/D変換回数(na 回)を指定し
(a−)、続いて、A/D変換制御の開始を指示する
(a−)。
Next, A / in the signal processing system
The operation procedure of the D conversion process will be described based on the timing chart shown in FIG. First of all, CPU1 is A / D
To conversion control circuit 3 to specify the A / D conversion times (n a times) (a-), followed by an instruction to start A / D conversion control (a-).

【0006】A/D変換制御回路3がCPU1からの前
記指示を受けると、A/D変換器4へA/D変換起動の
開始を指示し(a−)、A/D変換器4が前記指示を
受けると、入力されるアナログ信号をディジタル信号に
変換し、変換結果をA/D変換制御回路3へ出力する
(a−)。
When the A / D conversion control circuit 3 receives the instruction from the CPU 1, the A / D converter 4 is instructed to start the A / D conversion activation (a-), and the A / D converter 4 receives the instruction. When receiving the instruction, the input analog signal is converted into a digital signal, and the conversion result is output to the A / D conversion control circuit 3 (a-).

【0007】A/D変換制御回路3がA/D変換器4か
ら出力された変換結果を取得すると、取得した変換結果
を蓄積部3aへ格納する共に、A/D変換器4からna
回分の変換結果を取得したか否かを判断し、na 回分の
変換結果を取得したと判断すれば、CPU1に対してA
/D変換終了の通知(割り込み)を行う(a−)。他
方、na 回分の変換結果を取得していないと判断すれ
ば、再度、A/D変換器4へA/D変換起動の開始を指
示する(a−)。CPU1はA/D変換制御回路3か
らのA/D変換終了の通知を受けると、その後、A/D
変換制御回路3の蓄積部3aに蓄積されている変換結果
を読み出し、読み出した変換結果を用いて所定の処理を
行う。
[0007] A / D conversion control circuit 3 obtains a conversion result output from the A / D converter 4, together hold the result obtained to the storage unit 3a, n from the A / D converter 4 a
If it is determined whether or not the conversion results for the batch have been acquired, and if it is determined that the conversion results for the n a cycles have been acquired, A is sent to the CPU 1.
/ D conversion end notification (interruption) is performed (a-). On the other hand, if it is determined that the conversion results for n a times have not been acquired, the A / D converter 4 is again instructed to start A / D conversion activation (a−). When the CPU 1 receives the A / D conversion end notification from the A / D conversion control circuit 3, the A / D conversion
The conversion result stored in the storage unit 3a of the conversion control circuit 3 is read, and a predetermined process is performed using the read conversion result.

【0008】図8は、従来のA/D変換方式(スキャン
変換)を採用した信号処理システムの要部を概略的に示
したブロック図である。前記信号処理システムはCPU
11と、A/D変換制御回路13、A/D変換器14、
及び異なったチャンネルのアナログ信号s1 〜sm が入
力されるアナログ入力選択回路15を備えたA/D変換
装置12とを含んで構成されている。また、A/D変換
制御回路13には、A/D変換器14で変換されたディ
ジタル信号を一時的に蓄積するための蓄積部13aが装
備されている。
FIG. 8 is a block diagram schematically showing a main part of a signal processing system adopting a conventional A / D conversion method (scan conversion). The signal processing system is a CPU
11, an A / D conversion control circuit 13, an A / D converter 14,
And different analog signals s 1 ~s m channels are configured to include an A / D converter 12 having an analog input selection circuit 15 to be input was. Further, the A / D conversion control circuit 13 is equipped with a storage unit 13a for temporarily storing the digital signal converted by the A / D converter 14.

【0009】また、アナログ入力選択回路15に入力さ
れる、異なったチャンネルのアナログ信号s1 〜sm
は、アナログ入力選択回路15によって、いずれかの信
号が選択され、選択されたアナログ信号がA/D変換器
14に与えられるようになっている。例えば、異なった
チャンネルのアナログ信号s1 〜sm が、アナログ信号
1 からアナログ信号sm まで1チャンネル毎にA/D
変換器14へ与えられていくと、A/D変換器14でア
ナログ信号s1 〜sm が連続的にディジタル信号に変換
されていくこととなる。
[0009] is input to the analog input selection circuit 15, the analog signals of different channels s 1 ~s m
Any of the signals is selected by the analog input selection circuit 15, and the selected analog signal is given to the A / D converter 14. For example, the analog signal s 1 ~s m different channel, A / D for each channel from the analog signal s 1 to the analog signal s m
As you given to the converter 14, so that the analog signal s 1 ~s m by the A / D converter 14 is gradually converted into continuous digital signal.

【0010】CPU11はA/D変換制御回路13へA
/D変換回数、及びチャンネルを指定したり、A/D変
換制御回路13に対してA/D変換制御の開始を指示す
るものである。また、A/D変換制御回路13はCPU
11からの前記指示を受けると、A/D変換器14に対
してA/D変換起動の開始を指示するものである。ま
た、A/D変換器14はA/D変換制御回路13からの
前記指示を受けると、入力されるアナログ信号をディジ
タル信号に変換し、変換結果をA/D変換制御回路13
へ出力するものである。
CPU 11 sends A / D conversion control circuit 13 A
The number of A / D conversions and the channel are designated, and the A / D conversion control circuit 13 is instructed to start A / D conversion control. Further, the A / D conversion control circuit 13 is a CPU
When receiving the instruction from 11, the A / D converter 14 is instructed to start the A / D conversion activation. When the A / D converter 14 receives the instruction from the A / D conversion control circuit 13, it converts the input analog signal into a digital signal, and the conversion result is converted into the A / D conversion control circuit 13.
Is output to.

【0011】次に、前記信号処理システムにおけるA/
D変換処理の動作手順を図9に示したタイミングチャー
トに基づいて説明する。まず始めに、CPU11がA/
D変換制御回路13へA/D変換回数(nb 回)、及び
チャンネルiを指定し(b−)、続いて、A/D変換
制御の開始を指示する(b−)。
Next, A / in the signal processing system
The operation procedure of the D conversion process will be described based on the timing chart shown in FIG. First of all, the CPU 11
The A / D conversion number (n b times) and the channel i are designated to the D conversion control circuit 13 (b−), and then the start of A / D conversion control is instructed (b−).

【0012】A/D変換制御回路13がCPU11から
の前記指示を受けると、アナログ入力選択回路15に対
し、アナログ信号si をA/D変換器14へ出力するよ
うに指示すると共に(b−)、A/D変換器14へA
/D変換起動の開始を指示し(b−)、A/D変換器
14が前記指示を受けると、入力されるアナログ信号を
ディジタル信号に変換し、変換結果をA/D変換制御回
路13へ出力する(b−)。
When the A / D conversion control circuit 13 receives the instruction from the CPU 11, it instructs the analog input selection circuit 15 to output the analog signal s i to the A / D converter 14, and (b- ), A to the A / D converter 14
When an instruction to start A / D conversion is given (b-), and the A / D converter 14 receives the instruction, the input analog signal is converted into a digital signal, and the conversion result is sent to the A / D conversion control circuit 13. Output (b-).

【0013】A/D変換制御回路13がA/D変換器1
4から出力された変換結果を取得すると、取得した変換
結果を蓄積部13aへ格納する共に、A/D変換器14
からnb 回分の変換結果を取得したか否かを判断し、n
b 回分の変換結果を取得したと判断すれば、CPU11
に対してA/D変換終了の通知(割り込み)を行う(b
−)。他方、nb 回分の変換結果を取得していないと
判断すれば、再度、アナログ入力選択回路15に対し、
アナログ信号si (i←i+1)をA/D変換器14へ
出力するように指示すると共に(b−)、A/D変換
器14へA/D変換起動の開始を指示する(b−)。
但し、上記演算の結果、iがmより大きくなった場合に
はiを1にする。CPU11はA/D変換制御回路13
からのA/D変換終了の通知を受けると、その後、A/
D変換制御回路13の蓄積部13aに蓄積されている変
換結果を読み出し、読み出した変換結果を用いて所定の
処理を行う。
The A / D conversion control circuit 13 includes an A / D converter 1
When the conversion result output from 4 is acquired, the acquired conversion result is stored in the storage unit 13a and the A / D converter 14
From n b conversion results are acquired,
If it is determined that the b conversion results have been acquired, the CPU 11
To the A / D conversion end notification (interruption) (b)
-). On the other hand, if it is determined that the conversion result for n b times has not been acquired, the analog input selection circuit 15
The analog signal s i (i ← i + 1) is instructed to be output to the A / D converter 14 (b−), and the A / D converter 14 is instructed to start the A / D conversion activation (b−). .
However, when i becomes larger than m as a result of the above calculation, i is set to 1. The CPU 11 is an A / D conversion control circuit 13
When A / D conversion end notification is received from
The conversion result stored in the storage unit 13a of the D conversion control circuit 13 is read, and a predetermined process is performed using the read conversion result.

【0014】上記したように、図6に示した信号処理シ
ステムによれば、同一チャンネルのアナログ信号を繰り
返しディジタル信号に変換することができ(リピート変
換)、また、図8に示した信号処理システムによれば、
異なったチャンネルのアナログ信号を1チャンネル毎に
ディジタル信号に変換していくことができる(スキャン
変換)。
As described above, according to the signal processing system shown in FIG. 6, the analog signal of the same channel can be repeatedly converted into a digital signal (repeat conversion), and the signal processing system shown in FIG. According to
It is possible to convert analog signals of different channels into digital signals for each channel (scan conversion).

【0015】しかしながら、図6、図8に示したいずれ
の信号処理システムにおいても、図7、図9に示したタ
イミングチャートから明らかなように、A/D変換処理
とA/D変換処理との間に時間的余裕がほとんどないた
め(a−、b−)、A/D変換処理が短い時間で連
続して行われることとなり、所望するA/D変換処理の
結果を取得することができないという問題があった。と
いうのは、例えば、A/D変換処理をある程度の長い時
間内で複数回行わせて、それらの平均値を取得したい場
合などがあるからである。
However, in any of the signal processing systems shown in FIGS. 6 and 8, as apparent from the timing charts shown in FIGS. 7 and 9, the A / D conversion processing and the A / D conversion processing are performed. Since there is almost no time margin between them (a-, b-), the A / D conversion processing is continuously performed in a short time, and the desired result of the A / D conversion processing cannot be obtained. There was a problem. This is because, for example, there is a case where it is desired to perform the A / D conversion processing a plurality of times within a certain long time and acquire the average value thereof.

【0016】[0016]

【発明が解決しようとする課題】上記したような問題を
解決する方法としては、タイマを監視しながらシングル
変換起動をかける方法がある。図10に、シングル変換
を実現するための信号処理システムを示す。
As a method for solving the above problems, there is a method of activating single conversion while monitoring a timer. FIG. 10 shows a signal processing system for realizing the single conversion.

【0017】図10に示した信号処理システムはCPU
21と、A/D変換制御回路23及びA/D変換器24
を備えたA/D変換装置22と、タイマ25とを含んで
構成され、CPU21と、A/D変換制御回路23と、
タイマ25とはバス26を介して接続されている。ま
た、A/D変換制御回路23には、A/D変換器24で
変換されたディジタル信号を一時的に蓄積するための蓄
積部23aが装備されている。
The signal processing system shown in FIG. 10 is a CPU
21, A / D conversion control circuit 23 and A / D converter 24
And an A / D conversion device 22 including a CPU, a timer 25, a CPU 21, an A / D conversion control circuit 23,
The timer 25 is connected via a bus 26. Further, the A / D conversion control circuit 23 is equipped with a storage unit 23a for temporarily storing the digital signal converted by the A / D converter 24.

【0018】CPU21はタイマ25を監視しながら一
定周期TでA/D変換制御回路23に対してA/D変換
制御の開始を指示するものであり、また、A/D変換制
御回路23はCPU21からの前記指示を受けると、A
/D変換器24に対してA/D変換起動の開始を指示す
るものである。A/D変換器24はA/D変換制御回路
23からの前記指示を受けると、入力されるアナログ信
号をディジタル信号に変換し、変換結果をA/D変換制
御回路23へ出力するものである。
The CPU 21 instructs the A / D conversion control circuit 23 to start the A / D conversion control at a constant cycle T while monitoring the timer 25, and the A / D conversion control circuit 23 has the CPU 21. Upon receiving the instructions from
The A / D converter 24 is instructed to start A / D conversion activation. Upon receiving the instruction from the A / D conversion control circuit 23, the A / D converter 24 converts the input analog signal into a digital signal and outputs the conversion result to the A / D conversion control circuit 23. .

【0019】次に、前記信号処理システムにおけるA/
D変換処理の動作手順を図11に示したタイミングチャ
ートに基づいて説明する。まず始めに、CPU21がA
/D変換制御回路23へA/D変換制御の開始を指示す
る(c−)。
Next, A / in the signal processing system
The operation procedure of the D conversion process will be described based on the timing chart shown in FIG. First of all, CPU21
The A / D conversion control circuit 23 is instructed to start A / D conversion control (c-).

【0020】A/D変換制御回路23がCPU21から
の前記指示を受けると、A/D変換器24へA/D変換
起動の開始を指示し(c−)、A/D変換器24が前
記指示を受けると、入力されるアナログ信号をディジタ
ル信号に変換し、変換結果をA/D変換制御回路23へ
出力する(c−)。
When the A / D conversion control circuit 23 receives the instruction from the CPU 21, the A / D converter 24 is instructed to start A / D conversion activation (c-), and the A / D converter 24 outputs the instruction. When receiving the instruction, the input analog signal is converted into a digital signal, and the conversion result is output to the A / D conversion control circuit 23 (c-).

【0021】A/D変換制御回路23がA/D変換器2
4から出力された変換結果を取得すると、取得した変換
結果を蓄積部23aへ格納すると共に、CPU21に対
してA/D変換終了の通知(割り込み)を行う(c−
)。CPU21はA/D変換制御回路23からのA/
D変換終了の通知を受けると、その後、A/D変換制御
回路23の蓄積部23aに蓄積されている変換結果を読
み出し、読み出した変換結果を用いて所定の処理を行
う。
The A / D conversion control circuit 23 uses the A / D converter 2
When the conversion result output from No. 4 is acquired, the acquired conversion result is stored in the storage unit 23a, and the CPU 21 is notified (interrupted) of A / D conversion end (c-
). The CPU 21 uses the A / D conversion control circuit 23
Upon receiving the notification of the D conversion end, the conversion result stored in the storage unit 23a of the A / D conversion control circuit 23 is read out and a predetermined process is performed using the read conversion result.

【0022】このように、図10に示した信号処理シス
テムによれば、CPU21がタイマ25を監視しながら
一定周期TでA/D変換制御回路23に対してA/D変
換制御開始の指示を与えるため、一つのチャンネルのア
ナログ信号を一定周期Tでディジタル信号に変換するこ
とができる。よって、A/D変換処理とA/D変換処理
との間に時間的余裕を持たせることができる。
As described above, according to the signal processing system shown in FIG. 10, the CPU 21 instructs the A / D conversion control circuit 23 to start the A / D conversion control at a constant period T while monitoring the timer 25. Therefore, the analog signal of one channel can be converted into a digital signal at a constant period T. Therefore, a time margin can be provided between the A / D conversion processing and the A / D conversion processing.

【0023】しかしながら、前記信号処理システムは、
CPU21がタイマ25を監視しながら、一定周期T毎
にいちいちA/D変換制御開始の指示を与える必要があ
り、CPU21の負担が大きくなるといった問題や、バ
ス26がA/D変換処理のために占有されてしまうとい
った問題がある。
However, the signal processing system is
It is necessary for the CPU 21 to give an instruction to start A / D conversion control every fixed period T while monitoring the timer 25, which causes a problem that the load on the CPU 21 becomes large and the bus 26 is used for A / D conversion processing. There is a problem of being occupied.

【0024】このような問題を解決する方法として、図
12に示したように、DMAコントローラ27を設け
て、DMAコントローラ27にA/D変換制御回路23
に対するA/D変換制御開始の指示を行わせるようにす
る方法が挙げられるが、バス26を占有するといった問
題については依然解決されずに残る。
As a method for solving such a problem, as shown in FIG. 12, a DMA controller 27 is provided and the DMA controller 27 is provided with the A / D conversion control circuit 23.
There is a method of instructing to start A / D conversion control with respect to, but the problem of occupying the bus 26 remains unsolved.

【0025】本発明は上記課題に鑑みなされたものであ
って、CPUの負担が大きくならずに、またバスを占有
することもなく、A/D変換処理とA/D変換処理との
間に時間的余裕を持たせることのできるA/D変換装
置、及び信号処理システムを提供することを目的として
いる。
The present invention has been made in view of the above problems, and does not increase the load on the CPU or occupy the bus, and the A / D conversion processing can be performed between the A / D conversion processing. It is an object of the present invention to provide an A / D conversion device and a signal processing system that can have a time margin.

【0026】[0026]

【課題を解決するための手段及びその効果】上記目的を
達成するために本発明に係るA/D変換装置(1)は、
アナログ信号をディジタル信号に変換するA/D変換処
理を行うA/D変換手段と、カウント動作を行い、所定
のカウント値までのカウントが終了すると、カウント終
了を示すカウント終了信号を出力するタイマ手段と、該
タイマ手段からの前記カウント終了信号を受けて、前記
A/D変換手段に対し、A/D変換開始の指示を与える
A/D変換制御手段とを備えたA/D変換装置であっ
て、前記A/D変換手段によるA/D変換処理が終了す
ると、所定の回数、A/D変換処理が行われたか否かを
判断する判断手段と、該判断手段による、前記所定の回
数、A/D変換処理が行われていないとの判断を受け
て、前記タイマ手段に対し、カウント動作を再起動させ
る再起動手段とを備えると共に、前記タイマ手段が、前
記再起動手段からの指示を受けて、カウント動作を再開
するものであることを特徴としている。
Means for Solving the Problems and Effects Thereof In order to achieve the above object, an A / D conversion device (1) according to the present invention comprises:
A / D conversion means for performing an A / D conversion process for converting an analog signal into a digital signal, and a timer means for performing a count operation and outputting a count end signal indicating the end of the count when the count up to a predetermined count value is completed And an A / D conversion control unit that receives the count end signal from the timer unit and gives an instruction to start A / D conversion to the A / D conversion unit. Then, when the A / D conversion processing by the A / D conversion means is completed, a judgment means for judging whether or not the A / D conversion processing has been performed a predetermined number of times, and the predetermined number of times by the judgment means, Receiving the judgment that the A / D conversion processing is not performed, the timer means is provided with a restart means for restarting the counting operation, and the timer means is provided with a command from the restart means. Receiving, and characterized in that to resume the counting operation.

【0027】上記A/D変換装置(1)によれば、前記
タイマ手段により、前記所定のカウント値までのカウン
トが行われ、前記カウント終了信号が出力されると、前
記A/D変換制御手段により、前記A/D変換手段に対
し、A/D変換開始の指示が与えられ、前記A/D変換
手段により、A/D変換処理が行われる。すなわち、前
記タイマ手段のカウント動作を開始させることによっ
て、A/D変換処理を行わせることができる。
According to the A / D converter (1), when the timer means counts up to the predetermined count value and the count end signal is output, the A / D conversion control means. Thus, an instruction to start A / D conversion is given to the A / D conversion unit, and the A / D conversion process is performed by the A / D conversion unit. That is, the A / D conversion process can be performed by starting the counting operation of the timer means.

【0028】従って、例えば、外部(CPUなど)から
前記タイマ手段に対し、カウント動作開始の指示を与
え、前記タイマ手段のカウント動作を開始させるだけ
で、その後は、外部とは独立した動作にて、1回目のA
/D変換処理を行わせることができる。
Therefore, for example, an instruction to start the counting operation is given to the timer means from the outside (CPU or the like), and the counting operation of the timer means is started. After that, the operation is independent from the outside. 1st A
/ D conversion processing can be performed.

【0029】また、1回目のA/D変換処理が終了する
と、前記所定の回数、A/D変換処理が行われたか否か
が判断され、前記所定の回数、A/D変換処理が行われ
ていない(すなわち、前記所定の回数が2回以上に設定
されており、A/D変換処理すべき回数が残っている)
と判断されると、前記タイマ手段に対し、カウント動作
の再起動が掛けられ、前記タイマ手段のカウント動作が
再開されるように構成されている。
When the first A / D conversion process is completed, it is determined whether or not the A / D conversion process has been performed the predetermined number of times, and the A / D conversion process is performed the predetermined number of times. Not (that is, the predetermined number is set to 2 or more, and the number of times the A / D conversion process should be performed remains)
If it is determined that the timer means is restarted, the counting operation of the timer means is restarted.

【0030】そのため、前記タイマ手段により、再び、
前記所定のカウント値までのカウントが行われ、前記カ
ウント終了信号が出力されると、前記A/D変換制御手
段により、前記A/D変換手段に対し、A/D変換開始
の指示が与えられ、前記A/D変換手段により、A/D
変換処理が行われる。すなわち、前記所定の回数が2回
以上に設定されている場合、1回目のA/D変換処理が
終了から所定の時間(少なくとも、前記所定のカウント
値までのカウントに要する時間)を経て、2回目のA/
D変換処理が行われる。
Therefore, by the timer means,
When counting is performed up to the predetermined count value and the count end signal is output, the A / D conversion control unit gives an instruction to start A / D conversion to the A / D conversion unit. , A / D by the A / D conversion means
Conversion processing is performed. That is, when the predetermined number of times is set to be two or more, after the first A / D conversion process is completed, a predetermined time (at least a time required for counting up to the predetermined count value) is exceeded, and A / th
D conversion processing is performed.

【0031】従って、1回目のA/D変換処理と2回目
のA/D変換処理との間に時間的余裕(少なくとも、前
記所定のカウント値までのカウントに要する時間)を持
たせて、2回目のA/D変換処理を行わせることができ
る。また、上記した一連の動作は、外部(例えば、CP
U)とは独立した動作にて、A/D変換処理が前記所定
の回数行われるまで、繰り返し行われるため、CPUの
負担を小さく抑えることができ、また各種ハードウェア
を繋ぐバスを占有することなく、A/D変換処理とA/
D変換処理との間に時間的余裕を持たせて、A/D変換
処理を前記所定の回数行わせることができる。
Therefore, a time margin (at least the time required to count up to the predetermined count value) is provided between the first A / D conversion process and the second A / D conversion process, and A second A / D conversion process can be performed. In addition, the series of operations described above is performed by an external (for example,
Since the A / D conversion process is repeated until it is performed a predetermined number of times in an operation independent of U), the load on the CPU can be kept small and the bus connecting various hardware can be occupied. Without A / D conversion processing and A / D
The A / D conversion process can be performed a predetermined number of times with a time margin between the A / D conversion process and the D conversion process.

【0032】また、本発明に係るA/D変換装置(2)
は、上記A/D変換装置(1)において、カウントすべ
きカウント値を記憶する第1のカウント値記憶手段を備
えると共に、外部から入力されたカウント値が、前記第
1のカウント値記憶手段に書き込まれるように構成さ
れ、前記タイマ手段が、前記第1のカウント値記憶手段
に記憶されているカウント値までのカウントが終了する
と、前記カウント終了信号を出力するものであることを
特徴としている。
Further, the A / D conversion device (2) according to the present invention
In the A / D conversion device (1), a first count value storage means for storing a count value to be counted is provided, and a count value input from the outside is stored in the first count value storage means. It is configured to be written, and the timer means outputs the count end signal when the count up to the count value stored in the first count value storage means is completed.

【0033】上記A/D変換装置(2)によれば、前記
タイマ手段により、前記第1のカウント値記憶手段に記
憶されているカウント値までのカウントが行われると、
前記カウント終了信号が出力されるように構成されてい
る。また、上記A/D変換装置(2)は、上記A/D変
換装置(1)を引用したものであるので、前記カウント
終了信号が出力されると、前記A/D変換手段により、
A/D変換処理が行われるように構成されている。
According to the above A / D converter (2), when the timer means counts up to the count value stored in the first count value storage means,
The count end signal is output. Further, since the A / D conversion device (2) is a reference of the A / D conversion device (1), when the count end signal is output, the A / D conversion means
A / D conversion processing is performed.

【0034】すなわち、前記タイマ手段により、前記第
1のカウント値記憶手段に記憶されているカウント値ま
でのカウントが行われると、前記A/D変換手段によ
り、A/D変換処理が行われることとなる。換言すれ
ば、前記第1のカウント値記憶手段に記憶されているカ
ウント値までのカウントが行われない限り、次のA/D
変換処理が行われないこととなる。
That is, when the timer means counts up to the count value stored in the first count value storage means, the A / D conversion means performs A / D conversion processing. Becomes In other words, unless the count value stored in the first count value storage means is counted, the next A / D
The conversion process will not be performed.

【0035】従って、A/D変換処理とA/D変換処理
との間に、少なくとも前記第1のカウント値記憶手段に
記憶されているカウント値までのカウントに要する時間
を設けることができる。
Therefore, it is possible to provide a time required to count at least the count value stored in the first count value storage means between the A / D conversion processing and the A / D conversion processing.

【0036】さらに、上記A/D変換装置(2)によれ
ば、外部(例えば、CPU)から入力されたカウント値
が、前記第1のカウント値記憶手段に書き込まれるよう
に構成されているので、A/D変換処理とA/D変換処
理との間の長さを外部から自由に設定することができ
る。
Further, according to the A / D converter (2), the count value input from the outside (eg, CPU) is written in the first count value storage means. , The length between the A / D conversion processing and the A / D conversion processing can be freely set from the outside.

【0037】また、本発明に係るA/D変換装置(3)
は、上記A/D変換装置(2)において、外部から入力
されたカウント値を記憶する第2のカウント値記憶手段
を備えると共に、所定の条件が満たされると、前記第2
のカウント値記憶手段に記憶されているカウント値が、
前記第1のカウント値記憶手段に書き込まれるように構
成されていることを特徴としている。
Further, the A / D converter according to the present invention (3)
The A / D converter (2) includes second count value storage means for storing a count value input from the outside, and the second count value storage means stores a second count value when the predetermined condition is satisfied.
The count value stored in the count value storage means of
It is characterized in that it is configured to be written in the first count value storage means.

【0038】上記A/D変換装置(3)によれば、前記
所定の条件が満たされると、前記第2のカウント値記憶
手段に記憶されているカウント値が、前記第1のカウン
ト値記憶手段に書き込まれるように構成されているの
で、前記第1のカウント値記憶手段に記憶されているカ
ウント値とは異なるカウント値を、前記第2のカウント
値記憶手段に記憶させておき、前記所定の条件を満たす
ことによって、A/D変換処理とA/D変換処理との間
の長さを変更することができる。
According to the A / D conversion device (3), when the predetermined condition is satisfied, the count value stored in the second count value storage means becomes the first count value storage means. Since it is configured to be written into the second count value storage means, a count value different from the count value stored in the first count value storage means is stored in the second count value storage means. By satisfying the condition, the length between the A / D conversion processing and the A / D conversion processing can be changed.

【0039】さらに、上記A/D変換装置(3)によれ
ば、外部(例えば、CPU)から入力されたカウント値
が、前記第2のカウント値記憶手段に書き込まれるよう
に構成されているので、A/D変換処理とA/D変換処
理との間の長さの変更を外部から自由に行うことができ
る。
Further, according to the A / D converter (3), the count value input from the outside (for example, CPU) is written in the second count value storage means. , The length between the A / D conversion processing and the A / D conversion processing can be freely changed from the outside.

【0040】また、本発明に係るA/D変換装置(4)
は、上記A/D変換装置(3)において、前記所定の条
件に、前記タイマ手段に対するカウント動作開始の指示
が行われることが含まれていることを特徴としている。
Further, the A / D conversion device (4) according to the present invention
In the A / D converter (3), the predetermined condition includes an instruction to start the counting operation to the timer means.

【0041】上記A/D変換装置(4)によれば、前記
タイマ手段に対するカウント動作開始の指示が行われる
ことを条件に含んだ、前記所定の条件が満たされると、
前記第2のカウント値記憶手段に記憶されているカウン
ト値が、前記第1のカウント値記憶手段に書き込まれる
ように構成されている。また、上記A/D変換装置
(4)は、上記A/D変換装置(1)を引用したもので
あるので、A/D変換処理の終了後、A/D変換処理す
べき回数が残っている場合には、前記タイマ手段に対
し、カウント動作再開の指示が行われる。
According to the A / D converter (4), when the predetermined condition including the condition that the timer means is instructed to start the counting operation is satisfied,
The count value stored in the second count value storage means is configured to be written in the first count value storage means. Further, since the A / D conversion device (4) is a reference of the A / D conversion device (1), the number of times that the A / D conversion process should be performed remains after the A / D conversion process is completed. If so, the timer unit is instructed to restart the counting operation.

【0042】そのため、例えば、前記所定の条件を、前
記タイマ手段に対するカウント動作開始の指示が行われ
ることとすれば、A/D変換処理の終了後に、A/D変
換処理すべき回数が残っている場合には、前記タイマ手
段に対し、カウント動作再開の指示が行われ、前記第2
のカウント値記憶手段に記憶されているカウント値が、
前記第1のカウント値記憶手段に書き込まれることとな
る。
Therefore, if, for example, the predetermined condition is that the timer means is instructed to start the counting operation, the number of times of A / D conversion processing remains after the end of A / D conversion processing. If so, the timer means is instructed to restart the counting operation, and the second
The count value stored in the count value storage means of
It is written in the first count value storage means.

【0043】従って、後述する図4に示したように、例
えば、2回目のA/D変換処理と3回目のA/D変換処
理との間の長さを変更させたい場合には、2回目のタイ
マ起動が開始してから、3回目のタイマ起動が開始する
までの間に、外部から新たなカウント値を入力させて、
そのカウント値を前記第2のカウント値記憶手段に書き
込んでおけば良いこととなる。
Therefore, as shown in FIG. 4 described later, for example, when it is desired to change the length between the second A / D conversion processing and the third A / D conversion processing, From the start of the timer start of to the start of the third timer start, input a new count value from the outside,
The count value may be written in the second count value storage means.

【0044】また、本発明に係るA/D変換装置(5)
は、上記A/D変換装置(1)〜(4)のいずれかにお
いて、前記A/D変換手段で行われるべきA/D変換処
理の回数を記憶する回数記憶手段を備えると共に、外部
から入力された回数が、前記回数記憶手段に書き込まれ
るように構成され、前記所定の回数が、前記回数記憶手
段に記憶されている回数であることを特徴としている。
Further, the A / D converter according to the present invention (5)
In any one of the A / D converters (1) to (4), the A / D converter includes a number storage unit for storing the number of A / D conversion processes to be performed by the A / D conversion unit, and an external input. The number of times performed is configured to be written in the number of times storing means, and the predetermined number of times is the number of times stored in the number of times storing means.

【0045】上記A/D変換装置(5)によれば、前記
所定の回数(すなわち、A/D変換処理すべき回数)
が、前記回数記憶手段に記憶されている回数であり、ま
た、外部(例えば、CPU)から入力された回数が、前
記回数記憶手段に書き込まれるように構成されているの
で、A/D変換処理を行う回数を外部から自由に設定す
ることができる。
According to the A / D conversion device (5), the predetermined number of times (that is, the number of times that the A / D conversion process should be performed).
Is the number of times stored in the number-of-times storage means, and the number of times input from the outside (for example, CPU) is written in the number-of-times storage means. The number of times to perform can be freely set from the outside.

【0046】また、本発明に係るA/D変換装置(6)
は、上記A/D変換装置(1)〜(5)のいずれかにお
いて、前記A/D変換手段による変換結果に基づいて、
所定の演算処理を行う演算手段を備えていることを特徴
としている。また、本発明に係るA/D変換装置(7)
は、上記A/D変換装置(6)において、前記演算手段
が、複数の変換結果の和、複数の変換結果の平均値、複
数の変換結果のうちの最大値、複数の変換結果のうちの
最小値、及び複数の変換結果のうちの最大値と最小値と
の差のいずれかを求めるものであることを特徴としてい
る。
Further, the A / D converter according to the present invention (6)
Is based on the conversion result by the A / D conversion means in any of the A / D conversion devices (1) to (5),
It is characterized in that it is provided with an arithmetic means for performing a predetermined arithmetic processing. Further, the A / D conversion device (7) according to the present invention
In the A / D conversion device (6), the computing means is configured to calculate the sum of a plurality of conversion results, the average value of the plurality of conversion results, the maximum value of the plurality of conversion results, and the plurality of conversion results. It is characterized in that either the minimum value or the difference between the maximum value and the minimum value of the plurality of conversion results is obtained.

【0047】上記A/D変換装置(6)又は(7)によ
れば、前記演算手段を備えているので、前記A/D変換
手段による変換結果に基づく演算処理を、外部(例え
ば、CPU)で行わなくても良いようにすることができ
るので、CPUの負担を小さく抑えることができる。な
お、前記演算手段により求められるものとしては、例え
ば、複数の変換結果の和、複数の変換結果の平均値、複
数の変換結果のうちの最大値、複数の変換結果のうちの
最小値、及び複数の変換結果のうちの最大値と最小値と
の差などが挙げられる。
According to the A / D conversion device (6) or (7), since the arithmetic means is provided, the arithmetic processing based on the conversion result by the A / D conversion means is external (for example, CPU). Since it is not necessary to do so, it is possible to reduce the load on the CPU. It should be noted that, for example, the sum of the plurality of conversion results, the average value of the plurality of conversion results, the maximum value of the plurality of conversion results, the minimum value of the plurality of conversion results, and For example, the difference between the maximum value and the minimum value of the plurality of conversion results can be given.

【0048】また、本発明に係るA/D変換装置(8)
は、上記A/D変換装置(6)又は(7)において、前
記演算手段が、複数種の演算処理を行うことが可能であ
り、外部からの指定に基づいて、これら複数種の演算処
理の中から、演算処理の種類を選択し、選択した種類の
演算処理を行うものであることを特徴としている。
Further, the A / D conversion device (8) according to the present invention
In the above A / D converter (6) or (7), the arithmetic means can perform plural kinds of arithmetic processing, and based on designation from the outside, these plural kinds of arithmetic processing can be performed. It is characterized in that the type of arithmetic processing is selected from the inside and the arithmetic processing of the selected type is performed.

【0049】上記A/D変換装置(8)によれば、複数
種の演算処理の中から、演算処理の種類を自由に選択す
ることができるため、所望の演算処理による演算結果を
取得することができる。
According to the A / D converter (8), the type of arithmetic processing can be freely selected from a plurality of types of arithmetic processing, and therefore the arithmetic result by the desired arithmetic processing can be obtained. You can

【0050】また、本発明に係るA/D変換装置(9)
は、上記A/D変換装置(6)〜(8)のいずれかにお
いて、前記演算手段による演算結果を記憶する演算結果
記憶手段を備えると共に、前記演算手段により求められ
るものが、複数の変換結果のうちの所望の値であり、前
記演算手段により求められる前記所望の値と、該所望の
値が得られた変換処理に対する、複数の変換処理の中で
の処理順番とが前記演算結果記憶手段に書き込まれるよ
うに構成されていることを特徴としている。
Further, the A / D conversion device (9) according to the present invention
In any one of the above A / D converters (6) to (8), a calculation result storage means for storing a calculation result by the calculation means is provided, and a plurality of conversion results are obtained by the calculation means. Of the desired value obtained by the calculation means and the processing order of the conversion processing from which the desired value is obtained among the plurality of conversion processing are the calculation result storage means. It is characterized in that it is configured to be written in.

【0051】ところで、異なったチャンネルのアナログ
信号を1チャンネル毎にディジタル信号に変換していく
ことによって得られる値のうち、最大値(又は最小値)
を取得したい場合に、最大値(又は最小値)だけでな
く、その値がどのチャンネルから得られたものであるの
かといった情報についても取得したい場合がある。
By the way, among the values obtained by converting analog signals of different channels into digital signals for each channel, the maximum value (or minimum value) is obtained.
In some cases, not only the maximum value (or the minimum value) but also the information such as from which channel the value is obtained may be desired.

【0052】上記A/D変換装置(9)によれば、複数
の変換結果のうちの前記所望の値(例えば、最大値、最
小値)が前記演算結果記憶手段に記憶されるので、前記
演算結果記憶手段に記憶されているデータを読み出すこ
とによって、CPUなどが前記所望の値を取得すること
ができる。
According to the A / D conversion device (9), the desired value (for example, the maximum value or the minimum value) of the plurality of conversion results is stored in the operation result storage means, so that the operation is performed. The CPU or the like can acquire the desired value by reading the data stored in the result storage means.

【0053】また、前記所望の値が得られた変換処理に
対する、複数の変換処理の中での処理順番についても、
前記演算結果記憶手段に記憶されるので、前記演算結果
記憶手段に記憶されているデータを読み出すことによっ
て、CPUなどが前記処理順番を取得することができ
る。
Further, regarding the processing order among a plurality of conversion processes for the conversion process for which the desired value is obtained,
Since it is stored in the calculation result storage unit, the CPU or the like can obtain the processing order by reading the data stored in the calculation result storage unit.

【0054】従って、例えば、異なったチャンネルch
1 〜chm のアナログ信号を1チャンネル毎にディジタ
ル信号に変換していくことによって得られる値のうちの
最大値と、該最大値が得られた変換処理に対する、複数
mの変換処理の中での処理順番(i番目)とが前記演算
結果記憶手段に記憶されるので、前記演算結果記憶手段
に記憶されているデータを読み出すことによって、CP
Uが前記最大値を取得することができると共に、該最大
値が得られた順番(i番目)、すなわち、前記最大値が
チャンネルchi から得られたものであるといった情報
についても取得することができる。
Therefore, for example, different channel ch
The maximum value of the values obtained by converting the analog signals of 1 to ch m into digital signals for each channel, and the conversion processing of a plurality of m for the conversion processing for which the maximum value is obtained Since the processing order (i-th) is stored in the calculation result storage means, by reading the data stored in the calculation result storage means, the CP
It is possible for U to obtain the maximum value, and also for the order in which the maximum value was obtained (i-th), that is, the information that the maximum value was obtained from channel ch i. it can.

【0055】また、本発明に係るA/D変換装置(1
0)は、上記A/D変換装置(6)〜(9)のいずれか
において、前記演算手段が、前記判断手段による、前記
所定の回数、A/D変換処理が行われたとの判断を受け
て、前記所定の演算処理を行うものであることを特徴と
している。
Further, the A / D conversion device (1 according to the present invention
0) is the A / D conversion device (6) to (9) described above, the arithmetic means receives the judgment by the judgment means that the A / D conversion processing has been performed the predetermined number of times. It is characterized in that the predetermined arithmetic processing is performed.

【0056】上記A/D変換装置(10)によれば、前
記演算手段が、前記判断手段による、A/D変換処理す
べき回数が残っていないとの判断を受けて、前記所定の
演算処理を行うようになっている。従って、A/D変換
処理が1回終了する毎に、前記所定の演算処理を行うの
ではなく、最後にまとめて前記所定の演算処理を行うこ
とができる。
According to the above A / D conversion device (10), the arithmetic means receives the judgment by the judgment means that the number of times of the A / D conversion processing does not remain, and the predetermined arithmetic processing is performed. Is supposed to do. Therefore, instead of performing the predetermined arithmetic processing every time the A / D conversion processing is completed once, it is possible to collectively perform the predetermined arithmetic processing at the end.

【0057】また、本発明に係るA/D変換装置(1
1)は、上記A/D変換装置(6)〜(9)のいずれか
において、前記演算手段が、前記A/D変換手段による
A/D変換処理が1回、又は複数回終了する毎に、前記
所定の演算処理を行うものであることを特徴としてい
る。
In addition, the A / D converter according to the present invention (1
1) In any one of the above A / D conversion devices (6) to (9), the arithmetic means is arranged to perform the A / D conversion processing by the A / D conversion means once or every plural times. The above-mentioned predetermined arithmetic processing is performed.

【0058】上記A/D変換装置(11)によれば、前
記演算手段が、前記A/D変換手段によるA/D変換処
理が1回、又は複数回終了する毎に、前記所定の演算処
理を行うようになっている。
According to the above A / D conversion device (11), the arithmetic operation means performs the predetermined arithmetic processing every time the A / D conversion processing by the A / D conversion means is completed once or plural times. Is supposed to do.

【0059】例えば、A/D変換処理16回分の変換結
果(8ビット/1回)の和を求める場合、上記A/D変
換装置(10)のように、16(=24 )回分の変換結
果をまとめて加算処理するには、少なくとも128(=
8×16)ビット分のレジスタを用意しておく必要があ
るが、上記A/D変換装置(11)の場合には、例え
ば、A/D変換処理が1回終了する毎に、加算処理を行
うので、12(=8+4)ビット分のレジスタを用意し
ておけば良いので、レジスタ容量の削減を図ることがで
きる。
For example, when the sum of the conversion results of 16 A / D conversion processes (8 bits / 1 time) is calculated, 16 (= 2 4 ) conversions are performed as in the A / D converter (10). At least 128 (=
Although it is necessary to prepare a register for 8 × 16) bits, in the case of the A / D conversion device (11), for example, the addition process is performed every time the A / D conversion process is completed once. Since this is done, it is sufficient to prepare a register for 12 (= 8 + 4) bits, and therefore the register capacity can be reduced.

【0060】また、本発明に係る信号処理システム
(1)は、アナログ信号をディジタル信号に変換するA
/D変換処理を行うA/D変換手段と、カウント動作を
行い、所定のカウント値までのカウントが終了すると、
カウント終了を示すカウント終了信号を出力するタイマ
手段と、該タイマ手段からの前記カウント終了信号を受
けて、前記A/D変換手段に対し、A/D変換開始の指
示を与えるA/D変換制御手段とを備えた信号処理シス
テムであって、前記A/D変換手段によるA/D変換処
理が終了すると、所定の回数、A/D変換処理が行われ
たか否かを判断する判断手段と、該判断手段による、前
記所定の回数、A/D変換処理が行われていないとの判
断を受けて、前記タイマ手段に対し、カウント動作を再
起動させる再起動手段とを備えると共に、前記タイマ手
段が、前記再起動手段からの指示を受けて、カウント動
作を再開するものであることを特徴としている。
Further, the signal processing system (1) according to the present invention converts an analog signal into a digital signal A
When the counting operation is performed with the A / D conversion means for performing the A / D conversion processing and the counting up to a predetermined count value is completed,
A timer unit that outputs a count end signal indicating the end of counting, and an A / D conversion control that receives the count end signal from the timer unit and gives an instruction to start the A / D conversion to the A / D conversion unit. A signal processing system including means for determining whether or not the A / D conversion processing has been performed a predetermined number of times when the A / D conversion processing by the A / D conversion means ends. When the judgment means judges that the A / D conversion processing has not been performed the predetermined number of times, the timer means is provided with restart means for restarting the counting operation, and the timer means is provided. However, the counting operation is restarted in response to an instruction from the restarting means.

【0061】上記信号処理システム(1)によれば、前
記タイマ手段により、前記所定のカウント値までのカウ
ントが行われ、前記カウント終了信号が出力されると、
前記A/D変換制御手段により、前記A/D変換手段に
対し、A/D変換開始の指示が与えられ、前記A/D変
換手段により、A/D変換処理が行われる。すなわち、
前記タイマ手段のカウント動作を開始させることによっ
て、A/D変換処理を行わせることができる。
According to the signal processing system (1), when the timer means counts up to the predetermined count value and the count end signal is output,
The A / D conversion control unit gives an instruction to start the A / D conversion to the A / D conversion unit, and the A / D conversion unit performs the A / D conversion process. That is,
A / D conversion processing can be performed by starting the counting operation of the timer means.

【0062】従って、例えば、外部(CPUなど)から
前記タイマ手段に対し、カウント動作開始の指示を与
え、前記タイマ手段のカウント動作を開始させるだけ
で、その後は、外部とは独立した動作にて、1回目のA
/D変換処理を行わせることができる。
Therefore, for example, an instruction to start the counting operation is given to the timer means from the outside (CPU or the like), and the counting operation of the timer means is started. After that, the operation is independent from the outside. 1st A
/ D conversion processing can be performed.

【0063】また、1回目のA/D変換処理が終了する
と、前記所定の回数、A/D変換処理が行われたか否か
が判断され、前記所定の回数、A/D変換処理が行われ
ていない(すなわち、前記所定の回数が2回以上に設定
されており、A/D変換処理すべき回数が残っている)
と判断されると、前記タイマ手段に対し、カウント動作
の再起動が掛けられ、前記タイマ手段のカウント動作が
再開されるように構成されている。
When the first A / D conversion process is completed, it is determined whether or not the A / D conversion process has been performed the predetermined number of times, and the A / D conversion process is performed the predetermined number of times. Not (that is, the predetermined number is set to 2 or more, and the number of times the A / D conversion process should be performed remains)
If it is determined that the timer means is restarted, the counting operation of the timer means is restarted.

【0064】そのため、前記タイマ手段により、再び、
前記所定のカウント値までのカウントが行われ、前記カ
ウント終了信号が出力されると、前記A/D変換制御手
段により、前記A/D変換手段に対し、A/D変換開始
の指示が与えられ、前記A/D変換手段により、A/D
変換処理が行われる。すなわち、前記所定の回数が2回
以上に設定されている場合、1回目のA/D変換処理が
終了から所定の時間(少なくとも、前記所定のカウント
値までのカウントに要する時間)を経て、2回目のA/
D変換処理が行われる。
Therefore, by the timer means,
When counting is performed up to the predetermined count value and the count end signal is output, the A / D conversion control unit gives an instruction to start A / D conversion to the A / D conversion unit. , A / D by the A / D conversion means
Conversion processing is performed. That is, when the predetermined number of times is set to be two or more, after the first A / D conversion process is completed, a predetermined time (at least a time required for counting up to the predetermined count value) is exceeded, and A / th
D conversion processing is performed.

【0065】従って、1回目のA/D変換処理と2回目
のA/D変換処理との間に時間的余裕(少なくとも、前
記所定のカウント値までのカウントに要する時間)を持
たせて、2回目のA/D変換処理を行わせることができ
る。また、上記した一連の動作は、外部(例えば、CP
U)とは独立した動作にて、A/D変換処理が前記所定
の回数行われるまで、繰り返し行われるため、CPUの
負担を小さく抑えることができ、また各種ハードウェア
を繋ぐバスを占有することなく、A/D変換処理とA/
D変換処理との間に時間的余裕を持たせて、A/D変換
処理を前記所定の回数行わせることができる。
Therefore, a time margin (at least the time required to count up to the predetermined count value) is provided between the first A / D conversion processing and the second A / D conversion processing, and 2 A second A / D conversion process can be performed. In addition, the series of operations described above is performed by an external (for example, CP
Since the A / D conversion process is repeated until it is performed a predetermined number of times in an operation independent of U), the load on the CPU can be kept small and the bus connecting various hardware can be occupied. Without A / D conversion processing and A / D
The A / D conversion process can be performed a predetermined number of times with a time margin between the A / D conversion process and the D conversion process.

【0066】[0066]

【発明の実施の形態】以下、本発明に係るA/D変換装
置、及び信号処理システムの実施の形態を図面に基づい
て説明する。図1は、実施の形態(1)に係るA/D変
換装置を採用した信号処理システムの要部を概略的に示
したブロック図である。図中32はA/D変換装置を示
しており、A/D変換装置32はA/D変換制御回路3
3と、A/D変換器34と、タイマ35とを含んで構成
されている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of an A / D converter and a signal processing system according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram schematically showing a main part of a signal processing system that employs the A / D conversion device according to the embodiment (1). In the figure, reference numeral 32 denotes an A / D conversion device, and the A / D conversion device 32 is the A / D conversion control circuit 3
3, an A / D converter 34, and a timer 35.

【0067】A/D変換制御回路33は、タイマ35か
らのカウント終了信号を受けて、A/D変換器34に対
し、A/D変換開始の指示を与えるものであり、また、
A/D変換制御回路33にはA/D変換器34で変換さ
れたディジタル信号を一時的に蓄積するための蓄積部3
3aと、CPU31により設定されるA/D変換処理回
数を記憶するための回数メモリ33bとが装備されてい
る。
The A / D conversion control circuit 33 receives the count end signal from the timer 35 and gives an instruction to start the A / D conversion to the A / D converter 34.
The A / D conversion control circuit 33 includes a storage unit 3 for temporarily storing the digital signal converted by the A / D converter 34.
3a and a number memory 33b for storing the number of A / D conversion processes set by the CPU 31 are provided.

【0068】タイマ35は、発振回路35aと、カウン
タ35bと、CPU31により設定されるカウント値を
記憶するためのカウント値メモリ35cと、比較回路3
5dとを備え、発振回路35aからのクロックパルスを
カウンタ35bでカウントし、カウンタ35bでのカウ
ント値と、カウント値メモリ35cに記憶されているカ
ウント値とを比較回路35dで比較し、これらカウント
値が一致すると、カウント終了信号をA/D変換制御回
路33へ出力するように構成されている。
The timer 35 includes an oscillation circuit 35a, a counter 35b, a count value memory 35c for storing the count value set by the CPU 31, and a comparison circuit 3.
5d, the clock pulse from the oscillation circuit 35a is counted by the counter 35b, the count value of the counter 35b is compared with the count value stored in the count value memory 35c by the comparison circuit 35d, and these count values are compared. When they match, the count end signal is output to the A / D conversion control circuit 33.

【0069】また、カウンタ35bでのカウント値と、
カウント値メモリ35cに記憶されているカウント値と
が一致すると、比較回路35dからカウンタ35bへリ
セット信号が出力され、カウンタ35bのカウント値が
リセットされるようになっている。
Further, the count value of the counter 35b,
When the count value stored in the count value memory 35c matches, a reset signal is output from the comparison circuit 35d to the counter 35b, and the count value of the counter 35b is reset.

【0070】A/D変換器34は、A/D変換制御回路
33からA/D変換開始の指示を受けると、入力される
アナログ信号をディジタル信号に変換し、変換結果をA
/D変換制御回路33へ出力するように構成されてい
る。
When the A / D converter 34 receives an A / D conversion start instruction from the A / D conversion control circuit 33, the A / D converter 34 converts the input analog signal into a digital signal and outputs the conversion result to A / D.
It is configured to output to the / D conversion control circuit 33.

【0071】CPU31は、A/D変換制御回路33へ
A/D変換回数を設定したり、タイマ35へカウンタ3
5bがカウントすべきカウント値を設定したり、カウン
タ35bへクロックパルスのカウント開始を指示するよ
うに構成されている。
The CPU 31 sets the number of A / D conversions in the A / D conversion control circuit 33 and the counter 3 in the timer 35.
5b is configured to set a count value to be counted, and to instruct the counter 35b to start counting clock pulses.

【0072】次に、前記信号処理システムにおけるA/
D変換処理の動作手順を図2に示したタイミングチャー
トに基づいて説明する。まず始めに、CPU31がタイ
マ35へカウント値ctを指定し、A/D変換制御回路
33へA/D変換回数(n1回)を指定する(1−
)。
Next, A / in the signal processing system
The operation procedure of the D conversion process will be described based on the timing chart shown in FIG. First, the CPU 31 designates the count value ct to the timer 35 and the A / D conversion number (n 1 ) to the A / D conversion control circuit 33 (1-
).

【0073】タイマ35はCPU31からカウント値c
tの指定を受けると、カウント値メモリ35cへ指定さ
れたカウント値ctを記憶させ、また、A/D変換制御
回路33はCPU31からA/D変換回数n1 の指定を
受けると、回数メモリ33bへ指定された回数n1 を記
憶させる。
The timer 35 sends the count value c from the CPU 31.
When the designation of t is received, the designated count value ct is stored in the count value memory 35c, and when the A / D conversion number n 1 is designated by the CPU 31, the count memory 33b is stored. The number of times n 1 designated is stored.

【0074】次に、CPU31がタイマ35に対し、カ
ウントの開始を指示し(1−)、タイマ35がカウン
ト開始の指示を受けると、カウントを開始し、カウンタ
35bでのカウント値と、カウント値メモリ35cに記
憶されているカウント値ctとが一致する(すなわち、
カウンタ35bでカウント値ctまでのカウントが行わ
れる)と、A/D変換制御回路33に対し、カウント終
了信号を出力する(1−)。
Next, the CPU 31 instructs the timer 35 to start counting (1-), and when the timer 35 receives the instruction to start counting, it starts counting and the count value in the counter 35b and the count value. The count value ct stored in the memory 35c matches (that is,
When the counter 35b counts up to the count value ct), the count end signal is output to the A / D conversion control circuit 33 (1-).

【0075】A/D変換制御回路33がタイマ35から
のカウント終了信号を受信すると、A/D変換器34へ
A/D変換起動の開始を指示し(1−)、A/D変換
器34が前記指示を受けると、入力されるアナログ信号
をディジタル信号に変換し、変換結果をA/D変換制御
回路33へ出力する(1−)。
When the A / D conversion control circuit 33 receives the count end signal from the timer 35, it instructs the A / D converter 34 to start the A / D conversion activation (1-), and the A / D converter 34 is started. Receives the instruction, the input analog signal is converted into a digital signal, and the conversion result is output to the A / D conversion control circuit 33 (1-).

【0076】A/D変換制御回路33がA/D変換器3
4から出力された変換結果を取得すると、取得した変換
結果を蓄積部33aへ格納する共に、A/D変換器34
からn1 回分の変換結果を取得したか否かを判断し、n
1 回分の変換結果を取得したと判断すれば、CPU31
に対してA/D変換終了の通知(割り込み)を行う(1
−)。他方、n1 回分の変換結果を取得していないと
判断すれば、タイマ35に対し、カウント動作の開始を
指示する(1−)。
The A / D conversion control circuit 33 uses the A / D converter 3
When the conversion result output from 4 is acquired, the acquired conversion result is stored in the storage unit 33a, and the A / D converter 34
To determine whether n 1 conversion results have been acquired, and
If it is determined that one conversion result has been acquired, the CPU 31
A / D conversion end notification (interruption) is sent to (1
-). On the other hand, if it is determined that the conversion result for n 1 times has not been acquired, the timer 35 is instructed to start the counting operation (1-).

【0077】CPU31は、A/D変換制御回路33か
らのA/D変換終了の通知を受けると、その後、A/D
変換制御回路33の蓄積部33aに蓄積されている変換
結果を読み出し、読み出した変換結果を用いて所定の処
理を行う。
When the CPU 31 receives the A / D conversion end notification from the A / D conversion control circuit 33, the A / D conversion is performed thereafter.
The conversion result stored in the storage unit 33a of the conversion control circuit 33 is read, and a predetermined process is performed using the read conversion result.

【0078】上記実施の形態(1)に係るA/D変換装
置によれば、タイマ35により、カウント値メモリ35
cに記憶されているカウント値ct(すなわち、CPU
31により設定されたカウント値ct)までのカウント
が行われ、A/D変換制御回路33へカウント終了信号
が出力されると、A/D変換制御回路33により、A/
D変換器34に対し、A/D変換開始の指示が与えら
れ、A/D変換器34により、A/D変換処理が行われ
る。すなわち、タイマ35のカウント動作を開始させる
ことによって、A/D変換処理を行わせることができ
る。
According to the A / D converter of the above embodiment (1), the count value memory 35 is controlled by the timer 35.
The count value ct stored in c (that is, the CPU
When the counting up to the count value ct set by 31 is performed and the count end signal is output to the A / D conversion control circuit 33, the A / D conversion control circuit 33 causes the A / D conversion control circuit 33 to
An instruction to start A / D conversion is given to the D converter 34, and the A / D converter 34 performs A / D conversion processing. That is, the A / D conversion process can be performed by starting the counting operation of the timer 35.

【0079】従って、CPU31からタイマ35に対
し、カウント動作開始の指示を与え、タイマ35のカウ
ント動作を開始させるだけで、その後は、CPU31と
は独立した動作にて、1回目のA/D変換処理を行わせ
ることができる。
Therefore, the CPU 31 merely gives an instruction to start the counting operation to the timer 35 to start the counting operation of the timer 35, and thereafter, in an operation independent of the CPU 31, the first A / D conversion is performed. Processing can be performed.

【0080】また、1回目のA/D変換処理が終了する
と、A/D変換制御回路33で回数メモリ33bに記憶
されている回数n1 (すなわち、CPU31により設定
された回数n1 )、A/D変換処理が行われたか否かが
判断され、A/D変換処理がn1 回行われていない(す
なわち、A/D変換処理すべき回数が残っている)と判
断されると、タイマ35に対し、カウント動作の再起動
が掛けられ、タイマ35のカウント動作が再開されるよ
うに構成されている。
When the first A / D conversion process is completed, the number of times n 1 stored in the number memory 33b in the A / D conversion control circuit 33 (that is, the number of times n 1 set by the CPU 31), A When it is determined whether or not the A / D conversion process has been performed, and it is determined that the A / D conversion process has not been performed n 1 times (that is, the number of times that the A / D conversion process should be performed remains), the timer 35, the counting operation is restarted, and the counting operation of the timer 35 is restarted.

【0081】そのため、タイマ35により、再び、カウ
ント値ctまでのカウントが行われ、前記カウント終了
信号が出力されると、A/D変換制御回路33により、
A/D変換器34に対し、A/D変換開始の指示が与え
られ、A/D変換器34により、A/D変換処理が行わ
れる。すなわち、回数メモリ33bに記憶されている回
数n1 が2以上である場合、1回目のA/D変換処理が
終了から所定の時間(少なくとも、カウント値ctまで
のカウントに要する時間)を経て、2回目のA/D変換
処理が行われる。
Therefore, when the timer 35 again counts up to the count value ct and the count end signal is output, the A / D conversion control circuit 33 causes
An instruction to start the A / D conversion is given to the A / D converter 34, and the A / D converter 34 performs the A / D conversion process. That is, when the number of times n 1 stored in the number of times memory 33b is 2 or more, after a predetermined time (at least the time required to count up to the count value ct) from the end of the first A / D conversion process, The second A / D conversion process is performed.

【0082】従って、1回目のA/D変換処理と2回目
のA/D変換処理との間に時間的余裕(少なくとも、カ
ウント値ctまでのカウントに要する時間)を持たせ
て、2回目のA/D変換処理を行わせることができる。
また、上記した一連の動作は、CPU31とは独立した
動作にて、A/D変換処理がn1 回行われるまで、繰り
返し行われるため、CPU31の負担を小さく抑えるこ
とができ、また各種ハードウェアを繋ぐバスを占有する
ことなく、A/D変換処理とA/D変換処理との間に時
間的余裕を持たせて、A/D変換処理をn1 回行わせる
ことができる。
Therefore, there is a time margin (at least the time required to count up to the count value ct) between the first A / D conversion process and the second A / D conversion process, and the second time A / D conversion processing can be performed.
Further, since the series of operations described above is repeated independently of the CPU 31 until the A / D conversion process is performed n 1 times, the load on the CPU 31 can be reduced and various hardware can be used. It is possible to perform the A / D conversion processing n 1 times with a time margin between the A / D conversion processing and the A / D conversion processing without occupying the bus connecting the two.

【0083】図3は、実施の形態(2)に係るA/D変
換装置を採用した信号処理システムの要部を概略的に示
したブロック図である。図中42はA/D変換装置を示
しており、A/D変換装置42はA/D変換制御回路4
3と、A/D変換器44と、タイマ45とを含んで構成
されている。
FIG. 3 is a block diagram schematically showing a main part of a signal processing system that employs the A / D conversion device according to the embodiment (2). In the figure, reference numeral 42 denotes an A / D conversion device, and the A / D conversion device 42 is the A / D conversion control circuit 4
3, an A / D converter 44, and a timer 45.

【0084】A/D変換制御回路43は、タイマ45か
らのカウント終了信号を受けて、A/D変換器44に対
し、A/D変換開始の指示を与えるものであり、また、
A/D変換制御回路43にはA/D変換器44で変換さ
れたディジタル信号を一時的に蓄積するための蓄積部4
3aと、CPU41により設定されるA/D変換処理回
数を記憶するための回数メモリ43bとが装備されてい
る。
The A / D conversion control circuit 43 receives the count end signal from the timer 45 and gives an A / D conversion start instruction to the A / D converter 44.
The A / D conversion control circuit 43 includes a storage unit 4 for temporarily storing the digital signal converted by the A / D converter 44.
3a and a number memory 43b for storing the number of A / D conversion processes set by the CPU 41 are provided.

【0085】タイマ45は、発振回路45aと、カウン
タ45bと、CPU41により設定されるカウント値を
記憶するためのカウント値メモリ45cと、所定のタイ
ミングで、カウント値メモリ45cに記憶されているカ
ウント値が書き込まれるカウント値メモリ45dと、比
較回路45eとを備え、発振回路45aからのクロック
パルスをカウンタ35bでカウントし、カウンタ45b
でのカウント値と、カウント値メモリ45dに記憶され
ているカウント値ctとを比較回路45eで比較し、こ
れらカウント値が一致すると、カウント終了信号をA/
D変換制御回路43へ出力するように構成されている。
The timer 45 includes an oscillation circuit 45a, a counter 45b, a count value memory 45c for storing the count value set by the CPU 41, and a count value stored in the count value memory 45c at a predetermined timing. Is provided with a count value memory 45d and a comparison circuit 45e, and the counter 35b counts clock pulses from the oscillation circuit 45a.
And the count value ct stored in the count value memory 45d are compared by the comparison circuit 45e. When these count values match, the count end signal is set to A /
It is configured to output to the D conversion control circuit 43.

【0086】また、カウンタ45bでのカウント値と、
カウント値メモリ45dに記憶されているカウント値c
tとが一致すると、比較回路45eからカウンタ45b
へリセット信号が出力され、カウンタ45bのカウント
値がリセットされるようになっている。
Further, the count value of the counter 45b,
Count value c stored in the count value memory 45d
When t and t match, the comparison circuit 45e causes the counter 45b to
A reset signal is output to and the count value of the counter 45b is reset.

【0087】A/D変換器44は、A/D変換制御回路
43からA/D変換開始の指示を受けると、入力される
アナログ信号をディジタル信号に変換し、変換結果をA
/D変換制御回路43へ出力するように構成されてい
る。
When the A / D converter 44 receives an A / D conversion start instruction from the A / D conversion control circuit 43, the A / D converter 44 converts the input analog signal into a digital signal, and converts the conversion result into the A / D conversion signal.
It is configured to output to the / D conversion control circuit 43.

【0088】CPU41は、A/D変換制御回路43へ
A/D変換回数を設定したり、タイマ45へカウンタ4
5bがカウントすべきカウント値を設定したり、カウン
タ45bへクロックパルスのカウント開始を指示するよ
うに構成されている。
The CPU 41 sets the number of A / D conversions in the A / D conversion control circuit 43, and the counter 4 in the timer 45.
5b is configured to set a count value to be counted, and to instruct the counter 45b to start counting clock pulses.

【0089】次に、前記信号処理システムにおけるA/
D変換処理の動作手順を図4に示したタイミングチャー
トに基づいて説明する。まず始めに、CPU41がタイ
マ45へカウント値ct1 を指定し、A/D変換制御回
路43へA/D変換回数(n2 回)を指定する(2−
)。
Next, A / in the signal processing system
The operation procedure of the D conversion process will be described based on the timing chart shown in FIG. First, the CPU 41 specifies the count value ct 1 to the timer 45 and the A / D conversion number (n 2 times) to the A / D conversion control circuit 43 (2-
).

【0090】タイマ45はCPU41からカウント値c
1 の指定を受けると、カウント値メモリ45cへ指定
されたカウント値ct1 を記憶させ、また、A/D変換
制御回路43はCPU41からA/D変換回数n2 の指
定を受けると、回数メモリ43bへ指定された回数n2
を記憶させる。
The timer 45 sends the count value c from the CPU 41.
When receiving the designation of t 1, the designated count value ct 1 is stored in the count value memory 45c, and when the A / D conversion control circuit 43 receives the designation of the A / D conversion number n 2 from the CPU 41, Number of times n 2 specified in the memory 43b
Memorize

【0091】次に、CPU41がタイマ45に対し、カ
ウントの開始を指示し(2−)、タイマ45がカウン
ト開始の指示を受けると、まず、カウント値メモリ45
cに記憶されているカウント値ct’(=ct1 )を読
み出して、読み出したカウント値ct’(=ct1 )を
カウント値メモリ45dへ書き込み、その後、カウント
を開始し、カウンタ45bでのカウント値と、カウント
値メモリ45dに記憶されているカウント値ct(=c
1 )とが一致する(すなわち、カウンタ45bでカウ
ント値ctまでのカウントが行われる)と、A/D変換
制御回路43に対し、カウント終了信号を出力する(2
−)。
Next, when the CPU 41 instructs the timer 45 to start counting (2-) and the timer 45 receives the instruction to start counting, first, the count value memory 45
The count value ct '(= ct 1 ) stored in c is read, the read count value ct' (= ct 1 ) is written to the count value memory 45d, then counting is started, and the count in the counter 45b is performed. Value and the count value ct (= c
When t 1 ) matches (that is, the counter 45b counts up to the count value ct), a count end signal is output to the A / D conversion control circuit 43 (2
-).

【0092】A/D変換制御回路43がタイマ45から
のカウント終了信号を受信すると、A/D変換器44へ
A/D変換起動の開始を指示し(2−)、A/D変換
器44が前記指示を受けると、入力されるアナログ信号
をディジタル信号に変換し、変換結果をA/D変換制御
回路43へ出力する(2−)。
When the A / D conversion control circuit 43 receives the count end signal from the timer 45, it instructs the A / D converter 44 to start the A / D conversion activation (2-), and the A / D converter 44. Receives the instruction, the input analog signal is converted into a digital signal, and the conversion result is output to the A / D conversion control circuit 43 (2-).

【0093】A/D変換制御回路43がA/D変換器4
4から出力された変換結果を取得すると、取得した変換
結果を蓄積部43aへ格納する共に、A/D変換器44
からn2 回分の変換結果を取得したか否かを判断し、n
2 回分の変換結果を取得したと判断すれば、CPU41
に対してA/D変換終了の通知(割り込み)を行う(2
−)。CPU41は、A/D変換制御回路43からの
A/D変換終了の通知を受けると、その後、A/D変換
制御回路43の蓄積部43aに蓄積されている変換結果
を読み出し、読み出した変換結果を用いて所定の処理を
行う。
The A / D conversion control circuit 43 uses the A / D converter 4
When the conversion result output from 4 is acquired, the acquired conversion result is stored in the storage unit 43a and the A / D converter 44
From n, it is judged whether or not the conversion result for n 2 times has been acquired, and n
If it is determined that the conversion results for two times have been acquired, the CPU 41
A / D conversion end notification (interruption) to (2
-). When the CPU 41 receives the notification of A / D conversion end from the A / D conversion control circuit 43, the CPU 41 thereafter reads the conversion result stored in the storage unit 43 a of the A / D conversion control circuit 43, and the read conversion result. Is used to perform a predetermined process.

【0094】他方、n2 回分の変換結果を取得していな
いと判断すれば、タイマ45に対し、カウント動作の開
始を指示し(2−)、タイマ45がカウント開始の指
示を受けると、まず、カウント値メモリ45cに記憶さ
れているカウント値ct’を読み出して、読み出したカ
ウント値ct’をカウント値メモリ45dへ書き込み、
その後、カウントを開始し、カウンタ45bでのカウン
ト値と、カウント値メモリ45dに記憶されているカウ
ント値ctとが一致する(すなわち、カウンタ45bで
カウント値ctまでのカウントが行われる)と、A/D
変換制御回路43に対し、カウント終了信号を出力する
(2−)。
On the other hand, if it is determined that the conversion results for n 2 times have not been obtained, the timer 45 is instructed to start the counting operation (2-), and when the timer 45 receives the instruction to start counting, first, , Reading the count value ct 'stored in the count value memory 45c, writing the read count value ct' into the count value memory 45d,
After that, when counting is started and the count value in the counter 45b and the count value ct stored in the count value memory 45d match (that is, the counter 45b counts up to the count value ct), A / D
A count end signal is output to the conversion control circuit 43 (2-).

【0095】上記実施の形態(2)に係るA/D変換装
置によれば、タイマ45により、カウント値メモリ45
dに記憶されているカウント値ctまでのカウントが行
われ、A/D変換制御回路43へカウント終了信号が出
力されると、A/D変換制御回路43により、A/D変
換器44に対し、A/D変換開始の指示が与えられ、A
/D変換器44により、A/D変換処理が行われる。す
なわち、タイマ45のカウント動作を開始させることに
よって、A/D変換処理を行わせることができる。
According to the A / D converter of the above embodiment (2), the timer 45 allows the count value memory 45 to operate.
When the count value ct stored in d is counted and the count end signal is output to the A / D conversion control circuit 43, the A / D conversion control circuit 43 causes the A / D converter 44 to , A / D conversion start instruction is given, and A
The A / D conversion process is performed by the / D converter 44. That is, the A / D conversion process can be performed by starting the count operation of the timer 45.

【0096】従って、CPU41からタイマ45に対
し、カウント動作開始の指示を与え、タイマ45のカウ
ント動作を開始させるだけで、その後は、CPU41と
は独立した動作にて、1回目のA/D変換処理を行わせ
ることができる。
Therefore, the CPU 41 only gives an instruction to start the counting operation to the timer 45 to start the counting operation of the timer 45, and thereafter, in an operation independent of the CPU 41, the first A / D conversion is performed. Processing can be performed.

【0097】また、1回目のA/D変換処理が終了する
と、A/D変換制御回路43で回数メモリ43bに記憶
されている回数n2 (すなわち、CPU41により設定
された回数n2 )、A/D変換処理が行われたか否かが
判断され、A/D変換処理がn2 回行われていない(す
なわち、A/D変換処理すべき回数が残っている)と判
断されると、タイマ45に対し、カウント動作の再起動
が掛けられ、タイマ45のカウント動作が再開されるよ
うに構成されている。
When the first A / D conversion process is completed, the number of times n 2 stored in the number memory 43b in the A / D conversion control circuit 43 (ie, the number of times n 2 set by the CPU 41), A When it is determined whether or not the A / D conversion process is performed and it is determined that the A / D conversion process has not been performed n 2 times (that is, the number of A / D conversion processes to be performed remains), the timer The counting operation of the timer 45 is restarted, and the counting operation of the timer 45 is restarted.

【0098】そのため、タイマ45により、再び、カウ
ント値ctまでのカウントが行われ、前記カウント終了
信号が出力されると、A/D変換制御回路43により、
A/D変換器44に対し、A/D変換開始の指示が与え
られ、A/D変換器44により、A/D変換処理が行わ
れる。すなわち、回数メモリ43bに記憶されている回
数n2 が2以上である場合、1回目のA/D変換処理が
終了から所定の時間(少なくとも、カウント値ctまで
のカウントに要する時間)を経て、2回目のA/D変換
処理が行われる。
Therefore, when the timer 45 again counts up to the count value ct and the count end signal is output, the A / D conversion control circuit 43 causes
An instruction to start A / D conversion is given to the A / D converter 44, and the A / D converter 44 performs A / D conversion processing. That is, when the number of times n 2 stored in the number-of-times memory 43b is 2 or more, after a predetermined time (at least the time required for counting up to the count value ct) from the end of the first A / D conversion process, The second A / D conversion process is performed.

【0099】従って、1回目のA/D変換処理と2回目
のA/D変換処理との間に時間的余裕(少なくとも、カ
ウント値ctまでのカウントに要する時間)を持たせ
て、2回目のA/D変換処理を行わせることができる。
また、上記した一連の動作は、CPU41とは独立した
動作にて、A/D変換処理がn2 回行われるまで、繰り
返し行われるため、CPU41の負担を小さく抑えるこ
とができ、また各種ハードウェアを繋ぐバスを占有する
ことなく、A/D変換処理とA/D変換処理との間に時
間的余裕を持たせて、A/D変換処理をn2 回行わせる
ことができる。
Therefore, a time margin (at least the time required to count up to the count value ct) is provided between the first A / D conversion process and the second A / D conversion process, and the second time is set. A / D conversion processing can be performed.
In addition, the series of operations described above are performed independently of the CPU 41 and are repeatedly performed until the A / D conversion process is performed n 2 times, so that the load on the CPU 41 can be suppressed to a small level and various hardware can be used. It is possible to perform the A / D conversion process n 2 times with a time margin between the A / D conversion process and the A / D conversion process without occupying the bus connecting the two .

【0100】また、CPU41からタイマ45へカウン
ト値の指定があると、指定されたカウント値がカウント
値メモリ45cへ書き込まれるようになっており、CP
U41又はA/D変換制御回路43からカウント開始の
指示があると、カウント値メモリ45cに記憶されてい
るカウント値が、カウント値メモリ45dに書き込まれ
るようになっている。
When the count value is designated from the CPU 41 to the timer 45, the designated count value is written in the count value memory 45c.
When there is an instruction to start counting from the U41 or the A / D conversion control circuit 43, the count value stored in the count value memory 45c is written in the count value memory 45d.

【0101】従って、i回目のカウント動作が開始され
てから、(i+1)回目のカウント動作が開始されるま
での間に、CPU41が新たなカウント値を設定すれ
ば、(i+1)回目のカウントは新たに設定されたカウ
ント値までカウントすることとなる。例えば、図4に示
したように、2回目のカウント動作が開始されてから、
3回目のカウント動作が開始されるまでの間に、CPU
41によりカウント値ct2 が設定されると、3回目の
カウントは、カウント値ct2 までカウントするように
なる。これにより、A/D変換処理とA/D変換処理と
の間の長さの変更を外部から自由に行うことができる。
Therefore, if the CPU 41 sets a new count value between the start of the i-th counting operation and the start of the (i + 1) -th counting operation, the (i + 1) -th counting It will count up to the newly set count value. For example, as shown in FIG. 4, after the second counting operation is started,
By the time the third counting operation is started, the CPU
When the count value ct 2 is set by 41, the third count starts counting up to the count value ct 2 . Thereby, the length between the A / D conversion process and the A / D conversion process can be freely changed from the outside.

【0102】また、上記実施の形態(1)又は(2)に
係るA/D変換装置では、CPU31(41)が、A/
D変換制御回路33(43)からのA/D変換終了の通
知を受けると、その後、A/D変換制御回路33(4
3)の蓄積部33a(43a)に蓄積されている変換結
果を読み出し、読み出した変換結果を用いて所定の処理
を行うようになっているが、別の実施の形態に係るA/
D変換装置では、演算手段を設けて、蓄積部33a(4
3a)に蓄積されている変換結果に基づいて、所定の演
算処理を行うようにし、CPU31(41)がA/D変
換器34(44)による変換結果ではなく、前記演算手
段による演算結果を読み出すことができるようにしても
良い。これにより、CPU31(41)の負担を更に小
さく抑えることができる。なお、前記演算手段について
は、A/D変換制御回路33(43)内に設けなくても
良い。
In addition, in the A / D conversion device according to the above-mentioned embodiment (1) or (2), the CPU 31 (41) is the A / D converter.
When the A / D conversion end notification is received from the D conversion control circuit 33 (43), then the A / D conversion control circuit 33 (4
The conversion result stored in the storage unit 33a (43a) in 3) is read out, and predetermined processing is performed using the read-out conversion result.
In the D conversion device, a storage means 33a (4
Based on the conversion result stored in 3a), predetermined arithmetic processing is performed, and the CPU 31 (41) reads not the conversion result by the A / D converter 34 (44) but the calculation result by the arithmetic means. You may be able to. As a result, the load on the CPU 31 (41) can be further reduced. The arithmetic means need not be provided in the A / D conversion control circuit 33 (43).

【0103】また、前記所定の演算処理としては、例え
ば、複数の変換結果の和、複数の変換結果の平均値、複
数の変換結果のうちの最大値、複数の変換結果のうちの
最小値、及び複数の変換結果のうちの最大値と最小値と
の差などが挙げられる。
As the predetermined arithmetic processing, for example, the sum of a plurality of conversion results, the average value of a plurality of conversion results, the maximum value of a plurality of conversion results, the minimum value of a plurality of conversion results, And the difference between the maximum value and the minimum value of the plurality of conversion results.

【0104】図5に、前記別の実施の形態に係るA/D
変換装置におけるA/D変換制御回路を示す。図中33
AはA/D変換制御回路を示しており、A/D変換制御
回路33Aは、A/D変換器34で変換されたディジタ
ル信号を一時的に蓄積するための蓄積部33aと、CP
U31により設定されるA/D変換処理回数n1 を記憶
するための回数メモリ33bと、n1 回分の変換結果の
平均値を求める演算手段51と、演算手段により求めら
れた演算結果を記憶する演算結果記憶部52とが装備さ
れ、蓄積部33aと演算手段51と演算結果記憶部52
とはバス53で繋がれている。
FIG. 5 shows an A / D according to another embodiment.
The A / D conversion control circuit in a converter is shown. 33 in the figure
A indicates an A / D conversion control circuit, and the A / D conversion control circuit 33A includes a storage unit 33a for temporarily storing the digital signal converted by the A / D converter 34, and a CP.
A number memory 33b for storing the A / D conversion processing number n 1 set by U31, a calculation means 51 for obtaining an average value of conversion results for n 1 times, and a calculation result obtained by the calculation means. The calculation result storage unit 52 is provided, and the storage unit 33a, the calculation unit 51, and the calculation result storage unit 52 are provided.
It is connected with the bus 53.

【0105】また、演算手段51は、n1 回分の変換結
果を取得すると、蓄積部33aに記憶されているn1
分の変換結果の平均値を求め、求めた値を演算結果記憶
部52へ記憶させるように構成されている。なお、演算
結果記憶部52を設けずに、演算結果については蓄積部
33aへ記憶させるようにしても良い。
Further, when the calculation means 51 acquires the conversion results for n 1 times, it calculates the average value of the conversion results for n 1 times stored in the storage unit 33a and stores the calculated value in the calculation result storage unit 52. It is configured to be stored. Note that the calculation result may be stored in the storage unit 33a without providing the calculation result storage unit 52.

【0106】ところで、図5に示したA/D変換装置で
は、n1 回分の変換結果を取得してから、最後にまとめ
て演算処理を行うようになっているため、1回のA/D
変換処理による変換結果(例えば、8ビットデータ)を
蓄積するのに、8ビットのレジスタが必要となり、A/
D変換回数が16(=24 )回に設定されている場合に
は、少なくとも128(=8×16)ビットのレジスタ
を用意する必要がある。
By the way, in the A / D converter shown in FIG. 5, since the conversion results for n 1 times are obtained, the arithmetic processing is collectively performed at the end, so that the A / D conversion is performed once.
An 8-bit register is required to store the conversion result (for example, 8-bit data) by the conversion process.
When the number of D conversions is set to 16 (= 2 4 ) times, it is necessary to prepare a register of at least 128 (= 8 × 16) bits.

【0107】しかしながら、演算処理を最後にまとめて
行うのではなく、定期的に(例えば、1回分の変換結果
を取得する度に)行うようにすることによって、用意す
べきレジスタの量を少なくすることができる。例えば、
1回分の変換結果を取得する度に、加算処理を施してい
けば、演算結果を蓄積するだけのレジスタ、すなわち1
2(=8+4)ビット分だけ用意すれば良いこととな
る。
However, the amount of registers to be prepared is reduced by performing the arithmetic processing periodically (for example, every time when one conversion result is obtained) instead of collectively performing the arithmetic processing at the end. be able to. For example,
If addition processing is performed each time one conversion result is acquired, a register that accumulates operation results, that is, 1
It is only necessary to prepare 2 (= 8 + 4) bits.

【0108】また、別の実施の形態に係るA/D変換装
置では、複数種の演算処理を行うことが可能となるよう
に構成し、CPUからの指定に基づいて、これら複数種
の演算処理の中から、演算処理が選択することができる
ようにしても良い。なお、前記指定するタイミングとし
ては、カウント値やA/D変換回数を初期設定するタイ
ミングが望ましい。
In addition, the A / D conversion device according to another embodiment is configured to be capable of performing a plurality of types of arithmetic processing, and the plurality of types of arithmetic processing are performed based on the designation from the CPU. It may be possible to select the arithmetic processing from among the above. As the timing to be specified, it is desirable to initialize the count value and the number of A / D conversions.

【0109】また、上記実施の形態(1)又は(2)に
係るA/D変換装置では、CPU31(41)からA/
D変換回数を設定することができるようにしているが、
別の実施の形態に係るA/D変換装置では、A/D変換
回数を固定させておき、CPU31(41)の負担が大
きくならないようにしても良い。
Further, in the A / D conversion device according to the above-mentioned embodiment (1) or (2), the CPU 31 (41) is used to control the A / D converter.
Although it is possible to set the number of D conversions,
In the A / D conversion device according to another embodiment, the number of A / D conversions may be fixed so that the load on the CPU 31 (41) does not increase.

【0110】また、上記実施の形態(1)又は(2)に
係るA/D変換装置では、同一チャンネルのアナログ信
号を繰り返しディジタル信号に変換するリピート変換に
ついてのみ説明しているが、異なったチャンネルのアナ
ログ信号を1チャンネル毎にディジタル信号に変換して
いくスキャン変換についても、上記と同様に実現するこ
とができ、例えば、複数の変換結果のうちの最大値(又
は最小値)を算出し、算出した最大値(又は最小値)が
何回目のA/D変換処理による変換結果であるのかとい
った情報を取得することによって、前記最大値(又は前
記最小値)がどのチャンネルから得られたものであるの
かといった情報についても取得することができる。
Further, in the A / D converter according to the above-mentioned embodiment (1) or (2), only the repeat conversion for repeatedly converting the analog signal of the same channel into the digital signal is explained, but the different channel is used. The scan conversion in which the analog signal of is converted into a digital signal for each channel can be realized in the same manner as described above. For example, the maximum value (or the minimum value) of a plurality of conversion results is calculated, By obtaining information such as how many times the calculated maximum value (or minimum value) is the conversion result of the A / D conversion processing, the maximum value (or the minimum value) can be obtained from which channel. Information such as whether or not there is also can be obtained.

【0111】また、ここでは、A/D変換制御回路33
(43)と、A/D変換器34(44)と、タイマ35
(45)とを含んで構成されるA/D変換装置32(4
2)を採用した信号処理システムについてのみ説明して
いるが、別の実施の形態に係る信号処理システムでは、
A/D変換装置には少なくともA/D変換器を有し、A
/D変換制御回路やタイマについては、前記A/D変換
装置とは独立した別の装置としても良い。
Further, here, the A / D conversion control circuit 33
(43), A / D converter 34 (44), and timer 35
(45) and an A / D conversion device 32 (4
Although only the signal processing system adopting 2) has been described, in the signal processing system according to another embodiment,
The A / D converter has at least an A / D converter, and
The / D conversion control circuit and the timer may be separate from the A / D conversion device.

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

【図1】本発明の実施の形態(1)に係るA/D変換装
置を採用した信号処理システムの要部を概略的に示した
ブロック図である。
FIG. 1 is a block diagram schematically showing a main part of a signal processing system that employs an A / D conversion device according to an embodiment (1) of the present invention.

【図2】図1に示した信号処理システムにおけるA/D
変換処理の動作手順を示したタイミングチャートであ
る。
FIG. 2 is an A / D in the signal processing system shown in FIG.
7 is a timing chart showing an operation procedure of conversion processing.

【図3】実施の形態(2)に係るA/D変換装置を採用
した信号処理システムの要部を概略的に示したブロック
図である。
FIG. 3 is a block diagram schematically showing a main part of a signal processing system that employs an A / D conversion device according to an embodiment (2).

【図4】図3に示した信号処理システムにおけるA/D
変換処理の動作手順を示したタイミングチャートであ
る。
4 is an A / D in the signal processing system shown in FIG.
7 is a timing chart showing an operation procedure of conversion processing.

【図5】別の実施の形態に係るA/D変換装置における
A/D変換制御回路の要部を概略的に示したブロック図
である。
FIG. 5 is a block diagram schematically showing a main part of an A / D conversion control circuit in an A / D conversion device according to another embodiment.

【図6】従来のA/D変換方式(リピート変換)を採用
した信号処理システムの要部を概略的に示したブロック
図である。
FIG. 6 is a block diagram schematically showing a main part of a signal processing system that employs a conventional A / D conversion method (repeat conversion).

【図7】図6に示した信号処理システムにおけるA/D
変換処理の動作手順を示したタイミングチャートであ
る。
7 is an A / D in the signal processing system shown in FIG.
7 is a timing chart showing an operation procedure of conversion processing.

【図8】従来のA/D変換方式(スキャン変換)を採用
した信号処理システムの要部を概略的に示したブロック
図である。
FIG. 8 is a block diagram schematically showing a main part of a signal processing system adopting a conventional A / D conversion method (scan conversion).

【図9】図8に示した信号処理システムにおけるA/D
変換処理の動作手順を示したタイミングチャートであ
る。
9 is an A / D in the signal processing system shown in FIG.
7 is a timing chart showing an operation procedure of conversion processing.

【図10】従来のA/D変換方式(シングル変換)を採
用した信号処理システムの要部を概略的に示したブロッ
ク図である。
FIG. 10 is a block diagram schematically showing a main part of a signal processing system adopting a conventional A / D conversion method (single conversion).

【図11】図10に示した信号処理システムにおけるA
/D変換処理の動作手順を示したタイミングチャートで
ある。
11 is a view of the signal processing system shown in FIG.
6 is a timing chart showing an operation procedure of a / D conversion process.

【図12】別の従来のA/D変換方式(シングル変換)
を採用した信号処理システムの要部を概略的に示したブ
ロック図である。
FIG. 12 Another conventional A / D conversion method (single conversion)
It is the block diagram which showed the principal part of the signal processing system which adopted the outline.

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

31、41 CPU 32、42 A/D変換装置 33、33A、43 A/D変換制御回路 34、44 A/D変換器 35、45 タイマ 31, 41 CPU 32, 42 A / D converter 33, 33A, 43 A / D conversion control circuit 34,44 A / D converter 35, 45 timer

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 アナログ信号をディジタル信号に変換す
るA/D変換処理を行うA/D変換手段と、 カウント動作を行い、所定のカウント値までのカウント
が終了すると、カウント終了を示すカウント終了信号を
出力するタイマ手段と、 該タイマ手段からの前記カウント終了信号を受けて、前
記A/D変換手段に対し、A/D変換開始の指示を与え
るA/D変換制御手段とを備えたA/D変換装置であっ
て、 前記A/D変換手段によるA/D変換処理が終了する
と、所定の回数、A/D変換処理が行われたか否かを判
断する判断手段と、 該判断手段による、前記所定の回数、A/D変換処理が
行われていないとの判断を受けて、前記タイマ手段に対
し、カウント動作を再起動させる再起動手段とを備える
と共に、 前記タイマ手段が、前記再起動手段からの指示を受け
て、カウント動作を再開するものであることを特徴とす
るA/D変換装置。
1. An A / D conversion means for performing an A / D conversion process for converting an analog signal into a digital signal, and a count end signal indicating the end of the count when the count operation is completed and the count up to a predetermined count value is completed. A / D conversion control means for outputting an A / D conversion control means for receiving the count end signal from the timer means and for giving an instruction to start the A / D conversion to the A / D conversion means. A D conversion device, wherein when the A / D conversion processing by the A / D conversion means is completed, a judgment means for judging whether or not the A / D conversion processing has been performed a predetermined number of times, and the judgment means, The timer means is provided with a restart means for restarting the counting operation in response to the judgment that the A / D conversion processing has not been performed for the predetermined number of times, and the timer means is configured to restart the count operation. In response to an instruction from the motion means, A / D converter, characterized in that is to resume counting.
【請求項2】 カウントすべきカウント値を記憶する第
1のカウント値記憶手段を備えると共に、 外部から入力されたカウント値が、前記第1のカウント
値記憶手段に書き込まれるように構成され、 前記タイマ手段が、前記第1のカウント値記憶手段に記
憶されているカウント値までのカウントが終了すると、
前記カウント終了信号を出力するものであることを特徴
とする請求項1記載のA/D変換装置。
2. A first count value storage means for storing a count value to be counted is provided, and a count value input from the outside is written in the first count value storage means. When the timer means finishes counting up to the count value stored in the first count value storage means,
The A / D conversion device according to claim 1, wherein the count end signal is output.
【請求項3】 外部から入力されたカウント値を記憶す
る第2のカウント値記憶手段を備えると共に、 所定の条件が満たされると、前記第2のカウント値記憶
手段に記憶されているカウント値が、前記第1のカウン
ト値記憶手段に書き込まれるように構成されていること
を特徴とする請求項2記載のA/D変換装置。
3. A second count value storage means for storing a count value input from the outside, and the count value stored in the second count value storage means when a predetermined condition is satisfied. 3. The A / D conversion device according to claim 2, wherein the A / D conversion device is configured to be written in the first count value storage means.
【請求項4】 前記所定の条件に、前記タイマ手段に対
するカウント動作開始の指示が行われることが含まれて
いることを特徴とする請求項3記載のA/D変換装置。
4. The A / D converter according to claim 3, wherein the predetermined condition includes an instruction to start the counting operation to the timer means.
【請求項5】 前記A/D変換手段で行われるべきA/
D変換処理の回数を記憶する回数記憶手段を備えると共
に、 外部から入力された回数が、前記回数記憶手段に書き込
まれるように構成され、 前記所定の回数が、前記回数記憶手段に記憶されている
回数であることを特徴とする請求項1〜4のいずれかの
項に記載のA/D変換装置。
5. A / D to be performed by the A / D conversion means
A number storage means for storing the number of times of D conversion processing is provided, and the number input from the outside is configured to be written in the number storage means, and the predetermined number is stored in the number storage means. It is the number of times, The A / D conversion device according to any one of claims 1 to 4.
【請求項6】 前記A/D変換手段による変換結果に基
づいて、所定の演算処理を行う演算手段を備えているこ
とを特徴とする請求項1〜5のいずれかの項に記載のA
/D変換装置。
6. The A according to any one of claims 1 to 5, further comprising arithmetic means for performing a predetermined arithmetic processing based on a conversion result by the A / D conversion means.
/ D converter.
【請求項7】 前記演算手段が、複数の変換結果の和、
複数の変換結果の平均値、複数の変換結果のうちの最大
値、複数の変換結果のうちの最小値、及び複数の変換結
果のうちの最大値と最小値との差のいずれかを求めるも
のであることを特徴とする請求項6記載のA/D変換装
置。
7. The calculation means is a sum of a plurality of conversion results,
Obtaining either the average value of multiple conversion results, the maximum value of multiple conversion results, the minimum value of multiple conversion results, or the difference between the maximum and minimum values of multiple conversion results The A / D conversion device according to claim 6, wherein
【請求項8】 前記演算手段が、複数種の演算処理を行
うことが可能であり、外部からの指定に基づいて、これ
ら複数種の演算処理の中から、演算処理の種類を選択
し、選択した種類の演算処理を行うものであることを特
徴とする請求項6又は請求項7記載のA/D変換装置。
8. The arithmetic means is capable of performing a plurality of types of arithmetic processing, and selects a type of arithmetic processing from these plural types of arithmetic processing based on designation from the outside and selects the arithmetic processing type. 8. The A / D conversion device according to claim 6 or 7, wherein the A / D conversion device performs the arithmetic processing of the type described above.
【請求項9】 前記演算手段による演算結果を記憶する
演算結果記憶手段を備えると共に、 前記演算手段により求められるものが、複数の変換結果
のうちの所望の値であり、 前記演算手段により求められる前記所望の値と、該所望
の値が得られた変換処理に対する、複数の変換処理の中
での処理順番とが前記演算結果記憶手段に書き込まれる
ように構成されていることを特徴とする請求項6〜8の
いずれかの項に記載のA/D変換装置。
9. A calculation result storage unit for storing a calculation result of the calculation unit is provided, and a value calculated by the calculation unit is a desired value out of a plurality of conversion results, and is calculated by the calculation unit. It is configured such that the desired value and a processing order of a plurality of conversion processes for the conversion process in which the desired value is obtained are written in the calculation result storage means. Item 9. The A / D conversion device according to any one of items 6 to 8.
【請求項10】 前記演算手段が、前記判断手段によ
る、前記所定の回数、A/D変換処理が行われたとの判
断を受けて、前記所定の演算処理を行うものであること
を特徴とする請求項6〜9のいずれかの項に記載のA/
D変換装置。
10. The arithmetic means performs the predetermined arithmetic processing in response to the determination by the determination means that the A / D conversion processing has been performed the predetermined number of times. A / according to any one of claims 6 to 9.
D converter.
【請求項11】 前記演算手段が、前記A/D変換手段
によるA/D変換処理の終了毎に、前記所定の演算処理
を行うものであることを特徴とする請求項6〜9のいず
れかの項に記載のA/D変換装置。
11. The arithmetic operation means performs the predetermined arithmetic processing every time the A / D conversion processing by the A / D conversion means is completed. The A / D conversion device according to the section.
【請求項12】 アナログ信号をディジタル信号に変換
するA/D変換処理を行うA/D変換手段と、 カウント動作を行い、所定のカウント値までのカウント
が終了すると、カウント終了を示すカウント終了信号を
出力するタイマ手段と、 該タイマ手段からの前記カウント終了信号を受けて、前
記A/D変換手段に対し、A/D変換開始の指示を与え
るA/D変換制御手段とを備えた信号処理システムであ
って、 前記A/D変換手段によるA/D変換処理が終了する
と、所定の回数、A/D変換処理が行われたか否かを判
断する判断手段と、 該判断手段による、前記所定の回数、A/D変換処理が
行われていないとの判断を受けて、前記タイマ手段に対
し、カウント動作を再起動させる再起動手段とを備える
と共に、 前記タイマ手段が、前記再起動手段からの指示を受け
て、カウント動作を再開するものであることを特徴とす
る信号処理システム。
12. An A / D conversion means for performing an A / D conversion process for converting an analog signal into a digital signal, and a count end signal indicating the end of the count when the count operation is completed and the count up to a predetermined count value is completed. Signal processing including timer means for outputting and a count end signal from the timer means, and A / D conversion control means for giving an instruction to start A / D conversion to the A / D conversion means. In the system, when the A / D conversion process by the A / D conversion unit is completed, a determination unit that determines whether or not the A / D conversion process has been performed a predetermined number of times, and the predetermined unit by the determination unit. And a restarting means for restarting the counting operation to the timer means in response to the judgment that the A / D conversion processing is not performed. Signal processing system characterized in that in response to an instruction from the restarting means, it is intended to resume the counting operation.
JP2001395835A 2001-12-27 2001-12-27 A / D converter and signal processing system Expired - Fee Related JP3870089B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001395835A JP3870089B2 (en) 2001-12-27 2001-12-27 A / D converter and signal processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001395835A JP3870089B2 (en) 2001-12-27 2001-12-27 A / D converter and signal processing system

Publications (2)

Publication Number Publication Date
JP2003198369A true JP2003198369A (en) 2003-07-11
JP3870089B2 JP3870089B2 (en) 2007-01-17

Family

ID=27602110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001395835A Expired - Fee Related JP3870089B2 (en) 2001-12-27 2001-12-27 A / D converter and signal processing system

Country Status (1)

Country Link
JP (1) JP3870089B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016103820A (en) * 2014-11-14 2016-06-02 ケースレー・インスツルメンツ・インコーポレイテッドKeithley Instruments,Inc. Data sample generation method
JP2019134410A (en) * 2018-02-01 2019-08-08 ローム株式会社 Semiconductor device, power supply management circuit and electronic apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016103820A (en) * 2014-11-14 2016-06-02 ケースレー・インスツルメンツ・インコーポレイテッドKeithley Instruments,Inc. Data sample generation method
JP2019134410A (en) * 2018-02-01 2019-08-08 ローム株式会社 Semiconductor device, power supply management circuit and electronic apparatus

Also Published As

Publication number Publication date
JP3870089B2 (en) 2007-01-17

Similar Documents

Publication Publication Date Title
JP4599312B2 (en) Analog / digital converter
KR20010043447A (en) Method for analog-digital conversion of analog signals and corresponding analog-digital converter array
US4473879A (en) Data transfer system in which time for transfer of data to a memory is matched to time required to store data in memory
EP0740059A2 (en) An A/D conversion control apparatus for an internal combustion engine
JP2003198369A (en) A/d converter and signal processing system
KR100270891B1 (en) Pulse signal generation circuit and pulse signal generation method
EP0224267A2 (en) Data processing apparatus
JPH09269870A (en) A/d converter
JP2773546B2 (en) Pulse generation circuit
JP2001243018A (en) Data converting device
JP4905260B2 (en) A / D converter
JP3165777B2 (en) Step-up motor slow-up / down control device
US20050143841A1 (en) Electronic controller
JP3190889B2 (en) Time division multiplex timer and control method of time division multiplex timer
JP3004972B2 (en) Data processing device
JPH08162953A (en) Analog/digital converter
JPH05135184A (en) Signal processor
RU1805472C (en) Device for memory addressing
JP2002314418A (en) Analog/digital converter unit and arithmetic unit employing the analog/digital converter unit
JPS63262716A (en) Analog input device
EP0474026A2 (en) Analog-to-digital conversion system using conversion command words
JPH08316836A (en) Signal processing circuit
JPH11133969A (en) Waveform memory device
JP2712741B2 (en) Reference signal generator
JP2004012967A (en) Audio signal processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060627

A521 Written amendment

Effective date: 20060828

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)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061010

A61 First payment of annual fees (during grant procedure)

Effective date: 20061016

Free format text: JAPANESE INTERMEDIATE CODE: A61

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

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091020

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101020

Year of fee payment: 4

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20111020

LAPS Cancellation because of no payment of annual fees