how to do FOC control of PMSM with F28379D without using Boostxl, instead separate inverter has to be used.

4 次查看(过去 30 天)
Instead of using boostxl driver i am going to use semikron inverter . so how can i use simulink blocks to control pmsm with FOC control usig F28379D

回答(2 个)

Aditya
Aditya 2023-8-29
Hey Priya,
I understand that you want to know how to add Simulink blocks to control PMSM with FOC control using F28379D.
To control a Permanent Magnet Synchronous Motor (PMSM) with Field-Oriented Control (FOC) using a Semikron inverter in Simulink with the F28379D microcontroller, you can follow these steps:
1. Set up the Simulink model: Create a Simulink model to implement the FOC control for the PMSM. This model will include the necessary blocks for FOC control, such as the Park and Clarke transforms, PI controllers, and PWM generation.
2. Configure the F28379D microcontroller: Use the "Target Configuration" tool in Simulink to configure the F28379D microcontroller for code generation. Set the appropriate microcontroller parameters, such as clock frequency and peripherals.
3. Set up the hardware connection: Connect the F28379D microcontroller to the Semikron inverter. This will involve making the necessary hardware connections, such as connecting the PWM outputs of the microcontroller to the inverter inputs.
4. Implement the FOC control algorithm: In the Simulink model, use appropriate blocks to implement the FOC control algorithm. This will typically involve blocks for the Park and Clarke transforms, PI controllers for current control, and PWM generation blocks to generate the appropriate PWM signals for the inverter.
5. Configure the code generation settings: In the Simulink model, configure the code generation settings to generate code for the F28379D microcontroller. Set the appropriate options for code optimization, memory allocation, and other settings as required.
6. Generate and deploy the code: Use the "Build" button in Simulink to generate the code for the F28379D microcontroller. Once the code is generated, deploy it to the microcontroller using the appropriate method, such as JTAG or serial communication.
7. Test and validate: Connect the PMSM to the Semikron inverter and power up the system. Run the generated code on the F28379D microcontroller and observe the motor's behavior. Monitor and analyze the motor's performance to ensure that the FOC control is functioning as expected.
It's important to note that the specific implementation details and Simulink blocks may vary depending on the FOC control algorithm and the Semikron inverter you are using. It is recommended to consult the documentation and resources provided by Semikron and MathWorks for more detailed guidance on integrating the Semikron inverter with the F28379D microcontroller in Simulink.

Priya Balasubramanian
Thank you for your kind reply sir. I will try to build the model as per your advise.

Community Treasure Hunt

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

Start Hunting!

Translated by