Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ADAPTIVE THRESHOLD SAMPLING CONTROLLER
Document Type and Number:
WIPO Patent Application WO/1988/001809
Kind Code:
A1
Abstract:
A method of sampling marks on a transmission line (LINE) and adjusting their peaking amplitude to compensate for attenuation of signal strength on the line (LINE) and of "voltage addition" caused by multiple terminals transmitting on the line (LINE). For networks meeting the CCITT I-Series Recommendation, two B-channels and a D-channel are transmitted in frames over the line (LINE); the B-channel forming the best basis for threshold adaptation, the D-channel the next best basis and the F-bit (F) preceding each frame used in the absence of either B- or D-channel (B, D) signals. Accordingly, a B-bit mark sample is taken if possible, otherwise a D-bit mark sample; or if neither is present an F-bit mark sample; the adaptive threshold preferably being set at 55 % of the peak value of the sample. The method is readily implemented as a "state machine" and consequently can be constructed from a programmable logic array.

Inventors:
RAMESH NALLEPILLI S (US)
CHEEMALAVAGU SURESH (US)
ERIKSSON ANDERS (SE)
Application Number:
PCT/US1987/002249
Publication Date:
March 10, 1988
Filing Date:
September 04, 1987
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ADVANCED MICRO DEVICES INC (US)
International Classes:
H03K5/08; H04J3/00; H04L5/14; H04L25/03; H04L25/12; H04Q5/00; H04Q11/04; H04L25/02; (IPC1-7): H03K5/08
Foreign References:
US4539678A1985-09-03
US4509180A1985-04-02
US4503547A1985-03-05
Other References:
See also references of EP 0289526A4
Download PDF:
Claims:
WHAT IS CLAIMED IS:
1. A method of sampling marks in a frame, including Bmarks, Dmarks and Fmarks, to provide adaptive continuous adjustment of the peak amplitude of high marks in said frame, comprising the steps: a) sampling one Bbit mark in a frame, if a Bbit mark is present in said frame; b) sampling one Dbit mark in a frame, if no Bbit mark is present, but a Dbit mark is present in said frame; and c) sampling one Fbit mark in a frame, if no Bbit or Dbit marks are present in said frame.
2. An adaptive threshold sampling method acoording to claim 1 wherein said frame further includes Lmarks and said Dbit mark sampled at step (b) is the high Lbit after a low Dbit mark.
3. An adaptive threshold sampling method according to claim 1 wherein said adjustment in peak amplitude is approximately 55% of the sample taken in step (a), (b) or (c).
4. A method of sampling marks in a frame, including Bmarks, Dmarks, Fmarks and Lmarks, to provide adaptive continuous adjustment of the peak amplitude of high marks in said frame, comprising the steps: d> enabling Dbit, Fbit and Bbit sampling, sampling a bit in said frame, if said bit is a Bbit, proceeding to step (f> e) . if said bit is a Dbit, sampling the next bit in said frame, if said next bit is an Lbit, a Bbit, proceeding to step (i), step (f), respectively; f) sampling the next bit in said frame; if said next bit is an Lbit, proceeding to step (g); g) enabling Bbit sampling, sampling the next bit in said frame, if said next bit is a Bbit, or an Lbit and D is a low bit, proceeding to step (f) ; h) enabling Bbit sampling, if said nextbit is a Dbit, sampling the next bit in said frame, if said next bit is L and D is a low bit, a Bbit, an Lbit, proceeding to step (d) step (f), step (h), respectively; and i) enabling Dbit, Bbit sampling, sampling the next bit in said frame, if said next bit is L and D is a high bit, L and D is a low bit, a Bbit, a Dbit, proceeding to step (h) step (d), ..step (f) step (e), respectively.
5. An adaptive threshold sampling method according to claim 4 wherein said adjustment in peak amplitude is approximately 55_» of the sample taken in steps (d) through (i).
Description:
ADAPTIVE THRESHOLD SAMPLING CONTROLLER This invention relates to data transmission and, more particularly, to the adaptation of equipment connected to a transmission line to correct for varying signal strength on the line.

BACKGROUND OF THE INVENTION The Committee Consultative International Telephone and Telegraphique (CCITT) has drafted Standards for Integrated Services Digital Networks (ISDN) ; the so-called I-Series Recommendations. These Recommendations include provision of two B-channels and a D-channel transmitted in patterns ("frames") of a specified structure. The structure includes a framing "F" signal bit which precedes each frame.

The signals on the B- and D-channels are received in frames at a four-wire interface, or reference point, from a network by one of several terminals (terminal equipmen or "TE") connected along a transmission line. Since the signal strength decays with distance along the line, and because the CCITT standards specify fixed threshold signal strengths to represent an active line, the TE's require "adaptation" to compensate for the decaying signal. Besides signal decay on the line, the presence of multiple transmitting terminals on the line results in voltage addition which can effect the amplitude of the signal received by the TE.

Various "adaptive threshold" schemes are known in the prior art to allow a wide dynamic range in the signals present on the transmission line. For instance, sampling of the F-bit signal strength is commonly used. However, because of relaxed noise margin, the signal strength of the F-bit can be as much as 160% of a nominal value and thus the F-bit is not the best indicator of signal strength on which to base

adaptation. Other schemes use the D-channel signal strength, but because a number of terminals can simultaneously transmit D-channel data, until a "collision" occurs, D-channel signal strength similarly is not the best basis for adaptation.

SUMMARY OF THE INVENTION

An adaptive threshold technique according to the instant invention utilizes B-channel signal strength for "the basis of adaptive thresholding. Because only one terminal on a network transmits, at any one time, on the B-channel, the signal strength received on the B-channel forms a good basis for adaptation. If no B-channel data is received by the terminal, but D-channel data is received, the adaptive threshold technqiue of the instant invention samples the D-channel signal strength to establish the threshold. If no data is received on either the B- or D-channels, then the technique samples the F-bit for a threshold adaptation. In this manner, sampling of the "mark" in the frame with the least voltage addition effect is used to update the adaptive threshold.

In a preferred embodiment, a switched capacitor filter generates a running measure of the peak values observed in the samples. The threshold is then set to 55_f of the peak values observed in the samples. BRIEF DESCRIPTION OF THE DRAWINGS

Fig. 1 is a diagram of the frame structure specified in the CCITT I-Series Recommendations.

Fig. 2 is a state diagram of an adaptive threshold device according to the present invention.

Fig. 3 is a block diagram of an adaptive threshold sample control (ATSC) device according to the present invention.

Fig. 4 is a diagram of a portion of the line interface analog adaptive threshold circuitry used in

conjunction with the present invention.

Fig. 5 is a timing diagram showing the four control signals employed by the adaptive threshold device according to the present invention.

Fig. 6 is a timing diagram showing three cases illustrating operation of the adaptive threshold device of the present invention.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT

Fig. 1 is the frame structure used by network termination (NT) and terminal equipment (TE) satisfying the CCITT standards. The upper portion of Fig. 1 illustrates the structure used when transmitting from NT to TE; the lower portion when transmitting from TE to NT. Familiarity with the CCITT "I-Series

Recommendations" is important to an understanding of the present invention. These Recommendations are hereby incorporated by reference. With reference to Fig. 1, each frame comprises 48-bit signals occurring in a time interval of 250 microseconds. Of importance to a description of the present invention are the bits denoted "F", "L", "Bl" and "B2", and "D", on Fig. 1.

The adaptive threshold technique of the present invention samples the frames of signals received by a TE or NT. The technique is best described by reference to the state diagram of a Sample Control State Machine (SCSM) of Fig. 2. In the state diagram, each state is represented by a circle. Directed lines between states indicate transitions which occur upon reception of the signal adjacent to the line. The name of each state shown in Fig. 2 is shown in the upper half of the state's circle; a signal generated by the circuit implementing the SCSM is shown in the lower half of the circle. The various signals shown adjacent to the directed lines in Fig. 2 are generated by circuitry receiving the frame shown in Fig. 1, as will be

explained in connection with Figs. 3 and 4, below.

When only F-bits are received, the SCSM is in the START state 10 and an ENF signal (Enable sampling of F-bits), an END signal (Enable sampling of D-bits), and an ENB (Enabling sampling of B-bits) are active. When a high D-brt is received a D-state 12 is entered. If also a high B-bit is received in the same frame a B-statβ 14 is entered.

At the end of the frame a LLWN (Last L-bit Window) signal goes active and a PB (high B-bit in Previous frame) state 16 is entered wherein only the ENB signal is activated. (If a high D-bit is detected in the next frame it is not used for updating the threshold.) A DPB (high D-bit, high B-bit in previous frame) state 18 is entered upon reception of a high D-bit and the ENB signal is still active. If, however, a high B-bit is detected later in the same frame it is used to update the threshold and the B-state 14 is reentered. If no high. B-bit is detected a PD (high D-bit in previous frame) state 20 is entered and the END and ENB signals are activated.

Reception of a high B-bit signal in the DPB-state IS cause the SCSM to reenter the B-state 14. Reception of the LLWN signal in the B-state 14 causes the SCSM to enter the PB state 16. Reception of the LLWN signal in the DPB state 18 or the D-state 12 causes the SCSM to enter the PD state 20. Reception of the LLWN and high D-bit signals in the PD 20 or START 10 states causes the SCSM to enter the PD state 20; while reception of the LLWN and low • D-bit signals in either the DPB 18 or PD 20 states causes the SCSM to enter the START state 10. Reception of the LLWN and low D-bit signal in the PB 16 state causes the SCSM to enter the B 14 state.

With reference to Fig. 3, a block diagram of an adaptive threshold sampling control (ATSC) device 100

incorporating the SCSM described above. The combinatorial portion of the SCSM is preferably implemented as a programmable logic array (FLA) 102, as will be appreciated by those skilled in the art, and a set of registers 104 which implement the SCSM state transitions. A set of three input signals 10, II and 12 applied to SCSMPLA 102 specify the next-state to be entered and are generated by registers 104; and a set of three output signals 00, 01 and 02 generated by SCSMPLA 102 specifying the current-state are applied to a set of clocked latch 104. The B-bit, D-bit and LLWN signals are also applied to SCSMPLA 102 and the ENB, END and ENF signals generated by SCSMPLA 102 are applied to latchs 104. The ENB, END and ENF signals stored in latches 104 are applied to the first input terminal of NAND gates 106, 108 and 110, respectively. The second input terminal of gates 106, 108 and 110 receive the signals generated by respective AND gates 112, 114 and 116, which in turn receive at a first input terminal the HIMS signal (high mark sample) generated by latch 104. (A SHIM signal - sample high mark - is applied to latch 104) . A B-bit window (BWN) signal, a D-bit window (DWN) signal and a first L-bit window (FLWN) signal are applied to a second input terminal of gates 112, 114 and 116, respectfully.

The BWN and DWN signals are applied to a first input terminal of AND gate 118 and 120, respectively, and the SHIM signal is applied to the second input terminal of gates 118 and 120. The signal generated at the output terminal of gates 118 and 120 is the B-bit and D-bit signal, respectively, described above in connection with the state diagram Fig. 2 of the SCSM and are applied to SCSMPLA 102, as is the LLWN signal. A clocked latch qualification (L UAL) circuit 122 supplies a clock to the set of latches 104.

The signals generated by the NAND gates 106, 108 and 110 are applied to the input terminals of a three-input NAND gate 124, which, in turn, generates therefrom a signal applied to a first input terminal of a NAND gate 126. Gate 126 receives at a second input terminal a P30 signal (representing the thirteenth phase of the 32-phases into which each bit time is subdivided) and generates a sampling clock signal (LUTHR1) at its output terminal.

A threshold sampling device according to the instant invention is preferably used in conjunction with "line interface" analog adaptive threshold circuitry, a portion of which is shown in Fig. 4. Filtered signals from the transmission line are applied across terminals 200; one terminal of which is grounded, the other terminal is connected to the input terminal of an MOS transmission gate 202, acting as a high-speed switch (SI). Switch 202 receives the P28 (phase 28) of a 192 kbs sampling clock (SMCL1) signal. The output terminal of switch 202 is connected to a first terminal of a sampling capacitor (Cl) 204; the second terminal of which is grounded. Also connected to the output ,_ terminal of switch 202 is the input terminal of a second MOS transmission gate 206, acting as a high-speed switch (S2). Switch 206 receives LUTHR1 sampling clock generated by the ATSC 100 (Fig. 3).

The output terminal of switch 206 is connected to a first terminal of a storage capacitor (C2) 208; the second terminal of which is grounded. Also connected to the output terminal of switch 206 is a unity gain operational amplifier 210, which acts as a buffer. The output terminal of amplifier 210 is connected to a non-inverting operational amplifier 212 and an inverting operational amplifier 214, which have gains of 0.55. Amplifiers 212 and 214 generate the threshold voltages

which are applied to comparators (not shown) and these threshold voltages are used to detect high, low marks and spaces, as will be appreciated by those skilled in the art.

With reference to Fig. 4, elements 202, 204, 206 and 208 form a switched-capacitor filter. Representing the voltage across terminals 200 at sample time tn as VUNE, the voltage acrcss sampling capacitor (02) 208 at sample time tn, V_, is given by the equation: - C i uN- (,-fcr,) -4- C2-fc V_ (-.„-,) ~ c TcI .

The value of V2(tn) is taken to represent the peak value on the line. In a preferred embodiment, C2 =

20*Cι, and the value of V2(tπ) asymptotically approaches the peak voltage values sampled on the line.

Accordingly, amplifiers 212 and 214 generate positive and negative threshold voltages, respectively, which represent 55% of these values.

The operation of the SCSM and thus the operation of the adaptive threshold sample control (ATSC) 100 of the present invention is best understood by reference to

Figs. 5 and 6. Fig. 5 identifies the four timing signals used by the ATSC. A first L-bit window (FLWN) timing signal is active (300) during the F-bit and the first L-bit of the frame. A B-bit window (BWN) timing signal is active (302) during the first B-bit slot and inactive (304) following the L-bit slot that follows any

Bl or B2 portion of the frame. A D-bit window (DWN) timing signal is active (306) during any D-bit slots and the L-bit slot that follows a D-bit slot. A last L-bit window (LLWN) timing signal is active (308) during the last L-bit slot of a frame.

With reference to Fig. 6, a timing diagram is presented showing the operation of the ATSC 100 of the present invention. In the upper portion of Fig. 6, the line data is shown together with the P24 and P28 signal

phases of the 32-phase Intra-bit times, and the FLWN, BWN, DWN and LLWN described in connection with Fig. 5. Three cases are now described which convey the concept employed in the ATSC. In Case 1 no marks have been sampled in the whole previous frame and since no mark is sampled during LLWN (Last L-bit Window) the ENF (Enable F-bit Sampling) signal is activated (310). This leads to the sample clock 2 (SMCL2) hereinbefore designated LUTHR1 being activated (312) for one period so that the sample taken on the high mark in the F-bit with SMCL1 (P28) is transferred to the storage capacitor (208) in the analog adaptive threshold circuit (Fig. 4).

In Case 2 the last bit in the B-channel (the L-bit) is a high mark and the ENB (Enable B-bit sampling) signal is activated (314). At the next high B-mark in the beginning of the next frame a sample is taken and transferred to the storage capacito (208) whereupon the ENB signal is deactivated (316) so that no more marks are used for updating in that frame. (The first B-bit in a frame is not always high, but this has been assumed here in order to simplify the timing diagrams.)

In Case 3 the polarity of the received signal , is assumed to be reversed so that the last received D-bit is assumed to be a high mark and the L-bit following th ' e- F-bit is also assumed to be a high mark. Here the END (Enable D-bit sampling) signal is active when the last D-bit arrives and the SMCL2 signal is therefore activated (318), whereupon the END signal is deactivated (320). Here it is assumed that no B-bit was active in- the previous frame and therefore the END signal is activated also in the next frame.

These three examples, while not exhaustive, describe the general idea of the operation of ATSC 100. If a B-bit was high in the previous frame, the first sample at a high B-bit in the present frame is used to

update the adaptive threshold. If a D-bit but no B-bit was high in the previous frame, the first sample of a high D-bit in the present frame is used.