Reusable programmable adjustment circuit and adjustment method

By designing a reusable programming trimming circuit and using I2C modules and password processing circuits, the problems of high manufacturing difficulty and high cost in the existing trimming technology are solved. The flexibility and security of the circuit are achieved, and it is suitable for a variety of repairs. Adjust the application.

CN113114216BActive Publication Date: 2024-09-10ONSAI MICROELECTRONICS (SHANGHAI) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110399009.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-14
Publication Date
2024-09-10
Estimated Expiration
2041-04-14

AI Technical Summary

Technical Problem

Existing trimming technology has problems such as high manufacturing difficulty, high cost, and the need for additional trimming points. Especially in the fine-tuning of DACs, ADCs, and high-precision integrated circuits, there is a lack of flexible and reusable trimming methods.

Method used

A reusable programming trimming circuit is designed, including a preprocessing circuit, I/O module, I2C module, and password processing circuit. By generating enable signals and driving the I2C bus, password verification and trimming command writing are realized to ensure Safety and flexibility in trimming operations.

Benefits of technology

It improves the flexibility and reusability of the circuit, effectively prevents misoperation, is suitable for a wide range of trimming applications, and reduces manufacturing and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113114216B
    Figure CN113114216B
Patent Text Reader

Abstract

The present invention discloses a reusable programmable adjustment circuit and adjustment method, including a preprocessing circuit, a first I / O module 202, a second I / O module, an I2C module, a first password processing circuit, and a second password processing circuit; the preprocessing circuit 201 is used to generate a first enable signal EN1 after power-on, and the output end of the preprocessing circuit is connected to the input end of the I2C module; the output end of the first I / O module is connected to the first input port SCL of the I2C module; the output end of the second I / O module is connected to the second input port SDA of the I2C module; the input end of the first password processing circuit is connected to the output end of the first register module inside the I2C module; the input of the second password processing circuit is connected to the output of the second register module inside the I2C module. The reusable programmable adjustment circuit and adjustment method proposed by the present invention can improve the flexibility of the circuit, can be reused, can effectively prevent misoperation, and has a wide range of applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of circuit trimming and adjustment, and relates to a trimming and adjustment circuit, and in particular to a reusable programmable trimming and adjustment circuit and a trimming and adjustment method. Background Art

[0002] Trimming technology is widely used in the fine-tuning of DAC, ADC, reference source and various high-precision integrated circuits. There are three main commonly used trimming methods: the first is the laser trimming technology of resistor film, which increases the resistance by cutting off part of the resistor material; the second is the fuse trimming technology, which uses a voltage source or a current source to burn out the fuse connected in parallel to the two ends of the resistor to increase the resistance to achieve trimming; the third is the diode short-circuit trimming technology, which is similar to the fuse trimming technology and achieves trimming by reducing the resistance.

[0003] Laser trimming technology requires an additional laser trimming system, which increases the difficulty and cost of manufacturing resistor films; fuse trimming technology and diode short-circuit trimming technology require the introduction of additional trimming points.

[0004] In view of this, there is an urgent need to design a new adjustment method to overcome at least some of the above-mentioned defects of the existing adjustment method. Summary of the invention

[0005] The present invention provides a reusable programmable adjustment circuit and an adjustment method, which can improve the flexibility of the circuit, can be reused, can effectively prevent misoperation, and has a wide range of applications.

[0006] To solve the above technical problem, according to one aspect of the present invention, the following technical solution is adopted:

[0007] A reusable programming and adjustment circuit, the reusable programming and adjustment circuit comprising: a preprocessing circuit, a first I / O module, a second I / O module, an I2C module, a first password processing circuit, and a second password processing circuit;

[0008] The preprocessing circuit is used to generate a first enable signal EN1 after power-on, and the output end of the preprocessing circuit is connected to the input end of the I2C module; the first enable signal EN1 generated by the preprocessing circuit can wake up the I2C address, so that the first register module in the I2C module can read and write normally;

[0009] The output end of the first I / O module is connected to the first input port SCL of the I2C module to provide a clock signal SCL_IN for the I2C module;

[0010] The output end of the second I / O module is connected to the second input port SDA of the I2C module, providing the I2C module with an SDA_IN signal for driving the I2C module, so that the first register module inside the I2C module is written with the first password;

[0011] The input end of the first password processing circuit is connected to the output end of the first register module inside the I2C module. When the first password processing circuit verifies that the password is correct, the first password processing circuit outputs a second enable signal EN2, which is fed back to the input end of the I2C module, so that the second register module and the third register module inside the I2C module can be read and written normally; when the first password processing circuit verifies that the password is wrong, the adjustment operation is terminated; the SDA_IN signal continues to be written into the second register module;

[0012] The input of the second password processing circuit is connected to the output of the second register module inside the I2C module; when the second password processing circuit verifies that the password is correct, the second password processing circuit outputs the trimming control signal EN_PROG, the trimming command is written into the third register module, and the signal TRIM_IN is output; different SDA signals can write different combinations of trimming commands, thereby outputting different TRIM_IN signals, thereby realizing the reuse function; when the second password processing circuit verifies that the password is incorrect, the trimming operation is terminated.

[0013] As an implementation mode of the present invention, the preprocessing circuit includes a delay circuit and a boost circuit;

[0014] The delay circuit is used to generate a slowly rising output voltage after power-on. After the output voltage reaches a certain value, it rises to a power supply voltage via a boost circuit and outputs a first enable signal EN1 to the I2C module.

[0015] As an embodiment of the present invention, the delay circuit includes a first P-type channel MOS field effect transistor MP1 and a second P-type channel MOS field effect transistor MP2 connected in series, the source of the first P-type channel MOS field effect transistor MP1 is connected to the power supply voltage VDD, the gate of the first P-type channel MOS field effect transistor MP1 is connected to the source of the second P-type channel MOS field effect transistor MP2, the gate of the second P-type channel MOS field effect transistor MP2 is connected to the ground through a first resistor R1, the second resistor R2 and the second capacitor C2 are connected in parallel and are connected together between the drain of the second P-type channel MOS field effect transistor MP2 and the ground, and the drain of the second P-type channel MOS field effect transistor MP2 is the output end of the delay circuit; the first resistor R1 and the first capacitor C1 form an electrostatic protection circuit, and the second resistor R2 and the second capacitor C2 form a delay module.

[0016] As an embodiment of the present invention, the boost circuit includes a third P-type channel MOS field effect transistor MP3, a first N-type channel MOS field effect transistor MN1 and a second N-type channel MOS field effect transistor MN2 connected in series, the gates of the third P-type channel MOS field effect transistor MP3, the first N-type channel MOS field effect transistor MN1 and the second N-type channel MOS field effect transistor MN2 are connected as the input of the boost circuit, the source of the third P-type channel MOS field effect transistor MP3 is connected to the power supply voltage VDD, the source of the second N-type channel MOS field effect transistor MN2 is connected to the ground, the two ends of the third capacitor C3 are respectively connected to the source and drain of the third P-type channel MOS field effect transistor MP3, and the gate of the fourth P-type channel MOS field effect transistor MP4 is connected to the ground. It is connected to the ground through the fourth resistor R4, the source of the fourth P-type channel MOS field effect transistor MP4 is connected to the power supply VDD, the two ends of the fourth capacitor C4 are respectively connected to the gate and the drain of the fourth P-type channel MOS field effect transistor MP4, the gate of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the third P-type channel MOS field effect transistor MP3, the source of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the second N-type channel MOS field effect transistor MN2, the drain of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the fourth P-type channel MOS field effect transistor MP4, the input of the inverter INV is connected to the gate of the third N-type channel MOS field effect transistor MN3, and the output of the inverter is the output of the preprocessing circuit.

[0017] As an embodiment of the present invention, the boost circuit includes at least two inverters, each inverter is connected in series or / and in parallel; during normal operation, the fourth P-type channel MOS field effect transistor MP4 is located in the linear region, the third N-type channel MOS field effect transistor MN3 is located in the cut-off region, and the fourth resistor R4 and the fourth capacitor C4 constitute a protection circuit.

[0018] As an embodiment of the present invention, the first cryptographic processing circuit includes a first adjustment circuit, a second adjustment circuit and a third adjustment circuit; or / and the second cryptographic processing circuit includes a first adjustment circuit, a second adjustment circuit and a third adjustment circuit;

[0019] The first adjustment circuit includes inverters of set quantity and position;

[0020] The second adjustment circuit includes three three-input NOR gates and one three-input NAND gate, the input of the NOR gate is connected to the output of the inverter group in the first adjustment circuit, the output of the NOR gate is connected to the input of the NAND gate, and the output of the NAND gate is connected to the input of the third adjustment circuit;

[0021] The second adjustment circuit is used to select different numbers of two-input, three-input or four-input NOR gates and NAND gates according to actual conditions;

[0022] The third adjustment circuit is formed by connecting different numbers of inverters in series or in parallel according to actual conditions.

[0023] According to another aspect of the present invention, the following technical solution is adopted: a method for adjusting a reusable programmable adjustment circuit, the method comprising:

[0024] The preprocessing circuit generates a first enable signal EN1 after power-on, and the first enable signal EN1 can wake up the I2C address, so that the first register module in the I2C module can read and write normally;

[0025] The first I / O module provides a clock signal SCL_IN for the I2C module;

[0026] The second I / O module provides the I2C module with an SDA_IN signal for driving the I2C module, so that the first register module inside the I2C module is written with a first password;

[0027] When the first password processing circuit verifies that the password is correct, the first password processing circuit outputs a second enable signal EN2, which is fed back to the input end of the I2C module, so that the second register module and the third register module inside the I2C module can read and write normally; when the first password processing circuit verifies that the password is wrong, the adjustment operation is terminated; the SDA_IN signal continues to be written into the second register module;

[0028] When the second password processing circuit verifies that the password is correct, the second password processing circuit outputs the trimming control signal EN_PROG, the trimming command is written into the third register module, and the signal TRIM_IN is output; different SDA signals can write different combinations of trimming commands, thereby outputting different TRIM_IN signals, thereby realizing the reuse function; when the second password processing circuit verifies that the password is incorrect, the trimming operation is terminated.

[0029] As an implementation mode of the present invention, the preprocessing circuit includes a delay circuit and a boost circuit;

[0030] The delay circuit is used to generate a slowly rising output voltage after power-on, and the output voltage rises to a power supply voltage through a boost circuit after reaching a certain value, and outputs a first enable signal EN1 to the I2C module;

[0031] The delay circuit comprises a first P-type channel MOS field effect transistor MP1 and a second P-type channel MOS field effect transistor MP2 connected in series, the source of the first P-type channel MOS field effect transistor MP1 is connected to the power supply voltage VDD, the gate of the first P-type channel MOS field effect transistor MP1 is connected to the source of the second P-type channel MOS field effect transistor MP2, the gate of the second P-type channel MOS field effect transistor MP2 is connected to the ground through a first resistor R1, the second resistor R2 and the second capacitor C2 are connected in parallel, and are connected between the drain of the second P-type channel MOS field effect transistor MP2 and the ground, and the drain of the second P-type channel MOS field effect transistor MP2 is the output end of the delay circuit; the first resistor R1 and the first capacitor C1 form an electrostatic protection circuit, and the second resistor R2 and the second capacitor C2 form a delay module;

[0032] The boost circuit comprises a third P-type channel MOS field effect transistor MP3, a first N-type channel MOS field effect transistor MN1 and a second N-type channel MOS field effect transistor MN2 connected in series;

[0033] The gates of the third P-type channel MOS field effect transistor MP3, the first N-type channel MOS field effect transistor MN1, and the second N-type channel MOS field effect transistor MN2 are connected to serve as the input of the boost circuit;

[0034] The source of the third P-type channel MOS field effect transistor MP3 is connected to the power supply voltage VDD, the source of the second N-type channel MOS field effect transistor MN2 is connected to the ground, and the two ends of the third capacitor C3 are respectively connected to the source and drain of the third P-type channel MOS field effect transistor MP3;

[0035] The gate of the fourth P-type channel MOS field effect transistor MP4 is connected to the ground through the fourth resistor R4, the source of the fourth P-type channel MOS field effect transistor MP4 is connected to the power supply VDD, and the two ends of the fourth capacitor C4 are respectively connected to the gate and the drain of the fourth P-type channel MOS field effect transistor MP4;

[0036] The gate of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the third P-type channel MOS field effect transistor MP3, the source of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the second N-type channel MOS field effect transistor MN2, and the drain of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the fourth P-type channel MOS field effect transistor MP4;

[0037] The input of the inverter INV is connected to the gate of the third N-channel MOS field effect transistor MN3, and the output of the inverter is the output of the preprocessing circuit;

[0038] The boost circuit includes at least two inverters, each inverter is connected in series or / and in parallel; in normal operation, the fourth P-channel MOS field effect transistor MP4 is located in the linear region, the third N-channel MOS field effect transistor MN3 is located in the cut-off region, and the fourth resistor R4 and the fourth capacitor C4 form a protection circuit.

[0039] As an embodiment of the present invention, the first cryptographic processing circuit includes a first adjustment circuit, a second adjustment circuit and a third adjustment circuit; or / and the second cryptographic processing circuit includes a first adjustment circuit, a second adjustment circuit and a third adjustment circuit;

[0040] The first adjustment circuit includes inverters of set quantity and position;

[0041] The second adjustment circuit includes three three-input NOR gates and one three-input NAND gate, the input of the NOR gate is connected to the output of the inverter group in the first adjustment circuit, the output of the NOR gate is connected to the input of the NAND gate, and the output of the NAND gate is connected to the input of the third adjustment circuit;

[0042] The second adjustment circuit is used to select different numbers of two-input, three-input or four-input NOR gates and NAND gates according to actual conditions;

[0043] The third adjustment circuit is formed by connecting different numbers of inverters in series or in parallel according to actual conditions.

[0044] The beneficial effects of the present invention are as follows: the reusable programmable adjustment circuit and adjustment method proposed in the present invention can improve the flexibility of the circuit, can be reused, can effectively prevent misoperation, and has a wide range of applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of a traditional trimming circuit.

[0046] Figure 2 FIG. 4 is a circuit diagram of a reusable programmable adjustment circuit based on an I2C bus in one embodiment of the present invention.

[0047] Figure 3 FIG. 4 is a circuit diagram of a preprocessing circuit in an embodiment of the present invention.

[0048] Figure 4 FIG. 4 is a circuit diagram of a password processing circuit in one embodiment of the present invention. DETAILED DESCRIPTION

[0049] The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0050] In order to further understand the present invention, preferred embodiments of the present invention are described below in conjunction with examples. However, it should be understood that these descriptions are only for further illustrating the features and advantages of the present invention, rather than limiting the claims of the present invention.

[0051] The description in this section is only for several typical embodiments, and the present invention is not limited to the scope of the embodiments. The same or similar prior art means and some technical features in the embodiments are mutually replaced within the scope of the present invention.

[0052] The description of the steps in each embodiment in the specification is only for the convenience of explanation, and the implementation method of the present application is not limited by the order of implementation of the steps.

[0053] The term "connection" as used in the specification includes both direct connection and indirect connection, such as connection through some active devices, passive devices or electrically conductive media; it may also include connection through other active devices or passive devices known to those skilled in the art on the basis of achieving the same or similar functional purposes, such as connection through circuits or components such as switches and follower circuits.

[0054] It should be noted that, in the present invention, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not represent any actual relationship or order between the entities or operations.

[0055] The present invention discloses a reusable programmable adjustment circuit. Figure 2 FIG. 1 is a circuit diagram of a reusable programming and adjustment circuit based on an I2C bus in one embodiment of the present invention; please refer to FIG. Figure 2 The reusable programmable adjustment circuit includes: a preprocessing circuit 201, a first I / O module 202, a second I / O module 203, an I2C module 204, a first password processing circuit 205, and a second password processing circuit 206.

[0056] The preprocessing circuit 201 is used to generate a first enable signal EN1 after power-on, and the output end of the preprocessing circuit 201 is connected to the input end of the I2C module 204; the first enable signal EN1 generated by the preprocessing circuit 201 can wake up the I2C address, so that the first register module in the I2C module can read and write normally.

[0057] The output end of the first I / O module 202 is connected to the first input port SCL of the I2C module 204 to provide a clock signal SCL_IN for the I2C module 204 .

[0058] The output end of the second I / O module 203 is connected to the second input port SDA of the I2C module 204 to provide the I2C module 204 with an SDA_IN signal for driving the I2C module, so that the first register module inside the I2C module is written with the first password.

[0059] The input end of the first password processing circuit 205 is connected to the output end of the first register module inside the I2C module. When the first password processing circuit 205 verifies that the password is correct, the first password processing circuit 205 outputs a second enable signal EN2, which is fed back to the input end of the I2C module 204, so that the second register module and the third register module inside the I2C module 204 can be read and written normally; when the first password processing circuit 205 verifies that the password is wrong, the adjustment operation is terminated; the SDA_IN signal continues to be written into the second register module.

[0060] The input of the second password processing circuit 206 is connected to the output of the second register module inside the I2C module; when the second password processing circuit 206 verifies that the password is correct, the second password processing circuit outputs the trimming control signal EN_PROG, the trimming command is written into the third register module, and the signal TRIM_IN is output; different SDA signals can write different combinations of trimming commands, thereby outputting different TRIM_IN signals, thereby realizing the reuse function; when the second password processing circuit 206 verifies that the password is incorrect, the trimming operation is terminated.

[0061] Figure 3 is a circuit diagram of a preprocessing circuit in one embodiment of the present invention; please refer to Figure 3 In one embodiment of the present invention, the preprocessing circuit 201 includes a delay circuit 301 and a boost circuit 302. The delay circuit 301 is used to generate a slowly rising output voltage after power-on, and the output voltage rises to a power supply voltage through the boost circuit 302 after reaching a certain value, and outputs a first enable signal EN1 to the I2C module.

[0062] In one embodiment, the delay circuit 301 includes a first P-type channel MOS field effect transistor MP1 and a second P-type channel MOS field effect transistor MP2 connected in series, the source of the first P-type channel MOS field effect transistor MP1 is connected to the power supply voltage VDD, the gate of the first P-type channel MOS field effect transistor MP1 is connected to the source of the second P-type channel MOS field effect transistor MP2, the gate of the second P-type channel MOS field effect transistor MP2 is connected to the ground through the first resistor R1, the second resistor R2 and the second capacitor C2 are connected in parallel and are connected between the drain of the second P-type channel MOS field effect transistor MP2 and the ground, and the drain of the second P-type channel MOS field effect transistor MP2 is the output end of the delay circuit 301; the first resistor R1 and the first capacitor C1 form an electrostatic protection circuit, and the second resistor R2 and the second capacitor C2 form a delay module.

[0063] In one embodiment, the boost circuit 302 includes a third P-type channel MOS field effect transistor MP3, a first N-type channel MOS field effect transistor MN1 and a second N-type channel MOS field effect transistor MN2 connected in series, the gates of the third P-type channel MOS field effect transistor MP3, the first N-type channel MOS field effect transistor MN1 and the second N-type channel MOS field effect transistor MN2 are connected as the input of the boost circuit 302, the source of the third P-type channel MOS field effect transistor MP3 is connected to the power supply voltage VDD, the source of the second N-type channel MOS field effect transistor MN2 is connected to the ground, the two ends of the third capacitor C3 are respectively connected to the source and drain of the third P-type channel MOS field effect transistor MP3, and the gate of the fourth P-type channel MOS field effect transistor MP4 is connected to the ground. The fourth resistor R4 is connected to the ground, the source of the fourth P-type channel MOS field effect transistor MP4 is connected to the power supply VDD, the two ends of the fourth capacitor C4 are respectively connected to the gate and the drain of the fourth P-type channel MOS field effect transistor MP4, the gate of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the third P-type channel MOS field effect transistor MP3, the source of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the second N-type channel MOS field effect transistor MN2, the drain of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the fourth P-type channel MOS field effect transistor MP4, the input of the inverter INV is connected to the gate of the third N-type channel MOS field effect transistor MN3, and the output of the inverter is the output of the preprocessing circuit 201.

[0064] The boost circuit 302 includes at least two inverters, each of which is connected in series or / and in parallel; in normal operation, the fourth P-channel MOS field effect transistor MP4 is located in the linear region, the third N-channel MOS field effect transistor MN3 is located in the cut-off region, and the fourth resistor R4 and the fourth capacitor C4 form a protection circuit.

[0065] Figure 4is a circuit diagram of a password processing circuit in one embodiment of the present invention; please refer to Figure 4 In one embodiment of the present invention, the first cryptographic processing circuit includes a first adjustment circuit 401, a second adjustment circuit 402 and a third adjustment circuit 403; or / and the second cryptographic processing circuit includes a first adjustment circuit 401, a second adjustment circuit 402 and a third adjustment circuit 403.

[0066] The first adjustment circuit 401 includes inverters of set quantity and position. The second adjustment circuit 402 includes three three-input NOR gates and one three-input NAND gate, the input of the NOR gate is connected to the output of the inverter group in the first adjustment circuit 401, the output of the NOR gate is connected to the input of the NAND gate, and the output of the NAND gate is connected to the input of the third adjustment circuit 403. The second adjustment circuit 402 is used to select different numbers of two-input, three-input or four-input NOR gates and NAND gates according to actual conditions. The third adjustment circuit 403 is used to be formed by connecting different numbers of inverters in series or in parallel according to actual conditions.

[0067] The present invention also discloses a method for adjusting a reusable programmable adjustment circuit, the method comprising:

[0068] The pre-processing circuit 201 generates a first enable signal EN1 after power-on. The first enable signal EN1 can wake up the I2C address, so that the first register module in the I2C module 204 can read and write normally.

[0069] The first I / O module 202 provides a clock signal SCL_IN to the I2C module 204 .

[0070] The second I / O module 203 provides the I2C module 204 with an SDA_IN signal for driving the I2C module, so that the first register module inside the I2C module is written with the first password.

[0071] When the first password processing circuit 205 verifies that the password is correct, the first password processing circuit 205 outputs a second enable signal EN2, which is fed back to the input end of the I2C module 204, so that the second register module and the third register module inside the I2C module 204 can be read and written normally; when the first password processing circuit 205 verifies that the password is incorrect, the adjustment operation is terminated; the SDA_IN signal continues to be written into the second register module.

[0072] When the second password processing circuit 206 verifies that the password is correct, the second password processing circuit outputs the trimming control signal EN_PROG, writes the trimming command into the third register module, and outputs the signal TRIM_IN; different SDA signals can write different combinations of trimming commands, thereby outputting different TRIM_IN signals, thereby realizing the reuse function; when the second password processing circuit 206 verifies that the password is incorrect, the trimming operation is terminated.

[0073] In summary, the reusable programmable adjustment circuit and adjustment method proposed in the present invention can improve the flexibility of the circuit, can be reused, can effectively prevent misoperation, and has a wide range of applications.

[0074] It should be noted that the present application can be implemented in software and / or a combination of software and hardware; for example, it can be implemented using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In some embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium; for example, a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some steps or functions of the present application can be implemented in hardware; for example, as a circuit that cooperates with a processor to perform various steps or functions.

[0075] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0076] The description and application of the present invention here are illustrative, and it is not intended to limit the scope of the present invention to the above-mentioned embodiments. The effects or advantages involved in the embodiments may not be embodied in the embodiments due to interference from various factors, and the description of the effects or advantages is not used to limit the embodiments. The deformation and change of the embodiments disclosed here are possible, and the replacement of the embodiments and the various equivalent parts are well known to those of ordinary skill in the art. It should be clear to those skilled in the art that the present invention can be implemented in other forms, structures, arrangements, proportions, and with other components, materials and parts without departing from the spirit or essential features of the present invention. Other deformations and changes can be made to the embodiments disclosed here without departing from the scope and spirit of the present invention.

Claims

1. A reusable programmable adjustment circuit, characterized in that: The reusable programmable adjustment circuit includes: a preprocessing circuit, a first I / O module, a second I / O module, an I2C module, a first password processing circuit, and a second password processing circuit; The preprocessing circuit is used to generate a first enable signal EN1 after power-on, and the output end of the preprocessing circuit is connected to the input end of the I2C module; the first enable signal EN1 generated by the preprocessing circuit can wake up the I2C address, so that the first register module in the I2C module can read and write normally; The output end of the first I / O module is connected to the first input port SCL of the I2C module to provide a clock signal SCL_IN for the I2C module; The output end of the second I / O module is connected to the second input port SDA of the I2C module, providing the I2C module with an SDA_IN signal for driving the I2C module, so that the first register module inside the I2C module is written with the first password; The input end of the first password processing circuit is connected to the output end of the first register module inside the I2C module. When the first password processing circuit verifies that the password is correct, the first password processing circuit outputs a second enable signal EN2, which is fed back to the input end of the I2C module, so that the second register module and the third register module inside the I2C module can be read and written normally; when the first password processing circuit verifies that the password is wrong, the adjustment operation is terminated; the SDA_IN signal continues to be written into the second register module; The input of the second password processing circuit is connected to the output of the second register module inside the I2C module; when the second password processing circuit verifies that the password is correct, the second password processing circuit outputs the trimming control signal EN_PROG, the trimming command is written into the third register module, and the signal TRIM_IN is output; different SDA signals can write different combinations of trimming commands, thereby outputting different TRIM_IN signals, thereby realizing the reuse function; when the second password processing circuit verifies that the password is incorrect, the trimming operation is terminated.

2. The reusable programmable adjustment circuit according to claim 1, characterized in that: The preprocessing circuit includes a delay circuit and a boost circuit; The delay circuit is used to generate a slowly rising output voltage after power-on. After the output voltage reaches a certain value, it rises to a power supply voltage via a boost circuit and outputs a first enable signal EN1 to the I2C module.

3. The reusable programmable adjustment circuit according to claim 2, characterized in that: The delay circuit includes a first P-type channel MOS field effect transistor MP1 and a second P-type channel MOS field effect transistor MP2 connected in series, the source of the first P-type channel MOS field effect transistor MP1 is connected to a power supply voltage VDD, the gate of the first P-type channel MOS field effect transistor MP1 is connected to the source of the second P-type channel MOS field effect transistor MP2, the gate of the second P-type channel MOS field effect transistor MP2 is connected to the ground through a first resistor R1, the second resistor R2 and the second capacitor C2 are connected in parallel and are connected between the drain of the second P-type channel MOS field effect transistor MP2 and the ground, and the drain of the second P-type channel MOS field effect transistor MP2 is the output end of the delay circuit; the first resistor R1 and the first capacitor C1 form an electrostatic protection circuit, and the second resistor R2 and the second capacitor C2 form a delay module.

4. The reusable programmable adjustment circuit according to claim 2, characterized in that: The boost circuit comprises a third P-type channel MOS field effect transistor MP3, a first N-type channel MOS field effect transistor MN1 and a second N-type channel MOS field effect transistor MN2 connected in series; The gates of the third P-type channel MOS field effect transistor MP3, the first N-type channel MOS field effect transistor MN1, and the second N-type channel MOS field effect transistor MN2 are connected to serve as the input of the boost circuit; The source of the third P-type channel MOS field effect transistor MP3 is connected to the power supply voltage VDD, the source of the second N-type channel MOS field effect transistor MN2 is connected to the ground, and the two ends of the third capacitor C3 are respectively connected to the source and drain of the third P-type channel MOS field effect transistor MP3; The gate of the fourth P-type channel MOS field effect transistor MP4 is connected to the ground through the fourth resistor R4, the source of the fourth P-type channel MOS field effect transistor MP4 is connected to the power supply VDD, and the two ends of the fourth capacitor C4 are respectively connected to the gate and the drain of the fourth P-type channel MOS field effect transistor MP4; The gate of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the third P-type channel MOS field effect transistor MP3, the source of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the second N-type channel MOS field effect transistor MN2, and the drain of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the fourth P-type channel MOS field effect transistor MP4; The input of the inverter INV is connected to the gate of the third N-channel MOS field effect transistor MN3, and the output of the inverter is the output of the preprocessing circuit.

5. The reusable programmable adjustment circuit according to claim 4, characterized in that: The boost circuit includes at least two inverters, each inverter is connected in series or / and in parallel; in normal operation, the fourth P-channel MOS field effect transistor MP4 is located in the linear region, the third N-channel MOS field effect transistor MN3 is located in the cut-off region, and the fourth resistor R4 and the fourth capacitor C4 form a protection circuit.

6. The reusable programmable adjustment circuit according to claim 1, characterized in that: The first cryptographic processing circuit includes a first adjustment circuit, a second adjustment circuit and a third adjustment circuit; or / and the second cryptographic processing circuit includes a first adjustment circuit, a second adjustment circuit and a third adjustment circuit; The first adjustment circuit includes inverters of set quantity and position; The second adjustment circuit includes three three-input NOR gates and one three-input NAND gate, the input of the NOR gate is connected to the output of the inverter group in the first adjustment circuit, the output of the NOR gate is connected to the input of the NAND gate, and the output of the NAND gate is connected to the input of the third adjustment circuit; The second adjustment circuit is used to select different numbers of two-input, three-input or four-input NOR gates and NAND gates according to actual conditions; The third adjustment circuit is formed by connecting different numbers of inverters in series or in parallel according to actual conditions.

7. A method for adjusting a reusable programmable circuit, characterized in that: The adjustment method comprises: The preprocessing circuit generates a first enable signal EN1 after power-on, and the first enable signal EN1 can wake up the I2C address, so that the first register module in the I2C module can read and write normally; The first I / O module provides a clock signal SCL_IN for the I2C module; The second I / O module provides the I2C module with an SDA_IN signal for driving the I2C module, so that the first register module inside the I2C module is written with a first password; When the first password processing circuit verifies that the password is correct, the first password processing circuit outputs a second enable signal EN2, which is fed back to the input end of the I2C module, so that the second register module and the third register module inside the I2C module can read and write normally; when the first password processing circuit verifies that the password is wrong, the adjustment operation is terminated; the SDA_IN signal continues to be written into the second register module; When the second password processing circuit verifies that the password is correct, the second password processing circuit outputs the trimming control signal EN_PROG, the trimming command is written into the third register module, and the signal TRIM_IN is output; different SDA signals can write different combinations of trimming commands, thereby outputting different TRIM_IN signals, thereby realizing the reuse function; when the second password processing circuit verifies that the password is incorrect, the trimming operation is terminated.

8. The adjustment method according to claim 7, characterized in that: The preprocessing circuit includes a delay circuit and a boost circuit; The delay circuit is used to generate a slowly rising output voltage after power-on, and the output voltage rises to a power supply voltage through a boost circuit after reaching a certain value, and outputs a first enable signal EN1 to the I2C module; The delay circuit comprises a first P-type channel MOS field effect transistor MP1 and a second P-type channel MOS field effect transistor MP2 connected in series, the source of the first P-type channel MOS field effect transistor MP1 is connected to the power supply voltage VDD, the gate of the first P-type channel MOS field effect transistor MP1 is connected to the source of the second P-type channel MOS field effect transistor MP2, the gate of the second P-type channel MOS field effect transistor MP2 is connected to the ground through a first resistor R1, the second resistor R2 and the second capacitor C2 are connected in parallel, and are connected between the drain of the second P-type channel MOS field effect transistor MP2 and the ground, and the drain of the second P-type channel MOS field effect transistor MP2 is the output end of the delay circuit; the first resistor R1 and the first capacitor C1 form an electrostatic protection circuit, and the second resistor R2 and the second capacitor C2 form a delay module; The boost circuit comprises a third P-type channel MOS field effect transistor MP3, a first N-type channel MOS field effect transistor MN1 and a second N-type channel MOS field effect transistor MN2 connected in series; The gates of the third P-type channel MOS field effect transistor MP3, the first N-type channel MOS field effect transistor MN1, and the second N-type channel MOS field effect transistor MN2 are connected to serve as the input of the boost circuit; The source of the third P-type channel MOS field effect transistor MP3 is connected to the power supply voltage VDD, the source of the second N-type channel MOS field effect transistor MN2 is connected to the ground, and the two ends of the third capacitor C3 are respectively connected to the source and drain of the third P-type channel MOS field effect transistor MP3; The gate of the fourth P-type channel MOS field effect transistor MP4 is connected to the ground through the fourth resistor R4, the source of the fourth P-type channel MOS field effect transistor MP4 is connected to the power supply VDD, and the two ends of the fourth capacitor C4 are respectively connected to the gate and the drain of the fourth P-type channel MOS field effect transistor MP4; The gate of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the third P-type channel MOS field effect transistor MP3, the source of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the second N-type channel MOS field effect transistor MN2, and the drain of the third N-type channel MOS field effect transistor MN3 is connected to the drain of the fourth P-type channel MOS field effect transistor MP4; The input of the inverter INV is connected to the gate of the third N-channel MOS field effect transistor MN3, and the output of the inverter is the output of the preprocessing circuit; The boost circuit includes at least two inverters, each inverter is connected in series or / and in parallel; in normal operation, the fourth P-channel MOS field effect transistor MP4 is located in the linear region, the third N-channel MOS field effect transistor MN3 is located in the cut-off region, and the fourth resistor R4 and the fourth capacitor C4 form a protection circuit.

9. The adjustment method according to claim 7, characterized in that: The first cryptographic processing circuit includes a first adjustment circuit, a second adjustment circuit and a third adjustment circuit; or / and the second cryptographic processing circuit includes a first adjustment circuit, a second adjustment circuit and a third adjustment circuit; The first adjustment circuit includes inverters of set quantity and position; The second adjustment circuit includes three three-input NOR gates and one three-input NAND gate, the input of the NOR gate is connected to the output of the inverter group in the first adjustment circuit, the output of the NOR gate is connected to the input of the NAND gate, and the output of the NAND gate is connected to the input of the third adjustment circuit; The second adjustment circuit is used to select different numbers of two-input, three-input or four-input NOR gates and NAND gates according to actual conditions; The third adjustment circuit is formed by connecting different numbers of inverters in series or in parallel according to actual conditions.

Citation Information

Patent Citations

  • Design and compensation voltage generation and adjustment method of temperature compensation crystal oscillator

    CN106059497A

  • Integrated-circuit self-destructing circuit based on fuse trimming technology and method thereof

    CN106960822A

  • Digital-analog hybrid circuit, SoC chip and analog circuit trimming method

    CN108023585A

  • Reusable programming trimming circuit

    CN216904866U

  • Reference buffer with wide trim range

    EP2940862A1