Method and device for searching chip configurations for batch adjustment

By coarsely adjusting and fine-tuning the initial offset parameters and gain parameters of the chip, the problem of inaccurate chip configuration is solved, the efficiency and accuracy of batch configuration are improved, and it is suitable for detection and correction of batch chips after production.

CN117931539BActive Publication Date: 2024-12-03CHONG QING JIN XIN MAI SI CHUAN GAN QI JI SHU YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311678603.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-07
Publication Date
2024-12-03
Estimated Expiration
2043-12-07

AI Technical Summary

Technical Problem

In the prior art, the chip parameter configuration is inaccurate, resulting in errors between the converted code value and the target code value, and is inefficient in batch configuration.

Method used

By determining whether the chip's initial offset parameters and gain parameters meet the standards, if they do not meet the standards, perform rough adjustments and fine adjustments, adjust the parameters until they meet the standards, write the target configuration to improve configuration accuracy, and improve efficiency through automated batch adjustments.

Benefits of technology

It achieves the accuracy and efficiency of chip configuration, reduces the error between code values ​​and target code values, and is suitable for detection and correction of batch chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117931539B_ABST
    Figure CN117931539B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for seeking chip configuration for batch adjustment, the method comprising: judging whether each chip meets the standard based on the initial offset parameter and gain parameter of each chip; for chips that do not meet the standard, coarsely adjusting the initial offset parameter and gain parameter in turn according to the code value range of zero point and full scale, obtaining the first offset parameter and the first gain parameter, and judging whether the chip after coarse adjustment meets the standard; for chips that do not meet the standard after coarse adjustment, fine-tuning the first offset parameter and the first gain parameter in turn according to the code value range of zero point and full scale, obtaining the second offset parameter and the second gain parameter, and judging whether the chip after fine-tuning meets the standard; if it meets the standard, writing the second offset parameter and the second gain parameter into the chip for fine-tuning. According to the compliance situation, the chip parameters are automatically adjusted twice in batches to meet the chip configuration requirements, which ensures the accuracy of chip configuration and improves the efficiency of batch chip configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of semiconductor technology, and in particular to a method and device for finding configurations of batch trimming chips. Background Art

[0002] When piezoresistive sensors are disturbed by external factors, temperature drift will occur. This mainly refers to the change in semiconductor device parameters caused by changes in external temperature, humidity, electromagnetic interference or sensor conditioning circuits, which will directly affect the accuracy of sensor measurement results. Therefore, temperature compensation measures need to be taken for the sensor. At present, ASIC (Application Specific Integrated Circuit), that is, the method of adjusting the chip, is usually used to convert the output voltage of the sensor into a code value through an ADC (Analog-to-Digital Converter) module, and then use the code value as the basis for subsequent temperature compensation and output digital or analog signals.

[0003] In the related art, in order to ensure the temperature compensation effect of the sensor, it is necessary to ensure that the code value converted from the output voltage of the sensor is the target code value when the ADC module is performing the conversion. At this time, it is necessary to ensure that the ADC module is optimally configured. The method for making the code value reach the target code value is mainly to change the parameter configuration of the ADC module of the adjustment chip. At present, the configuration of the ADC module in the chip is mostly manually searched, so that there is a certain error between the converted code value and the target code value, and when seeking configuration in batches, it is necessary to seek one by one, which is inefficient. Summary of the invention

[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0005] In view of the above-mentioned shortcomings of the prior art, the present invention discloses a method and device for seeking batch adjustment chip configuration, which are used to solve the technical problems of inaccurate chip parameter configuration and low efficiency in batch configuration in the prior art.

[0006] In a first aspect, the present application provides a method for seeking chip configurations for batch trimming, the method comprising: judging whether each chip meets a standard based on an initial offset parameter and an initial gain parameter of each chip, the standard being that the zero point corresponding to the offset parameter of each chip reaches a zero point code value range and the full scale corresponding to the gain parameter reaches a full scale code value range; for chips that do not meet the standard, coarsely adjusting the initial offset parameter and the initial gain parameter in turn according to the zero point code value range and the full scale code value range to obtain a first offset parameter and a first gain parameter, and judging whether the chip after coarse adjustment meets the standard; for chips that still do not meet the standard after coarse adjustment, fine-tuning the first offset parameter and the first gain parameter in turn according to the zero point code value range and the full scale code value range to obtain a second offset parameter and a second gain parameter, and judging whether the chip after fine-tuning meets the standard; if it meets the standard, writing the second offset parameter and the second gain parameter as the target configuration into the chip to be fine-tuned.

[0007] In one embodiment of the present invention, the method further includes: if the initial offset parameter and the initial gain parameter of the chip meet the standard, writing the initial offset parameter and the initial gain parameter into the chip as a target configuration; if the first offset parameter and the first gain parameter of the coarsely adjusted chip meet the standard, writing the first offset parameter and the first gain parameter into the coarsely adjusted chip as a target configuration.

[0008] In one embodiment of the present invention, for the chip that does not meet the standard, the initial offset parameter and the initial gain parameter are coarsely adjusted in sequence according to the zero-point code value range and the full-scale code value range, including: calculating a first error value between a first zero-point code value corresponding to the initial offset parameter and the zero-point code value range, and a second error value between a first full-scale code value corresponding to the initial gain parameter and the full-scale code value range; determining a first adjustment step length of the initial offset parameter according to the first error value, and determining a second adjustment step length of the initial gain parameter according to the second error value; determining a first pressure value corresponding to the zero-point code value range, and adjusting the initial offset parameter at least once according to the first adjustment step length at the first pressure value until the first zero-point code value reaches the zero-point code value range; determining a second pressure value corresponding to the full-scale code value range, and adjusting the initial gain parameter at least once according to the second adjustment step length at the second pressure value until the first full-scale code value reaches the full-scale code value range.

[0009] In one embodiment of the present invention, determining the first adjustment step of the initial offset parameter based on the first error value includes: obtaining a plurality of preset continuous first error ranges and a first sub-step corresponding to each of the first error ranges, wherein the absolute value of the first error range is positively correlated with the absolute value of the first sub-step; determining the first error target range to which the first error value belongs from the plurality of first error ranges; and using the first sub-step corresponding to the first error target range as the first adjustment step.

[0010] In one embodiment of the present invention, determining the second adjustment step of the initial gain parameter based on the second error value includes: obtaining a plurality of preset continuous second error ranges and second sub-steps corresponding to each second error range, wherein the absolute value of the second error range is positively correlated with the absolute value of the second sub-step; determining the second error target range to which the second error value belongs from the plurality of second error ranges; and using the second sub-step corresponding to the second error target range as the second adjustment step.

[0011] In one embodiment of the present invention, for the chip that still does not meet the standard after rough adjustment, the first offset parameter and the first gain parameter are fine-tuned in sequence according to the zero-point code value range and the full-scale code value range, including: calculating a third error value between a second zero-point code value corresponding to the first offset parameter and the zero-point code value range, and a fourth error value between a second full-scale code value corresponding to the first gain parameter and the full-scale code value range; determining a third adjustment step length of the first offset parameter according to the third error value, and determining a fourth adjustment step length of the first gain parameter according to the fourth error value; determining a third pressure value corresponding to the zero-point code value range, and adjusting the first offset parameter at least once according to the third adjustment step length at the third pressure value until the second zero-point code value reaches the zero-point code value range; determining a fourth pressure value corresponding to the full-scale code value range, and adjusting the first gain parameter at least once according to the fourth adjustment step length at the fourth pressure value until the second full-scale code value reaches the full-scale code value range.

[0012] In one embodiment of the present invention, determining the third adjustment step of the first offset parameter according to the third error value includes: obtaining a plurality of preset continuous third error ranges and a third sub-step corresponding to each of the third error ranges, wherein the absolute value of the third error range is positively correlated with the absolute value of the third sub-step; determining the third error target range to which the third error value belongs from the plurality of third error ranges; and using the third sub-step corresponding to the third error target range as the third adjustment step.

[0013] In one embodiment of the present invention, determining the fourth adjustment step of the first gain parameter according to the fourth value error value includes: obtaining a preset plurality of continuous fourth error ranges and fourth sub-steps corresponding to each of the fourth error ranges, wherein the absolute value of the fourth error range is positively correlated with the absolute value of the fourth sub-step; determining the fourth error target range to which the fourth error value belongs from the plurality of fourth error ranges; and using the fourth sub-step corresponding to the fourth error target range as the fourth adjustment step.

[0014] In one embodiment of the present invention, the zero-point code value range and the full-scale code value range are obtained, including: determining the target code value required to be output by each chip according to the input signal of each chip; determining the target zero-point code value corresponding to the offset parameter and the target full-scale code value corresponding to the gain parameter according to the target code value; determining the zero-point code value range corresponding to the target zero-point code value based on a preset zero-point code value error, and determining the full-scale code value range corresponding to the target full-scale code value based on a preset full-scale code value error.

[0015] In one embodiment of the present invention, for chips that do not meet the standard, the initial offset parameter and the initial gain parameter are coarsely adjusted in turn according to the zero-point code value range and the full-scale code value range, and also includes: setting a first cycle number for the coarse adjustment; performing the coarse adjustment on the chip that does not meet the standard according to the first cycle number to skip the first faulty chip and mark the first faulty chip.

[0016] In one embodiment of the present invention, for the chip that still does not meet the standard after coarse adjustment, the first offset parameter and the first gain parameter are fine-tuned in turn according to the zero-point code value range and the full-scale code value range, and also includes: setting a second cycle number of the fine-tuning; fine-tuning the chip that still does not meet the standard after coarse adjustment according to the second cycle number to skip the second faulty chip and mark the second faulty chip.

[0017] In a second aspect, the present application provides a device for seeking configurations of batch-trimmed chips, the device comprising: a judgment module, for judging whether each chip meets the standard based on the initial offset parameter and the initial gain parameter of each chip, the standard being that the zero point corresponding to the offset parameter of each chip reaches the zero point code value range and the full scale corresponding to the gain parameter reaches the full scale code value range; a coarse adjustment module, for coarsely adjusting the initial offset parameter and the initial gain parameter in turn according to the zero point code value range and the full scale code value range for chips that do not meet the standard, to obtain a first offset parameter and a first gain parameter, and judging whether the chip after coarse adjustment meets the standard; a fine adjustment module, for finely adjusting the first offset parameter and the first gain parameter in turn according to the zero point code value range and the full scale code value range for chips that still do not meet the standard after coarse adjustment, to obtain a second offset parameter and a second gain parameter, and judging whether the chip after fine adjustment meets the standard; a configuration module, for, if it meets the standard, writing the second offset parameter and the second gain parameter as the target configuration into the chip to be fine-tuned.

[0018] As described above, a batch adjustment chip configuration seeking method and device provided by an embodiment of the present invention has the following beneficial effects:

[0019] Firstly, the chips whose initial offset parameters and initial gain parameters do not meet the standards are roughly adjusted, that is, the initial offset parameters and initial gain parameters are adjusted to the first offset parameters and the first gain parameters, and then it is judged whether the roughly adjusted chips meet the standards, and further fine-tuning is performed on the chips that still do not meet the standards after the rough adjustment, that is, the first offset parameters and the first gain parameters are adjusted to the second offset parameters and the second gain parameters, and then it is judged whether the fine-tuned chips meet the standards. When the fine-tuning meets the standards, the second offset parameters and the second gain parameters are written into the fine-tuned chip as the target configuration, which fully considers the best and worst cases in the configuration of each chip, and can automatically adjust the parameters of the chips twice in batches according to the compliance of each chip, thereby ensuring the accuracy of the chip configuration, so that the chip meets the configuration requirements, and can effectively reduce the error between the converted code value and the target code value. In addition, the batch chips simultaneously perform parameter configuration detection and adjustment, which improves the efficiency of batch chip configuration, and can be used for the detection and correction of the configuration of batch chips after production.

[0020] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0022] Figure 1 is a flow chart of a method for seeking chip configurations for batch adjustment shown in an exemplary embodiment of the present application;

[0023] Figure 2 is a flowchart of a specific method for seeking configurations of batch trimming chips shown in an exemplary embodiment of the present application;

[0024] Figure 3 is a flow chart of parameter adjustment shown in an exemplary embodiment of the present application;

[0025] Figure 4 is a block diagram of a device for seeking chip configurations for batch adjustment shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0027] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0028] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0029] A piezoresistive sensor refers to a sensor made using the piezoresistive effect of single-crystal silicon materials and integrated circuit technology. When a force is applied to the single-crystal silicon material, its resistivity changes, and an electrical signal output proportional to the force change can be obtained through a measuring circuit. It can be used to measure and control pressure, tension, pressure difference, and other physical quantities that can be converted into force changes.

[0030] A trim chip is a programmable logic device used to implement the functions of digital circuits. It can be reprogrammed to implement different circuit functions, similar to ASIC.

[0031] At present, for the temperature drift phenomenon of piezoresistive sensors, a trimming chip is often used, that is, the output voltage of the sensor is converted into a code value through the ADC module in the trimming chip, and then the subsequent temperature compensation is carried out based on the code value. The effect of the sensor temperature compensation depends on whether the ADC module can convert the output voltage of the sensor into a target code value. In order to ensure that the trimming chip can convert the output voltage of the sensor into a target code value, it is necessary to ensure that the ADC module is in the optimal configuration. However, the inventor of the present application has found that the configuration of the ADC module in the chip is mostly manually searched, and its accuracy cannot be guaranteed, so that there is a certain error between the converted code value and the target code value. In addition, for a large number of chips, each chip needs to seek the optimal configuration one by one, which is very inefficient.

[0032] Therefore, the present application proposes a method and device for finding chip configurations for batch adjustment, which are used to solve the technical problems of inaccurate chip parameter configuration and low efficiency in batch configuration in the prior art.

[0033] First of all, it should be noted that the output voltage of the piezoresistive sensor corresponds to the target code value. In order to facilitate calculation, in the embodiment of the present application, the code value is expressed in the form of a percentage of the code value. Taking a 24-bit ADC as an example, if the output voltage of the piezoresistive sensor is 0-100mV, and considering the temperature drift of the piezoresistive sensor itself, the code value is scaled to 2 24 ×20%~2 24×80%, where 20% and 80% are current empirical values ​​and can be changed according to actual conditions. It should be understood that the method to achieve the target code value is to change the configuration of the trimming chip regarding the ADC module. The configurations of different chips are different, and the configurations involved in the embodiment of the present application are OFFSET (offset parameter) and GAIN (gain parameter). The zero point corresponds to the adjustment of OFFSET, and the full scale corresponds to the adjustment of GAIN. In the output target code value, it is assumed that the offset parameter corresponding to the chip makes the code value 20% (zero point), and the corresponding gain parameter makes the code value 80% (full scale). If before the configuration is sought, the corresponding relationship between the output voltage and the target code value is: 0mv~22% (zero point), 100mv~87% (full scale), then it is necessary to change the configuration (OFFSET, GAIN) so that the corresponding relationship between the output voltage and the target code value is: 0mv~20% (zero point), 100mv~80% (full scale).

[0034] In addition, it should be noted that changing the OFFSET and GAIN parameters to make their corresponding zero point and full scale meet the standards will also bring about certain changes to the other party's code value. For example, assuming that the output voltage of the zero point and full scale is the x-axis, and the output code value of the zero point and full scale is a straight line on the y-axis, whether changing GAIN or OFFSET will affect the entire straight line, causing the code value corresponding to the output voltage to change.

[0035] See also Figure 1 , Figure 1 1 is a flow chart of a method for finding chip configurations for batch trimming according to an exemplary embodiment of the present application. It should be understood that the method can also be applied to other exemplary implementation environments and be specifically executed by devices in other implementation environments. The present embodiment does not limit the implementation environment to which the method is applied.

[0036] like Figure 1 As shown, in an exemplary embodiment, the batch trimming chip configuration seeking method includes at least steps S110 to S140, which are described in detail as follows:

[0037] Step S110 , judging whether each chip meets the standard based on the initial offset parameter and initial gain parameter of each chip.

[0038] It should be noted that for the same batch of chips for configuration seeking, each chip can be of the same type or of different types, so the initial configuration of each chip is different. In addition, the initial configuration of each chip is also good or bad, that is, the initial configuration of some chips is the optimal configuration, or the initial configuration of some chips is not much different from the optimal configuration, or the initial configuration of some chips is far away from the optimal configuration. In actual production, the initial configuration of each chip can be input with a configuration that is closer to it based on experience, so as to shorten the time for subsequent parameter configuration seeking.

[0039] In an embodiment of the present application, for a batch of chips, the initial offset parameters and initial gain parameters of each chip are obtained, and then the zero-point code value and full-scale code value of the chip are read based on the initial offset parameters and initial gain parameters of each chip, and then the zero-point code value and the full-scale code value are compared with the corresponding zero-point code value range and the full-scale code value range to determine whether each chip meets the standards. Only for chips that do not meet the standards will parameter adjustments and configuration searches be performed.

[0040] Among them, the standard for judging whether the chip configuration meets the configuration requirements is that the zero point corresponding to the offset parameter of each chip reaches the zero point code value range and the full scale corresponding to the gain parameter reaches the full scale code value range. It should be understood that for chips with the same input signal and the same target code value required to be output, the zero point code value range that the zero point needs to reach is the same, and the full scale code value range that the full scale needs to reach is also the same.

[0041] Specifically, obtaining the zero-point code value range and the full-scale code value range includes: determining the target code value required to be output by each chip based on the input signal of each chip; determining the target zero-point code value corresponding to the offset parameter and the target full-scale code value corresponding to the gain parameter based on the target code value; determining the zero-point code value range corresponding to the target zero-point code value based on a preset zero-point code value error, and determining the full-scale code value range corresponding to the target full-scale code value based on a preset full-scale code value error.

[0042] In this embodiment, the input signal refers to the output voltage of the piezoresistive sensor input to each chip. The output voltage needs to correspond to the target code value. It can be considered that the output voltage and the target code value have a one-to-one correspondence. Therefore, the target code value that the chip needs to output is determined according to the input signal. The target code value output by the chip is jointly determined by the zero-point code value corresponding to the offset parameter and the full-scale code value corresponding to the gain parameter. Therefore, the target zero-point code value corresponding to the offset parameter and the target full-scale code value corresponding to the gain parameter can be determined according to the target code value. In addition, the zero-point code value error and the full-scale code value error are set according to experience, such as the target zero-point code value ±5%, and the target full-scale code value ±5%.

[0043] Taking the target zero point code value corresponding to the target code value as 20% and the target full scale code value as 80% as an example, assuming that the allowable error range of the zero point and the full scale is ±5%, the zero point code value range is 20%±5%, and the full scale code value range is 80%±5%.

[0044] Step S120, for chips that do not meet the standards, the initial offset parameter and the initial gain parameter are coarsely adjusted in sequence according to the zero point code value range and the full scale code value range to obtain the first offset parameter and the first gain parameter, and it is determined whether the chip after coarse adjustment meets the standards.

[0045] In an embodiment of the present application, if the zero-point code value and the full-scale code value corresponding to the initial offset parameter and the initial gain parameter of the chip do not meet the standards of the zero-point code value range and the full-scale code value range, the initial offset parameter and the initial gain parameter will be coarse-adjusted according to the zero-point code value range and the full-scale code value range in turn to make the non-standard chip meet the standards.

[0046] It should be noted that there is a sequence for adjusting the offset parameter and the gain parameter. Generally, the offset parameter is adjusted first, and then the gain parameter is adjusted. In addition, considering that after adjusting the offset parameter so that the corresponding zero-point code value reaches the zero-point code value range, when the gain parameter is adjusted so that the corresponding full-scale code value reaches the full-scale code value range, the zero-point code value corresponding to the offset parameter will be affected. Therefore, it is necessary to determine again whether the chip after coarse adjustment meets the standard.

[0047] In one embodiment, if the initial offset parameters and initial gain parameters of the chip meet the standard, the initial offset parameters and initial gain parameters are written into the chip as the target configuration.

[0048] As a possible embodiment, if the initial offset parameters and initial gain parameters of the chip meet the standards, it indicates that the zero-point code value read by the chip under the initial offset parameters and the initial gain parameters is within the zero-point code value range, and the full-scale code value read meets the full-scale code value range. Therefore, there is no need to seek the chip parameter configuration, and the initial offset parameters and initial gain parameters are directly written into the chip as the target configuration.

[0049] In one embodiment, for a chip that does not meet the standard, the initial offset parameter and the initial gain parameter are coarsely adjusted in turn according to the zero-point code value range and the full-scale code value range, including: calculating a first error value between a first zero-point code value corresponding to the initial offset parameter and the zero-point code value range, and a second error value between a first full-scale code value corresponding to the initial gain parameter and the full-scale code value range; determining a first adjustment step length of the initial offset parameter according to the first error value, and determining a second adjustment step length of the initial gain parameter according to the second error value; determining a first pressure value corresponding to the zero-point code value range, and adjusting the initial offset parameter at least once according to the first adjustment step length at the first pressure value until the first zero-point code value reaches the zero-point code value range; determining a second pressure value corresponding to the full-scale code value range, and adjusting the initial gain parameter at least once according to the second adjustment step length at the second pressure value until the first full-scale code value reaches the full-scale code value range.

[0050] In this embodiment, it is assumed that the chip reads the first zero-point code value and the first gain code value according to the initial offset parameter and the initial gain parameter. At this time, the initial offset parameter and the initial gain parameter need to be adjusted respectively so that the first zero-point code value reaches the zero-point code value range and the first full-scale code value reaches the full-scale code value range. It should be noted that when the initial offset parameter is adjusted so that the first zero-point code value reaches the zero-point code value range, the initial offset parameter may be adjusted multiple times based on the first adjustment step, that is, multiple first adjustment steps are required before the read first zero-point code value can reach the zero-point code value range, and the adjustment of the initial gain parameter is similar.

[0051] For calculating the error value between the code value and the code value range, take the first zero point code value and the zero point code value range as an example, for example, if the first zero point code value is 10%, the zero point code value range is 20%±5%, then the first error value is -5% (10%-15%), if the first zero point code value is 40%, then the first error value is 15% (40%-25%). Therefore, the code value error value can be positive or negative.

[0052] It should also be noted that the trimming chip to be adjusted and configured is used for a piezoresistive sensor. Therefore, when seeking to configure the trimming chip, the operating environment of the chip should be fully considered. Therefore, in this embodiment, when adjusting the initial offset parameters and the initial gain parameters, it is necessary to determine the prerequisites for the adjustment, that is, to determine the pressure value during the adjustment. It should be understood that the operating pressure values ​​corresponding to the initial offset parameters and the initial gain parameters are different, and therefore, the pressure values ​​need to be determined separately.

[0053] Specifically, determining the first adjustment step of the initial offset parameter according to the first error value includes: obtaining a plurality of preset continuous first error ranges and a first sub-step corresponding to each first error range, wherein the absolute value of the first error range is positively correlated with the absolute value of the first sub-step; determining the first error target range to which the first error value belongs from the plurality of first error ranges; and taking the first sub-step corresponding to the first error target range as the first adjustment step.

[0054] In this embodiment, because the first error value can be positive or negative, multiple continuous first error ranges also have positive or negative values, and the larger the absolute value of the first error range, the larger the absolute value of the first sub-step, that is, the larger the error of the zero-point code value, the larger the step size of the offset parameter adjustment. Different step sizes are set for different errors, which can quickly bring the zero-point code value of the chip with a larger zero-point code value error closer to the zero-point code value range, while avoiding the situation where the zero-point code value of the chip with a smaller zero-point code value error becomes larger after adjustment.

[0055] As a possible embodiment, the preset multiple continuous first error ranges and the corresponding first sub-steps may be: 1. When the first error value X 1> 0, that is, when the first zero - point code value is greater than the zero - point code value range, (1) 0 < X 1 ≤ 3, the step size is set to - 1; (2) 3 < X 1 ≤ 15, the step size is set to - 2; (3) 15 < X 1 ≤ 40, the step size is set to - 3; (4) 40 < X 1 ≤ 80, the step size is set to - 6. 2. When the first error value X 1 < 0, that is, when the first zero - point code value is less than the zero - point code value range, the correspondence between the error and the step size is opposite to that when X 1 > 0. For example, - 3 ≤ X 1 < 0, the step size is set to 1. Of course, this embodiment does not limit the specific first error ranges and the corresponding first sub - step sizes, which can be set according to specific situations.

[0056] For example, assume that the first error value is 15%, that is, the corresponding first error range is 3 < X ≤ 15, and the first adjustment step size corresponding to the initial offset parameter is - 2; assume that the first error value is - 5%, that is, the corresponding first error range is - 15 ≤ X 1 < - 3, and the first adjustment step size is 2.

[0057] Specifically, determining the second adjustment step size of the initial gain parameter according to the second error value includes: obtaining a plurality of preset consecutive second error ranges and the second sub - step sizes corresponding to each second error range, where the absolute value of the second error range is positively correlated with the absolute value of the second sub - step size; determining the second error target range to which the second error value belongs from the plurality of second error ranges; and using the second sub - step size corresponding to the second error target range as the second adjustment step size.

[0058] In this embodiment, determining the second adjustment step size of the initial gain parameter according to the second error value is the same as determining the first adjustment step size of the initial offset parameter according to the first error value, and will not be elaborated in detail here. It should be noted that the plurality of preset consecutive second error ranges and the corresponding second sub - step sizes are different from the plurality of preset consecutive first error ranges and the corresponding first sub - step sizes.

[0059] Among them, the plurality of consecutive second error ranges and the corresponding second sub - step sizes can be: 1. When the second error value X 2 > 0, that is, when the first full - scale code value is greater than the full - scale code value range, (1) 0 < X 2 ≤ 3, the step size is set to - 1; (2) 3 < X 2 ≤ 15, referring to the previous step size: if the previous one is ± 8, the step size is set to - 4; if the previous one is ± 4, the step size is set to - 2; if the previous one is ± 2, the step size is set to - 2; if the previous one is other values, the step size is set to - 8; (3) 15 < X 2 ≤ 40, the step size is set to - 16; (4) 40 < X2 ≤80, the step length is set to -36; 2. When the second error value X 2 <0, that is, when the first full-scale code value is less than the full-scale code value range, the corresponding relationship between the error and the step length is the same as X 2 <0. Of course, this embodiment does not limit the specific second error ranges and the corresponding second sub-step lengths, which can be set according to specific circumstances.

[0060] An example is needed to illustrate that in 3 <X 2 ≤15, assuming that when the first gain parameter is adjusted for the first time, the last step size defaults to 0, that is, it belongs to the remaining value. At this time, the step size of the first adjustment is -8. After the first adjustment, the full-scale code value read still does not meet the requirements, and the difference is still 3 <X 2 ≤15, the second adjustment is performed. Since the step length of the last adjustment is -8, the step length of the second adjustment is -4, and so on. However, if the full-scale code value read after adjustment still does not meet the requirements and the difference is 0 <X 2 When ≤3, the corresponding adjustment step is -1. The step size can be set by the segmented convergence method to find the optimal configuration more quickly.

[0061] In one embodiment, for chips that do not meet the standards, initial offset parameters and initial gain parameters are coarsely adjusted in turn according to the zero-point code value range and the full-scale code value range, and it also includes: setting the first number of coarse adjustment cycles; coarsely adjusting the chips that do not meet the standards according to the first number of cycles to skip the first faulty chip and mark the first faulty chip.

[0062] In this embodiment, there is a first cycle limit for the coarse adjustment of the initial offset parameter and the initial gain parameter of the chip, that is, a limit on the number of step size adjustments. Therefore, the initial offset parameter and the initial gain parameter are adjusted at least once. For different chips, the optimal and worst cases are fully considered. For example, for a chip whose initial configuration deviates greatly from the optimal configuration, the parameters can be adjusted multiple times. Of course, for a chip whose initial configuration deviates less from the optimal configuration, only one adjustment may be required. The purpose of setting a cycle limit is to avoid problems with certain chips that cannot be corrected by adjusting the parameter configuration, to avoid coarse adjustments based on the step size all the time, and to save time for batch configuration.

[0063] Step S130, for the chip that still does not meet the standard after coarse adjustment, fine-tune the first offset parameter and the first gain parameter in turn according to the zero point code value range and the full scale code value range to obtain the second offset parameter and the second gain parameter, and determine whether the chip meets the standard after fine-tuning.

[0064] In the embodiment of the present application, when the gain parameter is adjusted so that the corresponding full-scale code value reaches the full-scale code value range, the zero-point code value corresponding to the offset parameter will be affected. Therefore, after the coarse adjustment, it is necessary to judge whether the chip meets the standard again. For the chip that still does not meet the standard after the coarse adjustment, it is necessary to perform fine adjustment, and then judge whether the chip after fine adjustment meets the standard. It should be understood that the zero-point code value and the full-scale code value have been roughly close to the zero-point code value range and the full-scale code value range respectively during the coarse adjustment, and only a small error needs to be fine-tuned.

[0065] In one embodiment, if the first offset parameter and the first gain parameter of the coarsely adjusted chip meet the standard, the first offset parameter and the first gain parameter are written into the coarsely adjusted chip as the target configuration.

[0066] As a possible embodiment, if the first offset parameter and the first gain parameter of the chip meet the standard, it indicates that the zero-point code value read by the chip under the first offset parameter and the first gain parameter is within the zero-point code value range, and the full-scale code value read meets the full-scale code value range. Therefore, there is no need to modify the parameter configuration of the chip, and the first offset parameter and the first gain parameter are directly written into the chip as the target configuration.

[0067] In one embodiment, for a chip that still does not meet the standard after rough adjustment, the first offset parameter and the first gain parameter are fine-tuned in turn according to the zero-point code value range and the full-scale code value range, including: calculating a third error value between a second zero-point code value corresponding to the first offset parameter and the zero-point code value range, and a fourth error value between a second full-scale code value corresponding to the first gain parameter and the full-scale code value range; determining a third adjustment step of the first offset parameter according to the third error value, and determining a fourth adjustment step of the first gain parameter according to the fourth error value; determining a third pressure value corresponding to the zero-point code value range, and adjusting the first offset parameter at least once according to the third adjustment step at the third pressure value until the second zero-point code value reaches the zero-point code value range; determining a fourth pressure value corresponding to the full-scale code value range, and adjusting the first gain parameter at least once according to the fourth adjustment step at the fourth pressure value until the second full-scale code value reaches the full-scale code value range.

[0068] In this embodiment, it is assumed that the chip reads the second zero-point code value and the second gain code value according to the first offset parameter and the first gain parameter. At this time, it is necessary to adjust the first offset parameter and the first gain parameter respectively so that the second zero-point code value reaches the zero-point code value range and the second full-scale code value reaches the full-scale code value range. It should be noted that when the first offset parameter is adjusted so that the second zero-point code value reaches the zero-point code value range, the first offset parameter may be adjusted multiple times based on the third adjustment step, that is, multiple third adjustment steps are required before the read second zero-point code value can reach the zero-point code value range, and the adjustment of the first gain parameter is similar.

[0069] In addition, regarding the error value between the calculated code value and the code value range, it is the same as the above-mentioned coarse adjustment, and no further examples are given here. When the first offset parameter and the first gain parameter are fine-tuned, the operating environment of the chip also needs to be fully considered. Therefore, in this embodiment, when the first offset parameter and the first gain parameter are adjusted, it is also necessary to determine the precondition of the adjustment, that is, to determine the pressure value during the adjustment. It should be understood that the operating pressure values ​​corresponding to the first offset parameter and the first gain parameter are different, so the pressure values ​​need to be determined separately.

[0070] Specifically, determining the third adjustment step of the first offset parameter according to the third error value includes: obtaining a plurality of preset continuous third error ranges and third sub-steps corresponding to each third error range, wherein the absolute value of the third error range is positively correlated with the absolute value of the third sub-step; determining the third error target range to which the third error value belongs from the plurality of third error ranges; and using the third sub-step corresponding to the third error target range as the third adjustment step.

[0071] It should be noted that the third adjustment step of determining the first gain parameter according to the third error value is similar to the first adjustment step of determining the initial offset parameter according to the first error value, which will not be described in detail here. When the first offset parameter is fine-tuned, the corresponding relationship between the third error value and the third sub-step length can also be the same as that when the initial offset parameter is coarse-tuned. Therefore, the preset multiple continuous third error ranges and the corresponding third sub-step lengths can be: 1. When the third error value X 3 >0, that is, when the second zero point code value is greater than the zero point code value range, (1) 0 <X 3 ≤3, the step size is set to -1; (2)3 <X 3 ≤15, the step size is set to -2; (3)15 <X 3 ≤40, the step size is set to -3; (4) 40 <X 3 ≤80, the step size is set to -6. 2. When the first error value X 3 <0, that is, when the first zero point code value is less than the zero point code value range, the corresponding relationship between the error and the step length is the same as X 3 > 0. Of course, this embodiment does not limit the specific third error ranges and the corresponding third sub-step lengths, which can be set according to specific circumstances.

[0072] Specifically, determining the fourth adjustment step of the first gain parameter according to the fourth error value includes: obtaining a plurality of preset continuous fourth error ranges and fourth sub-steps corresponding to each fourth error range, wherein the absolute value of the fourth error range is positively correlated with the absolute value of the fourth sub-step; determining a fourth error target range to which the fourth error value belongs from the plurality of fourth error ranges; and using the fourth sub-step corresponding to the fourth error target range as the fourth adjustment step.

[0073] In this embodiment, determining the fourth adjustment step of the first gain parameter according to the fourth error value is similar to determining the first adjustment step of the initial offset parameter according to the first error value, which is not described in detail here. It should be noted that the preset multiple continuous fourth error ranges and the corresponding fourth sub-steps are different from the preset multiple continuous first error ranges and the corresponding first sub-steps.

[0074] Wherein, a plurality of continuous fourth error ranges and corresponding fourth sub-steps may be: 1. When the fourth error value X 4 >0, that is, when the second full-scale code value is greater than the full-scale code value range, (1) 0 <X 4 ≤3, the step size is set to -1; (2)3 <X 4 ≤15, the step size is set to -2; (3)15 <X 4 ≤40, the step size is set to -16; (4) 40 <X 4 ≤80, the step length is set to -36; 2. When the second error value X 4 >0, that is, when the second full-scale code value is less than the full-scale code value range, the corresponding relationship between the error and the step length is the same as X 4 <0. Of course, this embodiment does not limit the specific fourth error ranges and the corresponding fourth sub-steps, which can be set according to specific circumstances.

[0075] It should be noted that the steps of the coarse adjustment and fine adjustment of the offset parameter and the coarse adjustment and fine adjustment of the gain parameter are essentially the same, except that the pressure values ​​involved in the parameter adjustment and the step sizes involved in the parameter adjustment are different. Among them, the step sizes of the coarse adjustment and fine adjustment of the offset parameter are the same. In the embodiment of the present application, the chip OFFSET configuration has a total of 7 adjustable parameters (0%...44%), and the GAIN configuration has a total of 110 adjustable parameters (1.32...540). Therefore, the OFFSET adjustable range is small, so the step sizes of the fine adjustment and coarse adjustment do not change, and convergence is not used. As for the coarse adjustment and fine adjustment step sizes of the gain parameter, when the error is (3, 15], the step size setting of the coarse adjustment can quickly reduce the error and then converge, while the step size setting during fine adjustment can avoid the error being amplified due to the convergence step size being too large.

[0076] It should also be noted that, in the embodiment of the present application, adjusting the step size according to the error size can quickly reduce the error and converge to approximation (successive approximation), and the matching efficiency is high. In addition, the segmentation in the embodiment of the present application is determined based on the zero point and full scale code values ​​of 20% and 80% respectively, so the maximum error of the zero point and the full scale will not exceed 80, but the specific segmentation interval can be changed according to the situation, and the specific step size can also be changed according to the situation.

[0077] In one embodiment, for chips that still do not meet the standards after coarse adjustment, the first offset parameter and the first gain parameter are fine-tuned in turn according to the zero-point code value range and the full-scale code value range, and also includes: setting a second number of fine-tuning cycles; fine-tuning the chips that still do not meet the standards after coarse adjustment according to the second number of cycles to skip the second faulty chip and mark the second faulty chip.

[0078] In this embodiment, there is a second cycle limit for the coarse adjustment of the first offset parameter and the first gain parameter of the chip, that is, the number of step size adjustments is limited. Therefore, the first offset parameter and the first gain parameter are adjusted at least once. The cycle limit is set to avoid problems with certain chips that cannot be corrected by adjusting parameter configuration, avoid fine-tuning according to the step size all the time, and save time for batch configuration.

[0079] It should be noted that, because the zero-point code value and the full-scale code value have been roughly close to the zero-point code value range and the full-scale code value range respectively during coarse adjustment, there is only a small error that requires fine adjustment. Therefore, the number of cycles set during coarse adjustment is greater than the number of cycles set during fine adjustment, that is, the first number of cycles is greater than the second number of cycles.

[0080] Step S140: If the conditions are met, the second offset parameter and the second gain parameter are written into the chip to be fine-tuned as the target configuration.

[0081] After fine-tuning, it will be determined again whether the second offset parameter and the second gain parameter corresponding to the fine-tuned chip can make the chip meet the standard. If it meets the standard, the second offset parameter and the second gain parameter will be written into the fine-tuned chip as the target configuration. The chips will be automatically adjusted twice in batches according to the compliance of each chip, ensuring the accuracy of the chip configuration.

[0082] It should also be noted that the sum of the chips that use the initial offset parameters and initial gain parameters as target configurations, the chips that use the first offset parameters and second gain parameters as target configurations, and the chips that use the second offset parameters and second gain parameters as target configurations is the number of chips that are ultimately successfully configured.

[0083] See also Figure 2 , Figure 2 FIG. 1 is a flowchart of a specific method for finding a batch adjustment chip configuration according to an exemplary embodiment of the present application. Figure 2As shown, first set the initial configuration of each chip (which can be input according to the experience value), then roughly adjust the zero point code value to 15%-25%, and then roughly adjust the full scale code value to 80%-85%, and further determine whether the OFFSET and Gain configurations of each chip have been changed. For those that have not been changed, compare the code value corresponding to the initial configuration with the target code value. If it is within the allowable error, write the configuration result. For those that have been changed, fine-tune (i.e., fine-tune) the zero point code value to 15%-25%, and then fine-tune the full scale code value to 80%-85%. Further determine whether the OFFSET and Gain configurations of each chip in the fine-tuning chip have been changed. For those that have not been changed, compare the code value after rough adjustment with the target code value. If it is within the allowable error, write the configuration result. For those that have been changed, read and verify the final zero point code value and the final full scale code value, that is, compare the code value after fine-tuning with the target code value. If it is within the allowable error, write the configuration result.

[0084] It should be understood that if the initial configuration satisfies the code value requirements of the zero point and full scale, the coarse adjustment and fine adjustment are skipped to shorten the configuration search time. If the code value requirements of the zero point and full scale are met after the coarse adjustment configuration, the fine adjustment is skipped to further shorten the configuration search time. In addition, the specific configuration changes of different chips are different, but the idea and method of finding the optimal configuration are the same.

[0085] See also Figure 3 , Figure 3 This is a flow chart of parameter adjustment shown in an exemplary embodiment of the present application. First of all, it should be noted that the fine adjustment and coarse adjustment of the offset parameters and gain parameters are all in this process, the difference lies in the different settings of the adjustment step of OFFSET / GAIN and the pressure value. Figure 3 As shown, first use the pressure controller to adjust the pressure to the pressure value corresponding to the chip OFFSET / GAIN, then read the current code value percentage of all chips, and batch determine whether the zero point and full-scale code values ​​of each chip are within the target code value range. If they are all within the range, the adjustment is terminated. For chips that are not within the range, the specific zero point and full-scale error values ​​are calculated, and then the segmentation and step length are set according to the error value. The parameter increase and decrease configuration is further performed according to the step length, and the increase and decrease configuration is recorded, and then the configuration is written into these chips. After all chips are adjusted once, the number of cycles is increased by 1, and it is determined whether the zero point and full-scale code values ​​of each chip are within the target code value range. If they are all within the range after adjustment once, the adjustment is terminated. If there are still chips that are not within the range, it is determined whether the number of cycles has exceeded the set value. If so, the adjustment is terminated. If not, the chips that do not meet the requirements continue to be adjusted until the chips that do not meet the standards meet the standards or the set value of the number of cycles is reached.

[0086] As a possible embodiment, each chip that meets the criteria can be marked, and the chip whose code value is within the range can be skipped in subsequent processes and cycles through the flag bit. Figure 3 All steps in the process are cyclic operations on all chips (except the marked chips), namely, batch reading code value percentage, batch comparison judgment, etc., which can improve the efficiency of batch chip configuration search.

[0087] The above-mentioned batch adjustment chip configuration seeking method firstly performs coarse adjustment on the chips whose initial offset parameters and initial gain parameters do not meet the standards, that is, adjusts the initial offset parameters and initial gain parameters to the first offset parameters and the first gain parameters, and then judges whether the coarse-adjusted chips meet the standards, and further performs fine adjustment on the chips that still do not meet the standards after the coarse adjustment, that is, adjusts the first offset parameters and the first gain parameters to the second offset parameters and the second gain parameters, and then judges whether the fine-tuned chips meet the standards. When the fine adjustment meets the standards, the second offset parameters and the second gain parameters are written as the target configuration into the fine-tuned chip, which fully considers the best and worst cases in the configuration of each chip, and can automatically adjust the parameters of the chips twice in batches according to the compliance of each chip, thereby ensuring the accuracy of the chip configuration, so that the chip meets the configuration requirements, and can effectively reduce the error between the converted code value and the target code value. In addition, the batch chips simultaneously perform parameter configuration detection and adjustment, which improves the efficiency of batch chip configuration, and can be used for the detection and correction of the configuration of batch chips after production.

[0088] See also Figure 4 , Figure 4 1 is a block diagram of a batch trimming chip configuration seeking device shown in an exemplary embodiment of the present application. It should be understood that the device can also be applied to other exemplary implementation environments, and this embodiment does not limit the implementation environment to which the device is applied.

[0089] like Figure 4 As shown, in an exemplary embodiment, the batch adjustment chip configuration seeking device 400 includes at least a judgment module 410, a coarse adjustment module 420, a fine adjustment module 430 and a configuration module 440, which are described in detail as follows:

[0090] A judgment module 410 is used to judge whether each chip meets the standard based on the initial offset parameter and the initial gain parameter of each chip, and the standard is that the zero point corresponding to the offset parameter of each chip reaches the zero point code value range and the full scale corresponding to the gain parameter reaches the full scale code value range;

[0091] A coarse adjustment module 420 is used to coarsely adjust the initial offset parameter and the initial gain parameter according to the zero code value range and the full code value range for the chip that does not meet the standard, obtain the first offset parameter and the first gain parameter, and determine whether the chip meets the standard after the coarse adjustment;

[0092] The fine-tuning module 430 is used to fine-tune the first offset parameter and the first gain parameter in sequence according to the zero-point code value range and the full-scale code value range for the chip that still does not meet the standard after the rough adjustment, obtain the second offset parameter and the second gain parameter, and determine whether the chip meets the standard after the fine-tuning;

[0093] The configuration module 440 is used to write the second offset parameter and the second gain parameter as the target configuration into the chip for fine-tuning if the conditions are met.

[0094] It should be noted that the batch trimming chip configuration seeking device provided in the above embodiment and the batch trimming chip configuration seeking method provided in the above embodiment belong to the same concept, wherein the contents of the operations performed by each module have been described in detail in the method embodiment and will not be repeated here.

[0095] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for finding chip configurations for batch adjustment, characterized in that: The method comprises: Based on the initial offset parameters and initial gain parameters of each chip, it is judged whether each chip meets the standard, wherein the standard is that the zero point corresponding to the offset parameter of each chip reaches the zero point code value range and the full scale corresponding to the gain parameter reaches the full scale code value range; For a chip that does not meet the standard, the initial offset parameter and the initial gain parameter are coarsely adjusted in sequence according to the zero point code value range and the full scale code value range to obtain a first offset parameter and a first gain parameter, and whether the chip after coarse adjustment meets the standard is determined, wherein the adjustment of the initial gain parameter affects the adjustment result of the initial offset parameter; For a chip that still does not meet the standard after coarse adjustment, fine-tune the first offset parameter and the first gain parameter in sequence according to the zero point code value range and the full scale code value range to obtain a second offset parameter and a second gain parameter, and determine whether the chip meets the standard after fine-tuning; If they are in compliance, writing the second offset parameter and the second gain parameter as target configuration into the chip for fine-tuning; Each of the chips is used for a piezoresistive sensor, and the coarse adjustment method includes: Calculating a first error value between a first zero-point code value corresponding to the initial offset parameter and the zero-point code value range, and a second error value between a first full-scale code value corresponding to the initial gain parameter and the full-scale code value range; Determine a first adjustment step length of the initial offset parameter according to the first error value, and determine a second adjustment step length of the initial gain parameter according to the second error value; Determine a first pressure value corresponding to the zero point code value range, and adjust the initial offset parameter at least once according to the first adjustment step length at the first pressure value until the first zero point code value reaches the zero point code value range; Determine a second pressure value corresponding to the full-scale code value range, and adjust the initial gain parameter at least once according to the second adjustment step size at the second pressure value until the first full-scale code value reaches the full-scale code value range; The fine-tuning method includes: Calculating a third error value between a second zero-point code value corresponding to the first offset parameter and the zero-point code value range, and a fourth error value between a second full-scale code value corresponding to the first gain parameter and the full-scale code value range; determining a third adjustment step size of the first offset parameter according to the third error value, and determining a fourth adjustment step size of the first gain parameter according to the fourth error value; Determine a third pressure value corresponding to the zero point code value range, and adjust the first offset parameter at least once according to the third adjustment step length at the third pressure value until the second zero point code value reaches the zero point code value range; Determine a fourth pressure value corresponding to the full-scale code value range, and adjust the first gain parameter at least once according to the fourth adjustment step length at the fourth pressure value until the second full-scale code value reaches the full-scale code value range; When the first error value is the same as the third error value, the first adjustment step is the same as the third adjustment step; when the second error value is the same as the fourth error value, the second adjustment step is greater than the fourth adjustment step.

2. The method for finding chip configurations for batch adjustment according to claim 1, characterized in that: The method further comprises: If the initial offset parameter and the initial gain parameter of the chip meet the standard, writing the initial offset parameter and the initial gain parameter into the chip as the target configuration; If the first offset parameter and the first gain parameter of the coarsely adjusted chip meet the standard, the first offset parameter and the first gain parameter are written into the coarsely adjusted chip as target configurations.

3. The method for finding chip configurations for batch adjustment according to claim 1, characterized in that: The step of determining a first adjustment step of the initial offset parameter according to the first error value comprises: Acquire a plurality of preset continuous first error ranges and first sub-steps corresponding to the first error ranges, wherein the absolute value of the first error range is positively correlated with the absolute value of the first sub-step; Determine a first error target range to which the first error value belongs from a plurality of the first error ranges; The first sub-step length corresponding to the first error target range is used as the first adjustment step length.

4. The method for finding chip configurations for batch adjustment according to claim 1, characterized in that: The step of determining a second adjustment step of the initial gain parameter according to the second error value comprises: Acquire a plurality of preset continuous second error ranges and second sub-steps corresponding to each of the second error ranges, wherein an absolute value of the second error range is positively correlated with an absolute value of the second sub-step; Determine a second error target range to which the second error value belongs from a plurality of second error ranges; The second sub-step length corresponding to the second error target range is used as the second adjustment step length.

5. The method for finding chip configurations for batch adjustment according to claim 1, characterized in that: The step of determining a third adjustment step of the first offset parameter according to the third error value comprises: Acquire a plurality of preset continuous third error ranges and third sub-steps corresponding to the third error ranges, wherein the absolute value of the third error range is positively correlated with the absolute value of the third sub-step; Determine a third error target range to which the third error value belongs from a plurality of the third error ranges; The third sub-step length corresponding to the third error target range is used as the third adjustment step length.

6. The method for finding chip configurations for batch adjustment according to claim 1, characterized in that: The step of determining a fourth adjustment step of the first gain parameter according to the fourth error value comprises: Acquire a plurality of preset continuous fourth error ranges and fourth sub-steps corresponding to the fourth error ranges, wherein the absolute value of the fourth error range is positively correlated with the absolute value of the fourth sub-step; Determine a fourth error target range to which the fourth error value belongs from a plurality of the fourth error ranges; The fourth sub-step length corresponding to the fourth error target range is used as the fourth adjustment step length.

7. The method for finding chip configurations for batch trimming according to any one of claims 1 to 6, characterized in that: The acquisition of the zero point code value range and the full scale code value range includes: Determine the target code value that each chip needs to output according to the input signal of each chip; Determine a target zero-point code value corresponding to the offset parameter and a target full-scale code value corresponding to the gain parameter according to the target code value; The zero-point code value range corresponding to the target zero-point code value is determined based on a preset zero-point code value error, and the full-scale code value range corresponding to the target full-scale code value is determined based on a preset full-scale code value error.

8. The method for finding chip configurations for batch adjustment according to claim 1, characterized in that: For the chip that does not meet the standard, the initial offset parameter and the initial gain parameter are coarsely adjusted in sequence according to the zero point code value range and the full scale code value range, and further comprising: Setting the first cycle number of the coarse adjustment; The coarse adjustment is performed on the chips that do not meet the standard according to the first cycle number, so as to skip the first faulty chip and mark the first faulty chip.

9. The method for finding chip configurations for batch adjustment according to claim 1, characterized in that: For the chip that still does not meet the standard after the rough adjustment, fine-tuning the first offset parameter and the first gain parameter in sequence according to the zero point code value range and the full scale code value range, further comprising: Setting the second cycle number of the fine-tuning; The chips that still do not meet the standard after the rough adjustment are fine-tuned according to the second cycle number, so as to skip the second faulty chips and mark the second faulty chips.

10. A device for searching for chip configurations for batch adjustment, characterized in that: The device comprises: A judgment module, used for judging whether each chip meets the standard based on the initial offset parameter and initial gain parameter of each chip, wherein the standard is that the zero point corresponding to the offset parameter of each chip reaches the zero point code value range and the full scale corresponding to the gain parameter reaches the full scale code value range; A coarse adjustment module, for coarsely adjusting the initial offset parameter and the initial gain parameter in sequence according to the zero point code value range and the full scale code value range for a chip that does not meet the standard, to obtain a first offset parameter and a first gain parameter, and to determine whether the coarsely adjusted chip meets the standard, wherein the adjustment of the initial gain parameter affects the adjustment result of the initial offset parameter; A fine-tuning module, for fine-tuning the first offset parameter and the first gain parameter in sequence according to the zero-point code value range and the full-scale code value range for a chip that still does not meet the standard after coarse-tuning, to obtain a second offset parameter and a second gain parameter, and to determine whether the chip meets the standard after fine-tuning; A configuration module, configured to write the second offset parameter and the second gain parameter as a target configuration into a chip for fine-tuning if the conditions are met; Each of the chips is used for a piezoresistive sensor, and the coarse adjustment module is specifically used for: Calculating a first error value between a first zero-point code value corresponding to the initial offset parameter and the zero-point code value range, and a second error value between a first full-scale code value corresponding to the initial gain parameter and the full-scale code value range; Determining a first adjustment step length of the initial offset parameter according to the first error value, and determining a second adjustment step length of the initial gain parameter according to the second error value; Determine a first pressure value corresponding to the zero point code value range, and adjust the initial offset parameter at least once according to the first adjustment step length at the first pressure value until the first zero point code value reaches the zero point code value range; Determine a second pressure value corresponding to the full-scale code value range, and adjust the initial gain parameter at least once according to the second adjustment step size at the second pressure value until the first full-scale code value reaches the full-scale code value range; The fine-tuning module is specifically used for: Calculating a third error value between a second zero-point code value corresponding to the first offset parameter and the zero-point code value range, and a fourth error value between a second full-scale code value corresponding to the first gain parameter and the full-scale code value range; determining a third adjustment step size of the first offset parameter according to the third error value, and determining a fourth adjustment step size of the first gain parameter according to the fourth error value; Determine a third pressure value corresponding to the zero point code value range, and adjust the first offset parameter at least once according to the third adjustment step length at the third pressure value until the second zero point code value reaches the zero point code value range; Determine a fourth pressure value corresponding to the full-scale code value range, and adjust the first gain parameter at least once according to the fourth adjustment step length at the fourth pressure value until the second full-scale code value reaches the full-scale code value range; When the first error value is the same as the third error value, the first adjustment step is the same as the third adjustment step; when the second error value is the same as the fourth error value, the second adjustment step is greater than the fourth adjustment step.