Systems and devices for pacing a patient's heart are disclosed. It uses a motion sensor of an implantable medical device fixed relative to the patient's heart to determine the patient's motion level and to set a pacing rate based at least in part on the patient's motion level Can be included. The patient's motion level may be determined, for example, by comparing the motion level detected by the motion sensor during the current heart beat with the motion level associated with one or more previous heart beats. Noise may occur in exercise level measurements between heartbeats that transition between an intrinsically initiated heartbeat and a heartbeat initiated by pacing. Various techniques are applied to the motion level measurements to help reduce the effects of such noise.患者の心臓をペーシングするためのシステム及びデバイスが開示される。これは、患者の心臓に対して固定された植込み型医療装置の運動センサを使用して患者の運動レベルを決定すること、及び少なくとも部分的に患者の運動レベルに基づいてペーシングレートを設定することを含み得る。患者の運動レベルは、例えば、現在の心拍中に運動センサによって検知された運動レベルを1つ又は複数の以前の心拍に関連する運動レベルと比較することによって決定され得る。内発的に開始された心拍とペーシングによって開始された心拍との間で遷移する心拍の間で、運動レベルの測定値にノイズが発生することがある。そのようなノイズの影響を低減するのを補助するために、運動レベル測定値に様々な技術が適用される。