JPH01177121A - Serial communication system for a/d converter - Google Patents
Serial communication system for a/d converterInfo
- Publication number
- JPH01177121A JPH01177121A JP63001563A JP156388A JPH01177121A JP H01177121 A JPH01177121 A JP H01177121A JP 63001563 A JP63001563 A JP 63001563A JP 156388 A JP156388 A JP 156388A JP H01177121 A JPH01177121 A JP H01177121A
- Authority
- JP
- Japan
- Prior art keywords
- conversion
- data
- converter
- level
- terminal
- 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
Links
- 238000004891 communication Methods 0.000 title claims description 7
- 238000006243 chemical reaction Methods 0.000 claims abstract description 43
- 238000000034 method Methods 0.000 claims abstract description 4
- 230000005540 biological transmission Effects 0.000 abstract description 2
- 230000005764 inhibitory process Effects 0.000 abstract description 2
- 230000002401 inhibitory effect Effects 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000002826 coolant Substances 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P30/00—Technologies relating to oil refining and petrochemical industry
- Y02P30/20—Technologies relating to oil refining and petrochemical industry using bio-feedstock
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
処理装置からAD (アナログ/デジタル)変換装置に
対しAD変換を許可する命令と禁止する命令を送り、不
要なAD変換データの受信を防止する。[Detailed Description of the Invention] [Summary] A processing device sends an instruction to permit AD conversion and a command to prohibit AD conversion to an AD (analog/digital) conversion device, thereby preventing reception of unnecessary AD conversion data.
本発明は、AD変換装置から必要時にAD変換データを
受信するシリアル通信方式に関する。The present invention relates to a serial communication method for receiving AD conversion data from an AD conversion device when necessary.
多チャンネルのAD変換装置から必要時に要求チャンネ
ルのAD変換データだけを受信するシリアル通信方式で
は、処理装置からの要求チャンネルデータの送信がAD
変換開始信号ともなるため、その信号ラインに電気的な
ノイズが混入した場合、要求もしていないときに不要な
AD変換データが処理装置で誤受信される欠点がある。In a serial communication method that receives only AD conversion data of a requested channel from a multi-channel AD conversion device when necessary, the transmission of requested channel data from a processing device is
Since it also serves as a conversion start signal, there is a drawback that if electrical noise is mixed into the signal line, unnecessary AD conversion data may be received by the processing device erroneously when it is not requested.
[発明が解決しようとする問題点〕
上述したノイズをフィルタで除去しようとしても、シリ
アル通信ではスタート信号をクロック同期で送信するた
め、該フィルタを使用することができない。[Problems to be Solved by the Invention] Even if it is attempted to remove the above-mentioned noise with a filter, the filter cannot be used in serial communication because the start signal is transmitted in synchronization with a clock.
本発明は処理装置側からAD変換を許可/禁止する命令
を出すことで、不要なAD変換データの誤受信を防止し
ようとするものである。The present invention attempts to prevent erroneous reception of unnecessary AD conversion data by issuing a command from the processing device side to permit/prohibit AD conversion.
本発明は、AD変換装置に要求チャンネルのデータを送
って該チャンネルのAD変換データを受信する処理装置
が、該AD変換装置に対し、該要求チャンネルのデータ
を送信する直前にAD変換を許可する命令を出し、また
該AD変換データを受信した直後に該AD変換を禁止す
る命令を出すことを特徴とするものである。In the present invention, a processing device that sends data of a requested channel to an AD converter and receives AD converted data of the channel allows the AD converter to perform AD conversion immediately before transmitting data of the requested channel. The present invention is characterized in that it issues a command and, immediately after receiving the AD conversion data, issues a command to inhibit the AD conversion.
AD変換装置はAD変換を禁止する命令を受けた後は該
変換を許可する命令を受けるまでAD変換が禁止される
。従って、その間にノイズで誤ってAD変換開始が指示
されても、実際にはAD変換は行われないので、処理装
置側に不要なAD変換データが入力することはない。After the AD conversion device receives a command to prohibit AD conversion, AD conversion is prohibited until it receives a command to permit the conversion. Therefore, even if AD conversion is erroneously instructed to start due to noise during that time, AD conversion will not actually be performed, and unnecessary AD conversion data will not be input to the processing device side.
第1図は本発明の一実施例を示すシステム構成図で、l
はAD変換装置、2は処理装置(マイクロコンピュータ
)である。このシステムは例えばエンジン制御用で、複
数のアナログ入力チャンネルCHI、CH2,・・・・
・・(エンジン冷却水温、吸気管圧力等)の1つをマル
チプレクサ(MPX)11で選択してAD変換器(AD
C)12でAD変換する。処理装置2はAD変換データ
をシリアル通信で受信してメモリ (RAM)21に取
込み、点火制御や燃料噴射制御等を行う。受信するAD
変換データのチャンネルは要求チャンネルデータで指定
できる。FIG. 1 is a system configuration diagram showing an embodiment of the present invention.
2 is an AD conversion device, and 2 is a processing device (microcomputer). This system, for example for engine control, has multiple analog input channels CHI, CH2,...
... (engine coolant temperature, intake pipe pressure, etc.) is selected by the multiplexer (MPX) 11 and the AD converter (AD
C) Perform AD conversion at 12. The processing device 2 receives AD conversion data via serial communication, stores it in a memory (RAM) 21, and performs ignition control, fuel injection control, etc. AD to receive
The conversion data channel can be specified by request channel data.
この要求チャンネルデータとAD変換データはいずれも
第2図に示すフォーマットの8ビツトシリアルデータで
、先端1ビツトにL(ロー)レベルのスタート信号5T
ARTを付し、また後端2ビツトにH(ハイ)レベルの
ストップ信号5TOPヲ付シである。Both the requested channel data and the AD conversion data are 8-bit serial data in the format shown in Figure 2, with a start signal 5T of L (low) level at the leading bit.
ART is attached, and a stop signal 5TOP of H (high) level is attached to the trailing 2 bits.
AD変換装置lはチップセレクト端子C8を有し、従来
はここを固定的に接地して常にA、D変換可能な状態に
している。これに対し本発明では処理装置2の端子Aの
レベルでAD変換の許可/禁止を制御する。端子Aのレ
ベルをH,Lに切替えるのは処理装置2のプログラムで
あり、そのタイミングは第3図に示すようになる。つま
り、要求チャンネルデータを送出する直前に端子AをL
にしく許可命令を出し)、AD変換データを受信した直
後に端子AをHにする(禁止命令を出す)ということで
ある。The AD converter 1 has a chip select terminal C8, which is conventionally fixedly grounded so that A and D conversion is possible at all times. On the other hand, in the present invention, permission/inhibition of AD conversion is controlled at the level of terminal A of the processing device 2. It is the program of the processing device 2 that switches the level of the terminal A between H and L, and the timing thereof is as shown in FIG. In other words, just before transmitting the requested channel data, terminal A is set to L.
Immediately after receiving the AD conversion data, terminal A is set to H (issues a prohibition command).
このようにすると端子AがHレベルのときに要求チャン
ネルのラインにノイズがのり、それが第2図のスタート
信号5TARTの形をとっても、AD変換装置1が活性
化されていないのでAD変換は行われず、従って処理装
置2が不要なAD変換データを受は取って有害な処理(
例えばRAM21内のデータ破壊)をすることが防止さ
れる。In this way, when terminal A is at H level, noise is added to the line of the requested channel, and even if it takes the form of the start signal 5TART shown in Figure 2, AD conversion is not performed because AD converter 1 is not activated. Therefore, the processing device 2 receives unnecessary AD conversion data and performs harmful processing (
For example, data destruction in the RAM 21 is prevented.
以上述べたように本発明によれば、外部のAD変換装置
からシリアル通信でAD変換データを受取る処理装置が
、不要なAD変換データで誤動作することを防止できる
。As described above, according to the present invention, a processing device that receives AD conversion data from an external AD conversion device via serial communication can be prevented from malfunctioning due to unnecessary AD conversion data.
第1図は本発明のシステム構成図、 第2図はシリアルデータの構成図、 第3図は第1図のタイムチャートである。 出 願 人 富士通テン株式会社 代理人弁理士 青 柳 稔 FIG. 1 is a system configuration diagram of the present invention, Figure 2 is a configuration diagram of serial data, FIG. 3 is a time chart of FIG. 1. Sender: Fujitsu Ten Ltd. Representative Patent Attorney Minoru Ao Yanagi
Claims (1)
チャンネルのAD変換データを受信する処理装置が、該
AD変換装置に対し、該要求チャンネルのデータを送信
する直前にAD変換を許可する命令を出し、また該AD
変換データを受信した直後に該AD変換を禁止する命令
を出すことを特徴とするAD変換装置とのシリアル通信
方式。1. A processing device that sends data on a requested channel to an AD converter and receives AD converted data on the channel issues a command to the AD converter to permit AD conversion immediately before transmitting data on the requested channel. out, and also the AD
A serial communication method with an AD converter, characterized in that immediately after receiving converted data, a command to inhibit the AD conversion is issued.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63001563A JPH01177121A (en) | 1988-01-07 | 1988-01-07 | Serial communication system for a/d converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63001563A JPH01177121A (en) | 1988-01-07 | 1988-01-07 | Serial communication system for a/d converter |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01177121A true JPH01177121A (en) | 1989-07-13 |
JPH0570169B2 JPH0570169B2 (en) | 1993-10-04 |
Family
ID=11504990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63001563A Granted JPH01177121A (en) | 1988-01-07 | 1988-01-07 | Serial communication system for a/d converter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01177121A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016128967A (en) * | 2015-01-09 | 2016-07-14 | 住友電気工業株式会社 | Electronic apparatus |
JP2017101388A (en) * | 2015-11-30 | 2017-06-08 | 株式会社奥村組 | Excavator with data transfer device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6286733U (en) * | 1985-11-20 | 1987-06-03 |
-
1988
- 1988-01-07 JP JP63001563A patent/JPH01177121A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6286733U (en) * | 1985-11-20 | 1987-06-03 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016128967A (en) * | 2015-01-09 | 2016-07-14 | 住友電気工業株式会社 | Electronic apparatus |
JP2017101388A (en) * | 2015-11-30 | 2017-06-08 | 株式会社奥村組 | Excavator with data transfer device |
Also Published As
Publication number | Publication date |
---|---|
JPH0570169B2 (en) | 1993-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5991686A (en) | Vehicle electronic control using one A/D converter for time-synchronous and time-asynchronous A/D converter | |
JPH06217373A (en) | Aggregated wiring system | |
JPH01177121A (en) | Serial communication system for a/d converter | |
KR900015009A (en) | DMA controller | |
JP3249710B2 (en) | Analog / digital converter | |
US6218954B1 (en) | Communication control device | |
JPH0664518B2 (en) | Method of receiving data from successive approximation A / D converter | |
JPS63166331A (en) | Output system for ad converter | |
JPH0712148B2 (en) | Method of receiving data from successive approximation A / D converter | |
JPH05153673A (en) | Device to be controlled by remote control | |
JPS5633730A (en) | Communication control method | |
JPH0238970B2 (en) | ||
JPS5952464B2 (en) | Data buffer control method | |
KR940006651Y1 (en) | Internal modem apparatus | |
JPS58115521A (en) | Bus controlling system | |
RU2025906C1 (en) | Tv channel switch | |
JPS62179043A (en) | Transmission control unit | |
JPH08123780A (en) | Protection circuit for contents of register in microprocessor | |
JPS6117425B2 (en) | ||
JPS62285164A (en) | Channel controller | |
JPH08171522A (en) | Dtmf decoder and decoding result access method in unix environment | |
KR20000005295U (en) | Remote control system using DMT | |
JPH0528101A (en) | Bus communication system | |
JPH05276133A (en) | Transmission circuit for tdma | |
JPH05290440A (en) | Reservation recording method for vcr |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081004 Year of fee payment: 15 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081004 Year of fee payment: 15 |