-
Notifications
You must be signed in to change notification settings - Fork 200
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
Regulator behavior after short circuit #135
Comments
Okay, so the problem here is this. We have two current limits: the one inherent to the TPS73101DBV and the upstream TPD3S014. The problem is that the latter trips faster and harder, and that the former has a memory characteristic.
If the board is unplugged and plugged back in at this point, the lockup persists: the pass transistor gate of the TPS73101DBV seems to easily stay charged for over a minute while completely unpowered. Removing and reinstating the fault while unpowered has no effect; on next power-up the board still locks up. Glasgow "remembers" the lock-up state even when all power is removed. To clear the condition, the board must be powered with no fault present (or the fault removed while powered). After that, with the regulator shut down, Vio can be shorted to GND again with no ill effects, and the board can be power cycled in this state normally. Solutions being investigated:
|
255e8c5 implements solution #3. Waiting for parts to arrive to qualify it and determine final resistor value, and also test #2. |
SO and TSSOP are far too large. |
Turns out the TPD3S014 said 120µF was required for USB applications all along, derp. Bumped it to 150µF (which is about the highest we can get in that footprint), that should give us plenty of margin. |
I'm revisiting this issue as #165 will re-use the dropper resistor of point (2) above I've tested a stock revC1 with 0.68Ω and 150µF cap. Due to the capacitor, In stock revC1 this results in a shutdown of the FX2 and ICE40, recovery I shorted the 0.68Ω resistor and created a short on both rails at once Yellow: internal 5V rail So without the 0.68Ω resistor we now don't get the original issue, but Next was a test with 0.22Ω, which shows a clear improvement, but still Increasing to 0.33Ω fixed these issues: For implementing #165, it is planned to use a 0.47Ω resistor to give the |
Yikes, that oscillation. Worth noting that I never measured the Vio rail in the scope, just the internal 5V rail. 0.47Ω sounds reasonable; I forget how I came up with 0.68Ω, but I think I was leaving some margin (and also going with whatever values I had lying around to test with). Keep in mind that this was with a (probably higher ESR / lower perf) through hole cap tacked on. If 0.47Ω works then we can go with that and lower the dropout voltage. That said, since the shunt is now a measurement device, we should consider a settings area to store the actual shunt value / calibration data somewhere in flash. This would allow for calibration, but also changing the value if, for example, a different manufacturing variant run (otherwise identially compatible with software) with different capacitors ends up requiring a higher value to avoid this issue. |
Reasonable, and in fact we can add this at any point when we need it in a backwards-compatible way (since I thought of this when designing the configuration area in the EEPROM). So there's no rush. |
The original idea in #165 and #135 was to reuse the 0.47 Ohms dropper resistor we already have for the regulator as current shunt too. As the INA233 has a fixed measurement range of +- 81.9 mV, this would allow to measure 174 mA. My initial thought was that this is enough, as the specced load of the TPS73101 is 150 mA. Review and experimentation has shown that the TPS73101 can be used to 350 mA in most configurations before limiting set in, for a programmed output of 5 V I could use it even up to 420 mA. As one of the design goals of using the INA233 is overcurrent protection, the settable range should be higher than what the regulator can output in best case. So the design is changed to a 0.15 Ohms current shunt and an additional 0.33 Ohms dropper resistor in series. This gives a total 0.48 Ohms drop for the regulator and a measurable current range to 546 mA. For both resistors a DNPed parallel footprint is provided as before, allowing the user to reduce the voltage drop if desired.
The original idea in #165 and #135 was to reuse the 0.47 Ohms dropper resistor we already have for the regulator as current shunt too. As the INA233 has a fixed measurement range of +- 81.9 mV, this would allow to measure 174 mA. My initial thought was that this is enough, as the specced load of the TPS73101 is 150 mA. Review and experimentation has shown that the TPS73101 can be used to 350 mA in most configurations before limiting set in, for a programmed output of 5 V I could use it even up to 420 mA. As one of the design goals of using the INA233 is overcurrent protection, the settable range should be higher than what the regulator can output in best case. So the design is changed to a 0.15 Ohms current shunt and an additional 0.33 Ohms dropper resistor in series. This gives a total 0.48 Ohms drop for the regulator and a measurable current range to 546 mA. For both resistors a DNPed parallel footprint is provided as before, allowing the user to reduce the voltage drop if desired.
The original idea in #165 and #135 was to reuse the 0.47 Ohms dropper resistor we already have for the regulator as current shunt too. As the INA233 has a fixed measurement range of +- 81.9 mV, this would allow to measure 174 mA. My initial thought was that this is enough, as the specced load of the TPS73101 is 150 mA. Review and experimentation has shown that the TPS73101 can be used to 350 mA in most configurations before limiting set in, for a programmed output of 5 V I could use it even up to 420 mA. As one of the design goals of using the INA233 is overcurrent protection, the settable range should be higher than what the regulator can output in best case. So the design is changed to a 0.15 Ohms current shunt and an additional 0.33 Ohms dropper resistor in series. This gives a total 0.48 Ohms drop for the regulator and a measurable current range to 546 mA. For both resistors a DNPed parallel footprint is provided as before, allowing the user to reduce the voltage drop if desired.
To reproduce this issue, do this:
glasgow voltage A 5.0
The text was updated successfully, but these errors were encountered: