JP2017224898A - Slave unit, master unit, monitor and communication method - Google Patents
Slave unit, master unit, monitor and communication method Download PDFInfo
- 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
Links
Images
Abstract
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.
各機器は、デジタル通信の基本周波数を、水晶発振器により生成し、水晶発振器の発振周波数に基づくクロックを基準に、通信相手との同期タイミング(受信データの各ビットの先頭のタイミング)を検出する。 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.
室内に設置されたドアホン親機と室外に設置された玄関子機との温度差、水晶発振子の個体差、経年変化等を原因として、各機器の水晶発振周波数にばらつきが生じる。機器間の水晶発振周波数のずれが、システム動作の許容範囲を超えると、クロックとの同期が取れず、受信エラーになるビットが発生することも考えられる。従来技術では、機器間の水晶発振周波数のずれをシステム動作の許容範囲に抑えるための対策が検討されていない。 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.
以下、本開示の実施の形態について、図面を参照して詳細に説明する。
<システムの概要>
まず、本開示の一実施の形態に係るドアホンシステムの概要について説明する。
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
第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
第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
通信ケーブル11は、第1のドアホン親機200aと第2のドアホン親機200bとを接続している。通信ケーブル11、101a−1、101a−2、301a、101b−1、101b−2、301bのそれぞれは、1対の銅線から成る2線ケーブルである。
The
なお、以下では、第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
玄関子機100は、親世帯の住居スペースおよび子世帯の住居スペースのそれぞれの玄関先に設けられる。ドアホン親機200および増設モニタ300は、親世帯の住居スペースおよび子世帯の住居スペースのそれぞれの宅内に設けられ、壁に固定されたり、テーブルまたは台の上などに載置されたりする。
The entrance
玄関子機100は、呼出ボタンの操作等の所定の操作が行われたとき、呼出信号を含む制御信号を生成し、玄関周辺の映像を撮影して映像データを生成し、玄関周辺の音声を取得して音声データを生成する。また、玄関子機100は、ドアホン親機200から受信した音声データおよび制御情報に従って、音声の出力等を行う。
When a predetermined operation such as an operation of a call button is performed, the entrance
ドアホン親機200は、玄関子機100と通信を行い、玄関子機100から制御信号、映像データ、および音声データを受信し、音声データおよび制御情報を送信する。また、ドアホン親機200は、増設モニタ300と通信を行う。そして、ドアホン親機200は、玄関子機100から受信した制御信号、映像データおよび音声データ(以下、適宜「各種子機データ」という)を増設モニタ300へ転送し、増設モニタ300から受信した音声データおよび制御情報を玄関子機100へ転送する。
The
ドアホン親機200は、玄関子機100から呼出信号を受信したとき、呼出音の出力を行うと共に、玄関周辺の映像および音声を出力する。そして、応答ボタンの操作等の所定の操作が行われると、ドアホン親機200周辺の音声を取得して音声データを生成し、制御情報と共に玄関子機100へ送信する。
When receiving the call signal from the entrance
また、ドアホン親機200は、ドアホンシステム1の他のドアホン親機200と通信を行い、玄関子機100から受信した各種子機データを他のドアホン親機200へ転送し、他のドアホン親機200から受信した各種子機データに対し、音声/映像出力や転送等の所定の処理を行う。
Further, the
増設モニタ300は、ドアホン親機200から呼出信号を受信したとき、呼出音の出力を行うと共に、玄関周辺の映像および音声を出力する。そして、応答ボタンの操作等の所定の操作が行われると、増設モニタ300周辺の音声を取得して音声データを生成し、制御情報と共にドアホン親機200へ送信する。
When the
なお、以下の説明において、玄関子機100あるいは増設モニタ300からドアホン親機200への方向を「上り方向」といい、玄関子機100あるいは増設モニタ300から上り方向に送信されるパケット、信号をそれぞれ「上りパケット」、「上り信号」という。また、ドアホン親機200から玄関子機100あるいは増設モニタ300への方向を「下り方向」といい、ドアホン親機200から下り方向に送信されるパケット、信号をそれぞれ「下りパケット」、「下り信号」という。
In the following description, the direction from the
<フレーム構成、タイムスロット構成>
次に、本実施の形態に係る同期通信時のフレーム構成、タイムスロット構成について図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
ケーブル接続部101は、2線ケーブル用の接続端子を含み、2線ケーブルの玄関側の一端と、受信ドライバ111および送信ドライバ110との間を、信号を伝送可能な状態で接続する。なお、2線ケーブルの他端は、ドアホン親機200に接続される。
The
キー入力部102は、呼出ボタンを含み、呼出ボタンが操作されたとき、その旨を示す信号を制御部107に出力する。
The
スピーカ103は、音声I/F部105から出力されたアナログ音声データを、音声に変換して出力する。
The
マイク104は、周囲の音声を集音してアナログ音声データに変換し、音声I/F部105に出力する。
The
音声I/F部105は、制御部107から出力されたデジタル音声データを、アナログ音声データに変換し、信号レベルを調整して、スピーカ103に出力する。また、音声I/F部105は、マイク104から出力されたアナログ音声データを、信号レベルを調整し、デジタル音声データに変換して、制御部107に出力する。かかるアナログ/デジタル変換は、A/D,D/A変換器(図示せず)により行われる。
The audio I /
なお、音声I/F部105は、マイク104から出力されたアナログ音声データをデジタル変換したデータに対して、所定の音声圧縮処理を行って得られるデータを、デジタル音声データとして制御部107に出力してもよい。また、音声I/F部105は、制御部107から出力されたデジタル音声データが所定の音声圧縮処理を行って得られたデータである場合、当該データに対して所定の音声伸張処理を行ってから、デジタル/アナログ変換を行う。
The audio I /
カメラ部106は、デジタルカメラを含み、玄関の映像を撮影し、デジタル映像データを生成して、制御部107に出力する。なお、カメラ部106は、エンコーダモジュールを搭載していてもよい。すなわち、カメラ部106は、デジタルカメラから出力された映像データに対してH.264等の所定の動画圧縮処理を行って得られるデータを、デジタル映像データとして制御部107に出力してもよい。
The
制御部107は、玄関子機100の各部の制御を行う。また、制御部107は、送信を許可する送信区間、および、受信を許可する受信区間を指示する切り替え制御信号(SW CON)を送信ドライバ110および受信ドライバ111に出力する。
The control unit 107 controls each part of the entrance
制御部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
制御部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
なお、玄関子機100とドアホン親機200との間でデータが送受されない待機状態では、パケット生成部132は、上りパケットを生成しない。また、待機状態(非同期通信時)において、呼出ボタンが操作される等の所定のイベントが発生すると、パケット生成部132は、プリアンブルデータ、シンクパターン、制御データを書き込んだ上りパケット(割り込み信号)を生成する。なお、非同期通信時の割り込み信号において使用されるプリアンブルとシンクパターンは、同期通信時に使用されるものと同一である。
Note that, in a standby state in which data is not transmitted and received between the
制御部107のデータ再生部133は、受信データ処理部113からイネーブル信号(SSCS)を入力すると、受信データ処理部113から出力された第2周波数のクロック(SSCK)を使用し、受信データ処理部113から出力された下りパケットを再生し、再生した下りパケット(復号データ)に含まれるデジタル音声データを音声I/F部105に出力し、シンクパターンを接続状態検出部134に出力する。また、データ再生部133は、再生した下りパケット(デジタル通信フレーム)を水晶発振周波数制御部135に出力する。なお、データ再生部133は、初期登録時に、下りパケットに含まれる自機IDslaveおよびIDmasterを識別子記憶部114に記憶させる。
When the
また、データ再生部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
制御部107の接続状態検出部134は、2線ケーブルが正接続である場合のチェック用シンクパターン(以下、「正接続チェック用シンクパターン」という(例えば、16bit全てが「0」))、および、正接続チェック用シンクパターンの逆のパターンであって、2線ケーブルが逆接続である場合のチェック用シンクパターン(以下、「逆接続チェック用シンクパターン」という(例えば、16bit全てが「1」))を記憶している。そして、接続状態検出部134は、データ再生部133から出力された受信データのシンクパターンを、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンと照合する。接続状態検出部134は、受信データのシンクパターンと正接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが正接続であると判定し、受信データのシンクパターンと逆接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが逆接続であると判定する。そして、接続状態検出部134は、判定結果を示す反転制御信号(INV CON)を、送信データ反転部109および受信データ反転部112に出力する。
The connection
制御部107の水晶発振周波数制御部135は、データ再生部133から出力された再生データの規定のデータ数が占める時間と、この規定のデータ数に対応する内部の計測用クロックのカウントによる時間との時間差を減らすように、水晶発振部136の発振周波数を制御する。なお、水晶発振周波数制御部135の構成の詳細については後述する。
The crystal oscillation
制御部107の水晶発振部136は、水晶発振子を有し、発振周波数の電圧振幅信号(周波数信号)を第1クロック生成部131、パケット生成部132および水晶発振周波数制御部135に出力する。また、水晶発振部136は、水晶発振周波数制御部135の制御に基づき、発振周波数を微調整する。なお、水晶発振部136の構成の詳細については後述する。
The
送信データ処理部108は、パケット生成部132からイネーブル信号(SSCS)を入力すると、パケット生成部132から出力された第2周波数のクロック(SSCK)を使用し、パケット生成部132から出力された上りパケットのデータに対して変調処理を行って上り信号を生成し、送信データ反転部109に出力する。なお、送信データ処理部108の変調処理の詳細(具体例)については後述する。
When the transmission
送信データ反転部109は、接続状態検出部134において2線ケーブルが逆接続であると判定された場合、送信データ処理部108から出力された上り信号を反転させて送信ドライバ110に出力する。一方、送信データ反転部109は、接続状態検出部134において2線ケーブルが正接続であると判定された場合、送信データ処理部108から出力された上り信号をそのまま送信ドライバ110に出力する。
When the connection
送信ドライバ110は、制御部107からの切り替え制御信号(SW CON)によって指示された送信区間において、上り信号を、ケーブル接続部101を介してドアホン親機200に送信する。
The
受信ドライバ111は、ドアホン親機200から送信された下り信号を、ケーブル接続部101を介して受信する。そして、受信ドライバ111は、制御部107からの切り替え制御信号(SW CON)によって指示された受信区間において、下り信号を、受信データ反転部112に出力する。
The
受信データ反転部112は、接続状態検出部134において2線ケーブルが逆接続であると判定された場合、受信ドライバ111から出力された下り信号を反転させて受信データ処理部113に出力する。一方、受信データ反転部112は、接続状態検出部134において2線ケーブルが正接続であると判定された場合、受信ドライバ111から出力された下り信号をそのまま受信データ処理部113に出力する。
When the connection
受信データ処理部113は、第1クロック生成部131から出力された第1周波数のクロック(CLK)を使用し、受信ドライバ111から出力された下り信号に含まれるプリアンブルデータを用いてドアホン親機200との同期(受信データの各ビットの先頭のタイミング)を検出する。そして、受信データ処理部113は、プリアンブルデータのユニークパターンを検出したタイミングで、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部133に出力する。
The reception
また、受信データ処理部113は、受信データ反転部112から出力された下り信号(受信データ)を復号し、復号データをデータ再生部133に出力する。また、受信データ処理部113は、第1クロック生成部131から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、データ再生部133に出力する。なお、受信データ処理部113の構成の詳細については、後述する。
The reception
識別子記憶部114は、ドアホン親機200から受信した自機IDslaveおよびIDmasterを記憶する。
The
<ドアホン親機の構成>
次に、ドアホン親機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
ケーブル接続部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
キー入力部202は、応答ボタンを含み、応答ボタンが操作されたとき、その旨を示す信号を制御部207に出力する。
The
スピーカ203は、音声I/F部205から出力されたアナログ音声データを、音声に変換して出力する。
The
マイク204は、周囲の音声を集音してアナログ音声データに変換し、音声I/F部205に出力する。
The
音声I/F部205は、制御部207から出力されたデジタル音声データを、アナログ音声データに変換し、信号レベルを調整して、スピーカ203に出力する。また、音声I/F部205は、マイク204から出力されたアナログ音声データを、信号レベルを調整し、デジタル音声データに変換して、制御部207に出力する。かかるアナログ/デジタル変換は、A/D,D/A変換器(図示せず)により行われる。
The audio I /
なお、音声I/F部205は、マイク204から出力されたアナログ音声データをデジタル変換したデータに対して、所定の音声圧縮処理を行って得られるデータを、デジタル音声データとして制御部207に出力してもよい。また、音声I/F部205は、制御部207から出力されたデジタル音声データが所定の音声圧縮処理を行って得られたデータである場合、当該データに対して所定の音声伸張処理を行ってから、デジタル/アナログ変換を行う。
The audio I /
ディスプレイ部206は、液晶ディスプレイを含み、制御部207から出力されたデジタル映像データを再生し、玄関の映像を表示する。なお、制御部207から出力されたデジタル映像データが所定の動画圧縮処理を行って得られたデータである場合、当該データに対して所定の動画伸張処理を行って、映像表示を行う。
The
制御部207は、ドアホン親機200の各部の制御を行う。また、制御部207は、送信を許可する送信区間、および、受信を許可する受信区間を指示する切り替え制御信号(SW CON)を各送信ドライバ210−i、各受信ドライバ211−iおよびルーティング制御部212に出力する。
The
制御部207の第1クロック生成部231は、受信データをサンプリングするためのクロックであって、水晶発振部236の発振周波数を基準に、受信データのビットレートのn倍に対応する第1周波数(例えば、48MHz(n=10))のクロック(CLK)を生成し、受信データ処理部213に出力する。
The first
制御部207のパケット生成部232は、映像付き通話を実現するための下りパケットを生成する。具体的には、パケット生成部232は、音声I/F部205から出力されたデジタル音声データを適宜分割して各タイムスロットのユーザデータフィールドに書き込み、自機(ドアホン親機200)に固有の識別子(以下、「自機IDmaster」という)および通信相手の機器の識別子を含む制御データを各タイムスロットの制御データフィールドに書き込む。さらに、パケット生成部232は、各タイムスロットに、プリアンブルデータ、シンクパターンを書き込み、下りパケット(送信データ)を生成する。さらに、パケット生成部232は、送信用のイネーブル信号(SSCS)および送信用の第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成する。そして、パケット生成部232は、下りパケットを、送信用のイネーブル信号(SSCS)およびクロック(SSCK)と同期させて、送信データ処理部208に出力する。なお、クロック(SSCK)は、水晶発振部236の発振周波数を基準にして生成される。
The
また、パケット生成部232は、ドアホン親機200の動作あるいは玄関子機100の動作に関する制御データを、玄関子機100への送信の対象となるデータとして送信データ処理部208に出力してもよい。かかる制御データには、例えば、ドアホン親機200から玄関子機100のカメラ動作(データレート、パン、チルト、ライト、シャッター、およびフィルタ等の動作)や、玄関子機100に備えられた各種センサデバイスの動作を、ドアホン親機200から制御するための制御信号が含まれる。また、かかる制御データには、玄関子機100に備えられた無線通信回路等(図示せず)を介して屋外に配置されたデバイス(門の電子鍵等)の動作を制御するための制御信号が含まれる。
In addition, the
なお、玄関子機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
制御部207のデータ再生部233は、受信データ処理部213からイネーブル信号(SSCS)を入力すると、受信データ処理部213から出力された第2周波数のクロック(SSCK)を使用し、受信データ処理部213から出力された上りパケットを再生し、再生した上りパケット(復号データ)に含まれるデジタル音声データを音声I/F部205に出力し、デジタル映像データをディスプレイ部206に出力し、シンクパターンを接続状態検出部234に出力する。また、データ再生部233は、再生した下りパケット(デジタル通信フレーム)を水晶発振周波数制御部235に出力する。
When the
また、データ再生部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
制御部207の接続状態検出部234は、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンを記憶し、データ再生部233から出力された受信データのシンクパターンを、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンと照合する。接続状態検出部234は、受信データのシンクパターンと正接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが正接続であると判定し、受信データのシンクパターンと逆接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが逆接続であると判定する。そして、接続状態検出部234は、判定結果を示す反転制御信号(INV CON)を、送信データ反転部209に出力する。
The connection
制御部207の水晶発振周波数制御部235は、データ再生部233から出力された再生データの規定のデータ数が占める時間と、この規定のデータ数に対応する内部の計測用クロックのカウントによる時間との時間差を減らすように、水晶発振部236の発振周波数を制御する。なお、水晶発振周波数制御部235は、受信データ処理部213からのイネーブル信号で、水晶発振部236に対する制御動作をオン/オフする。具体的には、水晶発振周波数制御部235は、ドアホン親機200が、スロット管理を行うマスタ親機である場合には、水晶発振部236の発振周波数を調整しない。一方、水晶発振周波数制御部235は、ドアホン親機200が、スロット管理を行わないスレーブ親機である場合には、水晶発振部236の発振周波数を調整する。
The crystal oscillation
制御部207の水晶発振部236は、水晶発振子を有し、発振周波数の電圧振幅信号(周波数信号)を第1クロック生成部231、パケット生成部232および水晶発振周波数制御部235に出力する。また、水晶発振部236は、水晶発振周波数制御部235の制御に基づき、発振周波数を微調整する。
The
送信データ処理部208は、パケット生成部232からイネーブル信号(SSCS)を入力すると、パケット生成部232から出力された第2周波数のクロック(SSCK)を使用し、パケット生成部232から出力された下りパケットのデータに対して変調処理を行って下り信号を生成し、ルーティング制御部212に出力する。
When the transmission
送信データ反転部209は、接続状態検出部234において2線ケーブルが逆接続であると判定された場合、ルーティング制御部212から出力された下り信号を反転させて送信ドライバ210−1に出力する。一方、送信データ反転部209は、接続状態検出部234において2線ケーブルが正接続であると判定された場合、ルーティング制御部212から出力された下り信号をそのまま送信ドライバ210−1に出力する。
When the connection
送信ドライバ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
受信ドライバ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
ルーティング制御部212は、玄関子機100から送信され、受信ドライバ211−iから出力された上り信号を、ドアホン親機200宛である場合には受信データ処理部213に出力し、増設モニタ300宛である場合には対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、送信データ処理部208から出力された玄関子機100宛の下り信号を、対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、増設モニタ300から送信され、受信ドライバ211−iから出力された玄関子機100宛の上り信号を、対応の送信ドライバ210−iに出力する。また、ルーティング制御部212は、ルーティング(通信ルートの有効/無効)の制御を行う。なお、ルーティング制御部212が行うルーティング制御の具体例については後述する。
The
受信データ処理部213は、第1クロック生成部231から出力された第1周波数のクロック(CLK)を使用し、ルーティング制御部212から出力された上り信号に含まれるプリアンブルデータを用いて玄関子機100との同期(受信データの各ビットの先頭のタイミング)を検出する。そして、受信データ処理部213は、プリアンブルデータのユニークパターンを検出したタイミングで、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部233および水晶発振周波数制御部235に出力する。
The reception
また、受信データ処理部213は、ルーティング制御部212から出力された上り信号(受信データ)を復号し、復号データをデータ再生部233に出力する。また、受信データ処理部213は、第1クロック生成部231から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、データ再生部233に出力する。
The reception
識別子記憶部214は、自機IDmaster、および、各機器(玄関子機100、増設モニタ300、他のドアホンシステムの親機)の識別子を記憶する。
The
不揮発性メモリ215は、水晶発振部236のレジスタの初期値等を保持する。
The
<増設モニタの構成>
次に、増設モニタ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
ケーブル接続部301は、2線ケーブル用の接続端子を含み、2線ケーブルの増設モニタ側の一端と、受信ドライバ311および送信ドライバ310との間を、信号を伝送可能な状態で接続する。なお、2線ケーブルの他端は、ドアホン親機200に接続される。
The
キー入力部302は、呼出ボタンを含み、呼出ボタンが操作されたとき、その旨を示す信号を制御部307に出力する。
The
スピーカ303は、音声I/F部305から出力されたアナログ音声データを、音声に変換して出力する。
The
マイク304は、周囲の音声を集音してアナログ音声データに変換し、音声I/F部305に出力する。
The
音声I/F部305は、制御部307から出力されたデジタル音声データを、アナログ音声データに変換し、信号レベルを調整して、スピーカ303に出力する。また、音声I/F部305は、マイク304から出力されたアナログ音声データを、信号レベルを調整し、デジタル音声データに変換して、制御部307に出力する。かかるアナログ/デジタル変換は、A/D,D/A変換器(図示せず)により行われる。
The audio I /
なお、音声I/F部305は、マイク304から出力されたアナログ音声データをデジタル変換したデータに対して、所定の音声圧縮処理を行って得られるデータを、デジタル音声データとして制御部307に出力してもよい。また、音声I/F部305は、制御部307から出力されたデジタル音声データが所定の音声圧縮処理を行って得られたデータである場合、当該データに対して所定の音声伸張処理を行ってから、デジタル/アナログ変換を行う。
Note that the audio I /
ディスプレイ部306は、液晶ディスプレイを含み、制御部307から出力されたデジタル映像データを再生し、玄関の映像を表示する。なお、制御部307から出力されたデジタル映像データが所定の動画圧縮処理を行って得られたデータである場合、当該データに対して所定の動画伸張処理を行って、映像表示を行う。
The
制御部307は、増設モニタ300の各部の制御を行う。また、制御部307は、送信を許可する送信区間、および、受信を許可する受信区間を指示する切り替え制御信号(SW CON)を送信ドライバ310および受信ドライバ311に出力する。
The
制御部307の第1クロック生成部331は、受信データをサンプリングするためのクロックであって、水晶発振部336の発振周波数を基準に、受信データのビットレートのn倍に対応する第1周波数(例えば、48MHz(n=10))のクロック(CLK)を生成し、受信データ処理部313に出力する。
The first clock generation unit 331 of the
制御部307のパケット生成部332は、映像付き通話を実現するための上りパケットを生成する。具体的には、パケット生成部332は、音声I/F部305から出力されたデジタル音声データを適宜分割して各タイムスロットのユーザデータフィールドに書き込み、自機(増設モニタ300)に固有の識別子(以下、「自機IDmonitor」という)およびIDmasterを含む制御データを各タイムスロットの制御データフィールドに書き込む。さらに、パケット生成部332は、各タイムスロットに、プリアンブルデータ、シンクパターンを書き込み、上りパケット(送信データ)を生成する。さらに、パケット生成部332は、送信用のイネーブル信号(SSCS)および送信用の第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成する。そして、パケット生成部332は、上りパケットを、送信用のイネーブル信号(SSCS)およびクロック(SSCK)と同期させて、送信データ処理部308に出力する。なお、クロック(SSCK)は、水晶発振部336の発振周波数を基準にして生成される。
The
なお、増設モニタ300とドアホン親機200との間でデータが送受されない待機状態では、パケット生成部332は、上りパケットを生成しない。また、待機状態(非同期通信時)において、呼出ボタンが操作される等の所定のイベントが発生すると、パケット生成部332は、プリアンブルデータ、シンクパターン、制御データを書き込んだ上りパケット(割り込み信号)を生成する。なお、非同期通信時の割り込み信号において使用されるプリアンブルとシンクパターンは、同期通信時に使用されるものと同一である。
Note that the
制御部307のデータ再生部333は、受信データ処理部313からイネーブル信号(SSCS)を入力すると、受信データ処理部313から出力された第2周波数のクロック(SSCK)を使用し、受信データ処理部313から出力された下りパケットを再生し、再生した下りパケット(復号データ)に含まれるデジタル映像データをディスプレイ部306に出力し、デジタル音声データを音声I/F部305に出力し、シンクパターンを接続状態検出部334に出力する。また、データ再生部333は、再生した下りパケット(デジタル通信フレーム)を水晶発振周波数制御部335に出力する。なお、データ再生部333は、初期登録時に、下りパケットに含まれる自機IDmonitorおよびIDmasterを識別子記憶部314に記憶させる。
When the
また、データ再生部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
制御部307の接続状態検出部334は、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンを記憶し、データ再生部333から出力された受信データのシンクパターンを、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンと照合する。接続状態検出部334は、受信データのシンクパターンと正接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが正接続であると判定し、受信データのシンクパターンと逆接続チェック用シンクパターンが完全に一致した場合に2線ケーブルが逆接続であると判定する。そして、接続状態検出部334は、判定結果を示す反転制御信号(INV CON)を、送信データ反転部309および受信データ反転部312に出力する。
The connection
制御部307の水晶発振周波数制御部335は、データ再生部333から出力された再生データの規定のデータ数が占める時間と、この規定のデータ数に対応する内部の計測用クロックのカウントによる時間との時間差を減らすように、水晶発振部336の発振周波数を制御する。
The crystal oscillation
制御部307の水晶発振部336は、水晶発振子を有し、発振周波数の電圧振幅信号(周波数信号)を第1クロック生成部331、パケット生成部332および水晶発振周波数制御部335に出力する。また、水晶発振部336は、水晶発振周波数制御部335の制御に基づき、発振周波数を微調整する。
The
送信データ処理部308は、パケット生成部332からイネーブル信号(SSCS)を入力すると、パケット生成部332から出力された第2周波数のクロック(SSCK)を使用し、パケット生成部332から出力された上りパケットのデータに対して変調処理を行って上り信号を生成し、送信データ反転部309に出力する。
When the transmission
送信データ反転部309は、接続状態検出部334において2線ケーブルが逆接続であると判定された場合、送信データ処理部308から出力された上り信号を反転させて送信ドライバ310に出力する。一方、送信データ反転部309は、接続状態検出部334において2線ケーブルが正接続であると判定された場合、送信データ処理部308から出力された上り信号をそのまま送信ドライバ310に出力する。
When the connection
送信ドライバ310は、制御部307からの切り替え制御信号(SW CON)によって指示された送信区間において、上り信号を、ケーブル接続部301を介してドアホン親機200に送信する。
The
受信ドライバ311は、ドアホン親機200から送信された下り信号を、ケーブル接続部301を介して受信する。そして、受信ドライバ311は、制御部307からの切り替え制御信号(SW CON)によって指示された受信区間において、下り信号を、受信データ反転部312に出力する。
The
受信データ反転部312は、接続状態検出部334において2線ケーブルが逆接続であると判定された場合、受信ドライバ311から出力された下り信号を反転させて受信データ処理部313に出力する。一方、受信データ反転部312は、接続状態検出部334において2線ケーブルが正接続であると判定された場合、受信ドライバ311から出力された下り信号をそのまま受信データ処理部313に出力する。
When the connection
受信データ処理部313は、第1クロック生成部331から出力された第1周波数のクロック(CLK)を使用し、受信ドライバ311から出力された下り信号に含まれるプリアンブルデータを用いてドアホン親機200との同期(受信データの各ビットの先頭のタイミング)を検出する。そして、受信データ処理部313は、プリアンブルデータのユニークパターンを検出したタイミングで、データ再生動作を許可するイネーブル信号(SSCS)をデータ再生部333に出力する。
The reception
また、受信データ処理部313は、受信データ反転部312から出力された下り信号(受信データ)を復号し、復号データをデータ再生部333に出力する。また、受信データ処理部313は、第1クロック生成部131から出力された第1周波数のクロック(CLK)を基準に、受信データのビットレートに対応する第2周波数(例えば、4.8MHz)のクロック(SSCK)を生成し、データ再生部333に出力する。
The reception
識別子記憶部314は、ドアホン親機200から受信した自機IDmonitorおよびIDmasterを記憶する。
The
なお、玄関子機100、ドアホン親機200および増設モニタ300は、図示しないが、例えば、CPU(Central Processing Unit)、制御プログラムを格納したROM(Read Only Memory)等の記憶媒体、RAM(Random Access Memory)等の作業用メモリ、および通信回路をそれぞれ有する。この場合、上記した各部の機能は、CPUが制御プログラムを実行することにより実現される。
Although not shown in the figure, the
<変調処理の一例>
次に、送信データ処理部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
そして、図7に示すように、「0,0,1,・・・,1,0」というデータ列421に対して、送信データ処理部108(208、308)は、各ビットの値に対応して、周期Tm毎に立上りあるいは立下りを有する変調信号422を生成する。
Then, as shown in FIG. 7, for the
<プリアンブルデータの一例>
次に、本実施の形態において使用されるプリアンブルデータの一例について図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
なお、本実施の形態では、プリアンブルデータが、図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
図9に示すように、受信データ処理部113は、第1のユニークパターン検出部151、第2のユニークパターン検出部152、イネーブル信号生成部153、タイミング調整部154、受信データ復号部155および第2クロック生成部156を有する。
As shown in FIG. 9, the reception
受信データ反転部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
第1のユニークパターン検出部151および第2のユニークパターン検出部152は、ユニークパターン検出用のクロックの第1規定数(例えば、「18」から「22」)を記憶している。
The first unique
第1のユニークパターン検出部151は、第1クロック生成部131のクロックで、受信データ反転部112から出力された受信データに含まれるプリアンブルデータをサンプリングし、隣接する立下りエッジ間のクロックを計数する。第1のユニークパターン検出部151は、隣接する立下りエッジ間のクロック数が第1規定数のいずれかに一致した場合にユニークパターンを検出したと判定する。図10の例では、隣接する立下りエッジ間501のクロック数「20」が、第1規定数の中の1つと一致する。そして、第1のユニークパターン検出部151は、所定のタイミングで、その旨を示す信号を、イネーブル信号生成部153に出力する。
The first unique
第2のユニークパターン検出部152は、第1のユニークパターン検出部151と同一タイミングで、受信データ反転部112から出力された受信データに含まれるプリアンブルデータをサンプリングし、隣接する立上りエッジ間のクロックを計数する。第2のユニークパターン検出部152は、隣接する立上りエッジ間のクロック数が第1規定数のいずれかに一致した場合にユニークパターンを検出したと判定し、その旨を示す信号をイネーブル信号生成部153に出力する。
The second unique
イネーブル信号生成部153は、第1のユニークパターン検出部151あるいは第2のユニークパターン検出部152のいずれかから、ユニークパターンを検出した旨を示す信号を入力すると(図10のタイミング510)、データ再生動作を許可するイネーブル信号をタイミング調整部154およびデータ再生部133に出力する(図10の例では、イネーブル信号SSCSを立下げ、L(Low)信号とする(アクティブにする))。
When the enable
タイミング調整部154は、内部にタイミング生成用カウンタを有し、イネーブル信号生成部153からイネーブル信号を入力すると、先頭の受信データ(シンクパターン1ビット目)の波形エッジを検出する。なお、先頭の受信データは、プリアンブルデータとシンクパターンの間の波形エッジであるデータ反転のタイミング511から始まる。
The
そして、タイミング調整部154は、該波形エッジを検出した後に、第1周波数のクロックで、タイミング生成用カウンタによる「0」から「9」までのカウントを繰り返し行い、各受信データの波形エッジのタイミングにおけるカウンタ値を観測する。そして、該カウンタ値が正常な値と異なる場合、タイミング調整部154は、カウンタ値を補正し、補正後のカウンタ値を受信データ復号部155および第2クロック生成部156に出力する。これにより、カウンタ値が所定の値となる範囲であるデータ再生ウィンドウの範囲(図10の範囲502)の開始タイミングが調整される。
Then, after detecting the waveform edge, the
受信データ復号部155は、タイミング調整部154からカウンタ値を入力し、データ再生ウィンドウの範囲(図10の範囲502)で、受信データ1ビット分の波形の論理反転をスキャン検出し、当該受信データ1ビット分のマンチェスタエンコードされた波形の論理反転に対応したデータの復号処理を行い、復号データをデータ再生部133に出力する。図10の例では、受信データ復号部155は、範囲502において、波形が「H」から「L」に反転した場合には復号データ「1」を出力し、波形が「L」から「H」に反転した場合には復号データ「0」を出力する。2番目の受信データが受信データ復号部155に入力される時間とほぼ同じ時間に、先頭の受信データの復号データが受信データ復号部155から一定の時間遅延して出力される。なお、受信データ復号部155が行う受信データの復号処理の詳細については後述する。
The reception
第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
ドアホン親機200の受信データ処理部213の内部構成および増設モニタ300の受信データ処理部313の内部構成は、玄関子機100の受信データ処理部113の内部構成と同一である。
The internal configuration of the reception
<水晶発振周波数の要件>
次に、本実施の形態の水晶発振周波数の要件について、図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
計測用クロック生成部181は、水晶発振部136の水晶発振周波数を基準に、調整幅の最小レンジに基づく周波数(例えば、48MHz)の計測用クロックを生成し、受信側内部時間計測部183および送信側データ時間計測部182に計測用クロックを継続的に出力する。ここで、計測用クロックおよび通信用クロックの周波数は、何れも、受信側の機器の水晶発振周波数を基準に生成された既知の値であり、計測用クロックの周波数は通信用クロックの周波数と等しくても良い。
The measurement
送信側データ時間計測部182は、データ再生部133から出力された再生データの規定のデータ数が占める時間(受信データのカウント開始ポイントからカウント終了ポイントまでの時間)(以下、「基準時間」という)を計測する。この基準時間は、送信側の機器であるドアホン親機200において、内部の水晶発振部236の発振周波数に基づいて生成された通信用クロックでサンプリングした送信データの規定のデータ数が占める時間(図11の601)に相当する。
The transmission-side data
受信側内部時間計測部183は、通信用クロックでカウントした規定のデータ数に相当する時間を計測用クロックのカウント数に換算し、計測用クロック生成部181から出力された計測用クロックを、カウント開始ポイントから、規定のデータ数に相当する数だけカウントし、計測用クロックのカウント開始から終了までの時間(図11の602)(以下、「比較時間」という)を計測する。
The reception-side internal
なお、送信側データ時間計測部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
受信側時間差計算部184は、送信側データ時間計測部182で計測された基準時間と受信側内部時間計測部183で計測された比較時間との差(図11の603)を計算する。
The reception side time
調整値設定部185は、基準時間と比較時間とのずれを減らすために、受信側時間差計算部184で計算された時間差に対応する既知の容量値を水晶発振部136のレジスタ199(図13参照)に設定し、水晶発振部136の発振周波数を調整する。なお、受信側時間差計測部184で計算された時間差が所定の閾値以下になった場合には、調整値設定部185は、発振周波数の調整を停止しても良い。また、閾値にはヒステリシスを持たせても良い。
In order to reduce the difference between the reference time and the comparison time, the adjustment
なお、本実施の形態では、上記の水晶発振周波数の調整動作を、通常動作時の受信データ処理と並行して、バックグランドで実施することができる。これにより、調整用の時間を設定する必要がなく、通常の受信動作で受信データのビットエラーが発生しない初期調整のばらつき範囲内であれば、高精度なデジタル通信を行うことができる。 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
また、ドアホン親機200の水晶発振周波数制御部235の内部構成および増設モニタ300の水晶発振周波数制御部335の内部構成は、玄関子機100の水晶発振周波数制御部135の内部構成と同一である。
Further, the internal configuration of the crystal oscillation
ただし、2世帯ドアホンシステムのドアホン親機200では、イネーブル信号で、水晶発振周波数制御部235の制御動作をオン/オフする。ドアホン親機200が、スロット管理を行うマスタ親機である場合には、水晶発振部236の発振周波数を調整しないため、レジスタ値を現状維持にする等、水晶発振周波数制御部235の動作をオフし、スロット管理を行わないスレーブ親機である場合には、水晶発振周波数制御部235の動作をオンする。また、電源ブレーカが切断された等の理由によりマスタ親機が通信不能になり、スレーブ親機が、規定の時間あるいは規定の回数においてマスタ親機からの応答がないことを検知すると、動作可能なスレーブ親機が、マスタ親機として動作を開始する。この場合、新たなマスタ親機の水晶発振周波数が調整の基準となり、新たなマスタ親機は水晶発振周波数制御部235の動作をオフする。
However, in the door
他のドアホンシステムと接続しない単独のドアホンシステムの場合(図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
また、基準となる水晶発振周波数を持つドアホン親機200がリセットで再起動する場合、ドアホン親機200は、不揮発性メモリ215に保持されている初期値にレジスタ値を設定し、通常動作前に全ての接続機器の水晶発振周波数の調整を完了させてから、通常動作に移行する。
In addition, when the
<水晶発振部の内部構成>
次に、玄関子機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
入力容量197の容量値C1および出力容量198の容量値C4は、予め、レジスタ199の初期値に対応する規定値になるように設定される。
The capacitance value C1 of the
水晶発振周波数制御部135(調整値設定部185)によってレジスタ199に新たな値が設定されると、この値に応じて、入力容量197の容量値C1あるいは出力容量198の容量値C4が調整される。これにより、水晶発振部136の発振周波数は、送信側のドアホン親機200の水晶発振周波数に合うように微調整される。水晶発振部136の出力信号である発振周波数の電圧振幅信号(周波数信号)は、水晶発振周波数制御部135および第1クロック生成部131に出力される。
When a new value is set in the
<同期検出処理のフロー>
次に、玄関子機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
ステップS610において、受信データ処理部113は、第1のユニークパターン検出部151および第2のユニークパターン検出部152により、第1クロック生成部131のクロックで、受信ドライバ111から出力された復調前の下り信号に含まれるプリアンブルデータをサンプリングし、隣接する立下りエッジ間あるいは隣接する立上りエッジ間の何れか一方である測定区間のクロック数に基づいてプリアンブルデータのユニークパターンのチェックを行う。
In step S <b> 610, the reception
ユニークパターンを検出できた場合(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
受信データのシンクパターンが、正接続チェック用シンクパターンと一致した場合(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
また、受信データのシンクパターンが、逆接続チェック用シンクパターンと一致した場合(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
また、受信データのシンクパターンが、正接続チェック用シンクパターンおよび逆接続チェック用シンクパターンのどちらにも一致しなかった場合(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
<初期登録までのシーケンス>
次に、本実施の形態に係る初期登録までのシーケンスについて図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
玄関子機100は、ドアホン親機200からの割り込み信号を捕捉し、割り込み信号の制御データ(登録開始情報)を確認する(S703)。なお、割り込み信号の捕捉とは、具体的には、第1周波数のクロックを用いて割り込み信号のサンプリングを行い、プリアンブル内のユニークパターンを検出してビット同期を確立し、第2周波数のクロックを用いて割り込み信号を再生してシンクパターンを検出することである。
The
また、玄関子機100は、割り込み信号のシンクパターンを用いて、2線ケーブルの反転検出(正接続/逆接続の判定)を行い、2線ケーブルが逆接続である場合、送信データ反転部109および受信データ反転部112に対して反転設定を行う(S704)。
Further, the
その後、玄関子機100は、制御データフィールドに登録開始情報の受領確認が書き込まれた割り込み信号をドアホン親機200に送信する(S705)。
Thereafter, the
ドアホン親機200は、玄関子機100からの割り込み信号を捕捉し、割り込み信号の制御データ(登録開始情報受領)を確認する(S706)。
The
そして、ドアホン親機200は、玄関子機100に割り当てた固有の識別子(端末ID)が制御データフィールドに書き込まれた割り込み信号を送信する(S707)。
Then, the
玄関子機100は、割り込み信号の制御データ(端末ID)を確認し、制御データフィールドに端末IDの受領確認が書き込まれた割り込み信号をドアホン親機200に送信する(S708)。
The
以上の処理により、初期登録が完了する(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
各機器とドアホン親機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
ドアホン親機200は、玄関子機100−2からの同期要求を確認すると、各機器と同期通信するためのフレームタイミングを決定し(S805)、各機器に同期スロット信号を送信する(S806)。
Upon confirming the synchronization request from the entrance slave device 100-2, the
各機器は、同期スロット信号に従って、ドアホン親機200と同期を取る(S807)。これにより、各機器とドアホン親機200との間は、同期状態となる(S808)。
Each device synchronizes with the
その後、玄関子機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
<各装置の動作>
次に、各装置の動作について説明する。
<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
ステップ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
ステップ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
ステップ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
ステップ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
ステップ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
ステップ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
<ドアホン親機の動作>
図18は、ドアホン親機200の動作の一例を示すフローチャートである。
<Operation of doorphone master unit>
FIG. 18 is a flowchart showing an example of the operation of the
ステップS2010において、制御部207は、玄関子機100から呼出信号を受信したか否かを判定する。制御部207は、呼出信号を受信した場合(S2010:YES)、フローをステップS2020へ進め、呼出信号を受信していない場合(S2010:NO)、フローを後述のステップS2090へ進める。
In step S2010, the
ステップS2020において、制御部207は、応答信号を玄関子機100へ送信するとともに、音声I/F部205およびスピーカ203を用いて、呼出音を出力する。
In step S2020, the
ステップS2030において、制御部207は、マイク204および音声I/F部205を用いて、音声入力を開始する。また、制御部207は、パケット生成部232および送信データ処理部208を用いて、送信の対象となる各種データ(制御データ/デジタル音声データ)のパケット化および符号化を開始する。なお、制御部207は、デジタル音声データの送信レート制御を行ってもよい。
In step S2030, the
ステップS2040において、制御部207は、子機側送信区間であるか否かを判定する。制御部207は、送信区間である場合(S2040:YES)、フローをステップS2050へ進め、送信区間ではない場合(S2040:NO)、フローを後述のステップS2060へ進める。
In step S2040,
ステップS2050において、制御部207は、上り信号の受信および各種データ(制御データ/音声データ/映像データ)の抽出を開始する。また、制御部207は、音声I/F部205、スピーカ203および液晶ディスプレイを用いて、音声および映像の出力を開始する。なお、制御部207は、送信区間が終了したとき、上り信号の受信あるいは各種データの抽出を停止する。
In step S2050, the
ステップS2060において、制御部207は、親機側送信区間であるか否かを判定する。制御部207は、送信区間である場合(S2060:YES)、フローをステップS2070へ進め、送信区間ではない場合(S2060:NO)、フローを後述のステップS2080へ進める。
In step S2060, the
ステップS2070において、制御部207は、送信ドライバ210を用いて、符号化により生成された下り信号を、2線ケーブルを介して玄関子機100へ送信する。但し、制御部207は、上述の通り、応答ボタンが操作されるまでは、デジタル音声データの送信を行わないことが望ましい。なお、制御部207は、送信区間が終了したとき、下り信号の送信を停止する。
In step S2070, the
ステップS2080において、制御部207は、玄関子機100とドアホン親機200との間の通話が終了したか否かを判定する。例えば、制御部207は、ドアホン親機200で通話終了の操作が行われたこと検知したとき、通話が終了したと判定する。なお、制御部207は、かかる通話終了の操作が行われたとき、その旨を示す信号を玄関子機100に送信することが望ましい。制御部207は、通話が終了していない場合(S2080:NO)、フローをステップS2040へ戻し、通話が終了した場合(S2080:YES)、フローをステップS2090へ進める。
In step S2080,
ステップS2090において、制御部207は、ドアホン機能に関する処理の終了を指示されたかを判定する。例えば、制御部207は、ドアホン親機200でドアホン機能の停止の操作が行われたことを検知したとき、上記処理の終了を指示されたと判定する。なお、制御部207は、かかるドアホン機能の停止の操作が行われたとき、その旨を示す信号を玄関子機100に送信することが望ましい。制御部207は、上記処理の終了を指示されていない場合(S2090:NO)、フローをステップS2010へ戻し、上記処理の終了を指示された場合(S2090:YES)、一連の処理を終了する。
In step S2090,
<通常動作時のルーティング制御>
次に、本実施の形態に係るドアホン親機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
設定パターン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
待機状態において、いずれかの機器から非同期の割り込み信号を受信した場合、ドアホン親機200は、当該割り込み信号を送信した機器との間で同期を確立する。例えば、ドアホン親機200は、DRV1から割り込み信号を受信した場合、DRV1と接続する機器と同期を確立し、データの送受を行う(P2(送信時)またはP3(受信時)に移行する)。
When an asynchronous interrupt signal is received from any device in the standby state, door
設定パターン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
設定パターン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
例えば、ドアホン親機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
<初期登録時のルーティング制御>
次に、本実施の形態に係るドアホン親機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
設定パターン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
<本実施の形態の効果>
以上のように、本実施の形態では、受信側の機器が、内部の水晶発振部の発振周波数に基づくクロックと送信側の機器の水晶発振周波数に基づくクロックとのずれを計算し、このクロックのずれを減らすように内部の水晶発振部の発振周波数を調整することにより、機器間の水晶発振周波数のずれをシステム動作の許容範囲に抑えることができる。
<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)
前記発振周波数の電圧振幅信号を出力する水晶発振部と、
前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第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.
前記第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.
請求項3または4に記載の子機。 Using the first frequency clock as the measurement clock,
The subunit | mobile_unit of Claim 3 or 4.
前記発振周波数の電圧振幅信号を出力する水晶発振部と、
前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第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.
前記第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.
請求項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.
前記発振周波数の電圧振幅信号を出力する水晶発振部と、
前記発振周波数を基準に生成した計測用クロックを用いて、前記親機の通信用クロックを基準に前記親機から送信された規定のデータ数が占める第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.
前記第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.
請求項18または19に記載のモニタ。 Using the first frequency clock as the measurement clock,
The monitor according to claim 18 or 19.
前記親機が、
内部の水晶発振子の親機側発振周波数を基準に生成した前記デジタル通信のビットレートに対応する親機側の通信用クロックを生成し、
前記親機側の通信用クロックを基準に前記ビットレートの送信データを生成し、
前記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.
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021013115A (en) * | 2019-07-08 | 2021-02-04 | パナソニックIpマネジメント株式会社 | Doorphone system and communication method |
Citations (7)
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 |
-
2016
- 2016-06-13 JP JP2016117352A patent/JP6569867B2/en active Active
Patent Citations (7)
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)
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 |