Calculating Motor Engine torque/power using accelerometer data

Click For Summary

Discussion Overview

The discussion revolves around calculating the torque or power produced by a vehicle's engine using data from an accelerometer. Participants explore methods to derive power over time from acceleration data, while also addressing challenges in calculating speed from discrete acceleration measurements.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant seeks to calculate engine power over time using accelerometer data, noting the vehicle's mass and ignoring external factors like drivetrain losses for the moment.
  • Another participant provides a formula for average power based on kinetic energy change but acknowledges the original poster's need for power over time instead.
  • A suggestion is made to use the formula (1/2)Mdeltav²/deltatime to calculate instantaneous power, with a spreadsheet example provided for context.
  • One participant confirms that the proposed formula for power is valid and offers additional formulas for converting power to torque based on RPM.
  • A different participant raises a separate issue regarding calculating speed from tri-axial accelerometer data, expressing concern over the accuracy of their results and seeking help with data processing.
  • Another participant suggests a method for calculating power directly from force and speed, proposing to smooth the acceleration data for better accuracy and providing equations for linear and quadratic approximations of velocity.

Areas of Agreement / Disagreement

Participants generally agree on the formulas for calculating power and torque, but there is no consensus on the best method for calculating speed from accelerometer data, with one participant expressing doubts about their results and seeking further assistance.

Contextual Notes

Some participants mention the need to process data before calculations, indicating potential limitations in accuracy. There are also discussions about the assumptions made in the calculations, such as ignoring external forces and the nature of acceleration data.

Who May Find This Useful

This discussion may be useful for individuals interested in vehicle dynamics, data analysis from accelerometers, and those looking to understand the relationship between acceleration, power, and torque in automotive applications.

FFog
Messages
5
Reaction score
0
Hi all, got a little physics problem that I wonder if anyone could help me with.

I'm using an accelerometer to record the rate of acceleration of a vehicle over time (1500kg). With this data I am calculating speed and distance traveled over time. I'm now trying to figure out a way to calculate either the torque or the power produced by the engine over time (I can calculate the other using recorded rpm @ the time). Drive train losses, rolling resistance and aerodynamic drag will all play their part, but I shall ignore these presently till I figure out this first bit.

Thanks much for reading.
 
Last edited:
Science news on Phys.org
Hi FFog-
Power(watts) = torque(Neutons) times speed (in radians per second).

Average power (watts) = change in kinetic energy (joules) divided by elapsed time (seconds).
So a 1500 Kg car going fom 0 to 30 meters per sec in 5 seconds is

(1/2)Mv2/time = (1/2) 1500 302/ 5 sec = 135,000 joules per sec = 181 HP
 
Thanks for the reply. The problem is that I want power over time, not the average power, so it can be plotted on a graph over time along with the speed/acceleration/
Would (1/2)Mdeltav2/deltatime work? my data looks something like this in my spreadsheet

Code:
Time(s),Accel(m/s2),Speed(m/s),Distance(m),Power (hp)
0,0.00,0.00,0.00,?
0.222,5.77,1.28,0.14,?
0.416,8.52,2.93,0.55,?
0.633,8.24,4.72,1.38,?
0.861,6.96,6.31,2.64,?
1.089,6.40,7.77,4.24,?
1.319,5.35,9.00,6.17,?
1.55,5.18,10.19,8.39,?
1.781,5.37,11.44,10.89,?
2.01,5.73,12.75,13.66,?
2.241,5.08,13.92,16.74,?
2.453,5.19,15.02,19.80,?
2.665,4.88,16.06,23.10,?
2.898,5.42,17.32,26.99,?
3.139,7.29,19.07,31.37,?
3.379,3.41,19.89,36.05,?
3.614,4.34,20.91,40.84,?
3.83,4.09,21.80,45.45,?
4.054,4.16,22.73,50.44,?
4.262,3.95,23.55,55.25,?
4.483,3.76,24.38,60.55,?
4.705,3.66,25.19,66.05,?
4.923,3.39,25.93,71.63,?
5.138,3.35,26.65,77.28,?

Thanks again
 
Last edited:
Hi FFog-
"Would (1/2)Mdeltav2/deltatime work? my data looks something like this in my spreadsheet"
Yes. To get power (watts) from HP, multiply by 746

to get torque (Neuton-meters) from RPM, multiply power (watts) by 60, and divide by 2 pi times RPM:

T = 60 P/(2 pi RPM)

Bob S
 
Thanks, this works for me.
 
hi
I really need help. I want to calculate speed from a tri axial acclerometer.
I tried calculating the speed from data which i mentioned below
Calculation of velocity from discrete acceleration data:

Integral of acceleration will give velocity value. Since data given for acceleration is discrete so we have calculated velocity value at x direction (Vx) through integrating under discrete acceleration data at x direction by using MATLAB programme. Similarly Vy and Vz was calculated. Total velocity value will be sqrt(Vx*Vx + Vy*Vy + Vz*Vz)

but the speed which i am getting through this method is 30m/s for one subject which is impossible.
I didnot process the data before calculation (which could be the reason behind inaccuracy).
Please. somebody help me in processing my data and correcting the method of calculating the speed.
I am using tri axial acceleromter (glink), and i attached it on sacrum during run. The subject ran on 400m track which is not bumpy . distance was 50m on plane surface.
Please some body help
 
power = force time speed. To calcuate watts.

power/watts = force (Newtons) x speed (m/s)

This eliminates the need to calculate any torque related values, so gearing isn't an issue.

The early part of the launch will be traction limited.

Your input is acceleration versus time. You might want to smooth this data with a curve fit, then use that curve fit function to generate more sample points.

For a linear approximation of velocity, use the average acceleration for each time interval:

vn+1 = 1/2 (an+1 + an) (tn+1 - tn) + vn
vn+1 = 1/2 (an+1 + an) Δt + vn

A quadratic approximation results in the same equation because it also assumes acceleration changes linearly with time during each interval:

vn+1 = c Δt2 + an Δt + vn
an+1 = 2 c Δt + an
c = (an+1 - an) / (2 Δt)
vn+1 = ((an+1 - an) / (2 Δt)) Δt2 + an Δt + vn
vn+1 = 1/2 (an+1 + an) Δt + vn

The quadratic approximation could be used in this form to calculate intermediate values for velocity versus time, and integrating it could be used to better calculate distance.

v = 1/2 ((an+1 - an) / (tn+1-tn)) t2 + an t + vn

d = 1/6 ((an+1 - an) / (tn+1-tn)) t3 + 1/2 an t2 + vn t + dn
 
Last edited:
hey thanks. Let me try your solution and will get back to u ASAP.. thanks a tonn
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 17 ·
Replies
17
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
2
Views
3K
Replies
8
Views
3K