1. C

    (Trapezoidal vs FOC) choosing a commutation type for BLDC motor.

    Hello there, I've been planning to build an ESC from scratch for my BLDC motor, for an quadcopter project, and I have trouble figuring out the right commutation methods for design, I did some fair amount of research and found the most methods of control to be sensorless( as there are lower...
  2. 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...
  3. 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...
  4. C

    Graphs won't be plotted to the end of simulation time in Simulink

    Hi everyone, I am having the issue that I am trying to run an FOC algorithm in Simulink (see image attached) but the graphs are plotted until 0.5 when the simulation is set to 10 seconds (see image attached). Does anyone know what could be happening ? Thanks in advance. The file can be found...
  5. C

    How is torque controlled in Field-Oriented Control ?

    Hi everyone, I am trying to control the torque in an FOC algorithm but I don't know how to. I have seen FOC block diagrams (see attached picture) and I am trying to simulate this in MATLAB but I still don't get how to control torque in my SIMULINK model (see attached picture). Also I don't...
  6. 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...
  7. 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...
  8. C

    What does Ki*Ts mean in Discrete PI controller ?

    Hi everyone, I am using a Discrete PI controller for an FOC algorithm I am developing in Simulink using the Motor Control Blockset. I would like to use a Ki gain if 2. At the input of the block, I have an input labelled Ki*Ts. If I use my gain with a sampling period of, let's say 1ms, should...
  9. C

    Understanding how to set MTPA Reference block settings

    Hi everyone, I am failrly recent to MATLAB and SIMULINK. I am trying to use to Motor Control blockset in Simulink to implement an FOC algorithm. I am using the MTPA Reference block for Simulink to calculate the Id and Iq currents for me but there are parameters in the block I don't understand...
  10. 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...
  11. C

    Areas of improvement in Field Oriented Control (FOC) ?

    Hi everyone, I am trying to a project based on FOC and BLDC motor using Simulink. I have been looking at material explaining how to use FOC with Simulink but from what I have seen there is an automatic PID autotuner. So is there really anything that can be improved from FOC in MATLAB ? Thanks...
  12. C

    FIELD ORIENTED CONTROL DISSERTATION

    Hi everyone, I am a final year student who is making a dissertation on Field-Oriented Control (FOC) with a BLDC motor. I am having the issue that with the virus outbreak I have had to modify a lot how to carry out my dissertation. As a result, I do not know what to write about anymore. I would...
  13. C

    Is there any FOC Software available for STM32 Nucleo-64 G474RE board?

    Hi everyone, I have recently bought an STM32 Nucleo-64 G474RE. I want to use this MCU for Field-Oriented Control (FOC or Vector Control) with a BLDC motor. I have seen there are many libraries available and there is the ST Motor Control Workbench tool available. But I am confused as to which...
Top