Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Full Duplex on a single wire

Status
Not open for further replies.

originator

Industrial
Dec 12, 2004
71
0
0
US

I am just getting into serial communication and was discussing Full Duplex on a single wire with someone, neither of us had a good solution, so no better place that Eng tips to find out whats the story!

Q. Is it possible to have a single wire(not including shield if req'd) to talk simultaneously back and forth, on top of each others signal? I was thinking that if the two signals "added" on the bus to increase the current when both were High, the state could be sensed and decoded on each end. Obviously this would require two pins at each end, Tx and Rx. I googled quite a bit and didn't see exactly what I had in mind. The other gentleman got it to work using a comparator on each end to sense when both were on, but said it didnt work fast enough.

Here is an idea I was kicking around(link above). First, convert the logic signal to sine waves (say what?), then treat the data bus as an audio signal with a psuedo summing bus on each end to cancel its own sides signal out at its own Rx input. If this has been done please let me know where to look. If not, is this idea even a slight possibility?

The concept is to have each sides output ride on top of each other. Phones do something similar right? If the decoded sine waves can get squared back off at each side thenmaybe this is doable?

Thanks for any ideas
 
Replies continue below

Recommended for you

Do both directions have to operate at the same data rate? If the rates are different enough you can just pump in the signals and low/high pass them. This is what the fiber people do constantly. They frequency multiplex with different colors of light then just look at the color of interest.

Keith Cress
Flamin Systems, Inc.-
 
I thought that the modem limitation was more of a wire length/noise problem.

The speeds can vary, this is just for experimental purposes at this stage. Your idea is interesting Keith. I assume you are referring to full cycle sine waves. Would a half cycle sine wave function as well in this case? If so, it would eliminate the need to convert a 0>1>0 square wave into a full cycle sine, and would require minimal external parts to filter it. I think it wouldn't make any difference if it were fiber or wire either. I'll do some reading on it.

Thanks

 
Yes you can.
This is basically what an analog (POTS) phone does. Originally with a transformer, nowadays with a socalled SLIC (subscriber loop interface circuit).
The circuit is also called a four-to-two wire converter. Basically both ends modulate onto the cable, and one's own signal (which is known, of course) is subtracted locally. Thus you can decipher the signal from the other end.

Your signalling speeds are unimportant, they can be the same or quite different.

Regards,

Benta.
 
Yes. You can do it in analog or digital.
Using a standard that has been thought through debvugeed and has hardware and tutorials is your best best (IMO).

In analog the phone example is a good one. But POTS has hybrids, you may not have those. Today, you might want to consider a digital approach of multiplexing. Time division multiplexing is the most common and easiest to find parts and examples for. Frequency division is more expensive and relies more on what is considered analog. Code division is interesting, but if you are not versed inthis you might not want to do it at first. In code division there is always the problem with the patents to worry about. Hedy Lamarr's might have expired, but the rest have not.

jsolar
 
itsmoked got me thinking about looking into the idea of running a fiber with two trancievers at each end. I am searching for hardware that could filter the colors right now. Most likely that route will require major hardware and cost, but is worth a slight departure to get some basic understanding in any case. SLIC ic's look inexpensive and not too difficult to implement, that route should be worth some experimentation as well. Thanks for the tips.
 
Well the key things you haven't mentioned are just how fast you want to communicate and how many you ever want to make. If it is only one then design time is critical.

Fibre would give fantastic bandwidth, albeit at fantastic prices (hundreds of pounds).
 
There is a FO device called a wave division multiplexer (WDM) which accomplishes the color (wavelength) discrimination for you. These work well, and are used widely in the industry. The only drawback, at least from the days when I used to do a little FO work, is that they are difficult to manufacture, and are a bit pricey for a low budget commercial operation. Here are a couple of links for your reading enjoyment:
 
Keith

Applications will vary, but the concept I build will be based around the Propeller multiprocessor. Others will have their own interests as well. I have several uses in mind, but nothing nailed down yet. Possibly a continuation of the small business and hotel scenerio we discussed before. Data rates would be in the RS232 standards, maybe cat5. A few hundred feet would be nice using non-fiber. Home, office, and industrial environment typically.

The fiber route looks way to costly and bulky it seems, but I appreciate the links guys, very informative.

I wouldn't think too much on it, I was just wondering what the current options were, and I have gotten some great places to look at already from the post. The learning is the fun part.
 
Oh hey I've never heard of "Coarse" interesting.

I did a temp control for a bleeding edge WDM system. It was nasty. The light filtering was done by mechanical means and so was dependant on physical positioning which was of course strictly tied to temperature. "Please make box stay at +/- 0.02C." Gag.

Keith Cress
Flamin Systems, Inc.-
 
"Oh hey I've never heard of "Coarse" interesting. "

Hey man anytime you need to brush up on electronics give me a shout. I am always there to help out. hehe

Light filtering, as in a prism?
 
Status
Not open for further replies.
Back
Top