**Statistics**

RANK**827**

of 284,626

REPUTATION**80**

CONTRIBUTIONS

**3** Questions

**35** Answers

ANSWER ACCEPTANCE **
33.33%
**

VOTES RECEIVED**10**

RANK**3,633** of 19,219

REPUTATION**399**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **366**

ALL TIME DOWNLOADS**2744**

RANK

of 137,395

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

Frequency Response Analyzer

Perform frequency analysis of your Simulink model without linearization

3 months ago | 366 downloads |

PV MPPT Tracking Failing PV Array Current or Volatge Goes negative

Hi Ishaan. I found that a perturbation of 1% (Constant2 with value of 1) was too large in the controller. If you reduce the Cons...

1 year ago | 0

| accepted

Model error in Simulink

It is having problems simulating an ideal op amp with infinite gain. If you intend on configuring the LM386 op amp as an invert...

1 year ago | 0

create a variable that changes its value(polynomial equation) for different time periods

Maybe something like this.

1 year ago | 1

Adding noise to a PID signal

Hi Nathan, You can use the lsim command to get a general response of your controller. I think you want to see the response when...

1 year ago | 0

Question

Why the different response of two Simulink models?

Here is a follow-on question to this original question: How can I remove the few peaks before the overshoot, so I only have the...

2 years ago | 0 answers | 0

### 0

answersHow can I remove the few peaks before the overshoot, so I only have the overshoot peak and then it directly transition into steady state?

My bad. Change I to 300.

2 years ago | 0

How can I remove the few peaks before the overshoot, so I only have the overshoot peak and then it directly transition into steady state?

Hi Samuel. I found tuning the derivative to be difficult too. Eventually I settled in on P=3.5, I=850, D=0.01 and N=850. The def...

2 years ago | 0

| accepted

Can you let me know how to solve my errors? there are 4 errors in my simulink.

You had two issues. One was the integrators in Current_Controller were implimented using the Memory in the feedback path causing...

2 years ago | 1

| accepted

Data type mismatch error in Simulink

I saw a number of other issues in this model. 1) I think the inverter needs a ground reference added on the emitters of the low...

2 years ago | 0

| accepted

I need more explanations for the described hydraulic simulation

The pump in this model acts in a fixed displacement mode that produces a given flow rate regardless of its output pressure. When...

2 years ago | 0

Filter background from audio file

Check out this previous answer. A different type of owl, but the same concept. Using Spectrogram to Design a Filter - (mathwork...

2 years ago | 0

Simulation of the step response of a time delay system with a PID controller is contorted.

Those sharp transients in the closed loop response are the echoes of the step input as filtered by the transfer function that ar...

2 years ago | 0

3rd Order ODE on Simulink

I approximated the required doublet input into an update to my comment with a summation of two very short pulse generators.

2 years ago | 0

Why is my step response going down instead of up?

I would focus on your equation for zeta on line 60. It is resulting in a negative value (negative damping=bad!) which gives unst...

2 years ago | 1

| accepted

An electric circuit that includes a voltage source E with an internal resistance r, and a load resistance R is shown in the figure.

Probably late for your homework assignment. Can you write the equation for the power dissipated in R leaving R as a variable? Do...

2 years ago | 0

Unexpected noise in output voltage for buck converter

The Puse Generator has a period of 1/100000 seconds, which is injecting 100 KHz pulses into your system. The ripple is simply th...

2 years ago | 0

Reproduce electric motor maps as images in Matlab Simulink

A similar question was answered suggesting importing the image into Matlab and then using ginput to extract coordinates of the a...

2 years ago | 0

Determining time elapsed in between two successive pulses of a signal

I updated your code a bit and fed in an artificial signal. It works but has a slight error due to loop delays running on my comp...

2 years ago | 1

| accepted

How best to gather signals from all over a SIMULINK model to one subsystem

I moved your root model into a subsystem and used Bus Element Out(s), which was then connected to a new input on "get data" subs...

2 years ago | 0

A question about FOC current control for PMSM

The decoupling control is not quite correct for the PMSM motor you are using. You need to insert a multiplier by the number of p...

2 years ago | 1

| accepted

How to measure the steady state amplitude of a control system output

Try using this app. It injects a sine wave and measures the gain and phase after a number of cycles that you specify. https://w...

2 years ago | 0

How to programmatically know if a block is a sink block?

I had to add some complexity to your code to make it work on my sample file. modelfile = 'SinkXY';% Or whatever your model file...

2 years ago | 0

Need help with simple Simulink

This seems to do the trick. It produces the following result.

3 years ago | 1

| accepted

Simulation of a missile valve with Simscape

Hi Tom, A flip-flop will latch the valve shut once the flow reaches the threshold and keep it shut until you manually reset it....

3 years ago | 1

| accepted

Coding philosophy : Is using global goto like using a global variable?

The thing about global visibility is that this signal can be accessible anywhere in the entire model, from sub-system to sub-sys...

3 years ago | 1

Calling a function using ode45 in App Designer results in unrecognized function

Note that I had answered my own question.

3 years ago | 0

How make single block diagram with this given parameters?

Hi. If you are using a Transfer Fcn block and have the coefficients defined in your workspace, then enter the equations in the b...

3 years ago | 1

| accepted

Frequency domain to Time domain Using IFFT : Symmetric figure problem

Your function produced a vector of complex numbers called "A". The original sequence will be reproduced using ifft(A). But the f...

3 years ago | 0

Substitute s for jw in a transfer function

Matlab uses the reserved constant "i" which is set equal to sqrt(-1). Using your transfer function as defined try the following...

3 years ago | 0