Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Filtering cutting forces - MATLAB

  1. Mar 10, 2012 #1
    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
     
  2. jcsd
  3. Mar 12, 2012 #2
    Up
    Up
    Up
     
  4. May 8, 2012 #3
    Up
    Up
    Up
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Filtering cutting forces - MATLAB
  1. Low pass filter (Replies: 1)

Loading...