Clear Filters
Clear Filters

How to start with optimization in MATLAB Simulink?

1 view (last 30 days)
Are there any MATLAB Simulink optimization examples I could look at to get a general understanding of the method and the process?
For example, the extremely simplified version of the problem I am trying to solve, and maybe use & learn optimization while doing it, is: for a voltage signal, find the optimal offset value so that after the PWM Generator block, the PWM and are equal for the each switching period.
So, I know that for the PWM signal and , duration to be the same, the PWM Generator input signal should be half of the counter value, i.e., offset = - signal.
But how would I get to this conclusion using the optimization method and PWM signals?
A more complex version of the problem is where I have several input signals and now the sum of the PWM signals should be minimum. And I need to calculate the optimum common offset value for all the signals.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!