JPH059840B2 - - Google Patents

Info

Publication number
JPH059840B2
JPH059840B2 JP59029636A JP2963684A JPH059840B2 JP H059840 B2 JPH059840 B2 JP H059840B2 JP 59029636 A JP59029636 A JP 59029636A JP 2963684 A JP2963684 A JP 2963684A JP H059840 B2 JPH059840 B2 JP H059840B2
Authority
JP
Japan
Prior art keywords
data
signal
analog
transmission
channel
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
Application number
JP59029636A
Other languages
Japanese (ja)
Other versions
JPS60175200A (en
Inventor
Fumio Hamano
Shigeru Obo
Takeshi Hirayama
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2963684A priority Critical patent/JPS60175200A/en
Publication of JPS60175200A publication Critical patent/JPS60175200A/en
Publication of JPH059840B2 publication Critical patent/JPH059840B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、アナログデータの伝送方式に係り、
特に自動車内などでの多量伝送による集約配線シ
ステムに好適なアナログデータ伝送方式に関す
る。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to an analog data transmission system,
In particular, the present invention relates to an analog data transmission method suitable for an integrated wiring system for mass transmission in automobiles and the like.

〔発明の背景〕[Background of the invention]

例えば自動車には各種のランプやモータなどの
電装品、それに自動車制御用の各種のセンサやア
クチユエータなどの電気装置が多数配置され、そ
の数は自動車のエレクトロニクス化に伴なつて増
加の一途をたどつている。
For example, automobiles are equipped with a large number of electrical components such as various lamps and motors, as well as electrical devices such as various sensors and actuators for controlling the automobile, and the number of these devices continues to increase as automobiles become more electronic. It's on.

このため、従来のように、これら多数の電気装
置に対してそれぞれ独立に配線を行なつていたの
では、配線が極めて複雑で、かつ大規模なものと
なつてしまい、コストアツプや重量、スペースの
増加、或いは相互干渉の発生など大きな問題を生
じる。
For this reason, if each of these many electrical devices was wired independently as in the past, the wiring would be extremely complex and large-scale, resulting in increased costs, weight, and space. This causes serious problems such as an increase in the amount of energy used or mutual interference.

そこで、このような問題点を解決する方法の一
つとして、少ない配線で多数の信号の伝送が可能
な多重伝送方式による配線の簡略化が例えば、当
社先願、特願昭57−17535号(特開昭58−136149
号)などにより提案されている。
Therefore, one way to solve these problems is to simplify the wiring by using a multiplex transmission method that allows the transmission of a large number of signals with a small number of wiring lines. JP-A-58-136149
(No.) and others.

第1図にこのような多重伝送方式による自動車
内集約配線システムの一例を示す。
FIG. 1 shows an example of an in-vehicle integrated wiring system using such a multiplex transmission method.

この第1図のシステムは信号伝送路として光フ
アイバケーブルOFを用い、中央制御装置CCU
(以下、単にCCUという。なお、これはCentral
Control Unitの略)と複数の端末処理装置LCU
(以下、単にLCUという。なお、これはLocal
Control Unitの略)との間を光信号チヤンネル
で共通に結合したもので、光フアイバケーブル
OFの分岐点には光分岐コネクタOCが設けてあ
る。
The system shown in Figure 1 uses an optical fiber cable OF as a signal transmission path, and the central control unit CCU
(Hereafter, simply referred to as CCU. Note that this is Central
Control Unit) and multiple terminal processing units LCU
(Hereafter, simply referred to as LCU. Note that this is Local
(abbreviation for Control Unit) is commonly connected by an optical signal channel, and is an optical fiber cable.
An optical branch connector OC is provided at the branch point of OF.

CCUは自動車のダツシユボードの近傍など適当
な場所に設置され、システム全体の制御を行なう
ようになつている。
The CCU is installed in a suitable location, such as near the car's dash board, and controls the entire system.

LCUは各種の操作スイツチSW、メータMなど
の表示器、ランプL、センサSなど自動車内に多
数設置してある電気装置の近傍に、所定の数だけ
分散して配置されている。
A predetermined number of LCUs are distributed in the vicinity of a large number of electrical devices installed in the automobile, such as various operation switches SW, indicators such as meters M, lamps L, and sensors S.

CCU及び各LCUが光フアイバケーブルOFと結
合する部分には光信号と電気信号を双方向に変換
する光電変換モジユールO/Eが設けられてい
る。
A photoelectric conversion module O/E that bidirectionally converts optical signals and electrical signals is provided at the portion where the CCU and each LCU are connected to the optical fiber cable OF.

CCUはマイクロコンピユータを備え、シリア
ルデータによるデータ通信機能を持ち、これに対
応して各LCUには通信処理回路CIM(以下、単に
CIMという。なお、これはCommunication
Interface Adaptorの略)が設けられ、CCUは
LCUの一つを順次選択し、そのLCUとの間での
データの授受を行ない、これを繰り返えすことに
より1チヤンネルの光フアイバケーブルOFを介
しての多重伝送が可能になり、複雑で大規模な自
動車内配線を簡略化することができる。
The CCU is equipped with a microcomputer and has a data communication function using serial data.
It's called CIM. Note that this is a Communication
Interface Adapter) is provided, and the CCU is
By sequentially selecting one of the LCUs and transmitting and receiving data to and from that LCU, multiplex transmission via one channel of optical fiber cable OF is possible, which is complicated and requires large amounts of data. It is possible to simplify the large-scale wiring inside a car.

ところで、自動車内に設置される電気装置の中
には、アナログデータにより動作するものが含ま
れている。例えば、エンジンの制御に必要な各種
のセンサなどがそれである。
By the way, some electrical devices installed in automobiles operate using analog data. For example, various sensors necessary for controlling the engine are used.

そこで、このようなアナログデータにより動作
する電気装置を外部負荷として備ええたLCUで
はアナログ・デイジタル変換器(以下、単にA/
Dという)を設け、外部負荷からのアナログデー
タをデイジタルデータに変換してCIMに取込み、
それをCCUに伝送しなければならず、そのため、
このようなLCUでは、そこに使用するCIMに
A/Dのための制御機能が必要になる。
Therefore, in an LCU equipped with an electrical device that operates using analog data as an external load, an analog-to-digital converter (hereinafter simply referred to as an A/D converter) is used.
D) is installed to convert analog data from an external load into digital data and import it into CIM.
It has to be transmitted to the CCU, so
In such an LCU, the CIM used therein requires a control function for A/D.

ところで、A/Dとしては種々の型式のものが
知られているが、このような場合に使用される代
表的な型式としては、遂次比較型と積分型が挙げ
られるが、このうち、積分型A/Dでは、その変
換結果がA/D内でそのときに与えられていた基
準電圧及びオフセツト電圧によつて変化するた
め、上記したA/Dのための制御機能の中に、こ
れらの基準電圧やオフセツト電圧から未知のアナ
ログ入力を求めるための演算処理機能を設ける必
要がある。
By the way, various types of A/D are known, and the typical types used in such cases include the sequential comparison type and the integral type. In an A/D type A/D, the conversion result changes depending on the reference voltage and offset voltage applied at that time within the A/D, so these are included in the control functions for the A/D described above. It is necessary to provide an arithmetic processing function to obtain unknown analog input from the reference voltage and offset voltage.

従つて、従来のアナログデータ伝送システムで
は、積分型A/Dを用いた場合、そのCIMに必
要な機能が増加し、CIMの汎用化に際してコス
トアツプとなつてしまうという欠点があつた。
Therefore, in the conventional analog data transmission system, when an integral type A/D is used, the functions required for the CIM increase, and the cost increases when the CIM becomes general-purpose.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記した従来技術の欠点を除
き、積分型A/Dを使用してもLCU側で必要な
処理機能の増加が最少限で済むようにしたアナロ
グデータの伝送方式を提供するにある。
An object of the present invention is to provide an analog data transmission method that eliminates the drawbacks of the prior art described above and minimizes the increase in processing functions required on the LCU side even if an integral A/D is used. It is in.

〔発明の概要〕[Summary of the invention]

この目的を達成するため、本発明は、積分型
A/Dにより与えられる基準電圧、オフセツト電
圧などアナログ入力データの処理に必要なデータ
を全てCCU側にコード化して伝送するようにし
た点を特徴とする。
In order to achieve this objective, the present invention is characterized in that all the data necessary for processing analog input data, such as the reference voltage and offset voltage provided by the integral A/D, are encoded and transmitted to the CCU side. shall be.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明によるアナログデータ伝送方式に
ついて、図示の実施例により詳細に説明する。
Hereinafter, the analog data transmission system according to the present invention will be explained in detail with reference to illustrated embodiments.

第2図は本発明の一実施例を示す全体ブロツク
構成図で、10は中央処理装置(第1図のCCU
に相当)、20は信号伝送路(第1図の光フアイ
バケーブルOFに相当)、30〜32は端末処理装
置(第1図のLCUに相当)、40は積分型A/
D、51〜58は外部負荷である。なお、この実
施例では、信号伝送路20として電気信号伝送路
を用いた場合について示してあり、従つて、中央
処理装置10及び端末処理装置30〜32には光
電変換モジールが不要で、このため、端末処理装
置30〜32の内容は実質的にCIMだけとなつ
ている。
FIG. 2 is an overall block configuration diagram showing one embodiment of the present invention, and 10 is a central processing unit (CCU in FIG. 1).
20 is a signal transmission line (corresponds to the optical fiber cable OF in Figure 1), 30 to 32 is a terminal processing unit (corresponds to LCU in Figure 1), 40 is an integral type A/
D, 51 to 58 are external loads. Note that this embodiment shows a case where an electrical signal transmission line is used as the signal transmission line 20, and therefore, a photoelectric conversion module is not required for the central processing unit 10 and the terminal processing units 30 to 32. , the contents of the terminal processing devices 30 to 32 are essentially only CIM.

コンピユータ(マイクロコンピユータ)を含む
中央処理装置10は、伝送路20で各端末処理装
置30〜32と結合され、各種のセンサやラン
プ、アクチユエータ、モータなどの電気装置から
なる外部負荷51〜58に対するデータの送出
と、これらからのデータの取込みを多重伝送方式
によつて行なう。このとき、アナログデータを出
力するセンサなどの外部負荷57,58はA/D
40を介して端末処理装置32に結合され、デイ
ジタルデータによる伝送動作が行なえるようにな
つている。
A central processing unit 10 including a computer (microcomputer) is connected to each terminal processing unit 30 to 32 via a transmission path 20, and data is transmitted to external loads 51 to 58 consisting of various sensors, lamps, actuators, motors, and other electrical devices. The transmission of data and the acquisition of data from these are performed using a multiplex transmission method. At this time, external loads 57 and 58 such as sensors that output analog data are
It is coupled to the terminal processing device 32 via the terminal 40, so that a digital data transmission operation can be performed.

信号伝送路20は双方向性のものなら何でもよ
く、電気信号伝送系に限らず光フアイバによる光
信号伝送系など任意のものが用いられ、これによ
る通信方式はいわゆる半二重方式(Half
Duplex)で、中央処理装置10から複数の端末
処理装置30〜32のうちの一つに対する呼び掛
けに応じ、該端末処理装置の一つと中央処理装置
10との間でのデータの授受が伝送路20を介し
て交互に行なわれるようになつている。
The signal transmission line 20 may be of any type as long as it is bidirectional, and any type of signal transmission path such as not only an electrical signal transmission system but also an optical signal transmission system using an optical fiber may be used.
Duplex), in response to a call from the central processing unit 10 to one of the plurality of terminal processing units 30 to 32, data is exchanged between one of the terminal processing units and the central processing unit 10 via the transmission path 20. It is designed to be carried out alternately through

このような半二重方式による多重伝送のため、
中央処理装置10から送出されるデータには、そ
の行先を表わすアドレスが付され、伝送路20か
ら受け取つたデータに付されているアドレスが自
らのアドレスであると認識した、各端末処理装置
のうちの一つだけが応答するようになつている。
すなわち、このように、中央処理装置10からア
ドレスが付されて送出されたデータに応じて、そ
のアドレスを理解し、それが自らのものであると
判断した端末処理装置の一つだけがそれに応答し
て自らのデータを中央処理装置10に送出するこ
とにより、上記した半二重方式によるデータの伝
送動作が得られるのである。
Because of this half-duplex multiplex transmission,
The data sent from the central processing unit 10 is attached with an address indicating its destination, and among the terminal processing units that recognize that the address attached to the data received from the transmission path 20 is its own address. only one of them is responding.
In other words, in response to the data sent from the central processing unit 10 with an address attached, only one of the terminal processing units that understands the address and determines that it is its own responds to it. By sending its own data to the central processing unit 10, the half-duplex data transmission operation described above can be achieved.

次に、第3図は各端末処理装置30〜32の一
実施例を大まかなブロツク構成で示したもので、
伝送路20から入力された受信信号RXDは同期
回路102に供給され、クロツク発生器107か
らのクロツクの同期を取り、制御回路101に受
信信号RXDのクロツク成分に調歩同期したクロ
ツクが与えられ、これにより、制御回路101が
制御信号を発生し、シフトレジスタ104に受信
信号のデータ部分をシリアルに読込む。
Next, FIG. 3 shows an embodiment of each terminal processing device 30 to 32 in a rough block configuration.
The received signal RXD inputted from the transmission path 20 is supplied to the synchronization circuit 102, which synchronizes the clock from the clock generator 107, and provides the control circuit 101 with a clock asynchronously synchronized with the clock component of the received signal RXD. As a result, the control circuit 101 generates a control signal and serially reads the data portion of the received signal into the shift register 104.

一方、アドレス比較回路103には、予めその
端末処理装置に割り当てられたアドレスが与えら
れており、このアドレスとシフトレジスタ104
の所定のビツト位置に読込まれたデータとがアド
レス比較回路103によつて比較され、両者が一
致したときだけシフトレジスタ104内のデータ
がI/Oバツフア105に転送され、外部機器に
与えられる。
On the other hand, the address comparison circuit 103 is given an address previously assigned to the terminal processing device, and this address and the shift register 104
The address comparison circuit 103 compares the data read into a predetermined bit position of the shift register 104, and only when the two match, the data in the shift register 104 is transferred to the I/O buffer 105 and provided to an external device.

また、制御回路101はクロツクで歩進するカ
ウンタを含み、シーケンシヤルな制御信号を発生
し、受信信号RXDによるデータをI/Oバツフ
ア105に与えたあと、それにひき続いて今度は
I/Oバツフア105からシフトレジスタ104
にデータをパラレルに取り込み、外部機器から中
央処理装置10に伝送すべきデータをシフトレジ
スタ104の中にシリアルデータとして用意す
る。そして、このデータをシフトレジスタ104
からシリアルに読み出し、送信信号TXDとして
伝送路20に送出する。このときには、受信信号
RXDに付されていたアドレスがそのまま送信信
号TXDに付されて送出されるから、中央処理装
置10は自らが送出したアドレスと一致している
ことによりこの送信信号TXDの取り込みを行な
い、これにより半二重方式による1サイクル分の
データの授受が完了する。
Further, the control circuit 101 includes a counter that is incremented by a clock, generates a sequential control signal, and after giving the data according to the received signal RXD to the I/O buffer 105, the control circuit 101 subsequently outputs the data to the I/O buffer 105. to shift register 104
The data to be transmitted from the external device to the central processing unit 10 is prepared in the shift register 104 as serial data. Then, this data is transferred to the shift register 104.
The signal is serially read out from TXD and sent to the transmission line 20 as a transmission signal TXD. At this time, the received signal
Since the address attached to RXD is attached to the transmission signal TXD as it is and sent out, the central processing unit 10 takes in this transmission signal TXD because it matches the address sent by itself, and thereby half One cycle of data exchange using the duplex method is completed.

こうして中央処理装置10は次の端末処理装置
に対するデータの送出を行ない、これを繰り返す
ことにより複数の各端末処理装置30〜32との
間でのデータの授受が周期的に行なわれ、多重伝
送が可能になる。なお、この伝送動作については
本出願人による特開昭58−167151号(特公平03−
15866号)の出願などに詳細に説明してある。
In this way, the central processing unit 10 sends data to the next terminal processing device, and by repeating this, data is periodically exchanged with each of the plurality of terminal processing devices 30 to 32, and multiplex transmission is performed. It becomes possible. This transmission operation is described in Japanese Patent Application Laid-Open No. 167151/1983 (Patent Publication No. 03-1989) by the present applicant.
It is explained in detail in the application (No. 15866).

A/D制御回路106は第2図における端末処
理装置32として使用した場合に必要な、積分型
A/D40のための制御機能を与えるためのもの
で、アナログ信号を発生する各種のセンサなどの
外部負荷57,58からのアナログデータを積分
型A/D40を介して取込み、このA/D40の
変換動作時での基準電圧やオフセツト電圧などを
必要なアナログ入力データと共にデイジタルコー
ド化し、中央処理装置10に伝送するために必要
な動作を行なう。
The A/D control circuit 106 provides a control function for the integral type A/D 40, which is necessary when used as the terminal processing device 32 in FIG. The analog data from the external loads 57 and 58 is taken in via the integral A/D 40, and the reference voltage and offset voltage during the conversion operation of the A/D 40 are converted into digital codes along with the necessary analog input data, and then sent to the central processing unit. 10.

ところで、この実施例では、端末処理装置30
〜33(以下、これらをCIMという)はそれぞ
れ複数の動作モードの一つを選択して動作するよ
うになつており、第2図のCIM30〜31とし
て用いられるときにはDIOモードが、また、第2
図のCIM32として用いる場合にはADモード
が、そして第2図のCIM33に用いた場合には
MPUモードがそれぞれ選択される。なお、この
モード選択及びそれぞれのモードにおける伝送動
作については、上記特開昭58−167151号の出願や
同じく本出願人による特開昭60−551号(特公平
03−12746号)の出願などに詳しく説明してある。
By the way, in this embodiment, the terminal processing device 30
~33 (hereinafter referred to as CIM) are designed to operate by selecting one of a plurality of operation modes, and when used as CIM30~31 in Figure 2, the DIO mode is selected, and the second
When used as CIM32 in the figure, AD mode is selected, and when used as CIM33 in figure 2,
Each MPU mode is selected. Regarding this mode selection and the transmission operation in each mode, please refer to the above-mentioned Japanese Patent Application Laid-Open No. 58-167151 and Japanese Patent Application Laid-Open No. 60-551 (Japanese Patent Application Publication No. 60-551) also filed by the present applicant.
It is explained in detail in the application (No. 03-12746).

第4図は第3図の実施例におけるA/D制御回
路106の具体例を、シフトレジスタ104の一
部も含めて示した一実施例で、シフトレジスタ1
04は例えばHD14035などと呼ばれている4ビ
ツトのシフトレジスタを6個用いて構成してあ
り、以下、これらを単にSR1〜SR6と呼ぶ。一
方、A/D制御回路106は、8バイトのレジス
タRG1(以下、単にRG1)、3ビツトのレジス
タRG2(同じくRG2)、4ビツトのカウンタC
1〜C4(同じくC1〜C4)、4ビツトのデコ
ーダDC1〜DC4(同じくDC1〜DC4)で構成
され、積分型A/D40としては例えば
MC14447と呼ばれている6チヤンネルのものが
用いられている。
FIG. 4 shows a specific example of the A/D control circuit 106 in the embodiment of FIG. 3, including a part of the shift register 104.
04 is constructed using six 4-bit shift registers called, for example, HD14035, and hereinafter these are simply referred to as SR1 to SR6. On the other hand, the A/D control circuit 106 includes an 8-byte register RG1 (hereinafter simply referred to as RG1), a 3-bit register RG2 (also referred to as RG2), and a 4-bit counter C.
1 to C4 (also C1 to C4) and 4-bit decoders DC1 to DC4 (also DC1 to DC4), and as an integral type A/D 40, for example,
A 6-channel device called MC14447 is used.

なお、RG1としては例えばHD14175などと呼
ばれている4ビツトのレジスタを16個用いて構成
してもよく、或いは適当な記憶容量をもつた
RAMなどで構成してもよい。また、RG2は例
えばHD14175と呼ばれるICを用いればよい。
Note that RG1 may be configured using, for example, 16 4-bit registers called HD14175, or it may be configured using a register with an appropriate storage capacity.
It may also be configured with RAM or the like. Furthermore, for RG2, an IC called HD14175 may be used, for example.

一方、RG1に対するデータの書込位置を指定
する8ビツト出力のデコーダとして働くDC1,
DC2と、同じくRG1から読出すべきデータの位
置を指定する8ビツト出力のデコーダとして働く
DC3,DC4は例えばHD14556と呼ばれるICを
用い、DC1とDC2にデコード入力を与えると共
にD/A40のチヤンネル指定を行なうためのカ
ウンタとして働くC1と、A/D40の積分出力
をカウントする8ビツトのカウンタとして働く
DC2,DC3とは例えばHD14163と呼ばれるIC
を用いればよい。
On the other hand, DC1, which acts as an 8-bit output decoder that specifies the data write position for RG1,
Acts as an 8-bit output decoder that specifies the position of data to be read from DC2 and RG1.
DC3 and DC4 use ICs called HD14556, for example, and provide decode input to DC1 and DC2, as well as C1, which functions as a counter to specify the channel of D/A 40, and an 8-bit counter that counts the integral output of A/D 40. work as
DC2 and DC3 are ICs called HD14163, for example.
You can use

次に、この実施例の動作を第5図のタイムチヤ
ートによつて説明する。
Next, the operation of this embodiment will be explained with reference to the time chart shown in FIG.

C1は3ビツトのカウンタとして動作し、所定
の周期ごとに供給されてくるパルス信号INCが入
力されるごとに出力Q0〜Q2の状態が0から7ま
でサイクリツクに変化する。
C1 operates as a 3-bit counter, and the states of outputs Q0 to Q2 cyclically change from 0 to 7 each time a pulse signal INC supplied at a predetermined period is input.

一方、A/D40は3ビツトのチヤンネルセレ
クト入力A0〜A2をもち、チヤンネル7では内部
にもつ基準電圧VREFを表わす積分出力を発生し、
チヤンネル0では積分動作に伴なうオフセツト電
圧VOSを表わす積分出力を発生する。そして、チ
ヤンネル1からチヤンネル6までの6つのチヤン
ネルでは、各種のセンサなど外部負荷57,58
からA/D40の入力1CH〜6CHに入力されて
くるアナログ信号をそれぞれ表わす積分出力を発
生するようになつている。
On the other hand, the A/D 40 has 3-bit channel select inputs A0 to A2 , and in channel 7 generates an integral output representing the internal reference voltage V REF .
Channel 0 generates an integral output representing the offset voltage V OS associated with the integral operation. In the six channels from channel 1 to channel 6, external loads 57, 58 such as various sensors etc.
It is designed to generate integral outputs representing the analog signals inputted to the inputs 1CH to 6CH of the A/D 40, respectively.

以上を前提として、まず、積分型A/D40に
よる積分動作と、それによる積分出力のデイジタ
ル化とそれのRG1に対する格納動作について説
明する。
Based on the above premise, first, the integration operation by the integration type A/D 40, the digitization of the resulting integration output, and the storage operation for RG1 will be described.

第5図において、或るINCパルスが発生した
時点T0でチヤンネル7が選択されたとする。つ
まり、この時点でC1の出力Q0,Q1,Q2が全て
“H”になり、A/D40のチヤンネルセレクト
入力A0,A1,A2が全て“H”になつたとする。
In FIG. 5, it is assumed that channel 7 is selected at time T 0 when a certain INC pulse is generated. That is, assume that at this point, the outputs Q 0 , Q 1 , and Q 2 of C1 all become "H", and the channel select inputs A 0 , A 1 , and A 2 of A/D 40 all become "H".

一方、信号INCの発生に僅かに先立つて信号
LOADが発生され、これによりC2,C3はリ
セツトされている。
On the other hand, slightly prior to the occurrence of signal INC, the signal
LOAD is generated, and C2 and C3 are reset by this.

A/D40はチヤンネルセレクトが変化する
と、まず、出力RSの信号RAMPSTARTを所定
の一定期間tcだけ立下げ、この期間tcのあいだに
積分キヤパシタを変換すべき未知電圧Vxで充電
させる。なお、いまはチヤンネル7が選択されて
いるから、このときには変換すべき電圧は基準電
圧であり、従つてVx=VREFとなる。
When the channel selection changes, the A/D 40 first lowers the output RS signal RAMPSTART for a predetermined fixed period tc , and charges the integrating capacitor with the unknown voltage Vx to be converted during this period tc . Note that since channel 7 is currently selected, the voltage to be converted at this time is the reference voltage, and therefore Vx=V REF .

また、A/D40は、その積分キヤパシタ(ラ
ンプキヤパシタとも言う)の端子電圧Vcを調べ、
それが0を超えたときだけ、すなわちVc>0の
ときだけ“H”になる信号COMPOUTを出力CO
に発生するようになつている。
Also, the A/D 40 checks the terminal voltage Vc of the integrating capacitor (also called lamp capacitor),
Outputs the signal COMPOUT that becomes “H” only when it exceeds 0, that is, when Vc>0.
This is becoming more common.

一方、これらの信号RAMPSTART及び
COMPOUTは、図示してない制御信号発生回路
に入力されており、この制御信号発生回路は、こ
れらの信号のアンド条件が満たされているときだ
けクロツクパルス信号COUNTを発生する。
On the other hand, these signals RAMPSTART and
COMPOUT is input to a control signal generation circuit (not shown), and this control signal generation circuit generates a clock pulse signal COUNT only when an AND condition of these signals is satisfied.

なお、上記した信号INC,、それに後述す
る信号WRITEENAなども、この図示してない
制御信号発生回路から供給されるようになつてい
る。
Note that the signal INC described above and the signal WRITEENA, which will be described later, are also supplied from this control signal generation circuit (not shown).

こうして期間tcが経過して信号RAMPSTART
が立上ると、今度は積分キヤパシタが放電を開始
し、その端子電圧Vcは、期間tcの終りの時点で
Vc=Vx=VREFになつたあとそこから低下してゆ
く。そして、この積分キヤパシタの端子電圧Vc
が0になつたとき、上記したように信号
COMPOUTは“L”に戻る。なお、このときの
積分キヤパシタの放電は、定電流放電となるよう
にしてある。従つて、積分コンデンサが放電を開
始してその端子電圧Vcが0になるまでの時間は、
それが放電を開始したときの端子電圧、すなわち
信号RAMPSTARTが“L”になつている期間tc
において与えられた未知電圧Vx(このときはVx
=VREF)に比例した値tx中だけ信号COUNTが供
給されるのであるから、この信号に含まれている
クロツクパルスの数は、結局、時間tx=tREFを表
わすデータとなり、この結果、C1,C2の出力
Q0〜Q7のデータは、信号COMPOUTが“L”に
戻つたときには、この時間tx=tREFを表わすカウ
ント値を示すことになる。
Thus, the period t c elapses and the signal RAMPSTART
When t rises, the integrating capacitor starts discharging, and its terminal voltage Vc becomes at the end of period tc .
After reaching Vc = Vx = V REF , it decreases from there. And the terminal voltage Vc of this integrating capacitor
When becomes 0, the signal
COMPOUT returns to “L”. Note that the discharge of the integral capacitor at this time is a constant current discharge. Therefore, the time from when the integrating capacitor starts discharging until its terminal voltage Vc becomes 0 is:
The terminal voltage when it starts discharging, that is, the period during which the signal RAMPSTART is “L” t c
unknown voltage Vx given at (in this case, Vx
Since the signal COUNT is supplied only during a value t x proportional to V REF ), the number of clock pulses contained in this signal ends up being data representing the time t C1, C2 output
When the signal COMPOUT returns to "L", the data of Q 0 to Q 7 will indicate a count value representing this time t x =t REF .

次に、RG1は、上述のように、8バイトのも
のであり、その書込位置指定用の制御入力0
7のいずれか1つにパルスが入力される
と、そのときにデータ入力D0〜D7に与えられて
いた1バイト分のデータを取込み、それを入力で
指定された記憶位置に書込んで格納すると共に、
その読出位置指定用の制御入力07のいずれ
か1つにパルスが入力されると、この入力に対応
した記憶位置に格納されている1バイト分のデー
タを読出し、それをデータ出力Q0〜Q7に取出す
ように動作する。
Next, RG1 is 8 bytes as mentioned above, and the control input 0 for specifying the write position
~ When a pulse is input to any one of 7 , it takes in 1 byte of data that was given to data inputs D 0 to D 7 at that time and writes it to the memory location specified by the input. In addition to storing it in
When a pulse is input to any one of the control inputs 0 to 7 for specifying the read position, 1 byte of data stored in the memory position corresponding to this input is read out, and it is output as data output Q 0 ~ Works to take out to Q7 .

そこで、まず、RG1に対するデータの書込み
について説明すると、このRG1に対するデータ
の書込位置を指定する入力07に対す
る信号は、DC1,DC2のデコード出力によつて
与えられるようになつており、かつ、これらDC
1,DC2のデコード入力は、A/D40に対す
るチヤンネルセレクト用の信号と同じくC1のカ
ウント出力となつており、従つて、このRG1の
各バイト毎の書込指定位置は、A/D40のチヤ
ンネルに対応してそれぞれ独立に与えることがで
き、この実施例ではA/D40のチヤンネル番号
とRG1の制御入力の番号とを一致させてあ
る。
Therefore, first, to explain the writing of data to RG1, the signals for inputs 0 to 7 that specify the writing position of data to RG1 are given by the decoded outputs of DC1 and DC2, and , these DC
1. The decode input of DC2 is the count output of C1, which is the same as the channel selection signal for A/D 40. Therefore, the designated write position for each byte of this RG1 is determined by the channel of A/D 40. In this embodiment, the channel number of A/D 40 and the control input number of RG1 are matched.

また、DC1,DC2によるデコード出力0
RS7の発生タイミングは信号WRITEENAによつ
て与えられるようになつているが、この信号
WRITEENAは第5図に示すように、各チヤン
ネル選択期間の終了時点の近傍付近、つまり各信
号INCの僅かに前で信号より早い時点ごと
に発生させられるようになつている。
Also, decode output 0 to DC1 and DC2
The generation timing of RS 7 is given by the signal WRITEENA, but this signal
As shown in FIG. 5, WRITEENA is generated near the end of each channel selection period, that is, at a time point slightly before each signal INC and earlier than the signal INC.

この結果、の信号INTが発生し、チヤンネ
ル7が選択され、これにより時間tREFに対応した
パルスカウントデータがC2,C3のカウント出
力Q0〜Q7に現われたあと、信号WRITEENAが
発生したタイミングで、この時間tREFを表わすカ
ウントデータがRG1の制御入力7で指定さ
れた記憶位置に書込まれることになる。
As a result, the signal INT is generated, channel 7 is selected, and the pulse count data corresponding to the time t REF appears on the count outputs Q 0 to Q 7 of C2 and C3, after which the signal WRITEENA is generated. Then, count data representing this time t REF will be written to the storage location specified by the control input 7 of RG1.

その後、で示す信号INCが発生すると、C1
の出力Q0〜Q2は全て“0”になり、チヤンネル
0が選択され、この期間ではA/D40のオフセ
ツト電圧Vosに対応した時間tx=tpsを表わすカウ
ントデータがRG1の制御入力0で指定され
る記憶位置に書込まれる。
After that, when the signal INC shown by is generated, C1
The outputs Q 0 to Q 2 of the RG1 all become "0", channel 0 is selected, and during this period, the count data representing the time t x = t ps corresponding to the offset voltage Vos of the A/D 40 is input to the control input 0 of the RG1. is written to the storage location specified by .

さらに、で表わされる信号INCが発生する
と、A/D40の6チヤンネル分のアナログ入力
のうちのCH1のアナログデータ(電圧)を表わ
すカウントデータがRG1の制御入力1で指
定される記憶位置に書込まれ、以下、順次、信号
INCが現われるごとにCH2〜CH6のアナログ
電圧を表わすカウントデータがRG1の対応する
記憶位置に書込まれることになる。
Furthermore, when the signal INC expressed by is generated, the count data representing the analog data (voltage) of CH1 of the six channels of analog input of the A/D 40 is written to the storage location specified by the control input 1 of RG1. rare, less, sequential, signal
Every time INC appears, count data representing the analog voltages of CH2 to CH6 will be written to the corresponding storage location of RG1.

従つて、この実施例によれば、信号INCが現わ
れるごとに順次、A/Dの基準電圧、オフセツト
電圧、CH1からCH6のアナログ電圧のそれぞ
れを表わすカウントデータがそれぞれRG1の対
応する記憶位置に書込まれることになり、それぞ
れのカウント値は信号INCが8個現われるごとに
1回、更新されていることになる。
Therefore, according to this embodiment, each time the signal INC appears, count data representing each of the A/D reference voltage, offset voltage, and analog voltages of CH1 to CH6 are written to the corresponding memory locations of RG1. This means that each count value is updated once every eight times the signal INC appears.

次に、RG1からのデータの読取りについて説
明する。
Next, reading data from RG1 will be explained.

第3図で説明したように、シフトレジスタ10
4には、このシフトレジスタを含むLCU、例え
ば第2図のLCU32がデータ受信モードで動作
したときに、CCU10から伝送されてきた24ビ
ツトのデータQ0〜Q23が格納されるが、このとき
のシフトレジスタ104内でのデータフオーマツ
トは第6図aに示すようになつており、そのQ8
ビツトからQ10ビツトまでの3ビツトにはCCU側
で指定したチヤンネル選択用のデータが入れてあ
る。
As explained in FIG.
4 stores the 24-bit data Q 0 to Q 23 transmitted from the CCU 10 when the LCU including this shift register, for example LCU 32 in FIG. 2, operates in data reception mode. The data format in the shift register 104 is as shown in FIG. 6a, and the Q 8
The 3 bits from bit to Q10 contain data for channel selection specified on the CCU side.

一方、第4図に示すように、SR3の出力Q8
Q10は3ビツトのRG2の入力D0〜D2に接続され
ている。
On the other hand, as shown in Fig. 4, the output Q 8 of SR3 ~
Q10 is connected to the 3-bit RG2 inputs D0 to D2 .

そこで、CCU10からの1回分のデータの受
信を終り、24ビツトの受信データがシフトレジス
タ104に格納された時点以後の所定の時点で信
号WRITESTBがRG2に供給されると、CCU1
0から伝送されたチヤンネル指定用の3ビツトの
データがこのRG2にラツチされ、その出力Q0
Q2に現われる。
Therefore, when the signal WRITESTB is supplied to RG2 at a predetermined time after the reception of one batch of data from the CCU 10 is completed and the 24-bit received data is stored in the shift register 104, the CCU 1
The 3-bit data for specifying the channel transmitted from RG2 is latched to RG2, and its output Q 0 ~
Appears in Q 2 .

そして、このRG2の出力Q0〜Q2と信号
READENAによりDC3,DC4がデコード動作
を行ない、その8つの出力RS0〜RS7の1つに信
号READENAと同じタイミングのチヤンネルセ
レクト信号が発生し、RG1の読出位置指定入力
G0〜G7の1つに信号を供給する。
Then, the output Q 0 ~ Q 2 of this RG2 and the signal
READENA causes DC3 and DC4 to perform a decoding operation, and a channel select signal with the same timing as the signal READENA is generated at one of their eight outputs RS 0 to RS 7 , and the read position designation input of RG1 is generated.
Supply a signal to one of G0 to G7 .

従つて、RG1の出力Q0〜Q7には、信号
READENAが発生したタイミングで、シフトレ
ジスタ104のQ8〜Q10ビツトに格納されてCCU
10から伝送されてきたチヤンネルセレクトデー
タに対応したチヤンネルのカウントデータが読出
されることになり、これが信号READENAによ
つて並列読取動作状態にされているSR1〜SR6
のうちの並列入力D0〜D7に入力され、シフトレ
ジスタ104のQ0ビツトからQ7ビツトに格納さ
れることになり、その後、このシフトレジスタ1
04を含むLCU32が送信モードになつたとき、
シフトレジスタ104から直列に読出され、第6
図bに示すフオーマツトでCCU10に伝送され
てゆくことになり、この結果、CCU10は、
LCU32のRG1に格納されている8チヤンネル
のデータを任意に選択して任意のタイミングでそ
れぞれ独立して取込むことができることになる。
Therefore, the outputs Q 0 to Q 7 of RG1 have signals
At the timing when READENA occurs, it is stored in bits Q8 to Q10 of the shift register 104 and
The count data of the channel corresponding to the channel select data transmitted from SR1 to SR6 is read out, and this is read out from SR1 to SR6, which are put into parallel read operation state by the signal READENA.
It is input to the parallel inputs D 0 to D 7 of the shift register 104, and is stored in the Q 0 bit to Q 7 bit of the shift register 104.
When the LCU32 including 04 enters the transmission mode,
The sixth
It will be transmitted to the CCU 10 in the format shown in Figure b, and as a result, the CCU 10 will
This means that the eight channels of data stored in RG1 of the LCU 32 can be arbitrarily selected and independently captured at any timing.

そこで、CCU10はLCU32の積分型A/D
40から取り込まれ、RG1に更新状態で格納さ
れているカウントデータを順次読取り、次式にし
たがつた処理を行なうことにより、6チヤンネル
のアナログデータを全て読取ることができる。
Therefore, CCU10 is an integral type A/D of LCU32.
By sequentially reading the count data taken in from 40 and stored in RG1 in an updated state, and performing processing according to the following equation, all six channels of analog data can be read.

Vx=VREF・tx−tps/tREF−tps ここで、VREFは、既に説明したように、積分型
A/D40の基準電圧であるから、予じめ定数と
して与えておくことができるものである。
Vx=V REF・t x −t ps /t REF −t ps Here, V REF is the reference voltage of the integrating A/D 40, so it must be given as a constant in advance. It is something that can be done.

従つて、CCU10は、必要なチヤンネルを選
択し、tx=tch1としてやればA/D40の入力CH
1のアナログデータを、そしてtx=tch2としてや
れば入力CH2のアナログデータをそれぞれ任意
に取込むことができ、1チヤンネルから6チヤン
ネルまでのアナログデータを取込むことができ
る。
Therefore, if the CCU 10 selects the necessary channel and sets t x = t ch1 , the input CH of the A/D 40
1 analog data and t x =t ch2 , the analog data of input CH2 can be taken in arbitrarily, and the analog data of channels 1 to 6 can be taken in.

そして、この実施例によれば、積分型A/Dの
変換結果からデータを得るための処理の一部を
CCU側に設けることができ、このため、積分型
のA/Dを用いた場合でもLCU側に必要な機能
をあまり増加させなくて済み、システムのコスト
アツプを少くすることができる。
According to this embodiment, part of the processing for obtaining data from the conversion result of the integral type A/D is
It can be provided on the CCU side, and therefore, even when an integral type A/D is used, there is no need to increase the functions required on the LCU side, and the cost increase of the system can be reduced.

ところで、積分型A/Dの基準電圧VREFとオフ
セツト電圧Vosについてみると、これらはA/D
が動作中にそれ程変化するものではなく、特に基
準電圧VREFについてはほとんど変化しない場合が
多い。従つて、これらを表わすデータtREFやtps
ついては、伝送システム立上げ時、つまり自動車
に適用した場合にはエンジン始動スイツチをオン
にしたときにCCU側に取込んだあと、それをス
トアしておき、以後は各チヤンネルのアナログデ
ータを表わすデータtch1〜tch6の取込みひん度より
も小さいひん度で取込み、ストアしてあつたデー
タの更新を行なうようにしてもよく、或いは電源
電圧や温度が変化したときなど、動作条件が変化
したときなど、必要なときだけCCU側に取込む
ようにしてやつてもよい。
By the way, if we look at the reference voltage V REF and offset voltage Vos of the integral type A/D, these are
does not change that much during operation, and in particular, the reference voltage V REF often hardly changes. Therefore, the data t REF and t ps that represent these data are imported into the CCU when the transmission system is started up, that is, when the engine start switch is turned on when applied to a car, and then stored. After that, the data representing the analog data of each channel may be captured at a frequency lower than that of data t ch1 to t ch6 , and the stored data may be updated. It may be possible to import the data into the CCU only when necessary, such as when operating conditions change such as when the temperature changes.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、積分型
A/Dの変換動作に必要なデータを全てCCU側
に伝送することができるから、積分型A/Dの積
分出力からデイジタルデータを得るのに必要な処
理機能の一部をCCU側にもたせることができ、
従来技術の欠点を除き、積分型のA/Dを用いた
場合でもCIMのコストアツプ分が少く、システ
ムのローコスト化に役立つアナログデータ伝送方
式を容易に提供することができる。
As explained above, according to the present invention, all the data necessary for the conversion operation of the integral type A/D can be transmitted to the CCU side, so that digital data can be obtained from the integral output of the integral type A/D. Some of the necessary processing functions can be placed on the CCU side,
Except for the drawbacks of the prior art, even when an integral type A/D is used, the cost increase of CIM is small, and an analog data transmission system that is useful for lowering system costs can be easily provided.

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

第1図は自動車内集約配線システムの一例を示
すブロツク図、第2図は本発明によるアナログデ
ータ伝送方式が適用された伝送システムの一実施
例を示す全体ブロツク図、第3図は端末処理装置
の一実施例を示すブロツク図、第4図は端末処理
装置のさらに具体的な一実施例を示すブロツク
図、第5図は動作説明用のタイムチヤート、第6
図a,bはデータフオーマツトの一例を示す説明
図である。 40……積分型A/D、104……シフトレジ
スタ、106……A/D制御回路、RS1〜RS6
……4ビツトのシフトレジスタ、RG1……8バ
イトのレジスタ、RG2……3ビツトのレジス
タ、C1〜C3……3ビツトのカウンタ、DC1
〜DC4……4ビツトのデコーダ。
Fig. 1 is a block diagram showing an example of an in-vehicle integrated wiring system, Fig. 2 is an overall block diagram showing an embodiment of a transmission system to which the analog data transmission method according to the present invention is applied, and Fig. 3 is a terminal processing device. FIG. 4 is a block diagram showing a more specific embodiment of the terminal processing device, FIG. 5 is a time chart for explaining the operation, and FIG.
Figures a and b are explanatory diagrams showing an example of a data format. 40... Integral type A/D, 104... Shift register, 106... A/D control circuit, RS1 to RS6
...4-bit shift register, RG1...8-byte register, RG2...3-bit register, C1-C3...3-bit counter, DC1
~DC4...4-bit decoder.

Claims (1)

【特許請求の範囲】 1 アナログ・デイジタル変換器を備え、端末側
から中央側へのアナログデータの伝送をデイジタ
ル化して行なうようにした伝送方式において、少
なくとも伝送システム立ち上げ時点で上記アナロ
グ・デイジタル変換器の基準電圧及びオフセツト
電圧をデイジタルデータとして中央側に伝送して
記憶し、以後、上記アナログ・デイジタル変換器
の積分出力をそのままデイジタルデータとして中
央側に伝送し、中央側で上記基準電圧及びオフセ
ツト電圧を用いてデータ処理を行なうなうように
構成したことを特徴とするアナログデータ伝送方
式。 2 特許請求の範囲第1項において、上記アナロ
グ・デイジタル変換器の基準電圧及びオフセツト
電圧の中央側への伝送が、予じめ定められている
所定の動作条件変更時点でも実行されるように構
成されていることを特徴とするアナログデータ伝
送方式。
[Scope of Claims] 1. In a transmission system that includes an analog-to-digital converter and digitizes the transmission of analog data from the terminal side to the central side, the above-mentioned analog-to-digital conversion is performed at least at the time of starting up the transmission system. The reference voltage and offset voltage of the converter are transmitted as digital data to the central side and stored therein.Then, the integral output of the analog-to-digital converter is transmitted as-is as digital data to the central side, and the central side stores the reference voltage and offset voltage as digital data. An analog data transmission method characterized by a configuration in which data processing is performed using voltage. 2. Claim 1 provides that the reference voltage and offset voltage of the analog-to-digital converter are transmitted to the center side even when a predetermined operating condition is changed. An analog data transmission method characterized by:
JP2963684A 1984-02-21 1984-02-21 Analog data transmission system Granted JPS60175200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2963684A JPS60175200A (en) 1984-02-21 1984-02-21 Analog data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2963684A JPS60175200A (en) 1984-02-21 1984-02-21 Analog data transmission system

Publications (2)

Publication Number Publication Date
JPS60175200A JPS60175200A (en) 1985-09-09
JPH059840B2 true JPH059840B2 (en) 1993-02-08

Family

ID=12281565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2963684A Granted JPS60175200A (en) 1984-02-21 1984-02-21 Analog data transmission system

Country Status (1)

Country Link
JP (1) JPS60175200A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5563499B2 (en) * 2011-02-18 2014-07-30 ルネサスエレクトロニクス株式会社 Data analysis device, integrated program generation device, and data analysis system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5078399A (en) * 1973-11-08 1975-06-26

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5078399A (en) * 1973-11-08 1975-06-26

Also Published As

Publication number Publication date
JPS60175200A (en) 1985-09-09

Similar Documents

Publication Publication Date Title
US5113410A (en) Data transmission system
US5896418A (en) Data transmission system having a communication control computer for controlling communication between a communication interface module and terminal devices
EP0580189A1 (en) Method of control of vehicle devices
JPH059840B2 (en)
JP2500801B2 (en) Terminal processing device
KR19980069825A (en) Synchronous Serial Data Transmitter
JP2502491B2 (en) Communication processing circuit
JPH0315866B2 (en)
JPH0769996B2 (en) Simultaneous measurement data transmission method
JP2534836B2 (en) Data transmission system
JPH0512892B2 (en)
JP7184691B2 (en) Monitoring device and battery monitoring system
JPH0534861B2 (en)
JPH0787482B2 (en) Data transmission system
JP2612433B2 (en) Automotive data transmission system
JP2677274B2 (en) Variable length serial data communication system
JPS61218242A (en) Aggregated wiring device
JPH1049474A (en) Slot address circuit
JPS599305Y2 (en) Multiple serial input interface
SU1377888A1 (en) Device for receiving and reproducing telemetry
JPS60216653A (en) Semiconductor integrated circuit
JPS6125266A (en) Bus interface
KR100368333B1 (en) Method for managing history information of circuit product
JPH1090308A (en) Signal-inputting apparatus of electric measuring apparatus
JPH07234882A (en) Waveform measuring instrument