PROBLEM TO BE SOLVED: To provide a phase correction device which can appropriately perform correction, and provide an action identification device, an action identification system, a microcontroller, a phase correction method and a program.SOLUTION: A phase correction device comprises: a standard deviation calculation part 162 to which a plurality of pieces of acceleration data are input and which calculates a standard deviation of the plurality of pieces of acceleration data for each prescribed time; an average value calculation part 164 to which the plurality of pieces of acceleration data are input and which calculates an average value of the acceleration data for each prescribed time; a phase estimation part 170 which estimates the phase of the average value in a space having a first coordinate axis and a second coordinate axis using the average value in the case where the standard deviation is smaller than a prescribed threshold; and a phase correction part 180 which performs phase correction on the average value by using the estimated phase.SELECTED DRAWING: Figure 16【課題】適切に補正することができる位相補正装置、行動識別装置、行動識別システム、マイクロコントローラ、位相補正方法、及びプログラムを提供すること。【解決手段】 複数の加速度データが入力され、前記複数の加速度データの所定時間毎の標準偏差を求める標準偏差演算部162と、前記複数の加速度データが入力され、前記加速度データの前記所定時間毎の平均値を求める平均値演算部164と、標準偏差が所定の閾値より小さいときの平均値を用いて、第1の座標軸及び第2の座標軸を有する空間における平均値の位相を推定する位相推定部170と、推定された位相を用いて、平均値を位相補正する位相補正部180と、を有するものである。【選択図】図16