Calibration method and device for driving chip, and driving chip
Patent Information
- Application Number
- CN202611100988.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-23
- Publication Date
- 2026-10-27
AI Technical Summary
但校准流程、算法逻辑完全锁死在芯片内部,产线无自主调整空间,多型号马达需开发多款专用芯片,研发与备货成本高,无法通过外部配置动态切换校准步骤,芯片复用性弱,难以适配多规格、多工艺的摄像马达量产场景
在本公开实施例中,根据传感器输出模拟反馈信号获取数字原始数据,系数单元对原始数字数据分层执行校准运算并输出反馈量,依靠芯片内部层级化解耦的多组系数单元,脱离芯片内部固化逻辑束缚,利用处理完成的标准化反馈量生成电机调节量,基于调节量输出电压或电流驱动音圈电机动子位移,配合传感器持续采集位置信号形成闭环校准链路。
Smart Images

Figure CN122994618A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of integrated circuit and sensor calibration technology, for example to a calibration method and apparatus for a driver chip, and a driver chip. Background Technology
[0002] Currently, camera modules in portable devices such as mobile phones and tablets are generally equipped with optical image stabilization chips. Different motor manufacturers use two different calibration processes: one is to cut and then linearize, and the other is to linearize and then cut. Production lines need to be equipped with matching chips to complete the travel, cutting, and linearization calibration. There is an urgent market demand for single chips to be compatible with multiple calibration processes, reduce the cost of chip iteration development, and simplify internal hardware logic. Traditional chip calibration logic is deeply bound to control code. Changing the production line process requires re-tape-out and redesign, resulting in long development cycles and high material costs.
[0003] To address the need for a single chip to be compatible with multiple types of motor calibration processes, a hard-coded, fixed-order chip calibration method is disclosed, which includes: fixing a fixed sequence of calibration logic inside the chip, performing stroke mapping, trimming, and linearization operations in sequence; generating an adjustment amount to drive the voice coil motor based on the calibration data; pre-programming fixed calibration coefficients into the chip register, and completing the motor calibration according to the preset process.
[0004] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art: While the relevant technologies can complete the basic stroke, cutting, and linearization calibration of voice coil motors to achieve image stabilization control and meet basic mass production calibration requirements, the calibration process and algorithm logic are completely locked inside the chip. The production line has no room for independent adjustment, multiple dedicated chips need to be developed for multiple motor models, resulting in high R&D and inventory costs. It is impossible to dynamically switch calibration steps through external configuration, the chip has poor reusability, and it is difficult to adapt to mass production scenarios of camera motors with multiple specifications and processes.
[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0006] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.
[0007] This disclosure provides a calibration method and apparatus for a driver chip, as well as a driver chip, which significantly reduces the development and iteration costs of the chip and improves its stability and compatibility.
[0008] In some embodiments, the calibration method for driving the chip includes: acquiring digital raw data based on the analog feedback signal output by the sensor; performing calibration operations on the digital raw data sequentially according to external configuration parameters and outputting a feedback quantity; generating an adjustment quantity based on the feedback quantity; and driving the voice coil motor for calibration control based on the adjustment quantity.
[0009] Optionally, the analog feedback signal output by the sensor is acquired and converted to obtain digital raw data, including: measuring the magnetic field size of the magnet on the mover by the sensor and outputting an analog feedback signal; acquiring the analog feedback signal output by the sensor and converting the analog feedback signal into digital raw data through an analog-to-digital converter.
[0010] Optionally, calibration operations are sequentially performed on the raw digital data according to external configuration parameters, and feedback quantities are output, including: performing stroke calibration, and / or clipping calibration, and / or linearization calibration on the raw digital data through the first coefficient unit according to the external configuration parameters to obtain intermediate data; and performing clipping calibration, and / or linearization calibration on the intermediate data through the second coefficient unit to obtain feedback quantities.
[0011] Optionally, external configuration parameters include mapping ratio, and / or, maximum clipping value, and / or, minimum clipping value, and / or, linear fit coefficient.
[0012] Optionally, generating an adjustment amount based on the feedback amount includes: performing control compensation calculations based on the feedback amount to obtain the adjustment amount.
[0013] Optionally, the voice coil motor is driven for calibration control according to the adjustment amount, including: driving the coil in the voice coil motor by controlling the voltage or current according to the adjustment amount to cause the mover to produce displacement.
[0014] Alternatively, the original digital data can be processed according to the following formula:
[0015] in, For raw digital data, The maximum number of coefficients supported by a single coefficient unit. is the coefficient of the i-th order travel mapping.
[0016] In some embodiments, the calibration device for driving the chip includes: an analog-to-digital conversion unit configured to acquire digital raw data based on an analog feedback signal output by a sensor; multiple coefficient units configured to sequentially perform calibration operations on the digital raw data according to external configuration parameters and output feedback quantities; a control unit configured to generate an adjustment quantity based on the feedback quantity; and a drive unit configured to drive a voice coil motor for calibration control based on the adjustment quantity.
[0017] In some embodiments, the calibration apparatus for the driver chip includes a processor and a memory storing program instructions, the processor being configured to execute the calibration method for the driver chip as described above when the program instructions are executed.
[0018] In some embodiments, the driver chip is characterized by comprising: a driver chip body; and a calibration device for the driver chip as described above, mounted on the driver chip body.
[0019] The calibration method and apparatus for driver chips, and the driver chip provided in this disclosure can achieve the following technical effects: In this embodiment, digital raw data is obtained based on the analog feedback signal output by the sensor. The coefficient unit performs calibration operations on the raw digital data in layers and outputs feedback quantities. Relying on multiple sets of coefficient units decoupled in layers inside the chip, the chip is freed from the constraints of the fixed logic inside the chip. The standardized feedback quantity after processing is used to generate the motor adjustment quantity. Based on the adjustment quantity, the voltage or current is output to drive the displacement of the voice coil motor mover. In conjunction with the sensor continuously collecting position signals, a closed-loop calibration link is formed.
[0020] The embodiments disclosed herein achieve complete decoupling between calibration logic and chip control logic, eliminating the need to modify the internal hardware code of the chip, simplifying the internal logic of the chip, reducing chip area and development iteration costs, and enabling a single chip architecture to adapt to the differentiated production calibration needs of different motor manufacturers, greatly improving chip compatibility and scalability. At the same time, all calibration parameters are calculated and written by external laser equipment, eliminating the need for the chip to perform complex calculations, reducing the chip's operating load, and improving the chip's operational stability.
[0021] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description
[0022] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein: Figure 1 This is a schematic diagram of a calibration method for a driver chip provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of another calibration method for a driver chip provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram of another calibration method for a driver chip provided in an embodiment of this disclosure; Figure 4 This is a schematic diagram of a calibration device for a driver chip provided in an embodiment of this disclosure; Figure 5 This is a schematic diagram of another calibration device for a driver chip provided in an embodiment of this disclosure. Detailed Implementation
[0023] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.
[0024] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.
[0025] Unless otherwise stated, the term "multiple" means two or more.
[0026] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.
[0027] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.
[0028] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.
[0029] Currently, mobile phones and automotive cameras commonly incorporate optical image stabilization (OIS) driver chips, and the factory calibration of the voice coil motor is a core process to ensure the accuracy of image stabilization control. At present, there are two mainstream calibration processes in the industry: pre-cutting followed by linearization, and pre-linearization followed by cutting. Different motor manufacturers choose the appropriate process based on their own machining precision and production line equipment conditions.
[0030] Existing commercial driver chips all employ a fixed calibration architecture, where the execution order and operational logic of travel mapping, trimming, and linearization are hard-coded into the chip's internal registers and digital logic. The calibration process cannot be changed after the chip leaves the factory. If manufacturers change their calibration process or add temperature compensation or higher-order nonlinear compensation functions, they must redesign and re-fabricate the chip, resulting in long development cycles and high costs for developing and stocking multiple chip versions. Furthermore, the fixed logic has high coupling, complex internal circuitry, and occupies a larger wafer area, increasing the production cost per chip. In addition, the fixed architecture only adapts to a single calibration process, making it incompatible with multi-specification motor production lines and resulting in poor product reusability.
[0031] To address the aforementioned industry pain points, this application achieves complete separation of calibration logic and chip control logic through a two-level decoupled coefficient unit. The external production line uses laser equipment to collect motor stroke data, calculates external configuration parameters such as mapping ratio, cutting threshold, and linear fitting coefficients, and writes them into the coefficient unit. Various calibration calculations are completed using a general polynomial model, allowing for flexible adjustment of the calibration step order and algorithm order. This solution is compatible with two mainstream calibration processes without modifying the chip's internal hardware logic. This approach simplifies the chip's internal fixed logic, reduces iterative development and production costs, and enhances the chip's cross-production line and cross-motor model adaptability. Furthermore, the configuration parameters stored in the chip can be read and tested by production equipment, facilitating evidence of infringement and effectively solving the technical defects of existing fixed calibration architectures, such as poor compatibility, weak scalability, and high development costs.
[0032] Combination Figure 1 As shown in the embodiments of this disclosure, a calibration method for a driver chip is provided, including: S101 acquires raw digital data based on the analog feedback signal output by the sensor.
[0033] S102 performs calibration operations on the raw digital data sequentially according to the external configuration parameters and outputs feedback values.
[0034] S103 generates an adjustment amount based on the feedback amount.
[0035] S104 drives the voice coil motor for calibration control based on the adjustment amount.
[0036] The calibration method for driving chips provided in this embodiment of the present disclosure acquires digital raw data based on the analog feedback signal output by the sensor. The coefficient unit performs calibration operations on the raw digital data in layers and outputs feedback quantities. Relying on multiple sets of coefficient units decoupled in layers inside the chip, the chip is freed from the constraints of the internal solidified logic. The processed standardized feedback quantities are used to generate motor adjustment quantities. Based on the adjustment quantities, the output voltage or current drives the displacement of the voice coil motor mover. The sensor continuously collects position signals to form a closed-loop calibration link.
[0037] The embodiments disclosed herein achieve complete decoupling between calibration logic and chip control logic, eliminating the need to modify the internal hardware code of the chip, simplifying the internal logic of the chip, reducing chip area and development iteration costs, and enabling a single chip architecture to adapt to the differentiated production calibration needs of different motor manufacturers, greatly improving chip compatibility and scalability. At the same time, all calibration parameters are calculated and written by external laser equipment, eliminating the need for the chip to perform complex calculations, reducing the chip's operating load, and improving the chip's operational stability.
[0038] Optionally, the analog feedback signal output by the sensor is acquired and converted to obtain digital raw data, including: measuring the magnetic field size of the magnet on the mover by the sensor and outputting an analog feedback signal; acquiring the analog feedback signal output by the sensor and converting the analog feedback signal into digital raw data through an analog-to-digital converter.
[0039] In this embodiment, a sensor acquires the magnetic field strength of a magnet mounted on the voice coil motor's mover. The magnitude of the magnetic field characterizes the real-time physical position of the mover, generating a continuously changing analog feedback voltage signal. This analog signal is then received by an analog-to-digital converter (ADC), which performs sampling, quantization, and encoding processes to convert the continuous analog voltage into raw digital data. This solution clearly defines the generation path of the raw data, limits the signal source and conversion hardware, delineates patent protection boundaries, and ensures the accuracy of the raw position data acquisition. This provides reliable raw input for subsequent travel mapping, clipping, and high-order linearization calibration, ensuring the accuracy of calculation results from various external configuration calibration algorithms.
[0040] Optionally, calibration operations are sequentially performed on the raw digital data according to external configuration parameters, and feedback quantities are output, including: performing stroke calibration, and / or clipping calibration, and / or linearization calibration on the raw digital data through the first coefficient unit according to the external configuration parameters to obtain intermediate data; and performing clipping calibration, and / or linearization calibration on the intermediate data through the second coefficient unit to obtain feedback quantities.
[0041] In this embodiment of the disclosure, a hierarchical processing architecture with dual coefficient units is defined. The first coefficient unit receives the raw digital data and independently performs any one or more combinations of stroke calibration, trimming calibration, and linearization calibration according to external configuration parameters, and outputs standardized intermediate data. The second coefficient unit receives the intermediate data output by the first coefficient unit and then independently performs at least one type of compensation operation in trimming calibration and linearization calibration, and finally outputs a feedback quantity that can be directly used for closed-loop control.
[0042] The two-level coefficient units are decoupled from each other, relying solely on external configuration parameters to define the computation content and order, without requiring modification of the chip's internal control logic. Compared to existing technologies with single-level fixed computation logic, this approach enables external configuration of the calibration step sequence and algorithm type. Various nonlinear compensation functions can be added without refactoring the chip hardware, simplifying the chip's internal fixed logic, reducing hardware area overhead, adapting to different calibration processes from various manufacturers, and lowering the development cost of multiple chip versions. Furthermore, the two-level units can be independently shut down, automatically disabling themselves when no valid parameters are written, thus reducing chip power consumption.
[0043] Optionally, external configuration parameters include mapping ratio, and / or, maximum clipping value, and / or, minimum clipping value, and / or, linear fit coefficient.
[0044] In this embodiment, the four types of parameters can be issued individually or used in combination. They are calculated and generated entirely by an external laser ranging device based on the actual stroke data of the motor and are written during the chip production calibration stage.
[0045] The mapping ratio is used for interval mapping calculations in stroke calibration and trimming calibration. The maximum / minimum trimming values limit the effective working stroke boundary of the motor. The linear fitting coefficients are used for nonlinear compensation calculations of polynomials from order 0 to 4.
[0046] Traditional chip calibration parameters, mapping logic, and trimming thresholds are all hard-coded inside the chip, making them impossible for production lines to modify independently. This solution, however, externally controls all calibration parameters, allowing for flexible adjustment of parameter values and combinations based on the motor model and production line process. This eliminates the need to modify the chip itself, enabling adaptation to motors of different mechanical specifications and significantly shortening the new product development and iteration cycle.
[0047] Optionally, generating an adjustment amount based on the feedback amount includes: performing control compensation calculations based on the feedback amount to obtain the adjustment amount.
[0048] Combination Figure 2 As shown in the embodiments of this disclosure, another calibration method for a driver chip is provided, including: S201 acquires raw digital data based on the analog feedback signal output by the sensor.
[0049] S202 performs calibration operations on the raw digital data sequentially according to the external configuration parameters and outputs feedback values.
[0050] S203, based on the feedback quantity, performs control compensation calculations to obtain the adjustment quantity.
[0051] S204 drives the voice coil motor for calibration control based on the adjustment amount.
[0052] In this embodiment, the feedback quantity undergoes multi-layer calibration operations involving stroke, trimming, and linearization to eliminate nonlinearity and stroke offset errors caused by the original magnetic field acquisition of the motor. Compensation calculations based on precise feedback quantities significantly reduce motor position control deviations. The feedback quantity in this solution is dynamically generated by external parameter calibration, and the compensation calculation logic is independent and unaffected by the calibration process. Regardless of whether a trimming-then-linearization or linearization-then-trimming process is used, a high-precision standardized feedback quantity can be obtained, thereby generating precise motor adjustment quantities, improving the position control accuracy of the camera's optical image stabilization, and reducing image jitter errors. Simultaneously, the calibration calculation is decoupled from the closed-loop compensation calculation, eliminating the need to modify the control compensation logic during the calibration process. This further simplifies the overall control logic within the chip, reduces the workload of chip digital circuit design, and shortens the chip development cycle.
[0053] Optionally, the voice coil motor is driven for calibration control according to the adjustment amount, including: driving the coil in the voice coil motor by controlling the voltage or current according to the adjustment amount to cause the mover to produce displacement.
[0054] Combination Figure 3 As shown in the embodiments of this disclosure, another calibration method for a driver chip is provided, including: S301 acquires raw digital data based on the analog feedback signal output by the sensor.
[0055] S302 performs calibration operations on the raw digital data sequentially according to the external configuration parameters and outputs feedback values.
[0056] S303 generates an adjustment amount based on the feedback amount.
[0057] S304, depending on the adjustment amount, drives the coil inside the voice coil motor by controlling the voltage or current to cause the mover to produce displacement.
[0058] In this embodiment, a controllable voltage or current is applied to the internal coil of the voice coil motor, causing the motor's mover to move accordingly using electromagnetic force, thus completing the motor position adjustment and calibration closed loop. The mover position is adjusted via voltage / current drive, and combined with real-time magnetic field acquisition by a front-end sensor, a continuous closed-loop calibration cycle is formed.
[0059] Alternatively, the original digital data can be processed according to the following formula:
[0060] in, For raw digital data, The maximum number of coefficients supported by a single coefficient unit. is the coefficient of the i-th order travel mapping.
[0061] In practical applications, N general-purpose coefficient units (assuming N=2) without specific functional meanings are added to the chip architecture. Each coefficient unit has a maximum of M parameter coefficients (assuming M=5), representing support for polynomials of order (M-1). The parameter coefficients have predefined storage addresses, and they can automatically participate in the calculation as long as they are written according to the definition. If there are no valid coefficient parameters, it means that the coefficient unit is not enabled.
[0062] During the travel calibration phase, after travel calibration is performed, the maximum and minimum values of the original ADC (Analog-to-Digital Converter) are read out, and the travel mapping coefficients are calculated. 1 and 0 is written to the first coefficient cell of the chip, and the second coefficient cell is empty, then the chip automatically enters the state after the travel calibration.
[0063] During the trimming calibration phase, the relationship between the ADC value and the corresponding travel (the travel is generally read using a laser measurement device) is first scanned. Then, the ADC Code corresponding to the required trimming travel is calculated and recorded as the maximum and minimum values of the trimming ADC Code. Finally, the trimming mapping coefficients are calculated. 1 and If 0 is written to the first coefficient cell of the chip and the second coefficient cell is empty, the chip will automatically enter the state after trimming and calibration.
[0064] During the linearization calibration phase, the relationship between the ADC value and the corresponding stroke is scanned again to fit the linearization coefficients. If it is a 3rd-order polynomial fitting, there are 4 coefficients; if it is a 4th-order polynomial fitting, there are 5 coefficients. Keeping the first coefficient unit unchanged, the fitted coefficients are written into the second coefficient unit, and the chip automatically enters the linearized state.
[0065] Combination Figure 4 As shown, this embodiment of the present disclosure provides a calibration device 400 for a driver chip, comprising: an analog-to-digital conversion unit 401 configured to acquire digital raw data based on an analog feedback signal output by a sensor; multiple coefficient units 402 configured to sequentially perform calibration operations on the digital raw data according to external configuration parameters and output feedback quantities; a control unit 403 configured to generate an adjustment quantity based on the feedback quantity; and a drive unit 404 configured to drive a voice coil motor for calibration control based on the adjustment quantity.
[0066] The calibration device 400 for driving chips provided in this embodiment of the present disclosure acquires digital raw data based on the analog feedback signal output by the sensor. The coefficient unit performs calibration operations on the raw digital data in layers and outputs feedback quantities. Relying on multiple sets of coefficient units decoupled in layers inside the chip, it is freed from the constraints of the solidified logic inside the chip. The processed standardized feedback quantity is used to generate motor adjustment quantity. Based on the adjustment quantity, the output voltage or current drives the displacement of the voice coil motor mover. In conjunction with the continuous acquisition of position signals by the sensor, a closed-loop calibration link is formed.
[0067] The embodiments disclosed herein achieve complete decoupling between calibration logic and chip control logic, eliminating the need to modify the internal hardware code of the chip, simplifying the internal logic of the chip, reducing chip area and development iteration costs, and enabling a single chip architecture to adapt to the differentiated production calibration needs of different motor manufacturers, greatly improving chip compatibility and scalability. At the same time, all calibration parameters are calculated and written by external laser equipment, eliminating the need for the chip to perform complex calculations, reducing the chip's operating load, and improving the chip's operational stability.
[0068] Combination Figure 5 As shown, this embodiment of the disclosure provides a calibration device 50 for a driver chip, including a processor 500 and a memory 501. Optionally, the device 50 may further include a communication interface 502 and a bus 503. The processor 500, communication interface 502, and memory 501 can communicate with each other via the bus 503. The communication interface 502 can be used for information transmission. The processor 500 can call logical instructions in the memory 501 to execute the calibration method for the driver chip described in the above embodiment.
[0069] Furthermore, the logic instructions in the aforementioned memory 501 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0070] The memory 501, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 500 executes functional applications and data processing by running the program instructions / modules stored in the memory 501, that is, it implements the calibration method for driving the chip in the above embodiments.
[0071] The memory 501 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 501 may include high-speed random access memory and may also include non-volatile memory.
[0072] This disclosure provides a driver chip, including a driver chip body and the aforementioned calibration device for the driver chip. The calibration device for the driver chip is mounted on the driver chip body. The mounting relationship described herein is not limited to placement within the driver chip body, but also includes mounting connections with other components of the driver chip, including but not limited to physical connections, electrical connections, or signal transmission connections. Those skilled in the art will understand that the calibration device for the driver chip can be adapted to suitable driver chip bodies to achieve other feasible embodiments.
[0073] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, such as a USB flash drive, external hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc., and other media capable of storing program code.
[0074] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.
[0075] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0076] The methods and products disclosed in the embodiments herein (including but not limited to devices and equipment) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to implement this embodiment according to actual needs. In addition, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0077] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
Claims
1. A calibration method for a driver chip, characterized in that, include: Based on the analog feedback signal output by the sensor, acquire the raw digital data; The calibration operation is performed sequentially on the raw digital data according to the external configuration parameters, and the feedback quantity is output. The adjustment amount is generated based on the feedback amount; The voice coil motor is driven by the adjustment amount for calibration control.
2. The method according to claim 1, characterized in that, The analog feedback signal output by the sensor is acquired and converted to obtain raw digital data, including: The sensor measures the magnitude of the magnetic field of the magnet on the moving part and outputs an analog feedback signal; The analog feedback signal output by the sensor is collected and converted into digital raw data through an analog-to-digital converter.
3. The method according to claim 1, characterized in that, The calibration operation is performed sequentially on the raw digital data according to the external configuration parameters, and the output feedback includes: Based on external configuration parameters, intermediate data is obtained by performing stroke calibration, and / or clipping calibration, and / or linearization calibration on the raw digital data through the first coefficient unit. The feedback quantity is obtained by performing clipping calibration and / or linearization calibration on the intermediate data through the second coefficient unit.
4. The method according to claim 3, characterized in that, External configuration parameters include mapping ratio, and / or, maximum clipping value, and / or, minimum clipping value, and / or, linear fit coefficient.
5. The method according to any one of claims 1 to 4, characterized in that, Adjustments are generated based on feedback, including: The adjustment amount is obtained by performing control compensation calculations based on the feedback amount.
6. The method according to any one of claims 1 to 4, characterized in that, The calibration control is performed by driving the voice coil motor according to the adjustment amount, including: Depending on the adjustment amount, the coil inside the voice coil motor is driven by controlling the voltage or current to cause the mover to produce displacement.
7. The method according to any one of claims 1 to 4, characterized in that, Perform the following calculations on the original digital data: in, For raw digital data, The maximum number of coefficients supported by a single coefficient unit. is the coefficient of the i-th order travel mapping.
8. A calibration device for a driver chip, characterized in that, include: The analog-to-digital conversion unit is configured to acquire raw digital data based on the analog feedback signal output by the sensor; Multiple coefficient units are configured to sequentially perform calibration operations on the raw digital data according to external configuration parameters and output feedback quantities; The control unit is configured to generate an adjustment based on the feedback quantity; The drive unit is configured to drive the voice coil motor for calibration control based on the adjustment amount.
9. A calibration apparatus for a driver chip, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to perform the calibration method for driving the chip as described in any one of claims 1 to 7 when running the program instructions.
10. A driver chip, characterized in that, include: Driver chip body; The calibration device for the driver chip as described in claim 8 or 9 is installed on the driver chip body.