measured shield regulated 3.3V supply, has .6V dip at 1 second intervals, with resonant ringing
Hello,
I have been using my Cyton + WiFi Shield with success but I have noticed that there is an audible (5 kHz+) noise coming from the WiFi Shield. I am powering both boards with a 3.7V Li-ion battery. If I disconnect the Cyton, the audible noise is still present with the WiFi Shield alone.
To further investigate, I used my adjustable DC power supply (Agilent E3620A) with the WiFi Shield on its own, probing the Vbatt+ (directly across the power supply) with my scope.
With the WiFi Shield powered ON, there is a 10 Hz (1 ms duration) pulse that causes my supply voltage to pull down by 200 mV. I think this is some kind of beacon pulse put out by the ESP8266.
With the supply set at 3.50V, there was no audible noise, but as I increased this to 3.75V, I began to hear it and noticeable ringing appeared in the supply trace on my scope. Increasing further caused ringing to get larger in magnitude and appear before, during, and/or after the pulse. Once the supply voltage reached 5.25V, the noise was no longer audible, but there was still some ringing in the scope trace.
Here are scope screenshots with 0.25V increments in the supply voltage:
For the heck of it, I placed a 470uF capacitor across the supply and it did reduce the magnitude of the voltage droop slightly, but it didn't lessen the resonant ringing observed without it.
Wondering if anyone has come across this or has any suggestions on how to suppress the ringing.
Thank you
Comments
Also, especially in the case of the Ultracortex and Shield with Daisy (16 channels), the weight of the AA battery pack(s) is substantial. If we use the 680uF Panasonic ultra low ESR,
https://www.digikey.com/catalog/en/partgroup/fr-series/3611
https://www.element14.com/community/docs/DOC-43515/l/new-low-esr-radial-capacitor-from-panasonic
Is a LiPo battery cell (around ~3.7v) going to be that much worse than the AA pack?
Regards, William
Hi William, it has been a while since I reviewed this, but my recommendation remains to remove C4 (100uF ceramic) and replace it with a >300uF electrolytic capacitor. I would not recommend ultra low ESR capacitors as that is very likely why C4 was a problem for this voltage regulator.
Regarding the LiPo, I would not recommend using one with the Cyton+WiFi Shield as there is not enough voltage headroom. I still recommend using 4 AA batteries. It's a bit awkward but I superglued a 4xAA battery pack to a comfort unit screwed into Cz. Works fine.
Here's a good Application Note from Texas Instruments, discussing how the output capacitor needs careful consideration for LDO low drop out linear regulators. See page 5 and beyond for the linear regulator section. I might see if I can find a suitable not-low-ESR cap. Tantalum type might be the way to go.
@alwayswearshats Hope you had a nice weekend! I'm reviving this thread to update you on the wifi shield. After reviewing the above comments, it appears the way to go is to remove C4 (100uF ceramic) and replace it with a >300uF electrolytic capacitor (noting to not use an ultra low ESR capacitor), as you clarified. I'm getting ready to have OpenBCI's PCB manufacturer update the wifi shield assembly files accordingly. If there's anything you'd like to mention before I proceed, please let me know!! You can reach me directly at [email protected]
-Shirley
Does this fix work? I can't find anything attesting to whether the WiFi shield can now be used without issue. I would appreciate advice on whether this fix has been successful.
PaulB
@PBarrows, no, the Wifi Shield is no longer supported. The larger capacitor was 'thought' to be a temporary workaround for this Cyton-Shield issue. But in fact the root cause is in the variant of the Wifi Shield firmware that talks to Cyton. It seems that that interaction between the Cyton firmware and the Shield firmware, is causing the Shield ESP8266 chip to draw excessive current, hence the voltage dips. And eventually dropped packets.
This never happened when the Shield was used the Ganglion. So at least that configuration is still workable. After some thought the engineering team decided it would be better to move on from the Shield concept, and has plans for a V2 Cyton board. (Incorporating better faster Wifi link.) Unclear timeframe at this point, because the Galea product line took precedence.
If you have a Ganglion-Shield setup, everything should still work fine.
Regards, William