Filtering cutting forces - MATLAB

In summary, the conversation is about performing milling experimental tests to analyze cutting forces. The main issue is filtering the signal force, and the solution is to use specific filters and the "filtfilt" function. The conversation also involves verifying the plots and creating a legend.
  • #1
Hzaqa
15
0
Hi,

Recently, I've performed milling experimental test in order to analysis the cutting forces.
The problem here is how to filter these signal force


% filtering
% load the filters
% filt1 is stopping at 400Hz and
% filt2 is stopping at 90Hz
load ('Filters.mat');
flt_used=filt2; % filt1 or filt2
a=flt_used.tf.num;
b=flt_used.tf.den;
Filt_Fx=filtfilt (a,b,Fx);
Filt_Fy=filtfilt (a,b,Fy);
Filt_Fz=filtfilt (a,b,Fz);
% Filt_Mz=filtfilt (a,b,Mz);

% Verify plots \[Dash] uncomment when you need
plot (Fy);hold on;
plot (Filt_Fy,'red');
% Plotting the force signals (FILTERED)
% build the time line
time=0:1/Fs:length (Fx)/Fs-1/Fs;
figure1=figure ();axes1 = axes ('Parent',figure1);
plot3=plot (time,Filt_Fz);hold on
plot1=plot (time,Filt_Fx);
plot2=plot (time,Filt_Fy);
hold off;
axis tight
ylabel ('Cutting Force (N)');
xlabel ('Time (Sec)');
% Create multiple lines using matrix input to plot
set (plot1,'Color',[0 0 1],'DisplayName','Fx (N)');
set (plot2,'Color',[1 0 0],'DisplayName','Fy (N)');
set (plot3,'Color',[0 0 0],'DisplayName','Fz (N)');
% Create legend
legend (axes1,'show');

Any comments about this,

Thanks
HAZAQ
 
Physics news on Phys.org
  • #2
Up
Up
Up
 
  • #3
Up
Up
Up
 

FAQ: Filtering cutting forces - MATLAB

What is "Filtering cutting forces" in MATLAB?

"Filtering cutting forces" in MATLAB refers to the process of removing unwanted noise or fluctuations from a set of cutting force data in order to analyze and understand the underlying patterns and trends. This is commonly used in the field of machining and tool wear analysis.

Why is filtering cutting forces important in MATLAB?

Filtering cutting forces is important in MATLAB because it allows for a more accurate and reliable analysis of the data. By removing noise and outliers, the true patterns and trends in the data can be identified, leading to more informed decision making and improved performance in machining processes.

What are the different types of filters used for cutting force analysis in MATLAB?

There are several types of filters that can be used for cutting force analysis in MATLAB, including low-pass, high-pass, band-pass, and notch filters. Each type has its own specific function and can be selected based on the characteristics of the data being analyzed.

How do I choose the right filter for my cutting force data in MATLAB?

The choice of filter for cutting force data in MATLAB depends on the specific needs and goals of the analysis. Factors such as the frequency range of interest, the desired level of noise reduction, and the type of data (e.g. steady-state or transient) should be considered when selecting a filter. It is also important to experiment with different filters and compare the results to determine the most suitable option.

Can I customize the filter settings in MATLAB for cutting force analysis?

Yes, MATLAB allows for customization of filter settings such as cutoff frequency, filter order, and filter type. This allows for a more tailored approach to filtering cutting force data and can lead to more accurate and meaningful results.

Similar threads

Replies
4
Views
7K
Replies
7
Views
3K
Replies
6
Views
2K
Replies
2
Views
25K
Replies
1
Views
4K
Replies
1
Views
1K
Back
Top