CPC H02J 7/00714 (2020.01) [H02J 7/0047 (2013.01); H02M 3/07 (2013.01); H02M 3/1563 (2013.01); H02J 2207/30 (2020.01)] | 8 Claims |
1. A method for detecting electrical connection and disconnecting on an USB type-A charging port of an USB device comprising one or more USB ports, the method comprising:
maintaining, by a charge pump operatively coupled to a source side of the USB device, upon activation, VBUS voltage at around 5V and a current within a first range of values;
monitoring, using a current sense differential amplifier operatively coupled to a control unit, VBUS current flowing on VBUS pin of the USB device, in an USB type-A connected state, through an external sense resistor, and amplifying the monitored VBUS current,
wherein, when the monitored VBUS current is less than a predetermined current, for a pre-configured time window, detecting a potential disconnected state of the connected USB type-A port; and
monitoring, using a voltage detection comparator, the VBUS voltage to compare the monitored VBUS voltage with a predetermined voltage to sense an external condition such that VBUS voltage drops from a load capacitance and a load current, and wherein when the VBUS voltage drops below the predetermined voltage, detecting the USB type-A connected state.
|