Platform forum

Schematic Design Issue

Anik , 01-04-2024, 06:52 PM
This for change the line between USB and lipo 2s battery. The output its an input for 3.3V regulator of TPS63060DSCR . Will this circuit work properly??
Thank you.
QDrives , 01-05-2024, 12:23 AM
1) You do not need an opto-coupler (expensive), but can use a NPN+PNP too.
2) Is the 10k low enough to switch the FET off fast enough?
3) You can change the design for a lower current drawn from the battery.
Anik , 01-05-2024, 01:46 PM
The circuit look like thi is if i use optocoupler . And I can try to use transistor for the second version. I can make another circuit if optocoupler have any problem except the price.
Robert Feranec , 01-05-2024, 02:29 PM
maybe this can help you:
Robert Feranec , 01-05-2024, 02:29 PM
it is from our imx6 project here https://www.imx6rex.com/imx6-tiny-rex/baseboard-lite/ the full schematic is here https://www.imx6rex.com/wp-content/uploads/2016/04/iMX6-TinyRex-Baseboard-Lite-V1I1-Schematic.pdf
Anik , 01-05-2024, 04:32 PM
I have been checked this file clearly, I am unclear about the USB ID and also sir its little complex for my simple PCB.
QDrives , 01-05-2024, 08:44 PM
That is to switch the power on/off. It is not a switch between two sources as @Anik wants.
The schematic he shows will work. The FET is off in less than 20us.
And there is a voltage drop over D16 of course.
Anik , 01-05-2024, 08:51 PM
Thank you sir,
its maybe 0.3V will be drop on D16 but can I reduce it??
QDrives , 01-05-2024, 10:16 PM
You can by adding a mosfet in parallel to the diode. It will make your design a lot more complex as you need to disable Q3 before you enable the 'USB' mosfet. All the while keeping your battery drain low....
Anik , 01-06-2024, 02:02 AM
I understand,sir
thank you
Robert Feranec , 01-06-2024, 06:00 AM
is it ok if VUSB flows to VIN?
Anik , 01-06-2024, 11:32 AM
The battery is 7.4V but the USB is 5V and can I plug in the USB when the battery is supplied to VIN??
Anik , 01-06-2024, 01:31 PM
Do I use one more diode along the VIN??
Anik , 01-06-2024, 03:52 PM
Will this work?? Here USB is 5V and battery is 7.4V so it can burn the USB device means computer.
Please suggest me a circuit type and also is this ok?? little voltage drop across D19 is ok I think cause its for 3.3V regulator .
QDrives , 01-06-2024, 08:54 PM
Vusb can flow into the battery if it drained below 5V. As there is not cut-off in (under) voltage. You could add a zener, and transistor for R92 to Gnd.
Why not simulate this?
Anik , 01-06-2024, 09:01 PM
The lipo 2s has its own BMS so it will cut off around 6.4 or 6.5V. And with the diode D19 I have simulated on thinkercad its working .
Robert Feranec , 01-07-2024, 02:50 PM
diodes in power are not ideal for battery powered devices - unnecessary loss, but it is a simple solution
Anik , 01-07-2024, 03:36 PM
How can I solve this sir, your given circuit is little complex for me...I am unable to match with my need.
Anik , 01-07-2024, 06:04 PM
Hello sir, I need one more help about latcing switch. I found this on online but its not working. I need to make a latching switch like mobile phone power button.
Anik , 01-07-2024, 06:16 PM
I found this. I am thinking will it work like phone power button means I will press for 2 second then it will on and if I press for 2 second again it will off
QDrives , 01-07-2024, 07:13 PM
If everything would be easy, we would not have work.
Replace the diode with a P channel mosfet ('diode' in same direction) and the gates together, you are done (in a few us).
A phone switches off by software. Are you able to drive signal to do that?
Anik , 01-07-2024, 07:23 PM
I understand about the changover circuit.
No sir I dont have the access to drive the signal. But can I not use a zener diode and capacitor to make some delay to turn on?? If I do like this will it delay.
here my goal it to discharge the capacitor slowly until the IN pin LOW the switch wont turn on.
Robert Feranec , 01-08-2024, 06:42 AM
@Anik I would recommend you to build these simple circuits by yourself and play with them. You may be surprised how these simple circuits behave in real life - you may find out it is not what you expected. That is much better way to learn than asking questions - when you ask questions, you will not really learn what is happening in your circuits. We do it exactly that way, even the circuit I posted above, we built multiple versions of them because the first version didn't work as we expected.
Robert Feranec , 01-08-2024, 06:43 AM
Anik , 01-08-2024, 07:01 AM
I have some components in my workshop, I do always when I have them. In our country maximum of the components are unavailable. If I try to order from aboard supplier like mouser, digikey it will charge me $80 per ship then with all Customs charge around $100 its depends on my components quantity. All around cost if I buy $100 of components I need to expense total $280 Its very high for me each time. Also I have financial problem to do invest more and buy more components at a time.
I will arrange everything. But I need time.
QDrives , 01-08-2024, 10:12 PM
Then do simulations. Use correct models of the components. Add parasitics, and check that it works.
However, there are still plenty of times that simulation alone on going to help you, as Robert already mentioned.
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?