Here is a list of derivatives and integrals as it relates to physical events.
Well-suited for designing IoT sensor-based devices.
Temperature Sensors
Derivatives:
- Temperature (T) → raw reading
- dT/dt (1st derivative) → rate of warming/cooling → detect door openings, HVAC cycles, approaching people
- d²T/dt² (2nd derivative) → acceleration of temperature change → detect thermal shocks, sudden heat sources
- d³T/dt³ (3rd derivative) → jerk in temperature → detect flame ignition, rapid combustion events
Integrals:
- ∫T dt → degree-days → crop growing conditions, heating/cooling energy needs
- ∫(T - T_threshold) dt → cumulative heat exposure → food spoilage risk, battery degradation
Other Operations:
- Moving average → smoothed temperature → filter out sensor noise
- Temperature gradient over space → heat flow direction → locate heat leaks in buildings
Accelerometers (3-axis)
Derivatives:
- Acceleration (a) → raw reading
- ∫a dt → velocity → walking speed, vehicle speed
- ∫∫a dt² → position/displacement → distance traveled, elevation change
- da/dt (jerk) → smoothness of motion → detect falls, classify activities (walking vs running vs jumping)
- d²a/dt² (snap/jounce) → elevator starts, vehicle collision detection
- d³a/dt³ (crackle) → explosive events, impacts
Integrals:
- ∫|a| dt → total movement energy → fitness tracking, fatigue estimation
- ∫(a - g) dt → net motion (removing gravity) → true displacement
Other Operations:
- FFT of acceleration → vibration frequencies → motor bearing condition, machinery health
- Acceleration magnitude √(ax² + ay² + az²) → total movement intensity → activity level
- Autocorrelation → step detection, gait rhythm analysis
Gyroscopes (Angular Motion)
Derivatives:
- Angular velocity (ω) → raw reading
- ∫ω dt → orientation/angle → compass heading, device tilt
- dω/dt → angular acceleration → detect spins, rotations, tumbling
- d²ω/dt² → angular jerk → detect impacts, drops, sudden orientation changes
Integrals:
- ∫ω dt → total rotation angle → wheel rotations, door opening angle
- ∫|ω| dt → total rotational movement → activity level for rotating machinery
Pressure/Barometric Sensors
Derivatives:
- Pressure (P) → raw reading → altitude estimation
- dP/dt (1st derivative) → rate of pressure change → weather forecasting (falling = storm coming), elevator movement, floor change detection
- d²P/dt² → acceleration of pressure change → explosive decompression, rapid weather events, door slams
Integrals:
- ∫(P - P_reference) dt → cumulative pressure exposure → diving safety, altitude sickness risk
- ∫|dP/dt| dt → total pressure variability → activity level (climbing stairs vs sitting)
Other Operations:
- Pressure + temperature compensation → accurate altitude
- Pressure oscillations (FFT) → breathing rate, HVAC cycling
Light/Luminosity Sensors
Derivatives:
- Luminosity (L) → raw reading
- dL/dt → rate of light change → detect motion (shadows), sunrise/sunset timing, light switch events
- d²L/dt² → acceleration of brightness change → rapid shadow movement (person running by), flickering lights
Integrals:
- ∫L dt → total light exposure → circadian rhythm tracking, UV exposure for skin health
- ∫(L > threshold) dt → daylight hours → solar panel efficiency estimation
Other Operations:
- FFT of light → detect flickering frequency → identify AC-powered lights (50/60 Hz), screen refresh rates
- Autocorrelation → detect periodic light patterns → traffic lights, rotating beacons
Sound/Microphone Sensors
Derivatives:
- Sound amplitude (S) → raw reading
- dS/dt → rate of volume change → detect sudden noises, impact sounds
- RMS of sound → average volume → noise pollution monitoring
Integrals:
- ∫S² dt → total sound energy → noise exposure for hearing safety
- ∫(S > threshold) dt → total loud noise time → workplace safety compliance
Other Operations:
- FFT → frequency spectrum → voice detection, machinery signature, music genre
- Autocorrelation → pitch detection, echo analysis
- Spectral centroid derivative → timbre changes → material identification (glass breaking vs wood breaking)
Distance/Proximity Sensors (Ultrasonic, IR, ToF)
Derivatives:
- Distance (d) → raw reading
- dd/dt (velocity) → approach/retreat speed → collision warning, gesture detection
- d²d/dt² (acceleration) → detect sudden movements → intrusion detection, hand gesture classification
Integrals:
- ∫(d_max - d) dt → occupancy time in zone → parking space utilization, desk occupancy
Other Operations:
- Distance variance over time → activity level → detect restlessness, sleep quality
Humidity Sensors
Derivatives:
- Relative humidity (RH) → raw reading
- dRH/dt → rate of humidity change → detect breathing (in enclosed space), detect rain, shower usage, cooking
- d²RH/dt² → rapid moisture events → water leaks, steam release
Integrals:
- ∫(RH > threshold) dt → mold risk assessment → building health
- ∫|RH - RH_optimal| dt → cumulative moisture stress → material degradation
Current/Voltage Sensors (Electrical)
Derivatives:
- Voltage (V) → raw reading
- dV/dt → rate of voltage change → detect switching events, inductive kick-back
- Current (I) → raw reading
- dI/dt → rate of current change → detect motor starts, short circuits
Integrals:
- ∫I dt → total charge → battery state of charge
- ∫(V × I) dt → energy consumption → electricity cost, appliance usage patterns
- ∫P dt where P = V × I → work done → efficiency calculations
Other Operations:
- FFT of current → harmonic analysis → detect failing motors, non-linear loads
- Power factor (phase between V and I) → electrical efficiency
Magnetic Field Sensors (Magnetometer/Hall Effect)
Derivatives:
- Magnetic field (B) → raw reading → compass heading
- dB/dt → rate of field change → detect moving magnets, electric currents (Faraday’s law)
- d²B/dt² → magnetic jerk → detect electromagnetic pulses, switching events
Integrals:
- ∫B dt → magnetic flux linkage → transformer coupling, motor rotation counting
Other Operations:
- Magnetic field direction → compass navigation
- FFT → detect AC magnetic fields → power line proximity, transformer hum
Gas/Air Quality Sensors (CO2, VOC, etc.)
Derivatives:
- Concentration (C) → raw reading
- dC/dt → rate of concentration change → detect ventilation effectiveness, gas leaks, cooking events, occupancy changes
- d²C/dt² → rapid gas release → leak detection, combustion events
Integrals:
- ∫C dt → total exposure → health risk assessment, indoor air quality score
- ∫(C > threshold) dt → time in dangerous zone → safety compliance
Flow Sensors (Water, Air)
Derivatives:
- Flow rate (F) → raw reading
- dF/dt → rate of flow change → detect valve operations, pump cycles, leaks
Integrals:
- ∫F dt → total volume → water consumption, fuel usage
- ∫(F × cost_per_unit) dt → cost accumulation → billing
Other Operations:
- Flow variance → detect turbulent vs laminar flow → pipe condition
Multi-Sensor Fusion
Cross-derivatives and correlations:
- d(Temperature)/d(Humidity) → psychrometric calculations → dew point, comfort index
- d(Pressure)/d(Altitude) → vertical speed → rate of climb in aircraft, hiking pace
- Correlation(Acceleration, Sound) → impact detection with confirmation
- Correlation(Light, Temperature) → solar heating effects
- Correlation(CO2, Motion) → occupancy verification
- Correlation(Current, Vibration) → motor load analysis
Gradient calculations:
- ∇T (temperature gradient) with multiple sensors → heat flow direction, insulation quality
- ∇P (pressure gradient) → wind direction and speed
- ∇Sound (sound gradient) → sound source location
Statistical Calculus Operations
Moving windows:
- d(σ)/dt where σ = standard deviation → detect transitions from stable to chaotic states
- d(μ)/dt where μ = mean → detect drift in sensor baseline
- Variance over time → sensor health monitoring
Predictive derivatives:
- Richardson extrapolation on sensor trends → predict future values
- Kalman filter derivatives → optimal state estimation from noisy sensors
Edge Detection and Event Classification
Zero-crossing detection:
- When dS/dt = 0 → peak/trough detection → count waves, heartbeats, oscillations
- When d²S/dt² = 0 → inflection point → transition detection
Threshold crossing:
- When S crosses threshold AND dS/dt > rate_threshold → fast rising edge → alarm conditions
- Hysteresis with derivatives → debounce noisy signals
Frequency Domain (FFT-based)
Spectral derivatives:
- d(FFT)/dt → spectral evolution → detect changing vibration patterns, aging machinery
- Peak frequency tracking → motor speed monitoring, heartbeat variability