Nano Power Inverter - Roll Your Own Style


Author Message
wiseguy

Guru

Joined: 21/06/2018
Location: Australia
Posts: 1156
Posted: 06:53am 05 Jul 2022      

Sanity check....I need to restate my initial observations.

When I start the inverter after a completed soft stop it always grunts.
When it is restarted during an interrupted soft stop, despite it resetting and running the code as from a cold stop, it never grunts.

I perceive a difference that as yet I have not found (understood?) an explanation for.

My experiment involved waiting until the sinewave was still just perceptible in the soft stop and would have full stopped within another 0.5 second or so if I had not set the switch back to run.


My recent question was related to the interrupt process (caused by setting the switch back to run) which clobbers the ramp down process early.

It occurs after the switch is set from stop to run & I wanted to ascertain if the switch was immediately sensed and acted on anywhere in a cycle, or if it was read at a specific time in the code (ie zero cross).

From your post I believe it is at a zero cross and even though the power delivery throughput might be truncated, the actual sine is always near zero when it is clobbered before the restart ?

These questions are to help me focus/understand what the software is actually up in this process as I believe there is something subtly different between;
a soft start after a full soft stop
a soft start issued/initiated during a soft stop ramp down, that if I understand you is not supposed to be any different to the normal soft start?

But one grunts the other never grunts.

I am not asking for a response or a cure in this post I am just clarifying (to myself?) where this search started and what I was searching for and why.  I accept that maybe I cant see the woods for the trees - but I am not trying to be purposely difficult though.

One of us seems to be missing something and I am getting more & more concerned that it is me (seriously).  In this discussion I am beginning to relate to the rooster in this link

Now I will go and try the new code and report back soon