Skip to main content

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
1 vote
0 answers
23 views

Specifying parameters mentioned in Datasheet in MATLAB Simulink

I am a first year Electrical Engineering undergrad. I am trying to simulate a circuit in MATLAB Simulink. I have a 2SC5200 transistor in the circuit for which I need to specify parameters from ...
Kavin Ishwaran's user avatar
0 votes
0 answers
82 views

Designing the CMOS IC 555

On the basis of following CMOS based schematic of the 555 timer from Wikipedia: (Image Credit to WalterDvorak, CC BY 3.0) I designed this simulink model: [Simulink Model]1 Here the parameters of ...
Awe Kumar Jha's user avatar
0 votes
1 answer
39 views

I need help identifying the purpose and type of a block in simulink of a DC motor modelling

I need to understand the purpose and type of the block encircled in blue from this simulink simulation from which i only have images, not the actual file.
Roberto Lemaitre's user avatar
1 vote
0 answers
27 views

How to Create an FM Signal with a MHz Carrier Frequency and kHz Sinusoidal Information Signal for PLL in Simulink?

I am working on a project in Simulink that involves a Phase-Locked Loop (PLL). In this project, I need to use two different frequencies—one in the MHz range and the other in the kHz range. I am trying ...
voltezer91's user avatar
2 votes
1 answer
98 views

Confusion understanding series/parallel relationship of mechanical components of a DC motor in Simulink Simscape

After watching this youtube video, I am trying to implement Simscape model of a DC motor in simulink - see snapshots below. I understand from both photos that the electrical components' resistance and ...
DSP_CS's user avatar
  • 1,161
0 votes
1 answer
81 views

Three-phase controlled rectifier power reversal issue in MATLAB Simulink

I have built a fully controlled three-phase rectifier in MATLAB Simulink. Now according to theory for RL load as I increase firing angle from 90 deg to 180 deg, the output voltage should become more ...
saqib khalid's user avatar
0 votes
1 answer
164 views

Need help understand phase shift control in SPS dual active bridge converter

I am trying to understand the control scheme of the phase shift controller in a dual active bridge (DAB) converter. I initially started with the built in PLECS DAB converter and understood all the ...
Dalu's user avatar
  • 1
0 votes
0 answers
103 views

Droop Control of a Grid Supporting Inverter and Simulating it in Simulink

Control of DC/AC inverter using Droop Control: I am having trouble taking this research papers proposal of how Droop Control can be used as a grid supporting voltage source and turning it into a ...
SS1's user avatar
  • 89
0 votes
0 answers
30 views

Simulink Simscape Motor Blows Up with Torque Feedback

I am trying to simulate a DC motor using the Simscape -> Electrical -> Specialized Power Systems. I try to simulate an increased inertia by using \$\tau=J\frac{d\omega}{dt}\$ where \$\tau\$ is ...
paki eng's user avatar
  • 822
1 vote
0 answers
133 views

Question about n channel mosfet as a switch(simulink/ simscape electrical)

i have to implement the following circuit which is an energy harvester circuit using simscape electrical. The description of the circuit is this one found on page 7 of the pdf at Finite element-based ...
lesDeux's user avatar
  • 11
0 votes
0 answers
35 views

SCI-TX doesnt work properly (Serial communication)

Part Number: TMS320F280025C, Other Parts Discussed in Thread: LAUNCHXL-F280025C, C2000WARE, I have a simulink model for a power electronics project and i want to see detailed data using SCI-TX port in ...
vona's user avatar
  • 1
0 votes
0 answers
54 views

Toggling a relay using a 555 timer

I seem to be experiencing errors when trying to toggle the relay using a 555 timer. I have used two different simulation software packages already.  They both seem to crash. There appears to be some ...
Zipho Lunika's user avatar
0 votes
0 answers
66 views

How to measure frequency of aperiodic signal in simulink when you are getting that signal through arduino?

Actually i want to measure frequency of a signal that i am getting thorugh arduino . I am getting almost correct voltage value near 220V that is value of our national grid and frequency in our ...
DSP_CS's user avatar
  • 1,161
0 votes
0 answers
55 views

Simulink - too much current is drawing from batteries

I am trying to simulate an active cell balancing circuit shown in the figure. However I have some problems. If I only turn on and of the switches I get normal,calculated current passing through ...
altasak's user avatar
1 vote
1 answer
131 views

How to find out the clock pin number of an FPGA?

I'm using FPGA-in-Loop function in MATLAB/Simulink and it requires the clock pin number, if I want to choose a board without off-the-shelf support packages. How should I find out the specific pin ...
Student's user avatar
  • 165
0 votes
0 answers
31 views

How to determine the values of transportation delay blocks and step block in block diagram?

What are the values of transportation delay blocks and step block in this block diagram to get Motor speed Graph for KI = 1.0s−1, KP = 0.3 and time delay = 0.046?
koka_123's user avatar
0 votes
0 answers
95 views

Reference Voltage Tracking for DC-DC boost converter

I have a boost converter which works perfectly with an s-domain controller (using a type-3 compensator and dual loop). Now, I need to do this using digital control (z-domain). I have converted the s-...
Boost_Guy's user avatar
0 votes
0 answers
32 views

Why am I getting completely different voltage and power results from Simscape phasor simulation and load flow simulation?

I am simulating the power system in the picture, with two generators and three PQ loads. My problem is that when I try to simulate it in Simscape, the load flow analysis gives me completely different ...
Jiří Nývlt's user avatar
1 vote
3 answers
409 views

Buck Converter Step Response Analysis

I am new to power electronics and control, so I am confused with the following. I have a simulation of a Buck converter, and PID controller in Simulink. I did some trial and error tuning, and I have ...
Fawn M's user avatar
  • 11
0 votes
1 answer
29 views

Reading a spectrum analyser in MATLAB

When demodulating an AM waveform why is there a frequency spike on the spectrum analyser of exactly two times the carrier frequency with an upper and lower sideband. It is past the cut off frequency ...
Lost student's user avatar
-1 votes
1 answer
179 views

Unable to fire thyristor simscape electrical matlab simulink

Hello, I am unable to fire a thyristor on simscape. I have tried to connect the gate to a pulse generator with a simulink-ps conversion symbol but it doesn't work ( the lines will not connect). I ...
Juju's user avatar
  • 1
0 votes
0 answers
29 views

Why I am not getting same values for exported simulink variables as stepinfo?

I am using MATLAB 2015a and I am trying to get stepinfo parameters of output that was exported from Simulink to MATLAB workspace but I am not getting same values as if try to get stepinfo for MATLAB ...
ATJ's user avatar
  • 45
0 votes
2 answers
175 views

Step response v/s DC voltage

I have to find step response for this circuit considering my input as Vo and step for Vin( I am using Simulink for this) Firstly what i did was making this circuit (DC voltage is 1V) The response on ...
gagan chopra's user avatar
0 votes
1 answer
48 views

Confusion regarding simulation in Simulink?

Please check the attached snap especially the portion in red marked area, which is simulation stop time and it has default value of 10? Is it 10 second or any other unit? According to my experience, ...
DSP_CS's user avatar
  • 1,161
0 votes
1 answer
299 views

Quick PMSM FOC PI controler design

For a Simulink Model I am looking for a quick and easy way to estimate PI-controller parameters for a speed control loop and Id and Iq controler of a PMSM using FOC. I don't have a real motor just the ...
hanss's user avatar
  • 147
0 votes
0 answers
145 views

Actuator using a BLDC motor simulation

I need to represent an actuator which is using a BLDC motor in Simulink, for my Bachelor's Degree. I don't specialize in electrical engineering, but in mechanical engineering, so I'm at a loss here. ...
David Drăghici's user avatar
1 vote
0 answers
370 views

What is the Z transform of the discrete PI control model?

I have a discreate PI controller implemented in stm32 MCU, it has the following form: $$ PI=K_p\cdot[r(t_i)-y(t_i)] + (K_I)\cdot\sum_{n=0}^{i}[r(t_n)-y(t_n)]\cdot\Delta t $$ where \$r(t_i)\$ is the ...
zymaster's user avatar
0 votes
0 answers
230 views

How to simulate GaN (Gallium Nitride) Mosfet circuits on Simulink?

I am doing a research on GaN devices and comparision of their performances in DC DC converters as compared to Si devices. The issue that I am facing is that I can't find a way to simulate them on ...
Lakshman's user avatar
1 vote
0 answers
157 views

DC motor specs from performance curve

I'm trying to get a motor into a simulation (I'm using Simulink) but I don't have all the specs. It is a 23 pole pair outrunner BLDC motor with 1600W and the performance curve is the following: I ...
Leugim's user avatar
  • 35
0 votes
1 answer
83 views

pulse generator MATLAB

How to create a rectangular waveform with amplitude 18 to -3 using pulse generator? If I put 18 as the amplitude then the wave is between 18 and 0. How do I change that to 18 to -3?
Gayathri Narayana's user avatar
0 votes
0 answers
67 views

How to obtain a bode plot for this circuit in Matlab online version

So I've an electrical circuit in matlab as follows: I've already setup the points of linear analysis. But I can't the option for linear analysis in the linearization tab. The problem is that I cannot ...
Zipho Lunika's user avatar
0 votes
0 answers
119 views

Three-Phase Thyristor Bridge Converter Simulation on Matlab

I am looking for a 24 pulse rectifier to power an electrolyser using a universal thyristor bridge from matlab. I am using a phase shifting zig zag transformer for this. The transformers are shifted by ...
Pouemy's user avatar
  • 1
0 votes
1 answer
165 views

Simulink question: How was this response obtained if the input is zero?

If the input is zero here, how was the response on the right obtained? Also, how was gain block changed to equal to τ? Please note this is a first order system with the equation dx/dt = 1/τ(u-x)
Zipho Lunika's user avatar
1 vote
0 answers
172 views

How to do Phase Resolved Partial Discharge (PRPD) analysis using MATLAB and Simulink?

I've been asked to simulate a model in Simulink for Phase Resolved Partial Discharge (PRPD) Analysis for an input signal and store the output data from the model in a file (in txt/csv/excel format), ...
Pratyush Ghosh's user avatar
0 votes
0 answers
95 views

Solar Panel Tilt Angle Transfer Function of Solar Tracker with Electro-Pneumatic

I have a project about single axis solar tracker control system simulation based on PID Controller with simulink. So far, I already manage to derive transfer function for the actuator (electro-...
Fauzan Hardy's user avatar
0 votes
0 answers
189 views

Simulink boost converter problem

I am working on a Boost converter model in Simulink for a school project. The model should resemble charging a battery(18V) with a 12V DC voltage source and a boost converter. With the internal ...
hakam zoubi's user avatar
0 votes
0 answers
48 views

Boost converter - Different value for change in duty cycle causing oscillations and sub-optimal performance

I'm trying to simulate an MPPT system in Simulink. The algorithm is working fine in hardware, but when I'm simulating on Simulink I have an issue. When I change the value of delta duty_cycle (i.e. the ...
Dark Sorrow's user avatar
1 vote
0 answers
108 views

Analog Circuit Modelling in Simscape (Simulink) doesn't work (No Input sighted)

I tried rebuilding the analog circuit for the Lorenz Attractor in Simulink using Simscape toolbox. Luckily they have also an analog multiplier circuit built-in and I re-wired everything just as the ...
johnny_1010's user avatar
0 votes
0 answers
55 views

Why is the filter output not in sin form?

The lowpass filters I created with the Matlab fda tool are different from the sinus form in the simulation. What could be the reason for this?
sezi's user avatar
  • 1
0 votes
1 answer
142 views

Buck converter confusing output voltage waveform

I've constructed a simple DC-DC buck converter circuit in Simulink with ideal components. I'm getting a weird output voltage waveform. Although the average output voltage matches my calculations, the ...
Ash's user avatar
  • 23
1 vote
1 answer
499 views

Diagram of a simple charge/discharge model of a battery powered by a solar panel with a DC motor load in Simulink

I want to simulate in Simulink a simple electrical system of the following nature: there is a battery powered by a solar panel and a DC motor load. For example, during the day, the solar panel ...
ayr's user avatar
  • 117
0 votes
0 answers
77 views

Why is the voltage rising when I expect a voltage drop in my model?

matlab model In the model, I have four blocks each with three homes. I am feeding the homes with a three phase voltage source. On the way to homes there are resistors and inductors so I expect ...
electronic guy's user avatar
0 votes
0 answers
129 views

How do I model switches in Matlab/Simulink?

I am trying to model different types of switches in Matlab/Simulink. There is this type of switch that I can't find a name for or design. I am not an expert in digital logic, I only have the basics ...
tt40kiwi's user avatar
  • 101
0 votes
1 answer
145 views

How is the transfer function block in simulink labelled as linear ? especially for the cases where variable 's' has power greater than 1

https://www.mathworks.com/help/simulink/slref/transferfcn.html Above weblink gives description about the transfer function block in simulink. I am confused why it is written in the description at top ...
DSP_CS's user avatar
  • 1,161
1 vote
1 answer
408 views

How to get started with phase locked loops?

I was given a project to simulate a phase locked loop system. So far, I have only understood the very basic idea of how it works (not the maths behind it.) I want to play around with testing each ...
Rima's user avatar
  • 133
0 votes
0 answers
78 views

Modelling two real capacitors in parallel

I am currently trying to model parts of an electronic system in Simulink using standard (discrete) blocks. I'd like to model two capacitors connected in parallel incl. their series resistances (ESR). ...
MoTex_42's user avatar
1 vote
2 answers
494 views

Do I need a buck or a boost converter to charge a lithium battery with solar and wind energy?

I am doing a school project in Matlab Simulink to design a battery charger. I need to use solar and wind energy to charge the batteries. Since both solar and wind are not always constant voltage and ...
Wal Os's user avatar
  • 11
0 votes
1 answer
82 views

Why am I not getting proper output response in Simulink?

I am trying to implement PID control loop for flight control of Quanser VTOL(vertical take off and Landing system) in Simulink. VTOL Information book is placed at link below: https://www.mediafire.com/...
DSP_CS's user avatar
  • 1,161
1 vote
1 answer
267 views

How to change a pure (ideal) differentiator system into a practical one using MATLAB/Simulink?

A pure/ideal integrator has transfer function H(s)= s. If we try to get its step response in MATLAB we get the error "Cannot simulate the time response of models with more zeros than poles"....
DSP_CS's user avatar
  • 1,161
0 votes
2 answers
2k views

How to find natural frequency from graph/plot of MATLAB Simulink?

I have compared my transfer function with standard characteristic equation of a 2nd order system and I found out that my natural frequency is 3 radians and damping ratio (zeta) is 0.5 but how can I ...
DSP_CS's user avatar
  • 1,161

1
2 3 4 5