**Content Feed**

已提交

Frequency Response Analyzer

Perform frequency analysis of your Simulink model without linearization

14 days 前 | 228 次下载 |

已回答

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

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 前 | 0

| 已接受

已回答

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

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 前 | 0

已回答

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

Maybe something like this.

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

Maybe something like this.

1 year 前 | 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...

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 前 | 0

提问

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

1 year 前 | 0 个回答 | 0

### 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?

My bad. Change I to 300.

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?

My bad. Change I to 300.

1 year 前 | 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...

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

1 year 前 | 0

| 已接受

已回答

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

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

1 year 前 | 1

| 已接受

已回答

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

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

1 year 前 | 0

| 已接受

已回答

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

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

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

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

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

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 前 | 1

| 已接受

已回答

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

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

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

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

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 前 | 1

| 已接受

已回答

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

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

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 前 | 1

| 已接受

已回答

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

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

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 前 | 0

已回答

Need help with simple Simulink

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

Need help with simple Simulink

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

2 years 前 | 1

| 已接受

已回答

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

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

2 years 前 | 1

| 已接受

已回答

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

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

2 years 前 | 1

已回答

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

Note that I had answered my own question.

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

Note that I had answered my own question.

2 years 前 | 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...

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

2 years 前 | 1

| 已接受

已回答

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

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

2 years 前 | 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...

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

2 years 前 | 0