Suppose you periodically receive samples of a periodic waveform at fixed instances in time Δt. It is known ahead of time that the periodic waveform will have a fundamental frequency component of 50Hz or 60Hz, but perhaps with some higher order harmonics present.
What is the easiest way to go...
Hi Dr. Courtney,
Thanks for your reply.
If I'm going to use a plane, then I need some mechanism to decide which three points I am going to use to define that plane. Also, for there to be a solution, the three points I select cannot lie on the same line either.
Do you have any ideas as to how...
Hello,
I am writing a program for a two dimensional look up table. The idea is that the user will enter values for x and y and the program will look up the corresponding output value from the table.
For example, consider the table shown below.
For this table, if the user enters x = 2 and y...
Hi Don and Hesch!
It seems I didn't attached my hand written notes to my previous post, so I'll attach them now. Please see the attached pdf.
Also, the portion inside the block that outputs Vq is a Clarke to Park transform. It looks like this,
I tried to write the program in a flexible way...
Hello,
I've still been working on this problem for the past couple days and feel as though I've better expressed my concerns in the post below.
Let's start over.
Evening gents,
I wrote a program that executes the following control diagram. The contents of the orange box titled, "Orthogonal...
Hi,
Below I've included a more detail diagram of the controls, and another sketch of the control diagram.
If I can convert this into something similar to the diagram shown at the bottom of the figure, then I can do some analysis such as root locus or by using MATLAB to make a sensible choice...
Hello,
I've written a program that executes the following control diagram.
Now I am trying to calculate the PI controller gains such that I can achieve a settling time of 0.06s and a damping factor of 1.
How can I do this?
I tried sketching a control diagram of the relevant portions...
Here's my first attempt at writing some code. I'll show the header file followed by the actual code file.
Header file:
/* DO NOT EDIT THIS FILE */
MODEL_TYPE: CTL
#define PI 3.1415926535897932384626433832795 // definition of PI
#define TWOPI...
Because it may also be used in some controls applications where the frequency of the input signal is not 60 or 50 +- 0.1 Hz.
I need the fundamental component. The reason I was given is that this is a commonly used index in a variety of applications.
The output must be updated after every...
To simplify things, let's limit the frequency range between 0.1Hz < f < 1000Hz.
The signal is likely to be a voltage or current from within a power system. At this point I am unsure what level of noise will be present, but perhaps knowing that the signal is coming from a power system context...
I am trying to make the program work for the most general set of signals possible, so I'm intentionally not making any assumptions about what is known about the frequency range or noise in the input signal. The one limitation that is known is that the maximum rate at which I can sample the input...
Assume we have an unknown peroidic input signal that we can obtain samples of every 50μs timestep. (We have the ability to access the input every 50μs timestep, that doesn't mean we HAVE too)
Assume that we know beforehand that the fundamental of this input signal equivalent to...
We are preforming the calculation every 50μs so the results appear in "real-time". This means that if the periodic waveform suddenly changes the RMS of the fundamental will change with it.
Does the problem become more manageable if I have the user provide the frequency of their periodic...