COMMUNICATION INTERFACE WITH AUTOMATIC ADAPTATION OF THE LEVEL OF THE INPUT SIGNAL
20190222213 ยท 2019-07-18
Inventors
Cpc classification
H01L27/0248
ELECTRICITY
H03K19/00369
ELECTRICITY
International classification
G11C5/06
PHYSICS
H04L25/02
ELECTRICITY
H01L27/02
ELECTRICITY
G06F1/30
PHYSICS
Abstract
A communication interface comprises an input terminal (Rx) for receiving a logic signal from a remote interface (IF2); a logic level discriminator (12) coupled to the input terminal; a peak detector (14) connected to store the peak value of the signal at the input terminal; and a voltage follower (16) connected to the discriminator for providing an auxiliary supply voltage (Vdd2) based on the value provided by the peak detector. An electrostatic discharge (ESD) protection device is further provided, including a first diode (D1) and an RC-circuit forming the peak detector, connected in series between the input terminal (Rx) and a first power supply line (Vss1); a transistor (MN1) connected between the first power supply line (Vss1) and the input terminal (Rx) through the first diode (D1) or a second diode (D1); and inverter (42) configured to turn on the transistor when the voltage across the capacitor of the RC-circuit is less than a threshold.
Claims
1. A communication interface, comprising: an input terminal (Rx) for receiving a logic signal from a remote interface (IF2); a logic level discriminator (12) coupled to the input terminal; characterized in that it comprises: a peak detector (14) connected to store the peak value of the signal at the input terminal; and a voltage follower (16) connected to the discriminator for providing an auxiliary supply voltage (Vdd2) based on the value provided by the peak detector.
2. The interface of claim 1, further comprising: an output terminal (Tx) designed to provide a logical outgoing signal to the remote interface (IF2); and an amplifier (10) connected to control the output terminal from the auxiliary supply voltage.
3. The interface of claim 1, wherein the peak detector comprises an RC-circuit connected to the input terminal (Rx) through a diode (D1), the peak value of the signal being taken at the connection point between the resistor (R1) and the capacitor (C1) of the RC-circuit.
4. The interface of claim 3, comprising a stack of diodes (50) connected across the capacitor.
5. The interface of claim 3, comprising an electrostatic discharge (ESD) protection device, including: the RC-circuit and the diode (D1) connected between the input terminal (Rx) and a first power supply line (Vss1); a transistor (MN1) connected between the first power supply line (Vss1) and the input terminal (Rx) through a diode (D1, D1); and an inverter (42) configured to turn on the transistor when the voltage across the capacitor of the RC-circuit is less than a threshold.
6. The interface of claim 5, wherein the diode (D1) connected to the RC-circuit and the diode (D1) connected to the transistor are distinct.
7. The interface of claim 1, further comprising a voltage elevator (60) configured to supply the voltage follower (16) at a voltage (Vdd1) greater than the supply voltage of the interface.
8. The interface of claim 1 comprising: a switchable attenuator (80) connected between the input terminal (Rx) and the discriminator (12); and a comparator (82) connected to switch the attenuator into the circuit when the supply voltage (Vdd1) of the interface is less than the peak value supplied by the peak detector (Vdd2).
9. A motherboard comprising a master circuit and at least one slave circuit connected together by communication interfaces, the communication interface of the master circuit comprising: an input terminal (Rx) configured to receive a logic signal from the interface (IF2) of the slave circuit; a logic level discriminator (12) coupled to the input terminal; a peak detector (14) connected for storing the peak value of the signal on the input terminal; and a voltage follower (16) connected for providing to the discriminator an auxiliary supply voltage (Vdd2) based on the value provided by the peak detector.
10. The motherboard of claim 9, wherein the interface of the master circuit further comprises: an output terminal (Tx) configured for providing an outgoing logic signal to the interface (IF2) of the slave circuit; and an amplifier (10) connected for controlling the output terminal from the auxiliary supply voltage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Other advantages and features will become more clearly apparent from the following description of particular embodiments of the invention provided for exemplary purposes only and represented in the appended drawings, in which:
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
DETAILED DESCRIPTION
[0026]
[0027] With this configuration, the capacitor C1 charges to the peak value of Rx signal less the threshold voltage of diode D1. When the level of signal Rx decreases, the diode D1 becomes unbiased, so that the capacitor C1 maintains the maximum voltage reached.
[0028] Thus, the level supplied by the peak detector 14 differs from the supply level Vdd2 of the remote interface by a diode threshold. The threshold of diode D1 being determinable locally, the follower 16 may be designed to compensate it, or the elements 10 and 12 may be designed to account for the threshold. The peak detector 14 and the follower 16 of
[0029] The peak detector 14 exhibits a certain impedance on the Rx line. It is desirable that this impedance does not affect the characteristics of the Rx line. For this purpose, the resistor R1 may be selected with a relatively high value and/or the capacitor C1 selected with a relatively low value. The resistance and capacitance values may be chosen to satisfy a sufficiently fast charging of the capacitor to the peak value, a sufficiently high impedance to not affect the characteristics of the Rx line, and maintaining the charge of the capacitor while the Rx signal is at a low level awaiting the next high level. If the constraints discussed above for the choice of the capacitance and resistance values are difficult to meet in some cases, another peak detector structure may be used, an example of which is presented later.
[0030] Anyway, the diode and RC-circuit structure of
[0031]
[0032] In practice, several protection cells 40 are distributed in the circuit to be protected to share the absorption of discharges. Often one cell 40 is placed near each pad of the circuit.
[0033] When the pads of the circuit are in the air, an ESD pulse occurring between any two pads is rectified by the corresponding diodes Ddd, Dss and applied to the supply lines Vdd1 and Vss1. Capacitor C2 is initially discharged and the voltage across its terminals is zero. The inverter 42, which is supplied by the ESD pulse, sees a logic 0 at its input and applies a logic 1 to the gate of transistor MN1. Transistor MN1 is turned on and tends to short-circuit the lines Vdd1 and Vss1. Transistor MN1 absorbs the discharge current and opposes to an increase in the voltage level between the lines Vdd1 and Vss1. The time constant of the RC-circuit is chosen so that the pulse does not have time to charge the capacitor C2 to a level sufficient to switch the inverter 42.
[0034] When the circuit is powered-up normally, the voltage applied between the lines Vdd1 and Vss1 is constant and ends up charging the capacitor C2. Inverter 42 then sees a logic 1 and turns off the transistor MN1.
[0035] In practice, the rise time of the supply voltage is much longer than the rise time of an ESD pulse. The RC-circuit time constant may be selected fast enough so that the voltage across the capacitor C2 keeps pace with the supply voltage while always remaining above the switching threshold of inverter 42. In this case, the inverter 42 does not turn on the transistor MN1 during power-up and the transistor does not derive any current.
[0036]
[0037] The protection cell 40 of
[0038] The protection device still plays its role when the pads of the circuit are in the air. A pulse applied between the Rx pad and ground Vss1 crosses the protection device as it would in the case of
[0039] During normal power-up, the protection device is not connected to the supply line Vdd1, and capacitor C2 remains discharged. The capacitor charges when the pad Rx receives an incoming signal. The incoming signal also has a slow rise time with respect to an electrostatic discharge. It follows that the transistor MN1 remains off, and does not affect the evolution of the incoming signal. For example, as part of the I2C or ISO-7816 standard, the RC time constant may be 834 ns, with R2=657 kOhm and C2=1.27 pF.
[0040]
[0041]
[0042] If one considers the circuit diagrams in theory, there is no discharge path of the capacitor C2 when the voltage at its terminals is lower than that set by the limiter 50. It is desirable that the capacitor discharges. In practice, the capacitor C2 is discharged by leakage currents inherent to the manufacturing technology. The discharge rate is difficult to control in this situation. It is not desirable to use a high-value resistor across the capacitor because it would occupy significant surface area. In fact the stack 50 provides a slow discharge means controllable by the leakage currents of the forward-biased junctions of the diodes. The stack may be supplemented by a reasonable value series resistor, as shown, if the discharge rate through the diodes is too fast.
[0043] The embodiments which have just been described are directed to a peak detector whose structure, based on an RC-circuit and a diode, may be shared with other elements. As previously mentioned, this structure may not be suitable in all situations, because of the voltage drop produced across the diode and the impedance presented by the structure on the Rx line.
[0044]
[0045] Furthermore, in order to supply the elements 10 and 12 by an unknown voltage Vdd2, the peak value of an external signal, it is desired to provide a voltage at least equal to Vdd2 inside the local interface. To meet all possible situations, the local interface may be designed to operate with a supply voltage Vdd1 equal to the maximum value of the voltage range used in the communication interfaces.
[0046] However, if it is nevertheless desired to power the local interface with a voltage Vdd1 in the lower values of the range, a voltage elevator circuit 60 may be provided, for example a charge pump, which supplies the follower 16 and the active elements of the peak detector 14 with a voltage Vdd1 greater than the expected peak value of the incoming signal.
[0047] Interfaces using open drain outputs, as previously mentioned, are not constrained as to the signal amplitude, if the amplitude can be adjusted by a pull-up resistor on the side of the receiver interface. In some applications, especially if the same transmission line is connected to the inputs of multiple interfaces, a single pull-up resistor is provided for the line, which may be a resistor external to the interfaces, connected to a voltage level independent of the interfaces. This independent voltage level, which will be designated by Vdd2 in this context, may be greater than the supply voltage Vdd1 of the local interface in question.
[0048]
[0049] If the voltage Vdd2 is greater than the supply level Vdd1 of the local interface, the discriminator 12 may, in some cases, no longer detect a low logic level in the input signal Rx, especially when the signal Rx is at the limits tolerated by the standards to represent a logic low.
[0050] To avoid this situation, the Rx pad is connected to the input of the discriminator 12 through a switchable attenuator 80. A comparator 82 is connected to control the attenuator 80 according to the difference between the peak level recorded by the detector 14 and the local supply voltage Vdd1.
[0051] If the peak level is less than the voltage Vdd1, the attenuator 80 is controlled to apply no attenuation. The discriminator 12 is supplied by a voltage Vdd2 corresponding to the stored peak value, as in the case of
[0052] If the peak voltage is higher than the voltage Vdd1, the follower 16 saturates and supplies the discriminator 12 at the voltage Vdd1. The attenuator 80 is then controlled to apply a voltage division. The attenuation value is preferably equal to Vdd1/Vdd2, for the nominal amplitude of the incoming signal to be reduced to Vdd1 without distortion. However, the value Vdd2 is not known in advance. The amount of attenuation may be selected to an average value taking into account the discrete possibilities of voltages Vdd1 and Vdd2. The attenuation need not be accurate it shall be sufficient to enable the discriminator 12 to detect a low logic level in the input signal within the margins tolerated by the standards.
[0053] An auto-adaptive interface of the type described herein may be particularly useful in a context where several integrated circuits mounted on a PCB or motherboard communicate via serial interfaces. In such a case, a master system is often provided that has multiple interfaces to communicate in parallel with several slave circuits. The interfaces of the master circuit may then be auto-adaptive, while the interfaces of slave circuits may be conventional and sometimes not controlled by the manufacturer of the master circuit.