An apparatus and method for controlling a linear compressor is provided.
The linear compressor controlling apparatus includes a voltage detection
unit, a current detection unit, a control unit and a compressor drive
unit. The voltage detection unit detects a voltage supplied to the linear
compressor, while the current detection unit detects a current supplied
to the linear compressor. The control unit determines whether a collision
of a piston of the compressor with a valve of the compressor occurs using
output signals of the voltage and current detection units, and controls
the amplitude of the piston if the collision of the piston with the valve
occurs. The compressor drive unit controls the amplitude of the piston
under the control of the control unit.