Filter löschen
Filter löschen

Seeking help on real time signal monitoring using XCP on Ethernet (TCP/IP and UDP/IP) and C2000 (F28388) Microncontroller

4 Ansichten (letzte 30 Tage)
Dear Community
Greetings!
I want to develop a model based three phase inverter control using Matlab Simulink and TI F28388 control card.
For the following circuit, I want to monitor 3-phase grid voltage, 3-phase grid current and DC side DC link voltage and current in Real time.
Usually, the signal frequency is maximum 120 Hz and the number of signals are 8 (3+3+2).
As you see the number of signals are pretty high but frequency low, I want to use XCP on Ethernet (TCP/IP and UDP/IP) as shown in the following figure. I have access to all Adds ON in Matlab.
Could you please guide me the best possible way to do that using XCP or other interface?
Any possible example or details guideline are highly appreciated.
Is it possible to monitor such number of signals in real time and tune the other variables ?
What are the maximum number of signals that can be monitored in real time on Matlab Simulink using Ethernet (TCP/IP and UDP/IP). The ethernet port of F28388 control card can handle upto 10/100 Mbps.
I will use external oscilloscope for PWM signal monitoring as frequency is very high (20kHz).
However, I want to monitor low frequency signals (60/120 Hz) like 3-phase grid voltage, 3-phase grid current and DC side DC link voltage and current in Real time.
Thanks
Ismail

Antworten (1)

MULI
MULI am 20 Aug. 2024
Hi Ismail,
I understand that you need to monitor several low-frequency signals in real-time, specifically the 3-phase grid voltage, 3-phase grid current, and the DC link voltage and current using XCP on Ethernet.
To facilitate this process, you may follow these steps:
  • Develop three-phase inverter control model in Simulink
  • Configure the Simulink model for XCP on Ethernet.
  • In the Model Configuration Parameters, set the communication interface to Ethernet, choosing either TCP/IP or UDP/IP.
  • Utilize Simulink’s External Mode to monitor the necessary signals. Log the 3-phase grid voltages, currents, and DC link parameters using the Simulation Data Inspector (SDI).
  • Use External Mode to adjust parameters in real-time which is essential for optimizing control strategy and ensuring optimal performance.
For more detailed information on signal monitoring and parameter tuning over XCP on Serial, you may refer to this link

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by