Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Chip hanging in Powersave(?) even with watchdog
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 2058

blank.gif
PostPosted: Tue Jan 25, 2022 5:46 pm    Post subject: Reply with quote

sentinel wrote:
My apologies

Let me say: my apologies, as I did not understand your intention.
Quote:
We may have been talking at cross purposes.

Yes, sort of.

Not sure how far your simulation went, but as you saw I tried to include also the supercap.
If the supercap is completely empty, charging burdens R5 in your schema, R1 in mine that far, that the voltage at tp1 doesn't come up, with the effect, that the M168 does not get out of sleep.
As soon it's charged, everything looks ok.
Back to top
View user's profile
sentinel

Bascom Member



Joined: 02 Feb 2009
Posts: 124
Location: Tasmania

australia.gif
PostPosted: Wed Jan 26, 2022 4:09 pm    Post subject: Reply with quote

The supply is half wave 24 VAC so can supply the voltage and current to lift the output even when the maximum supercap charging current of 33 mA is being drawn at power up.
I've changed a couple of values to try to improve the performance. I had to use the LM317 in the simulator as there is no 3.3 V device in the library.
The Power_on sense voltage (green trace in the graph) rises to the input high threshold (~1.75 V) 6 seconds after power on. Vbat reaches the 1.8 V BOD level after 105 mS and the supercap reaches that level after 17 seconds.


I'm happy with that behaviour.
Thanks to everyone for all the suggestions and exchange of ideas.
Back to top
View user's profile
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 2058

blank.gif
PostPosted: Wed Jan 26, 2022 7:56 pm    Post subject: Reply with quote

sentinel wrote:
Thanks to everyone for all the suggestions and exchange of ideas.

You want to duck out just as we succeed over-engeneering it? Very Happy
Back to top
View user's profile
sentinel

Bascom Member



Joined: 02 Feb 2009
Posts: 124
Location: Tasmania

australia.gif
PostPosted: Wed Jan 26, 2022 11:58 pm    Post subject: Reply with quote

Haha. Much as I've enjoyed the back-and-forth of this particular tennis match, it's time to go and make and test the thing.

Besides, I'm terrified that you might find yet another flaw in the circuit Wink
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum