dotm
Active Member
Offline
Posts: 180
Thank You
-Given: 81
-Receive: 75
$$$
|
|
« on: January 16, 2014, 12:04:10 12:04 » |
|
Yesterday I designed this (in a hurry) for an old drumbox. The goal was that the CPU will start a few seconds after the drumbox is powered on (reset is inverted). The secondary goal was that even if you switch the box on and off quickly, the delay will start again, so a simple RC won't do it. This schematic actually works, but I'm wondering if there is a more simple solution. My idea was that C1 can discharge faster through R2 which is smaller than R1, because D1 will be conductive when the power supply is missing. The problem is that the smaller R2 is, the faster C1 can be discharged but the more supply current the circuit needs.
|
|
|
Logged
|
|
|
|
UncleBog
Active Member
Offline
Posts: 133
Thank You
-Given: 165
-Receive: 176
|
|
« Reply #1 on: January 16, 2014, 01:13:24 13:13 » |
|
Hello dotm,
Why don't you just use the RC (R1, C1) with a diode across R1 (cathode to +ve rail). Then as the +ve rails falls the capacitor will discharge into it.
So in your schematic:
Remove D2 (and connect R1 directly to C1) Remove R2
|
|
|
Logged
|
|
|
|
dotm
Active Member
Offline
Posts: 180
Thank You
-Given: 81
-Receive: 75
$$$
|
|
« Reply #2 on: January 16, 2014, 02:07:09 14:07 » |
|
Then as the +ve rails falls the capacitor will discharge into it.
you mean that the attached load will discharge the capacitor.. thats clever. thanks.
|
|
|
Logged
|
|
|
|
MTong
Junior Member
Offline
Posts: 94
Thank You
-Given: 69
-Receive: 180
|
|
« Reply #3 on: January 16, 2014, 09:29:08 21:29 » |
|
|
|
|
Logged
|
|
|
|
UncleBog
Active Member
Offline
Posts: 133
Thank You
-Given: 165
-Receive: 176
|
|
« Reply #4 on: January 16, 2014, 09:43:01 21:43 » |
|
I think dotm wants simple. A 555 timer can be used but if you're going to use an IC then why not use a dedicated reset / supervisor IC such as those produced by Linear Technology, Maxim, TI etc. Then you get a well defined reset period plus some combination of options such as integrated buffer, voltage monitoring, watchdog etc.
|
|
|
Logged
|
|
|
|
dotm
Active Member
Offline
Posts: 180
Thank You
-Given: 81
-Receive: 75
$$$
|
|
« Reply #5 on: January 17, 2014, 01:21:15 13:21 » |
|
there can be a case with this circuit that when the RC is not fully loaded, and the device is switched on and off again, then the delay will be too short. lets say it's 2 seconds delay, I switch the device on for 1,5 seconds, the cpu wont start then switch off and on again, the RC will continue to load and the delay will be then 500msec.
|
|
|
Logged
|
|
|
|
pickit2
Moderator
Hero Member
Offline
Posts: 4667
Thank You
-Given: 834
-Receive: 4322
There is no evidence that I muted SoNsIvRi
|
|
« Reply #6 on: January 17, 2014, 02:10:51 14:10 » |
|
try looking for oneshot smitt trigger, it will do what you want, and you could do it with parts from your original post.
but using a 40hc93 is better option.
|
|
|
Logged
|
Note: I stoped Muteing bad members OK I now put thier account in sleep mode
|
|
|
CocaCola
Senior Member
Offline
Posts: 482
Thank You
-Given: 169
-Receive: 232
|
|
« Reply #7 on: January 17, 2014, 07:33:57 19:33 » |
|
I have become so lazy as I get older (and cost has come down so much) that I would just use a small micro, that and the fact that I always have micros on hand, can't say the same for many other components...
|
|
|
Logged
|
|
|
|
zac
Active Member
Offline
Posts: 147
Thank You
-Given: 81
-Receive: 57
|
|
« Reply #8 on: January 21, 2014, 05:41:54 05:41 » |
|
|
|
|
Logged
|
|
|
|
Gallymimu
Hero Member
Offline
Posts: 704
Thank You
-Given: 152
-Receive: 214
|
|
« Reply #9 on: January 22, 2014, 11:15:43 23:15 » |
|
RC with single diode across the R is a pretty typically asymmetric charge/discharge circuit. It's the best way in my humble moron opinion.
|
|
|
Logged
|
|
|
|
dotm
Active Member
Offline
Posts: 180
Thank You
-Given: 81
-Receive: 75
$$$
|
|
« Reply #10 on: January 22, 2014, 11:39:23 23:39 » |
|
I just did not see the most obvious solution. I designed the circuit above without load on the power rails. That's why.
|
|
|
Logged
|
|
|
|
picavr
Active Member
Offline
Posts: 176
Thank You
-Given: 267
-Receive: 101
|
|
« Reply #11 on: February 08, 2014, 12:04:22 12:04 » |
|
you do use lm2675 with delay start up (rc circuit on pin N°5)
|
|
|
Logged
|
|
|
|
|