Trimming detection circuit and electronic equipment
By introducing counters and latches into the calibration circuit, the control switch module is disconnected after reading the output signal of the detection module, solving the problem of large power consumption of the calibration circuit in the prior art, realizing low-power adjustment Detection circuit, suitable for integrated circuit systems in the field of precision measurement.
Patent Information
- Application Number
- CN202323603732.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2033-12-27
AI Technical Summary
In the prior art, the power consumption of calibration circuits is large, which affects the efficiency of integrated circuit systems. Especially when the precision measurement field requires high accuracy, it is necessary to reduce the energy consumption of the circuit.
A debugging and detection circuit is designed, including a detection module, a switch module, a counter, a clock generator and a latch. The switch module is controlled to be disconnected after reading the output signal of the detection module, and the latch latch detection module. state, so that the current is no longer consumed after the reading is completed, reducing the power consumption of the entire circuit.
It realizes that only consumes current when reading the output signal of the detection module and disconnects the current source after reading, which significantly reduces the power consumption of the circuit and is suitable for integrated circuit systems with low power consumption designs.
Smart Images

Figure CN221978908U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of integrated circuit technology, and more specifically, to a trimming and detection circuit and electronic device. Background Technology
[0002] Due to random mismatches during the manufacturing process, integrated circuits inevitably produce products with some error compared to the ideal values. In some fields where high precision is not required, as long as the function is achieved, it is sufficient. However, in precision measurement fields, error calibration is necessary to minimize the impact of the integrated circuit on the entire system.
[0003] In existing technologies, calibration circuits are generally implemented using poly fuses, which are compatible with the manufacturing process and do not increase costs. The fuse is either blown or de-blown as needed, and its status is read to adjust the circuit matching accordingly.
[0004] However, existing calibration circuits generally suffer from high power consumption. Utility Model Content
[0005] The purpose of this application is to provide a calibration and detection circuit and electronic equipment to solve the problem of high power consumption in existing calibration circuits.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:
[0007] On one hand, embodiments of this application provide an adjustment detection circuit, which includes a detection module, a switch module, a counter, a clock generator, and a latch. The detection module is electrically connected to the switch module, the switch module is also electrically connected to the counter, the counter is electrically connected to the clock generator, the output terminal of the detection module is electrically connected to the latch, and the counter is also electrically connected to the latch; wherein,
[0008] The counter is used to count the clock generator;
[0009] The counter is also used to control the switch module to disconnect when the counting is completed, and to output a latch signal to the latch.
[0010] The latch is used to latch the output state of the detection module according to the latch signal.
[0011] Optionally, the detection module includes an inverter, a current source, and a detection element. The detection element, the switching module, and the current source are connected in series between the power supply and ground. The detection element is also electrically connected to the input terminal of the inverter, and the output terminal of the inverter is electrically connected to the latch.
[0012] Optionally, the detection element includes a fuse.
[0013] Optionally, the inverter is also connected to a power supply, and the power supply powers the inverter.
[0014] Optionally, the switching module includes a MOSFET or a transistor.
[0015] Optionally, when the switching module is an N-type transistor, the base of the transistor is electrically connected to the counter, the collector of the transistor is electrically connected to the detection element and the inverter, and the emitter of the transistor is electrically connected to the current source.
[0016] Optionally, the detection module includes a follower, a current source, and a detection element. The detection element, the switching module, and the current source are connected in series between the power supply and ground. The detection element is also electrically connected to the input terminal of the follower, and the output terminal of the follower is electrically connected to the latch.
[0017] Optionally, the clock generator includes an oscillator.
[0018] Optionally, the counter includes a D flip-flop.
[0019] On the other hand, embodiments of this application also provide an electronic device, which includes the above-described adjustment and detection circuit.
[0020] Compared with the prior art, this application has the following advantages:
[0021] This application provides a trimming detection circuit and electronic device. The trimming detection circuit includes a detection module, a switch module, a counter, a clock generator, and a latch. The detection module is electrically connected to the switch module, which is also electrically connected to the counter. The counter is electrically connected to the clock generator, and the output terminal of the detection module is electrically connected to the latch. The counter is also electrically connected to the latch. The counter is used to count the clock generator. Upon completion of the counting, the counter controls the switch module to open and stops the clock generator, while simultaneously outputting a latch signal to the latch. The latch is used to latch the output state of the detection module based on the latch signal. The trimming detection circuit provided in this application adds a switch module, a counter, a clock generator, and a latch. Current is only consumed when reading the output signal of the detection module. After reading is completed, the switch module opens, thus preventing the detection module from consuming current and reducing the overall power consumption of the circuit.
[0022] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0023] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a circuit diagram of an LDO in the prior art.
[0025] Figure 2 This is a circuit diagram of a calibration and detection circuit in the prior art.
[0026] Figure 3 This is a circuit diagram of the adjustment and detection circuit provided in an embodiment of this application.
[0027] Figure 4 Another circuit diagram of the adjustment detection circuit provided in the embodiments of this application.
[0028] In the picture:
[0029] 111-Fuse; 112-Current source; 113-Inverter; 114-Follower; 120-Switch module; 130-Counter; 140-Clock generator; 150-Latch. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0031] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0032] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0033] It should be noted that in this paper, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0034] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0035] As described in the background section, currently, integrated circuits need to be calibrated after production.
[0036] by Figure 1 The LDO circuit (linear regulator circuit) described above is used as an example for explanation. This circuit includes an error amplifier 10, a reference source 20, a power transistor 30, and feedback resistors R1 and R2. The reference source provides a reference voltage to the inverting input terminal of the error amplifier 10. The feedback resistors R1 and R2 form a voltage divider circuit to sample the output voltage Vout and transmit the sampled voltage to the non-inverting input terminal of the error amplifier. The output terminal of the error amplifier is connected to the gate of the power transistor.
[0037] In practical applications, the error amplifier 10 outputs a differential signal based on the reference voltage signal and the feedback signal, thereby adjusting the conduction state of the power transistor 30 to regulate the output voltage Vout. Theoretically, in equilibrium, the voltage at the non-inverting input of the error amplifier is equal to the voltage at the inverting input. Therefore, Vout = (R2 + R1) / R1 * Vref. For each LDO chip, if Vref remains consistent, the values of R2 and R1 will differ, leading to differences in the output voltage Vout between different LDO chips. Furthermore, Vref will also deviate differently depending on the chip corner (process corner) and the misalignment of its own circuit architecture. This further results in different output voltages Vout for different integrated circuits.
[0038] Based on this, after the integrated circuit is fabricated, it needs to be adjusted, that is, the values of resistors R1 and R2 and the reference voltage Vref are adjusted to minimize the difference in Vout. Of course, the above circuit is only for illustration. In actual applications, other integrated circuits may be used, and adjustments may be made to them. This is not limited here.
[0039] Currently, integrated circuit trimming and testing are generally achieved through fuses, and fabs provide fuse IPs. These IPs are fully functional, typically offering read, write, and pre-trimming capabilities, but they tend to have a large bit depth, usually 64 or 128 bits, and do not support customization. This results in wasted space when a large bit depth is not required. Designing a custom fuse circuit with read / write capabilities is also quite complex.
[0040] Conventional fuse circuits for those without adjustment functions, such as Figure 2 As shown, the circuit includes a fuse, a current source, and an inverter. One end of the fuse is connected to the power supply VDD, and the other end is electrically connected to the input terminal of the inverter and one end of the current source. The other end of the current source is grounded. When the circuit is working, the power supply VDD also supplies power to the inverter, and the output terminal of the inverter outputs the signal Fuse_out. The inverter operates on the principle that when the input voltage is low, the output voltage is high; when the input voltage is high, the output voltage is low. Specifically, when the input terminal of the inverter is 0 to VIL, the output is VDD; when the input terminal is VIH to VDD, the output is '0'; and when the input terminal is between VIL and VIH, the output is between 0 and VDD.
[0041] according to Figure 2 As shown in the circuit diagram, after the circuit is powered on, if the fuse has not blown, the voltage V1 is '1' and fuse_out is '0'; if the fuse has blown, the voltage V1 is '0' and fuse_out is '1'. Subsequent circuitry will be configured based on the state of fuse_out. Therefore, by detecting the signal at the fuse_out output terminal, it can be determined whether the fuse has blown, thus enabling the detection of whether the integrated circuit needs adjustment. For example, when the fuse has blown, it indicates that the integrated circuit needs adjustment; while when the fuse has not blown, it indicates that no adjustment is needed. Figure 2 As can be seen from the circuit diagram, the circuit structure is relatively simple, but it continuously consumes current, which is detrimental to the low-power design of the chip. That is... Figure 2 In this circuit, because the fuse is connected in series with the current source between the power supply and ground, it will continuously consume power.
[0042] In view of this, in order to solve the above problems, this application provides a trimming detection circuit, which, by adding devices such as latches, disconnects the current source after reading the fuse state, thereby reducing the power consumption of the entire circuit.
[0043] The following is an exemplary description of the adjustment and detection circuit provided in this application:
[0044] As an optional implementation, please refer to Figure 3 The adjustment and detection circuit includes a detection module, a switch module 120, a counter 130, a clock generator 140, and a latch 150. The detection module is electrically connected to the switch module 120, which is also electrically connected to the counter 130. The counter 130 is electrically connected to the clock generator 140. The output terminal of the detection module is electrically connected to the latch 150, and the counter 130 is also electrically connected to the latch 150. The counter 130 is used to count the clock generator 140. The counter 130 is also used to control the switch module 120 to disconnect after counting is completed and output a latch signal to the latch 150. The latch 150 is used to latch the output state of the detection module according to the latch signal.
[0045] Because this application adds a switch module 120, a counter 130, a clock generator 140, and a latch 150 to the detection module, the latch 150 can latch the output state of the detection module after counting is completed, and simultaneously disconnect the switch module 120, so that the detection module no longer consumes power. It is understandable that the adjustment circuit provided in this application only consumes current during the reading process, and does not consume current when the chip is working normally, thus significantly reducing power consumption.
[0046] The clock generator 140 generates a clock signal and sends the clock signal to the counter 130. In one implementation, the clock generator 140 may be an oscillator that generates the clock signal.
[0047] After receiving the clock signal, the counter 130 can control the adjustment and detection circuit based on the clock signal. The counter 130 can count the clock generator 140 and control the switch module 120 to turn off after the count is completed. At the same time, after the count is completed, the counter 130 will also control the clock generator 140 (i.e., the oscillator) to stop working, so that the clock generator 140 does not need to continue to consume current.
[0048] As one implementation method, the counter 130 can use D flip-flops. For example, multiple D flip-flops can be cascaded together to achieve counting.
[0049] In this application, counter 130 can count the clock cycles generated by clock generator 140. After counting is complete, control switch module 120 is turned off, and a latch signal is sent to latch 150, causing latch 150 to latch the output state of the detection module. Understandably, counter 130 can count clock cycles, and counter 130 counts once after each clock cycle. For example, when set to 32, when counter 130 counts to 32, control switch module 120 is turned off, and latch 150 receives an enable signal (i.e., the latch signal sent by counter 130) to latch the output state of the detection module.
[0050] The latch 150 is a logic element with memory function. It can temporarily store signals to maintain a certain level state. In digital circuits, it can record binary digital signals "0" and "1". That is, when the detection module outputs a high-level signal, the latch 150 can latch the signal, so that the latch 150 maintains the state of locking the high-level signal. Before "unlocking", even if the detection module outputs a low-level signal, when reading data from the latch 150, it will still read a high-level signal.
[0051] The adjustment and detection circuit provided in this application can realize the reading and latching of the programming and loading of fuse 111. After reading and latching the state of fuse 111, no more current is consumed, thus achieving the low power consumption effect of the entire circuit.
[0052] In one implementation, the detection module includes an inverter 113, a current source 112, and a detection element. The detection element, the switch module 120, and the current source 112 are connected in series between the power supply and ground. The detection element is also electrically connected to the input terminal of the inverter 113, and the output terminal of the inverter 113 is electrically connected to the latch 150.
[0053] Understandably, the detection element provided in this application can be fuse 111, and fuse 111 can be used for integrated circuit adjustment and detection. Furthermore, fuse 111 is equivalent to a resistor. Before it blows, fuse 111 is a small resistor with a resistance of several Ω to tens of Ω. After it blows, its resistance increases to tens of KΩ to several MΩ, becoming a large resistor, according to Ohm's law V = I*R. Therefore, before it blows, the input terminal of inverter 113 is high-level, and the output terminal is low-level; while after it blows, the input terminal of inverter 113 is low-level, and the output terminal is high-level. Simultaneously, inverter 113 is also connected to a power supply, and the power supply powers inverter 113.
[0054] In one implementation, the switching module 120 includes a switching transistor, a counter 130, and a current source 112. For example, the switching module 120 can be a MOSFET or a transistor. When the switching module 120 is an N-type transistor, the counter 130 is electrically connected to the base of the transistor, the collector of the transistor is electrically connected to the fuse 111 and the inverter 113, and the emitter of the transistor is electrically connected to the current source 112 and the fuse 111.
[0055] Combination Figure 3 The working principle of the adjustment and detection circuit provided in this application is as follows:
[0056] When the circuit switch is adjusted and tested, that is, when the state of fuse 111 is detected, the switch module 120 is closed. At this time, fuse 111 and the power module are connected in series between the power supply and ground. When fuse 111 blows, the output terminal of inverter 113 outputs a high level. When fuse 111 does not blow, the output terminal of inverter 113 outputs a low level.
[0057] Once the counter 130 completes its operation, the control switch module 120 is turned off, and the latch 150 latches the signal at the output of the inverter 113, thus completing the status detection of the fuse 111. After the control switch module 120 is turned off, the connection between the current source 112 and the fuse 111 is broken, thereby eliminating current consumption and reducing power consumption.
[0058] In the adjustment detection circuit provided in this application, current is consumed only when the state of the output terminal of the inverter 113 is detected. After latching is completed and the counter 130 controls the switch module 120 to be turned off, no current is consumed. Therefore, the adjustment detection circuit provided in this application significantly reduces power consumption compared with the circuit of the prior art.
[0059] In addition, for another implementation, please refer to Figure 4 The inverter 113 can also be replaced by a follower 114. That is, the detection module includes a follower 114, a current source 112 and a detection element. The detection element, the switch module 120 and the current source 112 are connected in series between the power supply and ground. The detection element is also electrically connected to the input terminal of the follower 114 and the output terminal of the follower 114 is electrically connected to the latch 150.
[0060] from Figure 4It can be seen that the follower 114 can be composed of two inverters 113, and the output signal Fuse_out of the follower 114 is the same as the input signal V1. Similarly, when the counter 130 finishes counting, the control switch module 120 is turned off and controls the clock generator 140 to stop working, while sending a latch signal to the latch 150 so that the latch 150 latches the signal at the output of the follower 114. Therefore, after the control switch module 120 is turned off, the connection between the current source 112 and the fuse 111 is broken, thus no longer consuming current and reducing power consumption.
[0061] Based on the above implementation, this application also provides an electronic device, which includes the above-described adjustment and detection circuit.
[0062] In summary, this application provides an adjustment detection circuit and electronic device. The adjustment detection circuit includes a detection module, a switch module, a counter, a clock generator, and a latch. The detection module is electrically connected to the switch module, the switch module is also electrically connected to the counter, the counter is electrically connected to the clock generator, the output terminal of the detection module is electrically connected to the latch, and the counter is also electrically connected to the latch. The counter is used to count the clock generator; it also controls the switch module to open and the clock generator to stop working upon completion of the count, while simultaneously outputting a latch signal to the latch. The latch is used to latch the output state of the detection module based on the latch signal. The adjustment detection circuit provided in this application adds a switch module, a counter, a clock generator, and a latch, consuming current only when reading the output signal of the detection module. After reading is completed, the switch module opens, thus preventing the detection module from consuming current and reducing the overall power consumption of the circuit.
[0063] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
[0064] It will be apparent to those skilled in the art that this application is not limited to the details of the exemplary embodiments described above, and that this application can be implemented in other specific forms without departing from the spirit or essential characteristics of this application. Therefore, the embodiments should be considered illustrative and non-limiting in all respects, and the scope of this application is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within this application. No reference numerals in the claims should be construed as limiting the scope of the claims.
Claims
1. A trimming detection circuit, characterized in that: The trimming detection circuit includes a detection module, a switch module, a counter, a clock generator and a latch, wherein the detection module is electrically connected to the switch module, the switch module is also electrically connected to the counter, the counter is electrically connected to the clock generator, the output end of the detection module is electrically connected to the latch, and the counter is also electrically connected to the latch; wherein, The counter is used to count the clock generator; The counter is also used to control the switch module to be disconnected after counting is completed, and output a latch signal to the latch; The latch is used to latch the output state of the detection module according to the latch signal.
2. The trimming detection circuit according to claim 1, characterized in that: The detection module includes an inverter, a current source and a detection element. The detection element, the switch module and the current source are connected in series between a power supply and a ground. The detection element is also electrically connected to an input end of the inverter. An output end of the inverter is electrically connected to the latch.
3. The trimming detection circuit according to claim 2, characterized in that: The detection element includes a fuse.
4. The trimming detection circuit according to claim 2, characterized in that: The inverter is also connected to a power source, and the inverter is powered by the power source.
5. The trimming detection circuit according to claim 2, characterized in that: The switch module includes a MOS tube or a triode.
6. The trimming detection circuit according to claim 5, characterized in that: When the switch module is an N-type transistor, the base of the transistor is electrically connected to the counter, the collector of the transistor is electrically connected to the detection element and the inverter respectively, and the emitter of the transistor is electrically connected to the current source.
7. The trimming detection circuit according to claim 1, characterized in that: The detection module includes a follower, a current source and a detection element. The detection element, the switch module and the current source are connected in series between a power supply and a ground. The detection element is also electrically connected to the input end of the follower. The output end of the follower is electrically connected to the latch.
8. The trimming detection circuit according to claim 1, characterized in that: The clock generator includes an oscillator.
9. The trimming detection circuit according to claim 1, characterized in that: The counter includes a D flip-flop.
10. An electronic device, characterized in that: The electronic device comprises the trimming detection circuit as claimed in any one of claims 1 to 9.
