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
36 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
33 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
15 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
  • 13
0 votes
0 answers
21 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
75 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
21 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
44 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,203
0 votes
0 answers
14 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
66 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
  • 75
0 votes
0 answers
71 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
0 votes
0 answers
45 views

SIMetrix simulation

Determine the true power dissipated in the load of a single-phase half-wave rectifier fed from a 220 V 50 Hz supply. The load resistor is 37 ohm. I'm getting an error during simulation on simetrix:-***...
mazon jack's user avatar
1 vote
0 answers
186 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
83 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
74 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
52 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
44 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
69 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
83 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
0 votes
0 answers
81 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
53 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
88 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
37 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
63 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
50 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
97 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
191 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 ...
dtn's user avatar
  • 117
0 votes
0 answers
65 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
102 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
111 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,203
1 vote
1 answer
140 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
  • 135
0 votes
0 answers
62 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
0 votes
2 answers
262 views

Do I need a buck or boost converter to charge a lithuim 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
  • 1
0 votes
1 answer
76 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,203
1 vote
1 answer
143 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,203
0 votes
2 answers
749 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,203
1 vote
1 answer
58 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,203
0 votes
1 answer
147 views

Simulate Schmitt trigger on Simulink

I'm trying to make the simplest circuit to see the Schmitt trigger behaviour on Simulink. I have the following circuit with the Schmitt trigger having the following options : Low level input voltage : ...
Hibou's user avatar
  • 101
1 vote
2 answers
166 views

Why is a step signal frequently used as a test signal?

Why do we use a step signal most frequently as a test signal in signal processing and control systems? What is the reason for not (frequently) using other signals? Especially in MATLAB and Simulink ...
DSP_CS's user avatar
  • 1,203
5 votes
1 answer
275 views

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 ...
Trev347's user avatar
  • 1,032
0 votes
1 answer
103 views

PI speed control of DC motor using a boost chopper simulation in Simscape [closed]

My project is to regulate the speed of a DC motor (fed by a chopper boost) with a PI controller, after calculating the different parameters of the chopper which are as follows: DC motor parameters: 5 ...
Mohammed Azz's user avatar
0 votes
0 answers
305 views

How to measure rising and falling edge of square wave using c-code block

I have a problem in understanding how to incorporate a c-code block in order to measure the rising and falling edges of a square wave signal in Simulink. I am using a signal generator to generate a ...
Pranoy Sanyal's user avatar
0 votes
1 answer
409 views

How to control position and speed of a motor in Simulink?

I am trying to make a system that can launch a ball kind of like how a catapult would do. I'm going to be using an Arduino and an H-bridge with PWM but I'm not sure how I can control both speed and ...
Spitfire's user avatar
0 votes
0 answers
107 views

Starting current of DC motor Simscape model does not match the datasheet of the motor

I have the datasheet of a brushed DC motor and I am trying to model it in MATLAB using Simscape blocks. I entered all the required parameters in the DC motor block but when I run the simulation the ...
Premkumar's user avatar
1 vote
0 answers
55 views

How to generate PWM from based on an AC signal?

I'm working on a project to improve the efficiency of the resonant wireless charging system. For one of the steps to do this, I need to find the phase shift between current and voltage and of \$I_{\...
Abdelhmid Rhim's user avatar
-1 votes
1 answer
135 views

Find the differential equation of a control system via its block diagram

I have this block diagram: I need to find the differential equation that represents the behavior of the control system, but I don't know what to do with the inner and outer feedback. I tried to ...
StrainGauge1Fan's user avatar
0 votes
1 answer
199 views

How would a modulated and demodulated signal differ in FM and PM? Simulink Simulation

I am trying to observe the differences of phase and frequency modulation. On the figure below, the left scope shows a frequency modulation and demodulation whereas the right scope shows a phase ...
Kalamakra's user avatar
  • 173
0 votes
1 answer
409 views

How to measure the voltage of battery while charging?

I want to design a battery charger. I need know the voltage of battery to calculate the state of charge (SOC) of it, but if I just put a voltage measure model in parallel, it will measure the charger ...
Mxc's user avatar
  • 9
0 votes
2 answers
66 views

Can anyone explain the role of some of these blocks in this PV inverter system?

I get the role of following blocks: 1)MPPT controller (is a matlab function code of Perturb and observe) 2)boost converter 3)H-bridge inverter and its PI controller. I don't get the role and working ...
Macroeng's user avatar
0 votes
0 answers
71 views

How to calculate the maximum load that a standalone PV system can handle?

I have a 6820W pv panel, a boost converter, a H-bridge inverter, a 48V 540Ah LI-ion battery, a 100ohm dc and a 100ohm ac load in my system. My question is what is the maximum load that this system can ...
Macroeng's user avatar
1 vote
1 answer
647 views

LTspice giving weird results in simulation of phase shifted full bridge converter

I am trying to simulate a phase shifted full bridge converter in LTspice. I had already simulated it in MATLAB Simulink and obtained the desired results, but I am redoing it in LTspice to include the ...
needbrainscratched's user avatar

1
2 3 4 5