-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full-wave mode implementation #50
Comments
You are not the first that ask for it... I had thought to this feature in the past, but I have never found the time to implement it. If you want to implement it, you are welcome. |
Before opening the PR, we should choose the APIs to configure full-wave mode. |
Of course! Were you thinking of something in specific ? I didn't start yet, but from what I quickly saw, since there are 2 dimmer implementations, I was thinking about adding a third one. I don't like the name "count mode": I prefer burst fire or maybe train wave modulation (?). Also, there might be several ways to simplement that (project page website: https://yasolr.carbou.me/overview#burst-fire-modulation). I was planning to start first with a simple version of burst mode, using only a complete wave, except that I wouldn't do the 50% the same way but instead have something like:
The equivalent 50% could be done like that also:
I think the first one is better for a resistive load since it maintains the heat better, and when using the algorithm in the case of a solar router, it is best to have close followings of import and export to avoid excessive consumption recorded by the utility meter. In a second time, I would like to implement a better algorithm where we control but per half wave to optimise sequence of import and export in order to better trick the utility meter. At 50 Hz, we have 50 periods of 20 ms, each one being a complete wave of 2 half waves, which means we match the nominal consumption of the resistance within 20ms. Considering half-waves, we have 100 semi-periods of 10ms each, so I'd like to squeeze as many sequences of So 50% could be done with a sequence of: Anyway... Al that is just draft in my head atm, so nothing written yet, but still, this is something I have to d oto complete the project. |
I would be interested by a Full-wave mode implementation like Circuitar, in order to provide another algorithm limiting harmonic effects.
I will try to implement it.
The text was updated successfully, but these errors were encountered: