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

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

Info

Publication number
JP2017224898A
JP2017224898A JP2016117352A JP2016117352A JP2017224898A JP 2017224898 A JP2017224898 A JP 2017224898A JP 2016117352 A JP2016117352 A JP 2016117352A JP 2016117352 A JP2016117352 A JP 2016117352A JP 2017224898 A JP2017224898 A JP 2017224898A
Authority
JP
Japan
Prior art keywords
unit
data
clock
oscillation frequency
time
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
JP2016117352A
Other languages
Japanese (ja)
Other versions
JP6569867B2 (en
Inventor
隆 山元
Takashi Yamamoto
隆 山元
尚貴 楠井
Naotaka Kusui
尚貴 楠井
林 俊男
Toshio Hayashi
俊男 林
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 JP2016117352A priority Critical patent/JP6569867B2/en
Publication of JP2017224898A publication Critical patent/JP2017224898A/en
Application granted granted Critical
Publication of JP6569867B2 publication Critical patent/JP6569867B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To confine deviation of crystal oscillation frequency between apparatus within the allowance of system operation, inexpensively with high accuracy.SOLUTION: A transmission side data time measurement unit 182 measures reference time, i.e., the time occupied by prescribed number of reproduction data outputted from a data reproduction unit 133. A reception side internal time measurement unit 183 measures comparison time by counting measurement clocks outputted from a measurement clock generation unit 181, by a number corresponding to the time occupied by the prescribed number of data. A reception side time difference calculation unit 184 calculates the time difference between the reference time and comparison time. An adjustment value setting unit 185 adjusts oscillation frequency of a crystal oscillation unit 136, so as to reduce deviation of the reference time and comparison time.SELECTED DRAWING: Figure 12

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 installed at a front door outside the home (hereinafter referred to as “entrance slave unit”) and a video image captured by the camera of the entrance slave unit are displayed 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 performs digital communication between an entrance cordless handset connected by a two-wire cable and a door phone master set.

各機器は、デジタル通信の基本周波数を、水晶発振器により生成し、水晶発振器の発振周波数に基づくクロックを基準に、通信相手との同期タイミング(受信データの各ビットの先頭のタイミング)を検出する。   Each device generates a fundamental frequency of digital communication by a crystal oscillator, and detects a synchronization timing (the timing at the beginning of each bit of received data) with a communication partner based on a clock based on the oscillation frequency of the crystal oscillator.

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

室内に設置されたドアホン親機と室外に設置された玄関子機との温度差、水晶発振子の個体差、経年変化等を原因として、各機器の水晶発振周波数にばらつきが生じる。機器間の水晶発振周波数のずれが、システム動作の許容範囲を超えると、クロックとの同期が取れず、受信エラーになるビットが発生することも考えられる。従来技術では、機器間の水晶発振周波数のずれをシステム動作の許容範囲に抑えるための対策が検討されていない。   Variations in the crystal oscillation frequency of each device occur due to temperature differences between the doorphone master unit installed indoors and the entrance cordless unit installed outdoors, individual differences of crystal oscillators, aging, and the like. If the deviation of the crystal oscillation frequency between devices exceeds the permissible range of system operation, it may be possible to generate a bit that causes a reception error because synchronization with the clock cannot be achieved. In the prior art, measures for suppressing the deviation of the crystal oscillation frequency between devices within the allowable range of system operation have not been studied.

本開示の目的は、安価で高精度に、機器間の水晶発振周波数のずれをシステム動作の許容範囲に抑えることができるドアホンシステムの子機、親機、モニタおよびドアホンシステムの通信方法を提供することである。   An object of the present disclosure is to provide a slave unit of a door phone system, a master unit, a monitor, and a communication method of the door phone system, which can suppress the deviation of the crystal oscillation frequency between devices within an allowable range of system operation with low cost and high accuracy. That is.

本開示の子機は、親機と子機が2線ケーブルを介して接続され、前記親機と前記子機の間でデジタル通信を行い、前記親機および前記子機がそれぞれ内部の水晶発振子の発振周波数を基準に生成した前記デジタル通信のビットレートに対応する通信用クロックを生成するドアホンシステムの前記子機であって、前記発振周波数の電圧振幅信号を出力する水晶発振部と、前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第1時間と、前記子機側の通信用クロックでカウントした前記規定のデータ数に相当する第2時間との時間差を減らすように、前記水晶発振部の発振周波数を調整する水晶発振周波数制御部と、を具備する。   In the slave unit of the present disclosure, the master unit and the slave unit are connected via a two-wire cable, digital communication is performed between the master unit and the slave unit, and the master unit and the slave unit each have an internal crystal oscillation The slave unit of the door phone system that generates a communication clock corresponding to the bit rate of the digital communication generated based on the oscillation frequency of the child, the crystal oscillation unit that outputs a voltage amplitude signal of the oscillation frequency, Using a measurement clock generated based on the oscillation frequency, a first time occupied by a specified number of data transmitted from the parent device based on the communication clock of the parent device, and a communication clock on the child device side A crystal oscillation frequency control unit that adjusts an oscillation frequency of the crystal oscillation unit so as to reduce a time difference from the second time corresponding to the specified number of data counted in step (b).

本開示の親機は、2つの親機が2線ケーブルを介して接続され、前記2つの親機の間でデジタル通信を行い、前記各親機がそれぞれ子機と別の2線ケーブルを介して接続され、前記各親機が前記子機とデジタル通信を行い、前記親機および前記子機がそれぞれ内部の水晶発振子の発振周波数を基準に生成した前記デジタル通信のビットレートに対応する通信用クロックを生成するドアホンシステムの前記親機であって、前記発振周波数の電圧振幅信号を出力する水晶発振部と、前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第1時間と、前記子機側の通信用クロックでカウントした前記規定のデータ数に相当する第2時間との時間差を減らすように、前記水晶発振部の発振周波数を調整する水晶発振周波数制御部と、を具備する。   In the master unit of the present disclosure, two master units are connected via a two-wire cable, digital communication is performed between the two master units, and each master unit is connected to a slave unit via a two-wire cable. Each of the parent devices performs digital communication with the child device, and communication corresponding to the bit rate of the digital communication generated based on the oscillation frequency of the internal crystal resonator by the parent device and the child device, respectively. The parent device of the door phone system for generating a clock for the communication, the crystal oscillation unit that outputs a voltage amplitude signal of the oscillation frequency, and the measurement clock generated based on the oscillation frequency, the communication of the parent device The time difference between the first time occupied by the prescribed number of data transmitted from the master unit with reference to the clock for use and the second time corresponding to the prescribed number of data counted by the communication clock on the slave unit side is reduced. Yo In comprises a a crystal oscillation frequency control unit for adjusting the oscillation frequency of the crystal oscillator unit.

本開示のモニタは、親機と子機が2線ケーブルを介して接続され、前記親機と前記子機の間でデジタル通信を行い、前記親機がモニタと別の2線ケーブルを介して接続され、前記親機が前記モニタとデジタル通信を行い、前記親機、前記子機および前記モニタがそれぞれ内部の水晶発振子の発振周波数を基準に生成した前記デジタル通信のビットレートに対応する通信用クロックを生成するドアホンシステムの前記モニタであって、前記発振周波数の電圧振幅信号を出力する水晶発振部と、前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第1時間と、前記子機側の通信用クロックでカウントした前記規定のデータ数に相当する第2時間との時間差を減らすように、前記水晶発振部の発振周波数を調整する水晶発振周波数制御部と、を具備する。   In the monitor of the present disclosure, a parent device and a child device are connected via a two-wire cable, digital communication is performed between the parent device and the child device, and the parent device is connected via a separate two-wire cable from the monitor. Communication that is connected, the master unit performs digital communication with the monitor, and the base unit, the slave unit, and the monitor correspond to the bit rate of the digital communication that is generated based on the oscillation frequency of the internal crystal resonator. The monitor of the door phone system for generating a clock for the communication, using a crystal oscillation unit that outputs a voltage amplitude signal of the oscillation frequency and a measurement clock generated based on the oscillation frequency, for communication of the master unit A time between a first time occupied by a prescribed number of data transmitted from the master unit with reference to a clock and a second time corresponding to the prescribed number of data counted by the communication clock on the slave unit side To reduce, to anda crystal frequency control unit for adjusting the oscillation frequency of the crystal oscillator unit.

本開示の通信方法は、親機と子機が2線ケーブルを介して接続され、前記親機と前記子機の間でデジタル通信を行うドアホンシステムの通信方法であって、前記親機が、内部の水晶発振子の親機側発振周波数を基準に生成した前記デジタル通信のビットレートに対応する親機側の通信用クロックを生成し、前記親機側の通信用クロックを基準に前記ビットレートの送信データを生成し、前記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 digital communication is performed between the parent device and the child device, wherein the parent device includes: Generating a communication clock on the parent side corresponding to the bit rate of the digital communication generated on the basis of the oscillation frequency on the parent side of the internal crystal resonator, and generating the bit rate on the basis of the communication clock on the parent side The transmission data is transmitted to the slave unit via the two-wire cable, and the slave unit generates the transmission data of the digital communication generated based on the slave unit side oscillation frequency of an internal crystal oscillator. Generates a communication clock on the slave unit corresponding to the bit rate, decodes and reproduces the transmission data from the master unit based on the communication clock on the slave unit, and uses the oscillation frequency on the slave unit as a reference The measurement clock for the slave unit The first time occupied by the specified number of transmission data from the master unit using the measurement clock on the slave unit side and the specified number of data counted by the communication clock on the slave unit side The slave unit side oscillation frequency is adjusted so as to reduce the time difference from the second time corresponding to.

本開示によれば、安価で高精度に、水晶発振器の発振周波数のずれをシステム動作の許容範囲に抑えることができる。   According to the present disclosure, it is possible to suppress the deviation of the oscillation frequency of the crystal oscillator within the allowable range of the system operation with low cost and high accuracy.

本開示の一実施の形態に係るドアホンシステムの構成を示すシステム構成図The system block diagram which shows the structure of the door phone system which concerns on one embodiment of this indication 本開示の一実施の形態に係るフレーム構成、タイムスロット構成を示すフレーム構成図Frame configuration diagram showing frame configuration and time slot configuration according to an embodiment of the present disclosure 本開示の一実施の形態に係る割り込み信号の構成図Configuration diagram of an interrupt signal according to an embodiment of the present disclosure 本開示の一実施の形態に係る玄関子機の構成を示すブロック図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 reception data processing 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 time difference of the prescribed number of frames by the difference of the crystal oscillation frequency of one embodiment of this indication 本開示の一実施の形態の玄関子機の水晶発振周波数制御部の内部構成を示すブロック図The block diagram which shows the internal structure of the crystal oscillation frequency control part of the entrance cordless handset of one embodiment of this indication 本開示の一実施の形態の玄関子機の水晶発振部の内部構成を示すブロック図The block diagram which shows the internal structure of the crystal oscillation part of the entrance cordless handset of 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

以下、本開示の実施の形態について、図面を参照して詳細に説明する。
<システムの概要>
まず、本開示の一実施の形態に係るドアホンシステムの概要について説明する。
Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.
<System overview>
First, an outline of a door phone system according to an embodiment of the present disclosure will be described.

図1は、本実施の形態に係るドアホンシステムの構成の一例を示すシステム構成図である。本実施の形態に係るドアホンシステムは、例えば、親世帯用と子世帯用とに住居スペースが分かれた、二世帯住宅に設置されるシステムである。   FIG. 1 is a system configuration diagram showing an example of a configuration of a door phone system according to the present embodiment. The door phone system according to the present embodiment is a system installed in a two-family house in which housing spaces are divided for a parent household and a child household, for example.

図1に示すように、ドアホンシステム1は、例えば親世帯用の住居スペースに配置される第1のドアホンシステム1aと、例えば子世帯用の住居スペースに配置される第2のドアホンシステム1bと、これらを接続する通信ケーブル11と、を有する。   As shown in FIG. 1, the door phone system 1 includes, for example, a first door phone system 1a arranged in a residential space for a parent household, and a second door phone system 1b arranged in a residential space for a child household, for example. And a communication cable 11 for connecting them.

第1のドアホンシステム1aは、2つの第1の玄関子機100a−1、100a−2、第1のドアホン親機200aおよび第1の増設モニタ300aを有する。第1の玄関子機100a−1、100a−2および第1の増設モニタ300aは、それぞれ、通信ケーブル101a−1、101a−2、301aを介して第1のドアホン親機200aに接続されている。第1のドアホンシステム1aは、第1のドアホン親機200aによるデータ転送機能により、第1のドアホン親機200aを中心としたスター型の通信ネットワークを形成している。   The first door phone system 1a includes two first entrance cordless handsets 100a-1 and 100a-2, a first door phone master phone 200a, and a first additional monitor 300a. First entrance cordless handset 100a-1, 100a-2 and first additional monitor 300a are connected to first door phone master 200a via communication cables 101a-1, 101a-2, 301a, respectively. . The first door phone system 1a forms a star-type communication network centered on the first door phone parent device 200a by the data transfer function of the first door phone parent device 200a.

第2のドアホンシステム1bは、2つの第2の玄関子機100b−1、100b−2、第2のドアホン親機200bおよび第2の増設モニタ300bを有する。第2の玄関子機100b−1、100b−2および第2の増設モニタ300bは、それぞれ、通信ケーブル101b−1、101b−2、301bを介して第1のドアホン親機200bに接続されている。第2のドアホンシステム1bは、第2のドアホン親機200bによるデータ転送機能により、第2のドアホン親機200bを中心としたスター型の通信ネットワークを形成している。   The second door phone system 1b includes two second entrance cordless handsets 100b-1 and 100b-2, a second doorphone master phone 200b, and a second extension monitor 300b. Second entrance cordless handset 100b-1, 100b-2 and second extension monitor 300b are connected to first door phone master set 200b via communication cables 101b-1, 101b-2, 301b, respectively. . The second door phone system 1b forms a star-type communication network centered on the second door phone parent device 200b by the data transfer function of the second door phone parent device 200b.

通信ケーブル11は、第1のドアホン親機200aと第2のドアホン親機200bとを接続している。通信ケーブル11、101a−1、101a−2、301a、101b−1、101b−2、301bのそれぞれは、1対の銅線から成る2線ケーブルである。   The communication cable 11 connects the first doorphone master device 200a and the second doorphone master device 200b. Each of the communication cables 11, 101a-1, 101a-2, 301a, 101b-1, 101b-2, 301b is a two-wire cable made of a pair of copper wires.

なお、以下では、第1のドアホン親機200aおよび第2のドアホン親機200bは、同一の構成を有するため、適宜「ドアホン親機200」として纏めて説明を行う。また、第1の玄関子機100a−1、100a−2および第2の玄関子機100b−1、100b−2は、同一の構成を有するため、適宜「玄関子機100」として纏めて説明を行う。また、第1の増設モニタ300aおよび第2の増設モニタ300bは、同一の構成を有するため、適宜「増設モニタ300」として纏めて説明を行う。   In the following description, since the first doorphone master device 200a and the second doorphone master device 200b have the same configuration, they will be collectively described as “doorphone master device 200” as appropriate. Moreover, since the 1st entrance cordless handset 100a-1, 100a-2 and the 2nd entrance cordless handset 100b-1, 100b-2 have the same structure, it collects and describes as "the entrance cordless handset 100" suitably. Do. Further, since the first extension monitor 300a and the second extension monitor 300b have the same configuration, they will be collectively described as “the extension monitor 300” as appropriate.

玄関子機100は、親世帯の住居スペースおよび子世帯の住居スペースのそれぞれの玄関先に設けられる。ドアホン親機200および増設モニタ300は、親世帯の住居スペースおよび子世帯の住居スペースのそれぞれの宅内に設けられ、壁に固定されたり、テーブルまたは台の上などに載置されたりする。   The entrance cordless handset 100 is provided at the entrance of each of the residence space of the parent household and the residence space of the child household. The intercom main unit 200 and the extension monitor 300 are provided in the respective homes of the parent household and child households, and are fixed to a wall or placed on a table or table.

玄関子機100は、呼出ボタンの操作等の所定の操作が行われたとき、呼出信号を含む制御信号を生成し、玄関周辺の映像を撮影して映像データを生成し、玄関周辺の音声を取得して音声データを生成する。また、玄関子機100は、ドアホン親機200から受信した音声データおよび制御情報に従って、音声の出力等を行う。   When a predetermined operation such as an operation of a call button is performed, the entrance cordless handset 100 generates a control signal including a call signal, shoots a video around the entrance, generates video data, and generates audio around the entrance. Acquire and generate audio data. Further, the front door device 100 performs output of sound according to the sound data and control information received from the doorphone master device 200.

ドアホン親機200は、玄関子機100と通信を行い、玄関子機100から制御信号、映像データ、および音声データを受信し、音声データおよび制御情報を送信する。また、ドアホン親機200は、増設モニタ300と通信を行う。そして、ドアホン親機200は、玄関子機100から受信した制御信号、映像データおよび音声データ(以下、適宜「各種子機データ」という)を増設モニタ300へ転送し、増設モニタ300から受信した音声データおよび制御情報を玄関子機100へ転送する。   The intercom master device 200 communicates with the entrance slave device 100, receives control signals, video data, and audio data from the entrance slave device 100, and transmits audio data and control information. In addition, door phone parent device 200 communicates with extension monitor 300. Then, intercom master device 200 transfers control signals, video data and audio data (hereinafter referred to as “various child device data” as appropriate) received from entrance slave device 100 to extension monitor 300, and the audio received from extension monitor 300. Data and control information are transferred to the entrance cordless handset 100.

ドアホン親機200は、玄関子機100から呼出信号を受信したとき、呼出音の出力を行うと共に、玄関周辺の映像および音声を出力する。そして、応答ボタンの操作等の所定の操作が行われると、ドアホン親機200周辺の音声を取得して音声データを生成し、制御情報と共に玄関子機100へ送信する。   When receiving the call signal from the entrance cordless handset 100, the doorphone master unit 200 outputs a ringing tone and outputs video and audio around the entrance. Then, when a predetermined operation such as an operation of a response button is performed, the sound around the doorphone master device 200 is acquired to generate sound data, and is transmitted to the front door device 100 together with the control information.

また、ドアホン親機200は、ドアホンシステム1の他のドアホン親機200と通信を行い、玄関子機100から受信した各種子機データを他のドアホン親機200へ転送し、他のドアホン親機200から受信した各種子機データに対し、音声/映像出力や転送等の所定の処理を行う。   Further, the doorphone master unit 200 communicates with another doorphone master unit 200 of the doorphone system 1, transfers various slave unit data received from the entrance slave unit 100 to the other doorphone master unit 200, and other doorphone master units. Predetermined processing such as audio / video output and transfer is performed on the various handset data received from 200.

増設モニタ300は、ドアホン親機200から呼出信号を受信したとき、呼出音の出力を行うと共に、玄関周辺の映像および音声を出力する。そして、応答ボタンの操作等の所定の操作が行われると、増設モニタ300周辺の音声を取得して音声データを生成し、制御情報と共にドアホン親機200へ送信する。   When the expansion monitor 300 receives a call signal from the doorphone master unit 200, the expansion monitor 300 outputs a ringing tone and outputs video and audio around the entrance. When a predetermined operation such as an operation of a response button is performed, the sound around the expansion monitor 300 is acquired to generate sound data, and is transmitted to the intercom base unit 200 together with the control information.

なお、以下の説明において、玄関子機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, time slot configuration>
Next, a frame configuration and a time 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 an area of 48000 bits, has a 10 ms period, a bit rate of 4.8 Mbps, and is divided into 24 time slots. Therefore, each time 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 time 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 time 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 sync pattern of the interrupt signal are the same as the time slot during 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、水晶発振周波数制御部135、水晶発振部136を有する。また、玄関子機100は、送信データ処理部108、送信データ反転部109、送信ドライバ110、受信ドライバ111、受信データ反転部112、受信データ処理部113、識別子記憶部114を有する。
<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, a connection state detection unit 134, a crystal oscillation frequency control unit 135, and a crystal oscillation unit 136. The front door device 100 includes a transmission data processing unit 108, a transmission data reversing unit 109, a transmission driver 110, a reception driver 111, a reception data reversing unit 112, a reception data processing unit 113, and an identifier storage unit 114.

ケーブル接続部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は、受信データをサンプリングするためのクロックであって、水晶発振部136の発振周波数を基準に、受信データのビットレートのn倍(nは1以上)に対応する第1周波数(例えば、48MHz(n=10))のクロック(CLK)を生成し、受信データ処理部113に出力する。   The first clock generation unit 131 of the control unit 107 is a clock for sampling the reception data, and is n times (n is 1 or more) the bit rate of the reception data with reference to the oscillation frequency of the crystal oscillation unit 136. A corresponding first frequency (for example, 48 MHz (n = 10)) clock (CLK) is generated and output to the received data processing unit 113.

制御部107のパケット生成部132は、映像付き通話を実現するための上りパケットを生成する。具体的には、パケット生成部132は、音声I/F部105から出力されたデジタル音声データおよびカメラ部106から出力されたデジタル映像データを適宜分割して各タイムスロットのユーザデータフィールドに書き込み、自機(玄関子機100)に固有の識別子(以下、「自機IDslave」という)および通信相手のドアホン親機200の識別子(以下、「IDmaster」という)を含む制御データを各タイムスロットの制御データフィールドに書き込む。さらに、パケット生成部132は、各タイムスロットに、プリアンブルデータ、シンクパターンを書き込み、上りパケット(送信データ)を生成する。さらに、パケット生成部132は、送信用のイネーブル信号(SSCS)および送信用の第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成する。そして、パケット生成部132は、上りパケットを、送信用のイネーブル信号(SSCS)およびクロック(SSCK)と同期させて、送信データ処理部108に出力する。なお、クロック(SSCK)は、水晶発振部136の発振周波数を基準にして生成される。 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 in the user data field of each time slot. Control data including an identifier (hereinafter referred to as “own device ID slave ”) unique to the own device (the entrance slave device 100) and an identifier of the door phone master device 200 of the communication partner (hereinafter referred to as “ID master ”) is assigned to each time slot. Write to the control data field. Further, the packet generation unit 132 writes preamble data and a sync pattern in each time 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). The clock (SSCK) is generated with reference to the oscillation frequency of the crystal oscillation unit 136.

なお、玄関子機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)を入力すると、受信データ処理部113から出力された第2周波数のクロック(SSCK)を使用し、受信データ処理部113から出力された下りパケットを再生し、再生した下りパケット(復号データ)に含まれるデジタル音声データを音声I/F部105に出力し、シンクパターンを接続状態検出部134に出力する。また、データ再生部133は、再生した下りパケット(デジタル通信フレーム)を水晶発振周波数制御部135に出力する。なお、データ再生部133は、初期登録時に、下りパケットに含まれる自機IDslaveおよびIDmasterを識別子記憶部114に記憶させる。 When the data reproduction unit 133 of the control unit 107 receives the enable signal (SSCS) from the reception data processing unit 113, the data reproduction unit 133 uses the second frequency clock (SSCK) output from the reception data processing unit 113, and receives the enable signal (SSCS). The downlink packet output from 113 is reproduced, digital audio data included in the reproduced downlink packet (decoded data) is output to the audio I / F unit 105, and the sync pattern is output to the connection state detection unit 134. In addition, the data reproduction unit 133 outputs the reproduced downlink packet (digital communication frame) to the crystal oscillation frequency control unit 135. Note that the data reproduction unit 133 causes the identifier storage unit 114 to store the 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.

制御部107の水晶発振周波数制御部135は、データ再生部133から出力された再生データの規定のデータ数が占める時間と、この規定のデータ数に対応する内部の計測用クロックのカウントによる時間との時間差を減らすように、水晶発振部136の発振周波数を制御する。なお、水晶発振周波数制御部135の構成の詳細については後述する。   The crystal oscillation frequency control unit 135 in the control unit 107 occupies the time occupied by the specified number of reproduction data output from the data reproduction unit 133, and the time by counting the internal measurement clock corresponding to the specified number of data. The oscillation frequency of the crystal oscillation unit 136 is controlled so as to reduce the time difference. Details of the configuration of the crystal oscillation frequency control unit 135 will be described later.

制御部107の水晶発振部136は、水晶発振子を有し、発振周波数の電圧振幅信号(周波数信号)を第1クロック生成部131、パケット生成部132および水晶発振周波数制御部135に出力する。また、水晶発振部136は、水晶発振周波数制御部135の制御に基づき、発振周波数を微調整する。なお、水晶発振部136の構成の詳細については後述する。   The crystal oscillation unit 136 of the control unit 107 includes a crystal oscillator, and outputs a voltage amplitude signal (frequency signal) of an oscillation frequency to the first clock generation unit 131, the packet generation unit 132, and the crystal oscillation frequency control unit 135. The crystal oscillation unit 136 finely adjusts the oscillation frequency based on the control of the crystal oscillation frequency control unit 135. The details of the configuration of the crystal oscillation unit 136 will be described later.

送信データ処理部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 indicated by the switching control signal (SW CON) from the control unit 107.

受信データ反転部112は、接続状態検出部134において2線ケーブルが逆接続であると判定された場合、受信ドライバ111から出力された下り信号を反転させて受信データ処理部113に出力する。一方、受信データ反転部112は、接続状態検出部134において2線ケーブルが正接続であると判定された場合、受信ドライバ111から出力された下り信号をそのまま受信データ処理部113に出力する。   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 and outputs the inverted signal to the reception data processing unit 113. On the other hand, the reception data inverting unit 112 outputs the downlink signal output from the reception driver 111 to the reception data processing unit 113 as it is when the connection state detection unit 134 determines that the two-wire cable is a normal connection.

受信データ処理部113は、第1クロック生成部131から出力された第1周波数のクロック(CLK)を使用し、受信ドライバ111から出力された下り信号に含まれるプリアンブルデータを用いてドアホン親機200との同期(受信データの各ビットの先頭のタイミング)を検出する。そして、受信データ処理部113は、プリアンブルデータのユニークパターンを検出したタイミングで、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部133に出力する。   The reception data processing 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, the intercom base unit 200. (The timing at the beginning of each bit of received data) is detected. Then, the received data processing unit 113 outputs an enable signal (SSCS) for permitting the data reproduction operation to the data reproduction unit 133 at the timing when the unique pattern of the preamble data is detected.

また、受信データ処理部113は、受信データ反転部112から出力された下り信号(受信データ)を復号し、復号データをデータ再生部133に出力する。また、受信データ処理部113は、第1クロック生成部131から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、データ再生部133に出力する。なお、受信データ処理部113の構成の詳細については、後述する。   The reception data processing unit 113 also decodes the downlink signal (reception data) output from the reception data inversion unit 112 and outputs the decoded data to the data reproduction unit 133. Also, the reception data processing unit 113 uses the first frequency clock (CLK) output from the first clock generation unit 131 as a reference, and the second frequency (for example, 4.8 MHz) clock corresponding to the bit rate of the reception data. (SSCK) is generated and output to the data reproducing unit 133. Details of the configuration of the reception data processing unit 113 will be described later.

識別子記憶部114は、ドアホン親機200から受信した自機IDslaveおよびIDmasterを記憶する。 The identifier storage unit 114 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、水晶発振部236を有する。また、ドアホン親機200は、送信データ処理部208、送信データ反転部209、送信ドライバ210、受信ドライバ211およびルーティング制御部212、受信データ処理部213、識別子記憶部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, a crystal oscillation frequency control unit 235, and a crystal oscillation unit 236. The intercom base unit 200 includes a transmission data processing unit 208, a transmission data reversing unit 209, a transmission driver 210, a reception driver 211 and a routing control unit 212, a reception data processing unit 213, an identifier storage unit 214, and a nonvolatile memory 215. . 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は、受信データをサンプリングするためのクロックであって、水晶発振部236の発振周波数を基準に、受信データのビットレートのn倍に対応する第1周波数(例えば、48MHz(n=10))のクロック(CLK)を生成し、受信データ処理部213に出力する。   The first clock generation unit 231 of the control unit 207 is a clock for sampling the reception data, and is based on the oscillation frequency of the crystal oscillation unit 236 and has a first frequency corresponding to n times the bit rate of the reception data ( For example, a 48 MHz (n = 10)) clock (CLK) is generated and output to the reception data processing unit 213.

制御部207のパケット生成部232は、映像付き通話を実現するための下りパケットを生成する。具体的には、パケット生成部232は、音声I/F部205から出力されたデジタル音声データを適宜分割して各タイムスロットのユーザデータフィールドに書き込み、自機(ドアホン親機200)に固有の識別子(以下、「自機IDmaster」という)および通信相手の機器の識別子を含む制御データを各タイムスロットの制御データフィールドに書き込む。さらに、パケット生成部232は、各タイムスロットに、プリアンブルデータ、シンクパターンを書き込み、下りパケット(送信データ)を生成する。さらに、パケット生成部232は、送信用のイネーブル信号(SSCS)および送信用の第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成する。そして、パケット生成部232は、下りパケットを、送信用のイネーブル信号(SSCS)およびクロック(SSCK)と同期させて、送信データ処理部208に出力する。なお、クロック(SSCK)は、水晶発振部236の発振周波数を基準にして生成される。 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 time slot, and is unique to the own device (doorphone master device 200). Control data including an identifier (hereinafter referred to as “own device ID master ”) and the identifier of the communication partner device is written in the control data field of each time slot. Furthermore, the packet generation unit 232 writes preamble data and a sync pattern in each time 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). The clock (SSCK) is generated based on the oscillation frequency of the crystal oscillation unit 236.

また、パケット生成部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, camera operations (data rate, pan, tilt, light, shutter, filter, and other operations) from 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.

なお、玄関子機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)を入力すると、受信データ処理部213から出力された第2周波数のクロック(SSCK)を使用し、受信データ処理部213から出力された上りパケットを再生し、再生した上りパケット(復号データ)に含まれるデジタル音声データを音声I/F部205に出力し、デジタル映像データをディスプレイ部206に出力し、シンクパターンを接続状態検出部234に出力する。また、データ再生部233は、再生した下りパケット(デジタル通信フレーム)を水晶発振周波数制御部235に出力する。   When the data reproduction unit 233 of the control unit 207 receives the enable signal (SSCS) from the reception data processing unit 213, the data reproduction unit 233 uses the second frequency clock (SSCK) output from the reception data processing unit 213, The uplink packet output from 213 is reproduced, the digital audio data included in the reproduced uplink packet (decoded data) is output to the audio I / F unit 205, the digital video data is output to the display unit 206, and the sync pattern is set. The data is output to the connection state detection unit 234. In addition, the data reproduction unit 233 outputs the reproduced downlink packet (digital communication frame) to the crystal oscillation frequency control unit 235.

また、データ再生部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は、データ再生部233から出力された再生データの規定のデータ数が占める時間と、この規定のデータ数に対応する内部の計測用クロックのカウントによる時間との時間差を減らすように、水晶発振部236の発振周波数を制御する。なお、水晶発振周波数制御部235は、受信データ処理部213からのイネーブル信号で、水晶発振部236に対する制御動作をオン/オフする。具体的には、水晶発振周波数制御部235は、ドアホン親機200が、スロット管理を行うマスタ親機である場合には、水晶発振部236の発振周波数を調整しない。一方、水晶発振周波数制御部235は、ドアホン親機200が、スロット管理を行わないスレーブ親機である場合には、水晶発振部236の発振周波数を調整する。   The crystal oscillation frequency control unit 235 of the control unit 207 includes a time occupied by a specified number of reproduction data output from the data reproduction unit 233, and a time by counting an internal measurement clock corresponding to the specified number of data. The oscillation frequency of the crystal oscillating unit 236 is controlled so as to reduce the time difference. The crystal oscillation frequency control unit 235 turns on / off the control operation for the crystal oscillation unit 236 by an enable signal from the reception data processing unit 213. Specifically, the crystal oscillation frequency control unit 235 does not adjust the oscillation frequency of the crystal oscillation unit 236 when the doorphone main unit 200 is a master base unit that performs slot management. On the other hand, the crystal oscillation frequency control unit 235 adjusts the oscillation frequency of the crystal oscillation unit 236 when the intercom base unit 200 is a slave base unit that does not perform slot management.

制御部207の水晶発振部236は、水晶発振子を有し、発振周波数の電圧振幅信号(周波数信号)を第1クロック生成部231、パケット生成部232および水晶発振周波数制御部235に出力する。また、水晶発振部236は、水晶発振周波数制御部235の制御に基づき、発振周波数を微調整する。   The crystal oscillation unit 236 of the control unit 207 includes a crystal oscillator, and outputs a voltage amplitude signal (frequency signal) of the oscillation frequency to the first clock generation unit 231, the packet generation unit 232, and the crystal oscillation frequency control unit 235. The crystal oscillation unit 236 finely adjusts the oscillation frequency based on the control of the crystal oscillation frequency control unit 235.

送信データ処理部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. The data is transmitted to the slave unit 100 or the expansion monitor 300.

受信ドライバ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に出力し、増設モニタ300宛である場合には対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、送信データ処理部208から出力された玄関子機100宛の下り信号を、対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、増設モニタ300から送信され、受信ドライバ211−iから出力された玄関子機100宛の上り信号を、対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、ルーティング(通信ルートの有効/無効)の制御を行う。なお、ルーティング制御部212が行うルーティング制御の具体例については後述する。   The routing control unit 212 outputs the upstream signal transmitted from the front door slave unit 100 and output from the reception driver 211-i to the reception data processing unit 213 when addressed to the intercom master unit 200, and to the extension monitor 300. 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は、プリアンブルデータのユニークパターンを検出したタイミングで、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部233および水晶発振周波数制御部235に出力する。   The reception data processing 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. 100 (synchronization with the head of each bit of received data) is detected. The received data processing unit 213 outputs an enable signal (SSCS) for permitting the data reproduction operation to the data reproduction unit 233 and the crystal oscillation frequency control unit 235 at the timing when the unique pattern of the preamble data is detected.

また、受信データ処理部213は、ルーティング制御部212から出力された上り信号(受信データ)を復号し、復号データをデータ再生部233に出力する。また、受信データ処理部213は、第1クロック生成部231から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、データ再生部233に出力する。   The reception data processing unit 213 decodes the uplink signal (reception data) output from the routing control unit 212 and outputs the decoded data to the data reproduction unit 233. The reception data processing unit 213 uses the first frequency clock (CLK) output from the first clock generation unit 231 as a reference, and the second frequency (for example, 4.8 MHz) clock corresponding to the bit rate of the reception data. (SSCK) is generated and output to the data reproduction unit 233.

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

不揮発性メモリ215は、水晶発振部236のレジスタの初期値等を保持する。   The nonvolatile memory 215 holds an initial value of a register of the crystal oscillation unit 236 and the like.

<増設モニタの構成>
次に、増設モニタ300の構成について、図5のブロック図を用いて説明する。図5に示すように、増設モニタ300は、ケーブル接続部301、キー入力部302、スピーカ303、マイク304、音声I/F(インターフェイス)部305、ディスプレイ部306および制御部307を有する。制御部307は、内部に、第1クロック生成部331、パケット生成部332、データ再生部333、接続状態検出部334、水晶発振周波数制御部335、水晶発振部336を有する。また、増設モニタ300は、送信データ処理部308、送信データ反転部309、送信ドライバ310、受信ドライバ311、受信データ反転部312、受信データ処理部313、識別子記憶部314を有する。
<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, a connection state detection unit 334, a crystal oscillation frequency control unit 335, and a crystal oscillation unit 336. The expansion monitor 300 includes a transmission data processing unit 308, a transmission data reversing unit 309, a transmission driver 310, a reception driver 311, a reception data reversing unit 312, a reception data processing unit 313, and an identifier storage unit 314.

ケーブル接続部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は、受信データをサンプリングするためのクロックであって、水晶発振部336の発振周波数を基準に、受信データのビットレートのn倍に対応する第1周波数(例えば、48MHz(n=10))のクロック(CLK)を生成し、受信データ処理部313に出力する。   The first clock generation unit 331 of the control unit 307 is a clock for sampling the reception data, and uses a first frequency (corresponding to n times the bit rate of the reception data with reference to the oscillation frequency of the crystal oscillation unit 336). For example, a 48 MHz (n = 10)) clock (CLK) is generated and output to the reception data processing unit 313.

制御部307のパケット生成部332は、映像付き通話を実現するための上りパケットを生成する。具体的には、パケット生成部332は、音声I/F部305から出力されたデジタル音声データを適宜分割して各タイムスロットのユーザデータフィールドに書き込み、自機(増設モニタ300)に固有の識別子(以下、「自機IDmonitor」という)およびIDmasterを含む制御データを各タイムスロットの制御データフィールドに書き込む。さらに、パケット生成部332は、各タイムスロットに、プリアンブルデータ、シンクパターンを書き込み、上りパケット(送信データ)を生成する。さらに、パケット生成部332は、送信用のイネーブル信号(SSCS)および送信用の第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成する。そして、パケット生成部332は、上りパケットを、送信用のイネーブル信号(SSCS)およびクロック(SSCK)と同期させて、送信データ処理部308に出力する。なお、クロック(SSCK)は、水晶発振部336の発振周波数を基準にして生成される。 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, writes it in the user data field of each time slot, and an identifier unique to the own device (additional monitor 300) (Hereinafter referred to as “own device ID monitor ”) and the control data including the ID master are written in the control data field of each time slot. Further, the packet generation unit 332 writes preamble data and a sync pattern in each time 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). The clock (SSCK) is generated based on the oscillation frequency of the crystal oscillation unit 336.

なお、増設モニタ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)を入力すると、受信データ処理部313から出力された第2周波数のクロック(SSCK)を使用し、受信データ処理部313から出力された下りパケットを再生し、再生した下りパケット(復号データ)に含まれるデジタル映像データをディスプレイ部306に出力し、デジタル音声データを音声I/F部305に出力し、シンクパターンを接続状態検出部334に出力する。また、データ再生部333は、再生した下りパケット(デジタル通信フレーム)を水晶発振周波数制御部335に出力する。なお、データ再生部333は、初期登録時に、下りパケットに含まれる自機IDmonitorおよびIDmasterを識別子記憶部314に記憶させる。 When the data reproduction unit 333 of the control unit 307 receives the enable signal (SSCS) from the reception data processing unit 313, the data reproduction unit 333 uses the second frequency clock (SSCK) output from the reception data processing unit 313, and receives the reception data processing unit. The downlink packet output from 313 is reproduced, the digital video data included in the reproduced downlink packet (decoded data) is output to the display unit 306, the digital audio data is output to the audio I / F unit 305, and the sync pattern is set. The data is output to the connection state detection unit 334. The data reproducing unit 333 outputs the reproduced downlink packet (digital communication frame) to the crystal oscillation frequency control unit 335. Note that the data reproduction unit 333 causes the identifier storage unit 314 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.

制御部307の水晶発振周波数制御部335は、データ再生部333から出力された再生データの規定のデータ数が占める時間と、この規定のデータ数に対応する内部の計測用クロックのカウントによる時間との時間差を減らすように、水晶発振部336の発振周波数を制御する。   The crystal oscillation frequency control unit 335 of the control unit 307 includes a time occupied by a specified number of reproduction data output from the data reproduction unit 333 and a time by counting an internal measurement clock corresponding to the specified number of data. The oscillation frequency of the crystal oscillation unit 336 is controlled so as to reduce the time difference.

制御部307の水晶発振部336は、水晶発振子を有し、発振周波数の電圧振幅信号(周波数信号)を第1クロック生成部331、パケット生成部332および水晶発振周波数制御部335に出力する。また、水晶発振部336は、水晶発振周波数制御部335の制御に基づき、発振周波数を微調整する。   The crystal oscillation unit 336 of the control unit 307 has a crystal oscillator and outputs a voltage amplitude signal (frequency signal) of the oscillation frequency to the first clock generation unit 331, the packet generation unit 332, and the crystal oscillation frequency control unit 335. The crystal oscillation unit 336 finely adjusts the oscillation frequency based on the control of the crystal oscillation frequency control unit 335.

送信データ処理部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に出力する。一方、受信データ反転部312は、接続状態検出部334において2線ケーブルが正接続であると判定された場合、受信ドライバ311から出力された下り信号をそのまま受信データ処理部313に出力する。   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 and outputs the inverted signal to the reception data processing unit 313. On the other hand, the reception data reversing unit 312 outputs the downlink signal output from the reception driver 311 to the reception data processing unit 313 as it is when the connection state detection unit 334 determines that the two-wire cable is a normal connection.

受信データ処理部313は、第1クロック生成部331から出力された第1周波数のクロック(CLK)を使用し、受信ドライバ311から出力された下り信号に含まれるプリアンブルデータを用いてドアホン親機200との同期(受信データの各ビットの先頭のタイミング)を検出する。そして、受信データ処理部313は、プリアンブルデータのユニークパターンを検出したタイミングで、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部333に出力する。   The reception data processing 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, the intercom base unit 200. (The timing at the beginning of each bit of received data) is detected. Then, the reception data processing unit 313 outputs an enable signal (SSCS) for permitting the data reproduction operation to the data reproduction unit 333 at the timing when the unique pattern of the preamble data is detected.

また、受信データ処理部313は、受信データ反転部312から出力された下り信号(受信データ)を復号し、復号データをデータ再生部333に出力する。また、受信データ処理部313は、第1クロック生成部131から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、データ再生部333に出力する。   The reception data processing unit 313 decodes the downlink signal (reception data) output from the reception data inversion unit 312 and outputs the decoded data to the data reproduction unit 333. The reception data processing unit 313 uses the first frequency clock (CLK) output from the first clock generation unit 131 as a reference, and the second frequency (eg, 4.8 MHz) clock corresponding to the bit rate of the reception data. (SSCK) is generated and output to the data reproduction unit 333.

識別子記憶部314は、ドアホン親機200から受信した自機IDmonitorおよびIDmasterを記憶する。 The identifier storage unit 314 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 the like. 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を用いる。図10の例において、プリアンブルデータおよびそのユニークパターンは、図8に示したものを用いる。なお、図10では、第1クロック生成部131が48MHzのクロック(CLK)を生成し、第2クロック生成部156が4.8MHzのクロック(SSCK)を生成している場合を示している。
<Internal configuration of received data processing unit>
Next, details of the internal configuration of the reception data processing unit 113 of the front door device 100 will be described with reference to FIG. In the description, FIG. 10 is used in conjunction 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 illustrates a case where the first clock generation unit 131 generates a 48 MHz clock (CLK) and the second clock generation unit 156 generates a 4.8 MHz clock (SSCK).

図9に示すように、受信データ処理部113は、第1のユニークパターン検出部151、第2のユニークパターン検出部152、イネーブル信号生成部153、タイミング調整部154、受信データ復号部155および第2クロック生成部156を有する。   As shown in FIG. 9, the reception data processing unit 113 includes a first unique pattern detection unit 151, a second unique pattern detection unit 152, an enable signal generation unit 153, a timing adjustment unit 154, a reception data decoding unit 155, and A two-clock generation unit 156 is included.

受信データ反転部112から出力された受信データは、第1のユニークパターン検出部151、第2のユニークパターン検出部152、タイミング調整部154および受信データ復号部155に入力される。第1クロック生成部131のクロック(CLK)は、第1のユニークパターン検出部151、第2のユニークパターン検出部152、タイミング調整部154、受信データ復号部155および第2クロック生成部156に入力される。   The reception data output from the reception data inversion unit 112 is input to the first unique pattern detection unit 151, the second unique pattern detection unit 152, the timing adjustment unit 154, and the reception data decoding unit 155. The clock (CLK) of the first clock generation unit 131 is input to the first unique pattern detection unit 151, the second unique pattern detection unit 152, the timing adjustment unit 154, the reception data decoding unit 155, and the second clock generation unit 156. Is done.

第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のいずれかから、ユニークパターンを検出した旨を示す信号を入力すると(図10のタイミング510)、データ再生動作を許可するイネーブル信号をタイミング調整部154およびデータ再生部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 (timing 510 in FIG. 10), data An enable signal for permitting the reproduction operation is output to the timing adjustment unit 154 and the data reproduction unit 133 (in the example of FIG. 10, the enable signal SSCS is lowered to be an L (Low) signal (set to active)).

タイミング調整部154は、内部にタイミング生成用カウンタを有し、イネーブル信号生成部153からイネーブル信号を入力すると、先頭の受信データ(シンクパターン1ビット目)の波形エッジを検出する。なお、先頭の受信データは、プリアンブルデータとシンクパターンの間の波形エッジであるデータ反転のタイミング511から始まる。   The timing adjustment unit 154 includes a timing generation counter therein, and when an enable signal is input from the enable signal generation unit 153, detects the waveform edge of the first reception data (the first bit of the sync pattern). The first received data starts from a data inversion timing 511 that is a waveform edge between the preamble data and the sync pattern.

そして、タイミング調整部154は、該波形エッジを検出した後に、第1周波数のクロックで、タイミング生成用カウンタによる「0」から「9」までのカウントを繰り返し行い、各受信データの波形エッジのタイミングにおけるカウンタ値を観測する。そして、該カウンタ値が正常な値と異なる場合、タイミング調整部154は、カウンタ値を補正し、補正後のカウンタ値を受信データ復号部155および第2クロック生成部156に出力する。これにより、カウンタ値が所定の値となる範囲であるデータ再生ウィンドウの範囲(図10の範囲502)の開始タイミングが調整される。   Then, after detecting the waveform edge, the timing adjustment unit 154 repeatedly counts “0” to “9” by the timing generation counter with the clock of the first frequency, and the timing of the waveform edge of each received data Observe the counter value at. When the counter value is different from the normal value, the timing adjustment unit 154 corrects the counter value and outputs the corrected counter value to the reception data decoding unit 155 and the second clock generation unit 156. As a result, the start timing of the data reproduction window range (range 502 in FIG. 10), which is a range in which the counter value becomes a predetermined value, is adjusted.

受信データ復号部155は、タイミング調整部154からカウンタ値を入力し、データ再生ウィンドウの範囲(図10の範囲502)で、受信データ1ビット分の波形の論理反転をスキャン検出し、当該受信データ1ビット分のマンチェスタエンコードされた波形の論理反転に対応したデータの復号処理を行い、復号データをデータ再生部133に出力する。図10の例では、受信データ復号部155は、範囲502において、波形が「H」から「L」に反転した場合には復号データ「1」を出力し、波形が「L」から「H」に反転した場合には復号データ「0」を出力する。2番目の受信データが受信データ復号部155に入力される時間とほぼ同じ時間に、先頭の受信データの復号データが受信データ復号部155から一定の時間遅延して出力される。なお、受信データ復号部155が行う受信データの復号処理の詳細については後述する。   The reception data decoding unit 155 receives the counter value from the timing adjustment unit 154, scans and detects a logical inversion of the waveform for one bit of reception data in the range of the data reproduction window (range 502 in FIG. 10), and receives the reception data. The data corresponding to the logical inversion of the Manchester encoded waveform for one bit is decoded, and the decoded data is output to the data reproducing unit 133. In the example of FIG. 10, the received data decoding unit 155 outputs decoded data “1” when the waveform is inverted from “H” to “L” in the range 502, and the waveform is changed from “L” to “H”. When inverted, the decoded data “0” is output. The decoded data of the first received data is output from the received data decoding unit 155 with a certain time delay at approximately the same time as the time when the second received data is input to the received data decoding unit 155. Details of the received data decoding process performed by the received data decoding unit 155 will be described later.

第2クロック生成部156は、タイミング調整部154からカウンタ値(「0」〜「9」)を入力し、2番目の受信データのカウンタ値「0」(図10のタイミング512)で、SSCKの出力(図10では「L」)を開始し、先頭の受信データのカウンタ値「5」で、一定の遅延後にある先頭の復号データ用のSSCKの論理を「L」から「H」に反転し、2番目の受信データのカウンタ値「0」で、先頭の復号データと2番目の復号データの境界のSSCKの論理を「H」から「L」に反転する。その後、第2クロック生成部156は、再生クロックSSCKについて、カウント値「0」での「H」から「L」への論理反転およびカウント値「5」での「L」から「H」への論理反転を繰返す。そして、第2クロック生成部156は、「L」から「H」へ論理反転したタイミングで、第2周波数(例えば、4.8MHz)のクロック(SSCK)をデータ再生部133に出力する。   The second clock generation unit 156 receives the counter value (“0” to “9”) from the timing adjustment unit 154, and at the counter value “0” (timing 512 in FIG. 10) of the second received data, Output ("L" in FIG. 10) is started, and the SSCK logic for the first decoded data after a certain delay is inverted from "L" to "H" with the counter value "5" of the first received data. The SSCK logic at the boundary between the first decoded data and the second decoded data is inverted from “H” to “L” with the counter value “0” of the second received data. Thereafter, the second clock generation unit 156 performs logical inversion from “H” to “L” at the count value “0” and “L” to “H” at the count value “5” for the recovered clock SSCK. Repeat logic inversion. Then, the second clock generation unit 156 outputs a clock (SSCK) of the second frequency (for example, 4.8 MHz) to the data reproduction unit 133 at the timing of logical inversion from “L” to “H”.

ドアホン親機200の受信データ処理部213の内部構成および増設モニタ300の受信データ処理部313の内部構成は、玄関子機100の受信データ処理部113の内部構成と同一である。   The internal configuration of the reception data processing unit 213 of the door phone main unit 200 and the internal configuration of the reception data processing unit 313 of the extension monitor 300 are the same as the internal configuration of the reception data processing unit 113 of the front door device 100.

<水晶発振周波数の要件>
次に、本実施の形態の水晶発振周波数の要件について、図11を用いて説明する。
<Requirements for crystal oscillation frequency>
Next, requirements for the crystal oscillation frequency of the present embodiment will be described with reference to FIG.

送信側の機器の水晶発振周波数を基準に生成したクロックでサンプリングして生成されたデータのタイムスロットを、受信側の機器の水晶発振周波数を基準に生成したクロックでサンプリングした場合、本実施の形態のシステムはタイムスロット内のシンクパターンの第1ビットで再同期するシステムであるため、同タイムスロット内のシンクパターンの第1ビットから1552ビット(= 2 + 32 + 160 ) x 8)後のユーザデータの最終ビットのデータにおいて、送信側のクロックに対する受信側のクロックのずれが最大となる。なお、本システムでは、次のタイムスロットにおいて、シンクパターンの第1ビットで再同期する。   When the time slot of the data generated by sampling with the clock generated with reference to the crystal oscillation frequency of the transmitting device is sampled with the clock generated with reference to the crystal oscillation frequency of the receiving device, this embodiment Since this system is a system that resynchronizes with the first bit of the sync pattern in the time slot, the user after 1552 bits (= 2 + 32 + 160) x 8) from the first bit of the sync pattern in the same time slot In the data of the last bit of data, the deviation of the clock on the reception side with respect to the clock on the transmission side becomes the maximum. In this system, resynchronization is performed with the first bit of the sync pattern in the next time slot.

ここで、システム要件として、上記タイムスロットの1552ビットのデータをサンプリングした場合のクロックのずれの許容範囲が、1ビットデータ長の1/5(前後1/10)まで、すなわち±64ppm(= 1/1552 x 1/5 x 1/2)以内とする。送信側のクロックを規準にした場合、受信側のクロックのずれが、常に±64ppm以内になるように受信側の水晶発振周波数が調整されていれば、受信側の機器は受信データを復号処理できる。   Here, as a system requirement, the allowable range of clock deviation when sampling 1552 bits of data in the time slot is 1/5 (1/10 before and after) of 1 bit data length, that is, ± 64 ppm (= 1) / 1552 x 1/5 x 1/2). If the transmitting side clock is used as a standard, the receiving side device can decode the received data if the receiving side crystal oscillation frequency is adjusted so that the deviation of the receiving side clock is always within ± 64 ppm. .

そこで、本実施の形態では、図11に示すように、規定のデータ数(例えば100フレーム分のデータ数)で、送信側データ時間601と受信側の計測時間602との時間差603を検出し、その時間差に応じて、受信側の水晶発振周波数を調整する。送信側データ時間601とは、送信側の機器の水晶発振周波数を基準に生成された通信用クロックでサンプリングした送信データの規定のデータ数が占める時間である。受信側の計測時間602とは、受信側の機器の水晶発振周波数を基準に生成された通信クロックでカウントした規定のデータ数に相当する時間である。   Therefore, in the present embodiment, as shown in FIG. 11, a time difference 603 between the transmission side data time 601 and the reception side measurement time 602 is detected with a specified number of data (for example, the number of data for 100 frames), The crystal oscillation frequency on the receiving side is adjusted according to the time difference. The transmission-side data time 601 is a time occupied by a prescribed number of transmission data sampled with a communication clock generated based on the crystal oscillation frequency of the transmission-side device. The measurement time 602 on the reception side is a time corresponding to a specified number of data counted with a communication clock generated based on the crystal oscillation frequency of the device on the reception side.

なお、1つのタイムスロットあるいは1つのフレーム(24個のタイムスロット)にて、送信側データ時間と受信側の計測時間との時間差を検出しようとすると、差分の累積が小さく、時間差が短いため、高速のクロックが必要となってしまう。   If one time slot or one frame (24 time slots) is used to detect the time difference between the transmission side data time and the reception side measurement time, the difference accumulation is small and the time difference is short. A high-speed clock is required.

また、本実施の形態では、調整幅の最小レンジを、例えばMAX±5ppm等、システム要件に応じて予め決定しておく。調整幅の最小レンジにより、時間差を検出するための計測用クロックの周波数が決まる。   In the present embodiment, the minimum range of the adjustment width is determined in advance according to system requirements, for example, MAX ± 5 ppm. The frequency of the measurement clock for detecting the time difference is determined by the minimum range of the adjustment width.

<水晶発振周波数制御部の内部構成>
次に、玄関子機100の水晶発振周波数制御部135の内部構成の詳細について、図12を用いて説明する。図12に示すように、水晶発振周波数制御部135は、計測用クロック生成部181、送信側データ時間計測部182、受信側内部時間計測部183、受信側時間差計算部184および調整値設定部185を有する。
<Internal configuration of crystal oscillation frequency controller>
Next, the details of the internal configuration of the crystal oscillation frequency control unit 135 of the entrance cordless handset 100 will be described with reference to FIG. As shown in FIG. 12, the crystal oscillation frequency control unit 135 includes a measurement clock generation unit 181, a transmission side data time measurement unit 182, a reception side internal time measurement unit 183, a reception side time difference calculation unit 184, and an adjustment value setting unit 185. Have

計測用クロック生成部181は、水晶発振部136の水晶発振周波数を基準に、調整幅の最小レンジに基づく周波数(例えば、48MHz)の計測用クロックを生成し、受信側内部時間計測部183および送信側データ時間計測部182に計測用クロックを継続的に出力する。ここで、計測用クロックおよび通信用クロックの周波数は、何れも、受信側の機器の水晶発振周波数を基準に生成された既知の値であり、計測用クロックの周波数は通信用クロックの周波数と等しくても良い。   The measurement clock generation unit 181 generates a measurement clock having a frequency (for example, 48 MHz) based on the minimum range of the adjustment width based on the crystal oscillation frequency of the crystal oscillation unit 136, and receives the reception-side internal time measurement unit 183 and the transmission. The measurement clock is continuously output to the side data time measurement unit 182. Here, the frequencies of the measurement clock and the communication clock are both known values generated based on the crystal oscillation frequency of the receiving device, and the frequency of the measurement clock is equal to the frequency of the communication clock. May be.

送信側データ時間計測部182は、データ再生部133から出力された再生データの規定のデータ数が占める時間(受信データのカウント開始ポイントからカウント終了ポイントまでの時間)(以下、「基準時間」という)を計測する。この基準時間は、送信側の機器であるドアホン親機200において、内部の水晶発振部236の発振周波数に基づいて生成された通信用クロックでサンプリングした送信データの規定のデータ数が占める時間(図11の601)に相当する。   The transmission-side data time measuring unit 182 occupies the time (the time from the count start point to the count end point of the received data) occupied by the specified number of reproduction data output from the data reproduction unit 133 (hereinafter referred to as “reference time”) ). This reference time is the time occupied by the specified number of transmission data sampled with the communication clock generated based on the oscillation frequency of the internal crystal oscillation unit 236 in the doorphone master unit 200 which is the transmission side device (see FIG. 11 601).

受信側内部時間計測部183は、通信用クロックでカウントした規定のデータ数に相当する時間を計測用クロックのカウント数に換算し、計測用クロック生成部181から出力された計測用クロックを、カウント開始ポイントから、規定のデータ数に相当する数だけカウントし、計測用クロックのカウント開始から終了までの時間(図11の602)(以下、「比較時間」という)を計測する。   The reception-side internal time measurement unit 183 converts the time corresponding to the specified number of data counted by the communication clock into the count number of the measurement clock, and counts the measurement clock output from the measurement clock generation unit 181. A number corresponding to the specified number of data is counted from the start point, and a time (602 in FIG. 11) from the start to the end of counting of the measurement clock (hereinafter referred to as “comparison time”) is measured.

なお、送信側データ時間計測部182および受信側内部時間計測部183におけるカウント開始ポイントに特に限定は無く、例えば、第1番目のフレーム内の第1タイムスロットのプリアンブルのユニークパターン検出後にSSCSが「H」から「L」に立ち下がったポイント(図10の510)とすれば良い。この場合、送信側データ時間計測部182におけるカウント終了ポイントは、規定数が100個であれば、第101番目のフレーム内の第1タイムスロットのSSCSが「H」から「L」に立ち下がったポイントとなる。また、プリアンブルとシンクパターンの境目のエッジ(図10の511)をカウント開始ポイントおよびカウント終了ポイントとしても良い。ここで、受信データ処理部113で出力され、データ再生部133を経由して、水晶発振周波数制御部135に入力されるSSCSが「H」から「L」に立ち下がったポイントを、送信側データの計測の開始ポイントおよび終了ポイントとして使用する場合、カウント開始ポイントのSSCSトリガからカウント終了ポイントのSSCSトリガまでの期間を、計測用クロック生成部181で生成された計測用クロックで計測する。   Note that the count start point in the transmission side data time measurement unit 182 and the reception side internal time measurement unit 183 is not particularly limited. For example, after the unique pattern of the preamble of the first time slot in the first frame is detected, the SSCS is “ A point (510 in FIG. 10) that falls from “H” to “L” may be used. In this case, the count end point in the transmission side data time measuring unit 182 is that the SSCS of the first time slot in the 101st frame falls from “H” to “L” if the specified number is 100. It becomes a point. Further, the edge (511 in FIG. 10) between the preamble and the sync pattern may be used as the count start point and the count end point. Here, the point at which SSCS output from the reception data processing unit 113 and input to the crystal oscillation frequency control unit 135 via the data reproduction unit 133 falls from “H” to “L” is defined as the transmission side data. When the measurement start point and the end point are used, the period from the SSCS trigger at the count start point to the SSCS trigger at the count end point is measured by the measurement clock generated by the measurement clock generation unit 181.

受信側時間差計算部184は、送信側データ時間計測部182で計測された基準時間と受信側内部時間計測部183で計測された比較時間との差(図11の603)を計算する。   The reception side time difference calculation unit 184 calculates a difference (603 in FIG. 11) between the reference time measured by the transmission side data time measurement unit 182 and the comparison time measured by the reception side internal time measurement unit 183.

調整値設定部185は、基準時間と比較時間とのずれを減らすために、受信側時間差計算部184で計算された時間差に対応する既知の容量値を水晶発振部136のレジスタ199(図13参照)に設定し、水晶発振部136の発振周波数を調整する。なお、受信側時間差計測部184で計算された時間差が所定の閾値以下になった場合には、調整値設定部185は、発振周波数の調整を停止しても良い。また、閾値にはヒステリシスを持たせても良い。   In order to reduce the difference between the reference time and the comparison time, the adjustment value setting unit 185 uses a known capacitance value corresponding to the time difference calculated by the reception-side time difference calculation unit 184 to register 199 of the crystal oscillation unit 136 (see FIG. 13). ) And the oscillation frequency of the crystal oscillation unit 136 is adjusted. Note that when the time difference calculated by the reception-side time difference measurement unit 184 is equal to or less than a predetermined threshold, the adjustment value setting unit 185 may stop adjusting the oscillation frequency. The threshold value may have hysteresis.

なお、本実施の形態では、上記の水晶発振周波数の調整動作を、通常動作時の受信データ処理と並行して、バックグランドで実施することができる。これにより、調整用の時間を設定する必要がなく、通常の受信動作で受信データのビットエラーが発生しない初期調整のばらつき範囲内であれば、高精度なデジタル通信を行うことができる。   In the present embodiment, the above-described crystal oscillation frequency adjustment operation can be performed in the background in parallel with the reception data processing during the normal operation. Accordingly, it is not necessary to set a time for adjustment, and high-precision digital communication can be performed as long as it is within a variation range of initial adjustment in which a bit error of received data does not occur in a normal reception operation.

また、本実施の形態では、計測用クロック生成部181が生成する計測用クロックの代わりに、第1クロック生成部131が生成するクロックを計測用クロックとして使用しても良い。   In this embodiment, instead of the measurement clock generated by the measurement clock generation unit 181, the clock generated by the first clock generation unit 131 may be used as the measurement clock.

また、ドアホン親機200の水晶発振周波数制御部235の内部構成および増設モニタ300の水晶発振周波数制御部335の内部構成は、玄関子機100の水晶発振周波数制御部135の内部構成と同一である。   Further, the internal configuration of the crystal oscillation frequency control unit 235 of the door phone main unit 200 and the internal configuration of the crystal oscillation frequency control unit 335 of the extension monitor 300 are the same as the internal configuration of the crystal oscillation frequency control unit 135 of the front door device 100. .

ただし、2世帯ドアホンシステムのドアホン親機200では、イネーブル信号で、水晶発振周波数制御部235の制御動作をオン/オフする。ドアホン親機200が、スロット管理を行うマスタ親機である場合には、水晶発振部236の発振周波数を調整しないため、レジスタ値を現状維持にする等、水晶発振周波数制御部235の動作をオフし、スロット管理を行わないスレーブ親機である場合には、水晶発振周波数制御部235の動作をオンする。また、電源ブレーカが切断された等の理由によりマスタ親機が通信不能になり、スレーブ親機が、規定の時間あるいは規定の回数においてマスタ親機からの応答がないことを検知すると、動作可能なスレーブ親機が、マスタ親機として動作を開始する。この場合、新たなマスタ親機の水晶発振周波数が調整の基準となり、新たなマスタ親機は水晶発振周波数制御部235の動作をオフする。   However, in the door phone master unit 200 of the two-door door phone system, the control operation of the crystal oscillation frequency control unit 235 is turned on / off by the enable signal. When the door phone parent device 200 is a master parent device that performs slot management, since the oscillation frequency of the crystal oscillation unit 236 is not adjusted, the operation of the crystal oscillation frequency control unit 235 is turned off such as maintaining the register value as it is. If the slave base unit does not perform slot management, the operation of the crystal oscillation frequency control unit 235 is turned on. Also, if the master base unit becomes unable to communicate due to reasons such as the power breaker being disconnected and the slave base unit detects that there is no response from the master base unit for a specified time or a specified number of times, it can operate. The slave base unit starts operating as the master base unit. In this case, the crystal oscillation frequency of the new master base unit becomes a reference for adjustment, and the new master base unit turns off the operation of the crystal oscillation frequency control unit 235.

他のドアホンシステムと接続しない単独のドアホンシステムの場合(図1においてドアホンシステム1a、1bが通信ケーブル11で接続しない場合)、ドアホン親機200は、常に水晶発振周波数制御部235の動作をオフする、あるいは、水晶発振周波数制御部235を具備しない。   In the case of a single door phone system that is not connected to other door phone systems (when the door phone systems 1a and 1b are not connected by the communication cable 11 in FIG. 1), the door phone parent device 200 always turns off the operation of the crystal oscillation frequency control unit 235. Alternatively, the crystal oscillation frequency control unit 235 is not provided.

また、基準となる水晶発振周波数を持つドアホン親機200がリセットで再起動する場合、ドアホン親機200は、不揮発性メモリ215に保持されている初期値にレジスタ値を設定し、通常動作前に全ての接続機器の水晶発振周波数の調整を完了させてから、通常動作に移行する。   In addition, when the doorphone parent device 200 having the reference crystal oscillation frequency is restarted by reset, the doorphone parent device 200 sets the register value to the initial value held in the nonvolatile memory 215, and before the normal operation. After completing the adjustment of the crystal oscillation frequency of all the connected devices, shift to normal operation.

<水晶発振部の内部構成>
次に、玄関子機100の水晶発振部136の内部構成の詳細について、図13を用いて説明する。図13に示すように、水晶発振部136は、水晶発振子190(振動周波数X1)、インバータ191、帰還抵抗192(抵抗値Rf)、ダンピング抵抗193(抵抗値Rd)、バッファ194、入力容量195(容量値C2)、出力容量196(容量値C3)からなる一般的なCMOSインバータ水晶発振回路に、入力容量197(容量値C1)、出力容量198(容量値C4)、レジスタ199を追加した構成を採る。
<Internal configuration of crystal oscillator>
Next, the details of the internal configuration of the crystal oscillation unit 136 of the entrance cordless handset 100 will be described with reference to FIG. As shown in FIG. 13, the crystal oscillation unit 136 includes a crystal oscillator 190 (vibration frequency X1), an inverter 191, a feedback resistor 192 (resistance value Rf), a damping resistor 193 (resistance value Rd), a buffer 194, and an input capacitor 195. A configuration in which an input capacitor 197 (capacitance value C1), an output capacitor 198 (capacitance value C4), and a register 199 are added to a general CMOS inverter crystal oscillation circuit composed of (capacitance value C2) and output capacitance 196 (capacitance value C3). Take.

入力容量197の容量値C1および出力容量198の容量値C4は、予め、レジスタ199の初期値に対応する規定値になるように設定される。   The capacitance value C1 of the input capacitor 197 and the capacitance value C4 of the output capacitor 198 are set in advance so as to be a prescribed value corresponding to the initial value of the register 199.

水晶発振周波数制御部135(調整値設定部185)によってレジスタ199に新たな値が設定されると、この値に応じて、入力容量197の容量値C1あるいは出力容量198の容量値C4が調整される。これにより、水晶発振部136の発振周波数は、送信側のドアホン親機200の水晶発振周波数に合うように微調整される。水晶発振部136の出力信号である発振周波数の電圧振幅信号(周波数信号)は、水晶発振周波数制御部135および第1クロック生成部131に出力される。   When a new value is set in the register 199 by the crystal oscillation frequency control unit 135 (adjustment value setting unit 185), the capacitance value C1 of the input capacitor 197 or the capacitance value C4 of the output capacitor 198 is adjusted according to this value. The As a result, the oscillation frequency of the crystal oscillation unit 136 is finely adjusted to match the crystal oscillation frequency of the doorphone master device 200 on the transmission side. A voltage amplitude signal (frequency signal) of an oscillation frequency that is an output signal of the crystal oscillation unit 136 is output to the crystal oscillation frequency control unit 135 and the first clock generation unit 131.

<同期検出処理のフロー>
次に、玄関子機100(受信データ処理部113、接続状態検出部134)における同期検出処理のフローについて図14を用いて説明する。
<Flow of synchronization detection processing>
Next, the flow of the synchronization detection process in the front door device 100 (the reception data processing unit 113 and the 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 reception data processing unit 113 uses the first unique pattern detection unit 151 and the second unique pattern detection unit 152 to generate a pre-demodulation signal output from the reception driver 111 using the clock of the first clock generation unit 131. Preamble data included in the downlink signal is sampled, and the unique pattern of the preamble data is checked based on the number of clocks in the measurement section that is either between adjacent falling edges or 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.

<初期登録までのシーケンス>
次に、本実施の形態に係る初期登録までのシーケンスについて図15を用いて説明する。
<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).

<待機状態から通信状態までのシーケンス>
次に、本実施の形態に係る待機状態(非同期通信時)から通信状態までのシーケンスについて図16を用いて説明する。なお、図16では、玄関子機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. In addition, in FIG. 16, the sequence in case the front cordless handset 100-1,100-2 and the expansion monitor 300 are connected with the door phone main unit 200 is shown.

各機器とドアホン親機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.

<玄関子機の動作>
図17は、玄関子機100の動作の一例を示すフローチャートである。
<Operation of entrance cordless handset>
FIG. 17 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.

<ドアホン親機の動作>
図18は、ドアホン親機200の動作の一例を示すフローチャートである。
<Operation of doorphone master unit>
FIG. 18 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の通常動作時のルーティング制御の具体例について、図19、図20を用いて説明する。図19の例では、ドアホン親機200(制御部207(図19では「親機制御部」と記載))が、いずれかのDRV(送信ドライバ(Tx)と受信ドライバ(Rx)のセット)1〜5を介して5個の機器(玄関子機100、増設モニタ300、他のドアホンシステムの親機)と接続している場合を示している。この場合、7種類の設定パターン(P1〜P7)が用意される。図20は、ルーティング制御部212の内部構成を示す図である。図20に示すように、ルーティング制御部212は、内部に、切替スイッチ2121およびOR回路2122を有する。
<Routing control during normal operation>
Next, a specific example of routing control during normal operation of door phone parent device 200 according to the present embodiment will be described with reference to FIGS. 19 and 20. In the example of FIG. 19, the intercom base unit 200 (control unit 207 (described as “base unit control unit” in FIG. 19)) 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. 20 is a diagram illustrating an internal configuration of the routing control unit 212. As illustrated in FIG. 20, the routing control unit 212 includes a changeover switch 2121 and an OR circuit 2122 inside.

設定パターンP1は、ドアホン親機200がいずれの機器ともデータの送受を行っていない待機状態におけるルーティング(通信ルートの有効/無効)を示す。設定パターンP1では、ドアホン親機200は、受信モード(送信を行わず、受信のみを行うモード)となり、制御部207は、図19に示すように受信モードであるため、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 setting pattern P1, door phone base unit 200 is in a reception mode (a mode in which only reception is performed without transmission), and control unit 207 is in a 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において、受信データ処理部213に出力すると同時に、当該データをそのまま、送信ドライバ(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 reception data processing unit 213 in the routing control unit 212, and at the same time, directly transmits the data 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 broadcasting. 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を通り、復号用として受信データ処理部213へ出力される。さらに、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 cordless handset 100 is received from the DRV 2, passes through the OR circuit 2122 of the routing control unit 212, and is output to the reception data processing unit 213 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の初期登録時のルーティング制御の具体例について、図20、図21を用いて説明する。図21の例では、ドアホン親機200(制御部207(図21では「親機制御部」と記載))が、いずれかの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. In the example of FIG. 21, a case where the doorphone master unit 200 (the control unit 207 (described as “master unit control unit” in FIG. 21)) 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へのパケットの送信は、図19の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. 19 are used for transmission of packets from each registration target device to the intercom base unit 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, the receiving-side device calculates the difference between the clock based on the oscillation frequency of the internal crystal oscillation unit and the clock based on the crystal oscillation frequency of the transmitting-side device. By adjusting the oscillation frequency of the internal crystal oscillation unit so as to reduce the deviation, the deviation of the crystal oscillation frequency between devices can be suppressed within the allowable range of system operation.

また、本実施の形態では、規定数(例えば、100個)のフレームにおける送信側と受信側との時間差を検出することにより、安価な水晶発振子を使用しても、送信側と受信側とのクロックのずれを高精度に計算することができる。   In this embodiment, even if an inexpensive crystal oscillator is used by detecting a time difference between a transmission side and a reception side in a prescribed number (for example, 100 frames), the transmission side and the reception side Can be calculated with high accuracy.

なお、本実施の形態では、時分割複信のデジタル通信を例に説明したが、本発明はこれに限られず、それぞれのシステム要件を満たすように水晶発振部の発振周波数を設定することにより、他のデジタル通信にも適用できる。例えば、その他の応用機器として、ビジネスホン(内線電話機と制御装置間)、ホームセキュリティ装置(監視カメラ装置と室内モニタ間、各種センサーノードと制御装置間)等の制御装置(通信装置)などであっても、同様の効果が得られる。   In this embodiment, the time-division duplex digital communication has been described as an example, but the present invention is not limited to this, and by setting the oscillation frequency of the crystal oscillation unit to satisfy each system requirement, It can be applied to other digital communications. For example, as other application devices, there are control devices (communication devices) such as business phones (between extension telephones and control devices), home security devices (between surveillance camera devices and indoor monitors, between various sensor nodes and control devices), etc. The same effect can be obtained.

本開示は、カメラ付きの玄関子機とドアホン親機とからなるドアホンシステムに用いるに好適である。   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、213、313 受信データ処理部
114、214、314 識別子記憶部
131、231、331 第1クロック生成部
132、232、332 パケット生成部
133、233、333 データ再生部
134、234、334 接続状態検出部
135、235、335 水晶発振周波数制御部
136、236、336 水晶発振部
151 第1のユニークパターン検出部
152 第2のユニークパターン検出部
153 イネーブル信号生成部
154 タイミング調整部
155 受信データ復号部
156 第2クロック生成部
181 計測用クロック生成部
182 送信側データ時間計測部
183 受信側内部時間計測部
184 受信側時間差計算部
185 調整値設定部
190 水晶発振子
191 インバータ
192 帰還抵抗
193 ダンピング抵抗
194 バッファ
195、197 入力容量
196、198 出力容量
199 レジスタ
200 ドアホン親機
206、306 ディスプレイ部
212 ルーティング制御部
215 不揮発性メモリ
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, 213, 313 Reception Data processing unit 114, 214, 314 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 135, 235 335 Crystal oscillation frequency control unit 136, 236, 336 Crystal oscillation unit 151 First unique pattern detection unit 152 Second unique pattern detection unit 153 Enable signal generation unit 154 Timing adjustment unit 155 Received data decoding unit 156 Second clock generation Unit 181 Measurement clock generation unit 182 Transmission side data time measurement unit 183 Reception side internal time measurement unit 184 Reception side time difference calculation unit 185 Adjustment value setting unit 190 Crystal oscillator 191 Inverter 192 Feedback resistor 193 Damping resistor 194 Buffer 195, 197 Input Capacity 196, 198 Output capacity 199 Register 200 Door phone master unit 206, 306 Display unit 212 Routing control unit 215 Non-volatile memory 300 Additional monitor

Claims (22)

親機と子機が2線ケーブルを介して接続され、前記親機と前記子機の間でデジタル通信を行い、前記親機および前記子機がそれぞれ内部の水晶発振子の発振周波数を基準に生成した前記デジタル通信のビットレートに対応する通信用クロックを生成するドアホンシステムの前記子機であって、
前記発振周波数の電圧振幅信号を出力する水晶発振部と、
前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第1時間と、前記子機側の通信用クロックでカウントした前記規定のデータ数に相当する第2時間との時間差を減らすように、前記水晶発振部の発振周波数を調整する水晶発振周波数制御部と、
を具備する子機。
The master unit and the slave unit are connected via a two-wire cable, and digital communication is performed between the master unit and the slave unit. The master unit and the slave unit are respectively based on the oscillation frequency of the internal crystal oscillator. The slave unit of the door phone system that generates a communication clock corresponding to the bit rate of the generated digital communication,
A crystal oscillation unit that outputs a voltage amplitude signal of the oscillation frequency;
Using a measurement clock generated based on the oscillation frequency, a first time occupied by a prescribed number of data transmitted from the parent device based on the communication clock of the parent device, and for communication on the child device side A crystal oscillation frequency control unit that adjusts an oscillation frequency of the crystal oscillation unit so as to reduce a time difference from a second time corresponding to the specified number of data counted by a clock;
A handset comprising
前記水晶発振周波数制御部は、
カウント開始ポイントから前記第1時間を計測する送信側データ時間計測部と、
前記カウント開始ポイントから前記第2時間を計測する受信側内部時間計測部と、
前記第1時間と前記第2時間との時間差を計算する受信側時間差計算部と、
前記時間差に対応する既知の容量値を前記水晶発振部に設定することにより、前記水晶発振部の発振周波数を調整する調整値設定部と、
を有する、
請求項1に記載の子機。
The crystal oscillation frequency controller is
A transmission-side data time measurement unit that measures the first time from a count start point;
A receiving-side internal time measuring unit that measures the second time from the count start point;
A receiving side time difference calculating unit for calculating a time difference between the first time and the second time;
An adjustment value setting unit for adjusting an oscillation frequency of the crystal oscillation unit by setting a known capacitance value corresponding to the time difference in the crystal oscillation unit;
Having
The subunit | mobile_unit of Claim 1.
前記発振周波数を基準に、受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、
前記第1周波数のクロックを基準に生成された、前記受信データのビットレートに対応する第2周波数の通信用クロックを出力する第2クロック生成部と、
前記第2周波数の通信用クロックを用いて前記受信データの各ビットを復号して復号データを得る受信データ復号部と、
前記第2周波数の通信用クロックを用いて前記復号データを再生して再生データを得るデータ再生部と、
を具備する、
請求項1または2に記載の子機。
A first clock generation unit that outputs a clock having a first frequency corresponding to n times (n is 1 or more) of a bit rate of received data with reference to the oscillation frequency;
A second clock generation unit configured to output a communication clock having a second frequency corresponding to a bit rate of the reception data, which is generated based on the clock having the first frequency;
A received data decoding unit that obtains decoded data by decoding each bit of the received data using the communication clock of the second frequency;
A data reproduction unit that reproduces the decoded data using the second frequency communication clock to obtain reproduction data;
Comprising
The subunit | mobile_unit of Claim 1 or 2.
前記水晶発振周波数制御部は、前記受信データ復号部および前記データ再生部の処理と平行して、前記水晶発振部の発振周波数を調整する処理を、バックグランドで実施する、
請求項3に記載の子機。
The crystal oscillation frequency control unit performs processing for adjusting the oscillation frequency of the crystal oscillation unit in the background in parallel with the processing of the reception data decoding unit and the data reproduction unit.
The subunit | mobile_unit of Claim 3.
前記水晶発振周波数制御部は、
調整幅の最小レンジによって決定された周波数の計測用クロックを生成するクロック生成部を更に具備する、
請求項1から4のいずれか一項に記載の子機。
The crystal oscillation frequency controller is
A clock generation unit that generates a measurement clock having a frequency determined by the minimum range of the adjustment width;
The subunit | mobile_unit as described in any one of Claim 1 to 4.
前記計測用クロックとして、前記第1周波数のクロックを使用する、
請求項3または4に記載の子機。
Using the first frequency clock as the measurement clock,
The subunit | mobile_unit of Claim 3 or 4.
2つの親機が2線ケーブルを介して接続され、前記2つの親機の間でデジタル通信を行い、前記各親機がそれぞれ子機と別の2線ケーブルを介して接続され、前記各親機が前記子機とデジタル通信を行い、前記親機および前記子機がそれぞれ内部の水晶発振子の発振周波数を基準に生成した前記デジタル通信のビットレートに対応する通信用クロックを生成するドアホンシステムの前記親機であって、
前記発振周波数の電圧振幅信号を出力する水晶発振部と、
前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第1時間と、前記子機側の通信用クロックでカウントした前記規定のデータ数に相当する第2時間との時間差を減らすように、前記水晶発振部の発振周波数を調整する水晶発振周波数制御部と、
を具備する親機。
Two master units are connected via a two-wire cable, digital communication is performed between the two master units, and each master unit is connected to a slave unit via a separate two-wire cable. A door phone system in which a machine performs digital communication with the slave unit, and the master unit and the slave unit each generate a communication clock corresponding to the bit rate of the digital communication generated based on the oscillation frequency of an internal crystal oscillator Said master unit,
A crystal oscillation unit that outputs a voltage amplitude signal of the oscillation frequency;
Using a measurement clock generated based on the oscillation frequency, a first time occupied by a prescribed number of data transmitted from the parent device based on the communication clock of the parent device, and for communication on the child device side A crystal oscillation frequency control unit that adjusts an oscillation frequency of the crystal oscillation unit so as to reduce a time difference from a second time corresponding to the specified number of data counted by a clock;
A master unit equipped with
前記水晶発振周波数制御部は、
カウント開始ポイントから前記第1時間を計測する送信側データ時間計測部と、
前記カウント開始ポイントから前記第2時間を計測する受信側内部時間計測部と、
前記第1時間と前記第2時間との時間差を計算する受信側時間差計算部と、
前記時間差に対応する既知の容量値を前記水晶発振部に設定することにより、前記水晶発振部の発振周波数を調整する調整値設定部と、
を有する、
請求項7に記載の親機。
The crystal oscillation frequency controller is
A transmission-side data time measurement unit that measures the first time from a count start point;
A receiving-side internal time measuring unit that measures the second time from the count start point;
A receiving side time difference calculating unit for calculating a time difference between the first time and the second time;
An adjustment value setting unit for adjusting an oscillation frequency of the crystal oscillation unit by setting a known capacitance value corresponding to the time difference in the crystal oscillation unit;
Having
The parent device according to claim 7.
前記発振周波数を基準に、受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、
前記第1周波数のクロックを基準に生成された、前記受信データのビットレートに対応する第2周波数の通信用クロックを出力する第2クロック生成部と、
前記第2周波数の通信用クロックを用いて前記受信データの各ビットを復号して復号データを得る受信データ復号部と、
前記第2周波数の通信用クロックを用いて前記復号データを再生して再生データを得るデータ再生部と、
を具備する、
請求項7または8に記載の親機。
A first clock generation unit that outputs a clock having a first frequency corresponding to n times (n is 1 or more) of a bit rate of received data with reference to the oscillation frequency;
A second clock generation unit configured to output a communication clock having a second frequency corresponding to a bit rate of the reception data, which is generated based on the clock having the first frequency;
A received data decoding unit that obtains decoded data by decoding each bit of the received data using the communication clock of the second frequency;
A data reproduction unit that reproduces the decoded data using the second frequency communication clock to obtain reproduction data;
Comprising
The master unit according to claim 7 or 8.
前記水晶発振周波数制御部は、前記受信データ復号部および前記データ再生部の処理と平行して、前記水晶発振部の発振周波数を調整する処理を、バックグランドで実施する、
請求項9に記載の親機。
The crystal oscillation frequency control unit performs processing for adjusting the oscillation frequency of the crystal oscillation unit in the background in parallel with the processing of the reception data decoding unit and the data reproduction unit.
The master unit according to claim 9.
前記水晶発振周波数制御部は、
調整幅の最小レンジによって決定された周波数の計測用クロックを生成するクロック生成部を更に具備する、
請求項7から10のいずれか一項に記載の親機。
The crystal oscillation frequency controller is
A clock generation unit that generates a measurement clock having a frequency determined by the minimum range of the adjustment width;
The master unit according to any one of claims 7 to 10.
前記計測用クロックとして、前記第1周波数のクロックを使用する、
請求項9または10に記載の親機。
Using the first frequency clock as the measurement clock,
The parent device according to claim 9 or 10.
前記水晶発振周波数制御部は、
自機がスロット管理を行うマスタ親機である場合には前記水晶発振部の発振周波数を調整する処理を行い、自機がスロット管理を行わないスレーブ親機である場合には前記水晶発振部の発振周波数を調整する処理を行わない、
請求項7から12のいずれか一項に記載の親機。
The crystal oscillation frequency controller is
When the own device is a master base unit that performs slot management, the process of adjusting the oscillation frequency of the crystal oscillation unit is performed. When the own unit is a slave base unit that does not perform slot management, the crystal oscillation unit Do not adjust the oscillation frequency.
The parent device according to any one of claims 7 to 12.
前記水晶発振周波数制御部は、
自機がスレーブ親機である場合に、規定の時間あるいは規定の回数においてマスタ親機からの応答がないことを検知すると、マスタ親機として前記水晶発振部の発振周波数を調整する処理を行う、
請求項13に記載の親機。
The crystal oscillation frequency controller is
When it is detected that there is no response from the master base unit at a specified time or a specified number of times when the own unit is a slave base unit, a process for adjusting the oscillation frequency of the crystal oscillation unit as the master base unit is performed.
The parent device according to claim 13.
前記水晶発振周波数制御部は、
リセットで再起動する場合、不揮発性メモリに保持されている前記水晶発振部の発振周波数の初期値を呼び出し、通常動作前に全ての接続機器の前記水晶発振部の発振周波数を調整する処理を完了させてから、通常動作に移行する、
請求項7から14のいずれか一項に記載の親機。
The crystal oscillation frequency controller is
When restarting by reset, call the initial value of the oscillation frequency of the crystal oscillation unit held in the nonvolatile memory and complete the process of adjusting the oscillation frequency of the crystal oscillation unit of all connected devices before normal operation And then move to normal operation,
The parent machine according to any one of claims 7 to 14.
親機と子機が2線ケーブルを介して接続され、前記親機と前記子機の間でデジタル通信を行い、前記親機がモニタと別の2線ケーブルを介して接続され、前記親機が前記モニタとデジタル通信を行い、前記親機、前記子機および前記モニタがそれぞれ内部の水晶発振子の発振周波数を基準に生成した前記デジタル通信のビットレートに対応する通信用クロックを生成するドアホンシステムの前記モニタであって、
前記発振周波数の電圧振幅信号を出力する水晶発振部と、
前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第1時間と、前記子機側の通信用クロックでカウントした前記規定のデータ数に相当する第2時間との時間差を減らすように、前記水晶発振部の発振周波数を調整する水晶発振周波数制御部と、
を具備するモニタ。
A master unit and a slave unit are connected via a two-wire cable, digital communication is performed between the master unit and the slave unit, and the master unit is connected via a separate two-wire cable to the monitor. Doorphone which performs digital communication with the monitor and generates a communication clock corresponding to the bit rate of the digital communication generated by the master unit, the slave unit, and the monitor based on the oscillation frequency of the internal crystal resonator Said monitor of the system,
A crystal oscillation unit that outputs a voltage amplitude signal of the oscillation frequency;
Using a measurement clock generated based on the oscillation frequency, a first time occupied by a prescribed number of data transmitted from the parent device based on the communication clock of the parent device, and for communication on the child device side A crystal oscillation frequency control unit that adjusts an oscillation frequency of the crystal oscillation unit so as to reduce a time difference from a second time corresponding to the specified number of data counted by a clock;
A monitor comprising:
前記水晶発振周波数制御部は、
カウント開始ポイントから前記第1時間を計測する送信側データ時間計測部と、
前記カウント開始ポイントから前記第2時間を計測する受信側内部時間計測部と、
前記第1時間と前記第2時間との時間差を計算する受信側時間差計算部と、
前記時間差に対応する既知の容量値を前記水晶発振部に設定することにより、前記水晶発振部の発振周波数を調整する調整値設定部と、
を有する、
請求項16に記載のモニタ。
The crystal oscillation frequency controller is
A transmission-side data time measurement unit that measures the first time from a count start point;
A receiving-side internal time measuring unit that measures the second time from the count start point;
A receiving side time difference calculating unit for calculating a time difference between the first time and the second time;
An adjustment value setting unit for adjusting an oscillation frequency of the crystal oscillation unit by setting a known capacitance value corresponding to the time difference in the crystal oscillation unit;
Having
The monitor according to claim 16.
前記発振周波数を基準に、受信データのビットレートのn倍(nは1以上)に対応する第1周波数のクロックを出力する第1クロック生成部と、
前記第1周波数のクロックを基準に生成された、前記受信データのビットレートに対応する第2周波数の通信用クロックを出力する第2クロック生成部と、
前記第2周波数の通信用クロックを用いて前記受信データの各ビットを復号して復号データを得る受信データ復号部と、
前記第2周波数の通信用クロックを用いて前記復号データを再生して再生データを得るデータ再生部と、
を具備する、
請求項16または17に記載のモニタ。
A first clock generation unit that outputs a clock having a first frequency corresponding to n times (n is 1 or more) of a bit rate of received data with reference to the oscillation frequency;
A second clock generation unit configured to output a communication clock having a second frequency corresponding to a bit rate of the reception data, which is generated based on the clock having the first frequency;
A received data decoding unit that obtains decoded data by decoding each bit of the received data using the communication clock of the second frequency;
A data reproduction unit that reproduces the decoded data using the second frequency communication clock to obtain reproduction data;
Comprising
The monitor according to claim 16 or 17.
前記水晶発振周波数制御部は、前記受信データ復号部および前記データ再生部の処理と平行して、前記水晶発振部の発振周波数を調整する処理を、バックグランドで実施する、
請求項18に記載のモニタ。
The crystal oscillation frequency control unit performs processing for adjusting the oscillation frequency of the crystal oscillation unit in the background in parallel with the processing of the reception data decoding unit and the data reproduction unit.
The monitor according to claim 18.
前記水晶発振周波数制御部は、
調整幅の最小レンジによって決定された周波数の計測用クロックを生成するクロック生成部を更に具備する、
請求項16から19のいずれか一項に記載のモニタ。
The crystal oscillation frequency controller is
A clock generation unit that generates a measurement clock having a frequency determined by the minimum range of the adjustment width;
The monitor according to any one of claims 16 to 19.
前記計測用クロックとして、前記第1周波数のクロックを使用する、
請求項18または19に記載のモニタ。
Using the first frequency clock as the measurement clock,
The monitor according to claim 18 or 19.
親機と子機が2線ケーブルを介して接続され、前記親機と前記子機の間でデジタル通信を行うドアホンシステムの通信方法であって、
前記親機が、
内部の水晶発振子の親機側発振周波数を基準に生成した前記デジタル通信のビットレートに対応する親機側の通信用クロックを生成し、
前記親機側の通信用クロックを基準に前記ビットレートの送信データを生成し、
前記2線ケーブルを介して前記送信データを前記子機に送信し、
前記子機が、
内部の水晶発振子の子機側発振周波数を基準に生成した前記デジタル通信のビットレートに対応する子機側の通信用クロックを生成し、
前記子機側の通信用クロックを基準に前記親機からの送信データを復号して再生し、
前記子機側の発振周波数を基準に子機側の計測用クロックを生成し、
前記子機側の計測用クロックを用いて、前記親機からの送信データの規定のデータ数が占める第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 digital communication is performed between the parent device and the child device,
The master unit is
Generate a communication clock on the base side corresponding to the bit rate of the digital communication generated based on the base side oscillation frequency of the internal crystal oscillator,
Generate transmission data of the bit rate based on the communication clock on the base unit side,
Transmitting the transmission data to the slave unit via the two-wire cable;
The slave is
Generate a communication clock on the handset side corresponding to the bit rate of the digital communication generated based on the handset side oscillation frequency of the internal crystal oscillator,
Decode and reproduce the transmission data from the base unit based on the communication clock on the slave side,
Generate a measurement clock on the slave side based on the oscillation frequency on the slave side,
Using the measurement clock on the slave unit side, this corresponds to the first time occupied by the prescribed number of transmission data from the master unit and the prescribed number of data counted by the communication clock on the slave unit side Adjusting the handset side oscillation frequency so as to reduce the time difference from the second time,
Communication method.
JP2016117352A 2016-06-13 2016-06-13 Door phone system, parent device, monitor, and communication method Active JP6569867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016117352A JP6569867B2 (en) 2016-06-13 2016-06-13 Door phone system, parent device, monitor, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016117352A JP6569867B2 (en) 2016-06-13 2016-06-13 Door phone system, parent device, monitor, and communication method

Publications (2)

Publication Number Publication Date
JP2017224898A true JP2017224898A (en) 2017-12-21
JP6569867B2 JP6569867B2 (en) 2019-09-04

Family

ID=60687166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016117352A Active JP6569867B2 (en) 2016-06-13 2016-06-13 Door phone system, parent device, monitor, and communication method

Country Status (1)

Country Link
JP (1) JP6569867B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021013115A (en) * 2019-07-08 2021-02-04 パナソニックIpマネジメント株式会社 Doorphone system and communication method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08274707A (en) * 1995-03-31 1996-10-18 Nec Corp Radio transmission and reception equipment
JPH11215111A (en) * 1998-01-26 1999-08-06 Mitsubishi Electric Corp Radio terminal equipment
JP2001197049A (en) * 2000-01-14 2001-07-19 Fujitsu Ltd Clock regenerating circuit and optical signal receiver using same
JP2007124227A (en) * 2005-10-27 2007-05-17 Sharp Corp Video doorphone system
JP2010081122A (en) * 2008-09-24 2010-04-08 Panasonic Electric Works Co Ltd Intercom system
JP2011155565A (en) * 2010-01-28 2011-08-11 Nippon Telegr & Teleph Corp <Ntt> Clock data recovery circuit
JP2013160521A (en) * 2012-02-01 2013-08-19 Nec Engineering Ltd Method for setting time, communication device, and time setting program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08274707A (en) * 1995-03-31 1996-10-18 Nec Corp Radio transmission and reception equipment
JPH11215111A (en) * 1998-01-26 1999-08-06 Mitsubishi Electric Corp Radio terminal equipment
JP2001197049A (en) * 2000-01-14 2001-07-19 Fujitsu Ltd Clock regenerating circuit and optical signal receiver using same
JP2007124227A (en) * 2005-10-27 2007-05-17 Sharp Corp Video doorphone system
JP2010081122A (en) * 2008-09-24 2010-04-08 Panasonic Electric Works Co Ltd Intercom system
JP2011155565A (en) * 2010-01-28 2011-08-11 Nippon Telegr & Teleph Corp <Ntt> Clock data recovery circuit
JP2013160521A (en) * 2012-02-01 2013-08-19 Nec Engineering Ltd Method for setting time, communication device, and time setting program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021013115A (en) * 2019-07-08 2021-02-04 パナソニックIpマネジメント株式会社 Doorphone system and communication method

Also Published As

Publication number Publication date
JP6569867B2 (en) 2019-09-04

Similar Documents

Publication Publication Date Title
CN106686271B (en) Door phone system and communication method thereof
JP5984028B1 (en) Door phone system and communication method thereof
JP6569867B2 (en) Door phone system, parent device, monitor, and communication method
JP2018182375A (en) Communication device and communication method
JP5979523B1 (en) Slave unit, master unit, monitor and communication method
JP6531991B2 (en) Slave unit, master unit, monitor and communication method
JP5979519B1 (en) Door phone system and communication method thereof
JP5979522B1 (en) Base unit and communication method
JP6410159B2 (en) Door phone system and communication method
JP6474004B2 (en) Base unit and communication method
JP2007006077A (en) Radio communication equipment
JP5979517B1 (en) Slave unit, master unit, monitor and communication method
JP5983975B1 (en) Slave unit, master unit, monitor and communication method
JP6531992B2 (en) Slave unit, master unit, monitor and communication method
JP5979521B1 (en) Slave unit, monitor and communication method
JP6226211B1 (en) Door phone system and communication method thereof
JP6300044B2 (en) Door phone system and communication method thereof
JP6485782B2 (en) Door phone system and communication method
JP6176507B1 (en) Door phone system and communication method
JP5979520B1 (en) Slave unit, master unit, monitor and communication method
JP5979518B1 (en) Slave unit, master unit, monitor and communication method
JP7223976B2 (en) Door phone system and communication method
JP7281648B2 (en) Door phone system and communication method
EP3764640A1 (en) Door phone system and communication method
EP3457676B1 (en) Lobby entrance slave device, door phone system and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181105

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20181105

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20181114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190319

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190514

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20190625

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: 20190716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190723

R150 Certificate of patent or registration of utility model

Ref document number: 6569867

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150