Closed hartytp closed 5 years ago
@gkasprow my questions are:
Note to self, we have 60ms delays between each flag going high. The RC time constant on OUT_BIAS is 10nF||5k=50us, so that all seems about right.
Well, maybe it doesn't really matter in our case, since we pre-calibrate the gate voltage required to give the recommended current.
Anyway, at the very least, we should make sure that the sequencing annotation reflects what we actually do...
The HW power sequencing is implemented to make sure that with broken firmware one won't be able to destroy the power stage. That's why bias wakes up first. Before enabling signal, T5 is on and IC22 output is tied to -5V rail. Here we assume that CPU set maximum positive DAC value before setting PWR_On signal. The IC22 output should be -3.3V Then sequencer enables 5V rail that powers the preamplifier. Then it enables 29V And here the CPU should set desired DAC voltage. When the amplifier power is switched off, the 5V0 and 3V3 rails are supplied by 4.7mF cap for some time. The C16 detects that power off started and pulls PGOOD to zero. This is connected to FORCE_OFFn which starts off sequence. The 29V rail is disabled first, then 5V and then bias.
And here the CPU should set desired DAC voltage.
Okay, but that's not what the fw I posted above does...
@gkasprow if you're happy with the current situation, please close this.
(although I would have thought that you don't want to enable the 5V until after the PA stage is ready...)
I don't want. It would generate a huge spike at the output.
aah, ok, makes sense
@gkasprow can you remind me how the power sequencing is supposed to work please?
It's not obvious to me that the hardware actually implements that sequence. AFAICT, the first thing that happens is that EN_BIAS goes high, which stops pulling OUT_BIAS to the minimum possible value (pinch off). This occurs before the 29V rail is enabled.
Correct me if I'm wrong, but aren't we relying on the firmware to implement the sequencing:
However, that's not what the firmware actually does right now: