Filters & Outliers
Filters & Outliers
Filters & Outliers
Introduction
This document will describe the use of Filters, Outliers and Evaluation Methods for the Scanning CMM. Although Calypso has been used for all instructions, plots and output, the techniques described here apply to UMESS as well. Also, it must be understood, the following techniques apply to the Scanning CMM. Actually not only is it advisable to use scanned features but actually impossible to apply filters to features with low data density. In addition to data density, other areas of discussion will be: Application of Filters and outliers within the Calypso measurement plan. Why and when to apply filters and outliers. Whats the Standard? Error messages. Evaluation Methods. Centers for Out-of-Roundness. Instrument Response. Cutoff, UPR and Lambda c. Filter types, Gauss and 2-RC. Low and High pass filters. Connect Segments. Elimination of Outliers. Range of Data Reduction.
advanced techniques
The information in this document is from a variety of resources including the Calypso manual and on-line help.
Default Settings
To set the Default Filter and Outlier settings, select Resources > Filter/Outlier Elimination.
Settings at this level are not applied to existing characteristics, only those subsequently created. Features containing filter and/or outliers settings will override these defaults.
Feature Settings
The next level at which Filters and Outliers can be set is within the Feature. Open the feature window and select Evaluation. These settings will be automatically applied for each characteristic in which the feature is used. This overrides the default settings.
Characteristic Settings
From within the characteristic select the feature button.
From this widow you can override settings from either the feature or default. Also it is possible to unselect settings applied by the feature or default.
That is: this surface shall be round within .02mm as assessed by the MZC method with 50 cycles per revolution response. If the print is specific regarding the filter it might be shown as thus:
.02
LSC
150
That is: this surface shall be round within .02mm as assessed by the LSC (Gauss) method with 150 cycles per revolution response.
.02
MZC
50
The above feature control frame requires the evaluation of Roundness (also called Circularity or Out-Of-Roundness)
Data Density:
It is important to understand that the use Filters and Outliers are really best applied to scanned features. From the Calypso on-line help: It is advisable to restrict the use of filters to instances in which the number of points is high, in other words they should be used only for scanned features. All features measured using scanning methods can be filtered. Calypso also requires a minimum of 5 (soon to be changed to 7) points per Lambda c (cutoff) or Undulations Per Revolution (UPR) frequency. Use of insufficient data density will result in the filter not being applied and a message printed in the default printout. If for instance you choose to evaluate roundness with 100 data points and a UPR of 50, no filter will be applied, and a message will be reported in the default printout: Incorrect filter value (Lambda_c or UPR) Increasing the data to a range of 101 to 250 points and once again no filter will be applied. The default printout message: Filtering with less than 5 points per undulation. Increasing the number of points to 251 or greater and a filter will be applied. A message reporting the filter type and cutoff will be reported in the default printout: Low-pass (Form):Gauss Undulations Per Revolution:50
Other Messages
The Compact Protocol shows when a filter has been applied, but no error messages. If a filter is selected but not applied, the plot window shows none, otherwise it reports the filter being used. The Custom Printout never shows filter messages.
.02
MZC
50
Select the Roundness Characteristic and scan the required feature. Check the box to apply the filter. Notice the evaluation method is shown next to the check box. In this case the default setting matches the Standard. That is, Minimum Zone Center with a Gauss filter at 50 UPR. Of course, all of these settings are user definable. They can be specified by the operator either here, in the characteristic, within the feature or as a Calypso default filter setting. The above feature control frame specifies the method to be used for the evaluation is a Minimum Zone Center (MZC). Lets look at the other possibilities.
Evaluation Methods
Click on the Evaluation Method Parameters button to open the Evaluation Methods window. This displays several selections: LSQ Element (Standard) aka, Gauss. Minimum-Element aka, MZC Minimum Circumscribed Element Maximum Inscribed Element Inner Tangential Element Outer Tangential Element It is of interest here to consider the use of the word Element in this dialog window. For example, one might think that the selection Maximum Inscribed Element might better be called Maximum Inscribed Circle. However, Calypso can apply filters and outliers to a variety of features beyond the circle we are considering here. From the Calypso on-line help: Individual measuring points of the geometric features 2d straight, plane, circle, cone, cylinder and sphere can be purged from the measured values as Outliers.
2.8.3 Maximim Inscribed Circle (MIC) This center is that of the largest circle which can be inscribed within the measured polar profile. This is also known as the plug gage center and is generally used for internal diameters.
2.8.4 Minimum Circumscribed Circle (MCC) This center is that of the smallest circle which will just contain the measured profile. This is also known as the ring gage center and is generally used for external diameters.
2.9 Preferred Center The center from which the out- of-roundness value shall be determined unless specified otherwise is the Minimal Radial Separation Center.
In Calypso the MZC or Tschebyscheff is correctly used by default for Roundness evaluation. Other centers are user selectable. In Calypso versions 3.0 and higher, within the characteristics feature selection window, there is a button for Evaluation Parameters.
Instrument Response (Cutoff) Cycles Per Revolution (Undulations Per Revolution, UPR)
If all of the radial deviations of a circular cross section were fully and completely represented by a measured profile, the presence of high frequency surface irregularities could mask any lobing conditions or the form of the profile. In the ANSI standard the term used is Cycles Per Revolution Response, in Calypso it is called Undulation Per Revolution. A UPR filter of 50 means that the measured profile has been attenuated by a filter which has reduced by a percentage (Gauss 50%, 2RC 75%) the amplitude of the sinusoidal lobing which occurred at a regular interval of 50 lobes per revolution. Note that the 50 UPR frequency is base on angular displacement rather than time. It might be expressed that the cut-off of 50UPR represents 50 segments of the circle. Reducing the number of UPR will tend to smooth out small scale irregularities while higher frequency are more inclusive of total surface texture. At least 5 measuring points are required per undulation.
Flatness and straightness are evaluated with a cut-off describe by a linier dimension. The default for Calypso is 2.5mm. A Wavelength Lc of 2.5 means that the measured profile has been attenuated by a filter which has reduced by a percentage (Gauss 50%, 2RC 75%) the amplitude of the sinusoidal profile which occurred at a regular interval of 2.5mm.
2-RC-Filter (2-CR)
The 2RC (or 2CR) filter is an older standard filter used in surface roughness measurements. It Is typically implemented as an analog electrical filter, 2 RC filters in series, separated by a buffer. It Is not phase-correct, and it has a frequency transmission of 75% at the cutoff wavelength. The 75% level was apparently chosen because the 2RC filter has a long tail in its frequency response, and, therefore, much of the long wavelength components above the 50% cutoff remains in the roughness. The cutoff at 75% more accurately retains the intuitive sense of being the wavelength boundary between roughness and waviness. Some refer to the above filter as a 2CR filter because the capacitor comes before the resistor in each pair. However, electrical engineers refer to either order as an RC filter and distinguish between the two by calling one a high pass filter and one a low pass filter. Pass refers to what frequencies make it through the filter.
Comparrison of Gauss vs. 2RC frequency responce
2RC
Gauss
Both the Gauss and 2RC filters separate roughness from the form error.
Surface Profile
Waviness Form
Example of a Out-of-Round feature with a form error of 4.8mm. A Lowpass plot must be reduced to a magnification of two or its off the chart. This obscures all high frequency form deviations.
However, as this custom printout shows, care must be taken. Two evaluations of the same feature produce two extremely different results!!
By selecting a Highpass the magnification can be increased to 400 revealing tool marks and chatter.
Connect Segments
From time to time it may be necessary to scan a feature with interrupted paths. Possibly keyways inside a bore. Because of the limitations of 5 data points per cutoff (UPR or Wavelength Lc) filtering might not work. If you activate this checkbox the segments of an interrupted contour are connected to form a continuous contour during filtration with as many points as possible being taken into account. This means that you can select a stronger filter.
Eliminating Outliers
A measured point is tagged as an outlier if it is further than a defined threshold (threshold = factor * standard deviation) from the computed Gaussian element. Outliers are geometric points that differ significantly from the geometric form yielded by the other measured points and as such, they can produce a large error when the compensatory element is calculated. An error of this nature easily propagates through the actual-value determination of the corresponding characteristic.
0.0061
______________________________________________________________________________________________ Plane4(Outlier & Adjacent Points 4) Minimum Zone Plane #P (217) S = 0.0018 Min = (3) -0.0029 Max = (57) 0.0029 Form = 0.0057 Z 0.0376 0.1000 X -83.5389 -82.5000 Y 4.8317 5.0000 A1- X/Z -0.0169 0.0000 A2- Y/Z -0.1580 -0.1000 Outlier Elimination Inside Workpiece : 0 Outside Workpiece : 9 No Filter AP4 Outlier GDT Flat 0.0100 0.0057 | ______________________________________________________________________________________________ Plane4(Outlier to Computed Feature) Minimum Zone Plane #P (217) S = 0.0015 Min = (3) -0.0026 Max = (57) 0.0026 Form = 0.0051 Z 0.0381 0.1000 X -83.5390 -82.5000 Y 4.8315 5.0000 A1- X/Z -0.0166 0.0000 A2- Y/Z -0.1443 -0.1000 Outlier Elimination Inside Workpiece : 4 Outside Workpiece : 5 No Filter CF Outlier GDT Flat 0.0100 0.0051 | ______________________________________________________________________________________________