The Raspberry Pi foundation has launched a good number of boards and accessories, and although some people will question some of the design choices, their boards were fairly bug-free hardware-wise at launch, except for minor issues like the board rebooting while taking a photo with a Xenon flash. Recently they also had performance issues with Gigabit Ethernet in the Raspberry Pi 3 B+ board, but that looks like more of a software issue.
The Raspberry Pi PoE HAT announced with Raspberry Pi 3B+, but launched at the end of August for $20, however suffers from a more serious issue as it somehow limits USB current to 200mA instead of the usual 500mA, meaning that’s fine with USB keyboard and mouse, but as soon as you connect more power hungry peripherals like a USB hard drive, all hell breaks loose.
Let’s check out the specifications first:
- 802.3af PoE
- Fully isolated switched-mode power supply
- 37–57V DC, Class 2 device
- 5V/2.5A DC output
- 25mm x 25mm brushless fan for processor cooling
- Fan control
5V/2.5A DC should be plenty enough to power all sort of USB peripheral devices, but once users got their hands on the board, some reported USB ports were not working, and the kernel log showed over-current protection messages.
The Register covered the issues, and got in touch with Eben Upton who explained the problem was due to:
an interaction between the fairly low-frequency switching regulator on the HAT, and one of the two brands of USB current limiting switch that we use on the main board.
Because the regulator operates at a fairly low frequency, each time it switches it moves quite a large chunk of energy into the three USB reservoir caps via the current limiting switch: this large instantaneous current is fooling the switch into thinking that a genuine over-current event is occurring
But why wasn’t it detect during testing? It appears load testing was only done on boards using one brand of the USB current limiting switch, while the other switch was only used for lighter load. The consequence is that some of the Raspberry Pi 3B+ board with the Pi HAT only delivering less than 200mA current to the USB ports.
That’s bad luck, but it’s also dangerous to expect components to be interchangeable without testing, even if apparently identical. Case in point: many years ago, we designed a keypad using ADC pins for one DVD player, and the keys are detected using the voltage levels, so we needed fairly accurate resistor with 1% accuracy. The good people who purchase part and always try to find a better deal from supply found out 5% resistor were a bit cheaper. As one should expect some of the keypad or specific keys would randomly stop working depending on the sample.
The Raspberry Pi foundation will fix the issue in future production runs, but in the meantime, people who own a Pi PoE HAT with the “wrong current limiter” can return it and ask for a refund, or the most adventurous can modify their board by first removing the reservoir caps from the main board, and adding small amount of series impedance in the current path from the HAT. We don;t have the exact details of the hack, but we should certainly expect more details on Raspberry Pi Blog in due time.
[Update: Added EEVBLOG video analyzing the design of Pi PoE HAT and that USB power issue
]
Via LinuxGizmos
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress
Dave at the EEVBLOG also did a teardown and found it poorly designed–way too much ripple on the output–over 300mV even at low load. And the regulation was poor for transients.
They use a primary side regulation system which are normally only used to make a ‘bulk’ supply that are later regulated down to the final voltage by a secondary regulator. But they skipped that step on this board. Either their engineers didn’t know how to implement this design or they just cheaped out.
Thank you (and the other person who mention it in Twitter).
I’ve embedded Dave’s video in the post.
> Either their engineers didn’t know how to implement this design or they just cheaped out.
Cheaped out? This overpriced poorly designed thingy is more expensive than all 3rd party PoE HATs that have now no market any more.
The BOM is cheap, what the Foundation charges you isn’t. That’s their profit. I’m sure they use it for some worthy purpose. Sorry, I almost said that with a straight face.
It surprises me to no end why people bash RPi technology so much here. If you want industrial quality high performance power supplies, you’ll probably buy one. This doesn’t need to perform perfectly. It’s good enough if it provides enough power to switch GPIO connected LEDs.
RPi is very forgiving thanks to intelligent throttling which makes it scalable for many kinds of PSU designs. I would imagine a super high quality power supply would cost more than $100. Even with so called secondary side regulation there is a slight chance that an initial high voltage spike might damage the board. I have heard people break some poor quality boards (that is, Orangepi, Bananapi, and Nanopi) powered off of cheap $2 Ebay transformers due to these voltage spikes.
People don’t bash RPi technology, they’re simply judging reviewed products based on measures and facts. Problems are found on many products. If it turns out that facts are regularly against what RPi produces, do you really think it’s the reviewers’ fault ? If you think so, well, feel free to continue to give your money to those who manage to systematically build products which fail reviews and real world use cases and who need fanboys to buy them regardless of the warnings. At least thanks to such public reviews I know I can spend my money on a wide choice of much more reliable products.
Anyone else catch the irony that component temperatures reached 124C making it a 3rd degree burn danger to children? Better add that warning label!
Haha, I didn’t watched the video before but at 16:30 it gets really funny: https://youtu.be/Tpvjo6wDFUA?t=16m30s
Dave measures above 130°C there.
And talking about thermal issues: the whole combination of board and this HAT is an own thermal fail since with a better PCB design (CPU on the lower side) such a small and inefficient fan only making noise and wasting energy would not be ‘necessary’ at all.