Is There a Chip That Can Selectively Input USB Video Signals?

In summary, using USB hubs may help reduce the bandwidth demands on your computer, but it's also possible that deleting image objects related to cameras before opening a new one might help avoid exceeding bandwidth.
  • #1
patsline74
2
0
Hi all,
Love the forum, just signed up but have been reading for a while. I'm not an EE and I am working on some image processing, so I need some hardware help. What I want to do is to have ~20 USB webcams, of which any 4 are selectable to feed into MATLAB. I have the software side running, but I'm trying to figure out how I can avoid having 20 USB cables running into my computer.

What I'd like would be some sort of board that has 20 cables running in, and 4 cables running out to the computer. Physically, I can imagine a slider sliding between the inputs and connecting the ones I want at any given time. My question, is there a chip that does something like that?

Thanks
 
Engineering news on Phys.org
  • #2
Welcome in out of the cold!

Have you considered using USB hubs? You can even cascade hubs on top of hubs (up to 127 devices per USB host chip, I believe). This way, you only have to run one or two cables back to your computer (choose USB ports on the computer serviced by different hub chips--especially if you're running into throughput problems). This also allows you to power your cameras off of an AC adapter to your hub, rather than from the USB itself (assuming these cameras consume non-negligible current or don't have their own AC adapters and are powered off of the USB power).

The thing with USB MUXing is that when you disconnect and reconnect, you may or may not have the USB devices properly disconnected and re-enumerated, depending on driver / operating system. Instead, you can just have 4 USB hubs, with 5 cameras plugged into each, and each running a single cable back to your computer, and you don't run into these problems.
 
Last edited:
  • #3
MATLABdude said:
Welcome in out of the cold!

Have you considered using USB hubs? You can even cascade hubs on top of hubs (up to 127 devices per USB host chip, I believe). This way, you only have to run one or two cables back to your computer (choose USB ports on the computer serviced by different hub chips--especially if you're running into throughput problems). This also allows you to power your cameras off of an AC adapter to your hub, rather than from the USB itself (assuming these cameras consume non-negligible current or don't have their own AC adapters and are powered off of the USB power).

The thing with USB MUXing is that when you disconnect and reconnect, you may or may not have the USB devices properly disconnected and re-enumerated, depending on driver / operating system. Instead, you can just have 4 USB hubs, with 5 cameras plugged into each, and each running a single cable back to your computer, and you don't run into these problems.

I have considered USB hubs, but I thought those only eased power loads via the AC adapter, I'm much more concerned with the bandwidth used by the cameras. I believe USB hubs don't reduce bandwidth at all, they just provide more ports and draw power from the wall. Could be wrong there though. What I'm looking for is a way to reduce the bandwidth demands on the USB root controller(s) to that of 4 selectable cameras instead of 20 so MATLAB doesn't yell at me for exceeding bandwidth when I have 20 cameras attached.

This has me thinking, if no program is trying to access the camera, will it still draw bandwidth just by being plugged in? My thought here is, if I just delete the image object related to the camera before I open a new image object for a different camera, I might be able to avoid maxing out my bandwidth... Off to test it. Thanks for the help
 
  • #4
If your cameras aren't sending anything, they aren't using up bandwidth (aside from maybe some keep-alive or station keeping stuff). It's also highly unlikely that you have 20 separate USB root controllers on your motherboard anyway.

Your approach sounds like it could work--let us know how it works out!
 

Related to Is There a Chip That Can Selectively Input USB Video Signals?

What is "Selectable USB Video Input"?

"Selectable USB Video Input" is a feature on devices that allows you to choose which USB port or source you want to use to connect a video input. This can be useful for connecting different types of devices, such as cameras, computers, or gaming consoles, to your display or monitor.

How do I select the USB video input on my device?

The process for selecting the USB video input may vary depending on your device. In most cases, you can use the device's remote control or menu settings to select the USB input. Some devices may also have a physical button or switch to toggle between inputs. Consult your device's manual for specific instructions.

Can I connect multiple USB devices to the selectable USB video input?

Yes, depending on the device and its capabilities, you may be able to connect multiple USB devices to the selectable USB video input. However, keep in mind that the device may only allow one input at a time, so you may need to switch between devices to use them.

What are the benefits of having a selectable USB video input?

The main benefit of having a selectable USB video input is convenience and versatility. Instead of having to switch cables or use different ports for different devices, you can simply select the USB input and connect your desired device. This can save time and effort, especially if you frequently switch between devices.

Are there any limitations to using the selectable USB video input?

While the selectable USB video input can be a useful feature, it may have some limitations. For example, some devices may only support certain types of USB inputs, such as USB 3.0 or USB-C. It's also important to note that the quality of the video input may be affected by the device's capabilities and the type of USB connection being used.

Similar threads

  • Electrical Engineering
Replies
6
Views
2K
  • Electrical Engineering
Replies
5
Views
814
  • Electrical Engineering
Replies
2
Views
1K
Replies
4
Views
2K
Replies
1
Views
1K
Replies
2
Views
1K
  • Programming and Computer Science
Replies
30
Views
2K
Replies
9
Views
2K
  • Programming and Computer Science
Replies
2
Views
1K
  • Electrical Engineering
Replies
14
Views
2K
Back
Top