Rang
I've come across the term 'picket fencing' in the last couple of days in relation to spectral data and frequencies which fall off a bin.

I've attached the article, refer to page 2 of the pdf (p.19 of the article).

Has anyone used this term before? I'm assuming that is why the 'Z' key is used in MHM?

Also I found the article quite useful, it highlights the usefulness of the PeakVue Time Waveform and relying less on the spectrum for diagnosing bearing faults.
Reply 0 0
Walt Strong
If you want to know more about it:

Search: picket fence signal analysis

https://www.bing.com/search?q=picket+fence+signal+analysis&form=EDGEAR&qs=PF&cvid=d5f30425d3d24c5aace83d9a4d6ec06a&cc=US&setlang=en-US&elv=AY3%21uAY7tbNNZGZ2yiGNjfMiqM58i3FxGKJcb2auYXG9ksDuUIrEyd0Y3tfCAhY1I2aHX8AbQqzE3CCz4deQQzu4CsaT7J%21osPlKSH5qg53o


This term and many others related to signal analysis have been around for my 50-year career. I am glad you showed curiosity, interest, and initiative that seams to be in short supply these days![smile]

Walt

Reply 0 0
electricpete

Quote:
I'm assuming that is why the 'Z' key is used in MHM?

I'd say yes.  Using the Z key invokes frequency interpolation algorithm to overcome the discrete frequency step limitations which some people call picket fence effect. 


The meaining of picket fence effect from https://www.vi-institute.org/terminology is as follows:

Quote:
Picket Fence Effect

 

The FFT spectrum is a discrete spectrum, containing information only at the specific frequencies that are decided upon by setting the FFT analyzer analysis parameters. The true spectrum of the signal being analyzed may have peaks at frequencies between the lines of the FFT spectrum, and the peaks in the FFT spectrum will not be at exactly the correct frequencies. This is called Resolution Bias Error, or the Picket Fence Effect. The name arises because looking at an FFT spectrum is something like looking at a mountain range through a picket fence.

By a process of interpolation, it is possible to increase the apparent resolution and amplitude accuracy of the FFT spectrum by a factor of ten.

Note the last piece, by a process of interpolation it is possible to increase the apparent frequency resolution… by a factor of 10.   Personally I would use the phrase "effective resolution" instead "apparent resolution". In other words, we are generally getting a MUCH better estimate of the true frequency of a peak by applying frequency interpolation rather than using the bin center.   And pressing Z does that. 

Summary: Pressing Z applies that frequency interpolation algorithm to give you a better estimate of the frequency of the peak.

I would say this aspect is widely misunderstood or underappreciated in the vibration community.    My own personal journey in trying to figure out and explore this mysterious thing is recorded in this meandering thread (I'll see if I can dig up some of the spreadsheets).  It really impressed me to see how much accuracy in estimating a peak frequency is gained with frequency interpolation. If you are trying to get the best info from previously collected data to help what a particular peak really represents, it can really help to have the best frequency estimate available (using Z).  Of course it cannot overcome the limitations of the original bin width selection set up when the data was collected.  In other words it won't help use discriminate two close-together peaks whose actual spacing is a small number of bin widths.  (that requires using more lines and/or  lower Fmax during data collection to increase resolution / reduce the bin width ...which makes those peaks a larger number of bin widths apart).

Reply 0 0
electricpete
(I'll see if I can dig up some of the spreadsheets).
I dug up some of that old background attached, and I think it is worth revisiting because some aspects may not be widely understood.

Everyone learns in vib training that "frequency resolution" is limited by the data collection parameters (bin width, determined by Fmax and Lines) and after the data is collected there is nothing further you can do to improve frequency resolution of the FFT peaks shown at discrete frequencies (the output of the FFT is a number at each bin center, not a continuous function of frequency).

That is true within the narrow interpertation of "frequency resolution" as the ability to separate two closely-separated peaks...

BUT often we'd like to know the frequency of a peak as accurately as possible from the available data for better pattern recognition (not just for separating peaks). When we want the best frequency estimate for a single-frequency peak, we can do that a lot better using frequency interpolation (as long as there are not two closely spaced peaks).  Simply taking the frequency of the bin center which has the highest FFT output magnitude (which is what you do when you scroll with your cursor in AMS) is leaving a whole lot of data on the table and settling for an inferior estimate. Using the x or peak label feature invokes an interpolation algorithm which gives you a much better frequency estimate (as long as there are not 2 closely-spaced peaks present)

In fact, in the theoretical case where there is only one frequency present in the sampled data, the EXACT frequency can be determined on a continuos scale (not a discrete binwidth) using what I called a reconstruction algorithm. We can also approach close the exact frequency using zero padding. These techniques illustrate that we are not taking advantage of all available information if we simply pick a bin-center discrete frequency as our estimate.

In the real world, a simple quadratic interpolation is much simpler and still gives pretty good results. More specifically, a quadratic fit is done through three points (the highest fft output and one point on each side). The frequency of the peak of that quadratic fit can easily be determined (by differentiating the quadratic polynomial, setting that to 0 and solving for frequency which is where slope is 0 at the local maximum).  That frequency is used as the estimate of the spectral peak. This process takes advantage of the fact that the FFT represents a picket-fence sampling of a theoretical underlying continuous-frequency function, and that underlying continuous function has smoothness properties which make it amenable to being well appromimated by a quadratic function.

That's a lot of words, back in the day I also did some numerical excercizes to TRY illustrate the above princples. They are summarized in attached pdf which references calculations from attached spreadsheet. The spreadsheet has macros embedded, it may be difficult to run due to security limitations or other technical setup considerations. Honestly I wouldn't recommend anyone try to run it (it's not worth the trouble) but I post it for posterity in case anyone ever wants to recreate it. The practical results of the spreadsheet are given in the table within the attached pdf:
  • There are several different trials identified by a tab name (which corresponds ot the tab in the excel file).
  • The first five trials represented sinusoids at frequencies 74, 75. 76, 77 and 79.1 which were sampled (at 2000hz) and processed through a Hanning window function followed by a 512 point FFT resulting in 256 frequency bins (bin width 3.9hz), and then the frequency was estimated using quadratic interpolation. The results show an error estimate which is 1 to 5% of the binwidth (which is prettty good, considering that if you are using the highest bin as an estimate then you can get up to a 50% binwidth error depending on how the sinusoid aligns within the picket fence). I think that's the main takeaway.
  • The next two trials did the same thing except without the windowing and the errors at 76 and 77hz were 17% aand 22% of binwidth, which simply tells us that windowing helps the process (and in real world we will have windowing available in our software by default).
  • The last 3 trials simply prove that we can get even closer and indeed for the theoretical single-frequency example we can can get as close the true number as we want by expending more computation. I also did a quadratic interpolation at the end of each of those calculations to eek out a little more. The results are listed in the same column labeled "quadratic interpolation" but for these last three rows, there was a lot more calculation done as indicated by the left side column on those rows.
TLDR: Use your peak label feature to take advantage of frequency interpolation estimates. It will give better frequency estimates in all scenarios except when there are two frequency components very close together (in which case they can only be separated by retaking the data with smaller binwidth).
Reply 0 0
John from PA
I have to say, the author of the article, “Jack” Frarey, was one of the best in the business and always willing to share his knowledge.  I knew him well from when he was with Mechanical Technologies Incorporated (MTI) a large consulting firm in Schenectady NY.  By education he was a physicist and wrote dozens of papers on vibration analysis.
Reply 0 0
fburgos
Thanks for the contribution on the topic epete
Reply 0 0
Noknroll
Clyde Volpe used the Picket Fence Analogy in a training course
Reply 0 0
electricpete
I don't know Clyde but you're right to mention that the picket fence analogy is a good intuitive anchor.

At risk of overstaying my rambling budget, I'll explain the way I look at it by referencing standard transforms described on wikipedia
  • What we're intuitively interested in is the fourier transform (https://en.wikipedia.org/wiki/Fourier_transform). But the fourier transform maps continuos time to continuous frequency. We don't have continuous time to work with, we only have discrete time (time samples)...
  • If we only have discrete time samples to work with, then we have to use a thing called a Discrete Time Fourier Transform / DTFT (https://en.wikipedia.org/wiki/Discrete-time_Fourier_transform). The DTFT maps our discrete time samples into a continuous frequency function. The DTFT matches the Fourier transform only under the particular assumption that the underlying time sample is periodic with a period corresponding to the sample interval. It's a dubious assumption, but made less onerous thru selection of windows and other signal processing parameter selections.
  • Now we have to talk about a thing called the Discrete Fourier Transform DFT https://en.wikipedia.org/wiki/Discrete_Fourier_transform. The name sounds similar to DTFT, but there's a difference that the DFT outputs values at discrete frequencies. (rather than continuos frequencies like the DTFT). The relationship between DFT and DTFT is that the DFT output represents samples of the DTFT output. As stated by the DFT wiki:
    "The DFT can be regarded as transforming a finite sequence of equally-spaced samples of a function [our discrete time samples] into a same-length sequence of equally-spaced samples of the discrete-time Fourier transform  (DTFT)"
  • So by this point you may be annoyed at all these abbreviations... who cares about a "DFT" anyway? Well, DFT is just a new name for something we already know (the spectrum). Specifically the output of the DFT is the same as the output of the FFT (the FFT is simply a faster algorithm for computing the DFT). https://en.wikipedia.org/wiki/Fast_Fourier_transform
  • So there we have it. The spectrum on our analysers/computers is an FFT/DFT output which represents samples of a continuous-frequency DTFT, which itself the best approximation we can come up with (from discrete time samples) of the the continous fourier transform, which is what carries the intuitive meaning we often assign to our FFT output
  • If we look only at the FFT output, then we are looking at samples of the DTFT as if we're looking at the DTFT through a picket fence. Interpolation algorithms (peak label, x in AMS) allow us to remove the fence and see what's behind it to find the best estimate of the peak frequency.
Once again that's a lot of words, but Noknroll mentioned the simple name picket fence analogy which helps us remember that we're looking through a picket fence when viewing our spectrum (and interpolation helps us look behind it)
Reply 0 0
electricpete
To explain why I posted all this above...
 
I have observed a few people over the years who didn't understand that they could identitfy the frequency of spectral peaks more accurately using interpolation /peak-label (because they had been taught that the frequency resolution is limited by the bin width) including some who seemed otherwise pretty sharp in vibration analysis.  
 
I imagine that for some it is simple/obvious (just use the pickett fence as an analogy, and that's all you need). I imagine that for others it's a little mysterious (why exactly does that analogy apply). It seemed to me like something that was worth exploring from different angles because you never know which angle is going to "click" with someone else.  And yes there's some math terminology behind it because that's the nature of digital processing. As far as I know, people didn't dislike BF because of his math, they disliked him because (for some) he seemed to be condescending and disrespectful of others' opinions.
 
This was an old thread so this seemed like the logical place to discuss this subject without interrupting anyone else's conversation. As far as I'm concerned, the more vibration-related content on the site the better (as long as we're not stepping on each other). That was my reasoning, and I apologize if my approach rubbed you the wrong way.
 
I know you have a ton of experience to share and I've learned from you along the way some things about Siemens motor rotors and overhung fans. Please don't stop contributing on my account.  
Reply 0 0
Barry
 Pete that was covered in a class I attended at TAC. Sorry Pete I should have just said you don’t need an elephant gun to harvest a rabbit or in this case all that was needed was a strobe. It is one of the best tools to for
troubleshooting rotating equipment.
Barry
Reply 0 0
electricpete
that was covered in a class I attended at TAC
I think what you're saying is that this is something obvious which everyone should already know.
 
But what is obvious to one person is not always obvious to another. I have been on both sides of that statement myself on a number of issues (I hope most can relate to that feeling). On this particular issue of frequency interpolation / peak label:
  • Early in my career I couldn't really understand what this frequency interpolation was about and why it would improve the estimate (in the back of my mind I had the idea that the bin width was a fundamental limit, didn't realize that limitation was only for separating peaks), which is why I created a thread on eng-tips to explore it.
  • Later one of our local motor repair shop vibration analysts (Moye Wicks was his name) came to our site to help evaluate a low-level bearing defect symptom on a 1250hp vertical motor they had just refurbished. During our discussions about the frequencies, he expressed the opinion that any interpolation/peak label was worthless, the best frequency estimate you could get was looking at the highest bin center number. We went back and forth, but I don't think I ever did convince him. And he was otherwise pretty knowledgeable about vibration.
  • Somewhere along the line on one of these forums, the highly respected (by me and others) Walt Strong had expressed similar skepticism that peak label or interpolation could improve the frequency estimate beyond the bin center (feel free to jump in if I mischaracterized that, Walt).
  • And just within the last week or so, a newer forum member posted some spectra trying to separate 2X and 2LF where I wanted to see the 1x frequency, and it was only labeled on the bin center (which I interpretted as a possible lack of appreciation of the peak label / interpolate tool).
in this case all that was needed was a strobe
I'm not sure I understand the context, but I agree often the simple tools are the best.
 
Sometimes I do ramble about the math and theory. I'll try to keep these type of discussions outside of busy threads, so they won't interrupt good practical conversations about solving real-world problems. Ideally I'll try to organize things better....so I don't repeat the same thing 5 times like I did above!
Reply 0 0
spciesla
Pete - I appreciate your contributions to the board, even if sometimes the math goes over my head or I don't want to hurt my head thinking about the math! 🙂
Reply 3 0
Rusty Castleman
Pete, you just keep being Pete. Those who can't follow you - or who just don't want to - don't have to read your posts. They can just move on. No need to apologize for the depth of your thinking or analysis. I quite often get quickly lost in your posts, but that's OK. I know there are others who don't and who benefit from your posts.
 
I am on a Mac and don't have access right now to my Windows PC with MHM, so I'm not sure I follow the practical application of what you're saying. Is the 'Z' key the same as clicking on the "locate peak" icon in the lower toolbar of Plotdata? I never hang my hat on any spectral peak that I have not thus "located". Is that what you are talking about? I start the analysis of any spectrum by "locating" the 1X rpm peak and hitting 'R' and setting that peak value as my RPM. For me everything starts there and if you don't do this then your harmonic and sideband analysis is less accurate than it could be.  
 
There are times when I locate a bearing defect frequency that is "close" to the calculated frequency for a known bearing. Sometimes I can confirm it's a BPFO by finding the corresponding BPFI which, when added together, gives me an exact integer (number of balls/rollers). But the frequency doesn't match what the standard defect frequency is for that bearing. Does that mean the spectral peaks are inaccurate? Possibly, but it can also mean the bearing geometry is not as expected. You see bearing photos showing an off-center ball track in the outer race - this changes the geometry of the bearing which slightly shifts the defect frequencies (IMO), right? Or is the frequency in the spectrum inaccurate? Or.... or.... ? Does it matter? Likely not - our conclusion is likely the same either way.
 
Understanding where our data comes from, how it's produced, is of course important. But we need to be careful of "analysis paralysis" which keeps us from coming to the most likely conclusion based on the prepoderence of the evidence, with a good dose of common sense thrown in. JMOAICBTW (Who was it that used to say that all the time?)
Reply 1 0
electricpete
Thanks Steve and Rusty for words of support. We all have something different to contribute and my contributions are often on the theoretical side, which is NOT to say I think that is the right approach for everything, only it is something different I feel I can contribute (there is already a wealth of practical problem solving knowledge which is routinely dispensed here, I'm always learning here).
I'm not sure I follow the practical application of what you're saying. Is the 'Z' key the same as clicking on the "locate peak" icon in the lower toolbar of Plotdata? I never hang my hat on any spectral peak that I have not thus "located". Is that what you are talking about? I start the analysis of any spectrum by "locating" the 1X rpm peak and hitting 'R' and setting that peak value as my RPM. For me everything starts there and if you don't do this then your harmonic and sideband analysis is less accurate than it could be
Yup. Z is same as locate peak. And as you say it should be a basic part of analysis and I suspect most learned it that way in the beginning and still do it that way. But as I responded to Barry, that approach/understanding is not universal, and the fact that there is a floor on "frequency resolution" established by the data collection parameters (Fmax, lines) prior to any interpolation, can make it hard to understand why interpolation would be beneficial (but it is beneificial, and it helps accuracy as long as there are not closely spaced peaks which are within about 2 bin widths of each other).
There are times when I locate a bearing defect frequency that is "close" to the calculated frequency for a known bearing. Sometimes I can confirm it's a BPFO by finding the corresponding BPFI which, when added together, gives me an exact integer (number of balls/rollers). But the frequency doesn't match what the standard defect frequency is for that bearing. Does that mean the spectral peaks are inaccurate? Possibly, but it can also mean the bearing geometry is not as expected. You see bearing photos showing an off-center ball track in the outer race - this changes the geometry of the bearing which slightly shifts the defect frequencies (IMO), right? Or is the frequency in the spectrum inaccurate? Or.... or.... ? Does it matter? Likely not - our conclusion is likely the same either way.
Yup, comparing with an exact defect frequency from a database is not necessarily helpful due to changes in geometry or load.  But comparing with an integer can be very helpful (If I have peak estimates of 1.00, 2.00, 3.02, 4.00 on an 8-ball DGBB, I would begin to suspect that 3.02 peak might include a BPFO contribution). And if I am really trying to confirm a BPFO or BPFI frequency I go to log scale and look for harmonic series whose fundamental (in orders) sums to an integer (like example maybe bpfo=3.02 and bpfi 4.98 for 8-ball dgbb), which is a lot easier to do confidently when higher accuracy is available.  
 
The peak frequency can change as axial load changes, but the frequency is generally repeatable within a measurement so we can still look for a non-sync harmonic pattern (and it can be easier to recognize that pattern with better frequency accuracy). And if we have reason to suspect change in axial loading, then tracking changes in defect frequency between surveys (the defect frequencies can often be detected on a log scale, even with no defect present) can be an indirect way to look for changes in bearing loading between surveys.  For a dgbb as we add load: the contact angle increases, the diameter of the outer race ball path decreases while the diameter of the inner race ball path increases, so therefore bpfo and bpfi frequencies move slightly towards each other (that dgbb example might change to 3.04 and 4.96 under axial load).  I have a case study where this was easy to see on a family of vertical motors where we had set the endplay too low on all the motors in the family (it's a long story) resulting in undesired loading on the lower bearing which was a dgbb. We looked at those defect frequencies as one of our inputs to prioritize which motor needed to be corrected first. When we finally resolved the condition by adjustiing the endplay to eliminate the load, we could see those frequencies move back out (bpfo and bpfi further apart as the ball track diameters moved further apart) on every one of those motors as the contact angle decreased closer to zero
JMOAICBTW (Who was it that used to say that all the time?)
Good old Ralph. He is missed.
 
 
 
 
 
Reply 0 0
Rusty Castleman
Something else I have seen a few times with good resolution and interpolation, is a tapered adapter sleeve bearing loose on a shaft with the sleeve rotating slightly slower than the shaft. You can see the shaft rpm, and then the sleeve rpm showing us as a sideband.  It’s wild to see that and then see it confirmed when the bearing is disassembled.
Reply 1 0
Reply