Hello everyone,
I am currently working on a project using PLECS together with a DSP-based controller, and I am experiencing a signal mismatch issue in external mode. In offline simulation, the Plant and Controller signals match correctly. However, in external mode, the signal measured by the ADC is significantly different from the original signal sent through Analog Out. The waveform shape is similar, but the amplitude and offset are noticeably different.
The Plant is running on the RT Box, and the Controller is running on a TI C2000 DSP in external mode.
Could this be related to ADC range, Analog Out range, clipping, or some other issue in between the RT Box and DSP signal chain?
Thank you.
single_phase_pv_inverter_PI_c2000.plecs (149.4 KB)