Resultant pedal force (FRESULTANT) Force tangential to the crank arm

AI Thread Summary
The discussion focuses on calculating resultant pedal forces related to crank torque and angles in cycling performance analysis. The code processes data from multiple cyclists, extracting peak torque values, average downstroke and upstroke torque, and total work done through numerical integration. There are inquiries about the clarity of the problem statement, particularly regarding the direction of forces and the necessity of torque data. Additionally, there is a request for a diagram to illustrate the crank and pedal system, along with an explanation of the calculations in algebraic terms. The conversation emphasizes the need for clear definitions and visual aids to enhance understanding of the calculations involved.
david03
Messages
2
Reaction score
0
Homework Statement
You have been given pedalling force data for 10 cyclists to analyse. Write a Matlab code to calculate the following for each cyclist:
Throughout the pedal stroke (i.e. additional columns of data):
• Resultant pedal force (FRESULTANT)
• Force tangential to the crank arm (crank arm length = 170 mm) (i.e. the effective pedal force, FEFFECTIVE)
Single values for the pedal stroke:
• Peak torque and angle of peak torque
• Positive and negative work done during the pedal stroke
• Mean power throughout the pedal stroke
• Index of Force effectiveness (IFE)
• Evenness of torque distribution (ETD)
Part 2
Divide the cyclists into two groups based on their ETD values; a good group with ETD ≥ 25%; and a poor group with ETD < 25%. Perform statistical tests to determine if there is a difference between these two groups for each of the remaining six single value variables calculated above. Present the results for each of these six variables as bar charts (presenting the mean and standard deviation for each group)
Notes
The cyclist data is in an excel spreadsheet that can be downloaded from Learn (data_cycle_10.xlsx). Each worksheet contains the data for one cyclist and the five columns to data are:
CRANK crank angle measured clockwise from top dead centre (i.e. vertical pointing upwards)
SPINDLE pedal spindle angle measured anti-clockwise from horizontal
Ft and Fn are the forces applied to the pedals tangential and normal to the pedal surface
TORQUE torque applied to turning the crank arm (TCRANK)
Relevant Equations
attached below as photos
%% part 1
clear all; close all; clc;

torq_crPK = zeros(10,1);
ang_tqPK = zeros(10,1);
ang_powPK = zeros(10,1);
torq_crDS = zeros(10,1);
torq_crUS = zeros(10,1);
WD = zeros(10,1);
WDpos = zeros(10,1);
WDneg = zeros(10,1);%% INPUT VARIABLES
for i=1:10 % cyclist number

% read in the cyclists data
if (i < 10)
data1=xlsread('21WSB302_matlab_report_data.xlsx',['cycle0' num2str(i)],'B10:F370'); % angle-torque data
else
data1=xlsread('21WSB302_matlab_report_data.xlsx',['cycle' num2str(i)],'B10:F370'); % angle-torque data
end

%% PART 1

ang_cr=data1(:,1); % crank angle
torq_cr=data1(:,5); % crank torque

% peak values (10)
[torq_crPK(i,1),]=max(torq_cr);
ang_tqPK(i,1)=ang_cr(i); % peak torque and angle where it occurs
ang_powPK(i,1)=ang_cr(i); % peak power and angle where it occurs

% averages (4&5)
[iDS]=find(ang_cr<=180);
torq_crDS(i,1)=mean(torq_cr(iDS)); % average downstroke torque
[iUS]=find(ang_cr>180);
torq_crUS(i,1)=mean(torq_cr(iUS)); % average upstroke torque

% work done total
WD(i,1)=trapz(deg2rad(ang_cr),torq_cr); % numerical integration of torque wrt angle (in radians)

% positive work done
% create a copy of torq_cr
% find all the negative torques in the copy
% reset the negative torques to zero
% apply trapz to this copy
torq_pos=torq_cr;
ineg=find(torq_cr<0);
torq_pos(ineg)=0;
WDpos(i,1)=trapz(deg2rad(ang_cr),torq_pos);

% negative work done
% create a second copy of torq_cr
% find all the postive torques in the second copy
% reset the positve torques to zero
% apply trapz to this second copy
torq_neg=torq_cr;
ipos=find(torq_cr>=0);
torq_neg(ipos)=0;
WDneg(i,1)=trapz(deg2rad(ang_cr),torq_neg);

end

%% WRITE DATA
headings={'sub','torqPK','ang_tqPK','torqDS','torqUS','powPK','ang_powPK','powMN','workNET','workPOS','workNEG'};
subs=[1:10]';
data_out=[subs torq_crPK ang_tqPK torq_crDS torq_crUS ang_powPK WD WDpos WDneg]; % create a single matrix with all the data first
xlswrite('21WSB302_matlab_report_data.xlsx',headings,'results','I10');
xlswrite('21WSB302_matlab_report_data.xlsx',data_out,'results','I11');
 

Attachments

  • Screenshot 2022-08-22 142759.png
    Screenshot 2022-08-22 142759.png
    17.2 KB · Views: 122
  • Screenshot 2022-08-22 153814.png
    Screenshot 2022-08-22 153814.png
    16.1 KB · Views: 111
Last edited:
Physics news on Phys.org
You didn't post a diagram of the system, as I asked. Show the crank and pedal, marking the angles and applied forces.
Two things I do not understand in the problem statement:
- it is not clear which way is positive for Ft
- telling you the torque should be unnecessary since you can compute it from the other data… except that it does at least tell you which way Ft is measured.

I am unfamiliar with the language you write the code in. Please explain in algebra how you are calculating the answers.
 
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...

Similar threads

Replies
5
Views
3K
Back
Top