JP2001060146A - A/d converter controller - Google Patents
A/d converter controllerInfo
- Publication number
- JP2001060146A JP2001060146A JP11234222A JP23422299A JP2001060146A JP 2001060146 A JP2001060146 A JP 2001060146A JP 11234222 A JP11234222 A JP 11234222A JP 23422299 A JP23422299 A JP 23422299A JP 2001060146 A JP2001060146 A JP 2001060146A
- Authority
- JP
- Japan
- Prior art keywords
- converter
- conversion data
- control circuit
- software
- activation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Navigation (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、車載用ナビゲーシ
ョン装置等に搭載されているA/Dコンバータを制御す
る装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for controlling an A / D converter mounted on a vehicle-mounted navigation device or the like.
【0002】[0002]
【従来の技術】従来のA/Dコンバータを制御する装置
について図2と図3を用いて説明する。図2に示すよう
に、従来のA/Dコンバータ制御装置は、A/Dコンバ
ータ11と、A/Dコンバータ11へのアクセスを制御
するA/Dコンバータ制御回路12と、A/Dコンバー
タ11から出力するA/D変換データを格納するA/D
変換データ格納制御回路13と、A/Dコンバータ11
へのアクセスを起動する起動タイマ14とを備え、アプ
リケーションプログラムであるソフトウェアSにより所
定の作業を実行する。2. Description of the Related Art A conventional device for controlling an A / D converter will be described with reference to FIGS. As shown in FIG. 2, a conventional A / D converter control device includes an A / D converter 11, an A / D converter control circuit 12 for controlling access to the A / D converter 11, and an A / D converter 11. A / D for storing A / D conversion data to be output
Conversion data storage control circuit 13 and A / D converter 11
And a start timer 14 for activating access to the server, and a predetermined operation is executed by software S which is an application program.
【0003】A/Dコンバータアクセス制御回路12
は、起動タイマ14により定期的に起動されて、A/D
コンバータ11ヘアクセスシーケンスを行い、A/D変
換データをA/D変換データ格納制御回路13に上書き
格納し、そしてソフトウェアSが不定期にそのA/D変
換データを読み出して利用するように構成されていた。A / D converter access control circuit 12
Is started periodically by the start timer 14 and the A / D
An access sequence is performed to the converter 11, the A / D conversion data is overwritten and stored in the A / D conversion data storage control circuit 13, and the software S is read out and uses the A / D conversion data at irregular intervals. I was
【0004】また図3に示すように、従来の別のA/D
コンバータ制御装置は、A/Dコンバータ21と、A/
Dコンバータ21へのアクセスを制御するA/Dコンバ
ータ制御回路22と、A/Dコンバータ21から出力す
るA/D変換データを格納し終了通知を行うA/D変換
データ格納制御回路23と、ソフトウェアSによって起
動される起動制御回路24とを備えている。As shown in FIG. 3, another conventional A / D converter is used.
The converter control device includes an A / D converter 21 and an A / D converter.
An A / D converter control circuit 22 for controlling access to the D converter 21; an A / D conversion data storage control circuit 23 for storing A / D conversion data output from the A / D converter 21 and notifying the end; And an activation control circuit 24 activated by S.
【0005】A/Dコンバータアクセス制御回路22
は、直接、起動制御回路24を通してソフトウェアSに
より起動され、A/Dコンバータ21ヘアクセスシーケ
ンスを行い、A/D変換データをA/D変換データ格納
制御回路23に上書き格納し終了通知を行い、ソフトウ
ェアSがそのA/D変換データを読み出して利用するよ
うに構成されていた。A / D converter access control circuit 22
Is directly activated by the software S through the activation control circuit 24, performs an access sequence to the A / D converter 21, overwrites the A / D conversion data in the A / D conversion data storage control circuit 23, and performs a completion notification, The software S is configured to read and use the A / D conversion data.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、上記従
来のA/Dコンバータ制御装置においては、図2に示す
ように、起動タイマ4の起動によりA/D変換データを
獲得する場合、緊急にソフトウェアSが最新のA/D変
換データを必要としても、タイマによる起動直前の時は
A/D変換データ格納制御回路13に格納されているA
/D変換データがその時点では古くなっているという問
題があり、その対策として起動タイマ14による起動間
隔を短くすると、消費電力が大きくなってしまうという
問題を有していた。However, in the above-described conventional A / D converter control device, when the A / D conversion data is acquired by activating the activation timer 4 as shown in FIG. Needs the latest A / D conversion data, the A / D conversion data stored in the A / D conversion data storage control circuit 13 just before activation by the timer.
There is a problem that the / D conversion data is out of date at that time, and as a countermeasure against this, if the startup interval by the startup timer 14 is shortened, the power consumption becomes large.
【0007】また、図3に示すように、ソフトウェアS
による起動でA/D変換データを獲得する場合、毎回ソ
フトウェアSが起動を行わなければならず、ソフトウェ
アSの負担が増加してシステム全体の処理速度が低下す
るという問題を有していた。[0007] Further, as shown in FIG.
When the A / D conversion data is acquired by the activation by the software, the software S has to be activated every time, so that the load on the software S increases and the processing speed of the entire system decreases.
【0008】本発明は、上記従来技術の問題を解決する
もので、消費電力を増加させず、またソフトウエアの負
担も増やさずに、最新のA/D変換データが必要な時に
最新のA/D変換データを獲得できる優れたA/Dコン
バータ制御装置を提供するものである。The present invention solves the above-mentioned problems of the prior art, and does not increase the power consumption and does not increase the load on the software, so that the latest A / D conversion data is required when the latest A / D conversion data is required. An object of the present invention is to provide an excellent A / D converter control device capable of acquiring D conversion data.
【0009】[0009]
【課題を解決するための手段】本発明のA/Dコンバー
タ制御装置は、定期的にA/DコンバータのA/D変換
データを取得する手段と、ソフトウェアにより起動され
て前記A/DコンバータのA/D変換データを取得する
手段と、前記2つの手段を切り替える制御手段とを備え
た構成を有している。この構成により、消費電力を増加
させず、またソフトウェアの負担も増やさずに、最新の
A/D変換データが必要な時に最新のA/D変換データ
を獲得できることとなる。An A / D converter control device according to the present invention includes a means for periodically acquiring A / D conversion data of an A / D converter, and an A / D converter which is activated by software to activate the A / D converter. It has a configuration including means for acquiring A / D conversion data and control means for switching between the two means. With this configuration, the latest A / D conversion data can be obtained when the latest A / D conversion data is required without increasing power consumption and increasing the load on software.
【0010】また、本発明のA/Dコンバータ制御装置
は、A/Dコンバータヘのアクセスを制御するアクセス
制御手段と、前記A/Dコンバータから出力するA/D
変換データを格納するデータ格納制御手段と、前記A/
Dコンバータへのアクセスを起動するタイマ手段と、ソ
フトウェアによって制御される起動制御手段と、前記タ
イマ手段からの起動と前記起動制御手段からの起動を切
り替える切替制御手段とを備えた構成を有している。こ
の構成により、消費電力を増加させず、またソフトウェ
アの負担も増やさずに、最新のA/D変換データが必要
な時に最新のA/D変換データを獲得できることとな
る。Further, the A / D converter control device of the present invention comprises an access control means for controlling an access to the A / D converter, and an A / D converter which outputs from the A / D converter.
Data storage control means for storing the conversion data;
A timer means for activating access to the D converter; a start control means controlled by software; and a switching control means for switching between activation from the timer means and activation from the activation control means. I have. With this configuration, it is possible to obtain the latest A / D conversion data when the latest A / D conversion data is required without increasing power consumption and increasing the load on software.
【0011】[0011]
【発明の実施の形態】以下、本発明の実施の形態につい
て、図1を用いて説明する。図1に示すように、本実施
の形態におけるA/Dコンバータ制御装置は、A/Dコ
ンバータ1と、A/Dコンバータ1へのアクセスを制御
するA/Dコンバータアクセス制御回路2と、A/Dコ
ンバータ1から出力するA/D変換データを格納し終了
通知を行うA/D変換データ格納制御回路3と、A/D
コンバータ1へのアクセスを起動する起動タイマ4と、
ソフトウェアSによって起動される起動制御回路5と、
起動タイマ4からの起動と起動制御回路5からの起動を
切り替える切替制御回路6とを備えている。Embodiments of the present invention will be described below with reference to FIG. As shown in FIG. 1, the A / D converter control device according to the present embodiment includes an A / D converter 1, an A / D converter access control circuit 2 for controlling access to the A / D converter 1, and an A / D converter access control circuit 2. An A / D conversion data storage control circuit 3 for storing A / D conversion data output from the D converter 1 and notifying the end of the A / D conversion data;
A start timer 4 for starting access to the converter 1;
An activation control circuit 5 activated by the software S;
A switching control circuit 6 for switching between activation from the activation timer 4 and activation from the activation control circuit 5 is provided.
【0012】次に、上記実施の形態の動作について説明
する。まず通常時は、起動タイマ4が定期的に起動をか
け、A/Dコンバータアクセス制御回路2はアクセスシ
ーケンスを実行して、A/Dコンバータ1から出力され
るA/D変換データをA/D変換データ格納制御回路3
に格納する。Next, the operation of the above embodiment will be described. First, at normal time, the start timer 4 starts periodically, the A / D converter access control circuit 2 executes an access sequence, and converts A / D conversion data output from the A / D converter 1 into A / D data. Conversion data storage control circuit 3
To be stored.
【0013】緊急に最新のA/D変換データが必要な時
は、ソフトウェアSは、起動制御回路5に起動を指示し
て、切替制御回路6を通じてA/Dコンバータアクセス
制御回路2に起動をかけ、A/Dコンバータ1ヘアクセ
スシーケンスを行い、取得したA/D変換データをA/
D変換データ格納制御回路3に格納して終了通知を行
う。この時、切替制御回路6は、起動タイマ4からの起
動と起動制御回路5からの起動の調停を行い、不都合が
発生しないように制御する。When the latest A / D conversion data is urgently needed, the software S instructs the activation control circuit 5 to activate, and activates the A / D converter access control circuit 2 through the switching control circuit 6. Performs an access sequence to the A / D converter 1 and converts the obtained A / D converted data into A / D data.
The data is stored in the D-conversion data storage control circuit 3 to notify the end. At this time, the switching control circuit 6 performs arbitration between the activation from the activation timer 4 and the activation from the activation control circuit 5, and performs control so that no inconvenience occurs.
【0014】このように、本実施の形態によれば、通常
時は起動タイマ3により定期的にA/D変換データをA
/D変換データ格納制御回路3に格納し表示できるの
で、ソフトウェアSの負担の少なくできる。また、緊急
に最新のA/D変換データが必要な時は、ソフトウェア
Sによる起動制御回路5の起動によってA/D変換デー
タを取得できるので、消費電力を増やすことなく、最新
のA/D変換データを獲得できる。As described above, according to the present embodiment, the A / D conversion data is periodically transmitted to the A / D conversion
Since the data can be stored and displayed in the / D conversion data storage control circuit 3, the load on the software S can be reduced. When the latest A / D conversion data is urgently needed, the A / D conversion data can be acquired by activating the activation control circuit 5 by the software S. Therefore, the latest A / D conversion data can be obtained without increasing power consumption. You can get data.
【0015】なお、以上の説明では、起動タイマ4によ
る起動とソフトウェアSによる起動とを切替制御回路6
により切り替える例で説明したが、起動タイマ4で起動
したA/Dコンバータ1ヘのアクセスシーケンスと、ソ
フトウェアSで起動したアクセスシーケンス自体を切り
替える場合についても同様に実施可能である。In the above description, the switching control circuit 6 switches between activation by the activation timer 4 and activation by the software S.
However, the present invention can be similarly applied to a case where the access sequence to the A / D converter 1 started by the start timer 4 and the access sequence itself started by the software S are switched.
【0016】[0016]
【発明の効果】以上のように本発明は、通常時はタイマ
により定期的にA/Dコンバータヘアクセスシーケンス
を起動して、A/D変換データをレジスタに格納してお
き、緊急に最新のA/D変換データが必要な時には、ソ
フトウェアによる起動に切り替えてA/Dコンバータヘ
アクセスシーケンスを実行し、最新のA/D変換データ
をレジスタに格納し終了通知を行うようにしたので、消
費電力を増加させず、またソフトウェアの負担も増やさ
ずに、最新のA/D変換データが必要な時に最新のA/
D変換データを獲得できるという優れた効果が得られ
る。As described above, according to the present invention, the access sequence to the A / D converter is periodically started by the timer at normal times, the A / D conversion data is stored in the register, and the latest When the A / D conversion data is needed, it is switched to activation by software, the access sequence to the A / D converter is executed, the latest A / D conversion data is stored in the register, and the end notification is performed. The latest A / D conversion data is required when the latest A / D conversion data is needed without increasing the load on the software.
An excellent effect that D conversion data can be obtained is obtained.
【図1】本発明の実施の形態におけるA/Dコンバータ
制御装置の概略構成を示すブロック図FIG. 1 is a block diagram showing a schematic configuration of an A / D converter control device according to an embodiment of the present invention.
【図2】従来のタイマ起動のA/Dコンバータ制御装置
における概略構成を示すブロック図FIG. 2 is a block diagram showing a schematic configuration of a conventional timer-activated A / D converter control device;
【図3】従来のソフトウェア起動のA/Dコンバータ制
御装置における概略構成を示すブロック図FIG. 3 is a block diagram showing a schematic configuration of a conventional software-activated A / D converter control device.
1 A/Dコンバータ 2 A/Dコンバータアクセス制御回路 3 A/D変換データ格納制御回路 4 起動タイマ 5 起動制御回路 6 切替制御回路 S ソフトウェア 1 A / D converter 2 A / D converter access control circuit 3 A / D conversion data storage control circuit 4 Start timer 5 Start control circuit 6 Switching control circuit S software
Claims (2)
データを取得する手段と、ソフトウェアにより起動され
て前記A/DコンバータのA/D変換データを取得する
手段と、前記2つの手段を切り替える制御手段とを備え
たA/Dコンバータ制御装置。A means for periodically acquiring A / D conversion data of the A / D converter; a means activated by software to acquire A / D conversion data of the A / D converter; and the two means. A / D converter control device, comprising: control means for switching between the two.
るアクセス制御手段と、前記A/Dコンバータから出力
するA/D変換データを格納するデータ格納制御手段
と、前記A/Dコンバータへのアクセスを起動するタイ
マ手段と、ソフトウェアによって制御される起動制御手
段と、前記タイマ手段からの起動と前記起動制御手段か
らの起動を切り替える切替制御手段とを備えたA/Dコ
ンバータ制御装置。2. An access control means for controlling access to an A / D converter, a data storage control means for storing A / D conversion data output from the A / D converter, and an access to the A / D converter. An A / D converter control device, comprising: timer means for activating the program, activation control means controlled by software, and switching control means for switching between activation from the timer means and activation from the activation control means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11234222A JP2001060146A (en) | 1999-08-20 | 1999-08-20 | A/d converter controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11234222A JP2001060146A (en) | 1999-08-20 | 1999-08-20 | A/d converter controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2001060146A true JP2001060146A (en) | 2001-03-06 |
Family
ID=16967620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11234222A Pending JP2001060146A (en) | 1999-08-20 | 1999-08-20 | A/d converter controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2001060146A (en) |
-
1999
- 1999-08-20 JP JP11234222A patent/JP2001060146A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0499440A2 (en) | A circuit arrangement for a mobile telephone | |
EP0676686A3 (en) | Power management architecture for computer systems. | |
JP2002189606A (en) | Processing execution device and storage medium | |
EP2186010B1 (en) | Electronic device with cpu and interrupt relay stage | |
CN110386081A (en) | Multimedia entertainment system, method and the vehicle of vehicle | |
JP2001060146A (en) | A/d converter controller | |
JP2007058347A (en) | Receiver device and control method for the same | |
JP2010097427A (en) | Processing apparatus, processing method and computer program | |
JP2010102567A (en) | Periodical task execution device, periodical task execution method, and program | |
JP3758477B2 (en) | Microcomputer | |
US6148409A (en) | Data transmission system | |
US20030088724A1 (en) | Asynchronous bus interface apparatus | |
WO2018116450A1 (en) | Wireless communication device and control program | |
JP2561340B2 (en) | Information processing device | |
JP2005186770A (en) | On-vehicular device and its power source control method | |
JPH10333790A (en) | Information processor equipped with power-saving function and power saving releasing method for the information processor | |
CN118025050A (en) | Vehicle power management method, vehicle machine system, vehicle and storage medium | |
JPH0883133A (en) | Computer system and clock control method for the same | |
JPH0410094B2 (en) | ||
JPH0675654A (en) | Power saving system for computer | |
JPS6158019A (en) | Power keeping device | |
JPH05265602A (en) | Power management control device | |
JPH1039957A (en) | Reset control circuit | |
JPH01205312A (en) | Bus conversion device | |
JP2000307779A5 (en) |