Incremental encoders and tachogenerators are both commonly used to measure linear and angular velocities as they produce output signals proportional to the motion Piezoelectric sensors can also be used to detect motion by converting mechanical energy into electrical energy Pyroelectric sensors however are typically used for detecting heat and infrared radiation not motion