This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello E2E Experts,
Good day.
I'm working on Direct Torque Control (DTC) control of three phase induction motor using F28379D LaunchPad.
I am experiencing an issue with a lookup table being converted to an output integer rather than a bitwise control signal when changing from simulation mode to external mode. The impact of this issue is that the close loop is based on the pulse signal that goes to the inverter. So, the system wouldn’t be initiated as long as the feedback pulse signal is missing from the proposed algorithm.
A smaller reproduction Simulink file has been attached that demonstrates the issue which may be very helpful to you for reproducing the issue on your end, and may achieve a faster resolution than persevering with the whole model. I have also attached the m.file of the model to avoid missing variables and syntax errors within some blocks. So, you need to run the m.file prior to the Simulink model to avoid any errors. The location that shows precisely the issue is inside the block called LUT which may help narrow the scope of the issue.
I would greatly appreciate your assistance in resolving this issue.
Regards,
CSC
Hello Mohamed,
Please take a look at MathWorks FAQ at this link below:
If you have further questions, the best way to get support on MathWorks products is to contact MathWorks live tech support.
You can also search for answers or post a question on MATLAB Answers C2000 forum. Additionally, there is info on MathWorks support C2000 in Documentation and Examples.
If you have further questions regarding the specific peripherals on our device and how they're configured, feel free to post here again. This specific issue looks like it may be something specific to MathWorks.
Thanks & Regards,