JP2017050619A - Timing adjustment circuit and inter-terminal synchronous circuit - Google Patents

Timing adjustment circuit and inter-terminal synchronous circuit Download PDF

Info

Publication number
JP2017050619A
JP2017050619A JP2015170664A JP2015170664A JP2017050619A JP 2017050619 A JP2017050619 A JP 2017050619A JP 2015170664 A JP2015170664 A JP 2015170664A JP 2015170664 A JP2015170664 A JP 2015170664A JP 2017050619 A JP2017050619 A JP 2017050619A
Authority
JP
Japan
Prior art keywords
timing
master device
circuit
synchronization frame
synchronization
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
JP2015170664A
Other languages
Japanese (ja)
Other versions
JP6601064B2 (en
Inventor
卓也 益子
Takuya Masuko
卓也 益子
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2015170664A priority Critical patent/JP6601064B2/en
Publication of JP2017050619A publication Critical patent/JP2017050619A/en
Application granted granted Critical
Publication of JP6601064B2 publication Critical patent/JP6601064B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a timing adjustment circuit and a master device, making coincident the transmission timing of a synchronous frame to accurately estimate synchronous frame transmission timing by the master device in cascade connection to a preceding stage.SOLUTION: A timing adjustment circuit (10), which can be loaded on a master device (12), adjusts the transmission timing of a synchronous frame to be transmitted to a slave device (18), relative to the master device, and another master device in cascade connection to a subsequent stage. The timing adjustment circuit includes: a calculation circuit (40) which obtains transmission timing (T2) in which the other master device connected to the preceding stage transmits a synchronous frame, on the basis of timing (T0), in which the master device (12) having the loaded adjustment circuit (10) receives the synchronous frame, and a predetermined value (T1); and a timing determination circuit (42) which determines timing (T2+T) to transmit a synchronous frame to the other master device connected to the subsequent stage, on the basis of the transmission timing (T2) and a transmission period (T).SELECTED DRAWING: Figure 2

Description

本発明は、タイミング調整回路および端末間同期回路、より具体的には、マスタ装置に接続されるスレーブ装置およびその後段にカスケード接続される他のマスタ装置に向けて一斉に送信する同期フレームの送信タイミングを調整するタイミング調整回路および端末間同期回路に関するものである。   The present invention relates to a timing adjustment circuit and an inter-terminal synchronization circuit, and more specifically, transmission of a synchronization frame transmitted simultaneously to a slave device connected to a master device and another master device cascade-connected to a subsequent stage. The present invention relates to a timing adjustment circuit for adjusting timing and an inter-terminal synchronization circuit.

各種の施設内で複数の電話機を使用すべく構内交換機(Private Branch eXchange: PBX)を設置するような場合、PBXと電話端末の間は一般的に、時分割制御伝送(Time Compression Multiplexing: TCM)方式で接続されている。時分割制御伝送方式は、PBXや統合サービスデジタル網(Integrated Services Digital Network: ISDN)の有線または無線デジタル通信に採用されている方式である。これらのデジタル通信システムはマスタ装置およびスレーブ装置を有し、マスタ装置の動作タイミングに合わせてスレーブ装置が同期するシステムとなっている。   When a private branch exchange (PBX) is installed to use multiple telephones in various facilities, the time division control transmission (Time Compression Multiplexing: TCM) is generally used between the PBX and the telephone terminal. Connected in a manner. The time division control transmission method is a method adopted for wired or wireless digital communication of PBX or Integrated Services Digital Network (ISDN). These digital communication systems have a master device and a slave device, and the slave device synchronizes with the operation timing of the master device.

ISDNやPBXによる通信では、交換局またはPBXがマスタ装置の役割を果たし、交換局またはPBXに接続される終端装置(Digital Service Unit: DSU)や電話端末がスレーブ装置の役割を果たすこととなる。マスタ装置は、スレーブ装置との間でデータを入出力するためのポートを、マスタ装置と接続可能なスレーブ装置の数だけ搭載している。通常は、各ポートに1台のスレーブ装置が接続される。マスタ装置は、フレームと呼ばれるスレーブ装置への送信データを各ポートに同じタイミングで送出する。   In communication by ISDN or PBX, an exchange or PBX serves as a master device, and a terminating device (Digital Service Unit: DSU) or a telephone terminal connected to the exchange or PBX serves as a slave device. The master device has ports for inputting / outputting data to / from the slave device as many as the number of slave devices connectable to the master device. Normally, one slave device is connected to each port. The master device sends transmission data to the slave device called a frame to each port at the same timing.

マスタ装置から送出されるフレームは、送信周期の1/2よりも短いデータで構成される。送信周期における残りの時間はスレーブ装置からの受信に割り当てられている。フレームには、通信システムで必要とされるタイミング情報(クロック)が埋め込まれている。   The frame transmitted from the master device is composed of data shorter than half of the transmission cycle. The remaining time in the transmission cycle is allocated to reception from the slave device. Timing information (clock) required in the communication system is embedded in the frame.

マスタ装置から一斉に送出されたフレームを受信したスレーブ装置は、必要なクロックを抽出し、そのクロックに同期する。そのため、1台のマスタ装置に接続されている複数台のスレーブ装置はいずれもマスタ装置に同期することができる。   The slave device that has received the frames sent from the master device at the same time extracts a necessary clock and synchronizes with the clock. Therefore, any of the plurality of slave devices connected to one master device can be synchronized with the master device.

PBXに接続されるそれぞれの電話端末は、コードレス電話機の親機として構成され、DECT(Digital Enhanced Cordless Telecommunications) 方式と呼ばれるデジタルコードレス電話の無線通信方式を用いて各親機に対応するコードレス電話の子機と接続され得る。ここで、DECT方式を用いて同一の領域内で複数の通信を実現させるためには、1フレームを10msec周期で送信するタイミングを一致させる必要がある。電話端末をコードレスで使用する場合、構内交換機ではDECT方式による無線通信の実行に必要となる10msecのタイミング、すなわち無線同期タイミングをフレームに埋め込み、構内交換機の各ポートと有線ケーブルを介して接続されているそれぞれの電話端末にフレームを分配する。   Each telephone terminal connected to the PBX is configured as a base unit of a cordless telephone, and a cordless telephone unit corresponding to each base unit using a digital cordless telephone wireless communication system called the DECT (Digital Enhanced Cordless Telecommunications) system. Can be connected to the machine. Here, in order to realize a plurality of communications in the same area using the DECT method, it is necessary to match the timing for transmitting one frame at a cycle of 10 msec. When a telephone terminal is used cordlessly, the private branch exchange embeds 10msec timing, that is, wireless synchronization timing, necessary for execution of wireless communication using the DECT method, and is connected to each port of the private branch exchange via a wired cable. Distribute frames to each phone terminal that has

特開2009−182659号公報JP 2009-182659 A

しかしながら、上述の構成はスター型の接続形態を前提としたものである。PBXが多数存在する大規模システムでは一般的に、PBX装置間は多段にわたるカスケード方式で接続される。カスケード接続を用いた場合の遅延値は、装置に起因する遅延およびケーブル長に起因する遅延などの影響を受ける。これらの遅延は一定ではないため、遅延値をシステム全体で同時に制御することは困難であった。この点についてより具体的に述べると、PBX装置はその前段に接続されたPBX装置が同期フレームを送出したタイミングを正確に見積もることができないため、その後段に接続されているPBX装置に同期フレームを送出するタイミングと、前段の装置が同期フレームを送出するタイミングを一致させることが困難であったということである。   However, the above-described configuration is based on a star-type connection form. In a large-scale system having a large number of PBXs, PBX devices are generally connected in a cascaded manner across multiple stages. The delay value when the cascade connection is used is affected by a delay caused by the apparatus and a delay caused by the cable length. Since these delays are not constant, it is difficult to control the delay values simultaneously in the entire system. More specifically, this is because the PBX device cannot accurately estimate the timing at which the PBX device connected in the previous stage sends out the synchronization frame, so the synchronization frame is sent to the PBX device connected in the subsequent stage. This means that it is difficult to match the transmission timing with the timing at which the preceding apparatus transmits the synchronization frame.

図7を参照して通常のカスケード接続時における同期フレームの遅延タイミングを示す。PBX装置が3段にわたってカスケード接続されている場合、第1段目のPBX装置は同期フレーム902をスレーブ装置として接続されている端末および第2段目のPBX装置にすべて同一のタイミングで送出する。前段のPBX装置から送出された同期フレーム902が第2段目のPBX装置で受信されるタイミングは、PBX装置間を接続するケーブルによる伝送遅延によって時間fだけ遅延する。そのために、第2段目のPBX装置は同期フレーム902を時間fだけ遅延したタイミングで、すなわち同期フレーム902aとして示すタイミングで受信する。第2段目のPBX装置は、受け取った同期フレーム902を処理した後、同期フレーム904をスレーブ装置として接続されている端末および第3段目のPBX装置にすべて同一のタイミングで送出する。ここで、第2段目のPBX装置が受け取った同期フレームの処理に要する処理遅延時間を時間gとすると、同期フレーム904を送出するタイミングは、第1段目のPBX装置が送出する同期フレーム902のタイミングに対して、時間f+gだけ遅延することとなる。この時間f+gが、一段ごとのカスケード接続に伴い生じる遅延となる。   With reference to FIG. 7, the delay timing of the synchronization frame at the time of normal cascade connection is shown. When the PBX devices are cascade-connected across three stages, the first-stage PBX apparatus sends the synchronization frame 902 to the terminals connected as slave apparatuses and the second-stage PBX apparatus at the same timing. The timing at which the synchronization frame 902 sent from the preceding PBX device is received by the second PBX device is delayed by time f due to the transmission delay caused by the cable connecting the PBX devices. Therefore, the second stage PBX device receives the synchronization frame 902 at a timing delayed by time f, that is, at a timing indicated as a synchronization frame 902a. The second-stage PBX device processes the received synchronization frame 902, and then sends the synchronization frame 904 to the terminals connected as slave devices and the third-stage PBX device at the same timing. Here, assuming that the processing delay time required for processing the synchronization frame received by the second-stage PBX device is time g, the timing at which the synchronization frame 904 is transmitted is the synchronization frame 902 transmitted by the first-stage PBX device. Is delayed by time f + g. This time f + g is a delay caused by cascade connection for each stage.

そのため、カスケード接続方式を用いて同期タイミングを分配するシステムの多くは、クロックのみ同期する構成を採っている。クロックのみ同期するというのは、位相がずれていても構わないが、クロックは一致させることを意味する。各システムが同一のクロックに同期することにより、クロック非同期時の位相ずれの影響を抑えることができる。しかしながら、位相がずれているため、無線スロットを有効に使用することができなかった。   For this reason, many systems that distribute synchronization timing using the cascade connection method employ a configuration in which only the clock is synchronized. Synchronizing only the clock means that the phases may be shifted, but the clocks are matched. By synchronizing each system with the same clock, it is possible to suppress the influence of the phase shift when the clock is asynchronous. However, since the phase is shifted, the wireless slot cannot be used effectively.

図8a〜図8bに、端末906と端末908の間の同期関係がそれぞれクロック同期、非同期およびフレーム同期のそれぞれの場合についてのタイムスロットの使用状況を示す。便宜上、図中では1つのフレームが5つのタイムスロット1〜5に分割され、端末906が使用しているタイムスロットは2番目のもの(タイムスロット2)であるものとする。まずクロック同期の場合、遅延hはフレームごとに一定になる。この遅延hにより各端末におけるフレーム間の位相がずれるため、図8aに示す通り、端末908側ではタイムスロット2に加えてタイムスロット1も使用できない。端末906が使用しているタイムスロット2に時間的に重複するからである。他方、クロック同期はとれているため、使用できないタイムスロットは時間が経過しても変動しない。   FIG. 8a to FIG. 8b show time slot usage situations when the synchronization relationship between the terminal 906 and the terminal 908 is clock synchronous, asynchronous and frame synchronous, respectively. For convenience, it is assumed that one frame is divided into five time slots 1 to 5 in the figure, and the time slot used by the terminal 906 is the second one (time slot 2). First, in the case of clock synchronization, the delay h is constant for each frame. Since the phase between frames at each terminal shifts due to this delay h, the terminal 908 cannot use the time slot 1 in addition to the time slot 2 as shown in FIG. 8a. This is because the time slot 2 used by the terminal 906 overlaps in time. On the other hand, since the clock is synchronized, the time slot that cannot be used does not change over time.

非同期の場合には、端末906に対して端末908には遅延i(t)が生じるため、図8bに示す通り、端末906が使用しているタイムスロット2に時間的に重複する、タイムスロット1およびタイムスロット2は端末908側では使用できない。しかしながら、時間tの経過とともに遅延値i(t)は変動する。そのため、使用できないタイムスロットは時間の経過とともに変化し得る。図8bでは、当初はタイムスロット1および2が使用できないスロットであったが、時間の経過とともに使用できないスロットはタイムスロット2および3へと変わっている。   In the case of non-synchronization, since a delay i (t) occurs in the terminal 908 with respect to the terminal 906, as shown in FIG. 8b, the time slot 1 that overlaps with the time slot 2 used by the terminal 906 in time. The time slot 2 cannot be used on the terminal 908 side. However, the delay value i (t) varies with the passage of time t. Therefore, the unusable time slots can change with time. In FIG. 8b, the time slots 1 and 2 were originally unusable slots, but the unusable slots have changed to time slots 2 and 3 with the passage of time.

本発明はこのような課題に鑑み、例えばカスケード接続されているマスタ装置同士を接続するケーブルの長さがそれぞれ異なる場合であっても同期フレームの送信時間を一致させ、前段にカスケード接続されているマスタ装置が次に同期フレームを送出するタイミングを正確に見積もるタイミング調整回路および端末間同期回路を提供することを目的とする。   In view of such a problem, the present invention, for example, even when the lengths of cables connecting master devices connected in cascade are different from each other, the transmission times of the synchronization frames are matched and cascade connection is performed in the previous stage. It is an object of the present invention to provide a timing adjustment circuit and an inter-terminal synchronization circuit that accurately estimate the timing at which a master device next sends out a synchronization frame.

本発明は上述の課題を解決するために、他のマスタ装置とカスケード接続され他のマスタ装置との間でフレームの通信を実行するマスタ装置に搭載可能に構成され、マスタ装置に接続されるスレーブ装置および後段にカスケード接続される他のマスタ装置に向けて一斉に送信する同期フレームの送信タイミングを調整するタイミング調整回路であって、タイミング調整回路を搭載したマスタ装置が同期フレームを受信したタイミングおよび予め決定しておいた所定の時間値に基づいて、タイミング調整回路を搭載したマスタ装置の前段にカスケード接続される他のマスタ装置が同期フレームを送信したタイミングを算出する演算回路と、演算回路によって算出された同期フレームの送信タイミングおよび同期フレームの送信周期に基づいて、後段にカスケード接続される他のマスタ装置に向けてタイミング調整回路を搭載したマスタ装置が同期フレームを送出するタイミングを決定するタイミング決定回路とを有する。   In order to solve the above-described problem, the present invention is configured to be mounted on a master device that is cascade-connected to another master device and performs frame communication with the other master device, and is connected to the master device. A timing adjustment circuit that adjusts the transmission timing of synchronization frames that are transmitted all at once to the device and other master devices cascade-connected to the subsequent stage, the timing at which the master device equipped with the timing adjustment circuit receives the synchronization frame, and Based on a predetermined time value determined in advance, an arithmetic circuit that calculates the timing at which another master device cascade-connected to the previous stage of the master device equipped with the timing adjustment circuit transmits a synchronization frame, and an arithmetic circuit Based on the calculated synchronization frame transmission timing and synchronization frame transmission cycle, And a timing decision circuit for the master device equipped with timing adjustment circuit toward the other master devices that are cascaded stages to determine the timing of transmitting the synchronization frame.

また、本発明は、他のマスタ装置とカスケード接続され他のマスタ装置との間でフレームの通信を実行するマスタ装置に搭載可能に構成され、接続したマスタ装置間におけるフレーム送信タイミングの同期を確保する端末間同期回路であって、端末間同期回路はさらに、前段にカスケード接続される他のマスタ装置から同期フレームを受け取る処理回路と、マスタ装置に接続されるスレーブ装置および後段にカスケード接続される他のマスタ装置に向けて一斉に送信する同期フレームの送信タイミングを調整し、処理回路が同期フレームを受信したタイミングおよび予め決定しておいた所定の時間値に基づいて、処理回路の前段に接続される他のマスタ装置が同期フレームを送信したタイミングを算出する演算回路と、演算回路によって算出された同期フレームの送信タイミングおよび同期フレームの送信周期に基づいて、後段にカスケード接続される他のマスタ装置に向けて端末間同期回路が同期フレームを送出するタイミングを決定するタイミング決定回路とを含むタイミング調整回路と、後段に接続される他のマスタ装置との間で同期フレームの通信を実行するに際して、タイミング調整回路によって決定された同期フレームを送出するタイミングを受け取り、このタイミングに基づいて、後段に接続される他のマスタ装置に送信する同期フレームの送信タイミングを調整するインタフェース回路とを有する。   In addition, the present invention is configured to be mountable on a master device that is cascade-connected to another master device and performs frame communication with the other master device, and ensures synchronization of frame transmission timing between the connected master devices. The inter-terminal synchronization circuit further includes a processing circuit that receives a synchronization frame from another master device cascade-connected to the preceding stage, a slave device connected to the master device, and a cascade connection to the subsequent stage. Connects to the previous stage of the processing circuit based on the timing at which the processing circuit receives the synchronization frame and a predetermined time value that is determined in advance, by adjusting the transmission timing of the synchronization frame that is transmitted all at once to other master devices Is calculated by the arithmetic circuit that calculates the timing at which the other master device transmits the synchronization frame, and the arithmetic circuit. And a timing determination circuit for determining a timing at which the inter-terminal synchronization circuit transmits the synchronization frame toward another master device cascade-connected to the subsequent stage based on the transmission timing of the synchronization frame and the transmission period of the synchronization frame When performing synchronization frame communication between the timing adjustment circuit and another master device connected to the latter stage, the timing adjustment circuit receives a timing for sending the synchronization frame determined by the timing adjustment circuit, and based on this timing, And an interface circuit for adjusting the transmission timing of a synchronization frame to be transmitted to another master device connected to the network.

また、本発明は、コンピュータを、マスタ装置とカスケード接続してマスタ装置との間でフレームの通信を実行するに際して、マスタ装置と接続されるスレーブ装置および後段にカスケード接続されるマスタ装置に向けて一斉に送信する同期フレームの送信タイミングを調整するマスタ装置として機能させるタイミング調整プログラムであって、コンピュータを少なくとも、コンピュータが同期フレームを受信したタイミングおよび予め決定しておいた所定の時間値に基づいて、コンピュータの前段にカスケード接続されるマスタ装置が同期フレームを送信したタイミングを算出する演算手段、および演算手段によって算出された同期フレームの送信タイミングおよび同期フレームの送信周期に基づいて、後段にカスケード接続されるマスタ装置に向けてコンピュータが同期フレームを送出するタイミングを決定するタイミング決定手段として機能させる。   Further, the present invention is directed to a slave device connected to a master device and a master device cascaded to a subsequent stage when a computer is cascade-connected to the master device to execute frame communication with the master device. A timing adjustment program for functioning as a master device for adjusting the transmission timing of synchronization frames to be transmitted all at once, wherein the computer is based on at least a timing at which the computer receives a synchronization frame and a predetermined time value determined in advance. , Calculating means for calculating the timing at which the master device cascade-connected to the previous stage of the computer transmits the synchronization frame, and cascade connection to the subsequent stage based on the transmission timing of the synchronization frame and the transmission period of the synchronization frame calculated by the calculating means Master Computer to function as the timing determining means for determining a timing of transmitting the synchronization frame towards the location.

本発明によれば、カスケード接続されているマスタ装置同士を接続するケーブルの長さにかかわらず同期フレームの送信時間を一致させることが可能となる。また、前段に接続されているマスタ装置が次に同期フレームを送出するタイミングを正確に見積もることが可能となる。   According to the present invention, it is possible to match the transmission times of the synchronization frames regardless of the length of the cable connecting the master devices connected in cascade. In addition, it is possible to accurately estimate the timing at which the master device connected in the previous stage transmits the synchronization frame next time.

本発明に係るタイミング調整回路の実施例を含んで構成される構内交換機を用いて構築されている構内交換機システムを示す概略的な図である。1 is a schematic diagram showing a private branch exchange system constructed using a private branch exchange that includes an embodiment of a timing adjustment circuit according to the present invention. FIG. 本発明に係るタイミング調整回路の実施例の概略的な構成を示す回路構成図である。It is a circuit block diagram which shows the schematic structure of the Example of the timing adjustment circuit which concerns on this invention. 図1の構内交換機システムを概略的に示す別の図である。It is another figure which shows schematically the private branch exchange system of FIG. 本発明の実施例を用いて構内交換機からのフレーム出力の遅延調整を行ったときのタイミングチャートを示す図である。It is a figure which shows the timing chart when the delay adjustment of the frame output from a private branch exchange is performed using the Example of this invention. 本発明の実施例を用いてフレーム同期を実現した場合のタイムスロットの位相を示す図である。It is a figure which shows the phase of a time slot at the time of implement | achieving frame synchronization using the Example of this invention. コンピュータを本発明に係るタイミング調整回路の実施例を含む構内交換機として稼働させる構成を示す概略図である。It is the schematic which shows the structure which operates a computer as a private branch exchange including the Example of the timing adjustment circuit which concerns on this invention. カスケード接続で構内交換機を接続した従来の構内交換機システムによる同期フレームの遅延タイミングを示す図である。It is a figure which shows the delay timing of the synchronous frame by the conventional private branch exchange system which connected the private branch exchange by cascade connection. クロック同期と位相ずれの関係を説明する図である。It is a figure explaining the relationship between a clock synchronization and a phase shift. 非同期と位相ずれの関係を説明する図である。It is a figure explaining the relationship between asynchronous and phase shift.

次に添付図面を参照して本発明によるタイミング調整回路および同回路を含む構内交換機の実施例を詳細に説明する。図1を参照すると、本発明によるタイミング調整回路10の実施例は、DECT方式のPBXデジタル通信網内でマスタ装置の役割を果たすそれぞれの構内交換機(PBX)12内に搭載され、PBX 12等複数の端末のカスケード接続に起因して発生し得る遅延を参酌してフレームの送信タイミングを調整する回路である。   Embodiments of a timing adjustment circuit and a private branch exchange including the circuit according to the present invention will be described in detail with reference to the accompanying drawings. Referring to FIG. 1, an embodiment of a timing adjustment circuit 10 according to the present invention is mounted in each private branch exchange (PBX) 12 serving as a master device in a DECT-type PBX digital communication network. This is a circuit that adjusts the frame transmission timing in consideration of a delay that may occur due to the cascade connection of the terminals.

タイミング調整回路10を用いる構内交換機システム14内では複数のPBX 12がカスケード接続でつながっている。ただし、構内交換機システムを示す図1では便宜上、PBX 12a、PBX 12b、そしてPBX 12以外のPBXの図示は省略されている。また、図1において本発明の実施例に係るタイミング調整回路10が省略されずに図示されているのは2段目に接続されているPBX 12bのみであるが、PBX 12bの上段に接続されているPBX 12aおよびPBX 12bの下段に接続されているPBX 12cの内部にもタイミング調整回路10を搭載可能である。   In the private branch exchange system 14 using the timing adjustment circuit 10, a plurality of PBXs 12 are connected in cascade. However, in FIG. 1 showing the private branch exchange system, the PBX 12a, the PBX 12b, and the PBX other than the PBX 12 are not shown for convenience. Further, in FIG. 1, only the PBX 12b connected to the second stage is shown without omitting the timing adjustment circuit 10 according to the embodiment of the present invention, but connected to the upper stage of the PBX 12b. The timing adjustment circuit 10 can also be mounted inside the PBX 12c connected to the lower stage of the PBX 12a and the PBX 12b.

構内交換機(PBX)システム14は、マスタ装置の役割を果たしタイミング調整回路10を搭載する構内交換機(PBX)12aないし12cおよびスレーブ装置の役割を果たす複数の電話端末16を本質的な構成要素とする。本実施例に係るシステム14では、上段のPBX 14aから有線ケーブル16aを介してPBX 14bに同期フレームが送信され、さらにPBX 14bから有線ケーブル16bを介してPBX 14cに同期フレームが送信される。また、本図に示す実施例では、マスタ装置たるPBX 12bに対してそのスレーブ装置にあたる3つの電話端末18aないし18cがそれぞれ有線ケーブル20aないし20cを介して接続されているものとする。   The private branch exchange (PBX) system 14 is essentially composed of the private branch exchanges (PBX) 12a to 12c that serve as a master device and have the timing adjustment circuit 10 and a plurality of telephone terminals 16 that serve as slave devices. . In the system 14 according to the present embodiment, a synchronization frame is transmitted from the upper PBX 14a to the PBX 14b via the wired cable 16a, and further, a synchronization frame is transmitted from the PBX 14b to the PBX 14c via the wired cable 16b. In the embodiment shown in the figure, it is assumed that three telephone terminals 18a to 18c corresponding to the slave devices are connected to the PBX 12b serving as the master device via wired cables 20a to 20c, respectively.

かかる構成によって、タイミング調整回路10を搭載するPBX 12bは、フレーム単位で同期するよう送出タイミングを調整した同期フレームを、電話端末18および次段のPBX 12cに一斉に送信し、フレームの通信を実行することが可能となる。   With this configuration, the PBX 12b equipped with the timing adjustment circuit 10 transmits the synchronization frame whose transmission timing is adjusted to synchronize in units of frames to the telephone terminal 18 and the next-stage PBX 12c at the same time, and executes frame communication It becomes possible to do.

電話端末18は、利用者が通話に用いる受話器とカールコード等によって有線接続される必要のない、コードレス電話機の親機である。それぞれの電話端末18a〜18cは対応するコードレス電話の子機22a〜22cと無線24a〜24cによって接続されている。無線接続の方式はDECT方式であり、同一のエリアで複数の通信を実現させるべく、構内交換機12は10msecの無線同期タイミングをフレームに埋め込み、有線ケーブル20を介して接続されている電話端末18に無線同期タイミングが埋め込まれたフレームを分配する。   The telephone terminal 18 is a base unit of a cordless telephone that does not require a wired connection with a handset used by a user for a call by a curl cord or the like. Each of the telephone terminals 18a to 18c is connected to a corresponding cordless telephone cordless handset 22a to 22c by radio 24a to 24c. The wireless connection method is the DECT method, and the private branch exchange 12 embeds 10 msec wireless synchronization timing in the frame and connects to the telephone terminal 18 connected via the wired cable 20 in order to realize multiple communications in the same area. Distribute frames with embedded wireless synchronization timing.

構内交換機12をマスタ装置として各電話端末18とそれらの子機22によるDECT方式を用いた複数の無線通信が可能となった領域を、図2ではDECT無線エリア26として表す。   An area in which a plurality of wireless communications using the DECT method by the telephone terminals 18 and their slaves 22 using the private branch exchange 12 as a master device is possible is represented as a DECT wireless area 26 in FIG.

図1で示すシステム14の全体的な説明に続き、構内交換機12 (12b)およびこれに搭載されるタイミング調整回路10の構成のより詳細な説明を図2を参照しながら行う。構内交換機12は、タイミング調整回路10のほか、上位装置とのインタフェースでもある時分割制御回路32および下位装置とのインタフェースとなるインタフェース回路34を含んでいる。言い換えれば、構内交換機12はこれらの回路10、32および34を含み、各端末間で時分割制御方式による正常な通信を行うための処理としてフレーム送信タイミングの同期を確保する端末間同期回路35を含むということになる。すなわち、端末間同期回路12を搭載する装置が構内交換機12として働くとみなすこともできる。なお、本図で示す構成は、同期フレーム送出タイミングの調整と特に関連性の高い構成要素のみにとどめている。   Following the overall description of the system 14 shown in FIG. 1, a more detailed description of the configuration of the private branch exchange 12 (12b) and the timing adjustment circuit 10 mounted thereon will be given with reference to FIG. In addition to the timing adjustment circuit 10, the private branch exchange 12 includes a time division control circuit 32 that is also an interface with the host device and an interface circuit 34 that is an interface with the lower device. In other words, the private branch exchange 12 includes these circuits 10, 32, and 34, and includes an inter-terminal synchronization circuit 35 that ensures synchronization of frame transmission timing as a process for performing normal communication between the terminals by the time division control method. Will be included. That is, it can be considered that a device equipped with the inter-terminal synchronization circuit 12 works as the private branch exchange 12. It should be noted that the configuration shown in this figure is limited only to components that are particularly relevant to adjustment of the synchronization frame transmission timing.

時分割制御回路32は、ケーブル16aを介して前段のPBX 12aと接続され、前段のPBX 12aから同期フレーム等の信号を受信する。時分割制御回路32は、受信した同期フレームに基づいて、時分割制御伝送方式による通信を行うために必要な種々の処理を行う。   The time division control circuit 32 is connected to the preceding PBX 12a via the cable 16a, and receives a signal such as a synchronization frame from the preceding PBX 12a. The time division control circuit 32 performs various processes necessary for performing communication using the time division control transmission method based on the received synchronization frame.

時分割制御回路32は通信線36を介してタイミング調整回路10に接続されている。タイミング調整回路10は、受信した同期フレームの関する情報の中から抽出した所定の情報を保持する記憶保持回路38を有していてもよい。特に、記憶保持回路38は、時分割制御回路32が前段のPBX 12aから同期フレームを受信した時間を受信タイミングT0として保持する。   The time division control circuit 32 is connected to the timing adjustment circuit 10 via the communication line 36. The timing adjustment circuit 10 may include a storage holding circuit 38 that holds predetermined information extracted from information related to the received synchronization frame. In particular, the memory holding circuit 38 holds the time when the time division control circuit 32 receives the synchronization frame from the preceding PBX 12a as the reception timing T0.

また、記憶保持回路38は、例えばPBX 12aからPBX 12bへのケーブル16aを介してのカスケード接続されたPBX同紙における同期フレームの伝送の際に生じる伝送遅延時間を考慮して、予め決められた遅延時間値T1を記憶可能である。または、PBX 12aとPBX 12bの間の伝送遅延時間値として正常な通信が確保される限度で最大限許容される遅延時間値を最大遅延値TMAXとして記憶していてもよい。   In addition, the memory holding circuit 38, for example, a delay determined in advance in consideration of the transmission delay time that occurs when the synchronous frame is transmitted in the cascade-connected PBX paper from the PBX 12a to the PBX 12b via the cable 16a. The time value T1 can be stored. Alternatively, the maximum delay value TMAX may be stored as a maximum delay value TMAX as long as normal communication is ensured as a transmission delay time value between the PBX 12a and the PBX 12b.

記憶保持回路38は、例えば電気的な記憶方法を用いるDRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)のような一時記憶回路であってもよく、これらの一時回路を用いるとより高速でのデータの読み書きが可能となる。また、記憶保持回路38が電気的な記憶方法を用いる一時記憶回路である場合、例えば磁気的その他物理的な記憶方法を用いて長期的な記憶に適するハードディスク等の図示しない長期記憶装置を記憶保持回路38と接続させておいてもよい。遅延時間T1や最大遅延値TMAXを予め設定しておくことが可能なので、遅延時間T1や最大遅延値TMAXをまずは長期記憶装置に記憶させておき、必要に応じて時間値T1やTMAXを記憶保持回路38に送ってタイミング調整回路10内にてより高速にデータ処理を実行できるようにしてもよい。   The memory holding circuit 38 may be a temporary storage circuit such as a DRAM (Dynamic Random Access Memory) or SRAM (Static Random Access Memory) using, for example, an electrical storage method. Data can be read and written on. Further, when the memory holding circuit 38 is a temporary storage circuit using an electrical storage method, for example, a long-term storage device (not shown) such as a hard disk suitable for long-term storage is stored and held using a magnetic or other physical storage method. It may be connected to the circuit 38. Since the delay time T1 and the maximum delay value TMAX can be set in advance, the delay time T1 and the maximum delay value TMAX are first stored in a long-term storage device, and the time values T1 and TMAX are stored and retained as necessary. The data may be sent to the circuit 38 so that the data processing can be executed at a higher speed in the timing adjustment circuit 10.

なお、記憶保持回路38ではさらに、同期フレームの送出周期Tを保持する。送出周期Tは、同期フレームの受信に伴い抽出される情報であってもよく、その場合には受信タイミングT0とともに記憶保持回路38に保持される。なお、予め送出周期Tが判明している場合で長期記憶装置を記憶保持回路38と接続する構成を採っているならば、PBX 12の稼働に先立って送出周期Tを長期記憶装置に記憶させておいてもよい。   Note that the memory holding circuit 38 further holds the transmission period T of the synchronization frame. The transmission period T may be information extracted with the reception of the synchronization frame. In this case, the transmission period T is held in the storage holding circuit 38 together with the reception timing T0. If the transmission cycle T is known in advance and the long-term storage device is connected to the memory holding circuit 38, the transmission cycle T is stored in the long-term storage device prior to the operation of the PBX 12. It may be left.

タイミング調整回路10はさらに、記憶保持回路38の出力39と接続されている演算回路40を有する。演算回路40は、時分割制御回路32が同期フレームを受信した受信タイミングT0および予め決められた遅延時間値T1に関するデータを記憶保持回路38から受け取る。遅延時間値T1を受け取る代わりに、記憶保持回路38が最大遅延値TMAXを記憶している場合には、演算回路40は記憶保持回路38から最大遅延値TMAXを受け取ってもよい。   The timing adjustment circuit 10 further includes an arithmetic circuit 40 connected to the output 39 of the memory holding circuit 38. The arithmetic circuit 40 receives from the storage holding circuit 38 data related to the reception timing T0 when the time division control circuit 32 receives the synchronization frame and a predetermined delay time value T1. Instead of receiving the delay time value T1, when the memory holding circuit 38 stores the maximum delay value TMAX, the arithmetic circuit 40 may receive the maximum delay value TMAX from the memory holding circuit 38.

演算回路40は、受け取ったデータを用いて前段に接続されたPBXが実際に同期フレームを送出したタイミングを計算する。具体的には、演算回路40は受信タイミングT0から遅延時間値T1を差し引き、前段のPBX 12aが実際に同期フレームをPBX 12bに送出したタイミングT2を計算する。   The arithmetic circuit 40 uses the received data to calculate the timing at which the PBX connected in the previous stage actually sends out the synchronization frame. Specifically, the arithmetic circuit 40 subtracts the delay time value T1 from the reception timing T0, and calculates the timing T2 at which the preceding PBX 12a actually sends the synchronization frame to the PBX 12b.

なお、演算回路40が遅延時間値T1ではなく最大遅延値TMAXを受け取った場合には、演算回路40は受信タイミングT0から最大遅延値TMAXを差し引き、前段のPBX 12aが同期フレームをPBX 12bに送出したタイミングをみなし送出タイミングT2として算出する。   When the arithmetic circuit 40 receives the maximum delay value TMAX instead of the delay time value T1, the arithmetic circuit 40 subtracts the maximum delay value TMAX from the reception timing T0, and the preceding PBX 12a sends a synchronization frame to the PBX 12b. The calculated timing is calculated as the deemed transmission timing T2.

タイミング調整回路10はさらに、演算回路40の出力41と接続され演算回路40の演算結果を受け取り、後段のPBX 12cに同期フレームを送出するタイミングを決定するタイミング決定回路42を有する。タイミング決定回路42は、記憶保持回路38の出力43とも接続され、フレームの送出周期Tに関する情報を受け取ることができる。   The timing adjustment circuit 10 further includes a timing determination circuit 42 that is connected to the output 41 of the arithmetic circuit 40, receives the calculation result of the arithmetic circuit 40, and determines the timing for sending the synchronization frame to the subsequent PBX 12c. The timing determination circuit 42 is also connected to the output 43 of the memory holding circuit 38, and can receive information regarding the frame transmission period T.

タイミング決定回路42は、演算回路40から受け取ったタイミングT2に記憶保持回路38から受け取った送出周期Tを加え、PBX 12bが電話端末18および後段のPBX 12cに対して同期フレームを送信するタイミングT2+Tを決定する。   The timing determination circuit 42 adds the transmission cycle T received from the memory holding circuit 38 to the timing T2 received from the arithmetic circuit 40, and the timing T2 + when the PBX 12b transmits a synchronization frame to the telephone terminal 18 and the subsequent PBX 12c. Determine T.

タイミング決定回路42の出力は、通信線44を介してインタフェース回路34の入力と接続される。インタフェース回路34はDECT方式のPBXデジタル通信網内でマスタ装置の役割を果たす構内交換機(PBX)12内に搭載される一方で、インタフェース回路34の出力はスレーブ装置の役割を果たす各電話端末18と接続される。インタフェース回路34は、PBX 12ごとにそのPBXのスレーブ装置となる電話端末18の数だけ搭載される。インタフェース回路34aないし34cは、このような構成でPBX 12と各電話端末18の間を接続して、両装置間での通信を可能とすべく種々の制御処理を行う。特に、インタフェース回路34は、時分割制御伝送方式による通信を実現するために必要な送信フレームの送信タイミングの調整を行う。   The output of the timing determination circuit 42 is connected to the input of the interface circuit 34 via the communication line 44. The interface circuit 34 is mounted in a private branch exchange (PBX) 12 that serves as a master device in a DECT PBX digital communication network, while the output of the interface circuit 34 is connected to each telephone terminal 18 that serves as a slave device. Connected. The interface circuits 34 are installed for each PBX 12 by the number of telephone terminals 18 that are slave devices of the PBX. The interface circuits 34a to 34c connect the PBX 12 and each telephone terminal 18 with such a configuration, and perform various control processes to enable communication between the two devices. In particular, the interface circuit 34 adjusts the transmission timing of transmission frames necessary for realizing communication by the time division control transmission method.

インタフェース回路34はさらに、通信の信頼性をさらに向上させるべく、回路34に接続されている電話端末18に送信する送信フレームの送信タイミングを個別的に調整する同期回路46またはこれと同種の働きをする回路を有していてもよい。図2ではインタフェース回路34aのみに同期回路46は明示されているが、もちろんのこと他の回路34b、34cにも同期回路46が含まれていてよい。この同期回路46には、例えば、各ケーブルの長さに応じて生じるそれぞれの遅延量を測定するカウンタまたはこれと同様の回路を設け、PBX 12内における送信フレームの生成タイミングから送信フレームの受信に応じて電話端末18側から送信された受信フレームを受信する受信タイミングまでの間隔を測定する構成を採ってもよい。さらに、この測定値から各ケーブル44a〜44cの長さに応じて生じるPBX 12および電話端末18の間の遅延量を割り出し、各回路34a〜34cから各電話端末18a〜18cへ向けて送信する送信フレームの送信タイミングを個別に遅延させるよう調整する回路を同期回路46内に設けてもよい。   The interface circuit 34 further functions as a synchronization circuit 46 for individually adjusting the transmission timing of a transmission frame transmitted to the telephone terminal 18 connected to the circuit 34 or the same kind of function in order to further improve the reliability of communication. It may have a circuit to do. In FIG. 2, the synchronization circuit 46 is clearly shown only in the interface circuit 34a, but it goes without saying that the synchronization circuit 46 may be included in the other circuits 34b and 34c. The synchronization circuit 46 is provided with, for example, a counter for measuring the amount of delay generated according to the length of each cable or a circuit similar thereto, so that the transmission frame can be received from the generation timing of the transmission frame in the PBX 12. Accordingly, a configuration may be adopted in which the interval until the reception timing for receiving the reception frame transmitted from the telephone terminal 18 side is measured. In addition, the delay amount between the PBX 12 and the telephone terminal 18 generated according to the length of each cable 44a to 44c is determined from this measured value, and transmitted from each circuit 34a to 34c toward each telephone terminal 18a to 18c. A circuit for adjusting the transmission timing of the frame to be individually delayed may be provided in the synchronization circuit 46.

インタフェース回路34内に上述の同期回路46又はこれに相当する回路を設けた場合、PBX 12と各電話端末18a〜18cの間の通信に異なる遅延差が発生する場合であっても、各電話端末18に供給される同期フレームの受信タイミングをT2+Tのタイミングで一致させることが可能となる。   When the above-described synchronization circuit 46 or a circuit corresponding thereto is provided in the interface circuit 34, each telephone terminal can be used even when a different delay difference occurs in communication between the PBX 12 and each telephone terminal 18a to 18c. It is possible to make the reception timing of the synchronization frame supplied to 18 coincide with the timing of T2 + T.

タイミング決定回路42の出力はさらに、通信線52を介してインタフェース回路54の入力とも接続されてもよい。インタフェース回路54の出力は、ケーブル16bを介して、PBX 12bの後段にカスケード接続されているPBX 12cにつながっている。インタフェース回路54は、このような構成でPBX 12bとPBX 12cの間を接続して、PBX 12bからPBX 12cへの同期フレームの供給が確実かつ円滑に実行できるよう、必要な制御処理を行う。なお、インタフェース回路54にも、前述の同期回路46に相当する回路が含まれていても構わない。かかる構成により、後段のPBX 12cとの間でフレームの通信を実行するに際して、後段PBX 12cに送信するフレームの送信タイミングを調整することができる。これによって、時分割制御伝送方式による通信を実現するために必要なタイミングの制御が行われる。   The output of the timing determination circuit 42 may be further connected to the input of the interface circuit 54 via the communication line 52. The output of the interface circuit 54 is connected via the cable 16b to the PBX 12c cascaded in the subsequent stage of the PBX 12b. The interface circuit 54 connects the PBX 12b and the PBX 12c with such a configuration, and performs necessary control processing so that the synchronization frame can be reliably and smoothly supplied from the PBX 12b to the PBX 12c. Note that the interface circuit 54 may include a circuit corresponding to the above-described synchronization circuit 46. With this configuration, when performing frame communication with the downstream PBX 12c, the transmission timing of the frame transmitted to the downstream PBX 12c can be adjusted. As a result, the timing necessary for realizing communication by the time division control transmission method is controlled.

続いて、本発明の実施例であるタイミング調整回路10によって実行される同期フレームの送信時間の調整に関する動作の説明を行う。図3で示す構内交換機システム10の構成は図1で示すものと実質的に同様である。しかしながら、各装置から送られる同期フレームの出力タイミングを把握しやすいように図示する構成要素を一部変更している。例えば、図中最前段のPBX 12aのスレーブ装置として、電話端末18dおよび18eがそれぞれ有線ケーブル20dおよび20eを介して接続されている。また、図4は、本発明に係るタイミング調整回路の実施例で実行される遅延調整に関するタイミングチャートである。   Subsequently, an operation related to adjustment of the transmission time of the synchronization frame executed by the timing adjustment circuit 10 according to the embodiment of the present invention will be described. The configuration of the private branch exchange system 10 shown in FIG. 3 is substantially the same as that shown in FIG. However, some of the components shown in the figure are changed so that the output timing of the synchronization frame sent from each device can be easily grasped. For example, telephone terminals 18d and 18e are connected via wired cables 20d and 20e as slave devices of the frontmost PBX 12a in the figure. FIG. 4 is a timing chart relating to delay adjustment executed in the embodiment of the timing adjustment circuit according to the present invention.

まず、図中最前段の構内交換機(PBX)12aは、無線端末である電話端末18d、18eのほか、次段のPBX 12bに、同期フレーム62を同一のタイミングで送信する。PBX 12aからPBX 12bへの同期フレーム62の送信は、ケーブル16aを介して行われるので、ケーブル16aの長さに応じた伝送遅延が発生する。かかる伝送遅延のため、PBX 12bは同期フレーム62を遅延したタイミングで、すなわち図4に示す同期フレーム62aのタイミングTOで受信する。   First, the private branch exchange (PBX) 12a in the forefront in the figure transmits the synchronization frame 62 to the PBX 12b in the next stage in addition to the telephone terminals 18d and 18e which are wireless terminals at the same timing. Since the transmission of the synchronization frame 62 from the PBX 12a to the PBX 12b is performed via the cable 16a, a transmission delay corresponding to the length of the cable 16a occurs. Due to such a transmission delay, the PBX 12b receives the synchronization frame 62 at a delayed timing, that is, at the timing TO of the synchronization frame 62a shown in FIG.

同期フレーム62aを受信したPBX 12bのタイミング調整回路10の記憶保持回路38では、同期フレーム62aとして受信したタイミングTOを保持する。また、記憶保持回路38には遅延時間値T1も予め記憶されている。   The memory holding circuit 38 of the timing adjustment circuit 10 of the PBX 12b that has received the synchronization frame 62a holds the timing TO received as the synchronization frame 62a. The memory holding circuit 38 also stores a delay time value T1 in advance.

続いてタイミング調整回路10の演算回路40は、記憶保持回路38に保持されている受信タイミングT0から遅延時間値T1を差し引くことによって、前段のPBX 12aが実際に同期フレームをPBX 12bに送出したタイミングT2を計算する。   Subsequently, the arithmetic circuit 40 of the timing adjustment circuit 10 subtracts the delay time value T1 from the reception timing T0 held in the memory holding circuit 38, whereby the preceding PBX 12a actually sends the synchronization frame to the PBX 12b. Calculate T2.

なお、遅延時間値T1ではなく最大遅延値TMAXを記憶保持回路38で記憶している場合であっても、遅延時間値T1の場合と同様に受信タイミングT0から最大遅延値TMAXを差し引くことにより、前段のPBX 12aが同期フレームをPBX 12bに送出したものと推定するみなしタイミングT2を算出する。   Even when the maximum delay value TMAX is stored in the memory holding circuit 38 instead of the delay time value T1, by subtracting the maximum delay value TMAX from the reception timing T0 as in the case of the delay time value T1, A presumed timing T2 at which the preceding PBX 12a estimates that a synchronization frame has been transmitted to the PBX 12b is calculated.

タイミング調整回路10のタイミング決定回路42は、演算回路40からはタイミングT2を、記憶保持回路38からフレームの送出周期Tを受け取り、タイミングT2に送出周期Tを加え、PBX 12bが電話端末18a、18bおよび後段のPBX 12cに対して同期フレーム64を送信するタイミングT2+Tを決定する。   The timing determination circuit 42 of the timing adjustment circuit 10 receives the timing T2 from the arithmetic circuit 40 and the frame transmission period T from the memory holding circuit 38, adds the transmission period T to the timing T2, and the PBX 12b receives the telephone terminals 18a and 18b. The timing T2 + T at which the synchronization frame 64 is transmitted to the subsequent PBX 12c is determined.

PBX 12bの観点から見れば、PBX 12aの送出タイミングとされる値T2は、T0-T1の計算結果であり、この演算値T0-T1に送出周期Tを加えた時間だけ遅延処理を行ってから後段に同期フレーム64を送出したこととなる。そのため、本実施例においてPBX 12bが受け取った同期フレーム62aの処理に要した処理遅延時間は、T0-T1+Tの値に相当することとなる。   From the point of view of PBX 12b, the value T2 that is the transmission timing of PBX 12a is the calculation result of T0-T1, and after delay processing is performed for the calculated value T0-T1 plus the transmission period T This means that the synchronization frame 64 is transmitted to the subsequent stage. For this reason, the processing delay time required for the processing of the synchronization frame 62a received by the PBX 12b in the present embodiment corresponds to the value of T0−T1 + T.

タイミングT2は前段のPBX 12aが同期フレーム62を送出したタイミングに相当し、このタイミングT2に送出周期Tを加えた時間T2+Tが同期フレーム64の送信タイミングとなるので、同期フレーム64の送信タイミングは同期フレーム62の送信タイミングと一致する。したがって、ちょうど1周期(T)分の遅延を伴ってフレーム同期が実現されている状態となり、例えばPBX 12aのスレーブ装置たる電話端末18d、18eおよびPBX 12bのスレーブ装置たる電話端末18a、18bからそれぞれ発せられる無線タイムスロットの位相ずれは起こらない。   Timing T2 corresponds to the timing at which the preceding PBX 12a transmits the synchronization frame 62, and the time T2 + T obtained by adding the transmission period T to this timing T2 is the transmission timing of the synchronization frame 64. Therefore, the transmission timing of the synchronization frame 64 Coincides with the transmission timing of the synchronization frame 62. Accordingly, the frame synchronization is realized with a delay of exactly one cycle (T), for example, from the telephone terminals 18d and 18e as slave devices of the PBX 12a and the telephone terminals 18a and 18b as slave devices of the PBX 12b, respectively. There is no phase shift in the emitted radio time slots.

フレーム同期がとれている場合における、各PBXからそれぞれ接続されている電話端末によって発せられるタイムスロットを、図5を参照しながら説明する。同図の説明においては、図8の場合と同様に、便宜上、1つのフレームが5つのタイムスロット1〜5に分割され、電話端末18a等の装置が使用しているタイムスロットは2番目のもの(タイムスロット2)であるものとする。同期フレーム62に対して同期フレーム64をフレーム同期させたならば、フレーム同士の遅延値jは常に0で一定となり位相ずれも生じない。このため、図5に示す通り、他の電話端末18b側で使用できないタイムスロットは常に1つ(タイムスロット2)のみとなり、有効に無線スロットを利用できることとなる。   With reference to FIG. 5, a description will be given of time slots issued by telephone terminals connected from the respective PBXs when frame synchronization is established. In the description of the figure, as in the case of FIG. 8, for convenience, one frame is divided into five time slots 1 to 5, and the time slot used by a device such as the telephone terminal 18a is the second one. It is assumed that (time slot 2). If the synchronization frame 64 is frame-synchronized with the synchronization frame 62, the delay value j between frames is always 0 and constant, and no phase shift occurs. Therefore, as shown in FIG. 5, there is always only one time slot (time slot 2) that cannot be used on the other telephone terminal 18b side, and the radio slot can be used effectively.

以上で述べたように、本発明の実施例によれば、カスケード接続されているすべてのPBXは予め決められた遅延値に基づいて後段のPBXへの同期フレームの送信時間を調整することにより、ケーブル長にかかわらず送信時間を一致させることが可能となる。また、PBXが同期フレームを受信したタイミングから遅延値を考慮することにより、前段のPBXが実際に同期フレームを送出するタイミングを計算することができるため、前段のPBXが次に同期フレームを送出するタイミングを正確に見積もることが可能となる。   As described above, according to the embodiment of the present invention, all cascaded PBXs adjust the transmission time of the synchronization frame to the subsequent PBX based on the predetermined delay value, The transmission times can be matched regardless of the cable length. Also, by considering the delay value from the timing when the PBX received the synchronization frame, the timing at which the previous PBX actually sends the synchronization frame can be calculated, so the previous PBX sends the next synchronization frame. It is possible to accurately estimate the timing.

ところで、本発明の実施例に係るタイミング調整回路10および同回路10を含む構内交換機14は、上記で述べた調整方法を実行させるプログラムをコンピュータにインストールさせることによっても具現化され得る。この場合の実施例を、図6を参照しながら簡潔に説明する。上述した本発明の実施例に係るタイミング調整回路10を有する構内交換機12としてコンピュータ82を機能させるプログラムを記憶媒体84に記憶しておく。ここで、記憶媒体84とは、光学ディスクや磁気ディスク、フラッシュメモリなど、プログラムを記憶することが可能ないかなる装置や部品も含まれる。   By the way, the private branch exchange 14 including the timing adjustment circuit 10 and the circuit 10 according to the embodiment of the present invention can be realized by installing a program for executing the adjustment method described above in a computer. An embodiment in this case will be briefly described with reference to FIG. A program for causing the computer 82 to function as the private branch exchange 12 having the timing adjustment circuit 10 according to the embodiment of the present invention described above is stored in the storage medium 84. Here, the storage medium 84 includes any device or component capable of storing a program, such as an optical disk, a magnetic disk, or a flash memory.

コンピュータ82は、記憶媒体84の記憶内容を読取り可能なドライブ86を有する。ドライブ86はコンピュータ82に固定的に内蔵されていても、または、コンピュータ82とは独立した外付け型でコンピュータ82と接続可能な機器であってもよい。また、コンピュータ82は、演算などの情報処理やコンピュータ自身の制御を行う中央処理装置(CPU)88およびプログラムやデータなどを記憶する記憶装置90を有する。本図で示す記憶装置90は便宜上、データを一時的に記憶する装置および恒常的に記憶する装置の双方を含むものとする。CPU 88はドライブ86と接続線92を介して接続され、記憶装置90とも接続線94を介して接続されている。   The computer 82 has a drive 86 that can read the storage contents of the storage medium 84. The drive 86 may be fixedly built in the computer 82, or may be an external device independent from the computer 82 and connectable to the computer 82. The computer 82 includes a central processing unit (CPU) 88 that performs information processing such as computation and control of the computer itself, and a storage device 90 that stores programs, data, and the like. For convenience, the storage device 90 shown in this figure includes both a device that temporarily stores data and a device that constantly stores data. The CPU 88 is connected to the drive 86 via the connection line 92 and is also connected to the storage device 90 via the connection line 94.

記憶媒体84に記憶されたプログラムは、ドライブ86を介してコンピュータ82に読み取られ、読み取られたプログラムは、CPU 88による制御の下、コンピュータ82の記憶装置90に記憶される。このようにしてプログラムが組み込まれたコンピュータ82は、プログラムを実施させることにより、上述した本発明の実施例に係るタイミング調整回路10を搭載した構内交換機12として働くことが可能となる。このプログラムは、コンピュータ82内のCPU 88、記憶装置90その他図示しない様々な内部装置を、タイミング調整回路10内に含まれる記憶保持回路38、演算回路40およびタイミング決定回路42として働かせるものであるともいえる。また、コンピュータ82内の記憶装置90は、遅延時間T1や最大遅延値TMAX等のデータを予め記憶させておく長期記憶装置として働かせてもよい。   The program stored in the storage medium 84 is read by the computer 82 via the drive 86, and the read program is stored in the storage device 90 of the computer 82 under the control of the CPU 88. The computer 82 in which the program is incorporated in this way can operate as the private branch exchange 12 equipped with the timing adjustment circuit 10 according to the above-described embodiment of the present invention by executing the program. This program also makes the CPU 88 in the computer 82, the storage device 90, and other various internal devices not shown work as the memory holding circuit 38, the arithmetic circuit 40, and the timing determination circuit 42 included in the timing adjustment circuit 10. I can say that. Further, the storage device 90 in the computer 82 may serve as a long-term storage device that stores data such as the delay time T1 and the maximum delay value TMAX in advance.

以上、ここまで本発明のいくつかの実施例を述べてきたが、本発明を実施する具体的手法は上述の実施例に制限されるものではない。本発明の実施が可能である限りにおいて適宜に設計や動作手順等の変更をなし得る。例えば、本発明に用いられる構成要素の機能発揮を補助する用に供する回路その他の機器については、適宜に付加および省略可能である。   Although several embodiments of the present invention have been described so far, specific methods for implementing the present invention are not limited to the above-described embodiments. As long as the present invention can be implemented, the design, operation procedure, and the like can be changed as appropriate. For example, circuits and other devices used for assisting the function of the components used in the present invention can be added and omitted as appropriate.

10 タイミング調整回路
12 構内交換機
14 構内交換機システム
18 電話端末
35 端末間同期回路
40 演算回路
42 タイミング決定回路
82 コンピュータ
84 記憶媒体
10 Timing adjustment circuit
12 Private branch exchange
14 Private branch exchange system
18 Telephone terminal
35 Inter-terminal synchronization circuit
40 Arithmetic circuit
42 Timing decision circuit
82 computers
84 Storage media

Claims (15)

他のマスタ装置とカスケード接続され該他のマスタ装置との間でフレームの通信を実行するマスタ装置に搭載可能に構成され、該マスタ装置に接続されるスレーブ装置および後段にカスケード接続される他のマスタ装置に向けて一斉に送信する同期フレームの送信タイミングを調整するタイミング調整回路であって、該タイミング調整回路は、
該タイミング調整回路を搭載したマスタ装置が同期フレームを受信したタイミングおよび予め決定しておいた所定の時間値に基づいて、該タイミング調整回路を搭載したマスタ装置の前段にカスケード接続される他のマスタ装置が同期フレームを送信したタイミングを算出する演算回路と、
該演算回路によって算出された同期フレームの送信タイミングおよび前記同期フレームの送信周期に基づいて、前記後段にカスケード接続される他のマスタ装置に向けて該タイミング調整回路を搭載したマスタ装置が同期フレームを送出するタイミングを決定するタイミング決定回路とを有することを特徴とするタイミング調整回路。
It is configured to be mountable on a master device that is cascade-connected to another master device and performs frame communication with the other master device, and is connected to the master device and other devices that are cascade-connected to the subsequent stage. A timing adjustment circuit that adjusts the transmission timing of synchronization frames that are transmitted simultaneously to a master device, the timing adjustment circuit comprising:
Other masters cascade-connected to the preceding stage of the master device equipped with the timing adjustment circuit based on the timing at which the master device equipped with the timing adjustment circuit receives the synchronization frame and a predetermined time value determined in advance An arithmetic circuit for calculating the timing at which the device transmits the synchronization frame;
Based on the transmission timing of the synchronization frame calculated by the arithmetic circuit and the transmission cycle of the synchronization frame, a master device on which the timing adjustment circuit is mounted toward another master device cascade-connected to the subsequent stage transmits the synchronization frame. A timing adjustment circuit comprising: a timing determination circuit that determines a transmission timing.
請求項1に記載のタイミング調整回路において、前記演算回路は、前記同期フレームを受信したタイミングから前記所定の時間値を差し引くことによって、前記同期フレームを送信したタイミングを算出することを特徴とするタイミング調整回路。   2. The timing adjustment circuit according to claim 1, wherein the arithmetic circuit calculates a timing at which the synchronization frame is transmitted by subtracting the predetermined time value from a timing at which the synchronization frame is received. Adjustment circuit. 請求項1または2に記載のタイミング調整回路において、前記タイミング決定回路は、前記演算回路によって算出された同期フレームの送信タイミングに前記同期フレームの送信周期を加えることによって、前記同期フレームを送出するタイミングを決定することを特徴とするタイミング調整回路。   3. The timing adjustment circuit according to claim 1, wherein the timing determination circuit sends the synchronization frame by adding a transmission period of the synchronization frame to a transmission timing of the synchronization frame calculated by the arithmetic circuit. A timing adjustment circuit characterized by determining the timing. 請求項1ないし3のいずれかに記載のタイミング調整回路において、前記所定の時間値は、該タイミング調整回路を搭載したマスタ装置および該マスタ装置の前段にカスケード接続されるマスタ装置の間を接続するケーブルに起因して生じる伝送遅延時間に基づいて決定されることを特徴とするタイミング調整回路。   4. The timing adjustment circuit according to claim 1, wherein the predetermined time value connects between a master device on which the timing adjustment circuit is mounted and a master device cascade-connected to a preceding stage of the master device. A timing adjustment circuit, wherein the timing adjustment circuit is determined based on a transmission delay time caused by a cable. 請求項1ないし3のいずれかに記載のタイミング調整回路において、前記所定の時間値は、該タイミング調整回路を搭載したマスタ装置および該マスタ装置の前段にカスケード接続されるマスタ装置の間を接続するケーブルに起因して生じる伝送遅延時間として正常な通信が確保される限度で許容される最大の遅延時間値に決定されることを特徴とするタイミング調整回路。   4. The timing adjustment circuit according to claim 1, wherein the predetermined time value connects between a master device on which the timing adjustment circuit is mounted and a master device cascade-connected to a preceding stage of the master device. A timing adjustment circuit characterized by being determined to be a maximum delay time value allowed as long as normal communication is ensured as a transmission delay time caused by a cable. 他のマスタ装置とカスケード接続され該他のマスタ装置との間でフレームの通信を実行するマスタ装置に搭載可能に構成され、前記接続したマスタ装置間におけるフレーム送信タイミングの同期を確保する端末間同期回路であって、該端末間同期回路はさらに、
前段にカスケード接続される他のマスタ装置から同期フレームを受け取る処理回路と、
前記マスタ装置に接続されるスレーブ装置および後段にカスケード接続される他のマスタ装置に向けて一斉に送信する同期フレームの送信タイミングを調整し、前記処理回路が同期フレームを受信したタイミングおよび予め決定しておいた所定の時間値に基づいて、該処理回路の前段に接続される他のマスタ装置が同期フレームを送信したタイミングを算出する演算回路と、該演算回路によって算出された同期フレームの送信タイミングおよび前記同期フレームの送信周期に基づいて、前記後段に接続される他のマスタ装置に向けて該端末間同期回路が同期フレームを送出するタイミングを決定するタイミング決定回路とを含むタイミング調整回路と、
後段に接続される他のマスタ装置との間で同期フレームの通信を実行するに際して、前記タイミング調整回路によって決定された同期フレームを送出するタイミングを受け取り、該タイミングに基づいて、前記後段に接続される他のマスタ装置に送信する同期フレームの送信タイミングを調整するインタフェース回路とを有することを特徴とする端末間同期回路。
Inter-terminal synchronization that is configured to be mounted on a master device that is cascade-connected to another master device and performs frame communication with the other master device, and ensures synchronization of frame transmission timing between the connected master devices. The inter-terminal synchronization circuit further comprises:
A processing circuit for receiving a synchronization frame from another master device cascaded in the previous stage;
It adjusts the transmission timing of the synchronization frame transmitted simultaneously to the slave device connected to the master device and other master devices cascade-connected in the subsequent stage, and determines in advance the timing at which the processing circuit receives the synchronization frame. An arithmetic circuit that calculates the timing at which another master device connected to the previous stage of the processing circuit transmits a synchronization frame based on the predetermined time value, and the transmission timing of the synchronization frame calculated by the arithmetic circuit A timing adjustment circuit including a timing determination circuit that determines a timing at which the inter-terminal synchronization circuit transmits a synchronization frame to another master device connected to the subsequent stage based on a transmission period of the synchronization frame;
When performing synchronization frame communication with another master device connected to the subsequent stage, the timing to send the synchronization frame determined by the timing adjustment circuit is received, and based on the timing, the synchronization frame is connected to the subsequent stage. And an interface circuit for adjusting a transmission timing of a synchronization frame to be transmitted to another master device.
請求項6に記載の端末間同期回路において、前記演算回路は、前記同期フレームを受信したタイミングから前記所定の時間値を差し引くことによって、前記同期フレームを送信したタイミングを算出することを特徴とする端末間同期回路。   7. The inter-terminal synchronization circuit according to claim 6, wherein the arithmetic circuit calculates the timing at which the synchronization frame is transmitted by subtracting the predetermined time value from the timing at which the synchronization frame is received. Inter-terminal synchronization circuit. 請求項6または7に記載の端末間同期回路において、前記タイミング決定回路は、前記演算回路によって算出された同期フレームの送信タイミングに前記同期フレームの送信周期を加えることによって、前記同期フレームを送出するタイミングを決定することを特徴とする端末間同期回路。   8. The inter-terminal synchronization circuit according to claim 6, wherein the timing determination circuit transmits the synchronization frame by adding a transmission period of the synchronization frame to the transmission timing of the synchronization frame calculated by the arithmetic circuit. An inter-terminal synchronization circuit characterized by determining timing. 請求項6ないし8のいずれかに記載の端末間同期回路において、前記所定の時間値は、該マスタ装置および該マスタ装置の前段にカスケード接続されるマスタ装置の間を接続するケーブルに起因して生じる伝送遅延時間に基づいて決定されることを特徴とする端末間同期回路。   9. The inter-terminal synchronization circuit according to claim 6, wherein the predetermined time value is caused by a cable connecting the master device and a master device cascade-connected to the previous stage of the master device. An inter-terminal synchronization circuit, which is determined based on a transmission delay time that occurs. 請求項6ないし8のいずれかに記載の端末間同期回路において、前記所定の時間値は、該マスタ装置および該マスタ装置の前段にカスケード接続されるマスタ装置の間を接続するケーブルに起因して生じる伝送遅延時間として正常な通信が確保される限度で許容される最大の遅延時間値に決定されることを特徴とする端末間同期回路。   9. The inter-terminal synchronization circuit according to claim 6, wherein the predetermined time value is caused by a cable connecting the master device and a master device cascade-connected to the previous stage of the master device. A terminal-to-terminal synchronization circuit characterized in that a maximum delay time value that is allowed as long as normal communication is secured is determined as a transmission delay time that occurs. コンピュータを、マスタ装置とカスケード接続して該マスタ装置との間でフレームの通信を実行するに際して、前記マスタ装置と接続されるスレーブ装置および後段にカスケード接続されるマスタ装置に向けて一斉に送信する同期フレームの送信タイミングを調整するマスタ装置として機能させるタイミング調整プログラムであって、該プログラムは前記コンピュータを少なくとも、
該コンピュータが同期フレームを受信したタイミングおよび予め決定しておいた所定の時間値に基づいて、該コンピュータの前段にカスケード接続されるマスタ装置が同期フレームを送信したタイミングを算出する演算手段、および、
該演算手段によって算出された同期フレームの送信タイミングおよび前記同期フレームの送信周期に基づいて、前記後段にカスケード接続されるマスタ装置に向けて前記コンピュータが同期フレームを送出するタイミングを決定するタイミング決定手段として機能させることを特徴とするタイミング調整プログラム。
When the computer is cascade-connected to the master device and performs frame communication with the master device, the computer is simultaneously transmitted to the slave device connected to the master device and the master device cascade-connected to the subsequent stage. A timing adjustment program that functions as a master device for adjusting the transmission timing of a synchronization frame, the program comprising at least the computer,
Based on the timing at which the computer receives the synchronization frame and a predetermined time value determined in advance, a calculation means for calculating the timing at which the master device cascade-connected to the previous stage of the computer transmits the synchronization frame; and
Timing determination means for determining the timing at which the computer sends out the synchronization frame to the master device cascade-connected to the subsequent stage based on the transmission timing of the synchronization frame calculated by the calculation means and the transmission period of the synchronization frame A timing adjustment program characterized in that it functions as
請求項11に記載のタイミング調整プログラムにおいて、前記演算手段として働く前記コンピュータに、前記同期フレームを受信したタイミングから前記所定の時間値を差し引くことによって、前記同期フレームを送信したタイミングを算出させることを特徴とするタイミング調整プログラム。   12. The timing adjustment program according to claim 11, wherein the computer functioning as the calculation unit is configured to calculate the timing at which the synchronization frame is transmitted by subtracting the predetermined time value from the timing at which the synchronization frame is received. A featured timing adjustment program. 請求項11または12に記載のタイミング調整プログラムにおいて、前記タイミング決定手段として働く前記コンピュータに、前記演算手段によって算出された同期フレームの送信タイミングに前記同期フレームの送信周期を加えることによって、前記同期フレームを送出するタイミングを決定させることを特徴とするタイミング調整プログラム。   13. The timing adjustment program according to claim 11 or 12, wherein the synchronization frame is added to the computer serving as the timing determination unit by adding a transmission period of the synchronization frame to the transmission timing of the synchronization frame calculated by the calculation unit. A timing adjustment program for determining the timing of sending a message. 請求項11ないし13のいずれかに記載のタイミング調整プログラムにおいて、前記所定の時間値は、前記コンピュータおよび該コンピュータの前段にカスケード接続されるマスタ装置の間を接続するケーブルに起因して生じる伝送遅延時間に基づいて決定されることを特徴とするタイミング調整プログラム。   14. The timing adjustment program according to claim 11, wherein the predetermined time value is a transmission delay caused by a cable connecting the computer and a master device cascade-connected to a preceding stage of the computer. A timing adjustment program which is determined based on time. 請求項11ないし13のいずれかに記載のタイミング調整プログラムにおいて、前記所定の時間値は、前記コンピュータおよび該コンピュータの前段にカスケード接続されるマスタ装置の間を接続するケーブルに起因して生じる伝送遅延時間として正常な通信が確保される限度で許容される最大の遅延時間値に決定されることを特徴とするタイミング調整プログラム。
14. The timing adjustment program according to claim 11, wherein the predetermined time value is a transmission delay caused by a cable connecting the computer and a master device cascade-connected to a preceding stage of the computer. A timing adjustment program characterized in that it is determined to be a maximum delay time value allowed as long as normal communication is ensured.
JP2015170664A 2015-08-31 2015-08-31 Timing adjustment circuit and inter-terminal synchronization circuit Active JP6601064B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015170664A JP6601064B2 (en) 2015-08-31 2015-08-31 Timing adjustment circuit and inter-terminal synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015170664A JP6601064B2 (en) 2015-08-31 2015-08-31 Timing adjustment circuit and inter-terminal synchronization circuit

Publications (2)

Publication Number Publication Date
JP2017050619A true JP2017050619A (en) 2017-03-09
JP6601064B2 JP6601064B2 (en) 2019-11-06

Family

ID=58280291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015170664A Active JP6601064B2 (en) 2015-08-31 2015-08-31 Timing adjustment circuit and inter-terminal synchronization circuit

Country Status (1)

Country Link
JP (1) JP6601064B2 (en)

Also Published As

Publication number Publication date
JP6601064B2 (en) 2019-11-06

Similar Documents

Publication Publication Date Title
EP3140932B1 (en) A method for robust ptp synchronization with default 1588v2 profile
US7773606B2 (en) Timing distribution within a network element while supporting multiple timing domains
KR101044521B1 (en) Apparatus for controlling synchronization between slave devices connected to network
CN110417503B (en) Method for testing clock network delay and digital communication equipment
US8718213B2 (en) Clock synchronization method, apparatus, and system
CN113179468B (en) Audio synchronous playing method, device, equipment and storage medium
US9654555B2 (en) Method for synchronizing local clocks in a distributed computer system
CN108650050A (en) A kind of distributed network clock synchronous method
KR860001259B1 (en) Synchronization apparatus in transmitting information on a simplex bus
CN104243133B (en) A kind of synchronous method and device
JP6601064B2 (en) Timing adjustment circuit and inter-terminal synchronization circuit
CN103297216A (en) Method and device for enabling equipment to achieve synchronization
CN103259639B (en) A kind of clock synchronizing method of stack equipment and equipment
JP6601102B2 (en) Clock adjustment circuit and communication terminal
JP6467993B2 (en) Synchronous circuit and master device
EP3399690B1 (en) Synchronized full-duplex communication
JP2012191361A (en) Synchronous control system
JP2008193703A (en) Undersampled clock signal synchronization aid device and device for reconstructing undersampled clock signal, for packet-switched network
JP2005277789A (en) Transmission line uninterruptible switching phase adjustment system and transmission line uninterruptible switching phase adjustment method used for the same
JP5833696B2 (en) Wireless communication system and wireless communication method
CN113613125A (en) Audio synchronization control method and device, audio equipment and system
CN114546928A (en) Method for synchronizing core clusters, control method and device, core and medium
JP3034395B2 (en) Transmission / reception synchronization signal generation circuit
JPH06315003A (en) Synchronizing system for digital cordless telephone system
JPS6292547A (en) Pulse form transmission equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190514

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190712

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20190712

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190923

R150 Certificate of patent or registration of utility model

Ref document number: 6601064

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150