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
0answers
10 views

How to add RF port in Simscape?

I am using MATLAB to find the S-parameters of a RLC network. To construct the network, I need to add input and output RF ports with 50 Ohm impedance. I could not find it in the Simscape fundamental ...
0
votes
1answer
32 views

Sawtooth to Straight line in Simulink

There is a component in LabVIEW called as "Inverse Modulus". It is used to eliminate the discontinuous jump that would occur when the DAC encoder of the hardware reaches the limits of this range. ...
1
vote
0answers
20 views

TMS320F28035: Simulink model for the SMO or eSMO block used for sensorless FOC of PMSM

I am a student of BITS Pilani, Hyderabad Campus. I am currently doing my summer internship at Analogics Tech India Limited - Hyderabad. I am working on a project to create a Simulink model for ...
0
votes
2answers
79 views

Pulse generator in Simulink Matlab

I want to generate a pulse in Matlab Simulink fixed point solver. The step size in the Simulink fixed solver is 1e-06, but I need a pulse width of 2e-08. The figure shows the clear requirement of ...
3
votes
4answers
794 views

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

Identification of Simulink symbol

This model has the symbol, shown below. I cannot locate it in the Simulink tools. Can someone help me to identify this part?
0
votes
0answers
49 views

Simulation/modelling of a RFID system (reader, antenna, tag)

The input parameters for the simulations are: Area of environment where the RFID system will be placed i.e. in a rectangular space. Number of antennas. Number of passive tags within the environment ...
0
votes
1answer
75 views

How to implement low pass filter in the differential part of PID in time domain

I programmed PID in MATLAB: ...
1
vote
0answers
32 views

Values got from programmed PID are different from ones simulated in Simulink

Please also read Update I created a PID simulation in Simulink: where the Step block is set with parameters: ...
0
votes
0answers
17 views

Help with modeling a 6-phase motor in Simulink

I'm not sure if I'm posting in the right subsection, however I've recently started working on a project. I have little background on the subject. I've a degree in electronics which mainly focused on ...
1
vote
1answer
58 views

PWM Controller for known f(t)

Suppose I have some signal input which I know. The signal is 85 seconds long and its not something I can describe with equation but It looks as follows: Now, I have made a simple PWN controller that ...
0
votes
0answers
27 views

Adjust LQR weights to improve battery runtime in two-wheeled-inverted pendulum

I'm currently doing a controls project involving a self-balancing robot(or two wheeled inverted pendulum). I have been able to stabilize the system with the use of PID and optimal state feedback. ...
0
votes
0answers
191 views

Using LTSPice to make Function Blocks for SIMULINK

I have a PLL that I want to model in Simulink using the control theory toolkit. I have the schematics for the PLL in LTSpice. Does anyone know of a way that I can integrate the spice model with my ...
-2
votes
1answer
59 views

using IC in Matlab [closed]

I dont understand how to simulate circuits which contains IC's(like lt680xx or IC 555 timer).is it even possible to use them in matlab simulink?If yes, how can we do it?
1
vote
1answer
32 views

Temperature dependence of the energy bandgap and Simulink way

I know the equation about the temperature change of band energy but Simulink must find another way to define it like below. dEg=-2.677 10^-4 I can't find a single reference about that equation. ...
0
votes
1answer
55 views

“Hidden” variable in Simulink models

Some example models that are included in the Simulink library, there are some variables that their value is not visible. For instance, in the model power_PVarray_grid_det the sample time of the ...
12
votes
2answers
718 views

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 after <5% overshoot and <2s settling time. Currently, the ...
0
votes
0answers
56 views

How does using PWM generator to control inverter work in Simulink?

I am trying to model a PV system connected to the grid and use PWM generator to synchronize the inverter output with the voltage condition on Grid. I figure I need to use Three phase PWM Generator ...
1
vote
1answer
63 views

Discrepancy between MATLAB and Simulink closed loop response?

I have a closed loop system which I am testing in MALTAB and Simulink, expecting the same output. MATLAB ...
0
votes
1answer
40 views

PID motor controller using simulink semantic errors when changing reference values

My aim is to design a pid - motor controller in simulink, and i also have to use h-bridges and PWM generator. The motor is a single phase dc-motor. And the aim is to control the speed. The reference ...
1
vote
0answers
77 views

Understanding MATLAB function blocks in Simulink

Before I ask my question, let me explain what I'm trying to do. I want to design a simple system in Simulink with the features shown below. When I say simple is that I don't need complex and large ...
3
votes
2answers
249 views

Why does tracking different plant states result in totally different observer estimates?

I am trying to design a Luenberger observer (or a full state feedback observer) such that with one sensor available I can estimate all the states. A good tutorial is shown here. My system is 4th ...
0
votes
2answers
133 views

How to simulate the exponential growth op-amp?

According to Wikipedia, the following is the exponential output operational amplifier. I would like to test this out in a simulated environment and see how this functions. For example give a sine ...
0
votes
1answer
142 views

Simulate physical FM Transmitter circuit on Matlab Simulink

I am new to matlab. I was working on a simple modulator that I have to simulate. I've faced a problem with connecting the output frequency from the resonance circuit to the scope, A red dotted line ...
0
votes
0answers
52 views

How to resolve error in sending user data to USRP's SDRu transmitter function?

I'm trying to send user defined data over USRP board using SDRu Simulink blocks available. Following is the block diagram of my model: Basically right now I'm trying to use the USRP board as a ...
0
votes
1answer
91 views

Simulating a non-linear system in Simulink

I have a set of non-linear equations, which I would like to model in Simulink in order to compare to their linear counterpart. Here is the block diagram of my setup. The state-space block represents ...
1
vote
2answers
100 views

What is the output of a PID controller (or any controller in general)?

I'm new to Simulink and I'm trying to get my hands a little dirty there to get used to using it. I'm working on a speed control of a switched reluctance motor. The input signal is to be fed to a ...
2
votes
1answer
84 views

Comparing Responses for Linear and Non-Linear System in Simulink

I am going through and reviewing this unprofessional (I highlight a potential mistake in Section3.4) paper: Nonlinear Model & Controller Design for Magnetic Levitation System Specifically, I am ...
0
votes
1answer
54 views

How to plot response of a non-linear state space model in Simulink?

I am trying to plot a non-linear model in order to compare it with it's linearized counterpart. I am following this paper Nonlinear Model & Controller Design for Magnetic Levitation System and ...
0
votes
2answers
56 views

Matlab Three Phase System Model

I have a question regarding MATLAB Simulink if anyone is familiar with the software. I usually have no problems creating basic models like this one below: I know the image is rather small. It is ...
1
vote
0answers
181 views

Implementing PID in PWM feedback to lower the settling time

I have created the following simple PWM feedback: The step response is: I have tried to add PID controller and I ran the following code to test it: ...
0
votes
0answers
109 views

Problem opening a PLECS blockset in MATLAB

A friend of mine sent his simulation of a converter for which he had used PLECS. It is in the format "example.slx". I have MATLAB R2017b. I downloaded the PLECS block set for MATLAB and activated it ...
1
vote
0answers
34 views

How can I get/calculate simulink bldc parameters

I tried to get the parameters for a bldc simulation https://de.mathworks.com/help/physmod/sps/ref/brushlessdcmotor.html I tried to find a similar motor to the I need (500 W, 20-25 Nm, geared bldc) ...
1
vote
1answer
171 views

Creating smooth PWM response

By using PWM I have converted some signal to pulses and inserted it into transfer function of 2/(0.01*s+1) I then compared between the result of the original ...
0
votes
2answers
69 views

What is the error in my circuit in Simulink?

Please see the image below. I get this error when I try to run the circuit on simulink. Series RLC branch and Series RLC branch 1 refer to the two DC-Link capacitors of the inverter on the left side ...
2
votes
0answers
90 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
239 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
1answer
277 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(...
1
vote
1answer
346 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
465 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
68 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
216 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 ...
4
votes
1answer
1k 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
225 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
39 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
408 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
554 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
119 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
339 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
204 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. ...