At least one
camera module disposed in an electronic device is provided. The at least one
camera module includes a lens
assembly aligned along an
optical axis, an
image sensor for changing an image to an electrical
signal, an
optical image stabilization (OIS) driving unit for providing force for the lens
assembly or the
image sensor to move in a direction perpendicular to the
optical axis or to rotate about the
optical axis, and a housing for accommodating the lens
assembly, the
image sensor and the OIS driving unit, wherein the OIS driving unit includes an OIS carrier for moving in the direction perpendicular to the optical axis or rotating about the optical axis, the OIS carrier transports the lens assembly or the image sensor based on the movement of the OIS driving unit, a plurality of first axis drive coils disposed on a first side of the housing, a first
magnet having at least two polarities, and disposed on the OIS carrier to face the plurality of the first axis drive coils, at least two first position sensors disposed at coil centers of at least two drive coils respectively among the plurality of the first axis drive coils, and configured to acquire first information for measuring a position of the first
magnet for a first axis direction of the OIS driving unit, and at least one second
position sensor configured to acquire second information for measuring a position of the first
magnet for a second axis direction of the OIS driving unit, and wherein the at least one second
position sensor be disposed on the first side of the housing to face one or more neutral zones of the first magnet.