Maker Pro
Maker Pro

Extending USB Range

D

Dan Rhodes

Hi Folks -

Since USB is a differential bus, is it possible to get the same range
performance as RS-422 if the devices do not draw power from the bus?
I have an application where I need to connect USB devices 500+ feet
apart, and would rather avoid the expense of something like a
USB-RS232/422 converter IC based device if possible.

It seems like since the Data+ and Data- lines are differential, the
same reasons why RS422 works should apply.

Thanks,

Dan
 
J

Jim Stewart

Dan said:
Hi Folks -

Since USB is a differential bus, is it possible to get the same range
performance as RS-422 if the devices do not draw power from the bus?
I have an application where I need to connect USB devices 500+ feet
apart, and would rather avoid the expense of something like a
USB-RS232/422 converter IC based device if possible.

Take a look at the faq on usb.org

http://www.usb.org/developers/usbfaq/#cab3

The bottom line is that you're out of luck.
 
R

Roger Hamlett

Dan Rhodes said:
Hi Folks -

Since USB is a differential bus, is it possible to get the same range
performance as RS-422 if the devices do not draw power from the bus?
I have an application where I need to connect USB devices 500+ feet
apart, and would rather avoid the expense of something like a
USB-RS232/422 converter IC based device if possible.

It seems like since the Data+ and Data- lines are differential, the
same reasons why RS422 works should apply.
Several parts to this.
The signals are differential, but also bi-directional. There are very tight
'constraints' on the overall time taken for bus 'turn round' and signal
delays.
It is possible, by adding some 'glue logic', to implement a transciever,
that uses a 'better' signalling standard, and extends the range to perhaps
200 feet, but beyond this the timings fall apart (a couple of commercial
products exist to do this). Hence you can't go the sort of distance you need
with a passive transceiver device. The commercial units that go further,
instead behave as a single device 'hub', and talk unit-unit, then regenerate
the USB bus at the far end. Remember that each USB device, itself needs to
have an ID and drivers, so to build a DIY unit, will involve either using a
standard chipset, and assuming that drivers will be available, or either
using a 'trick' bodge to an existing hub chipset, or building your own
devices, writing the drivers, and registering this as a USB device...
Even on the commercial devices, many of the cheaper units, still have
reliability problems.
Look at units like the Icron ExtremeUSB devices. Some are available with bus
lengths up to 500m, using multi-mode fibre optic cable ( 'EverGreen', alse
do versions of these as their 'FireLINE' products - your length is longer
than I have found any of the 'Cat5' based solutions to work reliably...). No
solution is going to be cheap.
As a completely 'lateral' solution, you could use a 'single board'
industrial PC, at the remote end, to scan the USB device, and then send the
data (depending on rate), over another medium (unfortunately, the length is
such, that even ethernet, would require repeaters).
A 'USB-RS232/422' converter device, would not normally do what you want.
Most are only available as 'slave' devices, and the data rate required by
USB, will bring the bus length supported down below the distance you
require.

Best Wishes
 
W

Watson A.Name - 'Watt Sun'

Several parts to this.
The signals are differential, but also bi-directional. There are very tight
'constraints' on the overall time taken for bus 'turn round' and signal
delays.
It is possible, by adding some 'glue logic', to implement a transciever,
that uses a 'better' signalling standard, and extends the range to perhaps
200 feet, but beyond this the timings fall apart (a couple of commercial
products exist to do this). Hence you can't go the sort of distance you need
with a passive transceiver device. The commercial units that go further,
instead behave as a single device 'hub', and talk unit-unit, then regenerate
the USB bus at the far end. Remember that each USB device, itself needs to
have an ID and drivers, so to build a DIY unit, will involve either using a
standard chipset, and assuming that drivers will be available, or either
using a 'trick' bodge to an existing hub chipset, or building your own
devices, writing the drivers, and registering this as a USB device...
Even on the commercial devices, many of the cheaper units, still have
reliability problems.
Look at units like the Icron ExtremeUSB devices. Some are available with bus
lengths up to 500m, using multi-mode fibre optic cable ( 'EverGreen', alse
do versions of these as their 'FireLINE' products - your length is longer
than I have found any of the 'Cat5' based solutions to work reliably...). No
solution is going to be cheap.
As a completely 'lateral' solution, you could use a 'single board'
industrial PC, at the remote end, to scan the USB device, and then send the
data (depending on rate), over another medium (unfortunately, the length is
such, that even ethernet, would require repeaters).

No, it does not. Standard Ethernet, which is 10Base2, is 200 meters,
or about 600 feet. That is over RG-58, and 10BaseT will also go that
far. If you _must_ have the full 12 MB USB 1.1, then this won't work
because standard Ethernet is 10 MB.
A 'USB-RS232/422' converter device, would not normally do what you want.
Most are only available as 'slave' devices, and the data rate required by
USB, will bring the bus length supported down below the distance you
require.

I can't figure out why people insist on using USB for longer
distances, which is like trying to drive a nail with a screwdriver.
Use the right tool for the job. Use Ethernet, and for that distance
use a pair of media converters and run fiber most of the way.
Best Wishes

--
@@F@r@o@m@@O@r@a@n@g@e@@C@o@u@n@t@y@,@@C@a@l@,@@w@h@e@r@e@@
###Got a Question about ELECTRONICS? Check HERE First:###
http://users.pandora.be/educypedia/electronics/databank.htm
My email address is whitelisted. *All* email sent to it
goes directly to the trash unless you add NOSPAM in the
Subject: line with other stuff. alondra101 <at> hotmail.com
Don't be ripped off by the big book dealers. Go to the URL
that will give you a choice and save you money(up to half).
http://www.everybookstore.com You'll be glad you did!
Just when you thought you had all this figured out, the gov't
changed it: http://physics.nist.gov/cuu/Units/binary.html
@@t@h@e@@a@f@f@l@u@e@n@t@@m@e@e@t@@t@h@e@@E@f@f@l@u@e@n@t@@
 
Top