DC-DC Buck Converter Closed Loop Control for F283349C
12 次查看(过去 30 天)
显示 更早的评论
Hello,
I am working with the example for the Closed Loop Control of a DC-DC Buck Converter - MATLAB & Simulink.
The example is set up to work with the F28379D.
I am using the F280049C LaunchPad instead. This is also one of the things that is mentioned under "Other Things to Try" in the example.
I am facing issues in the process to set up the project for the F280049C and wanted to ask if anyone could help me guiding me through the process. Or maybe someone has already set up the project for the F280049C as mentioned in the example?
What I have done so far:
- Change the "Hardware board" name under the Hardware Configuration Parameters to the "F280049C LaunchPad"
- Delete the "#include "F2837xD_Ipc_drivers.h" under the "custom code"-pane in the Code Generation parameters as this is not needed for the F280049C which has only one core instead of two.
- Change all hardware-blocks in the model to those of the F280049C and change the GPIOs, ePWMs and ADCs to match the pins of the original example as the LaunchPad is connected to the same Digital Power Buck Converter BoosterPack (BOOSTXL-BUCKCONV).
When debugging the model step-by-step, I could validate that I am using the correct pins of the ADCs, GPIOs and ePWMs.
ePWM settings result in the frequency and the Duty Cycle that I would expect when I try the ePWM isolated from everything else.
What I cannot get to work until now is the serial communication as well as the overall system including the PI-controller.
I am still trying to debug everything step-by-step.
But I thought maybe someone already got it to work and can maybe provide some help.
Thanks,
Thomas
1 个评论
Liam
2025-7-8
Hi Thomas, you're doing a great job adapting the example to the F280049C. For the serial issue and PI controller behavior, double-check the SCI module configuration and ensure your PI loop timing aligns with ADC sampling and ePWM updates. Retro Bowl College
回答(1 个)
Aditya Padmanabha
2025-7-25
Hi Thomas,
Can you refer to this example Digital DC/DC Buck Converter Using Peak Current Mode Control - MATLAB & Simulink which has model specifically set for F280049C LaunchPad with BOOSTXL-BUCKCONV? Though this uses CMPSS modules this should have rest of the configurations and customizations matching the settings needed for F28004C. This should give you clear understanding on what is working or what is missing.
In general, you can try following debugging steps
- Comment out all subsystems and keep pnly Serial Receive block with ISR and Serial transmit block with constant as input and try running host model and validate what is missing with Serial communication and fix that first. You may need to validate the serial baudrate used for F280049C launchpad which could be different from F28379D Launchpad.
- Once serial works, you can validate ePWM by enabling PWM generation with constant duty cycle. Validate if ePWM waveforms are proper in oscilloscope
- Then enable ADC with rest of the blocks and try to supply a Sinewaave for ADC with proper frequency and see if the outout of ADCs are proper.
- Once all the peripherals are in working condition, enable the rest of the system and see if PID is working correctly.
Thanks,
Aditya
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!