Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
43 views

Transmitting power through Push-Pull converter [on hold]

simulate this circuit – Schematic created using CircuitLab I have a circuit in Simulink that consist PV array and push-pull converter. The load is a simple resistor and with MPPT I extract the ...
2
votes
0answers
13 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
57 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
0answers
21 views

stm32 cube mx vs matlab simulink

I am a begineer to stm32 it has been two months since I began using STM32 for prototype building. I am currently doing a project which involves DSP. Today I came across an application notes in stm32 ...
0
votes
0answers
40 views

Why does my battery boost converter have such a large overshoot and take so long to reach steady state?

I am trying to simulate a lead-acid battery with a boost converter to a 150 ohm load in simulink but the load voltage has a massive overshoot and takes about 0.5 seconds to reach steady state, as you ...
0
votes
0answers
48 views

Simulink Matlab : model

I am a beginner in MatLab Simulink and would like to create electrical model with Simulink model with PID controller, but I couldn't find some model in my figure for "springs" and "hard limits". ...
0
votes
1answer
70 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(...
0
votes
0answers
15 views

Problems in simulating current model flux observer

I want to estimate rotor flux in 3 phase induction machine using Blaschke's equations. Here's the current model I'm suppose to simulate.:. I have to simulate this thing, I successfully obtained iqss ...
0
votes
0answers
9 views

Connection of Solar Array in Series in Matlab Simulink environment

I need to simulate a solar photovoltaic feed induction motor system. I need to connect 12 solar array/module connected in series to increase open circuit voltage. I have modeled a solar array of 36 ...
1
vote
1answer
102 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
84 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 ...
0
votes
0answers
54 views

how to edit the signal name of scope?

I used the Using the PLECS Scope to edit the scope but when it comes to the name of the signal I could not change even though I double-click on it and tries many times, is there any way to change the ...
0
votes
1answer
54 views

Triggering the thyristor for the single phase AC voltage controller in MATLAB

I have been trying to study the output characteristics of a thyristor based single phase AC voltage controller through the model in the picture attached. Could anyone tell me what I could do to ...
3
votes
1answer
138 views

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....
0
votes
1answer
29 views

how to increase the size of value of XY axes in simulink scope?

as you have seen, I want to increase the size of the value shown in the x and y axes so it can be seen in the report,if you look at this figure, we barely see the value best regards
0
votes
0answers
42 views

How to plot a Nyquist Diagram in Simulink?

I can get the impedance in powergui,and I want to plot a Nyquist with this impedance
0
votes
0answers
28 views

Power source with buck converter, load and supercap

I have the following circuit created in MATLAB Simulink: I have a power source (Vfc,Rfc) on the left. Its operating point is set by using a buck converter (mosfet,diode,L,C1), which controls the ...
1
vote
1answer
107 views

How do I make a CPE (constant phase element) with Simscape language?

I want to use a CPE in my circuit, but I can't find a CPE in the Simscape library, so I want to make a CEP with the Simscape language. What can I do? I just want to build this circuit,like the picture,...
0
votes
2answers
70 views

shifting signal in simulink

I would like to know how to shift a signal in Simulink. The case is I am using PWM generator(DC-DC) and the input D is from a lookup table,a sine wave. From the PWM generator block i am taking the ...
0
votes
2answers
67 views

Is it possible to speed up Battery simulations with power converters in Simulink?

I am facing a huge problem with real-time analysis of a PCS simulation. I want to simulate a power converter system, which can be used as a power converter. I have to do an accelerated simulation with ...
2
votes
1answer
59 views

What is the correct way to measure DC power at the output of a boost converter in a Simulink simulation?

I modeled a DCDC boost converter, and I would like to measure the power at the output of the converter, I do not understand much about simulation times, sampling, and this sort of thing, so I do not ...
1
vote
0answers
97 views

Low frequency PWM Brushless DC Motor Speed Control

I am programming a L293D motor driver with a BLDC motor to spin at speeds of 60-300 RPM. It is for a hybrid drone/car where I want the motors to spin slowly while having the necessary torque to drive. ...
1
vote
0answers
84 views

Circuit Breaker Simulation in Matlab with Mayr and Cassie Equations

I'm trying to understand how to model arc circuit breaker. There is a simulation example as called Mayr and Cassie Circuit in Matlab&Simulink. I have examined Mayr and Cassie Differential ...
1
vote
1answer
82 views

Why simulink step response differs from matlab's step function?

step response is different in simulink showing oscillatory behavior unlike in matlab step function Transfer function Step response Block diagram in simulink Simulink scope
0
votes
2answers
55 views

Why should I specify a 'pulse width' when firing a thyristor rectifier/inverter?

If I'm correct, the controller will send a gate signal to this bridge (6-pulse or 12-pulse) and even if it sends them with 1 degree of width, the thyristors must close until the current through it ...
1
vote
0answers
60 views

Struggling to figure out why this capacitor voltage is huge

As you can see in this image from simulations on Matlab-Simulink: I'm tracking the blue signal (reference current) using this circuit Which is in this 400 kV HVDC link as "Snubber". So basically ...
0
votes
0answers
22 views

DSTATCOM Placement, reactive power appears to have greater affect on bus voltage when moved further away?

I have created a simulink model of a residential LV Distribution Network, with 14 buses, various loads and PV Solar injection on some of the buses modelled as constant real power injection. The ...
2
votes
1answer
72 views

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 ...
0
votes
0answers
32 views

If a current from a 12-pulse rectifier pass through this circuit, should the capacitor absorb energy?

I'm trying to give a "triangular" form to the incoming current like this: Where the yellow signal is the reference and the cyan one is the actual current. However, in order to track this current I ...
0
votes
0answers
36 views

Why output voltage of a 12-pulse rectifier oscillates with a resistive load?

I'm simulating a simple 12-pulse rectifier with just a resistive load at the output and altough I get every pulse, it seems that they are oscillating if I zoom out the signal. This is the system I ...
0
votes
2answers
30 views

Sine Function on Simulink

I'm trying to add the following function on my Simulink model. where C, B, and N are already variables in my file. Is the correct way to multiply omega by the gains 3N and N/2 an input that into the ...
0
votes
1answer
17 views

Transforming from abc reference frame to the qd0 variable reference frame?

I have been working on transforming variables from the abc reference frame to different qd0 frames of reference, such as the stationary reference frame, the synchronous reference frame, and the ...
0
votes
0answers
21 views

Model BLDC Motor Disturbances

I'm doing a flywheel attached to bldc model, and I'm applying disturbances to it. I want to model torque ripple and cogging on Simulink, but I can't find a formula for it. Does anyone know where I can ...
0
votes
0answers
48 views

how can i pipeline feedback loop without functionality corruption?

I have a design in simulink that contain several arithmetic logics in a loop that limited the overall frequency of the design. how can i pipeline feedback loop without functionality corruption? I've ...
0
votes
0answers
41 views

Pso based Maximum Power Point Tracking

I am in trouble with MATLAB FUNCTION while getting V and I from block input and use it in FOR LOOP and output D for boost converter. I write a PSO based MPPT for a pv array in MATLAB FUNCTION block ...
0
votes
0answers
86 views

Why if I change the sample time in Matlab/Simulink modifies results in a huge way?

I'm having trouble with the circuit I'm studying but in order to modify some values, I want to get out this question of my mind. * Example 50e-6 * Example 50e-7 * Example 50e-8 I use a S-Function ...
1
vote
1answer
273 views

Issue with “Simulink does not support code generation”

I have something similar to this simplified following block diagram on Simulink. It looks rather messy. I want to replace a 3-point summing block with a function block, while keeping the same ...
0
votes
0answers
60 views

Design and simulation of snubber and hysteresis current control

I want to do an hysteresis current control with this circuit: that have three operation modes: in order to make the output current to follow a triangle wave as reference. I made a simple C code to ...
0
votes
0answers
62 views

How to implement if else using Xilinx block-set in Simulink?

I am implementing a multi-reference PWM for a multilevel inverter. I am using Xilinx block-set for simulation. I need to use if else statement. Is there any method ...
0
votes
2answers
78 views

short pulse suppression

I'm looking to build a component (simulink) that cuts off short pulses in a digital signal (that has a varying pulse length). Does anyone have an idea? I thought about using an integrator and ...
0
votes
1answer
54 views

0 to 2 VDC to 4-20 mA using OP07

I am trying to build a curcuit to convert 0 - 2 VDC to 4-20mA using two OP07.. I have designed the circuit in multisim as in the attached file. I have also developed the circuit on the general ...
0
votes
2answers
105 views

Using of matrices in simulink block diagrams

All simulations I've done in simulink as yet have not matrix in their block diagram like the following picture : and they have block diagram structure like : for simulating a system that has ...
0
votes
0answers
52 views

Can MATLAB HDL coder support LUTs for native floating point mode?

I'm trying to implement HDL coder in Simulink to convert a subsystem to HDL which takes 2 inputs for a 2D lookup-table (LUT) and outputs one signal. This works fine if the data type is fixed point, ...
0
votes
0answers
29 views

What is the limit of sample time beyond which a simulink circuit's hardware implementation is not possible?

I have created a charger circuit in simulink consisting of a PFC rectifier and a DC-DC converter with a total of 3 PI controllers. The sample time during simulations is 5us. This sample time gives me ...
0
votes
1answer
82 views

Simulink “ideal switch” block changes output unexpectedly

I am attempting to simulate a DC motor circuit on Simulink. I have built the block diagram mainly according to a tutorial, and am confused about an aspect of it. The main circuit has a DC power source ...
1
vote
1answer
54 views

Manipulating Amplitude and Axis of symmetry of BUBBA oscillator in Simulink

So far i have a bubba ocsillator that can produce smooth sinusoidal waves, but the output waveform is asymmetric about the y-axis and the amplitude is not 1. What exactly do i need to do to :- Make ...
0
votes
1answer
63 views

DC Motor : Torque relationship to speed

In Matlab/Simulink there is an example of a DC Motor (power_dcmotor) I can not understand how it converts the speed w (rad/sec) to Torque TL (Nm) It says:" Torque is proportional to speed; TL=Bl*w "....
0
votes
1answer
87 views

Nonlinear time dependent equation in simulink [closed]

My question is about time varying nonlinear equations in simulating of them in simulink. in nonlinear time independent equations x,Dx,D^2(x) are made with multiple integral block like the picture in ...
0
votes
1answer
137 views

Analog Phase Locked Loop Design

I am trying to design a phase locked loop in MATLAB's Simulink. For this, I am following this basic block diagram design: My original message signal is ~12 seconds long, has a bandwidth of ...
3
votes
1answer
54 views

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. ...