1. C

    Field-Oriented Control simulation is not working in Simulink

    Hi, I am having issues with making my FOC simulation work (see above image and Matlab file) but I do not understand why I am getting the error message. I am using Matlab 2017b and my simulation is using a P gain of 15 and my I gain is of 7 in both PI controllers. I am trying to control torque...
  2. S

    Problem with PMSM motor model in Simulink

    Good afternoon, I have developed a Vector Control for a PMSM motor in Simulink using Simscape Electrical but my motor is not spinning. I have tried applying various speed values but nothing happens. I am applying a step signal from 0 to 300 but the motor speed still doesn't move. My error...
  3. C

    How to get rotor flux from Back-EMF constant in a PMSM ?

    Hi everyone, Does anyone know how to do this and paste a link or name of legit, academic, source ? I only know the back-EMF constant from my motor but I need the rotor flux. Please any help would be greatly appreciated.
  4. C

    Can't solve simulation errors in FOC model (Simulink 2020a)

    Hi everyone, I am trying to develop an FOC algorithm (see screenshots attached) using the Motor Control Blockset in Simulink but I am getting the following errors (see screenshot attached). I don't know waht I am doing wrong since I fed my d and q currents to my Discrete PI controllers and fed...
  5. C

    How can I exctract 2 values from a 1-by-3 array in Simulink ?

    Hi everyone, I am using the Surface Mount PMSM block from the Motor Control Blockset in Simulink to develop an FOC algorithm. The output of the block (PhaseCurr) is a 1-by-3 array containing my 3 phase currents a, b and c. How can I extract the 2 currents (phase a and b) from my array in...
  6. C

    Is the LdTrq input required in the Surface Mount PMSM block ?

    Hi everyone, I am trying to implement FOC algorithm in Simulink using the Motor Control Blockset. I want to simulate the iPower Gimbal Motor GBM2804H-100T with the Surface mount PMSM block. However, I don't understand what the LdTrq input is or how to set it up. SInce it is a motor I do not...
  7. C

    How is PWM implemented in Field Oriented Control (FOC) ?

    Hi everyone, I am trying to understand and implement FOC algorithm in MATLAB for a PMSM. I understand we are converting the 3 phase stator currents into 2 time-invariant stator currents: (direct and quadrature currents or Id and Iq, respectively). But I do not unsderstand how PWM is applied...
  8. Tamás Fegyvári

    BLDC DC Bus current waveform?

    Hi! I would need some clarification with a BLDC DC bus current.(Marked With IL on the picture) The motor is a BLDC with trapezoidal commutation and 20kHz PWM. I beleive that current is the 20 kHz PWM with an amplitude of the maximum current of the motor. Is it right or I misunderstood...