Hi all, We are designing one system in which we are using TPS65987D pd controller..We have one usb type c plug( male) connector which gets connected to the mobile...also we have usb type c receptacle which is used for charging purposes...we have one battery charger and battery along with it.... Operation: if the battery is full the pd controller ( present on our board) should act like source and delivers power to the usb type c plug(mobile pd controller acting as sink)...if the battery is low, mobile pd controller should act as source i.e mobile should delivers power to our board( our board pd controller should act as sink)... Whether this communication takes place automatically in pd controller or do we need to take care using an external microcontroller? |
by Swaroop2198
May 24, 2021 |
Maybe you can get inspired by this simple elementary circuit: Note that Vmain is a sawtooth voltage, in order to simulate a failure of Vmain to supply the required voltage. When it falls to zero (even before, in fact), Vbackup kicks in automatically. Next, when Vmain comes back to life, Vbackup disconnects itself, automatically. Just a PMOS and a diode. The LED, and its resistor, simulate the "load" of the circuit. The Amp-meter are there only to show which source effectively supply the current. The pulldown resistor may not be required in every cases, but in general, it is, and in order to minimize the energy lost, should be of a large ohmic value. |
by vanderghast
May 24, 2021 |
No answers yet. Contribute your answer below!
You must log in or create an account (free!) to answer a question.
Anyone can ask a question.
Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.
CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.
We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.
Acceptable Questions:
Unacceptable Questions:
Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!
CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.