Now you decide to look at the math. That was the example on the physics class website. Guess those students didn't get that question right.Question about your math though. Why are you going
F=mA as well as F=1/2*mV2.
One is force, the other is kinetic energy, so really it should be E = 1/2*m*(v^2).
Yes plus 4 physics classes. All more than 20 years ago.You need momentum for this problem (which is related to kinetic energy in calculus, but we don't care about that). Did you take momentum in high school? Where p=mv and its conserved so if two perfectly inelastic bodies hit each other, their momentum gets split up and they go off in opposite directions with the same total momentum.
So what is need to convert the acceleration reading to energy? For go the fact of the lack of inelastic bodies, additionally that assume kids can kick the ball hard enough to cause it to deform appreciably.First is you have an acceleration measurement, not a momentum measurement. But momentum is based on speed. Second is that you don't have perfectly inelastic bodies.
What oscilloscope? I don't have an oscilloscope. (wish I did)Zoom on it hard with your oscilloscope.
Yes plus 4 physics classes. All more than 20 years ago.
So what is need to convert the acceleration reading to energy? For go the fact of the lack of inelastic bodies, additionally that assume kids can kick the ball hard enough to cause it to deform appreciably.
Everything you said is theory with exception for the fact that you have not provided the corresponding theoretical equations. (except for p=mv) How about the equations that pertain to the rest of the items you mention.
What oscilloscope? I don't have an oscilloscope. (wish I did)
P.S. The ISR method on an Arduino produces a ADC sample rate of 9615 per second.
Huh? No. Not even close to how an ADC ISR works. The ISR runs when the interrupt fires indicating the conversion is complete. The ISR ASM code runs to read the values and start the next conversion. Basically 3 MOV statements (because I'm not changing channels). Which is how you get the 9615 samples per second. Anything else goes slower. Trying to read two channels drops the sample rate to 2404 using this method (read A, change to A1 and read to clear, then read A1 again for data). Sucks don't it?That's the sampling, the ISR can run whenever as long as it starts and finishes before the next sample.
I know about this and so doesn't a very unfortunate waste water treatment plant (their totalizer stopped because of this)Since you're integrating (or doing any complex math) on a processor, beware the pitfalls of numerical analysis due to finite number representations. Fixed point or floating point. One such problem is adding a very large number to a very small number makes the small number might as well be zero...which is a big problem if you're integrating because the whole principle is that all the little bits add up to make a whole.
Huh? No. Not even close to how an ADC ISR works. The ISR runs when the interrupt fires indicating the conversion is complete. The ISR ASM code runs to read the values and start the next conversion. Basically 3 MOV statements (because I'm not changing channels).
I know about this and so doesn't a very unfortunate waste water treatment plant (their totalizer stopped because of this)
More verbiage, no math. What is the math? What equations are you trying to implement?
I already said the ball drops nearly vertically after impact.The equations are simple which is why I mentioned the topics instead of the equations themselves. If mentioning the topic was not enough to spark that image in your head then re-read the topic before using them.
It's just P = mv. One term for the ball, and one term for the target. Momentum before impact has to equal momentum after impact.
P_ball_before + P_target_before = (P_ball_after + P+target_after) * fudge_factor
Now that I type it out, I see that I forgot the problem of the momentum of the ball afterwards. You obviously can't track the ball after impact so you'll have to do your best to make the ball stop and drop after impact. If you do it well enough, you might be able to ignore the fudge factor. Look up the integration yourself. The pictures should make it self-evident what's going on.
You didnt understand anything I said then. The equations arent the magic sauce here. When did i talk about momentum sensors? Do you know why I was talking about integrating acceleration to get velocity? Read post 42 again carefully. I will edit it and make it more obvious but it assumes you understand conservation of momentum and elastic collisions.I already outlined the equations and process required. There's enough gotchas that you can't just the equations blindly and may have to modify them to the specifics of your system. There's not just one way to put the equations together. You might be able to get away with some simpliications and assumptions but not others. What you can get away with depends on your fundamental problem but also specifics about how you construct your system. I cant also explain conservation of momentum and integration to you to. What you need to know about them is simple to grasp if you google it.I already said the ball drops nearly vertically after impact.
Those equations cannot be implemented. I don't have momentum sensors. I don't know what a "momentum sensor" is, and I don't know and the point is to measure the velocity or the impact force.
You assume. The opposite is also true. They do execute immediately if the program is design to allow them to execute immediately, and has no interrupt-blocking code. That would be very stupid to have a program that is trying to detect a peak have any code that would slow the sample rate of the ADC.With regards to interrupts, they don't always actually run "immediately" It depends on if the processor is doing something that can be interrupted or not. If the processor is doing a task that can't be interrupted then the programmer may choose to disallow interrupts from executing and delay their execution until the uninterruptable task is complete.
That's what I said. Only took you three tries.How did you view the waveform if you did not have an oscilloscope? If you got the MCU to sample at 10kHz and spit out the data for you to plot and all you saw was a thin spike for the impact's impulse, then the MCU is woefully insufficient to integrate that acceleration to get velocity. It needs to be able to sample fast enough to get a very clear view of that impulse spike.
Ditto.You didnt understand anything I said then.
When did i talk about momentum sensors?
What equations are you trying to implement?
Those equations require to measure either the velocity or the momentum. I don't have a way to directly measure velocity, and I don't know a momentum sensor. Therefore, the momentum must be derived from another formula for which I have a sensor available, and those equations are the final answer to the question.Same goes for kinetic energy E = 1/2 *m*(v^2), just replace m and v with their rotation counterparts.
P_ball_before + P_target_before = (P_ball_after + P+target_after) * CoR
Not at all. I asked for help with the physics for a specific scenario. The OP was for help with the physics of a specific setup. Of the 26 responses, 11 are OT (re-)design suggestions. There are some nuggets scattered in the other 15 (more) pertinent responses, but they also include a lot of attempts to see how long of a response can be written (that's supposed to be equivalent to "talking to hear yourself talk") as well as a smattering of implied insults.Did you just ask with help with the physics so you could argue with people trying to help?
omg. INTEGRATION. Look it up. Integrate the acceleration to get the velocity. If your response to this is still "what's the formula" then this math is beyond you.Those equations require to measure either the velocity or the momentum. I don't have a way to directly measure velocity, and I don't know a momentum sensor. Therefore, the momentum must be derived from another formula for which I have a sensor available, and those equations are the final answer to the question.
Yet another disconnected piece. We are talking about momentum and you through out a velocity equation.You want the formula? Here's the formula and it tells you diddly squat:
View attachment 117973
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?