Square wave over DC power line

emoney123

Joined Jun 4, 2012
32
I have a project that requires a limited number of wires for power and communication. I am looking for a circuit that will carry a square wave (pulse) from a function generator over a DC power line (the pulse is input to a mico that triggers an interrupt). I would like to disturb the power line as little as possible but still be able to detect the individual pulses before they are sent to the micro. Any help would be very appreciated.
Thanks

#12

Joined Nov 30, 2010
18,223
One definition of a DC power line is that it is clean, filtered, and low impedance. It has the ability to absorb square waves. The first thought process is that you must introduce an impedance into the DC line so the power supply doesn't attenuate the square wave into obscurity. After that, it is about how much resistance or impedance, and how much shall I clean the DC line after I get the pulse out on the other end.

ErnieM

Joined Apr 24, 2011
8,178
You might want to look into a scheme called "Digital Command Control" which is actually a control method for model trains. It works just as you propose: a small pulse signal on a constant DC.

I mention it as you may find useful prior art online to use as a springboard.

THE_RB

Joined Feb 11, 2008
5,438
One definition of a DC power line is that it is clean, filtered, and low impedance. It has the ability to absorb square waves. The first thought process is that you must introduce an impedance into the DC line so the power supply doesn't attenuate the square wave into obscurity. After that, it is about how much resistance or impedance, and how much shall I clean the DC line after I get the pulse out on the other end.
Alternatively you could just modulate the DC voltage regulator, easy enough to do if the regulator is a LM317 etc.

MrChips

Joined Oct 2, 2009
24,198
This is possible and has been done before. As others have said, the supply line must have enough pliancy in order to superimpose another signal.

Carrier current radio is used to broadcast a radio signal throughout a building or campus using the AC lines.

For a DC supply line you have to loosen up the filtering and modulate the supply line by a few millivolts.

WBahn

Joined Mar 31, 2012
26,398
Communication via high frequency signals superimposed on power lines is quite common. The X-10 home automation products that have been around for decades do exactly this. There are also high speed powerline models. The power utilities use it for sending command and telemetry data from one station to another.

The signals are effectively blocked by transformers. So in X-10 you have a "house code" that you set because any house served from the same final stepdown transformer as yours will hear everything you transmit. Since security was not a big concern when the protocol was developed, this also means that if you detect X-10 signals from your neighbor that you can issue commands to their house's X-10 devices. I don't know to what degree they have enhanced the security of the protocols to guard against this. Since the data rate is really low (about 20bps), it is hard to imagine that they have done much.