-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Power management #11
Power management #11
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvement, that will -most- likely fix the standby current issue. Something's bugging me though, and that's a hypothetical race condition:
- Pi and Amp in de-facto standby, very low current drawn
- Decoy turns off, R2 is floating, and so is SD
- Amp maintains VDD for a little while longer because of it's high supply capacitance
- Amp sees a floating SD and turns on
- Decoy turns on
Does that make sense?
Alternative: normally-closed MOSFET |
I tried the emitter follower configuration you showed as well. Unfortunately the SD pin seems to be rather low impedance. Even 10k pull down was not enough. We need drive it to ground hard. |
Hm that could be a problem. But I think it's fine. I'll try to get my scope on there and see if there is a blip on SD when the power bank shuts down. I have the feeling that when the power bank decides to shut off, it shuts off. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤞
Amp shutdown
Changed the amp shutdown control to use a non-inverting circuit which is in a normally off state whenever the 12V rail is powered. This fixes a problem with the previous design, where the amp would turn on when the Pi was shutdown and its output would go low or high-z. This would cause unnecessarily high idle current, which in turn means we cannot exploit the power banks auto turn off feature. This part of the circuit has been tested in hardware; resistor values are wild guesses but seem to work well.
Pi latching on/off
Inspired by some common circuits on the internet, put in something that could give a neat power up/down latching circuit. Please see description in the schematic. Not tested in hardware yet (i only have some ridiculously high powered NFETs at hand; appropriate stuff is on the way). What do you think?