Questions tagged [simulink]

Simulink® is a block diagram environment for multidomain simulation and Model-Based Design. It supports simulation, automatic code generation, and continuous test and verification of embedded systems.

Filter by
Sorted by
Tagged with
0
votes
3answers
114 views

How to design an inductor which consists of four separate windings in the same core?

I need to design an inductor such that there will be four separate windings at the input side (each input is coming from a different DC-DC converter) then these four windings are combined at the ...
0
votes
1answer
34 views

How to find phase shift(angle) between two signals in simulink?

So I'm doing a delta wye transformer in simulink and phase shift between these two signals should be 30 degrees, but how to show that, or calculate it? And how to find angle of each signal?
0
votes
0answers
27 views

Help modifying solar cell to include water cooling on simulink?

Hi, for my honours project at university i am basically doing an analysis of how water cooling a solar panel improves efficiency by decreasing the temperature of a solar cell. Part of my thesis ...
0
votes
0answers
17 views

control Linear analysis error due to RMS(IIR) filter?

my Objectif is to get a frequency response of the open loop system of plant which will allow me to design the controller transfer function. after including the RMS filter, the Analysis tool of ...
0
votes
0answers
22 views

PI tuning from simulink scope?

I would like to use the method of Zigler-Nichols method for open loop. I got the step reponse from Simulink scope but How can I calculate the L and A from the scope?
0
votes
1answer
53 views

Why is my LC filter Bode flattening out to 20dB/dec in my Simscape simulation?

I just made an LC filter Matlab Simulink simulation and I don’t know why the Bode diagram is flattening out. After the resonance it falls steeply, but after that it sets at 20dB/decade. Shouldn't it ...
0
votes
0answers
7 views

What is a Simulink Embedded Function Model?

I can't seem to find a definition of what this is. Does this mean a simulink model that only uses simulink blocks? Does this mean that matlab code is written to define the I/O of a block?
0
votes
1answer
25 views

simple matlab function (simulink) with if?

have written the very basic Matlab function on Simulink and would like why I am getting this error: ...
0
votes
0answers
20 views

how to overcome the slow pace of my simulink model?

I have run the solver profiler to debug where my simulink model stuck and take very long time to simulate. I found out it is the diode model that I model as following: It runs fast on its own. ...
0
votes
1answer
29 views

Testing PWM signal

So im kind of new with using PWM. I have made a simple comperator using Simulink in order to create PWM signal. Now, I had like to pass this PWM signal through "something" which I dont know what in ...
0
votes
1answer
52 views

Simulation of the Micro-kinetic generator

I am simulating the block diagram of the Autoquartz system during unwinding in Simulink. I want to get the current of microgenerator (Ibus), but I get an oscillating pattern, which you can see here ....
0
votes
1answer
73 views

Difference between parallel and standard form pid controller in simulink?

What is the difference between parallel and standard form of pid controller that is provided by pidtool in Matlab simulink? In terms of block diagram?
0
votes
0answers
13 views

How to add RF port in Simscape?

I am using MATLAB to find the S-parameters of a RLC network. To construct the network, I need to add input and output RF ports with 50 Ohm impedance. I could not find it in the Simscape fundamental ...
0
votes
1answer
57 views

Sawtooth to Straight line in Simulink

There is a component in LabVIEW called as "Inverse Modulus". It is used to eliminate the discontinuous jump that would occur when the DAC encoder of the hardware reaches the limits of this range. ...
1
vote
0answers
33 views

TMS320F28035: Simulink model for the SMO or eSMO block used for sensorless FOC of PMSM

I am a student of BITS Pilani, Hyderabad Campus. I am currently doing my summer internship at Analogics Tech India Limited - Hyderabad. I am working on a project to create a Simulink model for ...
0
votes
2answers
236 views

Pulse generator in Simulink Matlab

I want to generate a pulse in Matlab Simulink fixed point solver. The step size in the Simulink fixed solver is 1e-06, but I need a pulse width of 2e-08. The figure shows the clear requirement of ...
3
votes
4answers
2k views

Truth table with logical gates for a traffic light

I want to create this truth table: So I tried this but I was not able to get the last row, which is: While a =1 and b =1 ,yellow = 1 red = 0 and green = 0. This is my design for it, but I could ...
0
votes
0answers
29 views

Identification of Simulink symbol

This model has the symbol, shown below. I cannot locate it in the Simulink tools. Can someone help me to identify this part?
0
votes
0answers
57 views

Simulation/modelling of a RFID system (reader, antenna, tag)

The input parameters for the simulations are: Area of environment where the RFID system will be placed i.e. in a rectangular space. Number of antennas. Number of passive tags within the environment ...
0
votes
1answer
197 views

How to implement low pass filter in the differential part of PID in time domain

I programmed PID in MATLAB: ...
1
vote
0answers
37 views

Values got from programmed PID are different from ones simulated in Simulink

Please also read Update I created a PID simulation in Simulink: where the Step block is set with parameters: ...
0
votes
0answers
18 views

Help with modeling a 6-phase motor in Simulink

I'm not sure if I'm posting in the right subsection, however I've recently started working on a project. I have little background on the subject. I've a degree in electronics which mainly focused on ...
1
vote
1answer
58 views

PWM Controller for known f(t)

Suppose I have some signal input which I know. The signal is 85 seconds long and its not something I can describe with equation but It looks as follows: Now, I have made a simple PWN controller that ...
0
votes
0answers
28 views

Adjust LQR weights to improve battery runtime in two-wheeled-inverted pendulum

I'm currently doing a controls project involving a self-balancing robot(or two wheeled inverted pendulum). I have been able to stabilize the system with the use of PID and optimal state feedback. ...
0
votes
0answers
311 views

Using LTSPice to make Function Blocks for SIMULINK

I have a PLL that I want to model in Simulink using the control theory toolkit. I have the schematics for the PLL in LTSpice. Does anyone know of a way that I can integrate the spice model with my ...
-2
votes
1answer
88 views

using IC in Matlab [closed]

I dont understand how to simulate circuits which contains IC's(like lt680xx or IC 555 timer).is it even possible to use them in matlab simulink?If yes, how can we do it?
1
vote
1answer
42 views

Temperature dependence of the energy bandgap and Simulink way

I know the equation about the temperature change of band energy but Simulink must find another way to define it like below. dEg=-2.677 10^-4 I can't find a single reference about that equation. ...
0
votes
1answer
75 views

“Hidden” variable in Simulink models

Some example models that are included in the Simulink library, there are some variables that their value is not visible. For instance, in the model power_PVarray_grid_det the sample time of the ...
12
votes
2answers
738 views

What is causing this long tail in the transient reponse?

I have a fifth order transfer function for which I designed a controller using pole-zero cancellation technique on a root locus. I am after <5% overshoot and <2s settling time. Currently, the ...
1
vote
1answer
65 views

Discrepancy between MATLAB and Simulink closed loop response?

I have a closed loop system which I am testing in MALTAB and Simulink, expecting the same output. MATLAB ...
0
votes
1answer
45 views

PID motor controller using simulink semantic errors when changing reference values

My aim is to design a pid - motor controller in simulink, and i also have to use h-bridges and PWM generator. The motor is a single phase dc-motor. And the aim is to control the speed. The reference ...
1
vote
0answers
110 views

Understanding MATLAB function blocks in Simulink

Before I ask my question, let me explain what I'm trying to do. I want to design a simple system in Simulink with the features shown below. When I say simple is that I don't need complex and large ...
3
votes
2answers
255 views

Why does tracking different plant states result in totally different observer estimates?

I am trying to design a Luenberger observer (or a full state feedback observer) such that with one sensor available I can estimate all the states. A good tutorial is shown here. My system is 4th ...
0
votes
2answers
328 views

How to simulate the exponential growth op-amp?

According to Wikipedia, the following is the exponential output operational amplifier. I would like to test this out in a simulated environment and see how this functions. For example give a sine ...
0
votes
1answer
179 views

Simulate physical FM Transmitter circuit on Matlab Simulink

I am new to matlab. I was working on a simple modulator that I have to simulate. I've faced a problem with connecting the output frequency from the resonance circuit to the scope, A red dotted line ...
0
votes
1answer
183 views

Simulating a non-linear system in Simulink

I have a set of non-linear equations, which I would like to model in Simulink in order to compare to their linear counterpart. Here is the block diagram of my setup. The state-space block represents ...
1
vote
2answers
140 views

What is the output of a PID controller (or any controller in general)?

I'm new to Simulink and I'm trying to get my hands a little dirty there to get used to using it. I'm working on a speed control of a switched reluctance motor. The input signal is to be fed to a ...
2
votes
1answer
117 views

Comparing Responses for Linear and Non-Linear System in Simulink

I am going through and reviewing this unprofessional (I highlight a potential mistake in Section3.4) paper: Nonlinear Model & Controller Design for Magnetic Levitation System Specifically, I am ...
0
votes
1answer
83 views

How to plot response of a non-linear state space model in Simulink?

I am trying to plot a non-linear model in order to compare it with it's linearized counterpart. I am following this paper Nonlinear Model & Controller Design for Magnetic Levitation System and ...
0
votes
2answers
85 views

Matlab Three Phase System Model

I have a question regarding MATLAB Simulink if anyone is familiar with the software. I usually have no problems creating basic models like this one below: I know the image is rather small. It is ...
1
vote
0answers
213 views

Implementing PID in PWM feedback to lower the settling time

I have created the following simple PWM feedback: The step response is: I have tried to add PID controller and I ran the following code to test it: ...
0
votes
0answers
128 views

Problem opening a PLECS blockset in MATLAB

A friend of mine sent his simulation of a converter for which he had used PLECS. It is in the format "example.slx". I have MATLAB R2017b. I downloaded the PLECS block set for MATLAB and activated it ...
1
vote
0answers
37 views

How can I get/calculate simulink bldc parameters

I tried to get the parameters for a bldc simulation https://de.mathworks.com/help/physmod/sps/ref/brushlessdcmotor.html I tried to find a similar motor to the I need (500 W, 20-25 Nm, geared bldc) ...
1
vote
1answer
207 views

Creating smooth PWM response

By using PWM I have converted some signal to pulses and inserted it into transfer function of 2/(0.01*s+1) I then compared between the result of the original ...
0
votes
2answers
79 views

What is the error in my circuit in Simulink?

Please see the image below. I get this error when I try to run the circuit on simulink. Series RLC branch and Series RLC branch 1 refer to the two DC-Link capacitors of the inverter on the left side ...
2
votes
0answers
116 views

Sending data from Simulink Matlab to development board F28379D

I'm fairly new to Simulink programming so bear with me. My project is to measure some parameters with the ADC of the board and send them over serial (SCI_A) to a Simulink file I'm running on my PC ...
0
votes
1answer
348 views

Simulating a variable mutual inductance model

Can we simulate a time varying mutual inductance in Matlab Simulink (or any other simulation tool). Matlab Simulink has a variable inductor, but I could not find not mutual inductor.
0
votes
1answer
309 views

How to model MPPT technique with PID controller

I need to model a MPPT algorithm with a PID controller at Simulink. The model will feed the gates of two mosfets of a push-pull converter. I have to extract max power from PV and have a fixed voltage(...
1
vote
1answer
514 views

VHDL Error 10481 : no primary unit

I'm designing a circuit using Simulink to VHDL generator to be burned into a FPGA. Simulink model works fine on Simulink, however, when I try to compile the VHDL code using Quartus II I get the ...
1
vote
0answers
641 views

How can i create a dead time between two signals in Matlab/Simulink?

I have a curcuit which outputs two different pulse signals from two different "PWM generator(DC-DC)" block. I will apply these signals to two different mosfets. Thus I need to create a dead time to ...