Motion Detector: Measuring Position, Velocity, and Motion Graphs
Learn how an ultrasonic motion detector measures distance and how to use position-time and velocity-time graphs to investigate motion.
A motion detector is a sensor that measures an object's position, or distance from the sensor, over time. In a physics classroom, it can record the motion of a walking student, a cart, an oscillating object, or another reflective target. Software then displays the measurements as graphs.
The detector directly measures distance or position. Velocity and acceleration are usually calculated from changes in the position data. Keeping this distinction clear helps you interpret what the equipment measures and what the software derives.
What a Motion Detector Measures
A motion detector measures how far an object is from the sensor at different times. If the detector records a distance of 1.5 meters at 2 seconds and 2.1 meters at 4 seconds, the object's measured position changed during that interval.
Typical investigations include walking steadily away from or toward the detector, moving a cart, observing an object that oscillates back and forth, and matching a physical motion to a target graph. These activities connect equations, graphs, and real movement.
In this lesson, position means location relative to a chosen reference point. Distance can mean separation from that point or the total ground covered, depending on context. Displacement is the signed change in position from an initial location to a final location.
How an Ultrasonic Motion Detector Works
An ultrasonic sensor uses sound waves above the range of human hearing. The detector emits a short sound pulse toward a target. The pulse reflects from the target as an echo, and the detector measures the time between sending the pulse and receiving the echo.
This elapsed time is called time of flight. Because the pulse travels from the detector to the object and then back again, the measured travel distance is twice the object's one-way distance. The detector therefore uses:
distance = (speed of sound × echo travel time) / 2The division by two is essential. For example, if sound travels a total of 3.4 meters during the round trip, the target is approximately 1.7 meters from the detector.
The speed of sound changes somewhat with air temperature and other environmental conditions. Classroom detectors account for this approximately or use a calibrated setting, so small differences between the displayed distance and a ruler measurement are possible.
Position, Direction, and the Reference Frame
A reference frame is the origin and direction convention used to describe motion. A common classroom choice places position zero at the detector and defines increasing position as distance away from it.
- Moving away from the detector produces increasing position and usually positive velocity.
- Moving toward the detector produces decreasing position and usually negative velocity.
- Remaining still produces nearly constant position and velocity near zero.
With this convention, an object's initial position appears as the graph's position value at time zero. A target beginning 2 meters from the detector starts near the point (0 s, 2 m). Changing the origin or reversing the positive direction changes the signs and numerical positions, but not the physical motion.
The detector does not necessarily measure the center of a person or object. It detects the nearest strong reflecting surface in its sensing path. For a person, that might be clothing, a torso, or a hand. Use a consistent flat target when precise comparisons matter.
Setting Up a Motion Investigation
Connect the detector to the appropriate data-collection interface or software. Select a sampling rate, which is the number of measurements collected each second, and a collection duration suitable for the motion. A slow walk may need a modest sampling rate and several seconds; a rapidly changing motion needs more frequent measurements.
| Setup element | Recommended condition | Reason |
|---|---|---|
| Detector location | Stable surface or firmly secured stand | Prevents the sensor itself from moving. |
| Aim | Point directly along the object's path | Produces a clearer change in measured distance. |
| Sensing area | Clear of walls, furniture, and other moving objects | Reduces competing reflections. |
| Target | Large, flat, hard, and reflective | Returns a stronger echo. |
| Sampling rate | High enough to capture the motion without unnecessary noise | Provides useful detail while avoiding excessive data. |
| Duration | Long enough to include the complete motion | Prevents the recording from ending too soon. |
- Place the detector at one end of a clear path.
- Remove objects that could reflect sound between the detector and the target.
- Position the person or object so its main reflecting surface faces the detector.
- Choose the sampling rate and collection duration.
- Start data collection before the motion begins.
- Perform the planned motion along the detector's sensing path.
- Stop collection after the motion is complete, then save or review the results.
Reading Position-Time Graphs
A position-time graph shows position as a function of time. Time is normally on the horizontal axis and position on the vertical axis. The graph's slope is rise divided by run:
average velocity = change in position / change in timeOn a position-time graph, slope represents velocity. The sign of the slope gives direction under the selected reference convention, and the magnitude of the slope gives speed.
| Graph feature | Position behavior | Velocity interpretation | Physical motion |
|---|---|---|---|
| Horizontal section | Position is approximately constant | Velocity is near zero | Object remains still. |
| Straight rising line | Position increases at a steady rate | Constant positive velocity | Object moves steadily away if increasing position is positive. |
| Straight falling line | Position decreases at a steady rate | Constant negative velocity | Object moves steadily toward the detector under the usual convention. |
| Steeper straight line | Position changes more quickly | Greater speed; sign still gives direction | Object moves faster. |
| Curved line | Position changes at a changing rate | Velocity changes | Object accelerates, which may mean speeding up or slowing down. |
Axis scales must be considered before comparing steepness. A line that appears steeper may not represent a greater speed if the graph's horizontal or vertical scales differ. Calculate or estimate slope using the axis units.
For example, standing still produces a nearly horizontal line. Walking steadily away produces a straight line rising with time. Walking steadily toward the detector produces a straight line falling with time. Walking away, pausing, and returning produces a rising segment, a horizontal segment, and a falling segment.
Velocity-Time Graphs
Velocity is the rate of change of position and includes direction. A velocity-time graph shows velocity on the vertical axis and time on the horizontal axis.
| Graph feature | Velocity behavior | Acceleration interpretation | Physical motion |
|---|---|---|---|
| Horizontal line above zero | Constant positive velocity | Zero acceleration | Steady motion in the positive direction. |
| Horizontal line below zero | Constant negative velocity | Zero acceleration | Steady motion in the negative direction. |
| Line at zero | Velocity is zero | Usually zero acceleration while stopped | Object remains at rest. |
| Rising or falling line | Velocity changes | Acceleration is the slope | Object changes speed, direction, or both. |
The signed area under a velocity-time graph represents displacement. Area above the time axis contributes positive displacement; area below it contributes negative displacement. Opposite-direction areas can cancel even though the object traveled a nonzero total distance.
Acceleration and Changes in Motion
Acceleration is the rate at which velocity changes:
acceleration = change in velocity / change in timeOn a velocity-time graph, acceleration is the slope. On a position-time graph, acceleration is suggested by curvature because curvature means the slope, and therefore velocity, is changing.
To decide whether an object is speeding up or slowing down, compare the directions of velocity and acceleration. If they point in the same direction, speed increases. If they point in opposite directions, speed decreases. For example, positive velocity with positive acceleration means speeding up, while positive velocity with negative acceleration means slowing down. The same reasoning applies when velocity is negative.
Common Motion Detector Activities
Constant Position
Stand still at a fixed distance in front of the detector for several seconds. The expected result is a nearly horizontal position-time graph and velocity near zero. Small fluctuations are normal measurement noise.
Constant Motion Away
Walk steadily away from the detector in a clear, straight path. The position-time graph should be approximately a straight line with increasing position, and the velocity should have a positive sign if away is positive.
Constant Motion Toward
Begin several meters away and walk steadily toward the detector. Do not enter the blind zone near the sensor. The position-time graph should have the opposite slope, and velocity should have the opposite sign.
Stopping and Reversing
Walk away, pause, and then return toward the detector. The position-time graph should contain a rising segment, a nearly flat pause, and a falling segment. The velocity-time graph should show motion in one direction, velocity near zero, and motion in the opposite direction.
Comparing Speeds
Repeat a walk at slow and fast steady speeds over similar time intervals. The faster trial should have a larger-magnitude slope on the position-time graph. Its velocity should also have a larger magnitude.
Accelerating Motion
Move a cart or walk while gradually increasing speed. The position-time graph should curve, and the velocity-time graph should change systematically rather than remaining horizontal.
Creating a Target Graph Motion
Graph-following challenges ask you to produce a requested position-time graph by moving yourself or an object. Treat the graph as a record of position versus time, not as a literal path through space.
- Identify the starting position and the time intervals on the target graph.
- For a horizontal interval, stand still or hold the object at a fixed location.
- For a rising interval, move in the positive direction. For a falling interval, move in the negative direction.
- Match the slope: a steeper segment requires faster motion, while a shallow segment requires slower motion.
- Match the duration of each segment, including pauses and reversals.
- Predict the physical actions, perform a trial, and compare the collected graph with the target.
- Revise speed, timing, direction, or starting position and repeat.
Floor markers can help a student practice where to stand and when to change speed. The goal is to match position, slope, and timing rather than to trace a visual shape in the air.
Measurement Range and Data Quality
Every detector has a minimum and maximum useful measurement range. The blind zone is the region too close to the sensor for reliable readings. The maximum range depends on the detector, target, and surroundings. Check the equipment instructions and keep the target within the stated operating range.
A target must reflect enough sound toward the detector. Soft, irregular, or angled materials can produce weak or redirected echoes. A person moving sideways may present a changing reflecting surface. Walls, furniture, another person, or multiple moving targets can also become the surface the detector identifies.
| Observed data pattern | Likely cause | Correction |
|---|---|---|
| Erratic spikes or sudden distance jumps | Another object entered the field, the target was angled, reflections were weak, or ultrasonic interference occurred | Clear the area, face the target toward the sensor, use a larger flat target, and repeat with one moving target. |
| No meaningful readings when close | Target entered the blind zone | Start farther away and remain outside the near-range exclusion zone. |
| Graph does not match steady walking | Walking speed changed, the person moved sideways, or the detector moved or was misaligned | Practice with floor markers, walk directly along the sensing path, and secure and realign the detector. |
| Measured distance is offset | Detector measured the nearest body part or surface, or the origin was defined incorrectly | Use a consistent flat surface, state the zero position, and account for physical separation from the chosen origin. |
| Data end before the motion | Collection duration was too short or recording stopped early | Increase the duration and repeat the trial. |
Safety and Good Experimental Practice
- Keep a clear walking path and remove bags, cables, and other trip hazards.
- Do not back into the detector, furniture, equipment, or another person.
- Use a spotter when a person is walking backward or when the path is crowded.
- Keep the detector stable and avoid touching it during collection.
- Repeat trials when data contain unusual jumps, and record the setup and any changes.
- Save raw data before editing, smoothing, or calculating derived quantities.
Key Ideas to Remember
- An ultrasonic motion detector sends sound pulses and measures echo time of flight.
- Because the sound travels out and back, distance equals speed of sound times round-trip time divided by two.
- The detector directly measures distance or position over time; velocity and acceleration are calculated from those data.
- Position-time slope is velocity, and velocity-time slope is acceleration.
- Horizontal position-time sections indicate rest; straight sloped sections indicate constant velocity; curved sections indicate changing velocity.
- The signed area under a velocity-time graph gives displacement.
- Reliable data require a clear path, a stable detector, a suitable reflective target, and a motion within the useful range.