-
Notifications
You must be signed in to change notification settings - Fork 0
Pendulum Physics
In this project, understanding the physics of a simple pendulum is essential for analyzing its motion and estimating both gravitational acceleration and the minimum frame rate required for accurate tracking. This section outlines the fundamental principles of pendulum physics as applied to our setup and provides the formulas used to derive gravity and frame rate requirements.
To model the pendulum’s motion, we start with the basic force equation for a mass
For small angles, we can approximate
Solving this differential equation yields:
where:
-
$A$ is the amplitude of the oscillation, -
$\phi$ is the phase constant, depending on initial conditions, -
$\frac{g}{L}$ represents the square of the angular frequency$\omega^2$ .
Using the relationship
From this, gravitational acceleration
where:
-
$T_{avg}$ is the average measured period (in seconds), -
$L$ is the pendulum length (in meters).
This gives
According to the sampling theorem:
A signal can be accurately reproduced if it is sampled at a frequency
$F$ that is greater than twice the maximum frequency of the signal.
The maximum frequency of the pendulum’s motion corresponds to the system's natural frequency:
Thus, our sampling frequency
To capture the motion more reliably, a common rule of thumb suggests sampling at 10 times the signal’s maximum frequency. Therefore, we should aim for:
For