JPH0411429A - Data receiver provided with correction function - Google Patents

Data receiver provided with correction function

Info

Publication number
JPH0411429A
JPH0411429A JP11409890A JP11409890A JPH0411429A JP H0411429 A JPH0411429 A JP H0411429A JP 11409890 A JP11409890 A JP 11409890A JP 11409890 A JP11409890 A JP 11409890A JP H0411429 A JPH0411429 A JP H0411429A
Authority
JP
Japan
Prior art keywords
data signal
pulse
signal
pulses
data
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
JP11409890A
Other languages
Japanese (ja)
Inventor
Toru Michigami
徹 道上
Masayoshi Murakami
昌義 村上
Takeshi Yoshida
猛 吉田
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.)
Noritz Corp
Original Assignee
Noritz 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 Noritz Corp filed Critical Noritz Corp
Priority to JP11409890A priority Critical patent/JPH0411429A/en
Publication of JPH0411429A publication Critical patent/JPH0411429A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To accurately discriminate a data by counting number of pulses per unit time in a start code so as to recognize a rate of change in a data signal and correcting a criterion of the data signal in turn through the use of the ratio. CONSTITUTION:Upon the receipt of an analog data signal 12, a pulse number conversion circuit 5 of a receiver 4 converts the signal into a pulse signal 13. A timer 7 starts measurement of time synchronously with the start of reception of a start code 14 and a pulse counter 6 counts number of pulses of the code 14. After lapse of a reference time t0, the count of the code 14 is stopped to obtain a pulse number M. The number is fed to a pulse number correction section 9 and when the number of pulses of the code 14 per the time t0 in the normal state is M0, the correction ratio is set to M/M0, and when the number is 2M/M0-4M/M0, the L bits are discriminated to be corrected and when the number is 6M/M0-8M/M0, the H bits are discriminated to be corrected and a threshold level whose L or H bits are corrected is confirmed. Whether or not data signals 16, 17,... are at L or H level is discriminated based on the level to decode a data signal. The correction rate is calculated for each reception of a data signal and the signal is corrected.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、補正機能付きのデータ受信装置に関する。詳
しくは、パルス状をしたスタートコード及びデータ信号
を受信し、あるいは、受信したスタートコード及びデー
タ信号をパルス変換し、当該データ信号(パルス信号)
の単位時間当たりのパルス数によってデータ信号を2進
化符号として判定する受信装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data receiving device with a correction function. Specifically, a pulse-shaped start code and data signal are received, or the received start code and data signal are converted into pulses, and the data signal (pulse signal) is converted into a pulse.
The present invention relates to a receiving device that determines a data signal as a binary code based on the number of pulses per unit time.

[背景技術] データ伝送方式として、電力波形に信号波形を重畳させ
て電力線よりデータ信号を伝送する重畳伝送方式がある
。これは、第3図に示すように、電力波形(正弦波)1
1に周波数変調させた微小なアナログデータ信号12(
1ビツト毎に分離させている。)を乗せて電力線で送る
ものであり、受信装置では、これを電力とアナログ信号
とに分離し、さらに、アナログデータ信号12を第4図
に示すようなパルス信号(デジタル信号)13に変換し
、単位時間当たり相当のパルス数によって受信データ信
号の各ビットが2進化符号のうちいずれかを判定してい
る。例えば、単位時間当たりのパルス数が2〜4であれ
ばロー(L)、6〜8であればハイ(H)といったよう
に判定している。
[Background Art] As a data transmission method, there is a superimposition transmission method in which a signal waveform is superimposed on a power waveform and a data signal is transmitted from a power line. As shown in Figure 3, this is the power waveform (sine wave) 1
A minute analog data signal 12 (
Each bit is separated. ), and the receiver separates this into electric power and an analog signal, and then converts the analog data signal 12 into a pulse signal (digital signal) 13 as shown in Figure 4. , each bit of the received data signal is determined to be one of the binary codes by a corresponding number of pulses per unit time. For example, if the number of pulses per unit time is 2 to 4, it is determined to be low (L), and if it is 6 to 8, it is determined to be high (H).

また、このパルス変換後のデータ構造は、第4図に示す
ように、データのスタートを知らせるスタートコード1
4に続き、データ準備期間15が経過した後、データ信
号1ei、17.・・・を送るようになっている。例え
ば、第4図で、16はLビットを示すデータ信号、17
はHビットを示すデータ信号である。
The data structure after this pulse conversion is as shown in Figure 4, with a start code 1 indicating the start of data.
4, and after the data preparation period 15 has elapsed, the data signals 1ei, 17. ... is now sent. For example, in FIG. 4, 16 is a data signal indicating the L bit, 17
is a data signal indicating H bit.

[発明が解決しようとする課題] しかしながら、上記のような伝送方式においては、送信
側のデータ発生回路の部品のばらつきや温度変化等の影
響により、アナログ信号の周波数が変化すると、受信装
置でパルス信号に変換された時にパルス幅が変化する。
[Problems to be Solved by the Invention] However, in the above transmission system, when the frequency of the analog signal changes due to variations in the components of the data generation circuit on the transmitting side, temperature changes, etc., pulses are generated in the receiving device. The pulse width changes when converted to a signal.

例えば、第5図(a)は正常時におけるLピットのパル
ス信号16の一部(第4図のデータ信号16のt。の範
囲)であり、第一5図(b)はパルス幅が狭くなったL
ビットのパルス信号1Gの一部である。この結果、受信
装置でカウントする単位時間当たりのパルス数に誤差が
発生し、データが誤判定されるという問題があった。
For example, FIG. 5(a) shows a part of the pulse signal 16 of the L pit during normal operation (the range of t. of the data signal 16 in FIG. 4), and FIG. 5(b) shows a narrow pulse width. Became L
This is a part of the bit pulse signal 1G. As a result, there is a problem in that an error occurs in the number of pulses per unit time counted by the receiving device, and data is erroneously determined.

しかして、本発明は叙上の従来例の欠点に鑑みてなされ
たものであり、その目的とするところは、パルス変換さ
れた受信データ信号のパルス幅が変化している場合でも
、そのパルス幅の変化を補正して誤判定を防止すること
にある。
However, the present invention has been made in view of the drawbacks of the conventional example described above, and its purpose is to improve the pulse width even when the pulse width of the pulse-converted received data signal changes. The objective is to correct changes in the values and prevent misjudgments.

口課題を解決するための手段] このため、本発明の補正機能付きデータ受信装置は、ス
タートコードに続いてデータ信号を受信するデータ受信
装置において、受信したスタートコードの単位時間当た
り相当のパルス数をカウントすることによって単位時間
当たり相当のパルス数の補正値を求め、この補正値を用
いて受信したデータ信号の単位時間当たり相当のパルス
数もしくは受信データ判定のしきい値を補正して受信デ
ータ信号を判定する補正手段を備えたことを特徴として
いる。
Means for Solving the Problems] For this reason, the data receiving device with a correction function of the present invention is a data receiving device that receives a data signal following a start code. A correction value for the equivalent number of pulses per unit time is calculated by counting the number of pulses per unit time, and this correction value is used to correct the equivalent number of pulses per unit time for the received data signal or the threshold value for receiving data judgment. It is characterized by comprising a correction means for determining the signal.

[作用コ データ信号の開始を示すスタートコードは、データの内
容に関係なく、単位時間当たり規定のパルス数を有して
いる。したがって、このスタートコードの単位時間当た
りのパルス数をカウントすれば、当該データ信号が変化
を受けて誤差を含んでいるか、否かが分かると共にどの
程度の比率で変化を受けているかが分かる。
[The start code indicating the start of the action code data signal has a prescribed number of pulses per unit time, regardless of the data content. Therefore, by counting the number of pulses of this start code per unit time, it can be determined whether the data signal has been changed and contains an error, and at what rate the data signal has been changed.

したがって、スタートコードから変化の比率が分かれば
、データ信号の判定基準をその比率を用いて逆に補正す
ることかでき、正確にデータを判定することかでざる。
Therefore, if the rate of change is known from the start code, it is possible to correct the criterion for determining the data signal using that rate, and to accurately determine the data.

[実施例] 以下、本発明の実施例を添付図に基づいて詳述する。[Example] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

第2図に示すものは、本発明の一実施例の受信装置や伝
送路等を示す概略ブロック図である。電力線等の伝送路
1から分岐した引き込み線2にはトランス3が設けられ
ており、このトランス3を介して伝送路1に受信装置4
が接続されている。
What is shown in FIG. 2 is a schematic block diagram showing a receiving device, transmission path, etc. of one embodiment of the present invention. A transformer 3 is provided in a lead-in line 2 branched from a transmission line 1 such as a power line, and a receiving device 4 is connected to the transmission line 1 via this transformer 3.
is connected.

受信装置4は、マイクロコンピュータによっテ制御され
ており、例えばパルス変換回路5、パルスカウンタ6、
タイマー7、デコーダ8及びパルス数補正部9等によっ
て構成されている。
The receiving device 4 is controlled by a microcomputer, and includes, for example, a pulse conversion circuit 5, a pulse counter 6,
It is composed of a timer 7, a decoder 8, a pulse number correction section 9, and the like.

しかして、第3図に示すような、周波数変調(あるいは
、振幅変調)されたアナログデータ信号12を乗せた電
力波形11が伝送路1に送られてくると、交流信号のみ
がトランス3を通過して受信機4へ送り込まれる。この
交流信号は、電力とアナログデータ信号12に分けられ
、アナログデータ信号12はパルス変換回路5で第4図
に示すようなパルス信号13に変換される。ついで、パ
ルス信号13(スタートコード14及びデータ信号16
.17.・・・)は、第4図に示すように、タイマー7
で時間t0を計測しなからt。間のパルス数をパルスカ
ウンター6によってカウントされる。デコーダー8は、
パルスカウンター6でカウントしたt。秒間におけるパ
ルス数(単位時間当たり相当のパルス数)から、データ
信号16,17、・・・の当該ビットが2進化符号のり
、Hのいずれであるかを判断する。また、パルス数補正
部9は、パルスカウンター6でカウントされたスタート
コード14のt0当たりのパルス数に基づき、パルス幅
の変化等によるパルス数の誤差を補正する。例えば、デ
ータ信号のt0当たりのパルス数が、2〜4であればL
ビット、6〜8であればHビットと判断される場合、第
5図のLビットのデ−タ信号16のように正常な状態で
あれば、パルス数が3であるので、Lビットと判断され
る。しかし、第5図のように変化したLビットのデータ
信号16の場合には、パルス数が6であるので、誤って
Hと判断されてしまう。この場合、パルス数補正部9は
、正常な状態におけるスタートコードのt0間のパルス
数M0と、当該パルス信号13についてカウントしたス
タートコード14のt。
When a power waveform 11 carrying a frequency-modulated (or amplitude-modulated) analog data signal 12 as shown in FIG. 3 is sent to the transmission line 1, only the AC signal passes through the transformer 3. and sent to the receiver 4. This AC signal is divided into electric power and an analog data signal 12, and the analog data signal 12 is converted by a pulse conversion circuit 5 into a pulse signal 13 as shown in FIG. Then, the pulse signal 13 (start code 14 and data signal 16
.. 17. ) is the timer 7 as shown in Fig. 4.
Measure the time t0 at t. The pulse counter 6 counts the number of pulses in between. Decoder 8 is
t counted with pulse counter 6. Based on the number of pulses per second (equivalent number of pulses per unit time), it is determined whether the relevant bit of the data signals 16, 17, . . . is a binary code or H. Further, the pulse number correction unit 9 corrects an error in the number of pulses due to a change in pulse width, etc., based on the number of pulses per t0 of the start code 14 counted by the pulse counter 6. For example, if the number of pulses per t0 of the data signal is 2 to 4, L
If the bit is 6 to 8, it is determined to be an H bit, but if it is in a normal state, as in the L bit data signal 16 in Figure 5, the number of pulses is 3, so it is determined to be an L bit. be done. However, in the case of the L-bit data signal 16 that changes as shown in FIG. 5, the number of pulses is 6, so it is erroneously determined to be H. In this case, the pulse number correction unit 9 calculates the pulse number M0 between t0 of the start code in a normal state and t of the start code 14 counted for the pulse signal 13.

当たりのパルス数Mから、補正比M / M Oを求め
、データ信号をり、Hと判断するためのしとい値を補正
する。仮に、この補正比M/Moが2であったとすると
、デコーダー8は、to当たりのパルス数が、4〜8の
時にLと判断し、12〜16の時にHと判断する。従っ
て、この補正されたしぎい値を用いると、第5図のよう
なパルス数6のデータ信号16も、正しくLビットと判
断されるのである。
The correction ratio M/MO is determined from the number of pulses M per hit, and the threshold value for determining H is corrected based on the data signal. Assuming that the correction ratio M/Mo is 2, the decoder 8 determines L when the number of pulses per to is between 4 and 8, and determines H when the number of pulses per to is between 12 and 16. Therefore, by using this corrected threshold value, even the data signal 16 with six pulses as shown in FIG. 5 can be correctly determined to be L bit.

つぎに、第1図のフローチャートに従って、本受信機に
よる受信動作を説明する。受信機4では、電力と共にデ
ータ信号を受信したか、否かを監視しており(S21)
、アナログデータ信号12を受信すると、パルス変換回
路5によってこれをパルス信号13に変換する。ついで
、スタートコード14の受信開始と同期してタイマー7
によって時間の計測を開始させると共にパルスパウンタ
−6によってスタートコード14のパルス数をカウント
する(S 22)。タイマー7によって基準時間t。が
経過したと判断されると(S23)、スタートコード1
4のカウントを停止しくS 24)、スタートコード1
4のパルス数Mを求める(S25)。このパルス数Mは
、パルス数補正部9へ送られ、正常な状態におけるスタ
ートコード14のto当たりのパルス数がM。であれば
、パルス数補正部9では、補正比をM / M Oとし
、例えば(従来例のしぎい値と同じ場合)、 2 M/Mo 〜4 M/M。
Next, the reception operation by this receiver will be explained according to the flowchart of FIG. The receiver 4 monitors whether or not a data signal is received along with power (S21).
, when the analog data signal 12 is received, the pulse conversion circuit 5 converts it into a pulse signal 13. Then, in synchronization with the start of reception of start code 14, timer 7 is activated.
At the same time, the pulse counter 6 counts the number of pulses of the start code 14 (S22). The reference time t is set by the timer 7. When it is determined that the period has elapsed (S23), the start code 1
Stop the count of 4 S24), start code 1
The number M of pulses of 4 is determined (S25). This pulse number M is sent to the pulse number correction section 9, and the number of pulses per to of the start code 14 in a normal state is M. If so, the pulse number correction unit 9 sets the correction ratio to M/MO, for example (if the same as the threshold value of the conventional example), 2 M/Mo to 4 M/M.

であれば、Lビットと判断し、 6M/Mo〜8M/M。If so, it is determined that it is L bit, 6M/Mo~8M/M.

であれば、Hビットと判断するように、L及びHの補正
されたしぎい値を確定しく326)、続くデータ信号1
6.17.・・・をこの補正されたしきい値に基づいて
判断する。ついで、データ信号16.17.・・・の受
信を開始しく527)、デコーダー8は、上記の補正さ
れたしきい値を用いて各ビットのデータ信号18,17
.・・・がLであるか、Hであるかを判断しく528)
、データ信号を解読する。本受信機は、このようにして
データ信号を受信する毎に、補正比な求めて補正を行な
うものである。
If so, the corrected threshold values of L and H are determined so as to determine the H bit (326), and the following data signal 1
6.17. ... is determined based on this corrected threshold value. Then, data signals 16, 17 . ... 527), and the decoder 8 receives each bit of the data signal 18, 17 using the above-mentioned corrected threshold value.
.. ... is L or H528)
, decoding the data signal. This receiver calculates a correction ratio and performs correction every time it receives a data signal.

尚、上記実施例では、スタートコードのパルス数をカウ
ントすることによってしきい値を補正したが、これとは
異なる方法で補正してもよい。例えば、しきい値はその
ままとし、スタートコードのパルス数をカウントするこ
とによって、データ信号のパルス数を補正してもよい。
In the above embodiment, the threshold value is corrected by counting the number of pulses of the start code, but it may be corrected using a method different from this. For example, the number of pulses of the data signal may be corrected by leaving the threshold value unchanged and counting the number of pulses of the start code.

すなわち、カウントしたデータ信号のパルス数を正常な
動作時のパルス数に換算してデータを判定してもよい。
That is, the data may be determined by converting the counted number of pulses of the data signal into the number of pulses during normal operation.

また、t0当たりのパルス数のカウントには、タイマー
を用いることなく、受信機内部で発生させたt。の幅の
基準パルスと受信したパルス信号とのアンド出力もしく
はオア出力のパルス数をカウントするようにしてもよい
Moreover, the number of pulses per t0 is generated within the receiver without using a timer. Alternatively, the number of AND or OR output pulses between the reference pulse having a width of 1 and the received pulse signal may be counted.

[発明の効果] 本発明によれば、データ信号の変化の比率を知ることで
きるので、送信機で、あるいは伝送中に変化を受けたデ
ータを補正することかできる。
[Effects of the Invention] According to the present invention, since the rate of change in a data signal can be known, it is possible to correct data that has undergone changes at the transmitter or during transmission.

したがって、送信側のデータ発生回路の部品のばらつき
や温度変化等の影響により、パルス信号のパルス幅が変
化して単位時間当たりのパルス数が変わっても、これを
補正して単位時間当たりの正しいパルス数として、ある
いは正しいし永い値として、パルス信号を判定させるこ
とかでき、データの誤判定を防止することができ、受信
機の信頼性な向上させることができる。
Therefore, even if the pulse width of the pulse signal changes and the number of pulses per unit time changes due to variations in the components of the data generation circuit on the transmitting side, temperature changes, etc., this can be corrected to produce the correct number of pulses per unit time. The pulse signal can be determined as the number of pulses or as a correct and long-lasting value, and erroneous determination of data can be prevented and the reliability of the receiver can be improved.

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

第1図は本発明の一実施例における受信動作手順を説明
したフローチャート、第2図は同上の実施例の受信装置
を示すブロック図、第3図はデータ信号を乗せた電力波
形を示す図、第4図はパルス変換された後のデータ信号
の構造を示す図、第5図(aン(b)は、それぞれ正常
な状態と誤差を含んだ状態のデータの一部を示す図であ
る。 5・・・パルス変換回路 6・・・パルスカウンター 7・・・タイマー 8・・・デコーダー 9・・・パルス数補正部 特許出願人 株式会社 ノーリツ 代理人 弁理士 中 野 雅 房 第 図 第 国
FIG. 1 is a flowchart explaining the receiving operation procedure in an embodiment of the present invention, FIG. 2 is a block diagram showing a receiving apparatus of the same embodiment, and FIG. 3 is a diagram showing a power waveform carrying a data signal. FIG. 4 is a diagram showing the structure of a data signal after pulse conversion, and FIG. 5 (a and b) are diagrams showing part of the data in a normal state and a state containing errors, respectively. 5...Pulse conversion circuit 6...Pulse counter 7...Timer 8...Decoder 9...Pulse number correction unit Patent applicant Noritz Co., Ltd. Agent Patent attorney Masafusa Nakano Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)スタートコードに続いてデータ信号を受信するデ
ータ受信装置において、 受信したスタートコードの単位時間当たり相当のパルス
数をカウントすることによって単位時間当たり相当のパ
ルス数の補正値を求め、この補正値を用いて受信したデ
ータ信号の単位時間当たり相当のパルス数もしくは受信
データ判定のしきい値を補正して受信データ信号を判定
する補正手段を備えた補正機能付きデータ受信装置。
(1) In a data receiving device that receives a data signal following a start code, calculate the correction value for the equivalent number of pulses per unit time by counting the equivalent number of pulses per unit time of the received start code, and perform this correction. A data receiving device with a correction function, comprising a correction means for determining a received data signal by correcting an equivalent number of pulses per unit time of the received data signal or a threshold value for determining the received data using the value.
JP11409890A 1990-04-28 1990-04-28 Data receiver provided with correction function Pending JPH0411429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11409890A JPH0411429A (en) 1990-04-28 1990-04-28 Data receiver provided with correction function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11409890A JPH0411429A (en) 1990-04-28 1990-04-28 Data receiver provided with correction function

Publications (1)

Publication Number Publication Date
JPH0411429A true JPH0411429A (en) 1992-01-16

Family

ID=14629065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11409890A Pending JPH0411429A (en) 1990-04-28 1990-04-28 Data receiver provided with correction function

Country Status (1)

Country Link
JP (1) JPH0411429A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015109536A (en) * 2013-12-04 2015-06-11 日本電信電話株式会社 Receiver

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015109536A (en) * 2013-12-04 2015-06-11 日本電信電話株式会社 Receiver

Similar Documents

Publication Publication Date Title
KR0135087B1 (en) Method and apparatus for demodulating a biphase signal
JPH06216655A (en) Demodulation circuit
JPH04227335A (en) Method for binary-coded transmission and decoder
TW201023107A (en) A decoding method and apparatus for infrared remote control commands
FI67004B (en) DIGITAL FASLAOST SLINGA
JPH0411429A (en) Data receiver provided with correction function
US4744093A (en) Method of detecting phase pulse signals from an AC distribution line
JP2884650B2 (en) Bit error rate measurement device for traffic channel
JP4753484B2 (en) Time information detection method, time information detection device, and radio wave correction clock
JPH09503893A (en) Pulse code bit cell demodulation
JPH1013385A (en) Packet data error correction method, its equipment and packet receiver
JPS5477508A (en) Error retransmission control unit
JPH0659048B2 (en) Error rate measuring device
JP4011189B2 (en) Digital data wireless communication device
JP3546858B2 (en) Error rate display device
JPH02295325A (en) Data monitoring device
JPS61276438A (en) Line quality measuring system
JPH04315344A (en) Code error monitor
JPH05153171A (en) Sn ratio discriminating circuit
JPH08330979A (en) Error correction device
KR100435559B1 (en) Method for receiving differential code in micom, especially time of receiving differential code is minimized
JP2985284B2 (en) Data decoding device
JPS61121541A (en) Data transmitter using power supply line as transmission line
SU582572A1 (en) Device for detecting errors in telemetric information transmission systems with feed-back channel
SU1127102A2 (en) Device for receiving and transmitting digital signals