Discretization of control loop with diffrent sampling Field orianted control

Hi,
I want to modelize a field ordiented control described below with give the duty cycle for the inverter.
PMSM motor model and inverter model are completed.
Moreover i implemented the current loop controller (PI) which is discretized thank to a trigged function (see below)
However, i need to implement a speed and position control loop with feed forward action.
The problem is , the speed and position loop are trigged @ 0.5ms and the current loop is trigged @ 100µs
Does anybody have an idea in order to have the discret model of both control loop with the correct sampling?
I know i can modelize the system with transfer function and proceed to the discretization but i want to keep the physical models.
Thanks a lot for your answers

Answers (1)

The IPMSM Torque Control example in Simscape Electrical can be used as a starting point. Basically a multi-rate control structure is needed. First you have to tune the inner current control loops (fast dynamics) and then the outer speed controller. Between the two you can use rate transitions.

Categories

Asked:

on 12 Jul 2018

Answered:

on 9 Jan 2023

Community Treasure Hunt

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

Start Hunting!