Ranging for a telecommunications network

Abstract: In a telecommunications time division multiplex (TDMA) optic network system, network termination equipments (NTE's) are enabled to communicate with a head end by the NTE encoding a message as a signal including error correction on the existing signal traffic, monitoring the errors at the head end and extracting the message from the errors.

Description: The present invention relates to an alternative procedure for ranging a Network Termination Equipment (NTE) across a network, for example an optical network such as that described in Patent Application No. GB9413716.5. That application described the use of a separate carrier for the ranging operation. The term Network Termination (NT) in the above referenced earlier application has been replaced in the present application by Network Termination Equipment (NTE). It should be realised that the two terms are interchangeable in the context of these applications. European Patent Application No. 0337619 A1 discloses a bidirectional broadband and telephony network controllable from the exchange end. An optical fibre carries the services to customers premises via passive optical splitters. Telephony is provided on one wavelength, broadcast on TV on a second wavelength and bidirectional asynchronous time division information on a other wavelength using ATD (Asynchronous Time Division) techniques. Time-slots are allocated to information packets so they can travel without interference to and from receiving stations and the round trip delay between stations is adjusted to achieve this whilst maintaining minimum bandwidth requirements. Dynamic allocation of spare capacity is provided for bursty services. It also discloses a method of ranging as well as method of error correction. According to the present invention there is provided a method of ranging a selected network termination equipment in a telecommunications time division multiple access optic network system, the network system comprising a plurality of NTEs connected to a head end, the method comprising that the selected one of the plurality of NTEs be ranged by encoding a a ranging message as a signal including error correction on existing signal traffic on the optic network system and monitoring the errors at the head end and extracting the message from the errors. The present invention will now be described by way of example. Controlled error coding can be used to allow initialised NTEs to communicate with the head end without affecting the other traffic. This communication will identify an NTE and allow the head end to determine its range. The NTE needs to send a small indication to the head end when it is initially powered on. The NTEs operate in a TDMA system and until the NTE knows its range any attempt to communicate with the head end will corrupt live traffic. Due to the large range of distances involved it is not possible to identify a quiet time to communicate or to do the ranging. The system described in Application No. GB9413716.3 used a separate sub carrier to perform this, this option proved difficult to implement for other reasons and a pure TDMA system resulted. The initial ranging will operate in the following way:- In a response to a "Any New NTEs" signal from the head end the NTE will encode a slow speed signal on to the live running traffic (typically 100 Kbit/s as compared with the normal data rate of 700 Mbit/s). The upstream cells will have error correction sufficient to correct up to 2 consecutive bits. Where Hamming error correction is used, for the control slot this costs 10 bits, for a cell it costs 16 bits. By monitoring the errors at the head end a response message can be extracted from the errors. The error pulse the NTE causes will be 1.5 bits wide, which can cause up to 2 errors. Each bit of the NTEs response needs to be sent several times to statistically encode the information. The exact pattern of when these errors occur will give the range for the NTE. By phasing the timing of them, better accuracy can be obtained. The pulse is 1.5 bits wide to increase the probability of causing an error. If the pulse was one bit wide it would normally cause a single bit error, but could cause a 2 bit error. As error correcting has to cater for a 2 bit error pattern, the pulse can be increased to 1.5 bits without needing an additional error correction, this improves the probability of a bit getting through. The probability of a bit getting through depends on if it hits the guard period around each word, and whether the bits were 0 or 1. The guard period is roughly 10 bits in 42, and allowing for edge effects it is assumed that only 30 in 42 will register. This will hit at least one bit and usually 2 bits. The probability of a bit being corrupted depends on the probability of two bits being affected P2. This is at least 50% but depending on the type of detectors used may be in the range 50% to 90%. The formula is then: Probability_Both_Bits_in_Window + Probability_One bit_In_Window + Prob_Other_Bit = (30/42)*(1-1/2*(1-P2) - P2*((1/2)*(1/2))) + (1/42)(1-1/2)) + (1 - P2)*(1/42)*(1-(1/2)) For P2 = 50% this gives 46%, for P2 = 70% this gives 50%, for P2 = 90% this gives 53%. For the analysis that follows the probability is assumed to be 50%. Thus to get a bit through it will have to be sent several times. It is important that it is sent more than once per cell, however there are 8 separate interleaved streams, of the NTE sends the pulse suitably spaced it can send 7 pulses within the time of one cell such that no two can possibly hit the same cell. By repeating the same data bit for these 7 pulses, it will get through 127 in 128 times. Hamming error correction is selected from one of several error-correcting codes invented by Richard Hamming which use redundant information bits to detect and correct any errors in a transmitted character. The NTE needs to send a message format which comprises a preamble and a label. This preamble has to give the timing and range information sufficient for the head end to work out the range of the NTE and bit positions to interpret the label. The label does not need to be very large, 3 bits is considered adequate. The following pattern is proposed:- 1 0 1 1 0 1 X X X The preamble 101101 indicates that the message is for ranging and allows the range and bit timing to be determined. The XXX is the label. The head end will check that it receives. 1 0 1 1 0 1 X X X 0 0 0 and that is sufficient to be confident that only a single NTE is responding at once. If two NTE's respond at the same time the overlap will be recognised. A bit 1 is encoded as an error, a bit 0 as no errors. With a 127 in 128 probability of getting each 1 through, and assuming that an average 1.5 of the label bits are a 1, then this will be correctly recognised at the head end roughly 96% of the time. If this is incorrect with respect to the preamble the head end will ignore it, if this is incorrect with respect to the label, the head end will try and communicate with such an NTE and get no reply, and hence no problems will be caused. The entire response therefore takes 12 cell cycles to be recognised = 94 microseconds. In practice it will take the software at the head end rather longer to perform the analysis but this does not matter. In a simple system the range could be determined by the position of the first bit in time. However it has to be realised that there is only a 50% probability that the first pulse of the first bit will arrive. By phasing the pattern of pulses to form each bit by the NTE the head end can extrapolate and derive the timing very accurately. If there is insufficient information, the head end can choose to ignore the response. As an example the 7 pulses referred to above can be sent at bits 0, 44, 92, 144, 200, 260 and 324 which are separations of 44, 48, 52, 56, 60, 64 bits at line data rate. The separation between any two is unique and hence the position of bit 0 can be determined if no error is detected. The pattern of pulses to form each bit will be chosen such that the time between any two errors will be different, thus pattern comprising the message can be matched to it and hence the expected position of the first error pulse and the range can be derived even if in practice the first error pulse did not occur. Each bit of the message can be phased in the same way so there will be at least 4 patterns for the head end to check. The head end will ask normally for any NTE, but at times of high load it may need to restrict this to one NTE at a time. After a major reconfiguration this might be quite onerous, if the head end has a record of the serial numbers it had before the reconfiguration it can simply ask each one in turn to respond. The message should have the following format:- Mask for Serial Number = 32 bits Number to be matched = 32 bits The NTE masks its serial number with the mask, and compares the result with the number to be matched. It only responds if it matches. When an NTE initialises, it waits for an "Any New NTEs" message. There will be two forms of this, a general one and a restricted one that has to match part of the NTEs serial number. When it gets the "Any New NTEs" message it responds with a "I am here" using the Controlled error coding, the first bit of which will be a given fixed period after the "Any New NTEs" was received, this period allows for any processing necessary, this time will be subtracted from the measured time by the head end to derive the range. The NTE selects a random 3 bit label and sends "I am here" to the head end, and waits. If it gets a response within N ms, it acts on it, otherwise it backs off for a random period and waits for a new "Any New NTEs" message. The response it is waiting for will acknowledge the message including the label, give the NTE a stream to use and an NTE number to identify it and a delay time which it is to use. The delay time is the amount the NTE should wait after getting its framing or notification to use the upstream slots. i.e. it is derived from the range. Delay time = system loop max time - Measured delay. Once the NTE is operating the range will be updated as part of the framing. The head end will send "Any New NTEs" on the first stream when it is ready, it will then start a timer and wait for N ms, over that period it will look for errors on each of the streams, recording the time of single errors it has been able to correct and the presence of any multiple errors that it has failed to correct. This is passed for analysis to the processor. When it has nothing to do the head end processor will send "Any New NTEs" and wait for errors to be reported. If it gets errors but no multiple errors it continues this analysis. If there are less than N multiple errors it goes back to the start of its analysis, if there are more than that, it waits for an error free period then asks for a restricted "Any New NTEs". The initial analysis can be performed by a sliding window analysis of errored cell periods, moving the window half a cell a time looking for the 1 0 1 1 0 1 X X X 0 0 0 pattern. Once this is found the label XXX is determined and the range can be determined. To determine the range, the first stage is to start with the '1' with the highest number of bits and try to match the expected phased profile to the data. Once the best (earliest) bit has been found, this is checked and rechecked on each of the other '1's. This should enable the range to be determined to within 2 bits, which is 3 nanoseconds at 700 Mb/s, this is sufficient to work with the 9 bit guard window of the TDMA. If there are insufficient bits or the data is not consistent as to the range, then the head end should ignore the response. If multiple NTEs respond to the "Any New NTEs" at the same time then there will probably be some corruption that can not be corrected by the Hamming codes. Above one NTE responding this will cause some cells to be errored. For 2 NTEs responding within 8 microseconds of each other this would cause on average 7*5.5*0.25 cells to be errored beyond the error correction capability. (about 10 cells). This is the worst case, with a variation above 8 microseconds (2km), the errors would be less. Under normal operation and installation it is considered unlikely that 2 NTEs would want to range at the same time. By appropriate choice of error protection, the "I am here" message should be visible even on a quiet system with no traffic. If many NTEs need to be quickly re-ranged this is quite quick if each NTE in turn is asked explicitly to respond with a range. Every single NTE should be re-ranged within a second. Using these methods, the "I am here" message can be passed across the data streams without affecting the data and also enable the range to be accurately determined.

Claims: A method of ranging a selected network termination equipment (NTE) in a telecommunications time division multiple access (TDMA) optic network system, the network system comprising a plurality of NTEs connected to a head end, the method comprising that the selected one of the plurality of NTEs be ranged by encoding a ranging message as a signal including error correction on existing signal traffic on the optic network system and monitoring the errors at the head end and extracting the message from the errors. A method of ranging as claimed in Claim 1, wherein the ranging message from the selected NTE is transmitted as a signal at a speed significantly slower than the speed of the existing signal traffic. A method of ranging as claimed in Claim 1 or 2, wherein each ranging message contains a pattern comprising a common preamble and a label relating to selected NTE. A method of ranging as claimed in Claim 1, 2 or 3, wherein the ranging message causes an error pulse 1.5 bits wide. A method of ranging as claimed in any preceding claim, wherein each bit of the ranging message is encoded a number of times. A method of ranging as claimed in Claim 5 when dependent on Claims 3 or 4, including deriving the pattern from the phasing of the bits of the ranging message received by the head end and hence determining the exact time of a first error received from the selected NTE and hence the range of the NTE. A method of ranging as claimed in Claim 3, or any claim dependent thereon, wherein the ranging message format comprises a preamble which provides the timing and range information for the head end and the label enables the head end to provide a response which may be identified by the original transmitting NTE.

Inventors: MADDERN THOMAS SLADE, PROCTOR RICHARD JOHN, MADDERN, THOMAS SLADE, PROCTOR, RICHARD JOHN
Applicants: MARCONI UK INTELLECTUAL PROP, MARCONI UK INTELLECTUAL PROPERTY LTD
Application year: 1995
Main classification: H04J3
IPC codes: H04J14, H04L12, H04L7, H04J3, H04L1, H04B10, H04Q11