Answered
How to convert PID output Signal to a PWM signal in simulink?
Assuming that the output from your PID controller is a reference voltage you can then use a PWM Generator to generate the gate s...

3 years ago | 0

Answered
How to control motor speed using matlab code?
Not sure I fully understand this question. To control the speed of the motor first we need to decide which algorithm we want to ...

3 years ago | 0

Answered
impact of zero sequence inductance when applied pmsm model
If the delta-wound option is selected, then is no longer valid that the ia+ib+ic=0. Hence the external circuit can drive an out-...

3 years ago | 0

| accepted

Answered
Why am i getting the following error?
This error points out to the log function which is used to compute v_cell,i.e, s*log(((t1 + (t2/T_stack) + (t3/(T_stack)^2))*i_...

3 years ago | 0

Answered
Where can I find the electrolyzer?? in the simulink library I only find fuel cells.
An Electrolyzer block has been introduced in Simscape Electrical in R2022a. An good starting point about how to use the Electro...

3 years ago | 0

Answered
how a electrolyzer,storage tank,compressor and fuel cell is connected
A good starting point for this application is the Green Hydrogen Microgrid example in Simscape Electrical.

3 years ago | 0

Answered
battery soc estimation using EKF
Simscape Battery is a useful place to start with battery modeling and BMS functionality. An example of SOC estimation: https:...

3 years ago | 0

Answered
Please identify this block?
That's a Signal Generator block. You can find it in Simulink/Sources. https://www.mathworks.com/help/simulink/slref/signalgener...

3 years ago | 0

| accepted

Answered
Setting offset in torque control and Delta connection
When using delta connection there are 2 changes that are needed: Line current that we measure must be converted to phase curren...

3 years ago | 0

| accepted

Answered
what is Fault qualification time and how does the counter limit is set
The internal counter is set internally according to the presence of the symptoms and if we want to allow disqualification. Quali...

3 years ago | 0

Answered
calculate samples and sample time from switching frequency, No of poles, Machine rpm.
Electrical speed [rad/s] = mechanical_rpm*(2*pi/60)*Pp Electrical frequency [Hz] = Electrical speed [rad/s] / (2*pi) Electrica...

3 years ago | 0

| accepted

Answered
Can machine reach torque in particular time through close loop PID auto tuning block?
The Closed-Loop PID Autotuner Block is used to tune the controllers. The bandwidth of the controller will be responsible of how ...

3 years ago | 0

| accepted

Answered
Speed Measurement in Torque Control
The load speed is the actual machine speed. By using an Ideal Angular Velocity Source, we aim to keep the machine speed constant...

3 years ago | 0

| accepted

Answered
How to get the PMSM Parameters from datasheet
Datasheets are usually lax in defining what they mean. Torque constant can be torque per peak current, torque per RMS current, p...

3 years ago | 0

Answered
Sudden torque drop after 5000 rpm when i working IPMSM torque control simulation
I believe this issue can be solved by decreasing the sample time. I see, you oversample 10 times to capture the PWM signals. Wit...

3 years ago | 0

| accepted

Answered
How to generate first value for Kp, Ki of PID in current controller
It is possible to use pole placement as a starting point. If you can approximate the plant with a first order system, it is easy...

3 years ago | 0

| accepted

Answered
Does Anyone know how to make this circle disappear? it occurs on my control signals to digital outputs.
That looks like Data point marker style for the plotted signal meaning that when there is a circle there is a measured data poin...

3 years ago | 0

Answered
How to write this PLL block " wt in terms of Vq", abc is Grid phase voltages.
Not sure if you try to reverse engineering this Simulink diagram. I would start with the basics of PLL. A good starting point is...

3 years ago | 0

Answered
Simulink IGBT Switch with snubber
The input g is a Simulink control input. It is not possible to connect a resistor (physical block) to Simulink connections. If y...

3 years ago | 0

| accepted

Answered
create electrical equivalent circuit for interior PMSM ?
Best place to start is the Faulted PMSM example in Simscape Electrical: https://www.mathworks.com/help/sps/ug/motor-pmsm-faulte...

3 years ago | 0

Answered
fuel cell stack to be used as electrolyser
Not possible to use the Fuel Cell block as an electrolyzer. Since R2022a, Simscape Electrical has an Electrolyzer block as well....

3 years ago | 0

Answered
Error connecting universal bridge with other blocks in simulink
The way you try to connect the measurement block is not correct. The measurement block has two groups of specialized electrical ...

3 years ago | 0

Answered
Having trouble connecting simulink duty cycle signal to simscape inverter block
You can replace the Converter (Three-Phase) with the Averaged Value Voltage Source Converter (Three-Phase) https://www.mathwork...

3 years ago | 1

| accepted

Answered
For the control subsystem of the Four-Switch Buck-Boost Converter, may I know what are the functions of vRef, v, FF, and Reset?
Vref is the reference voltage, v is the measured voltage, FF is the feed-forward value that we may want to add to the output of ...

3 years ago | 0

Answered
Facing issue with already given cell of Table based battery
The preset parametrizations are based on manufacturer’s datasheet. Not all parameters are available from the datasheet. The bloc...

3 years ago | 0

Answered
How to control bidirectional dc dc converter using Model Predictive control block in SIMULINK?
A good starting point is the following example in Simscape Electrical: https://www.mathworks.com/help/sps/ug/bidirectional-dcdc...

3 years ago | 0

Answered
Battery model (table-based) error
The preset parametrizations are based on manufacturer’s datasheet. Not all parameters are available from the datasheet. The bloc...

3 years ago | 0

| accepted

Answered
No feasible current reference found on PMSM Current reference Generator
The PMSM Current Reference Generator block is implementing equations for both MTPA and FW. However, this approach may not always...

3 years ago | 1

| accepted

Answered
Torque Based Control for IPMSM issue
When using Field Oriented Control, we control the torque by controlling the d and q axis currents. Q-axis component is the torqu...

3 years ago | 1

| accepted

Answered
Modeling of six-phase PMSM using TWO three-phase PMSM
Since R2020b, Simscape Electruical includes the PMSM (Six-Phase) block.

3 years ago | 0

Load more