Community Profile

photo

Pat Gipper


Array of Engineers

Last seen: Today Active since 2020

Statistics

All
  • 3 Month Streak
  • Personal Best Downloads Level 2
  • Revival Level 1
  • Explorer
  • First Submission
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

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

5 days ago | 1

| accepted

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

11 days ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 1

| accepted

Answered
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 months ago | 0

Submitted


Frequency Response Analyzer
Perform frequency analysis of your Simulink model without linearization

2 months ago | 26 downloads |

Thumbnail

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

7 months ago | 0

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

9 months ago | 0

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

10 months ago | 1

| accepted

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

11 months ago | 0

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

11 months ago | 1

| accepted

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

11 months ago | 0

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

11 months ago | 0

Answered
Need help with simple Simulink
This seems to do the trick. It produces the following result.

11 months ago | 1

| accepted

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

12 months ago | 1

| accepted

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

12 months ago | 1

Answered
Calling a function using ode45 in App Designer results in unrecognized function
Note that I had answered my own question.

12 months ago | 0

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

1 year ago | 1

| accepted

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

1 year ago | 0

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

1 year ago | 0

Answered
Sample and hold block (Simulink) - initial value dominates at t = 0?
I don't have the DSP System Toolbox so have replaced the Sampe and Hold with a Triggered Subsystem which exhibited the same prob...

1 year ago | 1

| accepted

Question


Plots are stuck on semi-log axis
I have created an app that plots on UIAxes either with a plot command or semilogx command depending on a switch value. But once ...

1 year ago | 1 answer | 0

1

answer

Question


Calling a function using ode45 in App Designer results in unrecognized function
In a private method function in App Designer I am using an ode45 call that refers to another function defined within the same ap...

1 year ago | 1 answer | 0

1

answer

Answered
pdepe problem (numerical vs analytical solution)
I don't think you were summing the terms of your series expansion correctly. The attached code carries out the expansion summati...

1 year ago | 0

| accepted

Answered
Assigning roots as variables to a function
The output of the roots function can be assigned to a workspace array variable and printed out as you wanted. See the simple exa...

1 year ago | 0

| accepted

Answered
I have two voltage sources and I would like to get equal V_out from both sources to allow for a parallel connection. Does anyone have a suggestion on how I can use the Average DC DC converter to achieve this?
Trying to place power supplies in parallel with each will cause great unhappiness. At best you might tie the outputs together th...

1 year ago | 0

Answered
Integrate a signal over the last x seconds
Using a combination of an integrator, transport delay and summer where you subtract the value of the integrator output from 30 s...

1 year ago | 0

| accepted

Load more