JP2000278131A - Analog / digital converter - Google Patents
Analog / digital converterInfo
- Publication number
- JP2000278131A JP2000278131A JP11084056A JP8405699A JP2000278131A JP 2000278131 A JP2000278131 A JP 2000278131A JP 11084056 A JP11084056 A JP 11084056A JP 8405699 A JP8405699 A JP 8405699A JP 2000278131 A JP2000278131 A JP 2000278131A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- analog
- digital data
- input
- analog signals
- 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.)
- Withdrawn
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば自動車のエ
ンジン制御等に用いられるアナログ/ディジタル(以
下、「A/D」という)変換装置、特に多数のアナログ
信号を順次切り替えてディジタルデータに変換するA/
D変換装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an analog / digital (hereinafter, referred to as "A / D") converter used for controlling an engine of an automobile, for example, and in particular, converts a large number of analog signals into digital data by sequentially switching. A /
The present invention relates to a D conversion device.
【0002】[0002]
【従来の技術】従来、このような分野の技術としては、
例えば次のような文献に記載されるものがあった。 文献:特開平10−112652号公報2. Description of the Related Art Conventionally, techniques in such a field include:
For example, there is one described in the following literature. Document: JP-A-10-112652
【0003】図2は、前記文献に開示された従来のA/
D変換装置を備えた内燃エンジン制御装置の構成図であ
る。この内燃エンジン制御装置は自動車等のエンジン制
御に用いられるもので、第1グループのアナログ信号A
0,A1,…,A7が入力され、これらのアナログ信号
A0〜A7を順次1つずつ選択して出力する入力回路1
と、第2グループのアナログ信号A8,A9,…,A1
5が入力され、これらのアナログ信号A8〜A15を順
次1つずつ選択して出力する入力回路2を有している。
入力回路1には、例えば、スロットルの開度を検出する
スロットル開度センサや、吸気管内の負圧を検出する負
圧センサ等から、変化速度の速いアナログ信号A0〜A
7が与えられるようになっている。一方、入力回路2に
は、大気圧を検出する大気圧センサ等から、変化速度の
遅いアナログ信号A8〜A15が与えられるようになっ
ている。FIG. 2 shows a conventional A / A disclosed in the above document.
1 is a configuration diagram of an internal combustion engine control device including a D conversion device. This internal combustion engine control device is used for controlling an engine of an automobile or the like.
0, A1,..., A7, and an input circuit 1 for sequentially selecting and outputting these analog signals A0 to A7 one by one.
, A1 of the second group of analog signals A8, A9,.
5, an input circuit 2 for sequentially selecting and outputting these analog signals A8 to A15 one by one.
The input circuit 1 includes, for example, analog signals A0 to A having a fast changing speed from a throttle opening sensor for detecting the opening of the throttle, a negative pressure sensor for detecting a negative pressure in the intake pipe, and the like.
7 is given. On the other hand, the input circuit 2 is supplied with analog signals A8 to A15 having a slow change speed from an atmospheric pressure sensor or the like for detecting the atmospheric pressure.
【0004】入力回路1,2の出力側には、切替スイッ
チ3が接続されている。切替スイッチ3は、入力回路
1,2の出力信号のいずれか一方を切り替えて出力する
もので、この切替スイッチ3の出力側にA/D変換器4
が接続されている。A/D変換器4は、切替スイッチ3
から与えられたアナログ信号をディジタルデータに変換
するもので、このA/D変換器4の出力側にレジスタ回
路5が接続されている。レジスタ回路5は、8個のディ
ジタルデータを保持するためのデータ保持領域R0,R
1,…,R7を有している。入力回路1,2、切替スイ
ッチ3、及びレジスタ回路5は切替制御部6から制御さ
れ、切替スイッチ3の状態に応じて入力回路1または2
で選択されたアナログ信号の変換結果が、レジスタ回路
5のデータ保持領域R0〜R7に順次保持されるように
なっている。そして、これらの入力回路1,2、切替ス
イッチ3、A/D変換器4、レジスタ回路5、及び切替
制御部6がA/D変換装置を構成している。A changeover switch 3 is connected to the output side of the input circuits 1 and 2. The changeover switch 3 switches and outputs one of the output signals of the input circuits 1 and 2, and an A / D converter 4 is provided on the output side of the changeover switch 3.
Is connected. The A / D converter 4 is a switch 3
The A / D converter 4 converts an analog signal given by the A / D converter into digital data, and a register circuit 5 is connected to the output side of the A / D converter 4. Register circuit 5 has data holding regions R0, R for holding eight digital data.
, R7. The input circuits 1 and 2, the changeover switch 3, and the register circuit 5 are controlled by the changeover control unit 6, and the input circuit 1 or 2 is controlled according to the state of the changeover switch 3.
The result of the conversion of the analog signal selected in (1) is sequentially held in the data holding areas R0 to R7 of the register circuit 5. The input circuits 1 and 2, the changeover switch 3, the A / D converter 4, the register circuit 5, and the switching control unit 6 constitute an A / D conversion device.
【0005】レジスタ回路5と切替制御部6は、システ
ムバス7を介して中央処理装置(以下、「CPU」とい
う)8に接続されている。システムバス7には、更にリ
ードオンリメモリ(以下、「ROM」という)9、ラン
ダムアクセスメモリ(以下、「RAM」という)10、
入出力回路11、出力回路12、及び回転数検出器13
が接続されている。CPU8は、ROM9に格納された
制御用のプログラムやデータに従って、内燃エンジンの
全体的な制御を行うものである。RAM10は処理途中
のデータ等を一時的に格納するもので、このRAM10
内に、第1グループのアナログ信号A0〜A7に対応す
る8個のディジタルデータD0〜D7を記憶するための
記憶領域10aと、第2グループのアナログ信号A8〜
A15に対応する8個のディジタルデータD8〜D15
を記憶するための記憶領域10bとが設けられている。[0005] The register circuit 5 and the switching control unit 6 are connected to a central processing unit (hereinafter, referred to as a “CPU”) 8 via a system bus 7. The system bus 7 further includes a read only memory (hereinafter, referred to as “ROM”) 9, a random access memory (hereinafter, referred to as “RAM”) 10,
Input / output circuit 11, output circuit 12, and rotation speed detector 13
Is connected. The CPU 8 controls the entire internal combustion engine according to control programs and data stored in the ROM 9. The RAM 10 temporarily stores data and the like that are being processed.
And a storage area 10a for storing eight digital data D0 to D7 corresponding to the first group of analog signals A0 to A7, and a second group of analog signals A8 to A8 to
Eight digital data D8 to D15 corresponding to A15
And a storage area 10b for storing the same.
【0006】入出力回路11は、イグニッションスイッ
チ等のオン/オフ状態を入力するとともに、吸気バルブ
の開閉等を指示するオン/オフ信号を出力するものであ
る。出力回路12は、エンジンに燃料を噴射供給するた
めのインジェクタを駆動する燃料噴射パルス等のディジ
タル信号を出力するものである。また、回転数検出器1
3は、エンジンのクランクシャフトの回転位置を示す位
置パルスNEや、エンジン回転数データを出力するもの
である。このような内燃エンジン制御装置では、変化速
度の速いアナログ信号A0〜A7を例えば10回連続し
て入力し、その後、変化速度の遅いアナログ信号A8〜
A15を1回入力するような繰り返し入力を行うように
なっている。The input / output circuit 11 inputs an on / off state of an ignition switch and the like, and outputs an on / off signal for instructing opening and closing of an intake valve. The output circuit 12 outputs a digital signal such as a fuel injection pulse for driving an injector for injecting and supplying fuel to the engine. Also, the rotation speed detector 1
Reference numeral 3 outputs a position pulse NE indicating the rotational position of the crankshaft of the engine and data on the engine speed. In such an internal combustion engine control device, the analog signals A0 to A7 having a fast changing speed are continuously input, for example, ten times, and then the analog signals A8 to A8 having a slow changing speed are input.
The input is repeated such that A15 is input once.
【0007】まず、CPU8からの制御に基づいて切替
制御部6によって入力回路1が選択され、この入力回路
1からアナログ信号A0〜A7が順次1つずつ選択され
て切替スイッチ3を介してA/D変換器4に与えられ
る。アナログ信号A0〜A7は、A/D変換器4によっ
て順次ディジタルデータD0〜D7に変換され、この変
換結果はレジスタ回路5の保持領域R0〜R7にそれぞ
れ保持される。即ち、アナログ信号A0に対応するディ
ジタルデータD0はデータ保持領域R0に保持され、以
下アナログ信号A1,A2,…に対応するディジタルデ
ータD1,D2,…が、データ保持領域R1,R2,…
にそれぞれ保持される。アナログ信号A7の変換が終了
すると、再びアナログ信号A0が選択され、データ保持
領域R0の内容は最新のディジタルデータD0に書き替
えられる。従って、入力回路1側が選択されている間、
CPU8はレジスタ回路5の所定のデータ保持領域R0
〜R7を読み出すことによって最新のアナログ信号A0
〜A7に対応するディジタルデータD0〜D7を得るこ
とができる。First, the input circuit 1 is selected by the switching control section 6 based on the control from the CPU 8, and the analog signals A 0 to A 7 are sequentially selected one by one from the input circuit 1, and the analog signals A / A 7 are switched through the changeover switch 3. It is provided to the D converter 4. The analog signals A0 to A7 are sequentially converted into digital data D0 to D7 by the A / D converter 4, and the conversion results are held in holding areas R0 to R7 of the register circuit 5, respectively. That is, the digital data D0 corresponding to the analog signal A0 is held in the data holding area R0, and the digital data D1, D2,... Corresponding to the analog signals A1, A2,.
Respectively. When the conversion of the analog signal A7 is completed, the analog signal A0 is selected again, and the contents of the data holding area R0 are rewritten with the latest digital data D0. Therefore, while the input circuit 1 side is selected,
The CPU 8 operates in a predetermined data holding area R0 of the register circuit 5.
To R7 to read the latest analog signal A0.
Digital data D0 to D7 corresponding to .about.A7 can be obtained.
【0008】入力回路1のアナログ信号A0〜A7が1
0回繰り返して変換された後、CPU8からの制御に基
づいて、切替制御部6によって入力回路2が選択され
る。この入力回路2の選択に先立って、レジスタ回路5
の各データ保持領域R0〜R7にそれぞれ保持されてい
る最新のディジタルデータD0〜D7は、RAM10内
に設けられた記憶領域10aに退避される。その後、入
力回路2が選択され、この入力回路2でアナログ信号A
8〜A15が順次1つずつ選択されて切替スイッチ3を
介してA/D変換器4に与えられる。アナログ信号A8
〜A15は、A/D変換器4によって順次ディジタルデ
ータD8〜D15に変換され、この変換結果はレジスタ
回路5のデータ保持領域R0〜R7にそれぞれ保持され
る。入力回路2が選択されている間は、レジスタ回路5
にはディジタルデータD0〜D7は保持されていないの
で、CPU8は必要に応じてRAM10内の記憶領域1
0aに退避されたディジタルデータD0〜D7を読み出
すことになる。When the analog signals A0 to A7 of the input circuit 1 are 1
After the conversion is repeated 0 times, the input circuit 2 is selected by the switching control unit 6 based on the control from the CPU 8. Prior to the selection of the input circuit 2, the register circuit 5
The latest digital data D0 to D7 held in the data holding areas R0 to R7 are saved in a storage area 10a provided in the RAM 10. After that, the input circuit 2 is selected, and the analog signal A
8 to A15 are sequentially selected one by one and supplied to the A / D converter 4 via the changeover switch 3. Analog signal A8
To A15 are sequentially converted into digital data D8 to D15 by the A / D converter 4, and the conversion results are held in data holding regions R0 to R7 of the register circuit 5, respectively. While the input circuit 2 is selected, the register circuit 5
Does not hold the digital data D0 to D7, the CPU 8 operates the storage area 1 in the RAM 10 as necessary.
The digital data D0 to D7 saved to 0a are read.
【0009】アナログ信号A8〜A15の変換が終了す
ると、レジスタ回路5のデータ保持領域R0〜R7に保
持されたディジタルデータD8〜D15は、RAM10
内に設けられた記憶領域10bに退避される。これによ
り、CPU8はRAM10内の記憶領域10bを読み出
すことによって、ディジタルデータD8〜D15を得る
ことができる。その後、再び入力回路1が選択され、ア
ナログ信号A0〜A7の入力とディジタルデータD0〜
D7への変換が繰り返して行われる。When the conversion of the analog signals A8 to A15 is completed, the digital data D8 to D15 held in the data holding areas R0 to R7 of the register circuit 5 are transferred to the RAM 10
It is saved to the storage area 10b provided in the inside. Thus, the CPU 8 can obtain digital data D8 to D15 by reading the storage area 10b in the RAM 10. Thereafter, the input circuit 1 is selected again, and the input of the analog signals A0 to A7 and the digital data D0 to D0 are selected.
Conversion to D7 is performed repeatedly.
【0010】このように、図2の内燃エンジン制御装置
におけるA/D変換装置では、複数のアナログ信号A0
〜A15を、変化速度の速いアナログ信号A0〜A7
と、変化速度の遅いアナログ信号A8〜A15とにグル
ープ分けし、変化速度の速い方のグループのA/D変換
を連続して複数回(ここでは、10回)行うようにして
いる。そして、グループの切り替えの時にのみレジスタ
回路5に保持したディジタルデータをRAM10内の対
応する記憶領域10a,10bに記憶するようにしてい
る。これにより、RAM10とレジスタ回路5との間の
データ転送処理の頻度を少なくすることが可能になり、
全体の処理能力を向上することができるようになってい
る。As described above, in the A / D converter in the internal combustion engine control device of FIG. 2, a plurality of analog signals A0
To A15 are analog signals A0 to A7 having a fast change speed.
And analog signals A8 to A15 having a slow change speed, and the A / D conversion of the group having the fast change speed is continuously performed a plurality of times (here, ten times). The digital data held in the register circuit 5 is stored in the corresponding storage areas 10a and 10b in the RAM 10 only when the group is switched. This makes it possible to reduce the frequency of data transfer processing between the RAM 10 and the register circuit 5,
The overall processing capacity can be improved.
【0011】[0011]
【発明が解決しようとする課題】しかしながら、従来の
内燃エンジン制御装置におけるA/D変換装置では、次
のような課題があった。即ち、入力回路2が選択され、
変化速度の遅いアナログ信号A8〜A15のA/D変換
が行われている間は、入力回路1に入力されるアナログ
信号A0〜A7のA/D変換処理は中断される。この場
合、例えば排気管内の酸素濃度を検出する酸素濃度セン
サ等のデータは、RAM10内のデータ記憶領域10a
に退避されたディジタルデータでも十分役に立つ。しか
し、例えば吸気管内の負圧を検出する負圧センサのデー
タのように、エンジンの回転位置と密接な関係を有する
場合、回転数検出器13から出力される位置パルスNE
に同期して最新のディジタルデータを得る必要がある。
従って、例えば切替スイッチ3が入力回路2側に切り替
えられていて、最新のディジタルデータが得られないと
エンジンの性能に大きな影響が生じる場合がある。However, the conventional A / D converter in the internal combustion engine control apparatus has the following problems. That is, the input circuit 2 is selected,
While the A / D conversion of the analog signals A8 to A15 having a slow change speed is being performed, the A / D conversion processing of the analog signals A0 to A7 input to the input circuit 1 is interrupted. In this case, for example, data of an oxygen concentration sensor for detecting the oxygen concentration in the exhaust pipe is stored in a data storage area 10a in the RAM 10.
The digital data saved in is also useful. However, for example, when the data has a close relationship with the rotational position of the engine, such as data from a negative pressure sensor that detects a negative pressure in the intake pipe, the position pulse NE output from the rotational speed detector 13 is used.
It is necessary to obtain the latest digital data in synchronization with.
Therefore, for example, when the changeover switch 3 is switched to the input circuit 2 side and the latest digital data cannot be obtained, the performance of the engine may be greatly affected.
【0012】本発明は、前記従来技術が持っていた課題
を解決し、複数のアナログ信号をグループ分けし、1つ
のA/D変換器を使用して順次変換を行う場合において
も、特定のアナログ信号については所定の周期でディジ
タルデータに変換することができるA/D変換装置を提
供するものである。[0012] The present invention solves the problems of the prior art, and when a plurality of analog signals are divided into groups and sequentially converted using one A / D converter, a specific analog signal can be obtained. An object of the present invention is to provide an A / D converter capable of converting a signal into digital data at a predetermined cycle.
【0013】[0013]
【課題を解決するための手段】前記課題を解決するため
に、本発明の内の第1の発明は、A/D変換装置におい
て、特定のアナログ信号を含むm(但し、mは複数)個
のアナログ信号が並列に入力され、第1の選択信号に従
ってこれらのアナログ信号を順番に1つずつを選択して
出力する第1の選択手段と、前記特定のアナログ信号を
含むn(但し、nはn≧mである整数)個のアナログ信
号が並列に入力され、第2の選択信号に従ってこれらの
アナログ信号を順番に1つずつ選択して出力する第2の
選択手段と、前記第1及び第2の選択手段の出力信号が
与えられ、切替信号に従っていずれか一方の出力信号を
切り替えて出力する切替手段を有している。更に、この
A/D変換装置は、前記切替手段によって切り替えて出
力された前記第1または第2の選択手段の出力信号をデ
ィジタルデータに変換するA/D変換手段と、前記切替
手段によって前記第1の選択手段の出力信号が出力され
ているときには、該第1の選択手段で選択されて前記A
/D変換手段で変換された前記m個のアナログ信号に対
応するm個のディジタルデータを保持し、該切替手段に
よって前記第2の選択手段の出力信号が出力されている
ときには、該第2の選択手段で選択されて該A/D変換
手段で変換された前記n個のアナログ信号に対応するn
個のディジタルデータを保持するための少なくともn個
のデータ保持領域を有するデータ保持手段とを備えてい
る。According to a first aspect of the present invention, there is provided an A / D converter comprising m (where m is a plurality) containing a specific analog signal. Are input in parallel, and a first selecting means for sequentially selecting and outputting these analog signals one by one in accordance with a first selection signal, and n (where n (N is an integer satisfying n ≧ m) analog signals are input in parallel, and the analog signals are sequentially selected and output one by one in accordance with a second selection signal. A switching unit is provided with an output signal of the second selecting unit, and switches and outputs one of the output signals according to the switching signal. Further, the A / D converter includes an A / D converter that converts an output signal of the first or second selector, which is output by switching by the switch, into digital data, When the output signal of the first selection means is being output, the signal is selected by the first selection means and the A signal is output.
Holding m digital data corresponding to the m analog signals converted by the / D conversion means, and when the output signal of the second selection means is output by the switching means, N corresponding to the n analog signals selected by the selection means and converted by the A / D conversion means
And data holding means having at least n data holding areas for holding digital data.
【0014】第1の発明によれば、以上のようにA/D
変換装置を構成したので、次のような作用が行われる。
切替手段が第1の選択手段側に切り替えられると、この
第1の切替手段に並列に入力される特定のアナログ信号
を含むm個のアナログ信号が第1の選択信号によって順
番に1つずつ選択され、この切替手段を介してA/D変
換手段に出力される。A/D変換手段に順番に与えられ
たm個のアナログ信号は、このA/D変換手段でそれぞ
れディジタルデータに変換されてデータ保持手段に出力
される。m個のアナログ信号に対応するm個のディジタ
ルデータは、データ保持手段の対応するデータ保持領域
にそれぞれ保持される。According to the first aspect of the present invention, the A / D
Since the conversion device is configured, the following operation is performed.
When the switching means is switched to the first selection means, m analog signals including a specific analog signal input in parallel to the first switching means are sequentially selected one by one by the first selection signal. The data is output to the A / D conversion means via the switching means. The m analog signals sequentially applied to the A / D conversion means are converted into digital data by the A / D conversion means and output to the data holding means. The m digital data corresponding to the m analog signals are respectively held in the corresponding data holding areas of the data holding means.
【0015】次に、切替手段が第2の選択手段側に切り
替えられると、この第2の切替手段に並列に入力される
前記特定のアナログ信号を含むn個のアナログ信号が第
2の選択信号によって順番に1つずつ選択され、この切
替手段を介してA/D変換手段に出力される。A/D変
換手段に順番に与えられたn個のアナログ信号は、この
A/D変換手段でそれぞれディジタルデータに変換され
てデータ保持手段に出力される。n個のアナログ信号に
対応するn個のディジタルデータは、データ保持手段の
対応するデータ保持領域にそれぞれ保持される。これに
より、特定のアナログ信号に対応する最新のディジタル
データは、切替手段の切替状態に関係なく、常にデータ
保持手段のデータ保持領域内に保持される。Next, when the switching means is switched to the second selecting means, n analog signals including the specific analog signal inputted in parallel to the second switching means are switched to the second selecting signal. Are sequentially selected one by one, and output to the A / D conversion means via this switching means. The n analog signals sequentially applied to the A / D converter are converted into digital data by the A / D converter and output to the data holding unit. The n digital data corresponding to the n analog signals are respectively held in corresponding data holding areas of the data holding means. Thus, the latest digital data corresponding to the specific analog signal is always held in the data holding area of the data holding unit regardless of the switching state of the switching unit.
【0016】第2の発明は、第1の発明において、前記
特定のアナログ信号を、前記第1の選択手段のi(但
し、iは1≦i≦mである整数)番目の入力側に与える
とともに、前記第2の選択手段の対応するi番目の入力
側に共通に与えるように構成している。第2の発明によ
れば、次のような作用が行われる。特定のアナログ信号
は、第1の選択手段と第2の選択手段の両方のi番目の
入力側に共通に与えられる。これにより、特定のアナロ
グ信号に対応する最新のディジタルデータは、切替手段
の切替状態に関係なく、常にデータ保持手段のi番目の
データ保持領域に保持される。In a second aspect based on the first aspect, the specific analog signal is supplied to an i-th input side (where i is an integer satisfying 1 ≦ i ≦ m) of the first selection means. At the same time, it is configured to commonly supply to the corresponding i-th input side of the second selecting means. According to the second aspect, the following operation is performed. The specific analog signal is commonly applied to the i-th input of both the first selecting means and the second selecting means. Thus, the latest digital data corresponding to the specific analog signal is always held in the i-th data holding area of the data holding unit regardless of the switching state of the switching unit.
【0017】[0017]
【発明の実施の形態】第1の実施形態 図1は、本発明の第1の実施形態を示すA/D変換装置
を備えた内燃エンジン制御装置の構成図であり、図2中
の要素と共通の要素には共通の符号が付されている。こ
の内燃エンジン制御装置は自動車等のエンジン制御に用
いられるもので、第1及び第2の選択手段(例えば、入
力回路)1,2を有している。入力回路1は、第1グル
ープのm個(例えば、8個)のアナログ信号A0,A
1,…,A7が並列に入力され、選択信号SEL1に従
ってこれらのアナログ信号A0〜A7を順番に1つずつ
選択して出力するものである。入力回路2は、第2グル
ープのn個(但し、n≧mで、例えば、8個)のアナロ
グ信号A8,A9,…,A15が並列に入力され、選択
信号SEL2に従ってこれらのアナログ信号A8〜A1
5を順番に1つずつ選択して出力するものである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 1 is a block diagram of an internal combustion engine control device provided with an A / D converter according to a first embodiment of the present invention. Common elements are denoted by common reference numerals. This internal combustion engine control device is used for controlling an engine of an automobile or the like, and has first and second selecting means (for example, input circuits) 1 and 2. The input circuit 1 includes m (eg, eight) analog signals A0, A of the first group.
, A7 are input in parallel, and these analog signals A0 to A7 are sequentially selected and output one by one according to a selection signal SEL1. The input circuit 2 receives n (where n ≧ m, for example, eight) analog signals A8, A9,..., A15 of the second group in parallel, and receives these analog signals A8 to A15 in accordance with the selection signal SEL2. A1
5 are selected and output one by one in order.
【0018】例えば、入力回路1のアナログ信号A0と
して、スロットル開度センサからスロットルの開度信号
VTHが、アナログ信号A1として吸気管内の負圧を検
出する負圧センサから負圧信号PBが、更にアナログ信
号A2として排気管内の酸素濃度を検出する酸素濃度セ
ンサから酸素濃度信号DO2等が、それぞれ入力されて
いる。また、入力回路2のアナログ信号A8として大気
圧センサから大気圧信号ATMが、アナログ信号A9と
してバッテリセンサからバッテリ電圧VBTが、アナロ
グ信号A10としてエンジンの冷却水温を検出する水温
センサから水温信号WTが、及びアナログ信号A11と
して外気温センサから外気温信号ATが、それぞれ入力
されている。更に、入力回路2のアナログ信号A15と
して、入力回路1のアナログ信号A1と同じ負圧信号P
Bが共通に与えられるようになっている。For example, as the analog signal A0 of the input circuit 1, the throttle opening signal VTH from the throttle opening sensor is obtained, and as the analog signal A1, the negative pressure signal PB is obtained from the negative pressure sensor for detecting the negative pressure in the intake pipe. As the analog signal A2, an oxygen concentration signal DO2 or the like is input from an oxygen concentration sensor that detects the oxygen concentration in the exhaust pipe. Further, the atmospheric pressure signal ATM from the atmospheric pressure sensor as the analog signal A8 of the input circuit 2, the battery voltage VBT from the battery sensor as the analog signal A9, and the water temperature signal WT from the water temperature sensor for detecting the cooling water temperature of the engine as the analog signal A10. , And an analog signal A11, an external air temperature signal AT is input from an external air temperature sensor. Further, as the analog signal A15 of the input circuit 2, the same negative pressure signal P as the analog signal A1 of the input circuit 1 is used.
B is commonly given.
【0019】入力回路1,2の出力側は、切替手段(例
えば、切替スイッチ)3の入力側に接続されている。切
替スイッチ3は、切替信号SWに従って入力回路1,2
の出力信号のいずれか一方を切り替えて出力するもの
で、この切替スイッチ3の出力側にA/D変換手段(例
えば、A/D変換器)4が接続されている。A/D変換
器4は、切替スイッチ3から供給されたアナログ信号を
ディジタルデータに変換するもので、このA/D変換器
4の出力側にはデータ保持手段(例えば、レジスタ回
路)5が接続されている。レジスタ回路5は、第1グル
ープまたは第2グループのディジタルデータを保持する
ために、少なくともn個(この場合は、8個)のデータ
保持領域R0,R1,…,R7を有している。入力回路
1,2、切替スイッチ3、及びレジスタ回路5は、切替
制御部6から与えられる選択信号SEL1,SEL2、
切替信号SW等でそれぞれ制御され、この切替スイッチ
3が入力回路1側に切り替えられているときには、この
入力回路1で選択されたアナログ信号A0〜A7の変換
結果のディジタルデータD0〜D7が、レジスタ回路5
のデータ保持領域R0〜R7に順次格納されるようにな
っている。また、切替スイッチ3が入力回路2側に切り
替えられているときには、この入力回路2で選択された
アナログ信号A8〜A15の変換結果のディジタルデー
タD8〜D15が、レジスタ回路5の同じデータ保持領
域R0〜R7に順次格納されるようになっている。そし
て、これらの入力回路1,2、切替スイッチ3、A/D
変換器4、レジスタ回路5、及び切替制御部6がA/D
変換装置を構成している。The output sides of the input circuits 1 and 2 are connected to the input side of a switching means (for example, a changeover switch) 3. The changeover switch 3 is connected to the input circuits 1 and 2 according to the changeover signal SW.
A / D conversion means (for example, A / D converter) 4 is connected to the output side of the changeover switch 3. The A / D converter 4 converts an analog signal supplied from the changeover switch 3 into digital data, and a data holding unit (for example, a register circuit) 5 is connected to an output side of the A / D converter 4. Have been. The register circuit 5 has at least n (in this case, eight) data holding regions R0, R1,..., R7 in order to hold the first group or the second group of digital data. The input circuits 1 and 2, the changeover switch 3, and the register circuit 5 are provided with selection signals SEL1 and SEL2 provided from the changeover control unit 6.
When the changeover switch 3 is switched to the input circuit 1 side, the digital data D0 to D7 as conversion results of the analog signals A0 to A7 selected by the input circuit 1 are stored in a register. Circuit 5
Are sequentially stored in the data holding areas R0 to R7. When the changeover switch 3 is switched to the input circuit 2 side, the digital data D8 to D15 obtained by converting the analog signals A8 to A15 selected by the input circuit 2 are stored in the same data holding region R0 of the register circuit 5. To R7. The input circuits 1 and 2, the changeover switch 3, and the A / D
The converter 4, the register circuit 5, and the switching control unit 6 perform A / D
A conversion device is configured.
【0020】レジスタ回路5及び切替制御部6は、シス
テムバス7を介してCPU8に接続されている。システ
ムバス7には、更に、ROM9、RAM10、入出力回
路11、出力回路12、回転数検出器13、及び周期タ
イマ14が接続されている。CPU8は、ROM9に格
納された制御用のプログラムやデータに従って内燃エン
ジンの全体的な制御を行うものである。RAM10は処
理途中のデータ等を一時的に記憶するもので、このRA
M10内に、第1グループのアナログ信号A0〜A7に
対応する8個のディジタルデータD0〜D7を記憶する
ための記憶領域10aと、第2グループのアナログ信号
A8〜A15に対応する8個のディジタルデータD8〜
D15を記憶するための記憶領域10bとが設けられて
いる。The register circuit 5 and the switching control unit 6 are connected to a CPU 8 via a system bus 7. The system bus 7 is further connected to a ROM 9, a RAM 10, an input / output circuit 11, an output circuit 12, a rotation speed detector 13, and a cycle timer 14. The CPU 8 controls the entire internal combustion engine in accordance with control programs and data stored in the ROM 9. The RAM 10 temporarily stores data and the like in the middle of processing.
A storage area 10a for storing eight digital data D0 to D7 corresponding to the first group of analog signals A0 to A7, and eight digital data corresponding to the second group of analog signals A8 to A15 in M10. Data D8 ~
A storage area 10b for storing D15 is provided.
【0021】入出力回路11は、イグニッションスイッ
チIGSやアイドルスイッチIDL等のオン/オフ状態
を入力するとともに、吸気バルブIV等の開閉や燃料ポ
ンプFPの制御を指示するオン/オフ信号を出力するも
のである。出力回路12は、エンジンに燃料を噴射供給
するためのインジェクタを駆動する燃料噴射パルスIJ
P、点火装置の点火時期を定める点火時期制御信号IG
N、及び排気ガス再循環装置(EGR装置)のEGR弁
の開閉を制御する制御信号EGR等のディジタル信号を
出力するものである。回転数検出器13は、エンジンの
クランクシャフトの回転位置を示す位置パルスNEを1
回転について2パルスずつ出力するとともに、この位置
パルスNEをカウントすることによって、エンジン回転
数データを出力するものである。また、周期タイマ14
は、所定の時間間隔(例えば、1ms)毎に、CPU8
に対して割り込みをかけるための割込信号INTを出力
するものである。The input / output circuit 11 inputs an on / off state of an ignition switch IGS, an idle switch IDL, and the like, and outputs an on / off signal for instructing opening / closing of an intake valve IV and the like and control of a fuel pump FP. It is. The output circuit 12 includes a fuel injection pulse IJ for driving an injector for injecting and supplying fuel to the engine.
P, an ignition timing control signal IG that determines the ignition timing of the ignition device
N and a digital signal such as a control signal EGR for controlling the opening and closing of an EGR valve of an exhaust gas recirculation device (EGR device). The rotation number detector 13 outputs a position pulse NE indicating the rotation position of the crankshaft of the engine to one.
The engine rotation speed data is output by outputting two pulses for each rotation and counting the position pulse NE. Also, the periodic timer 14
Is executed at predetermined time intervals (for example, 1 ms).
And outputs an interrupt signal INT for interrupting.
【0022】図3は、図1におけるA/D変換処理の概
略の動作を示すタイムチャートである。以下、この図3
を参照しつつ、図1の動作を説明する。まず、図3の時
刻t0において、切替信号SWがレベル“H”にセット
され、入力回路2側のアナログ信号A8〜A15の変換
が行われているとする。時刻t1において、周期タイマ
14から割込信号INTが出力され、CPU8に割り込
みがかけられると、このCPU8による割込処理によっ
て、レジスタ回路5のデータ保持領域R0〜R7にそれ
ぞれ保持されているディジタルデータD8〜D15が、
RAM10内の記憶領域10bに退避される。時刻t2
において、ディジタルデータD8〜D15のRAM10
への退避処理が終了すると、CPU8からの制御に基づ
いて切替制御部6からの切替信号SWがレベル“L”に
セットされ、切替スイッチ3は入力回路1側に切り替え
られる。また、レジスタ回路5の保持内容の確定/不確
定を示すためのフラグFLGが“L”にセットされ、こ
のレジスタ回路5の保持内容が不確定であることが表示
される。更に選択信号SEL1によって、入力回路1か
らアナログ信号A0〜A7が順次1つずつ選択されて切
替スイッチ3を介してA/D変換器4に与えられる。FIG. 3 is a time chart showing a schematic operation of the A / D conversion processing in FIG. Hereinafter, FIG.
1 will be described with reference to FIG. First, it is assumed that at time t0 in FIG. 3, the switching signal SW is set to the level “H”, and the analog signals A8 to A15 on the input circuit 2 side are being converted. At time t1, an interrupt signal INT is output from the periodic timer 14 and the CPU 8 is interrupted. When the CPU 8 interrupts, the digital data held in the data holding areas R0 to R7 of the register circuit 5 by the interrupt processing. D8 to D15 are
The data is saved in the storage area 10b in the RAM 10. Time t2
In the RAM 10 of the digital data D8 to D15.
When the save processing is completed, the switching signal SW from the switching control unit 6 is set to the level “L” based on the control from the CPU 8, and the switching switch 3 is switched to the input circuit 1 side. Further, the flag FLG for indicating the determination / indefiniteness of the held content of the register circuit 5 is set to "L", and it is displayed that the held content of the register circuit 5 is indefinite. Further, analog signals A0 to A7 are sequentially selected one by one from the input circuit 1 by the selection signal SEL1 and supplied to the A / D converter 4 via the changeover switch 3.
【0023】アナログ信号A0〜A7は、A/D変換器
4によって順次ディジタルデータD0〜D7に変換さ
れ、この変換結果はレジスタ回路5のデータ保持領域R
0〜R7にそれぞれ保持される。即ち、アナログ信号A
0に対応するディジタルデータD0はデータ保持領域R
0に保持され、以下アナログ信号A1,A2,…,A7
に対応するディジタルデータD1,D2,…,D7が、
データ保持領域R1,R2,…,R7にそれぞれ保持さ
れる。時刻t3において、アナログ信号A7の変換が終
了すると、フラグFLGが“H”にセットされ、レジス
タ回路5の保持内容が確定したことが表示される。更に
選択信号SEL1によってアナログ信号A0〜A7が順
次選択され、データ保持領域R0〜R7の内容は、最新
のディジタルデータD0〜D7に順次書き替えられる。
時刻t1から例えば1ms経過した時刻t4において、
周期タイマ14からCPU8に割り込みがかけられる
と、このCPU8による割込処理によって、レジスタ回
路5のデータ保持領域R0〜R7にそれぞれ保持されて
いるディジタルデータD0〜D7が、RAM10内の記
憶領域10aに退避される。The analog signals A0 to A7 are sequentially converted into digital data D0 to D7 by the A / D converter 4, and the conversion result is stored in the data holding area R of the register circuit 5.
0 to R7. That is, the analog signal A
The digital data D0 corresponding to 0 is stored in the data holding area R
0, and the analog signals A1, A2,.
Digital data D1, D2,..., D7 corresponding to
The data are held in the data holding regions R1, R2,..., R7. At time t3, when the conversion of the analog signal A7 is completed, the flag FLG is set to “H”, indicating that the content held in the register circuit 5 is determined. Further, the analog signals A0 to A7 are sequentially selected by the selection signal SEL1, and the contents of the data holding regions R0 to R7 are sequentially rewritten to the latest digital data D0 to D7.
At time t4 when 1 ms elapses from time t1, for example,
When the periodic timer 14 interrupts the CPU 8, the digital data D 0 to D 7 held in the data holding areas R 0 to R 7 of the register circuit 5 are stored in the storage area 10 a in the RAM 10 by the interrupt processing by the CPU 8. Will be evacuated.
【0024】時刻t5において、ディジタルデータD0
〜D7のRAM10への退避処理が終了すると、CPU
8からの制御に基づいて切替制御部6からの切替信号S
Wが“H”にセットされて切替スイッチ3は入力回路2
側に切り替えられるとともに、フラグFLGが“L”に
セットされる。更に選択信号SEL2によって、入力回
路2からアナログ信号A8〜A15が順次1つずつ選択
されて切替スイッチ3を介してA/D変換器4に与えら
れる。アナログ信号A8〜A15は、A/D変換器4に
よって順次ディジタルデータD8〜D15に変換され、
この変換結果はレジスタ回路5のデータ保持領域R0〜
R7にそれぞれ保持される。即ち、アナログ信号A8に
対応するディジタルデータD8はデータ保持領域R0に
保持され、以下アナログ信号A9,A10,…,A15
に対応するディジタルデータD9,D10,…,D15
が、データ保持領域R1,R2,…,R7にそれぞれ保
持される。時刻t6において、アナログ信号A15の変
換が終了すると、フラグFLGが“H”にセットされる
とともに、再び選択信号SEL2によってアナログ信号
A8〜A15が順次選択され、データ保持領域R0〜R
7の内容は最新のディジタルデータD8〜D15に書き
替えられる。At time t5, digital data D0
When the save processing of D7 to D7 in the RAM 10 is completed, the CPU
8, the switching signal S from the switching control unit 6 based on the control from
W is set to “H”, and the changeover switch 3
And the flag FLG is set to "L". Further, the analog signals A8 to A15 are sequentially selected one by one from the input circuit 2 by the selection signal SEL2 and supplied to the A / D converter 4 via the changeover switch 3. The analog signals A8 to A15 are sequentially converted into digital data D8 to D15 by the A / D converter 4,
This conversion result is stored in the data holding areas R0 to R0 of the register circuit 5.
Each is held in R7. That is, the digital data D8 corresponding to the analog signal A8 is held in the data holding area R0, and the analog signals A9, A10,.
, D15,..., D15
Are held in the data holding regions R1, R2,..., R7. At time t6, when the conversion of the analog signal A15 is completed, the flag FLG is set to “H”, and the analog signals A8 to A15 are sequentially selected again by the selection signal SEL2, and the data holding regions R0 to R5 are selected.
7 is rewritten to the latest digital data D8 to D15.
【0025】時刻t4から例えば1ms経過した時刻t
7において、周期タイマ14からCPU8に割り込みが
かけられると、このCPU8による割込処理によって、
時刻t1のときと同様に、レジスタ回路5のデータ保持
領域R0〜R7にそれぞれ保持されているディジタルデ
ータD8〜D15が、RAM10内の記憶領域10bに
退避される。このような繰り返しにより、1ms周期で
入力回路1,2が交互に切り替えられ、アナログ信号A
0〜A7とアナログ信号A8〜A15とが交互にA/D
変換されてレジスタ回路5及びRAM10に格納され
る。Time t, for example, 1 ms after time t4
7, when the CPU 8 is interrupted by the periodic timer 14, the interrupt processing by the CPU 8
As at the time t1, the digital data D8 to D15 held in the data holding areas R0 to R7 of the register circuit 5 are saved to the storage area 10b in the RAM 10. By such repetition, the input circuits 1 and 2 are alternately switched at a period of 1 ms, and the analog signal A
0 to A7 and analog signals A8 to A15 are alternately A / D
The data is converted and stored in the register circuit 5 and the RAM 10.
【0026】一方、有効なディジタルデータD0〜D1
5が格納された場所は、フラグFLGと切替信号SWの
値によって、次のように特定される。即ち、フラグFL
Gが“H”で、切替信号SWが“L”のとき、最新のデ
ィジタルデータD0〜D7は、レジスタ回路5のデータ
保持領域R0〜R7に保持され、有効なディジタルデー
タD8〜D15がRAM10の記憶領域10bに格納さ
れている。フラグFLGが“H”で、切替信号SWが
“H”のとき、最新のディジタルデータD8〜D15
は、レジスタ回路5のデータ保持領域R0〜R7に保持
され、有効なディジタルデータD0〜D7がRAM10
の記憶領域10aに格納されている。また、フラグFL
Gが“L”のときには、有効なディジタルデータD0〜
D15はRAM10の記憶領域10a,10bに格納さ
れている。On the other hand, valid digital data D0 to D1
The location where 5 is stored is specified as follows by the value of the flag FLG and the value of the switching signal SW. That is, the flag FL
When G is "H" and the switching signal SW is "L", the latest digital data D0 to D7 are held in the data holding areas R0 to R7 of the register circuit 5, and the valid digital data D8 to D15 are stored in the RAM 10. It is stored in the storage area 10b. When the flag FLG is “H” and the switching signal SW is “H”, the latest digital data D8 to D15
Are stored in data holding regions R0 to R7 of the register circuit 5, and valid digital data D0 to D7 are stored in the RAM 10
Is stored in the storage area 10a. Also, the flag FL
When G is "L", valid digital data D0 to D0
D15 is stored in the storage areas 10a and 10b of the RAM 10.
【0027】ここで、入力回路1のアナログ信号A1
と、入力回路2のアナログ信号A15には、同じ負圧信
号PBが共通に入力されているので、ディジタルデータ
D1,D15は、ともに負圧信号PBをA/D変換した
ディジタルデータとなる。従って、例えば回転数検出器
13から位置パルスNEが与えられたときに、フラグF
LGが“H”で、切替信号SWが“L”であれば、CP
U8はレジスタ回路5のデータ保持領域R1を読み出す
ことによって最新の負圧信号PBに対応するディジタル
データを得ることができる。フラグFLGが“H”で、
切替信号SWが“H”であれば、CPU8はレジスタ回
路5のデータ保持領域R7を読み出すことによって最新
の負圧信号PBに対応するディジタルデータを得ること
ができる。また、フラグFLGが“L”のときには、切
替信号SWの状態に応じて、RAM10の記憶領域10
a,10bを読み出すことによって最新の負圧信号PB
に対応するディジタルデータを得ることができる。Here, the analog signal A1 of the input circuit 1
Since the same negative pressure signal PB is commonly input to the analog signal A15 of the input circuit 2, the digital data D1 and D15 are both digital data obtained by A / D conversion of the negative pressure signal PB. Therefore, for example, when the position pulse NE is given from the rotation speed detector 13, the flag F
If LG is “H” and the switching signal SW is “L”, CP
U8 can obtain digital data corresponding to the latest negative pressure signal PB by reading the data holding region R1 of the register circuit 5. When the flag FLG is “H”,
If the switching signal SW is "H", the CPU 8 can obtain digital data corresponding to the latest negative pressure signal PB by reading the data holding area R7 of the register circuit 5. When the flag FLG is “L”, the storage area 10 of the RAM 10 is changed according to the state of the switching signal SW.
a, 10b, the latest negative pressure signal PB
Can be obtained.
【0028】以上のように、この第1の実施形態のA/
D変換装置を備えた内燃エンジン制御装置は、常に最新
のディジタルデータを必要とする特定のアナログ信号
(例えば、吸気管の負圧信号PB)を、2つの入力回路
1,2に共通に入力するようにしているので、この負圧
信号PBを所定の周期でディジタルデータに変換するこ
とができるという利点がある。更に、2つの入力回路
1,2の切り替えは、定められた一定の周期で行われる
ので、RAM10とレジスタ回路5との間のデータ転送
処理等の切り替えのための処理を簡素化することが可能
になり、全体の処理能力を向上することができるという
利点がある。As described above, A /
An internal combustion engine control device provided with a D conversion device commonly inputs a specific analog signal (for example, a negative pressure signal PB of an intake pipe) requiring the latest digital data to the two input circuits 1 and 2. This has the advantage that the negative pressure signal PB can be converted into digital data at a predetermined cycle. Further, since the switching between the two input circuits 1 and 2 is performed at a predetermined fixed cycle, it is possible to simplify the processing for switching the data transfer processing and the like between the RAM 10 and the register circuit 5. And there is an advantage that the overall processing capability can be improved.
【0029】第2の実施形態 図4は、本発明の第2の実施形態を示すA/D変換装置
を備えた内燃エンジン制御装置の構成図であり、図1中
の要素と共通の要素には共通の符号が付されている。こ
の図4の内燃エンジン制御装置と、図1の内燃エンジン
制御装置との相違は、入力回路1,2に対する負圧信号
PBの入力箇所であり、その他の構成は、同様である。
即ち、図1では負圧信号PBは、入力回路1のアナログ
信号A1と、入力回路2のアナログ信号A15として共
通に入力されるようになっている。これに対して、図4
では負圧信号PBは、入力回路のアナログ信号A7と、
これに対応する入力回路2のアナログ信号A15として
共通に入力されるようになっている。 Second Embodiment FIG. 4 is a block diagram of an internal combustion engine control apparatus provided with an A / D converter according to a second embodiment of the present invention. The elements common to those in FIG. Are denoted by common symbols. The difference between the internal combustion engine control device of FIG. 4 and the internal combustion engine control device of FIG. 1 resides in the position where the negative pressure signal PB is input to the input circuits 1 and 2, and the other configurations are the same.
That is, in FIG. 1, the negative pressure signal PB is commonly input as the analog signal A1 of the input circuit 1 and the analog signal A15 of the input circuit 2. In contrast, FIG.
Then, the negative pressure signal PB is the analog signal A7 of the input circuit,
The corresponding analog signal A15 of the input circuit 2 is commonly input.
【0030】このため、図1の負圧信号PBのA/D変
換結果は、入力回路1側に切り替えられたときにはレジ
スタ回路5のデータ保持領域R1に保持され、入力回路
2側に切り替えられたときにはレジスタ回路5のデータ
保持領域R7に保持される。一方、図4では、負圧信号
PBのA/D変換結果は、入力回路1,2の切り替え状
態とは無関係に、常にレジスタ回路5のデータ保持領域
R7に保持される。従って、この第2の実施形態では、
第1の実施形態の利点に加えて、レジスタ回路5のデー
タ保持領域R7を参照することにより、常に最新の負圧
信号PBに対応するディジタルデータを得ることができ
るという利点がある。For this reason, when the A / D conversion result of the negative pressure signal PB in FIG. 1 is switched to the input circuit 1 side, it is held in the data holding area R1 of the register circuit 5 and switched to the input circuit 2 side. Sometimes, the data is held in the data holding area R7 of the register circuit 5. On the other hand, in FIG. 4, the A / D conversion result of the negative pressure signal PB is always held in the data holding area R7 of the register circuit 5 irrespective of the switching state of the input circuits 1 and 2. Therefore, in the second embodiment,
In addition to the advantages of the first embodiment, by referring to the data holding area R7 of the register circuit 5, there is an advantage that digital data corresponding to the latest negative pressure signal PB can always be obtained.
【0031】なお、本発明は、上記実施形態に限定され
ず、種々の変形が可能である。この変形例としては、例
えば、次の(a)〜(e)のようなものがある。 (a) 図1及び図4では、A/D変換装置を備えた内
燃エンジン制御装置を示しているが、このA/D変換装
置は内燃エンジン制御装置に組み込まれたものに限定さ
れず、どの様な制御に対しても適用可能である。 (b) 入力回路1,2のアナログ信号の入力数は、そ
れぞれ8個に限定されない。それぞれ必要に応じた任意
の数のアナログ信号を入力することができる。 (c) 入力回路1,2の数は2個に限定されず、更に
多数の入力回路を用いてアナログ信号をグループ分けし
ても良い。 (d) 切替スイッチ3による入力回路1,2の切り替
え周期は1msに限定されず、適用する制御装置に合わ
せて任意の周期を設定することができる。また、入力回
路1,2の切替時間は同じである必要はない。例えば、
変化速度の速いアナログ信号が入力される入力回路1側
に連続して10ms間切り替え、変化速度の遅いアナロ
グ信号が入力される入力回路2側に1ms間切り替える
ようにしても良い。 (e) 特定のアナログ信号として、負圧信号PBを1
つだけ、入力回路1,2に共通に与えるように構成して
いるが、必要に応じて2つ以上のアナログ信号を入力回
路1,2に共通に与えるように構成しても良い。The present invention is not limited to the above embodiment, and various modifications are possible. For example, there are the following modifications (a) to (e). (A) FIGS. 1 and 4 show an internal combustion engine control device provided with an A / D conversion device. However, this A / D conversion device is not limited to that incorporated in the internal combustion engine control device. It is applicable to such control. (B) The number of analog signals input to the input circuits 1 and 2 is not limited to eight. An arbitrary number of analog signals can be input as required. (C) The number of input circuits 1 and 2 is not limited to two, and analog signals may be grouped using more input circuits. (D) The switching cycle of the input circuits 1 and 2 by the changeover switch 3 is not limited to 1 ms, and an arbitrary cycle can be set according to the control device to be applied. Further, the switching times of the input circuits 1 and 2 do not need to be the same. For example,
The switching may be continuously performed for 10 ms to the input circuit 1 to which an analog signal having a fast changing speed is input, and may be switched for 1 ms to the input circuit 2 to which an analog signal having a slow changing speed is input. (E) The negative pressure signal PB is set to 1 as a specific analog signal.
Although only one input signal is provided to the input circuits 1 and 2, two or more analog signals may be supplied to the input circuits 1 and 2 as needed.
【0032】[0032]
【発明の効果】以上詳細に説明したように、第1の発明
によれば、特定のアナログ信号を、第1の選択手段と第
2の選択手段の両方に共通に与えるように構成してい
る。これにより、切替手段の切替状態に関係なく、その
特定のアナログ信号を所定の周期でディジタルデータに
変換することができるという効果がある。第2の発明に
よれば、特定のアナログ信号を、第1の選択手段と第2
の選択手段の対応する同じ順番の入力側に共通に与える
ように構成している。これにより、第1の発明と同様の
効果に加えて、常に同一のデータ保持領域を参照するこ
とによって、この特定のアナログ信号に対応するディジ
タルデータを得ることができるという効果がある。As described in detail above, according to the first aspect, a specific analog signal is provided to both the first selecting means and the second selecting means in common. . Thus, there is an effect that the specific analog signal can be converted into digital data at a predetermined cycle regardless of the switching state of the switching unit. According to the second invention, the specific analog signal is transmitted to the first selecting unit and the second analog signal.
Are provided in common to corresponding input terminals in the same order of the selecting means. Thus, in addition to the same effect as that of the first aspect, there is an effect that digital data corresponding to this specific analog signal can be obtained by always referring to the same data holding area.
【図面の簡単な説明】[Brief description of the drawings]
【図1】本発明の第1の実施形態を示すA/D変換装置
を備えた内燃エンジン制御装置の構成図である。FIG. 1 is a configuration diagram of an internal combustion engine control device including an A / D converter according to a first embodiment of the present invention.
【図2】従来のA/D変換装置を備えた内燃エンジン制
御装置の構成図である。FIG. 2 is a configuration diagram of an internal combustion engine control device including a conventional A / D converter.
【図3】図1におけるA/D変換処理の概略の動作を示
すタイムチャートである。FIG. 3 is a time chart showing a schematic operation of an A / D conversion process in FIG. 1;
【図4】本発明の第2の実施形態を示すA/D変換装置
を備えた内燃エンジン制御装置の構成図である。FIG. 4 is a configuration diagram of an internal combustion engine control device including an A / D converter according to a second embodiment of the present invention.
1,2 入力回路 3 切替スイッチ 4 A/D変換器 5 レジスタ回路 6 切替制御部 7 システムバス 8 CPU 9 ROM 10 RAM 10a,10b 記憶領域 13 回転数検出器 14 周期タイマ 1, 2 input circuit 3 changeover switch 4 A / D converter 5 register circuit 6 changeover control unit 7 system bus 8 CPU 9 ROM 10 RAM 10a, 10b storage area 13 rotation speed detector 14 cycle timer
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5J022 AA01 BA10 CA10 CD02 CE08 CF07 CF08 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5J022 AA01 BA10 CA10 CD02 CE08 CF07 CF08
Claims (2)
は複数)個のアナログ信号が並列に入力され、第1の選
択信号に従ってこれらのアナログ信号を順番に1つずつ
選択して出力する第1の選択手段と、 前記特定のアナログ信号を含むn(但し、nはn≧mで
ある整数)個のアナログ信号が並列に入力され、第2の
選択信号に従ってこれらのアナログ信号を順番に1つず
つ選択して出力する第2の選択手段と、 前記第1及び第2の選択手段の出力信号が与えられ、切
替信号に従っていずれか一方の出力信号を切り替えて出
力する切替手段と、 前記切替手段によって切り替えて出力された前記第1ま
たは第2の選択手段の出力信号をディジタルデータに変
換するアナログ/ディジタル変換手段と、 前記切替手段によって前記第1の選択手段の出力信号が
出力されているときには、該第1の選択手段で選択され
て前記アナログ/ディジタル変換手段で変換された前記
m個のアナログ信号に対応するm個のディジタルデータ
を保持し、該切替手段によって前記第2の選択手段の出
力信号が出力されているときには、該第2の選択手段で
選択されて該アナログ/ディジタル変換手段で変換され
た前記n個のアナログ信号に対応するn個のディジタル
データを保持するための少なくともn個のデータ保持領
域を有するデータ保持手段とを、 備えたことを特徴とするアナログ/ディジタル変換装
置。1. m (including m) including a specific analog signal
A plurality of analog signals are input in parallel, a first selecting means for sequentially selecting and outputting these analog signals one by one in accordance with a first selection signal, and n (n) including the specific analog signal (Where n is an integer satisfying n ≧ m) analog signals are input in parallel, and a second selecting means for sequentially selecting and outputting these analog signals one by one in accordance with a second selection signal; Switching means for receiving output signals of the first and second selection means and switching and outputting one of the output signals in accordance with a switching signal; and the first or second selection means switched and output by the switching means Analog / digital conversion means for converting an output signal of the means into digital data; and when the output signal of the first selection means is being output by the switching means, the first selection means is provided. Holding m digital data corresponding to the m analog signals selected by the stage and converted by the analog / digital conversion means, and the switching means outputs the output signal of the second selection means; When at least, at least n data holding areas for holding n digital data corresponding to the n analog signals selected by the second selecting means and converted by the analog / digital converting means are provided. An analog / digital conversion device, comprising:
選択手段のi(但し、iは1≦i≦mである整数)番目
の入力側に与えるとともに、前記第2の選択手段の対応
するi番目の入力側に共通に与えるように構成したこと
を特徴とする請求項1記載のアナログ/ディジタル変換
装置。2. The method according to claim 1, wherein the specific analog signal is supplied to an i-th input side (where i is an integer satisfying 1 ≦ i ≦ m) of the first selecting means, and 2. An analog / digital conversion apparatus according to claim 1, wherein said analog / digital conversion apparatus is configured to apply a common signal to an i-th input side.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11084056A JP2000278131A (en) | 1999-03-26 | 1999-03-26 | Analog / digital converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11084056A JP2000278131A (en) | 1999-03-26 | 1999-03-26 | Analog / digital converter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000278131A true JP2000278131A (en) | 2000-10-06 |
Family
ID=13819850
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11084056A Withdrawn JP2000278131A (en) | 1999-03-26 | 1999-03-26 | Analog / digital converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000278131A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008301456A (en) * | 2007-06-04 | 2008-12-11 | Yamaha Motor Electronics Co Ltd | A/d conversion apparatus |
| JP2013524638A (en) * | 2010-03-30 | 2013-06-17 | クアルコム,インコーポレイテッド | Efficient simultaneous sampling at various rates |
| JP2014022990A (en) * | 2012-07-19 | 2014-02-03 | Denso Corp | Ad conversion circuit |
| JP2015502675A (en) * | 2011-10-06 | 2015-01-22 | マイクロチップ テクノロジー インコーポレイテッドMicrochip Technology Incorporated | Capacitance measurement of a capacitive sensor using a microcontroller with a digital output to drive a guard ring |
| US9467141B2 (en) | 2011-10-07 | 2016-10-11 | Microchip Technology Incorporated | Measuring capacitance of a capacitive sensor with a microcontroller having an analog output for driving a guard ring |
| US9805572B2 (en) | 2011-10-06 | 2017-10-31 | Microchip Technology Incorporated | Differential current measurements to determine ion current in the presence of leakage current |
| US9823280B2 (en) | 2011-12-21 | 2017-11-21 | Microchip Technology Incorporated | Current sensing with internal ADC capacitor |
-
1999
- 1999-03-26 JP JP11084056A patent/JP2000278131A/en not_active Withdrawn
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008301456A (en) * | 2007-06-04 | 2008-12-11 | Yamaha Motor Electronics Co Ltd | A/d conversion apparatus |
| JP2013524638A (en) * | 2010-03-30 | 2013-06-17 | クアルコム,インコーポレイテッド | Efficient simultaneous sampling at various rates |
| JP2015502675A (en) * | 2011-10-06 | 2015-01-22 | マイクロチップ テクノロジー インコーポレイテッドMicrochip Technology Incorporated | Capacitance measurement of a capacitive sensor using a microcontroller with a digital output to drive a guard ring |
| US9805572B2 (en) | 2011-10-06 | 2017-10-31 | Microchip Technology Incorporated | Differential current measurements to determine ion current in the presence of leakage current |
| US9467141B2 (en) | 2011-10-07 | 2016-10-11 | Microchip Technology Incorporated | Measuring capacitance of a capacitive sensor with a microcontroller having an analog output for driving a guard ring |
| US9823280B2 (en) | 2011-12-21 | 2017-11-21 | Microchip Technology Incorporated | Current sensing with internal ADC capacitor |
| JP2014022990A (en) * | 2012-07-19 | 2014-02-03 | Denso Corp | Ad conversion circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1115341A (en) | Engine control system | |
| US4282573A (en) | Processor interrupt device for an electronic engine control apparatus | |
| JPS5918248A (en) | Fuel injection controlling method for internal combustion engine | |
| US4683859A (en) | Apparatus for injecting fuel into internal combustion engine | |
| EP0017218B1 (en) | Method of electronically controlling internal combustion engines | |
| US4354239A (en) | Fuel injection control system for an internal combustion engine | |
| JP2000278131A (en) | Analog / digital converter | |
| JP3538867B2 (en) | A / D conversion control device for internal combustion engine | |
| JPH0120301B2 (en) | ||
| US4831536A (en) | Method of processing controlled variables in engine control system | |
| US5572977A (en) | Fuel injection control system for an internal combustion engine | |
| US4428348A (en) | Digital control system for an internal combustion engine | |
| US4428051A (en) | Electronic control apparatus for internal combustion engine | |
| US5734920A (en) | Input/output processing IC | |
| US5274833A (en) | Data-flow processor having timer control mechanism for effecting time control processing by creating or introducing timer packet into data path | |
| JPH0223268A (en) | Ignition timing control device for internal combustion engine | |
| US4814992A (en) | Fuel injection control system for engine | |
| US4964050A (en) | Method of controlling electrical devices of internal combustion engines | |
| JPS6217343A (en) | Fuel injection control system | |
| JPH06137242A (en) | Air-fuel ratio control device of engine | |
| US4892077A (en) | Fuel injection control method for internal combustion engines | |
| JPH08130472A (en) | A/d converter | |
| JPH03149330A (en) | Fuel supply device | |
| JP2000027683A (en) | Method for controlling inake-air volume in internal combustion engine | |
| JPS5838337A (en) | Control system for fuel injection of engine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20060606 |