ricardo said:
Andy Peters said:
Having done a USB audio device with phantom power, I'm not quite sure what their issue is.
Are you allowed to share this with us?
Here's the gist of it. I apologize for the handwaving. Remember that the USB spec has both a current limit (based on what your device tells the host it requires during enumeration) and an inrush current spec. The latter is given basically by saying you can't hang more than 10 uF on the USB 5V. One way around the inrush limit is to power up things in stages. I'm discussing USB 2.0 and its 500 mA-per-port bus-power limit; USB 3.0's limit is higher but that has to be accounted for in the design.
So you have your USB 5V, which can really be as low as 4.4V and as high as 5.25V. I take that in and use a little switcher to give me 3.3V for my micro and the other digital things.
TI makes a series of small current-limited power switch parts, good for an amp at up to 5.5V. The bus 5V goes to the switch input. The switch output feeds two regulators.
One is a TI boost converter (actually in their catalog as an LED backlight driver) which takes the switched 5V and bumps it to 24V and a doubler on its output gives me 48V at enough current to supply two mics. The fun thing is that the app note for this converter has a 5V-to-48V circuit shown!
The other load on the switched 5V is a neat little regulated 5V-out charge pump. This guy takes in anything from 2.7V to 5.5V and gives you 5V +/- 4% at up to 150 mA, and it's decently quiet. This charge pump can be driven by an external clock, too, so I take the I2S BCLK signal and divide it down to a frequency the charge pump can use. Now my analog power regulator's switching is synchronous with the converter clocks.
So you plug in the device. The power switch and 48V and 5V regulators are disabled. The micro boots and responds to enumeration requests. At some point, enumeration finishes and the device is considered configured. The power switch is turned on. After a short delay (mainly to allow the regulator input caps to charge) the phantom power switcher is enabled. After another delay, finally the 5V charge pump is turned on (the I2S clocks start up before the charge pump is enabled, of course). I timed everything by watching the inputs and outputs of the switch and regulators on my 'scope. By staging the regulator enables you can limit the inrush current enough to basically keep the USB 5V from collapsing and resetting your device.
Oh, one more thing: I use high-side switch MOSFETs to control the phantom power to each mic input. Those are of course off until enabled by the user. I discovered that evil things would happen if you had a load on the phantom power when you enabled it.
-a