SYNCHRONISATION ARRANGEMENT FOR EQUIPMENT CONNECTED TO THE PUBLIC TELEPHONE NETWORK

Abstract: In a transmission system in which information has to be transmitted from a first device (2) to a second device (6) and vice versa, use is made of a first part (t0-t3) of a timeslot to transmit data from the first device (2) to the second device (6) and from a second part (t3-t4) of the timeslot to transmit data from the second device (6) to the first device (2). In order to obtain correct operation of the system, the second device (6) has to be synchronized to the first device (2). This is done by using a phase locked loop (78) which locks on the signal present on the interconnection lines between the first device (2) and the second device (6). In order to ensure reliable synchronization the second part of the timeslot (t3-t4) ends before the beginning (t5) of the first part of the next timeslot and a rising edge is present at the beginning (t5) of the first part of each new timeslot.

Description: SYNCHRONISATION ARRANGEMENT FOR EQUIPMENT CONNECTED TO THE PUBLIC TELEPHONE NETWORK The present invention relates to an arrangement comprising a first device being coupled to a second device for exchanging information in a sequence of time slots, said arrangement being arranged for transmitting a signal representing at least one digital symbol from the first device to the second device in a first part of a timeslot and for transmitting a signal representing at least one digital symbol from the second device to the first device in a second part of the timeslot. The present invention also relates to devices to be used in such an arrangement. An arrangement according to the preamble is known from the PCT patent application published under number WO 98/488452. The arrangement according to the above mentioned patent application can be used for interconnection of electronic devices such as integrated circuits on a printed circuit board. In present day systems, it is often required that electronic devices exchange digital information. This can e.g. be control information, or it can be digital information to be passed on by the second device, as is the case in a line interface for a telecommunication device such as a modem. In general it is desired to use only a small numbers of interconnections between the electronic devices, because this saves pins and external coupling components. To reduce the number of pins and/or the number of external components, in the arrangement according to the prior art, information is transmitted from the first device to the second device during a first part of a timeslot, and information is transmitted from the second device to the first device during a second part of the timeslot. This way of using the interconnection between the first and second device requires that the second device is synchronized with the first device. This can be done by using a phase locked loop in the second device that locks on the data received from the first device. In the arrangement according to above mentioned patent application in one out of four timeslots a special synchronization sequence is transmitted by the first device to ensure synchronization. The introduction of the special synchronization sequence has the disadvantage that the timeslot is not completely available for data. Furthermore buffering of data may be necessary to deal with data that is generated in the timeslot being used for synchronization. The object of the present invention is to provide an arrangement according to the preamble in which the use of the special synchronization sequence is not necessary. To achieve said object, the arrangement according to the invention is characterized in that the second device comprises control means for terminating the transmission of the at least one digital symbol from the second device to the first device before the end of the second part of the timeslot, and in that the first device comprises further control means for introducing a level change at the beginning of the first part of the time slot. By terminating the transmission from the second device to the first device before the end of the present timeslot the signal at the input of the second device has a predetermined level at the end of the current timeslot. This makes it possible that the next time slot starts with a level change caused by the transmission of data by the first device. The first device should start its transmission with a level different from the level at the end of the previous timeslot. In this way the second device receives a signal which changes level at the beginning of a time slot. Such a signal is very suitable to synchronize a phase locked loop, making that the special synchronization sequence can be dispensed with. An embodiment of the present invention is characterized in that the signal representing the digital symbol transmitted in the first part of the timeslot has a same value at the beginning of the first part of a timeslot. By using a constant value of the signal representing the digital symbol transmitted in the first part of the timeslot, always a same type of edge is present at the beginning of the timeslot. This can be always a rising edge or a falling edge. The use of a same type of edge results in a simplification of the phase locked loop required to synchronize on the received signal. A further embodiment of the invention is characterized in that the first transmitter is arranged for changing the value of its output signal at an instant within the first part of the timeslot, said instant being determined by the value of the digital symbol to be transmitted. By encoding a symbol by changing the instant on which the symbol changes, it is obtained that an easy detection of the corresponding symbol is possible in the second device. If the change takes place at a predetermined instant for one symbol value and at a later instant for another symbol value, the value of the transmitted symbol can easily be determined by determining the level of the signal after said predetermined instant but before said later instant. The arrangement according to the present invention can advantageously be used in a system in which the power required for the second device is (partly) derived from the data signal it receives. In particular this is the case when the communication has to take place over an isolating barrier such as a transformer or a plurality of capacitors. The use of isolating barriers is common in equipment that is connected to the public telephone network such as modems, ISDN or ADSL/HDSL adapters for use in PC's. The present invention will now be explained with reference to the drawing figures. Fig. 1 shows a high level block diagram of an arrangement according to the invention. Fig. 2 shows the timing of the signals transmitted over the capacitors 3 and 4. Fig. 3 shows a block diagram of the mains device 2 in Fig. 1. Fig. 4 shows a circuit diagram of the transmit driver 30 to be used in the mains device 2 according to Fig. 3. Fig. 5 shows a circuit diagram of the receiver 20 to be used in the mains device 2 according to Fig. 3. Fig. 6 shows a block diagram of the line device 6 in Fig. 1. Fig. 7 shows a circuit diagram of the active bridge 74 to be used in the line device 6 according to Fig. 6. The arrangement according to Fig. 1 can be applied in modems or other devices in which transmission of digital signals over an isolating barrier is necessary. This is required in communication equipment which is connected to the public telephone network. The reason for this is that it has to be prevented that, due to equipment failure, the user can touch parts which are directly connected to the telephone line. The arrangement according to Fig. 1 comprises a mains device 2 which receives its supply from the mains and a line device 6 which is connected to a telephone line. A signal IN to be transmitted by the mains device 2 is converted into a symmetric signal and is passed via the capacitors 3 and 4 to the line device 6. The transmission of the signal IN is done in a first part of a timeslot. It is also possible that the data signal transmitted via the capacitors 3 and 4 is used in the line device 6 for derivation of a supply voltage. A signal to be transmitted from the line device 6 to the mains device 2 is also transmitted over the capacitors 3 and 4, but now in a second part of the timeslot. This signal is received by the mains device 2, and made available at an output terminal OUT. The line device 6 also comprises circuitry to interface to a telephone line at terminals a and b. In case analog signals have to be transmitted over the capacitors 3 and 4, the mains device 2 and the line device 6 comprise analog to digital converters and digital to analog converters. Advantageously sigma-delta modulators are used for this purpose, because sigma- delta modulators generate high frequency data signals, which can easily be passed over capacitors 3 and 4 having a small capacitance value. In the timing diagram according to Fig. 2 the timing of the signals transmitted over the capacitors 3 and 4 is shown. The signal is constituted of a plurality of subsequent timeslot as is shown in graph 10. The timeslot starts at to and ends at t 5 . The first part of the timeslot is from to to t 3 , and the second part of the timeslot is from t 3 to t . The actual transmission in the first timeslot takes place between to and t . The period between t and t 3 is necessary in order to have sufficient time available for charging the capacitors 3 and 4. The interval between t 3 and t 4 is available for transmitting signals from the line device 6 to the mains device 2. The transmission of data from the line device 6 to the mains device 2 is indicated in Fig. 2. If a logical value "1" is transmitted by the line device 6, the voltage between the input/output terminals of the mains device 2 has first value, and if a logical value "0" is transmitted by the line device 6, the voltage between the input/output terminals of the mains device 2 has a second value different from the first value. According to the inventive concept of the present invention, no signals are transmitted between t 4 and t 5 enabling that a level change introduced at instant t 5 is always noticeable for a PLL which is used to synchronize the line device 6 to the mains device 2. Preferably, the value of the signal generated by the mains device 6 between instants to and t has a constant value (solid line) when a logical value "1" is transmitted, and the value of the signal changes at ti from a first value to a second value (dotted line). In graphs 11, 12 and 13 clock signals CLK0, CLK2 and CLK4 are shown. These clock signals can be used to control the mains device 2 and the line device 6. In the line device 6, the clock signals have to be extracted from the signals received from the mains device 2. The different parts of the timeslot can be identified from the levels of the clock signals CLK0, CLK2 and CLK4. In Table 1 below the relation between the important parts of the timeslot and the levels of the clock signals is given. Table 1 In the mains device 2 according to Fig. 3, a signal to be transmitted to the line device 6 is applied to a first input of a the first control means being here a controller 23. The clock signal CLK4 is applied to a second input of the controller 23. The controller 23 derives the clock signals CLK2 and CLKO from the clock signal CLK4 by using simple frequency dividers. The controller 23 also generates two control signals TXCTRL1 and TXCTRL2 which are applied to the first transmitter which is here a transmit driver 30. The signals TXCRTL1 and TXCRTL2 are discussed later in more detail. The transmit driver 30 is arranged for transmitting data to the line device 6. The transmit driver 30 has three possible states. In a first state a first output TXOUT+ is connected to the positive supply voltage VDD and a second output is connected to the negative supply voltage VSS. In a second state the first output TXOUT+ is connected to the negative supply voltage VSS and the second output is connected to the positive supply voltage NDD. In a third state the terminals TXOUT+ and TXOUT- are floating, enabling the mains device 2 to receive information from the line device 6. The terminals TXOUT+ and TXOUT- are also connected to inputs IΝ+ and IN- of a receiver 20. The receiver 20 is arranged for receiving a signal which is transmitted by the line device 6 in the period from t 3 and U- A current source 22 provides a bias current to the receiver 20. The receiver 20 makes the signal received from the line device available at its output. In the transmit driver 30 according to Fig. 4, the signal XCTRL2 is connected to a gate of an N-MOS transistor 40 and to an input of an inverter 34. The signal XCTRL1 is connected to a gate of an N-MOS transistor 42 and to an input of an inverter 32. A source electrode of the N-MOS transistors 40 and 42 is connected to the negative supply voltage VSS. A drain electrode of the N-MOS transistor 40 is connected to the output terminal TXOUT+ and to a drain electrode of a P-MOS transistor 36. A drain electrode of the N-MOS transistor 42 is connected to the output terminal TXOUT- and to a drain electrode of a P-MOS transistor 38. An output of the inverter 32 is connected to a gate electrode of the P-MOS transistor 36 and an output of the inverter 34 is connected to a gate electrode of the P-MOS transistor 38. If the signals TXCTRL1 and TXCTRL2 have a logical value "0", the gate voltage of the N-MOS transistors 40 and 42 are substantially equal to VSS. Consequently these N-MOS transistors are not conducting. The output signals of the inverters 32 and 34 will have a logical value "1" causing the gate voltages of the P-MOS transistors 36 and 38 to be substantially equal to VDD. Consequently, the P-MOS transistors 36 and 38 will not be conducting. This all will result that the terminals TXOUT+ and TXOUT- are floating when the logic level of the signals TXCTRL1 and TXCTRL2 is equal to "0". This should be the case from t 3 to U- If the signal TXCTRL1 has a value "1" and the signal TXCTRL2 has a value "0" the N-MOS transistor 42 will be conducting, and N-MOS transistor 40 will not be conducting. The output signals of the inverters 32 and 34 will have logic values of respectively "0" and "1". Consequently, the P-MOS transistor 36 will conduct and the P-MOS transistor 38 will not conduct. The result is that the output TXOUT+ is connected to the voltage VDD and the output TXOUT- is connected to the voltage VSS. This situation should occur from to to ti if the symbol offered at the input TXIN has a value "0" and from t 0 to t if the symbol offered at the input TXIN has a value " 1 ". If the signal TXCTRLl has a value "0" and the signal TXCTRL2 has a value "1", the N-MOS transistor 40 and the P-MOS transistor 38 will be conducting and the N-MOS transistor 42 and the P-MOS transistor 36 will not be conducting. The result is now that the output TXOUT+ is connected to the voltage VSS and the output TXOUT- is connected to the voltage VDD. This situation should occur from ti to t 2 if the symbol offered at the input TXIN has a value "0" and, independent from the value of TXIN, from t to t 5 . The signals TXCTRLl and TXCTRL2 can be derived from the clock signals CLKO, CLK2 and CLK2 according to: TXCTRLl = CLKO • CLK2+CLKO•TXDATA (1) TXCTRL2 = TXCTRLl+(CLKO+CLK2+CLK4) A first input of the receiver 20 according to Fig. 5 is connected to a first terminal of a resistor 44 and a second input of the receiver 20 is connected to a first terminal of a resistor 46. A second terminal of the resistor 44 is connected to a first terminal of a current source 48, to a first terminal of a current source 50 and to a source terminal of a P-MOS transistor 54. A second terminal of the resistor 46 is connected to a first terminal of a current source 52, to a first terminal of a current source 64 and to a source terminal of a P-MOS transistor 56. The gate electrodes of the P-MOS transistors 54 and 56 are connected to a first terminal of a reference voltage source 62. The drain electrode of the P-MOS transistor 54 is connected to an input of a current mirror consisting of two N-MOS transistors 58 and 60. The output of the current mirror constituted by the drain electrode of the N-MOS transistor 60 is connected to the drain of the P-MOS transistor 56 and to the gate electrode of a N-MOS transistor 70. The drain electrode of the N-MOS transistor 70 is connected to the output of the receiver 20 and to a first terminal of a current source 68. Second terminals of the current sources 48, 50 52 and 68 are connected to a positive supply voltage and the source electrodes of the N-MOS transistors 58, 60 and 70, the second terminal of the current source 64 and the second terminal of the bias voltage source are connected to a negative supply voltage. For explanation reasons, the capacitors 3 and 4 and a voltage source v, representing the signal generated by the line device 6 are also displayed in Fig. 5. It is assumed that the source terminals of the P-MOS transistors 54 and 56 absorb all current applied to them, and that the voltages on said source terminals are equal. Initially a current imu = -imi will flow trough the resistors 44 and 46. This current i mu will be equal to Vo / (R u +Rι). Consequently, the current i m ι is equal to -No /(R u +Rι). These currents result in an imaginary current Io = Iι-I 2 causing the voltage on output terminal RXOUT to approximate VSS if Io 0 and to approximate VDD if Io < 0. This imaginary output current can be used to determine the optimum value for Ithr- For the output current Io can be written: I 0 = Iι - I2 = (Ibias _ I thr + I ml ) - ( I bias + I thr + I mu ) = l m\ _ I mu - 2 - I thr ( 2 ) Choosing R u =Rι=R, and substituting the expressions for the currents I mu and I m ι into (2) gives: I 0 = -Vi / R - 2 - I thr (3) At t 3 , which marks the end of the transmission phase of the mains device, the voltage Vo at the input of the receiver equals -V m , in which V m is the supply voltage of the mains device 2. The voltage V, is equal to -V p with V p being the supply voltage of the line device 6. Provided C U = the voltage difference between V, and Vo is equally divided over the capacitors 3 and 4. In the transmission phase of the line device 6, this line device can put its supply voltage or inverted supply voltage on the capacitors 3 and 4. Consequently the voltage V, can assume the values -V m or -N m +2-Np. For the possible values of Io can now be written: I θ = V m /R - 2 - I thr or (3) I 0 = V m /R - 2 N p /R -2 - I thr From (4) the optimum value of It hr can be determined as (V m -V p )/2-R. Replacing the voltage source Vj by an open or short circuit is also possible to transmit binary information. A terminal INU of the line device 6 according to Fig. 6 is connected to a first input of a controlled rectifier bridge 74, to a first input of a receiver 70. A terminal LNL is connected to a second input of the controlled rectifier bridge 74, to a second input of the receiver 70. The controlled rectifier bridge 74 is arranged for rectifying the signal between the terminals INU and INL for providing a supply voltage VDD for the remaining circuitry in the line device 6. The receiver 70 is arranged for deriving a data signal to be transmitted to a telephone line from the data signal received from the mains device. It comprises a simple sheer with center value zero which determines the sign of its input signal at an instant halfway t, and t 2 (Fig. 2). The output of the receiver 70 is connected to a line interface 80 which can comprise a (sigma-delta) D/A converter and a hybrid when the line device has to be connected to an analog PSTN. The line interface 80 is connected to the a and b wires of a PSTN. An output of the line interface 80 is connected to a control unit 82. This output of the line interface carries a digital signal 80, which has to be transmitted to the mains device 2. This output is connected to a first input of a control device 82. An output of the control device 82 is connected to an input of the controlled rectifier bridge 74. This control signal is used control the rectifier bridge 74 when the line device 6 transmits to the mains device between instants t 3 and U- The output of the receiver 70 is also connected to an input of a gating device 77. An output of the gating device 77 is connected to an input of a phase locked loop 78. The phase locked loop 78 locks to the rising edge always present at to, t 5 , etc. and generates replicas of the clock signals CLKO, CLK2, and CLK4 used in the mains device. These clock signals are provided to the control unit 82 that derives several control signals from these clock signals. One of these control signals is a gating signal which is applied to the gating device 77 to ensure that, according to the present invention, always a rising edge at regular intervals occurs and that undesired edges in the input signal are suppressed. These undesired edges are caused by the transmission from the line device 6 to the mains device 2 and occur at instants t 3 and tt. The gate signal is derived from the clock signals CLKO, CLK2 and CLK4 according to: GATE =CLKO•CLK2•CLK4+CLKO•CLK2•CLK4 (5) At start up of the system, the gating is disabled, which means that the complete signal at the output of the receiver 70 is passed to the input of the phase locked loop 77. As the line device 6 does not transmit data to the mains device 2 during the start up phase, at the input of the phase locked loop only the signal transmitted by the mains device 2 is present. Consequently, during the start up phase no undesired edges are present in the input signal of the phase locked loop. Due to the presence of edges at regular distances, and the absence of unwanted edges, it is obtained that the phase locked loop locks reliably on its input signal. The phase locked loop comprises a phase detector and a frequency detector. The latter is present to increase the lock speed at larger frequency offsets. The phase detector in the PLL is arranged to be only sensitive for a rising edge. This type of phase detector is well known to those skilled in the art. In the controlled rectifier bridge 74 according to Fig. 7, an input terminal INU is connected to a source electrode of a N-MOS transistor 80 and to a source electrode of a P- MOS transistor 82. A drain electrode of the N-MOS transistor 80 is connected to a first output terminal VSSp and a drain electrode of the P-MOS transistor 82 is connected to a second output terminal VDDp. An input terminal 1NL is connected to a source electrode of a P-MOS transistor 86 and to a source electrode of a N-MOS transistor 102. A drain electrode of the P- MOS transistor 86 is connected to a first output terminal VDDp and a drain electrode of the N- MOS transistor 102 is connected to the second output terminal VSSp. The gate electrodes of N-MOS transistor 80 and P-MOS transistor 82 are connected via a parallel connection of a P-MOS transistor 84 and an N-MOS transistor 88 to the input terminal INL. The gate electrodes of N-MOS transistor 80 and P-MOS transistor 82 are further connected via a parallel connection of a P-MOS transistor 90 and an N-MOS transistor 92 to the output terminal VSSp. The gate electrodes of N-MOS transistor 102 and the P-MOS transistor 86 are connected via a parallel connection of a P-MOS transistor 100 and an N-MOS transistor 98 to the input terminal LNU. The gate electrodes of N-MOS transistor 102 and the P-MOS transistor 86 are further connected via a parallel connection of a P-MOS transistor 96 and an N-MOS transistor 94 to the output terminal VDDp. The control signal RXCTRL is connected to an input of an inverter and to the gates of the P-MOS transistors 84 and 100 and to the gates of the N-MOS transistors 92 and 94. The output of the inverter 104 is connected to the gates of the P-MOS transistors 90 and 96 and to the gates of the N-MOS transistors 88 and 98. When the line device 6 is receiving information from the mains device, the control signal RXCTRL has a logic level "0" corresponding to a voltage VSSp. The output signal of the inverter 104 then has a logic level "1" corresponding to a voltage VDDp. This makes that the N-MOS transistors 88 and 98 and the P-MOS transistors 84 and 100 conduct. Consequently, the gates of the P-MOS transistors 80 and 82 are connected to the terminal INL and the gates of the N-MOS transistors 86 and 102 are connected to the terminal UNL. In this way the bridge 74 operates as a well-known active rectifier bridge which rectifies the AC voltage between the terminals INU and INL. In the circuit according to Fig. 7 parallel connected N-MOS and P-MOS transistors are used in the switching part in order to ensure that the gates of the transistors 80, 82, 86 and 102 are connected correctly for both polarities of the voltage between the terminals INU and INL. When the line device 6 is transmitting information to the mains device and the signal RXCTRL is "0", the controlled bridge acts as a switch which connects the terminal VDDp to the terminal INU and connects the terminal VSSp to the terminal INL. When the signal RXCTRL is "1", the controlled bridge acts as a switch which connects the terminal VDDp to the terminal INL and connects the terminal VSSp to the terminal INU. In this way information can be transmitted to the mains device 2 by the line device 6. The voltage put on the terminals INU and INL by the mains device corresponds to the voltage Vj in Fig. 5.

Claims: CLAIMS: 1. Arrangement comprising a first device being coupled to a second device for exchanging information in a sequence of time slots, said first device comprises a first transmitter for transmitting a signal representing at least one digital symbol from the first device to the second device in a first part of a timeslot and the second device comprises a second transmitter for transmitting a signal representing at least one digital symbol from the second device to the first device in a second part of the timeslot characterized in that the second device comprises control means for terminating the transmission of the at least one digital symbol from the second device to the first device before the end of the second part of the timeslot, and in that the first device comprises further control means for introducing a level change at the beginning of the first part of the time slot. 2. Arrangement according to claim 1, characterized in that the signal representing the digital symbol transmitted in the first part of the timeslot has a predetermined value at the beginning of the first part of a timeslot. 3. Arrangement according to claim 2, characterized in that the first transmitter is arranged for changing the value of its output signal at an instant within the first part of the timeslot, said instant being determined by the value of the digital symbol to be transmitted. 4. Arrangement according to claim 1 , 2 or 3, characterized in that the second device comprises power extraction means for deriving a supply voltage from a signal representing the at least one digital symbol received from the first device. 5. Arrangement according to claim 1 , 2, 3 or 4, characterized in that the second device is coupled to the first device via an insulating barrier. 6. Device being arranged for exchanging information in a sequence of time slots with a second device, said device comprising a first transmitter for transmitting at least one digital symbol in a first part of a timeslot and a receiver for receiving at least one digital symbol in a second part of the timeslot characterized in that the device comprises further control means for introducing a level change at the beginning of the first part of the time slot and in that the device is arranged for receiving a signal which terminated before the end of the second part of the timeslot. 7. Device according to claim 6, characterized in that the first transmitter is arranged for changing the value of its output signal at an instant within the first part of the timeslot, said instant being determined by the value of the digital symbol to be transmitted. 8. Device being coupled to a first device for exchanging information in a sequence of time slots, said device being arranged for receiving a signal representing at least one digital symbol in a first part of a timeslot and for transmitting a signal representing at least one digital symbol in a second part of the timeslot characterized in that the device comprises control means for terminating the transmission of the at least one digital symbol before the end of the second part of the timeslot, and in that the device is arranged for receiving a signal having a level change at the beginning of the first part of the time slot. 9. Device according to claim 8, characterized in that the device comprises power extraction means for deriving a supply voltage from a signal representing the at least one digital symbol received from the first device. 10. Device according to claim 8, characterized in that the device is arranged for receiving a signal representing the digital symbol transmitted in the first part of the timeslot having a same value at the beginning of the first part of a timeslot. 11. Device according to claim 10, characterized in that the device is arranged for receiving a signal changing its value at an instant within the first part of the timeslot, said instant being determined by the value of the digital symbol carried by the signal.

Inventors: KNUBBEN WILHELMUS H C, MULDER JACOB, SOREE JOHN J, KNUBBEN, WILHELMUS, H., C., MULDER, JACOB, SOREE, JOHN, J.
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2000
Main classification: H04L5
IPC codes: H04J3, H04L5, H04L7, H04L25, H04M11