[go: up one dir, main page]

JP3215763B2 - Cyclic communication device - Google Patents

Cyclic communication device

Info

Publication number
JP3215763B2
JP3215763B2 JP33238593A JP33238593A JP3215763B2 JP 3215763 B2 JP3215763 B2 JP 3215763B2 JP 33238593 A JP33238593 A JP 33238593A JP 33238593 A JP33238593 A JP 33238593A JP 3215763 B2 JP3215763 B2 JP 3215763B2
Authority
JP
Japan
Prior art keywords
bit
unit
data
table storage
information
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 - Fee Related
Application number
JP33238593A
Other languages
Japanese (ja)
Other versions
JPH07193559A (en
Inventor
昌弘 徳永
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.)
Sumitomo Wiring Systems Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
Sumitomo Electric Industries 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 Sumitomo Wiring Systems Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP33238593A priority Critical patent/JP3215763B2/en
Publication of JPH07193559A publication Critical patent/JPH07193559A/en
Application granted granted Critical
Publication of JP3215763B2 publication Critical patent/JP3215763B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はサイクリック通信装置、
即ち同一のデータフレームを反復して送信することによ
り、ノイズの影響を受け難くした通信装置に関する。
The present invention relates to a cyclic communication device,
In other words, the present invention relates to a communication device that is less susceptible to noise by repeatedly transmitting the same data frame.

【0002】[0002]

【従来の技術】近年、自動車のエレクトロニクス化が進
んでエンジン制御、ブレーキ制御、あるいは四輪操舵等
の操舵系をも含めた自動車としての基本的な制御が電子
制御化されると共に、窓の開閉制御、ワイパの制御、更
にはエアコンディショナ, オーディオ装置等も統一的に
制御するような方向に進みつつある。具体的には、従来
は種々のアクチュエータ、たとえばモータ, リレー等へ
の制御中枢からの制御信号の送信及び各種センサから制
御中枢への検出信号の送信を個別のワイヤハーネスによ
り個々に行なっていたのを、所謂車内LAN による多重通
信を利用したデータ通信により行なうようになってい
る。これは、環境汚染対策, 省エネルギーの面から車両
重量を軽減する社会的要求があり、そのために車内LAN
を利用してワイヤハーネスの重量削減及び省資源化を図
るために手法が採られている。
2. Description of the Related Art In recent years, as automobiles have become more and more electronic, basic controls of an automobile including a steering system such as engine control, brake control, and four-wheel steering have been electronically controlled, and windows have been opened and closed. Controls, wiper controls, and even air conditioners, audio devices, and the like are being controlled in a unified manner. Specifically, conventionally, transmission of a control signal from a control center to various actuators, for example, a motor, a relay, and the like, and transmission of a detection signal from various sensors to a control center have been individually performed by individual wire harnesses. Is performed by data communication using multiplex communication by a so-called in-vehicle LAN. There is a social demand to reduce vehicle weight in terms of environmental pollution countermeasures and energy savings.
In order to reduce the weight of the wire harness and save resources by utilizing the method, a method is adopted.

【0003】ところで、自動車内でのデータ通信に際し
ては、自動車そのものが電子的ノイズの発生源を多く内
包していることと、データエラーに起因して誤動作が発
生した場合には人命に直結することとから、ノイズ対策
が重要な課題となる。
In data communication in a car, the car itself contains many sources of electronic noise, and if a malfunction occurs due to a data error, it directly leads to human life. Therefore, noise countermeasures become an important issue.

【0004】このような観点から、所謂サイクリック通
信と称される通信方法が自動車内のデータ通信に採用さ
れることが多い。サイクリック通信とは、同一のデータ
フレームを反復して送信する通信手法である。従来は、
アクチュエータとしてのモータを連続的に駆動する場
合、最初にモータの駆動を開始させる信号を送信して、
その後にモータを停止させる信号を送信するような方法
が採られていた。このような手法では信号にエラーが含
まれていれば確実に誤動作を惹起することになる。しか
しサイクリック通信では、モータを駆動させる信号を連
続的に送信することによりその間はモータを駆動させ、
モータを駆動させる必要がない場合にはモータを停止さ
せる信号を連続的に反復して送信する。このようなサイ
クリック通信では、瞬間的なノイズに起因して一つのデ
ータフレームにデータエラーが発生しても反復して送信
されている他のデータフレームが正常であれば全体とし
てはアクチュエータは正常に駆動されて結果的に誤動作
が回避される。但しこの場合、サイクリック間隔、即ち
データフレームの送信間隔がモータ, リレー等のアクチ
ュエータの作動遅れ時間よりも短い必要がある。
[0004] From such a viewpoint, a communication method called so-called cyclic communication is often adopted for data communication in a car. Cyclic communication is a communication method for repeatedly transmitting the same data frame. conventionally,
When driving the motor as an actuator continuously, first send a signal to start driving the motor,
Thereafter, a method of transmitting a signal for stopping the motor has been adopted. In such a method, if a signal contains an error, a malfunction is definitely caused. However, in cyclic communication, the motor is driven by sending the signal to drive the motor continuously during that time,
When it is not necessary to drive the motor, a signal for stopping the motor is continuously and repeatedly transmitted. In such cyclic communication, even if a data error occurs in one data frame due to instantaneous noise, if the other data frame repeatedly transmitted is normal, the actuator as a whole is normal. , And as a result, malfunction is avoided. However, in this case, the cyclic interval, that is, the data frame transmission interval, needs to be shorter than the operation delay time of the actuator such as the motor or the relay.

【0005】[0005]

【発明が解決しようとする課題】しかし、上述のような
サイクリック通信では、たとえばエンジンの点火系等で
発生する周期的なノイズとデータフレームの送信間隔と
が一致する場合には複数のデータフレームに亙って連続
的に同一の部分にエラーが発生する可能性があり、アク
チュエータの誤動作を招来することになる。
However, in the above-described cyclic communication, when a periodic noise generated in an ignition system of an engine or the like and a transmission interval of the data frame coincide with each other, a plurality of data frames are transmitted. , An error may continuously occur in the same portion, resulting in malfunction of the actuator.

【0006】本発明はこのような事情に鑑みてなされた
ものであり、サイクリック通信の実施に際して、データ
フレームのサイクリック間隔とノイズの発生周期とがほ
ぼ一致するような状況においても、正しい情報を伝達し
得て正常な通信が可能であり、従ってアクチュエータの
誤動作を回避し得るサイクリック通信装置の提供を目的
とする。
The present invention has been made in view of such circumstances, and when performing cyclic communication, correct information can be obtained even in a situation where the cyclic interval of the data frame and the noise generation cycle substantially coincide. Therefore, it is an object of the present invention to provide a cyclic communication device capable of transmitting normal communication and performing normal communication, and thus avoiding malfunction of the actuator.

【0007】[0007]

【課題を解決するための手段】本発明に係るサイクリッ
ク通信装置は、端的には、送信側の装置に送信すべき複
数の情報がそれぞれ異なるビットに予め割り付けられた
複数のテーブルを記憶したビットテーブル記憶部を、受
信側の装置にそれと同一内容のビットテーブル記憶部を
それぞれ備えている。
SUMMARY OF THE INVENTION In brief, a cyclic communication apparatus according to the present invention has a bit storing a plurality of tables in which a plurality of pieces of information to be transmitted to a transmitting side apparatus are respectively pre-assigned to different bits. The table storage unit is provided with a bit table storage unit having the same content as that of the reception side device.

【0008】また本発明に係るサイクリック通信装置
は、予め設定された順序で複数のテーブルを一つずつ順
次的に選択して使用するように、または送信側の装置に
乱数発生部を備え、発生された乱数に従ってテーブルの
使用順序を決定して一つずつ順次的に使用すると共にテ
ーブルを識別するコードを送信するように構成されてい
る。
Further, the cyclic communication device according to the present invention is provided with a random number generator so as to sequentially select and use a plurality of tables one by one in a preset order, or a transmitting device. According to the generated random number, the order of use of the tables is determined, the tables are used one by one, and a code for identifying the table is transmitted.

【0009】更に本発明に係るサイクリック通信装置
は、上述のそれぞれの構成に加えて、送信側の装置には
少なくとも一つのスイッチが接続され、そのオン/オフ
情報を取り込むように構成され、また受信側の装置には
少なくとも一つの負荷が接続され、その駆動を制御する
ように構成されている。
Further, the cyclic communication device according to the present invention is configured such that at least one switch is connected to the device on the transmitting side and the ON / OFF information is taken in, in addition to the above-described respective configurations. At least one load is connected to the device on the receiving side, and is configured to control its driving.

【0010】[0010]

【作用】本発明に係るサイクリック通信装置では、送信
側の装置から情報を送信する場合に、同一の情報が異な
るビットに予め割り付けられた複数のテーブルから一つ
が選択され、選択されたテーブルに従って送信すべき情
報に対応するビットに値が設定された送信用のデータ列
が生成されて反復送信される。受信側の装置では、受信
したビット列が対応するテーブルの内容と照合されて情
報が取り出される。
In the cyclic communication device according to the present invention, when transmitting information from the transmitting device, one of a plurality of tables in which the same information is pre-assigned to different bits is selected, and according to the selected table. A transmission data string in which a value is set in a bit corresponding to information to be transmitted is generated and repeatedly transmitted. In the device on the receiving side, the received bit string is collated with the contents of the corresponding table to extract information.

【0011】また本発明に係るサイクリック通信装置で
は、予め設定された順序で複数のテーブルが一つずつ順
次的に選択され、選択されたテーブルに従って送信側の
装置から送信され、受信側の装置でも送信側の装置と同
一の順序でテーブルが使用される。また、乱数発生によ
り送信側の装置で決定された順序で各テーブルが識別コ
ードが付加されて順次送信側の装置から送信され、受信
側の装置では識別コードに従ってテーブルが使用され
る。
Further, in the cyclic communication device according to the present invention, a plurality of tables are sequentially selected one by one in a preset order, and are transmitted from the transmitting device in accordance with the selected table, and are transmitted to the receiving device. However, the tables are used in the same order as the transmitting device. Each table is added with an identification code in the order determined by the transmission side device by random number generation, and is sequentially transmitted from the transmission side device. The receiving side device uses the table according to the identification code.

【0012】更に本発明に係るサイクリック通信装置で
は、送信側の装置に接続されているスイッチのオン/オ
フ情報が取り込まれて上述のいずれかの手法で送信され
る。受信側の装置では接続されている付加を受信結果に
従って駆動するか否かの制御が行なわれる。
Further, in the cyclic communication device according to the present invention, the ON / OFF information of the switch connected to the transmitting device is taken in and transmitted by any of the above-mentioned methods. The device on the receiving side controls whether to drive the connected addition according to the reception result.

【0013】[0013]

【実施例】以下、本発明をその実施例を示す図面に基づ
いて詳述する。図1は本発明のサイクリック通信装置の
適用対象としての一般的な自動車(普通乗用車)の模式
的平面図を示している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings showing the embodiments. FIG. 1 is a schematic plan view of a general automobile (normal passenger car) to which the cyclic communication device of the present invention is applied.

【0014】なお、本発明のサイクリック通信装置で
は、NRZ(Non Return to Zero) 方式を採用しており、ビ
ットの値が”1”(2値信号の”H”レベル)であれば
対応するアクチュエータ (モータ) の作動を意味し、”
0”(2値信号の”L”レベル)であれば非作動を意味
する。換言すれば、ビットの値が”1”であれば対応す
るアクチュエータ (モータ) が所定時間にわたって作動
するように制御され、”0”であれば作動しないように
制御される。従って、あるスイッチが継続してオン状態
にされていればそれに対応するアクチュエータを駆動さ
せる信号が反復して発生され、そのスイッチがオン状態
からオフ状態になればそれに対応するアクチュエータを
非作動状態にする信号が発生される。
The cyclic communication device according to the present invention employs the NRZ (Non Return to Zero) system, which is applicable if the bit value is "1"("H" level of a binary signal). Actuation of an actuator (motor)
When the bit value is "0"("L" level of the binary signal), it means that the actuator is not operated, in other words, when the bit value is "1", the corresponding actuator (motor) is controlled to operate for a predetermined time. If a switch is continuously turned on, a signal for driving the corresponding actuator is repeatedly generated, and the switch is turned on. When the state is changed from the off state to the off state, a signal for deactivating the corresponding actuator is generated.

【0015】図1において、参照符号FRは前席右窓 (通
常は運転席窓) を、FLは前席左窓を、RRは後席右窓を、
RLは後席左窓をそれぞれ示している。また、MRは右側サ
イドミラーを、MLは左側サイドミラーをそれぞれ示して
いる。
In FIG. 1, reference numeral FR denotes a front right window (usually a driver window), FL denotes a front left window, RR denotes a rear right window,
RL indicates the rear left window, respectively. MR indicates a right side mirror, and ML indicates a left side mirror.

【0016】図1においては、前席右窓FRを備えた前席
右側のドアが開いた状態の断面が示されており、運転者
が各窓の開閉, 両サイドミラーの角度調整等を操作する
ためのドアユニット2が組み込まれている。また、車室
中央の所謂コンソールボックスには、運転者及び同乗者
が各前席右窓FR以外の各窓 (前席左窓FL, 後席右窓RR,
後席左窓RL) の開閉, 左側サイドミラーMLの角度調整等
を奏するためのボディユニット1が備えられている。な
お、両ユニット1と2との間は多重伝送線3で接続され
ている。
FIG. 1 shows a cross section in a state in which a right front door with a front right window FR is opened, and a driver operates each window to open and close, adjust the angles of both side mirrors, and the like. A door unit 2 is installed. In the so-called console box in the center of the vehicle, the driver and the passengers have windows (front left window FL, rear right window RR,
A body unit 1 is provided for opening and closing the rear left window RL), adjusting the angle of the left side mirror ML, and the like. The units 1 and 2 are connected by a multiplex transmission line 3.

【0017】図2は本発明のサイクリック通信装置の一
実施例のボディユニット1及びドアユニット2に接続さ
れる各スイッチ及びアクチュエータの一例を示す模式図
である。ボディユニット1には、前席左窓FLを開閉 (ア
ップ・ダウン) させるモータMFL,後席右窓RRを開閉させ
るモータMRR,後席左窓RLを開閉させるモータMRL,前席左
窓FLを閉じる (アップさせる) ためのスイッチSFLUP,前
席左窓FLを開く (ダウンさせる) ためのスイッチSFLDN,
後席右窓RRを閉じる (アップさせる) ためのスイッチSR
RUP,後席右窓RRを開く (ダウンさせる) ためのスイッチ
SRRDN, 後席左窓RLを閉じる (アップさせる) ためのス
イッチSRLUP,後席左窓RLを開く (ダウンさせる) ための
スイッチSRLDN,左側サイドミラーMLを上下動させるモー
タMMLUD,左側サイドミラーMLを左右動させるモータMMLR
L が接続されている。
FIG. 2 is a schematic diagram showing an example of each switch and actuator connected to the body unit 1 and the door unit 2 in one embodiment of the cyclic communication device of the present invention. The body unit 1 includes a motor MFL for opening and closing (up / down) the front left window FL, a motor MRR for opening and closing the rear right window RR, a motor MRL for opening and closing the rear left window RL, and a front left window FL. Switch SFLUP for closing (up), switch SFLDN for opening (down) the left front window FL,
Switch SR to close (up) the rear right window RR
RUP, switch to open (down) the rear right window RR
SRRDN, switch SRLUP to close (up) the rear left window RL, switch SRLDN to open (down) the rear left window RL, motor MMLUD to move the left side mirror ML up and down, and left side mirror ML MMLR to move left and right
L is connected.

【0018】ドアユニット2には、前席右窓FRを開閉さ
せるモータMFR,前席右窓FRを閉じるためのスイッチSFRU
P,前席右窓FRを開くためのスイッチSFRDN,前席左窓FLを
閉じるためのスイッチSFLUP,前席左窓FLを開くためのス
イッチSFLDN,後席右窓RRを閉じるためのスイッチSRRUP,
後席右窓RRを開くためのスイッチSRRDN,後席左窓RLを閉
じるためのスイッチSRLUP,後席左窓RLを開くためのスイ
ッチSRLDN,サイドミラーMR, MLを上方向へ移動させるた
めのスイッチSMUP, サイドミラーMR, MLを下方向へ移動
させるためのスイッチSMDN, サイドミラーMR, MLを左方
向へ移動させるためのスイッチSML,サイドミラーMR, ML
を右方向へ移動させるためのスイッチSMR,サイドミラー
MR, MLを選択するためのスイッチSMSEL,右側サイドミラ
ーMRを上下動させるモータMMRUD,右側サイドミラーMRを
左右動させるモータMMRRL,パワーウィンドをロックする
ためのスイッチSPWLOCK が接続されている。
The door unit 2 includes a motor MFR for opening and closing the front right window FR, and a switch SFRU for closing the front right window FR.
P, switch SFRDN for opening front right window FR, switch SFLUP for closing front left window FL, switch SFLDN for opening front left window FL, switch SRRUP for closing rear right window RR,
Switch SRRDN for opening the rear right window RR, switch SRLUP for closing the rear left window RL, switch SRLDN for opening the rear left window RL, and switch for moving the side mirrors MR and ML upward. Switch SMDN for moving SMUP, side mirror MR, ML downward, switch SML for moving left mirror MR, ML leftward, side mirror MR, ML
SMR, side mirror for moving the camera to the right
A switch SMSEL for selecting MR and ML, a motor MMRUD for moving the right side mirror MR up and down, a motor MMRRL for moving the right side mirror MR left and right, and a switch SPWLOCK for locking the power window are connected.

【0019】なお、上述の各スイッチは押圧操作した場
合にのみオンし、それぞれが接続するボディユニット1
及びドアユニット2に信号が入力される。
Each of the above-mentioned switches is turned on only when the switch is pressed, and the body unit 1 connected to each of the switches is turned on.
And a signal is input to the door unit 2.

【0020】図3はボディユニット1及びドアユニット
2の内部構成の一例を示すブロック図である。ボディユ
ニット1, ドアユニット2は共に、通信回路(11, 21),
負荷駆動回路(12, 22), スイッチ入力回路(13, 23)及び
マイクロコンピュータ(100,200)にて構成されている。
FIG. 3 is a block diagram showing an example of the internal configuration of the body unit 1 and the door unit 2. As shown in FIG. The body unit 1 and the door unit 2 are both communication circuits (11, 21),
It comprises a load drive circuit (12, 22), a switch input circuit (13, 23) and a microcomputer (100, 200).

【0021】具体的には、ボディユニット1は、通信回
路11, 負荷駆動回路12, スイッチ入力回路13及びマイク
ロコンピュータ100 にて構成されている。負荷駆動回路
12には前述の図2に示されているような種々のモータが
接続されており、またスイッチ入力回路13には前述の図
2に示されているような種々のスイッチが接続されてい
る。また、ドアユニット2は、通信回路21, 負荷駆動回
路22, スイッチ入力回路23及びマイクロコンピュータ20
0 にて構成されている。負荷駆動回路22には前述の図2
に示されているような種々のモータが接続されており、
またスイッチ入力回路23には前述の図2に示されている
ような種々のスイッチが接続されている。そして、両通
信回路11と21とは多重伝送線3で接続されている。
Specifically, the body unit 1 includes a communication circuit 11, a load drive circuit 12, a switch input circuit 13, and a microcomputer 100. Load drive circuit
Various motors as shown in FIG. 2 are connected to 12, and various switches as shown in FIG. 2 are connected to the switch input circuit 13. The door unit 2 includes a communication circuit 21, a load drive circuit 22, a switch input circuit 23, and a microcomputer 20.
It is composed of 0. As shown in FIG.
Various motors are connected as shown in
The switch input circuit 23 is connected to various switches as shown in FIG. The two communication circuits 11 and 21 are connected by the multiplex transmission line 3.

【0022】ボディユニット1のマイクロコンピュータ
100 は更に、制御部101,第2のビットテーブル記憶部10
2,識別データ読み出し部103,データ読み出し部104 及び
受信データ組み立て部105 にて構成されている。また、
ドアユニット2のマイクロコンピュータ200 は更に、制
御部201,第1のビットテーブル記憶部202,乱数発生部20
3 及び送信データ組み立て部204 にて構成されている。
The microcomputer of the body unit 1
100 further includes a control unit 101, a second bit table storage unit 10
2, composed of an identification data reading unit 103, a data reading unit 104, and a reception data assembling unit 105. Also,
The microcomputer 200 of the door unit 2 further includes a control unit 201, a first bit table storage unit 202, a random number generation unit 20.
3 and a transmission data assembling unit 204.

【0023】ボディユニット1の通信回路11とドアユニ
ット2の通信回路21とは後述する如き本発明のサイクリ
ック通信装置により通信を行なう。ドアユニット2のス
イッチ入力回路23は、ドアユニット2に接続している前
述の各スイッチからのオン信号の入力を所定時間間隔で
受け付け、マイクロコンピュータ200 の制御部201 に与
える。負荷駆動回路22は、ドアユニット2に接続してい
る前述の各モータを、制御部201 から与えられる制御信
号に従って所定時間にわたって駆動する。ビットテーブ
ル記憶部202 は後述する如きビットテーブルを記憶して
いる。乱数発生部203 は適宜に乱数を発生しており、送
信データ組み立て部204 に与えている。
The communication circuit 11 of the body unit 1 and the communication circuit 21 of the door unit 2 communicate with each other by a cyclic communication device of the present invention as described later. The switch input circuit 23 of the door unit 2 receives an input of an ON signal from each of the above-mentioned switches connected to the door unit 2 at predetermined time intervals, and gives the input to the control unit 201 of the microcomputer 200. The load drive circuit 22 drives each of the above-described motors connected to the door unit 2 for a predetermined time according to a control signal given from the control unit 201. The bit table storage unit 202 stores a bit table as described later. The random number generation unit 203 generates a random number as appropriate, and supplies it to the transmission data assembling unit 204.

【0024】従って、ドアユニット2の制御部201 は、
スイッチ入力回路23からオン信号が入力した場合にそれ
がドアユニット2に接続しているモータを駆動すること
を指示する場合には負荷駆動回路22を制御して該当する
モータを所定時間にわたって駆動する。このため、同一
のスイッチからのオン信号が連続して発生している場合
には該当するモータが連続的に駆動される。また、制御
部201 は、スイッチ入力回路23からオン信号が入力した
場合にそれがボディユニット1に接続しているモータを
駆動することを指示する場合にはボディユニット1へ送
信すべきデータを送信データ組み立て部204 に与える。
Therefore, the control unit 201 of the door unit 2
When an ON signal is input from the switch input circuit 23 and instructs to drive a motor connected to the door unit 2, the load drive circuit 22 is controlled to drive the corresponding motor for a predetermined time. . Therefore, when the ON signal from the same switch is continuously generated, the corresponding motor is continuously driven. The control unit 201 transmits data to be transmitted to the body unit 1 when the ON signal is input from the switch input circuit 23 and when the ON signal is instructed to drive the motor connected to the body unit 1. This is given to the data assembling unit 204.

【0025】ドアユニット2の送信データ組み立て部20
4 はボディユニット1へ送信すべき8ビットのデータフ
レームを組み立てて通信回路21へ出力する。本実施例で
は、送信データ組み立て部204 はボディユニット1へ送
信すべきデータを反復して送信する。具体的には、上述
のようにしてボディユニット1に与えるべきデータが制
御部201 から与えられた場合、送信データ組み立て部20
4 は、たとえば4種類のビットテーブルをビットテーブ
ル記憶部202 から所定の順序で読み出して、あるいは乱
数発生部203 が発生する乱数に対応するビットテーブル
を順次ビットテーブル記憶部202 から読み出し、各ビッ
トテーブルの内容に従って6ビットの送信データを組み
立て、この6ビットのデータの上位側に更にいずれのビ
ットテーブルを使用したかを識別するための2ビットの
識別データを付加して8ビットのデータフレームを組み
立てて通信回路21に与える。
The transmission data assembling section 20 of the door unit 2
4 assembles an 8-bit data frame to be transmitted to the body unit 1 and outputs it to the communication circuit 21. In this embodiment, the transmission data assembling unit 204 repeatedly transmits data to be transmitted to the body unit 1. Specifically, when the data to be given to the body unit 1 is given from the control unit 201 as described above, the transmission data assembling unit 20
4 reads out, for example, four types of bit tables from the bit table storage unit 202 in a predetermined order, or reads out bit tables corresponding to random numbers generated by the random number generation unit 203 from the bit table storage unit 202 sequentially, 6-bit transmission data is assembled in accordance with the contents of the above, and 2-bit identification data for identifying which bit table is used is further added to the upper side of the 6-bit data to assemble an 8-bit data frame. To the communication circuit 21.

【0026】ドアユニット2の通信回路21は、送信デー
タ組み立て部204 から8ビットのデータフレームが周期
的に反復して与えられるので、それらを多重伝送線3を
介してボディユニット1へ送信する。
The communication circuit 21 of the door unit 2 transmits the 8-bit data frame to the body unit 1 through the multiplex transmission line 3 since the transmission data assembling unit 204 periodically gives the 8-bit data frame.

【0027】ボディユニット1のスイッチ入力回路13
は、ボディユニット1に接続している前述の各スイッチ
からのオン信号の入力を受け付け、マイクロコンピュー
タ100の制御部101 に与える。負荷駆動回路12は、ボデ
ィユニット1に接続している前述の各モータを、制御部
101 から与えられる制御信号に従って所定時間にわたっ
て駆動するように制御する。ビットテーブル記憶部102
は前述した如きドアユニット2のビットテーブル記憶部
202 と同一内容のビットテーブルを記憶している。識別
データ読み出し部103 は通信回路11がドアユニット2か
ら受信したデータフレーム中の上位側2ビットの識別デ
ータを読み出して受信データ組み立て部105 に与える。
データ読み出し部104 は通信回路11がドアユニット2か
ら受信したデータフレーム中の下位側6ビットのデータ
を読み出して受信データ組み立て部105 に与える。
Switch input circuit 13 of body unit 1
Receives an input of an ON signal from each of the above-mentioned switches connected to the body unit 1 and gives the input to the control unit 101 of the microcomputer 100. The load drive circuit 12 controls each of the aforementioned motors connected to the body unit 1 by a control unit.
In accordance with the control signal given from 101, control is performed so as to drive for a predetermined time. Bit table storage unit 102
Is a bit table storage unit of the door unit 2 as described above.
A bit table having the same contents as 202 is stored. The identification data readout unit 103 reads out the upper 2 bits of identification data in the data frame received from the door unit 2 by the communication circuit 11 and supplies the data to the reception data assembling unit 105.
The data reading unit 104 reads the lower 6 bits of data in the data frame received by the communication circuit 11 from the door unit 2 and supplies the data to the received data assembling unit 105.

【0028】従って、ボディユニット1の制御部101
は、スイッチ入力回路13からオン信号が入力した場合に
それはボディユニット1に接続しているモータを駆動す
ることを指示するので、負荷駆動回路12を制御して該当
するモータを所定時間にわたって駆動する。このため、
同一のスイッチからのオン信号が連続してボディユニッ
ト1の制御部101 に受信されている場合には該当するモ
ータが連続的に駆動される。
Therefore, the control unit 101 of the body unit 1
When the ON signal is input from the switch input circuit 13, it indicates that the motor connected to the body unit 1 should be driven, so that the load driving circuit 12 is controlled to drive the corresponding motor for a predetermined time. . For this reason,
When the ON signal from the same switch is continuously received by the control unit 101 of the body unit 1, the corresponding motor is continuously driven.

【0029】受信データ組み立て部105 には、ボディユ
ニット1が受信した8ビットのデータフレームの内の上
位側の2ビットが識別データ読み出し部103 から、下位
側の6ビットがデータ読み出し部104 からそれぞれ与え
られる。受信データ組み立て部105 は、まず識別データ
読み出し部103 から与えられる2ビットの識別データに
従ってビットテーブル記憶部102 からビットテーブルを
読み出し、このテーブルとデータ読み出し部104 から与
えられる6ビットのデータとを対照することにより、ド
アユニット2から送信された本来の信号を認識して制御
部101 に与える。なお、前述の如く、ドアユニット2は
周期的にデータを送信するので、ボディユニット1側で
は受信データ組み立て部105 がそれを順次認識する。
In the received data assembling unit 105, the upper two bits of the 8-bit data frame received by the body unit 1 are sent from the identification data reading unit 103 and the lower six bits are sent from the data reading unit 104, respectively. Given. Reception data assembling section 105 first reads a bit table from bit table storage section 102 in accordance with the 2-bit identification data provided from identification data reading section 103, and compares this table with 6-bit data provided from data reading section 104. By doing so, the original signal transmitted from the door unit 2 is recognized and given to the control unit 101. As described above, since the door unit 2 periodically transmits data, the received data assembling unit 105 sequentially recognizes the data on the body unit 1 side.

【0030】受信データ組み立て部105 は上述のように
して認識した結果を制御部101 に与える。制御部101 で
は上述のようにしてデータ読み出し部104 から与えられ
た認識結果に従って負荷駆動回路12を制御することによ
り、ボディユニット1に接続されているモータの内のド
アユニット2のスイッチ入力回路23に入力されたオン信
号に対応するモータを所定時間にわたって駆動する。
The received data assembling section 105 gives the result of recognition as described above to the control section 101. The control unit 101 controls the load drive circuit 12 in accordance with the recognition result given from the data read unit 104 as described above, so that the switch input circuit 23 of the door unit 2 in the motor connected to the body unit 1 is controlled. And drives the motor corresponding to the ON signal input to the CPU for a predetermined time.

【0031】図4は本発明のサイクリック通信装置によ
りドアユニット2とボディユニット1との間で送受信さ
れるデータフレームの構成を示す模式図である。本発明
のサイクリック通信装置で送受信されるデータフレーム
は所定ビット数以上の”H”レベルが連続した後に1ビ
ットの”L”レベルのスタートビットで開始され、続く
2ビット(ビット0,1)が後述する4種類のビットテ
ーブルのいずれを使用しているかを識別するための識別
コードに割り当てられ、以降の6ビット(ビット2〜
7)がデータである。
FIG. 4 is a schematic diagram showing a configuration of a data frame transmitted and received between the door unit 2 and the body unit 1 by the cyclic communication device of the present invention. The data frame transmitted / received by the cyclic communication device of the present invention is started with one “L” level start bit after “H” level continues for a predetermined number of bits or more, and the following two bits (bits 0 and 1) Is assigned to an identification code for identifying which of the four types of bit tables described later are used, and the subsequent 6 bits (bits 2 to
7) is data.

【0032】図5はビット0と1とで構成される識別コ
ードの4通りの値に対してボディユニット1のビットテ
ーブル記憶部102 とドアユニット2のビットテーブル記
憶部202 とに格納されている同一の4種類のビットテー
ブルのいずれが選択されるかを示す一覧表であり、図6
はボディユニット1のビットテーブル記憶部102 とドア
ユニット2のビットテーブル記憶部202 とに格納されて
いる同一内容のビットテーブルの具体的な内容の一例を
示す一覧表である。
FIG. 5 shows that the four values of the identification code composed of bits 0 and 1 are stored in the bit table storage unit 102 of the body unit 1 and the bit table storage unit 202 of the door unit 2. FIG. 6 is a table showing which of the same four types of bit tables is selected.
Is a list showing an example of specific contents of the bit tables having the same contents stored in the bit table storage unit 102 of the body unit 1 and the bit table storage unit 202 of the door unit 2.

【0033】図6に示されているように、ビットテーブ
ルにはテーブル1〜4までの4種類が予め設定されてい
る。たとえば、テーブル1のビット2が”1”であれば
前席左窓FLを閉じさせる(アップさせる)ことを示し、
この場合には前席左窓FLが閉じる方向へモータMFLが回
転するように制御される。以下、同様にテーブル1のビ
ット3が”1”であれば後席右窓RRを閉じさせることを
示し、ビット4が”1”であれば後席左窓RLを閉じさせ
ることを示し、ビット5が”1”であれば前席左窓FLを
開かせる(ダウンさせる)ことを示し、ビット6が”
1”であれば後席右窓RRを開かせることを示し、ビット
7が”1”であれば後席左窓RLを開かせることを示す。
As shown in FIG. 6, four types of tables 1 to 4 are preset in the bit table. For example, if bit 2 of table 1 is "1", it indicates that front seat left window FL is to be closed (up).
In this case, control is performed so that the motor MFL rotates in the direction in which the front seat left window FL closes. Similarly, if bit 3 of Table 1 is "1", it indicates that the rear right window RR is closed, and if bit 4 is "1", it indicates that the rear left window RL is closed. If 5 is “1”, it indicates that the front seat left window FL is to be opened (down), and bit 6 is “1”.
If "1", the rear right window RR is opened, and if the bit 7 is "1", the rear left window RL is opened.

【0034】換言すれば、テーブル1を使用してドアユ
ニット2からボディユニット1へ通信を行なう場合、ド
アユニット2の送信データ組み立て部204 は識別コード
を”00”にし、この際に前席左窓FLをアップすると共に
後席右窓RRをダウンすることが制御部201 から指示され
ていれば、送信データ組み立て部204 はテーブル1の6
ビットのデータを”100010”にし、全体として”001000
10”という8ビットのデータフレームを生成して通信回
路21へ与える。
In other words, when communication is performed from the door unit 2 to the body unit 1 using the table 1, the transmission data assembling section 204 of the door unit 2 sets the identification code to "00", If the control unit 201 instructs the control unit 201 to raise the window FL and lower the rear right window RR, the transmission data assembling unit 204 performs the processing in the table 1 at 6
Set the bit data to “100010”, and as a whole “001000
An 8-bit data frame "10" is generated and provided to the communication circuit 21.

【0035】上述と同様の情報をたとえばテーブル3を
使用して通信する場合には、送信データ組み立て部204
は識別コードを”10”に、データを”011000”にし、全
体として”10011000”という8ビットのデータフレーム
を生成する。
When information similar to that described above is communicated using, for example, table 3, transmission data assembling section 204
Sets the identification code to "10" and the data to "011000" to generate an 8-bit data frame "10011000" as a whole.

【0036】ところで、ビットテーブル記憶部202 及び
ビットテーブル記憶部102 に記憶されている4種類のテ
ーブルの同一ビット、たとえばビット2には、テーブル
1では前述の如く前席左窓FLのアップを、テーブル2で
は後席左窓RLのアップを、テーブル3では後席右窓RRの
アップを、テーブル4では後席右窓RRのダウンをそれぞ
れが”1”である場合に示すように割り付けられてお
り、同一の情報が割り付けられないようになっている。
他のビット3乃至7に関しても同様に、同一の情報が割
り付けられないようになっている。
By the way, in the same bit of the four types of tables stored in the bit table storage unit 202 and the bit table storage unit 102, for example, bit 2, in the table 1, the front left window FL is raised as described above. In Table 2, rear left window RL is raised, in table 3, rear right window RR is raised, and in table 4, rear right window RR is lowered. Therefore, the same information cannot be assigned.
Similarly, the same information is not assigned to the other bits 3 to 7.

【0037】上述のような4種類のテーブルをどのよう
に組み合わせて通信を行なうかは、以下の二通りの手法
が考えられる。
The following two methods are conceivable as to how to communicate by combining the above four types of tables.

【0038】第1の手法は、予め組み合わせの順序を決
定しておく手法である。たとえば、テーブル1,2,
3,4の順に反復して使用して送信する。この場合に
は、送信側と受信側とでテーブルの使用順を予め定めて
おけば、たとえば8ビット全てが”1”というような現
実には意味のないデータフレームを通信開始の合図とし
て送信し、それ以降に予め定められている順にテーブル
を使用して送信することにより、識別コードを不要にす
ることが可能になる。従って、第1の手法を採る場合
は、識別コードの2ビットを削除した6ビットでデータ
フレームを構成するか、あるいは8ビットの全てをデー
タとして使用することが可能になる。
The first method is a method in which the order of combinations is determined in advance. For example, tables 1, 2,
It is used repeatedly and transmitted in the order of 3,4. In this case, if the use order of the table is determined in advance between the transmission side and the reception side, a data frame that does not actually make sense, for example, in which all 8 bits are “1”, is transmitted as a signal to start communication. After that, by transmitting the data using the table in a predetermined order, the identification code can be made unnecessary. Therefore, when the first method is adopted, it is possible to configure a data frame with 6 bits obtained by removing 2 bits of the identification code, or to use all 8 bits as data.

【0039】第2の手法は、送信側で乱数により使用す
るテーブルを決定する手法である。この場合には識別コ
ードは必要不可欠になる。
The second method is a method in which a table to be used is determined on the transmission side using random numbers. In this case, the identification code becomes indispensable.

【0040】以上のような本発明のサイクリック通信装
置の動作について、以下に説明する。まず、たとえば開
いている前席右窓FRを運転者が閉じようとして運転者が
ドアユニット2のスイッチSFRUP をオン操作し続けたと
する。これによりスイッチSFRUP がオン状態に維持され
てそのオン信号が所定時間間隔でドアユニット2のスイ
ッチ入力回路23に取り込まれる。ドアユニット2の制御
部201 は、スイッチ入力回路23に入力したオン信号に対
応するアクチュエータであるモータMFR は自身に接続さ
れているので、負荷駆動回路22に制御信号を与える。こ
れにより、モータMFR は負荷駆動回路22により連続的に
制御されて前席右窓FRが閉じる方向へ駆動される。
The operation of the above-described cyclic communication device of the present invention will be described below. First, for example, it is assumed that the driver continues to turn on the switch SFRUP of the door unit 2 in order to close the opened front right window FR. As a result, the switch SFRUP is maintained in the ON state, and the ON signal is taken into the switch input circuit 23 of the door unit 2 at predetermined time intervals. The control unit 201 of the door unit 2 supplies a control signal to the load drive circuit 22 because the motor MFR, which is an actuator corresponding to the ON signal input to the switch input circuit 23, is connected to itself. As a result, the motor MFR is continuously controlled by the load drive circuit 22, and is driven in the direction in which the front right window FR closes.

【0041】この後、運転者がスイッチスイッチSFRUP
をオフすると、それがドアユニット2のスイッチ入力回
路23に取り込まれ、モータMFR の駆動が停止されて前席
右窓FRの駆動も停止される。
Thereafter, the driver operates the switch SFRUP
Is turned off, it is taken into the switch input circuit 23 of the door unit 2, the driving of the motor MFR is stopped, and the driving of the front seat right window FR is also stopped.

【0042】次に、たとえば開いている後席左窓RLを運
転者が閉じようとしてドアユニット2のスイッチSRLUP
をオン操作し続けたとする。これによりスイッチSRLUP
がオン状態に維持されてそのオン信号が所定時間間隔で
ドアユニット2のスイッチ入力回路23に入力される。ド
アユニット2の制御部201 は、スイッチ入力回路23に入
力したオン信号に対応するアクチュエータであるモータ
MRR は自身にではなくボディユニット1に接続されてい
るので、以下の手順でボディユニット1との通信を行な
う。
Next, for example, when the driver tries to close the open rear left window RL, the switch SRLUP of the door unit 2 is opened.
Is turned on. This allows the switch SRLUP
Is maintained in the ON state, and the ON signal is input to the switch input circuit 23 of the door unit 2 at predetermined time intervals. The control unit 201 of the door unit 2 is a motor which is an actuator corresponding to the ON signal input to the switch input circuit 23.
Since the MRR is connected not to itself but to the body unit 1, communication with the body unit 1 is performed in the following procedure.

【0043】まず、前述の第1の手法を採る場合、即ち
ビットテーブルの使用順が予め、たとえばテーブル1,
2,3,4の順に予め定められている場合について説明
する。
First, when the above-described first method is adopted, that is, the order of use of the bit table is determined in advance, for example, in Table 1,
A case in which 2, 3, and 4 are determined in advance will be described.

【0044】制御部201 は後席左窓RLをアップさせるス
イッチSRLUP がオン状態にされたことを意味する信号を
送信データ組み立て部204 に与える。送信データ組み立
て部204 では、まず8ビット全てが”1”のデータフレ
ームを通信回路21に送信させる。次に、送信データ組み
立て部204 はビットテーブル記憶部202 からテーブル1
を読み出し、ビット4が後席左窓RLをアップさせるビッ
トとして割り付けられているので、”001000”のデータ
を生成し、テーブル1を意味する識別コード”00”と合
わせて8ビットのデータフレーム”00001000”を生成す
る。この8ビットのデータフレームは通信回路21からボ
ディユニット1の通信回路11へ送信される。
The control section 201 gives a signal to the transmission data assembling section 204 that the switch SRLUP for raising the rear left window RL is turned on. The transmission data assembling section 204 first causes the communication circuit 21 to transmit a data frame in which all 8 bits are “1”. Next, the transmission data assembling unit 204 stores the table 1 from the bit table storage unit 202.
Is read, and bit 4 is assigned as a bit for raising the rear left window RL, so that data of “001000” is generated, and an 8-bit data frame is added together with the identification code “00” meaning Table 1. 00001000 ”is generated. The 8-bit data frame is transmitted from the communication circuit 21 to the communication circuit 11 of the body unit 1.

【0045】次に、ドアユニット2の制御部201 はいず
れかのスイッチからの信号入力の有無を調べ、なければ
送信データ組み立て部204 はビットテーブル記憶部202
からテーブル2を読み出し、ビット1が後席左窓RLをア
ップさせるビットとして割り付けられているので、”10
0000”のデータを生成し、テーブル2を意味する識別コ
ード”01”と合わせて8ビットのデータフレーム”0110
0000”を生成する。こののデータフレームは通信回路21
からボディユニット1の通信回路11へ送信される。
Next, the control unit 201 of the door unit 2 checks the presence or absence of a signal input from any of the switches.
Table 2 is read out from the table, and bit 1 is assigned as a bit for raising the rear left window RL.
0000 "data and an 8-bit data frame" 0110 "together with the identification code" 01 "meaning Table 2.
0000 ". This data frame is transmitted to the communication circuit 21.
Is transmitted to the communication circuit 11 of the body unit 1.

【0046】更に、ドアユニット2の制御部201 はいず
れかのスイッチからの信号入力の有無を調べ、なければ
送信データ組み立て部204 はビットテーブル記憶部202
からテーブル3を読み出し、ビット5が後席左窓RLをア
ップさせるビットとして割り付けられているので、”00
0100”のデータを生成し、テーブル3を意味する識別コ
ード”10”と合わせて8ビットのデータフレーム”1000
0100”を生成する。このデータフレームは通信回路21か
らボディユニット1の通信回路11へ送信される。
Further, the control unit 201 of the door unit 2 checks the presence or absence of a signal input from one of the switches.
Table 3 is read out from the table, and bit 5 is assigned as a bit for raising the rear left window RL.
0100 ”data and an 8-bit data frame“ 1000 ”together with the identification code“ 10 ”meaning Table 3.
0100 ". This data frame is transmitted from the communication circuit 21 to the communication circuit 11 of the body unit 1.

【0047】最後に、ドアユニット2の制御部201 はい
ずれかのスイッチからの信号入力の有無を調べ、なけれ
ば送信データ組み立て部204 はビットテーブル記憶部20
2 からテーブル4を読み出し、ビット7が後席左窓RLを
アップさせるビットとして割り付けられているので、”
000001”のデータを生成し、テーブル4を意味する識別
コード”11”と合わせて8ビットのデータフレーム”11
000001”を生成する。このデータフレームは通信回路21
からボディユニット1の通信回路11へ送信される。
Finally, the control unit 201 of the door unit 2 checks the presence or absence of a signal input from any of the switches.
Table 4 is read from 2 and bit 7 is assigned as a bit for raising the rear left window RL.
000001 ”data is generated, and an 8-bit data frame“ 11 ”is added together with the identification code“ 11 ”meaning Table 4.
000001 ". This data frame is transmitted to the communication circuit 21.
Is transmitted to the communication circuit 11 of the body unit 1.

【0048】以下、同様の動作がスイッチSRLUP のオン
状態が解除されるまで、あるいは他のスイッチが操作さ
れるまで継続される。スイッチSRLUP のみがオンされて
いる状態からそのオン状態が解除された場合には、送信
されるデータは”000000”になる。また、他のスイッチ
がオン操作された場合にはそれぞれに対応したデータが
生成される。
Hereinafter, the same operation is continued until the ON state of the switch SRLUP is released or until another switch is operated. When the ON state of only the switch SRLUP is released from the ON state, the data to be transmitted becomes “000000”. When other switches are turned on, data corresponding to each of them is generated.

【0049】ボディユニット1側では以下のような手順
で動作する。ボディユニット1の通信回路11がドアユニ
ット2の通信回路21から8ビット全てが”1”のデータ
フレームに引き続いて8ビット”00001000”のデータフ
レームを受信すると、それを識別データ読み出し部103
及びデータ読み出し部104 に与える。ビットテーブル記
憶部102 では上位側の2ビット”00”を読み出して受信
データ組み立て部105 に与え、データ読み出し部104 で
は下位側の6ビット”001000”を読み出して受信データ
組み立て部105 に与える。受信データ組み立て部105 で
は、テーブル1が使用されていることを認識して6ビッ
トのデータ”001000”の”1”の値のビット4の意味、
即ち後席左窓RLをアップすることを認識する。
The body unit 1 operates according to the following procedure. When the communication circuit 11 of the body unit 1 receives, from the communication circuit 21 of the door unit 2, a data frame of 8 bits “00001000” following a data frame of all 8 bits “1”, the data frame is identified by the identification data reading unit 103.
And a data reading unit 104. The bit table storage unit 102 reads out the upper two bits “00” and supplies it to the received data assembling unit 105, and the data read unit 104 reads out the lower six bits “001000” and supplies it to the received data assembling unit 105. The reception data assembling unit 105 recognizes that the table 1 is used, meaning the meaning of the bit 4 of the value of “1” of the 6-bit data “001000”,
That is, it recognizes that the rear seat left window RL is to be raised.

【0050】ボディユニット1のデータ読み出し部104
は後席左窓RLをアップすることを意味する信号を制御部
101 に与える。制御部101 では負荷駆動回路22に制御信
号を与える。これにより、モータMFR は負荷駆動回路22
により所定時間にわたって駆動制御されて前席右窓FRが
閉じる方向に駆動される。
Data reading section 104 of body unit 1
Controls the signal that means the rear seat left window RL is up
Give to 101. The control unit 101 supplies a control signal to the load drive circuit 22. As a result, the motor MFR is connected to the load drive circuit 22.
Thus, the front right window FR is driven in a direction to close for a predetermined time.

【0051】次のデータフレームがボディユニット1に
受信されると、識別コード”01”に従ってテーブル2に
より後席左窓RLをアップすることが認識され、負荷駆動
回路22に制御信号が与えられ、モータMFR が所定時間に
わたって駆動制御されて前席右窓FRが閉じる方向に駆動
される。以下同様に、データフレームが受信される都
度、前席右窓FRが閉じる方向に駆動されるようにモータ
MFR が駆動制御され、前席右窓FRが閉じる方向に連続的
に駆動される。
When the next data frame is received by the body unit 1, it is recognized that the rear left window RL is to be raised by the table 2 according to the identification code "01", and a control signal is given to the load drive circuit 22. The drive of the motor MFR is controlled for a predetermined time to drive the front right window FR in the closing direction. Similarly, each time a data frame is received, the motor is driven so that the front right window FR is closed.
The drive of the MFR is controlled, and the front right window FR is continuously driven in the closing direction.

【0052】次に、前述の第2の手法を採る場合、即ち
ビットテーブルを乱数に従って使用する場合について説
明する。この場合には、ドアユニット2の送信データ組
み立て部204 は8ビット全てが”1”のデータフレーム
を送信することはなく、まず乱数発生部203 が発生する
乱数に従っていずれのテーブルを使用するかを決定す
る。使用するテーブルが決定すれば、以下の手順は前述
の場合と同様であり、8ビットのデータフレームを通信
回路21からボディユニット1の通信回路11へ送信させ
る。以下、同様にして乱数発生部203 が発生する乱数に
従ってデータフレーム送信をドアユニット2からボディ
ユニット1へ行なう。
Next, a case where the above-described second method is adopted, that is, a case where a bit table is used according to random numbers will be described. In this case, the transmission data assembling section 204 of the door unit 2 does not transmit a data frame in which all 8 bits are “1”, and first determines which table to use according to the random number generated by the random number generating section 203. decide. If the table to be used is determined, the following procedure is the same as in the above-described case, and an 8-bit data frame is transmitted from the communication circuit 21 to the communication circuit 11 of the body unit 1. Hereinafter, similarly, the data frame is transmitted from the door unit 2 to the body unit 1 according to the random number generated by the random number generation unit 203.

【0053】ボディユニット1側の手順は前述の場合と
同様である。なお、ドアユニット2側で使用するテーブ
ルを乱数に従って決定する際には、乱数を発生させてそ
れぞれに対応してテーブルを決定する。
The procedure on the body unit 1 side is the same as in the case described above. When a table to be used on the door unit 2 side is determined according to a random number, a random number is generated and a table is determined corresponding to each.

【0054】なお、上記実施例では自動車に本発明のサ
イクリック通信装置を適用した例について説明したが、
これにかぎるものではなく、アクチュエータを連続的に
駆動するような制御には広く適用可能である。また、上
記実施例では窓の開閉, サイドミラーの角度調整等に適
用した例について説明したが、これに限るものではな
く、エンジンの燃料噴射量の制御、ブレーキ(ABS) 制
御、あるいは四輪操舵等の操舵系, 更にはワイパ, エア
コンディショナ, オーディオ装置等にも適用可能である
ことは言うまでもない。
In the above embodiment, an example is described in which the cyclic communication device of the present invention is applied to an automobile.
The present invention is not limited to this, and can be widely applied to control for continuously driving an actuator. Further, in the above-described embodiment, an example in which the present invention is applied to opening and closing of a window, angle adjustment of a side mirror, and the like has been described. However, the present invention is not limited to this. It is needless to say that the present invention can be applied to a steering system such as a wiper, an air conditioner, and an audio device.

【0055】[0055]

【発明の効果】以上に詳述したように本発明に係るサイ
クリック通信装置によれば、サイクリック通信装置の実
施に際して、データフレームのサイクリック間隔とノイ
ズの発生周期とがほぼ一致するような状況においても、
正しい情報を伝達し得て正常な通信が可能になる。
As described above in detail, according to the cyclic communication device of the present invention, when the cyclic communication device is implemented, the cyclic interval of the data frame and the generation cycle of the noise substantially coincide with each other. Even in the situation,
Correct information can be transmitted, and normal communication can be performed.

【0056】また、予め設定された順序で送信側及び受
信側で複数のテーブルを使用すれば、各テーブルを識別
するコードが不要になるので、送信すべきデータ列のビ
ット数を削減することが、あるいはより多くの情報を送
信することが可能になる。また、送信側の装置に乱数発
生部を備え、発生された乱数に従ってテーブルの使用順
序を決定する場合には、送信の開始を指示する必要がな
くなる。
Further, if a plurality of tables are used on the transmitting side and the receiving side in a predetermined order, a code for identifying each table becomes unnecessary, so that the number of bits of the data string to be transmitted can be reduced. , Or more information. Further, when the transmitting apparatus is provided with a random number generation unit and determines the use order of the table according to the generated random numbers, it is not necessary to instruct the start of transmission.

【0057】更に、アクチュエータの駆動制御に適用し
た場合には、誤動作を回避することが可能になり、正確
な制御が行なえると共に誤動作に伴う危険性を回避する
ことが可能になる。
Further, when the present invention is applied to the drive control of the actuator, it is possible to avoid a malfunction, and it is possible to perform accurate control and to avoid a risk associated with the malfunction.

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

【図1】本発明のサイクリック通信装置の適用対象とし
ての一般的な自動車(普通乗用車)の模式的平面図であ
る。
FIG. 1 is a schematic plan view of a general automobile (ordinary passenger car) to which a cyclic communication device according to the present invention is applied.

【図2】本発明のサイクリック通信装置の一実施例のボ
ディユニット及びドアユニットに接続される各スイッチ
及びアクチュエータの一例を示す模式図である。
FIG. 2 is a schematic diagram showing an example of switches and actuators connected to a body unit and a door unit of one embodiment of the cyclic communication device of the present invention.

【図3】本発明のサイクリック通信装置の一実施例のボ
ディユニット及びドアユニットの内部構成の一例を示す
ブロック図である。
FIG. 3 is a block diagram illustrating an example of an internal configuration of a body unit and a door unit of one embodiment of the cyclic communication device according to the present invention.

【図4】本発明のサイクリック通信装置により送受信さ
れるデータフレームの構成を示す模式図である。
FIG. 4 is a schematic diagram showing a configuration of a data frame transmitted and received by the cyclic communication device of the present invention.

【図5】本発明のサイクリック通信装置の識別コードの
値に対応するビットテーブルを示す一覧表である。
FIG. 5 is a list showing a bit table corresponding to the value of the identification code of the cyclic communication device of the present invention.

【図6】本発明のサイクリック通信装置のビットテーブ
ルの内容例を示す一覧表である。
FIG. 6 is a list showing a content example of a bit table of the cyclic communication device of the present invention.

【符号の説明】[Explanation of symbols]

1 ボディユニット 2 ドアユニット 102 第1ビットテーブル記憶部 103 識別データ読み出し部 104 データ読み出し部 105 受信データ組み立て部 202 第2ビットテーブル記憶部 203 ビットテーブル記憶部 204 送信データ組み立て部 SFRUP 等 スイッチ MMRUP 等 モータ (アクチュエータ) 1 Body unit 2 Door unit 102 First bit table storage unit 103 Identification data read unit 104 Data read unit 105 Receive data assembling unit 202 Second bit table storage unit 203 Bit table storage unit 204 Transmission data assembling unit SFRUP etc. Switch MMRUP etc. Motor (Actuator)

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 5/22 H04L 1/00 H04Q 9/00 H04L 12/40 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) H04L 5/22 H04L 1/00 H04Q 9/00 H04L 12/40

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 送信側の装置から受信側の装置へ情報を
表す信号を反復して送受信するサイクリック通信装置に
おいて、 前記送信側の装置(2) は、 送信すべき複数の情報がそれぞれ異なるビットに予め割
り付けられた複数のテーブルを記憶した第1のビットテ
ーブル記憶部(202) と、 予め定められた順序に従って前記第1のビットテーブル
記憶部(202) からテーブルを選択し、選択したテーブル
に従って送信すべき情報に対応するビットに値を設定し
て送信用のデータ列を生成する送信データ組み立て部(2
04) とを備え、 前記受信側の装置(1) は、 前記第1のビットテーブル記憶部(202) と同一内容の第
2のビットテーブル記憶部(102) と、 順次受信したデータ列に含まれるビット列を認識するデ
ータ読み出し部(104)と、 前記データ読み出し部(104) が認識した各ビット列と、
前記第2のビットテーブル記憶部(102) から予め定めら
れている順序に従って順次読み出したテーブルと照合し
て情報を認識する受信データ組み立て部(105) とを備え
たことを特徴とするサイクリック通信装置。
1. A cyclic communication device for repeatedly transmitting and receiving a signal representing information from a transmitting device to a receiving device, wherein the transmitting device (2) has different pieces of information to be transmitted. A first bit table storage unit (202) storing a plurality of tables pre-assigned to bits; and selecting a table from the first bit table storage unit (202) according to a predetermined order. The transmission data assembling unit (2) sets a value to a bit corresponding to information to be transmitted according to and generates a data sequence for transmission.
04), wherein the receiving-side device (1) includes a second bit table storage unit (102) having the same contents as the first bit table storage unit (202), and A data reading unit (104) for recognizing a bit string to be read; each bit string recognized by the data reading unit (104);
A receiving data assembling section (105) for recognizing information by comparing the table with a table sequentially read out from the second bit table storage section (102) in a predetermined order. apparatus.
【請求項2】 送信側の装置から受信側の装置へ情報を
表す信号を反復して送受信するサイクリック通信装置に
おいて、 前記送信側の装置(2) は、 乱数を発生する乱数発生部(203) と、 送信すべき複数の情報がそれぞれ異なるビットに予め割
り付けられた複数のテーブルを記憶した第1のビットテ
ーブル記憶部(202) と、 前記乱数発生部(203) が発生した乱数に従って前記第1
のビットテーブル記憶部(202) からテーブルを選択し、
選択したテーブルに従って送信すべき情報に対応するビ
ットに値を設定し、それぞれのテーブルに予め割り付け
られている識別コードを付加して送信用のデータ列を生
成する送信データ組み立て部(204) とを備え、 前記受信側の装置(1) は、 前記第1のビットテーブル記憶部(202) と同一内容の第
2のビットテーブル記憶部(102) と、 順次受信したデータ列に含まれる識別コードを認識する
識別データ読み出し部(103) と、 順次受信したデータ列に含まれるビット列を認識するデ
ータ読み出し部(104)と、 前記データ読み出し部(104) が認識した各ビット列と、
前記第2のビットテーブル記憶部(102) から前記識別デ
ータ読み出し部(103) が認識した識別コードに従って読
み出したテーブルと照合して情報を認識する受信データ
組み立て部(105) とを備えたことを特徴とするサイクリ
ック通信装置。
2. A cyclic communication device for repeatedly transmitting and receiving a signal representing information from a transmitting device to a receiving device, wherein the transmitting device (2) comprises: a random number generator (203) for generating a random number. ), A first bit table storage unit (202) storing a plurality of tables in which a plurality of pieces of information to be transmitted are respectively allocated to different bits in advance, and the random number generation unit (203). 1
Select a table from the bit table storage unit (202) of
A transmission data assembling unit (204) for setting a value to a bit corresponding to information to be transmitted according to the selected table, adding an identification code assigned in advance to each table, and generating a data string for transmission. The receiving device (1) includes a second bit table storage unit (102) having the same contents as the first bit table storage unit (202), and an identification code included in the sequentially received data sequence. An identification data reading unit (103) for recognition, a data reading unit (104) for recognizing a bit sequence included in the sequentially received data sequence, and a bit sequence recognized by the data reading unit (104);
A receiving data assembling section (105) for recognizing information by collating with a table read from the second bit table storage section (102) in accordance with the identification code recognized by the identification data reading section (103). Characteristic cyclic communication device.
【請求項3】 少なくとも一つのスイッチが接続され、
前記スイッチのオン/オフ情報を取り込む送信側の制御
装置と、少なくとも一つの負荷が接続され、前記負荷の
駆動を制御する受信側の制御装置とを伝送線で接続し、
両制御装置間で情報を表す信号を反復して送受信するサ
イクリック通信装置において、 前記送信側の制御装置(2) は、 前記スイッチのオン/オフ情報がそれぞれ異なるビット
に予め割り付けられた複数のテーブルを記憶した第1の
ビットテーブル記憶部(202) と、 予め定められた順序に従って前記第1のビットテーブル
記憶部(202) からテーブルを選択し、選択したテーブル
に従って送信すべき情報に対応するビットに値を設定し
て送信用のデータ列を生成する送信データ組み立て部(2
04) とを備え、 前記受信側の制御装置(1) は、 前記第1のビットテーブル記憶部(202) と同一内容の第
2のビットテーブル記憶部(102) と、 順次受信したデータ列に含まれるビット列を認識するデ
ータ読み出し部(104)と、 前記データ読み出し部(104) が認識した各ビット列と、
前記第2のビットテーブル記憶部(102) から予め定めら
れている順序に従って順次読み出したテーブルと照合し
て情報を認識する受信データ組み立て部(105) とを備え
たことを特徴とするサイクリック通信装置。
3. At least one switch is connected,
A transmission-side control device that captures the on / off information of the switch, and at least one load is connected, and a reception-side control device that controls driving of the load is connected by a transmission line,
In a cyclic communication device that repeatedly transmits and receives a signal representing information between both control devices, the transmission-side control device (2) includes a plurality of switches in which on / off information of the switch is pre-assigned to different bits. A first bit table storage unit (202) storing a table; and a table selected from the first bit table storage unit (202) according to a predetermined order, and corresponding to information to be transmitted according to the selected table. A transmission data assembler (2) that sets a value to a bit to generate a transmission data sequence
04), and the control device (1) on the receiving side includes: a second bit table storage unit (102) having the same contents as the first bit table storage unit (202); A data reading unit (104) for recognizing the included bit string, and each bit string recognized by the data reading unit (104);
A receiving data assembling section (105) for recognizing information by comparing the table with a table sequentially read out from the second bit table storage section (102) in a predetermined order. apparatus.
【請求項4】 少なくとも一つのスイッチが接続され、
前記スイッチのオン/オフ情報を取り込む送信側の制御
装置と、少なくとも一つの負荷が接続され、前記負荷の
駆動を制御する受信側の制御装置とを伝送線で接続し、
両制御装置間で情報を表す信号を反復して送受信するサ
イクリック通信装置において、 前記送信側の制御装置(2) は、 乱数を発生する乱数発生部(203) と、 前記スイッチのオン/オフ情報がそれぞれ異なるビット
に予め割り付けられた複数のテーブルを記憶した第1の
ビットテーブル記憶部(202) と、 前記乱数発生部(203) が発生した乱数に従って前記第1
のビットテーブル記憶部(202) からテーブルを選択し、
選択したテーブルに従って送信すべき情報に対応するビ
ットに値を設定し、それぞれのテーブルに予め割り付け
られている識別コードを付加して送信用のデータ列を生
成する送信データ組み立て部(204) とを備え、 前記受信側の制御装置(1) は、 前記第1のビットテーブル記憶部(202) と同一内容の第
2のビットテーブル記憶部(102) と、 順次受信したデータ列に含まれるビット列を認識するデ
ータ読み出し部(104)と、 前記データ読み出し部(104) が認識した各ビット列と、
前記第2のビットテーブル記憶部(102) から前記識別デ
ータ読み出し部(103) が認識した識別コードに従って読
み出したテーブルと照合して情報を認識する受信データ
組み立て部(105) とを備えたことを特徴とするサイクリ
ック通信装置。
4. At least one switch is connected,
A transmission-side control device that captures the on / off information of the switch, and at least one load is connected, and a reception-side control device that controls driving of the load is connected by a transmission line,
In a cyclic communication device for repeatedly transmitting and receiving a signal representing information between both control devices, the control device (2) on the transmission side includes: a random number generation unit (203) for generating a random number; A first bit table storage unit (202) storing a plurality of tables in which information is pre-assigned to different bits, and the first random number generation unit (203)
Select a table from the bit table storage unit (202) of
A transmission data assembling unit (204) for setting a value to a bit corresponding to information to be transmitted according to the selected table, adding an identification code assigned in advance to each table, and generating a data string for transmission. The control device (1) on the receiving side includes: a second bit table storage unit (102) having the same content as the first bit table storage unit (202); and a bit sequence included in the sequentially received data sequence. A data read unit (104) to be recognized, and each bit string recognized by the data read unit (104);
A receiving data assembling section (105) for recognizing information by collating with a table read from the second bit table storage section (102) in accordance with the identification code recognized by the identification data reading section (103). Characteristic cyclic communication device.
JP33238593A 1993-12-27 1993-12-27 Cyclic communication device Expired - Fee Related JP3215763B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33238593A JP3215763B2 (en) 1993-12-27 1993-12-27 Cyclic communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33238593A JP3215763B2 (en) 1993-12-27 1993-12-27 Cyclic communication device

Publications (2)

Publication Number Publication Date
JPH07193559A JPH07193559A (en) 1995-07-28
JP3215763B2 true JP3215763B2 (en) 2001-10-09

Family

ID=18254380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33238593A Expired - Fee Related JP3215763B2 (en) 1993-12-27 1993-12-27 Cyclic communication device

Country Status (1)

Country Link
JP (1) JP3215763B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4561643B2 (en) * 2006-01-26 2010-10-13 株式会社デンソー Vehicle door system

Also Published As

Publication number Publication date
JPH07193559A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
US6006143A (en) Method of operating a control system for the control of motor vehicle components
US6756886B2 (en) Remote start system including an engine speed data bus reader and related methods
US7046126B2 (en) Vehicle window control system for a vehicle having a data communications bus and associated methods
US7224083B2 (en) Remote start system for a vehicle having a data communications bus and related methods
US6756885B1 (en) Multi-vehicle compatible control system for reading from a data bus and associated methods
US6346876B1 (en) Multi-vehicle compatible control system generating command signals on a data bus and associated methods
US7369936B2 (en) Remote start control system including an engine speed data bus reader and related methods
JPH03128543A (en) Communication system between master and slave processors
JPH03128545A (en) Connection system between master and slave processors
GB2265798A (en) Vehicle data communication and control system including fail-safe function
US7978048B2 (en) Keyless entry system
JP3215763B2 (en) Cyclic communication device
JP2662912B2 (en) Communication control device
JP3281040B2 (en) Multiplex transmission equipment
JP3073325B2 (en) Door lock control device
KR100272828B1 (en) Lan system of vehicle using distribution and concentration controlled method
CA2426670C (en) Remote start system including an engine speed data bus reader and related methods
CA2415027C (en) Multi-vehicle compatible control system for reading from a data bus and associated methods
US11261649B2 (en) Vehicle window control system and method thereof
JP2628808B2 (en) Power window control device
JPH084414A (en) Multiplex communication system
JPH0746666A (en) Multiplex communication system for vehicle
JP3133514B2 (en) Multiplex transmission method
JPH07107072A (en) Frame transmission method
JPH06351078A (en) Communication equipment for vehicle

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080727

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080727

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090727

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090727

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100727

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees