- #1
andpe
- 3
- 0
Hello, this is my first real post here =)
I'm working on an in-car-accelerometer that I want to display
Torque, Horsepower and more..
I can do all the calculations when I calculate power, but here is the thing :
Power(w) from acceleration(in m/s^2) I am not sure about.
I plan to sample data from the accelerometer about four times per sec and calculate speed, distance and power from every sample.
P = Fm
Would it then be correct if I say :
power(w) =weight*acceleration*(previous speed+(acceleration*(time-previous time) ??
lets say that my accelerometer tells me that the acceleration at this moment
is 5,77 m/s^2, and that time since last reading is 0,222 seconds - given a weight of the car at 1500 kilograms, and that last recorded speed was v0 = 0 :
power(w) = 1500 * 5,77 * (0 + (5,77 * 0,222) = 11086,5watts
The power the equation above gives me, (is this correct btw?) is this the average power over the last 0,222 seconds?
Can I then add all the samplevalues for power to get the total power? If yes, then I plan to display the value that has the largest value.
Anyone? I'm I on the right track here?
Thanks
Andreas from Norway
I'm working on an in-car-accelerometer that I want to display
Torque, Horsepower and more..
I can do all the calculations when I calculate power, but here is the thing :
Power(w) from acceleration(in m/s^2) I am not sure about.
I plan to sample data from the accelerometer about four times per sec and calculate speed, distance and power from every sample.
P = Fm
Would it then be correct if I say :
power(w) =weight*acceleration*(previous speed+(acceleration*(time-previous time) ??
lets say that my accelerometer tells me that the acceleration at this moment
is 5,77 m/s^2, and that time since last reading is 0,222 seconds - given a weight of the car at 1500 kilograms, and that last recorded speed was v0 = 0 :
power(w) = 1500 * 5,77 * (0 + (5,77 * 0,222) = 11086,5watts
The power the equation above gives me, (is this correct btw?) is this the average power over the last 0,222 seconds?
Can I then add all the samplevalues for power to get the total power? If yes, then I plan to display the value that has the largest value.
Anyone? I'm I on the right track here?
Thanks
Andreas from Norway