Post Go back to editing

LTSpice models (.asc schematic) to simulate LVDS differential transmission lines?

Thread Summary

The user inquires about simulating LVDS differential transmission lines in LTSpice. The final answer explains that a single TLINE model can be used for differential lines if the signal is purely differential, with a 100 Ohm termination resistor between the differential pairs. For more accurate simulations, especially with imbalances, an accompanying answer suggests using stacked single-ended lines driven by a balun with a center-tapped secondary for grounding, allowing for the examination of line imbalances and common-mode currents.
AI Generated Content
Category: Datasheet/Specs

Hi,

 is there any good LTSpice models (.asc schematic) to simulate LVDS differential transmission lines?

A traditional single ended transmission line is pretty straight forward to simulate in LTSpice, but I guess a differential LVDS are not as easy?

I currently use LTSpice XVII(x64) (Vers. 17.0-24.0).

 

In a traditional LVDS differentiell pair there is two transmission lines, + - (none of them are grounded).

In the case of a LVDS Rx receiver each differential pair are terminated at the end off the transmission line by a 100 Ohms resistor between the + and – nodes.

So the single ended impedance in each pair is approx. 50 Ohms but the differential pair impedance is100 Ohms.

And at last, one must NOT forget the ground return path between the differential pair and ground.

 

A proper simulation model could be so much useful to simulate and watch the impact of the signal integrity when you change parameters,

like for instance propagation delay time (actually length), over-shoot, ringing and so on.

 

Could any one, please, help me with this issue?

 

Best regards

Kenneth Bloom,

Electrical Engineer

  • Kenneth,

    Simulating a differential line is not too much different than simulating a single ended line.

    The SPICE lossless Transmission-line model ("TLINE" in LTspice) models one "mode" of a transmission line.   Single ended lines have only one mode, and the normal thing to do is to ground both ends of the other "wire" of the T-line SPICE model, which effectively represents the power/ground plane or shield under and around the signal wire.  The same model also works for a differential transmission line, except that differential lines have two modes (Odd and Even, or Differential and Common-mode), but one SPICE T-line model represents only one mode at a time.  If your signal is purely 100% differential, with no common-mode component and no common-mode current from one end to the other, then the SPICE T-line model works OK for that.  An LVDS pair should be nicely balanced so there should be no common-mode signal voltage driven or received, but there COULD be a common-mode current, depending on how you terminate the line.  If your far-end termination is a single resistor connected between the two wires at the end of the line, then that's good. (*)  But if you terminated the pair using two termination resistors, one from each wire and both going to another voltage (which I believe is not the normal way to terminate LVDS), then there would be a common-mode current through the differential transmission line and that can't be simulated using only one SPICE T-line model.

    (*) The tricky part is that a single SPICE T-line differential pair provides no common-mode signal whatsoever from one end to the other, so things like the DC voltages at the far end are "unknowns" and will not track what they were at the sending end.  You may need to manually add it yourself, using two large-R resistors at the far end to a suitable DC voltage.

    It is possible to arrange multiple T-line models which could handle both modes, but it is rather tricky, so it is probably best avoided even if it seems like it ought to be the best thing to do.

    The other thing to consider is the physical design of your differential transmission line pair.  If the differential pair consists of PC board traces over ground/power planes, then chances are that it behaves almost exactly like two separate single ended lines.  In that case, simulate it that way, using two separate SPICE T-lines, one for each wire of the pair.  Do the normal things you would do for any other single ended transmission line; that is, ground both ends of the second half of each T-line.  On the other hand, if your differential transmission line consists of a twisted pair, where the two wires are tightly coupled to each other but not so closely coupled to ground - no nearby PC power/ground plane, no closely coupled cable shield though one might be present a little distance away from the twisted pair - then it may be better to simulate it using one SPICE T-line where the two "wires" of the T-line model correspond to the two wires of the twisted pair.  And then be prepared to enhance it on account of the fact that the T-line SPICE model does not have any of the common-mode things that might be useful for it to have - no paths to ground, no common-mode DC bias voltage, and so on.

    Andy

  • The easiest and clean way I've found to simulate a differential line including imbalance is to use stacked single ended lines driven by a balun with a centertap on the secondary.  The balun (1:1 xfmr with k = 0.9999.... is essential for generating the balanced source to drive the differential line.  The secondary centertap which is grounded allows examination of line imballances which by definition are differences in the amplitude or phases of each side of the line with respect to a reference, usually circuit ground.   The stacked lines are connected as such:  balanced source (xfmr secondary) high side to one side of the top line, low side of balanced source connected to one side of the lower line, then the other sides of both lines connected together and connected to the balun centertap (wish I could add a simple snapshot here). Each line has Zo = t/2 the intended balanced line Zo.  With both individual lines identical (Zo and Td) there will be zero common mode current hence the resultant output which will be +V/2 and -V/2 with respect to GND will not change if the stacked line midpoint connection is connected to GND or not.   If the Zo or Td of one line is made different from the other, this forces an imbalance and common mode current will flow with the net common mode impedance defined by the imbalance.   The Zo and Td params can be tweaked to generate a specific known common mode impedance by monitoring the stacked line common mode current to gnd via a low value R which, along with the voltage across this R gives Zcm = Vcm/Icm.

  • Typo correction: "Each line has Zo = t/2 the intended balanced line Zo" should read "Each line has Zo = 1/2 the intended balanced line Zo"

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.