This invention provides improved optical measurements while in motion by collecting a force signal that measures how hard the optical device is pressing on the body. The force signal is used by a noise-canceling algorithm to reduce motion artifacts from the desired optical signal.