Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Slef powered USB device

Status
Not open for further replies.

kimes4

Newbie level 4
Joined
Mar 17, 2015
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
48
Hi
I designed the usb device as slef powered without VBUS from USB Connector.
1) If My board is connected to USB Hub or PC USB Port, USB HUB or PC USB Port is damaged. It isn't operated again.
: Board is using cicular connector(=12pin) in stead of the standard USB Connector
: Board CPU is always connected Internal 5V of board as soon as Circular cable connection
What is a root cause?
--> connected PC USB or HUB USB
Circular cable connection --> Board Power On --> HUB/PC usb was broken after the repeat testing


2) So, I added USB Switch in my board.
---> Connected PC USB or HUB USB
Circular connection --> Board Power On --> 1 Delay in put to USB Enable pin --> USB Switch D+/D- connection enable --> USB Detection OK --> No Problem

Could you advise in detail?

Thanks
 

What's the voltage on the USB signaling lines? 3.3V or 5V? Is the ground of the USB connector (reference potential) connected to your self powered circuit?

A block diagram of your circuit, or a few pics could be helpful to get a better view on the problem.
 
  • Like
Reactions: kimes4

    kimes4

    Points: 2
    Helpful Answer Positive Rating
Re: Self powered USB device

Doesn't explain USB interface damage, but USB specification require a self-powered device to monitor the VBUS line and not to drive to bus lines before a voltage has been detected.
 
Dear FvM
Yes, your comment is correct.
USB Specification is required as your comments.
But , If USB requirement isn't applied, it happen to the similar failure or problem as HUS dead or damage.
There isn't an explaination in detailed.
for example) If CPU VBUS Pin is always applied to 5V regardless USB Cable connection, What is a electrical problem/timing sequence as soon as USB cable connection?
CPU always recognize USB Cable connection because CPU VBUS Pin(USB Connection VBUS Pin is No connected) is always applied to 5V.
the root cause is in-rush(?) current on D+/D- ?
I want to know the detailed information why USB HUB /PC USB was broken. I can't find out USB Specification.
I added the solution using USB Switch with enable delay time(~1S) without the exact understanding.
1 is a long time. Generally, How long time is drive D+/D- after VBUS is connected (or detected) when VBUS from pc/HUB is delivered.
Thanks
 

Re: Self powered USB device

USB specification requires short circuit strength of USB receivers, any USB data or power line against each other. In so far the hub shouldn't be damaged even if the device is controlled incorrectly.

I think the most likely explanation is this: Your 12 pin connector misses the feature of power/ground connecting first but has been hot-plugged though.
 
  • Like
Reactions: kimes4

    kimes4

    Points: 2
    Helpful Answer Positive Rating
How long time is the interval between 5V and D+ Pull for safety operation?
Where is explained in USB Specification?
If the requirement isn't applied, What is a problem as electrical side?

Hi FvM
Please explain in detailed.
Your 12 pin connector misses the feature of power/ground connecting first but has been hot-plugged though.
If the device is controlled incorrectly, what is a electrical problem ?

Hi ArticCynda

Attached the some picture.
Added USB Switch : After internal 5V is delivered to CPU USB Pin, D+/D- is connected after 1 .

Thanks
 

Attachments

  • usb1.jpg
    usb1.jpg
    520.6 KB · Views: 72
  • usb2.jpg
    usb2.jpg
    153.6 KB · Views: 66
  • usb3.jpg
    usb3.jpg
    152.2 KB · Views: 81
  • USB4.jpg
    USB4.jpg
    522 KB · Views: 68

Hi
If I don't use VBUS detection when board is connected to HUB Or PC USB ,
(no connector VBUS of hub )
What is a problem ? Maybe, it is flyback voltage from board to hub or PC ..
I found out the improvement soultion but don't find out the root cause when hub or PC USB was brokend.
Could you inform the expected root cause?
Thanks
 

Re: Self powered USB device

VBUS detection is a requirement for compliant operation, not particularly marked as a protection means. As I already mentioned, the infinite short circuit endurance of USB transceivers should prevent damage. Of course I don't know if the specification is kept by your equipment.

It's guaranteed with USB connectors that ground and VUSB connect before and disconnect after signal lines during attachment and detachment (hot plug). If your connector doesn't have this feature, it must not be hot-plugged. Or at least solid overvoltage protection beyond the USB standard must be provided.
 
  • Like
Reactions: kimes4

    kimes4

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top