MATLAB Answers

TMS320F28335: Model for Simulink based buck converter control

4 views (last 30 days)
priyanka apsangi
priyanka apsangi on 12 Feb 2019
Answered: Antonin on 13 Feb 2019
I have been trying to implement the logic that I used in my simulations using F28335. But I am having difficulties using the encoder blocks.
Control logic I am trying to develop:
Generate error signal from comparing the values across two ADC inputs (reference and feedback) if the error is positive (i.e. reference > feedback) increase the duty cycle of ePWM output else decrease the duty cycle of ePWM.
Also, if I use the ADC block and attach a scope and run the simulation after transferring the code to hardware, I cannot view the converted value by the ADC (I am varying the voltage across the ADC pins betwwen 0-3V but the scope always reads 0).
Can someone please guide me through using the Simulink?

  0 Comments

Sign in to comment.

Answers (2)

Venkatesh Chilapur
Venkatesh Chilapur on 13 Feb 2019
Hi,
Please let us know if this example works for you.
The example would use the ADC and PWM module.
Regards,
Venkatesh C

  0 Comments

Sign in to comment.


Antonin
Antonin on 13 Feb 2019
Hi Priyanka,
Are you trying to run "Peak current control"? Let us know,
Thanks,
Antonin.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Products