Filtering cutting forces - MATLAB

Click For Summary
SUMMARY

This discussion focuses on filtering cutting force signals during milling experiments using MATLAB. The user employs two filters, with filt1 set to stop at 400Hz and filt2 at 90Hz, ultimately selecting filt2 for signal processing. The filtering is executed using the filtfilt function, and the results are visualized through 3D plots of the filtered forces Filt_Fx, Filt_Fy, and Filt_Fz. The discussion emphasizes the importance of proper filtering techniques in analyzing cutting forces effectively.

PREREQUISITES
  • Understanding of MATLAB programming
  • Knowledge of signal processing concepts
  • Familiarity with filtering techniques in data analysis
  • Experience with 3D plotting in MATLAB
NEXT STEPS
  • Research MATLAB's filtfilt function for zero-phase filtering
  • Explore advanced filtering techniques for signal processing
  • Learn about the impact of filter cutoff frequencies on data analysis
  • Investigate methods for visualizing multi-dimensional data in MATLAB
USEFUL FOR

This discussion is beneficial for mechanical engineers, data analysts, and researchers involved in milling processes and cutting force analysis using MATLAB.

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 ·
Replies
3
Views
8K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
987
  • · Replies 2 ·
Replies
2
Views
25K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K