
Particle filters provide an effective stochastic method for predicting an unknown distribution; this makes them suitable for predicting the underlying properties of dynamical systems. Utilizing these predicted properties in combination with Ackermann’s formula can provide the ideal control law for producing the desired system response. We present a particle filter speed controller for predicting the underlying properties of a vehicle system and then providing the appropriate control law to set the steady-state system response equal to the reference value.
The problem
Cruise control matters in modern vehicles, but a controller designed for one vehicle needs that vehicle's properties: its mass and its damping coefficient from friction and wind drag. With a particle filter, those values do not need to be known up front. They can be estimated and converged upon rapidly, and the same approach generalizes to similar classes of dynamical systems. It is also easy to verify, because we can run a closed-loop simulation with a plant whose true properties the filter never sees.
The vehicle model
Summing the horizontal forces on a vehicle on flat ground gives Newton's second law with an engine force u, a friction and drag term b·v, and the inertia m·v̇. That is a first-order state-space system with x = v:
m v̇ + b v = u
ẋ = −(b/m) x + (1/m) u
y = x
The controllability matrix of this one-state system is just 1/m, so Ackermann's formula reduces to a symbolic control law. We place the closed-loop pole at the stable value −1.5:
u = m · ( −b/m + 1.5 ) · e
Here e is the error between the reference and the measured speed. The control law is only as good as the m and b put into it, which is the job of the particle filter. A discretized form of the state equation, x(t+1) = x(t) + (−(b/m) x(t) + u/m)·Δt, lets each candidate (m, b) predict the speed it would have produced.
The particle filter
Each particle is a guess of the pair (m, b) together with a weight. The filter works as follows.
- Initialize N particles uniformly between bounds: 453.592 to 2267.962 kg (1,000 to 5,000 lb) for mass and 1 to 150 N·s/m for damping.
- For each particle, compute the control law from its m and b, predict the next speed with the discretized equation, and set its weight to the absolute difference between the predicted and the measured speed. A smaller weight means a more probable guess.
- Sort the particles by weight and keep the best K, a fixed keep percentage of N.
- Replace the other N − K by sampling a kept particle at random and drawing a new one from a Gaussian around it, with a per-property kernel sigma.
- Repeat.
The key assumptions are that the true m and b lie inside the initial bounds, that the time step in the discretized model matches the simulation's fixed step, that the saturation bounds are reasonable, and that compared trials use the same random seed.
The simulation
The loop is built in Simulink with MATLAB function blocks. A reference of 60 (26.8224 m/s) minus the measured speed forms the error, the particle filter controller outputs a force, a saturation block limits it to between −4570 N and 4000 N, and the state-space plant produces the speed. The limits come from typical car acceleration of about 4 m/s² and a common safety figure for braking deceleration of 4.572 m/s², each multiplied by a 1,000 kg car. Uniform random sensor noise is added to the measured speed.
The trials
Six trials all use the same plant, 1,000 kg and 50 N·s/m, a time step of 1 and a pole of −1.5. They vary the number of particles (50, 200, 1,000) and the keep percentage (10% or 5%). Each trial is run twice, once without sensor noise and once with uniform noise between −0.1 and 0.1.
| Trial | Particles | Keep | Mass accuracy | Damping accuracy | Mass std. (kg), no noise | Mass std. (kg), noise |
|---|---|---|---|---|---|---|
| 1 | 50 | 10% | 99.84% | 99.97% | 20.4 | 13.32 |
| 2 | 50 | 5% | 99.82% | 100% | 24.91 | 11.73 |
| 3 | 200 | 10% | 99.98% | 100% | 20.62 | 178.3 |
| 4 | 200 | 5% | 99.98% | 100% | 23.44 | 81.17 |
| 5 | 1,000 | 10% | 99.98% | 100% | 36.27 | 77.78 |
| 6 | 1,000 | 5% | 99.96% | 100% | 56.89 | 108.8 |
Results
After 10 resampling steps, the mass and damping estimates are accurate to about 99% or better in every trial, with or without noise, and the closed-loop speed settles at the reference of 26.8224 m/s. The accuracy table above shows the no-noise runs; with noise the accuracies are within a few hundredths of a percent (mass 99.82% to 99.97%, damping 99.97% to 100%).
The standard deviation of the converged particle set tells a subtler story. With noise, the 50-particle trials have a lower mass spread than without it, while the 200 and 1,000-particle trials have a higher one. The paper reasons that a smaller keep percentage leaves a tighter set of particles, and with noise that holds for trials 1 to 4 (13.32 to 11.73, and 178.3 to 81.17) but reverses at 1,000 particles (77.78 to 108.8).
Conclusions
We built a particle filter cruise controller that finds a vehicle's mass and damping coefficient while it runs and uses them in a symbolic Ackermann control law to drive the speed to the reference. All six trials converged on the properties. Sensor noise widened the converged particle set once there were 200 or more particles, and the keep percentage changed the spread in ways that depend on the particle count and the noise. Future work includes models with more properties and non-linear dynamics, non-Gaussian sensor noise, and changing references such as steps at different times or a ramp, to test how quickly the filter responds.
A note from 2026
Treat the trial comparisons as single runs. Each trial was run once with one random seed, so differences in spread may not hold across seeds. The paper's text also says that without noise the 5% keep trials have the lower mass spread, but its own table shows the opposite (for example 20.4 at 10% against 24.91 at 5% in trials 1 and 2), and its conclusion says the estimates were accurate to above 99.9% when the tables show mass accuracy as low as 99.82%. The kernel sigma for mass is 2 in the parameter table and 10 in the text. I follow the tables where they disagree with the prose.
The paper is available as a PDF, and the Simulink and MATLAB code is in the GitHub repository.