Nano Power Inverter - Roll Your Own Style


Author Message
wiseguy

Guru

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

  poida said  
I think I know what you are observing when interrupted slow stops are then changed to a inverter start.
The code as it stands will immediately interrupt the slow stop ramp down when it gets the command to start.
This will have a sharp discontinuity in the power output. It will go from a fraction of full power to ZERO in one step.
And then start ramping up to AC output setpoint.


Thanks for the code update I will try it hopefully later today. The point I was attempting to make must have become clouded in my description.

What I was trying to illustrate:
The interrupted soft stop was not a criticism of any sort or even a drawback etc. After an interrupted soft stop the inverter never "growled" when ramping up again despite any sudden truncation.
It was a "feature" I was highlighting to help in finding the code difference between that and a full stop.

The full stop with a full ramp down and then a new restart always growls on the ramp up.  This was intuitively the reverse of what I would have expected.

"The code as it stands will immediately interrupt the slow stop ramp down....etc etc".
I assume this is an instant interrupt or is the state of the switch checked at a certain point in the code execution and that generates the interrupt - trying to understand how it never growls when you would expect at least some random remanence issues (on re-ramp) if it was totally asynchronous.
Edited 2022-07-05 14:15 by wiseguy