Fitting experimental data for spring forces

  • Level: Undergrad 
  • Thread starter davidwinth
  • Start date
  • Tags Tags
    Experiment analysis
27 replies · 832 views · last reply
davidwinth
Messages
117
Reaction score
12
TL;DR
I have experimental data but I think I must account for losses
I have some experimental data of a force recording through transducer vs time. The data has a 10000 kg mass hitting a wall. By looking at the data, it seems clear I can treat the impact as two springs in series where the weaker one stops compressing after a certain point. The problem is that no combination of springs in my models fit this data. If I make the springs stiffer, the force is too large. If I make the springs softer, they take to long to stop the object. Matching max force in time is the issue.

The situation makes me think there are losses along the way, but I am not sure how to model them. Does anyone have any input on how to approach this? Thanks.
1000013756.webp
 
Dale said:
The data you have there isn’t well suited to a description of a spring. If you have a force vs distance graph that would be better

Yes, correct. I do have a force vs. displacement graph as well. It was this that gave me my initial estimates of the spring constants.

I can make a graph like the above in general shape by modeling the two springs in series. However, I can choose to match either the max force or the time to max force, but not both. I conclude there must be some energy dissipated along the way. I am wondering how to model that part.
 
I am curious, what kind of experiment is this? A mass of 10,000 kg is of order "school bus". How fast was the mass moving? What happened to the wall when the mass hit?
 
  • Like
Likes   Reactions: berkeman and erobz
kuruman said:
I am curious, what kind of experiment is this? A mass of 10,000 kg is of order "school bus". How fast was the mass moving? What happened to the wall when the mass hit?

A very large industrial piece of shipboard equipment breaking free and sliding across the floor. Impact speed was on the order of 1 m/s. No significant damage was observed to either the equipment or the wall. Minor dents and scratches is all.
 
  • Wow
  • Like
Likes   Reactions: Dale and kuruman
davidwinth said:
Sure. Here is force vs displacement.

View attachment 375530
So, it should be mirrored. Anyhow, you have your spring model ( spring constants free lengths and how to combine them etc..), if you want to model losses (presumably) you need to model contact forces on the mass as it slides. We can't do much with just this graph, we need some details about that process. How did it get its initial speed, is it sliding downhill, what are the surfaces ( the mass and the floor) etc...
 
erobz said:
So, it should be mirrored. Anyhow, you have your spring model ( spring constants free lengths and how to combine them etc..), if you want to model losses (presumably) you need to model contact forces on the mass as it slides. We can't do much with just this graph, we need some details about that process. How did it get its initial speed, is it sliding downhill, what are the surfaces ( the mass and the floor) etc...

Modeling contacts isn't going to be possible because this model needs to be quick even at the expense of precision. There is no change in gravity, of course, or I would have mentioned that! The process is that the object slides on the floor and impacts a transducer fixed to the wall. The data looks like two springs, where one of them stops compressing at a certain point. Would modeling a constant force pushing back on the object be a quick way to account for frictional and other losses like the small but unknown amount of plasticity?
 
davidwinth said:
Modeling contacts isn't going to be possible because this model needs to be quick even at the expense of precision. There is no change in gravity, of course, or I would have mentioned that! The process is that the object slides on the floor and impacts a transducer fixed to the wall. The data looks like two springs, where one of them stops compressing at a certain point. Would modeling a constant force pushing back on the object be a quick way to account for frictional and other losses like the small but unknown amount of plasticity?
Sure, give it a try. There isn't reason to suspect it is non-constant (frictional) contact force?
 
Skip the friction for a bit, that might be a bad direction:

Would you mind sharing how to tried to constrain the spring constants? You have two unknowns ##k_1## and ##k_2##. Assume ##k_2 > k_1##. Walk us through the attempt to fit using the force vs displacement curve, because it seems like it should be two equations, two unknowns. ##k_2## can be read pretty directly as rise over run of the steep part, and you solve for ##k_1## from the series configuration where the two lines intersect using the solution for ##k_2##. The apparent linearity forces your hand into a solution.
 
Last edited:
davidwinth said:
TL;DR: I have experimental data but I think I must account for losses

I have some experimental data of a force recording through transducer vs time.
A true spring(s), with no losses, would have the equipment rebounding back across the floor at the same velocity as inbound velocity.
I imagine that does not happen. The equipment rebounds just a little, perhaps back across the datum plane being used for displacement.

Your time graph stops when there is still a force present - is the transponder recording axial load or something else. Perhaps extend the time graph to when the force levels off, or goes back to zero. If the outbound part past the maximum force, is a reflection of the inbound part up to the maximum load, then I would think the collision is more elastic than anything other, and there is energy conservation.

At the other extreme, if the equipment's rebound in none, staying at, of near the position of maximum displacement, then the collision is more inelastic than anything other, with the kinetic energy of the equipment being absorbed by one or both the equipment and wall.

Both graphs should be extended, the one in time to show a leveling off on the force ( perhaps to zero ), and the displacement graph showing displacement before initial contact, during contact, and after contact ( when the equipment has ceased contact and its velocity is negative and free from rebound forces of the wall. )

davidwinth said:
No significant damage was observed to either the equipment or the wall. Minor dents and scratches is all.
Are the mountings of the wall being checked for movement. No small signature of crumpling of the equipment -a visual check might not notice sub mm deviations in its frame ( if it has a frame rather than one solid piece of steel )
 
This is a nonlinear problem that needs a numerical solution. The soft spring bottoming (going solid) is one nonlinearity, the other is friction.

You have a mass M sliding, so there exists a friction force ##F_{fric} = \mu Mg## that acts against the direction of sliding.

There is a hard spring with spring constant ##K_{hard}## and deflection ##X_{hard}##. The hard spring constant is calculated from the slope of the force vs displacement after the knee in the curve.

There is a soft spring with spring constant ##K_{soft}##, deflection ##X_{soft}##, and maximum compression ##X_{max}##. The soft spring constant is calculated from the slope of the force vs displacement before the knee and subtracting the hard spring constant. The two springs are in series. The force at the knee in the curve is the force at which the soft spring goes solid. The deflection at which the soft spring goes solid is calculated from the force and spring constant.

The last variable is the coefficient of friction. I would find that by curve fitting, although there might be an analytic solution. I leave that for somebody with more persistence.
 
you can skip the spring model. Looking what you are trying to do a little more carefully there is something funny...

Notice in your first graph basically ##F(t) = Ct ## for ##t<0.038##, and in the second graph ##F(x) = k_{eff}x## for ## x < .058##. So we can equate these through ##F##: $$Ct = k_{eff}x$$

Differentiating twice would imply: ##\ddot x = 0## , we can conclude that if the displacement of the masses center of mass is the displacement of the spring we have balanced forces. Something is pushing it? That looks like something to investigate the implications of. If there is nothing pushing it as you say, it think we must have deformation of the mass to explain acceleration in this regime?

In either deflection regime ##F = kx+b##, differentiating twice w.r.t. time ##t## and solving for ##\ddot x ##, we find

$$ \ddot x = \frac{1}{k}\frac{d^2F}{dt^2}$$

If we are looking for ##\mu mg ## to explain it; were ##\mu## is a constant:

$$ -F - \mu mg = m \frac{1}{k}\frac{d^2F}{dt^2}$$

$$ \implies \mu = - \frac{1}{kg}\frac{d^2F}{dt^2}- \frac{F}{mg} $$

if ##F(t) = At+B## then, ##\ddot F = 0 ## and $$\mu = -\frac{At+B}{mg}$$, a negative time dependent friction coefficient.

if it is (as it appears) in the next regime that ##F## is quadratic ##F(t) =Ct^2+Dt+E##, then

$$ \mu(t)=-\frac{2C}{kg}-\frac{Ct^2+Dt+E}{mg}$$

##C<0## so that's not an issue, but we still have a time dependence.

so ##\mu mg## explaining what you hope has a problem.
 
Last edited:
You can pretty much just directly use the force-displacement graph to get the right output. I might be off a little with the numbers, but it looks pretty close to your data. I used a force of ##f(-0.07)=80000## and ##f(-0.057)=10000## and ##f(0)=0## with linear interpolation between:
1795572682993.webp


Then I solved ##f(x)=m \ddot x## and just manually tried different values of ##m## and ##\dot x(0)## until I got something pretty close to your output. It matches pretty well for ##m=650## and ##\dot x(0)=-1.7##.
1795572709169.webp
 
erobz said:
Skip the friction for a bit, that might be a bad direction:

Would you mind sharing how to tried to constrain the spring constants? You have two unknowns ##k_1## and ##k_2##. Assume ##k_2 > k_1##. Walk us through the attempt to fit using the force vs displacement curve, because it seems like it should be two equations, two unknowns. ##k_2## can be read pretty directly as rise over run of the steep part, and you solve for ##k_1## from the series configuration where the two lines intersect using the solution for ##k_2##. The apparent linearity forces your hand into a solution.

Sure. From the F vs. D graph, I took the slopes of the two lines to be the spring constants, after accounting for the series nature of the springs. I set the length of the softer spring to be equal to the displacement where the two springs meet. Then, I put these into a simulator and ran the problem. This is the result. Note the maximum force is higher and the time it takes to reach the peak is longer in the simulation.

Screenshot 2026-11-24 205605.webp
 
Attachments
  • Screenshot 2026-11-24 201209.webp
    Screenshot 2026-11-24 201209.webp
    22.2 KB · Views: 1
Last edited:
256bits said:
A true spring(s), with no losses, would have the equipment rebounding back across the floor at the same velocity as inbound velocity.
I imagine that does not happen. The equipment rebounds just a little, perhaps back across the datum plane being used for displacement.

Your time graph stops when there is still a force present - is the transponder recording axial load or something else. Perhaps extend the time graph to when the force levels off, or goes back to zero. If the outbound part past the maximum force, is a reflection of the inbound part up to the maximum load, then I would think the collision is more elastic than anything other, and there is energy conservation.

At the other extreme, if the equipment's rebound in none, staying at, of near the position of maximum displacement, then the collision is more inelastic than anything other, with the kinetic energy of the equipment being absorbed by one or both the equipment and wall.

Both graphs should be extended, the one in time to show a leveling off on the force ( perhaps to zero ), and the displacement graph showing displacement before initial contact, during contact, and after contact ( when the equipment has ceased contact and its velocity is negative and free from rebound forces of the wall. )


Are the mountings of the wall being checked for movement. No small signature of crumpling of the equipment -a visual check might not notice sub mm deviations in its frame ( if it has a frame rather than one solid piece of steel )

The equipment does rebound just a little. The transducer signal stopped after the maximum peak, which is why it is cut off. The wall structure was inspected and no visible permanent effects were seen.
 
Dale said:
You can pretty much just directly use the force-displacement graph to get the right output. I might be off a little with the numbers, but it looks pretty close to your data. I used a force of ##f(-0.07)=80000## and ##f(-0.057)=10000## and ##f(0)=0## with linear interpolation between:
View attachment 375533

Then I solved ##f(x)=m \ddot x## and just manually tried different values of ##m## and ##\dot x(0)## until I got something pretty close to your output. It matches pretty well for ##m=650## and ##\dot x(0)=-1.7##.
View attachment 375534

To translate to your notation from the experimental, v0 = 1.5 m/s and m=10,000 kg. You did get a similar max force, but with a much smaller mass. Your result seems to confirm that a simple conservative system model won't work.
 
davidwinth said:
To translate to your notation from the experimental, v0 = 1.5 m/s and m=10,000 kg. You did get a similar max force, but with a much smaller mass. Your result seems to confirm that a simple conservative system model won't work.
I think my post 14 says a simple non-conservative system doesn't work either.
 
erobz said:
I think my post 14 says a simple non-conservative system doesn't work either.

Yes, indeed. I must have seen it before you updated. As I suspected, and as multiple people now confirm, something is missing from the model. I will look at what you wrote again, but I have come to think the loss only happens in the second leg of the impact. Thanks!
 
davidwinth said:
as multiple people now confirm, something is missing from the model
I am not convinced that is correct. The basic spring model gives the right shape. Most alternative models will change the shape.

Your problem is the scale, not the shape. So that is more likely due to units and other scaling issues than model issues. While it would be possible for multiple models to get the same shape, it would be uncommon.
 
Dale said:
I am not convinced that is correct. The basic spring model gives the right shape. Most alternative models will change the shape.

Your problem is the scale, not the shape. So that is more likely due to units and other scaling issues than model issues. While it would be possible for multiple models to get the same shape, it would be uncommon.
I will add a constant force to the model to check. Worth a shot.
 
davidwinth said:
I will add a constant force to the model to check. Worth a shot.
A constant force will just shift the force-time graph vertically. It will not change the scale and it will add a y intercept.
 
Here is a constant magnitude and constant direction force, such as a tilt of the deck:
1795609931712.webp

Note the positive y intercept.

Here is a constant magnitude force pointing in the opposite direction of the motion, such as friction:
1795609847236.webp

Note the positive y intercept and the discontinuity when it reverses direction at the peak.

Here is a force that is proportional to the square of the velocity, like drag:
1795610491616.webp

Note the negative y intercept, the downward curve in the initial portion, and the greatly changed scale.
 
Last edited:
  • Informative
  • Like
Likes   Reactions: 256bits and berkeman
Dale said:
You can pretty much just directly use the force-displacement graph to get the right output. I might be off a little with the numbers, but it looks pretty close to your data. I used a force of ##f(-0.07)=80000## and ##f(-0.057)=10000## and ##f(0)=0## with linear interpolation between:
View attachment 375533

Then I solved ##f(x)=m \ddot x## and just manually tried different values of ##m## and ##\dot x(0)## until I got something pretty close to your output. It matches pretty well for ##m=650## and ##\dot x(0)=-1.7##.
View attachment 375534

I don't have Mathematica, so please do me a favor and run this model with m=10000. Does it match more closely the model results I showed above? Use v0 = -1.5 instead of -1.7. Thank you.
 
davidwinth said:
I don't have Mathematica, so please do me a favor and run this model with m=10000. Does it match more closely the model results I showed above? Use v0 = -1.5 instead of -1.7. Thank you.
It is pretty much the same as your plot:
1795626714442.webp
 
Dale said:
Then I solved ##f(x)=m \ddot x## and just manually tried different values of ##m## and ##\dot x(0)## until I got something pretty close to your output. It matches pretty well for ##m=650## and ##\dot x(0)=-1.7##.
View attachment 375534
@Dale, can you plot ##x[t]## for this particular solution? I'd like to see how the position varies with time. Thanks!