Electromagnetic actuator, camera module, electronic equipment and electromagnetic actuator control method

By using a first coil to generate a driving magnetic field and a second coil to generate a resisting magnetic field in the electromagnetic actuator, and by using a magnetic shield to reduce external magnetic field interference, the problem of insufficient driving accuracy of the electromagnetic actuator in the camera module is solved, and higher motion accuracy and focusing or image stabilization effects of the camera module are achieved.

CN121237608APending Publication Date: 2025-12-30HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410870677.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2025-12-30

AI Technical Summary

Technical Problem

Electromagnetic actuators in camera modules are easily affected by external magnetic fields, resulting in insufficient driving accuracy.

Method used

The first coil generates the driving magnetic field, and the second coil generates the resisting magnetic field to cancel the interference magnetic field. Combined with the magnetic shield, it prevents external magnetic field interference and improves the accuracy of the magnet's movement.

Benefits of technology

By combining the resistance magnetic field and the magnetic shield, the influence of the external magnetic field on the movement of the magnet is reduced, thereby improving the driving accuracy of the electromagnetic actuator and the focusing or image stabilization effect of the camera module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121237608A_ABST
    Figure CN121237608A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of electronics, in particular to an electromagnetic actuator, a camera module, electronic equipment and an electromagnetic actuator control method. The embodiment of the invention aims to solve the problem that the driving precision of an electromagnetic actuator is insufficient. According to the electromagnetic actuator, a sensor is used for detecting an interference magnetic field, a first coil is configured to generate a driving magnetic field to drive a magnet to move, a second coil is configured to generate a resisting magnetic field, the direction of the resisting magnetic field is opposite to that of the interference magnetic field, and the magnetic field intensity of the resisting magnetic field is equal to that of the interference magnetic field. The influence of an interference magnetic field on magnet movement is reduced, and the driving precision of the electromagnetic actuator is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, specifically to an electromagnetic actuator, a camera module, an electronic device, and an electromagnetic actuator control method. Background Technology

[0002] An electromagnetic actuator is a device that generates a magnetic field through a coil, causing a magnet to experience a force within the magnetic field and thus outputting power. In some applications, electromagnetic actuators are used in camera modules to drive the movement of optical components within the camera module to achieve focusing or image stabilization. However, the magnet in an electromagnetic actuator is susceptible to interference from external magnetic fields, resulting in insufficient driving precision. Summary of the Invention

[0003] This application provides an electromagnetic actuator, a camera module, an electronic device, and a control method for the electromagnetic actuator, which can improve the driving accuracy of the electromagnetic actuator.

[0004] In a first aspect, embodiments of this application provide an electromagnetic actuator, including: a mover, a stator, a first coil, a second coil, and a magnet. The mover and stator are spaced apart, the first and second coils are both located on the stator, and the magnet is located on the mover. The first coil generates a driving magnetic field, which drives the magnet to move via electromagnetic force. A sensor detects interfering magnetic fields, including magnetic fields from outside the electromagnetic actuator that interfere with the movement of the mover. The second coil generates a counter-magnetic field, the direction of which is opposite to the direction of the interfering magnetic field, and the strength of which is equal to the strength of the interfering magnetic field.

[0005] With the above settings, the electromagnetic force on the magnet from the resisting magnetic field is equal in magnitude and opposite in direction to the electromagnetic force on the magnet from the interfering magnetic field. The resisting magnetic field reduces the influence of the interfering magnetic field on the magnet's motion, improves the motion accuracy of the magnet and the mover, and thus improves the driving accuracy of the electromagnetic actuator.

[0006] In some embodiments that may include the above embodiments, the first coil and the second coil are spaced apart.

[0007] In some embodiments that may include the above-described embodiments, the first coil and the second coil are connected together.

[0008] In some embodiments that may include the above-described embodiments, the center line of the first coil is parallel to the center line of the second coil.

[0009] In some embodiments that may include the above embodiments, there is a preset angle between the center line of the first coil and the center line of the second coil.

[0010] In some embodiments that may include the above embodiments, the first coil is located within the space enclosed by the second coil.

[0011] In some embodiments that may include the above embodiments, the second coil is located within the space enclosed by the first coil.

[0012] In some embodiments that may include the above-described embodiments, the electromagnetic actuator further includes a magnetic shield connected to the stator. The interfering magnetic field includes an external magnetic field from outside the electromagnetic actuator and an additional magnetic field generated by the magnetic shield. The magnetic shield is used to prevent the external magnetic field from being transmitted to it. The direction of the resisting magnetic field generated by the second coil is opposite to the direction of the additional magnetic field, and the magnetic field strength of the resisting magnetic field is equal to that of the additional magnetic field.

[0013] With the above setup, when the sensor's detection accuracy of the external magnetic field is low, the magnetic shield prevents the external magnetic field from being transmitted to it, thereby reducing the interference of the external magnetic field on the magnet's movement. A second coil generates a counter-magnetic field to further reduce the interference of the additional magnetic field on the magnet's movement, thus improving the driving accuracy of the electromagnetic actuator.

[0014] In some embodiments that may include the above-described examples, the magnetic shield is configured as a cavity, and the magnet is disposed within the cavity. This configuration improves the magnetic shield's ability to block external magnetic fields.

[0015] In some embodiments that may include the above-described examples, the magnetic shield is positioned between the source of the external magnetic field and the magnet. This arrangement reduces the amount of magnetic shield used and lightens the weight of the electromagnetic actuator.

[0016] In some embodiments that may include the above-described embodiments, the material of the magnetic shield may include at least one of iron-nickel alloy, nanocrystalline soft magnetic material, and magnetized cast iron.

[0017] In some embodiments that may include the above examples, the sensor is positioned within the magnetic field generated by the magnet, and the sensor is used to detect the magnetic field generated by the magnet. With the above arrangement, the position of the magnet can be calculated based on the magnetic field data generated by the magnet.

[0018] In some embodiments that may include the above examples, the source of the interfering magnetic field is fixed relative to the electromagnetic actuator, and the sensor can be positioned close to the source of the interfering magnetic field. This arrangement improves the sensor's detection accuracy of the interfering magnetic field.

[0019] In some embodiments that may include the above embodiments, the sensor is located within the space enclosed by the first coil.

[0020] In some embodiments that may include the above-described examples, the sensor includes a first sensor and a second sensor. The first sensor is used to detect interfering magnetic fields, and the second sensor is used to detect magnetic fields generated by a magnet. With the above configuration, the first sensor and the second sensor respectively detect the interfering magnetic field and the magnetic field generated by the magnet, thereby improving detection accuracy.

[0021] Secondly, embodiments of this application also provide a camera module, including: a lens module, an image sensor, and an electromagnetic actuator from any of the above embodiments. The lens module and the image sensor are spaced apart along the optical axis. The mover of the electromagnetic actuator is connected to the lens module, and the electromagnetic actuator drives the lens module to move along the optical axis via the mover for focusing.

[0022] With the above settings, the electromagnetic actuator can reduce the influence of the interfering magnetic field on the motion of the mover, improve the driving accuracy, and thus improve the focusing accuracy of the camera module.

[0023] In some embodiments that may include the above embodiments, the mover of the electromagnetic actuator is connected to the image sensor, and the electromagnetic actuator drives the image sensor to move along the optical axis through the mover in order to focus.

[0024] With the above settings, the electromagnetic actuator can reduce the influence of the interfering magnetic field on the motion of the mover, improve the driving accuracy, and thus improve the focusing accuracy of the camera module.

[0025] Thirdly, embodiments of this application also provide another camera module, including: a lens module, an image sensor, and an electromagnetic actuator from any of the above embodiments. The lens module and the image sensor are spaced apart along the optical axis. The lens module is used to converge light to collect light signals, and the image sensor is used to receive the light signals collected by the lens module and convert the light signals into electrical signals. The mover of the electromagnetic actuator is connected to the image sensor, and the electromagnetic actuator drives the image sensor to move in the opposite direction to the jitter via the mover.

[0026] With the above setup, the mover drives the image sensor to move in the opposite direction of the shaking, thereby reducing the impact of shaking on the camera module and achieving image stabilization. The electromagnetic actuator can reduce the influence of interfering magnetic fields on the movement of the mover, improve driving accuracy, and thus improve the image stabilization effect.

[0027] In some embodiments that may include the above embodiments, the mover of the electromagnetic actuator is connected to the lens module, and the electromagnetic actuator drives the lens module to move in the opposite direction to the shaking through the mover.

[0028] With the above setup, the mover drives the lens module to move in the opposite direction to the shaking, thereby reducing the impact of shaking on the camera module and achieving image stabilization. The electromagnetic actuator can reduce the influence of interfering magnetic fields on the mover's motion, improving drive precision and thus enhancing the image stabilization effect.

[0029] In some embodiments that may include the above-described embodiments, the lens module includes a lens assembly and a prism. The lens assembly, prism, and image sensor are spaced apart along the optical axis, with the prism positioned between the lens assembly and the image sensor. The lens assembly is used to converge light rays to collect an optical signal, and the prism is used to refract the light rays converged by the lens assembly so that the image sensor receives the optical signal collected by the lens assembly. An electromagnetic actuator drives the lens assembly to move along the optical axis via a mover for focusing.

[0030] With the above settings, the electromagnetic actuator can reduce the influence of the interfering magnetic field on the motion of the mover, improve the driving accuracy, and thus improve the focusing accuracy of the camera module.

[0031] In some embodiments that may include the above-described examples, the electromagnetic actuator drives the prism to move via a mover for focusing. Through this configuration, the electromagnetic actuator can reduce the influence of interfering magnetic fields on the mover's motion, improve driving accuracy, and thus improve the focusing accuracy of the camera module.

[0032] Fourthly, embodiments of this application also provide an electronic device, including: a controller and a camera module of any of the above embodiments, wherein the controller is electrically connected to a first coil, a second coil, and a sensor. Through the above configuration, the controller can control the first coil to generate a driving magnetic field, thereby controlling the movement of the magnet; the controller can acquire the detection result of the sensor detecting the interfering magnetic field; the controller can control the second coil to generate a resisting magnetic field based on the sensor's detection result of the interfering magnetic field, thereby reducing the influence of the interfering magnetic field on the movement of the magnet, improving the focusing accuracy of the lens module, or improving the image stabilization effect of the lens module.

[0033] Fifthly, embodiments of this application also provide an electromagnetic actuator control method, comprising: acquiring an interfering magnetic field near a magnet in an electromagnetic actuator; controlling a coil in an electromagnetic actuator to generate a resisting magnetic field based on the interfering magnetic field, wherein the resisting magnetic field is opposite in direction to the interfering magnetic field, and the magnetic field strength of the resisting magnetic field is equal to the magnetic field strength of the interfering magnetic field.

[0034] With the above settings, the force exerted by the resisting magnetic field on the magnet is equal in magnitude and opposite in direction to the force exerted by the interfering magnetic field on the magnet. The resisting magnetic field reduces the influence of the interfering magnetic field on the magnet's movement, resulting in higher movement accuracy of the magnet and higher driving accuracy of the electromagnetic actuator.

[0035] In some embodiments that may include the above embodiments, obtaining the interfering magnetic field near the magnet in the electromagnetic actuator includes: obtaining the interfering magnetic field through a sensor in the electromagnetic actuator; and, when the rate of change of the interfering magnetic field is less than the sampling rate of the sensor, controlling the coil in the electromagnetic actuator to generate a resisting magnetic field based on the interfering magnetic field.

[0036] With the above settings, the sensor can obtain data on the interfering magnetic field more accurately. Based on the obtained data on the interfering magnetic field, the coil in the electromagnetic actuator is controlled to generate a resisting magnetic field. The resisting magnetic field effectively reduces the influence of the interfering magnetic field on the movement of the magnet, and the driving accuracy of the electromagnetic actuator is high.

[0037] In some embodiments that may include the above embodiments, when the rate of change of the interfering magnetic field is greater than the sampling rate of the sensor, the method includes: preventing the transmission of an external magnetic field to a magnet by means of a magnetic shield, wherein the interfering magnetic field includes the external magnetic field and an additional magnetic field generated by the magnetic shield; controlling the coil in the electromagnetic actuator to generate a resisting magnetic field according to the interfering magnetic field, including: controlling the coil in the electromagnetic actuator to generate a resisting magnetic field according to the additional magnetic field.

[0038] Through the above settings, the magnetic shield can reduce the influence of external magnetic fields on the movement of the magnet, while resisting magnetic fields to reduce the influence of additional magnetic fields on the movement of the magnet, thereby improving the movement accuracy of the magnet and the driving accuracy of the electromagnetic actuator.

[0039] In some embodiments that may include the above-described examples, the method further includes: acquiring the magnetic field generated by the magnet using a sensor. With the above setup, the position information of the magnet can be calculated from the magnetic field data generated by the magnet.

[0040] In some embodiments that may include the above examples, acquiring the magnetic field generated by the magnet using a sensor includes: acquiring the total magnetic field near the magnet, and removing the resisting magnetic field from the total magnetic field. With the above settings, the magnetic field generated by the magnet can be acquired by removing the resisting magnetic field from the total magnetic field.

[0041] In some embodiments that may include the above embodiments, controlling the coil in the electromagnetic actuator to generate a resisting magnetic field according to the interfering magnetic field includes: controlling the first coil in the electromagnetic actuator to generate a resisting magnetic field according to the interfering magnetic field, wherein the first coil is a coil that drives the magnet to move.

[0042] With the above configuration, the first coil simultaneously generates a driving magnetic field and a resisting magnetic field, which simplifies the structure of the electromagnetic actuator and improves the driving accuracy of the electromagnetic actuator.

[0043] In some embodiments that may include the above embodiments, controlling the coil in the electromagnetic actuator to generate a resisting magnetic field according to the interfering magnetic field includes: controlling the second coil in the electromagnetic actuator to generate a resisting magnetic field according to the interfering magnetic field; wherein the electromagnetic actuator includes a first coil, the first coil being a coil that drives the movement of a magnet, and the second coil being spaced apart from the first coil.

[0044] With the above settings, the first coil and the second coil generate driving magnetic field and resisting magnetic field respectively, making both driving magnetic field and resisting magnetic field more accurate. Attached Figure Description

[0045] Figure 1 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;

[0046] Figure 2 Schematic diagram of the camera module provided in the embodiments of this application Figure 1 ;

[0047] Figure 3 Schematic diagram of the camera module provided in the embodiments of this application Figure 2 ;

[0048] Figure 4 Schematic diagram of the camera module provided in the embodiments of this application Figure 3 ;

[0049] Figure 5 A schematic diagram of the structure of the electromagnetic actuator provided in the embodiments of this application. Figure 1 ;

[0050] Figure 6 for Figure 5 A schematic diagram of the structure of the first coil, second coil, sensor, and stator in the electromagnetic actuator shown.

[0051] Figure 7 A schematic diagram of the structure of the electromagnetic actuator provided in the embodiments of this application. Figure 2 ;

[0052] Figure 8 for Figure 7 Another angled schematic diagram of the first coil, second coil, and stator in the electromagnetic actuator shown;

[0053] Figure 9 A schematic diagram of the structure of the first coil, the second coil, and the stator in the electromagnetic actuator provided in the embodiments of this application;

[0054] Figure 10 A schematic diagram of the structure of the electromagnetic actuator provided in the embodiments of this application. Figure 3 ;

[0055] Figure 11 for Figure 10Another angled schematic diagram of the first coil, second coil, and stator in the electromagnetic actuator shown;

[0056] Figure 12 A schematic diagram of the structure of the first coil, the second coil, the magnet, the sensor, and the mover in the electromagnetic actuator provided in the embodiments of this application;

[0057] Figure 13 A schematic diagram of the structure of the electromagnetic actuator provided in the embodiments of this application. Figure 4 ;

[0058] Figure 14 A flowchart of an electromagnetic actuator control method provided in an embodiment of this application.

[0059] Explanation of reference numerals in the attached figures:

[0060] 10: Electronic device; 11: Display panel; 12: Housing; 13: Mid-frame; 14: Back cover; 15: Receiving cavity; 16: Battery; 17: Motherboard; 18: Opening; 20: Camera module; 21: Lens module; 22: Lens assembly; 23: Lens barrel; 24: Prism; 25: Image sensor; 26: Optical axis; 27: First optical axis; 28: Second optical axis; 30: Electromagnetic actuator; 100: First coil; 200: Second coil; 300: Magnet; 400: Sensor; 500: Stator; 600: Mover; 700: Magnetic shield. Detailed Implementation

[0061] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0062] This application provides an electronic device, which may include at least one electronic device with a shooting function, such as a mobile phone, tablet computer, laptop computer, camera, in-vehicle equipment, or wearable device. This application does not limit the type of electronic device. The electronic device includes a camera module, which can realize functions such as taking photos and recording videos.

[0063] The following description uses a mobile phone as an example of an electronic device. However, the electronic device in this application embodiment is not limited to a mobile phone. Please refer to... Figure 1The electronic device 10 includes a housing 12 and a display panel 11. The housing 12 may include a mid-frame 13 and a rear cover 14. The display panel 11 covers one side of the mid-frame 13, and the rear cover 14 covers the other side of the mid-frame 13. The mid-frame 13, the rear cover 14, and the display panel 11 form a cavity 15. The electronic device 10 also includes a battery 16 and a motherboard 17 disposed within the cavity 15. The motherboard 17 and the battery 16 can be fixed to the mid-frame 13. The motherboard 17 is electrically connected to both the battery 16 and the display panel 11. The electronic device 10 also includes a controller, which may be disposed on the motherboard 17. In some implementations, the controller may include at least one of a central processing unit (CPU) and a system-on-chip (SOC).

[0064] In some embodiments, the camera module 20 can be a rear camera module. Accordingly, the rear cover 14 is provided with an opening 18, and the camera module 20 can be disposed in the accommodating cavity 15, with the camera module 20 facing the opening 18. The camera module 20 is electrically connected to the motherboard 17 to take pictures or record videos under the control of the controller.

[0065] In other embodiments, the camera module 20 may also be a front-facing camera module. Accordingly, an opening is provided on the display panel 11, the camera module 20 is disposed in the accommodating cavity 15, and the camera module 20 faces the opening. The camera module 20 is electrically connected to the motherboard 17 to take pictures or record videos under the control of the controller.

[0066] This application provides a camera module 20. Please refer to... Figure 2 The camera module 20 includes a lens module 21, which is used to gather the light reflected from the scene being photographed and to form an image, so as to obtain the light signal of the scene being photographed.

[0067] The lens module 21 may include a lens assembly 22 and a lens barrel 23. The lens assembly 22 is disposed within the lens barrel 23. The lens assembly 22 includes a lens for refracting and converging light reflected from the subject. The lens barrel 23 is used to fix and protect the lens assembly 22. Along the optical axis 26, the lens barrel 23 has openings at both ends, allowing light to pass through the lens assembly 22 and the lens barrel 23.

[0068] In one alternative embodiment, the lens assembly 22 includes a plurality of lenses stacked along the optical axis 26.

[0069] The camera module 20 in this embodiment further includes an image sensor 25, which receives the light signal collected by the lens module 21 and converts the light signal into an electrical signal. The image sensor 25 and the lens module 21 are arranged at intervals along the optical axis 26.

[0070] In some implementations, the image sensor 25 may include at least one of a charge-coupled device (CCD) and a complementary metal-oxide-semiconductor (CMOS) device.

[0071] Please continue to refer to Figure 2 The camera module 20 in this embodiment of the application also includes an electromagnetic actuator 30.

[0072] In one optional embodiment, the electromagnetic actuator 30 is connected to the lens module 21. The electromagnetic actuator 30 is used to drive the lens module 21 to move relative to the image sensor 25 in a direction parallel to the optical axis 26 for focusing; alternatively, the electromagnetic actuator 30 is used to drive the lens module 21 to move in the opposite direction to the shaking direction of the camera module 20, thereby reducing the impact of shaking on the camera module 20 and achieving image stabilization. The electromagnetic actuator 30 may be connected to the lens assembly 22 in the lens module 21, or it may also be connected to the lens barrel 23 in the lens module 21.

[0073] In another alternative embodiment, the electromagnetic actuator 30 is connected to the image sensor 25. The electromagnetic actuator 30 is used to drive the image sensor 25 to move relative to the lens module 21 in a direction parallel to the optical axis 26 for focusing; or, the electromagnetic actuator 30 is used to drive the image sensor 25 to move in the opposite direction to the shaking direction of the camera module 20 to achieve image stabilization.

[0074] This application embodiment also provides another camera module 20, please refer to... Figure 3 In addition to the lens module 21, image sensor 25, and electromagnetic actuator 30 described above, the camera module 20 may also include a prism 24. The prism 24 is disposed between the lens assembly 22 and the image sensor 25. The prism 24 refracts the light rays converged by the lens assembly 22, allowing the light to be transmitted to the image sensor 25. Thus, the optical axis 26 includes a first optical axis 27 and a second optical axis 28, which intersect. The intersection point of the first optical axis 27 and the second optical axis 28 is located on the refractive surface of the prism 24.

[0075] Based on the above configuration, in the embodiment where the electromagnetic actuator 30 is connected to the lens module 21, the electromagnetic actuator 30 is used to drive the lens module 21 to move relative to the image sensor 25 in a direction parallel to the first optical axis 27 for focusing; in the embodiment where the electromagnetic actuator 30 is connected to the image sensor 25, the electromagnetic actuator 30 is used to drive the image sensor 25 to move relative to the lens module 21 in a direction parallel to the second optical axis 28 for focusing.

[0076] In one alternative embodiment, please refer to Figure 4 The electromagnetic actuator 30 can also be connected to the prism 24. The electromagnetic actuator 30 is used to drive the prism 24 to move. The direction of movement of the prism 24 is opposite to the shaking direction of the camera module 20, thereby achieving the image stabilization function.

[0077] This application provides an electromagnetic actuator 30. Please refer to... Figure 5 The electromagnetic actuator 30 includes a stator 500, which includes a structure that remains stationary during operation of the electromagnetic actuator 30. For example, the stator 500 may include at least one of the following structures: a housing, a base, etc., of the electromagnetic actuator 30.

[0078] Please refer to Figure 5 The electromagnetic actuator 30 in this embodiment further includes a mover 600. The mover 600 may be spaced apart from the stator 500, or the mover 600 may be in contact with the stator 500. The mover 600 is configured to move relative to the stator 500. In some implementations, the mover 600 may be connected to other devices such as the camera module 20, screen, or medical device described in any of the above embodiments to drive the movement of the aforementioned devices.

[0079] In one example, the mover 600 can be connected to the lens module 21 in any of the above embodiments; in another example, the mover can also be connected to the image sensor 25 in any of the above embodiments.

[0080] This application does not limit the movement mode of the mover 600. In one optional embodiment, the mover 600 is configured to rotate relative to the stator 500. For example, the electromagnetic actuator 30 has a rotating shaft, and the mover 600 is rotatably connected to the rotating shaft to rotate relative to the stator 500. In another optional embodiment, the mover 600 moves relative to the stator. For example, the electromagnetic actuator 30 has a guide rail extending in a straight line, and the mover 600 is slidably connected to the guide rail to move in a straight line; or, the stator 500 has a groove extending in a straight line, and the mover 600 is slidably disposed within the groove. In the above embodiments, the rotating shaft, guide rail, or groove can all be used to limit the movement direction of the mover 600.

[0081] Please refer to Figure 5In an embodiment where the mover 600 moves relative to the stator 500, the mover 600 and the stator 500 are spaced apart along a first direction X. The mover 600 can be configured to move relative to the stator 500 along the first direction X, or the mover 600 can be configured to move relative to the stator 500 along a second direction Y, which intersects the first direction X. For example, the angle between the second direction Y and the first direction X is ninety degrees. With this configuration, the distance between the mover 600 and the stator 500 remains constant during the movement of the mover 600.

[0082] Please refer to Figure 5 and Figure 6 The electromagnetic actuator 30 in this embodiment further includes a first coil 100 and a magnet 300. The first coil 100 is disposed on the stator 500, and the magnet 300 is disposed on the mover 600, with the first coil 100 and the magnet 300 spaced apart. This embodiment does not limit the shape, winding structure, or size of the first coil 100. Inputting current into the first coil 100 causes it to generate a driving magnetic field, within which the magnet 300 is located. The driving magnetic field and the magnetic field of the magnet 300 interact, generating an electromagnetic interaction force between the first coil 100 and the magnet 300. The first coil 100 applies a driving force to the magnet 300, driving the magnet 300 to move relative to the stator 500, thereby causing the mover 600 to move relative to the stator 500.

[0083] With the above settings, in the embodiment where the mover 600 is connected to the lens module 21, the first coil 100 can drive the lens module 21 to move; in the embodiment where the mover 600 is connected to the image sensor 25, the first coil 100 can drive the image sensor 25 to move.

[0084] In some embodiments, the controller may be electrically connected to the first coil 100 to control the magnitude and direction of the current in the first coil 100, thereby controlling the first coil 100 to generate a driving magnetic field, which in turn controls the movement of the lens module 21 or image sensor 25 in the camera module 20 to achieve focusing or image stabilization.

[0085] For example, controlling the magnitude of the current input to the first coil 100 can control the strength of the driving magnetic field, and thus control the magnitude of the driving force on the magnet 300. When the current input to the first coil 100 increases, the driving force on the magnet 300 increases; when the current input to the first coil 100 decreases, the driving force on the magnet 300 decreases.

[0086] For example, controlling the direction of the current input to the first coil 100 can control the direction of the driving magnetic field, and thus control the direction of the driving force on the magnet 300. For an example, please refer to... Figure 5The first coil 100 has a first pin and a second pin (not shown in the figure). When the current input to the first coil 100 flows from the first pin to the second pin, the magnet 300 moves to the right relative to the stator in a direction parallel to the second direction Y. When the current input to the first coil 100 flows from the second pin to the first pin, the magnet 300 moves to the left relative to the stator in a direction parallel to the second direction Y. By controlling the magnitude and direction of the driving force on the magnet 300, the movement of the magnet 300 and the mover 600 can be controlled, and their positions can be changed.

[0087] In another alternative embodiment, the magnet 300 may be disposed on the stator 500, and the first coil 100 may be disposed on the mover 600. The magnet 300 applies an electromagnetic interaction force to the first coil 100 to drive the first coil 100 to move the mover 600.

[0088] Please refer to Figure 5 In some implementations, both the first coil 100 and the magnet 300 can be located between the mover 600 and the stator 500. For example, the stator 500, the first coil 100, the magnet 300, and the mover 600 are arranged sequentially along a first direction X, wherein the first coil 100 is located between the stator 500 and the mover 600, and the magnet 300 is located between the first coil 100 and the mover 600.

[0089] In embodiments where the mover 600 moves relative to the stator 500, a slide can be used to limit the direction of movement of the mover 600 and the magnet 300 disposed on the mover 600. In some implementations, the magnet 300 can move in a direction perpendicular to the center line of the first coil 100. For example, the mover 600 can be disposed within the slide, and when the slide extends in a direction perpendicular to the center line of the first coil 100, the component of the driving force perpendicular to the center line of the first coil 100 can drive the magnet 300 to move in a direction perpendicular to the center line of the first coil 100. In other implementations, the magnet 300 can also move in a direction parallel to the center line of the first coil 100. For example, when the slide extends in a direction parallel to the center line of the first coil 100, the component of the driving force parallel to the center line of the first coil 100 can drive the magnet 300 to move in a direction parallel to the center line of the first coil 100.

[0090] In some implementations, the material of magnet 300 may include at least one of AlNiCo, ferrite magnetic materials, samarium cobalt magnets, and neodymium iron boron.

[0091] Please refer to Figure 5The electromagnetic actuator 30 in this embodiment may further include a sensor 400, which is disposed on the stator 500. In some implementations, the sensor 400 may be located within the space enclosed by the first coil 100 and spaced apart from the mover 600 and the magnet 300. With this arrangement, when the mover 600 moves relative to the stator 500, the sensor 400 is prevented from contacting both the mover 600 and the magnet 300.

[0092] Sensor 400 is used to detect nearby interfering magnetic fields. Here, "interfering magnetic field" can be understood as a magnetic field that interferes with the movement of magnet 300. The source of the interfering magnetic field can include any of the following: radio waves, electrical wires, electrical equipment, or household appliances. When magnet 300 is within the interfering magnetic field, the interfering magnetic field exerts an interfering force on magnet 300, causing interference with the movement of magnet 300 and mover 600, thereby reducing the driving accuracy of electromagnetic actuator 30. By placing sensor 400 on stator 500 and preventing sensor 400 from moving, the accuracy of sensor 400 in detecting external interfering magnetic fields is improved.

[0093] In some implementations, sensor 400 may include at least one of a Hall sensor, a magnetometer, and a giant magnetoresistive field sensor.

[0094] Based on the above configuration, the electromagnetic actuator 30 also includes a second coil. Please refer to... Figure 5 The second coil 200 is disposed on the stator 500 and located between the stator 500 and the mover 600, and the second coil 200 is spaced apart from the magnet 300. This application embodiment does not limit the shape, winding structure, and size of the second coil 200; the shape, winding structure, and size of the second coil 200 may be the same as or different from the first coil 100.

[0095] In some embodiments, both the sensor 400 and the second coil 200 can be electrically connected to the controller. The sensor 400 can transmit the detected interfering magnetic field to the controller, which can then control the second coil 200 to generate a counter-magnetic field based on the interfering magnetic field. For example, the controller can input current into the second coil 200 to cause it to generate the counter-magnetic field. The counter-magnetic field is configured to be opposite in direction to the interfering magnetic field and have the same magnetic field strength as the interfering magnetic field.

[0096] Please continue to refer to Figure 5 The magnet 300 can be positioned within a resisting magnetic field. Through this arrangement, the magnet experiences a resisting force from the resisting magnetic field, and the resisting force and the interfering force acting on the magnet 300 are opposite in direction and equal in magnitude, ensuring that the resultant force of the resisting force and the interfering force is zero. The resisting magnetic field reduces the influence of the interfering magnetic field on the movement of the magnet 300, resulting in higher movement accuracy for the magnet 300 and the mover 600, and thus higher driving accuracy for the electromagnetic actuator 30.

[0097] As described in the above embodiments, the controller can control the magnitude and direction of the current input to the second coil 200, and further adjust the magnitude and direction of the resistance force generated by the magnetic field on the magnet 300. The method by which the controller adjusts the current of the second coil 200 can refer to the method by which the controller adjusts the current of the first coil 100, and will not be repeated here.

[0098] In some implementations, the source of the interfering magnetic field is fixed relative to the electromagnetic actuator 30, and the sensor 400 can be positioned close to the source of the interfering magnetic field to improve the detection accuracy of the interfering magnetic field. The second coil 200 can be positioned close to the source of the interfering magnetic field to reduce the influence of the interfering magnetic field on the movement of the magnet 300.

[0099] Please refer to Figure 5 In another optional embodiment, sensor 400 is disposed on stator 500, and sensor 400 may also be disposed within the magnetic field generated by magnet 300. Sensor 400 can also be used to detect the magnetic field generated by magnet 300. The controller can determine the position of magnet 300 relative to sensor 400 based on the magnetic field of magnet 300, thereby obtaining the position information of magnet 300, and further obtaining the position information of mover 600.

[0100] With the above settings, in the embodiment where the mover 600 is connected to the lens module 21, the controller can control the first coil 100 to generate a driving magnetic field according to the position information of the lens module 21, so as to drive the lens module 21 to move and achieve focusing or image stabilization functions; in the embodiment where the mover 600 is connected to the image sensor 25, the controller can control the first coil 100 to generate a driving magnetic field according to the position information of the image sensor 25, so as to drive the image sensor 25 to move and achieve focusing or image stabilization functions.

[0101] In an alternative embodiment, a sensor 400 can be used to detect the interfering magnetic field, as well as the magnetic field generated by the magnet 300.

[0102] In another optional embodiment, sensor 400 may include a first sensor and a second sensor. The first sensor is used to detect interfering magnetic fields, and the second sensor is used to detect magnetic fields generated by magnet 300. The first sensor and the second sensor respectively detect the interfering magnetic field and the magnetic field generated by magnet 300, which can improve detection accuracy. In the above embodiment, the first sensor can be positioned close to the source of the interfering magnetic field, and the second sensor can be positioned close to magnet 300.

[0103] The electromagnetic actuator 30 provided in this application embodiment has a first coil 100 configured to generate a driving magnetic field. Under the driving force of the driving magnetic field, the magnet 300 drives the mover 600 to move relative to the stator 500. The second coil 200 is configured to generate a resisting magnetic field based on the interference magnetic field detected by the sensor 400. The resisting magnetic field is opposite in direction to the interference magnetic field, and the magnetic field strength of the resisting magnetic field is equal to that of the interference magnetic field, so as to reduce the influence of the interference magnetic field on the movement of the magnet 300, thereby improving the movement accuracy of the mover 600 and the driving accuracy of the electromagnetic actuator 30.

[0104] Furthermore, the motion accuracy of the lens module 21 or image sensor 25 connected to the electromagnetic actuator 30 is improved, thereby improving the focusing accuracy of the camera module 20 or improving the image stabilization effect of the camera module 20.

[0105] The embodiments of this application do not limit the relative positional relationship between the first coil 100 and the second coil 200.

[0106] In an alternative embodiment, the first coil 100 and the second coil 200 may be arranged at intervals.

[0107] Please refer to Figure 7 and Figure 8 In some implementations, the mover 600 and stator 500 are spaced apart along a first direction X, and the first coil 100 and the second coil 200 are also spaced apart along the first direction X. The first coil 100 may be closer to the mover 600 than the second coil 200, or vice versa. The first coil 100, which is closer to the mover 600 than the second coil 200, or the second coil 200, which is closer to the mover 600 than the first coil 100, can be mounted on the stator 500 using structures such as brackets, connecting rods, or pins (not shown in the figures). In the above embodiments, on a plane perpendicular to the first direction X, the projection of the first coil 100 may at least partially overlap with the projection of the second coil 200.

[0108] Please refer to Figure 9 In another alternative embodiment, the first coil 100 and the second coil 200 are connected. In some implementations, the first coil 100 and the second coil 200 are stacked, with one end of the first coil 100 connected to one end of the second coil 200, and the space enclosed by the middle of the first coil 100 and the space enclosed by the middle of the second coil 200 are in communication.

[0109] Please refer to Figure 10 and Figure 11In other implementations, the mover 600 and stator 500 are spaced apart along a first direction X, and the first coil 100 and the second coil 200 are spaced apart along a second direction Y. In the above embodiments, the projection of the first coil 100 on a plane perpendicular to the first direction X may not overlap with the projection of the second coil 200. For example, the centerline of the first coil 100 and the centerline of the second coil 200 may be parallel, as shown in the figure, and may be parallel to the first direction X. The plane containing the winding of the first coil 100 is parallel to the plane containing the winding of the second coil 200. Of course, in some other examples, the centerline of the first coil 100 may not be parallel to the centerline of the second coil 200.

[0110] Please refer to Figure 12 In one optional embodiment, the center lines of the first coil 100 and the second coil 200 may coincide, and the second coil 200 may be arranged around the first coil 100. On a plane perpendicular to the center line of the second coil 200, the projections of the first coil 100 and the second coil 200 do not overlap, and the projection of the first coil 100 is located within the area enclosed by the projection of the second coil 200.

[0111] Of course, in some other embodiments, the second coil 200 may be located within the space enclosed by the first coil 100. On a plane perpendicular to the center line of the first coil 100, the projection of the second coil 200 does not overlap with the projection of the first coil 100, and the projection of the second coil 200 is located within the area enclosed by the projection of the first coil 100.

[0112] In another alternative embodiment, the center line of the first coil 100 and the center line of the second coil 200 may intersect. For example, the center line of the first coil 100 and the center line of the second coil 200 may be perpendicular.

[0113] In the above embodiments, the first coil 100 may be positioned closer to the magnet 300 than the second coil 200; or, the second coil 200 may be positioned closer to the magnet 300 than the first coil 100.

[0114] In some embodiments, the interfering magnetic field may include an external magnetic field and an additional magnetic field, wherein the external magnetic field includes a magnetic field from outside the electromagnetic actuator 30. Both the external magnetic field and the additional magnetic field may interfere with the movement of the magnet 300, reducing the movement accuracy of the magnet 300 and the mover 600.

[0115] Please refer to Figure 13Based on the above configuration, the electromagnetic actuator 30 may further include a magnetic shield 700. The magnetic shield 700 prevents external magnetic fields from passing through it, thereby preventing the transmission of external magnetic fields to the magnet 300 and reducing the impact of external magnetic fields on the movement of the magnet 300. The magnetic shield 700 has high permeability; when an external magnetic field reaches the magnetic shield 700, it causes refraction of the magnetic field lines, converging them within the shield 700 and thus preventing the transmission of the external magnetic field to the magnet 300.

[0116] In one optional embodiment, the material of the magnetic shield 700 may include at least one of iron-nickel alloy, iron-cobalt alloy, cobalt-based amorphous material, nanocrystalline soft magnetic material, and magnetized cast iron. Since the magnetic shield 700 includes a magnetic material, it can also generate a corresponding magnetic field, which is an additional magnetic field within the interfering magnetic field. By providing the magnetic shield 700 on the electromagnetic actuator 30, the external magnetic field in the interfering magnetic field can be reduced or even eliminated, but an additional magnetic field is generated within the interfering magnetic field.

[0117] Based on the above structure, the sensor 400 can be used to detect an additional magnetic field in an interfering magnetic field. The second coil 200 is configured to generate a counter-magnetic field at the location of the magnet 300. The counter-magnetic field is opposite in direction to the additional magnetic field, and the magnetic field strength of the counter-magnetic field is equal to that of the additional magnetic field, so as to reduce the influence of the additional magnetic field on the movement of the magnet 300.

[0118] Since the source, intensity, and direction of the external magnetic field can change, if the rate of change is too rapid and the sensor 400's detection result becomes inaccurate, the magnetic shield 700 prevents the difficult-to-detect external magnetic field from being transmitted to the magnet 300, thus reducing the interference of the external magnetic field on the magnet 300's movement. Simultaneously, the magnetic shield 700 itself generates an additional magnetic field, which is less prone to change and is easier to detect than the external magnetic field, making the sensor 400's detection of the additional magnetic field relatively accurate. By detecting the additional magnetic field with the sensor 400 and simultaneously generating a counter-magnetic field through the second coil 200, the influence of the additional magnetic field on the magnet 300's movement can be reduced. With these settings, the influence of both the external and additional magnetic fields on the magnet 300's movement is minimized, resulting in higher movement accuracy for the magnet 300 and the mover 600, and higher driving accuracy for the electromagnetic actuator 30.

[0119] The embodiments of this application do not limit the location of the magnetic shield 700; the magnetic shield 700 can be placed at any location. For example, please refer to... Figure 13The magnet 300 is located on one side of the stator 500, and the magnetic shield 700 is located on the other side of the stator 500. Of course, the magnetic shield 700 can also be located on the same side of the stator 500 as the magnet 300.

[0120] In some implementations, the source of the external magnetic field is fixed relative to the electromagnetic actuator 30, and the magnetic shield 700 can be placed between the source of the external magnetic field and the magnet 300 to prevent the external magnetic field from being transmitted to the magnet 300.

[0121] This application does not limit the shape and size of the magnetic shield 700. For example, please refer to... Figure 13 The magnetic shield 700 is plate-shaped. In other implementations, the magnetic shield 700 can also be sheet-shaped, column-shaped, tubular, etc.

[0122] In some implementations, when the source of the external magnetic field is not fixed relative to the electromagnetic actuator 30, the magnetic shield 700 can be configured to form a cavity, with the magnet 300 disposed within the cavity. The first coil 100, the second coil 200, the sensor 400, the mover 600, and the stator 500 can all be disposed within the cavity. With this configuration, the magnet 300, disposed within the cavity formed by the magnetic shield 700, can prevent the external magnetic field from transmitting to the magnet 300 from any direction.

[0123] This application also provides an electromagnetic actuator control method, please refer to... Figure 14 The electromagnetic actuator control method includes:

[0124] S100: Obtain the interfering magnetic field near the magnet in the electromagnetic actuator.

[0125] The electromagnetic actuator 30 is used to convert electrical energy into mechanical energy. The electromagnetic actuator 30 includes a magnet 300, which outputs mechanical energy through motion. The interfering magnetic field can include magnetic fields from outside the electromagnetic actuator 30 that interfere with the motion of the magnet 300. The acquired data on the interfering magnetic field can include magnetic field strength data, direction data, etc.

[0126] S200. The coil in the electromagnetic actuator is controlled to generate a resisting magnetic field according to the interference magnetic field. The direction of the resisting magnetic field is opposite to that of the interference magnetic field, and the magnetic field strength of the resisting magnetic field is equal to that of the interference magnetic field.

[0127] The electromagnetic actuator 30 also includes a coil, which generates a counter-magnetic field by controlling the current flowing through it. The strength of the counter-magnetic field is controlled based on the strength data of the interfering magnetic field, making it equal to the strength of the interfering magnetic field. The direction of the counter-magnetic field is controlled based on the direction data of the interfering magnetic field, making it opposite to the direction of the interfering magnetic field. Through these settings, the force exerted by the counter-magnetic field on the magnet 300 is equal in magnitude and opposite in direction to the force exerted by the interfering magnetic field on the magnet 300. This reduces the influence of the interfering magnetic field on the movement of the magnet 300, resulting in higher movement accuracy for the magnet 300 and higher driving accuracy for the electromagnetic actuator 30.

[0128] In one alternative embodiment, controlling the coil in the electromagnetic actuator 30 to generate a resisting magnetic field according to the interfering magnetic field may include: controlling the first coil 100 in the electromagnetic actuator 30 to generate a resisting magnetic field according to the interfering magnetic field, the first coil 100 being a coil that drives the magnet 300 to move.

[0129] In the above embodiment, the coil in the electromagnetic actuator 30 includes a first coil 100, which generates a driving magnetic field to drive the magnet 300 to move. The current flowing through the first coil 100 is controlled according to acquired interference magnetic field data, causing the first coil 100 to generate both the driving magnetic field and a resistive magnetic field. The resistive magnetic field reduces the influence of the interference magnetic field on the movement of the magnet 300. The magnetic field generated by the first coil 100 includes the resultant magnetic field of the driving magnetic field and the resistive magnetic field.

[0130] With the above configuration, the first coil 100 simultaneously generates a driving magnetic field and a resisting magnetic field, which simplifies the structure of the electromagnetic actuator 30 and improves the driving accuracy of the electromagnetic actuator 30.

[0131] In one alternative embodiment, controlling the coil in the electromagnetic actuator 30 to generate a resisting magnetic field according to the interfering magnetic field may include: controlling the second coil 200 in the electromagnetic actuator 30 to generate a resisting magnetic field according to the interfering magnetic field.

[0132] In the above embodiments, the coil in the electromagnetic actuator 30 includes a first coil 100 and a second coil 200. The first coil 100 is a coil that drives the magnet 300 to move, and the first coil 100 is used to generate a driving magnetic field to control the movement of the magnet 300; the second coil 200 is used to generate a resisting magnetic field to reduce the influence of the interfering magnetic field on the movement of the magnet 300 and improve the driving accuracy of the electromagnetic actuator 30.

[0133] In some implementations, the first coil 100 can be set at an interval from the second coil 200.

[0134] In one alternative embodiment, acquiring the interfering magnetic field near the magnet 300 in the electromagnetic actuator 30 may include:

[0135] The interference magnetic field is acquired by the sensor 400 in the electromagnetic actuator 30. After acquiring the interference magnetic field, if the rate of change of the interference magnetic field is less than the sampling rate of the sensor 400, the coil in the electromagnetic actuator 30 is controlled to generate a counter-magnetic field based on the interference magnetic field.

[0136] In the above embodiments, the rate of change of the interfering magnetic field may include at least one of the rate of change of the magnetic field strength and the rate of change of the direction of the interfering magnetic field. When the rate of change of the interfering magnetic field is less than the sampling rate of the sensor 400, the sensor 400 acquires data on the interfering magnetic field more accurately. Based on the acquired data on the interfering magnetic field, the coil in the electromagnetic actuator 30 is controlled to generate a resisting magnetic field. The resisting magnetic field effectively reduces the influence of the interfering magnetic field on the movement of the magnet 300, and the driving accuracy of the electromagnetic actuator 30 is high.

[0137] In some implementations, the sensor 400 in the electromagnetic actuator 30 may include at least one of a Hall sensor, a magnetometer, and a giant magnetoresistive field sensor.

[0138] In an optional embodiment, when the rate of change of the interfering magnetic field is greater than the sampling rate of the sensor 400, the electromagnetic actuator 30 control method of this application embodiment includes: preventing the external magnetic field from being transmitted to the magnet 300 by means of a magnetic shield, wherein the interfering magnetic field includes the external magnetic field and the additional magnetic field generated by the magnetic shield.

[0139] Controlling the coil in the electromagnetic actuator 30 to generate a resisting magnetic field according to the interfering magnetic field includes: controlling the coil in the electromagnetic actuator 30 to generate a resisting magnetic field according to the additional magnetic field.

[0140] When the rate of change of the external magnetic field is greater than the sampling rate of the sensor 400, the detection result of the sensor 400 on the external magnetic field may be inaccurate, resulting in a poor effect on resisting the magnetic field and reducing the influence of the interfering magnetic field on the movement of the magnet 300.

[0141] In the above embodiments, the magnetic shield is used to prevent external magnetic fields from passing through the magnetic shield. By preventing external magnetic fields from being transmitted to the magnet 300, the influence of external magnetic fields on the movement of the magnet 300 can be reduced.

[0142] Meanwhile, the sensor 400 detects the additional magnetic field generated by the magnetic shield, and controls the coil in the electromagnetic actuator 30 to generate a counter magnetic field based on the additional magnetic field. The counter magnetic field is opposite in direction to the additional magnetic field, and the magnetic field strength of the counter magnetic field is equal to that of the additional magnetic field. This reduces the influence of the additional magnetic field on the movement of the magnet 300, improves the movement accuracy of the magnet 300, and improves the driving accuracy of the electromagnetic actuator 30.

[0143] In an optional embodiment, the electromagnetic actuator 30 control method of this application further includes: acquiring the magnetic field generated by the magnet 300 through a sensor 400. Acquiring the magnetic field generated by the magnet 300 through the sensor 400 may include: acquiring the total magnetic field near the magnet 300, and removing the resisting magnetic field from the total magnetic field.

[0144] In the above embodiments, the acquired magnetic field data generated by the magnet 300 may include the magnetic field strength and direction generated by the magnet 300. The total magnetic field near the magnet 300 includes the magnetic field generated by the magnet 300 and the counter-magnetic field. The total magnetic field near the magnet 300 is acquired by the sensor 400, and the magnetic field generated by the magnet 300 is obtained by removing the counter-magnetic field from the total magnetic field. The position information of the magnet 300 can be calculated from the magnetic field data generated by the magnet 300.

[0145] It should be noted that, in the description of the embodiments of this application, unless otherwise explicitly specified and limited, the terms "connected" and "linked" should be interpreted broadly. For example, they can refer to a fixed connection or an integral connection; they can also refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; or they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the embodiments of this application according to the specific circumstances.

[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of this application, and are not intended to limit them; although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some or all of the technical features therein; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. An electromagnetic actuator, characterized by, The electromagnetic actuator comprises: a mover; a magnet arranged on the mover; a stator arranged at a distance from the mover; a sensor arranged on the stator, the sensor being configured to detect an interference magnetic field; a first coil arranged on the stator, the first coil being configured to generate a driving magnetic field to drive the magnet to move; a second coil arranged on the stator, the second coil being configured to generate a resisting magnetic field, the resisting magnetic field being opposite to the interference magnetic field in direction and having a same magnetic field strength as the interference magnetic field.

2. The electromagnetic actuator of claim 1, wherein The first coil and the second coil are arranged at a distance.

3. The electromagnetic actuator according to claim 1 or 2, characterized in that A center line of the first coil is parallel to a center line of the second coil.

4. The electromagnetic actuator of claim 3, wherein, The first coil is located in a space enclosed by the second coil, or the second coil is located in a space enclosed by the first coil.

5. The electromagnetic actuator according to any one of claims 1 to 4, characterized in that The electromagnetic actuator further comprises a magnetic shield arranged on the stator, the interference magnetic field comprises an external magnetic field and an additional magnetic field generated by the magnetic shield, the magnetic shield being configured to prevent the external magnetic field from being transmitted to the magnet. The second coil is configured to generate a resisting magnetic field, the resisting magnetic field being opposite to the additional magnetic field in direction and having a same magnetic field strength as the additional magnetic field.

6. The electromagnetic actuator of claim 5, wherein, The magnetic shield is made of at least one of the following materials: iron-nickel alloy, nanocrystalline soft magnetic material, magnetized cast iron.

7. The electromagnetic actuator according to any one of claims 1 to 6, characterized in that The sensor is arranged in a magnetic field generated by the magnet, and the sensor is further configured to detect the magnetic field generated by the magnet.

8. An image capture module, comprising: The camera module comprises: a lens module, an image sensor, and the electromagnetic actuator according to any one of claims 1 to 7, the lens module and the image sensor being arranged along an optical axis; the mover of the electromagnetic actuator is connected to the lens module, and the electromagnetic actuator is configured to drive the lens module to move along the optical axis; or, the mover of the electromagnetic actuator is connected to the image sensor, and the electromagnetic actuator is configured to drive the image sensor to move along the optical axis.

9. An image capture module, comprising: The camera module comprises: a lens module, an image sensor, and the electromagnetic actuator according to any one of claims 1 to 7, the lens module and the image sensor being arranged along an optical axis; the mover of the electromagnetic actuator is connected to the image sensor, and the electromagnetic actuator is configured to drive the image sensor to move, the moving direction of the image sensor being opposite to the shaking direction of the camera module; or, the mover of the electromagnetic actuator is connected to the lens module, and the electromagnetic actuator is configured to drive the lens module to move, the moving direction of the lens module being opposite to the shaking direction of the camera module.

10. The camera module of claim 9, wherein, The lens module comprises a lens assembly and a prism, the prism being arranged between the lens assembly and the image sensor; the mover of the electromagnetic actuator is connected to the lens assembly, or the mover of the electromagnetic actuator is connected to the prism.

11. An electronic device, comprising: The camera module comprises: a controller and the camera module according to any one of claims 8 to 10, the controller being electrically connected to the first coil, the second coil, and the sensor.

12. A method of controlling an electromagnetic actuator, characterized by, The camera module comprises: Obtaining an interference magnetic field near a magnet in an electromagnetic actuator; Controlling a coil in the electromagnetic actuator to generate a counter magnetic field according to the interference magnetic field, the counter magnetic field being opposite to the interference magnetic field in direction, and the counter magnetic field having a same magnetic field strength as the interference magnetic field.

13. The electromagnetic actuator control method according to claim 12, wherein Obtaining an interference magnetic field near a magnet in an electromagnetic actuator, comprising: Obtaining the interference magnetic field by a sensor in the electromagnetic actuator; In a case where a change speed of the interference magnetic field is less than a sampling speed of the sensor, controlling a coil in the electromagnetic actuator to generate a counter magnetic field according to the interference magnetic field.

14. The electromagnetic actuator control method according to claim 13, wherein In a case where the change speed of the interference magnetic field is greater than the sampling speed of the sensor, the method comprising: Preventing an external magnetic field from being transmitted to the magnet by a magnetic shielding body, the interference magnetic field comprising the external magnetic field and an additional magnetic field generated by the magnetic shielding body; Controlling a coil in the electromagnetic actuator to generate a counter magnetic field according to the interference magnetic field, comprising: controlling the coil in the electromagnetic actuator to generate the counter magnetic field according to the additional magnetic field.

15. The electromagnetic actuator control method according to claim 13 or 14, characterized by, The method further comprising: Obtaining a magnetic field generated by the magnet by the sensor.

16. The electromagnetic actuator control method according to claim 15, wherein Obtaining a magnetic field generated by the magnet by the sensor, comprising: Obtaining a total magnetic field near the magnet, and removing the counter magnetic field from the total magnetic field.

17. The electromagnetic actuator control method according to any one of claims 12 to 16, characterized by, Controlling a coil in the electromagnetic actuator to generate a counter magnetic field according to the interference magnetic field, comprising: Controlling a first coil in the electromagnetic actuator to generate a counter magnetic field according to the interference magnetic field, the first coil being a coil for driving the magnet to move.

18. The electromagnetic actuator control method according to any one of claims 12 to 16, characterized by, Controlling a coil in the electromagnetic actuator to generate a counter magnetic field according to the interference magnetic field, comprising: Controlling a second coil in the electromagnetic actuator to generate a counter magnetic field according to the interference magnetic field; wherein the electromagnetic actuator comprises a first coil, the first coil being a coil for driving the magnet to move, and the second coil is arranged to be spaced apart from the first coil.