JPS6155301B2 - - Google Patents
Info
- Publication number
- JPS6155301B2 JPS6155301B2 JP54135595A JP13559579A JPS6155301B2 JP S6155301 B2 JPS6155301 B2 JP S6155301B2 JP 54135595 A JP54135595 A JP 54135595A JP 13559579 A JP13559579 A JP 13559579A JP S6155301 B2 JPS6155301 B2 JP S6155301B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- control unit
- transmission
- central control
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
- 230000005540 biological transmission Effects 0.000 claims description 49
- 238000001514 detection method Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 description 18
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 239000000872 buffer Substances 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 5
- 238000011109 contamination Methods 0.000 description 3
- 238000004378 air conditioning Methods 0.000 description 2
- 239000003507 refrigerant Substances 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
- H04Q9/14—Calling by using pulses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Description
【発明の詳細な説明】
本発明は、中央制御部を含む室外ユニツトと、
これにつながる端末制御部を有する複数の室内ユ
ニツトより成る空調機などのマルチシステムにお
いて、各端末制御部と中央制御部との間でデイジ
タルデーターをブロツク化して伝送するデーター
伝送システムにおいて、中央制御部から送出され
るクロツクパルスに同期して全端末が同時にデー
ターの送受信を行う事によつて、各端末の状態を
一斉に認識して、中央制御部につながる圧縮機や
弁などの被制御対象の制御を全体の状態に適合し
た制御としてやりやすくなると共に、ノイズが伝
送線路に混入しやすい安価な伝送線路を用いた場
合におけるノイズ混入検出を容易ならしめるデー
ター伝送システムを提供することを目的とする。DETAILED DESCRIPTION OF THE INVENTION The present invention provides an outdoor unit including a central control unit;
In a multi-system such as an air conditioner consisting of multiple indoor units each having a terminal control unit connected to the central control unit, the central control unit By simultaneously transmitting and receiving data from all terminals in synchronization with the clock pulses sent from the controller, the status of each terminal can be recognized at the same time, and controlled objects such as compressors and valves connected to the central control unit can be controlled. An object of the present invention is to provide a data transmission system that facilitates control suitable for the overall condition, and also facilitates noise contamination detection when using an inexpensive transmission line in which noise easily contaminates the transmission line.
更にブロツク化されたデーターのブロツクの開
始を、特殊なコードなどを用いずに簡単なタイマ
ーのみで行う手段を提供することを目的とする。 Another object of the present invention is to provide a means for starting a block of blocked data using only a simple timer without using any special code.
クロツクパルスに同期してデーターを送信又は
受信する方式はいわゆる同期方式として知られて
いる。この方式では、クロツクパルスが出された
時に送信又は受信が行われるために、クロツクパ
ルスにノイズが混入した場合には誤つたデーター
が送信又は受信される。従つてこれによる誤動作
を防止するためには、受信したデーターの1ブロ
ツクについて、パリテイチエツクや返送照合など
の種々の論理チエツクを行わねばならないなどの
欠点がある。特にマルチタイプの空調機などの、
簡単な電線で伝送線を形成し、かつ圧縮機などの
大きなノイズ源をそのものにもつているようなシ
ステムでは特に大きな問題となる。 A method of transmitting or receiving data in synchronization with a clock pulse is known as a so-called synchronous method. In this method, since transmission or reception is performed when a clock pulse is issued, if noise is mixed into the clock pulse, erroneous data will be transmitted or received. Therefore, in order to prevent malfunctions caused by this, various logic checks such as parity check and return verification must be performed for each block of received data. Especially for multi-type air conditioners, etc.
This is a particularly serious problem in systems where the transmission line is made of simple electric wires and also has a large noise source such as a compressor itself.
また、1ブロツクのデーターの開始や終了の検
出には、いわゆるSOH(ブロツクの開始を示
す)とかETB(伝送ブロツクの終りを示す)な
どの一定のコードを送つて開始や終了を示す方法
が一般化されているが、これによると、コードが
これに該当するか否かの論理判定を必要とすると
ともに、伝送すべきビツト数が増加するという欠
点がある。 Additionally, to detect the start or end of one block of data, a common method is to send a certain code such as SOH (indicating the start of a block) or ETB (indicating the end of a transmission block) to indicate the start or end. However, this method requires a logical judgment as to whether or not the code corresponds to this, and has the disadvantage that the number of bits to be transmitted increases.
このように従来から知られている方式では、デ
ーター伝送処理のために多くの処理や論理判断が
必要となるために、マルチエアコンのような空調
機などの、伝送制御よりも、機器の制御の方が主
目的であるシステムに採用する場合には、コスト
アツプとなり採用することができない。 In this conventionally known method, a lot of processing and logical judgment is required for data transmission processing, so it is more difficult to control equipment than transmission control, such as air conditioners such as multi-air conditioners. If it is to be adopted in a system whose main purpose is to use the same method, the cost will increase and it cannot be adopted.
以下、本発明を1台の室外ユニツトに3台の室
内ユニツトと更に他の制御盤を有する家庭用マル
チエアコンに採用した場合の一実施例を用いて詳
細に説明する。 Hereinafter, the present invention will be described in detail using an example in which the present invention is applied to a home multi-air conditioner having one outdoor unit, three indoor units, and another control panel.
第1図は上記のシステム構成図である。 FIG. 1 is a diagram showing the configuration of the above system.
1は室外ユニツトに設けられた中央制御部で、
図に示した伝送線以外に、圧縮機や送風機、ある
いは各室内ユニツトに通じる冷媒を制御する弁な
どを各室内ユニツトの状態に応じて制御して各室
内ユニツトの空調を制御するのを主目的としてお
り、この制御のために各室内ユニツトの間で、運
転スイツチや室温などの各種データーを交信す
る。2,3,4はそれぞれ室外ユニツトと接続さ
れた室内ユニツトで、各々には前記の中央制御部
1との間でデーターを交信するとともに、室内ユ
ニツト2,3,4に設けられている機器、たとえ
ば、送風フアンや各種の表示制御するための端末
制御部が設けられている。 1 is a central control section installed in the outdoor unit;
In addition to the transmission lines shown in the diagram, the main purpose is to control the air conditioning of each indoor unit by controlling the compressor, blower, or valves that control the refrigerant flowing to each indoor unit depending on the status of each indoor unit. For this control, various data such as operating switches and room temperature are exchanged between each indoor unit. Reference numerals 2, 3, and 4 indicate indoor units connected to the outdoor units, each of which communicates data with the central control unit 1, and also includes devices installed in the indoor units 2, 3, and 4. For example, a terminal control unit for controlling a ventilation fan and various displays is provided.
また5は前記中央制御部に接続された集中制御
盤で、各室内の運転状態を表示したりすると共に
前記中央制御部1との間でデーターの交信を行う
端末制御部が設けられている。各室内ユニツト
2,3,4と室外ユニツトの間は図示した伝送線
以外に冷媒配管などの空調機として必要な接続が
なされているがここでは説明しない。 Reference numeral 5 denotes a central control panel connected to the central control unit, which is provided with a terminal control unit that displays the operating status of each room and also communicates data with the central control unit 1. In addition to the illustrated transmission lines, there are connections necessary for the air conditioner, such as refrigerant piping, between each indoor unit 2, 3, 4 and the outdoor unit, but these will not be explained here.
さて、本発明による伝送システムを構成する伝
送線は、中央制御部と一つの端末との間では、送
信線、受信線、およびデータークロツク線の3本
より成る。勿論この他に共通のグランド線なども
必要であるが、簡単のためにこれは含めない。 Now, the transmission line constituting the transmission system according to the present invention consists of three lines, a transmission line, a reception line, and a data clock line, between the central control unit and one terminal. Of course, a common ground line is also required, but this is not included for simplicity.
今、第1図において、中央制御部1と一つの室
内ユニツト2の端末制御部との間の伝送線は、中
央制御部1を中心に考えて、まず出力端S1につ
ながれた送信線SL1、これは端末制御部の入力
端に接続され、端末制御部から見ると受信線にな
るが、混乱をさけるため、以降全て中央制御部1
を主体としてながめる。 Now, in FIG. 1, the transmission lines between the central control section 1 and the terminal control sections of one indoor unit 2 are, considering the central control section 1 as the center, the transmission line SL1 connected to the output end S1, This is connected to the input terminal of the terminal control unit, and from the perspective of the terminal control unit it becomes a receiving line, but to avoid confusion, from now on all lines are connected to the central control unit 1.
Look at it as the main subject.
中央制御部1の入力端R1につながる受信線
RL1、および中央制御部1の出力端S1につな
がれたデータクロツク線CKLの3本が接続され
る。出力端CLKのパルスに同期して中央制御部
1から送信データーが出力端S1から出て端末制
御部に読み込まれると同時に端末制御部からデー
ターが出力されて中央制御部1の入力端R1に入
力される。 Receiving line connected to input terminal R1 of central control unit 1
Three data clock lines RL1 and CKL connected to the output terminal S1 of the central control unit 1 are connected. In synchronization with the pulse of the output terminal CLK, data transmitted from the central control unit 1 is output from the output terminal S1 and read into the terminal control unit, and at the same time, data is output from the terminal control unit and input to the input terminal R1 of the central control unit 1. be done.
同様に室内ユニツト3の端末制御部と中央制御
部1とは、前記端末制御部1とは独立した別の送
信線SL2と受信線RL2とが接続され、これに加
えて全体共通のデータークロツク線CKLが接続
されている。以下他の室内ユニツト4および集中
制御盤5の端末制御部と中央制御部1とは、それ
ぞれ独立した送信線SL3,SL4、および受信線
RL3,RL4が接続されており、それぞれ共通の
データークロツク線としてCKLが接続されてい
る。本発明の特徴は、全制御部に共通のデーター
クロツク線CKLが、そのクロツクパルスの送出
源である中央制御部1の入力端IRQに入れられて
いる事である。これによつて中央制御部1は自ら
出したパルス信号をチエツクすることができる。 Similarly, the terminal control section of the indoor unit 3 and the central control section 1 are connected to another transmission line SL2 and reception line RL2, which are independent of the terminal control section 1, and in addition to this, a data clock common to the entire unit is connected. Line CKL is connected. Below, the terminal control sections and central control section 1 of other indoor units 4 and centralized control panel 5 are connected to independent transmission lines SL3, SL4 and reception lines, respectively.
RL3 and RL4 are connected, and CKL is connected to each as a common data clock line. A feature of the present invention is that a data clock line CKL common to all control sections is connected to the input terminal IRQ of the central control section 1, which is the source of the clock pulses. This allows the central control section 1 to check the pulse signal it has issued.
さて、本発明によるデーター伝送システムを実
現するためには、送信データーの作成、および受
信データーの解析のために論理判断部が必要であ
り、同時に、クロツクパルスの中断時間を計測す
るためのタイマーなどが必要であるし、又、図示
しなかつたが前述のように、圧縮機や、送風フア
ンなどの種々の機器を制御するためにかなりの論
理判断、演算機能を必要とする。これらの点を考
慮すると、各制御部は、いわゆるマイクロコンピ
ユーターを用いるのが良い。マイクロコンピユー
ターとは、あらかじめ定められた制御手順に従つ
て、データを入力したり、演算したり、出力を
ON/OFFしたりすることができる集積回路素子
であり、前記の制御手順を記憶する記憶部をも1
つの集積回路素子内に集積した、1チツプマイク
ロコンピユーターのブロツク図を第2図に示す。
これは本発明を実施するに適したマイクロコンピ
ユーターであり、ROMはあらかじめ定めた制御
手順、いわゆるプログラムを記憶する記憶部であ
る。命令解析部は前記ROMに記憶されたコード
を解析する部分、RAMは一時的なデーターの記
憶部、X,Yはそれぞれレジスタ、ACCは演算
用レジスタ、ALUは論理演算ユニツト、および
出力バツフアを通して出力端S1,S2……
CLKがあり、同様に入力バツフアにつながる入
力端がある。また、IRQも入力端であり、この入
力によつて、プログラムの実行中に割込をおこし
て、それに対応する処理をさせることが出来る入
力端である。OSCはマイコン全体の動作タイミ
ングを発生する発振部であり、制御部はこれら全
体を制御するものである。また、タイマは、
OSCからの発振をカウントして、所定値になる
とTFをセツトするもので、このタイマを使うこ
とによつて所定時間を計測することができる。ま
た、シフトレジスタは、入力端CLKKに入るパル
スに同期して、シフトレジスタ内のデーターを
SOに出力すると共に入力端SIからシフトレジス
タ内に読み込む。またこのシフトレジスタ内の内
容は適当な命令によつて演算用レジスタACCに
とり入れられ記憶部RAMに格納したり、それを
論理判断、演算をすることができる。 Now, in order to realize the data transmission system according to the present invention, a logic judgment section is required to create the transmission data and analyze the reception data, and at the same time, a timer and the like to measure the interruption time of the clock pulse are required. Furthermore, although not shown in the drawings, as mentioned above, considerable logical judgment and calculation functions are required to control various devices such as the compressor and the blower fan. Considering these points, it is preferable to use a so-called microcomputer for each control section. A microcomputer is a computer that inputs data, performs calculations, and outputs data according to predetermined control procedures.
It is an integrated circuit element that can be turned on and off, and also has a memory section that stores the control procedure described above.
A block diagram of a one-chip microcomputer integrated in one integrated circuit device is shown in FIG.
This is a microcomputer suitable for implementing the present invention, and the ROM is a storage unit that stores predetermined control procedures, so-called programs. The instruction analysis section analyzes the code stored in the ROM, the RAM is a temporary data storage section, X and Y are registers, ACC is a calculation register, ALU is a logic operation unit, and output through the output buffer. Ends S1, S2...
CLK, and there is also an input terminal connected to the input buffer. Further, IRQ is also an input terminal, and by this input, an interrupt can be caused during the execution of the program, and the corresponding processing can be performed. The OSC is an oscillator that generates the operating timing for the entire microcomputer, and the control section controls all of these. Also, the timer
It counts the oscillations from the OSC and sets the TF when it reaches a predetermined value, and by using this timer, it is possible to measure a predetermined time. Also, the shift register changes the data in the shift register in synchronization with the pulse that enters the input terminal CLKK.
It is output to SO and read into the shift register from input terminal SI. Further, the contents in this shift register can be taken into the calculation register ACC by an appropriate command and stored in the storage RAM, or can be subjected to logical judgments and calculations.
また、シフトカウンタは、入力端CLKKに入力
されるパルスが所定値になればSFをセツトし、
シフトレジスタにデーターが一杯になつた事を示
す。 In addition, the shift counter sets SF when the pulse input to the input terminal CLKK reaches a predetermined value.
Indicates that the shift register is full of data.
以上のようなマイクロコンピユーターを本発明
の中央制御部1として用いる場合には、各端末制
御部への送信線SL1,SL2……SL4は適当なバ
ツフアを介して出力端S1,S2……S4に接続
し、各端末制御部からの受信線RL1,RL2,…
…は適当なバツフアを介して入力端子R1,R
2,……に接続する。そしてクロツクデーター線
CKLは同じく適当なバツフアを介して出力端
CLKに接続するとともに割込用の入力端IRQにも
接続すると良い。 When a microcomputer as described above is used as the central control unit 1 of the present invention, the transmission lines SL1, SL2...SL4 to each terminal control unit are connected to the output terminals S1, S2...S4 via appropriate buffers. Connect and receive lines RL1, RL2,... from each terminal control unit.
... are input terminals R1 and R through a suitable buffer.
2. Connect to... and clock data line
CKL is also connected to the output terminal via a suitable buffer.
It is best to connect it to CLK and also to the interrupt input terminal IRQ.
また、端末制御部として用いる場合には、中央
制御部1からの送信線SLは、端末制御部では入
力となるので、シフトレジスタの入力端SIに接続
し、中央制御部1の受信線RLは端末制御部の出
力であるから、シフトレジスタの出力端SOに接
続する。そしてデータークロツク線CKLは、シ
フトレジスタのシフトクロツク入力端であるとこ
ろのCLKKに接続するときわめて好都合である。
すなわち、データークロツク線CKLのパルスに
同期してデーターがシフトレジスタから出力され
ると同時に入力端SIから読み込まれ、シフトレジ
スタが一杯になればSFが1になるのでこの時に
シフトレジスタのデーターを論理判断をし、また
新たな送出データーをシフトレジスタにセツトす
れば良い。 When used as a terminal control section, the transmission line SL from the central control section 1 becomes an input in the terminal control section, so it is connected to the input terminal SI of the shift register, and the reception line RL of the central control section 1 is connected to the input terminal SI of the shift register. Since it is the output of the terminal control section, connect it to the output terminal SO of the shift register. It is very convenient to connect the data clock line CKL to CLKK, which is the shift clock input terminal of the shift register.
In other words, data is output from the shift register in synchronization with the pulse of the data clock line CKL, and is read from the input terminal SI at the same time. When the shift register is full, SF becomes 1, so the data in the shift register is read at this time. All you have to do is make a logical judgment and set new transmission data in the shift register.
さて、本発明によるデーター伝送の中央制御部
におけるタイムシーケンスを第3図に示す。第3
図は室内ユニツト1の端末制御部とのやりとりだ
けを示している。S1は送信線SL1の信号、R
1は受信線RL1の信号、CLKはデータークロツ
ク線CKLの信号、IRQは同じくデータークロツク
線CKLが接続された入力信号を示す。 Now, FIG. 3 shows a time sequence in the central control unit for data transmission according to the present invention. Third
The figure only shows the interaction with the terminal control section of the indoor unit 1. S1 is the signal of transmission line SL1, R
1 indicates a signal on the receiving line RL1, CLK indicates a signal on the data clock line CKL, and IRQ indicates an input signal to which the data clock line CKL is also connected.
中央制御部1は先ず送信データーを出力端S1
にセツトした後出力端CLKを1にすると、室内
ユニツト1の端末制御部に読み込まれると同時に
受信線RL1にデーターが送られてくる。クロツ
クパルスをφにした後この受信データーを読み、
以降同様にほぼ一定の周期taでこれを繰返す。
そして所定個数のデーター伝送が終ると1ブロツ
クが終了して次の1ブロツクの送信を始める前に
開始時間tbのあいだクロツクパルスをφにした
ままにする。このように周期ta、開始時間tbの
時間は内蔵のタイマーを用いることによつて容易
に計測することができる。以下開始時間tbが経
過した後、次のブロツクの転送が同様にして始
り、データーのセツトとクロツクパルスの送出、
データーの読込を行う。これらの動作中常に入力
端IRQの状態を監視しておく事が本発明の特徴で
ある。すなわち、図のA点以外の部分では自分が
出力した出力端CLKと、データーブロツク線
CKLを読み込む入力端IRQとは全く同一タイミン
グで変化しているのでデータークロツク線CKL
にはノイズが混入していないと論理判断を行う。
ところが、図のAの時点では、自らの出力端
CLKの信号はφのままなのにそれの入力端IRQの
信号は1になつている。これは何らかのノイズが
データークロツク線CKLに混入したと論理判定
をして直ちにデーターの送出を打切つて、次の新
たな1ブロツクを送出するための開始時間tbの
クロツクパルス休止を行う。 The central control unit 1 first sends the transmission data to the output terminal S1.
When the output terminal CLK is set to 1, the data is read into the terminal control section of the indoor unit 1 and simultaneously sent to the reception line RL1. After setting the clock pulse to φ, read this received data,
Thereafter, this process is repeated at a substantially constant period t a .
When a predetermined number of data transmissions are completed, one block is completed and the clock pulse is kept at φ for a starting time t b before starting transmission of the next one block. In this way, the period t a and the start time t b can be easily measured by using the built-in timer. After the start time t b has elapsed, the transfer of the next block begins in the same way, setting data and sending clock pulses.
Read data. A feature of the present invention is that the state of the input terminal IRQ is constantly monitored during these operations. In other words, in the part other than point A in the diagram, the output terminal CLK that you output and the data block line
The data clock line CKL changes at exactly the same timing as the input terminal IRQ that reads CKL.
A logical judgment is made that there is no noise mixed in.
However, at point A in the diagram, its own output terminal
Although the CLK signal remains φ, the signal at its input terminal IRQ has become 1. This logically determines that some kind of noise has entered the data clock line CKL, immediately terminates data transmission, and suspends the clock pulse at the start time tb for transmitting the next new block.
第4図ならびに第5図は上述した中央制御部1
の制御シーケンスを示すフローチヤートである。
第4図において、開始点から、マイクロコンピユ
ーターの初期値のセツトや出力のセツトなどをし
たのち、内蔵タイマーに開始時間tbをセツトし
てタイマーを動作させる(a)。その後Cにおい
てtbの時間が経過するまでの間、伝送以外の処
理たとえば圧縮機などの制御を行う(b)。そし
てCにおいて、tb時間経過したならばdで送信
すべき1ブロツクのデーター数をカウントするカ
ウンターをリセツトしてeにおいて第1番目のデ
ーターをS1にセツトしてfにおいてクロツクパ
ルスを1にする。そしてgでタイマーにtaをセ
ツトしてタイマを動作させ、iでR1の受信デー
ターを読み込んで、送信データー数のカウンタに
1を加え(j)kにおいてその数から1ブロツク
の終了か否かを判定し、終了の場合はaにもど
る。未終了の場合にはlにおいてtaの時間待つ
た後にeに行つて次のデーターの送信をくり返
す。 FIG. 4 and FIG. 5 show the above-mentioned central control unit 1.
3 is a flowchart showing a control sequence of FIG.
In FIG. 4, after setting the initial values of the microcomputer and setting the output from the starting point, a start time t b is set in the built-in timer and the timer is operated (a). Thereafter, processing other than transmission, such as controlling the compressor, is performed until time t b elapses at C (b). Then, at C, when time t b has elapsed, at d the counter for counting the number of data in one block to be transmitted is reset, at e the first data is set in S1, and at f the clock pulse is set to 1. Then, at g, set t a in the timer and operate the timer, and at i, read the received data of R1, add 1 to the counter for the number of transmitted data, and (j) check from that number whether one block is completed or not at k. is determined, and in the case of completion, returns to a. If it has not been completed, wait at l for the time t a and then go to e to repeat the transmission of the next data.
これら一連の動作中、入力端IRQが1になつた
時に割込動作が生じるようにしておけば、入力端
IRQが1になる毎に第5図のフローチヤートに示
す制御手順が実行される。即ち、mにおいてこの
時点で自ら出力端CLKの信号を1にしたか否か
(即ち第4図のfを実行した瞬間であるか否か)
を判定し、もしそうならnの正常の動作であるか
ら割込から復帰する。ところが自らが出力端
CLKを1にしていないのにここに来た場合には
ノイズによつて出力端CLKが1になつたと判定
して異常(o)の処理を行つて第4図のaにもど
つて新たなブロツク伝送に入れば良い。 During this series of operations, if the interrupt operation is made to occur when the input terminal IRQ becomes 1, the input terminal
Each time the IRQ becomes 1, the control procedure shown in the flowchart of FIG. 5 is executed. That is, whether or not the signal at the output terminal CLK was set to 1 at this point in time at m (that is, whether it was the moment when f in Figure 4 was executed).
If so, it is normal operation of n and returns from the interrupt. However, it is the output end
If this occurs even though CLK has not been set to 1, it is determined that the output terminal CLK has become 1 due to noise, the abnormality (o) process is performed, and the process returns to a in Figure 4. Just go into transmission.
これに対応して端末制御部においては、第6図
に示した処理手順を示すフローチヤートに沿つて
説明すると、開始点から出力をリセツトするなど
の必要な初期化の処理を行つた後イにおいて、1
ブロツクのデーター数をカウントするためのデー
ターカウンタをリセツトし、ロにおいて、シフト
レジスタに送出すべきデーターをセツトし、ハで
内部タイマーにリセツト時間tcをセツトしたの
ち、ニにおいて伝送以外の処理、たとえば送風フ
アンの制御などを行い、ホにおいてシフトレジス
タが一杯になつたか否かをSFによつて判定す
る。一杯になつておればヘにおいてそのデーター
を読み込んで適当な記憶部に記憶し、トでデータ
ーカウンタに1を加えて、ロにもどつて次のデー
ターをセツトするとともにハで再びタイマーにt
cをセツトする。 Correspondingly, in the terminal control section, following the flowchart showing the processing procedure shown in FIG. 6, after performing necessary initialization processing such as resetting the output from the starting point, ,1
After resetting the data counter for counting the number of data in the block, setting the data to be sent to the shift register in step B, and setting the reset time tc in the internal timer in step C, processing other than transmission is performed in step D. For example, a blower fan is controlled, and in E, it is determined by SF whether the shift register is full. If it is full, read the data in F and store it in a suitable storage section, add 1 to the data counter in T, return to B to set the next data, and set t to the timer again in C.
Set c .
ホにおいてシフトレジスタが一杯になつていな
い時には、tcの時間が経過したか否かを判定
し、もし未経過ならばニにもどる。ところがtc
時間経過しておけば、以前にデーターを受けとつ
てからtc時間たつたということであるら、ta<
tc<tbなる関係に設定しておけば、中央制御部
はtbの開始時間待ちに入つたと判定し、1ブロ
ツク分の終了と判定してリにゆく、ここで、デー
ターカウンタの値をチエツクして、それが1ブロ
ツク分の値に等しければ1ブロツクのデーターが
正常に交信できたと判定してヌにおいてそれらの
データーを処理したのち、新たな1ブロツクの交
信にそなえてイにもどる。 If the shift register is not full in E, it is determined whether the time t c has elapsed or not, and if it has not elapsed, the process returns to D. However, t c
If time has elapsed, it means that t c time has passed since the data was received previously, then t a <
If the relationship is set such that t c < t b , the central control unit determines that it has entered the waiting time for the start time of t b , determines that one block has been completed, and goes to the next step. Here, the data counter is Check the value, and if it is equal to the value for one block, it is determined that one block of data has been successfully communicated, and after processing that data in N, it returns to Step 1 in preparation for communication of one new block. Return.
ところがリにおいて、1ブロツク分のデーター
数と一致しなければ、前述第3図のAで起つたよ
うなノイズによる中断であると判定されるので、
データーの処理を行わずにイにもどつて次の1ブ
ロツクの開始にそなえる。 However, if the number of data does not match the number of data for one block, it is determined that the interruption is due to noise like the one that occurred at A in FIG.
It returns to step 1 without processing the data and prepares for the start of the next block.
このように端末制御部では、リセツト時間tcを
監視するだけで1ブロツクの開始、および終了を
検出することができるので非常に簡単である。そ
して、1ブロツクのデーター数をカウントするだ
けで、1ブロツクのデーターの良否を判定できる
ので極めて簡単な論理判断構成とすることができ
るので端末制御部は伝送に要する処理が軽減され
る。また中央制御部においても、ノイズ混入の検
出を行うのでデーター伝送の信頼性が向上する。 In this way, the terminal control section can detect the start and end of one block simply by monitoring the reset time tc, which is very simple. Since the quality of one block of data can be judged by simply counting the number of data in one block, an extremely simple logical judgment configuration can be achieved, and the processing required for transmission in the terminal control section is reduced. Furthermore, the reliability of data transmission is improved because noise contamination is detected in the central control unit as well.
また、1つのデータークロツク線で全ての端末
制御部と同時にデーター交換ができるので、全端
末の状況に最も適合した制御を行うことができ
る。すなわち、マルチエアコンのように、1台の
圧縮機に複数の室内ユニツトが接続されているよ
うなシステムでは、圧縮機の制御はその時点の室
内ユニツト全ての状態を考慮して制御する必要が
ある。従つて、もしも各室内ユニツトの状態が順
次にしか認識できないような伝送システムでは、
全室内ユニツトのデーターが収集できるまで制御
が行えないので圧縮機や他の制御が遅れて不都合
が生じる。 Furthermore, since data can be exchanged simultaneously with all terminal control units using one data clock line, control can be performed that best suits the conditions of all terminals. In other words, in systems such as multi-air conditioners where multiple indoor units are connected to one compressor, the compressor must be controlled taking into account the status of all indoor units at that time. . Therefore, in a transmission system where the status of each indoor unit can only be recognized sequentially,
Since control cannot be performed until data from all indoor units can be collected, the control of the compressor and other equipment may be delayed, causing inconvenience.
本発明の効果を次に列挙する。 The effects of the present invention are listed below.
(1) 中央制御部と各端末制御部とは三本の伝送線
の結合だけで良い。(1) The central control unit and each terminal control unit only need to be connected by three transmission lines.
(2) ノイズ混入を判定するのでデーターの信頼性
が向上する。(2) The reliability of data is improved because noise contamination is determined.
(3) ta<tc<tdなる関係を設けているので1
ブロツクのデーターの開始が容易に検出するこ
とができる。(3) Since the relationship t a < t c < t d is established, 1
The start of data in a block can be easily detected.
(4) 中央制御部は同時に各端末の状況を受信する
ことができるので、マルチ空調システムのよう
な全体の端末の状況に適合した制御を行うよう
な場合にはきわめて好都合である。(4) Since the central control unit can receive the status of each terminal at the same time, this is extremely convenient in cases where control is adapted to the status of the entire terminal, such as in a multi-air conditioning system.
第1図は本発明の一実施例におけるデーター伝
送システムをマルチエアコンに採用した場合の伝
送部のシステム構成図、第2図は本発明を実施す
るに適したマイクロコンピユーターの一例を示す
構成図、第3図は本発明の一実施例の中央制御部
における伝送データーのタイムチヤート図、第4
図、第5図はそれぞれ本発明の一実施例の中央制
御部における制御手順の一例を示すフローチヤー
ト図、第6図は本発明の一実施例の端末制御部に
おける制御手順の一例を示すフローチヤート図で
ある。
1……室外ユニツトに設けられた中央制御部、
2,3,4……端末制御部を含む室内ユニツト、
5……端末制御部を含む集中制御盤、CKL……
データークロツク線、IRQ……中央制御部の入力
端。
FIG. 1 is a system configuration diagram of a transmission section when a data transmission system according to an embodiment of the present invention is adopted in a multi-air conditioner, and FIG. 2 is a configuration diagram showing an example of a microcomputer suitable for implementing the present invention. FIG. 3 is a time chart of transmission data in the central control unit according to an embodiment of the present invention;
5 and 5 are flowcharts showing an example of the control procedure in the central control unit according to an embodiment of the present invention, and FIG. 6 is a flowchart showing an example of the control procedure in the terminal control unit according to the embodiment of the present invention. It is a chart diagram. 1... central control section provided in the outdoor unit,
2, 3, 4...indoor unit including a terminal control unit,
5... Centralized control panel including terminal control unit, CKL...
Data clock line, IRQ...Input terminal of central control unit.
Claims (1)
御部より成るデーター伝送システムにおいて、前
記各端末制御部と前記中央制御部とを各々独立し
た送信線ならびに受信線とによつて結合し、更
に、前記送・受信線上のデータの有効性を示すク
ロツクパルスを伝送するデータクロツク線を設
け、該データークロツク線は、前記中央制御部の
出力端と、各端末制御部の入力端に共通に結合す
ると共に前記中央制御部の入力端子にも結合する
構成とし、前記各端末制御部は、前記データーク
ロツク線を介して前記中央制御部から送られて来
るクロツクパルスに同期して前記送信線・受信線
上にデーターを送出・受信する送受信部と、前記
クロツクパルスの数を計数するデータ数カウンタ
と、前記クロツクパルスが所定のリセツト時間
(tc)の間中断した事を検出し、1ブロツクのデ
ーター伝送の終了を判定するブロツク終了検出部
と、前記ブロツク終了検出部が1ブロツクの伝送
の終了を検出した時に前記データ数カウンタが、
あらかじめ定められた1ブロツクのデーター数に
等しいか否かを判定する誤り検出部と、より成る
と共に前記中央制御部は、あらかじめ定められた
データー数より成る1ブロツクのデーターの交信
の開信にあたつて、所定の開始時間tbの間前記
クロツクパルスの送出を中断し、その後、ほぼ一
定の周期taでクロツクパルスを送出するととも
に、前記ta,tb,tcの間にはta<tc<tbな
る関係を保つ制御を行うデーター送出部と、前記
中央制御部の入力端に入力されるクロツクパルス
と、前記中央制御部自らが出力したクロツクパル
スとを比較する事により、前記データークロツク
パルス線上にノイズが混入した事を検出するノイ
ズ検出部と、前記ノイズ検出部がノイズを検出し
た時に、クロツクパルスの送出を停止し、再び1
ブロツクのデーター伝送を、時間の間のクロツク
パルス送出中断を含む最初からやり直すように前
記データー送出部に指令する誤り検出部とより成
るデーター伝送システム。1. In a data transmission system consisting of a central control unit and a plurality of terminal control units connected to the central control unit, each terminal control unit and the central control unit are coupled through independent transmission lines and reception lines, and further, A data clock line is provided for transmitting a clock pulse indicating the validity of data on the transmitting/receiving line, and the data clock line is commonly coupled to an output terminal of the central control unit and an input terminal of each terminal control unit. and is also connected to an input terminal of the central control section, and each of the terminal control sections operates the transmission line/reception terminal in synchronization with a clock pulse sent from the central control section via the data clock line. A transmitter/receiver section that sends and receives data on the line, a data number counter that counts the number of clock pulses, and a data counter that detects that the clock pulse is interrupted for a predetermined reset time (t c ) and controls the transmission of one block of data. a block end detection section that determines the end; and when the block end detection section detects the end of transmission of one block, the data number counter;
an error detection section that determines whether or not the number of data in one block is equal to a predetermined number of data; Then, the transmission of the clock pulse is interrupted for a predetermined start time t b , and thereafter, the clock pulse is transmitted at a substantially constant period t a , and between the t a , t b , and t c , t a < A data sending unit performs control to maintain the relationship t c < t b , and the data clock is determined by comparing the clock pulses input to the input terminal of the central control unit and the clock pulses output by the central control unit itself. A noise detecting section detects that noise has entered the clock pulse line, and when the noise detecting section detects noise, it stops sending out the clock pulse and restarts the clock pulse line.
A data transmission system comprising: an error detection section for instructing said data transmission section to restart the data transmission of a block from the beginning including interruption of clock pulse transmission for an interval of time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13559579A JPS5658390A (en) | 1979-10-19 | 1979-10-19 | Data transmitting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13559579A JPS5658390A (en) | 1979-10-19 | 1979-10-19 | Data transmitting system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5658390A JPS5658390A (en) | 1981-05-21 |
| JPS6155301B2 true JPS6155301B2 (en) | 1986-11-27 |
Family
ID=15155486
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13559579A Granted JPS5658390A (en) | 1979-10-19 | 1979-10-19 | Data transmitting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5658390A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59177648U (en) * | 1983-05-16 | 1984-11-28 | 大旭建機株式会社 | concrete vibrator |
-
1979
- 1979-10-19 JP JP13559579A patent/JPS5658390A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5658390A (en) | 1981-05-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0616176B1 (en) | System for receiving HVAC control information | |
| EP0969629A2 (en) | System and method for sharing resources among a plurality of host computers | |
| US5657005A (en) | Operation of a system using a remote control | |
| US20170082309A1 (en) | Air-conditioning system | |
| JPS6155301B2 (en) | ||
| JP3379357B2 (en) | air conditioner | |
| JP3675424B2 (en) | air conditioner | |
| JP4023488B2 (en) | air conditioner | |
| JPH0416686B2 (en) | ||
| JP3402667B2 (en) | Air conditioner | |
| JPH02104197A (en) | Serial signal transmitting equipment | |
| JPS62200127A (en) | Control method for air conditioning device | |
| JP3089845B2 (en) | Operation control device for air conditioner | |
| JPH02311099A (en) | Malfunction prevention control system | |
| JPH076663B2 (en) | Air conditioner | |
| JPS62105595A (en) | Remote control system | |
| JPS60165895A (en) | Remote control system | |
| JP2022119558A (en) | Address setting system, air conditioning system, and address setting method | |
| JPH0670517B2 (en) | Air conditioner | |
| KR930008565B1 (en) | Operating control method of machinery | |
| JPH071118B2 (en) | Air conditioner | |
| JPH04155144A (en) | Operation controller of air conditioner | |
| JPS61231342A (en) | Control of air conditioner | |
| JP2598063B2 (en) | Control method of air conditioner | |
| CN114333286A (en) | Air conditioner remote control signal testing device, system and method |