Simulink Piezoelectric generator with boost converter failed to converge

19 views (last 30 days)
I'm building a piezoelectric generator with boost converter for my assignment and I'm trying to create a feedback loop by using the capacitor voltage to control the switch for boost converter. The model works fine when the switch is disconnected, or controlled using a pulse generator, but it stops working when I connect the switch to the capacitor voltage. Any idea how to fix this?
The fullwave rectifier and piezoelectric generator is mostly following the design from this example model. https://www.mathworks.com/help/sps/ug/piezo-bender-energy-harvester.html

Answers (1)

Ayush
Ayush on 18 Dec 2025 at 8:34
Hi Cheah,
I understand you're having trouble implementing the feedback loop where the capacitor voltage controls the boost converter switch.
It would be better if you attach your model and error message which you encounter, if any. Since I don't have access to your model, here are a few general suggestions:
  • Try logging or monitoring the capacitor voltage and the control signal going to the switch with a scope or display block to see how they behave when connected.
  • Check that the control logic (comparator, controller, or any processing block) between the capacitor voltage and the switch is set up and parameterized correctly.
  • Test each part of the model (rectifier, boost converter, feedback logic) independently to isolate where the issue might be.
Hope this helps!

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!