Driving system with magnetic disturbance compensation function

By introducing a monitoring module into the slave device to store and use the driving information of other slave devices, the problem of crosstalk between the axes in the mobile device camera module is solved, and the accuracy of position detection is improved.

CN119421049APending Publication Date: 2025-02-11广东芯赛威科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411538804.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-05-29
Filing Date
2024-10-31
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

In the camera module of a mobile device, the slave devices of each axis cannot share position information, causing crosstalk between the other two axes when one axis moves, affecting the accuracy of position detection.

Method used

A drive system is designed in which the slave device includes an engine module and a monitoring module. The engine module drives the moving part according to the received driving signal, and the monitoring module monitors the driving signals of other slave devices in real time, and stores its address information and driving information so as to compensate for magnetic interference when driving the moving part itself.

Benefits of technology

By storing driving information of other slave devices, each slave device can cancel crosstalk caused by movement of other axes while moving, improving the accuracy of position detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119421049A_ABST
    Figure CN119421049A_ABST
Patent Text Reader

Abstract

The invention relates to a driving system with a magnetic disturbance compensation function. The driving system comprises a master device and a plurality of slave devices. The master device is used for sending a driving signal to the plurality of slave devices; the slave device comprises an engine module and a monitoring module, and the engine module is used for driving the moving part according to the driving signal when addresses contained in the driving signal are matched; the monitoring module is used for monitoring the driving signal of the master device when the address contained in the driving signal is not matched, matching the driving signal with the stored address information of the plurality of other slave devices, and storing the matched address information and the driving information of the other slave devices matched with the driving signal; when the engine module drives the moving part according to the driving signal, magnetic interference compensation is carried out according to driving information of other slave devices stored in the monitoring module, and then actual driving information is generated to drive the moving part. According to the invention, each slave device can carry out magnetic interference compensation according to the driving information of other slave devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a driving system with a magnetic interference compensation function, and in particular to a driving system with a magnetic interference compensation function that utilizes magnetic field intensity to distinguish modules with position changes.

[0002] This application claims priority, and its priority date is May 29, 2024, and the priority number is 10-2024-0070011. This application refers to the above priority document. Background Art

[0003] Typically, mobile devices such as smartphones, tablets, and laptops are equipped with one or more camera modules for capturing still or video images. Although the camera module is small in size, it is equipped with autofocus, optical image stabilization, and zoom functions to achieve precise image quality. To achieve these functions, an actuator is installed in the camera module. The drive portion of the actuator can detect the position of the lens carrier and drive the actuator (Actuator) according to the position of the lens carrier and the position control signal to move the lens carrier to the target position. Among them, the actuator (Actuator) is composed of a Z-axis slave device for autofocus, an X-axis slave device for optical image stabilization, and a Y-axis slave device. Among them, the movement of any one axis may cause the other two axes to move, thereby causing crosstalk caused by position detection errors. This is because the slave devices on each axis are composed of separate IC chips, which cannot share position information, but move according to the drive signal of the master device, resulting in the generation of crosstalk proportional to the moving distance. That is, the slave device on each axis only drives the slave device on the axis with the corresponding address according to the driving signal of the master device, without considering the position of the slave devices on other axes. Due to the general connection structure between the master device and the slave device, each slave device only stores its own driving information and cannot identify and read the driving information of other slave devices. Figure 1 As shown, the I2C bus is a serial bus protocol that can communicate with multiple slave devices 21, 22, 23, 24. The multiple slave devices 21, 22, 23, 24 are connected to the master device 10 through the power line VDD and the two lines SCL and SDA to transmit and receive data. In this way, the I2C bus can control multiple chips in a serial manner by using only two lines.

[0004] The master device 10 generates a clock signal and controls data transmission between the master device and the slave device. The master device 10 communicates with the desired slave device 21 / 22 / 23 / 24 by specifying the slave device address of each slave device 21 / 22 / 23 / 24. Therefore, the slave device only receives information transmitted through the master device 10 to drive itself, and does not save information received by other slave devices. Summary of the invention

[0005] The present invention is proposed to solve the above technical problems. The purpose of the present invention is to provide a driving system, which is composed of multiple independent IC chips, each IC chip drives a moving part and has an independent address. Since the driving information of each moving part is not shared with each other, each slave device can drive its own moving part by means of the driving signal sent by the master device, and monitor the driving signals of other slave devices in real time, so as to know their driving information. When driving its own moving part, the slave device can perform magnetic interference compensation according to the driving information of other slave devices.

[0006] To achieve the above object, the present invention provides a driving system with a magnetic interference compensation function, which is used to drive the moving parts of multiple slave devices that are independent of each other and connected to the same bus interface; the driving system includes a master device and multiple slave devices;

[0007] The master device is used to send a driving signal for driving one or more slave devices to the multiple slave devices;

[0008] The slave device comprises an engine module and a monitoring module, wherein the engine module is used to drive the moving part according to the driving signal when the slave device matches the address contained in the received driving signal;

[0009] The monitoring module is used to monitor the driving signal of the master device when the slave device does not match the address included in the received driving signal, and match it with the stored address information of multiple other slave devices, and save the matching address information and the driving information of other slave devices that match the driving signal;

[0010] When the engine module drives the moving part according to the driving signal, magnetic interference compensation is performed according to the driving information of other slave devices stored in the monitoring module, thereby generating actual driving information to drive the moving part.

[0011] Optionally, the driving signal includes a driving slave device address and driving information.

[0012] Optionally, the engine module includes an address register, a calculation unit and a driving unit; the address register is used to store the address information of the current slave device; the calculation unit is used to calculate the compensation value for the position of the moving part driven by other slave devices based on the driving information in the driving signal received from the current slave device and the driving information of other slave devices stored in the storage unit, and then generate actual driving information; the driving unit is used to compensate for magnetic interference based on the actual driving information generated by the calculation unit to drive the moving part of the current slave device.

[0013] Optionally, the monitoring module includes another device address register and a storage unit; the another device address register is used to store address information of other slave devices; the storage unit is used to save information of other slave devices matching the driving signal and position information of the moving part driven by the engine module of other slave devices according to the address information stored in the another slave device address register.

[0014] Optionally, the master device is used to send or broadcast the driving signal individually to the multiple slave devices.

[0015] Compared with the prior art, the drive system with magnetic interference compensation function provided by the present invention has the following beneficial effects:

[0016] The present invention stores driving information of multiple slave devices that are difficult to share information on each slave device, so that when each moving part driven by each slave device moves in any one of the X-axis, Y-axis and Z-axis, the crosstalk on the other two axes caused by the movement of one axis can be offset, thereby improving accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a block diagram of a common device driver;

[0018] Figure 2 A block diagram of a drive system with a magnetic interference compensation function provided by an embodiment of the present invention;

[0019] Figure 3 A schematic flow chart of a magnetic interference compensation method for a drive system with a magnetic interference compensation function provided by an embodiment of the present invention.

[0020] Description of reference numerals:

[0021] 1000-Drive system;

[0022] 100-main device;

[0023] 200 - slave device; 210 - engine module; 211 - address register; 212 - operation unit; drive unit-213; 220 - monitoring module; 221 - other device address register; 222 - storage unit; 230 - moving unit. DETAILED DESCRIPTION

[0024] The advantages and features of the present invention and the methods for achieving them will be clearly described in the detailed description of the embodiments of the drawings. However, the present invention is not limited to the embodiments described below, but can be implemented in various forms.

[0025] The terms used in this specification are only for describing the embodiments and are not intended to limit the present invention. In this specification, unless otherwise specified, the singular includes the plural. The use of expressions such as "comprises" and "comprising" does not exclude the existence or addition of one or more other components in addition to the components. Throughout the specification, the same graphic symbols represent the same components, and "and / or" indicates each of the components and all possible combinations thereof. Even if "first", "second", etc. are used to describe various components, these components are not bound by these terms. These terms are only to distinguish one component from another. Therefore, the first component mentioned below may also be the second component within the technical scope of the present invention.

[0026] The word "exemplary" is used in this specification to mean "an example or used as an example". Any embodiment described as "exemplary" in this specification is not necessarily interpreted as being expected or superior to other embodiments. In addition, the term "unit" used in this specification refers to a software or hardware element, such as an FPGA or ASIC, and the "unit" can play various roles. However, a "unit" is not limited to software or hardware. It can be configured as an addressable part in a storage medium, and can also be configured as a part that executes one or more processors. Therefore, for example, a "unit" can cover software elements, object-oriented software elements, class elements, and task elements, as well as processes, functions, attributes, processes, subroutines, program code segments, drivers, firmware, microcodes, circuits, data, databases, data structures, tables, arrays, and variables. The functions provided in a "unit" can be further combined or decomposed into smaller elements and "units". In addition, in this specification, each "unit" can be controlled by at least one processor, and the actions performed by the "unit" of the present disclosure can be performed by at least one processor.

[0027] The embodiments of this specification can be described from the perspective of functions or modules that perform functions. The blocks in the "parts" or "modules" mentioned in this disclosure can be physically implemented by analog or digital circuits, such as logic gates, integrated circuits, microprocessors, microcontrollers, memories, passive electronic components, active electronic components, optical components, hard-wired circuits, etc., and can be selectively driven by firmware and software. The embodiments of this specification can be achieved by at least one software program running on at least one hardware device, and network management functions can be performed to control elements. Unless otherwise defined, all terms used in this article (covering technical and scientific terms) can be used with the meaning that ordinary technicians in the technical field to which the present invention belongs can understand. In addition, the pre-defined terms commonly used will not be idealized or over-interpreted unless they are clearly and specifically defined.

[0028] Next, the technical features of the present invention will be described in detail with reference to the accompanying drawings.

[0029] An embodiment of the present invention relates to a drive system for driving a plurality of slave devices connected to the same bus interface, wherein the slave devices perform control functions of driving a moving part, a driving coil, and an actuator driving a Hall sensor. The drive signal mentioned below is only a signal transmitted to the slave device to drive the moving part, and does not move the slave device.

[0030] For details, please refer to the figure, which is a schematic diagram of the block structure of a drive system with a magnetic interference compensation function provided by an embodiment of the present invention. Figure 2 As shown, the driving system 1000 with magnetic interference compensation function provided by the present invention is roughly divided into a master device 100 and a plurality of slave devices 200 .

[0031] The master device 100 is connected to a plurality of slave devices 200 in parallel, and serves as a master device that issues commands to each slave device 200. In an embodiment of the present invention, the master device 100 transmits a driving signal for driving one or more slave devices 200 to the plurality of slave devices 200. Specifically, the master device 100 can send the driving signal to the plurality of slave devices individually, or broadcast it to the plurality of slave devices. It is emphasized again here that the driving signal includes a driving slave device address and driving information. The driving slave device address refers to the address of the slave device that controls the moving part 230 that needs to be moved, and the driving information refers to the information that drives the moving part to move.

[0032] In addition, although multiple slave devices 200 are described in an embodiment of the present invention, such as a first slave device 200a, a second slave device 200b, and up to the Nth slave device 200c, in an embodiment of the present invention, the current slave device that matches the address information in the drive signal and other slave devices that do not match the address information in the drive signal can be distinguished and described based on the address information included in the drive signal sent by the master device 100.

[0033] For ease of description, it is assumed that the first slave device 200a is the current slave device, and the second slave device 200b and the Nth slave device 200c are other slave devices. In addition, the specific configuration of the first slave device 200a and the specific configuration of the second slave device 200b and the Nth slave device 200c may be the same.

[0034] The slave device 200 is roughly divided into an engine module 210 and a monitoring module 220. The engine module 210 receives a driving signal from the master device 100, and when the slave device address contained in the driving signal matches, the mobile unit 230 is moved according to the driving signal. The engine module 210 includes an address register 211, a computing unit 212 and a driving unit 213. The address register 211 stores the address of the slave device 200a, and identifies the current slave device 200a by matching with the address information in the received driving signal. The computing unit 212 calculates the compensation value for the position of the mobile unit driven by other slave devices 200b and 200c according to the driving information in the driving signal received by the current slave device 200a and the driving information of other slave devices 200b and 200c stored in the storage unit 222, and then generates actual driving information. The driving unit 213 is used to compensate for magnetic interference according to the actual driving information generated by the computing unit 212 to drive the mobile unit 230 of the current slave device 200a.

[0035] If the slave device address included in the driving signal sent by the master device 100 does not match the address of the slave device 200a, the monitoring module 220 is configured to store the driving information of the other slave devices 200b and 200c.

[0036] The monitoring module 220 includes other slave device address registers 221 and a storage unit 222. The other slave device address registers 221 are used to store address information of other slave devices 200b and 200c to monitor the drive signal sent by the master device 100. That is, the matching address information can be confirmed by matching with the address information of multiple other slave devices 200b and 200c stored in the other slave device address registers 221 in the slave device 200a, thereby obtaining the slave device information.

[0037] The storage unit 222 stores the information of the other slave devices 200b and 200c that match the driving signal and the position information of the mobile parts driven by the engine modules of the other slave devices according to the address information stored in the other slave device address registers 221. Thus, the current slave device 200a can obtain the position information of the mobile parts driven by the other slave devices 200b and 200c. Therefore, when the current slave device 200a drives its mobile part 230, corresponding compensation can be performed to compensate for the magnetic interference.

[0038] Figure 3 A flow chart of a magnetic interference compensation method for a drive system with a magnetic interference compensation function provided by an embodiment of the present invention. Figure 3 As shown, the specific steps include:

[0039] Step S100: The slave device waits for driving (drive standby). That is, the slave device is in a waiting state.

[0040] Step S200, receiving a driving signal sent by a master device. Here, the driving signal transmission mode of the master device can be a separate transmission or a broadcast. At this time, the driving signal includes a driving slave device address and driving information. The driving slave device address refers to the address of the slave device that controls the moving part to be driven, and the driving information refers to the position information of the moving part to be driven.

[0041] In the following, for the sake of convenience, a slave device is taken as an example for description.

[0042] Then, step S300 is performed to determine whether the address information contained in the driving signal of the slave device and the master device matches, that is, to determine whether the slave device is a slave device that matches the driving slave device address contained in the driving signal.

[0043] Then, if the address in the received driving signal does not match the address of the slave device, step S400 is executed, and the slave device receiving the driving signal monitors the driving signal and matches it with other slave device addresses stored in itself to determine which slave device it is, that is, to determine the driving slave device to be driven by the master device.

[0044] Then, step S500 is executed to store the matched other slave device information and the driving information included in the driving signal in the slave device.

[0045] This means that even if the slave device is not driven, it needs to rely on the driving information of other slave devices around it to know the position of the moving part, so as to compensate for the magnetic interference. In other words, because the data sharing between the slave device and other slave devices is not smooth enough in the connection relationship, the master driver will store the information transmitted to other devices in the slave device to achieve the effect of knowing each other's information.

[0046] Wherein, the driving information can be the position information of the moving part driven by other slave devices. Subsequently, the slave device storing other slave device information and driving information will enter the waiting state (standby state) again. Next, step S300 is executed to determine whether the address information contained in the driving signal of the slave device and the master device matches. If the address contained in the driving signal matches the address of the slave device that receives the driving signal, step S600 is executed, and the slave device (current slave device) will generate actual driving information according to the driving information in the driving signal and the driving information of other slave devices stored before.

[0047] The driving information of other slave devices may be the position information of the moving parts driven by each other slave device. Due to the difference in the position of the moving parts, each slave device may detect magnetic fields of different strengths. Therefore, the actual driving information may be generated based on the position information of the moving parts driven by other slave devices.

[0048] Finally, step S700 is executed, and the slave device (current slave device) performs magnetic interference compensation according to the generated actual driving information and drives the moving part.

[0049] In this case, provided that the driving information of other slave devices has not been stored, the slave device (current slave device) can drive the moving part using the driving information transmitted by the master device.

[0050] The present invention stores the driving information of each slave device that is difficult to share information in each slave device. Therefore, the moving part in each slave device, whether moving along the X-axis, Y-axis or Z-axis, can improve the accuracy by offsetting the cross-interference of the other two axes caused by the movement of any one axis.

[0051] The above description is only an exemplary description of the technical idea of ​​the present invention. For those who have general knowledge in the technical field to which the present invention belongs, various modifications and variations can be made without departing from the essential features of the present invention. Therefore, the embodiments described in the present invention do not limit the scope of the technical idea of ​​the present invention, but are provided for illustration.

Claims

1. A driving system with a magnetic interference compensation function, used to drive a plurality of independent slave devices connected to the same bus interface, characterized in that: The driving system includes a master device and a plurality of slave devices; The master device is used to send a driving signal for driving one or more slave devices to the multiple slave devices; The slave device comprises an engine module and a monitoring module, wherein the engine module is used to drive the moving part according to the driving signal when the slave device matches the address contained in the received driving signal; The monitoring module is used to monitor the driving signal of the master device when the slave device does not match the address included in the received driving signal, and match it with the stored address information of multiple other slave devices, and save the matching address information and the driving information of other slave devices that match the driving signal; When the engine module drives the moving part according to the driving signal, magnetic interference compensation is performed according to the driving information of other slave devices stored in the monitoring module, thereby generating actual driving information to drive the moving part.

2. The driving system with magnetic interference compensation function according to claim 1, characterized in that: The driving signal includes a driving slave device address and driving information.

3. The driving system with magnetic interference compensation function according to claim 1, characterized in that: The engine module includes an address register, a calculation unit and a driving unit; the address register is used to store the address information of the current slave device; the calculation unit is used to calculate the compensation value for the position of the moving part driven by other slave devices according to the driving information in the driving signal received by the current slave device and the driving information of other slave devices stored in the storage unit, thereby generating actual driving information; The driving unit is used to compensate for magnetic interference according to the actual driving information generated by the calculation unit, so as to drive the moving unit of the current slave device.

4. The driving system with magnetic interference compensation function according to claim 1, characterized in that: The monitoring module includes other device address registers and a storage unit; the other device address registers are used to store address information of other slave devices; the storage unit is used to save information of other slave devices that match the driving signal and position information of the moving part driven by the engine module of other slave devices based on the address information stored in the other slave device address registers.

5. The driving system with magnetic interference compensation function according to claim 1, characterized in that: The master device is used to send or broadcast the driving signal to the multiple slave devices individually.