Author Topic: Latch ckt not working  (Read 687 times)

0 Members and 1 Guest are viewing this topic.

Offline deepak.midriTopic starter

  • Newbie
  • Posts: 9
Latch ckt not working
« on: May 25, 2020, 10:31:06 am »
Attached is latch circuit for powering a microcontroller.

"External Switch" is trigger pressed by user which will turn on the device and wake up MCU.
Once its done, MCU will pull ground to right switch and output should turn off.

On simutaltion this ckt is not working, whats wrong in it?
Even without pressing trigger, I can read output voltage.

 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5870
  • Country: de
Re: Latch ckt not working
« Reply #1 on: May 25, 2020, 10:48:40 am »
1 M is far too high. MOSFETs have significant leakage current.
 

Offline deepak.midriTopic starter

  • Newbie
  • Posts: 9
Re: Latch ckt not working
« Reply #2 on: May 26, 2020, 12:27:28 pm »
I am simulating with 12V input dc at the moment for testing.

Since 3.6V mosfets are not available in simulation software.



I think its leakage current issue. Can it be solved by using Bjt instead of mosfets?
 

Offline Renate

  • Super Contributor
  • ***
  • Posts: 1460
  • Country: us
Re: Latch ckt not working
« Reply #3 on: May 26, 2020, 01:21:10 pm »
Put a load resistor on your simulator.
 

Offline deepak.midriTopic starter

  • Newbie
  • Posts: 9
Re: Latch ckt not working
« Reply #4 on: May 27, 2020, 12:40:54 pm »
This seems to be working. Instead of N mosfet, NPN is added.
Whenever latch is pressed, output will be seen, and MCU is powered up. Now MCU pin is made inout high impedence.
When need to turn off, this MCU pin is made output low. This will eventually cut off the latch.
Will this work as intended?

We need to make as low power as it can be.
 

Offline deepak.midriTopic starter

  • Newbie
  • Posts: 9
Re: Latch ckt not working
« Reply #5 on: May 28, 2020, 11:26:37 am »
Ok will the circuit work as intended?

1. Input dc range is 2V-3V. Will the selected fet work for this range?
2. Whenever latch is pressed, output will be seen, and MCU is powered up. Now MCU pin is made inout high impedence.
When need to turn off, this MCU pin is made output low. This will eventually cut off the latch.
Will this work as intended?
3. Load current is only 100mA so 36ohm resistor is connected.
 

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1133
  • Country: us
Re: Latch ckt not working
« Reply #6 on: May 28, 2020, 01:27:25 pm »
Ok will the circuit work as intended?

1. Input dc range is 2V-3V. Will the selected fet work for this range?
2. Whenever latch is pressed, output will be seen, and MCU is powered up. Now MCU pin is made inout high impedence.
When need to turn off, this MCU pin is made output low. This will eventually cut off the latch.
Will this work as intended?
3. Load current is only 100mA so 36ohm resistor is connected.

Seems to me, U1B should be a PMOS transistor.

>>LOL...I need better glasses...it is a PCH device<<
« Last Edit: May 30, 2020, 05:15:36 pm by Wimberleytech »
 
The following users thanked this post: fcb

Offline deepak.midriTopic starter

  • Newbie
  • Posts: 9
Re: Latch ckt not working
« Reply #7 on: May 30, 2020, 04:52:20 am »
Another doubt is in schematic load is shown as R5=36 for simplicity.

In actual its "Boost + MCU",  boost have input/output capacitors of 47uF each, can they can any issue?

Since they will charge in their time constant, and power will go MCU which will then wake up and put MCU pin in high impedecne?

During this time it may happen pin of MCU may behave weird?
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5870
  • Country: de
Re: Latch ckt not working
« Reply #8 on: May 30, 2020, 05:02:21 pm »
It will work with a load, without load it will be marginal.
In that case, the leakage current through U1B will flow into the base of Q1 and turn the circuit on.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf