Is there an ideal voltage source block that can change the voltage based on the command voltage value without using PWM in simscape electrical?
I am simulating the control of a BLDC motor (PMSM) with simscape, but when I try to reproduce PWM control at the microcontroller level and control the voltage, the sampling time needs to be very small to achieve sufficient voltage resolution, which increases the calculation time.
Therefore, we would like to replace the PWM generator, gate driver, inverter, and stabilizing power supply that apply the command voltage to the BLDC with an ideal voltage source block that can vary the voltage based on the input command voltage.
Is there such an ideal voltage source block at simscape electrical?
Also, if you know of a method to speed up the computation of BLDC control that does not involve such an approach, please let me know.
We are considering using an equivalent simplified model, but would like to find a better alternative.
Thank you in advance.I am simulating the control of a BLDC motor (PMSM) with simscape, but when I try to reproduce PWM control at the microcontroller level and control the voltage, the sampling time needs to be very small to achieve sufficient voltage resolution, which increases the calculation time.
Therefore, we would like to replace the PWM generator, gate driver, inverter, and stabilizing power supply that apply the command voltage to the BLDC with an ideal voltage source block that can vary the voltage based on the input command voltage.
Is there such an ideal voltage source block at simscape electrical?
Also, if you know of a method to speed up the computation of BLDC control that does not involve such an approach, please let me know.
We are considering using an equivalent simplified model, but would like to find a better alternative.
Thank you in advance. I am simulating the control of a BLDC motor (PMSM) with simscape, but when I try to reproduce PWM control at the microcontroller level and control the voltage, the sampling time needs to be very small to achieve sufficient voltage resolution, which increases the calculation time.
Therefore, we would like to replace the PWM generator, gate driver, inverter, and stabilizing power supply that apply the command voltage to the BLDC with an ideal voltage source block that can vary the voltage based on the input command voltage.
Is there such an ideal voltage source block at simscape electrical?
Also, if you know of a method to speed up the computation of BLDC control that does not involve such an approach, please let me know.
We are considering using an equivalent simplified model, but would like to find a better alternative.
Thank you in advance. bldc, simulink, simscape, electric_motor_control, pmsm, pwm MATLAB Answers — New Questions