JPH0563753A - Signal transmitter - Google Patents

Signal transmitter

Info

Publication number
JPH0563753A
JPH0563753A JP3244132A JP24413291A JPH0563753A JP H0563753 A JPH0563753 A JP H0563753A JP 3244132 A JP3244132 A JP 3244132A JP 24413291 A JP24413291 A JP 24413291A JP H0563753 A JPH0563753 A JP H0563753A
Authority
JP
Japan
Prior art keywords
data
circuit
signal
frame
bits
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
JP3244132A
Other languages
Japanese (ja)
Inventor
Takehiko Shimizu
竹彦 清水
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.)
Marelli Corp
Original Assignee
Kansei Corp
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 Kansei Corp filed Critical Kansei Corp
Priority to JP3244132A priority Critical patent/JPH0563753A/en
Publication of JPH0563753A publication Critical patent/JPH0563753A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To reduce number of signal lines and to improve the reliability of communication by sending an NRZ signal string from a transmission circuit serially synchronously with a clock signal and checking the parity to a reception signal. CONSTITUTION:A control section 2 generates a transmission data, it is sent to terminal equipments 3, 4, which detect a header frame. When it is discriminated that an address designated by an address bit is coincident with a preset address, the data are received and latched in a latch circuit. Then vertical parity check and horizontal parity check are implemented to the received data and no error is detected, the data are fed to a display data latch circuit, in which the data are revised. Then the data comprising frames are sent to a control section 2, in which the data are latched. Thus, number of signal lines is reduced and the reliability of communication is improved.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、制御部と操作表示部
とが分離した例えば自動車に搭載された分離型オートエ
アコン等の自動車用空気調和装置に用いて好適な、前記
制御部と前記操作表示部との間で信号の伝送を行う信号
伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is suitable for use in an air conditioner for an automobile such as a separate type auto air conditioner mounted on an automobile in which a control unit and an operation display unit are separated. The present invention relates to a signal transmission device that transmits a signal to and from a display unit.

【0002】[0002]

【従来の技術】自動車に搭載された、従来の分離型オー
トエアコンおよびその信号伝送方式を、図19〜図23
に基づいて説明する。図19は分離型オートエアコン1
00の全体ブロック図である。この図において、オート
アンプ部101にはマイクロコンピュータが内蔵されて
おり、入力ポートには、外気温センサー,内気センサ
ー,水温センサー,日射センサ,ダクトセンサー等によ
り構成されるセンサー回路102が接続されている。ま
た、オートアンプ部101の入出力ポートにはコントロ
ールパネル部103が接続されている。オートアンプ部
101の出力ポートにはアクチュエータ回路104が接
続されている。このアクチュエータ回路104の駆動部
には、さらにエアーミックスドア等の被駆動部105が
接続されている。
2. Description of the Related Art A conventional separation type automatic air conditioner mounted on an automobile and its signal transmission system are shown in FIGS.
It will be explained based on. FIG. 19 shows a separate type automatic air conditioner
It is a whole block diagram of 00. In this figure, a microcomputer is built in the auto amplifier unit 101, and a sensor circuit 102 composed of an outside air temperature sensor, an inside air sensor, a water temperature sensor, a solar radiation sensor, a duct sensor, etc. is connected to the input port. There is. A control panel unit 103 is connected to the input / output port of the auto amplifier unit 101. An actuator circuit 104 is connected to the output port of the auto amplifier unit 101. A driven part 105 such as an air mix door is further connected to the drive part of the actuator circuit 104.

【0003】図20はオートアンプ部101とコントロ
ールパネル部103との接続関係を示す図である。この
図において、表示部103aは4本のインジケータコン
トロール信号線107等によりオートアンプ部101と
接続されている。表示部103aは温度表示等を行う。
エアコンスイッチ部103bは、「AUTO」,「H
I」,「DOWN」等の9個のパネルスイッチからなる
スイッチ群であり、3本のエアコンスイッチ出力信号線
108a,108b,108cと3本のエアコンスイッ
チ入力信号線109a,109b,109cとによりオ
ートアンプ部101と接続されている。イルミネーショ
ンランプ103cは、エアコンスイッチ部103bを照
す光源である。
FIG. 20 is a diagram showing a connection relationship between the auto amplifier section 101 and the control panel section 103. In this figure, the display section 103a is connected to the auto amplifier section 101 by four indicator control signal lines 107 and the like. The display unit 103a displays a temperature or the like.
The air conditioner switch unit 103b has “AUTO” and “H”
It is a switch group including nine panel switches such as "I" and "DOWN", and is automatically operated by three air conditioner switch output signal lines 108a, 108b, 108c and three air conditioner switch input signal lines 109a, 109b, 109c. It is connected to the amplifier unit 101. The illumination lamp 103c is a light source that illuminates the air conditioner switch unit 103b.

【0004】図21は前記表示部103aの詳細を示す
ブロック図、図22は、オートアンプ部101から表示
部103aへ転送される表示データSIを示すタイミン
グチャートである。図21において、21ビットシフト
レジスタ110は、21段のフリップフロップS0,S
1,S2・・・S20により構成されている。この21
ビットシフトレジスタ110には、図22に示すシフト
クロックSCKの立上がりのタイミングでオートアンプ
部101から表示データSIがシリアルに転送される。
表示バッファレジスタ111は、21段のフリップフロ
ップP0,P1,・・・P20により構成されている。
この表示バッファレジスタ111には、図22に示す
‘H’レベルのラッチ信号LHが供給されるタイミング
で前記21ビットシフトレジスタ110に格納されたそ
れぞれの表示データSIがパラレルに転送される。これ
により表示バッファレジスタ111の表示データが更新
される。アンドゲート112は、前記表示バッファレジ
スタ111の各レジスタS0,S1,S2・・・S20
に格納された表示データを図示していない蛍光表示管ド
ライバに供給するゲートである。アンドゲート112の
一方の入力端子には調光信号BIが入力されている。図
22に示す調光信号BIのパルス幅が可変されると、こ
れに応じて蛍光表示管の明るさが調整される。
FIG. 21 is a block diagram showing details of the display section 103a, and FIG. 22 is a timing chart showing display data SI transferred from the auto amplifier section 101 to the display section 103a. In FIG. 21, a 21-bit shift register 110 includes 21 stages of flip-flops S0 and S.
1, S2 ... S20. This 21
The display data SI is serially transferred from the auto amplifier unit 101 to the bit shift register 110 at the rising timing of the shift clock SCK shown in FIG.
The display buffer register 111 is composed of 21 stages of flip-flops P0, P1, ... P20.
The display data SI stored in the 21-bit shift register 110 is transferred in parallel to the display buffer register 111 at the timing when the latch signal LH of the “H” level shown in FIG. 22 is supplied. As a result, the display data in the display buffer register 111 is updated. The AND gate 112 includes registers S0, S1, S2 ... S20 of the display buffer register 111.
It is a gate for supplying the display data stored in (1) to a fluorescent display tube driver (not shown). The dimming signal BI is input to one input terminal of the AND gate 112. When the pulse width of the dimming signal BI shown in FIG. 22 is changed, the brightness of the fluorescent display tube is adjusted accordingly.

【0005】図23は、オートアンプ部101とエアコ
ンスイッチ部103b間の送受信信号を示す波形図であ
る。 (イ)は、エアコンスイッチ入力信号線109a,10
9b,109cを介してオートアンプ部101からエア
コンスイッチ部103bに常時出力されている信号であ
り、信号A,信号B,信号Cは互に1/3周期の位相差
を有している。 (ロ)は、エアコンスイッチ出力信号線108a,10
8b,108cを介してエアコンスイッチ部103bか
らオートアンプ部101に出力される信号であり、信号
Dは「AUTO」スイッチがオンされた時にエアコンス
イッチ出力信号線108aを介してオートアンプ部10
1に出力される信号である。信号Eは「HI」スイッチ
がオンされた時にエアコンスイッチ出力信号線108b
を介してオートアンプ部101に出力される信号であ
る。また、信号Fは「DOWN」スイッチがオンされた
時にエアコンスイッチ出力信号線108cを介してオー
トアンプ部101に出力される信号である。 以上、説明したように分離型オートエアコンのオートア
ンプ部101のコントロールパネル部103とは多数の
信号線により接続されており、これらの信号線を介して
信号の送受信を行い機能している。
FIG. 23 is a waveform diagram showing a transmission / reception signal between the auto amplifier unit 101 and the air conditioner switch unit 103b. (A) shows the air conditioner switch input signal lines 109a, 10
The signals are constantly output from the auto amplifier unit 101 to the air conditioner switch unit 103b via 9b and 109c, and the signals A, B, and C have a phase difference of 1/3 cycle with each other. (B) is the air conditioner switch output signal lines 108a, 10
A signal D is a signal output from the air conditioner switch unit 103b to the auto amplifier unit 101 via 8b and 108c, and a signal D is supplied to the auto amplifier unit 10 via the air conditioner switch output signal line 108a when the "AUTO" switch is turned on.
This is a signal output to 1. The signal E is the air conditioner switch output signal line 108b when the "HI" switch is turned on.
Is a signal output to the auto amplifier unit 101 via. The signal F is a signal output to the auto amplifier unit 101 via the air conditioner switch output signal line 108c when the "DOWN" switch is turned on. As described above, a large number of signal lines are connected to the control panel section 103 of the auto-amplifier section 101 of the separation type auto air conditioner, and signals are transmitted and received through these signal lines to function.

【0006】[0006]

【発明が解決しようとする課題】以上述べた、従来の分
離型オートエアコンのオートアンプ部とコントロールパ
ネル部間の信号の伝送は、オートアンプ部,表示部間の
4本のインジケータコントロール信号線107とオート
アンプ部,エアコンスイッチ部間の6本のエアコンスイ
ッチ入出力信号線の合計10本の信号線が必要であり、
信号線の本数が多くなってしまう問題点がある。また、
伝送された信号の誤りチェックが行われるようなシステ
ムにはなっていないので、通信の信頼性が低いという問
題点がある。
As described above, the signal transmission between the auto amplifier section and the control panel section of the conventional separation type auto air conditioner is performed by four indicator control signal lines 107 between the auto amplifier section and the display section. And a total of 10 signal lines of 6 input / output signal lines of the air conditioner switch between the auto amplifier part and the air conditioner switch part are required.
There is a problem that the number of signal lines increases. Also,
There is a problem that the reliability of communication is low because the system is not designed to check the transmitted signal for errors.

【0007】この発明は以上述べた問題点に着目してな
されたもので、信号線の本数が少なくて済むと共に、伝
送される信号の誤りチェックが行われるようなシステム
にすることにより通信の信頼性を向上させ、更にワンチ
ップマイクロコンピュータに内蔵されているクロック同
期式シリアルインターフェースを利用することにより、
専用ハードウェアを使用せずにソフトウェアだけで対応
でき、しかもソフトウェアに負担がかからないような信
号伝送装置を得ることを目的とする。
The present invention has been made by paying attention to the above-mentioned problems, and the reliability of communication is improved by making the system such that the number of signal lines is small and the error check of the transmitted signal is performed. By using the clock synchronous serial interface incorporated in the one-chip microcomputer,
An object of the present invention is to obtain a signal transmission device that can be handled by software without using dedicated hardware, and that does not burden the software.

【0008】[0008]

【課題を解決するための手段】この請求項1の発明に係
る信号伝送装置は、送信回路からのNRZ信号列をクロ
ック信号に同期させてシリアルに受信回路に伝送する信
号伝送装置において、前記NRZ信号列が所定ビット数
の‘H’レベルビットおよび所定ビット数の‘L’レベ
ルビットからなるヘッダーフレームと、所定ビット数の
データビットおよび1ビットのパリティビットからなる
複数のデータフレームと、前記データフレームの同順位
ビットのパリティチェックを行うビットによるパリティ
ビット列からなるパリティフレームとから構成されるよ
うにしたものである。
A signal transmission apparatus according to the invention of claim 1 is a signal transmission apparatus for serially transmitting an NRZ signal sequence from a transmission circuit to a reception circuit in synchronism with a clock signal. A header frame in which a signal sequence includes a predetermined number of "H" level bits and a predetermined number of "L" level bits, a plurality of data frames including a predetermined number of data bits and one parity bit, and the data. The parity frame is composed of a parity bit string of bits for which parity check is performed on the same-order bits of the frame.

【0009】この請求項2の発明に係る信号伝送装置
は、請求項1の信号伝送装置において、上記送信回路お
よび受信回路がクロック同期式シリアルインターフェー
スが内蔵されたワンチップマイクロコンピュータにより
構成され、上記ヘッダーフレームが、15ビット数以上
の‘H’レベルビットおよび1ビットの‘L’レベルビ
ットからなるヘッダーフレームであり、上記データフレ
ームが、7ビット数のデータビットおよび1ビットの奇
パリティの垂直パリティビットからなるデータフレーム
であり、上記パリティフレームが、前記データフレーム
の同順位ビットのパリティチェックをそれぞれ行うビッ
トによるパリティビット列からなる水平パリティフレー
ムであることを特徴としたものである。
According to a second aspect of the present invention, there is provided the signal transmission device according to the first aspect, wherein the transmitting circuit and the receiving circuit are constituted by a one-chip microcomputer having a clock synchronous serial interface incorporated therein. The header frame is a header frame composed of 15 or more'H 'level bits and 1'L' level bit, and the data frame is 7 bits of data bits and 1 bit of odd parity vertical parity. It is a data frame made up of bits, and the parity frame is a horizontal parity frame made up of a parity bit string made up of bits for respectively performing parity check on the same-order bits of the data frame.

【0010】[0010]

【作用】この請求項1〜2の発明における信号伝送装置
は、送信回路からのNRZ信号列をクロック信号に同期
させてシリアルに受信回路に伝送するので信号線の本数
が少なくてすみ、さらに伝送された信号に対し水平パリ
ティチェック,垂直パリティチェックが行われるので通
信の信頼性が向上する。また、垂直パリティチェックは
データビット数が奇数(7ビット)に対して奇パリティ
であるのでハードウェアーの故障により送信データがオ
ール「1」,オール「0」となるような状態を容易に発
見できる。
In the signal transmitting device according to the present invention, the NRZ signal train from the transmitting circuit is transmitted to the receiving circuit serially in synchronism with the clock signal, so that the number of signal lines can be reduced, and further transmission is possible. A horizontal parity check and a vertical parity check are performed on the received signal, so that communication reliability is improved. Further, since the vertical parity check has odd parity with respect to the odd number of data bits (7 bits), it is possible to easily find a state in which the transmission data is all "1" and all "0" due to a hardware failure. ..

【0011】[0011]

【実施例】以下、この発明の信号伝送装置の一実施例を
自動車に搭載された分離型オートエアコン等の自動車用
空気調和装置に用いた場合について、図1〜図18を参
照して説明する。図1は、この実施例の信号伝送装置1
の構成を示すブロック図である。この信号伝送装置1に
おける通信方式は、半2重,クロック同期式のポーリン
グ方式であり、使用する伝送符号形式はNRZ形式であ
る。制御部2はクロック同期式シリアルインターフェー
スが内蔵されたワンチップマイクロコンピュータにより
構成されている。制御部2の入力ポートには、図示して
いない外気温センサー回路,内気センサー回路,水温セ
ンサー回路,日射センサ回路,ダクトセンサー回路等が
接続されている。また、制御部2の出力ポートには図示
していないアクチュエータ回路が接続されている。この
アクチュエータ回路の駆動部には、さらにエアーミック
スドア等の被駆動部が接続されている。一方、この制御
部2にはシリアルデータ用クロック出力端子SCKとシ
リアルデータ送信端子TX,シリアルデータ受信端子R
Xが設けられている。端末機3はクロック同期式シリア
ルインターフェースが内蔵されたワンチップマイクロコ
ンピュータにより構成されており、運転席に設けられた
コントロールパネル部内に設置されている。この端末機
3のシリアルデータ用クロック受信端子SCKは、通信
バスBL1を介して前記制御部2のシリアルデータ用ク
ロック出力端子SCKに接続されている。また、シリア
ルデータ受信端子RXは通信バスBL2を介して前記制
御部2のシリアルデータ送信端子TXに接続されてい
る。さらに、シリアルデータ送信端子TXは通信バスB
L3を介して制御部2のシリアルデータ受信端子RXに
接続されている。端末機3には、さらにVDDにプルア
ップされているアドレス設定端子A0,A1が設けられ
ている。VDDにプルアップされているアドレス設定端
子A0,A1とグランド間にはアドレス設定スイッチS
0,S1がそれぞれ接続されている。端末機3にはま
た、コントロールパネル部上の表示器およびスイッチ群
が接続されている。端末機4はクロック同期式シリアル
インターフェースが内蔵されたワンチップマイクロコン
ピュータにより構成されており、後部座席に設けられた
コントロールパネル部内に設置されている。この端末機
4のシリアルデータ用クロック受信端子SCKは、通信
バスBL1を介して前記制御部2のシリアルデータ用ク
ロック出力端子SCKに接続されている。また、シリア
ルデータ受信端子RXは通信バスBL2を介して前記制
御部2のシリアルデータ送信端子TXに接続されてい
る。さらに、シリアルデータ送信端子TXは通信バスB
L3を介して制御部2のシリアルデータ受信端子RXに
接続されている。端末機4には、さらにVDDにプルア
ップされているアドレス設定端子A0,A1が設けられ
ている。VDDにプルアップされているアドレス設定端
子A0,A1とグランド間にはアドレス設定スイッチS
00,S11がそれぞれ接続されている。端末機4には
また、コントロールパネル部上の表示器およびパネルス
イッチ,ロータリースイッチ等のスイッチ群が接続され
ている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A case in which an embodiment of the signal transmission device of the present invention is used in a vehicle air conditioner such as a separate type auto air conditioner mounted on a vehicle will be described below with reference to FIGS. .. FIG. 1 shows a signal transmission device 1 of this embodiment.
3 is a block diagram showing the configuration of FIG. The communication system in this signal transmission device 1 is a half-duplex, clock-synchronous polling system, and the transmission code format used is the NRZ format. The control unit 2 is composed of a one-chip microcomputer having a built-in clock synchronous serial interface. The input port of the control unit 2 is connected to an outside air temperature sensor circuit, an inside air sensor circuit, a water temperature sensor circuit, a solar radiation sensor circuit, a duct sensor circuit, etc., which are not shown. An actuator circuit (not shown) is connected to the output port of the control unit 2. The driven part of the actuator circuit is further connected to a driven part such as an air mix door. On the other hand, the control unit 2 includes a serial data clock output terminal SCK, a serial data transmission terminal TX, and a serial data reception terminal R.
X is provided. The terminal 3 is composed of a one-chip microcomputer having a clock-synchronous serial interface built therein, and is installed in a control panel section provided in the driver's seat. The serial data clock reception terminal SCK of the terminal device 3 is connected to the serial data clock output terminal SCK of the control unit 2 via the communication bus BL1. Further, the serial data receiving terminal RX is connected to the serial data transmitting terminal TX of the control unit 2 via the communication bus BL2. Further, the serial data transmission terminal TX is connected to the communication bus B.
It is connected to the serial data receiving terminal RX of the control unit 2 via L3. The terminal 3 is further provided with address setting terminals A0 and A1 which are pulled up to VDD. An address setting switch S is provided between the address setting terminals A0 and A1 which are pulled up to VDD and the ground.
0 and S1 are respectively connected. The terminal 3 is also connected to a display unit and a switch group on the control panel unit. The terminal 4 is composed of a one-chip microcomputer having a built-in clock synchronous serial interface, and is installed in a control panel section provided in the rear seat. The serial data clock reception terminal SCK of the terminal 4 is connected to the serial data clock output terminal SCK of the control unit 2 via the communication bus BL1. Further, the serial data receiving terminal RX is connected to the serial data transmitting terminal TX of the control unit 2 via the communication bus BL2. Further, the serial data transmission terminal TX is connected to the communication bus B.
It is connected to the serial data receiving terminal RX of the control unit 2 via L3. The terminal 4 is further provided with address setting terminals A0 and A1 which are pulled up to VDD. An address setting switch S is provided between the address setting terminals A0 and A1 which are pulled up to VDD and the ground.
00 and S11 are respectively connected. The terminal 4 is also connected to a display unit on the control panel unit and a switch group such as panel switches and rotary switches.

【0012】図2は、前記端末機の機能ブロック図であ
る。コントロールパネル部上のスイッチ群MSWは、ス
イッチマトリックス制御端子MA0〜MA4とスイッチ
マトリックス入力端子SW0〜SW3に接続され、ロー
タリースイッチ群RSWはロータリースイッチ入力端子
RS0〜RS5に接続されている。ここで、スイッチ群
MSWは、「AUTO」,「HI」,「DOWN」等を
選定操作するためのエアコンスイッチである。また、ロ
ータリースイッチ群RSWは温度設定用のスイッチであ
る。SWマトリックス回路5は、SWマトリックス入力
端子SW0〜SW3からSWマトリックス信号を入力
し、このSWマトリックス信号に対して二連照合を行い
スイッチ部でのチャタリングを排除し、その後デコード
し、スイッチマトリックス回路5に設けられた該当する
SWデータラッチ(図示せず)を反転させる。
FIG. 2 is a functional block diagram of the terminal. The switch group MSW on the control panel unit is connected to the switch matrix control terminals MA0 to MA4 and the switch matrix input terminals SW0 to SW3, and the rotary switch group RSW is connected to the rotary switch input terminals RS0 to RS5. Here, the switch group MSW is an air conditioner switch for selecting and operating "AUTO", "HI", "DOWN", and the like. The rotary switch group RSW is a switch for setting the temperature. The SW matrix circuit 5 inputs the SW matrix signal from the SW matrix input terminals SW0 to SW3, performs double collation on the SW matrix signal to eliminate chattering in the switch unit, and then decodes the SW matrix signal to obtain the switch matrix circuit 5 The corresponding SW data latch (not shown) provided in the above is inverted.

【0013】ここで、スイッチ群MSWに対する入力回
路を図3に示す。この図において、SWマトリックス入
力端子SW0の入力回路5aは、シュミットトリガイン
バータにより構成されており、ディジタルフィルタDF
1を介してSWマトリックス回路5に接続されている。
SWマトリックス入力端子SW1の入力回路5bは、シ
ュミットトリガインバータにより構成されており、同様
にデジィタルフィルタDF1を介してSWマトリックス
回路5に接続されている。SWマトリックス入力端子S
W2,SW3,の入力回路5c,5dも同様であり、シ
ュミットトリガインバータにより構成されて、ディジタ
ルフィルタDF1を介してスイッチマトリックス回路5
に接続されている。
An input circuit for the switch group MSW is shown in FIG. In this figure, the input circuit 5a of the SW matrix input terminal SW0 is composed of a Schmitt trigger inverter, and the digital filter DF
1 to the SW matrix circuit 5.
The input circuit 5b of the SW matrix input terminal SW1 is composed of a Schmitt trigger inverter and similarly connected to the SW matrix circuit 5 via the digital filter DF1. SW matrix input terminal S
The same applies to the input circuits 5c and 5d for W2 and SW3, which are composed of Schmitt trigger inverters and are connected to the switch matrix circuit 5 via the digital filter DF1.
It is connected to the.

【0014】図2に戻り、タイミング発生回路6は、ス
イッチマトリックスタイミング信号SMT,VFT(蛍
光表示管)駆動信号VDS,出力調光信号OCSを出力
すると共に、SWマトリックス制御端子MA0〜MA4
を介してスイッチ群MSWへ、図4に示すSWマトリッ
クス制御信号を出力する。ヘッダー検知回路7は、受信
データのヘッダーを検知しヘッダー検出信号HDSを出
力する回路である。エラーチェック回路8は、受信デー
タのアドレスチェック,垂直パリティチェックおよび送
信時の垂直パリティの付加を行う回路である。水平パリ
ティチェック回路9は、受信データの水平パリティチェ
ックおよび送信データの水平パリティの付加を行う。送
信データセレクタ回路10は、送信時のデータをフレー
ム毎に選択して次に述べる通信用シフトレジスタ回路1
1に送る回路である。2連照合回路10aは、ロータリ
ースイッチ群RSWから入力されるロータリースイッチ
入力信号に対し2連照合を行い、ロータリースイッチで
のチャタリングを除去する。
Returning to FIG. 2, the timing generation circuit 6 outputs the switch matrix timing signals SMT, VFT (fluorescent display tube) drive signal VDS, the output dimming signal OCS, and the SW matrix control terminals MA0 to MA4.
The SW matrix control signal shown in FIG. 4 is output to the switch group MSW via. The header detection circuit 7 is a circuit that detects a header of received data and outputs a header detection signal HDS. The error check circuit 8 is a circuit that performs address check of received data, vertical parity check, and addition of vertical parity at the time of transmission. The horizontal parity check circuit 9 performs horizontal parity check of received data and addition of horizontal parity of transmitted data. The transmission data selector circuit 10 selects data at the time of transmission for each frame and shifts the communication shift register circuit 1 described below.
It is a circuit to send to 1. The double matching circuit 10a performs double matching on the rotary switch input signal input from the rotary switch group RSW to eliminate chattering at the rotary switches.

【0015】ロータリースイッチ群RSWに対する入力
回路を図5に示す。この図において、ロータリースイッ
チ入力端子RS0,RS1,RS2,RS3,RS4,
RS5の入力回路10b,10c,10d,10e,1
0f,10gは、シュミットトリガインバータにより構
成され、これら入力回路の出力は2連照合回路10aに
加えられる。図2に戻り、通信用シフトレジスタ回路1
1は、送信時パラレル/シリアル変換,受信時シリアル
/パラレル変換を行う7bitのシフトレジスタであ
る。ここで、端末機3,4における通信用シフトレジス
タ回路11の周辺の回路構成を図6に示す。この図にお
いて、15aはコンパレータを含むシリアルデータ受信
回路、15bはディジタルフィルタ、15cは通信用ク
ロック信号受信回路、15dはディジタルフィルタ、1
5eは制御部2へ送信されるデータの送信データ出力回
路であり、シフトレジスタ11からの送信データとタイ
ミング発生回路2(12)からの送信イネーブル信号
(送信開始でHレベル)を入力するアンドゲート、該送
信イネーブル信号の反転信号とヘッダー検知回路7から
のヘッダー検知信号(ヘッダ検知でLレベル,エラー発
生又は受信終了でHレベル)を入力するアンドゲート,
及び2つのアンドゲート出力を入力するオアゲート,並
びにMOSFETからなる。シリアルデータ受信回路1
5aおよび通信用クロック信号受信回路15cは、シリ
アルデータ受信端子RXから入力される受信データ及び
シリアルデータ用クロック入力端子SCKから入力され
る通信用クロック信号SCKをそれぞれ基準電圧と比較
し、波形整形を行う。波形整形された受信データと通信
クロック信号SCKはディジタルフィルタ15b,15
dにより処理されて、通信用シフトレジスタ11に入力
される。一方、通信用シフトレジスタ11から出力され
る送信信号は、通信用クロック信号SCKの立ち下がり
に同期して送信データ出力回路15eより出力され、シ
リアルデータ送信端子TXから通信バスBL3に送出さ
れる。送信データ出力回路15eの出力は、図7に示す
ように、制御回路から送られてきたデータのヘッダーフ
レームが検出されると2bit目で‘L’レベルとな
り、受信したデータのアドレスエラー,パリティエラー
が検出されると‘H’レベルに固定される。正常に受信
を終了したときは送信終了後‘H’レベルとなる。
An input circuit for the rotary switch group RSW is shown in FIG. In this figure, rotary switch input terminals RS0, RS1, RS2, RS3, RS4
RS5 input circuits 10b, 10c, 10d, 10e, 1
0f and 10g are composed of Schmitt trigger inverters, and the outputs of these input circuits are added to the double collation circuit 10a. Returning to FIG. 2, the shift register circuit for communication 1
Reference numeral 1 is a 7-bit shift register that performs parallel / serial conversion during transmission and serial / parallel conversion during reception. Here, a circuit configuration around the communication shift register circuit 11 in the terminals 3 and 4 is shown in FIG. In the figure, 15a is a serial data receiving circuit including a comparator, 15b is a digital filter, 15c is a communication clock signal receiving circuit, 15d is a digital filter,
Reference numeral 5e is a transmission data output circuit for transmitting data to the control unit 2, and an AND gate for inputting transmission data from the shift register 11 and a transmission enable signal (H level at the start of transmission) from the timing generation circuit 2 (12). An AND gate for inputting the inverted signal of the transmission enable signal and the header detection signal from the header detection circuit 7 (L level at header detection, H level at error occurrence or reception end),
And an OR gate for inputting two AND gate outputs, and a MOSFET. Serial data receiving circuit 1
5a and the communication clock signal reception circuit 15c compare the reception data input from the serial data reception terminal RX and the communication clock signal SCK input from the serial data clock input terminal SCK with a reference voltage, respectively, to perform waveform shaping. To do. The waveform-shaped received data and the communication clock signal SCK are digital filters 15b, 15
It is processed by d and input to the communication shift register 11. On the other hand, the transmission signal output from the communication shift register 11 is output from the transmission data output circuit 15e in synchronization with the fall of the communication clock signal SCK, and is output from the serial data transmission terminal TX to the communication bus BL3. As shown in FIG. 7, when the header frame of the data sent from the control circuit is detected, the output of the transmission data output circuit 15e becomes "L" level at the 2nd bit, and the address error and parity error of the received data are detected. Is detected, the level is fixed to'H 'level. When the reception is normally completed, the level becomes'H 'after the transmission is completed.

【0016】図2に戻り、タイミング発生回路12は、
通信機能に関係する各タイミング信号を発生する。受信
データラッチ回路13は、受信データを水平パリティチ
ェック終了まで一時的にラッチする回路である。VFT
ドライバ回路14は、コントロールパネル部上に設けら
れる図示していない蛍光表示管の駆動回路である。クロ
ック発生回路16は、基準クロック信号を発生する回路
である。表示データラッチ回路17は、入力されるラッ
チ信号を基に表示データをラッチする回路である。
Returning to FIG. 2, the timing generation circuit 12 is
Each timing signal related to the communication function is generated. The reception data latch circuit 13 is a circuit for temporarily latching reception data until the end of the horizontal parity check. VFT
The driver circuit 14 is a drive circuit for a fluorescent display tube (not shown) provided on the control panel section. The clock generation circuit 16 is a circuit that generates a reference clock signal. The display data latch circuit 17 is a circuit that latches display data based on an input latch signal.

【0017】図8は、制御部2と端末機3,4間の送受
信データの通信フォーマットを示す図である。この図に
おいて、18は15bit以上の‘H’レベルの連続と
1bitの‘L’レベルのパルス列からなるヘッダーフ
レーム、19〜27は8bitからなるフレームであ
る。19aは2bitよりなるアドレスビット、19b
は5bitよりなるデータビット、19cは1bitの
垂直パリティビットである。20aはフレーム20の7
bitよりなるデータビット、20bは垂直パリティビ
ットである。21aはフレーム21の7bitよりなる
データビット、21bは垂直パリティビットである。2
2aはフレーム22の7bitよりなるデータビット、
22bは垂直パリティビットである。23aはフレーム
23の7bitよりなるデータビット、23bは垂直パ
リティビットである。24aはフレーム24の7bit
よりなるデータビット、24bは垂直パリティビットで
ある。25aはフレーム25の7bitよりなるデータ
ビット、25bは垂直パリティビットである。26aは
フレーム26の7bitよりなるデータビット、26b
は垂直パリティビットである。27aは7bitよりな
る水平パリティフレーム、27bはフレーム27の垂直
パリティビットである。以上18〜27までの各フレー
ムは、制御部2から送信され端末機3あるいは端末機4
が受信する、受信データのフレームである。また、28
〜32はそれぞれ1フレームを示し、端末機3あるいは
端末機4から制御部2に送られる送信データである。2
8aは2bitよりなるアドレスビットであり、どの端
末機から送信されたかを識別するためのビットである。
28b,29a,30a,31aは、スイッチ群MSW
とロータリースイッチ群RSWの押下情報あるいは回転
情報を示すデータビット、28c,29b,30b,3
1b,32bは垂直パリティビットである。
FIG. 8 is a diagram showing a communication format of transmission / reception data between the control unit 2 and the terminals 3 and 4. In this figure, 18 is a header frame composed of 15-bit or more continuous "H" level and 1-bit "L" level pulse train, and 19 to 27 are frames composed of 8 bits. 19a is an address bit consisting of 2 bits, 19b
Is a 5-bit data bit, and 19c is a 1-bit vertical parity bit. 20a is 7 of frame 20
Bits are data bits, and 20b is a vertical parity bit. Reference numeral 21a is a 7-bit data bit of the frame 21, and 21b is a vertical parity bit. Two
2a is a data bit consisting of 7 bits of the frame 22,
22b is a vertical parity bit. Reference numeral 23a is a 7-bit data bit of the frame 23, and 23b is a vertical parity bit. 24a is a 7-bit frame 24
, And 24b are vertical parity bits. Reference numeral 25a is a 7-bit data bit of the frame 25, and 25b is a vertical parity bit. 26a is a data bit consisting of 7 bits of the frame 26, and 26b
Is the vertical parity bit. 27a is a horizontal parity frame composed of 7 bits, and 27b is a vertical parity bit of the frame 27. The above frames 18 to 27 are transmitted from the control unit 2 and are sent to the terminal 3 or the terminal 4.
Is a frame of received data that is received by. Also 28
Each of 32 to 32 indicates one frame, which is transmission data sent from the terminal 3 or the terminal 4 to the control unit 2. Two
8a is an address bit consisting of 2 bits and is a bit for identifying from which terminal device the data is transmitted.
28b, 29a, 30a, 31a are switch groups MSW
And data bits 28c, 29b, 30b, 3 indicating pressing information or rotation information of the rotary switch group RSW.
1b and 32b are vertical parity bits.

【0018】図9は、受信データラッチ回路13内のフ
レーム19からフレーム27までの受信データの割り当
てを示す図である。
FIG. 9 is a diagram showing allocation of received data from frame 19 to frame 27 in the received data latch circuit 13.

【0019】図10は、制御部2に送信されたフレーム
28からフレーム32により構成される送信データの割
り当てを示す図である。
FIG. 10 is a diagram showing allocation of transmission data composed of the frames 28 to 32 transmitted to the control unit 2.

【0020】図11は端末機3,4における受信データ
のサンプリングされるタイミングを示すタイミングチャ
ートである。この図において、シリアルデータ受信端末
RXに供給されるデータのサンプリングはシリアルデー
タ用クロック入力端子SCKに供給される通信用クロッ
ク信号SCKの立上がりに同期して行われ、端末機に取
り込まれる。
FIG. 11 is a timing chart showing the timing of sampling the received data in the terminals 3 and 4. In this figure, sampling of the data supplied to the serial data receiving terminal RX is performed in synchronization with the rise of the communication clock signal SCK supplied to the serial data clock input terminal SCK, and is taken into the terminal.

【0021】図12は端末機3,4からデータが送出さ
れるタイミングを示すタイミングチャートである。この
図において、シリアルデータ送信端子TXから送出され
るデータはシリアルデータ用クロック入力端子SCKに
供給される通信用クロック信号SCKの立下がりに同期
して行われる。
FIG. 12 is a timing chart showing the timing of data transmission from the terminals 3 and 4. In this figure, the data transmitted from the serial data transmission terminal TX is performed in synchronization with the fall of the communication clock signal SCK supplied to the serial data clock input terminal SCK.

【0022】図13は端末機3,4における受信データ
のエラー検出方式を示す図である。この図において、5
1は図8に示すフレーム19の垂直パリティビット、5
2は同様にフレーム20の垂直パリティビット、53は
フレーム21の垂直パリティビット、53はフレーム2
1の垂直パリティビット、54はフレーム22の垂直パ
リティビット、55はフレーム23は垂直パリティビッ
ト、56はフレーム24の垂直パリティビット、57は
フレーム25の垂直パリティビット、58はフレーム2
6の垂直パリティビット、59はフレーム27の垂直パ
リティビットである。60は図8に示すフレーム27の
水平パリティフレームである。この受信データのエラー
検出方式では垂直パリティおよび水平パリティは共に奇
パリティチェックとし、アドレスエラー,垂直パリティ
エラー,水平パリティエラーを検出する。この場合、5
1〜59(VP0〜VP8)のそれぞれの垂直パリティ
ビットVPmは、次に示す演算式を基に求められる。
FIG. 13 is a diagram showing an error detection method of received data in the terminals 3 and 4. In this figure, 5
1 is the vertical parity bit of frame 19 shown in FIG.
Similarly, 2 is the vertical parity bit of frame 20, 53 is the vertical parity bit of frame 21, and 53 is the frame 2
1 vertical parity bit, 54 vertical parity bit of frame 22, 55 vertical parity bit of frame 23, 56 vertical parity bit of frame 24, 57 vertical parity bit of frame 25, 58 vertical frame of parity bit
6 is a vertical parity bit, and 59 is a vertical parity bit of the frame 27. Reference numeral 60 is a horizontal parity frame of the frame 27 shown in FIG. In this error detection method of received data, both the vertical parity and the horizontal parity are odd parity checks, and the address error, the vertical parity error, and the horizontal parity error are detected. In this case, 5
Each vertical parity bit VPm of 1 to 59 (VP0 to VP8) is calculated based on the following arithmetic expression.

【0023】[0023]

【数1】 [Equation 1]

【0024】一方、60(HP0〜HP6)のそれぞれ
の水平パリティビットHPmは、次に示す演算式を基に
求められる。
On the other hand, the horizontal parity bits HPm of 60 (HP0 to HP6) are calculated based on the following arithmetic expressions.

【0025】[0025]

【数2】 [Equation 2]

【0026】図14は、制御部2における送信されてき
たデータに対するエラー検出方式を示す図である。この
図において、61は図8に示すフレーム28の垂直パリ
ティビット、62は同様にフレーム29の垂直パリティ
ビット、63はフレーム30の垂直パリティビット、6
4はフレーム31の垂直パリティビット、65はフレー
ム32の垂直パリティビットである。66は図8に示す
フレーム32の水平パリティフレームである。この送信
データのエラー検出方式では垂直パリティおよび水平パ
リティは共に奇パリティチェックとし、アドレスエラ
ー,垂直パリティエラー,水平パリティエラーを検出す
る。この場合、61〜65(VP0〜VP4)のそれぞ
れの垂直パリティビットVPmは、次に示す演算式を基
に求められる。
FIG. 14 is a diagram showing an error detection method for the transmitted data in the control unit 2. In this figure, 61 is a vertical parity bit of the frame 28 shown in FIG. 8, 62 is a vertical parity bit of the frame 29, 63 is a vertical parity bit of the frame 30, and 6 is a vertical parity bit of the frame 30.
Reference numeral 4 is a vertical parity bit of the frame 31, and 65 is a vertical parity bit of the frame 32. 66 is a horizontal parity frame of the frame 32 shown in FIG. In this error detection method of transmission data, both the vertical parity and the horizontal parity are odd parity checks, and the address error, the vertical parity error, and the horizontal parity error are detected. In this case, each vertical parity bit VPm of 61 to 65 (VP0 to VP4) is obtained based on the following arithmetic expression.

【0027】[0027]

【数3】 [Equation 3]

【0028】一方、66(HP0〜HP6)のそれぞれ
の水平パリティビットHPmは、次に示す演算式を基に
求められる。
On the other hand, each horizontal parity bit HPm of 66 (HP0 to HP6) is obtained based on the following arithmetic expression.

【0029】[0029]

【数4】 [Equation 4]

【0030】図15はスイッチマトリックス回路5にお
けるSWマトリックス信号を基に2連照合を行い、押下
されたスイッチを検出する際のタイミングチャートであ
る。
FIG. 15 is a timing chart for detecting the pressed switch by performing the double collation based on the SW matrix signal in the switch matrix circuit 5.

【0031】図16は、ロータリースイッチ入力信号に
対し2連照合を行う際のタイミングチャートである。
FIG. 16 is a timing chart when performing double matching on the rotary switch input signal.

【0032】次に、図17,図18を参照して、この実
施例における信号伝送装置1の動作について説明する。
図17は、制御部2の動作を説明するためのフローチャ
ート、図18は端末機の動作を説明するためのフローチ
ャートである。この信号伝送装置1において電源を投入
されると、制御部2および端末機3,4は図17,図1
8に示すフローチャートにしたがって動作を開始する。
まずステップST1において、制御部2では転送クロッ
ク,転送クロックレートの内部設定等のイニシャライズ
が行われる。続くステップST2では、図8に示す送信
データの作成が行われる。すなわち、図8のデータビッ
ト19b,20a,21a,22a,23a,24a,
25a,26aに対し送信先アドレスのアドレスビット
19aの設定、垂直パリティビット19c,20b,2
1b,22b,23b,24b,25b,26b,27
bの付加、フレーム27に示す水平パリティフレーム2
7aの付加等である。ステップST3では、ステップS
T2で作成したデータが端末機へ送信される。端末機
は、ステップST11において制御部2から送られてく
る図8に示すヘッダーフレーム18を検出する。この結
果、端末機のシリアルデータ送信端子TXは、図13に
示すように2ビット目で‘L’レベルとなる。ステップ
ST12では、アドレスビット19aにより指定される
アドレスが、図1に示すアドレス設定スイッチS0,S
1あるいはS00,S11により予め自らに対し設定さ
れたアドレスと一致するか否かが判断される。一致する
と、ステップST13に進みデータを受信する。受信し
たデータは、図2に示す受信データラッチ回路13に図
9に示すように格納される。一方、ステップST12に
おいてアドレスが一致しないと判断されたときは、アド
レスエラーとしてシリアルデータ送信端子TXを‘H’
レベル(送信を行わない状態)に固定する。ステップS
T14に進むと、受信データに対し垂直パリティチェッ
ク,水平パリティチェックが行われる。このパリティチ
ェックは数1,数2に示す演算を基に行われる。垂直パ
リティチェック,水平パリティチェックにおいてエラー
が検知されなければステップST15進み、この受信デ
ータを表示データラッチ回路17に送り、表示データを
更新する。次いで、ステップST16に進み、図8に示
すフレーム28〜32により構成されるデータをシリア
ルデータ送信端子TXから制御部2に送信する。制御部
2では、ステップST4で、前記端末機から送られてく
るデータ(図8のフレーム28〜32)の受信が行われ
る。この結果、制御部2のデータラッチ回路には図10
に示すように受信データがラッチされる。ステップST
5に進むと、受信データに対しアドレスチェック,垂直
パリティチェック,水平パリティチェックが行われる。
このパリティチェックは数3,数4に示す演算を基に行
われる。アドレスチェック,垂直パリティチェック,水
平パリティチェックにおいてエラーが検知されなければ
ステップST6に進み、受信データを有効としてステッ
プST2に戻る。一方、ステップST5において、エラ
ーが検知されるとステップST7に進み、受信データを
無効として破棄し、ステップST2に戻る。なお、端末
機3,4はデータを制御部2に送信中に制御部2から送
られてくるデータのヘッダーフレームを検出したとき
は、直ちに送信を中止して受信を開始する。
Next, with reference to FIGS. 17 and 18, the operation of the signal transmission device 1 in this embodiment will be described.
17 is a flowchart for explaining the operation of the control unit 2, and FIG. 18 is a flowchart for explaining the operation of the terminal. When the power is turned on in the signal transmission device 1, the control unit 2 and the terminals 3 and 4 are operated as shown in FIGS.
The operation is started according to the flowchart shown in FIG.
First, in step ST1, the control unit 2 initializes the transfer clock and the transfer clock rate internally. In the subsequent step ST2, the transmission data shown in FIG. 8 is created. That is, the data bits 19b, 20a, 21a, 22a, 23a, 24a of FIG.
25a, 26a, setting of address bit 19a of the destination address, vertical parity bits 19c, 20b, 2
1b, 22b, 23b, 24b, 25b, 26b, 27
b addition, horizontal parity frame 2 shown in frame 27
7a is added. In step ST3, step S
The data created in T2 is transmitted to the terminal. The terminal detects the header frame 18 shown in FIG. 8 sent from the control unit 2 in step ST11. As a result, the serial data transmission terminal TX of the terminal becomes'L 'level at the second bit as shown in FIG. In step ST12, the address designated by the address bit 19a is the address setting switch S0, S shown in FIG.
1 or S00, S11, it is determined whether or not the address matches the address set in advance. If they match, the process proceeds to step ST13 to receive the data. The received data is stored in the reception data latch circuit 13 shown in FIG. 2 as shown in FIG. On the other hand, if it is determined in step ST12 that the addresses do not match, it is determined as an address error and the serial data transmission terminal TX is set to "H".
It is fixed to the level (state in which transmission is not performed). Step S
At T14, vertical parity check and horizontal parity check are performed on the received data. This parity check is performed based on the calculations shown in Formulas 1 and 2. If no error is detected in the vertical parity check or horizontal parity check, the process proceeds to step ST15, the received data is sent to the display data latch circuit 17, and the display data is updated. Next, the process proceeds to step ST16, and the data composed of the frames 28 to 32 shown in FIG. 8 is transmitted from the serial data transmission terminal TX to the control unit 2. In step ST4, the control unit 2 receives the data (frames 28 to 32 in FIG. 8) sent from the terminal. As a result, the data latch circuit of the control unit 2 is shown in FIG.
Received data is latched as shown in FIG. Step ST
At 5, the address check, vertical parity check, and horizontal parity check are performed on the received data.
This parity check is performed based on the calculations shown in Formulas 3 and 4. If no error is detected in the address check, vertical parity check, or horizontal parity check, the process proceeds to step ST6, validates the received data, and returns to step ST2. On the other hand, if an error is detected in step ST5, the process proceeds to step ST7, the received data is invalidated and discarded, and the process returns to step ST2. When the terminals 3 and 4 detect the header frame of the data sent from the control unit 2 while transmitting the data to the control unit 2, the terminals 3 and 4 immediately stop the transmission and start the reception.

【0033】[0033]

【発明の効果】以上のように、この請求項1〜2の発明
によれば、クロック同期式シリアルインターフェースが
内蔵されたワンチップマイクロコンピュータを使用する
ことが出来るので、専用のハードウェアーを用いる必要
がなく経済的であり、データのシリアル転送を行うに際
してソフトウェアーに負担がかからず、またNRZ信号
列をクロック信号に同期させてシリアルに受信回路に伝
送するので信号線の本数が少なくてすみ、さらに伝送さ
れた信号に対し水平パリティチェック,垂直パリティチ
ェックが行われるので通信の信頼性が向上する。また、
垂直パリティチェックは奇パリティであるのでハードウ
ェアーの故障により送信データがオール「1」,オール
「0」となるような状態を容易に発見できる。
As described above, according to the present invention, it is possible to use the one-chip microcomputer having the built-in clock synchronous serial interface. Therefore, it is necessary to use dedicated hardware. It is economical because there is no problem, the software is not burdened when serially transferring data, and the number of signal lines is small because the NRZ signal sequence is serially transmitted to the receiving circuit in synchronization with the clock signal. Further, since the transmitted signal is subjected to horizontal parity check and vertical parity check, communication reliability is improved. Also,
Since the vertical parity check has an odd parity, it is possible to easily find a state in which the transmission data becomes all "1" and all "0" due to a hardware failure.

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

【図1】この発明の一実施例の信号伝送装置の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of a signal transmission device according to an embodiment of the present invention.

【図2】この発明の一実施例の信号伝送装置における端
末機の機能ブロック図である。
FIG. 2 is a functional block diagram of a terminal in the signal transmission device according to the embodiment of the present invention.

【図3】スイッチ群MSWに対する入力回路を示す電気
回路図である。
FIG. 3 is an electric circuit diagram showing an input circuit for a switch group MSW.

【図4】SWマトリックス制御信号を示す波形図であ
る。
FIG. 4 is a waveform diagram showing a SW matrix control signal.

【図5】ロータリースイッチ群RSWに対する入力回路
の構成を示す電気回路図である。
FIG. 5 is an electric circuit diagram showing a configuration of an input circuit for a rotary switch group RSW.

【図6】通信用シフトレジスタ回路周辺の回路構成を示
す電気回路図である。
FIG. 6 is an electric circuit diagram showing a circuit configuration around a communication shift register circuit.

【図7】送信データ出力回路の出力を説明するためのタ
イミングチャートである。
FIG. 7 is a timing chart for explaining the output of the transmission data output circuit.

【図8】制御部と端末機間の送受信データの通信フォー
マットを示す図である。
FIG. 8 is a diagram showing a communication format of transmission / reception data between a control unit and a terminal.

【図9】受信データラッチ回路内にラッチした受信デー
タの割り当てを示す図である。
FIG. 9 is a diagram showing allocation of reception data latched in a reception data latch circuit.

【図10】制御部に送信された送信データの割り当てを
示す図である。
FIG. 10 is a diagram showing allocation of transmission data transmitted to a control unit.

【図11】受信データのサンプリングされるタイミング
を示すタイミングチャートである。
FIG. 11 is a timing chart showing a timing at which received data is sampled.

【図12】データの送出されるタイミングを示すタイミ
ングチャートである。
FIG. 12 is a timing chart showing the timing of data transmission.

【図13】端末機における受信データのエラー検出方式
を示す図である。
FIG. 13 is a diagram illustrating an error detection method of received data in a terminal.

【図14】制御部における送信されてきたデータに対す
るエラー検出方式を示す図である。
FIG. 14 is a diagram showing an error detection method for transmitted data in a control unit.

【図15】スイッチマトリックス回路における2連照合
および押下されたスイッチを検出する際のタイミングチ
ャートである。
FIG. 15 is a timing chart at the time of double-checking and detecting a pressed switch in the switch matrix circuit.

【図16】ロータリースイッチ入力信号に対し2連照合
を行う際のタイミングチャートである。
FIG. 16 is a timing chart when performing a double collation on a rotary switch input signal.

【図17】制御部の動作を説明するためのフローチャー
トである。
FIG. 17 is a flowchart for explaining the operation of the control unit.

【図18】端末機の動作を説明するためのフローチャー
トである。
FIG. 18 is a flowchart illustrating an operation of the terminal.

【図19】従来の分離型オートエアコンの全体ブロック
図である。
FIG. 19 is an overall block diagram of a conventional separation type automatic air conditioner.

【図20】オートアンプ部とコントロールパネル部との
接続関係を示す図である。
FIG. 20 is a diagram showing a connection relationship between an auto amplifier section and a control panel section.

【図21】表示部の詳細を示すブロック図である。FIG. 21 is a block diagram showing details of a display unit.

【図22】オートアンプ部から表示部へ転送される表示
データを示すタイミングチャートである。
FIG. 22 is a timing chart showing display data transferred from the auto amplifier section to the display section.

【図23】オートアンプ部とエアコンスイッチ部間の送
受信信号を示す波形図である。
FIG. 23 is a waveform diagram showing a transmission / reception signal between the auto amplifier unit and the air conditioner switch unit.

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

1 信号伝送装置 2 制御部 3 端末機 4 端末機 5 SWマトリックス回路 6 タイミング発生回路 7 ヘッダー検知回路 8 エラーチェック回路 9 水平パリティチェック回路 10 送信データセレクタ回路 11 通信用シフトレジスタ回路 12 タイミング発生回路 13 受信データラッチ回路 14 VFTドライバ回路 15a シリアルデータ受信回路 15b ディジタルフィルタ 15c 通信用クロック信号受信回路 15d ディジタルフィルタ 15e 送信データ出力回路 16 クロック発生回路 17 表示データラッチ回路 18 ヘッダーフレーム 19〜27 端末機が受信する受信データのフレーム 19a アドレスビット 19b,20a,21a,22a,23a,24a,2
5a,26a データビット 19c,20b,21b,22b,23b,24b,2
5b,26b,27b垂直パリティビット 27a 水平パリティビット 28〜32 端末機から送信する送信データのフレーム 28a アドレスビット 28b,29a,30a,31a データビット 28c,29b,30b,31b,32b 垂直パリテ
ィビット 32a 水平パリティビット BL1 通信バス BL2 通信バス S0 アドレス設定スイッチ S1 アドレス設定スイッチ S11 アドレス設定スイッチ S00 アドレス設定スイッチ
1 Signal Transmission Device 2 Control Unit 3 Terminal Device 4 Terminal Device 5 SW Matrix Circuit 6 Timing Generation Circuit 7 Header Detection Circuit 8 Error Check Circuit 9 Horizontal Parity Check Circuit 10 Transmission Data Selector Circuit 11 Communication Shift Register Circuit 12 Timing Generation Circuit 13 Reception data latch circuit 14 VFT driver circuit 15a Serial data reception circuit 15b Digital filter 15c Communication clock signal reception circuit 15d Digital filter 15e Transmission data output circuit 16 Clock generation circuit 17 Display data latch circuit 18 Header frame 19-27 Terminal receives Received data frame 19a Address bit 19b, 20a, 21a, 22a, 23a, 24a, 2
5a, 26a Data bits 19c, 20b, 21b, 22b, 23b, 24b, 2
5b, 26b, 27b Vertical parity bit 27a Horizontal parity bit 28-32 Frame of transmission data transmitted from terminal 28a Address bit 28b, 29a, 30a, 31a Data bit 28c, 29b, 30b, 31b, 32b Vertical parity bit 32a Horizontal Parity bit BL1 communication bus BL2 communication bus S0 address setting switch S1 address setting switch S11 address setting switch S00 address setting switch

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 送信回路からのNRZ信号列をクロック
信号に同期させてシリアルに受信回路に伝送する信号伝
送装置において、前記NRZ信号列を所定ビット数の
‘H’レベルビットおよび所定ビット数の‘L’レベル
ビットからなるヘッダーフレームと、所定ビット数のデ
ータビットおよび1ビットのパリティビットからなる複
数のデータフレームと、前記データフレームの同順位ビ
ットのパリティチェックを行うパリティビット列からな
るパリティフレームとから構成されることを特徴とする
信号伝送装置。
1. A signal transmission device for serially transmitting an NRZ signal sequence from a transmission circuit to a reception circuit in synchronization with a clock signal, wherein the NRZ signal sequence has a predetermined number of'H 'level bits and a predetermined number of bits. A header frame made up of'L 'level bits, a plurality of data frames made up of a predetermined number of data bits and 1 parity bit, and a parity frame made up of a parity bit string for performing a parity check of the same-order bits of the data frame. A signal transmission device comprising:
【請求項2】 上記送信回路および上記受信回路がクロ
ック同期式シリアルインターフェースが内蔵されたワン
チップマイクロコンピュータから構成され、上記ヘッダ
ーフレームが、15ビット数以上の‘H’レベルビット
および1ビットの‘L’レベルビットからなるヘッダー
フレームであり、上記データフレームが、7ビット数の
データビットおよび1ビットの奇パリティの垂直パリテ
ィビットからなるデータフレームであり、上記パリティ
フレームが、前記データフレームの同順位ビットのパリ
ティチェックを行うパリティビット列からなる水平パリ
ティフレームであることを特徴とする請求項1記載の信
号伝送装置。
2. The transmission circuit and the reception circuit are composed of a one-chip microcomputer having a built-in clock synchronous serial interface, and the header frame has 15 or more'H 'level bits and 1 bit'. A header frame composed of L ′ level bits, the data frame being a data frame composed of 7 bits of data bits and 1 parity vertical parity bit of odd parity, and the parity frame having the same rank as the data frame. The signal transmission device according to claim 1, wherein the signal transmission device is a horizontal parity frame including a parity bit string for performing a parity check of bits.
JP3244132A 1991-08-30 1991-08-30 Signal transmitter Pending JPH0563753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3244132A JPH0563753A (en) 1991-08-30 1991-08-30 Signal transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3244132A JPH0563753A (en) 1991-08-30 1991-08-30 Signal transmitter

Publications (1)

Publication Number Publication Date
JPH0563753A true JPH0563753A (en) 1993-03-12

Family

ID=17114242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3244132A Pending JPH0563753A (en) 1991-08-30 1991-08-30 Signal transmitter

Country Status (1)

Country Link
JP (1) JPH0563753A (en)

Similar Documents

Publication Publication Date Title
US5438506A (en) Collective wiring system and method of control thereof
JPH0773270B2 (en) Data communication method and multiple connection system
EP0213576A2 (en) An information transmission and reception system for a vehicle
US20130097347A1 (en) System and method of transmitting data between devices connected via a bus defining a time slot during transmission for responsive output information from bus devices
ITMI981784A1 (en) DATA TRANSMISSION DEVICE
US4630233A (en) I/O scanner for an industrial control
JP3303328B2 (en) Vehicle communication device
JPH0563754A (en) Signal transmitter
JPH0563753A (en) Signal transmitter
JPH07505748A (en) Multiplexed wiring scheme using variable duration pulse width modulation
KR100411211B1 (en) Remote control signal receiving circuit
JP4141286B2 (en) Electronic device having vehicle information discrimination function and vehicle information sharing system using the same
JPH0563755A (en) Signal transmitter
US20220157096A1 (en) Vehicular control system, anomaly detection method for vehicular control system, and anomaly detection program for vehicular control system
US6349389B1 (en) Communication control system and apparatus
WO1996037984A1 (en) A digital data bus system including arbitration
JPH08221174A (en) Key input processing circuit
JPS6065645A (en) Terminal processing device
US7200510B2 (en) Measurement control apparatus including interface circuits
JPH0944798A (en) Controller for vehicle present in parking lot
JP3816643B2 (en) Disconnection monitoring system
JP2925546B2 (en) Vehicle decentering detection device
JPH03139997A (en) Communication equipment for vehicle
JP3372022B2 (en) Data communication control device
KR100272828B1 (en) Lan system of vehicle using distribution and concentration controlled method