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: 124
  • Screenshot 2022-08-22 153814.png
    Screenshot 2022-08-22 153814.png
    16.1 KB · Views: 113
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 'Minimum mass of a block'
Here we know that if block B is going to move up or just be at the verge of moving up ##Mg \sin \theta ## will act downwards and maximum static friction will act downwards ## \mu Mg \cos \theta ## Now what im confused by is how will we know " how quickly" block B reaches its maximum static friction value without any numbers, the suggested solution says that when block A is at its maximum extension, then block B will start to move up but with a certain set of values couldn't block A reach...
TL;DR Summary: Find Electric field due to charges between 2 parallel infinite planes using Gauss law at any point Here's the diagram. We have a uniform p (rho) density of charges between 2 infinite planes in the cartesian coordinates system. I used a cube of thickness a that spans from z=-a/2 to z=a/2 as a Gaussian surface, each side of the cube has area A. I know that the field depends only on z since there is translational invariance in x and y directions because the planes are...
Thread 'Calculation of Tensile Forces in Piston-Type Water-Lifting Devices at Elevated Locations'
Figure 1 Overall Structure Diagram Figure 2: Top view of the piston when it is cylindrical A circular opening is created at a height of 5 meters above the water surface. Inside this opening is a sleeve-type piston with a cross-sectional area of 1 square meter. The piston is pulled to the right at a constant speed. The pulling force is(Figure 2): F = ρshg = 1000 × 1 × 5 × 10 = 50,000 N. Figure 3: Modifying the structure to incorporate a fixed internal piston When I modify the piston...

Similar threads

Replies
5
Views
3K
Back
Top