This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2016-171172, filed on Sep. 1, 2016, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a wireless communication apparatus, a time synchronization method, and a communication system.
In recent years, as measures for rapidly increasing wireless traffic, small-cell formation by the time division duplex (TDD) system has been performed. The TDD system utilizes wireless resources, for instance, in a communication direction (down direction) from a base station apparatus to a terminal apparatus, and in a communication direction (up direction) from the terminal apparatus to the base station apparatus in a time division manner. Thus, in some cases, output timings of a wireless frame at antenna ends are made to match with each other between multiple base station apparatuses, or timings for transmission and reception are made to match with each other between multiple base station apparatuses. In these cases, a reference clock or a reference timing used in each base station apparatus is synchronized with high accuracy between the multiple base station apparatuses.
One of synchronization methods performed between base station apparatuses is known as a time synchronization method based on a Precision Time Protocol (PTP). The PTP is a time synchronization protocol that is standardized as the Institute of Electrical and Electronics Engineers (IEEE) 1588, for instance. In the PTP, a message is exchanged between a PTP-master and a PTP slave, and the time of the PTP slave is synchronized with the time of the PTP-master through the message exchange.
The PTP slave calculates an average transmission path delay using the times T1 to T4, and calculates a correction amount using the times T1, T2 and the average transmission path delay. The PTP slave is able to obtain a time synchronized with the time of the PTP-master by adding a correction amount to the time of the self-station.
For PTP synchronization, a Boundary Clock (BC) system may be used.
However, in the PTP using the BC system, the processing of message exchange at each switch increases as the number of levels in the hierarchical structure increases, and it takes time until time synchronization is performed in the PTP slave at the lowest level. Meanwhile, ±1 μs of a time difference (or an amount of phase difference) between the PTP-master at the highest level and the base station apparatus at the lowest level is allowed in International Telecommunication Union Telecommunication Standardization Sector (ITU-T) standard.
The techniques related to time synchronization include the following, for instance. Specifically, there is a time information transmission apparatus that extracts time information, configuration information, and operation information from a PTP message, stores these pieces of information in a packet transmission apparatus on the downstream, and when an active system is switched to a standby system, passes down these pieces of information from the active system to the standby system.
This technique claims that a sequence after switching the system is omitted, the time in which the downstream packet transmission apparatus is in a self-driven state is minimized, and the most functions of the standby system at the time of normal operation is set to a sleep state, thereby enabling to reduce the power consumption.
Also, there is a communication apparatus that has a clock in an active system and a clock in a standby system, and synchronizes the clock in the active system with an external time source device according to the time information in a packet for synchronization, and synchronizes the time in the standby system with the time in the active system.
This technique claims that degradation of synchronization quality at the time of switching of the clock in the active system may be reduced.
Related techniques are disclosed in, for example, Japanese Laid-open Patent Publication Nos. 2013-243651 and 2014-93540.
According to an aspect of the invention, a wireless communication apparatus includes a memory, and a processor coupled to the memory and configured to calculate a variation amount based on a frequency difference between a first clock signal in a first synchronous processing apparatus and a second clock signal in the wireless communication apparatus according to a first message exchanged between the first synchronous processing apparatus and the wireless communication apparatus, calculate a correction amount based on a phase difference between a first time in a second synchronous processing apparatus and a second time in the wireless communication apparatus according to a second message exchanged between the second synchronous processing apparatus and the wireless communication apparatus, and when a failure is detected in the first synchronous processing apparatus based on the variation amount and the correction amount, switch an object for synchronization from the first synchronous processing apparatus to the second synchronous processing apparatus.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
In the PTP based on the BC system, a failure may occur in a switch between a PTP-master and a PTP slave. Due to a failure of a switch, the PTP slave at the lowest level of a PTP network is set to a self-driven state, and the difference between the time of the PTP slave and the time of the PTP-master may exceed an acceptable range (±1 μs) that is defined in the ITU-T standard. For this reason, the base station apparatus, which is also serving as the PTP slave at the lowest level, may suspend TDD service.
In the above-described technique of passing down the time information, configuration information, and operation information from the active system to the standby system at the time of switching, nothing has been discussed about how to cope with the situation when the difference between the times exceeds an acceptable range due to such a failure of a switch. Consequently, in such a technique, a provided service may be suspended due to a failure of a switch.
Also, in the above-described technique of synchronizing the clock in the active system with an external time source device according to the time information in a packet for synchronization, and synchronizing the time of the standby system, nothing has been discussed about how to cope with the situation when the difference between the times exceeds an acceptable range due to such a failure of a switch. Consequently, also in such a technique, a provided service may be suspended due to a failure of a switch.
Thus, the present disclosure provides a wireless communication apparatus and a time synchronization method that protect against degradation of service.
Hereinafter, an embodiment for implementing the present disclosure will be described. It is to be noted that the embodiments below are not intended to limit the technique in the present disclosure. The embodiments may be combined as appropriate within a range not causing inconsistency between details of processing.
In addition, the terms and technical details described in a specification as a standard related to communication such as the IEEE standard may be used as appropriate in the terms and technical details described in the present specification.
<Example Configuration of Communications System>
The grand-master 100 performs, for instance, Global Positioning System (GPS) synchronization, and obtains highly accurate time information compared with the time information in multiple switches 200-A to 200-D, 200-1 to 200-N, and multiple BBUs 300-1 to 300-N. The grand-master 100 performs synchronous processing by the PTP, and performs time synchronization and frequency synchronization with the belonging switches 200-A, 200-C.
Each of the switches 200-A to 200-D, 200-1 to 200-N also performs synchronous processing by the PTP, and performs time synchronization and frequency synchronization with the belonging switches. The switches 200-A to 200-D, 200-1 to 200-N may have a hierarchical structure, for instance. In the example of
The grand-master 100, the switches 200-A to 200-D, 200-1 to 200-N, and the BBUs 300-1 to 300-N attempt to establish synchronization with the BC system.
In the example of
Each of the switches 200-A to 200-D, 200-1 to 200-N may be, for instance, a synchronous processing apparatus that performs synchronous processing. Each of the switches 200-A to 200-D performs synchronous processing by the PTP by exchanging a message defined by the PTP (see, for instance,
The BBUs 300-1 to 300-N are, for instance, base station apparatuses or part of base station apparatuses, and each perform processing related to communication with a terminal apparatus. Each of the BBUs 300-1 to 300-N performs wireless communication, for instance, with a terminal apparatus using the TDD system. Each of the BBUs 300-1 to 300-N is coupled to, for instance, one or multiple remote radio heads (RRH), and forms a so-called remote base station. The RRH performs processing on a radio signal in a radio band, and each of the BBUs 300-1 to 300-N performs processing on data in a baseband. Each of the BBUs 300-1 to 300-N may be coupled to a gateway apparatus to exchange data or the like.
In this manner, the communication system 10 forms a PTP network. The reference timing of the entire communication system 10 is determined by the grand-master 100 that performs GPS synchronization, and is distributed to the switches 200-A to 200-D, 200-1 to 200-N, and the BBUs 300-1 to 300-N.
<Allowable Delay Amount in Communications System>
As described above, in the ITU-T, the difference amount (or acceptable delay amount) in the output timing at the antenna end of a base station apparatus is defined as follows: the difference in a network is 1000 ns and the difference in BBU to RRH is 400 ns, so the total is 1400 ns. Specifically, in the example of
As described with reference to
<Frequency Synchronization by PTP>
In the synchronous processing by the PTP, time synchronization and frequency synchronization are possible. The time synchronization has been described using
ΔA−ΔB=(T1N−T11)−(T2N−T21) (1)
<Example Switching Operation at Occurrence of Failure>
Initially, the BBU 300-1 receives an announcement message from each of the switches 200-1, 200-N, and selects the switches 200-1, 200-N each serving as a PTP-master based on the received announcement message (S10, S11). When there are multiple apparatuses serving as a PTP-master, the BBU 300-1 determines a PTP-master using the Best Master Clock (BMC) algorithm. The BMC algorithm is an algorithm defined by the PTP, for instance. The BMC algorithm determines a PTP-master based on intentionally set priority, CLK performance (such as a clock class, a clock accuracy) included in an announcement message. In the example of
The BBU 300-1 performs synchronous processing by the PTP with the switch 200-1 which serves as the PTP-master (S12). The switch 200-1 and the BBU 300-1 exchange one announcement message, for instance, every second, and exchange a Sync message to a Delay Response multiple times per second (for instance, 128 times). The exchange frequency of the announcement message is lower than the exchange frequency of other messages.
Subsequently, when a failure occurs in the switch 200-1 serving as the PTP-master, the switch 200-1 notifies the BBU 300-1 that a failure has occurred by an announcement message (S13). At the time of normal operation, “grand-masterClockQuality” (see, for instance,
The BBU 300-1 serving as a PTP slave detects that the frequency accuracy has been degraded based on the “grand-masterClockQuality”, and once switches to self-driven mode (S14, S15).
The self-driven mode is, for instance, a mode in which a PTP slave does not perform synchronous processing with a PTP-master, and synchronous processing is performed using a signal in the PTP slave. The BBU 300-1, which has made transition to the self-driven mode, is unable to determine whether or not the defined phase difference of ±1 μs is satisfied with respect to the grand-master 100. Thus, the BBU 300-1 stops the TDD service (S14).
Subsequently, the BBU300-1 monitors the announcement message and selects a new PTP-master (here, the switch 200-N) utilizing the BMC algorithm. The BBU 300-1 performs synchronous processing with the selected switch 200-N by the PTP, and resumes the TDD service (S17, S18).
In the case of the processing illustrated in
Thus, in the first embodiment, the BBU 300-1 (PTP slave) is coupled to the PTP-master in the active system and the PTP-master in the standby system. The BBU 300-1 performs synchronous processing by the PTP with the PTP-master in the active system. For the PTP-master in the standby system, the BBU 300-1 monitors a correction amount for a time extracted by the synchronous processing using the PTP. In addition, the BBU 300-1 monitors a variation amount in the frequency difference (or frequency deviation) between a clock signal (or a reference signal) of the self-station and a clock signal extracted by synchronous processing using the PTP. The BBU 300-1 detects the presence or absence of a failure of the PTP-master in the active system based on the correction amount and the variation amount. Upon detecting a failure of the PTP-master in the active system, the BBU 300-1 attempts to switch the coupling from the PTP-master in the active system to the PTP-master in the standby system.
Therefore, the BBU 300-1 is able to detect a failure of the PTP-master in the active system without waiting for receiving an announcement message, and thus switching between the PTP-masters may be made quickly. Also, due to quick switching, it is possible for the BBU 300-1 to continue the TDD service without making transition to the self-driven mode. Consequently, the BBU 300-1 is able to protect against degradation of service due to a failure of the PTP-master. The details will be described later.
The BBU 300-1 monitors a correction amount of time to the switch 200-N, and further monitors a variation amount in the frequency deviation. When the switches 200-1, 200-N and the BBU 300-1 are in normal operation without a failure, the correction amount and the variation amount do not vary, and maintain a nearly fixed amount.
When a failure occurs in the switch 200-1, the correction amount and the variation amount change, and detection of the change allows a failure of the switch 200-1 to be detected (S25 to S29). Subsequently, when detecting a failure, the BBU 300-1 performs switching processing (S30), and performs synchronous processing by the PTP using the switch 200-N as a PTP-master in the active system (S31).
In
<Frequency of Access to PTP-Master in Standby System>
In the first embodiment, even in normal time, the BBU 300-1 serving as a PTP slave is coupled to the switch 200-N serving as the PTP-master in the standby system, and performs synchronous processing by the PTP (for instance, S21, S23 in
However, when the BBU 300-1 performs synchronous processing by the PTP with the switch 200-N serving as the PTP-master in the standby system at the same access frequency as that of the switch 200-1 serving as the PTP-master in the active system, a load to the PTP network may occur.
Thus, in the first embodiment, the BBU 300-1 attempts to reduce the frequency of access to the switch 200-N serving as a PTP slave in the standby system.
In the first embodiment, the BBU 300-1 determines a frequency of access to the PTP-master in the standby system based on the phase margin. For instance, the larger the phase margin is, the longer time is left until a failure is detected. Thus, the number of synchronous operations to a PTP-master in the standby system may be made smaller than in normal time. The details will be described later.
<Example Configuration of BBU>
Next, an example configuration of the BBUs 300-1 to 300-N will be described. The BBUs 300-1 to 300-N may be described as the BBU 300 unless otherwise stated. Also, the switches 200-A to 200-D, 200-1 to 200-N may be described as the switch 200 unless otherwise stated.
The PTP functional unit 310 receives an announcement message transmitted from the switch 200, and selects a switch 200 which serves as a PTP-master, based on the received announcement message. The PTP functional unit 310 performs synchronous processing by the PTP with the selected switch 200, calculates an amount of correction to the time (time information), and outputs the calculated correction amount to the within system reference timing generation unit 350. In addition, the PTP functional unit 310 generates a clock signal extracted by the synchronous processing by the PTP, and outputs the clock signal to the PLL functional unit 320. The frequency of the clock signal matches the frequency (or oscillating frequency) of a clock signal used by the switch 200 serving as a PTP-master, for instance.
The PTP functional unit 310 includes PTP announcement message end sections (hereinafter may be referred to as “message end sections”) 311-1 to 311-n, a BMC control unit 312, a switching unit 313, and a PTP protocol end section (in active) (hereinafter may be referred to as an “active system protocol end section”) 314. The PTP functional unit 310 further includes a PTP protocol end section (in standby) (hereinafter may be referred to as a “standby system protocol end section”) 315, a PTP phase margin detection unit (hereinafter may be referred to as a “phase margin detection unit”) 316, and a phase NG detection unit (hereinafter may be referred to as a “phase detection unit”) 317.
Each of the message end sections 311-1 to 311-n receives an announcement message transmitted from each switch 200, and extracts announcement information such as clock quality included in the received announcement message. Each of the message end sections 311-1 to 311-n output the extracted announcement information to the BMC control unit 312, the switching unit 313, and the phase margin detection unit 316. Each of the message end sections 311-1 to 311-n receives messages (such as a Sync message) using the PTP other than the announcement message transmitted from the switch 200, and outputs the received message to the switching unit 313.
The BMC control unit 312 performs the BMC algorithm based on the announcement information received from the message end sections 311-1 to 311-n, and selects a switch 200 which serves as a PTP-master. The BMC control unit 312 outputs a switching control signal to the switching unit 313, the switching control signal causing the selected switch 200 to be a PTP-master in the active system. In this case, the BMC control unit 312 also selects a switch 200 which serves as a PTP-master in the standby system, utilizing the BMC algorithm, and outputs a switching control signal to the switching unit 313, the switching control signal causing the selected switch to be a PTP-master in the standby system.
Also, upon receiving a switching notification from the phase detection unit 317, the BMC control unit 312 outputs a switching control signal to the switching unit 313 in accordance with the switching notification, the switching control signal causing the PTP-master in the active system to be switched to a PTP-master in the standby system.
The switching unit 313 outputs the announcement information and messages transmitted from the PTP-master in the active system out of the announcement information and messages outputted from the message end sections 311-1 to 311-n, to the active system protocol end section 314 in accordance with the switching control signal. Also, the switching unit 313 outputs the announcement information and messages transmitted from the PTP-master in the standby system out of the announcement information and messages outputted from the message end sections 311-1 to 311-n, to the standby system protocol end section 315 in accordance with the switching control signal.
The active system protocol end section 314 performs synchronous processing by the PTP, for instance, based on a message using the PTP. For instance, as illustrated in
In addition, the active system protocol end section 314 determines a transmission interval of a message (for instance, a Sync follow up message) in the PTP-master based on, for instance, a message using the PTP, and generates a clock signal (CLK) based on the transmission interval. The active system protocol end section 314 outputs the generated clock signal to the PLL functional unit 320.
The standby system protocol end section 315 performs synchronous processing by the PTP based on, for instance, a message using the PTP. The standby system protocol end section 315 calculates a correction amount of time with respect to the PTP-master in the standby system based on a message from the PTP-master in the standby system. The standby system protocol end section 315 monitors, for instance, the amount of correction to the PTP-master in the standby system, and does not monitor any other amount.
The phase margin detection unit 316 determines a frequency of access to the PTP-master in the standby system based on “stepRemoved” transmitted from the PTP-master in the active system.
The phase margin calculation unit 3161 extracts “stepRemoved” transmitted from the PTP-master in the active system out of the announcement information received from the message end sections 311-1 to 311-n. The phase margin calculation unit 3161 calculates (1 μs−50 ns×n) for the number n of levels included in the “stepRemoved” to determine a phase margin for an acceptable delay amount of ±1 μs defined by the ITU-T.
The access frequency calculation unit 3162 receives the phase margin from the phase margin calculation unit 3161, and calculates a frequency of access to the PTP-master in the standby system. The calculation method will be described later. The access frequency calculation unit 3162 outputs the calculated access frequency to the standby system protocol end section 315. The standby system protocol end section 315 performs synchronous processing by the PTP with the PTP-master in the standby system according to the access frequency. In this case, the standby system protocol end section 315 may notify the PTP-master in the standby system of an access frequency via the message end sections 311-1 to 311-n, for instance. Thus, it is possible for the PTP-master in the standby system to transmit a message using the PTP with the access frequency notified.
It is to be noted that when receiving a failure detection single notification from the phase detection unit 317 in an operation state, the access frequency calculation unit 3162 calculates a second access frequency higher than the calculated first access frequency, and outputs the calculated second access frequency to the standby system protocol end section 315. In the first embodiment, for instance, when a failure of the PTP-master in the active system is detected singly, the BBU 300 detects a failure of the PTP-master in the active system by detecting continuity of variation in the amount of correction to the PTP-master in the standby system with an increased access frequency. However, the BBU 300 may perform synchronous processing by the PTP with the PTP-master in the standby system at the calculated first access frequency without detecting continuity of variation in the amount of correction.
Returning to
The variation amount calculation unit 3171 calculates a variation amount (or a variation amount in the DDS value) in the frequency deviation between a clock signal generated by the BBU 300 and a clock signal extracted by the synchronous processing using the PTP, based on the DirectDigital Synthesizer (DDS) information received from the PLL functional unit 320, for instance. Alternatively, the variation amount calculation unit 3171 calculates a variation amount based on the frequency difference between a clock signal used by the PTP-master in the active system and a clock signal used by the BBU 300, based on a message using the PTP, exchanged with the PIP-master in the active system. The details of the DDS information will be described later. The variation amount calculation unit 3171 outputs the calculated variation amount the single failure identification unit 3172 and the continuous failure identification unit 3173.
The single failure identification unit 3172 detects (or identifies) a failure of the PTP-master in the active system based on, for instance, the variation amount and a correction amount for the standby system, received from the standby system protocol end section 315. When detecting a failure even once, the single failure identification unit 3172 outputs a single failure detection notification to the phase margin detection unit 316.
The continuous failure identification unit 3173 also detects (or identifies) a failure of the PTP-master in the active system based on, for instance, the variation amount and a correction amount for the standby system, received from the standby system protocol end section 315. In this case, for instance, when detecting a failure of the PTP-master in the active system continuously, the continuous failure identification unit 3173 outputs a switching notification to the BMC control unit 312.
It is to be noted that in the example of
Alternatively, the single failure identification unit 3172 and the continuous failure identification unit 3173 may be formed as one component of a failure identification unit 3174. In this case, when identifying a failure even once, the failure identification unit 3174 may output a switching notification.
Return to
The phase comparator 321 compares the phases between a clock signal received from the PTP functional unit 310 and a clock signal received from the VCXO 326, and outputs a result of the comparison to the loop filter 323.
The highly stable oscillator 322 generates, for instance, a clock signal with a nearly fixed frequency, and outputs the generated clock signal to the loop filter 323 and a DDS processing unit 318. The clock signal may be a clock signal generated by the BBU 300, for instance.
The loop filter 323 performs analogue to digital (AD) conversion on a result of the phase comparison relative to a clock signal from the highly stable oscillator 322, and outputs the comparison result after the A/D conversion to the DDS processing unit 318.
The flash memory 324 stores a DDS value, for instance. The flash memory 324 holds, for instance, a DDS value corresponding to the frequency deviation between a clock signal of the highly stable oscillator 322 and a clock signal extracted by the PTP. For instance, the table illustrated in
The DDS unit 325 has, for instance, a waveform memory internally, and reads data from the waveform memory based on a phase corresponding to the phase comparison result from the loop filter 323, and a frequency deviation corresponding to the DDS value read from the flash memory 324. In this process, the DDS unit 325 reads data at the timing of each clock signal outputted from the highly stable oscillator 322. In this manner, for instance, it is possible to match the oscillating frequency (for instance, the frequency of a clock signal outputted from the highly stable oscillator 322) of the BBU 300 to the frequency of a clock signal extracted by the synchronous processing by the PTP. The DDS unit 325 outputs a control voltage corresponding to the read data. It is to be noted that when the BBU 300 is driven by itself, the DDS processing unit 318 operates, for instance, using the DDS value stored in the flash memory 324 without using the output of the phase comparator 321.
The VCXO 326 generates a reference clock signal with a frequency controlled by, for instance, the control voltage outputted from the DDS processing unit 318. The VCXO 326 outputs the generated reference clock signal to the within system reference timing generation unit 350, the within system functional unit 351, the phase comparator 321, and the PTP functional unit 310. It is possible for the PTP functional unit 310 and others to perform processing synchronized with a reference clock signal outputted from the VCXO 326.
The within system reference timing generation unit 350 generates a reference timing signal in the BBU 300 based on a correction amount received from the PTP functional unit 310 and a clock signal received from the PLL functional unit 320. The within system reference timing generation unit 350 has, for instance, a timer internally, the adds a correction amount to time information counted by the timer to correct the time information, and generates a reference timing signal corresponding to the corrected time information. The timer indicates, for instance, the time in the BBU 300.
The within system functional unit 351 performs wireless processing by the TDD system in accordance with a reference clock and a reference timing signal.
It is to be noted that in the BBU 300, the PTP functional unit 310 may be a field programmable gate array (FPGA) 360. For instance, it is possible for the FPGA 360 to implement each function of the PTP functional unit 310 by executing a program stored in the memory.
It is to be noted that the phase comparator 321, the loop filter 323, the DDS unit 325, and the VCXO 326 of the PLL functional unit 320 each may be a digital signal processor (DSP) 330. Furthermore, the within system reference timing generation unit 350 and the within system functional unit 351 each may be a central processing unit (CPU) 362. It is possible for the CPU 362 to execute the function of the within system reference timing generation unit 350 and the within system functional unit 351, for instance, by reading and executing a program stored in the memory.
It is to be noted that the FPGA 360 may be a processor or a controller such as a DSP. Alternatively, the DSP 330 may also be a processor or a controller such as an FPGA. In addition, the CPU 362 may also be a processor or a controller such as a DSP or an FPGA.
<DDS Value>
It is to be noted that in
It is to be noted that although a variation amount in the frequency deviation between two clock signals is monitored in the BBU 300-1, the variation amount is calculated, for instance, by ΔDDS/ΔT where ΔDDS is the variation amount and ΔT is the variation time. Such monitoring and calculation of a variation amount are performed, for instance, by the two failure identification units 3172, 3173 of the phase detection unit 317.
Also, there is not necessarily a DDS value corresponding to any frequency deviation without limitation, and there is a certain limitation. For instance, when the frequency accuracy exceeds ±50 ppb, a limiter of the highly stable oscillator 322 starts to work. The frequency accuracy corresponds to, for instance, the definition of RRH and the radio frequency used between terminals.
<Operation Example>
Next, an operation example will be described. First, an example of change in the time and the frequency at the occurrence of a failure in the PTP-master in the active system or the PTP-master in the standby system will be described, then an operation example at the occurrence of a failure will be described. In either case, description is given under the assumption that the BBU 300-1 serves as a PTP slave, the switch 200-1 serves as a PTP-master in the active system, and the switch 200-N serves as a PTP-master in the standby system.
Here, the correction amount indicates an amount based on the phase difference of time between the BBU 300-1 and the switch 200-1 (or the switch 200-N), for instance. Also, the variation amount indicates an amount based on the difference between the frequency (or the oscillating frequency) of the clock signal of the BBU 300-1 and the frequency (or the oscillating frequency) of the clock signal of the switch 200-1 (or the switch 200-N), for instance. The variation amount is, for instance, a variation amount in the DDS value.
<Example of Change in Time and Frequency at Occurrence of Failure>
<1. Case Where Failure Occurs in PTP Master in Active System>
When a failure occurs in the switch 200-1 serving as the PTP-master in the active system then the oscillating frequency of the switch 200-1 changes (S40), as described above, due to the synchronous processing by the PTP, the oscillating frequency of the BBU 300-1 also follows the oscillating frequency of the switch 200-1 and changes (S41). Therefore, the DDS value also varies.
However, in this case, the BBU 300-1 is synchronized with the switch 200-1 in time by synchronous processing. Therefore, even when the time of the switch 200-1 deviates as compared with the pre-failure time, the BBU 300-1 performs synchronous processing to synchronize with the time. Therefore, the correction amount of time maintains to be “0” (S43).
In contrast, the BBU 300-1 serves as a PTP-master in the standby system for the switch 200-N, and thus does not correct the time. Since the BBU 300-1 corrects the time to the switch 200-1 serving as the PTP-master in the active system, the time of the BBU 300-1 relative to the switch 200-N serving as the PTP-master in the standby system gradually deviates. Therefore, the correction amount of the time to the switch 200-N is “X+a” (S42). The variation amount “a” in the correction amount may be, for instance, an amount corresponding to the variation amount in the DDS value. In this case, the BBU 300-1 determines that the switch 200-N in the standby system is normal because a variation amount in the active system is only considered in the correction amount “X+a” (S44).
In other words, the BBU 300-1 monitors a variation amount in the frequency and a time correction amount in the standby system, and when the variation amount and the correction amount change, it is possible to detect that the switch 200-1 serving as the PTP-master in the active system has failed.
<2. Case Where Failure Occurs in PTP Master in Standby System>
Since the BBU 300-1 performs frequency synchronization and time synchronization with the switch 200-1 serving as the PTP-master in the active system, even when the switch 200-N serving as the PTP-master in the standby system fails, the correction amount of time maintained at “0” and the frequency is not varied.
However, in the switch 200-N serving as the PTP-master in the standby system, the oscillating frequency changes (S50) and the time also deviates accordingly. Therefore, in the BBU 300-1, the correction amount of time to the switch 200-N changes along with deviation of the time of the switch 200-N (S51). In the example of
In other words, when change in the variation amount is not detected and the amount of correction to a PTP-master in the standby system changes, it is possible for the BBU 300-1 to detect that the switch 200-N serving as the PTP-master in the standby system has failed.
<3. Case Where Variation Amount in Frequency is Within Allowable Value (Failure of BBU)>
In the BBU 300-1, due to a failure of the self-station, for instance, the frequency of a clock signal outputted from the highly stable oscillator 322 changes (S60). Due to this change, the frequency deviation between the frequency of a clock signal extracted by synchronous processing by the PTP, and the frequency of a clock signal outputted from the highly stable oscillator 322 also changes. Therefore, the variation amount also changes.
However, when the variation amount is within a range of acceptable values, it is possible for the BBU 300-1 to match its frequency to the frequency (the frequency of the switch 200-1 serving as the PTP-master in the active system) of a clock signal extracted by the PTP, using the DDS value corresponding to the variation amount (S61). The acceptable value may be, for instance, ±50 ppb which is a limiting value of the frequency accuracy of the highly stable oscillator 322.
In other words, the BBU 300-1 monitors the correction amount and the variation amount, and when the correction amount does not change and the variation amount changes, it is possible to detect a failure of the self-station. In this case, when the variation amount is within a range of acceptable values, it is possible to continue the synchronous processing by the PTP with the PTP-master in the active system by changing the DDS value.
It is to be noted that in the case of <1. Case Where Failure Occurs in PTP Master in Active System> described above, for instance, the variation amount is within a range of acceptable values. The following is the case where the acceptable values are exceeded.
<4. Case Where Variation Amount in Frequency Exceeds Allowable Value (Failure of BBU)>
Due to a failure of the BBU 300-1, the oscillating frequency of the BBU 300-1 varies, and the DDS value also varies to absorb the variation. The example of
The BBU 300-1 performs time synchronization to synchronize with the time of the switch 200-1 which serves as a PTP-master in the active system. However, due to a failure of the BBU 300-1 itself, the time also deviates as compared with the pre-failure time. The correction amount made by time synchronization with the switch 200-1 has been “0”, but gradually changes and becomes “a” at a certain time point (S70, S72).
In the BBU 300-1, relative to the switch 200-N serving as the PTP-master in the standby system, the time deviates for a deviation of time for the correction amount “a”. In the BBU 300-1, the amount correction to the switch 200-N is “X+a” at a certain time point (S71). In this case, the BBU 300-1 may determine that the switch 200-N in the standby system is normal because the variation amount “a” of the switch 200-1 in the active system is only considered in the correction amount “X+a” of the switch 200-N in the standby system (S73).
In other words, the BBU 300-1 monitors the amount of correction to the PTP-master in the standby system and the variation amount in the DDS value, and when the variation amount exceeds an acceptable value and the correction amount changes, it is possible to detect a failure of the self-station.
<Frequency of Access to PTP Master in Standby System>
As described above, in the first embodiment, the BBU 300-1 sets the frequency of access to the PTP-master in the standby system to be lower than the frequency of access to the PTP-master in the active system.
In contrast, the DDS value has a limiting value of ±50 ppb, and when the limiting value is exceeded, a limiter starts to work. As the worst case, the case in which the frequency of a clock signal of the highly stable oscillator 322 of the BBU 300-1 deviates by ±50 pbb is considered.
It is to be noted that in the example of
For instance, when the BBU 300-1 transmits messages from a Sync message to a Delay Response message once after exchanging an announcement message with the switch 200-1, a message may be repeatedly exchanged for 128 times within one second. However, after accessing to the switch 200-N, the BBU 300-1 only has to access to the switch 200-N at least once within 16 seconds, and thus it is possible to set the frequency of access to the PTP-master in the standby system to be lower than the frequency of access to the PTP-master in the active system. Thus, it is possible for the BBU 300-1 to reduce the load to the PTP network.
<Entire Operation Example>
Next, the entire operation example will be described. Since the following includes what has been already described, concise description is given as appropriate.
After starting PTP synchronous processing (S100), the BBU 300-1 performs PTP synchronization establishment processing (S101).
Subsequently, the BBU 300-1 determines the active system and the standby system of the PTP-master(S103). For instance, the BMC control unit 312 may set the switch having the best performance to be the PTP-master in the active system and the switch having the second best performance to be the PTP-master in the standby system by utilizing the BMC algorithm. For instance, the BMC control unit 312 determines that the switch 200-1 is the PTP-master in the active system and the switch 200-N is the PTP-master in the standby system by using the BMC algorithm based on the information included in the announcement message.
Subsequently, the BBU 300-1 starts PTP synchronization with the PTP-master in the active system (S104). In this case, the BBU 300-1 performs time synchronization (for instance,
Subsequently, the BBU 300-1 calculates an access frequency to the standby system (S105). For instance, the access frequency calculation unit 3162 calculates an access frequency based on the information on the number of levels included in the announcement message.
Subsequently, the BBU 300-1 starts PTP synchronization with the PTP-master in the standby system at the calculated access frequency (S106). In this case, the BBU 300-1 monitors the correction amount of time and does not monitor the variation amount in the frequency by synchronous processing by the PTP with the switch 200-N. For instance, the standby system protocol end section 315 accesses to the switch 200-N to perform synchronous processing by the PTP at the access frequency calculated by the phase margin detection unit 316.
The PTP synchronization establishment processing is completed (S107).
Returning to
When the DDS value has varied (Yes in S110), the BBU 300-1 determines whether or not the correction amount of time to the switch 200-N serving as the PTP-master in the standby system has deviated (S111). For instance, the failure identification unit 3174 determines whether or not the correction amount received from the standby system protocol end section 315 has varied.
When the correction amount of time to the PTP-master in the standby system has deviated (Yes in S111), the BBU 300-1 determines whether or not the variation amount in the DDS value is less than a maximum (S112). For instance, the failure identification unit 3174 determines whether or not the variation amount in the DDS value exceeds an acceptable value.
When the variation amount in the DDS value is less than a maximum (Yes in S112), the BBU 300-1 performs active system PTP-master abnormality coping processing (hereinafter may be referred to as “abnormality coping processing”) (S113).
When the DDS value has varied and the variation amount is an acceptable value or low (Yes in S110, Yes in S112), and the correction amount to the switch 200-N has changed (Yes in S111), the current situation corresponds to the example of
Returning to
Returning to
On the other hand, when the variation amount in the DDS value is greater than or equal to a maximum (No in S112), the BBU 300-1 determines that the self-station has failed (S130), and completes the processing (S131). This corresponds to the case of
When the amount of correction to the PTP-master in the standby system has not deviated (No in S111), the flow proceeds to S110, and the BBU 300-1 repeats the above-described processing. This corresponds to the case of
When detecting no variation amount in the DDS value (No in S110), the BBU 300-1 determines whether or not the amount of correction to the PTP-master in the standby system has deviated (S135).
When the amount of correction to the PTP-master in the standby system has deviated (Yes in S135), the BBU 300-1 performs the standby system PTP-master abnormality coping processing (S136). This case corresponds to
The BBU 300-1 then switches the switch 200-N serving as the PTP master in the standby system to a newly selected switch (S139), and completes the standby system PTP-master abnormality coping processing (S140).
Returning to
When the amount of correction to the PTP-master in the standby system has not deviated (No in S135), the flow proceeds to S110, and the BBU 300-1 repeats the above-described processing. In this case, the DDS value does not vary and the amount of correction to the PTP-master in the standby system has not varied, and thus the BBU 300-1 repeats the above-described processing without switching the PTP master.
The first synchronous processing apparatus 200-1 corresponds, for instance, to the switch 200-1 in the active system in the first embodiment. Also, the second synchronous processing apparatus 200-N corresponds, for instance, to the switch 200-N in the standby system in the first embodiment. It is assumed that the wireless communication apparatus 300 performs synchronous processing by the PTP with the first synchronous processing apparatus 200-1, and performs time synchronization and frequency synchronization.
The wireless communication apparatus 300 includes a switching unit 313, a protocol end section 315, a variation amount calculation unit 3171, and a failure identification unit 3174. The switching unit 313, the protocol end section 315, the variation amount calculation unit 3171, and the failure identification unit 3174 correspond to, for instance, the switching unit 313, the standby system protocol end section 315, the variation amount calculation unit 3171, and the failure identification unit 3174 in the first embodiment.
The variation amount calculation unit 3171 calculates a variation amount based on the frequency difference between a first reference signal used by the first synchronous processing apparatus 200-1 and a second reference signal used by the wireless communication apparatus 300, based on a first message exchanged with the first synchronous processing apparatus 200-1.
The protocol end section 315 calculates a correction amount based on the phase difference between the time in the second synchronous processing apparatus 200-N and the time in the wireless communication apparatus based on a second message exchanged with the second synchronous processing apparatus 200-N.
When detecting a failure in the first synchronous processing apparatus 200-1 based on the variation amount and the correction amount, the failure identification unit 3174 outputs a switching notification.
The switching unit 313 switches an object for synchronization from the first synchronous processing apparatus 200-1 to the second synchronous processing apparatus 200-N in accordance with the switching notification.
In this manner, in the communication system 10, it is possible for the wireless communication apparatus 300 to detect a failure of the first synchronous processing apparatus 200-1 based on a variation amount according to the frequency difference between the reference signals and a correction amount according to the phase difference between the times. Therefore, it is possible for the wireless communication apparatus 300 to detect a failure of the first synchronous processing apparatus 200-1 serving as the PTP master in the active system without waiting for receiving an announcement message indicating an occurrence of a failure from the first synchronous processing apparatus 200-1. Thus, it is possible for the wireless communication apparatus 300 to quickly switch between PTP masters without making transition to the self-driven mode compared with the case where receiving of an announcement message is waited, and thus TDD service for terminal apparatuses may be continued. Consequently, the communication system 10 is able to protect against degradation of service.
In the example described above, description has been given by using the PTP as the time synchronization protocol. For instance, a Simple Network Time Protocol (SNTP), a Network Time Protocol (NTP) and others may be used. Similarly to the PTP, with these time synchronization protocols, time synchronization and frequency synchronization are possible by exchanging a packet or a message. Therefore, similarly to the above-described embodiments, the BBU 300 may be implemented by utilizing such a packet and a message.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2016-171172 | Sep 2016 | JP | national |