Abstract:
An apparatus for detecting shaking of stroke of a linear compressor and a method are provided. A linear compressor mis-operates due to change in an external voltage or noise because the shaking of the stroke is detected by the amounts of change in the stroke or current. In order to solve the above problem, a control apparatus of a compressor includes a stroke/current phase difference calculator for calculating the phase differences of the stroke and current using the stroke and the current, which are determined by the increase and the reduction of the stroke due to the voltage generated by a linear compressor, a phase difference change amount calculator for calculating phase difference change amounts using the calculated phase differences of the stroke and the current, a shaking detector for comparing the calculated phase difference change amounts with a reference value for determining whether the shaking of the stroke is detected, to thus determine the shaking of the stroke, and a stroke controller for receiving a stroke shaking detection signal from the stroke shaking detector and changing the stroke voltage according to the magnitude of the request of cooling capacity, which is determined by the change in load, to thus control the driving of the linear compressor, during the operation of the linear compressor.