Answered
I need to plot speed againt time(t). x,y,z are position vectors, I differentiate them and then it all gose to s**ts. Any idea what is wrong? Specifiaclly why a vector 1x101 after differentiation turns into a vector 1x100.
The difference and approximate derivative diff(X), for a vector X, is [X(2)-X(1) X(3)-X(2) ... X(n)-X(n-1)]. If X = [1 2 3] the...

3 years ago | 0

Answered
Vector control simulink model
I believe a good place to start is File Exchange. Best to understand the basics and then implementation will be easy. A good onl...

3 years ago | 0

Answered
how can ı estimation parameter of dc motor?
The 's' subsytem is a subsystem for the velocity sensor. Inside there is a velocityh sensor and a PS-Simulink Converter to outpu...

3 years ago | 0

Answered
What is maximum allowable sample time for powergui block?
The sampling time depends on the dynamics of the system. If we don’t have enough sample point to capture the transient changes, ...

3 years ago | 0

Answered
How to find step-response of FLC controlled DC Motor
The step response is obtained in the same way for both controllers. Assuming that rotor speed is the controlled variable, applyi...

3 years ago | 0

Answered
speed control of three phase induction motor with pwm inverter using PID controller
A good place to start is the Three-Phase Asynchronous Drive with Sensor Control example in Simscape Electrical.

3 years ago | 0

Answered
How can I model the MPPT based PID controller?
A good place to start is the Three-Phase Grid-Connected Solar Photovoltaic System example in Simscape Electrical.

3 years ago | 0

Answered
How to build DTC SVM for Permanent magnet synchronous motor? I am confused about the transformation formulas (abc to dq and vice versa) used in MATLAB demo for DTC SVM of induction motor.
A good place to start is the Direct Torque Control of PMSM Using Quadrature Encoder or Sensorless Flux Observer example in the M...

3 years ago | 0

Answered
How can I produce noises in a PMSM Machine?
The best place to start is the FEM-Parameterized PMSM block in Simscape Electrical. Using this block you can use FEM data to par...

3 years ago | 0

Answered
Postion control bldc motor how we get the value of kp,ki,kip by which refrences
This parameters are for a generic BLDC motor. The control parameters are defined based on motor parameters. The motor parameters...

3 years ago | 0

Answered
For position control BLDC motor how i can calculate machine parameters and control parameters? How the following value come ?
This parameters are for a generic BLDC motor. The control parameters are defined based on motor parameters. The motor parameters...

3 years ago | 0

Answered
How can I have the motor output constant torque?
A good place to start is the IPMSM Torque Control example in Simscape Electrical. The IPMSM Torque Control in an Axle-Drive EV c...

3 years ago | 0

Answered
Battery discharge question regarding Specialized Power Systems
Yes, the way the current is injected into the system via the controlled current source means that -20 A is discharging the batte...

3 years ago | 0

Answered
I need to convert Physical Signal from Light-Emitting Diode to a unitless Simulink signal, then make some math operations and again convert unitless Simulink signal to a Physical Signal. What's wrong with it?
This can be done as shown, there will be an algebraic loop that we can break in the simulink part. However, the negative termina...

3 years ago | 0

Answered
Output from Ideal rotational motion sensor
The Ideal Rotational Motion Sensor block represents an ideal mechanical rotational motion sensor, that is, a device that convert...

3 years ago | 0

Answered
Getting error "Output argument 'y' is not assigned on some execution paths" Trying tp generate pwm for duty cyle value coming from a PI controller for converter control
As there is a possibility to not enter the while statement, the solver will think that ‘y’ might not be assigned any value in th...

3 years ago | 0

Answered
How to make SimMechanics works in rapid accelerator mode
In latest releases there is no error anymore, just a warning (from R2021b I believe). The simlog can be disabled from the Conf...

3 years ago | 0

Answered
Simscape slower than Specialised Technology in Accelerator mode
First of all the Specialized Technology model is in discrete-time and the Simscape model in continuous-time. Simulation speed in...

3 years ago | 0

Answered
I'm getting equation in very long form, there are big numbers that are left undivided, how do i get them in a simpler term?
Assuming that Symbolic Math Toolbox is used, it is possible to Simplify Symbolic Expressions. For example: syms x y simplify...

3 years ago | 0

Answered
How can I set Id and Iq references in an inverter?
We know that d-axis current will control the active power and the q-axis current will control the reactive power. Usually we hav...

3 years ago | 0

Answered
I am doing simulation of BLDC Regenerative Braking. It ahows following Error: "Error in port widths or dimensions" in two blocks: OR GATE and AND GATE as shown in figures
Without a model is difficult to point to exact root cause. The problem is a mismatch in the port width or dimension. Perhaps som...

3 years ago | 0

Answered
PWM DC-DC generator in Simspace Simulink
Check the fundamental frequency and the switching frequency. Also, check the solver settings. Without a model is hard to tell wh...

3 years ago | 0

Answered
how can i use two sampling times in the same simulink file?
Should not be a problem to simulate multi-rate models. Rate transitions can be used to transition from one rate to another. A us...

3 years ago | 0

Answered
How can we get a linearised transfer function of a non linear closed loop induction motor drive in MATLAB/SIMULINK?
Probably best to model the induction motor drive using an average value voltage source converter and then use Model Linearizer a...

3 years ago | 0

Answered
Hystersis Band Limits in BLDC Motor Model
If the error is above the hysteresis band, the output is in one state, if the error is is below the band then the output is in t...

3 years ago | 0

Answered
Mathematical modelling of Sinusoidal wave for Voltage and Current.?
I suspect in the Configuration Parameters, Solver, the parameter 'Max step size' is set to 'Auto'. Depending how the solver is c...

3 years ago | 0

Answered
Linear Analysis Workspace: Move 'linsys1' to base workspace programmatically
It is possible to Linearize Simulink Model at Command Line. Check the documentation for more insights.

3 years ago | 0

Answered
Can you give me an idea about how to design an ANN controller for an electrical system without the ANN toolbox, please?
Surely you can use MATLAB to write all control synthesis from scratch, probably there are some basic examples on File Exchange. ...

3 years ago | 0

Answered
What is the switching frequency of Universal Bridge from Simulink
This block implements the bridge. The switching frequency is defined in the control algorithm/gate driver. Switching frequency n...

3 years ago | 0

Load more