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.

Simulink, developed by MathWorks, is a graphical programming environment for modeling, simulating and analyzing multidomain dynamic systems. Its primary interface is a graphical block diagramming tool and a customizable set of block libraries.

227 questions
12
votes
2 answers

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 targeting \$<5%\$ overshoot and \$<2s\$ settling time. Currently, the overshoot criteria are satisfied. Note I know…
rrz0
  • 1,171
  • 1
  • 21
  • 42
7
votes
5 answers

Sine generator - Bubba Oscillator

I am trying to simulate a Bubba Ocsillator on MATLAB, Simulink . The problem is that i am not able to generate the sinusoidal from the circuit. This below is my circuit : And this below is my result(Simulated for 10sec) : Zoomed result(Simulated…
Dravidian
  • 211
  • 2
  • 7
5
votes
1 answer

Is it possible to simulate entire circuit designs before physically building the circuit?

I have spent a lot of time the past 3-4 months creating / improving my first circuit design which is a bldc motor driver circuit. I finally have a prototype which I think will work: Before I physically build this circuit I want to know whether or…
Trev347
  • 1,032
  • 2
  • 14
5
votes
1 answer

Need help with simulation of three-phase rectifier with hysteresis controller

I am attempting to design a closed loop three-phase rectifier with hysteresis control using MATLAB simulink. The outer loop compares output DC voltage with reference voltage, given to a PI controller and the output of the PI controller is multiplied…
5
votes
1 answer

How does a Delta-Sigma DAC work?

I have looked at how the Sigma-Delta ADC works and I understand it. However, it seems to me that there is not a lot of literature about the Sigma-Delta DAC. I want to build a model of it in Simulink. Can someone explain to me how it works?
Yaakov
  • 311
  • 7
  • 21
5
votes
1 answer

How to use Voltage Measurement in Matlab Simulink?

I am a beginner in MatLab Simulink and would like to measure the voltage across two electical nodes. I use Voltage Measurement to perform this task. However, i can not connect the positive and negative terminals of the Voltage Measurement to the…
Giray Salgır
  • 115
  • 1
  • 1
  • 9
3
votes
0 answers

What is wrong with my Simulink model of a first order Delta Sigma Modulator?

I'm trying to design a Delta-Sigma Modulator for frequency synthesizer applications and am (just right now) figuring out how to properly configure a first order DSM in Simulink. I've made a few small variations that I've seen (with the unit delay in…
Jack
  • 51
  • 1
3
votes
1 answer

SIMULINK: The spectrum of the modulated signal remains unchanged despite modification of the modulation index

I try to implement a frequency modulator. From what I know, the more I vary the modulation index (which is set by the gain block here,) the more the spectral lines should increase in number. When I increase the modulation index, the spectrum of my…
3
votes
4 answers

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 not make the last row. Does anyone have a sample…
John wiliam
  • 33
  • 1
  • 1
  • 6
3
votes
1 answer

Equations governing the impedance of a generalised constant-phase element in the time domain?

I apologize in advance for the large wall of text, but I feel like to properly ask this question, some background information is in order. I've been recently working on modelling the impedance of a circuit using the Mathworks SIMULINK/SIMSCAPE…
adouv
  • 39
  • 2
3
votes
3 answers

Name nodes on Simulink

I'm new to Simulink, and would like to make my circuits less messy. So I'd like to know how to make a node, such as on the image bellow, which has Vin and Vout written on. My MATLAB version is 2015a. Thanks.
3
votes
1 answer

Inferring RAM ALTERA from vhdl of HDL CODER

I've generated vhdl from Simple port RAM and Dual port RAM in simulink and I tried to synthesize with Quartus 14 and 16 on Arria V and 10. The option to allow RAM for any size is ON but I don't understand why it isn't recognized. Have you never…
Ste3191
  • 31
  • 2
2
votes
4 answers

How to design EMI filter if you don't have the actual physical circuit ready?

I have a designed a battery charger in simulink and for the sake of completeness and as a learning experience, I would like to explore EMI filtering and design one for it (as a simulation model). I have started learning about EMI and filter design…
2
votes
0 answers

Simulation of field oriented control of three phase induction motor

I have been developing a simulation of the field oriented control algorithm of the three phase squirrel cage induction motor in the Xcos (equivalent of the Simulink). The simulation consists of following main modules IM model Dynamic model of the…
2
votes
0 answers

Convert complex number to phase shift in simulink

I am currently modelling some dynamic phenomena, combining pure simulink blocks and simscape blocks. I have measurements (real-valued) on which I perform computations with complex-valued matrices, which give me a complex-valued output. However, I…
BambOo
  • 121
  • 2
1
2 3
15 16