JP3282278B2 - Communications system - Google Patents

Communications system

Info

Publication number
JP3282278B2
JP3282278B2 JP06606493A JP6606493A JP3282278B2 JP 3282278 B2 JP3282278 B2 JP 3282278B2 JP 06606493 A JP06606493 A JP 06606493A JP 6606493 A JP6606493 A JP 6606493A JP 3282278 B2 JP3282278 B2 JP 3282278B2
Authority
JP
Japan
Prior art keywords
pulse
signal
wake
saving mode
power saving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP06606493A
Other languages
Japanese (ja)
Other versions
JPH06261100A (en
Inventor
啓二 野村
松本  孝
聡 国岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP06606493A priority Critical patent/JP3282278B2/en
Publication of JPH06261100A publication Critical patent/JPH06261100A/en
Application granted granted Critical
Publication of JP3282278B2 publication Critical patent/JP3282278B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、自動車搭載時などに
おけるバッテリー負荷の軽減を目的とした省電力モード
を有する多重通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex communication system having a power saving mode for reducing a load on a battery when mounted on an automobile.

【0002】[0002]

【従来の技術】この種の従来の通信システムとして、例
えば図8および図9に示す車載用多重通信システムがあ
る。 子局310は親局300に従属する端末局であ
り、子局310は親局300から通信線318を介して
アクセスされて、親局300からの送信データを受信
し、受信されたデータに基づき動作を決定する。省電力
モードは、親局や子局においてそれぞれの発振回路その
他の動作を休止させるスリープ動作により実現されるも
のとなっており、親局300が送信権およびスリープの
実行と解除の制御権を持っている。
2. Description of the Related Art As a conventional communication system of this kind, there is, for example, an in-vehicle multiplex communication system shown in FIGS. The slave station 310 is a terminal station subordinate to the master station 300, and the slave station 310 is accessed from the master station 300 via the communication line 318, receives transmission data from the master station 300, and based on the received data. Determine the action. The power saving mode is realized by a sleep operation in which the operation of each oscillation circuit or the like is suspended in the master station or slave station, and the master station 300 has a transmission right and a control right to execute and cancel sleep. ing.

【0003】一方、親局300と子局310がスリープ
動作中にある場合、子局310は該子局における入力変
化が発生した場合に、スリープ動作の解除を要求するウ
ェークアップパルスを送信し、親局300はこのウェイ
クアップパルスを受信したときには、スリープ動作を解
除するようになっている。
On the other hand, when the master station 300 and the slave station 310 are in a sleep operation, the slave station 310 transmits a wake-up pulse requesting cancellation of the sleep operation when an input change occurs in the slave station, and When the station 300 receives the wake-up pulse, the station 300 cancels the sleep operation.

【0004】まず親局の構成を説明する。 親局300
は、通信線318からのデータであるパルス信号を受信
する受信バッファ301を備え、この受信バッファ30
1は受信したパルス信号を論理回路の論理値に変換す
る。受信バッファ301には、バッファ抵抗R2および
R3が付設されて、親局300と子局310が送信動作
中にない場合に受信バッファ301が誤動作しないよ
う、固定バイアスが与えられ、受信バッファ301の入
力を安定させるようになっている。
First, the configuration of the master station will be described. Master station 300
Is provided with a reception buffer 301 for receiving a pulse signal which is data from the communication line 318.
1 converts the received pulse signal into a logic value of a logic circuit. The receiving buffer 301 is provided with buffer resistors R2 and R3. A fixed bias is applied to the receiving buffer 301 so that the receiving buffer 301 does not malfunction when the master station 300 and the slave station 310 are not transmitting. Is to be stabilized.

【0005】受信バッファ301を介して入力された受
信データは、送受信レジスタ303に保持される。この
送受信レジスタ303は、送信時においては送信データ
を保持する。スリーステートの送信バッファ302が、
送受信レジスタ303からの論理値データを電圧値に変
換して通信線318に送出する。
[0005] The received data input via the receiving buffer 301 is held in a transmission / reception register 303. The transmission / reception register 303 holds transmission data at the time of transmission. The three-state transmission buffer 302
The logic value data from the transmission / reception register 303 is converted into a voltage value and transmitted to the communication line 318.

【0006】さらに、モノマルチ回路からなるパルス検
知回路306が設けられ、受信バッファ301からの受
信データが入力されて、子局310から発せられるウェ
イクアップパルスを検知し、検知出力パルスを出力す
る。この検知出力パルスは、抵抗R1とコンデンサC1
による時定数によりそのパルス幅が設定される。
Further, a pulse detection circuit 306 composed of a mono-multi circuit is provided, receives the received data from the reception buffer 301, detects a wake-up pulse emitted from the slave station 310, and outputs a detection output pulse. This detection output pulse includes a resistor R1 and a capacitor C1.
The pulse width is set by the time constant of

【0007】ラッチ回路307が、パルス検知回路30
6の検知出力パルスをトリガ信号として、受信バッファ
301からの受信データをラッチし、ウェイクアップパ
ルスのパルス幅を検知して、制御部304とカウンタ3
08に対しウェイクアップ検出信号を出力しウェイクア
ップパルスの入力を通知する。併せてラッチ回路307
は、発振回路305に対し一時的に発振動作を再開する
ようORゲート320を介して指示する。発振回路30
5は発振子309に基づき所定周期のクロックを出力す
る。
[0007] The latch circuit 307 is
6 is used as a trigger signal to latch received data from the receiving buffer 301, detect the pulse width of the wake-up pulse, and
08 to output a wake-up pulse to notify the input of a wake-up pulse. In addition, the latch circuit 307
Instructs the oscillation circuit 305 to temporarily resume the oscillation operation via the OR gate 320. Oscillation circuit 30
5 outputs a clock of a predetermined cycle based on the oscillator 309.

【0008】制御部304は、送受信動作の制御とスリ
ープ動作の実行および解除を決定する機能を有し、発振
回路305からの動作クロックの供給を受けるととも
に、制御部304から停止信号を発して、発振回路30
5の発振動作を一時的に停止させる機能を有している。
The control unit 304 has a function of controlling the transmission / reception operation and determining whether to execute or cancel the sleep operation. The control unit 304 receives an operation clock from the oscillation circuit 305 and issues a stop signal from the control unit 304. Oscillation circuit 30
5 has a function of temporarily stopping the oscillation operation.

【0009】カウンタ308はウェイクアップ検出信号
をカウントし、ノイズ排除のため所定回数ウェイクアッ
プ検出信号が入力されて制御部304にカウントアップ
信号を出力する。カウンタ308にはタイマー317が
付設され、受信されるウェイクアップ検出信号の周期を
監視し、あらかじめ設定された所定時間よりウェイクア
ップ検出信号周期が長い場合には、ORゲート330を
介してカウンタ308にリセットをかける。
The counter 308 counts the wake-up detection signal, receives the wake-up detection signal a predetermined number of times for noise elimination, and outputs a count-up signal to the control unit 304. The counter 308 is provided with a timer 317, which monitors the cycle of the received wake-up detection signal. If the wake-up detection signal cycle is longer than a predetermined time, the counter 308 is sent to the counter 308 via the OR gate 330. Apply a reset.

【0010】次に、子局310においては、通信線との
入出力に、上記親局のものに対応する機能を有する受信
バッファ311とバッファ抵抗R4およびR5、ならび
に送信バッファ312が設けられている。さらにウェイ
クアップパルスを発生させるモノマルチ回路のパルス発
生回路314と、コマンド判定回路313が設けられて
いる。
Next, in the slave station 310, a reception buffer 311 having functions corresponding to those of the master station, buffer resistors R4 and R5, and a transmission buffer 312 are provided for input / output with the communication line. . Further, a pulse generation circuit 314 of a mono-multi circuit for generating a wake-up pulse and a command determination circuit 313 are provided.

【0011】受信バッファ311を介して入力された受
信データは、コマンド判定回路313に入力され、コマ
ンド判定回路はスリープ動作の実行を指令するコマンド
フレームを受信したとき、パルス発生回路314の入力
トリガ信号をラッチするラッチ回路315のリセットを
解除して、ウェイクアップパルス出力可能の状態にす
る。パルス発生回路314のウェイクアップパルスのパ
ルス幅は、抵抗R6とコンデンサC2による時定数で設
定され、パルス周期は抵抗R7とコンデンサC3による
時定数により設定される。
The reception data input via the reception buffer 311 is input to a command determination circuit 313. When the command determination circuit receives a command frame instructing execution of a sleep operation, the command determination circuit 313 receives an input trigger signal of the pulse generation circuit 314. Of the latch circuit 315 that latches the wake-up pulse is released. The pulse width of the wake-up pulse of the pulse generation circuit 314 is set by the time constant of the resistor R6 and the capacitor C2, and the pulse cycle is set by the time constant of the resistor R7 and the capacitor C3.

【0012】入力変化検知回路316が、子局に接続さ
れた外部スイッチ327の状態変化を検知するため設け
られ、外部スイッチ327に状態変化があった場合に
は、ラッチ回路315にラッチをかけて、パルス発生回
路314にウェイクアップパルスを出力させる。パルス
発生回路314からのウェイクアップパルスは、送信バ
ッファから312を経て通信線へ送出される。
An input change detection circuit 316 is provided to detect a change in the state of the external switch 327 connected to the slave station, and when the state of the external switch 327 changes, the latch circuit 315 is latched. , Causing the pulse generation circuit 314 to output a wake-up pulse. The wake-up pulse from the pulse generation circuit 314 is transmitted from the transmission buffer to the communication line via 312.

【0013】上記構成における省電力モードの実行から
ウェイクアップパルスによる省電力モードの解除までの
動作について、次に説明する。まず、親局300におい
て、制御部304が省電力モードを実行するためのコマ
ンドデータを送受信レジスタ303に設定し、コマンド
データが送信バッファ302から通信線上へ送出され
る。その後、制御部303は、ラッチ回路307とカウ
ンタ308の初期化を行なうため、リセット信号を解除
側に固定する一方、送信バッファ302をハイインピー
ダンス状態にする。 そして、ORゲート330を介し
て発振回路305へ停止信号を送り発振動作を停止さ
せ、スリープ状態となる。
The operation from the execution of the power saving mode in the above configuration to the release of the power saving mode by the wake-up pulse will be described below. First, in the master station 300, the control unit 304 sets command data for executing the power saving mode in the transmission / reception register 303, and the command data is transmitted from the transmission buffer 302 to the communication line. After that, the control unit 303 fixes the reset signal on the release side to initialize the latch circuit 307 and the counter 308, and sets the transmission buffer 302 to a high impedance state. Then, a stop signal is sent to the oscillation circuit 305 via the OR gate 330 to stop the oscillation operation, and the device enters a sleep state.

【0014】子局310は、通信線318を介して入力
するコマンドデータを受信バッファ311に受信し、コ
マンド判定回路313でコマンドデータを判定する。省
電力モードの実行を要求するコマンドデータと判定され
ると、スリープ状態となり、そのコマンド判定回路の出
力によりラッチ回路315のクリア信号が解除され、外
部スイッチ327 の状態変化の検知信号をラッチ可能
な状態となる。
The slave station 310 receives command data input via the communication line 318 into the reception buffer 311, and the command determination circuit 313 determines the command data. When it is determined that the command data requires execution of the power saving mode, the sleep state is set, the clear signal of the latch circuit 315 is released by the output of the command determination circuit, and the detection signal of the state change of the external switch 327 can be latched. State.

【0015】入力変化検知回路316が外部スイッチ3
27の変化を検知すると、ラッチ回路315にスイッチ
変化のあったことが保持され、パルス発生回路314か
らウェイクアップパルスを出力させ、送信バッファ31
2を介してパルス信号が通信線へ送出される。
The input change detection circuit 316 is connected to the external switch 3
27, the latch circuit 315 holds the change of the switch, causes the pulse generation circuit 314 to output a wake-up pulse, and outputs the wake-up pulse.
The pulse signal is transmitted to the communication line via the communication line 2.

【0016】親局300は、受信バッファ301にウェ
イクアップパルスを受信すると、パルス検知回路306
がトリガ信号をラッチ回路307に与える。ラッチ回路
307はこのトリガ信号によりウェイクアップパルスを
ラッチし、ウェイクアップパルスを検知すると発振回路
305に対しその発振動作を再開させるとともに、ウェ
イクアップ検出信号を制御部304とカウンタ308に
送る。発振回路305は発振動作が安定した後、制御部
304にクロックを供給する。
When the master station 300 receives the wake-up pulse in the reception buffer 301, the pulse detection circuit 306
Supplies a trigger signal to the latch circuit 307. The latch circuit 307 latches the wake-up pulse in response to the trigger signal, and upon detecting the wake-up pulse, causes the oscillation circuit 305 to resume its oscillating operation and sends a wake-up detection signal to the control unit 304 and the counter 308. The oscillation circuit 305 supplies a clock to the control unit 304 after the oscillation operation is stabilized.

【0017】制御部304は、ラッチ回路307をリセ
ットし、2パルス以後のウェイクアップ検出信号の検出
に備える。カウンタ308は、2パルス以降のウェイク
アップ検出信号を検出するごとにカウントを繰り返し、
所定回数カウントすると、カウントアップ信号を出力し
て、制御部304はスリープ状態を解除する。制御部3
04は、親局のスリープ状態を解除後、子局のスリープ
状態の解除を指令するコマンドデータを送受信レジスタ
303に設定して、送信バッファ302から通信線経由
子局に向け送信する。
The control unit 304 resets the latch circuit 307 and prepares for detection of a wake-up detection signal after two pulses. The counter 308 repeats counting every time a wakeup detection signal after two pulses is detected,
After counting the predetermined number of times, the control unit 304 outputs a count-up signal and releases the sleep state. Control unit 3
In step 04, after releasing the sleep state of the master station, command data for instructing release of the sleep state of the slave station is set in the transmission / reception register 303 and transmitted from the transmission buffer 302 to the slave station via the communication line.

【0018】[0018]

【発明が解決しようとする課題】このような従来の多重
通信システムにおいては、上述のように2パルス目以降
のウェイクアップ検出信号を検出するために、ラッチ回
路307の初期化が必要である。 しかしながら、発振
回路の発振動作が安定するまで制御部は動作できないた
め、発振動作安定待ちの間はラッチ回路の初期化ができ
ず、2パルス目のウェイクアップパルスは発振動作安定
後に受信されるように設定される必要がある。すなわ
ち、発振動作安定時間とウェイクアップパルス周期の関
係が、 発振安定時間<ウェイクアップパルス周期 となるように、ウェイクアップパルスの周期を長くしな
ければならないが、そのためには、子局側のパルス発生
回路の時定数を大きくする必要がある。
In such a conventional multiplex communication system, the latch circuit 307 needs to be initialized in order to detect the wake-up detection signal after the second pulse as described above. However, since the control unit cannot operate until the oscillation operation of the oscillation circuit is stabilized, the latch circuit cannot be initialized during the oscillation operation stabilization wait time, and the second wake-up pulse is received after the oscillation operation is stabilized. Must be set to That is, the cycle of the wake-up pulse must be lengthened so that the relationship between the oscillation stabilization time and the wake-up pulse cycle is as follows: oscillation stabilization time <wake-up pulse cycle. It is necessary to increase the time constant of the generating circuit.

【0019】この結果、時定数を決定する抵抗値とコン
デンサ容量が大きくなって、コストの上昇のほか、とく
に車載用ではその使用環境としての温度や湿度などの変
化によって、ウェイクアップパルス周期の精度維持が困
難となるなど、信頼性上の問題を招くことになる。
As a result, the resistance value and the capacitance of the capacitor that determine the time constant become large, which increases the cost and, in particular, the accuracy of the wake-up pulse period due to changes in temperature, humidity, and the like as the use environment for vehicles. This can lead to reliability problems, such as difficulty in maintenance.

【0020】また、ウェイクアップ検出信号1パルスの
みの受信でスリープ状態の解除を行なうようにすれば、
上記の問題は発生しないが、通信線と電源線のショート
故障などが発生している場合、スリープのため送信バッ
ファをハイインピーダンス状態にした直後に電源電圧が
現れて、これがウェイクアップ検出信号と誤検知され、
省電力モードの実行が実際上不可能となるおそれがあ
る。したがって、本発明は、上記従来の問題点に鑑み、
親局における発振動作安定時間に影響されないでウェイ
クアップパルスの周期が設定できるようにして、コスト
の増大や信頼性の低下をなくするとともに、省電力モー
ドの実行が確実に実現される通信システムを提供するこ
とを目的とする。
If the sleep state is canceled by receiving only one pulse of the wake-up detection signal,
Although the above problem does not occur, if a short-circuit failure between the communication line and the power supply line occurs, the power supply voltage appears immediately after the transmission buffer is set to the high impedance state due to sleep, and this is erroneously detected as the wake-up detection signal. Detected,
Execution of the power saving mode may not be practically possible. Therefore, the present invention has been made in view of the above-mentioned conventional problems,
A communication system that enables the cycle of the wake-up pulse to be set without being affected by the oscillation operation stabilization time at the master station, eliminates cost increase and reliability reduction, and reliably implements the power saving mode. The purpose is to provide.

【0021】[0021]

【課題を解決するための手段】このため、請求項1に記
載の発明は、通信線で接続された親局と子局がそれぞれ
に発振回路を備え、該発振回路の発振動作を停止させ省
電力化を行なう省電力モードを有し、親局は省電力モー
ドの実行および解除を指令する手段を備えるとともに、
子局はウェイクアップパルスを発して省電力モードの解
除を親局に要求する手段を備える通信システムにおい
て、親局は、省電力モードの実行指令後所定カウントを
カウントするタイマーと、ウェイクアップパルスをカウ
ントして1パルスおよび複数パルスのカウントアップ信
号を出力するカウンタと、前記タイマーの状態に応じて
前記のカウントアップ信号を選択するセレクタを有し
て、前記の省電力モードの実行および解除を指令する手
段は、タイマーがカウントアップ完了までは当該親局の
発振回路の発振を継続させるとともに、タイマーのカウ
ント中にウェイクアップパルスを受信したときには前記
の複数パルスのカウントアップ信号に基づき省電力モー
ドの解除を決定し、タイマー手段がカウントアップ後に
ウェイクアップパルスを受信したときには前記の1パル
スのカウントアップ信号に基づき省電力モードの解除を
指令するように構成されたものとした。
According to the present invention, a master station and a slave station connected by a communication line each have an oscillation circuit, and the oscillation operation of the oscillation circuit is stopped to save power. Having a power saving mode for power saving, the master station has means for instructing execution and cancellation of the power saving mode,
In a communication system including a unit in which the slave station issues a wake-up pulse and requests the master station to cancel the power saving mode, the master station includes a timer that counts a predetermined count after the execution instruction of the power saving mode, and a wake-up pulse. A counter for counting and outputting a count-up signal of one pulse and a plurality of pulses; and a selector for selecting the count-up signal in accordance with a state of the timer, and instructing execution and cancellation of the power saving mode. Means for continuing the oscillation of the oscillation circuit of the master station until the timer has completed counting up, and when a wake-up pulse is received during counting of the timer, the power-saving mode is set based on the count-up signal of the plurality of pulses. Wake-up pulse after timer means counts up When receiving is assumed that is configured to direct the release of the 1 pulse count-up signal based power saving mode.

【0022】また、請求項2に記載の発明は、通信線で
接続された親局と子局がそれぞれに発振回路を備え、該
発振回路の発振動作を停止させ省電力化を行なう省電力
モードを有し、親局は省電力モードの実行および解除を
指令する手段を備えるとともに、子局はウェイクアップ
パルスを発して省電力モードの解除を親局に要求する手
段を備える通信システムにおいて、親局は、ダミー信号
を発生するダミー信号発生手段と、切り替えスイッチを
有して、前記の省電力モードの実行および解除を指令す
る手段は、ウェイクアップパルスを受信したときには、
まずダミー信号発生手段からのダミー信号を送出させ、
その後切り替えスイッチを切り替えて省電力モードの解
除を指令する通信信号を送出するものとした。
According to a second aspect of the present invention, there is provided a power saving mode in which a master station and a slave station connected by a communication line each have an oscillation circuit, and the oscillation operation of the oscillation circuit is stopped to save power. Wherein the master station has means for instructing execution and cancellation of the power saving mode, and the slave station has a means for issuing a wake-up pulse to request the master station to cancel the power saving mode. The station has a dummy signal generating means for generating a dummy signal, and a changeover switch, the means for instructing execution and cancellation of the power saving mode, when receiving a wake-up pulse,
First, a dummy signal is sent from the dummy signal generating means,
Thereafter, a communication signal for instructing cancellation of the power saving mode is transmitted by switching a changeover switch.

【0023】[0023]

【作用】請求項1のものは、親局に省電力モードの実行
指令後所定カウントをカウントするタイマーと、1パル
スおよび複数パルスのウェイクアップパルスカウントア
ップ信号を出力するカウンタを設け、タイマーによる所
定カウントの間親局の発振回路の発振を継続させ、この
間にウェイクアップパルスを受信したときには、複数の
ウェイクアップパルスをカウントしてから省電力モード
の解除が行なわれる。これにより、通信線故障などによ
り省電力モードの実行指令直後にノイズパルスが侵入し
ても識別除去されるとともに、正規のウェイクアップパ
ルスに対しては、まだ発振回路が発振を継続しているか
ら、発振再開時のような安定化時間を要せず、その複数
パルスの周期を任意の短いものに設定することができ、
しかも確実に検知される。
According to a first aspect of the present invention, there is provided a timer for counting a predetermined count after a power saving mode execution command is issued to a master station, and a counter for outputting a wake-up pulse count-up signal of one pulse and a plurality of pulses, and the timer is provided with a timer. During the counting, the oscillation of the oscillation circuit of the master station is continued, and when a wake-up pulse is received during this period, a plurality of wake-up pulses are counted and then the power saving mode is released. As a result, even if a noise pulse enters immediately after the execution of the power saving mode due to a communication line failure or the like, the noise pulse is discriminated and removed, and the oscillation circuit is still oscillating for a normal wake-up pulse. The cycle of the plurality of pulses can be set to an arbitrary short time without requiring a stabilization time such as when resuming oscillation.
In addition, it is reliably detected.

【0024】請求項2のものでは、親局にダミー信号を
発生するダミー信号発生手段を設け、省電力モードの解
除を指令するときは、まずダミー信号を送出させ、その
後省電力モードの解除を指令する通信信号を送出するか
ら、子局ではダミー信号を受信している間にその発振回
路の発振動作が安定し、その後の解除を指令する通信信
号が誤認なく確実に解読される。
According to the second aspect of the present invention, a dummy signal generating means for generating a dummy signal is provided in the master station. When instructing the cancellation of the power saving mode, the dummy signal is first transmitted, and then the cancellation of the power saving mode is performed. Since the communication signal for commanding is transmitted, the slave station stabilizes the oscillation operation of the oscillation circuit while receiving the dummy signal, and the communication signal for commanding cancellation thereafter is reliably decoded without misunderstanding.

【0025】[0025]

【実施例】図1は、この発明の実施例を示す。 親局1
00と子局113が通信線112を介してデータの授受
を行なう。子局のウェイクアップパルス発生機能は、図
9の従来例と同じである。親局には、受信バッファ10
1、パルス検知回路106、抵抗R1、コンデンサC
1、送受信レジスタ103、ラッチ回路107、送信バ
ッファ102、発振回路105、発振子109、ならび
に第1のタイマー117が、図8の従来例における受信
バッファ301、パルス検知回路306、抵抗R1、コ
ンデンサC1、送受信レジスタ303、ラッチ回路30
7、送信バッファ302、発振回路305、発振子30
9、ならびにタイマー317とそれぞれ同等の機能を有
して設けられている。
FIG. 1 shows an embodiment of the present invention. Master station 1
00 and the slave station 113 exchange data via the communication line 112. The wake-up pulse generation function of the slave station is the same as that of the conventional example shown in FIG. The master station has a reception buffer 10
1, pulse detection circuit 106, resistor R1, capacitor C
1. The transmission / reception register 103, the latch circuit 107, the transmission buffer 102, the oscillation circuit 105, the oscillator 109, and the first timer 117 are the reception buffer 301, the pulse detection circuit 306, the resistor R1, and the capacitor C1 in the conventional example of FIG. , Transmission / reception register 303, latch circuit 30
7, transmission buffer 302, oscillation circuit 305, oscillator 30
9 and a timer 317.

【0026】一方、カウンタ108が2種類のカウント
アップ出力を有し、その2種のカウントアップ信号がセ
レクタ111により切り換えられて制御部104に入力
される点が相違する。すなわち、カウンタ108はラッ
チ回路107からのウェイクアップ検出信号をカウント
して、1カウントとnカウントのそれぞれの検知を示す
カウントアップ信号を出力する。
On the other hand, the difference is that the counter 108 has two types of count-up outputs, and the two types of count-up signals are switched by the selector 111 and input to the control unit 104. That is, the counter 108 counts the wake-up detection signal from the latch circuit 107 and outputs a count-up signal indicating detection of each of 1 count and n count.

【0027】さらに第2のタイマー110が設けられ、
省電力モードを実行するためのコマンドデータを送信
後、制御部104により起動される。これは、コマンド
データ送信後発振回路105の発振を停止するまでの時
間を遅らせるために設置される。
Further, a second timer 110 is provided,
After transmitting the command data for executing the power saving mode, the control unit 104 starts the operation. This is provided to delay the time from when the command data is transmitted to when the oscillation of the oscillation circuit 105 is stopped.

【0028】制御部104は、従来例と同様、送受信の
制御と省電力モードの実行および解除の制御を行なう
が、省電力モードの実行時においては、コマンドデータ
送信後に第2のタイマー110を起動させ、このタイマ
ーがカウントアップするまでの間、発振回路105の発
振動作を継続させる一方、送信バッファ102をハイイ
ンピーダンス状態にして、ウェイクアップパルスの受信
待機状態となる。
The control unit 104 controls the transmission and reception and the execution and cancellation of the power saving mode as in the conventional example. However, when executing the power saving mode, the second timer 110 is started after the command data is transmitted. Until the timer counts up, the oscillation operation of the oscillation circuit 105 is continued, while the transmission buffer 102 is set in a high impedance state to be in a standby state for receiving a wake-up pulse.

【0029】第2のタイマー110がカウント動作中に
ウェイクアップパルスが受信されると、制御部104は
この第2のタイマーのカウント動作を停止させる。この
停止で、第2のタイマー110の出力がセレクタ111
をnカウント側に切り替えさせ、カウンタ108のn回
のカウントアップ信号により、制御部104がスリープ
状態を解除する。 こうして複数のウェイクアップパル
スの受信を確認して省電力モードが解除される。
When a wake-up pulse is received during the counting operation of the second timer 110, the control unit 104 stops the counting operation of the second timer. With this stop, the output of the second timer 110 is set to the selector 111
Is switched to the n count side, and the control unit 104 releases the sleep state in response to the n count-up signals of the counter 108. Thus, the reception of the plurality of wake-up pulses is confirmed, and the power saving mode is released.

【0030】一方、2パルス目のウェイクアップパルス
を受信しないまま第1のタイマー117がカウントアッ
プすると、その出力がORゲート130を介してカウン
タ108をリセットする。また、制御部104は停止中
の第2のタイマー110の停止を解除し、ウェイクアッ
プパルスの受信待機状態となる。第2のタイマー110
がカウントアップ後にウェイクアップパルスを受信した
場合には、セレクタ111はカウンタ108の1カウン
ト出力を制御部104に接続する。これにより、制御部
104はウェイクアップパルスの1パルスでスリープ状
態の解除を行なう。
On the other hand, when the first timer 117 counts up without receiving the second wake-up pulse, its output resets the counter 108 via the OR gate 130. Further, the control unit 104 cancels the stop of the stopped second timer 110 and enters a state of waiting for the reception of a wake-up pulse. Second timer 110
Receives a wake-up pulse after counting up, the selector 111 connects the one-count output of the counter 108 to the control unit 104. As a result, the control unit 104 releases the sleep state with one wake-up pulse.

【0031】以上のように構成された実施例の動作を、
図2のタイミングチャートを用いて説明する。親局10
0からのスリープ状態の実行を指令するコマンドデータ
407と、子局113からのウェイクアップパルス40
8、409が、図2の(a)に示す順序で通信線上に現
われるものとする。図の(d)および(e)は、第2の
タイマー110、第1のタイマー117の動作状態を示
す。(g)は発振回路105の発振状態を示す。
The operation of the embodiment configured as described above is as follows.
This will be described with reference to the timing chart of FIG. Master station 10
Command data 407 instructing execution of the sleep state from 0, and the wake-up pulse 40 from the slave station 113.
8 and 409 appear on the communication line in the order shown in FIG. (D) and (e) of the figure show the operating states of the second timer 110 and the first timer 117. (G) shows the oscillation state of the oscillation circuit 105.

【0032】親局がコマンドデータ407を送信後、第
2のタイマー110は起動をかけられ、初期状態416
からカウント動作に入って、ウェイクアップ検出信号の
受信待ち状態417となる。親局のパルス検知回路10
6は、図の(b)のように、第1のウェイクアップパル
ス408の入力で入力検知信号411を出力する。この
出力をトリガーとして、図の(c)のようなウェイクア
ップ検出信号412がラッチ回路107から出力され
る。
After the master station transmits the command data 407, the second timer 110 is started and the initial state 416 is set.
Then, the operation enters a count operation, and enters a wake-up detection signal reception waiting state 417. Master station pulse detection circuit 10
6 outputs an input detection signal 411 when the first wake-up pulse 408 is input, as shown in FIG. With this output as a trigger, the wake-up detection signal 412 as shown in FIG.

【0033】第2のタイマー110のウェイクアップ検
出信号受信待ち状態417の間に、第1のウェイクアッ
プパルス408が受信されると、上記ウェイクアップ検
出信号412が、ラッチ回路107から制御部104と
カウンタ108、ならびに第1のタイマー117に入力
され、第1のタイマー117が起動されて、(e)のカ
ウント動作421に移る。
When the first wake-up pulse 408 is received during the wake-up detection signal reception waiting state 417 of the second timer 110, the wake-up detection signal 412 is sent from the latch circuit 107 to the control unit 104. The signal is input to the counter 108 and the first timer 117, the first timer 117 is started, and the process proceeds to the count operation 421 in (e).

【0034】カウンタ108は、図の(f)のカウント
1状態424となり、同時に制御部104が、第2のタ
イマー110を(d)のカウント動作停止状態418と
するとともに、ラッチ回路107にリセットをかけて、
図の(c)の初期状態432にし、次回のウェイクアッ
プパルスの受信に備える。なおこのとき、セレクタ11
1がnカウント側に切り替わる。
The counter 108 enters the count 1 state 424 in FIG. 7F, and at the same time, the control unit 104 sets the second timer 110 to the count stop state 418 in FIG. Over,
The initial state 432 shown in FIG. 3C is set to prepare for receiving the next wake-up pulse. At this time, the selector 11
1 switches to the n-count side.

【0035】その後、第2のウェイクアップパルス40
9が受信されると、同様にして入力検知信号414に基
づき、再度ウェイクアップ検出信号413がラッチ回路
107から出力される。カウンタ108のカウンタ値
は、(f)のカウント2状態425となり、予めカウン
ト数n=2でカウントアップ信号を出力するよう設定さ
れているとき、そのカウントアップ信号を受けて制御部
104はスリープ状態の解除を決定する。
Thereafter, the second wake-up pulse 40
When 9 is received, the wake-up detection signal 413 is again output from the latch circuit 107 based on the input detection signal 414. The counter value of the counter 108 becomes the count 2 state 425 in (f). When it is set in advance to output a count-up signal with the count number n = 2, the control unit 104 receives the count-up signal and puts the control unit 104 into a sleep state. To cancel.

【0036】ここで、ラッチ回路107と第2のタイマ
ー110は、図の(c)、(d)のように、リセットさ
れてそれぞれ初期状態433、431とされ、その後、
(a)に示されるように、スリープ状態解除を指令する
コマンドデータ410が送信される。この間、(g)に
示されるように、省電力モードの実行から解除まで、発
振回路105の発振動作は停止することなく継続してい
る。
Here, the latch circuit 107 and the second timer 110 are reset to the initial states 433 and 431, respectively, as shown in FIGS.
As shown in (a), command data 410 for instructing release of the sleep state is transmitted. During this time, as shown in (g), the oscillating operation of the oscillating circuit 105 is continued without stopping from the execution to the cancellation of the power saving mode.

【0037】次に図3のタイミングチャートは、通信線
にショート故障が発生した場合における省電力モードの
実行と、第2のタイマー110がタイムアップした後の
発振動作停止中における省電力モードの解除動作を示
す。図2におけると同様、図3の(a)は通信線上の通
信信号を示し、(b)はパルス検知回路106の出力信
号を、(c)はラッチ回路107からのウェイクアップ
検出信号を、(d)は第2のタイマーの動作状態を、
(e)は第1のタイマー117の動作状態を、(f)は
カウンタ108のカウント状態を、そして(g)は発振
回路105の発振状態を示す。
Next, the timing chart of FIG. 3 shows the execution of the power saving mode when a short circuit occurs in the communication line and the release of the power saving mode while the oscillation operation is stopped after the second timer 110 times out. The operation is shown. 3A shows a communication signal on the communication line, FIG. 3B shows an output signal of the pulse detection circuit 106, FIG. 3C shows a wake-up detection signal from the latch circuit 107, and FIG. d) shows the operation state of the second timer,
(E) shows the operation state of the first timer 117, (f) shows the count state of the counter 108, and (g) shows the oscillation state of the oscillation circuit 105.

【0038】親局100が子局へのスリープ状態の実行
を指令する図の(a)に示されるコマンドデータ501
が送信された後、制御部103が第2のタイマー110
を起動させ、該タイマーは、(d)のように、初期状態
からカウント動作に入って、ウェイクアップ検出信号の
受信待ち状態502となる。 ここで送受信レジスタ1
03は、送信バッファ102をハイインピーダンス状態
とする。
Command data 501 shown in (a) of FIG.
Is transmitted, the control unit 103 sets the second timer 110
Is started, and the timer enters a count operation from an initial state as shown in (d), and enters a wake-up detection signal reception waiting state 502. Here, the transmission / reception register 1
03 sets the transmission buffer 102 to a high impedance state.

【0039】前述のように、通信線112に電源線への
ショート故障がある場合には、上記送信バッファのハイ
インピーダンス時に、(a)のように、通信線112に
異常電圧503が現れる。異常電圧503を検知して、
パルス検知回路106からは(b)の入力検知信号50
4が、そしてラッチ回路107からは、(c)のよう
に、ウェイクアップ検出信号505が出力される。これ
により、第1のタイマー117が起動されて(e)のカ
ウント動作507に移る。
As described above, when the communication line 112 has a short-circuit failure to the power supply line, an abnormal voltage 503 appears on the communication line 112 as shown in FIG. When the abnormal voltage 503 is detected,
The input detection signal 50 shown in FIG.
4 and the wake-up detection signal 505 is output from the latch circuit 107 as shown in FIG. As a result, the first timer 117 is started, and the flow proceeds to the counting operation 507 in (e).

【0040】しかし、この第1のタイマーのカウント動
作507の間には第2のウェイクアップパルスが受信さ
れないため、第1のタイマー117のカウントアップ5
10の後、(d)のように、再度第2のタイマー110
のカウント動作512が再開されるとともに、カウンタ
108も、(f)のように、リセットされて、カウント
0状態513となる。そして、第2のタイマー110が
カウントアップ状態525になったところで、制御部か
らORゲート120を介して停止信号が出力され、発振
回路105は(g)の発振動作停止状態514となって
スリープ状態となる。
However, since the second wake-up pulse is not received during the count operation 507 of the first timer, the count-up of the first timer 117
After 10, the second timer 110 is again activated as shown in (d).
Is restarted, and the counter 108 is also reset to the count 0 state 513 as shown in FIG. Then, when the second timer 110 enters the count-up state 525, the control unit outputs a stop signal via the OR gate 120, and the oscillation circuit 105 enters the oscillation operation stop state 514 of FIG. Becomes

【0041】次に、親局において発振停止した後に子局
からのウェイクアップパルスを受信した場合について説
明する。(g)の発振回路の発振動作停止状態514に
おいて、(a)の第1のウェイクアップパルス517が
受信されると、前述と同様にラッチ回路107から
(c)のウェイクアップ検出信号519が出力される。
これにより、発振回路105は(g)の発振再開状態
521に入る。
Next, a case where a wake-up pulse is received from a slave station after oscillation stops in the master station will be described. When the first wake-up pulse 517 in (a) is received in the oscillation operation stop state 514 of the oscillation circuit in (g), the wake-up detection signal 519 in (c) is output from the latch circuit 107 in the same manner as described above. Is done.
As a result, the oscillation circuit 105 enters the oscillation restart state 521 shown in FIG.

【0042】そして、その発振安定状態522になる
と、制御部104が動作して、ラッチ回路107をリセ
ットして(c)の初期状態524とする。このとき、第
2のタイマー110は(d)のカウントアップ状態52
5にあるため、セレクタ111はカウンター108の1
カウント出力を制御部104に接続する。これにより、
第1のウェイクアップパルスのみでスリープ状態の解除
が決定され、第2のタイマー110をリセットして初期
状態526とした後、(a)のように、スリープ状態解
除を指令するコマンドデータ527が子局113に向け
送信される。第2のタイマー110が発明のタイマーを
構成している。
Then, when the oscillation stable state 522 is reached, the control section 104 operates to reset the latch circuit 107 to the initial state 524 of (c). At this time, the second timer 110 is in the count-up state 52 of (d).
5, the selector 111 selects one of the counters 108.
The count output is connected to the control unit 104. This allows
Release of the sleep state is determined only by the first wake-up pulse, and after resetting the second timer 110 to the initial state 526, the command data 527 for instructing the release of the sleep state is child as shown in (a). It is transmitted to the station 113. The second timer 110 constitutes the timer of the invention.

【0043】以上のように、この実施例によれば、スリ
ープ状態実行の指令を送信した後も発振動作を所定時間
継続させるための回路と、ウェイクアップ検出信号のカ
ウント数を切り換える回路とを親局に設けたことによ
り、親局の発振安定化時間に影響されずにウェイクアッ
プ周期の設定ができ、かつ通信線の故障に対しても確実
にスリープ状態が実行されるという効果が得られる。
As described above, according to this embodiment, the circuit for continuing the oscillation operation for a predetermined time after transmitting the command for executing the sleep state and the circuit for switching the count number of the wake-up detection signal are used as the parent. By providing the station, the wake-up period can be set without being affected by the oscillation stabilization time of the master station, and the sleep state can be reliably executed even if a communication line fails.

【0044】次に図4は、子局において親局からのスリ
ープ状態実行指令を受けるためのコマンド判定回路を含
む受信部の詳細を示す。通信線からの通信信号が、受信
バッファ201からフリップフロップ210を介する経
路と、受信バッファ201からの直接経路とで、切り替
えスイッチ212に入り、それから微分回路213に入
力される。
Next, FIG. 4 shows details of a receiving section including a command determination circuit for receiving a sleep state execution command from the master station in the slave station. A communication signal from the communication line enters the changeover switch 212 via a path from the reception buffer 201 via the flip-flop 210 and a direct path from the reception buffer 201, and is then input to the differentiating circuit 213.

【0045】微分回路213の出力は、電源とグラウン
ド間に抵抗R8と直列に接続されたトランジスタ215
のゲートに入力されている。抵抗R7とトランジスタ2
15の接続点がインバータ217に接続され、インバー
タ217の出力が、キャリアセンサ信号CSとして図示
省略したCPUに入力する。インバータ217の入力端
子とグラウンド間には、コンデンサC7が介挿されてい
る。
The output of the differentiating circuit 213 is a transistor 215 connected in series with a resistor R8 between a power supply and ground.
Input to the gate. Resistor R7 and transistor 2
The connection point 15 is connected to the inverter 217, and the output of the inverter 217 is input to the CPU (not shown) as the carrier sensor signal CS. A capacitor C7 is interposed between the input terminal of the inverter 217 and the ground.

【0046】受信バッファ201から通信信号を受ける
デコーダ221が設けられ、フリップフロップ210と
デコーダ221に、発振回路211からクロックが供給
される。デコーダ221には、外部アクチュエータ22
4と接続される出力ラッチ223が接続されているとと
もに、スリープ状態実行解除信号の保持回路222が接
続されている。
A decoder 221 for receiving a communication signal from the receiving buffer 201 is provided, and a clock is supplied from the oscillation circuit 211 to the flip-flop 210 and the decoder 221. The decoder 221 includes an external actuator 22
4 and an output latch 223 connected thereto, and a sleep state execution release signal holding circuit 222 is connected.

【0047】デコーダ221は、通信信号に含まれるス
リープ状態の実行および解除指令のコマンドデータをデ
コード抽出して、保持回路222にスリープ実行すなわ
ちONまたはスリープ解除すなわちOFF信号を出力す
るとともに、その他のデータは出力ラッチ223へ出力
する。保持回路222はNAND回路を組み合わせて構
成され、入力された上記スリープONまたはスリープO
FF信号を保持してスリープ信号とし、CPUへ出力す
る。
The decoder 221 decodes and extracts the command data of the execution and release commands of the sleep state included in the communication signal, outputs a sleep execution or ON or a sleep release or OFF signal to the holding circuit 222, and outputs other data. Output to the output latch 223. The holding circuit 222 is configured by combining a NAND circuit, and receives the sleep ON or sleep O
The FF signal is held to be a sleep signal and output to the CPU.

【0048】切り替えスイッチ212はこのスリープ信
号によって切り替えられ、スリープ信号がスリープON
を示すHレベルのときは、受信バッファ201を直接微
分回路213に接続し、スリープ信号がスリープOFF
を示すLレベルのときは、フリップフロップ210を微
分回路213に接続する。また、スリープ信号と、イン
バータ219で反転されたキャリアセンサ信号とは、A
ND回路220に入力され、このAND回路の出力が発
振回路211に入力されており、スリープ信号がスリー
プONで、キャリアセンサ信号が入力信号なしの状態を
示しているとき、停止信号として発振回路211の発振
動作を停止させる。
The changeover switch 212 is switched by the sleep signal, and the sleep signal is turned on.
, The receiving buffer 201 is directly connected to the differentiating circuit 213, and the sleep signal is set to sleep OFF.
, The flip-flop 210 is connected to the differentiating circuit 213. The sleep signal and the carrier sensor signal inverted by the inverter 219 are represented by A
When the output of the AND circuit is input to the oscillating circuit 211 and the sleep signal is in the sleep ON state and the carrier sensor signal indicates no input signal, the oscillating circuit 211 is used as a stop signal. Stop the oscillation operation of

【0049】スリープ状態実行中に通信信号が入力する
と、この信号は受信バッファから直接微分回路213を
通ってトランジスタ215に入る。トランジスタ215
がオンしてコンデンサC7が放電すると、インバータ2
17からのキャリアセンサ信号がHレベルとなる。これ
により、AND回路220からの停止信号が消え、発振
回路211の発振動作が再開される。上記のうちデコー
ダ221と保持回路222が前述したコマンド判定回路
を構成している。
When a communication signal is input during execution of the sleep state, the signal enters the transistor 215 from the reception buffer directly through the differentiating circuit 213. Transistor 215
Turns on and the capacitor C7 discharges, the inverter 2
The carrier sensor signal from 17 becomes H level. As a result, the stop signal from the AND circuit 220 disappears, and the oscillation operation of the oscillation circuit 211 is restarted. Among them, the decoder 221 and the holding circuit 222 constitute the above-described command determination circuit.

【0050】ところで、上記構成において、親局からス
リープ状態解除のコマンドデータを含む通信信号を受信
すると、デコーダ221で解読することになるが、この
デコーダは発振回路211からのクロックで作動するた
め、発振回路211が安定していなければデコーダ自体
も安定した動作ができない。発振回路211は、上述の
ようにスリープONで、入力信号なしのとき停止してい
るから、これがキャリアセンサ信号の変化で発振動作を
開始しても、その発振が安定していない間に親局から送
信された通信信号はデコーダで誤解読される可能性があ
る。
In the above configuration, when a communication signal including command data for releasing the sleep state is received from the master station, the communication signal is decoded by the decoder 221. This decoder operates with the clock from the oscillation circuit 211. If the oscillation circuit 211 is not stable, the decoder itself cannot operate stably. As described above, the oscillation circuit 211 is in the sleep ON state and is stopped when there is no input signal. Therefore, even if the oscillation circuit 211 starts the oscillation operation due to the change of the carrier sensor signal, the master station is not operated while the oscillation is not stable. There is a possibility that the communication signal transmitted from is decoded by the decoder.

【0051】図5はこの子局側における誤解読のおそれ
を、親局において解消するようにした第2の実施例を示
す。すなわち、親局には、図1の構成にさらにダミーパ
ルス発生回路231と切り替えスイッチ232が追加し
て設けられている。制御部104’を除き図1と同一の
構成部分は図示省略してある。ダミーパルス発生回路2
31と切り替えスイッチ232は、それぞれ制御部10
4’に接続されて制御指令を受ける。 切り替えスイッ
チ232は、送受信レジスタ103およびダミーパルス
発生回路231と送信バッファ102との間に介挿され
て、上記制御指令により、送受信レジスタ103とダミ
ーパルス発生回路231の出力を切り替えて送信バッフ
ァ102に入力する。
FIG. 5 shows a second embodiment in which the risk of misreading at the slave station is eliminated at the master station. That is, the master station is further provided with a dummy pulse generation circuit 231 and a changeover switch 232 in addition to the configuration of FIG. Except for the control unit 104 ', the same components as those in FIG. 1 are not shown. Dummy pulse generation circuit 2
31 and the changeover switch 232 are connected to the control unit 10
4 'is connected to receive a control command. The changeover switch 232 is inserted between the transmission / reception register 103 and the dummy pulse generation circuit 231 and the transmission buffer 102, and switches the output of the transmission / reception register 103 and the dummy pulse generation circuit 231 to the transmission buffer 102 according to the control command. input.

【0052】親局は、子局からのウェイクアップパルス
を受信して制御部104’がスリープ状態の解除を決定
したとき、まずダミーパルス発生回路231の出力を送
信バッファから通信線へ送信させる。そして、その後切
り替えスイッチ232に切り替え指令を出して、送受信
レジスタ103からのスリープ状態の解除を指令するコ
マンドデータを送信させる。
When the master station receives the wake-up pulse from the slave station and the control section 104 'decides to release the sleep state, the master station first transmits the output of the dummy pulse generation circuit 231 from the transmission buffer to the communication line. Then, after that, a switching command is issued to the changeover switch 232 to cause the transmission / reception register 103 to transmit command data for instructing cancellation of the sleep state.

【0053】これらのタイミングチャートが図6に示さ
れる。図中、(a)は通信線上に送出される通信信号を
示し、(b)は子局におけるインバータ217の入力電
位を、(c)は子局の保持回路222からのスリープ信
号を、そして(d)は同じく子局の発振回路211の動
作状態を示す。まず、親局からのスリープ状態の実行を
指令するコマンドデータ601を受けると、子局におい
ては(c)の602のようにスリープ信号がスリープO
Nを示すHレベルになるとともに、入力信号の消滅によ
りトランジスタ215がオフして、コンデンサC7の充
電により、(b)の603のように、インバータ217
の入力電位が徐々に上昇する。そして、該インバータが
反転したところで停止信号が発生して、発振回路211
は(d)の発振動作停止状態604となっている。
FIG. 6 shows these timing charts. In the figure, (a) shows a communication signal transmitted on the communication line, (b) shows an input potential of the inverter 217 in the slave station, (c) shows a sleep signal from the holding circuit 222 of the slave station, and ( d) shows the operation state of the oscillation circuit 211 of the slave station. First, upon receiving command data 601 for instructing execution of the sleep state from the master station, the slave station outputs a sleep signal as indicated by 602 in (c).
When the input signal goes high, the transistor 215 turns off due to the disappearance of the input signal, and the capacitor C7 is charged.
Input potential gradually rises. When the inverter is inverted, a stop signal is generated, and the oscillation circuit 211
Is in the oscillation operation stop state 604 of (d).

【0054】この子局のスリープ状態において、その送
信バッファからウェイクアップパルス605が通信線上
へ送出されると、まず、子局ではその受信バッファから
当該ウェイクアップパルスを受けてトランジスタ215
がオンし、図の(b)の606のようにインバータ21
7の入力電位が反転してキャリアセンス信号がHレベル
となる。これにより、AND回路220からの停止信号
がオフとなるので、発振回路211が(d)の発振開始
段階607に入る。
When the wake-up pulse 605 is transmitted from the transmission buffer to the communication line in the sleep state of the slave station, first, the slave station receives the wake-up pulse from the reception buffer and receives the wake-up pulse 605 from the transistor 215.
Is turned on, and the inverter 21 is turned on as indicated by 606 in FIG.
7 is inverted and the carrier sense signal goes high. As a result, the stop signal from the AND circuit 220 is turned off, and the oscillation circuit 211 enters the oscillation start stage 607 of (d).

【0055】ここで親局では、制御部104’がまずダ
ミーパルス発生回路231の出力608を図の(a)の
ように送信させるから、これにより子局のトランジスタ
215はオン状態を継続し、(b)のように、インバー
タ217の入力電位が反転しきい値を越えず、したがっ
てAND回路220からの停止信号がオフ状態を続け
る。ダミーパルス発生回路231が出力するダミーパル
スは、図7に例示されるように、通常の通信信号とは異
なるフレーム構成とされることにより、デコーダ221
で通信信号と誤認されることはない。
Here, in the master station, the control section 104 'first causes the output 608 of the dummy pulse generation circuit 231 to be transmitted as shown in FIG. 9A, whereby the transistor 215 of the slave station continues to be turned on. As shown in (b), the input potential of the inverter 217 does not exceed the inversion threshold value, and thus the stop signal from the AND circuit 220 continues to be off. The dummy pulse output from the dummy pulse generation circuit 231 has a frame configuration different from that of a normal communication signal as illustrated in FIG.
Is not mistaken for a communication signal.

【0056】この間に発振回路211の発振が図6の
(d)の安定状態609となり、その後親局は(a)の
ようにスリープ状態の解除を指令するコマンドデータ6
10を送信する。このコマンドデータはすでに発振回路
211の発振が安定状態となっているから、正しくデコ
ーダで解読され、保持回路222からのスリープ信号は
スリープOFFのLレベル611となる。以上によりウ
ェイクアップ動作が完了する。
During this time, the oscillation of the oscillation circuit 211 becomes the stable state 609 in FIG. 6D, and thereafter the master station issues the command data 6 for instructing the release of the sleep state as shown in FIG.
Send 10 This command data is already correctly decoded by the decoder because the oscillation of the oscillation circuit 211 is already in a stable state, and the sleep signal from the holding circuit 222 becomes the sleep-off L level 611. Thus, the wake-up operation is completed.

【0057】この実施例は以上のように構成され、ウェ
イクアップに際して、親局が通信信号送信の前に、その
通信信号とは別のダミー信号を出力するようにしたか
ら、子局はその発振回路の発振動作が確実に安定した状
態で通信信号を受信することができ、信頼性の高いウェ
イクアップが行なわれるという効果がある。
This embodiment is configured as described above. At the time of wake-up, the master station outputs a dummy signal different from the communication signal before transmitting the communication signal. The communication signal can be received in a state where the oscillation operation of the circuit is reliably stabilized, and there is an effect that highly reliable wake-up is performed.

【0058】[0058]

【発明の効果】以上のとおり、本発明は、省電力モード
を有する通信システムにおいて、親局に、省電力モード
の実行指令後所定カウントをカウントするタイマーと、
1パルスおよび複数パルスのウェイクアップパルスカウ
ントアップ信号を出力するカウンタを設け、タイマーに
よる所定カウントの間親局の発振回路の発振を継続さ
せ、この間にウェイクアップパルスを受信したときには
複数のウェイクアップパルスをカウントしてから省電力
モードの解除を行ない、その後では1パルスで解除を行
なうようにしたから、通信線故障などにより省電力モー
ドの実行指令直後にノイズパルスが侵入しても識別除去
され、正規のウェイクアップパルスに対しては、発振回
路が発振を継続しているから、発振再開時のような安定
化時間に影響されることなく、短い周期のウェイクアッ
プパルスでも確実に検知できるという効果を有する。
As described above, according to the present invention, in a communication system having a power saving mode, a timer which counts a predetermined count after a power saving mode execution command is issued to a master station,
A counter that outputs a wake-up pulse count signal of one pulse and a plurality of pulses is provided, the oscillation of the oscillation circuit of the master station is continued for a predetermined count by a timer, and a plurality of wake-up pulses are received when a wake-up pulse is received during this period. The power saving mode is canceled after counting, and the cancellation is performed by one pulse thereafter. Therefore, even if a noise pulse enters immediately after the execution command of the power saving mode due to a communication line failure or the like, it is discriminated and removed. The oscillation circuit keeps oscillating with respect to the regular wake-up pulse, so that the wake-up pulse with a short cycle can be reliably detected without being affected by the stabilization time such as when restarting oscillation. Having.

【0059】また、親局にダミー信号を発生するダミー
信号発生手段を設け、省電力モードの解除を指令すると
きにまずダミー信号を送出させ、その後省電力モードの
解除を指令する通信信号を送出するようにしたもので
は、子局はダミー信号を受信している間にその発振回路
の発振動作が安定するので、その後に受信される解除指
令の通信信号が誤認なく確実に解読され、より一層信頼
性が向上するという効果がある。
Further, a dummy signal generating means for generating a dummy signal is provided in the master station so that a dummy signal is transmitted first when instructing the release of the power saving mode, and thereafter a communication signal for instructing the release of the power saving mode is transmitted. In this configuration, the slave station stabilizes the oscillation operation of the oscillation circuit while receiving the dummy signal, so that the communication signal of the release command received thereafter is reliably decoded without erroneous recognition. This has the effect of improving reliability.

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

【図1】本発明の第1の実施例を示す図である。FIG. 1 is a diagram showing a first embodiment of the present invention.

【図2】第1の実施例における動作を示すタイミングチ
ャートである。
FIG. 2 is a timing chart showing an operation in the first embodiment.

【図3】第1の実施例における動作を示すタイミングチ
ャートである。
FIG. 3 is a timing chart showing an operation in the first embodiment.

【図4】子局の受信部を示す図である。FIG. 4 is a diagram illustrating a receiving unit of a slave station.

【図5】第2の実施例を示す図である。FIG. 5 is a diagram showing a second embodiment.

【図6】第2の実施例における動作を示すタイミングチ
ャートである。
FIG. 6 is a timing chart showing an operation in the second embodiment.

【図7】ダミーパルス信号を説明する図である。FIG. 7 is a diagram illustrating a dummy pulse signal.

【図8】従来例の親局を示す図である。FIG. 8 is a diagram showing a parent station in a conventional example.

【図9】従来例の子局を示す図である。FIG. 9 is a diagram showing a slave station of a conventional example.

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

100 親局 101 受信バッファ 102 送信バッファ 103 送受信レジスタ 104、104’ 制御部 105 発振回路 106 パルス検知回路 107 ラッチ回路 108 カウンタ 110 第2のタイマー 111 セレクタ 112 通信線 113 子局 117 第1のタイマー 120、130 ORゲート 201 受信バッファ 210 フリップフロップ 211 発振回路 212 切り替えスイッチ 213 微分回路 215 トランジスタ 217 インバータ 219 インバータ 220 AND回路 221 デコーダ 222 保持回路 223 出力ラッチ 224 アクチュエータ 231 ダミーパルス発生回路 232 切り替えスイッチ 300 親局 301 受信バッファ 302 送信バッファ 303 送受信レジスタ 304 制御部 305 発振回路 306 パルス検知回路 307 ラッチ回路 308 カウンタ 309 発振子 310 子局 311 受信バッファ 312 送信バッファ 313 コマンド判定回路 314 パルス発生回路 315 ラッチ回路 316 入力変化検知回路 317 タイマー 318 通信線 320 ORゲート 327 外部スイッチ 330 ORゲート Reference Signs List 100 parent station 101 reception buffer 102 transmission buffer 103 transmission / reception register 104, 104 'control unit 105 oscillation circuit 106 pulse detection circuit 107 latch circuit 108 counter 110 second timer 111 selector 112 communication line 113 slave station 117 first timer 120, 130 OR gate 201 Receive buffer 210 Flip-flop 211 Oscillator 212 Switching switch 213 Differentiator 215 Transistor 217 Inverter 219 Inverter 220 AND circuit 221 Decoder 222 Holding circuit 223 Output latch 224 Actuator 231 Dummy pulse generation circuit 232 Switching switch 300 Master station 301 Reception Buffer 302 Transmission buffer 303 Transmission / reception register 304 Control unit 305 Oscillation circuit 306 Pulse detection circuit 307 Latch circuit 308 Counter 309 Oscillator 310 Slave station 311 Receive buffer 312 Transmission buffer 313 Command determination circuit 314 Pulse generation circuit 315 Latch circuit 316 Input change detection circuit 317 Timer 318 Communication line 320 OR gate 327 External switch 330 OR gate

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−25046(JP,A) 特開 平4−283140(JP,A) 特開 平4−310444(JP,A) 特許2949998(JP,B2) 特許2988185(JP,B2) (58)調査した分野(Int.Cl.7,DB名) H04L 29/00 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-3-25046 (JP, A) JP-A-4-283140 (JP, A) JP-A-4-310444 (JP, A) Patent 2949998 (JP, A) B2) Patent 2988185 (JP, B2) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 29/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 通信線で接続された親局と子局がそれぞ
れに発振回路を備え、該発振回路の発振動作を停止させ
省電力化を行なう省電力モードを有し、前記親局は省電
力モードの実行および解除を指令する手段を備えるとと
もに、前記子局はウェイクアップパルスを発して省電力
モードの解除を前記親局に要求する手段を備える通信シ
ステムにおいて、 前記親局は、省電力モードの実行指令後所定カウントを
カウントするタイマーと、前記ウェイクアップパルスを
カウントして1パルスおよび複数パルスのカウントアッ
プ信号を出力するカウンタと、前記タイマーの状態に応
じて前記カウントアップ信号を選択するセレクタを有し
て、 前記省電力モードの実行および解除を指令する手段は、
前記タイマーがカウントアップ完了までは当該親局の発
振回路の発振を継続させるとともに、前記タイマーのカ
ウント中に前記ウェイクアップパルスを受信したときに
は前記複数パルスのカウントアップ信号に基づき省電力
モードの解除を決定し、前記タイマー手段がカウントア
ップ後に前記ウェイクアップパルスを受信したときには
前記1パルスのカウントアップ信号に基づき省電力モー
ドの解除を指令するように構成されたことを特徴とする
通信システム。
1. A master station and a slave station connected by a communication line each have an oscillation circuit, and have a power saving mode in which the oscillation operation of the oscillation circuit is stopped to save power. A communication system comprising means for instructing execution and cancellation of a power mode, and wherein the slave station issues a wake-up pulse to request the master station to cancel the power saving mode. A timer that counts a predetermined count after a mode execution command, a counter that counts the wake-up pulse and outputs a count-up signal of one pulse or a plurality of pulses, and selects the count-up signal according to the state of the timer. Means having a selector, for instructing execution and cancellation of the power saving mode,
Until the timer counts up, the oscillation of the oscillation circuit of the master station is continued, and when the wake-up pulse is received during the counting of the timer, the power saving mode is canceled based on the count-up signal of the plurality of pulses. The communication system according to claim 1, wherein when the timer means receives the wake-up pulse after the count-up, the wake-up pulse is instructed to release the power saving mode based on the one-pulse count-up signal.
【請求項2】 通信線で接続された親局と子局がそれぞ
れに発振回路を備え、該発振回路の発振動作を停止させ
省電力化を行なう省電力モードを有し、前記親局は省電
力モードの実行および解除を指令する手段を備えるとと
もに、前記子局はウェイクアップパルスを発して省電力
モードの解除を前記親局に要求する手段を備える通信シ
ステムにおいて、 前記親局は、ダミー信号を発生するダミー信号発生手段
と、切り替えスイッチを有して、 前記省電力モードの実行および解除を指令する手段は、
前記ウェイクアップパルスを受信したときには、まず前
記ダミー信号発生手段からのダミー信号を送出させ、そ
の後前記切り替えスイッチを切り替えて省電力モードの
解除を指令する通信信号を送出して、 前記子局の発振回路の発振動作が安定した状態で前記省
電力モードの解除を指令する通信信号が送信されるよう
に構成されたことを特徴とする通信システム。
2. A master station and a slave station connected by a communication line each have an oscillation circuit, and have a power saving mode in which the oscillation operation of the oscillation circuit is stopped to save power. A communication system comprising means for instructing execution and cancellation of a power mode, and wherein the slave station issues a wake-up pulse to request the master station to cancel the power saving mode, wherein the master station has a dummy signal. A dummy signal generating means for generating a signal, and means for instructing execution and cancellation of the power saving mode,
When the wake-up pulse is received, first, a dummy signal from the dummy signal generating means is transmitted, and then, a communication signal for instructing the release of the power saving mode by switching the changeover switch is transmitted, and the oscillation of the slave station is performed. A communication system configured to transmit a communication signal for instructing cancellation of the power saving mode in a state where the oscillation operation of the circuit is stable.
【請求項3】 通信線で接続された親局と子局がそれぞ
れに発振回路を備え、該発振回路の発振動作を停止させ
省電力化を行なう省電力モードを有し、前記親局は省電
力モードの実行および解除を指令する手段を備えるとと
もに、前記子局はウェイクアップパルスを発して省電力
モードの解除を前記親局に要求する手段を備える通信シ
ステムにおいて、 前記親局は、省電力モードの実行指令後所定カウントを
カウントするタイマーと、前記ウェイクアップパルスを
カウントして1パルスおよび複数パルスのカウントアッ
プ信号を出力するカウンタと、前記タイマーの状態に応
じて前記カウントアップ信号を選択するセレクタと、ダ
ミー信号を発生するダミー信号発生手段と、切り替えス
イッチを有して、 前記省電力モードの実行および解除を指令する手段は、
前記タイマーがカウントアップ完了までは当該親局の発
振回路の発振を継続させるとともに、前記タイマーのカ
ウントアップ中に前記ウェイクアップパルスを受信した
ときには前記複数パルスのカウントアップ信号に基づき
省電力モードの解除を指令し、前記タイマー手段がカウ
ントアップ後に前記ウェイクアップパルスを受信したと
きには前記1パルスのカウントアップ信号に基づき省電
力モードの解除を指令し、該省電力モードの解除を指令
する通信信号を送信する際には、まず前記ダミー信号発
生手段からのダミー信号を送出させ、その後前記切り替
えスイッチを切り替えて省電力モードの解除を指令する
通信信号を送出するように構成されたことを特徴とする
通信システム。
3. A master station and a slave station connected by a communication line each have an oscillation circuit, and the master station has a power saving mode in which the oscillation operation of the oscillation circuit is stopped to save power. A communication system comprising means for instructing execution and cancellation of a power mode, and wherein the slave station issues a wake-up pulse to request the master station to cancel the power saving mode. A timer that counts a predetermined count after a mode execution command, a counter that counts the wake-up pulse and outputs a count-up signal of one pulse or a plurality of pulses, and selects the count-up signal according to the state of the timer. A selector, a dummy signal generating means for generating a dummy signal, and a changeover switch, for executing and canceling the power saving mode. Ryosuru means,
Until the timer counts up, the oscillation of the oscillation circuit of the master station continues, and when the wake-up pulse is received during the count-up of the timer, the power-saving mode is canceled based on the count-up signal of the plurality of pulses. When the timer means receives the wake-up pulse after counting up, it issues a command to cancel the power saving mode based on the count-up signal of the one pulse, and transmits a communication signal instructing cancellation of the power saving mode. When performing the communication, the communication device is configured to first transmit a dummy signal from the dummy signal generation unit, and thereafter transmit a communication signal for instructing release of the power saving mode by switching the changeover switch. system.
JP06606493A 1993-03-02 1993-03-02 Communications system Expired - Lifetime JP3282278B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06606493A JP3282278B2 (en) 1993-03-02 1993-03-02 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06606493A JP3282278B2 (en) 1993-03-02 1993-03-02 Communications system

Publications (2)

Publication Number Publication Date
JPH06261100A JPH06261100A (en) 1994-09-16
JP3282278B2 true JP3282278B2 (en) 2002-05-13

Family

ID=13305057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06606493A Expired - Lifetime JP3282278B2 (en) 1993-03-02 1993-03-02 Communications system

Country Status (1)

Country Link
JP (1) JP3282278B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5471816B2 (en) * 2010-05-19 2014-04-16 株式会社デンソー Communication device and method for canceling sleep state of communication device
KR20140038737A (en) 2012-09-21 2014-03-31 삼성전자주식회사 Semiconductor device and method of gating operational clock thereof
JP2022076702A (en) * 2020-11-10 2022-05-20 株式会社デンソー Communication device

Also Published As

Publication number Publication date
JPH06261100A (en) 1994-09-16

Similar Documents

Publication Publication Date Title
JP2752030B2 (en) Signal transmission / reception device in local area network line
KR100819720B1 (en) Data processing system having an on-chip background debug system and method therefor
US5986962A (en) Internal shadow latch
WO2003096036A1 (en) Single-wire communication bus for miniature low-power systems
CA1210827A (en) Debounce circuit providing synchronously clocked digital signals
JP3282278B2 (en) Communications system
US5894240A (en) Reset methods and apparatus for microcontrollers having bidirectional reset lines
JP2988185B2 (en) Multiplex communication device
JPH0532142A (en) Watch dog timer device of microcomputer system supply
US6237090B1 (en) Synchronous or asynchronous resetting circuit
JP3711849B2 (en) Microcomputer
JPH07334392A (en) Resetting device and abnormal operation detector
JP2738229B2 (en) Serial data communication controller
JP3903716B2 (en) Microcomputer
JP2970097B2 (en) Communication device
JPH09212201A (en) Control circuit for production facility
JP2686024B2 (en) Clock control system
KR200145481Y1 (en) A flag setting circuit for a microcontroller
JPH0683643A (en) Cpu interruption processing control system using machine switch
JPH0962403A (en) Remote controller
KR100239428B1 (en) Power saving circuit
KR19990059590A (en) How to restart the terminal in wired communication with a computer
JPH06291802A (en) Multiplex transmitter
JPH11134318A (en) Memory system and single chip microcomputer incorporating the same system
JPS6322679B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020129

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

Free format text: PAYMENT UNTIL: 20090301

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100301

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110301

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130301

Year of fee payment: 11