JPH0244926A - Power line carrier receiver - Google Patents

Power line carrier receiver

Info

Publication number
JPH0244926A
JPH0244926A JP63194644A JP19464488A JPH0244926A JP H0244926 A JPH0244926 A JP H0244926A JP 63194644 A JP63194644 A JP 63194644A JP 19464488 A JP19464488 A JP 19464488A JP H0244926 A JPH0244926 A JP H0244926A
Authority
JP
Japan
Prior art keywords
carrier signal
power line
circuit
count value
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63194644A
Other languages
Japanese (ja)
Inventor
Koki Iwatsubo
幸喜 岩坪
Noriyuki Kushiro
紀之 久代
Kazuhiro Maruyama
和弘 丸山
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63194644A priority Critical patent/JPH0244926A/en
Publication of JPH0244926A publication Critical patent/JPH0244926A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

PURPOSE:To improve the transmission efficiency by varying a reception level of a carrier signal received in response to noise condition of a power line and a reception discrimination rate of the carrier signal. CONSTITUTION:A binarizing circuit 8 binarizes a carrier signal with respect to a reference voltage, a counter circuit 9 frequency-divides the binarized carrier signal with a frequency division ratio set by a frequency division ratio setting means (switch) 9b and counts the result. A sub bit discrimination function 11c applies sub bit discrimination based on the result of comparison between the basic count and the count and a reference level control function 11e revises the level of the reference voltage. Thus, the transmission distance is adjusted in response to a noise voltage on an indoor distribution line 2. Thus, the transmission efficiency is improved.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は電力線を介してデータを伝送する電力線搬送受
信装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a power line carrier/receiver that transmits data via a power line.

[従来の技術] 第8図は例えば特開昭81−280723号公報に示さ
れている従来の電力線搬送装置の受信部のブロック図で
ある。第8図において、(1)は商用電源、(2)は電
力線、(5)は結合回路(3)及び増幅回路(32)か
ら構成されている受信回路、(6)は電源同期検出回路
、(31)は制御回路、(33)はカウンタである。
[Prior Art] FIG. 8 is a block diagram of a receiving section of a conventional power line transport device disclosed in, for example, Japanese Patent Application Laid-Open No. 81-280723. In FIG. 8, (1) is a commercial power supply, (2) is a power line, (5) is a receiving circuit consisting of a coupling circuit (3) and an amplifier circuit (32), (6) is a power synchronization detection circuit, (31) is a control circuit, and (33) is a counter.

受信回路(5)は電力線(2)に結合されており、電力
線(2)から信号aが入力される。信号aは第9図(a
)に示すように、方形波形の搬送信号を論理データによ
って変調し、さらにこの変調信号を正弦波波形の商用電
源(1)に重畳したものである。
The receiving circuit (5) is coupled to the power line (2) and receives the signal a from the power line (2). Signal a is shown in Figure 9 (a
), a rectangular waveform carrier signal is modulated by logical data, and this modulated signal is further superimposed on a sinusoidal waveform commercial power supply (1).

結合回路(3)は第9図(C)に示すように信号aから
商用電源(1)の周波数成分を除去して、変調信号Cを
出力する。
The coupling circuit (3) removes the frequency component of the commercial power supply (1) from the signal a and outputs a modulated signal C, as shown in FIG. 9(C).

電源同期検出回路(6)は商用電源(1)のゼロクロス
点を検出して、第9図(b)に示すゼロクロス信号すを
出力する。このゼロクロス信号すは論理データを解読す
るタイミングを図るのに利用される。
The power supply synchronization detection circuit (6) detects the zero-crossing point of the commercial power supply (1) and outputs the zero-crossing signal shown in FIG. 9(b). This zero-crossing signal is used to determine the timing for decoding logical data.

増幅回路(32)は結合回路(3)が出力する変調信号
Cを増幅し、これをカウンタ(33)に出力する。
The amplifier circuit (32) amplifies the modulation signal C output by the coupling circuit (3) and outputs it to the counter (33).

カウンタ(33)は変調信号aを復調して得られる搬送
信号のパルス数を計数する。なお、カウンタ(33)は
制御回路(31)のリセット入力によりリセットされる
A counter (33) counts the number of pulses of the carrier signal obtained by demodulating the modulated signal a. Note that the counter (33) is reset by the reset input of the control circuit (31).

制御回路(31)は論理データを解読し、その内容に応
じて負荷(図示せず)の制御及び表示の変更等の処理を
行なう。
The control circuit (31) decodes the logical data and performs processes such as controlling a load (not shown) and changing the display according to the contents.

第8図に示した従来の電力線搬送装置の受信部は、第9
図に示したように商用電源(1)の周波数の半サイクル
に対して、1ビツトの論理データを伝送するものである
。この論理データは搬送信号かあるときは論理“1“に
、搬送信号がないときは論理″0”に対応している。従
って、第8図の論理データは“10110“の情報を伝
送していることになる。
The receiving section of the conventional power line carrier shown in FIG.
As shown in the figure, one bit of logical data is transmitted per half cycle of the frequency of the commercial power supply (1). This logic data corresponds to logic "1" when there is a carrier signal, and corresponds to logic "0" when there is no carrier signal. Therefore, the logical data in FIG. 8 is transmitting information of "10110".

次に、従来の電力線搬送装置の受信部の動作について説
明する。
Next, the operation of the receiving section of the conventional power line carrier device will be explained.

第9図(a)に示した信号aが受信回路(5)に入力さ
れると、結合回路(3)が搬送信号を取り出し、増幅回
路り32)か搬送信号を増幅し、カウンタ(33)に出
力する。カウンタ(33)は増幅回路(32)が出力す
る搬送信号の立上りエツジ又は立下りエツジの数をカウ
ントして、そのカウント値を制御回路(3])に出力す
る。
When the signal a shown in FIG. 9(a) is input to the receiving circuit (5), the coupling circuit (3) takes out the carrier signal, the amplifier circuit 32) amplifies the carrier signal, and the counter (33) Output to. The counter (33) counts the number of rising edges or falling edges of the carrier signal output by the amplifier circuit (32), and outputs the count value to the control circuit (3).

一方、電源同期検出回路(6)は商用電源(1)のセロ
クロス点を検出して、ゼロクロス信号すを制御回路(3
1)に出力する。制御回路(31)は電源同期検出回路
(6)かゼロクロス信号b(同期パルス)を出力する度
毎に、リセット信号を出力してカウンタ(33)をゼロ
クリアし、ゼロクリアしてから一定時間経過後にカウン
タ(33)のカウント値を読み出し、その値により搬送
信号の有無を判断する。
On the other hand, the power synchronization detection circuit (6) detects the zero cross point of the commercial power supply (1) and transmits the zero cross signal to the control circuit (3).
1) Output. The control circuit (31) outputs a reset signal to clear the counter (33) to zero every time the power supply synchronization detection circuit (6) outputs the zero-cross signal b (synchronization pulse), and after a certain period of time has passed since the zero-clear. The count value of the counter (33) is read out, and the presence or absence of the carrier signal is determined based on that value.

例えば、商用電源(1)の周波数を50 Hz、搬送信
号の周波数を100 KHzとし、電源同期検出回路(
6)がゼロクロス信号すを出力してから、Sms後に制
御回路(31)がカウント値を読み出すとすると、搬送
信号があるときに制御回路(31)か読み取るカウント
値は500になる。従って、制御回路(31)はカウン
ト値が500±25のときに搬送信号かあると判断する
と、100±5KHzの周波数選択度を得ることになる
For example, if the frequency of the commercial power supply (1) is 50 Hz and the frequency of the carrier signal is 100 KHz, the power synchronization detection circuit (
6) outputs a zero-crossing signal and the control circuit (31) reads the count value after SMS, the count value read by the control circuit (31) when there is a carrier signal is 500. Therefore, if the control circuit (31) determines that there is a carrier signal when the count value is 500±25, it will obtain a frequency selectivity of 100±5 KHz.

[発明が解決しようとする課題] ところで、上記構成の従来の電力線搬送装置の受信部は
、伝送路である電力線(2)のノイズの状態が場所及び
時間等により不安定であるので、受信電圧を固定して搬
送信号を弁別すると、伝送距離の低下及び伝送エラーに
よる伝送効率の低下が生じるという問題点があった。
[Problems to be Solved by the Invention] By the way, in the receiving section of the conventional power line carrier device having the above configuration, since the noise state of the power line (2) which is the transmission path is unstable depending on the location and time, If carrier signals are discriminated by fixing the carrier signal, there are problems in that the transmission distance decreases and the transmission efficiency decreases due to transmission errors.

本発明は上記問題点を解決するためになされたもので、
電力線(2)のノイズ状態に応じて受信した搬送信号の
受信レベルを可変できるとともに、搬送信号の受信判定
率を容易に可変できる電力線搬送受信装置を提供するこ
とを目的とする。
The present invention has been made to solve the above problems,
It is an object of the present invention to provide a power line carrier receiving device that can vary the reception level of a received carrier signal depending on the noise state of a power line (2) and easily vary the reception determination rate of the carrier signal.

[課題を解決するための手段] 本発明に係る電力線搬送受信装置は、搬送信号を所定の
基準電圧と比較して、搬送信号を2値化する2値化手段
と、2値化した搬送信号を所定の分周比率で分周し、こ
の分周した搬送信号のパルス数を所定時間だけカウント
するカウント手段と、分周比率を設定する分周比率設定
手段と、予め設定されている基本カウント値とカウント
手段のカウント値とを比較する比較手段と、比較手段の
比較結果に基づいて、サブビット判定をするサブビット
判定手段と、比較手段の比較結果に基づいて、基準電圧
の大きさを変更する基準電圧制御手段とを備えている。
[Means for Solving the Problems] A power line carrier/receiver according to the present invention includes a binarization unit that binarizes the carrier signal by comparing the carrier signal with a predetermined reference voltage, and a binarization unit that binarizes the carrier signal by comparing the carrier signal with a predetermined reference voltage. a counting means for dividing the frequency by a predetermined frequency division ratio and counting the number of pulses of the frequency-divided carrier signal for a predetermined time; a frequency division ratio setting means for setting the frequency division ratio; and a preset basic count. a comparison means for comparing the value with the count value of the counting means; a sub-bit determination means for making a sub-bit determination based on the comparison result of the comparison means; and a change in the magnitude of the reference voltage based on the comparison result of the comparison means. and reference voltage control means.

[作 用コ 上記構成の電力線搬送受信装置は、2値化手段が搬送信
号を所定の基準電圧と比較して2値化すると、カウント
手段が2値化された搬送信号を分周比率設定手段によっ
て設定された分周比率て分周し、さらに分周した搬送信
号のパルス数を所定時間だけカウントし、比較手段が予
め設定されている基本カウント値とカウント手段のカウ
ント値とを比較する。
[Function] In the power line carrier/receiver having the above configuration, when the binarization means compares the carrier signal with a predetermined reference voltage and binarizes it, the counting means converts the binarized carrier signal into a frequency division ratio setting means. The frequency is divided by the frequency division ratio set by , and the number of pulses of the frequency-divided carrier signal is counted for a predetermined period of time, and the comparing means compares a preset basic count value with the count value of the counting means.

このとき、比較結果に基づいてサブビット判定手段がサ
ブビット判定をするとともに、基準電圧制御手段が比較
結果に基づいて、基準電圧の大きさを変更する。
At this time, the sub-bit determination means makes a sub-bit determination based on the comparison result, and the reference voltage control means changes the magnitude of the reference voltage based on the comparison result.

[実施例] 以下、本発明の一実施例を添付図面を参照して詳細に説
明する。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明の一実施例に係る電力線搬送受信装置の
ブロック回路図である。第1図において、(1)は商用
電源、(2)は屋内電力線、(3)は屋内電力線(2)
に接続され、論理データにより変調された搬送信号を入
出力する結合回路、(4)は送信回路、(5)は受信回
路、(6)は商用電源(1)のゼロクロス点を検出し、
ゼロクロス点に同期したゼロクロス信号すを出力する電
源同期検出回路である。
FIG. 1 is a block circuit diagram of a power line carrier/receiver device according to an embodiment of the present invention. In Figure 1, (1) is the commercial power supply, (2) is the indoor power line, and (3) is the indoor power line (2).
(4) is a transmitting circuit, (5) is a receiving circuit, (6) detects the zero cross point of the commercial power supply (1),
This is a power supply synchronization detection circuit that outputs a zero-crossing signal synchronized with the zero-crossing point.

受信回路(5)は共振増幅回路(7) 、2値化回路(
8)、カウンタ回路(9)、基準電圧発生回路(10)
及びマイクロコンピュータ(11)から構成されている
The receiving circuit (5) includes a resonant amplifier circuit (7) and a binarization circuit (
8), counter circuit (9), reference voltage generation circuit (10)
and a microcomputer (11).

共振増幅回路(7)は信号aから商用電源(1)の周波
数成分を除去して(変調された)搬送信号を取り出して
、増幅する。信号aは上述したように論理データ(4a
)により搬送信号(4b)を変調し、さらにこの変調信
号を商用型i (L)に重畳したものである。
The resonant amplifier circuit (7) removes the frequency component of the commercial power source (1) from the signal a, extracts a (modulated) carrier signal, and amplifies it. Signal a is logical data (4a
) is used to modulate the carrier signal (4b), and this modulated signal is further superimposed on the commercial type i (L).

2値化回路(8)は基準電圧発生回路(10)によって
基準電圧が設定されるコンパレータ(8a)から構成さ
れており、共振増幅回路(7)が出力する搬送信号を2
値化する。
The binarization circuit (8) is composed of a comparator (8a) whose reference voltage is set by the reference voltage generation circuit (10), and converts the carrier signal output from the resonant amplifier circuit (7) into two.
Value.

カウンタ回路(9)は2値化回路(8)が出力する搬送
信号の立上りエツジ又は立下りエツジの数をカウントす
る第1のカウンタ(9a)、分周回路を構成するスイッ
チ(9b)及びNAND回路(9C)並びに第2のカウ
ンタ(9d)から構成されている。
The counter circuit (9) includes a first counter (9a) that counts the number of rising edges or falling edges of the carrier signal output by the binarization circuit (8), a switch (9b) forming a frequency dividing circuit, and a NAND It consists of a circuit (9C) and a second counter (9d).

基準電圧発生回路(10)は2値化回路(8)が搬送信
号を2値化するレベルがマイクロコンピュータ(11)
によって設定される。
The reference voltage generation circuit (10) is set at a level at which the binarization circuit (8) binarizes the carrier signal by the microcomputer (11).
Set by.

マイクロコンピュータ(11)は第2のカウンタ(9d
)のカウント値を記憶するカウント値記憶機能(lla
) 、基準カウント値を記憶している基準カウント値記
憶機能(llb) 、カウント値記憶機能(1,1a)
によるカウント値と基準カウント値記憶機能(]1.b
)によるカウント値とを比較するサブビット判定機能(
1−1c) 、2値化回路(8)が搬送信号を2値化す
る基準レベル値を記憶する基準レベル値記憶機能(li
d)及び基準レベル値記憶機能(lid)を制御する基
準レベル値制御機能(lie)を有している。
The microcomputer (11) has a second counter (9d
) count value storage function (lla
), a reference count value storage function (llb) that stores a reference count value, a count value storage function (1, 1a)
Count value and reference count value storage function (]1.b
) sub-bit judgment function (
1-1c), a reference level value storage function (li
d) and a reference level value control function (lie) that controls the reference level value storage function (lid).

なお、これらの諸機能はプログラムにより容易に実現で
きるものである。
Note that these functions can be easily realized by a program.

第1図に示した電力線搬送受信装置は、第2図に示すよ
うに屋内電力線搬送制御系に利用されている。第2図に
おいて、(21)は搬送信号が屋内へ漏れるのを防ぐブ
ロックフィルタ、(22)は屋内電力線(2)の適宜の
位置に接続され、遠隔制御を行なうコントローラとして
の電力線搬送受信装置、(23a) 、(23b)は遠
隔制御されるアダプタとしての電力線搬送受信装置、(
24a) 、(24b)はアダプタ(23a) 、(2
3b)に接続された負荷である。
The power line carrier receiving device shown in FIG. 1 is used in an indoor power line carrier control system as shown in FIG. In FIG. 2, (21) is a block filter that prevents the carrier signal from leaking indoors, (22) is a power line carrier/receiver device connected to an appropriate position of the indoor power line (2), and serves as a controller for remote control; (23a) and (23b) are power line carrier/receiver devices as remotely controlled adapters;
24a) and (24b) are adapters (23a) and (2
3b) is the load connected to.

次に、第1図に示した電力線搬送受信装置の動作につい
て、第3図、第4図、第5図、第6図及び第7図を参照
して説明する。
Next, the operation of the power line carrier/receiver shown in FIG. 1 will be explained with reference to FIGS. 3, 4, 5, 6, and 7.

なお、第3図は第1図に示した電力線搬送受信装置によ
る通信手順を示す図である。第4図は電力線(1)に伝
送されるパケットPの構成を示す図である。第5図は分
周比率の説明図である。第6図はサブビット受信処理の
タイミングチャートである。第7図は第1図に示した電
力線搬送受信装置によるサブビット受信処理のフローチ
ャートである。
Note that FIG. 3 is a diagram showing a communication procedure by the power line carrier/receiver device shown in FIG. 1. FIG. 4 is a diagram showing the structure of a packet P transmitted to the power line (1). FIG. 5 is an explanatory diagram of the frequency division ratio. FIG. 6 is a timing chart of sub-bit reception processing. FIG. 7 is a flowchart of sub-bit reception processing by the power line carrier receiving device shown in FIG.

まず、親機であるコントローラ(22)から子機である
アダプタ(23a)への送信要求1?EQが発生すると
、コントローラ(22)のマイクロコンピュータ(11
)は送信内容に応じた論理データ(4a)及び電源同期
検出回路(6)が検出したゼロクロス信号すに従って、
論理データ(4a)を搬送信号(41))とともに送信
回路(4)に出力する。
First, a transmission request 1? is sent from the master controller (22) to the slave adapter (23a)? When EQ occurs, the microcomputer (11) of the controller (22)
) is based on the logic data (4a) according to the transmission content and the zero-cross signal detected by the power synchronization detection circuit (6).
The logic data (4a) is outputted to the transmission circuit (4) together with the carrier signal (41).

送信回路(4)は論理データ(4a)によって搬送信号
(4b)を変調して、この変調した搬送信号を結合回路
(3)を介して屋内電力線(2)に出力する。搬送信号
(4b)は商用電源(1)に重畳されて、屋内電力線(
2)を介してアダプタ(23a)に伝送される。
The transmitting circuit (4) modulates the carrier signal (4b) with the logical data (4a) and outputs the modulated carrier signal to the indoor power line (2) via the coupling circuit (3). The carrier signal (4b) is superimposed on the commercial power supply (1) and connected to the indoor power line (
2) to the adapter (23a).

なお、搬送信号(4b)は第4図に示すように優先コー
ドPC,自己アドレスSA、相手アドレスDA、制御コ
マンドCW、データ長BC,データDATA及びフレー
ムチエツクコードFCCから構成されたパケットPとし
て伝送される。
The carrier signal (4b) is transmitted as a packet P consisting of a priority code PC, self address SA, destination address DA, control command CW, data length BC, data DATA, and frame check code FCC, as shown in Fig. 4. be done.

子機であるアダプタ(23a)はコントローラ(22)
が出力した搬送信号を結合回路(3)を介して受信回路
(5)に入力する。
The adapter (23a), which is a slave device, is the controller (22)
The carrier signal outputted by the receiver is inputted to the receiving circuit (5) via the coupling circuit (3).

共振増幅回路(7)が電源同期検出回路(6)の検出し
たゼロクロス信号すに従って、商用電源(1)が重畳さ
れた信号を復調して、変調信号を取り出して増幅すると
、2値化回路(8)か増幅された変調信号を基準電圧発
生回路(10)により設定されたレベルで2値化する。
When the resonant amplifier circuit (7) demodulates the signal on which the commercial power supply (1) is superimposed according to the zero-crossing signal detected by the power supply synchronization detection circuit (6), and extracts and amplifies the modulated signal, the binarization circuit ( 8) Binarize the amplified modulation signal at a level set by the reference voltage generation circuit (10).

第1のカウンタ(9a)は2値化された搬送信号の立上
りエツジ又は立下りエツジの数をカウントする。第1の
カウンタ(9a)のカウント値はスイッチ(9b)のオ
ン・オフ状態に応じた分周比で分周され、NAND回路
(9C)を介して第2のカウンタ(9d)に入力される
。分周比はスイッチ(9b)を第5図(a)、第5図(
b)及び第5図(c)に示すようにすると、それぞれ1
1.2:1及び3・1になる。
The first counter (9a) counts the number of rising edges or falling edges of the binarized carrier signal. The count value of the first counter (9a) is divided by a frequency division ratio according to the on/off state of the switch (9b), and is input to the second counter (9d) via the NAND circuit (9C). . The frequency division ratio is determined by setting the switch (9b) in Fig. 5(a) and Fig. 5(
b) and as shown in Figure 5(c), 1
1.2:1 and 3.1.

第2のカウンタ(9d)は第1のカウンタ(9a)と同
様に分周された搬送信号の立上りエツジ又は立下りエツ
ジの数をカウントする。
The second counter (9d), like the first counter (9a), counts the number of rising edges or falling edges of the frequency-divided carrier signal.

一方、電源同期検出回路(6)は商用電源(1)のゼロ
クロス点を検出して、ゼロクロス信号すをマイクロコン
ピュータ(11)に出力する。
On the other hand, the power synchronization detection circuit (6) detects the zero-crossing point of the commercial power source (1) and outputs a zero-crossing signal to the microcomputer (11).

マイクロコンピュータ(11)は第6図に示すように、
ゼロクロス信号すか出力された時刻から時間t2経過後
に、第1のカウンタ(9a)及び第2のカウンタ(9d
)をリセットする。このリセットにより、カウンタ(9
aL (gd)は“○″サブピツI−Coのカウントを
開始する。
As shown in Figure 6, the microcomputer (11)
After time t2 has elapsed from the time when the zero-cross signal was output, the first counter (9a) and the second counter (9d
) to reset. This reset causes the counter (9
aL (gd) starts counting the “○” sub-pits I-Co.

マイクロコンピュータ(11)は“0“サブビットCの
カウントが開始されてから時間t3経過後に、第2のカ
ウンタ(9d)のカウント値をカウント値記憶機能(l
la)により記憶する。
The microcomputer (11) stores the count value of the second counter (9d) in the count value storage function (l
la).

さらに、マイクロコンピュータ(11)が第2のカウン
タ(9d)のカウント値を記憶してから時間t4経過後
にカウンタ(9a)及びカウンタ(9C)をリセットす
ると、カウンタ(9a)、(9d)は“1”サブビット
C1のカウントを開始する。
Furthermore, when the microcomputer (11) resets the counter (9a) and the counter (9C) after time t4 has elapsed after storing the count value of the second counter (9d), the counters (9a) and (9d) 1” Start counting sub-bit C1.

マイクロコンピュータ(11)は“1″サブビツトCの
カウントが開始されてから時間t5経過後■ に、第2のカウンタ(9d)のカウント値をカウント値
記憶機能(lla)により記憶する。
The microcomputer (11) stores the count value of the second counter (9d) by the count value storage function (lla) after time t5 has elapsed since the start of counting of the "1" sub-bit C.

マイクロコンピュータ(11)はカウント値記憶機能(
1,1a)により第2のカウンタ(9d)のカウント値
が記憶されると、第7図のフローチャートに示す動作を
する。
The microcomputer (11) has a count value storage function (
1, 1a), when the count value of the second counter (9d) is stored, the operation shown in the flowchart of FIG. 7 is performed.

(1)ステップ81〜S4 マイクロコンピュータ(11)はカウント値記憶機能(
lla)により第2のカウンタ(9d)のカウント値が
記憶されると(ステップS1)、休止時間WTであるか
否かを判断する(ステップS2)。
(1) Steps 81 to S4 The microcomputer (11) has a count value storage function (
When the count value of the second counter (9d) is stored (step S1), it is determined whether it is the pause time WT (step S2).

マイクロコンピュータ(11)は休止時間WTてないと
きは、第2のカウンタ(9d)のカウント値が“0”サ
ブビットcoの基準カウント値(t3x f 1lz)
の10%以上であるか否かを判断する(ステップ33)
。例えば、搬送信号(4b)の周波数fが125旧比の
ときは、基準カウント値は2.8 m5X125 KH
z−150であるので、基準カウント値の10%は35
0 XO,l =35になる。
When the microcomputer (11) does not have a pause time WT, the count value of the second counter (9d) is "0" and the reference count value of sub-bit co (t3x f 1lz)
(Step 33)
. For example, when the frequency f of the carrier signal (4b) is 125 old, the standard count value is 2.8 m5X125 KH
Since z-150, 10% of the reference count value is 35
0 XO,l =35.

マイクロコンピュータ(11)は第2のカウンタ(9d
)のカウント値か基準カウント値の10%以上であると
きは、受信フラグをセットして(ステップS4)、サブ
ビットを判定し、コントローラ(22)が送出したパケ
ットPを復調する。
The microcomputer (11) has a second counter (9d
) is 10% or more of the reference count value, the reception flag is set (step S4), the sub-bits are determined, and the packet P sent by the controller (22) is demodulated.

受信判定率の変更は上述したように第1のカウンタ(9
a)の出力をスイッチ(9b)の切り換えにより分周し
、第2のカウンタ(9d)でカウントすることにより行
なっている。従って、マイクロコンピュタ(11)によ
る受信判定率を変更せずに、受信判定率を変更できる(
ステップS3参照)。
The reception judgment rate can be changed by changing the first counter (9) as described above.
This is done by frequency-dividing the output of step a) by switching a switch (9b) and counting it with a second counter (9d). Therefore, the reception determination rate can be changed without changing the reception determination rate by the microcomputer (11).
(see step S3).

例えば、受信判定率を10%、20%、30%又は40
%にするときは、分周比を1:]、2,1.31又は4
・1にすればよい。
For example, set the reception judgment rate to 10%, 20%, 30%, or 40%.
%, set the division ratio to 1: ], 2, 1.31 or 4
・Set it to 1.

(2)ステップ85〜S8 アダプタ(23a)はパケットの受信完了後、直ちにコ
ントローラ(22)にACKを返送して通信を終了する
。マイクロコンピュータ(11)はACKの返送後、休
止時間WT中に(ステップS2)、サブビット判定機能
(11,c)かカウント値記憶機能(lla)により記
憶した第2のカウンタ(9d)のカウント値か基準カウ
ント値記憶機能(11,b)により記憶している基準カ
ウント値より大きいか否かを判断する(ステップS5)
、なお、この休止時間WTは3ビツトのブタを送る時間
(電源周波数の3/2周期)に相当する。又、休止時間
WTはパケッhp及びACKを監視することにより検出
する。
(2) Steps 85 to S8 After the adapter (23a) completes receiving the packet, it immediately returns an ACK to the controller (22) and ends the communication. After returning the ACK, during the pause time WT (step S2), the microcomputer (11) calculates the count value of the second counter (9d) stored by the sub-bit determination function (11, c) or the count value storage function (lla). is larger than the reference count value stored by the reference count value storage function (11, b) (step S5).
Note that this pause time WT corresponds to the time for sending 3 bits (3/2 period of the power supply frequency). Further, the pause time WT is detected by monitoring the packet hp and ACK.

マイクロコンピュータ(11)は第2のカウンタ(9d
)のカウンタ値が基準カウント値より大きいときは、基
準レベル値制御機能(llb)によりrレベルINc処
理」を行ない(ステップS6)、小さいときは基準レベ
ル値制御機能(llb)により「レベルDEC処理」を
行なう(ステップ37)なお、「レベルINC処理」は
基準レベル値記憶機能(lid)により記憶しているレ
ベルを1つだけ増加させるものである。又、「レベルD
EC処理」は基準レベル値記憶機能(1]、d)により
記憶しているレベルを1つだけ減少させるものである。
The microcomputer (11) has a second counter (9d
) is larger than the reference count value, the reference level value control function (llb) performs "r level INc processing" (step S6), and when it is smaller, the reference level value control function (llb) performs "level DEC processing". '' (step 37) Note that the ``level INC processing'' increases the level stored by the reference level value storage function (lid) by one. Also, “Level D
"EC processing" is to decrease the level stored by the reference level value storage function (1], d) by one.

さらに、基準レベル値記憶機能(1,1,d )は「レ
ベルINC処理」又はrレベルDEC処理」により変更
された基準レベル値を記憶する(ステップ38)。
Furthermore, the reference level value storage function (1, 1, d) stores the reference level value changed by the "level INC processing" or the "r level DEC processing" (step 38).

基準電圧発生回路(10)は変更された基準レベル値を
デジタル・アナログ変換し、2値化回路(8)のコンパ
レータ(8a)の基準電圧として川内する。この動作に
より屋内電力線(2)のノイズ状態に応じて受信電圧の
大きさを制御することができる。即ち、第2のカウンタ
(9d)のカウンタ値が基準カウント値より大きいとき
は、基準レベル値を上げ、第2のカウンタ(9d)のカ
ウンタ値が基準カウント値より小さいときは基準レベル
値を下げることになる。
The reference voltage generation circuit (10) converts the changed reference level value from digital to analog, and outputs it as a reference voltage to the comparator (8a) of the binarization circuit (8). This operation makes it possible to control the magnitude of the received voltage according to the noise condition of the indoor power line (2). That is, when the counter value of the second counter (9d) is larger than the reference count value, the reference level value is increased, and when the counter value of the second counter (9d) is smaller than the reference count value, the reference level value is decreased. It turns out.

なお、アダプタ(23b)からコントローラ(22)へ
の送信要求REQが発生したときは、アダプタ(23a
)かACKを返送後、休止時間WT経過後に、アダプタ
(23b)がコントローラ(22)の行なう送信手順と
同様の送信手順によりデータを送信する。
Note that when a transmission request REQ is generated from the adapter (23b) to the controller (22), the adapter (23a)
) or ACK, and after the pause time WT has elapsed, the adapter (23b) transmits data using the same transmission procedure as that performed by the controller (22).

又、本実施例では2値化回路(8)とカウンタ回路(9
)で復調しているか、カウンタ回路(9)の代わりに積
分回路を設けて、積分回路の検出電圧をコンパレータ(
8a)の基準電圧としてもよい。
Furthermore, in this embodiment, a binarization circuit (8) and a counter circuit (9) are used.
), or install an integrating circuit instead of the counter circuit (9) and convert the detection voltage of the integrating circuit to the comparator (9).
8a) may be used as the reference voltage.

[発明の効果コ 以上説明したように本発明によれば、2値化手段が搬送
信号を基準電圧により2値化して、カウンタ手段が2値
化された搬送信号を、分周比率設定手段により設定され
た分周比率で分周して、これをカウントし、比較手段に
よる基本カウント値とカウント値との比較結果に基づい
て、サブビット判定手段がサブビット判定をするととも
に、基準電圧制御手段か基準電圧の大きさを変更するよ
うにしたので、屋内電力線のノイズ電圧に応じて伝送距
離を調節でき伝送効率を向」ニさせ得る電力線搬送受信
装置が得られるという効果を奏する。
[Effects of the Invention] As explained above, according to the present invention, the binarization means binarizes the carrier signal using the reference voltage, and the counter means binarizes the binarized carrier signal by the frequency division ratio setting means. The frequency is divided by the set frequency division ratio and counted. Based on the comparison result between the basic count value and the count value by the comparison means, the sub-bit judgment means makes a sub-bit judgment, and the reference voltage control means or the reference voltage control means Since the magnitude of the voltage is changed, it is possible to obtain a power line carrier/receiver device that can adjust the transmission distance according to the noise voltage of the indoor power line and improve the transmission efficiency.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例に係る電力線搬送受信装置の
ブロック回路図、第2図は第1図に示した電力線搬送受
信装置か利用される屋内電力線搬送制御系の説明図、第
3図は第1図に示した電力線搬送受信装置による通信手
順の説明図、第4図は屋内電力線(2)を伝送されるパ
ケットPの説明図、第5図は分周比率の説明図、第6図
はサブビット受信処理のタイミングチャート、第7図は
第1図に示した電力線搬送受信装置によるサブビット受
信処理のフローチャー1・、第8図は従来の電力線搬送
装置の受信部のブロック図、第9図は第8図に示した従
来の電力線搬送装置の受信部の各部の信号波形図である
。 各図中、1は商用電源、2は屋内電力線、3は結合回路
、4は送信回路、5は受信回路、6は電源同期検出回路
、7は共振増幅回路、8は2値化回路、8aはコンパレ
ータ、9はカウンタ回路、9a19dはカウンタ、9b
はスイッチ、9cはNAND回路、10は基準電圧発生
回路、11はマイクロコンピュータ、Llaはカウント
値記憶機能、11.bは基準カウント値記憶機能、li
eはサブビット判定機能、lidは基準レベル値記憶機
能、lieは基準レベル値制御機能である。 なお、各図中同一符号は同−又は相当部分を示すもので
ある。
FIG. 1 is a block circuit diagram of a power line carrier/receiver according to an embodiment of the present invention, FIG. 2 is an explanatory diagram of an indoor power line carrier control system that utilizes the power line carrier/receiver shown in FIG. 1, and FIG. The figure is an explanatory diagram of the communication procedure by the power line carrier/receiver shown in Fig. 1, Fig. 4 is an explanatory diagram of the packet P transmitted on the indoor power line (2), Fig. 5 is an explanatory diagram of the frequency division ratio, 6 is a timing chart of sub-bit reception processing, FIG. 7 is a flowchart 1 of sub-bit reception processing by the power line carrier receiving device shown in FIG. 1, and FIG. 8 is a block diagram of the receiving section of the conventional power line carrier device. FIG. 9 is a signal waveform diagram of each part of the receiving section of the conventional power line carrier device shown in FIG. 8. In each figure, 1 is a commercial power supply, 2 is an indoor power line, 3 is a coupling circuit, 4 is a transmitting circuit, 5 is a receiving circuit, 6 is a power synchronization detection circuit, 7 is a resonance amplifier circuit, 8 is a binarization circuit, 8a is a comparator, 9 is a counter circuit, 9a19d is a counter, 9b
9c is a switch, 9c is a NAND circuit, 10 is a reference voltage generation circuit, 11 is a microcomputer, Lla is a count value storage function, 11. b is a reference count value storage function, li
e is a sub-bit determination function, lid is a reference level value storage function, and lie is a reference level value control function. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 商用電源に重畳された、論理データにより変調された搬
送信号を、該商用電源の電力線から取り出す結合手段を
有する電力線搬送受信装置において、前記搬送信号を所
定の基準電圧により2値化する2値化手段と、前記2値
化手段により2値化した搬送信号を所定の分周比率で分
周し、該分周した搬送信号のパルス数を所定時間だけカ
ウントするカウント手段と、前記分周比率を設定する分
周比率設定手段と、予め設定されている基本カウント値
と前記カウント手段のカウント値とを比較する比較手段
と、前記比較手段の比較結果に基づいて、サブビット判
定をするサブビット判定手段と、前記比較手段の比較結
果に基づいて、前記基準電圧の大きさを変更する基準電
圧制御手段とを備えたことを特徴とする電力線搬送受信
装置。
In a power line carrier/receiver device having a coupling means for extracting a carrier signal modulated by logical data superimposed on a commercial power source from a power line of the commercial power source, binarization converts the carrier signal into a binary value using a predetermined reference voltage. means for frequency-dividing the carrier signal binarized by the binarizing means at a predetermined frequency division ratio, and counting means for counting the number of pulses of the frequency-divided carrier signal for a predetermined time; A dividing ratio setting means to set, a comparison means for comparing a preset basic count value and a count value of the counting means, and a sub-bit determination means for making a sub-bit determination based on the comparison result of the comparison means. , and reference voltage control means for changing the magnitude of the reference voltage based on the comparison result of the comparison means.
JP63194644A 1988-08-05 1988-08-05 Power line carrier receiver Pending JPH0244926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63194644A JPH0244926A (en) 1988-08-05 1988-08-05 Power line carrier receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63194644A JPH0244926A (en) 1988-08-05 1988-08-05 Power line carrier receiver

Publications (1)

Publication Number Publication Date
JPH0244926A true JPH0244926A (en) 1990-02-14

Family

ID=16327941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63194644A Pending JPH0244926A (en) 1988-08-05 1988-08-05 Power line carrier receiver

Country Status (1)

Country Link
JP (1) JPH0244926A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100332814B1 (en) * 2000-04-25 2002-04-19 구자홍 Optimal communication method for power line transmission apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100332814B1 (en) * 2000-04-25 2002-04-19 구자홍 Optimal communication method for power line transmission apparatus

Similar Documents

Publication Publication Date Title
US4864589A (en) Spread spectrum power line communications
US4479215A (en) Power-line carrier communications system with interference avoidance capability
US4642607A (en) Power line carrier communications system transformer bridge
US4599598A (en) Data transmission system utilizing power line
US4556865A (en) Data transmission system utilizing power line
EP0353759A2 (en) Mobile radio data communication system and method
US6208694B1 (en) Reduced power supervisory message transmission in a wireless alarm system
CA2063526A1 (en) Carrier recovery control with sequential fec sync detection and frame sync detection
JPS5929015B2 (en) Multiple speed control device
KR960013301B1 (en) Modems and Data Communication Systems for Data Communication Devices
JPH0244926A (en) Power line carrier receiver
JPS6234425A (en) Line of electric force carrier communicator
US5317598A (en) Portable test receiver for remote monitoring system
JPH10107859A (en) Data transmission method, write / read control unit and data carrier
JP2590848B2 (en) Information signal receiving device
JPH0936819A (en) Bidirectional signal transmission system
JP3481484B2 (en) Simple two-way communication system and its terminal device
JPH0377420A (en) Automatic frequency controller
JPH05120497A (en) Identification system
JP2616618B2 (en) Data receiving device
JPH0297143A (en) Interrogator, responder, and communication system provided with them
JPH0463025A (en) Contactless id device
JPH08237178A (en) Mobile body identification device
JPH1013419A (en) Communication device
JPH02902B2 (en)