PLL with TI F28379D

조회 수: 17 (최근 30일)
Noah B Damron
Noah B Damron 2023년 2월 24일
댓글: VIKASH 대략 23시간 전
I am trying to implement a PLL with the TI C2000 F28379D. In my model I am using the ADC to sample a voltage (60 HZ) and then I am feeding that signal to the "sinusoidal Measurement (PLL)" block. From here I am sending the outputs of this block and the sampled Voltage back to my host computer using serial. This sampled voltage comes through as expected but the outputs of the PLL are not correct at all. When I collect the sampled voltage and then run it into the PLL block in an offline manner it outputs the expected values.
I know the issue isn’t with the data collection or serial because we have done other things using this same serial communication method and it has all worked fine. I am concerned that the PLL block is not able to work in a real time manner and only in an offline manner.
Has anyone else had any experience with the PLL in this way? The end goal is to have a self-synchronized inverter using the TI C2000 as the controller with MATLAB/Simulink are the code generation platform.
  댓글 수: 1
VIKASH
VIKASH 대략 23시간 전
Hi sir, did you find any solution for the above? if you found kindly share how to solve this issue.

댓글을 달려면 로그인하십시오.

답변 (1개)

Nikhilesh
Nikhilesh 2023년 3월 2일
Hi Noah,
It's difficult to determine the exact cause of your issue, but I can provide some general advice on troubleshooting a PLL implementation on the TI C2000 F28379D.
Firstly, make sure that you have configured the PLL block correctly in your Simulink model. Check that the input signal to the PLL block has the correct amplitude and frequency, and that the PLL parameters (such as loop filter coefficients and NCO frequency) are set appropriately for your application.
Next, check the sample rate of your ADC and make sure that it is fast enough to capture the frequency components of the input signal. You may need to adjust the ADC settings or use a higher sampling rate to accurately capture the 60 Hz signal.
If you are still experiencing issues, try running the Simulink model in simulation mode with a fixed-step solver and a small time step (e.g. 1 microsecond). This will allow you to see the behavior of the PLL block in real-time and identify any issues with its performance.

카테고리

Help CenterFile Exchange에서 Measurements and Testbenches에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by