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
0 votes
1 answer
51 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
0 answers
40 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
32 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
20 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
  • 703
1 vote
0 answers
115 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
33 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
45 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
55 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,219
0 votes
0 answers
51 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
85 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
  • 13
0 votes
0 answers
26 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
92 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
21 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
341 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
25 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
0 votes
1 answer
106 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
53 views

Solver settings for buck converter simulation in simulink

I am trying to simulate a buck converter in simulink to operate at a 200 kHz switching frequency. The compensator settings that I am using are shown below - The desired input and output voltages are ...
Anurag Hegde's user avatar
0 votes
0 answers
23 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
0 answers
31 views

simulink model where series capacitor is used as facts device

I have no clue what is going on in the following simulink model. I don't know how to give the input, check which scope for the output, nothing. I have no clue where the series capacitor is being used ...
Akshay Kumar's user avatar
0 votes
2 answers
115 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
0 answers
86 views

Simulink sample time error when modeling analog circuit

I’m trying to model a CMOS inverter as an ANALOG device (and, as far as I can tell, the input signals are all continuous time blocks), but I keep getting an error about sample time, which is weird ...
Mikayla Eckel Cifrese's user avatar
0 votes
1 answer
47 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,219
0 votes
0 answers
33 views

Simulink question about a electrotechnical system (simple autonomous vehicle)

I am rather new to all the simulation work and its complex applications. I have been tasked to work on a rather complex project that is creating autonomous vehicle digital twin and then anayaize how ...
Ah.'s user avatar
  • 1
0 votes
1 answer
201 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
117 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
321 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
187 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
135 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
71 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
57 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
102 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
132 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
143 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
74 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
163 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
45 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
92 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
54 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
113 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
336 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
73 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
116 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
134 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,219
1 vote
1 answer
285 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
73 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
408 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
79 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,219
1 vote
1 answer
209 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,219
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,219
1 vote
1 answer
62 views

Confusion regarding proportional control?

https://www.mediafire.com/file/30bw1s5uw8fexu6/VTOL+help.pdf/file From above link, I was reading a manual about QNET VTOL (Vertical Take off and Landing) trainer and I came across a the task/question ...
DSP_CS's user avatar
  • 1,219

1
2 3 4 5