mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.7K
active users

#controlsystems

0 posts0 participants0 posts today

A new video on #PostMarketOS #Linux with #Gnome Mobile #performance #benchmark for the #TierList youtube.com/watch?v=o7oovDNoyx. The best performing Gnome distribution tested so far. However, it appears that there are better options for an #OpenSource #DesktopEnvironment. Curious what options people go with. Note there will be a video soon about #ControlSystems. <3

So, on my last DC-DC converter, I left off messing around with the control loop. I got it working decently, but there were still some oscillations. Thinking about it, this was probably due to ADC resolution, which is 10 bits on that microcontroller, while the PWM register I was using is 8 bits.

If you think about it (which I didn't initially), that means that you get quantization error, since the ADC can read voltages and currents the PWM (via the MOSFETs and the rest of the converter) won't produce. In other words, the controller is demanding more than what the converter can do.

I think I can maybe add some extra filtering to fix that. In the future, I'll try using the 16 bit register for PWM as well.