Recent content by jegues

  1. jegues

    Determining the Fundamental Frequency Component

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

    Extrapolation for Two Dimensional Lookup Table

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

    Extrapolation for Two Dimensional Lookup Table

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

    Optimizing PI Controller in PLL for Fast and Accurate Frequency Detection

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

    Optimizing PI Controller in PLL for Fast and Accurate Frequency Detection

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

    Optimizing PI Controller in PLL for Fast and Accurate Frequency Detection

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

    Optimizing PI Controller in PLL for Fast and Accurate Frequency Detection

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

    Calculating RMS of Fundamental Component for Unknown Periodic Input Signal

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

    Calculating RMS of Fundamental Component for Unknown Periodic Input Signal

    Sorry NascentOxygen, but I haven't been given any information regarding the percentage of maximum power contained within the fundamental.
  10. jegues

    Calculating RMS of Fundamental Component for Unknown Periodic Input Signal

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

    Calculating RMS of Fundamental Component for Unknown Periodic Input Signal

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

    Calculating RMS of Fundamental Component for Unknown Periodic Input Signal

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

    Calculating RMS of Fundamental Component for Unknown Periodic Input Signal

    I specifically used the wording, above because this could mean a cycle later.
  14. jegues

    Calculating RMS of Fundamental Component for Unknown Periodic Input Signal

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

    Calculating RMS of Fundamental Component for Unknown Periodic Input Signal

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