JPH0570169B2 - - Google Patents
Info
- Publication number
- JPH0570169B2 JPH0570169B2 JP63001563A JP156388A JPH0570169B2 JP H0570169 B2 JPH0570169 B2 JP H0570169B2 JP 63001563 A JP63001563 A JP 63001563A JP 156388 A JP156388 A JP 156388A JP H0570169 B2 JPH0570169 B2 JP H0570169B2
- Authority
- JP
- Japan
- Prior art keywords
- conversion
- data
- processing device
- converter
- command
- 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.)
- Expired - Lifetime
Links
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)
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 the AD conversion data of the requested channel from a multi-channel AD conversion device when necessary, the transmission of the requested channel data from the processing device also serves as the AD conversion start signal, so electrical noise may occur on the signal line. If AD conversion data is mixed in, there is a drawback that unnecessary AD conversion data may be incorrectly received by the processing device when it is not requested.
上述したノイズをフイルタで除去しようとして
も、シリアル通信ではスタート信号をクロツク同
期で送信するため、該フイルタを使用することが
できない。
Even if an attempt is made 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変
換装置に対し、該要求チヤンネルのデータを送信
する直前にAD変換を許可する命令を出し、また
該AD変換データを受信した直後から次の要求チ
ヤンネルのデータを送信するまで該AD変換を禁
止する命令を出すことを特徴とするものである。
The present invention provides an AD with multiple input channels.
Serial communication between a conversion device and a processing device that sends request channel data to the AD conversion device when necessary, uses the data as an AD conversion start signal, and receives AD conversion data of the channel from the AD conversion device. In this method, the processing device issues a command to the AD conversion device to permit AD conversion immediately before transmitting the data of the request channel, and immediately after receiving the AD conversion data, the processing device issues a command to the AD conversion device to allow the data of the next request channel. This is characterized by issuing a command to prohibit the AD conversion until transmission.
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図は本発明の一実施例を示すシステム構成
図で、1はAD変換装置、2は処理装置(マイク
ロコンピユータ)である。このシステムは例えば
エンジン制御用で、複数のアナログ入力チヤンネ
ルCH1,CH2,……(エンジン冷却水温、吸気管
圧力等)の1つをマルチプレクサ(MPX)11
で選択してAD変換器(ADC)12でAD変換す
る。処理装置2はAD変換データをシリアル通信
で受信してメモリ(RAM)21に取込み、点火
制御や燃料噴射制御等を行う。受信するAD変換
データのチヤンネルは要求チヤンネルデータで指
定できる。
FIG. 1 is a system configuration diagram showing an embodiment of the present invention, where 1 is an AD converter and 2 is a processing device (microcomputer). This system is for engine control, for example, and connects one of the multiple analog input channels CH 1 , CH 2 , ... (engine coolant temperature, intake pipe pressure, etc.) to the multiplexer (MPX) 11.
, and AD converter (ADC) 12 performs AD conversion. 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. The channel of AD conversion data to be received can be specified using request channel data.
この要求チヤンネルデータとAD変換データは
いずれも第2図に示すフオーマツトの8ビツトシ
リアルデータで、先端1ビツトにL(ロー)レベ
ルのスタート信号STARTを付し、また後端2ビ
ツトにH(ハイ)レベルのストツプ信号STOPを
付してある。 Both the requested channel data and AD conversion data are 8-bit serial data in the format shown in Figure 2, with a start signal START of L (low) level attached to the leading 1 bit, and H (high) level added to the trailing 2 bits. ) level stop signal STOP is attached.
AD変換装置1はチツプセルクト端子CSを有
し、従来はここを固定的に接地して常にAD変換
可能な状態にしている。これに対し本発明では処
理装置2の端子AのレベルでAD変換の許可/禁
止を制御する。端子AのレベルをH,Lに切替え
るのは処理装置2のプログラムであり、そのタイ
ミングは第3図に示すようになる。つまり、要求
チヤンネルデータを送出する直前に端子AをLに
し(許可命令を出し)、AD変換データを受信し
た直後に端子AをHにする(禁止命令を出す)と
いうことである。 The AD converter 1 has a chip select terminal CS, which is conventionally fixedly grounded so that AD conversion is possible at all times. In contrast, in the present invention, the level of terminal A of the processing device 2 controls permission/inhibition of AD conversion. 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. That is, immediately before transmitting the requested channel data, the terminal A is set to L (issues a permission command), and immediately after receiving AD conversion data, terminal A is set to H (issues a prohibition command).
このようにすると端子AがHレベルのときに要
求チヤンネルのラインにノイズがのり、それが第
2図のスタート信号STARTの形をとつても、
AD変換装置1が活性化されていないのでAD変
換は行われず、従つて処理装置2が不要なAD変
換データを受け取つて有害な処理(例えばRAM
21内のデータ破壊)をすることが防止される。 If you do this, noise will be added to the line of the requested channel when terminal A is at H level, and even if it takes the form of the start signal START in Figure 2,
Since the AD conversion device 1 is not activated, no AD conversion is performed, and therefore the processing device 2 receives unnecessary AD conversion data and performs harmful processing (for example, RAM
21) is prevented.
以上述べたように本発明によれば、外部のAD
変換装置からシリアル通信でAD変換データを受
取る処理装置が、不要なAD変換データで誤動作
することを防止できる。
As described above, according to the present invention, external AD
A processing device that receives AD conversion data from a 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, FIG. 2 is a configuration diagram of serial data, and FIG. 3 is a time chart of FIG. 1.
Claims (1)
と、該AD変換装置に必要時に要求チヤンネルデ
ータを送り、該データをAD変換開始信号とも
し、該AD変換装置よりの当該チヤンネルのAD
変換データを受信する処理装置との間のシリアル
通信方式において、 該処理装置が該AD変換装置に対し、該要求チ
ヤンネルのデータを送信する直前にAD変換を許
可する命令を出し、また該AD変換データを受信
した直後から次の要求チヤンネルのデータを送信
するまで該AD変換を禁止する命令を出すことを
特徴とするAD変換装置とのシリアル通信方式。[Claims] 1. An AD converter having a plurality of input channels; request channel data is sent to the AD converter when necessary, the data is used as an AD conversion start signal, and the data of the channel from the AD converter is sent. A.D.
In a serial communication method with a processing device that receives converted data, the processing device issues a command to the AD conversion device to permit AD conversion immediately before transmitting the data of the request channel, and A serial communication method with an AD converter, characterized in that a command is issued to prohibit AD conversion immediately after data is received until data of the next request channel is transmitted.
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 JPH01177121A (en) | 1989-07-13 |
| JPH0570169B2 true 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) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016128967A (en) * | 2015-01-09 | 2016-07-14 | 住友電気工業株式会社 | Electronics |
| JP6541558B2 (en) * | 2015-11-30 | 2019-07-10 | 株式会社奥村組 | Excavator with data transfer device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0516734Y2 (en) * | 1985-11-20 | 1993-05-06 |
-
1988
- 1988-01-07 JP JP63001563A patent/JPH01177121A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01177121A (en) | 1989-07-13 |
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 | |
| JPH04250760A (en) | Program video recording reservation system for video information recorder by means of telephone set | |
| JPH0570169B2 (en) | ||
| US5673192A (en) | Electrical equipment control system for a vehicle utilizing one central processing unit | |
| US5734920A (en) | Input/output processing IC | |
| JP3249710B2 (en) | Analog / digital converter | |
| JP3339763B2 (en) | Analog / digital converter | |
| JPH0664518B2 (en) | Method of receiving data from successive approximation A / D converter | |
| JPH0712148B2 (en) | Method of receiving data from successive approximation A / D converter | |
| JPS58115521A (en) | Bus controlling system | |
| JPS62179043A (en) | transmission control device | |
| JPH0783314B2 (en) | Serial data transmission method | |
| JPS6446849U (en) | ||
| JPS57185736A (en) | Acquisition system for time division multiplex satellite line | |
| JPS6121656A (en) | Communication control system | |
| SU875429A1 (en) | Information transmitting-receiving device | |
| SU1456964A1 (en) | Device for interfacing processor with input/output system | |
| JPS5952464B2 (en) | Data buffer control method | |
| JPH0560703B2 (en) | ||
| JPH0327135B2 (en) | ||
| JPS6069940A (en) | Data reception system | |
| JPH0238970B2 (en) | ||
| JPS63166331A (en) | Output system for ad converter | |
| JPH11243408A (en) | Electronic circuit system | |
| KR20000005295U (en) | Remote control system using DMT |
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 |