MATLAB Filtering cutting forces - MATLAB

AI Thread Summary
The discussion focuses on the analysis of cutting forces during milling experiments, specifically addressing the filtering of force signal data. The user is utilizing two filters, one stopping at 400Hz and the other at 90Hz, to process the force signals Fx, Fy, and Fz. The filtered signals are then plotted against time to visualize the cutting forces. The user seeks feedback on their approach and the effectiveness of the filtering process. The discussion emphasizes the importance of proper signal filtering in accurately analyzing cutting forces in milling operations.
Hzaqa
Messages
15
Reaction score
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
Up
Up
Up
 
Up
Up
Up
 

Similar threads

Replies
3
Views
8K
Replies
7
Views
3K
Replies
2
Views
25K
Replies
1
Views
490
Replies
1
Views
4K
Back
Top