JPS6182205A - Arrival signal discriminating method of mobile microcomputer, and its device - Google Patents

Arrival signal discriminating method of mobile microcomputer, and its device

Info

Publication number
JPS6182205A
JPS6182205A JP20467184A JP20467184A JPS6182205A JP S6182205 A JPS6182205 A JP S6182205A JP 20467184 A JP20467184 A JP 20467184A JP 20467184 A JP20467184 A JP 20467184A JP S6182205 A JPS6182205 A JP S6182205A
Authority
JP
Japan
Prior art keywords
signal
microcomputer
port
transmission
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP20467184A
Other languages
Japanese (ja)
Inventor
Junichi Mizutani
淳一 水谷
Chikahisa Hayashi
林 知加久
Yoshio Sano
佐野 良男
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.)
Toyoda Gosei Co Ltd
Original Assignee
Toyoda Gosei Co 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 Toyoda Gosei Co Ltd filed Critical Toyoda Gosei Co Ltd
Priority to JP20467184A priority Critical patent/JPS6182205A/en
Publication of JPS6182205A publication Critical patent/JPS6182205A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)

Abstract

PURPOSE:To eliminate a noise and to decide an arrival signal by sampling odd times a signal which has arrived at a port of a microcomputer, and deciding it by a majority. CONSTITUTION:In one chip microcomputers CPU1, CPU2, sampling groups SP1-SP5 are formed by sampling an arrival data, for instance, five times each. Subsequently, 'H' and 'L' are determined by a decision by majority of the sampling groups SP1-SP5, also 'H' and 'L' are determined by a decision by majority of the generation frequency of 'H' and 'L', and an arrival signal is determined.

Description

【発明の詳細な説明】[Detailed description of the invention]

[産業上の利用分野1 本発明は、車載用マイク1−1]ンピコータの入力にノ
イズが重畳して、マイク1ココンピコータがぞの信号の
判断を誤り、誤動作を引き起1−ことを防止する車輌用
マイク[]ココンピコ−の到来信号判別方法及びその装
置に関りるものである。 [従来の技術] 一般に、自動車の]ン1〜ローラは運転者のIυ−す手
近に配設刀るのが望ましい。しかし、近4■−の自動車
の■レフ1〜ロニクス化が進むにつれて、コントローラ
は多様化し、自動中の走行時にも運転者の姿勢をくずす
ことなく]ン]・[1−ルでさる]ントローラの設問箇
所が必要どなってぎた。そこで、運転者の最bT九に近
い箇所で、しか−6操作し易い箇所どじでステアリング
ホイールのパッド部分が注口されてきでいる。 ところが、ステアリングホイールのパッド部分に各(手
の操作部等の送信装置“を設
[Industrial Application Field 1] The present invention prevents noise from being superimposed on the input of a vehicle-mounted microphone 1-1 compressor, causing the microphone 1-computer picoater to misjudge its own signal, causing malfunction. The present invention relates to a method and apparatus for determining an incoming signal of a vehicle microphone. [Prior Art] Generally, it is desirable that the wheels and rollers of an automobile be located close to the driver's seat. However, as cars in the 4th century have become more and more sophisticated, controllers have become more diverse, and controllers that can be used without losing the driver's posture even when driving automatically. There was a huge need for questions. Therefore, the pad portion of the steering wheel is spouted at a location closest to the driver's bT9, and at a location that is easier to operate. However, if a transmitter (such as a hand control unit) is installed on the pad of the steering wheel,

【Jるには、実装トの問題
から送信装置t’l let極めて簡i11/i構造に
しイ1りれば41ら(−jいこと、及びステアリングホ
イールの回転部分どぞれに対向づる静止部分である受信
装置どを接続する配線を筒中化覆る必要があり、場合に
よって1.1、囲動接点を多く用い<r LJればなら
ず、信頼性土留Jニジいものではない等の問題があった
。それを解決づるための]ン1〜[1−ラとして、次の
様2i 71ン1へ[1−ラが公知である。 ■ら、前記公知の]ン1へ11−ラは、外部からの手動
操作に応じて操作信号を発生する操作部と、その操作部
が出力Jる操作信シ)を人力し、その信号に対応して、
2進並列符弓化信号をz1成Jる信)]発生部と、その
信号発生部の出力する2進並列符号化信号をシリアルデ
ータ信号に変換して、受信装置に(1:信するシリアル
データ送出部とを自動車のステアリング11〜イールに
配設した送信RtiWと、前記シリアル信号を受信し2
進並列符号化信号に変換するシリアルデータ受信部と、
そのシリアルデータ受信部によって変換された信号を解
読し、これに対応した制御信号を各アクブコ■−夕に出
力する制御部どを車体側に設置jた受信装置と、前記送
信装置と前記受信装置とを接続する給電線及びシリアル
データ伝送線路とからなるものである。 第34図は−に記公知の]ントローラのブロック図であ
る。この秤のコント[J−ラは大きく分けて、ステアリ
ングホイールに設けられた送信装置1と車体側に設けら
れた受信装置5と、両各を接続する給電線9及び11と
シリアルデータ伝送1!1110とから成るものである
。送信装置I L↓、操作部2と信号発生部3どシリア
ルデータ送出部4どから成る。これらの装置の給電は、
車載バッテリー12から前記給電線9及び10を介して
行われる。 送信装置1は、ステアリングホイールのパッド部に設け
られる。操作部2は、自動復帰形の押り。 ボタンスイッチ、ダイアルスイッチ、フォトイン= 5
− クースイッ−1を用いた光スイッチ等の外部からの手動
操f+に応じて電気的伏目を発生し1りるものが使用さ
れる。信号発生部3・は操作部2と結合され、操作部の
操作状態に応じて2進並列符号化信号を発生りる1幾能
を右するものである。一般的には、エン−1−ダ等で構
成できる。シリアルデータ送出部4は2進並3+1符号
化信号をシリアル信号に変換した後、シリアルデータ伝
送線10を介して受信装置5に信号を送出する機能を有
している。一般的にはパラレル−シリアル変換器等が使
用できる。 前記信号発生部3どシリアルデータ送出部4どをコンピ
ュータ、特に1チツプのマイクロコンピュータにJ:つ
て構成することも可能である。 受イ11装置5は車体側に設【ノられている。受信装置
5はシリアルデータ受信部6と制御部7どからなる。シ
リアルデータ受信部6はシリアルデータ伝送線10から
シリアル信号を受信し、これを2進並列符り、l化信号
に変換した後、制御部7に信号を出力する。制御部7は
、その並列符号化信号を解読し、特定されたアクヂ]T
−タの特定された制御を行うための制御信号を出力り−
るI幾能を右している。シリアルデータ受信部6及び制
御部7 tJl:個別的なデジタル回路で構成してもよ
く、シリアルデータ受信部6と制御部7どを統括して]
ンピコータ、特に1チツプのマイクロ−1ンピコータ−
【・構成することもできる。アクヂコT−タnY8はラ
ジオ、■ア]ンディシ]ブー装置、オー1〜ドライブ装
冒等その他のすべてのアクテコ1−−タを対象とするも
のである。 給電線9及び11並びにシリアルデータ伝送線10は複
数の導線を平行に配列し、これを合成樹脂で一括してテ
ープ状に[−ルドした弾力v1のあるテープ電線を作り
、前記テープ電線をステアリングシャツ]への回りに渦
巻き状に緩く巻回して形成し、送信装向ど受信駅間を接
続する。前記テープ電線はシャツ1への回りに渦巻き状
に緩く巻かれているために、ステアリングホイールの回
動に対しても−1−分追随することができる。また、摺
仙接点等を介さず直接接続することによって、ノイズの
侵入を防止している。 [発明が解決L)ようどづる問題魚] しかし、上記]ント1]−ラはステアリングホイール側
に設(」られた操作部を持つ送信Biの信号を、車体側
の受拮装首に送出しでいるに1ぎtiいから、IFiに
、自動車の等の自火系7よって多発するインパルスノイ
ズ、スイッチング時のチャタリング、或いは、無線1m
 J:る電vli l 1等により、送信装P7で゛送
出された送信信号(こノイズが重畳し、受信装置F’J
側では、)ス仁信舅にノイズが重畳していることが判別
できないまま、ぞの受信信号を制御11月に変換し、結
束的に誤動作を生ずることがある。 そこで、本発明は伝送信号にノイズが重畳していた揚台
には、それを除去して本来の信号成分のみを取り出して
到来信号ど刃ることのτ・きる車載用マイク[に1ンピ
コータの到来信F3判別方法及びその装置の提供をぞの
課題どJるものである。 [問題白を解決ηるための手段1 本発明の車載用マイク[1]ンピコータの到来信号判別
装圃は、マイクl−I IIンピ1−タのポー1〜に到
来した信号を、そのパルス幅に応じて奇数回サンプリン
グ(る手段と、イのサンプリングにj、って得た信号の
種別、例えば、ハイレベルま/、−は1]ウレベル毎に
計数するカウンタと、前記種別毎に計数したカウンタの
値の両カウンタの蛸を減算りる手段によって構成される
ものである、。 1作用コ 斯くの如く構成することにより、マイクロコンピュータ
のポートに到来した信号を奇数同サンプリングして、イ
のサンプリング値の多数決によってポートに到来した信
号を決定し、車載用の電気回路に多い高周波のノイズ障
害を除去して到来信号を判断することができる。 また、到来した信号のパルス幅に応じて、更に、上記サ
ンプリングによる多数決判断を奇数回行ない、その多数
決によってポートに到来した信号を判断すると、高い信
頼性で到来信号の判断を行うことができる。 [実施例] 第1図は本発明の全体基本構成を示すブロック−〇 − 図である31図において、パッド側とは、ステアリング
ホイールの中央部のパッド部分を指づもので、送信用マ
イクロコンピユータCPLJ 1は前記パッド部分に収
納されている。J、た、車体側とは、ステアリングホイ
ールの回動に対1ノて応動Jる部分を除く固定側を意味
し、ステアリングコラム、運転席011面のダツシコボ
ードがイの例である。本実施例で【ま、車体側の送信用
マイクロコンピュータCP tJ 2はダッシコボード
内に収納されている。 前記送信用マイクロコンビ−1−タc P U 1及び
CP tJ 2は同一のワンヂツブマイクロニ1ンピ−
】−タで、具体的にはM B 8850を使用している
。ワンチップマイク1−1]ンピコータの構成について
は公知であり、本発明の要旨どは直接関係ないので、そ
の説明を省略する。なお、以下、ここにお(Jるマイク
ロコンピユータどは、特別に記載1ノア7い限り、ワン
プツブマイク[1]ンピ−1−タ、マイクロブ[112
ツサ、ワンボードマイクロコンピュータと呼称されるも
のも含むものCある。 第2図はパッド側マイクロ=1ンピコータCPU−10
= 1の各ポートの接続状態を示す回路図であり、第3図は
パッド側のスイッチ群及びディスプレイBTの配設を示
す要部の斜視図を承りものである。 図において、キーマトリックスを構成りるスイッチ81
〜S9は、例えば、運転中に所定の中速にセットして定
車速走行制御を行うオー1〜ドライブコンl〜ローラの
プリレットスイッチ’J S 1 、Zのリセットスイ
ッチS2、リジコームスイッチS3と、カーラジオのパ
ワースイッチS4 、AM/FMの選局スイッチS5、
ポリコームアップスイッチS6、ボリュームダウンスイ
ッチS7と、ニアコンディショナー(以下、単にエアコ
ンと呼ぶ)のコントローラの温度下降スイッチS8、温
度下降スイッチS9である。本実施例については、他の
スイッチ群についても同様に制御できるものであるから
、それらを省略する。また、そのスイッチの種類は公知
のものと同種のものが使用で′きる。 なお、本発明の制御対象は、前記実施例のオートドライ
ブコントローラ、エアコン等に限定されるものではなく
、また、その対象を増加させることb可能で・あり、イ
れらは車種及び(1様等によつ4て各々変更されるもの
て゛ある。 A−トドライブコント1]−ラのスイッチ操作によりA
−1〜ドライブ走行中には、出カポ−1へPOが′冒−
(11−1ノベル)°′となり、表示駆動回路を構成づ
る抵抗r18Li−ベース電流が流れ、1−ランジスタ
Q3がオンと41つ、抵抗rlQを介して電流が流れる
からオートドライブ表示OD川の発光ダイオードがIa
灯する。J:た、出カポ−1へPOがパ11(ハイレベ
ル)″となると、トランジスタQ3がオフとなり、1−
t−ドライブ表示OD用の発光ダイオードがン白灯Jる
。 前記オー1へドライブ表示ODは車体側のマイク[1]
ンピコータCP U 2からの信号によって制御される
。まlこ、同様に出カポ−1〜00〜07の出力は、車
体側のマイク1−1]ンピ]−タCPU2からの表示信
号にJンって、前者の抵抗r18及びR19及び1〜ラ
ンジスタ03等と同様な複数な回路からなる表示駆動回
路20を介して、対応づる発光ダイオ−ド等のディスプ
レイ群21の特定の発光ダイオードを点灯表示りる。こ
の種の表示駆動回路は、本実施例の回路に限定されるも
のではなく、公知のインターフェース回路を使用すれば
よい。 また、入出力ポートR1はマイクロコンピュータCP 
U 1の出力信号を信号伝送線路31incに送出し、
マイクロコンピュータCPU2の信号は信号伝送線路3
Lineを介して、入出カポ−]・ROに導かれる。即
ち、ポートR1が118 IIのとき、1氏抗r11ど
抵抗r12との接続点電位が上背し、抵抗r13がトラ
ンジスタQ1のベース電位を−Lげるから、トランジス
タQ1はオンどなり、信号伝送線路5Lineはll 
l−IIとなり、また、逆にボー1− R1がL″のと
き、信号伝送線路5lineは11 HIIとなる。そ
して、車体側のマイクロコンピュータCPU2側からの
信号によって信号伝送線路31ineの信号がH″のと
き、抵抗r171ff;抗r16との接続点電位及び抵
抗r15が」−昇し、トランジスタQ2をオンとするか
ら、ボー1〜ROはトランジスタQ2によって“1−″
となる。また、信号伝送線路31ineの信(]が°′
L″のとき、トランジスタQ2がAノど<、す、抵抗r
14に」;ってポートROは“’ l−1”どなる。 前記1〜ランジスタQ1及びQ2をスイッチングさUる
回路は入出力回路22を構成するもので、公知の、イン
ターフェースと呼称されている回路が使用できる。前記
入出力回路22のボー1〜R1とポートROの送信及び
受信タイミングは、後述するプログラムによって設定さ
れる。 まIこ、定電圧電源回路23は、車載バラブリー5フ等
から電源線路1)lineを介し−C導かれた電源を、
安定化した定電圧とする公知の定電圧電源回路からなる
もので、その出力電圧VC1は後述する]ンピコータC
p LJ 2側の定電圧電源回路の出力電圧VC2と同
一または略同−電圧である。アース側電源線路[1in
eは、車体アースの揚台は、車体アースから19でもよ
いが、雑音を少なくするには、アース側電源線路rli
neを用いるのが好ましい。 ボー1−R3及びポートR3Tに接続されているつ4ツ
ブ・ドッグ・タイ? (Watcl+ dog tim
er ) 24はマイクロコンピュータCPU1のハー
ドウニアの異常検出を行うもので、マイクロコンピ:1
−夕c P LJ 1正常の場合は、特定のタイミング
で゛リセットされるが、特定のタイミング間隔でリレッ
ト信号を受lJないとぎ、ハードウェアの異常有りと判
断する公知の]ンピコータ安常検出手段である。 端子×1及び端子×2に接続されるセラミック発振器X
は、]]ンデンリーCO1びCO2ど其に所定の周波数
の公知のりnツクパルス発生回路を構成するものである
。 なお、入出力ポート・R2は後)!J−るソフトウェア
の関係で電源電圧VC1を導いている1、ここで、前記
回路構成が装備されるパッド側のスイッチ群及びディス
プレイ群の配向構成について説明する。 図において、マイクロコンピ1−タCP tJ 1は、
第3図のパッド本体30の一部切断箇所から確認できる
ように、プリント基板31に装着されている。パッド本
体30は一般にステアリングホイール35の中央部に位
冒し、ボス部41の十に配設されている。前記パッド本
体300表面部には、ノ1\−ンスイツヂパツド33、
本実施例で回路化されていないスイッチF、Y 3 ’
l及び出力■表示パネル38、各種制御状態を表示Jる
ディスプレイ群39、並びにIIF+述のスイッチAT
 S 1〜89等を具備して、いる1、 次に、上記スイッチ群及びデ(スプレィF、Yを配回さ
れたステアリングホイールのパッド部分の不回動I幾禍
の信号伝送手段について説明J−る。 第4図はステアリングホイールのパッド部分と車体側ど
の間の伏目伝送I!I+路の一例を示した構成図である
。 この種のステアリング小イール部Ltステアリングホイ
ールのパッド部分がハンドルの回転に伴って同転し77
い不回動機構のステアリングホイールを示したものであ
る。 図において、ステアリングホイール35はそのボス/I
L’llに」;つてステアリングシ17)l−40ニボ
ル1〜締め固定される。一方、図示しないステアリング
:コラムの上端部には固定南中43が設(Jられ、それ
と対向してステアリングホイールのボス部41の上端部
には、静止歯車44がステアリングシャフト40と回動
自在に配設されている。前記静止歯車44は、第3図に
示したパッド本体30を支持している。更に、ステアリ
ングホイールのボス部41には、前述の固定歯車43及
び静止歯車44と噛合する遊星歯車45及び46が回動
自在に設けられており、この固定歯車43、静止歯車4
4及び遊星歯車45及び46の作用ににす、ステアリン
グホイール35の回転はステアリングシャフト40を回
転さlるが、静11°歯車44を回転させないような構
造になっている。即lう、ステアリングシャフト40か
らみれば静1ト歯車44はステアリングホイール35の
回転と逆回転をして静止状態を保つような構造になって
いる。 そして、パッド側と車体側との信号伝送は、信号伝送線
路31ineを弾力性のあるプラスチック樹脂でモール
ドしたテープ電線47によって行われている。このテー
プ電線47は渦巻き状に巻回させて、静止歯車44及び
固定歯車43の中に装♀1されている。したがって、ス
テアリングホイール35を回転さ1すると、前記テープ
電線47は、電線支[肖円盤48及び/I9並びにボス
部41の嵌合孔にJζつで、嵌合孔をv1通し、−Hい
るラープ電線47を回動さI!、ハンドルの回動どとも
に渦巻ぎ状に強く巻き締められたり、緩く巻かれたりし
て常に回動することに4する。このど?)、前記電線支
持円盤/′18及び4つとボス部41の嵌合孔(:I:
 Tiいtこ−・体と41って移動り゛るから、嵌合孔
相!lにずれが生ずることがtlり、信号伝送線路5l
ineを切断することはない。 次に、車体側の具体的な回路構成を第5図のマイクロコ
ンピユータCPU2の各ポートの接続状態を示す回路図
を用い−(説明Jる。 図においで、マイクロコンピユータCPU2の端子X1
及び端イX2に接続−\れているけラミック発振器×及
び]]ンデンリーCO1びCO2は、マイク[l]コン
コータCP U 1のり[1ツクパルス発牛回路を構成
づるものと同一のものである。J:た、定電IT電源回
路55も、パッド側の定電ff電源回−18= 路23と同一であり、イグニッションスイツブIG /
 S Wの投入によって、車載バッテリー57からその
電力を供給される。ぞして、バッテリー57は電源線路
plineを介して、前記パッド側の定電圧電源回路2
3にも電力を供給する。前述したように、定電圧電源回
路55の出力電圧VC2は、定電圧電源回路23の出力
電圧Vc1と同一または略同−電圧である。端子VSS
に(まアース電位が導かれていて、マイクロコンピ]−
夕CPU1との間は電源線路Flineを介して、また
は直接車体に接続することににって両者間が電気的に接
続される。なお、第5図では、図面の都合−に第1図に
示したウォッチ・ドッグ・タイマ26は省略している。 マイクロコンピ]−タCP U 2の入出力ポートRO
は、車体側のマイクロコンピュータCPU2の出力を、
ポートR1はパッド側のマイク[l−1ンピコータCP
 LJ 1の出力を入力するものである。 入出力回路25は、抵抗r21から抵抗r27及びトラ
ンジスタQ11及びQ12から構成されており、その回
路動伯はマイク1−1]ンピ]−タCP LJ 1の入
出力回路22と同様であり、ボーh ROが11”とな
るとトランジスタQ11がオンど41す、伝送線路31
inOが11+1となる。逆(、二、ボー1− ROが
11111どなると、伝送線路S+tneは’11”と
1.’c ル。 また、マイクロコンビ−t −/ICP U lの出力
により、伝送線路5linOがll 1.I IIとな
るとトランジスタQ11がオンどなり、マイク[]]]
]オンー2−タCPIJのボー1−R1はI L 11
と4rす、逆に、伝送線路5lineが゛用−″どなる
と前記ボー1− R1は“]−ビ′どなる。 カーラジオ56の制御はマイク[’l ’1ンピコータ
CPU2のボー1−からみれば、次の様に行われる。 マイク[1]ンピコ−一タCPU2のポートQ5の出力
が″トド′となると、抵抗r28を介して抵抗r29に
電圧が加わり、トランジスタQ13がオンどなり、カー
ラジAのパワースイッチPowがオンとなる。ボー1−
05が’ I−1”となると、前者と同様に抵抗r30
、R31によって1−ランジスタQ14がオンとなり、
カーラジAのチューブ−をFMに、また、ボーh06が
1llllのどぎ、AMに設定Jる。ポート01の出力
がII EI IIとなると、チコーナーがスキャンし
て自動選局を行い、一旦選局できると、再度“I」″信
号が到来しt【い限り、選択局を変更しない。そして、
カーラジオの音声出力の変更は次の様に行われる。ポー
トP1が゛”II”となると、抵抗r34ど抵抗r35
との接続点電位が上冒し、トランジスタQ16がオンと
なる。トランジスタQ16がオンとなると抵抗r36及
び抵抗r37の接続点電位を上げ、1〜ランジスタQ1
7をオンとする。1〜ランジスタQ17の]レクタには
カーラジオのポリコーム用定電圧V01、OINが供給
されており、ダーrオードD1抵抗r38を介1ノでコ
ンデンサC10の充電を行う。コンデンサC10の電位
は電界効果トランジスタFETのゲートに印加されてお
り、それにより、電界効果1〜ランジスタFETは抵抗
r44の電圧降下の大きさに変換する。抵抗r44の電
圧はカーラジオ56のポリコーム端子VOLINに導か
れており、カーラジ′A56はその電圧降下の(vlの
大きさに応じた名声出力となる。逆に、マイクロ]ンピ
ーl−夕CPLJ2のポート(〕0が’II”となると
、抵抗r39、抵抗r40によってトランジスタQ18
がオンどなり、抵抗r41、抵抗r42によってトラン
ジスタQ19がオンどなり、ダイオードD2のカソード
側をアース電位に落J。したがって、:]ンデンサC1
0の充電電圧は抵抗r43及びダイオードD2、トラン
ジスタQ19を介して放電され、コンデンサ−010の
充電電圧を降下させ、抵抗r44の電■:降下を下げる
から、前記カーラジオ56の音声出力を変化させること
ができる。 J−−1−ドライブコントローラ54はマイクロコンL
、−t−ICPtJ2 のボー1−00.01.02 
によって制御指示を行う。即ち、oOが“II”どなる
と抵抗r50と抵抗r53との接続電位が上がり、トラ
ンジスタQ20をオンし、リレーR1−1を駆動し、そ
の接点R111をオンどし、A゛〜1〜〜1〜ドライブ
[1−ラ54をプリセットする。 ボー+−o iが1〜V′となるとトランジスタQ21
をオンし、リレーR1−2を励磁し、での接点1’< 
L12をオンし、J−1−ドライブコン1−口−ラ54
をリセットする。そして、ポート02が“1ド′となる
と、1〜ランジスタQ22をオンし、リレーRl−3を
1iilIIlシ、その接点R113をオンし、オート
ドライブコントローラ54がプリl?ット状態にありイ
Tがらも、オートドライブ走行迷電からダウンしている
どきも、再び1−t−ドライブ走行に引き込むリジュー
ムスイッチどして作用する。 エアコンコン1ヘローラ53の温度は、ボー+−03及
びポート04によって制御される。エア]ン]ントロー
ラ53の電源はダッシコボード側に取り付けてあり(図
示Iず)、そこでオン・Aノ制御される。そして、ポー
ト03が’II”どなると、トランジスタQ23がオン
し、す1ノーRL4を励磁し、その接点RL14がオン
し、エアコンの設定温度を降下させる。また、ポート0
4が’ l−1”と4τると、トランジスタQ24がオ
ンし、リレ〜R1−5を励磁し、その接点R115がオ
ンとなり、■アユ1ンの設定温度を上昇させる。前記設
定温石はTア]ン]ントローラ53に内蔵されているア
ップ・ダウンカウンタのアップ、ダウンによって任意の
 23 一 温度に設定するものである。また、車内温度は、温石し
ンij−52で検出され、ぞの値をA−D変換器51で
jイジタル信号に変換し、入カポ−1〜R4〜R11に
入力する。この情報はパッド側へ伝送されディスプレイ
に表示される。 イしで、前記パッド側のマイク[]]ンピコンタCl〕
1.J 1、の入出カポ−i−r< 2には、電源電圧
VCI側に接続されていたが、車体側のマイク[]コン
ピュータCP U 2の入出力ポートの端子R2はアー
ス電位どする。 なお、ダラシ1ボード側の構造及びマイクロコンピュー
タCP tJ 2の出カポ−]〜に接続されたリレー回
路、或いは機械的な制御に用いるアクチ:Iエータ等の
構造等は、従来から用いられている制御系がそのまま使
用できるから、その説明を省略する。 上記の様に、本実施例のマイクロコンピュータCP U
 1及びCP LJ 2の入出力側としで、オートドラ
イブコン1〜[1−ラ、カークジエアコン]ン、ディス
プレイ等を例示」ノたが、本発明による1ltll I
ll 24一 対象は前記実施例による使途に限定されるものではなく
、マイクロコンピュータCPU1及びCI)C2の入力
ポートの検出対象に応じて、出力ポートに電気的な駆動
回路、リレー回路等を接続して電気的な出力の制御を、
また、アクチコI−タ等を接続して機械的な出力の制御
を行うものである。 斯くの如く構成された本発明の実施例のステアリングホ
イールと車体間の信号伝送装置及びイの方法のマイクロ
コンピュータの制御について説明1−る。 まず、第6図の本実施例のステアリングホイールと車体
間の信号伝送方法の基本的パターンを示す概略図及び第
7図の伝送信号の基本フレームを示す図を用いて説明η
る。 パッド側或いは車体側の一方が送信側60、他方が受信
側62になると、送信側60から伝送線路5Lineに
送信信号が送出される。前記送信信号は第7図の如き基
本フレームから成っている。送信側60はマイクロコン
ピュータのポートR1の出力をl L 11即ち、伝送
線路5Lineの信号を’11”とし、リフ[スト信号
を送出りる。受信側62ではマイクロコンピュータのボ
ー1− ROがlll+となり、リフニス1〜信号の到
来を検出する。イして、受信側62のマイク[1]ンピ
J−タを受信待機状態どし、送)ハ信号のスタートビッ
ト 4ビット( b i 1: )の情報種別及び4ピツ1
〜のポート情報、並びに8ビツトのC RC ( Cy
clic redundancy check ) =
]−ドを受信する。イしC1ステップ63で送信信@6
1内に誤りがあるとぎ、受信側62のマイク1]]ンピ
ユータから、N A CK ( Negal:ive 
acknowledge)信号を送信側60のマイク【
]]ンピコンビに送出し、同一送信信号61の再送を要
求する。誤りのない送信信号61を1!?た場合には、
送信信号61の内容に応じてアクチコT−夕を差動さU
たり、ディスプレイを行うと共に、正常に信号が伝わっ
たことを示すACK信号66を送信側60に送信りる。 更に、前記伝送信号の基本フレー11についC説明覆る
と、情報種別の4ピツ1〜は、各検出レンサ或いはスイ
ッチの種別を4ピッ1−で行ない、各ボー 26 = −ト情報で各種検出セン1ノ或いはスイッチ種別に応じ
た情報を送出するものである。例えば、第1図の本発明
の基本構成を示すブロック図では、情報種別とは、ボー
1− K O〜に3 、R4−R7、R8−R11の3
種の情報、r 1.−11−8.1、r l−1−LI
H」、r L HI−I HJ F ソt’L ヲ表現
r e ルモ(7) F する。ポート情報とは、その
中の情報を意味(る。 パッド側のマイクロコンピュータCP LJ 1のカー
ラジオのパワースイッチS4がオンされた場合について
、その情報種別及びボーl−情報信号を例示すると、ポ
ートR12・〜ポートR15を4ビツトで走査する信号
r L Hl−I H,1、[トI L l−I H,
1、r H111l−I J、r 1」l−I HI−
1の信号のうち、ポート[<12の走査詩のみ、ポート
に1に1..′″が出力されるから、情報種別r L 
Lm l−I Jの内容がポート情報[トI L HL
l−1に変化したことになる。前記ポルト情報は、l”
 L )−I HHJ−11−1−11−1jから一義
的に決定されるコードとして送出される。 前記信号の後には、c RC信月が送出される。 前記CRC信号は、情報種別及びポート情報報に所−2
7一 定ヒットを付加して、情報の伝送途中にお(Jる誤り検
出HJ法で、通信プロ1−]ルどして公知の方法である
のでその手法の説明は省略覆る。 イ′Ka3、Jズ下、データどは、情報種別及びボー1
〜情報並びに情報種別及びボー1〜情報によって決定さ
れるCRC信号で、そこから八〇に信号、NAC+<信
号を除く情報を意味するもので、伝送信号とは、基本フ
レームによって伝送される情報を意味するものである。 送受信用マイクロコンピュータCP U 1及びCI)
 jJ 2のルーチンについて第8図から第27図のフ
ローヂャートを用いで説明する。 4丁お、本実施例では、パッド側送受信用マイクロコン
ピコータCP(Jlと車体側送受信用マイク「1]ンピ
]−夕CPU2間において、相互に信号伝送を行う方式
とじてコンテンション方式を採用した例で説明するが、
本発明を実MI Jる場合には、上記〕ンデンシ]ン方
式に限定されるものではなく、ポーリング・セレクショ
ン方式を採用してもよい。 両者の基本的な違いは、]ンテンション方式によれば、
両マイクロコンピ]−タCP U 1及び0PU2から
同時に伝送が行われた場合に、−41伝送路で衝突を起
し、その衝突を誤り制御にJ:り回避するものであるが
、入力ポートの情報変化が生じた場合、その都度、その
情報を伝送できるから通常の伝送時間が短くなる。これ
に対して、ポーリング・センクシ」ン方式では親の呼び
が【ノに従うことによって伝送路での衝突を回避するこ
とができるが、情報変化が生じた場合の伝送時間が前者
に比較して遅くなる。 したがって、制御対象ににりその処理速度を速くする必
要のある場合↓こは」ンテンシ]ン方式が有利であるが
、通常のディスプレイ或いは電装品の制御の場合にはポ
ーリング・セレクション方式を採用することができる。 勿論、マイクロコンピュータC,P U 1及びC’P
LI2の処理速度によっては、上記以外の制御対象に対
してもポーリング・セレクション方式を採用り−ること
ができる。 前述した様に、マイク1]コンピユータCP U i及
びCF)IJ 2の制御は、そのラフ1〜ウエアをパッ
ド側と車体側と共用どしており、ぞの制御のなかで選択
性のあるものはマイクロコンピュータCPU 1及びC
P U 2のポートR2の入力が゛′トビ′にあるかl
l1lにあるかにJ:って、モの制御方法の選択を行っ
ている。 第8図は本発明の一実施例のメインルーチンを示1−フ
[」−ブヤーl〜である。 イグニツシ三1ンスイッチIG/SWをオンとすると、
ステップ100で木−ノローヂ1/−1〜のメインルー
チンをr?rl始し、ステップ101でマイクロw :
/ e’ コ−タCP U 1及びCPU217)仝ボ
ー]〜、フラグ及びRA MをイニシI/ライズする。 ステップ102でマイク[+ Tl ンt、:”−1−
夕CPUI及びCPU2のボー1〜R2の入)〕をみて
、ポートR2の入力が’I+”のとき、パッド側の制御
と判断し、“′L″のどき車体側の制御と判断し、ステ
ップ103.104でそれぞれの受信待機タイマに時限
T1或いはT2をセン1〜する。前記ll:ll限11
と□時限T2とはTI <T2とするが、このパッド側
の時限T1及び車体側の時限T2は、イグニツシ三1ン
スイッチI G/SWをオンどすると、マイク[1コン
ピユータCPUI及びCP LJ 2の処狸迷電が一定
であるから、同時に信号伝送線路3l−inQにマイク
ロコンピュータCP U 1及びCP IJ 2からリ
フニス1〜信号が出力される場合がある。このとき、一
方の情報伝送を優先させ、他方の情報伝送を待機させる
優先選択決定用タイマで、本実施例で【、LTl <T
2に設定し、パッド側の情報出力を車体側の情報出力よ
り優先さけるものとするものである。 そして、ステップ105で再送カウンタに7をセットす
る。この7は信号伝送線路5lineの91I名等によ
り、伝送ミスが41じた場合には7回まで送信側から同
一信号を伝送覆ることを指示するものである。したがっ
て、再送カウンタにレツ1〜?Iる7は、これに限定さ
れるものではなく、任1’<にその値を設定することが
できる。 ステップ106で再度ポートR2の゛1ド′、11 L
 11をみて、ポート「く2が’N”のとき、ステツブ
108で「パッド側データ出力プログラム、1をコール
する+Jプル〜ヂチンールパラメータの[11をRAM
にセラ1〜し、ポートR2が11 L IIのどき、ス
テップ107でr小体側データ出カブ[]コグラムj@
選択するりブルーブン]−ルパラメータの[91をRA
Mにセラ1〜する。所定のデータ出カシ1−1グラムを
指示した後、ステップ109でポー1− ROが“11
″かL″かを判断し、ポー1〜ROにリクエスト信号が
到来していないどき、その入力は’11”であるから、
第9図及び第10図の)[1−ヂャートでその所定リブ
ルーチンコールパラメータ分析を行う。ボー1〜ROが
11+1のどき、相手側がリクエスト信号を送信してい
ることを意味するから、このどき、ステップ110のサ
ブルーチンが=1−ルされ、「受信プログラムJが処理
される。 ボー1−ROにリフニス1〜信号が到来していないとき
、スラーツブ111へ・ステップ131でRAMにbツ
1−シたりブルーチンのプ【−1グラムの選択を行う。 即ち、ステップ111でサブルーチンコールパラメータ
が[01であるか否かを判断し、[01のとき、ステッ
プ112で「正常受信プ[1グラム」の処理に入り、[
0−1でないとき、ステップ113に進みリーブルーチ
ンコールパラメータが「1」であるか否かを判断し、「
1−1のどき、ステップ114で「異常受信ブ[コグラ
ム、lの処理に入る。以下同様にサブルーチンコールパ
ラメータ「2」のどき、ステップ116の「ACK受信
プログラムJを、4Yブルーヂン」−ルパラメータ「3
1のとき、ステップ118の「NΔCK受信プログラム
」を、リブルーチン]−ルパラメータータ「51のとき
、ステップ122の「A CKtlfカプログラムjを
、サブルーチンコールパラメータ「6」のとき、rNA
cK出カプログラムjを、サブルーチンコールパラメー
タ「7」のとき、ステップ126の「送信プログラムJ
を、サブルーチンコールパラメータ[8,1のどき、ス
テップ128の「パッド側受信待機プログラム」を、リ
ーブルーチンコールパラメータ「9,1のとき、ステッ
プ130のr車体側データ出カプログラムjを、サブル
ーチン」−ルパラメータ「10」のとき、ステップ13
2の「車体側受信待機プログラム1jを選択し、人々の
1yブルーブン]−ルパラメータに応じた1」−ブルー
チンの処理を行う。 通常、−リブルーチン」−ルパラメータの初期設定が、
ステップ107或いはスーjツブ108で、車体側の7
.イク[−1−1ンビ−」−タCP U 2の場合は勺
−ブルーチン]−ルパラメータ「9」、或いはパッド側
のマイクロコンピュータCP U 1の場合はサブルー
チンコールパラメータ「41をRAMにセラ1− tノ
ー(いるから、リクエスト信号がない限り、車体側のマ
イクロコンビj〜りCP U 2はステップ129でス
テップ130の「車体側データ出カブ[1グラム1の処
理に入り、パッド側のマイクロコンビ−1−タCP L
J 1はステップ119でステップ120を]−ルして
「パッド側データ出カブ[lグラム、田の処理に入る。 なお、本メインルーチンの)[]−チt!−1〜に図示
していないが、通常、ステップ109の直前にポートR
3からウォッチ・ドッグ・タイマに出力するステップを
RQ I−t1マイクロ]ンピコータ0[〕U1及びC
PtJ2のハードウェアの7へ常検出を行う。 次に、第11図のWパッド側データ出カプログラムjの
711−チsl−t・について説明する。 ステップ129で選択された「パッド側データ出カブ1
]グラムIは、まず、ステップ150でデータ収納用R
AMをイニシャライズする。でし−C、ステップ15j
1で送信完了フラグが1−″の状態、即ち、自己の旧デ
ータの処理が完了しIこ状態であるか否かを判断し、送
信完了フラグが’ l−1”で、今送信処理中であると
き、ステップ152で「送信プログラムJの(」−ブル
ーチンをコールするサブルーチンコールパラメータ「7
」をRAMにセットし、送信を完了させる。ステップ1
51の送信完了フラグが“冒−″のとき、ステップ15
3で4ビツトのポートKO〜に3の状態変化を判断し、
状態変化が有るとき、ステップ154でポー1−KO〜
1〈3の状態を入力する。また、ステップ153でポー
 l−K O〜に31こ状態変化が確認できイrいどき
、ステップ1;j5でポー1− R4−R7に状態■化
が石るか否かを判断し、状態変化があったどき、ポー1
− R4〜R7の状態を入力IJる1、ステップ155
でポー+−R4・〜R7に状態変化が確認できないとさ
、ステップ157で4ピツI〜のポー1〜QB−・1テ
11の状111変化が右るか否かを判断し、前者同様に
、状態変11・1が(シ)つkどき、ステップ158ぐ
ポート[マ8〜R11の状態を入力Jる。スフツブ15
7で−bボー1〜[−へ・[り11の状態変化を確認で
きないどきは、スデッJ161で再麻「パッド側■デー
タ出カブ[−1グラム、!lのサブルーチンコールパラ
メータ[41をII A’ Mにセ・ツ1−リ゛る。即
ち、パッド側のマイクロコンビコークCP(J 1では
、常にポー1〜1〈0〜に、3・、ポー1へR4−R7
、ポー1〜R8〜・R11の状態変化を監視づることに
なる。それらのいずれかに状態変化があると、スラップ
15/I或いはステップ156或いはスフツブ158’
(゛(れを入力し、イの情報種別及びポー1−情報に応
じて、その情報種別及びポー(〜情報によって特定され
るC RCw−ドを作成する。前記GRCコードは計算
にJ:って求めてもよいが、情報種別及びポー1〜情報
が少ない場合には、メモリにそれを収納しておいて、逐
次それを呼び出覆と、その処理速度が目算よりも早くな
る。ぞの情報種別及びポーl−情報及びCRC:]−ド
が決定すると、ステップ160で「送信プログラム」の
サブルーチンコールパラメータ「7」をRAMにセット
覆る。 第12図は1市体側f−タ出カブ[]グラム、]のフロ
ーチャー1〜である。 「車体側データ出力プログラム、1は第11図の「パッ
ド側データ出力プログラムj17)処理と略等しいので
、その説明を簡略化する3゜ ステップ130で1車体側データ出カプログラムjの処
理に入ると、まず、ステップ200でそれに必要とする
RAMをイニシャライズする。ステップ201で送信完
了フラグの状態を判断し′CQ 11.11のとき、ス
テップ202で「送信プ[−1グシ)8.lのリブルー
ブンー]−ルパラメータ「7」をRAMにレッ1〜する
。イ()で、送信完了−フラグが“”l”のどき、ステ
ップ202でポート1〈0〜1く3の、ス”jツブ20
5 ′c′ボー1114−R7(7)、ステップ207
でポート[<8・〜R11の状態変化を判断して、前記
状態変化がないとき、ステップ211で「車イホ側用デ
ータ出カブ[1グラム」の勺ブルーチン=l−ルパラメ
ータl−9−1をRAMにセラ1へし、前記状態変化を
常に監視する。前記ポートIく0〜l<3、ポー1〜R
4〜R7、ポー]へR8−R11のいずれかに状態変化
が生ずると、その状態変化に対応してステップ204、
或いはスう゛ツブ206、或いはステップ208でポー
1〜1<0〜に3、ポー1−R4−R7、ポー]・R8
へ・R11のいずれかの信号を入力する。その入力信号
に応じてステップ209でc r’< C:]−ドを作
成し、ステップ210r:「送信プログラム、jのりJ
ルーチン]−ルパラメータ「71をRAMにレツ1へし
、「送1Δプログラム、jを]−ルする。。 第13図及び第14図C,t、、V送信プ[1グラムj
のフローチャー1〜である。 スデッJ126で「送信プログラム」に入ると、ステッ
プ250で送信プログラム用[く△Mをイニシャライズ
する。そして、スう一ツブ2F51でポートROが’ 
+1”であるか否かを判断Jる。叩ち、ボーh ROが
“1−ビのどぎ、相f側からの送信があることを意味す
るから、ステップ252で「送信プログラム、]の]リ
ブルーチン]−ルパラメータ7」を再rfRAMにセッ
トし−C1受信が完了覆るのを待機する。ボー1− R
Oが“’I+”となると、ステップ253でポートR1
を所定時間゛1−″、即ち、伝送線路S′1ineを’
 1」”どして、リクエスト信号を送信する。その後、
ステップ254で所定時間ポー1−R’lを’I+”ど
し、スター1−ピッ1〜を送信する。スタートビットを
送信りると、ステップ255で送信信号を送信信号番地
hウンタを1カウントアツプして取り出し、ステップ2
56で、その選択された送信信号番地のピッ1〜が’I
+”かL″かを判断し 11 HIIであるどき、ステ
ップ258で1」″を送信し、゛冒−″であるとさ、ス
ラーツ12 F〕7 M”“’l”を送信Jる。でして
、この動作が、本実施例の基本フレームの16ビツト送
仁Jる61.C繰り返し1jわれる3、16ビツ1〜の
情報が送信されると、それをフラグ、1259で判断1
ノ、1Gビットの情報の伝送が終了した信号どじで、ス
テップ260で最終ピッ1へを送信Jる。ステップ26
1でポートROを’I+”に戻して伝送信号の伝送を終
了すると、スラ“ツブ262及びステップ263′c、
伝送し!、:伝送伝送白日内容CK信6−(+、あった
か、或いはNΔCK信43であったか、或いはデータ信
号であったかを判断号−る。ステップ262でACK信
号であったことが判断されると、ステップ26Bで)ス
仁完了フラグが“11″であるか否かを判断し、送1.
1完了フラグが’II”であるどき、続く伝送信gが白
已側IZ−右ることを意味し、送信完了フラグが゛1′
”のどき、続く伝送信シJが自己側にイfいことをス′
1味りるl)目5、送信完了フラグがl L IIのど
き、スーj−ツフ゛270でボー1−1で2が“’I+
”か“1°′か判断し、11 EI 11のとき、ス)
ツブ271 Y:゛lrパッド側デ゛−タ出万ブ[1グ
ラ−40= ム11のサブルーチンコールパラメータ「4」をRAM
に!7ツ1〜し、“L ljのとき、スフ”−ツブ27
2で「車体側データ出力プログラl\」の1ノブルーブ
ンコールパラメータ[91をRAMにl?ツ1へし、ポ
ートKO〜に3、ボー!へR4へ・R7、ボー1〜R8
〜R11の新たな状態変化を監視号る。イiお、送信完
了フラグが’+1”のとぎには、相手がこららが送信し
たA CK信号を判読するに要りる時限τ1をステップ
269で工Ω定し、その時限τ1を経過した場合は、前
記送信完了フラグが“′1゛の場合と同じ制御を行う。 また、ステップ263c・伝送した伝送信号内容がNA
CK、信号で′あることを判断すると、ステップ265
で自己のフィクロコンピュータCPUIまたはCPU’
2がパッド側または車体側のいずれかを判断し、N A
 CK白目送信であった場合には、再度相手側からデー
タ伝送がなされるから、ステップ266またはステップ
267で「パッド側受信待機プログラノ、」のりブルー
チンコールパラメータ[81、或いはr中イホ側受信持
機プログラムJのサブルーチンコールバー 41 = ラメータ゛「101をRAMに1?ツ1〜ηる。なお、
スラ1ツゾ262及びステップ263のΔCK信号及び
NACK信号のいずhにも該当しくiいとぎ、伝送した
伝送仏「J内容がポートの状態変化に伴う内容、′即ノ
う、データ仏FAであることを意味1−るから、((1
丁からのA’GK信1)、N A CK信工]を受(−
」る状態にあることをアンリーフラゲに’I+”をゼッ
]・すること【二上ってそれを記憶しておく。 次(こ第15図の「パッド側受信′i!JII Jaミ
グラム及び第16図の「車体側受信持機ブ[1グラム」
の)11−ブl7−1−について説明する。1リブルー
チン−1−ルパラメータr81T”、「パッド側受イ:
:持機ブ1ゴグラム1がr? A vにセラ1へされる
と、スラーツブ300で、本実施例の「パッド側受信待
機−10グラl\1では、受信清拭タイマの時限T1を
経過JるJ:では、同時に両者がリクニl−ス1〜信シ
コを送信した揚台には、必ずパッド側のデータを車体側
、」;りも先に送信するように設定した時間の経過をI
イ「認−りる。lI′I限T1杆過前では、ステップ3
01で゛再度「パッド側受信14111プ[]]グラー
42 = ム」のザブルーチンコールパラメータ「8」を「くAM
にセラ1〜し、メインプログラムのステーツー1109
でポー1〜ROが“1−″どhつていない限り、受信待
機タイマの時限T1の経過を持つ。ステップ109でポ
ー1〜ROが“1−″どなっている場合には、「受信プ
ログラム1のリーブルーチンに入る。 ステップ300で受信待機ターイマの時限T1を経過し
たことが判断されると、ステップ302でアンリーフラ
グが”II”、即ち、伝送信号がデータであった場合に
は、ステップ303で再送カウンタを1カウントダウン
する。そして、ステップ304で前記再送カウンタの計
数値を判断し、ステップ306で再送カウンタの計数値
がOに4すると、「送信、f r、1グラム」の(J−
ブルーチンコールパラメータ「7」をRAMにレッ1へ
し、再瓜パッド側からデータを送信する。Fr送カウン
クの+i’l数賄がOになると、スラップ305で「パ
ッド側テータ出カプログラlXjのサブルーチンコール
パラメータ「4」をRAMにレットし、各種ポー1への
新情報を入力して出直しを行う。 スフツー/302 rアンリーフラグが“l−”rあっ
た場合、伝送しl、=データ内容が八〇に信号の送信を
意味り−るから、ステップ307て・1[パッド側デー
タ出カブ[1グラムjのサブルーチンコールパラメータ
「4」をr< A M 1.11t=ツ1へし、新しい
y’ −全信号を送信リベく、各種ポートの新情報の入
力を行う。 −・方、ステップ131でυブルーチンー1−ルパラメ
ータ[10」をRAMに廿ツ1へされ、パラメータの内
容によってステップ132で1車体側受信待機プログラ
ム、Iを]−ルJ゛ると、スーtツブ350で受信待機
タイマの時限T1の経過を判断し、受信%4i 1幾タ
イマの時限T1を経過してい(1いとぎ、ステップ35
1 ’P If’Φ体側受信1)11プ[1グラムJの
リーブルーチンコールパラメータ[101をRAN4に
レツ1へし、メインルーチンのスーjツブ10ってポー
トRoの状態を判断し、ポートROが’ l−”でリク
]−ス1へ155号が到来しているとき、ステップ11
0のr受信ブ[−1グラム、Iの処理に入る。ポートR
Oの状態が1−ビのとき、111葭、ステップ1−44
 = 32の「車体側受信待機ブ【−1グラム」の1)−ブル
ーチンの実行に移行づる。そして、受信待機タイマの時
限T1が経過づ−るとステップ352でアンリーフラグ
が” H”であるかl l−IIであるかを判断し、ア
ンリーフラグが“”H”であるどき、伝送信号のデータ
がポートの状態変化に伴う内容て・あったことを意味す
るから、ステップ353で再送カウンタを1万ウン1〜
ダウンしで、ぞのt1数値をステップ354で判断する
。ステップ353で再送カウンタの口数値が0となって
いないどき、スラップ356で「送信プログラム、七の
リーブルーブン]−ルパラメータ「7」をRAMにレッ
トし、再度、前記データを伝送する。再送カウンタの計
数値がOのどき、ステップ355で「車体側データ出力
プログラノ\、1のリーブルーチン」−ルパラメータ「
9」をRAMにレッ1へし、伝送したポートの状態変化
に伴うデータ内容を、書面、各ポー1−の新情報を入力
して出直しを行う。また、ステップ352でアンサ−フ
ラグが′1″であった場合、伝送したデータ内容がNA
CK信号の送信をふ味−45= づるから、ステップ357でr車体側データ出カブ1]
グラム、lの1J−ブルーチンコールパラメータ  ゛
「91を]7ツ1〜し、新しいデータ信号を送信Jべく
、新情報の入力を行う。 今までの説明では、メインルーチンのステップ109で
ポートROが’ l−1”であるとして扱ってさたが、
相手側からリク]−ス1−信号が送信されているどポー
トROが“L″にイ1つでおり、サブルーチンの種類如
何んにかかわらず、そのルーチンワータを終了覆ると必
ずメインルーチンのステップ109の「受信ブ「1グラ
ムJの処理に入るから、リクtス1へ信号の到来によっ
て受信を優先さVることができる。 第17図から第21図は「受信ブ[1グラム、1の)l
二l−デー?−1・で′ある。 ステップ110で1受信111グラム、]のサブルーヂ
ンの処理に入ると、まず、ステップ400でポー1−R
2をみて、マイク「1」ンピュータCPU1或いLt 
CP IJ 2がパッド側か車体側かを判断する。本実
施例では、前述1ノだ様に、パッド側のター 46 = イマに設定覆る受信待機タイマの時限−[1を、車体側
のタイマに設定Jる受信待機タイマの時限]−2より小
さく設定してあり、−’すれを車体側のマイクロコンピ
ュータc P LJ 2ではスラーツブ401で、パッ
ド側のマイクロコンピ−7−タCP 1.J 1ではス
テップ402でセラI−する。「受信ブ[]グラ11,
1で、再度受信待機タイマに時限1−1または時限−1
−2をセットするの【3L1−回でも送信動作を行うと
、既にメインルーチンのステップ103またはステップ
104でセットした受信待機タイマの時限は短くなって
いたり、経過していたりJることがあるので、それぞれ
の受信待機タイマに時限T1、時限T2を初期設定J゛
るものである3、スフ−ツブ401、ステツー:/’4
02の初期設定を終えると、ステップ403で再送カウ
ンタに7を17ツ1−する。 このセットされた7は「送信プログ′ラム、1に1.(
<再送回数に一致さt!るものである。そして、ステッ
プ404でリフニス1〜信号の受信用RAMを−rニシ
ャライズする。更に、ステップ405でリクエスl−信
丹の′L″を確認するためのサンプリングの回数を設定
りるサンプリング回数設定用カウンタΔ0、Δ1、A及
びROlBl 、+3をクリツノする1、’cし’(、
ステップ/I06でポーl−ROが“’II”かl L
 IIかを判断し、メインルーチンのス5ツブ109′
c判断したポーt−RoのII L−TIがリフ1−ス
l−IN舅であったか、或いは、リクTスト信Y]にノ
イズが小早さねて’H”どなり、リク■ス1へ信号とし
ての扱いを停止ざI!ないように、ポー1〜[<00人
力状態を[(1視Jる、1即ち、ポー1− r< 0が
“’II”かit L uかをステップ406でパ判断
し、“L″であるどき、ステップ407で゛カウンタA
Oを1カウン1−アップし、”II”で・あるどさ、ス
ーfツブ408でカウンタA1を1カウン1〜アツプす
る。ぞのステップ406の判断回数をステップ4091
’カウンタAに枯をンする。でして、ステップ410で
ステップ/106の判断の数、叩1う、4jンブリング
回数が5回に達Jるまで繰り返し行われる9、/iお、
このリーンプリング回数は5回に限定されるもの′cl
;L ’/’c <、使用態様に応じてイ[意に設定す
ればよい。ス′11ツブ410でステップ406の判断
の回数が5回に達したどき、ステップ/111でカウン
タAOどカウンタA1とのη1数蛸の大きさを比較し、
ポートROで受信している信号が1」″であるかi L
 nであるがを、カウンタAOの計数値とカウンタA1
の語数飴によって多数決で決定する。カウンタAOの計
数値がカウンタΔ1の計数値より大ぎいとき、“冒−″
の発生が多いことを意味し、それをステップ412でカ
ウンタBOを1カウントアツプし、逆に、“’ H”の
発生が多いとき、ステップ413でカウンタ81を1カ
ウントアツプする。そして、ステップ411のカウンタ
AOとカウンタA1との比較回数をスラーツブ7114
のカウンタBでKI数覆る。前記カウンタAOとカウン
タA1との比較回数はステップ415で判断され、その
回数が5回に達するまl−繰り返される。 なお、このとき、前記カウンタAで語数Jる5回のサン
プリング(以下、これを4〕゛ンブリング群という)と
サンプリング群どの間に、所定のリーンプリング時間間
隔τ2の設定をステップ416で行い、4Jンブリング
群をカウンタ[3で語数して5回行う。 一般に自動車のノイズ(J高い周波数が不連続で発生η
るものであるから、前記サンプリング及びサンプリング
群の回数は、り3回に限定されるもので【、口’+−,
< 、多数決決定が減咋によ−)で容易に綿出し易いJ
、うに奇数同行うのが望ましい3.シかし、マイクロコ
ンピュータの処理時間及びノイズの発生確率からして5
回程疼のサンプリング群を5回行えば、ポー1−ROの
信号がリクTスト信号であるか否かの判断(ま十分でき
る。 そして、5回のサンプリング群を5回繰り返すのは、リ
フ[ス1へ信号が通常の)゛−タ伝送の情報J:りも長
く、ぞの確認時間が一1分に有ることによるものである
。 ステップ415でカウンタ13が5になっIこことを判
断覆ると、ステップ/117でカウンタBOのhl数飴
どカウンタ[31の語数1111とを比較17、II 
L IIの発生?!Yが’11”の発生群よりも人で・
あったとき、リフ1ス1〜信gの到来と判断し、ステッ
プ419でスタートビットの到来を持つ。また、L 1
1の発生群が’I+”の発生群よりも小のとき、該当す
る信号がないことからステップ418で1′賃常受信プ
ログラム」の1ノ−ブルーチン」−ルパラメータ「1」
をRAMにセラ1〜し、lr巽常受信プ1]グラム」を
]−ルする。 スタートピッ1〜が到来すると、ステップ420でスタ
ートピッ]・のリーンブリング回数設定用カウンタCo
 、C1、Cをクリアする。そして、ステップ421で
ポートROがパトビであるか1−″であるかを判断し、
ポー1−ROが’ I−1”のとき、ステップ422で
カウンタCOを1カウントアツプし、ポートROが“1
−″のとき、ステップ423でカウンタC1を1カウン
トアツプし、ステップ421の判断回数をステップ42
4でカウンタCを1カウン1ヘアツブし、この判断を3
[!lに達するまで繰り返し、カウンタCが3になった
とき、ステップ425から、ステップ426にhす、カ
ウンタCOの計数値とカウンタC1のM数値とを比較し
、カウンタCOの計数値、即ち、I−1”の−51= nl数値が、カウンタC1の翳1数値、即ち、II l
−TIの81数舶より小のどき、スター1ヘビツ1〜信
号と判断でき4丁いので、ステップ427で「巽常受信
プ1−1グラムJの1ナブルーヂン]−ルパラメータ[
11をRAMにレッI〜し、「責常受信プ「1グラム、
lを]−ルする。カウンタCOの81数11Fiがカウ
ンタC1の値より大きいどき、スタートピッi−の到来
を」は味Jるから、(のスター1〜ピッl−から、所定
の時1111間隔′c16ヒツ1〜のシ2−タ伝送の各
ピッ1〜@の1フンプリングに入る。 ステップ428でデータヒツトの4ノンプリング回数設
定用カウンタl’)0、Dll)をクリアし、ステップ
429ぐポー1〜ROが’11”状態にあるか“1−″
状態にあるかを判断する。1ノンプリングされたポー1
〜ROの状態が゛[″のどさ、ステップ430T:カウ
ンタDOを1カウントアツプし、” H”のどき、ステ
ップ431でカウンタD1を1万ウン1−7ツプする。 前記ステップ429でのポートROの判断の回数をステ
ップ432でカウンタDに積算Jる。イして、」フンブ
リングされたポートROの状態を3回繰り返し行い、カ
ウンタDが3になったとき、それをステップ433でl
I’ll断じ、そのときのカウンタDOの語数値とカウ
ンタD1との計数値どの大きざをステップ43/lで比
較し、カウンタI)0の翳1数値がカウンタD1の計数
値より小さいとき、スラーツブ436で所定ビットを“
I」″ど認定し、カウンタDOの1fiがカウンタD1
の値より大きいどき、ステップ435で所定のビットを
L゛′と認定する。そして、それをデータの全ビット数
の16ビツトについて行う。 ステップ437で16ビツト終了したか否かを判断し、
16ビツト終了したとき、ステップ438でCRCを行
い、その異常が認められるとき、ステップ439で「異
常受信プログラムJのサブルーチンコールパラメータの
「1」をRAMにセットし、「異常受信プログラムJを
=1−ルする。CRCで異常が認められないとき、ステ
ップ440でその受信したデータがN A CK信号で
あるか否かを判断し、NACK信号の受信の場合、ステ
ップ444でrNAcK受信プログラム1の1fプル一
ブンニ1−ルパラメータ[31をRA Mにセットし、
1N八〇に受信プログラムjを]−ルする。 まlこ、ステップ441でΔCK (M号であると判断
されると、ステップ442でIf’ A 、CK受信プ
ログラム」のリブルーブン]−ルパラメータ[2」をR
AMに12ツトし、lr A CK受信プ[]グラム」
を]−ルMる。そして、NΔCK信号及びACK信号(
゛もないと判断されたどき、その受信されたデータは、
ポートの状態変化に伴うデータ内容の受信であるから、
ステップ443で「正常受信プロゲラl\11のリブル
ーyン]−ルパラメータ「0」をRAMに廿ツ1へし、
r正常受信プ[]グラムJを]−ルMる、1 第22図は「正常受信ブ[1グラムJのフローヂャー1
−である。 スラーツブ112でr正常受信プログラムJに入ると、
ステップ450で送信信号がポートKO〜に3の情報で
あるか判断して、ポート1り0〜に3の情報のとき、ス
テップ451でポートPO〜P3から出力され、所定の
アクチユエータを駆動したり、ディスプレイを行う。ポ
ートKO〜に3の情報でないとぎ、ステップ452でデ
ータ内容がポートR4〜R7の情報であるか判断し−C
、ポートR4〜R7の情報のどぎ、ステップ453でポ
ー1−00〜03から出力され所定のアクブコ■−夕を
駆動したり、ディスプレイを行う。更に、ポートR4〜
R7の情報でもないとき、ステップ454でポー1− 
R8〜R11の情報であるか判断して、ポー1− R8
〜R11の情報のどき、ステップ455でポート04〜
07の出力され前者同様に、アクチユエータ、ディスプ
レイによってその情報を出力する。ステップ451、ス
テップ453、ステップ455でポートPO〜P3、ポ
ート00〜03、ポート04〜07の何れかからアクチ
コ玉−タ或いはディスプレイによって、目的のデータが
伝送されたとき、ステップ457でIrACK出カプロ
グラムjのサブルーチンコールパラメータ「5」をRA
Mにセットシ、ナブル−チンコールを行う。また、ステ
ップ450、ステップ452、ステップ454でポート
KO〜に3、ポートR4・−R7、ポー1〜R8〜F<
11の情報と判断されなかったどき、ステップ456て
”INΔCK出カブ[1グラム、jの4ノブルーブン]
−ルパラメータ[6」をII A M lこレツ1〜し
てリー1ルーチン]−ルを行う。 第23図はlr A CK出カブ[]ダラム1の、第2
4図はlr N A CK出カブ[1グラム31のフロ
ーチA?−1−で゛ある。 ステップ122で「△CK出カブ[1グラl\Jが]−
ルされると、ステップ500 ’r所定のACKメ゛ン
1!−ジをセットし、ステップ5)01でACKメツレ
ージに付加するC RC]−ドを作成し、ステップ50
2で「送信ゾ[]グラl\」のサブルーチンコールパラ
メータ「71をRAMにレツ1〜して、[送信プ1]グ
ラム」を]−ルする。 マタ、スフ’7ブ124でIrNΔCK出カフn ’1
7ラムjが]−ルされるとステップ550で所定のNA
CKメツセージをレツ]−シ、ステップ551で7.4
1に付加するC [< C:]−ドを作成し、ステップ
552で「送信プログラムJの1」ブルーチン」−ルパ
ラメータ「7」をRA N4に]?ツ1−シて、「送信
プログラム、Iを−」−ルする。 第25図Let v異常受信プログラム、1のフ[1−
チャートである。 ステップ114でi′巽常受信プログラムJがT1−ル
されると、ステップ600でアンリーーフラグが’ H
”か“ビ′かを判断し、アンサ−フラグが゛R1゛の場
合はAQK信号またはNACK信号の受信異常を意味す
るから、ステップ601で「送信プログラムJのリーブ
ルーチンコールパラメータ「7」をRAMに[ツl−t
、、サブルーチンコールを行う。また、アンサ−フラグ
が“L″の場合Cま、ポートの状態変化情報の受信異常
を意味するから、ステップ602でIAcK出カプログ
ラムjのサブルーチンコールパラメータ「6」をRAM
Iこセットし、サブルーチンコールを行う。 第26図は1rAcK受信プログラムjのフローチャー
トである。 ステップ116で「へCK受信プログラムJがコールさ
れることは相手側が送信したデータを受信したことを意
味するから、ステップ650でアン1ノーフラグをクリ
アすると共に、ステップ651で送信完了フラグをクリ
アする。そして、ステラ1652で、パッド側と小体側
との選択を行い、ポー1− R2が” l−1” (7
)とキステラ−7” 653 F W ハツト側データ
出カブ[lグラl\」の1ノブルーチン]−ルパラメー
タ[41をRAMにセラ]〜し、サブルーチンコールを
行う。 第27図はf N A CK受信ブ「1グラ1.1のフ
ローチャートである1゜ スフ−ツブ118でrNACK受信プログラム1が]−
ルされることは、相手がこりらから送信したデータを十
分に情報として受【J取り得なかった返答を受けたこと
を意味するから、ステップ700でアンサ−フラグをク
リアし、ステップ701でlr送信プログラム、iのV
ブルーチン1−ルパラメータ「7」をRA・Mにセット
し、再度送信j−るための1送信プログラムJを]−ル
する。 以上のメインルーチン及びサブルーチンの要約をタイム
ブν−1〜に示Jと、第28図から第33図の如くイす
る。 第28図は正常送信ff、′fのタイムチVI−l−で
、パッド側の入力ポートの状態変化が生じた場合、パッ
ド側は「パッド側データ出力プログラム11及び「送信
ブ[1グラム、]ににす、パッド側データを送信し、車
体側で「受信プログラム、I及び「正常受信プログラム
」を実行し、その状態変化に応じた出力を出す。そして
、IACK出カブ[1グラム」及び「送信プログラム、
Iにより、前記データを誤りなく受信した旨をA CK
 (、lj月としてパッド側に送信する。 第29図は異常送信時のタイムチャ−1〜′C:、パッ
ド側から送信されたデータを車体側で正確に受信できな
いとき、車体側から1rNAcK出カブ「1グラム」及
び「送信プログラムJにより、NACK信号をパッド側
に送(iE L、、N A CK信号を受(ノたパッド
側では、1rNAcK受信ブ[1グラムJにより「送信
プログラム、lを]−ルして、ア゛ I)を再送し、そ
の再送されたデータを車体側で誤りイ1く受信すると、
車体側からi’ACK出力11−1グラムj及び「送信
プログラム11により、パッド側に−59= △ C1〈 イへ Yシ を 送 イJ1  リ−る 
。 第30図は八〇に信号聞シ常時のタイムチ1フートで、
車体側から送信されたデータをパッド側で誤りなく受信
し、パッド側から誤りなく受信した旨のA CK信号を
車体側に送信りる、1ところがへCK信)−1が車体側
に誤りなく伝わらなかった場合は、「異常受信プログラ
ム、jにより「送信ブ[]グラlい」を]−ルして、N
車体側(ま今−石データをパッド側に送信する。でれを
I;リイ「り受信したパッド側はI’ACK出カブ[1
グラム、■及び「送信プログラム、1によってA CK
信号を送イハ1−るa <Zお、このどき、初回のデー
タにJ、ってパッド側はそのデータに応じた出力にJ、
つ−(7クブ1L−夕の駆動ま1、:はディスプレーr
を行うが、パッド側の八〇に信シシが車体側に伝わら4
丁いために、再度同一データを受信し、)7クヂー11
−りの駆動4、た(まディズブ1ノイを?jうことにな
る。 第31図【1、NA0]〈信Y3の??常時のタイムチ
ャー1〜で、車体側から送信されたデータhX″パッド
側で誤りなく受信て゛きないとき、パッド側からNAG
KK信号車体側に返送する。ところが、NACK信号も
誤りなく受信されないと、「異常受信プログラム」によ
って、データの再送が行われる。 第32図はパッド側に3種類の状態変化が生じたときの
タイムチャートで、まず、「パッド側データ出力プログ
ラムjによって、3種類のデータを1種類ごとに分けて
パッド側から「送信プログラムjによって車体側に送信
する。この途中で、車体側から入力があると、「車体側
受信待機プ1グラムjによってrパッド側データ出カプ
ログラムj及び「送信プロゲラ・ムjを実行し、車体側
のA、G K信号に続いて車体側からデータを送信し、
その送信データをパッド側が受信すると、A、GKK信
号車体側に送信し、続いて残りのデータを車体側に送信
する。 第33図はパッド側と車体側とで同時にリクエスト信号
が送信された場合のタイムチ1p −1〜である。パッ
ド側と車体側に同時にリクエスト信号が送信されるとぎ
は、「送信プログラム1のルーチンの処理中にあり、そ
の「送信プログラム」を実行後送信データが両者共に伝
送されないまま、「パッド側受信待機プ[1グラム」或
いは「車体側受信待機ブ[1グラムJの処理に入るが、
パッド側は時限T1が車体側の時限[2より短く設定さ
れているから、「パッド側受信待機プログラム」により
、パッド側が先に「送信ブ「]グラム」の実行に入り、
それに伴い、車体側は「受信プログラムJの4ノーブル
ーチンに入る。パッド側のデータ伝送が終了し、時限−
「2を経過すると、次に車体側のデータを送信すること
ができる。したがって、パッド側優先の送信となる。 この様に、本実施例ではr受信プログラム」の処理開始
にJ:す、まず、到来信号を続けて5回サンプリングし
て、ぞの結果を多数決にJ:って求め、到来信号の“ト
ビ′または“′1″を決定づる。そして、前記5回のサ
ンプリングを更に続けてそれらがit 5回になるまで
行い、それらの結果を多数決により決定し、そして、ぞ
の結果を更に多数決により求め、到来信号のパ]ビ′ま
たは1M+を決定して、ぞの結果が′L″であった場合
は、リクエスト信号の到来と判断Jるものである。 即ち、リクエスト信号のパルス幅は、一方のマイクロコ
ンピュータが「送信プログラムJのリーブルーチンの処
理に入った後に、他方のマ、rり[1]ンピユータを「
受信プログラム8Iのリーブルーチンの処理に引き込む
までに要Jる時間に等しいが、或いは、それよりも若干
長く設定するものであるから、第34図の到来信号を拡
大したタイムチ+7−トの(a)に示す様に、一方のマ
イクロコンピュータが「受信プログラムJの処理に入る
と、まず、到来信号を続けて5回づつのナンプリングに
入り、サンプリング群SPI〜SP5を作る。それらの
結果を多数決によって1ノンブリング群SP1〜SP5
毎に1−″または’ l−1”を決定し、更に、それら
の“L″または“”11”の発生頻磨の多数決をとり、
到来信号が’I+”であったか“1−″であったかを決
定し、“1−″であった場合にはリクエスト信号の到来
と判断するものである。 この種のリクエスト信号の如く、パルス幅の長い信号の
到来を判断する場合は、奇数回行ったサシブリング群の
多数決結果に基づき、更にその結果の信号の’ H”、
11 L−I+の発生頻度を多数決によって求めるのが
効果的である。即ち、中輪用の伝送線路に侵入するノー
rズNOI〜N05は、群発的4T1)のが主体ひある
から、連続的なサンプリングよりも効果的になる。そし
て、サンプリング回数を増すことにより、ぞの正確さを
増すことができる。 通常、リクエスト信号の1ノンブリングは、第34図の
到来信号を拡大したタイl\ヂ17−1〜の(a)また
は(b)に示す、様に、そのリフ1−スト信号のパルス
幅内で行われる。しかし、マイクロコンビ1−タの1ナ
ブル−チンの処理中に、ポートR1の信Y)をみたどき
、ノイズNOI〜NO5によって“l−1”どなってお
り、その11ンJリング開始が遅れたどき等は、第34
図の(C)に示す様に、リクエスト信号のパルス幅内で
必要回数のサンプリングを終了しない場合がある。この
場合には、リクエスト信号の“l−″が必要回数だけそ
の判断ができなくなるので、r異常受信ブ[1グラムJ
及び= 64− 1rNAcK出カプログラムJによって送信側にデータ
の再送を依頼することになる。したがって、必ず「受信
プログラム」により、必要回数の41−ンプリングを行
い到来信号を判断することにイ【る。 このためにも、リクエスト信号とスタートビット信号と
は、互いに逆にぞの信号を設定し、更に、スタートビッ
トのパルス幅は前記リクエスト信号の最終サンプリング
がずれ込んだときに、スタートビットのパルス幅で多数
決決定された結果が、1」″となるように、そのスター
トピッ]〜のパルス幅を設定するのが望ましい。 また、本実施例は、送信されたスタートビットと「受信
プログラムj 17)処理とが同期するものではなく、
非同期によってぞの処理を行うものであるから、第34
図の(d)に示す様に、スター1−ビットのサンプリン
グ回数及びそれに要づる時間と、データの各ビットのサ
ンプリング回数及びそれに要する時間は、多少の時間ず
れによってスタートビットが検出された場合にも正確に
各ピッ1〜の信号をサンプリングできるJ:うに設定す
る必要がある、1 イ1お、不実施例では、リクエスト信号を25回のIt
ンブリングSPI〜SP5、スター1−信号を3回のサ
ンプリング5P11、データの各ビットを5×16回(
1) it ンブIJ ンクS P21〜S P2O(
S P24・〜51136は図示せず)によって、その
“1−V′、“l i I+を多数決で・′決定してい
るが、本実施例はそのパルス幅によりサンプリング回数
を決定したものである。本発明を実施Jる場合には、前
記サンプリング回数に限定されるものではなく、そのパ
ルス幅に応じて奇数回のサンプリングを行えばよい。 一1=記の様に、本発明は到来信号のパルス幅に応じて
サンプリング回数を決定づるものであるから、パルス幅
の長さに応じて奇数回のサンプリングを行い、その結果
を多数決判断して到来信号を決定することができる。 [発明の効果] 以上の様に本発明は、マイク1−1]ンピコータのポー
トに到来した信号を、イのパルス幅に窓上で=  66
  = 奇数回サンプリングし、にのサンプリングした値の多数
決によって、到来信号を決定りるものて゛あるから、到
来信号にノイズが重畳しでいた揚台、それを除去して本
来の信号成分のみを取り出して到来信号とすることがで
きるから、受信側で送信側から送出された信号内容に応
じた制御を行なうことができ、受信側のマイクロコンピ
ュータ出力の誤動作を防止覆ることができる。 また、別の発明は、マイクロコンピ]−夕のポートに到
来した信号を、そのパルス幅に応じて奇数回サンプリン
グし、その4yンプリングした値の多数決結果によって
、到来信号を判断り−る動作を更に奇数回行い、その結
束を多数決によって決定するするものであるから、到来
したパルス幅の良い信号にノイズが重畳している場合、
パルス幅が長くなればなるほと、そのノイズを除去して
、高い確率で本来の信号成分のみを取り出して到来信号
とすることができるから、受信側で送信側から送出され
た信号内容に応じた制御を行なうことができ、受信側の
マイクロコンピュータ出力の誤動作を防止Jることがで
きる。 史に、別の発明は、ステアリングホイールと車体間の信
号伝送を]ンラーンシ1ン方式で行い、スミアリングホ
イール側と車体側に配設した各々のマイク[1]ンピコ
ータのボー1〜に到来した信号を、そのパルス幅に応じ
てにi数回]ノンブリングし、そのサンプリングした蛸
の多数決によって、到来信号を決定覆るものであるから
、ステアリングホイールと車体間の信号伝送線路を長く
しても、そこに侵入するノイズの影響を除去でき、受信
側で送信側から送信された信号の内容に応じた制御を行
なうことができるから、受信側のマイクロコンピュータ
出力の誤動作を防止j−ることができる。 4、図面の簡1i /’c ;’tri VI11第1
図は本発明のステアリングホイールど車体間の信シ)伝
送方法の全体1A本構成を示すブロック図、第2図はパ
ッド側マイクロ1ンピユータの各ボー1への接続状態を
示J回路図、第3図はパッド側のスイッチ群及びディス
プレイ群の配設を示す要部の斜視図、第4図はステアリ
ングホイールのパッド部分と車体側どの間の信号伝送線
路を示した構成図、第5図は車体側のマイクロコンピュ
ータの各ポートの接続状態を示す回路図、第6図は本実
施例のステアリングホイールと車体間の信号伝送方法の
基本的パターンを示す概略図、第7図は伝送信号の基本
フレームを示す図、第8図から第101図は本発明の一
実施例のメインルーブンを示すフローチャート、第11
図は「パッド側デ、−タ出カプログラムjのフローチャ
−1へ、第12図は「車体側データ出力プログラム」の
フローチャ−ト、第13図及び第14図は「送信プログ
ラム」のフローチャート、第15図は「パッド側受信待
機プログラムjのフローチャート、第16図は「車体側
受信待機プログラム」の70−チト−1〜、第17図か
ら第21図、は「受信プログラム」のフローチャート、
第22図は「正常受信プログラム1の70−ヂヤート、
第23図はf、AC,に出力プログラムjのフローチャ
ー1〜、第24図はr N 、A CK、出力プログラ
ム」のフローチャート、第25図は「異常受信プログラ
ムJのフローチ+= −t−1第26図はIrACK受
信ブ1受信ブタム、]のフローチャー1へ、第27 図
Li f N A CK 受i フD り7 ムj ノ
ーノ1−1−チレー1〜、第28図は正常送信時のタイ
18ヂヤート、第29図tit ra常送信11¥ (
7) タイにチp −1へ、第30図は八〇 K信号異
常時のタイムチャー]〜、第31図はNへGK信号のW
常時のタイムチ+7−1〜、第32図はパッド側に3種
類の状態変化が生じたどきのタイムチ1?−1〜、第3
3図はパッド側と車体側とで同時にリクエスト信号が送
信された揚台のタイムチレ−1〜、第34図は到来信号
を拡大しICタイムヂャ−1へ、第35図はステア・リ
ングホイールと車体間の信号伝送方法の従来例のブ[1
79図である。 図中、 30・・・パッド本体、 35・・・ステアリングホイール、 47・・・テープ電線、 Q1〜Q24・・用〜ランジスタ、 r1〜r59・・・抵抗、 5line・・・信号伝送線路、 CP LJ 1・・・パッド側送受信用マイクロコンピ
コータ、 CPU2・・・車体側送受信用マイクロコンビ−J−タ
、である。 なお、図中、同−符号及び同一記号は、同一または相当
部分を示す。 特許出願人 曲用合成 株式公判 代理人 弁理+ lff1 ri  武尚特開昭G1−
82205(29) パラメータ7 第23図 第24図 ゝへ、 し〉 匂 4A丙 lト ニ 1Q− 〉 ] パラメータ2 特開昭G1−82205(37) パブA二偽ゴ 毫只    を
[In order to do so, due to mounting issues, it is necessary to use a very simple structure for the transmitting device (41, etc.) (-j), and the stationary parts facing each of the rotating parts of the steering wheel. In some cases, it is necessary to cover the wiring that connects the receiving device, which is a part, in the cylinder, and in some cases, it is necessary to use a large number of surrounding contacts, and there are problems such as reliability. In order to solve this problem, the following steps 2i 71 to 1 [1-la are known. The system includes an operating section that generates an operating signal in response to manual operation from the outside, and an operating section that outputs an operating signal), and responds to the signal by manually controlling the operating section.
The binary parallel encoded signal is converted into a serial data signal by a generator, and the binary parallel encoded signal output from the signal generator is converted into a serial data signal and sent to the receiving device (1: the serial data signal to be transmitted). A transmitting RtiW having a data transmitting section disposed in the steering wheel 11 to the wheel of the automobile, and a transmitting RtiW that receives the serial signal and receives the serial signal.
a serial data receiving unit that converts into a hex-parallel encoded signal;
a receiving device installed on the vehicle body side, such as a control unit that decodes the signal converted by the serial data receiving unit and outputs a corresponding control signal to each Akubuko; the transmitting device; and the receiving device. It consists of a power supply line and a serial data transmission line that connect the FIG. 34 is a block diagram of a known controller described in -. The control of this scale [J-RA] is roughly divided into a transmitting device 1 provided on the steering wheel, a receiving device 5 provided on the vehicle body side, power supply lines 9 and 11 connecting each of the two, and a serial data transmission 1! 1110. It consists of a transmitting device IL↓, an operating section 2, a signal generating section 3, and a serial data transmitting section 4. The power supply for these devices is
This is carried out from the vehicle battery 12 via the power supply lines 9 and 10. The transmitting device 1 is provided in a pad portion of a steering wheel. The operation part 2 is an automatic return type pusher. Button switch, dial switch, photo-in = 5
- A device that generates an electrical bind-off in response to an external manual operation f+ such as an optical switch using a Kusui-1 is used. The signal generating section 3 is connected to the operating section 2 and has the function of generating a binary parallel encoded signal according to the operating state of the operating section. Generally, it can be composed of an encoder or the like. The serial data sending unit 4 has a function of converting the binary parallel 3+1 encoded signal into a serial signal and then sending the signal to the receiving device 5 via the serial data transmission line 10. Generally, a parallel-serial converter or the like can be used. It is also possible to configure the signal generating section 3 and the serial data sending section 4 in a computer, especially a one-chip microcomputer. The receiver 11 device 5 is installed on the vehicle body side. The receiving device 5 includes a serial data receiving section 6, a control section 7, and the like. The serial data receiving section 6 receives the serial signal from the serial data transmission line 10, converts it into a binary parallel encoded signal, and outputs the signal to the control section 7. The control unit 7 decodes the parallel encoded signal, and the specified acji]T
− Outputs control signals to perform specified control of the controller −
I'm on the right side. Serial data receiving section 6 and control section 7 tJl: May be configured with individual digital circuits, and may integrate serial data receiving section 6 and control section 7, etc.]
pump coater, especially 1 chip micro-1 pump coater
[・Can also be configured. The Akujiko T-ta nY8 is intended for all other actuators such as radios, ``A'' and ``Boo'' devices, and O1 to drive equipment. The power supply lines 9 and 11 and the serial data transmission line 10 are made by arranging a plurality of conductive wires in parallel, making a tape-shaped electric wire with elasticity v1 by wrapping them together with synthetic resin, and steering the tape electric wire. It is formed by winding it loosely in a spiral around the shirt, and connects the transmitter and receiver stations. Since the tape electric wire is loosely wound in a spiral around the shirt 1, it can also follow the rotation of the steering wheel by -1 minute. Furthermore, direct connection without using a sliding contact or the like prevents noise from entering. [The invention solves the problem L)] However, the above [1]-L has an operation part installed on the steering wheel side, and sends the signal of the transmitter Bi to the receiver neck on the vehicle body side. Because of the current situation, IFi is affected by impulse noise frequently generated by ignition systems such as automobiles, chattering during switching, or wireless 1m.
J: The transmission signal sent out by the transmitting device P7 by the radio Vli l 1 etc. (this noise is superimposed, and the receiving device F'J
On the other hand, the receiver converts the received signal to the control signal without being able to determine that noise is superimposed on the receiver, resulting in a cohesive malfunction. Therefore, the present invention is designed to remove noise superimposed on the transmission signal and extract only the original signal component, thereby reducing the τ of the incoming signal. The present task is to provide a method and device for determining incoming F3 signals. [Means for solving the problem 1] The incoming signal discriminating device of the in-vehicle microphone [1] amplifier of the present invention detects the signal arriving at port 1 of the microphone l-I II impi-ta by its pulse. (a) a means for sampling an odd number of times according to the width; The system is constructed by means of subtracting the value of both counters from the value of the counter.1.By configuring it in this way, the signal arriving at the port of the microcomputer is sampled in odd numbers, and the input signal is It is possible to determine the signal that arrives at the port by majority vote of the sampling values of Furthermore, if the majority decision based on the sampling described above is performed an odd number of times and the signal arriving at the port is determined based on the majority decision, the incoming signal can be determined with high reliability. [Embodiment] FIG. In Figure 31, which is a block diagram showing the overall basic configuration, the pad side refers to the pad part in the center of the steering wheel, and the transmitting microcomputer CPLJ 1 is housed in the pad part. The vehicle body side means the fixed side excluding the part that responds to the rotation of the steering wheel, and examples of this include the steering column and the Datsushiko board on the driver's seat side. For example, the transmitting microcomputer CP tJ 2 on the vehicle body side is housed in the dashco board. The transmitting microcomputer CP tJ 2 is the same one-piece microcomputer 1. MP
]-ta, specifically the MB 8850. One-chip microphone 1-1] The configuration of the pump coater is well known and is not directly related to the gist of the present invention, so a description thereof will be omitted. In addition, hereafter, microcomputers, etc., are referred to as pump microphones [1] computers, microcomputers [112], unless otherwise specified.
There are also computers called one-board microcomputers. Figure 2 shows pad side micro=1 amp coater CPU-10
FIG. 3 is a circuit diagram showing the connection state of each port of 1, and FIG. 3 is a perspective view of the main parts showing the arrangement of the switch group on the pad side and the display BT. In the figure, a switch 81 constituting a key matrix
-S9 are, for example, O1, which is set to a predetermined medium speed during driving to control constant vehicle speed running. , car radio power switch S4, AM/FM tuning switch S5,
These are a polycomb up switch S6, a volume down switch S7, and a temperature down switch S8 and a temperature down switch S9 of the near conditioner (hereinafter simply referred to as air conditioner) controller. In this embodiment, other switch groups can be controlled in the same way, so their description will be omitted. Moreover, the same type of switch as that known in the art can be used. The objects to be controlled according to the present invention are not limited to the auto drive controller, air conditioner, etc. of the above embodiments, and the objects can be increased. There are some things that can be changed by 4 depending on the A-drive control 1]-A switch operation
-1~ While driving, the PO is intruding on the output capo-1.
(11-1 novel) °', the base current flows through the resistor r18Li that constitutes the display drive circuit, and the 1-transistor Q3 turns on, and current flows through the resistor rlQ, so the auto drive display OD river emits light. The diode is Ia
Light up. J: When PO goes to output capo-1 (high level), transistor Q3 turns off and 1-
The light emitting diode for t-drive display OD turns on. The drive display OD to the above 1 is the microphone on the vehicle body side [1]
It is controlled by a signal from the pump coater CPU2. Similarly, the outputs of the output capos 1-00-07 are connected to the display signal from the microphone 1-1 on the vehicle body side and the CPU 2, and the outputs of the former resistors r18 and R19 and 1- A specific light-emitting diode of the display group 21, such as a corresponding light-emitting diode, is lit up and displayed through a display drive circuit 20 consisting of a plurality of circuits similar to the transistor 03 and the like. This type of display drive circuit is not limited to the circuit of this embodiment, and any known interface circuit may be used. In addition, the input/output port R1 is connected to the microcomputer CP.
Send the output signal of U1 to the signal transmission line 31inc,
The signal of the microcomputer CPU2 is transmitted through the signal transmission line 3.
Through Line, you will be guided to the I/O Capo]/RO. That is, when port R1 is 118 II, the potential at the connection point between resistor r11 and resistor r12 rises, and resistor r13 lowers the base potential of transistor Q1 by -L, so transistor Q1 turns on and signal transmission is completed. Line 5 is ll
1-II, and conversely, when baud 1-R1 is L'', the signal transmission line 5line becomes 11HII.Then, the signal on the signal transmission line 31ine becomes H due to the signal from the microcomputer CPU2 on the vehicle body side. When ``, the potential at the connection point of resistor r171ff; resistor r16 and resistor r15 rises to turn on transistor Q2, so baud 1 to RO are set to ``1-'' by transistor Q2.
becomes. Also, the signal (] of the signal transmission line 31ine is
When the transistor Q2 is low, the resistance r
14"; port RO roars "'l-1". The circuit for switching the transistors Q1 and Q2 constitutes the input/output circuit 22, and a known circuit called an interface can be used. The transmission and reception timings of baud 1 to R1 of the input/output circuit 22 and port RO are set by a program described later. Also, the constant voltage power supply circuit 23 receives a power supply led from the vehicle-mounted valve brake 5, etc. via the power supply line 1) line,
It consists of a known constant voltage power supply circuit that provides a stabilized constant voltage, and its output voltage VC1 will be described later.
p It is the same or approximately the same voltage as the output voltage VC2 of the constant voltage power supply circuit on the LJ 2 side. Earth side power line [1in
e, the platform for the car body ground may be 19 from the car body ground, but in order to reduce noise, the ground side power line rli
Preferably, ne is used. A four-pronged dog tie connected to baud 1-R3 and port R3T? (Watcl+ dog tim
er) 24 is for detecting abnormalities in the hardware of the microcomputer CPU1.
- When the P LJ 1 is normal, it is reset at a specific timing, but if it does not receive a ret signal at a specific timing interval, it is determined that there is a hardware abnormality. It is. Ceramic oscillator X connected to terminal x1 and terminal x2
The circuits 1 and 2 constitute a well-known pulse generation circuit having a predetermined frequency such as CO1 and CO2. In addition, the input/output port R2 is later)! The power supply voltage VC1 is derived due to the software used in J-1. Here, the orientation configuration of the switch group and display group on the pad side equipped with the above-mentioned circuit configuration will be explained. In the figure, the microcomputer CP tJ 1 is
As can be seen from the part of the pad main body 30 shown in FIG. 3, it is attached to the printed circuit board 31. The pad body 30 is generally placed in the center of the steering wheel 35 and is disposed at the bottom of the boss portion 41. On the surface of the pad body 300, a switch pad 33,
Switches F and Y3' which are not circuitized in this embodiment
l and output ■Display panel 38, display group 39 for displaying various control states, and switch AT described in IIF+
S 1 to 89, etc. 1. Next, we will explain the signal transmission means of the non-rotating pad part of the steering wheel to which the above switches and sprays F and Y are distributed. Fig. 4 is a configuration diagram showing an example of the bend-down transmission I!I+ path between the pad part of the steering wheel and the vehicle body side. As it rotates, it rotates 77
This figure shows a steering wheel with a non-rotating mechanism. In the figure, the steering wheel 35 is
17) Tighten and secure the steering wheel to L'll. On the other hand, a fixed center gear 43 (not shown) is provided at the upper end of the steering column (not shown), and a stationary gear 44 is provided at the upper end of the boss portion 41 of the steering wheel and is rotatable with the steering shaft 40. The stationary gear 44 supports the pad main body 30 shown in FIG. Planetary gears 45 and 46 are rotatably provided, and the fixed gear 43 and the stationary gear 4
4 and planetary gears 45 and 46, rotation of the steering wheel 35 rotates the steering shaft 40, but the structure is such that the static 11° gear 44 is not rotated. That is, when viewed from the steering shaft 40, the static gear 44 is constructed to rotate in the opposite direction to the rotation of the steering wheel 35 and remain stationary. Signal transmission between the pad side and the vehicle body side is performed by a tape electric wire 47 formed by molding the signal transmission line 31ine with elastic plastic resin. This tape electric wire 47 is spirally wound and installed inside the stationary gear 44 and the fixed gear 43. Therefore, when the steering wheel 35 is rotated 1, the tape electric wire 47 is inserted into the fitting hole of the electric wire support disk 48 and /I9 and the boss part 41 with a length of Jζ, passed through the fitting hole with a length of Rotate the electric wire 47! As the handle rotates, it is always rotated by being tightly wound in a spiral shape or wound loosely. Where is this? ), the fitting holes of the wire support disks/'18 and 4 and the boss portions 41 (:I:
Tit and body and 41 move, so it's a fitting hole phase! It is possible that a deviation occurs in the signal transmission line 5l.
There is no need to cut the ine. Next, the specific circuit configuration on the vehicle body side is explained using the circuit diagram shown in FIG. 5 which shows the connection state of each port of the microcomputer CPU2.
and connected to terminal A and X2, respectively, are the same as those constituting the microphone pulse generation circuit. J: Also, the constant voltage IT power supply circuit 55 is the same as the constant voltage ff power supply circuit -18 = circuit 23 on the pad side, and is connected to the ignition switch IG/
When the SW is turned on, the power is supplied from the on-vehicle battery 57. Therefore, the battery 57 is connected to the constant voltage power supply circuit 2 on the pad side via the power supply line pline.
3 also supplies power. As described above, the output voltage VC2 of the constant voltage power supply circuit 55 is the same or approximately the same voltage as the output voltage Vc1 of the constant voltage power supply circuit 23. Terminal VSS
to (the ground potential is led to the microcomputer) -
The controller 1 and the CPU 1 are electrically connected to each other via a power supply line Fline or by connecting directly to the vehicle body. Note that in FIG. 5, the watch dog timer 26 shown in FIG. 1 is omitted for convenience of drawing. Microcomputer CPU 2 input/output port RO
is the output of the microcomputer CPU2 on the vehicle body side,
Port R1 is the microphone on the pad side [l-1 amp coater CP
This is used to input the output of LJ1. The input/output circuit 25 is composed of resistors r21 to r27 and transistors Q11 and Q12, and its circuit behavior is similar to that of the input/output circuit 22 of the microphone 1-1]. h When RO becomes 11", transistor Q11 turns on and transmission line 31
inO becomes 11+1. Conversely, when RO becomes 11111, the transmission line S+tne becomes '11' and 1.'cl. Also, due to the output of the microcombiner t-/ICP U l, the transmission line 5linO becomes 11111. When I II, transistor Q11 turns on and the microphone []]]
] Baud 1-R1 of On-2-ta CPIJ is I L 11
On the contrary, when the transmission line 5line becomes "-", the board 1-R1 becomes "]--". Control of the car radio 56 is performed as follows from the viewpoint of the microphone CPU 2. When the output of the port Q5 of the microphone [1] amplifier CPU2 becomes "TODO", a voltage is applied to the resistor r29 via the resistor r28, the transistor Q13 is turned on, and the power switch Pow of the car radio A is turned on. Bow 1-
When 05 becomes 'I-1', the resistance r30 as in the former case
, R31 turns on the 1-transistor Q14,
Set the car radio A tube to FM, and set the baud h06 to 1llll and AM. When the output of port 01 becomes II EI II, the channel scans and automatically selects a station. Once the channel is selected, the "I" signal arrives again and the selected station will not be changed unless the channel is selected. ,
Changing the audio output of the car radio is done as follows. When port P1 becomes "II", resistor r34 and resistor r35
The potential at the connection point increases, and transistor Q16 turns on. When transistor Q16 turns on, the potential at the connection point between resistor r36 and resistor r37 is increased, and
Turn on 7. A constant voltage V01 and OIN for the polycomb of the car radio are supplied to the resistors of the transistors Q1 to Q17, and the capacitor C10 is charged via the diode D1 resistor r38. The potential of the capacitor C10 is applied to the gate of the field effect transistor FET, so that the field effect transistor FET converts it into the magnitude of the voltage drop across the resistor r44. The voltage of the resistor r44 is led to the polycomb terminal VOLIN of the car radio 56, and the car radio'A56 outputs the voltage according to the magnitude of the voltage drop (vl). When port (]0 becomes 'II', transistor Q18 is connected by resistor r39 and resistor r40.
is turned on, and the transistor Q19 is turned on by the resistors r41 and r42, dropping the cathode side of the diode D2 to the ground potential J. Therefore: ] Ndensa C1
The charging voltage of 0 is discharged through the resistor r43, the diode D2, and the transistor Q19, lowering the charging voltage of the capacitor 010, and reducing the voltage drop of the resistor r44, thereby changing the audio output of the car radio 56. be able to. J--1-drive controller 54 is microcontroller L
, -t-ICPtJ2 baud 1-00.01.02
gives control instructions. That is, when oO reaches "II", the connection potential between resistor r50 and resistor r53 rises, turning on transistor Q20, driving relay R1-1, turning on contact R111, and A'~1~~1. ~ Drive [1-Preset ra 54. When baud+-o i becomes 1 to V', transistor Q21
turns on, energizes relay R1-2, and contacts 1'<
Turn on L12, and turn on J-1-drive controller 1-port-ra54
Reset. When port 02 becomes "1", transistors 1 to Q22 are turned on, relay Rl-3 is turned on, and its contact R113 is turned on, and autodrive controller 54 is in the pre-set state. However, even when the auto drive is down due to stray electricity, it acts as a resume switch that pulls the auto drive into 1-t-drive again. The power supply of the air controller 53 is attached to the dashco board side (not shown), and is controlled to turn on and off there.When the port 03 turns 'II', the transistor Q23 turns on. , S1NO RL4 is excited, its contact RL14 is turned on, and the set temperature of the air conditioner is lowered. Also, port 0
When 4 becomes 'l-1'' and 4τ, transistor Q24 turns on, energizes relay ~R1-5, and its contact R115 turns on, raising the set temperature of ■Ayu 1.The set temperature stone is T An arbitrary temperature is set by turning up and down an up/down counter built in the controller 53.The temperature inside the car is detected by the hot stone sink ij-52, and the The A-D converter 51 converts the value into a digital signal and inputs it to the input ports 1 to R4 to R11.This information is transmitted to the pad side and displayed on the display. Microphone[]]Piconta Cl]
1. The input/output capo ir<2 of J1 was connected to the power supply voltage VCI side, but the terminal R2 of the input/output port of the microphone [] computer CPU 2 on the vehicle body side is set to the ground potential. In addition, the structure of the Darashi 1 board side, the relay circuit connected to the output cap of the microcomputer CP tJ 2, and the structure of the actuator used for mechanical control, etc., have been used in the past. Since the control system can be used as is, its explanation will be omitted. As mentioned above, the microcomputer CPU of this embodiment
1 and CP LJ 2 on the input/output side, auto drive controllers 1 to [1-RA, car engine controllers], displays, etc. are exemplified.
ll 24 - The object is not limited to the use according to the above embodiment, and an electric drive circuit, a relay circuit, etc. can be connected to the output port depending on the detection object of the input port of the microcomputer CPU1 and CI)C2. to control electrical output,
Furthermore, an actico I-tater or the like is connected to perform mechanical output control. The signal transmission device between the steering wheel and the vehicle body according to the embodiment of the present invention constructed as described above and the microcomputer control method of (a) will be explained below. First, an explanation will be given with reference to FIG. 6, which is a schematic diagram showing the basic pattern of the signal transmission method between the steering wheel and the vehicle body in this embodiment, and FIG. 7, which is a diagram showing the basic frame of the transmission signal.
Ru. When one of the pad side and the vehicle body side becomes the transmitting side 60 and the other side becomes the receiving side 62, a transmission signal is sent from the transmitting side 60 to the transmission line 5Line. The transmission signal consists of a basic frame as shown in FIG. The transmitting side 60 sets the output of the port R1 of the microcomputer to lL11, that is, the signal of the transmission line 5Line to '11', and sends out a refresh signal. On the receiving side 62, the baud 1-RO of the microcomputer becomes lll+. Then, it detects the arrival of the Riffnis1~ signal.Then, the microphone [1] input terminal on the receiving side 62 is put into the receiving standby state, and the start bit 4 bits of the signal (b i 1: ) are transmitted. Information type and 4 pits 1
port information of ~ and 8-bit CRC (Cy
clic redundancy check) =
] - Receive the code. Send message @6 at C1 step 63
If there is an error in 1, the microphone 1 on the receiving side 62 sends a NACK (Negal:ive
acknowledgment) signal to the transmitting side 60 microphone [
]] to request retransmission of the same transmission signal 61. 1 for error-free transmission signal 61! ? If
Depending on the content of the transmission signal 61, the actuator T is differentially set.
At the same time, it sends an ACK signal 66 to the transmitting side 60 indicating that the signal has been transmitted normally. Furthermore, regarding the basic frame 11 of the transmission signal, the 4 pins 1 to 1 of the information type are used to identify the type of each detection lens or switch using the 4 pins 1-, and the various detection sensors are 1 or sends information according to the switch type. For example, in the block diagram of FIG. 1 showing the basic configuration of the present invention, the information types are 3, R4-R7, and R8-R11.
Species information, r 1. -11-8.1, r l-1-LI
H'', r L HI-I HJ F Sot'L wo expressionre Rumo (7) F Do. Port information means the information therein. When the power switch S4 of the car radio of the microcomputer CP LJ 1 on the pad side is turned on, the type of information and the ball information signal are exemplified as follows: A signal r L Hl-I H,1, which scans R12 to port R15 with 4 bits, [I L Hl-I H,
1, r H111l-I J, r 1''l-I HI-
1 signal, port [<12 scanning verses only, port 1 to 1. .. ''' is output, so the information type r L
The contents of Lm l-I J are the port information [ToI L HL
This means that it has changed to l-1. The Porto information is l”
L)-I HHJ-11-1-11-1j is transmitted as a uniquely determined code. After said signal, a c RC signal is sent. The CRC signal is specified by the information type and port information.
7. Adding a certain number of hits during the transmission of information (error detection HJ method, communication protocol 1-) is a well-known method, so the explanation of that method will be omitted. I'Ka3, Under J's, data, information type and bow 1
A CRC signal determined by information, information type, and baud 1 information, which means information excluding the 80 signal and NAC+ signal, and the transmission signal refers to the information transmitted by the basic frame. It means something. Transmission/reception microcomputer CPU 1 and CI)
The routine of jJ2 will be explained using the flowcharts shown in FIGS. 8 to 27. In this embodiment, a contention method is adopted as a method for mutually transmitting signals between the pad-side transmitting/receiving microcomputer CP (Jl and the vehicle body-side transmitting/receiving microphone "1") and the CPU 2. I will explain with an example,
When implementing the present invention, the present invention is not limited to the above-mentioned random selection method, and a polling/selection method may be adopted. The basic difference between the two is that according to the tension method,
When transmission is performed simultaneously from both microcomputers CPU 1 and CPU 2, a collision occurs on the -41 transmission path, and this collision is avoided by error control. When information changes, the information can be transmitted each time, which shortens the normal transmission time. On the other hand, in the polling/sensing method, collisions on the transmission path can be avoided by following the parent's call, but when information changes, the transmission time is slower than in the former method. Become. Therefore, when it is necessary to increase the processing speed of a controlled object, the ``intent'' method is advantageous, but when controlling a normal display or electrical equipment, the polling/selection method is used. be able to. Of course, the microcomputers C, P U 1 and C'P
Depending on the processing speed of LI2, the polling selection method can also be adopted for control objects other than those mentioned above. As mentioned above, the control of the computer CPU (microphone 1) and IJ (CF) IJ 2 shares the rough 1 to wear with the pad side and the car body side, and there is selectivity among these controls. are microcomputers CPU 1 and C
Is the input of port R2 of P U 2 at ``Tobi''?
The control method for the control method is selected by J: in l1l. FIG. 8 shows the main routine of one embodiment of the present invention. When the ignition switch IG/SW is turned on,
At step 100, the main routine of Tree-Noroji1/-1~ is r? Starting from rl, micro w at step 101:
/e' Coater CPU 1 and CPU 217) ~, initialize the flag and RAM. In step 102, the microphone [+Tlt,:"-1-
When the input of port R2 is 'I+', it is determined that the pad side is being controlled, and when it is 'L', it is determined that it is the control of the vehicle body, and the step At 103.104, time limit T1 or T2 is set to each reception standby timer. Said ll:ll limit 11
and □ Time limit T2 is TI < T2, but the time limit T1 on the pad side and the time limit T2 on the vehicle body side are as follows: When the ignition switch IG/SW is turned on, the microphone [1 computer CPUI and CP LJ2 Since the raccoon stray electricity is constant, the microcomputers CPU 1 and CP IJ 2 may simultaneously output signals 1 to 1 to the signal transmission line 3l-inQ. At this time, in this embodiment, a priority selection determination timer is used to prioritize one information transmission and wait for the other information transmission, and in this embodiment, [, LTl < T
2, and the information output from the pad side is given priority over the information output from the vehicle body side. Then, in step 105, a retransmission counter is set to 7. This 7 is an instruction to repeat the transmission of the same signal from the transmitting side up to 7 times if a transmission error occurs due to the name 91I of the signal transmission line 5line or the like. Therefore, the retransmission counter is set to 1? I7 is not limited to this, and the value can be set to any value. At step 106, the ``1'' and 11 L of port R2 are again
11, when port ``K2'' is 'N', step 108 says ``Pad side data output program, call 1 + J pull ~ Dichin rule parameter [11] to RAM.
Sera 1 ~, port R2 is 11 L II, and in step 107 the data on the r body side is output.
RA parameter [91]
Sera 1 to M. After instructing the predetermined data output 1-1 gram, the port 1-RO is set to “11” in step 109.
``or L'', and when no request signal arrives at port 1 to RO, the input is ``11'', so
9 and 10) performs the predetermined rib routine call parameter analysis in [1-chart]. When the baud 1~RO is equal to 11+1, it means that the other party is transmitting a request signal, so the subroutine of step 110 is executed at this time and the message ``The receiving program J is processed. When the refresh 1~ signal has not arrived at the RO, the subroutine call parameter is set to [-1] by transferring it to the RAM in step 131 to the slurry block 111. If it is 01, it enters the process of "normal reception program [1 gram]" in step 112, and
If it is not 0-1, the process proceeds to step 113, where it is determined whether the leave routine call parameter is "1" or not.
1-1, step 114 enters the process of "abnormal reception block program, l". Similarly, subroutine call parameter "2", step 116, "ACK reception program J, 4Y blue-gin"-rule parameter. "3
1, the ``NΔCK reception program'' in step 118 is executed, and when the subroutine call parameter is ``51'', the ``ACKtlf program j'' in step 122 is executed, and when the subroutine call parameter is ``6'',
When the subroutine call parameter is "7", the cK output program j is called "transmission program J" in step 126.
, subroutine call parameter [8,1, step 128 "Pad side reception standby program", leave routine call parameter "9,1, step 130 r vehicle body side data output program j, subroutine" - When the parameter is “10”, step 13
2. Select the vehicle side reception standby program 1j and perform the processing of the blue routine 1 according to the user's blueprint parameter. Normally, the initial settings for the ``libroutine'' parameter are
At step 107 or step 108, press 7 on the vehicle side.
.. In the case of the microcomputer CPU 2, the subroutine call parameter ``41'' is stored in RAM. - Unless there is a request signal, the microcombi CPU 2 on the car body side enters step 130's ``car body side data output [1 gram 1 processing], and the pad side micro Combi-1-ta CP L
J1 executes step 120 in step 119 and enters the pad side data output processing [lgram, data]. Usually, just before step 109, port R is
RQ I-t1 micro]ampicoater 0 [] U1 and C
Constant detection is performed on hardware 7 of PtJ2. Next, 711-ch sl-t of the W pad side data output program j in FIG. 11 will be explained. “Pad side data output 1” selected in step 129
] Gram I is first stored in R for data storage in step 150.
Initialize AM. Deshi-C, step 15j
1, the transmission completion flag is in the state of 1-'', that is, the processing of its own old data has been completed, and the transmission completion flag is 1-1, and the transmission process is currently in progress. , then in step 152 the subroutine call parameter "7" that calls the "("-blue routine of "sending program J") is set.
" is set in the RAM and the transmission is completed. Step 1
When the transmission completion flag of 51 is “defective”, step 15
3 determines the status change of 3 to 4-bit port KO~,
When there is a state change, in step 154 Po1-KO~
1. Enter the status of 3. Also, in step 153, when it is confirmed that 31 states have changed in the ports, in step 1; When there was a change, Poe 1
- Input the status of R4 to R7 IJru1, step 155
If no state change can be confirmed in Po+-R4・~R7, in step 157, it is determined whether the state 111 change in Po1~QB-・1te11 of 4 Pitsu I~ is correct, and the same as the former is performed. In step 158, when the status change 11.1 occurs, the status of ports 8 to R11 is input. Sfutubu 15
If you cannot confirm the status change of -b 1~[-to/[ri11] at 7, use Sudet J161 to set the 'pad side ■ data output turn [-1g, !l's subroutine call parameter [41 to II In other words, the micro combination cork CP on the pad side (in J1, always connect ports 1 to 1 <0~, 3, R4 to R7 to port 1).
, changes in the status of ports 1 to R8 to R11 will be monitored. If there is a change in status in any of them, slap 15/I or step 156 or step 158'
(), and create a CRC code specified by the information type and port (~ information) according to the information type and port information in A. The above GRC code is used in the calculation. However, if the information type and information is small, storing it in memory and calling it sequentially will make the processing speed faster than expected. Once the information type, port information and CRC: ]-code are determined, the subroutine call parameter "7" of the "sending program" is set in the RAM in step 160. ] gram, ] flowchart 1 to 1. Since the "vehicle body side data output program 1" is approximately the same as the "pad side data output program j17) process" shown in FIG. 1 When the processing of the data output program j on the vehicle body side starts, first, in step 200, the RAM required for it is initialized.In step 201, the state of the transmission completion flag is determined. ``Transmission program [-1] 8.l reload] - Read the parameter ``7'' to RAM. In step 202, the transmission completion flag becomes ``l''. <0~1ku3, s”j Tsubu 20
5 'c' baud 1114-R7 (7), step 207
At step 211, a change in the state of the port [<8.~R11] is determined, and if there is no change in the state, the output routine for "data output for the car side [1 gram]" is executed. 1 to the RAM and the state change is constantly monitored. Said port Iku0~l<3, port1~R
When a state change occurs in any of R8 to R11, step 204 corresponds to the state change.
Alternatively, in step 206, select port 1-1<0-3, port 1-R4-R7, port]・R8
Input either signal to or R11. In step 209, a code is created according to the input signal, and in step 210r:
13 and 14 C, t, V send program [1 gram j].
Flowchart 1~. When the "transmission program" is entered in step J126, the transmission program [kΔM] is initialized in step 250. Then, port RO is '
+1". Since the RO is "1-B, which means that there is a transmission from the phase f side, in step 252, the "transmission program,"] is determined. Reset the lib routine] - parameter 7 in the rfRAM and wait for -C1 reception to be completed. Bow 1-R
When O becomes "'I+", in step 253 port R1
for a predetermined period of time ``1-'', that is, transmission line S'1ine'
1"" and send a request signal. After that,
In step 254, turn port 1-R'l to 'I+' for a predetermined period of time, and transmit star 1-pi 1~.When the start bit is transmitted, in step 255, the transmission signal is changed to the transmission signal address h counter to count 1. Up and take out, step 2
56, the pins 1 to 1 of the selected transmission signal address are 'I'.
+" or L" is determined, and if it is 11 HII, 1" is transmitted in step 258, and if it is 12 F]7 M", "'l" is transmitted. This operation is repeated in the 16-bit transmission of the basic frame of this embodiment. When the information of 3, 16 bits 1 to 61.C is repeatedly transmitted, it is determined by the flag 1259.
At step 260, a signal is sent to the final pin 1 at the end of the signal when the transmission of 1 Gbit information is completed. Step 26
When the transmission of the transmission signal is completed by returning the port RO to 'I+' in step 1, the slot 262 and step 263'c,
Transmit! , :Transmission A judgment signal to determine whether there was a CK signal 6-(+, NΔCK signal 43, or a data signal. If it is determined in step 262 that it was an ACK signal, the process proceeds to step 262. At step 26B), it is determined whether or not the completion flag is "11", and the transfer 1.
When the 1 completion flag is 'II', it means that the subsequent transmission g is on the white side IZ-right, and the transmission completion flag is '1'.
``Nodoki, the next transmission screen J is a warning to the self.''
1st taste l) Eye 5, the transmission completion flag is l L II, the speed is 1-1 and 2 is
” or “1°’, 11 EI When 11, S)
Tube 271 Y: lr Pad side data output block [1 Gram 40= Subroutine call parameter ``4'' of program 11 is stored in RAM
To! 7tsu 1~shi, “When Llj, Sufu” - Tsubu 27
2, set the 1st knob loop call parameter [91 to RAM of the "vehicle side data output program l\"] To 1, port KO~ to 3, Bo! Go to R4/R7, Bow 1 to R8
- Monitor new status changes of R11. Ii, when the transmission completion flag is '+1', the time limit τ1 required for the other party to decipher the ACK signal sent by these parties is determined in step 269, and if the time limit τ1 has elapsed. performs the same control as when the transmission completion flag is "'1". Also, step 263c: If the content of the transmitted transmission signal is NA
If it is determined that CK is the signal, step 265
own ficrocomputer CPUI or CPU'
2 determines whether it is on the pad side or the vehicle body side, and N A
If it is a CK pewter transmission, the data is transmitted again from the other party, so in step 266 or step 267, the "pad side reception standby program program" is set to blue routine call parameter [81, or r middle side receiving device. Subroutine call bar of program J 41 = Lameter ``101 is stored in RAM 1?Ts1~η.
Both the ΔACK signal and the NACK signal in step 262 and step 263 correspond to i, and the transmitted data "J content is the content associated with the change in the state of the port." Since it means 1-, ((1
A'GK letter 1) from Ding, NACK letter received (-
Press 'I+' on Unley Flage to confirm that it is in the state of 'I+'. Figure 16 “Vehicle side receiver unit [1g]”
) 11-B 17-1- will be explained. 1 Rib Routine - 1 - Parameter r81T", "Pad Side Receiver:
:Holding machine B1 Gogram 1 is r? When A v is sent to Sera 1, Slurtub 300 displays the message "Pad side reception standby - 10G\1", the time limit T1 of the reception wiping timer has elapsed. The data from the pad side must be sent to the platform that sent the communication from l-S1 to the vehicle body side, and the I/O device also records the elapsed time that has been set to be sent first.
Step 3: Before passing the limit T1,
01, again set the routine call parameter ``8'' of ``pad side reception 14111 program []] program 42 = program'' to ``
Sera 1~ and main program state 1109
As long as ports 1 to RO are not set to "1-", the time limit T1 of the reception standby timer continues to elapse. If port 1 to RO are "1-" in step 109, the "receive program 1 leave routine" is entered. If it is determined in step 300 that the time limit T1 of the reception standby timer has elapsed, step If the unley flag is "II" in step 302, that is, the transmission signal is data, the retransmission counter is counted down by one in step 303.The count value of the retransmission counter is determined in step 304, and the count value of the retransmission counter is determined in step 306. When the count value of the retransmission counter reaches 4, the (J-
Load the blue tin call parameter "7" into the RAM and transmit the data from the melon pad side. When the +i'l count of the Fr sending count reaches O, the slap 305 writes the subroutine call parameter "4" of the pad side data output program lXj to the RAM, inputs new information to various ports 1, and restarts conduct. Sfutu/302r If the unley flag is "l-"r, it means that the data content is 80. Therefore, in step 307, 1 [pad side data output [1 The subroutine call parameter "4" of program j is set to r<A M 1.11t=tsu1, a new y'-all signal is transmitted, and new information of various ports is input. - On the other hand, in step 131, the blue routine parameter [10] is stored in the RAM, and according to the contents of the parameter, in step 132, the vehicle side reception standby program I] is set. The time limit T1 of the reception standby timer is judged to have elapsed in the T knob 350, and it is determined that the time limit T1 of the reception standby timer has elapsed (step 35).
1 'P If' Φ body side reception 1) 11 program [1 Gram J's leave routine call parameter [101] to RAN4, main routine sub 10 determines the state of port Ro, and returns port RO. When No. 155 arrives at request 1 at 'l-', step 11
0 r reception block [-1 grams, enter processing of I. Port R
When the state of O is 1-bi, 111 Yoshi, step 1-44
= 32 "Vehicle side reception standby block [-1 gram"] 1) - Proceeds to execution of routine. Then, when the time limit T1 of the reception standby timer has elapsed, it is determined in step 352 whether the Unley flag is "H" or 1-II, and when the Unley flag is "H", the transmission signal is This means that there was data associated with a change in the state of the port, so in step 353 the retransmission counter is set to 10,000 un1.
Then, the t1 value is determined in step 354. When the value of the retransmission counter is not 0 in step 353, a slap 356 causes the ``transmission program, seven leaf routine'' parameter ``7'' to be written into the RAM, and the data is transmitted again. When the count value of the retransmission counter reaches O, in step 355, the "vehicle side data output program program \, leave routine of 1" - le parameter "
9" to RAM 1, and inputs the data contents accompanying the state change of the transmitted port in writing and new information for each port 1-, and then reloads the data. Also, if the answer flag is '1'' in step 352, the transmitted data content is NA.
After transmitting the CK signal -45 = Zuru, in step 357 r vehicle side data output turn 1]
Gram, l's 1J-Blue routine call parameter ゛"91" is entered from 7 to 1 to input new information in order to send a new data signal.In the explanation so far, in step 109 of the main routine, port RO 'l-1'', but
While the request signal is being sent from the other side, port RO is at "L", and regardless of the type of subroutine, when the routine is over, step 109 of the main routine is always executed. 17 to 21 show the reception block [1 gram, 1 of )l
Two l-day? It is -1. In step 110, processing of the subroutine of 1 received 111 grams is started. First, in step 400, port 1-R is processed.
Look at 2, microphone ``1'' computer CPU 1 or Lt.
Determine whether CP IJ 2 is on the pad side or the vehicle body side. In this embodiment, as in No. 1 above, the pad-side tar 46 = now set to the time limit of the reception standby timer - [set 1 to the timer on the vehicle body side] - smaller than 2 The microcomputer CP LJ 2 on the vehicle body side is set to the slurry tube 401, and the microcomputer 7 on the pad side CP 1. In step 402, in J1, a cell I- is performed. ``Reception block [] graph 11,
1, the reception standby timer is set to time limit 1-1 or time limit -1 again.
-2 is set [3L] If the transmission operation is performed even once, the time limit of the reception standby timer set in step 103 or step 104 of the main routine may have become shorter or elapsed. , each reception standby timer has an initial setting of time limit T1 and time limit T2.
After completing the initial setting of 02, in step 403, 7 is added to the retransmission counter. This set 7 is ``sending program', 1 to 1. (
< Matches the number of retransmissions t! It is something that Then, in step 404, the RAM for receiving signals from Riffnis1 to -r is initialized. Furthermore, in step 405, the sampling number setting counters Δ0, Δ1, A and ROlBl, +3 are set to set the number of samplings for checking the request l-shintan's 'L'. ,
In step /I06, whether Paul l-RO is “'II” or l L
II, and proceed to step 109' of the main routine.
Either the port t-Ro's II L-TI that I judged was the riff 1-su l-IN father, or there was a slight noise on the Riku T strike signal Y] and a 'H' roar, and it went to Riku 1. In order not to stop treating it as a signal, step 1 to [<00 human power status [(1 view, 1, that is, step 1 to determine whether port 1-r<0 is "'II" or it Lu In step 406, it is determined that the output is "L", and in step 407, the counter A is
O is incremented by one count, and when "II" is reached, the sub-f sub 408 increments counter A1 by one count. Step 4091
'Insert counter A. Then, in step 410, the number of judgments in step /106 is repeated until the number of judgments in step /106 reaches 5 times.
This lean pulling number is limited to 5 times'cl
;L'/'c<, You can set it as you like depending on the usage mode. When the number of judgments in step 406 reaches 5 in step 410, the size of η1 is compared with counter AO and counter A1 in step /111.
Is the signal being received at port RO “1”?i L
n, the count value of counter AO and counter A1
The decision will be made by majority vote based on the number of words. When the count value of counter AO is greater than the count value of counter Δ1,
This means that there are many occurrences of "H", and the counter BO is incremented by 1 in step 412. Conversely, when "'H" occurs frequently, the counter 81 is incremented by 1 in step 413. Then, the number of comparisons between the counter AO and the counter A1 in step 411 is determined by the slur tab 7114.
Counter B overturns the KI number. The number of comparisons between the counter AO and the counter A1 is determined in step 415, and the process is repeated until the number reaches five. At this time, in step 416, a predetermined lean-pulling time interval τ2 is set between the five samplings of the number of words J in the counter A (hereinafter referred to as the 4th combining group) and the sampling group. Repeat the 4J numbering group 5 times using the counter [3 for the number of words. In general, automobile noise (J occurs due to discontinuous high frequencies η
Therefore, the number of sampling and sampling groups is limited to three times.
< , the majority decision is due to the reduction in decision-making), and it is easy to make a decision.
3. It is preferable to do the same for odd numbers of sea urchins. However, considering the processing time of the microcomputer and the probability of noise occurrence,
If the sampling group of 5 times is repeated 5 times, it is possible to judge whether or not the signal of PO1-RO is a signal of the RIPT signal. This is due to the fact that the signal to ST1 is longer than the normal data transmission (J), and the confirmation time for each is 11 minutes. In step 415, the counter 13 becomes 5 and the judgment is reversed, and in step /117, the counter BO's hl number candy counter [31 is compared with the number of words 1111 17, II
Occurrence of L II? ! In humans than in the outbreak group where Y is '11'.
If so, it is determined that riff 1 through signal g have arrived, and in step 419 it is determined that a start bit has arrived. Also, L 1
When the occurrence group of ``1'' is smaller than the occurrence group of ``I+'', there is no corresponding signal, so in step 418, the 1 node routine of the 1' regular reception program'' - rule parameter ``1'' is set.
is stored in RAM, and the lr Tatsumi regular reception program is loaded. When the start pitch 1~ arrives, in step 420, the counter Co for setting the lean-bringing number of start pitch] is set.
, C1, and C are cleared. Then, in step 421, it is determined whether the port RO is Patvi or 1-'',
When port 1-RO is 'I-1', counter CO is incremented by 1 in step 422, and port RO becomes '1'.
-'', the counter C1 is incremented by 1 in step 423, and the number of times of judgment in step 421 is increased by 1 in step 423.
4 makes counter C 1 count 1 hair, and this judgment is 3
[! The count value of the counter CO is compared with the M value of the counter C1, and the count value of the counter CO, that is, I -51=nl value of "-1" is the shadow 1 value of counter C1, that is, II l
- It can be determined that there are 4 small throats than the 81 ships of TI, Star 1 Heavitsu 1 ~ Signal, so in step 427, "Tatsumi regular reception program 1 - 1 Gram J's 1 na band] - Lu parameter [
11 to the RAM, and select "1 gram,"
]-le. When the 81 number 11Fi of the counter CO is greater than the value of the counter C1, the arrival of the start pitch i- is detected. 1 hump ring is entered for each pin 1 to @ of data transmission. At step 428, the data hit 4 non-pulling count setting counters l')0 and Dll) are cleared, and at step 429, po 1 to RO are '11'. Is it in the state “1-”?
determine whether the situation is 1 non-pulled po 1
~ When the state of RO is "[" slow, step 430T: Counter DO is incremented by 1, and "H" is reached, and counter D1 is incremented by 10,000 1-7 in step 431. In step 432, the number of RO judgments is accumulated in counter D. Then, the state of the humbled port RO is repeated three times, and when counter D reaches 3, it is accumulated in step 433.
I'll definitely compare the word value of counter DO and the count value of counter D1 at that time in step 43/l, and if the value of shadow 1 of counter I) 0 is smaller than the count value of counter D1. , the slur tab 436 sets a predetermined bit “
1fi of counter DO becomes counter D1.
, the predetermined bit is identified as L' in step 435. Then, this is performed for 16 bits of the total number of bits of data. In step 437, it is determined whether or not 16 bits have been completed.
When the 16 bits are completed, a CRC is performed in step 438, and when an abnormality is recognized, in step 439, the subroutine call parameter of "abnormal reception program J" is set to "1" in the RAM, and "abnormal reception program J is set to 1". If no abnormality is recognized in the CRC, it is determined in step 440 whether the received data is a NACK signal, and if the received data is a NACK signal, in step 444 1f of rNAcK reception program 1 is detected. Set the pull parameter [31 in RAM,
1N80 to receive program j. In step 441, ΔCK (If it is determined that it is the M number, in step 442, if'A, CK reception program' rerun parameter [2] is set to
12 to AM, lr ACK received program
]-le Mru. Then, the NΔCK signal and the ACK signal (
When it is determined that there is no data, the received data is
This is because the data content is received due to a change in the state of the port.
In step 443, the ``normally received progera l\11 rerun'' parameter ``0'' is stored in the RAM as 21,
Figure 22 shows the normal reception block [1 gram J flowchart 1].
− is. When you enter the r normal reception program J on the slur tube 112,
In step 450, it is determined whether the transmission signal is information of port KO~3, and when the information of port 1 is 0~3, in step 451, it is output from ports PO~P3 and drives a predetermined actuator. , do the display. If there is no information on port KO~3, it is determined in step 452 whether the data content is information on ports R4~R7.
In step 453, the information from ports R4 to R7 is outputted from ports 1-00 to 03 to drive a predetermined ACUBUCO and display it. Furthermore, port R4~
When there is no information on R7, in step 454, port 1-
Determine whether the information is from R8 to R11, and select Port1-R8.
~ When the information on R11 is received, port 04 ~ in step 455
Similarly to the former case, the information is outputted by the actuator and display. When the target data is transmitted from any of ports PO to P3, ports 00 to 03, and ports 04 to 07 by the actuator or display in steps 451, 453, and 455, an IrACK output is output in step 457. RA subroutine call parameter "5" of program j
Setshi to M, do Nab-chinkoru. Also, in steps 450, 452, and 454, port KO~3, port R4/-R7, port 1~R8~F<
When it is not determined that the information is 11, step 456 outputs "INΔCK" [1 gram, 4 knob loop of j]
- Set the file parameter [6] to II A M 1 and perform the 1st routine]. Figure 23 shows lr A CK output [] Durham 1, 2nd
4 figure is lr N A CK output turnip [1 gram 31 flowch A? It is -1-. In step 122, "△CK output [1 gura l\J] -
If so, step 500 'r predetermined ACK main 1! In step 5)01, create a CRC code to be added to the ACK message, and in step 50
At step 2, the subroutine call parameter ``71'' of ``transmission program []gram\'' is written to the RAM, and the [transmission program 1]gram is executed. Mata, IrNΔCK output cuff n'1 at Suf'7bu 124
7 ram j]-, a predetermined NA is set in step 550.
7.4 in step 551
1, and in step 552 create a C[<C:]-code to be added to RAN4]? 1. Click ``Send Program, I''. FIG. 25 Let v abnormal reception program, 1 f[1-
It is a chart. When the i' Tatsumi normal reception program J is T1-ruled in step 114, the unreliable flag is set to 'H' in step 600.
If the answer flag is ``R1'', it means that the reception of the AQK signal or NACK signal is abnormal. ni [tsu l-t
, , makes a subroutine call. Also, if the answer flag is "L", it means that the reception of the state change information of the port C is abnormal, so in step 602, the subroutine call parameter "6" of the IAcK output program j is stored in the RAM.
Set I and make a subroutine call. FIG. 26 is a flowchart of the 1rAcK reception program j. Since the CK reception program J is called in step 116, which means that the data transmitted by the other party has been received, in step 650, the AN1 NO flag is cleared, and at the same time, in step 651, the transmission completion flag is cleared. Then, use Stella 1652 to select between the pad side and the corpuscle side, and Pau 1-R2 is "l-1" (7
) and Kistera-7'' 653 FW Hat side data output turn [1 knob routine] - parameter [41 to RAM] and performs a subroutine call. FIG. 27 is a flowchart of fNACK reception program 1.1.
If the answer is received, it means that the other party has received the data sent from the sender as sufficient information. Program, V of i
Routine 1 Set the parameter "7" to RA.M, and run the 1 transmission program J for transmitting again. A summary of the main routine and subroutines described above is shown in time blocks ν-1 to J and as shown in FIGS. 28 to 33. FIG. 28 shows the normal transmission ff, 'f time check VI-l-, and when a change in the state of the input port on the pad side occurs, the pad side Then, the pad side data is transmitted, and the car body side executes the ``reception program, I'' and ``normal reception program'', and outputs an output according to the change in status. Then, IACK output [1 gram] and "sending program,
ACK that the data has been received without error.
(, lj month is sent to the pad side. Figure 29 shows time charts 1 to 'C' during abnormal transmission: When data sent from the pad side cannot be received accurately on the car body side, 1rNAcK output from the car body side. "1gram" and "transmission program J send a NACK signal to the pad side (iEL,, receive the NACK signal). On the pad side, the ] - and resends A and I), and the vehicle receives the resent data incorrectly.
i'ACK output 11-1 Gram j from the car body side and ``-59= △ C1〈 Send Y to the pad side by the sending program 11.
. Figure 30 shows the timer foot when the signal is being heard at 80.
The pad side receives the data sent from the car body without error, and the pad side sends an ACK signal to the car body to indicate that the data was received without error. If it is not transmitted, use the error reception program to select ``transmission error'' and return N.
The vehicle body side (now - sends the stone data to the pad side.The pad side that received it sends an I'ACK output [1
ACK by Gram, ■ and "Sending Program, 1"
Send a signal Iha 1-ru a <Z Now, the first data is J, and the pad side outputs J according to that data.
One (7 Kubu 1L-Evening Drive Ma 1, :Display r
However, the signal from the 80 on the pad side was not transmitted to the car body.
In order to confirm, the same data is received again, and 7 Kuji 11
Figure 31 [1, NA0] <Data hX sent from the vehicle body side at the constant timer 1~ of the transmission Y3. ``When the pad side cannot receive data without error, the NAG from the pad side
KK signal is sent back to the vehicle body. However, if the NACK signal is not received without error, the "abnormal reception program" causes the data to be retransmitted. Figure 32 is a time chart when three types of state changes occur on the pad side. During this process, if there is an input from the car side, the ``car body side reception standby program j'' executes the r pad side data output program j and the ``transmission program j'', and the car body side Following the A, G and K signals, data is transmitted from the vehicle side,
When the pad side receives the transmission data, it transmits the A and GKK signals to the vehicle body side, and then transmits the remaining data to the vehicle body side. FIG. 33 shows the timing 1p-1 when request signals are simultaneously transmitted from the pad side and the vehicle body side. When the request signal is sent to the pad side and the vehicle body at the same time, it is during the processing of the transmission program 1 routine. ``1 gram'' or ``Vehicle side reception standby block [1 gram J processing begins.
Since the time limit T1 on the pad side is set shorter than the time limit [2 on the car body side, the pad side first starts executing the "transmission program" by the "pad side reception standby program".
Along with this, the car body enters the 4-knob routine of reception program J. Data transmission on the pad side is completed, and the time limit -
``After 2, data from the vehicle body side can be transmitted next. Therefore, the pad side is given priority for transmission. In this way, in this embodiment, the processing of the r reception program'' is started. , the incoming signal is sampled five times in succession, and the result is determined by majority vote J: to determine whether the incoming signal is "tobi" or "'1".Then, the above five samplings are continued further. Repeat these steps until it reaches 5 times, determine the results by majority vote, determine the next result by majority vote, determine the incoming signal's p]bi' or 1M+, and make sure that the result is 'L'. '', it is determined that a request signal has arrived. That is, the pulse width of the request signal is such that after one microcomputer enters the processing of the leave routine of the sending program J, the pulse width of the other microcomputer is
Since the time is set to be equal to or slightly longer than the time required to enter the leave routine processing of the reception program 8I, the time chart (a ), when one microcomputer starts processing the receiving program J, it first performs numbering on the incoming signal five times in succession to create sampling groups SPI to SP5. 1 non-bringing group SP1-SP5
1-'' or 'l-1' for each occurrence, and then take a majority vote of the frequency of occurrence of these 'L' or '11',
It determines whether the incoming signal is 'I+' or '1-', and if it is '1-', it is determined that a request signal has arrived.As with this type of request signal, the pulse width is When determining the arrival of a long signal, based on the majority decision of the subsibling group performed an odd number of times, the 'H' of the resulting signal,
It is effective to determine the frequency of occurrence of 11 L-I+ by majority vote. That is, since the noses NOI to N05 that invade the transmission line for the middle wheel are mainly swarm 4T1), it is more effective than continuous sampling. The accuracy can be increased by increasing the number of samplings. Normally, 1 non-bling of the request signal is determined by the pulse width of the 1-stop signal, as shown in (a) or (b) of the enlarged incoming signal in Fig. 34. It is done within. However, when I looked at the signal on port R1 during the processing of the 1st ring of the microcombinator, I found that the 11th ring was delayed due to the noise NOI~NO5. Tadoki et al. is the 34th
As shown in (C) of the figure, sampling may not be completed the required number of times within the pulse width of the request signal. In this case, the request signal "l-" cannot be determined as many times as necessary, so the r abnormal reception block [1 gram J
and = 64-1rNAcK output program J requests the transmitting side to retransmit the data. Therefore, the "receiving program" always performs 41-sampling a necessary number of times to determine the incoming signal. To this end, the request signal and start bit signal are set oppositely to each other, and the pulse width of the start bit is the same as the pulse width of the start bit when the final sampling of the request signal is delayed. It is desirable to set the pulse width of the start bit so that the result determined by majority vote is 1. It is not something that is synchronized with
Since the processing is performed asynchronously, the 34th
As shown in (d) of the figure, the number of sampling times and the time required for star 1 bit and the number of sampling times and time required for each bit of data are different when the start bit is detected due to a slight time lag. It is necessary to set it so that the signal of each pin 1~ can be sampled accurately.
sampling SPI~SP5, star 1-signal 3 times 5P11, each bit of data 5x16 times (
1) IT BU IJ NK S P21~S P2O (
51136 (not shown), the "1-V' and "l i I+" are determined by majority vote, but in this embodiment, the number of samplings is determined based on the pulse width. . When implementing the present invention, the number of samplings is not limited to the above, and sampling may be performed an odd number of times depending on the pulse width. As described in 11, the present invention determines the number of samplings according to the pulse width of the incoming signal, so sampling is performed an odd number of times according to the length of the pulse width, and the results are judged by majority vote. The incoming signal can be determined by [Effects of the Invention] As described above, the present invention converts the signal arriving at the port of the microphone 1-1 amplifier coater into a pulse width of A = 66 on the window.
= There is a method that samples an odd number of times and determines the incoming signal by a majority vote of the sampled values, so if noise is superimposed on the incoming signal, remove it and extract only the original signal component. Since the received signal can be used as an incoming signal, the receiving side can perform control according to the content of the signal sent from the transmitting side, and malfunctions of the microcomputer output on the receiving side can be prevented. Another invention is to sample the signal arriving at the microcomputer port an odd number of times according to its pulse width, and determine the incoming signal based on the majority vote of the 4y sampled values. The process is repeated an odd number of times, and the unity is determined by majority vote, so if noise is superimposed on the arriving signal with a good pulse width,
The longer the pulse width, the more likely it is that the noise can be removed and only the original signal components can be extracted as the incoming signal. This makes it possible to perform control such that malfunctions of the microcomputer output on the receiving side can be prevented. Historically, another invention was to transmit signals between the steering wheel and the vehicle body using the wireless system, and each microphone was placed on the smearing wheel side and the vehicle body side. The signal is non-blinked several times depending on its pulse width, and the incoming signal is determined by the majority vote of the sampled octopuses, so even if the signal transmission line between the steering wheel and the vehicle body is lengthened, Since it is possible to remove the influence of noise that enters there, and the receiving side can perform control according to the content of the signal sent from the transmitting side, malfunctions of the microcomputer output on the receiving side can be prevented. can. 4.Simplification of drawings 1i/'c;'tri VI11 1st
The figure is a block diagram showing the overall configuration of the transmission method between the steering wheel and the vehicle body according to the present invention. Figure 3 is a perspective view of the main parts showing the arrangement of the switch group and display group on the pad side, Figure 4 is a configuration diagram showing the signal transmission line between the pad part of the steering wheel and the vehicle body side, and Figure 5 is a diagram of the main parts. A circuit diagram showing the connection status of each port of the microcomputer on the vehicle body side. Figure 6 is a schematic diagram showing the basic pattern of the signal transmission method between the steering wheel and the vehicle body in this embodiment. Figure 7 is a basic diagram of the transmission signal. Figures 8 to 101 are flowcharts showing the main routine of an embodiment of the present invention;
The figure shows flowchart 1 of "pad side data output program j," FIG. 12 shows a flowchart of "vehicle body side data output program," and FIGS. 13 and 14 show a flowchart of "transmission program." FIG. 15 is a flowchart of the "pad side reception standby program j," FIG. 16 is a flowchart of the "vehicle body side reception standby program" 70-Tito-1~, and FIGS. 17 to 21 are flowcharts of the "reception program."
FIG. 22 shows "70-diets of normal reception program 1,
23 is a flowchart 1 to 1 of the output program j to f, AC, FIG. 24 is a flowchart of the r N , ACK, output program, and FIG. 1 Figure 26 shows IrACK reception 1 reception button], Figure 27 goes to flowchart 1, Figure 27 shows normal transmission. Time of Thailand 18 yat, Figure 29 tit ra regular transmission 11 yen (
7) Tie to chip p -1, Figure 30 shows 80 K signal abnormality time chart]~, Figure 31 shows GK signal W to N.
Regular time check +7-1~, Figure 32 shows time check 1? when three types of state changes occur on the pad side. -1~, 3rd
Figure 3 shows the timing relays 1 to 1 on the platform where request signals are sent simultaneously from the pad side and the car body side, Figure 34 shows the incoming signal enlarged and sent to IC timer 1, and Figure 35 shows the steering wheel and car body. A conventional example of the signal transmission method between
Fig. 79. In the figure, 30...Pad body, 35...Steering wheel, 47...Tape wire, Q1-Q24...Ransistor, r1-r59...Resistor, 5line...Signal transmission line, CP LJ1...Microcomputer for pad side transmission/reception, CPU2...Microcomputer for vehicle body side transmission/reception. In addition, in the figures, the same reference numerals and the same symbols indicate the same or equivalent parts. Patent Applicant Flexible Synthesis Stock Trial Attorney Patent Attorney + lff1 ri Wushang Tokkai Show G1-
82205 (29) Parameter 7 Go to Fig. 23 and Fig. 24.

Claims (6)

【特許請求の範囲】[Claims] (1) 車輌に積載されたマイクロコンピュータにおい
て、前記マイクロコンピュータのポートに到来した信号
を、そのパルス幅に応じて奇数回サンプリングし、その
サンプリングした値の多数決によって、到来信号を決定
することを特徴とする車載用マイクロコンピュータの到
来信号判別方法。
(1) In a microcomputer mounted on a vehicle, a signal arriving at a port of the microcomputer is sampled an odd number of times according to its pulse width, and an incoming signal is determined by a majority vote of the sampled values. A method for determining incoming signals for an in-vehicle microcomputer.
(2) 車輌に積載されたマイクロコンピュータにおい
て、前記マイクロコンピュータのポートに到来した信号
を、そのパルス幅に応じて奇数回サンプリングし、その
サンプリングした値の多数決結果によって、到来信号を
判断する動作を更に奇数回行い、その結果を多数決によ
って決定することを特徴とする車載用マイクロコンピュ
ータの到来信号判別方法。
(2) A microcomputer mounted on a vehicle samples a signal arriving at a port of the microcomputer an odd number of times according to its pulse width, and determines the incoming signal based on a majority vote of the sampled values. A method for determining an incoming signal for an on-vehicle microcomputer, characterized in that the process is repeated an odd number of times and the result is determined by majority vote.
(3) ステアリングホイールのパッド部分に配設した
送受信用マイクロコンピュータと、車体側に配設した送
受信用マイクロコンピュータを、伝送線路で接続してコ
ンテンション方式としたステアリングホイールと車体間
の信号伝送装置において、前記マイクロコンピュータの
ポートに到来した信号を、そのパルス幅に応じで奇数回
サンプリングし、そのサンプリングした値の多数決によ
って、到来信号を決定することを特徴とする車載用マイ
クロコンピュータの到来信号判別方法。
(3) A signal transmission device between the steering wheel and the vehicle body that uses a contention system by connecting the transmitting/receiving microcomputer located on the pad of the steering wheel and the transmitting/receiving microcomputer located on the vehicle body side using a transmission line. Incoming signal determination for an in-vehicle microcomputer, characterized in that the signal arriving at the port of the microcomputer is sampled an odd number of times according to its pulse width, and the incoming signal is determined by a majority vote of the sampled values. Method.
(4) マイクロコンピュータのポートに到来した信号
を、そのパルス幅に応じて奇数回サンプリングする手段
と、そのサンプリングによって得た信号の種別を、その
種別毎に計数するカウンタと、前記種別毎に計数するカ
ウンタの値を減算する手段によって、到来信号を多数決
によって決定することを特徴とする車載用マイクロコン
ピュータの到来信号判別装置。
(4) Means for sampling a signal arriving at a port of a microcomputer an odd number of times according to its pulse width, a counter for counting the type of signal obtained by the sampling for each type, and a counter for counting for each type. 1. An incoming signal discriminating device for a vehicle-mounted microcomputer, characterized in that an incoming signal is determined by majority vote using means for subtracting a value of a counter.
(5) 前記マイクロコンピュータは、1チップマイク
ロコンピュータで構成したことを特徴とする特許請求の
範囲第1項または第2項または第3項に記載の車載用マ
イクロコンピュータの到来信号判別方法。
(5) The incoming signal determination method for a vehicle-mounted microcomputer according to claim 1, 2, or 3, wherein the microcomputer is configured as a one-chip microcomputer.
(6)前記マイクロコンピュータは、1チップマイクロ
コンピュータで構成したことを特徴とする特許請求の範
囲第4項に記載の車載用マイクロコンピュータの到来信
号判別装置。
(6) The incoming signal discriminating device for a vehicle-mounted microcomputer as set forth in claim 4, wherein the microcomputer is constituted by a one-chip microcomputer.
JP20467184A 1984-09-29 1984-09-29 Arrival signal discriminating method of mobile microcomputer, and its device Pending JPS6182205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20467184A JPS6182205A (en) 1984-09-29 1984-09-29 Arrival signal discriminating method of mobile microcomputer, and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20467184A JPS6182205A (en) 1984-09-29 1984-09-29 Arrival signal discriminating method of mobile microcomputer, and its device

Publications (1)

Publication Number Publication Date
JPS6182205A true JPS6182205A (en) 1986-04-25

Family

ID=16494361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20467184A Pending JPS6182205A (en) 1984-09-29 1984-09-29 Arrival signal discriminating method of mobile microcomputer, and its device

Country Status (1)

Country Link
JP (1) JPS6182205A (en)

Similar Documents

Publication Publication Date Title
US9842565B2 (en) Controller for in-vehicle ethernet and control method thereof
GB2295070A (en) Reducing delays in a multiplex communication system
CN104200621B (en) Communicating by letter between receiver and transmission control unit (TCU)
JPH02112771A (en) Vehicle diagnostic system
KR20160090368A (en) Apparatuses, memories, and methods for address decoding and selecting an access line
US8044680B2 (en) Semiconductor memory device and on-die termination circuit
US3964025A (en) Solid state search unit for automatic phonograph
US10971197B2 (en) Control circuit, semiconductor memory device, information processing device, and control method
JPS6182206A (en) Signal transmission control device for vehicle
US5737522A (en) Serial input/output circuit with an automatic transfer function
CN106240450B (en) Horn for vehicle control system
WO1988006385A1 (en) Transmission and reception of data
KR100973185B1 (en) Memory using a single node&#39;s data, address, and control buses and digital systems using them
JPH01178047A (en) Control for vehicle
JPS5992483A (en) semiconductor storage device
US5384732A (en) Semiconductor device comprising a function change over switching circuit having a non-volatile storage device
JPS6072422A (en) Method for detecting open wire in signal transmission between steering wheel and car body
JP4716932B2 (en) Operation signal learning device for remote control and remote operation method
JP3794081B2 (en) Communication method of bus line communication encoder
US447894A (en) Electric-light signal
JPS6182204A (en) Signal transmitting device provided between steering wheel and car body, and its method
JPS6024745A (en) Method and device for signal transmission
JPH03139094A (en) Communication equipment for vehicle
JPS6316293B2 (en)
JP2662912B2 (en) Communication control device