JP2017118259A - Slave unit, master unit, monitor, and communication method - Google Patents

Slave unit, master unit, monitor, and communication method Download PDF

Info

Publication number
JP2017118259A
JP2017118259A JP2015250268A JP2015250268A JP2017118259A JP 2017118259 A JP2017118259 A JP 2017118259A JP 2015250268 A JP2015250268 A JP 2015250268A JP 2015250268 A JP2015250268 A JP 2015250268A JP 2017118259 A JP2017118259 A JP 2017118259A
Authority
JP
Japan
Prior art keywords
unique pattern
unit
data
clock
detection unit
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.)
Granted
Application number
JP2015250268A
Other languages
Japanese (ja)
Other versions
JP5979523B1 (en
Inventor
隆 山元
Takashi Yamamoto
隆 山元
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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management 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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2015250268A priority Critical patent/JP5979523B1/en
Application granted granted Critical
Publication of JP5979523B1 publication Critical patent/JP5979523B1/en
Publication of JP2017118259A publication Critical patent/JP2017118259A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)
  • Interconnected Communication Systems, Intercoms, And Interphones (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To maintain synchronization even when deviation occurs in a duty factor of a reception waveform.SOLUTION: A first unique pattern detection part 151 samples preamble data included in reception data, and determines that the unique pattern is detected when the number of clocks between adjacent falling edges match to a specific number. A second unique pattern detection part 152 samples the preamble data included in the reception data at the same timing with the first unique pattern detection part 151, and determines that the unique pattern is detected when the number of clocks between adjacent rising edges match to the specific number. An enable signal formation part 153 outputs a trigger signal to a second clock formation part 114 when inputting a signal indicating that the unique pattern is detected from the first unique pattern detection part 151 or the second unique pattern detection part 152, and outputs an enable signal to a data reproduction part 133.SELECTED DRAWING: Figure 9

Description

本開示は、ドアホンシステムの子機、親機、モニタおよび当該ドアホンシステムの通信方法に関する。   The present disclosure relates to a child device, a parent device, a monitor of a door phone system, and a communication method of the door phone system.

近年、住宅等において、例えば、宅外の玄関先に設置されたカメラ付きの子機(以下、「玄関子機」という)と、玄関子機のカメラで撮像された映像をモニタに表示する宅内の親機(以下、「ドアホン親機」という)と、からなるドアホンシステムが広く普及している。また、ドアホンシステムに、モニタを増設する場合もある(以下、「増設モニタ」という)。   In recent years, in homes and the like, for example, a slave unit with a camera (hereinafter referred to as an “entrance slave unit”) installed at a front door outside the home, and an image captured on the monitor of the entrance slave unit camera on a monitor A door phone system comprising a main phone (hereinafter referred to as “door phone master”) is widely used. In some cases, a monitor is added to the door phone system (hereinafter referred to as “additional monitor”).

一般的に、ドアホンシステムは、玄関子機とドアホン親機とが2線ケーブルにより接続される。また、ドアホン親機と増設モニタとが2線ケーブルにより接続される。特許文献1には、2線ケーブルで接続された玄関子機とドアホン親機との間でパケットを送受信するドアホンシステムが記載されている。   Generally, in a door phone system, an entrance cordless handset and a door phone master phone are connected by a two-wire cable. Further, the door phone master unit and the extension monitor are connected by a two-wire cable. Patent Document 1 describes a door phone system that transmits and receives packets between an entrance cordless handset and a doorphone master set connected by a two-wire cable.

玄関子機、ドアホン親機および増設モニタは、受信信号に含まれるプリアンブルデータを用いて通信相手との同期タイミング(受信データの各ビットの先頭のタイミング)を検出する。   The entrance slave unit, door phone master unit, and extension monitor detect the synchronization timing (the timing at the beginning of each bit of the received data) with the communication partner using the preamble data included in the received signal.

特開2007−124227号公報JP 2007-124227 A

2線ケーブルの長さが変化すると、ケーブルのインピーダンスが変化し、受信側装置において、受信波形の立上り特性および立下り特性が変化する。また、受信側装置のバスドライバの入出力特性の歪み、あるいは受信波形の立上り、立下がりの受信ヒステリシスの差等により、受信波形のデューティ比が理想値(50%)からずれることが考えられる。従来技術では、この受信波形のデューティ比のずれに起因する同期外れに対する対策が検討されていない。   When the length of the two-wire cable changes, the impedance of the cable changes, and the rising characteristics and falling characteristics of the received waveform change in the receiving side device. Further, it is conceivable that the duty ratio of the received waveform is deviated from the ideal value (50%) due to the distortion of the input / output characteristics of the bus driver of the receiving side device or the difference between the rising and falling receiving hysteresis of the receiving waveform. In the prior art, measures against out-of-synchronization due to the deviation of the duty ratio of the received waveform have not been studied.

本開示の目的は、受信波形のデューティ比にずれが生じていても同期を維持することができるドアホンシステムの子機、親機、モニタおよびドアホンシステムの通信方法を提供することである。   The objective of this indication is providing the communication method of the subunit | mobile_unit of a door phone system, a main | base station, a monitor, and a door phone system which can maintain a synchronization, even if the duty ratio of a received waveform has generate | occur | produced.

本開示の子機は、親機と2線ケーブルを介して接続され、前記親機との間で時分割複信によりパケット信号を送受信するドアホンシステムの子機であって、所定の位置にプリアンブルとシンクパターンが配置されたデータを受信する受信部と、前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを出力する第2クロック生成部と、前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立下りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第1のユニークパターン検出部と、前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第2のユニークパターン検出部と、前記第1のユニークパターン検出部あるいは前記第2のユニークパターン検出部でビット同期が確立された後、前記第2周波数のクロックを用いて前記受信データを再生するデータ再生部と、を具備する。   A child device of the present disclosure is a child device of a door phone system that is connected to a parent device via a two-wire cable and transmits / receives a packet signal to / from the parent device by time-division duplex, and has a preamble at a predetermined position. A receiver that receives data in which a sync pattern is arranged, a first clock generator that outputs a clock of a first frequency corresponding to n times (n is 1 or more) the bit rate of the received data, A second clock generation unit configured to output a second frequency clock corresponding to a bit rate of the received data, which is generated based on a clock of one frequency, and the received data is sampled using the first frequency clock; First unique pattern detection that establishes bit synchronization by detecting a unique pattern in the preamble based on the number of clocks between adjacent falling edges. And sampling the received data using a clock of the first frequency and detecting a unique pattern in the preamble based on the number of clocks between adjacent rising edges to establish bit synchronization A unique pattern detection unit and a data reproduction unit that reproduces the received data using a clock of the second frequency after bit synchronization is established by the first unique pattern detection unit or the second unique pattern detection unit. And.

本開示の親機は、子機と2線ケーブルを介して接続され、前記子機との間で時分割複信によりパケット信号を送受信するドアホンシステムの親機であって、所定の位置にプリアンブルとシンクパターンが配置されたデータを受信する受信部と、前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを出力する第2クロック生成部と、前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立下りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第1のユニークパターン検出部と、前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第2のユニークパターン検出部と、前記第1のユニークパターン検出部あるいは前記第2のユニークパターン検出部でビット同期が確立された後、前記第2周波数のクロックを用いて前記受信データを再生するデータ再生部と、を具備する。   A parent device of the present disclosure is a parent device of a door phone system that is connected to a child device via a two-wire cable and transmits / receives packet signals to / from the child device by time-division duplex, and has a preamble at a predetermined position. A receiver that receives data in which a sync pattern is arranged, a first clock generator that outputs a clock of a first frequency corresponding to n times (n is 1 or more) the bit rate of the received data, A second clock generation unit configured to output a second frequency clock corresponding to a bit rate of the received data, which is generated based on a clock of one frequency, and the received data is sampled using the first frequency clock; First unique pattern detection that establishes bit synchronization by detecting a unique pattern in the preamble based on the number of clocks between adjacent falling edges. And sampling the received data using a clock of the first frequency and detecting a unique pattern in the preamble based on the number of clocks between adjacent rising edges to establish bit synchronization A unique pattern detection unit and a data reproduction unit that reproduces the received data using a clock of the second frequency after bit synchronization is established by the first unique pattern detection unit or the second unique pattern detection unit. And.

本開示のモニタは、親機と子機とからなるドアホンシステムに増設され、前記親機と2線ケーブルを介して接続され、前記親機との間で時分割複信によりパケット信号を送受信するドアホンシステムのモニタであって、所定の位置にプリアンブルとシンクパターンが配置されたデータを受信する受信部と、前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを出力する第2クロック生成部と、前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立下りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第1のユニークパターン検出部と、前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第2のユニークパターン検出部と、前記第1のユニークパターン検出部あるいは前記第2のユニークパターン検出部でビット同期が確立された後、前記第2周波数のクロックを用いて前記受信データを再生するデータ再生部と、を具備する。   The monitor according to the present disclosure is added to a door phone system including a parent device and a child device, is connected to the parent device via a two-wire cable, and transmits and receives packet signals to and from the parent device by time division duplex. A monitor of a door phone system, wherein the reception unit receives data in which a preamble and a sync pattern are arranged at predetermined positions, and a first frequency corresponding to n times (n is 1 or more) of the bit rate of the received data. A first clock generation unit that outputs a clock; a second clock generation unit that generates a clock of a second frequency corresponding to the bit rate of the received data, which is generated based on the clock of the first frequency; and the first The received data is sampled using a frequency clock, and the unique pattern in the preamble is sampled based on the number of clocks between adjacent falling edges. A first unique pattern detecting unit that establishes bit synchronization by sampling and sampling the received data using a clock of the first frequency, and in the preamble based on the number of clocks between adjacent rising edges A second unique pattern detection unit for detecting a unique pattern to establish bit synchronization; and after the bit synchronization is established by the first unique pattern detection unit or the second unique pattern detection unit, the second unique pattern detection unit And a data reproducing unit that reproduces the received data using a frequency clock.

本開示の通信方法は、親機と子機とが2線ケーブルを介して接続され、前記親機と前記子機との間で時分割複信によりパケット信号を送受信するドアホンシステムの通信方法であって、送信側装置が、所定の位置にプリアンブルが配置されたデータを送信し、受信側装置が、前記送信側装置から送信されたデータを受信し、前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立下りエッジ間のクロック数、あるいは、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立し、前記ビット同期が確立された後、前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを用いて前記受信データを再生する。   The communication method of the present disclosure is a communication method of a door phone system in which a parent device and a child device are connected via a two-wire cable, and packet signals are transmitted and received between the parent device and the child device by time division duplex. The transmitting side apparatus transmits data in which a preamble is arranged at a predetermined position, the receiving side apparatus receives data transmitted from the transmitting side apparatus, and is n times the bit rate of the received data ( the received data is sampled using a clock of a first frequency corresponding to n is 1 or more), and in the preamble based on the number of clocks between adjacent falling edges or the number of clocks between adjacent rising edges Bit of the received data generated with reference to the clock of the first frequency after the bit synchronization is established. Playing the received data using a clock of the second frequency corresponding to the over and.

本開示によれば、隣接する立下りエッジ間あるいは隣接する立上りエッジ間のサンプリングクロック数がユニークとなるユニークパターンを検出することにより、受信波形のデューティ比にずれが生じていても同期を維持することができる。   According to the present disclosure, synchronization is maintained even when there is a deviation in the duty ratio of a received waveform by detecting a unique pattern in which the number of sampling clocks between adjacent falling edges or between adjacent rising edges is unique. be able to.

本開示の一実施の形態に係るドアホンシステムの構成を示すシステム構成図The system block diagram which shows the structure of the door phone system which concerns on one embodiment of this indication 本開示の一実施の形態に係るフレーム構成、スロット構成を示す図The figure which shows the frame structure and slot structure which concern on one embodiment of this indication 本開示の一実施の形態に係る割り込み信号の構成を示す図The figure which shows the structure of the interrupt signal which concerns on one embodiment of this indication 本開示の一実施の形態に係る玄関子機の構成を示すブロック図The block diagram which shows the structure of the entrance cordless handset which concerns on one embodiment of this indication 本開示の一実施の形態に係るドアホン親機の構成を示すブロック図The block diagram which shows the structure of the door phone main unit which concerns on one embodiment of this indication 本開示の一実施の形態に係る増設モニタの構成を示すブロック図The block diagram which shows the structure of the expansion monitor which concerns on one embodiment of this indication パケットデータ(1ビット)に対する変調処理の一例を示す図The figure which shows an example of the modulation process with respect to packet data (1 bit) パケットデータ(複数ビット)に対する変調処理の一例を示す図The figure which shows an example of the modulation process with respect to packet data (multiple bits) 本開示の一実施の形態において使用されるプリアンブルデータの一例を示す図The figure which shows an example of the preamble data used in one embodiment of this indication 本開示の一実施の形態に係る玄関子機の同期検出部の内部構成を示すブロック図The block diagram which shows the internal structure of the synchronous detection part of the entrance cordless handset which concerns on one embodiment of this indication 本開示の一実施の形態に係る玄関子機の同期検出処理の一例を示す図The figure which shows an example of the synchronous detection process of the entrance cordless handset which concerns on one embodiment of this indication 本開示の一実施の形態に係る玄関子機のユニークパターンの検出を説明する図The figure explaining the detection of the unique pattern of the entrance cordless handset which concerns on one embodiment of this indication 本開示の一実施の形態に係る玄関子機のデコードタイミングを示す図The figure which shows the decoding timing of the entrance cordless handset which concerns on one embodiment of this indication 本開示の一実施の形態に係る同期検出処理の動作の一例を示すフローチャートThe flowchart which shows an example of operation | movement of the synchronous detection process which concerns on one embodiment of this indication 本開示の一実施の形態に係る初期登録までのシーケンス図Sequence diagram until initial registration according to an embodiment of the present disclosure 本開示の一実施の形態に係る待機状態から通信状態までのシーケンス図Sequence diagram from standby state to communication state according to an embodiment of the present disclosure 本開示の一実施の形態に係る玄関子機の動作の一例を示すフローチャートThe flowchart which shows an example of operation of the entrance cordless handset concerning an embodiment of this indication 本開示の一実施の形態に係るドアホン親機の動作の一例を示すフローチャートThe flowchart which shows an example of operation of the door phone main unit concerning an embodiment of this indication 本開示の一実施の形態に係るドアホン親機の通常動作時のルーティング制御の具体例を示す図The figure which shows the specific example of the routing control at the time of normal operation | movement of the door phone main unit which concerns on one embodiment of this indication 本開示の一実施の形態に係るドアホン親機のルーティング制御部の内部構成を示す図The figure which shows the internal structure of the routing control part of the door phone main unit which concerns on one embodiment of this indication 本開示の一実施の形態に係るドアホン親機の初期登録時のルーティング制御の具体例を示す図The figure which shows the specific example of the routing control at the time of the initial registration of the door phone main unit which concerns on one embodiment of this indication 本開示の一実施の形態に係る玄関子機の同期検出部の内部構成のバリエーションを示すブロック図The block diagram which shows the variation of the internal structure of the synchronous detection part of the entrance cordless handset which concerns on one embodiment of this indication 本開示の一実施の形態に係る同期検出処理のバリエーションの動作の一例を示すフローチャートThe flowchart which shows an example of the operation | movement of the variation of the synchronous detection process which concerns on one embodiment of this indication

本願発明者は、2線ケーブルの長さが変化して、デューティ比にずれが生じても、受信側における受信波形の立下り特性はすべて同一になり、立上り特性もすべて同一になり、受信ドライバの受信特性も立下り、立上りでそれぞれ同一であることから、受信波形の隣接する立上りエッジ間の時間、あるいは、隣接する立下りエッジ間の時間は、送信波形のものから殆ど変化しないことに着目し、本発明をするに至った。   Even if the length of the two-wire cable is changed and the duty ratio is shifted, the inventor of the present application has the same falling characteristics of the received waveform on the receiving side, and the rising characteristics are all the same. Since the reception characteristics of the same are the same for the falling and rising edges, the time between the adjacent rising edges of the received waveform or the time between the adjacent falling edges is hardly changed from that of the transmission waveform. And this led to the present invention.

以下、本開示の実施の形態について、図面を参照して詳細に説明する。   Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.

<システムの概要>
まず、本開示の一実施の形態に係るドアホンシステムの概要について、図1を用いて説明する。図1に示すように、ドアホンシステム1は、玄関子機100と、ドアホン親機200と、から構成される。なお、図1では、ドアホン親機200に3台の玄関子機100−1、100−2、100−3が接続している場合を例示している。また、ドアホンシステム1には、増設モニタ300を追加しても良い。さらに、ドアホンシステム1は、他のドアホンシステムと接続することもできる。
<System overview>
First, the outline | summary of the door phone system which concerns on one embodiment of this indication is demonstrated using FIG. As shown in FIG. 1, the door phone system 1 includes an entrance cordless handset 100 and a door phone master set 200. Note that FIG. 1 illustrates a case where three door slave devices 100-1, 100-2, and 100-3 are connected to the doorphone master device 200. Further, an additional monitor 300 may be added to the door phone system 1. Furthermore, the door phone system 1 can be connected to other door phone systems.

玄関子機100は、例えば、住宅等の玄関先に設けられる。ドアホン親機200および増設モニタ300は、例えば、住宅等の宅内に設けられ、壁に固定されたり、テーブルまたは台の上等に載置されたりする。玄関子機100とドアホン親機200とは、1対の銅線から成る2線ケーブルにより接続されている。増設モニタ300は、2線ケーブルによりドアホン親機200と接続される。   The entrance cordless handset 100 is provided, for example, at the entrance of a house or the like. The intercom master device 200 and the extension monitor 300 are provided in a home such as a house, for example, and are fixed to a wall or placed on a table or a table. The entrance cordless handset 100 and the door phone master set 200 are connected by a two-wire cable made of a pair of copper wires. The extension monitor 300 is connected to the door phone master unit 200 by a two-wire cable.

ドアホン親機200は、玄関子機100と通信を行い、玄関子機100から映像データ、音声データおよび制御データを受信し、音声データおよび制御データを送信する。また、ドアホン親機200は、増設モニタ300と通信を行い、玄関子機100から受信した映像データ、音声データおよび制御データを増設モニタ300に転送し、増設モニタ300から受信した音声データおよび制御データを玄関子機100に転送する。   The intercom master device 200 communicates with the entrance slave device 100, receives video data, audio data, and control data from the entrance slave device 100, and transmits the audio data and control data. The intercom base unit 200 communicates with the expansion monitor 300, transfers the video data, audio data, and control data received from the front door unit 100 to the expansion monitor 300, and receives the audio data and control data received from the expansion monitor 300. Is transferred to the entrance cordless handset 100.

なお、以下の説明において、玄関子機100あるいは増設モニタ300からドアホン親機200への方向を「上り方向」といい、玄関子機100あるいは増設モニタ300から上り方向に送信されるパケット、信号をそれぞれ「上りパケット」、「上り信号」という。また、ドアホン親機200から玄関子機100あるいは増設モニタ300への方向を「下り方向」といい、ドアホン親機200から下り方向に送信されるパケット、信号をそれぞれ「下りパケット」、「下り信号」という。   In the following description, the direction from the entrance slave unit 100 or the extension monitor 300 to the doorphone master unit 200 is referred to as “upward direction”, and packets and signals transmitted from the entrance slave unit 100 or the extension monitor 300 in the upward direction are referred to as “upward direction”. They are called “upstream packet” and “upstream signal”, respectively. Further, the direction from the doorphone master unit 200 to the entrance slave unit 100 or the extension monitor 300 is referred to as “downward direction”, and packets and signals transmitted from the doorphone master unit 200 in the downward direction are referred to as “downstream packet” and “downstream signal”, respectively. "

<フレーム構成、スロット構成>
次に、本実施の形態に係る同期通信時のフレーム構成、スロット構成について図2Aを用いて説明する。図2Aに示すように、各フレームは、48000bitの領域を有し、10ms周期、4.8Mbpsのビットレートであり、24スロットに分割される。したがって、各スロットは、2000bit=250byteの領域を有し、0.416ms周期、4.8Mbpsのビットレートになる。
<Frame configuration, slot configuration>
Next, a frame configuration and a slot configuration during synchronous communication according to the present embodiment will be described with reference to FIG. 2A. As shown in FIG. 2A, each frame has a 48000 bit area, has a 10 ms period, a 4.8 Mbps bit rate, and is divided into 24 slots. Therefore, each slot has an area of 2000 bits = 250 bytes, and has a bit rate of 0.416 ms and a bit rate of 4.8 Mbps.

各スロットは、52byteのガードスペース(Guard)、4byteのプリアンブルフィールド、2byteのシンクフィールド(Sync)、32byteの制御データフィールド、160byteのユーザデータフィールドに分けられている。   Each slot is divided into a 52-byte guard space (Guard), a 4-byte preamble field, a 2-byte sync field (Sync), a 32-byte control data field, and a 160-byte user data field.

ガードスペースは、伝播遅延時間差やクロックジッタ等によるスロットの衝突を避けるための時間である。プリアンブルフィールドには、所定のユニークパターンを有するプリアンブルデータ(後述)が付加される。シンクフィールドには、所定のシンクパターンが付加される。制御データフィールドには、制御データが付加される。ユーザデータフィールドには、画像データおよび音声データが付加される。ここでシンクパターンとは、シンクフィールドに配置された既知のデータあるいはデータ列であって、受信データ受信時の同期を確立するために用いられ、受信データが正確なタイミングで受信されたことを確認するための予め規定した既知のデータパターンである。   The guard space is a time for avoiding a slot collision due to a propagation delay time difference, clock jitter, or the like. Preamble data (described later) having a predetermined unique pattern is added to the preamble field. A predetermined sync pattern is added to the sync field. Control data is added to the control data field. Image data and audio data are added to the user data field. Here, the sync pattern is known data or a data string arranged in the sync field, and is used to establish synchronization at the time of reception data reception, and confirms that reception data has been received at an accurate timing. This is a known data pattern defined in advance.

<割り込み信号の構成>
次に、本実施の形態に係る非同期通信時の割り込み信号の構成について図2Bを用いて説明する。
<Configuration of interrupt signal>
Next, the configuration of an interrupt signal during asynchronous communication according to the present embodiment will be described with reference to FIG. 2B.

図2Bに示すように、割り込み信号は、4byteのプリアンブルフィールド、2byteのシンクフィールド(Sync)、32byteの制御データフィールドに分けられている。さらに、図2Bに示す割り込み信号には、将来の拡張用として、30byteのユーザデータフィールドが設けられている。   As shown in FIG. 2B, the interrupt signal is divided into a 4-byte preamble field, a 2-byte sync field (Sync), and a 32-byte control data field. Further, the interrupt signal shown in FIG. 2B is provided with a 30-byte user data field for future expansion.

割り込み信号のプリアンブルデータおよびシンクパターンは、図2Aに示した同期通信時のスロットと同一のものである。これにより、同期通信時と非同期通信時とで受信部等を共用できるため、コストを抑えることができる。   The preamble data and the sync pattern of the interrupt signal are the same as the slots in the synchronous communication shown in FIG. 2A. Thereby, since a receiving part etc. can be shared by the time of synchronous communication and the time of asynchronous communication, cost can be held down.

割り込み信号の制御データフィールドには、メッセージ種別(同期要求等)、送信元機器番号(ID)等の制御情報が書き込まれる。割り込み信号のユーザデータフィールドは、機器異常情報(機器の異常を検知したことを示す情報)等、メッセージ種別に応じた詳細情報を通知するフィールドとして使用しても良い。   In the control data field of the interrupt signal, control information such as a message type (synchronization request or the like) and a transmission source device number (ID) is written. The user data field of the interrupt signal may be used as a field for notifying detailed information corresponding to the message type, such as device abnormality information (information indicating that a device abnormality is detected).

なお、図2Bに示す割り込み信号は、接続機器の初期登録時にも使用される。   Note that the interrupt signal shown in FIG. 2B is also used during initial registration of the connected device.

<玄関子機の構成>
次に、玄関子機100の構成について、図3のブロック図を用いて説明する。図3に示すように、玄関子機100は、ケーブル接続部101、キー入力部102、スピーカ103、マイク104、音声I/F(インターフェイス)部105、カメラ部106および制御部107を有する。制御部107は、内部に、第1クロック生成部131、パケット生成部132、データ再生部133、接続状態検出部134を有する。また、玄関子機100は、送信データ処理部108、送信データ反転部109、送信ドライバ110、受信ドライバ111、受信データ反転部112、同期検出部113、第2クロック生成部114、識別子記憶部115を有する。
<Configuration of entrance cordless handset>
Next, the structure of the entrance cordless handset 100 is demonstrated using the block diagram of FIG. As shown in FIG. 3, the entrance slave device 100 includes a cable connection unit 101, a key input unit 102, a speaker 103, a microphone 104, an audio I / F (interface) unit 105, a camera unit 106, and a control unit 107. The control unit 107 includes a first clock generation unit 131, a packet generation unit 132, a data reproduction unit 133, and a connection state detection unit 134 inside. Further, the entrance slave device 100 includes a transmission data processing unit 108, a transmission data inversion unit 109, a transmission driver 110, a reception driver 111, a reception data inversion unit 112, a synchronization detection unit 113, a second clock generation unit 114, and an identifier storage unit 115. Have

ケーブル接続部101は、2線ケーブル用の接続端子を含み、2線ケーブルの玄関側の一端と、受信ドライバ111および送信ドライバ110との間を、信号を伝送可能な状態で接続する。なお、2線ケーブルの他端は、ドアホン親機200に接続される。   The cable connection unit 101 includes a connection terminal for a two-wire cable, and connects the one end on the entrance side of the two-wire cable to the reception driver 111 and the transmission driver 110 in a state where signals can be transmitted. Note that the other end of the two-wire cable is connected to the doorphone master unit 200.

キー入力部102は、呼出ボタンを含み、呼出ボタンが操作されたとき、その旨を示す信号を制御部107に出力する。   The key input unit 102 includes a call button. When the call button is operated, the key input unit 102 outputs a signal indicating that to the control unit 107.

スピーカ103は、音声I/F部105から出力されたアナログ音声データを、音声に変換して出力する。   The speaker 103 converts the analog audio data output from the audio I / F unit 105 into audio and outputs the audio.

マイク104は、周囲の音声を集音してアナログ音声データに変換し、音声I/F部105に出力する。   The microphone 104 collects ambient sound, converts it into analog sound data, and outputs it to the sound I / F unit 105.

音声I/F部105は、制御部107から出力されたデジタル音声データを、アナログ音声データに変換し、信号レベルを調整して、スピーカ103に出力する。また、音声I/F部105は、マイク104から出力されたアナログ音声データを、信号レベルを調整し、デジタル音声データに変換して、制御部107に出力する。かかるアナログ/デジタル変換は、A/D,D/A変換器(図示せず)により行われる。   The audio I / F unit 105 converts the digital audio data output from the control unit 107 into analog audio data, adjusts the signal level, and outputs the analog audio data to the speaker 103. The audio I / F unit 105 adjusts the signal level of the analog audio data output from the microphone 104, converts the analog audio data into digital audio data, and outputs the digital audio data to the control unit 107. Such analog / digital conversion is performed by an A / D, D / A converter (not shown).

なお、音声I/F部105は、マイク104から出力されたアナログ音声データをデジタル変換したデータに対して、所定の音声圧縮処理を行って得られるデータを、デジタル音声データとして制御部107に出力してもよい。また、音声I/F部105は、制御部107から出力されたデジタル音声データが所定の音声圧縮処理を行って得られたデータである場合、当該データに対して所定の音声伸張処理を行ってから、デジタル/アナログ変換を行う。   The audio I / F unit 105 outputs data obtained by performing predetermined audio compression processing on the data obtained by digitally converting the analog audio data output from the microphone 104 to the control unit 107 as digital audio data. May be. In addition, when the digital audio data output from the control unit 107 is data obtained by performing predetermined audio compression processing, the audio I / F unit 105 performs predetermined audio expansion processing on the data. To digital / analog conversion.

カメラ部106は、デジタルカメラを含み、玄関の映像を撮影し、デジタル映像データを生成して、制御部107に出力する。なお、カメラ部106は、エンコーダモジュールを搭載していてもよい。すなわち、カメラ部106は、デジタルカメラから出力された映像データに対してH.264等の所定の動画圧縮処理を行って得られるデータを、デジタル映像データとして制御部107に出力してもよい。   The camera unit 106 includes a digital camera, takes a video of the entrance, generates digital video data, and outputs the digital video data to the control unit 107. Note that the camera unit 106 may include an encoder module. That is, the camera unit 106 may output data obtained by performing predetermined moving image compression processing such as H.264 to the video data output from the digital camera to the control unit 107 as digital video data.

制御部107は、玄関子機100の各部の制御を行う。また、制御部107は、送信を許可する送信区間、および、受信を許可する受信区間を指示する切り替え制御信号(SW CON)を送信ドライバ110および受信ドライバ111に出力する。   The control unit 107 controls each part of the entrance cordless handset 100. In addition, the control unit 107 outputs a transmission control signal (SW CON) that indicates a transmission period that permits transmission and a reception period that permits reception to the transmission driver 110 and the reception driver 111.

制御部107の第1クロック生成部131は、受信データをサンプリングするためのクロックであって、水晶発振を基準に、受信データのビットレートのn倍(nは1以上)に対応する第1周波数(例えば、48MHz(n=10))のクロック(CLK)を生成し、同期検出部113、第2クロック生成部114に出力する。   The first clock generation unit 131 of the control unit 107 is a clock for sampling the reception data, and the first frequency corresponding to n times (n is 1 or more) the bit rate of the reception data on the basis of the crystal oscillation. A clock (CLK) of (eg, 48 MHz (n = 10)) is generated and output to the synchronization detection unit 113 and the second clock generation unit 114.

制御部107のパケット生成部132は、映像付き通話を実現するための上りパケットを生成する。具体的には、パケット生成部132は、音声I/F部105から出力されたデジタル音声データおよびカメラ部106から出力されたデジタル映像データを適宜分割して各スロットのユーザデータフィールドに書き込み、自機(玄関子機100)に固有の識別子(以下、「自機IDslave」という)および通信相手のドアホン親機200の識別子(以下、「IDmaster」という)を含む制御データを各スロットの制御データフィールドに書き込む。さらに、パケット生成部132は、各スロットに、プリアンブルデータ、シンクパターンを書き込み、上りパケット(送信データ)を生成する。さらに、パケット生成部132は、送信用のイネーブル信号(SSCS)および送信用の第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成する。そして、パケット生成部132は、上りパケットを、送信用のイネーブル信号(SSCS)およびクロック(SSCK)と同期させて、送信データ処理部108に出力する。 The packet generation unit 132 of the control unit 107 generates an uplink packet for realizing a call with video. Specifically, the packet generation unit 132 divides the digital audio data output from the audio I / F unit 105 and the digital video data output from the camera unit 106 as appropriate and writes them to the user data field of each slot. Control data including an identifier (hereinafter referred to as “own device ID slave ”) unique to the device (the entrance slave device 100) and an identifier of the communication partner doorphone parent device 200 (hereinafter referred to as “ID master ”) is controlled in each slot. Write to the data field. Furthermore, the packet generation unit 132 writes preamble data and a sync pattern in each slot, and generates an uplink packet (transmission data). Further, the packet generation unit 132 generates a transmission enable signal (SSCS) and a transmission second frequency (for example, 4.8 MHz) clock (SSCK). Then, the packet generation unit 132 outputs the uplink packet to the transmission data processing unit 108 in synchronization with the transmission enable signal (SSCS) and the clock (SSCK).

なお、玄関子機100とドアホン親機200との間でデータが送受されない待機状態では、パケット生成部132は、上りパケットを生成しない。また、待機状態(非同期通信時)において、呼出ボタンが操作される等の所定のイベントが発生すると、パケット生成部132は、プリアンブルデータ、シンクパターン、制御データを書き込んだ上りパケット(割り込み信号)を生成する。なお、非同期通信時の割り込み信号において使用されるプリアンブルとシンクパターンは、同期通信時に使用されるものと同一である。   Note that, in a standby state in which data is not transmitted and received between the front door device 100 and the door phone master device 200, the packet generation unit 132 does not generate an upstream packet. In a standby state (during asynchronous communication), when a predetermined event such as an operation of a call button occurs, the packet generation unit 132 transmits an upstream packet (interrupt signal) in which preamble data, sync pattern, and control data are written. Generate. The preamble and sync pattern used in the interrupt signal during asynchronous communication are the same as those used during synchronous communication.

制御部107のデータ再生部133は、同期検出部113からイネーブル信号(SSCS)を入力すると、第2クロック生成部114から出力された第2周波数のクロック(SSCK)を使用し、受信データ反転部112から出力された下り信号を復調して下りパケットを取得する。そして、データ再生部133は、下りパケットに含まれるデジタル音声データを音声I/F部105に出力し、下りパケット(受信データ)に含まれるシンクパターンを接続状態検出部134に出力する。なお、データ再生部133は、初期登録時に、下りパケットに含まれる自機IDslaveおよびIDmasterを識別子記憶部115に記憶させる。 When the data reproduction unit 133 of the control unit 107 receives the enable signal (SSCS) from the synchronization detection unit 113, the data reproduction unit 133 uses the second frequency clock (SSCK) output from the second clock generation unit 114, and receives the data inversion unit. The downlink signal output from 112 is demodulated to obtain a downlink packet. Then, the data reproduction unit 133 outputs the digital audio data included in the downlink packet to the audio I / F unit 105, and outputs the sync pattern included in the downlink packet (received data) to the connection state detection unit 134. Note that the data reproduction unit 133 causes the identifier storage unit 115 to store its own device ID slave and ID master included in the downlink packet at the time of initial registration.

また、データ再生部133は、待機状態(非同期通信時)において所定のイベントが発生し、下り信号(割り込み信号)を入力した場合、下り信号を復調して下りパケットを取得し、下りパケットに含まれるシンクパターンを接続状態検出部134に出力する。データ再生部133は、接続状態検出部134において正確に割り込み信号を捕捉できたことを確認した後、割り込み信号の制御データを抽出する。制御データが同期要求であれば、玄関子機100は、ドアホン親機200との同期処理に移行する。   Further, when a predetermined event occurs in a standby state (during asynchronous communication) and a downlink signal (interrupt signal) is input, the data reproduction unit 133 demodulates the downlink signal to acquire a downlink packet, and is included in the downlink packet The sync pattern is output to the connection state detection unit 134. The data reproduction unit 133 extracts control data of the interrupt signal after confirming that the connection state detection unit 134 has correctly captured the interrupt signal. If the control data is a synchronization request, the entrance slave device 100 shifts to a synchronization process with the doorphone master device 200.

制御部107の接続状態検出部134は、2線ケーブルが正接続である場合のチェック用シンクパターン(以下、「正接続チェック用シンクパターン」という(例えば、16bit全てが「0」))、および、正接続チェック用シンクパターンの逆のパターンであって、2線ケーブルが逆接続である場合のチェック用シンクパターン(以下、「逆接続チェック用シンクパターン」という(例えば、16bit全てが「1」))を記憶している。そして、接続状態検出部134は、データ再生部133から出力された受信データのシンクパターンを、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンと照合する。接続状態検出部134は、受信データのシンクパターンと正接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが正接続であると判定し、受信データのシンクパターンと逆接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが逆接続であると判定する。そして、接続状態検出部134は、判定結果を示す反転制御信号(INV CON)を、送信データ反転部109および受信データ反転部112に出力する。   The connection state detection unit 134 of the control unit 107 is a check sync pattern (hereinafter, referred to as a “positive connection check sync pattern” (for example, all 16 bits are “0”)) when the two-wire cable is connected correctly. This is a reverse pattern of the normal connection check sync pattern, and the check sync pattern when the two-wire cable is reverse connected (hereinafter referred to as “reverse connection check sync pattern” (eg, all 16 bits are “1”). )) Is remembered. Then, the connection state detection unit 134 collates the sync pattern of the reception data output from the data reproduction unit 133 with the sync pattern for the normal connection check and the sync pattern for the reverse connection check. The connection state detection unit 134 determines that the two-wire cable is correctly connected when the sync pattern of the received data completely matches the sync pattern for the normal connection check, and the sync pattern of the received data and the sync pattern for the reverse connection check If the two completely match, it is determined that the two-wire cable is reversely connected. Then, the connection state detection unit 134 outputs an inversion control signal (INV CON) indicating the determination result to the transmission data inversion unit 109 and the reception data inversion unit 112.

送信データ処理部108は、パケット生成部132からイネーブル信号(SSCS)を入力すると、パケット生成部132から出力された第2周波数のクロック(SSCK)を使用し、パケット生成部132から出力された上りパケットのデータに対して変調処理を行って上り信号を生成し、送信データ反転部109に出力する。なお、送信データ処理部108の変調処理の詳細(具体例)については後述する。   When the transmission data processing unit 108 receives the enable signal (SSCS) from the packet generation unit 132, the transmission data processing unit 108 uses the second frequency clock (SSCK) output from the packet generation unit 132, and the uplink data output from the packet generation unit 132. Modulation processing is performed on the packet data to generate an uplink signal, which is output to the transmission data inverting unit 109. Details (specific example) of the modulation processing of the transmission data processing unit 108 will be described later.

送信データ反転部109は、接続状態検出部134において2線ケーブルが逆接続であると判定された場合、送信データ処理部108から出力された上り信号を反転させて送信ドライバ110に出力する。一方、送信データ反転部109は、接続状態検出部134において2線ケーブルが正接続であると判定された場合、送信データ処理部108から出力された上り信号をそのまま送信ドライバ110に出力する。   When the connection state detection unit 134 determines that the two-wire cable is reversely connected, the transmission data inversion unit 109 inverts the uplink signal output from the transmission data processing unit 108 and outputs the inverted signal to the transmission driver 110. On the other hand, when the connection state detection unit 134 determines that the two-wire cable is a normal connection, the transmission data reversing unit 109 outputs the uplink signal output from the transmission data processing unit 108 to the transmission driver 110 as it is.

送信ドライバ110は、制御部107からの切り替え制御信号(SW CON)によって指示された送信区間において、上り信号を、ケーブル接続部101を介してドアホン親機200に送信する。   The transmission driver 110 transmits an uplink signal to the intercom base unit 200 via the cable connection unit 101 in the transmission section instructed by the switching control signal (SW CON) from the control unit 107.

受信ドライバ111は、ドアホン親機200から送信された下り信号を、ケーブル接続部101を介して受信する。そして、受信ドライバ111は、制御部107からの切り替え制御信号(SW CON)によって指示された受信区間において、下り信号を、受信データ反転部112に出力する。   The reception driver 111 receives the downlink signal transmitted from the doorphone master device 200 via the cable connection unit 101. Then, the reception driver 111 outputs a downlink signal to the reception data inversion unit 112 in the reception period instructed by the switching control signal (SW CON) from the control unit 107.

受信データ反転部112は、接続状態検出部134において2線ケーブルが逆接続であると判定された場合、受信ドライバ111から出力された下り信号を反転させて同期検出部113、第2クロック生成部114、データ再生部133に出力する。一方、受信データ反転部112は、接続状態検出部134において2線ケーブルが正接続であると判定された場合、受信ドライバ111から出力された下り信号をそのまま同期検出部113、第2クロック生成部114、データ再生部133に出力する。   When the connection state detection unit 134 determines that the two-wire cable is reversely connected, the reception data inversion unit 112 inverts the downlink signal output from the reception driver 111 to synchronize the detection unit 113 and the second clock generation unit. 114 and output to the data reproduction unit 133. On the other hand, when the connection state detection unit 134 determines that the two-wire cable is a positive connection, the reception data inversion unit 112 directly uses the downlink signal output from the reception driver 111 as the synchronization detection unit 113 and the second clock generation unit. 114 and output to the data reproduction unit 133.

同期検出部113は、第1クロック生成部131から出力された第1周波数のクロック(CLK)を使用し、受信ドライバ111から出力された下り信号に含まれるプリアンブルデータを用いてドアホン親機200との同期(受信データの各ビットの先頭のタイミング)を検出する。そして、同期検出部113は、プリアンブルデータのユニークパターンを検出したタイミングで、クロック出力開始の基準となるトリガ信号を第2クロック生成部114に出力し、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部133に出力する。なお、同期検出部113の構成の詳細については、後述する。   The synchronization detection unit 113 uses the first frequency clock (CLK) output from the first clock generation unit 131 and uses the preamble data included in the downlink signal output from the reception driver 111 to Synchronization (start timing of each bit of received data) is detected. Then, the synchronization detection unit 113 outputs a trigger signal serving as a reference for starting clock output to the second clock generation unit 114 at the timing when the unique pattern of the preamble data is detected, and an enable signal (SSCS) that permits the data reproduction operation Is output to the data reproducing unit 133. The details of the configuration of the synchronization detection unit 113 will be described later.

第2クロック生成部114は、同期検出部113から指示されたタイミングで、第1クロック生成部131から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、データ再生部133に出力する。   The second clock generation unit 114 corresponds to the bit rate of the received data with reference to the first frequency clock (CLK) output from the first clock generation unit 131 at the timing instructed by the synchronization detection unit 113. A clock (SSCK) having two frequencies (for example, 4.8 MHz) is generated and output to the data reproducing unit 133.

識別子記憶部115は、ドアホン親機200から受信した自機IDslaveおよびIDmasterを記憶する。 The identifier storage unit 115 stores the own device ID slave and the ID master received from the intercom master device 200.

<ドアホン親機の構成>
次に、ドアホン親機200の構成について、図4のブロック図を用いて説明する。図4に示すように、ドアホン親機200は、ケーブル接続部201、キー入力部202、スピーカ203、マイク204、音声I/F部205、ディスプレイ部206および制御部207を有する。制御部207は、内部に、第1クロック生成部231、パケット生成部232、データ再生部233、接続状態検出部234、識別子設定部235を有する。また、ドアホン親機200は、送信データ処理部208、送信データ反転部209、送信ドライバ210、受信ドライバ211およびルーティング制御部212、同期検出部213、第2クロック生成部214、識別子記憶部215を有する。なお、ドアホン親機200は、ケーブル接続部201、送信ドライバ210および受信ドライバ211を、N個(Nは自然数)有する。
<Configuration of doorphone master unit>
Next, the configuration of door phone master device 200 will be described using the block diagram of FIG. As shown in FIG. 4, door phone master device 200 includes a cable connection unit 201, a key input unit 202, a speaker 203, a microphone 204, an audio I / F unit 205, a display unit 206, and a control unit 207. The control unit 207 includes a first clock generation unit 231, a packet generation unit 232, a data reproduction unit 233, a connection state detection unit 234, and an identifier setting unit 235 inside. The intercom 200 has a transmission data processing unit 208, a transmission data inversion unit 209, a transmission driver 210, a reception driver 211, a routing control unit 212, a synchronization detection unit 213, a second clock generation unit 214, and an identifier storage unit 215. Have. The doorphone parent device 200 has N (N is a natural number) the cable connection unit 201, the transmission driver 210, and the reception driver 211.

ケーブル接続部201−i(iは1からNまでの何れかの整数)は、2線ケーブル用の接続端子を含み、2線ケーブルの室内側の一端と、送信ドライバ210−iおよび受信ドライバ211−iとの間を、信号を伝送可能な状態で接続する。なお、各2線ケーブルの他端は、玄関子機100、増設モニタ300あるいは他のドアホンシステムの親機に接続される。図4では、ケーブル接続部201−1が、他のドアホンシステムの親機に接続されている場合を例示している。   The cable connection portion 201-i (i is any integer from 1 to N) includes a connection terminal for a two-wire cable, one end on the indoor side of the two-wire cable, a transmission driver 210-i, and a reception driver 211. -I is connected in a state where signals can be transmitted. In addition, the other end of each two-wire cable is connected to the main unit of the entrance cordless handset 100, the extension monitor 300, or another door phone system. In FIG. 4, the case where the cable connection part 201-1 is connected to the main | base station of another door phone system is illustrated.

キー入力部202は、応答ボタンを含み、応答ボタンが操作されたとき、その旨を示す信号を制御部207に出力する。   The key input unit 202 includes a response button. When the response button is operated, the key input unit 202 outputs a signal indicating that to the control unit 207.

スピーカ203は、音声I/F部205から出力されたアナログ音声データを、音声に変換して出力する。   The speaker 203 converts the analog audio data output from the audio I / F unit 205 into audio and outputs the audio.

マイク204は、周囲の音声を集音してアナログ音声データに変換し、音声I/F部205に出力する。   The microphone 204 collects surrounding sounds, converts them into analog sound data, and outputs the analog sound data to the sound I / F unit 205.

音声I/F部205は、制御部207から出力されたデジタル音声データを、アナログ音声データに変換し、信号レベルを調整して、スピーカ203に出力する。また、音声I/F部205は、マイク204から出力されたアナログ音声データを、信号レベルを調整し、デジタル音声データに変換して、制御部207に出力する。かかるアナログ/デジタル変換は、A/D,D/A変換器(図示せず)により行われる。   The audio I / F unit 205 converts the digital audio data output from the control unit 207 into analog audio data, adjusts the signal level, and outputs the analog audio data to the speaker 203. The audio I / F unit 205 adjusts the signal level of the analog audio data output from the microphone 204, converts the analog audio data into digital audio data, and outputs the digital audio data to the control unit 207. Such analog / digital conversion is performed by an A / D, D / A converter (not shown).

なお、音声I/F部205は、マイク204から出力されたアナログ音声データをデジタル変換したデータに対して、所定の音声圧縮処理を行って得られるデータを、デジタル音声データとして制御部207に出力してもよい。また、音声I/F部205は、制御部207から出力されたデジタル音声データが所定の音声圧縮処理を行って得られたデータである場合、当該データに対して所定の音声伸張処理を行ってから、デジタル/アナログ変換を行う。   The audio I / F unit 205 outputs data obtained by performing predetermined audio compression processing on the data obtained by digitally converting the analog audio data output from the microphone 204 to the control unit 207 as digital audio data. May be. In addition, when the digital audio data output from the control unit 207 is data obtained by performing predetermined audio compression processing, the audio I / F unit 205 performs predetermined audio expansion processing on the data. To digital / analog conversion.

ディスプレイ部206は、液晶ディスプレイを含み、制御部207から出力されたデジタル映像データを再生し、玄関の映像を表示する。なお、制御部207から出力されたデジタル映像データが所定の動画圧縮処理を行って得られたデータである場合、当該データに対して所定の動画伸張処理を行って、映像表示を行う。   The display unit 206 includes a liquid crystal display, reproduces digital video data output from the control unit 207, and displays an entrance video. When the digital video data output from the control unit 207 is data obtained by performing a predetermined moving image compression process, a predetermined moving image expansion process is performed on the data to display a video.

制御部207は、ドアホン親機200の各部の制御を行う。また、制御部207は、送信を許可する送信区間、および、受信を許可する受信区間を指示する切り替え制御信号(SW CON)を各送信ドライバ210−i、各受信ドライバ211−iおよびルーティング制御部212に出力する。   The control unit 207 controls each unit of the door phone master device 200. In addition, the control unit 207 sends a transmission control section (SW CON) that indicates a transmission section that permits transmission and a reception section that permits reception to each transmission driver 210-i, each reception driver 211-i, and a routing control section. It outputs to 212.

制御部207の第1クロック生成部231は、受信データをサンプリングするためのクロックであって、水晶発振を基準に、受信データのビットレートのn倍に対応する第1周波数(例えば、48MHz(n=10))のクロック(CLK)を生成し、同期検出部213、第2クロック生成部214に出力する。   The first clock generation unit 231 of the control unit 207 is a clock for sampling received data, and is based on crystal oscillation and has a first frequency corresponding to n times the bit rate of the received data (for example, 48 MHz (n = 10)) clock (CLK) is generated and output to the synchronization detector 213 and the second clock generator 214.

制御部207のパケット生成部232は、映像付き通話を実現するための下りパケットを生成する。具体的には、パケット生成部232は、音声I/F部205から出力されたデジタル音声データを適宜分割して各スロットのユーザデータフィールドに書き込み、自機(ドアホン親機200)に固有の識別子(以下、「自機IDmaster」という)および通信相手の機器の識別子を含む制御データを各スロットの制御データフィールドに書き込む。さらに、パケット生成部232は、各スロットに、プリアンブルデータ、シンクパターンを書き込み、下りパケット(送信データ)を生成する。さらに、パケット生成部232は、送信用のイネーブル信号(SSCS)および送信用の第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成する。そして、パケット生成部232は、下りパケットを、送信用のイネーブル信号(SSCS)およびクロック(SSCK)と同期させて、送信データ処理部208に出力する。 The packet generation unit 232 of the control unit 207 generates a downlink packet for realizing a call with video. Specifically, the packet generation unit 232 appropriately divides the digital audio data output from the audio I / F unit 205 and writes it in the user data field of each slot, and an identifier unique to the own device (doorphone master device 200). (Hereinafter referred to as “own device ID master ”) and the control data including the identifier of the communication partner device are written in the control data field of each slot. Further, the packet generation unit 232 writes the preamble data and the sync pattern in each slot, and generates a downlink packet (transmission data). Furthermore, the packet generation unit 232 generates a transmission enable signal (SSCS) and a transmission second frequency (for example, 4.8 MHz) clock (SSCK). Then, the packet generation unit 232 outputs the downlink packet to the transmission data processing unit 208 in synchronization with the transmission enable signal (SSCS) and the clock (SSCK).

また、パケット生成部232は、ドアホン親機200の動作あるいは玄関子機100の動作に関する制御データを、玄関子機100への送信の対象となるデータとして送信データ処理部208に出力してもよい。かかる制御データには、例えば、ドアホン親機200から玄関子機100のカメラ動作(データレート、パン、チルト、ライト、シャッター、およびフィルター等の動作)や、玄関子機100に備えられた各種センサデバイスの動作を、ドアホン親機200から制御するための制御信号が含まれる。また、かかる制御データには、玄関子機100に備えられた無線通信回路等(図示せず)を介して屋外に配置されたデバイス(門の電子鍵等)の動作を制御するための制御信号が含まれる。   In addition, the packet generation unit 232 may output control data related to the operation of the doorphone master device 200 or the operation of the front door device 100 to the transmission data processing unit 208 as data to be transmitted to the front door device 100. . Such control data includes, for example, the camera operation (data rate, pan, tilt, light, shutter, filter, etc.) of the doorphone master unit 200 to the entrance slave unit 100 and various sensors provided in the entrance slave unit 100. A control signal for controlling the operation of the device from door phone parent device 200 is included. The control data includes a control signal for controlling the operation of a device (such as a gate electronic key) arranged outdoors via a wireless communication circuit or the like (not shown) provided in the entrance cordless handset 100. Is included.

パケット生成部232は、玄関子機100、増設モニタ300等の機器の初期登録時において、識別子設定部235にて設定された、登録対象の機器に割り当てた固有の識別子を含む下り信号を生成する。   The packet generation unit 232 generates a downlink signal including a unique identifier assigned to the registration target device set by the identifier setting unit 235 at the time of initial registration of the devices such as the entrance slave device 100 and the extension monitor 300. .

なお、玄関子機100(あるいは増設モニタ300)とドアホン親機200との間でデータが送受されない待機状態では、パケット生成部232は、下りパケットを生成しない。また、待機状態(非同期通信時)において、応答ボタンが操作される等の所定のイベントが発生すると、パケット生成部232は、プリアンブルデータ、シンクパターン、制御データを書き込んだ下りパケット(割り込み信号)を生成する。なお、非同期通信時の割り込み信号において使用されるプリアンブルとシンクパターンは、同期通信時に使用されるものと同一である。   Note that, in a standby state in which data is not exchanged between the front door device 100 (or the extension monitor 300) and the intercom master device 200, the packet generation unit 232 does not generate a downlink packet. Further, when a predetermined event such as a response button being operated occurs in a standby state (during asynchronous communication), the packet generation unit 232 transmits a downstream packet (interrupt signal) in which preamble data, sync pattern, and control data are written. Generate. The preamble and sync pattern used in the interrupt signal during asynchronous communication are the same as those used during synchronous communication.

制御部207のデータ再生部233は、同期検出部213からイネーブル信号(SSCS)を入力すると、第2クロック生成部214から出力された第2周波数のクロック(SSCK)を使用し、ルーティング制御部212から出力された上り信号を復調して上りパケットを取得する。そして、データ再生部233は、上りパケットに含まれるデジタル音声データを音声I/F部205に出力し、上りパケットに含まれるデジタル映像データをディスプレイ部206に出力し、上りパケットに含まれるシンクパターンを接続状態検出部234に出力する。   When the data reproduction unit 233 of the control unit 207 receives the enable signal (SSCS) from the synchronization detection unit 213, the data reproduction unit 233 uses the second frequency clock (SSCK) output from the second clock generation unit 214, and the routing control unit 212. The upstream signal output from is demodulated to obtain the upstream packet. Then, the data reproducing unit 233 outputs the digital audio data included in the upstream packet to the audio I / F unit 205, outputs the digital video data included in the upstream packet to the display unit 206, and the sync pattern included in the upstream packet. Is output to the connection state detection unit 234.

また、データ再生部233は、待機状態(非同期通信時)において所定のイベントが発生し、上り信号(割り込み信号)を入力した場合、上り信号を復調して上りパケットを取得し、上りパケットに含まれるシンクパターンを接続状態検出部234に出力する。データ再生部233は、接続状態検出部234において正確に割り込み信号を捕捉できたことを確認した後、割り込み信号の制御データを抽出する。制御データが同期要求であれば、ドアホン親機200は、玄関子機100あるいは増設モニタ300との同期処理に移行する。   Further, when a predetermined event occurs in a standby state (during asynchronous communication) and an upstream signal (interrupt signal) is input, the data reproduction unit 233 demodulates the upstream signal to acquire an upstream packet, and is included in the upstream packet The sync pattern to be output is output to the connection state detection unit 234. The data reproduction unit 233 extracts the control data of the interrupt signal after confirming that the connection state detection unit 234 can accurately capture the interrupt signal. If the control data is a synchronization request, the intercom master device 200 shifts to a synchronization process with the entrance slave device 100 or the extension monitor 300.

制御部207の接続状態検出部234は、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンを記憶し、データ再生部233から出力された受信データのシンクパターンを、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンと照合する。接続状態検出部234は、受信データのシンクパターンと正接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが正接続であると判定し、受信データのシンクパターンと逆接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが逆接続であると判定する。そして、接続状態検出部234は、判定結果を示す反転制御信号(INV CON)を、送信データ反転部209に出力する。   The connection state detection unit 234 of the control unit 207 stores the normal connection check sync pattern and the reverse connection check sync pattern, and converts the received data sync pattern output from the data reproduction unit 233 into the normal connection check sync pattern and Match with reverse connection check sync pattern. The connection state detection unit 234 determines that the two-wire cable is correctly connected when the received data sync pattern and the normal connection check sync pattern completely match, and the received data sync pattern and the reverse connection check sync pattern are determined. If the two completely match, it is determined that the two-wire cable is reversely connected. Then, the connection state detection unit 234 outputs an inversion control signal (INV CON) indicating the determination result to the transmission data inversion unit 209.

制御部207の識別子設定部235は、玄関子機100、増設モニタ300等の機器の初期登録時において、各登録対象の機器に割り当てる固有の識別子を設定し、パケット生成部232に出力し、識別子記録部215に記録させる。また、識別子設定部235は、必要に応じて、識別子記録部215に記録された識別子を読み出す。なお、識別子設定部235は、識別子を送信してから所定の時間が経過しても、データ再生部233から識別子の受領確認が入力されなかった場合には、再び、設定した識別子をパケット生成部232に出力する。   The identifier setting unit 235 of the control unit 207 sets a unique identifier to be assigned to each registration target device at the time of initial registration of the devices such as the entrance slave device 100 and the extension monitor 300, and outputs the identifier to the packet generation unit 232. Recording is performed in the recording unit 215. Further, the identifier setting unit 235 reads the identifier recorded in the identifier recording unit 215 as necessary. Note that the identifier setting unit 235 returns the set identifier to the packet generation unit again when the receipt of the identifier is not input from the data reproducing unit 233 even after a predetermined time has elapsed since the identifier was transmitted. Output to H.232.

送信データ処理部208は、パケット生成部232からイネーブル信号(SSCS)を入力すると、パケット生成部232から出力された第2周波数のクロック(SSCK)を使用し、パケット生成部232から出力された下りパケットのデータに対して変調処理を行って下り信号を生成し、ルーティング制御部212に出力する。   When the transmission data processing unit 208 receives the enable signal (SSCS) from the packet generation unit 232, the transmission data processing unit 208 uses the second frequency clock (SSCK) output from the packet generation unit 232, and the downlink data output from the packet generation unit 232. Modulation processing is performed on the packet data to generate a downlink signal, which is output to the routing control unit 212.

送信データ反転部209は、接続状態検出部234において2線ケーブルが逆接続であると判定された場合、ルーティング制御部212から出力された下り信号を反転させて送信ドライバ210−1に出力する。一方、送信データ反転部209は、接続状態検出部234において2線ケーブルが正接続であると判定された場合、ルーティング制御部212から出力された下り信号をそのまま送信ドライバ210−1に出力する。   When the connection state detection unit 234 determines that the two-wire cable is reversely connected, the transmission data inverting unit 209 inverts the downlink signal output from the routing control unit 212 and outputs the inverted signal to the transmission driver 210-1. On the other hand, when the connection state detection unit 234 determines that the two-wire cable is a normal connection, the transmission data inversion unit 209 outputs the downlink signal output from the routing control unit 212 to the transmission driver 210-1 as it is.

送信ドライバ210−1は、制御部207からの切り替え制御信号(SW CON)によって指示された送信区間において、下り信号を、ケーブル接続部201−1を介して他のドアホンシステムの親機に送信する。送信ドライバ210−i(この場合、iは1以外)は、制御部207からの切り替え制御信号(SW CON)によって指示された送信区間において、下り信号を、ケーブル接続部201−iを介して玄関子機100あるいは増設モニタ300に送信する。   The transmission driver 210-1 transmits a downlink signal to the master unit of another door phone system via the cable connection unit 201-1 in the transmission section instructed by the switching control signal (SW CON) from the control unit 207. . The transmission driver 210-i (in this case, i is other than 1) transmits the downstream signal to the entrance via the cable connection unit 201-i in the transmission section instructed by the switching control signal (SW CON) from the control unit 207. It transmits to the subunit | mobile_unit 100 or the expansion monitor 300. FIG.

受信ドライバ211−iは、玄関子機100、増設モニタ300あるいは他のドアホンシステムの親機から送信された上り信号を、ケーブル接続部201−iを介して受信する。そして、受信ドライバ211−iは、制御部207からの切り替え制御信号(SW CON)によって指示された受信区間において、上り信号を、ルーティング制御部212に出力する。   The reception driver 211-i receives an upstream signal transmitted from the front cordless handset 100, the extension monitor 300, or the parent device of another door phone system via the cable connection unit 201-i. Then, the reception driver 211-i outputs an uplink signal to the routing control unit 212 in the reception period instructed by the switching control signal (SW CON) from the control unit 207.

ルーティング制御部212は、玄関子機100から送信され、受信ドライバ211−iから出力された上り信号を、親機200宛である場合には同期検出部213、第2クロック生成部214、データ再生部233に出力し、増設モニタ300宛である場合には対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、送信データ処理部208から出力された玄関子機100宛の下り信号を、対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、増設モニタ300から送信され、受信ドライバ211−iから出力された玄関子機100宛の上り信号を、対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、ルーティング(通信ルートの有効/無効)の制御を行う。なお、ルーティング制御部212が行うルーティング制御の具体例については後述する。   The routing control unit 212 transmits the uplink signal transmitted from the front door slave unit 100 and output from the reception driver 211-i to the master unit 200. When the destination signal is addressed to the master unit 200, the synchronization detection unit 213, the second clock generation unit 214, the data reproduction If it is addressed to the expansion monitor 300, it is output to the corresponding transmission driver 210-i. In addition, the routing control unit 212 outputs the downlink signal output from the transmission data processing unit 208 and addressed to the entrance slave device 100 to the corresponding transmission driver 210-i. In addition, the routing control unit 212 outputs the uplink signal addressed to the entrance slave device 100 transmitted from the extension monitor 300 and output from the reception driver 211-i to the corresponding transmission driver 210-i. The routing control unit 212 controls routing (valid / invalid of communication routes). A specific example of routing control performed by the routing control unit 212 will be described later.

同期検出部213は、第1クロック生成部231から出力された第1周波数のクロック(CLK)を使用し、ルーティング制御部212から出力された上り信号に含まれるプリアンブルデータを用いて玄関子機100との同期(受信データの各ビットの先頭のタイミング)を検出する。そして、同期検出部213は、プリアンブルデータのユニークパターンを検出したタイミングで、クロック出力開始の基準となるトリガ信号を第2クロック生成部214に出力し、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部233に出力する。   The synchronization detection unit 213 uses the first frequency clock (CLK) output from the first clock generation unit 231 and uses the preamble data included in the uplink signal output from the routing control unit 212, to the entrance terminal 100. (The timing at the beginning of each bit of received data) is detected. Then, the synchronization detection unit 213 outputs a trigger signal serving as a reference for starting clock output to the second clock generation unit 214 at the timing when the unique pattern of the preamble data is detected, and an enable signal (SSCS) that permits the data reproduction operation Is output to the data reproducing unit 233.

第2クロック生成部214は、同期検出部213から指示されたタイミングで、第1クロック生成部231から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、第2周波数のクロックをデータ再生部233に出力する。   The second clock generation unit 214 corresponds to the bit rate of the received data based on the first frequency clock (CLK) output from the first clock generation unit 231 at the timing instructed by the synchronization detection unit 213. A clock (SSCK) having two frequencies (for example, 4.8 MHz) is generated, and a clock having the second frequency is output to the data reproducing unit 233.

識別子記憶部215は、自機IDmaster、および、各機器(玄関子機100、増設モニタ300、他のドアホンシステムの親機)の識別子を記憶する。 The identifier storage unit 215 stores the own device ID master and the identifiers of each device (the entrance slave device 100, the extension monitor 300, and the parent device of another door phone system).

<増設モニタの構成>
次に、増設モニタ300の構成について、図5のブロック図を用いて説明する。図5に示すように、増設モニタ300は、ケーブル接続部301、キー入力部302、スピーカ303、マイク304、音声I/F(インターフェイス)部305、ディスプレイ部306および制御部307を有する。制御部307は、内部に、第1クロック生成部331、パケット生成部332、データ再生部333、接続状態検出部334を有する。また、増設モニタ300は、送信データ処理部308、送信データ反転部309、送信ドライバ310、受信ドライバ311、受信データ反転部312、同期検出部313、第2クロック生成部314、識別子記憶部315を有する。
<Configuration of additional monitor>
Next, the configuration of the extension monitor 300 will be described with reference to the block diagram of FIG. As illustrated in FIG. 5, the extension monitor 300 includes a cable connection unit 301, a key input unit 302, a speaker 303, a microphone 304, an audio I / F (interface) unit 305, a display unit 306, and a control unit 307. The control unit 307 includes a first clock generation unit 331, a packet generation unit 332, a data reproduction unit 333, and a connection state detection unit 334 inside. The expansion monitor 300 includes a transmission data processing unit 308, a transmission data inversion unit 309, a transmission driver 310, a reception driver 311, a reception data inversion unit 312, a synchronization detection unit 313, a second clock generation unit 314, and an identifier storage unit 315. Have.

ケーブル接続部301は、2線ケーブル用の接続端子を含み、2線ケーブルの増設モニタ側の一端と、受信ドライバ311および送信ドライバ310との間を、信号を伝送可能な状態で接続する。なお、2線ケーブルの他端は、ドアホン親機200に接続される。   The cable connection unit 301 includes a connection terminal for a two-wire cable, and connects the one end on the additional monitor side of the two-wire cable to the reception driver 311 and the transmission driver 310 in a state where signals can be transmitted. Note that the other end of the two-wire cable is connected to the doorphone master unit 200.

キー入力部302は、呼出ボタンを含み、呼出ボタンが操作されたとき、その旨を示す信号を制御部307に出力する。   The key input unit 302 includes a call button. When the call button is operated, the key input unit 302 outputs a signal indicating that to the control unit 307.

スピーカ303は、音声I/F部305から出力されたアナログ音声データを、音声に変換して出力する。   The speaker 303 converts analog audio data output from the audio I / F unit 305 into audio and outputs the audio.

マイク304は、周囲の音声を集音してアナログ音声データに変換し、音声I/F部305に出力する。   The microphone 304 collects ambient sound, converts it into analog sound data, and outputs it to the sound I / F unit 305.

音声I/F部305は、制御部307から出力されたデジタル音声データを、アナログ音声データに変換し、信号レベルを調整して、スピーカ303に出力する。また、音声I/F部305は、マイク304から出力されたアナログ音声データを、信号レベルを調整し、デジタル音声データに変換して、制御部307に出力する。かかるアナログ/デジタル変換は、A/D,D/A変換器(図示せず)により行われる。   The audio I / F unit 305 converts the digital audio data output from the control unit 307 into analog audio data, adjusts the signal level, and outputs the analog audio data to the speaker 303. The audio I / F unit 305 adjusts the signal level of the analog audio data output from the microphone 304, converts the analog audio data into digital audio data, and outputs the digital audio data to the control unit 307. Such analog / digital conversion is performed by an A / D, D / A converter (not shown).

なお、音声I/F部305は、マイク304から出力されたアナログ音声データをデジタル変換したデータに対して、所定の音声圧縮処理を行って得られるデータを、デジタル音声データとして制御部307に出力してもよい。また、音声I/F部305は、制御部307から出力されたデジタル音声データが所定の音声圧縮処理を行って得られたデータである場合、当該データに対して所定の音声伸張処理を行ってから、デジタル/アナログ変換を行う。   Note that the audio I / F unit 305 outputs data obtained by performing predetermined audio compression processing on the data obtained by digitally converting the analog audio data output from the microphone 304 to the control unit 307 as digital audio data. May be. In addition, when the digital audio data output from the control unit 307 is data obtained by performing predetermined audio compression processing, the audio I / F unit 305 performs predetermined audio expansion processing on the data. To digital / analog conversion.

ディスプレイ部306は、液晶ディスプレイを含み、制御部307から出力されたデジタル映像データを再生し、玄関の映像を表示する。なお、制御部307から出力されたデジタル映像データが所定の動画圧縮処理を行って得られたデータである場合、当該データに対して所定の動画伸張処理を行って、映像表示を行う。   The display unit 306 includes a liquid crystal display, reproduces the digital video data output from the control unit 307, and displays the entrance video. When the digital video data output from the control unit 307 is data obtained by performing a predetermined moving image compression process, the predetermined video expansion process is performed on the data to display a video.

制御部307は、増設モニタ300の各部の制御を行う。また、制御部307は、送信を許可する送信区間、および、受信を許可する受信区間を指示する切り替え制御信号(SW CON)を送信ドライバ310および受信ドライバ311に出力する。   The control unit 307 controls each unit of the extension monitor 300. In addition, the control unit 307 outputs to the transmission driver 310 and the reception driver 311 a switching control signal (SW CON) instructing a transmission period that permits transmission and a reception period that permits reception.

制御部307の第1クロック生成部331は、受信データをサンプリングするためのクロックであって、水晶発振を基準に、受信データのビットレートのn倍に対応する第1周波数(例えば、48MHz(n=10))のクロック(CLK)を生成し、同期検出部313、第2クロック生成部314に出力する。   The first clock generation unit 331 of the control unit 307 is a clock for sampling received data, and is based on crystal oscillation and has a first frequency (for example, 48 MHz (n = 10)) clock (CLK) is generated and output to the synchronization detector 313 and the second clock generator 314.

制御部307のパケット生成部332は、映像付き通話を実現するための上りパケットを生成する。具体的には、パケット生成部332は、音声I/F部305から出力されたデジタル音声データを適宜分割して各スロットのユーザデータフィールドに書き込み、自機(増設モニタ300)に固有の識別子(以下、「自機IDmonitor」という)およびIDmasterを含む制御データを各スロットの制御データフィールドに書き込む。さらに、パケット生成部332は、各スロットに、プリアンブルデータ、シンクパターンを書き込み、上りパケット(送信データ)を生成する。さらに、パケット生成部332は、送信用のイネーブル信号(SSCS)および送信用の第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成する。そして、パケット生成部332は、上りパケットを、送信用のイネーブル信号(SSCS)およびクロック(SSCK)と同期させて、送信データ処理部308に出力する。 The packet generation unit 332 of the control unit 307 generates an uplink packet for realizing a call with video. Specifically, the packet generation unit 332 appropriately divides the digital audio data output from the audio I / F unit 305 and writes the digital audio data in the user data field of each slot. Hereinafter, the control data including the “own device ID monitor ” and the ID master is written in the control data field of each slot. Further, the packet generation unit 332 writes preamble data and a sync pattern in each slot, and generates an uplink packet (transmission data). Further, the packet generation unit 332 generates a transmission enable signal (SSCS) and a transmission second frequency (for example, 4.8 MHz) clock (SSCK). Then, the packet generation unit 332 outputs the uplink packet to the transmission data processing unit 308 in synchronization with the transmission enable signal (SSCS) and the clock (SSCK).

なお、増設モニタ300とドアホン親機200との間でデータが送受されない待機状態では、パケット生成部332は、上りパケットを生成しない。また、待機状態(非同期通信時)において、呼出ボタンが操作される等の所定のイベントが発生すると、パケット生成部332は、プリアンブルデータ、シンクパターン、制御データを書き込んだ上りパケット(割り込み信号)を生成する。なお、非同期通信時の割り込み信号において使用されるプリアンブルとシンクパターンは、同期通信時に使用されるものと同一である。   Note that the packet generation unit 332 does not generate an uplink packet in a standby state in which data is not transmitted / received between the extension monitor 300 and the intercom base unit 200. Further, when a predetermined event such as operation of a call button occurs in a standby state (during asynchronous communication), the packet generation unit 332 transmits an uplink packet (interrupt signal) in which preamble data, sync pattern, and control data are written. Generate. The preamble and sync pattern used in the interrupt signal during asynchronous communication are the same as those used during synchronous communication.

制御部307のデータ再生部333は、同期検出部313からイネーブル信号(SSCS)を入力すると、第2クロック生成部314から出力された第2周波数のクロック(SSCK)を使用し、受信データ反転部312から出力された下り信号を復調して下りパケットを取得する。そして、データ再生部333は、下りパケットに含まれるデジタル映像データをディスプレイ部306に出力し、下りパケットに含まれるデジタル音声データを音声I/F部305に出力し、下りパケットに含まれるシンクパターンを接続状態検出部334に出力する。なお、データ再生部333は、初期登録時に、下りパケットに含まれる自機IDmonitorおよびIDmasterを識別子記憶部315に記憶させる。 When the data reproduction unit 333 of the control unit 307 receives the enable signal (SSCS) from the synchronization detection unit 313, the data reproduction unit 333 uses the second frequency clock (SSCK) output from the second clock generation unit 314, and receives the data inversion unit. The downlink signal output from 312 is demodulated to obtain a downlink packet. Then, the data reproducing unit 333 outputs the digital video data included in the downlink packet to the display unit 306, outputs the digital audio data included in the downlink packet to the audio I / F unit 305, and the sync pattern included in the downlink packet. Is output to the connection state detection unit 334. Note that the data reproduction unit 333 causes the identifier storage unit 315 to store its own ID monitor and ID master included in the downlink packet at the time of initial registration.

また、データ再生部333は、待機状態(非同期通信時)において所定のイベントが発生し、下り信号(割り込み信号)を入力した場合、下り信号を復調して下りパケットを取得し、下りパケットに含まれるシンクパターンを接続状態検出部334に出力する。データ再生部333は、接続状態検出部334において正確に割り込み信号を捕捉できたことを確認した後、割り込み信号の制御データを抽出する。制御データが同期要求であれば、増設モニタ300は、ドアホン親機200との同期処理に移行する。   In addition, when a predetermined event occurs in a standby state (during asynchronous communication) and a downlink signal (interrupt signal) is input, the data reproduction unit 333 demodulates the downlink signal to acquire a downlink packet, and is included in the downlink packet The sync pattern is output to the connection state detection unit 334. The data reproducing unit 333 extracts the control data of the interrupt signal after confirming that the connection state detecting unit 334 has correctly captured the interrupt signal. If the control data is a synchronization request, the extension monitor 300 shifts to a synchronization process with the doorphone parent device 200.

制御部307の接続状態検出部334は、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンを記憶し、データ再生部333から出力された受信データのシンクパターンを、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンと照合する。接続状態検出部334は、受信データのシンクパターンと正接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが正接続であると判定し、受信データのシンクパターンと逆接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが逆接続であると判定する。そして、接続状態検出部334は、判定結果を示す反転制御信号(INV CON)を、送信データ反転部309および受信データ反転部312に出力する。   The connection state detection unit 334 of the control unit 307 stores the normal connection check sync pattern and the reverse connection check sync pattern, and converts the received data sync pattern output from the data reproduction unit 333 into the normal connection check sync pattern and Match with reverse connection check sync pattern. The connection state detection unit 334 determines that the two-wire cable is correctly connected when the sync pattern of the received data completely matches the sync pattern for the normal connection check, and the sync pattern of the received data and the sync pattern for the reverse connection check If the two completely match, it is determined that the two-wire cable is reversely connected. Then, the connection state detection unit 334 outputs an inversion control signal (INV CON) indicating the determination result to the transmission data inversion unit 309 and the reception data inversion unit 312.

送信データ処理部308は、パケット生成部332からイネーブル信号(SSCS)を入力すると、パケット生成部332から出力された第2周波数のクロック(SSCK)を使用し、パケット生成部332から出力された上りパケットのデータに対して変調処理を行って上り信号を生成し、送信データ反転部309に出力する。   When the transmission data processing unit 308 receives the enable signal (SSCS) from the packet generation unit 332, the transmission data processing unit 308 uses the second frequency clock (SSCK) output from the packet generation unit 332, and the uplink data output from the packet generation unit 332. Modulation processing is performed on the packet data to generate an uplink signal, which is output to the transmission data inverting unit 309.

送信データ反転部309は、接続状態検出部334において2線ケーブルが逆接続であると判定された場合、送信データ処理部308から出力された上り信号を反転させて送信ドライバ310に出力する。一方、送信データ反転部309は、接続状態検出部334において2線ケーブルが正接続であると判定された場合、送信データ処理部308から出力された上り信号をそのまま送信ドライバ310に出力する。   When the connection state detection unit 334 determines that the two-wire cable is reversely connected, the transmission data inversion unit 309 inverts the uplink signal output from the transmission data processing unit 308 and outputs the inverted signal to the transmission driver 310. On the other hand, the transmission data inverting unit 309 outputs the uplink signal output from the transmission data processing unit 308 to the transmission driver 310 as it is when the connection state detection unit 334 determines that the two-wire cable is a normal connection.

送信ドライバ310は、制御部307からの切り替え制御信号(SW CON)によって指示された送信区間において、上り信号を、ケーブル接続部301を介してドアホン親機200に送信する。   The transmission driver 310 transmits an upstream signal to the intercom base unit 200 via the cable connection unit 301 in the transmission section instructed by the switching control signal (SW CON) from the control unit 307.

受信ドライバ311は、ドアホン親機200から送信された下り信号を、ケーブル接続部301を介して受信する。そして、受信ドライバ311は、制御部307からの切り替え制御信号(SW CON)によって指示された受信区間において、下り信号を、受信データ反転部312に出力する。   The reception driver 311 receives the downlink signal transmitted from the doorphone master device 200 via the cable connection unit 301. Then, the reception driver 311 outputs the downlink signal to the reception data inversion unit 312 in the reception period instructed by the switching control signal (SW CON) from the control unit 307.

受信データ反転部312は、接続状態検出部334において2線ケーブルが逆接続であると判定された場合、受信ドライバ311から出力された下り信号を反転させて同期検出部313、第2クロック生成部314、データ再生部333に出力する。一方、受信データ反転部312は、接続状態検出部334において2線ケーブルが正接続であると判定された場合、受信ドライバ311から出力された下り信号をそのまま同期検出部313、第2クロック生成部314、データ再生部333に出力する。   When the connection state detection unit 334 determines that the two-wire cable is reversely connected, the reception data inversion unit 312 inverts the downlink signal output from the reception driver 311 so as to invert the synchronization detection unit 313 and the second clock generation unit. 314, and output to the data reproduction unit 333. On the other hand, when the connection state detection unit 334 determines that the two-wire cable is a positive connection, the reception data inversion unit 312 directly uses the downlink signal output from the reception driver 311 as the synchronization detection unit 313 and the second clock generation unit. 314, and output to the data reproduction unit 333.

同期検出部313は、第1クロック生成部331から出力された第1周波数のクロック(CLK)を使用し、受信ドライバ311から出力された下り信号に含まれるプリアンブルデータを用いてドアホン親機200との同期(受信データの各ビットの先頭のタイミング)を検出する。そして、同期検出部313は、プリアンブルデータのユニークパターンを検出したタイミングで、クロック出力開始の基準となるトリガ信号を第2クロック生成部314に出力し、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部333に出力する。   The synchronization detection unit 313 uses the first frequency clock (CLK) output from the first clock generation unit 331 and uses the preamble data included in the downlink signal output from the reception driver 311 to Synchronization (start timing of each bit of received data) is detected. Then, the synchronization detection unit 313 outputs a trigger signal serving as a reference for starting clock output to the second clock generation unit 314 at the timing when the unique pattern of the preamble data is detected, and an enable signal (SSCS) that permits the data reproduction operation Is output to the data reproduction unit 333.

第2クロック生成部314は、同期検出部313から指示されたタイミングで、第1クロック生成部331から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、データ再生部333に出力する。   The second clock generation unit 314 corresponds to the bit rate of the received data based on the first frequency clock (CLK) output from the first clock generation unit 331 at the timing instructed by the synchronization detection unit 313. A clock (SSCK) having two frequencies (for example, 4.8 MHz) is generated and output to the data reproducing unit 333.

識別子記憶部315は、ドアホン親機200から受信した自機IDmonitorおよびIDmasterを記憶する。 The identifier storage unit 315 stores the own device ID monitor and the ID master received from the intercom master device 200.

なお、玄関子機100、ドアホン親機200および増設モニタ300は、図示しないが、例えば、CPU(Central Processing Unit)、制御プログラムを格納したROM(Read Only Memory)等の記憶媒体、RAM(Random Access Memory)等の作業用メモリ、および通信回路をそれぞれ有する。この場合、上記した各部の機能は、CPUが制御プログラムを実行することにより実現される。   Although not shown in the figure, the front door device 100, the doorphone master device 200, and the extension monitor 300 are, for example, a CPU (Central Processing Unit), a storage medium such as a ROM (Read Only Memory) storing a control program, a RAM (Random Access And a communication circuit. In this case, the function of each unit described above is realized by the CPU executing the control program.

<変調処理の一例>
次に、送信データ処理部108(208、308)が行う変調処理の一例について図6、図7を用いて説明する。図6、図7では、マンチェスタ符号を採用した場合を示している。
<Example of modulation processing>
Next, an example of modulation processing performed by the transmission data processing unit 108 (208, 308) will be described with reference to FIGS. 6 and 7 show a case where the Manchester code is employed.

送信データ処理部108(208、308)は、周期Tm毎に、パケットの各データ(1ビット)に対応する信号を1つ生成する。マンチェスタ符号を採用した場合、図6に示すように、送信データ処理部108(208、308)は、値「0」のデータ401にLowからHighへの立上りを発生させ、変調信号402を生成する。また、送信データ処理部108(208、308)は、値「1」のデータ411にHighからLowへの立下りを発生させ、変調信号412を生成する。   The transmission data processing unit 108 (208, 308) generates one signal corresponding to each data (1 bit) of the packet for each cycle Tm. When the Manchester code is employed, the transmission data processing unit 108 (208, 308) generates a modulation signal 402 by causing the data 401 having the value “0” to rise from Low to High as shown in FIG. . Also, the transmission data processing unit 108 (208, 308) causes the data 411 having the value “1” to fall from High to Low, and generates a modulated signal 412.

そして、図7に示すように、「0,0,1,・・・,1,0」というデータ列421に対して、送信データ処理部108(208、308)は、各ビットの値に対応して、周期Tm毎に立上りあるいは立下りを有する変調信号422を生成する。   Then, as shown in FIG. 7, for the data string 421 of “0, 0, 1,..., 1, 0”, the transmission data processing unit 108 (208, 308) corresponds to the value of each bit. Thus, a modulation signal 422 having a rising edge or a falling edge is generated every period Tm.

<プリアンブルデータの一例>
次に、本実施の形態において使用されるプリアンブルデータの一例について図8を用いて説明する。
<Example of preamble data>
Next, an example of preamble data used in the present embodiment will be described with reference to FIG.

図8に示すように、本実施の形態において使用されるプリアンブルデータ(4byte=32bit)は、1byte目から3byte目までがすべて「1」のパターンであり、4byte目が、最初から6bitまでが「1」、7bitが「0」、8bit(最後の1bit)が「1」のパターンである。さらに、この場合、プリアンブルデータに続くシンクパターンの最初の1bitが「1」である。この結果、図8に示すプリアンブルデータは、4byte目の6bit目から8bit目にかけての隣接する立下りエッジ間501の期間が他よりも長いユニークパターンとなっている。また、隣接する立下りエッジ間501のH(High)の期間およびL(Low)の期間が他よりも長くなっている。なお、図8は、マンチェスタエンコード後のプリアンブルデータの波形を示している。   As shown in FIG. 8, the preamble data (4 bytes = 32 bits) used in the present embodiment has a pattern of “1” from the 1st byte to the 3rd byte, and the 4th byte from the beginning to the 6th bit is “1”. 1 ”, 7 bit is“ 0 ”, and 8 bit (last 1 bit) is“ 1 ”. Further, in this case, the first 1 bit of the sync pattern following the preamble data is “1”. As a result, the preamble data shown in FIG. 8 has a unique pattern in which the period between adjacent falling edges 501 from the 6th bit to the 8th bit of the 4th byte is longer than the others. Further, the H (High) period and the L (Low) period between adjacent falling edges 501 are longer than others. FIG. 8 shows the waveform of the preamble data after Manchester encoding.

なお、本実施の形態では、プリアンブルデータが、図8に示すものが反転されたものであっても良い。すなわち、本実施の形態において使用されるプリアンブルデータ(4byte=32bit)は、1byte目から3byte目までがすべて「0」のパターンであり、4byte目が、最初から6bitまでが「0」、7bitが「1」、8bit(最後の1bit)が「0」のパターンであってもよい。この場合、プリアンブルデータに続くシンクパターンの最初の1bitが「0」である。   In the present embodiment, the preamble data may be inverted from that shown in FIG. That is, the preamble data (4 bytes = 32 bits) used in the present embodiment is a pattern of “0” from the first byte to the third byte, “0” from the first byte to the first 6 bits, and 7 bits. A pattern in which “1” and 8 bits (last 1 bit) are “0” may be used. In this case, the first 1 bit of the sync pattern following the preamble data is “0”.

<同期検出部の内部構成>
次に、玄関子機100の同期検出部113の内部構成の詳細について、図9を用いて説明する。なお、その説明の際、本実施の形態の同期検出処理について理解を容易にするため、図9と併せて図10、図11を用いる。図10の例において、プリアンブルデータおよびそのユニークパターンは、図8に示したものを用いる。なお、図10では、第1クロック生成部131が48MHzのクロック(CLK)を生成し、第2クロック生成部114が4.8MHzのクロック(SSCK)を生成している場合を示している。
<Internal configuration of synchronization detector>
Next, the details of the internal configuration of the synchronization detection unit 113 of the front door device 100 will be described with reference to FIG. In the description, FIGS. 10 and 11 are used together with FIG. 9 in order to facilitate understanding of the synchronization detection processing of the present embodiment. In the example of FIG. 10, the preamble data and its unique pattern are those shown in FIG. FIG. 10 shows a case where the first clock generation unit 131 generates a 48 MHz clock (CLK) and the second clock generation unit 114 generates a 4.8 MHz clock (SSCK).

図9に示すように、同期検出部113は、第1のユニークパターン検出部151、第2のユニークパターン検出部152およびイネーブル信号生成部153を有する。   As illustrated in FIG. 9, the synchronization detection unit 113 includes a first unique pattern detection unit 151, a second unique pattern detection unit 152, and an enable signal generation unit 153.

第1のユニークパターン検出部151および第2のユニークパターン検出部152は、ユニークパターン検出用のクロックの第1規定数(例えば、「18」から「22」)を記憶している。   The first unique pattern detection unit 151 and the second unique pattern detection unit 152 store a first specified number (for example, “18” to “22”) of a clock for detecting a unique pattern.

第1のユニークパターン検出部151は、第1クロック生成部131のクロックで、受信データ反転部112から出力された受信データに含まれるプリアンブルデータをサンプリングし、隣接する立下りエッジ間のクロックを計数する。第1のユニークパターン検出部151は、隣接する立下りエッジ間のクロック数が第1規定数のいずれかに一致した場合にユニークパターンを検出したと判定する。図10の例では、隣接する立下りエッジ間501のクロック数「20」が、第1規定数の中の1つと一致する。そして、第1のユニークパターン検出部151は、所定のタイミングで、その旨を示す信号を、イネーブル信号生成部153に出力する。   The first unique pattern detection unit 151 samples the preamble data included in the reception data output from the reception data inversion unit 112 using the clock of the first clock generation unit 131, and counts the clocks between adjacent falling edges. To do. The first unique pattern detection unit 151 determines that a unique pattern has been detected when the number of clocks between adjacent falling edges matches one of the first specified numbers. In the example of FIG. 10, the clock number “20” between adjacent falling edges 501 matches one of the first specified numbers. Then, the first unique pattern detection unit 151 outputs a signal indicating that to the enable signal generation unit 153 at a predetermined timing.

第2のユニークパターン検出部152は、第1のユニークパターン検出部151と同一タイミングで、受信データ反転部112から出力された受信データに含まれるプリアンブルデータをサンプリングし、隣接する立上りエッジ間のクロックを計数する。第2のユニークパターン検出部152は、隣接する立上りエッジ間のクロック数が第1規定数のいずれかに一致した場合にユニークパターンを検出したと判定し、その旨を示す信号をイネーブル信号生成部153に出力する。   The second unique pattern detection unit 152 samples the preamble data included in the reception data output from the reception data inversion unit 112 at the same timing as the first unique pattern detection unit 151, and clocks between adjacent rising edges Count. The second unique pattern detection unit 152 determines that a unique pattern has been detected when the number of clocks between adjacent rising edges matches one of the first specified numbers, and outputs a signal indicating that detection to the enable signal generation unit To 153.

イネーブル信号生成部153は、第1のユニークパターン検出部151あるいは第2のユニークパターン検出部152のいずれかから、ユニークパターンを検出した旨を示す信号を入力すると、クロック出力開始の基準となるトリガ信号を第2クロック生成部114に出力し、データ再生動作を許可するイネーブル信号を制御部107のデータ再生部133に出力する(図10の例では、イネーブル信号SSCSを立下げ、L(Low)信号とする(アクティブにする))。   When the enable signal generation unit 153 receives a signal indicating that a unique pattern has been detected from either the first unique pattern detection unit 151 or the second unique pattern detection unit 152, the trigger that becomes a reference for starting clock output The signal is output to the second clock generation unit 114, and the enable signal for permitting the data recovery operation is output to the data recovery unit 133 of the control unit 107 (in the example of FIG. 10, the enable signal SSCS is lowered and L (Low) Signal (activate).

ユニークパターンの検出について、図11を用いてさらに詳細に説明する。図11(A)は、2線ケーブルが正接続の場合の正常極性のユニークパターンおよびその近傍の受信波形を示し、図11(A)の(1)は、第1のユニークパターン検出部151によって計数されるクロック数を示し、図11(A)の(2)は、第2のユニークパターン検出部152によって計数されるクロック数を示す。図11(B)は、2線ケーブルが逆接続の場合の反転極性のユニークパターンおよびその近傍の受信波形を示し、図11(B)の(1)は、第1のユニークパターン検出部151によって計数されるクロック数を示し、図11(B)の(2)は、第2のユニークパターン検出部152によって計数されるクロック数を示す。   The unique pattern detection will be described in more detail with reference to FIG. FIG. 11A shows a unique pattern of normal polarity and a received waveform in the vicinity thereof when the two-wire cable is positively connected, and (1) in FIG. 11A is obtained by the first unique pattern detection unit 151. The number of clocks to be counted is shown, and (2) in FIG. 11A shows the number of clocks counted by the second unique pattern detection unit 152. FIG. 11 (B) shows a unique pattern with reversed polarity when the two-wire cable is reversely connected and a received waveform in the vicinity thereof. (1) in FIG. 11 (B) is obtained by the first unique pattern detection unit 151. The number of clocks to be counted is shown, and (2) in FIG. 11B shows the number of clocks counted by the second unique pattern detection unit 152.

2線ケーブルが正接続の場合、図11(A)の(1)に示すように、第1のユニークパターン検出部151において計数されるクロック数は、ユニークパターン1の隣接する立下りエッジ間では「20」となり、第1規定数の中の1つと一致し、他の隣接する立下りエッジ間では「10」となり、第1規定数の中の何れにも一致しない。第1のユニークパターン検出部151がユニークパターン1を検出すると、イネーブル信号生成部153が所定の位置Zでイネーブル信号(SSCS)を立下げる(アクティブにする)。一方、図11(A)の(2)に示すように、第2のユニークパターン検出部152において計数されるクロック数は、何れの隣接する立上りエッジ間でも「10」または「15」となり、第1規定数の中の何れにも一致しない。このため、第2のユニークパターン検出部152は、ユニークパターンを検出することができない。このように、2線ケーブルが正接続の場合、同期検出部113(第1のユニークパターン検出部151および第2のユニークパターン検出部152)において、サンプリングクロック数がユニークであるユニークパターン1が唯一検出される。   When the two-wire cable is positively connected, as shown in (1) of FIG. 11A, the number of clocks counted in the first unique pattern detection unit 151 is between adjacent falling edges of the unique pattern 1. “20”, which matches one of the first specified numbers, and “10” between other adjacent falling edges, and does not match any of the first specified numbers. When the first unique pattern detection unit 151 detects the unique pattern 1, the enable signal generation unit 153 causes the enable signal (SSCS) to fall (activate) at a predetermined position Z. On the other hand, as shown in (2) of FIG. 11A, the number of clocks counted by the second unique pattern detection unit 152 is “10” or “15” between any adjacent rising edges, It does not match any of the specified numbers. For this reason, the second unique pattern detection unit 152 cannot detect a unique pattern. As described above, when the two-wire cable is positively connected, the unique pattern 1 having a unique sampling clock number is unique in the synchronization detection unit 113 (the first unique pattern detection unit 151 and the second unique pattern detection unit 152). Detected.

2線ケーブルが逆接続の場合、図11(B)の(2)に示すように、第2のユニークパターン検出部152において計数されるクロック数は、ユニークパターン2の隣接する立上りエッジ間では「20」となり、第1規定数の中の1つと一致し、他の隣接する立上りエッジ間では「10」となり、第1規定数の中の何れにも一致しない。第2のユニークパターン検出部152がユニークパターン2を検出すると、イネーブル信号生成部153が所定の位置Yでイネーブル信号(SSCS)を立下げる(アクティブにする)。一方、図11(B)の(1)に示すように、第1のユニークパターン検出部151において計数されるクロック数は、何れの隣接する立下りエッジ間でも「10」または「15」となり、第1規定数の中の何れにも一致しない。このため、第1のユニークパターン検出部151は、ユニークパターンを検出することができない。このように、2線ケーブルが逆接続の場合、同期検出部113(第1のユニークパターン検出部151および第2のユニークパターン検出部152)において、サンプリングクロック数がユニークであるユニークパターン2が唯一検出される。   When the two-wire cable is reversely connected, the number of clocks counted by the second unique pattern detection unit 152 is “between adjacent rising edges of the unique pattern 2” as shown in (2) of FIG. 20 ”, which matches one of the first specified numbers, and“ 10 ”between other adjacent rising edges, and does not match any of the first specified numbers. When the second unique pattern detection unit 152 detects the unique pattern 2, the enable signal generation unit 153 causes the enable signal (SSCS) to fall (activate) at a predetermined position Y. On the other hand, as shown in (1) of FIG. 11B, the number of clocks counted by the first unique pattern detection unit 151 is “10” or “15” between any adjacent falling edges, Does not match any of the first specified number. For this reason, the first unique pattern detection unit 151 cannot detect a unique pattern. As described above, when the two-wire cable is reversely connected, the unique pattern 2 having a unique sampling clock number is unique in the synchronization detection unit 113 (the first unique pattern detection unit 151 and the second unique pattern detection unit 152). Detected.

なお、図11(B)の受信波形は、図11(A)のの受信波形が反転されたものであって、正常極性のときに立下りエッジ間のクロック数が第1規定数となるユニークパターンが存在する場合は、必然的に、反転極性のときに立上がりエッジ間のクロック数が第1規定数となるユニークパターンが存在することになる。また、その場合のユニークパターン1とユニークパターン2の配置位置およびタイミングは同一となり、イネーブル信号(SSCS)を立下げる(アクティブにする)位置ZとYのタイミングも一致する。   Note that the reception waveform in FIG. 11B is an inversion of the reception waveform in FIG. 11A, and the number of clocks between falling edges is the first specified number when the polarity is normal. When there is a pattern, there is inevitably a unique pattern in which the number of clocks between rising edges becomes the first specified number when the polarity is inverted. In this case, the arrangement positions and timings of the unique pattern 1 and the unique pattern 2 are the same, and the timings of the positions Z and Y at which the enable signal (SSCS) falls (activates) coincide.

この場合、第2クロック生成部114は、イネーブル信号生成部153からトリガ信号を入力したタイミングから、次に受信波形が変化するエッジ(プリアンブルデータとシンクパターンの間の波形エッジ)であるデータ反転ポイント511からk個目の第1周波数(48MHz)のクロック(kは自然数、図10、図11の例ではk=2)のタイミングを開始タイミング(図10のt1)として、第2周波数のクロックを出力する。   In this case, the second clock generation unit 114 is a data inversion point that is an edge (a waveform edge between the preamble data and the sync pattern) at which the reception waveform changes next from the timing when the trigger signal is input from the enable signal generation unit 153. The clock of the first frequency (48 MHz) from 511 (k is a natural number, k = 2 in the examples of FIGS. 10 and 11) is set as the start timing (t1 in FIG. 10), and the clock of the second frequency is Output.

データ再生部133は、第2クロック生成部114から出力された第2周波数のクロック(SSCK)の立上りのタイミング(図10のt1)でデコードする。すなわち、データ再生部133は、プリアンブルデータとシンクパターンの境界であるデータ反転ポイント511からk個目の第1周波数(48MHz)のクロック(CLK)のデコードタイミング512でデコードを行う。   The data reproduction unit 133 decodes at the rising timing (t1 in FIG. 10) of the second frequency clock (SSCK) output from the second clock generation unit 114. That is, the data reproducing unit 133 performs decoding at the decoding timing 512 of the clock (CLK) of the k-th first frequency (48 MHz) from the data inversion point 511 that is the boundary between the preamble data and the sync pattern.

図12において、データ反転ポイント511と第1周波数(48MHz)のクロックのタイミングが一致している場合を理想クロック521、理想クロック521から0.5クロック分進んだ場合を最大進みクロック522、理想クロック521から0.5クロック分遅れた場合を最大遅れクロック523とする。また、通信相手とのクリスタルの精度ずれの許容範囲を1クロックとする。データ再生部133は、理想クロック521のデコードタイミング512を中心として、最大進みクロック522のデコードタイミング512から1クロック分前のタイミング513と、最大遅れクロック523のデコードタイミング512から1クロック分後のタイミング514との間の区間531(データの読み込みタイミングの許容範囲)内で、受信データを正しくデコードすることができる。また、この場合、受信波形のデューティ比が30%から70%までの間であれば、データ再生部133は、受信データを正しくデコードすることができる。   In FIG. 12, when the timing of the data inversion point 511 and the clock of the first frequency (48 MHz) coincide with each other, the ideal clock 521, the case where the clock is advanced by 0.5 clock from the ideal clock 521, the maximum advance clock 522, the ideal clock A case where a delay of 0.5 clock from 521 is set as a maximum delay clock 523. In addition, the allowable range of crystal accuracy deviation from the communication partner is assumed to be one clock. The data recovery unit 133 is centered on the decoding timing 512 of the ideal clock 521, the timing 513 one clock before the decoding timing 512 of the maximum advance clock 522, and the timing one clock after the decoding timing 512 of the maximum delay clock 523. The received data can be correctly decoded within a section 531 (allowable range of data reading timing) between the terminal 514 and the terminal 514. In this case, if the duty ratio of the received waveform is between 30% and 70%, the data reproducing unit 133 can correctly decode the received data.

このように、データ反転ポイントを基準にすることによりデータの読み込みタイミングのばらつきを正確に計算できるとともに、各スロットのプリアンブルのビット同期で、都度、データの読み込みタイミングを設定することにより、スロットのビット長でのデータの読み込みタイミングのずれの最大許容値を求めることができる。これにより、送信側のクリスタルと受信側のクリスタルとのずれの許容範囲内で、非同期通信を確実に行うことができる。この結果、第2クロック生成部114は、通常、受信データに含まれるデータと同期した送信側のクロックを抽出して第2周波数のクロックとして使用するが、本実施の形態では、受信データからクロックを抽出する必要が無くなる。このため、回路構成を簡易なものとすることができ、コストを抑えることができる。   In this way, it is possible to accurately calculate the variation in the data read timing by using the data inversion point as a reference, and by setting the data read timing each time the preamble bit of each slot is synchronized, the bit of the slot It is possible to obtain the maximum permissible value of the deviation of the data reading timing with the long length. As a result, asynchronous communication can be reliably performed within an allowable range of deviation between the crystal on the transmission side and the crystal on the reception side. As a result, the second clock generation unit 114 normally extracts the clock on the transmission side synchronized with the data included in the received data and uses it as the second frequency clock. In this embodiment, the second clock generation unit 114 uses the clock from the received data. Need not be extracted. For this reason, the circuit configuration can be simplified, and the cost can be suppressed.

なお、ドアホン親機200の同期検出部213および増設モニタ300の同期検出部313の内部構成も、図9に示した玄関子機100の同期検出部113の内部構成と同一である。   The internal configurations of the synchronization detection unit 213 of the doorphone master unit 200 and the synchronization detection unit 313 of the extension monitor 300 are also the same as the internal configuration of the synchronization detection unit 113 of the front door device 100 shown in FIG.

<同期検出処理のフロー>
次に、玄関子機100(同期検出部113、接続状態検出部134)における同期検出処理のフローについて図13を用いて説明する。
<Flow of synchronization detection processing>
Next, the flow of the synchronization detection process in the front door device 100 (synchronization detection unit 113, connection state detection unit 134) will be described with reference to FIG.

ステップS610において、同期検出部113は、第1のユニークパターン検出部151および第2のユニークパターン検出部152により、第1クロック生成部131のクロックで、受信ドライバ111から出力された復調前の下り信号に含まれるプリアンブルデータをサンプリングし、隣接する立下りエッジ間のクロック数および隣接する立上りエッジ間のクロック数に基づいてプリアンブルデータのユニークパターンのチェックを行う。   In step S <b> 610, the synchronization detection unit 113 uses the first unique pattern detection unit 151 and the second unique pattern detection unit 152 to output the downlink before demodulation output from the reception driver 111 using the clock of the first clock generation unit 131. The preamble data contained in the signal is sampled, and the unique pattern of the preamble data is checked based on the number of clocks between adjacent falling edges and the number of clocks between adjacent rising edges.

ユニークパターンを検出できた場合(S620:YES)、ビット同期を取ることができたとして、フローをステップS630へ進め、検出できていない場合(S620:NO)、フローをステップS610に戻し、ユニークパターンのチェックを再び行う。   If the unique pattern can be detected (S620: YES), the flow proceeds to step S630 on the assumption that the bit synchronization can be established. If not detected (S620: NO), the flow returns to step S610 to return to the unique pattern. Check again.

ステップS630において、接続状態検出部134は、データ再生部133から出力された受信データのシンクパターンのチェックを行う。   In step S630, the connection state detection unit 134 checks the sync pattern of the reception data output from the data reproduction unit 133.

受信データのシンクパターンが、正接続チェック用シンクパターンと一致した場合(S640:YES)、ステップS650において、接続状態検出部134は、2線ケーブルが正接続であると判定し、同期検出処理を終了する。   If the sync pattern of the received data matches the sync pattern for normal connection check (S640: YES), in step S650, the connection state detection unit 134 determines that the two-wire cable is a normal connection, and performs synchronization detection processing. finish.

また、受信データのシンクパターンが、逆接続チェック用シンクパターンと一致した場合(S640:NO,S660:YES)、ステップS670において、接続状態検出部134は、2線ケーブルが逆接続であると判定し、同期検出処理を終了する。   When the sync pattern of the received data matches the sync pattern for reverse connection check (S640: NO, S660: YES), in step S670, the connection state detection unit 134 determines that the two-wire cable is reverse connected. Then, the synchronization detection process ends.

また、受信データのシンクパターンが、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンのどちらにも一致しなかった場合(S640:NO,S660:NO)、ステップS680において、接続状態検出部134は、シンクパターンの検知に失敗したと判定し、フローをステップS610に戻し、ユニークパターンのチェックを再び行う。   If the sync pattern of the received data does not match either the sync pattern for normal connection check or the sync pattern for reverse connection check (S640: NO, S660: NO), in step S680, the connection state detection unit 134 Determines that the sync pattern detection has failed, returns the flow to step S610, and checks the unique pattern again.

<初期登録までのシーケンス>
次に、本実施の形態に係る初期登録までのシーケンスについて図14を用いて説明する。
<Sequence until initial registration>
Next, a sequence until initial registration according to the present embodiment will be described with reference to FIG.

玄関子機100とドアホン親機200が2線ケーブルで接続され、電源がONされた場合(S701)、ドアホン親機200は、玄関子機100に対して、制御データフィールドに登録開始情報が書き込まれた割り込み信号を送信する(S702)。   When the entrance cordless handset 100 and the doorphone master set 200 are connected with a two-wire cable and the power is turned on (S701), the doorphone master set 200 writes registration start information in the control data field for the entrance cordless handset 100. The interrupt signal is transmitted (S702).

玄関子機100は、ドアホン親機200からの割り込み信号を捕捉し、割り込み信号の制御データ(登録開始情報)を確認する(S703)。なお、割り込み信号の捕捉とは、具体的には、第1周波数のクロックを用いて割り込み信号のサンプリングを行い、プリアンブル内のユニークパターンを検出してビット同期を確立し、第2周波数のクロックを用いて割り込み信号を再生して前記シンクパターンを検出することである。   The front door device 100 captures the interrupt signal from the door phone master device 200 and checks the control data (registration start information) of the interrupt signal (S703). The capture of the interrupt signal specifically means that the interrupt signal is sampled using the first frequency clock, the unique pattern in the preamble is detected, bit synchronization is established, and the second frequency clock is set. It is used to reproduce the interrupt signal and detect the sync pattern.

また、玄関子機100は、割り込み信号のシンクパターンを用いて、2線ケーブルの反転検出(正接続/逆接続の判定)を行い、2線ケーブルが逆接続である場合、送信データ反転部109および受信データ反転部112に対して反転設定を行う(S704)。   Further, the entrance unit 100 detects the inversion of the two-wire cable (judgment of normal connection / reverse connection) using the sink pattern of the interrupt signal, and when the two-wire cable is in the reverse connection, the transmission data inversion unit 109 Then, inversion setting is performed for the reception data inversion unit 112 (S704).

その後、玄関子機100は、制御データフィールドに登録開始情報の受領確認が書き込まれた割り込み信号をドアホン親機200に送信する(S705)。   Thereafter, the front door device 100 transmits an interrupt signal in which the confirmation of receipt of the registration start information is written in the control data field to the intercom base device 200 (S705).

ドアホン親機200は、玄関子機100からの割り込み信号を捕捉し、割り込み信号の制御データ(登録開始情報受領)を確認する(S706)。   The intercom master device 200 captures the interrupt signal from the entrance slave device 100 and confirms the control data (registration start information receipt) of the interrupt signal (S706).

そして、ドアホン親機200は、玄関子機100に割り当てた固有の識別子(端末ID)が制御データフィールドに書き込まれた割り込み信号を送信する(S707)。   Then, the intercom master device 200 transmits an interrupt signal in which the unique identifier (terminal ID) assigned to the front door slave device 100 is written in the control data field (S707).

玄関子機100は、割り込み信号の制御データ(端末ID)を確認し、制御データフィールドに端末IDの受領確認が書き込まれた割り込み信号をドアホン親機200に送信する(S708)。   The front door device 100 confirms the control data (terminal ID) of the interrupt signal, and transmits the interrupt signal in which the receipt confirmation of the terminal ID is written in the control data field to the doorphone master device 200 (S708).

以上の処理により、初期登録が完了する(S709)。   Through the above processing, the initial registration is completed (S709).

<待機状態から通信状態までのシーケンス>
次に、本実施の形態に係る待機状態(非同期通信時)から通信状態までのシーケンスについて図15を用いて説明する。なお、図15では、玄関子機100−1、100−2および増設モニタ300がドアホン親機200と接続している場合のシーケンスを示す。
<Sequence from standby state to communication state>
Next, a sequence from the standby state (during asynchronous communication) to the communication state according to the present embodiment will be described with reference to FIG. FIG. 15 shows a sequence in the case where the front cordless handsets 100-1 and 100-2 and the extension monitor 300 are connected to the doorphone master phone 200.

各機器とドアホン親機200との間でデータが送受されない待機状態(非同期通信時)において(S801)、玄関子機100−2の呼出ボタンが操作された場合(S802)、玄関子機100−2は、制御データフィールドに同期要求が書き込まれた割り込み信号をドアホン親機200に送信することにより同期要求を行う(S803)。   In a standby state (at the time of asynchronous communication) in which data is not transmitted / received between each device and the door phone master unit 200 (S801), when the call button of the entrance slave unit 100-2 is operated (S802), the entrance slave unit 100- 2 performs a synchronization request by transmitting an interrupt signal in which the synchronization request is written in the control data field to the intercom base unit 200 (S803).

ドアホン親機200は、割り込み信号を捕捉し(S804)、割り込み信号に含まれる同期要求を確認する。なお、割り込み信号の捕捉とは、具体的には、第1周波数のクロックを用いて割り込み信号のサンプリングを行い、プリアンブル内のユニークパターンを検出してビット同期を確立し、第2周波数のクロックを用いて割り込み信号を再生して前記シンクパターンを検出することである。   The intercom master device 200 captures the interrupt signal (S804) and confirms the synchronization request included in the interrupt signal. The capture of the interrupt signal specifically means that the interrupt signal is sampled using the first frequency clock, the unique pattern in the preamble is detected, bit synchronization is established, and the second frequency clock is set. It is used to reproduce the interrupt signal and detect the sync pattern.

ドアホン親機200は、玄関子機100−2からの同期要求を確認すると、各機器と同期通信するためのフレームタイミングを決定し(S805)、各機器に同期スロット信号を送信する(S806)。   Upon confirming the synchronization request from the entrance slave device 100-2, the intercom master device 200 determines the frame timing for synchronous communication with each device (S805), and transmits a synchronization slot signal to each device (S806).

各機器は、同期スロット信号に従って、ドアホン親機200と同期を取る(S807)。これにより、各機器とドアホン親機200との間は、同期状態となる(S808)。   Each device synchronizes with the doorphone master device 200 in accordance with the synchronization slot signal (S807). As a result, the respective devices and the intercom master device 200 are in a synchronized state (S808).

その後、玄関子機100−2は、制御データフィールドに画像接続要求が書き込まれた上りパケットを親機200に送信することにより画像接続要求を行う(S809)。ドアホン親機200は、画像接続要求を確認すると、制御データフィールドに画像接続確認が書き込まれた下りパケットを玄関子機100−2に送信することにより画像接続確認を行う(S810)。以降、玄関子機100−2が上りパケットによりドアホン親機200に画像データを送信し、ドアホン親機200が当該画像データを表示する画像データ通信状態となる(S811)。なお、玄関子機100−2から送信された画像データは、ドアホン親機200から他の機器(玄関子機100−1、増設モニタ300)に同報送信され、増設モニタ300においても、画像データが表示可能になる。   Thereafter, the front door device 100-2 makes an image connection request by transmitting an upstream packet in which the image connection request is written in the control data field to the parent device 200 (S809). When confirming the image connection request, the door phone main unit 200 confirms the image connection by transmitting the downlink packet in which the image connection confirmation is written in the control data field to the front door device 100-2 (S810). Thereafter, the entrance handset 100-2 transmits image data to the doorphone master 200 by an uplink packet, and the doorphone master 200 enters an image data communication state in which the image data is displayed (S811). Note that the image data transmitted from the front door slave 100-2 is broadcast from the doorphone master 200 to other devices (the front door slave 100-1, the extension monitor 300). Can be displayed.

<各装置の動作>
次に、各装置の動作について説明する。
<Operation of each device>
Next, the operation of each device will be described.

<玄関子機の動作>
図16は、玄関子機100の動作の一例を示すフローチャートである。
<Operation of entrance cordless handset>
FIG. 16 is a flowchart showing an example of the operation of the front door device 100.

ステップS1010において、制御部107は、呼出ボタンが操作されたか否かを判定する。制御部107は、呼出ボタンが操作された場合(S1010:YES)、フローをステップS1020へ進め、操作されていない場合(S1010:NO)、フローを後述のステップS1100へ進める。   In step S1010, the control unit 107 determines whether the call button has been operated. When the call button is operated (S1010: YES), the control unit 107 advances the flow to step S1020, and when not operated (S1010: NO), advances the flow to step S1100 described later.

ステップS1020において、制御部107は、呼出信号をドアホン親機200へ送信する。   In step S <b> 1020, control unit 107 transmits a calling signal to door phone parent device 200.

ステップS1030において、制御部107は、ドアホン親機200から応答信号を受信したか否かを判定する。制御部107は、応答信号を受信していない場合(S1030:NO)、フローをステップS1020へ戻し、応答信号を受信した場合(S1030:YES)、フローをステップS1040へ進める。なお、制御部107は、呼出信号を所定回数送信しても応答信号を受信しない場合、フローを、後述のステップS1100へ進めてもよい。   In step S1030, control unit 107 determines whether a response signal has been received from intercom master device 200 or not. When the response signal is not received (S1030: NO), the control unit 107 returns the flow to step S1020, and when the response signal is received (S1030: YES), the control unit 107 advances the flow to step S1040. Note that if the control unit 107 does not receive a response signal even if the call signal is transmitted a predetermined number of times, the control unit 107 may advance the flow to step S1100 described later.

ステップS1040において、制御部107は、マイク104、音声I/F部105、およびカメラ部106を用いて、音声入力および映像撮影を開始する。また、制御部107は、パケット生成部132および送信データ処理部108を用いて、送信の対象となる各種データ(制御データ/デジタル音声データ/デジタル映像データ)のパケット化および符号化を開始する。なお、制御部107は、デジタル音声データおよびデジタル映像データの送信レート制御を行ってもよい。   In step S <b> 1040, the control unit 107 starts audio input and video shooting using the microphone 104, the audio I / F unit 105, and the camera unit 106. In addition, the control unit 107 uses the packet generation unit 132 and the transmission data processing unit 108 to start packetizing and encoding various data (control data / digital audio data / digital video data) to be transmitted. Note that the control unit 107 may perform transmission rate control of digital audio data and digital video data.

ステップS1050において、制御部107は、子機側送信区間であるか否かを判定する。制御部107は、送信区間である場合(S1050:YES)、フローをステップS1060へ進め、送信区間ではない場合(S1050:NO)、フローを後述のステップS1070へ進める。   In step S1050, control unit 107 determines whether or not it is a slave unit side transmission section. If it is a transmission interval (S1050: YES), the control unit 107 advances the flow to step S1060. If not (S1050: NO), the control unit 107 advances the flow to step S1070 described later.

ステップS1060において、制御部107は、送信ドライバ110を用いて、符号化により生成された上り信号を、2線ケーブルを介してドアホン親機200へ送信する。なお、制御部107は、送信区間が終了したとき、上り信号の送信を停止する。   In step S <b> 1060, control unit 107 uses transmission driver 110 to transmit the upstream signal generated by encoding to door phone parent device 200 via a two-wire cable. In addition, the control part 107 stops transmission of an uplink signal when a transmission area is complete | finished.

ステップS1070において、制御部107は、親機側送信区間であるか否かを判定する。制御部107は、送信区間である場合(S1070:YES)、フローをステップS1080へ進め、送信区間ではない場合(S1070:NO)、フローを後述のステップS1090へ進める。   In step S1070, control unit 107 determines whether or not it is a parent device side transmission section. When it is a transmission section (S1070: YES), the control unit 107 advances the flow to step S1080. When it is not a transmission section (S1070: NO), the control section 107 advances the flow to step S1090 described later.

ステップS1080において、制御部107は、下り信号の受信、各種データ(制御データ/音声データ)の抽出、および音声の出力を開始する。なお、制御部107は、送信区間が終了したとき、下り信号の受信あるいは各種データの抽出を停止する。   In step S1080, the control unit 107 starts receiving a downlink signal, extracting various data (control data / audio data), and outputting audio. Note that the control unit 107 stops receiving a downlink signal or extracting various data when the transmission period ends.

ステップS1090において、制御部107は、玄関子機100とドアホン親機200との間の通話が終了したか否かを判定する。例えば、制御部107は、ドアホン親機200で通話終了の操作が行われたことを示す信号をドアホン親機200から受信したとき、通話が終了したと判定する。制御部107は、通話が終了していない場合(S1090:NO)、フローをステップS1050へ戻し、通話が終了した場合(S1090:YES)、フローをステップS1100へ進める。   In step S <b> 1090, control unit 107 determines whether or not the call between entrance slave device 100 and doorphone master device 200 has ended. For example, the control unit 107 determines that the call has ended when it receives a signal indicating that a call end operation has been performed on the doorphone base unit 200 from the doorphone base unit 200. If the call has not ended (S1090: NO), control unit 107 returns the flow to step S1050. If the call has ended (S1090: YES), control proceeds to step S1100.

ステップS1100において、制御部107は、ドアホン機能に関する処理の終了を指示されたかを判定する。例えば、制御部107は、ドアホン親機200でドアホン機能の停止の操作が行われたことを示す信号をドアホン親機200から受信したとき、上記処理の終了を指示されたと判定する。制御部107は、上記処理の終了を指示されていない場合(S1100:NO)、フローをステップS1010へ戻し、上記処理の終了を指示された場合(S1100:YES)、一連の処理を終了する。   In step S1100, control unit 107 determines whether or not an instruction to end processing related to the door phone function has been given. For example, when the control unit 107 receives a signal indicating that the operation of stopping the door phone function has been performed on the doorphone master unit 200 from the doorphone master unit 200, the control unit 107 determines that the end of the process has been instructed. If the end of the process is not instructed (S1100: NO), the control unit 107 returns the flow to step S1010, and if instructed to end the process (S1100: YES), ends the series of processes.

<ドアホン親機の動作>
図17は、ドアホン親機200の動作の一例を示すフローチャートである。
<Operation of doorphone master unit>
FIG. 17 is a flowchart showing an example of the operation of the doorphone parent device 200.

ステップS2010において、制御部207は、玄関子機100から呼出信号を受信したか否かを判定する。制御部207は、呼出信号を受信した場合(S2010:YES)、フローをステップS2020へ進め、呼出信号を受信していない場合(S2010:NO)、フローを後述のステップS2090へ進める。   In step S2010, the control unit 207 determines whether a call signal has been received from the front door device 100. When the call signal is received (S2010: YES), the control unit 207 advances the flow to step S2020. When the call signal is not received (S2010: NO), the control unit 207 advances the flow to step S2090 described later.

ステップS2020において、制御部207は、応答信号を玄関子機100へ送信するとともに、音声I/F部205およびスピーカ203を用いて、呼出音を出力する。   In step S2020, the control unit 207 transmits a response signal to the front door device 100 and outputs a ringing tone using the voice I / F unit 205 and the speaker 203.

ステップS2030において、制御部207は、マイク204および音声I/F部205を用いて、音声入力を開始する。また、制御部207は、パケット生成部232および送信データ処理部208を用いて、送信の対象となる各種データ(制御データ/デジタル音声データ)のパケット化および符号化を開始する。なお、制御部207は、デジタル音声データの送信レート制御を行ってもよい。   In step S2030, the control unit 207 starts voice input using the microphone 204 and the voice I / F unit 205. In addition, the control unit 207 uses the packet generation unit 232 and the transmission data processing unit 208 to start packetizing and encoding various data (control data / digital audio data) to be transmitted. Note that the control unit 207 may perform digital audio data transmission rate control.

ステップS2040において、制御部207は、子機側送信区間であるか否かを判定する。制御部207は、送信区間である場合(S2040:YES)、フローをステップS2050へ進め、送信区間ではない場合(S2040:NO)、フローを後述のステップS2060へ進める。   In step S2040, control unit 207 determines whether or not it is a slave unit side transmission section. The control unit 207 advances the flow to step S2050 if it is a transmission interval (S2040: YES), and advances the flow to step S2060 described later if it is not a transmission interval (S2040: NO).

ステップS2050において、制御部207は、上り信号の受信および各種データ(制御データ/音声データ/映像データ)の抽出を開始する。また、制御部207は、音声I/F部205、スピーカ203および液晶ディスプレイを用いて、音声および映像の出力を開始する。なお、制御部207は、送信区間が終了したとき、上り信号の受信あるいは各種データの抽出を停止する。   In step S2050, the control unit 207 starts receiving an upstream signal and extracting various data (control data / audio data / video data). In addition, the control unit 207 uses the audio I / F unit 205, the speaker 203, and the liquid crystal display to start outputting audio and video. Note that the control unit 207 stops receiving the uplink signal or extracting various data when the transmission period ends.

ステップS2060において、制御部207は、親機側送信区間であるか否かを判定する。制御部207は、送信区間である場合(S2060:YES)、フローをステップS2070へ進め、送信区間ではない場合(S2060:NO)、フローを後述のステップS2080へ進める。   In step S2060, the control unit 207 determines whether or not it is a parent device side transmission section. When it is a transmission section (S2060: YES), the control unit 207 advances the flow to step S2070. When it is not a transmission section (S2060: NO), the control section 207 advances the flow to step S2080 described later.

ステップS2070において、制御部207は、送信ドライバ210を用いて、符号化により生成された下り信号を、2線ケーブルを介して玄関子機100へ送信する。但し、制御部207は、上述の通り、応答ボタンが操作されるまでは、デジタル音声データの送信を行わないことが望ましい。なお、制御部207は、送信区間が終了したとき、下り信号の送信を停止する。   In step S2070, the control unit 207 uses the transmission driver 210 to transmit the downlink signal generated by encoding to the front door device 100 via the two-wire cable. However, it is desirable that the control unit 207 does not transmit digital audio data until the response button is operated as described above. Note that the control unit 207 stops the transmission of the downlink signal when the transmission period ends.

ステップS2080において、制御部207は、玄関子機100とドアホン親機200との間の通話が終了したか否かを判定する。例えば、制御部207は、ドアホン親機200で通話終了の操作が行われたこと検知したとき、通話が終了したと判定する。なお、制御部207は、かかる通話終了の操作が行われたとき、その旨を示す信号を玄関子機100に送信することが望ましい。制御部207は、通話が終了していない場合(S2080:NO)、フローをステップS2040へ戻し、通話が終了した場合(S2080:YES)、フローをステップS2090へ進める。   In step S2080, control unit 207 determines whether or not the telephone conversation between entrance slave device 100 and doorphone master device 200 has ended. For example, the control unit 207 determines that the call is ended when it is detected that an operation for ending the call is performed on the intercom base unit 200. In addition, it is desirable that the control unit 207 transmits a signal indicating that to the entrance terminal 100 when an operation for terminating the call is performed. If the call has not ended (S2080: NO), control returns to step S2040. If the call has ended (S2080: YES), control proceeds to step S2090.

ステップS2090において、制御部207は、ドアホン機能に関する処理の終了を指示されたかを判定する。例えば、制御部207は、ドアホン親機200でドアホン機能の停止の操作が行われたことを検知したとき、上記処理の終了を指示されたと判定する。なお、制御部207は、かかるドアホン機能の停止の操作が行われたとき、その旨を示す信号を玄関子機100に送信することが望ましい。制御部207は、上記処理の終了を指示されていない場合(S2090:NO)、フローをステップS2010へ戻し、上記処理の終了を指示された場合(S2090:YES)、一連の処理を終了する。   In step S2090, control unit 207 determines whether an instruction to end the process related to the door phone function has been given. For example, when the control unit 207 detects that the doorphone function stop operation has been performed on the doorphone master unit 200, the control unit 207 determines that the end of the process has been instructed. In addition, when the operation of stopping the door phone function is performed, the control unit 207 desirably transmits a signal indicating that to the front door device 100. If the control unit 207 is not instructed to end the process (S2090: NO), the control unit 207 returns the flow to step S2010, and if instructed to end the process (S2090: YES), ends the series of processes.

<通常動作時のルーティング制御>
次に、本実施の形態に係るドアホン親機200の通常動作時のルーティング制御の具体例について、図18、図19を用いて説明する。図18の例では、ドアホン親機200(制御部207(図18では「親機制御部」と記載))が、いずれかのDRV(送信ドライバ(Tx)と受信ドライバ(Rx)のセット)1〜5を介して5個の機器(玄関子機100、増設モニタ300、他のドアホンシステムの親機)と接続している場合を示している。この場合、7種類の設定パターン(P1〜P7)が用意される。図19は、ルーティング制御部212の内部構成を示す図である。図19に示すように、ルーティング制御部212は、内部に、切替スイッチ2121およびOR回路2122を有する。
<Routing control during normal operation>
Next, a specific example of the routing control during the normal operation of door phone parent device 200 according to the present embodiment will be described with reference to FIGS. In the example of FIG. 18, the intercom base unit 200 (control unit 207 (described as “base unit control unit” in FIG. 18)) is one of the DRVs (set of transmission driver (Tx) and reception driver (Rx)) 1 ˜5, a case where five devices (the entrance slave device 100, the extension monitor 300, and the parent device of another door phone system) are connected is shown. In this case, seven types of setting patterns (P1 to P7) are prepared. FIG. 19 is a diagram illustrating an internal configuration of the routing control unit 212. As illustrated in FIG. 19, the routing control unit 212 includes a changeover switch 2121 and an OR circuit 2122 inside.

設定パターンP1は、ドアホン親機200がいずれの機器ともデータの送受を行っていない待機状態におけるルーティング(通信ルートの有効/無効)を示す。設定パターンP1では、ドアホン親機200は、受信モード(送信を行わず、受信のみを行うモード)となり、制御部207は、図18に示すように受信モードであるため、SPI-RWの制御により、切替スイッチ2121の端子T3をT2に接続し、各機器からのデータ受信が可能となるように各DRVの受信ドライバ(Rx)を有効にし、各接続機器からの割り込みを待っている状態となる。なお、設定パターンP1で、各接続機器からの割り込みを待っている状態において、すべてのDRVの受信ドライバ(Rx)の出力は「L」とする。   The setting pattern P1 indicates routing (valid / invalid of communication route) in a standby state in which the intercom base unit 200 is not transmitting / receiving data to / from any device. In the setting pattern P1, the intercom base unit 200 is in a reception mode (a mode in which only reception is performed without transmission), and the control unit 207 is in the reception mode as shown in FIG. The terminal T3 of the changeover switch 2121 is connected to T2, the reception driver (Rx) of each DRV is enabled so that data reception from each device is possible, and an interrupt from each connected device is awaited. . In the setting pattern P1, in the state of waiting for an interrupt from each connected device, the outputs of all DRV reception drivers (Rx) are set to “L”.

待機状態において、いずれかの機器から非同期の割り込み信号を受信した場合、ドアホン親機200は、当該割り込み信号を送信した機器との間で同期を確立する。例えば、ドアホン親機200は、DRV1から割り込み信号を受信した場合、DRV1と接続する機器と同期を確立し、データの送受を行う(P2(送信時)またはP3(受信時)に移行する)。   When an asynchronous interrupt signal is received from any device in the standby state, door phone parent device 200 establishes synchronization with the device that transmitted the interrupt signal. For example, when receiving an interrupt signal from DRV1, door phone parent device 200 establishes synchronization with a device connected to DRV1, and transmits and receives data (shifts to P2 (during transmission) or P3 (during reception)).

設定パターンP2は、ドアホン親機200が全ての機器に対してデータを送信する一斉送信時(Broadcast)におけるルーティングを示す。設定パターンP2では、ドアホン親機200は、送信モード(受信を行わず、送信のみを行うモード)となり、制御部207は、切替スイッチ2121の端子T3を端子T1と接続させ、各機器へのデータ送信が可能となるように各DRVの送信ドライバ(Tx)を有効にする。このとき、いずれかの機器からドアホン親機200にデータが送信されても、各DRVにおいて受信できず、親機200において当該データは破棄される。なお、設定パターンP2では、ドアホン親機200が、接続中のすべての機器に対してデータ送信を行うが、下りパケットの制御データフィールドには通信相手の機器の識別子のみが記載されているため、他の機器は、データを受信しても破棄する。なお、設定パターンP2で、すべてのDRVの受信ドライバ(Rx)の出力は「L」とする。   The setting pattern P2 indicates routing at the time of simultaneous transmission (Broadcast) in which the doorphone parent device 200 transmits data to all devices. In the setting pattern P2, the door phone base unit 200 is in a transmission mode (a mode in which only transmission is performed without reception), and the control unit 207 connects the terminal T3 of the changeover switch 2121 to the terminal T1, and transmits data to each device. The transmission driver (Tx) of each DRV is enabled so that transmission is possible. At this time, even if data is transmitted from any device to the intercom base unit 200, it cannot be received by each DRV, and the base unit 200 discards the data. In the setting pattern P2, the intercom base unit 200 transmits data to all connected devices, but only the identifier of the communication partner device is described in the control data field of the downstream packet. Other devices discard data even if they are received. In the setting pattern P2, the outputs of all DRV reception drivers (Rx) are set to “L”.

設定パターンP3からP7は、ドアホン親機200がいずれか1つの機器からデータを受信する個別受信時におけるルーティングを示す。設定パターンP3からP7では、ドアホン親機200は受信モードとなり、制御部207は、切替スイッチ2121の端子T3を端子T2と接続させ、各設定パターンに対応する1つのDRVの受信ドライバ(Rx)を有効にし、他のDRVの送信ドライバ(Tx)を有効にする。これにより、ドアホン親機200は、受信ドライバ(Rx)が選択されたDRVから受信したデータを、ルーティング制御部212において、制御部207(CPU)に出力すると同時に、当該データをそのまま、送信ドライバ(Tx)が選択されたすべてのDRVに接続されている他の機器に同報送信することができる。したがって、同報送信する際に、受信データをデコードして解析する必要がない。なお、送信ドライバ(Tx)が選択されているすべてのDRVの受信ドライバ(Rx)の出力は「L」とする。   Setting patterns P3 to P7 indicate routing at the time of individual reception in which the intercom master device 200 receives data from any one device. In the setting patterns P3 to P7, the intercom base unit 200 is in the reception mode, and the control unit 207 connects the terminal T3 of the changeover switch 2121 to the terminal T2, and sets one DRV reception driver (Rx) corresponding to each setting pattern. Enable the other DRV transmission driver (Tx). Thereby, the intercom base unit 200 outputs the data received from the DRV for which the reception driver (Rx) is selected to the control unit 207 (CPU) in the routing control unit 212, and at the same time, transmits the data as it is to the transmission driver ( Tx) can be broadcast to other devices connected to all selected DRVs. Therefore, it is not necessary to decode and analyze the received data when performing broadcast transmission. Note that the outputs of the reception drivers (Rx) of all DRVs for which the transmission driver (Tx) is selected are “L”.

例えば、ドアホン親機200が、玄関子機100のデータをDRV2から受信する場合、制御部207は、DRV2の受信ドライバ(Rx)を有効とし、他のDRVの送信ドライバ(Tx)を有効にする。この場合、玄関子機100からのデータは、DRV2から受信され、ルーティング制御部212のOR回路2122を通り、デコード用として制御部207へ出力される。さらに、OR回路2122を通ったデータは、切替スイッチ2121を経由して、DRV1、3、4、5に送信され、各接続機器に同報送信される。その際、DRV2は、受信ドライバ(Rx)のみが有効であり、送信ドライバ(Tx)が無効であるため、OR回路2122を通ったデータは、DRV2からは同報送信されない。また、この時、他の機器からドアホン親機200にデータが送信されても、DRV1、3、4、5において受信できず、親機200において当該データは破棄される。   For example, when the intercom 200 receives data from the DRV 2 from the DRV 2, the control unit 207 enables the DRV 2 reception driver (Rx) and enables other DRV transmission drivers (Tx). . In this case, the data from the entrance slave unit 100 is received from the DRV 2, passes through the OR circuit 2122 of the routing control unit 212, and is output to the control unit 207 for decoding. Further, the data that has passed through the OR circuit 2122 is transmitted to the DRVs 1, 3, 4, and 5 via the changeover switch 2121 and is broadcast to each connected device. At that time, only the reception driver (Rx) is valid for DRV2, and the transmission driver (Tx) is invalid. Therefore, the data passing through the OR circuit 2122 is not broadcast from DRV2. At this time, even if data is transmitted from another device to the intercom base unit 200, it cannot be received by the DRVs 1, 3, 4, 5 and the base unit 200 discards the data.

<初期登録時のルーティング制御>
次に、本実施の形態に係るドアホン親機200の初期登録時のルーティング制御の具体例について、図19、図20を用いて説明する。図20の例では、ドアホン親機200(制御部207(図20では「親機制御部」と記載))が、いずれかのDRV1〜5を介して5個の機器と接続している場合を示している。この場合、5種類の設定パターン(EP1〜EP5)が用意される。
<Routing control during initial registration>
Next, a specific example of the routing control at the time of initial registration of the doorphone parent device 200 according to the present embodiment will be described with reference to FIGS. 19 and 20. In the example of FIG. 20, a case where the doorphone master unit 200 (the control unit 207 (described as “master unit control unit” in FIG. 20)) is connected to five devices via any one of the DRVs 1 to 5. Show. In this case, five types of setting patterns (EP1 to EP5) are prepared.

設定パターンEP1からEP5は、ドアホン親機200がいずれか1つの機器を登録する初期登録時におけるルーティングを示す。設定パターンEP1からEP5では、ドアホン親機200は送信モードとなり、制御部207は、切替スイッチ2121の端子T3を端子T1と接続させ、登録対象の機器に対応するDRVの送信ドライバ(Tx)を有効にし、他のDRVの受信ドライバ(Rx)を有効にする。これにより、ドアホン親機200は、パケットを送信する区間において、登録対象以外の機器に対してパケットの送信を行わず、登録対象の機器のみにパケットの送信を行うことができる。なお、このとき、他のDRVの受信ドライバ(Rx)が有効になるが、ドアホン親機200が送信の場合は、全ての機器からのパケットの受信を遮断する論理とし、それらのDRVからのパケットの受信を受け付けない(SPI-RWで制御部207は送信を選択する)。なお、各登録対象の機器からドアホン親機200へのパケットの送信は、図18のP3からP7の設定を使用する。この場合、他接続機器への同報送信の機能が働くが、ドアホン親機200のみへの送信であるため、他接続機器はこれを無視する。これにより、ドアホン親機200が、各玄関子機100等の登録対象機器と1対1に通信することができる。なお、送信ドライバ(Tx)が選択されているすべてのDRVの受信ドライバ(Rx)の出力は「L」とする。また、DRVの受信ドライバ(Rx)が選択され、各接続機器からの割り込みを待っている状態においては、受信ドライバ(Rx)の出力は「L」とする。   The setting patterns EP1 to EP5 indicate routing at the time of initial registration in which any one device is registered by the doorphone parent device 200. In the setting patterns EP1 to EP5, the intercom base unit 200 is in the transmission mode, and the control unit 207 connects the terminal T3 of the changeover switch 2121 to the terminal T1, and enables the DRV transmission driver (Tx) corresponding to the registration target device. And enable other DRV reception drivers (Rx). Thereby, intercom master 200 can transmit a packet only to a registration target device without transmitting a packet to a device other than a registration target in a section in which the packet is transmitted. At this time, other DRV reception drivers (Rx) are enabled. However, when the doorphone parent device 200 is transmitting, the logic is to block reception of packets from all devices, and packets from those DRVs are used. (The control unit 207 selects transmission by SPI-RW). Note that the settings from P3 to P7 in FIG. 18 are used for transmission of packets from each registration target device to the intercom master device 200. In this case, the broadcast transmission function to other connected devices works, but since the transmission is only to the doorphone parent device 200, the other connected devices ignore this. Thereby, door phone main unit 200 can communicate one-to-one with a registration target device such as each front unit 100. Note that the outputs of the reception drivers (Rx) of all DRVs for which the transmission driver (Tx) is selected are “L”. When the DRV reception driver (Rx) is selected and waiting for an interrupt from each connected device, the output of the reception driver (Rx) is “L”.

<本実施の形態の効果>
以上のように、本実施の形態では、隣接する立下りエッジ間、あるいは、隣接する立上りエッジ間のサンプリングクロック数がユニークとなるユニークパターンを検出する。これにより、受信波形のデューティ比にずれが生じていても同期を維持することができる。
<Effects of the present embodiment>
As described above, in this embodiment, a unique pattern in which the number of sampling clocks between adjacent falling edges or between adjacent rising edges is unique is detected. As a result, synchronization can be maintained even if a deviation occurs in the duty ratio of the received waveform.

<同期検出処理のバリエーション>
本実施の形態では、プリアンブルデータの先頭からの繰り返しパターンを利用して、ユニークパターンの検出精度をさらに向上させることができる。以下、このバリエーションについて図21を用いて説明する。なお、以下の説明において、プリアンブルデータおよびそのユニークパターンは、図8に示したものであるとする。すなわち、プリアンブルデータは、1byte目から3byte目までがすべて「1」のパターンであり、4byte目が、最初から6bitまでが「1」、7bitが「0」、8bit(最後の1bit)が「1」のパターンである。
<Variation of synchronization detection processing>
In the present embodiment, it is possible to further improve the detection accuracy of the unique pattern by using the repeated pattern from the beginning of the preamble data. Hereinafter, this variation will be described with reference to FIG. In the following description, it is assumed that the preamble data and its unique pattern are those shown in FIG. In other words, the preamble data has a pattern of “1” from the 1st byte to the 3rd byte, the 4th byte is “1” from the first 6 bits, the 7th bit is “0”, and the 8th bit (last 1 bit) is “1”. ] Pattern.

なお、図21に示す同期検出部113aにおいて、図9に示した同期検出部113と共通する構成部分には、図9と同一符号を付してその説明を省略する。図21に示す同期検出部113aは、図9に示した同期検出部113と比較して、繰り返しパターン数検出部154を追加した構成を採る。   In the synchronization detection unit 113a shown in FIG. 21, the same components as those in the synchronization detection unit 113 shown in FIG. The synchronization detection unit 113a illustrated in FIG. 21 employs a configuration in which a repeated pattern number detection unit 154 is added as compared with the synchronization detection unit 113 illustrated in FIG.

繰り返しパターン数検出部154は、ユニークパターン以外の隣接する立下りエッジ間(あるいは、隣接する立上りエッジ間)検出用のクロックの第2規定数(例えば、「8」から「12」)、および、繰り返しパターン検出用の第3規定数(例えば、「16」)を記憶している。繰り返しパターン数検出部154は、第1のカウンタにより、プリアンブル波形の隣接する立下りエッジ間(あるいは、隣接する立上りエッジ間)のクロックを計数し、当該クロック数が第2規定数のいずれかに一致した場合に、第2のカウンタをカウントアップさせる。そして、繰り返しパターン数検出部154は、第2のカウンタのカウント値が第3規定数に達した場合に、第1のユニークパターン検出部151および第2のユニークパターン検出部152に対して動作開始を指示するトリガ信号を出力する。   The repetitive pattern number detection unit 154 includes a second prescribed number (for example, “8” to “12”) of clocks for detecting between adjacent falling edges other than the unique pattern (or between adjacent rising edges), and A third specified number (for example, “16”) for repetitive pattern detection is stored. The repetitive pattern number detection unit 154 uses the first counter to count clocks between adjacent falling edges of the preamble waveform (or between adjacent rising edges), and the number of clocks is set to one of the second specified numbers. If they match, the second counter is counted up. Then, when the count value of the second counter reaches the third specified number, the repeated pattern number detection unit 154 starts to operate with respect to the first unique pattern detection unit 151 and the second unique pattern detection unit 152. A trigger signal is output to indicate

第1のユニークパターン検出部151および第2のユニークパターン検出部152は、繰り返しパターン数検出部154からトリガ信号を入力してから動作を開始する。   The first unique pattern detection unit 151 and the second unique pattern detection unit 152 start to operate after inputting a trigger signal from the repeated pattern number detection unit 154.

<同期検出処理のバリエーションのフロー>
次に、同期検出処理のバリエーションのフローについて図22を用いて説明する。なお、図22に示すフローにおいて、図13に示したフローと共通するステップには、図13と同一符号を付してその説明を省略する。図22に示すフローは、図13に示したフローのステップS610の前に、ステップS601、S602を追加した構成を採る。
<Flow of synchronization detection processing variation>
Next, a flow of variations of the synchronization detection process will be described with reference to FIG. In the flow shown in FIG. 22, the steps common to the flow shown in FIG. 13 are denoted by the same reference numerals as those in FIG. The flow shown in FIG. 22 adopts a configuration in which steps S601 and S602 are added before step S610 of the flow shown in FIG.

ステップS601において、同期検出部113aは、繰り返しパターン数検出部154により、第1クロック生成部131のクロックで、受信ドライバ111から出力された復調前の下り信号に含まれるプリアンブルデータをサンプリングし、隣接する立下りエッジ間(あるいは、隣接する立上りエッジ間)のクロック数が第2規定数のいずれかに一致した場合をカウントする。   In step S601, the synchronization detection unit 113a samples the preamble data included in the downlink signal before demodulation output from the reception driver 111 with the clock of the first clock generation unit 131 by the repetition pattern number detection unit 154, Counting is performed when the number of clocks between falling edges (or between adjacent rising edges) matches one of the second specified numbers.

カウント値が第3規定数に達するまでステップS601が繰り返される(S602:NO)。カウント値が第3規定数に達した場合(S602:YES)、ユニークパターン検出を開始するため、フローをステップS610へ進める。   Step S601 is repeated until the count value reaches the third specified number (S602: NO). When the count value reaches the third specified number (S602: YES), the flow proceeds to step S610 in order to start the unique pattern detection.

以上のように、本バリエーションでは、プリアンブルの繰り返しパターンが第3規定数に達したことを条件としてユニークパターン検出を開始する。これにより、初期状態での通信ラインのDCバイアスの変動、微分特性による通信ラインの極性変化、ソフトの状態変化による通信待ち状態での通信波形の変化、突発的なノイズによる通信波形の乱れ等で擬似のユニークパターンが偶発的に発生した場合であっても誤同期を防止することができ、非常に精度が高いビット同期を実現できる。   As described above, in this variation, unique pattern detection is started on the condition that the number of preamble repetition patterns has reached the third specified number. As a result, the communication line DC bias fluctuation in the initial state, the communication line polarity change due to the differential characteristics, the communication waveform change in the communication waiting state due to the software state change, the communication waveform disturbance due to sudden noise, etc. Even when a pseudo-unique pattern is accidentally generated, erroneous synchronization can be prevented, and highly accurate bit synchronization can be realized.

なお、上記のバリエーションの説明では、同期検出部113aに繰り返しパターン数検出部154を追加する場合について説明したが、本発明はこれに限られず、第1のユニークパターン検出部151あるいは第2のユニークパターン検出部152において、上記に説明した繰り返しパターン数検出部154の機能を実現することができる。   In the above description of the variation, the case where the repeated pattern number detection unit 154 is added to the synchronization detection unit 113a has been described. However, the present invention is not limited to this, and the first unique pattern detection unit 151 or the second unique pattern detection unit 113a is added. In the pattern detection unit 152, the function of the repeated pattern number detection unit 154 described above can be realized.

なお、上記の説明では、玄関子機100からの画像データを、親機200、増設モニタ300、他のドアホンシステムの親機等、複数の機器に同報送信し、各機器において画像を同時に表示させる場合について説明したが、本発明はこれに限られず、例えば、緊急メッセージを、玄関子機100の呼出ボタンの長押し等の処理によって発生させ、この緊急メッセージを複数の機器に同報送信し、各機器からアラームを出力させるようにしても良い。なお、本実施の形態では、ドアホン親機200と玄関子機100などの接続機器同士の接続を一例として説明したが、本発明はこれに限られない。例えば、その他の応用機器として、ビジネスホン(内線電話機と制御装置間)、ホームセキュリティ装置(各種センサーノードと制御装置間)等の制御装置(通信装置)などであっても、同様の効果が得られる。   In the above description, the image data from the entrance slave device 100 is broadcast to a plurality of devices such as the master device 200, the extension monitor 300, and the master device of another door phone system, and the images are simultaneously displayed on each device. However, the present invention is not limited to this. For example, an emergency message is generated by a process such as long-pressing a call button of the front door 100, and the emergency message is broadcast to a plurality of devices. An alarm may be output from each device. In the present embodiment, the connection between connected devices such as the door phone master device 200 and the entrance slave device 100 is described as an example, but the present invention is not limited to this. For example, the same effect can be obtained even if the other application device is a control device (communication device) such as a business phone (between an extension telephone and a control device) or a home security device (between various sensor nodes and a control device). .

本開示は、カメラ付きの玄関子機とドアホン親機とからなるドアホンシステムに用いるに好適である。   The present disclosure is suitable for use in a door phone system including an entrance child device with a camera and a door phone parent device.

1 ドアホンシステム
100 玄関子機
101、201、301 ケーブル接続部
102、202、302 キー入力部
103、203、303 スピーカ
104、204、304 マイク
105、205、305 音声I/F部
106 カメラ部
107、207、307 制御部
108、208、308 送信データ処理部
109、209、309 送信データ反転部
110、210、310 送信ドライバ
111、211、311 受信ドライバ
112、312 受信データ反転部
113、113a、213、313 同期検出部
114、214、314 第2クロック生成部
115、215、315 識別子記憶部
131、231、331 第1クロック生成部
132、232、332 パケット生成部
133、233、333 データ再生部
134、234、334 接続状態検出部
151 第1のユニークパターン検出部
152 第2のユニークパターン検出部
153 イネーブル信号生成部
154 繰り返しパターン数検出部
200 ドアホン親機
206、306 ディスプレイ部
212 ルーティング制御部
235 識別子設定部
300 増設モニタ
DESCRIPTION OF SYMBOLS 1 Door phone system 100 Entrance unit 101, 201, 301 Cable connection part 102, 202, 302 Key input part 103, 203, 303 Speaker 104, 204, 304 Microphone 105, 205, 305 Audio | voice I / F part 106 Camera part 107, 207, 307 Control unit 108, 208, 308 Transmission data processing unit 109, 209, 309 Transmission data inversion unit 110, 210, 310 Transmission driver 111, 211, 311 Reception driver 112, 312 Reception data inversion unit 113, 113a, 213, 313 Synchronization detection unit 114, 214, 314 Second clock generation unit 115, 215, 315 Identifier storage unit 131, 231, 331 First clock generation unit 132, 232, 332 Packet generation unit 133, 233, 333 Data reproduction unit 134 234, 334 Connection state detection unit 151 First unique pattern detection unit 152 Second unique pattern detection unit 153 Enable signal generation unit 154 Repeat pattern number detection unit 200 Doorphone master unit 206, 306 Display unit 212 Routing control unit 235 Identifier Setting section 300 Additional monitor

本開示の通信方法は、親機と子機とが2線ケーブルを介して接続され、前記親機と前記子機との間で時分割複信によりパケット信号を送受信するドアホンシステムの通信方法であって、送信側装置が、所定の位置にプリアンブルが配置されたデータを送信し、第1の検出部及び第2の検出部を備える受信側装置が、前記送信側装置から送信されたデータを受信し、前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを用いて前記受信データのサンプリングを行い、前記第1の検出部において、隣接する立下りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行い、前記第2の検出部において、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行い前記第1の検出部及び前記第2の検出部のどちらか一方の前記ユニークパターンの検出に基づいてビット同期を確立し、前記ビット同期が確立された後、前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを用いて前記受信データを再生する。 The communication method of the present disclosure is a communication method of a door phone system in which a parent device and a child device are connected via a two-wire cable, and packet signals are transmitted and received between the parent device and the child device by time division duplex. Then, the transmission side device transmits data in which the preamble is arranged at a predetermined position, and the reception side device including the first detection unit and the second detection unit receives the data transmitted from the transmission side device. The received data is sampled using a clock having a first frequency corresponding to n times (n is 1 or more) the bit rate of the received data , and an adjacent falling edge is detected in the first detector. based on the number of clocks between performs detection of a unique pattern in the preamble, the in the second detection unit, unique in the based on the number of clocks between adjacent rising edges preamble Performs turn detection, to establish the bit synchronization based on the detection of either one of the unique pattern of the first detector and the second detector, after the bit synchronization has been established, the first The received data is regenerated using a second frequency clock corresponding to the bit rate of the received data, which is generated based on the frequency clock.

Claims (28)

親機と2線ケーブルを介して接続され、前記親機との間で時分割複信によりパケット信号を送受信するドアホンシステムの子機であって、
所定の位置にプリアンブルとシンクパターンが配置されたデータを受信する受信部と、
前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、
前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを出力する第2クロック生成部と、
前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立下りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第1のユニークパターン検出部と、
前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第2のユニークパターン検出部と、
前記第1のユニークパターン検出部あるいは前記第2のユニークパターン検出部でビット同期が確立された後、前記第2周波数のクロックを用いて前記受信データを再生するデータ再生部と、
を具備する子機。
A slave unit of a door phone system that is connected to a master unit via a two-wire cable and transmits and receives packet signals to and from the master unit by time division duplex,
A receiving unit that receives data in which a preamble and a sync pattern are arranged at a predetermined position;
A first clock generator for outputting a clock having a first frequency corresponding to n times (n is 1 or more) the bit rate of the received data;
A second clock generation unit that outputs a clock of a second frequency corresponding to the bit rate of the received data, which is generated based on the clock of the first frequency;
A first unique pattern that samples the received data using the clock of the first frequency, detects a unique pattern in the preamble based on the number of clocks between adjacent falling edges, and establishes bit synchronization A detection unit;
Second unique pattern detection for sampling the received data using the clock of the first frequency and detecting a unique pattern in the preamble based on the number of clocks between adjacent rising edges to establish bit synchronization And
A data reproducing unit for reproducing the received data using a clock of the second frequency after bit synchronization is established in the first unique pattern detecting unit or the second unique pattern detecting unit;
A handset comprising
前記プリアンブルは、前記第1のユニークパターン検出部で計数された前記各隣接する立下りエッジ間のクロック数、および、前記第2のユニークパターン検出部で計数された前記各隣接する立上りエッジ間のクロック数が、前記ユニークパターンにおいてユニークとなる、
請求項1に記載の子機。
The preamble includes the number of clocks between the adjacent falling edges counted by the first unique pattern detection unit and the interval between the adjacent rising edges counted by the second unique pattern detection unit. The number of clocks is unique in the unique pattern.
The subunit | mobile_unit of Claim 1.
前記プリアンブルは、マンチェスタエンコードを用いた場合、前記ユニークパターンである最後の3ビットが「1」、「0」、「1」で、他のビットがすべて「1」のパターンであり、前記プリアンブルデータに続くシンクパターンの最初の1ビットが「1」である、
請求項1に記載の子機。
When the Manchester encoding is used, the preamble is a pattern in which the last 3 bits of the unique pattern are “1”, “0”, “1”, and all other bits are “1”, and the preamble data The first 1 bit of the sync pattern following is “1”.
The subunit | mobile_unit of Claim 1.
前記プリアンブルは、マンチェスタエンコードを用いた場合、前記ユニークパターンである最後の3ビットが「0」、「1」、「0」で、他のビットがすべて「0」のパターンであり、前記プリアンブルデータに続くシンクパターンの最初の1ビットが「0」である、
請求項1に記載の子機。
When the Manchester encoding is used, the preamble is a pattern in which the last 3 bits of the unique pattern are “0”, “1”, “0”, and the other bits are all “0”, and the preamble data The first 1 bit of the sync pattern following is “0”.
The subunit | mobile_unit of Claim 1.
前記第1のユニークパターン検出部は、
隣接する立下りエッジ間のクロック数が第1規定数に一致した場合にユニークパターンを検出したと判定し、
前記第2のユニークパターン検出部は、
隣接する立上りエッジ間のクロック数が前記第1規定数に一致した場合にユニークパターンを検出したと判定する、
請求項1から4のいずれか一項に記載の子機。
The first unique pattern detection unit includes:
It is determined that a unique pattern is detected when the number of clocks between adjacent falling edges matches the first specified number,
The second unique pattern detector is
It is determined that a unique pattern is detected when the number of clocks between adjacent rising edges matches the first specified number.
The subunit | mobile_unit as described in any one of Claim 1 to 4.
隣接する立下りエッジ間あるいは隣接する立上りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記第1のユニークパターン検出部および前記第2のユニークパターン検出部に対して前記ユニークパターンの検出を指示する繰り返しパターン数検出部を更に具備し、
前記第1のユニークパターン検出部および前記第2のユニークパターン検出部は、
前記繰り返しパターン数検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項5に記載の子機。
When the number of clocks between adjacent falling edges or between adjacent rising edges coincides with the second specified number, and when the count value reaches the third specified number, the first unique pattern detecting unit and the first Further comprising a repeated pattern number detection unit that instructs the unique pattern detection unit of 2 to detect the unique pattern,
The first unique pattern detection unit and the second unique pattern detection unit are:
The detection of the unique pattern is started after receiving an instruction from the repeated pattern number detection unit,
The subunit | mobile_unit of Claim 5.
前記第1のユニークパターン検出部は、
隣接する立下りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記ユニークパターンの検出を開始すると供に前記第2のユニークパターン検出部に対して前記ユニークパターンの検出を指示し、
前記第2のユニークパターン検出部は、
前記第1のユニークパターン検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項5に記載の子機。
The first unique pattern detection unit includes:
When the number of clocks between adjacent falling edges coincides with the second specified number, the second unique pattern detection is started together with the detection of the unique pattern when the counted value reaches the third specified number Instructing the part to detect the unique pattern,
The second unique pattern detector is
Starting detection of the unique pattern after receiving an instruction from the first unique pattern detection unit;
The subunit | mobile_unit of Claim 5.
前記第2のユニークパターン検出部は、
隣接する立上りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記ユニークパターンの検出を開始すると供に前記第1のユニークパターン検出部に対して前記ユニークパターンの検出を指示し、
前記第1のユニークパターン検出部は、
前記第2のユニークパターン検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項5に記載の子機。
The second unique pattern detector is
When the number of clocks between adjacent rising edges coincides with the second specified number, the first unique pattern detection unit starts to detect the unique pattern when the count value reaches the third specified number. To detect the unique pattern,
The first unique pattern detection unit includes:
Starting the detection of the unique pattern after receiving an instruction from the second unique pattern detection unit;
The subunit | mobile_unit of Claim 5.
前記第2クロック生成部は、受信データから抽出した受信クロックを前記第2周波数のクロックとして使用する、
請求項1から8のいずれか一項に記載の子機。
The second clock generation unit uses a reception clock extracted from reception data as a clock of the second frequency.
The subunit | mobile_unit as described in any one of Claim 1 to 8.
子機と2線ケーブルを介して接続され、前記子機との間で時分割複信によりパケット信号を送受信するドアホンシステムの親機であって、
所定の位置にプリアンブルとシンクパターンが配置されたデータを受信する受信部と、
前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、
前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを出力する第2クロック生成部と、
前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立下りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第1のユニークパターン検出部と、
前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第2のユニークパターン検出部と、
前記第1のユニークパターン検出部あるいは前記第2のユニークパターン検出部でビット同期が確立された後、前記第2周波数のクロックを用いて前記受信データを再生するデータ再生部と、
を具備する親機。
A door phone system parent device connected to a child device via a two-wire cable and transmitting and receiving packet signals to and from the child device by time division duplexing,
A receiving unit that receives data in which a preamble and a sync pattern are arranged at a predetermined position;
A first clock generator for outputting a clock having a first frequency corresponding to n times (n is 1 or more) the bit rate of the received data;
A second clock generation unit that outputs a clock of a second frequency corresponding to the bit rate of the received data, which is generated based on the clock of the first frequency;
A first unique pattern that samples the received data using the clock of the first frequency, detects a unique pattern in the preamble based on the number of clocks between adjacent falling edges, and establishes bit synchronization A detection unit;
Second unique pattern detection for sampling the received data using the clock of the first frequency and detecting a unique pattern in the preamble based on the number of clocks between adjacent rising edges to establish bit synchronization And
A data reproducing unit for reproducing the received data using a clock of the second frequency after bit synchronization is established in the first unique pattern detecting unit or the second unique pattern detecting unit;
A master unit equipped with
前記プリアンブルは、前記第1のユニークパターン検出部で計数された前記各隣接する立下りエッジ間のクロック数、および、前記第2のユニークパターン検出部で計数された前記各隣接する立上りエッジ間のクロック数が、前記ユニークパターンにおいてユニークとなる、
請求項10に記載の親機。
The preamble includes the number of clocks between the adjacent falling edges counted by the first unique pattern detection unit and the interval between the adjacent rising edges counted by the second unique pattern detection unit. The number of clocks is unique in the unique pattern.
The parent device according to claim 10.
前記プリアンブルは、マンチェスタエンコードを用いた場合、前記ユニークパターンである最後の3ビットが「1」、「0」、「1」で、他のビットがすべて「1」のパターンであり、前記プリアンブルデータに続くシンクパターンの最初の1ビットが「1」である、
請求項10に記載の親機。
When the Manchester encoding is used, the preamble is a pattern in which the last 3 bits of the unique pattern are “1”, “0”, “1”, and all other bits are “1”, and the preamble data The first 1 bit of the sync pattern following is “1”.
The parent device according to claim 10.
前記プリアンブルは、マンチェスタエンコードを用いた場合、前記ユニークパターンである最後の3ビットが「0」、「1」、「0」で、他のビットがすべて「0」のパターンであり、前記プリアンブルデータに続くシンクパターンの最初の1ビットが「0」である、
請求項10に記載の親機。
When the Manchester encoding is used, the preamble is a pattern in which the last 3 bits of the unique pattern are “0”, “1”, “0”, and the other bits are all “0”, and the preamble data The first 1 bit of the sync pattern following is “0”.
The parent device according to claim 10.
前記第1のユニークパターン検出部は、
隣接する立下りエッジ間のクロック数が第1規定数に一致した場合にユニークパターンを検出したと判定し、
前記第2のユニークパターン検出部は、
隣接する立上りエッジ間のクロック数が前記第1規定数に一致した場合にユニークパターンを検出したと判定する、
請求項10から13のいずれか一項に記載の親機。
The first unique pattern detection unit includes:
It is determined that a unique pattern is detected when the number of clocks between adjacent falling edges matches the first specified number,
The second unique pattern detector is
It is determined that a unique pattern is detected when the number of clocks between adjacent rising edges matches the first specified number.
The parent device according to any one of claims 10 to 13.
隣接する立下りエッジ間あるいは隣接する立上りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記第1のユニークパターン検出部および前記第2のユニークパターン検出部に対して前記ユニークパターンの検出を指示する繰り返しパターン数検出部を更に具備し、
前記第1のユニークパターン検出部および前記第2のユニークパターン検出部は、
前記繰り返しパターン数検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項14に記載の親機。
When the number of clocks between adjacent falling edges or between adjacent rising edges coincides with the second specified number, and when the count value reaches the third specified number, the first unique pattern detecting unit and the first Further comprising a repeated pattern number detection unit that instructs the unique pattern detection unit of 2 to detect the unique pattern,
The first unique pattern detection unit and the second unique pattern detection unit are:
The detection of the unique pattern is started after receiving an instruction from the repeated pattern number detection unit,
The parent device according to claim 14.
前記第1のユニークパターン検出部は、
隣接する立下りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記ユニークパターンの検出を開始すると供に前記第2のユニークパターン検出部に対して前記ユニークパターンの検出を指示し、
前記第2のユニークパターン検出部は、
前記第1のユニークパターン検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項14に記載の親機。
The first unique pattern detection unit includes:
When the number of clocks between adjacent falling edges coincides with the second specified number, the second unique pattern detection is started together with the detection of the unique pattern when the counted value reaches the third specified number Instructing the part to detect the unique pattern,
The second unique pattern detector is
Starting detection of the unique pattern after receiving an instruction from the first unique pattern detection unit;
The parent device according to claim 14.
前記第2のユニークパターン検出部は、
隣接する立上りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記ユニークパターンの検出を開始すると供に前記第1のユニークパターン検出部に対して前記ユニークパターンの検出を指示し、
前記第1のユニークパターン検出部は、
前記第2のユニークパターン検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項14に記載の親機。
The second unique pattern detector is
When the number of clocks between adjacent rising edges coincides with the second specified number, the first unique pattern detection unit starts to detect the unique pattern when the count value reaches the third specified number. To detect the unique pattern,
The first unique pattern detection unit includes:
Starting the detection of the unique pattern after receiving an instruction from the second unique pattern detection unit;
The parent device according to claim 14.
前記第2クロック生成部は、受信データから抽出した受信クロックを前記第2周波数のクロックとして使用する、
請求項10から17のいずれか一項に記載の親機。
The second clock generation unit uses a reception clock extracted from reception data as a clock of the second frequency.
The parent device according to any one of claims 10 to 17.
親機と子機とからなるドアホンシステムに増設され、前記親機と2線ケーブルを介して接続され、前記親機との間で時分割複信によりパケット信号を送受信するドアホンシステムのモニタであって、
所定の位置にプリアンブルとシンクパターンが配置されたデータを受信する受信部と、
前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、
前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを出力する第2クロック生成部と、
前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立下りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第1のユニークパターン検出部と、
前記第1周波数のクロックを用いて前記受信データのサンプリングを行い、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立する第2のユニークパターン検出部と、
前記第1のユニークパターン検出部あるいは前記第2のユニークパターン検出部でビット同期が確立された後、前記第2周波数のクロックを用いて前記受信データを再生するデータ再生部と、
を具備するモニタ。
This is a door phone system monitor that is added to a door phone system consisting of a parent device and a child device, is connected to the parent device via a two-wire cable, and transmits and receives packet signals to and from the parent device by time division duplex. And
A receiving unit that receives data in which a preamble and a sync pattern are arranged at a predetermined position;
A first clock generator for outputting a clock having a first frequency corresponding to n times (n is 1 or more) the bit rate of the received data;
A second clock generation unit that outputs a clock of a second frequency corresponding to the bit rate of the received data, which is generated based on the clock of the first frequency;
A first unique pattern that samples the received data using the clock of the first frequency, detects a unique pattern in the preamble based on the number of clocks between adjacent falling edges, and establishes bit synchronization A detection unit;
Second unique pattern detection for sampling the received data using the clock of the first frequency and detecting a unique pattern in the preamble based on the number of clocks between adjacent rising edges to establish bit synchronization And
A data reproducing unit for reproducing the received data using a clock of the second frequency after bit synchronization is established in the first unique pattern detecting unit or the second unique pattern detecting unit;
A monitor comprising:
前記プリアンブルは、前記第1のユニークパターン検出部で計数された前記各隣接する立下りエッジ間のクロック数、および、前記第2のユニークパターン検出部で計数された前記各隣接する立上りエッジ間のクロック数が、前記ユニークパターンにおいてユニークとなる、
請求項19に記載のモニタ。
The preamble includes the number of clocks between the adjacent falling edges counted by the first unique pattern detection unit and the interval between the adjacent rising edges counted by the second unique pattern detection unit. The number of clocks is unique in the unique pattern.
The monitor according to claim 19.
前記プリアンブルは、マンチェスタエンコードを用いた場合、前記ユニークパターンである最後の3ビットが「1」、「0」、「1」で、他のビットがすべて「1」のパターンであり、前記プリアンブルデータに続くシンクパターンの最初の1ビットが「1」である、
請求項19に記載のモニタ。
When the Manchester encoding is used, the preamble is a pattern in which the last 3 bits of the unique pattern are “1”, “0”, “1”, and all other bits are “1”, and the preamble data The first 1 bit of the sync pattern following is “1”.
The monitor according to claim 19.
前記プリアンブルは、マンチェスタエンコードを用いた場合、前記ユニークパターンである最後の3ビットが「0」、「1」、「0」で、他のビットがすべて「0」のパターンであり、前記プリアンブルデータに続くシンクパターンの最初の1ビットが「0」である、
請求項19に記載のモニタ。
When the Manchester encoding is used, the preamble is a pattern in which the last 3 bits of the unique pattern are “0”, “1”, “0”, and the other bits are all “0”, and the preamble data The first 1 bit of the sync pattern following is “0”.
The monitor according to claim 19.
前記第1のユニークパターン検出部は、
隣接する立下りエッジ間のクロック数が第1規定数に一致した場合にユニークパターンを検出したと判定し、
前記第2のユニークパターン検出部は、
隣接する立上りエッジ間のクロック数が前記第1規定数に一致した場合にユニークパターンを検出したと判定する、
請求項19から22のいずれか一項に記載のモニタ。
The first unique pattern detection unit includes:
It is determined that a unique pattern is detected when the number of clocks between adjacent falling edges matches the first specified number,
The second unique pattern detector is
It is determined that a unique pattern is detected when the number of clocks between adjacent rising edges matches the first specified number.
The monitor according to any one of claims 19 to 22.
隣接する立下りエッジ間あるいは隣接する立上りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記第1のユニークパターン検出部および前記第2のユニークパターン検出部に対して前記ユニークパターンの検出を指示する繰り返しパターン数検出部を更に具備し、
前記第1のユニークパターン検出部および前記第2のユニークパターン検出部は、
前記繰り返しパターン数検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項23に記載のモニタ。
When the number of clocks between adjacent falling edges or between adjacent rising edges coincides with the second specified number, and when the count value reaches the third specified number, the first unique pattern detecting unit and the first Further comprising a repeated pattern number detection unit that instructs the unique pattern detection unit of 2 to detect the unique pattern,
The first unique pattern detection unit and the second unique pattern detection unit are:
The detection of the unique pattern is started after receiving an instruction from the repeated pattern number detection unit,
The monitor according to claim 23.
前記第1のユニークパターン検出部は、
隣接する立下りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記ユニークパターンの検出を開始すると供に前記第2のユニークパターン検出部に対して前記ユニークパターンの検出を指示し、
前記第2のユニークパターン検出部は、
前記第1のユニークパターン検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項23に記載のモニタ。
The first unique pattern detection unit includes:
When the number of clocks between adjacent falling edges coincides with the second specified number, the second unique pattern detection is started together with the detection of the unique pattern when the counted value reaches the third specified number Instructing the part to detect the unique pattern,
The second unique pattern detector is
Starting detection of the unique pattern after receiving an instruction from the first unique pattern detection unit;
The monitor according to claim 23.
前記第2のユニークパターン検出部は、
隣接する立上りエッジ間のクロック数が第2規定数に一致した場合を計数し、計数値が第3規定数に達すると、前記ユニークパターンの検出を開始すると供に前記第1のユニークパターン検出部に対して前記ユニークパターンの検出を指示し、
前記第1のユニークパターン検出部は、
前記第2のユニークパターン検出部から指示を受けてから前記ユニークパターンの検出を開始する、
請求項23に記載のモニタ。
The second unique pattern detector is
When the number of clocks between adjacent rising edges coincides with the second specified number, the first unique pattern detection unit starts to detect the unique pattern when the count value reaches the third specified number. To detect the unique pattern,
The first unique pattern detection unit includes:
Starting the detection of the unique pattern after receiving an instruction from the second unique pattern detection unit;
The monitor according to claim 23.
前記第2クロック生成部は、受信データから抽出した受信クロックを前記第2周波数のクロックとして使用する、
請求項19から26のいずれか一項に記載のモニタ。
The second clock generation unit uses a reception clock extracted from reception data as a clock of the second frequency.
The monitor according to any one of claims 19 to 26.
親機と子機とが2線ケーブルを介して接続され、前記親機と前記子機との間で時分割複信によりパケット信号を送受信するドアホンシステムの通信方法であって、
送信側装置が、
所定の位置にプリアンブルが配置されたデータを送信し、
受信側装置が、
前記送信側装置から送信されたデータを受信し、
前記受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを用いて前記受信データのサンプリングを行い、
隣接する立下りエッジ間のクロック数、あるいは、隣接する立上りエッジ間のクロック数に基づいて前記プリアンブル内のユニークパターンの検出を行ってビット同期を確立し、
前記ビット同期が確立された後、前記第1周波数のクロックを基準に生成した、前記受信データのビットレートに対応する第2周波数のクロックを用いて前記受信データを再生する、
通信方法。
A communication method of a door phone system in which a parent device and a child device are connected via a two-wire cable, and packet signals are transmitted and received between the parent device and the child device by time division duplex,
The sending device is
Send data with preamble in place,
The receiving device
Receiving data transmitted from the transmitting device;
Sampling the received data using a clock having a first frequency corresponding to n times the bit rate of the received data (n is 1 or more);
Bit synchronization is established by detecting a unique pattern in the preamble based on the number of clocks between adjacent falling edges or the number of clocks between adjacent rising edges,
After the bit synchronization is established, the received data is regenerated using a second frequency clock corresponding to the bit rate of the received data, which is generated based on the first frequency clock.
Communication method.
JP2015250268A 2015-12-22 2015-12-22 Slave unit, master unit, monitor and communication method Active JP5979523B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015250268A JP5979523B1 (en) 2015-12-22 2015-12-22 Slave unit, master unit, monitor and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015250268A JP5979523B1 (en) 2015-12-22 2015-12-22 Slave unit, master unit, monitor and communication method

Publications (2)

Publication Number Publication Date
JP5979523B1 JP5979523B1 (en) 2016-08-24
JP2017118259A true JP2017118259A (en) 2017-06-29

Family

ID=56759972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015250268A Active JP5979523B1 (en) 2015-12-22 2015-12-22 Slave unit, master unit, monitor and communication method

Country Status (1)

Country Link
JP (1) JP5979523B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6803535B2 (en) * 2017-04-03 2020-12-23 パナソニックIpマネジメント株式会社 Communication device and communication method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07118708B2 (en) * 1993-06-28 1995-12-18 日本電気株式会社 Burst signal phase control circuit
JP2006262454A (en) * 2005-02-18 2006-09-28 Matsushita Electric Ind Co Ltd Clock reproducing method and manchester decoding method

Also Published As

Publication number Publication date
JP5979523B1 (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN106686271B (en) Door phone system and communication method thereof
CN106921851B (en) Door phone system and communication control method
JP5984028B1 (en) Door phone system and communication method thereof
JP5979523B1 (en) Slave unit, master unit, monitor and communication method
JP5979517B1 (en) Slave unit, master unit, monitor and communication method
JP2018182375A (en) Communication device and communication method
JP5979521B1 (en) Slave unit, monitor and communication method
JP5979519B1 (en) Door phone system and communication method thereof
JP6531991B2 (en) Slave unit, master unit, monitor and communication method
JP5979522B1 (en) Base unit and communication method
JP6569867B2 (en) Door phone system, parent device, monitor, and communication method
JP6410159B2 (en) Door phone system and communication method
JP6474004B2 (en) Base unit and communication method
JP5983975B1 (en) Slave unit, master unit, monitor and communication method
JP6531992B2 (en) Slave unit, master unit, monitor and communication method
JP5979518B1 (en) Slave unit, master unit, monitor and communication method
JP5979520B1 (en) Slave unit, master unit, monitor and communication method
JP6485782B2 (en) Door phone system and communication method
JP6226211B1 (en) Door phone system and communication method thereof
JP6176507B1 (en) Door phone system and communication method
JP6300044B2 (en) Door phone system and communication method thereof
JP2017092939A (en) Intercom and communication method for the same
JP7223976B2 (en) Door phone system and communication method
JP7281648B2 (en) Door phone system and communication method
JP6909964B2 (en) Lobby entrance slave unit, doorphone system and communication method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160523

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160621

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160714

R151 Written notification of patent or utility model registration

Ref document number: 5979523

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151