Electronic – Transmission line simulation (physical)

simulationtransmission line

I need to be able to simulate communications with a sensor device over a large length of wire (0-10km). This is for quite low-speed comms (10khz max, usually 1-2khz though). This would be FSK… but at some point I may have to handle a low baud RS232-like signal as well.

Mostly, I'm looking for voltage drop and signal distortions. Delay doesn't matter much.

How would you go about it?

EDIT:

I've been able to determine the cable is indeed a (fairly nonstandard) type of coax. I now know resistance and capacitance per unit length, cross section geometry, and that the insulation resistance is high enough not to matter. It wasn't initially clear if the return line was a separate run or not.

This would be a test setup for multiple target devices. Most are FSK of various frequency choices under 10khz, some are ASK (you could almost use a standard UART after bandpass/filtering). All are riding on a high DC offset (comms over power).

In the past, I've seen people build a simple rotary switch that swaps in resistors, capacitors, and maybe inductors to simulate a given line length. Could that be good enough?

I'm currently trying to build a few simulations in LTspice.

EDIT 2:

Okay, if I go with just adding resistors, caps, and inductors… what does the model look like? The RLGC network below is assuming the grounds are at the same potential I believe (a safe assumption on PCBs w/ground planes). The return in this case is through the outer shell, and it's resistance is probably 3 times higher than the inner conductor. Does that change things significantly? Do I just add another resistor on the bottom rail, and split the capacitance on both sides of it?

Best Answer

Transmission lines have a complex characteristic impedence. The characteristic impedence is typically specified "per unit length" for a given tranmission line. For practical purposes, you might have four values "per unit length" for a transmission line: resistance, capacitance, inductance, and conductance. There's a pretty extensive article on this on Wikipedia, and "for high frequencies and small losses" the approximate equation is:

alt text

where:

  • x is the distance along the tranmission line
  • t is elapsed time
  • L is the inductance per unit length
  • C is the capacitance per unit length
  • R is the resistance per unit length
  • G is the conductance per unit length

Now this is probably going to be of limited use to you because, if I read between the lines here, it sounds like you're planning to transmit a digital signal (i.e. a square wave). The edges in the square wave are really "broad spectrum." That's why most communication systems go through a modulation and demodulation step so as to limit the spectrum of the signal "on the line." But I think the above equation does apply because a the "signal" in a square wave is analytically "high frequency" content.

At any rate, in the "steady state" high level of your input signal, assuming your receiver is a high impedence, what your signal sees is a voltage divider based on the characteristic resistance and conductance. So you should see (approximately) Vout/Vin = G/(R+G), based on the model:

alt text

Edit 1

I missed the FSK (Frequency Shift Keying) comment in the question earlier. I also had another thought. You can use something like Matlab Simulink to model the transfer characteristic of the circuit, and feed the model with a representative input waveform to see what comes out the other side...

Also, if you want to know how much of a voltage drop you'll see, for a sinusoidal signal, you've still got an effective voltage divider with a top leg having effective impedence of length*(R + jwL) and a bottom leg impedence of (Glength || 1/(jwClength)). You can do the complex math to find the real part of that transfer function at a given frequency ( w = 2 * pi * f).

Edit 2

In response to the clarification of what you meant by physical simulation, if you are trying to physically introduce the effect of a transmission line, just set up the circuit in the figure with appropriate values of capacitors, inductors, and resistors - sized in accordance with the properties and length of the transmission line you are trying to emulate.