Trimming circuit, chip and related equipment
By using a combination of a voltage dividing unit and a comparison unit in the trimming circuit, the voltage input of the switching unit is reduced, avoiding the use of high-voltage breakdown devices, solving the problems of large device area and high cost during high-voltage signal trimming, and achieving Circuit area and cost savings.
Patent Information
- Application Number
- CN202310335368.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-15
AI Technical Summary
Existing trimming circuits need to use switching devices that can withstand high-voltage breakdown when trimming high-voltage signals, resulting in large device area and high cost.
By connecting the switching unit to the voltage dividing unit, and using the comparison result of the comparison unit to feed back to the trimming signal generation module, the trimming signal is adjusted and the voltage connected to the switching unit is reduced, thereby avoiding the use of switching devices that withstand high-voltage breakdown. , using ordinary devices.
It saves circuit area and cost, avoids the problem of increasing high-voltage switching devices, and at the same time achieves effective modification of high-voltage signals.
Smart Images

Figure CN118778762A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to a trimming circuit, a chip and related equipment. Background Art
[0002] At present, some electronic systems usually involve trimming circuits, especially for some chips with high performance and parameter requirements. In the process of mass integrated circuit production and testing, the accuracy of many physical parameters is difficult to control, and there are some errors between the design value and the actual value. Therefore, it is necessary to trim the physical parameters with errors, and a trimming circuit is needed to achieve this.
[0003] However, if the existing trimming circuit is to trim a high voltage signal, a switch device with high voltage breakdown resistance needs to be used. The switch device with high voltage breakdown resistance has a large device area and a high cost. Summary of the invention
[0004] The embodiments of the present application provide a trimming circuit, chip and related equipment. When trimming a high-voltage signal, there is no need to use a switching device that is resistant to high-voltage breakdown. Ordinary devices can be used, saving circuit area without increasing circuit costs.
[0005] According to a first aspect of an embodiment of the present application, a trimming circuit is provided, comprising:
[0006] A voltage dividing unit, comprising a trimming signal input terminal and a voltage output node, wherein the trimming signal input terminal is used to be electrically connected to a trimming signal generating module to receive a trimming signal generated by the trimming signal generating module, and the voltage dividing unit is used to divide the trimming signal and output the divided voltage signal from the voltage output node;
[0007] a switch unit, electrically connected to the voltage output node, and configured to adjust the divided voltage by adjusting the voltage dividing unit;
[0008] A comparison unit, wherein an input end of the comparison unit is electrically connected to the voltage output node, and a comparison signal output end of the comparison unit is used to access the adjustment signal generation module.
[0009] In some embodiments, the voltage division unit includes a first voltage division module and a voltage division adjustment module;
[0010] The first voltage dividing module is electrically connected to the trimming signal input terminal;
[0011] One end of the voltage division regulating module is connected in series with the first voltage division module, and the other end is electrically connected to the voltage output node, and the voltage division regulating module includes at least one voltage division component;
[0012] The switch unit includes at least one switch device, and the switch device is connected in parallel with the corresponding voltage dividing component.
[0013] In some embodiments, the voltage division unit further includes a second voltage division module, one end of the second voltage division module is electrically connected to the voltage division adjustment module, and the other end of the second voltage division module is electrically connected to the voltage output node.
[0014] In some embodiments, the comparison unit includes a first input terminal and a second input terminal, the first input terminal is electrically connected to the voltage output node, and the second input terminal is used to access a reference signal.
[0015] In some embodiments, the comparison unit is used to compare the magnitude of the voltage-divided signal with that of the reference signal, and when the voltage-divided signal is not equal to the reference signal, the comparison signal output terminal outputs a first comparison signal, and the first comparison signal is used to control the trimming signal generation module to adjust the value of the trimming signal.
[0016] In some implementations, a switch state combination of at least one of the switch devices is determined by a target trimming signal, wherein the target trimming signal is the trimming signal corresponding to a case where the voltage-divided signal is equal to the reference signal.
[0017] In some embodiments, the voltage divider unit further includes a third voltage divider module, which is connected in series with the second voltage divider module, one end of the third voltage divider module is electrically connected to the voltage output node, and the other end of the third voltage divider module is used to access a fixed signal.
[0018] In some embodiments, all of the voltage dividing components are connected in series.
[0019] In some embodiments, the switching device is turned on to short-circuit the corresponding voltage-dividing components connected in parallel.
[0020] In some embodiments, the switch unit includes a first switch device, a second switch device, and a third switch device, and the voltage division adjustment module includes a first voltage division component, a second voltage division component, and a third voltage division component;
[0021] The first voltage dividing component is connected in parallel with the first switching device;
[0022] The first voltage dividing component and the second voltage dividing component are connected in series and then connected in parallel with the second switch device;
[0023] The first voltage-dividing component, the second voltage-dividing component and the third voltage-dividing component are connected in series and then in parallel with the third switch device;
[0024] The first voltage dividing component, the first switch device, the second switch device and the third switch device are all electrically connected to the first voltage dividing module.
[0025] In some embodiments, the trim signal generated by the trim signal generating module includes a trim voltage, and the fixed signal includes a fixed voltage;
[0026] The voltage division coefficient of the first voltage division module is the adjusted voltage difference minus the breakdown voltage of the switch device divided by the adjusted voltage, wherein the adjusted voltage difference is the absolute value of the difference between the adjusted voltage and the fixed voltage;
[0027] and / or,
[0028] The trimming signal generated by the trimming signal generating module includes a trimming voltage, the fixed signal includes a fixed voltage, and the reference signal includes a reference voltage;
[0029] When the trimming voltage is a positive voltage, the target trimming voltage is the reference voltage multiplied by the total resistance of the trimming circuit divided by the resistance of the third voltage divider module; and / or,
[0030] In the case where the trimming voltage is a negative voltage, the target trimming voltage is the total resistance of the first voltage divider module, the voltage divider adjustment module and the second voltage divider module multiplied by the fixed voltage and -1 divided by the resistance of the third voltage divider module;
[0031] The target trimming signal is the trimming signal corresponding to the case where the voltage-divided signal is equal to the reference signal.
[0032] In some embodiments, the first voltage divider module includes at least one fixed resistor and / or at least one adjustable resistor; and / or,
[0033] The second voltage dividing module includes at least one fixed resistor and / or at least one adjustable resistor; and / or,
[0034] The third voltage dividing module includes at least one fixed resistor and / or at least one adjustable resistor; and / or,
[0035] The voltage dividing component includes at least one fixed resistor and / or at least one adjustable resistor; and / or,
[0036] In the case where the switch device includes a transistor and the fixed signal is a high level signal, the transistor is a P-type transistor;
[0037] In the case where the switch device includes a transistor and the fixed signal is a low-level signal, the transistor is an N-type transistor.
[0038] According to a second aspect of an embodiment of the present application, a chip is provided, including:
[0039] The trimming circuit as described in the first aspect;
[0040] A trimming signal generating module, electrically connected to a trimming signal input terminal of the trimming circuit;
[0041] The trimming control module is electrically connected to the switch device of the trimming circuit.
[0042] According to a third aspect of an embodiment of the present application, a module device is provided, including:
[0043] A communication module, used for internal communication within the module device, or for the module device to communicate with an external device;
[0044] A power module, used to provide electrical energy to the module device;
[0045] Storage module, used to store data and instructions;
[0046] A chip as described in the second aspect.
[0047] According to a fourth aspect of the embodiments of the present application, an electronic device is provided, including:
[0048] The chip as described in the second aspect, and / or the module device as described in the third aspect.
[0049] The trimming circuit provided in the embodiment of the present application, by setting a voltage-dividing unit, connects the switch unit to the voltage output node of the voltage-dividing unit, the switch state of the switch unit can control the voltage value output by the voltage output node, and the comparison result of the comparison unit is fed back to the trimming signal generation module to play the role of adjusting the trimming signal. Under the action of the voltage-dividing unit, the voltage connected to the switch unit can be reduced, so the switch unit does not need to use a switch device that withstands high voltage breakdown, and the switch unit can use an ordinary device, which can avoid the problem of increasing circuit area and cost caused by using a switch device that withstands high voltage. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 A schematic structural block diagram of a trimming circuit provided in an embodiment of the present application;
[0051] Figure 2 A schematic structural block diagram of another trimming circuit provided in an embodiment of the present application;
[0052] Figure 3 A schematic structural block diagram of another trimming circuit provided in an embodiment of the present application;
[0053] Figure 4 A schematic structural diagram of a trimming circuit provided in an embodiment of the present application;
[0054] Figure 5 A schematic structural diagram of another trimming circuit provided in an embodiment of the present application;
[0055] Figure 6 A schematic circuit diagram of a trimming circuit provided in an embodiment of the present application;
[0056] Figure 7 A schematic circuit diagram of another trimming circuit provided in an embodiment of the present application;
[0057] Figure 8 A schematic structural block diagram of a chip provided in an embodiment of the present application;
[0058] Fig. 9 A schematic structural block diagram of a module device provided in an embodiment of the present application;
[0059] Fig.10 A schematic structural block diagram of an electronic device provided in an embodiment of the present application;
[0060] Fig.11 A schematic structural block diagram of another electronic device provided for an embodiment of the application;
[0061] Fig.12 A schematic structural block diagram of another electronic device provided for an embodiment of the application. DETAILED DESCRIPTION
[0062] In order to better understand the technical solutions provided by the embodiments of this specification, the technical solutions of the embodiments of this specification are described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of this specification and the specific features in the embodiments are detailed descriptions of the technical solutions of the embodiments of this specification, rather than limitations on the technical solutions of this specification. In the absence of conflict, the embodiments of this specification and the technical features in the embodiments can be combined with each other.
[0063] In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements limited by the statement "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. The term "more than two" includes two or more than two situations.
[0064] At present, trimming circuits are usually involved in some electronic systems, especially for chips with high performance and parameter requirements. In the process of mass production and testing of integrated circuits, the accuracy of many physical parameters is difficult to control, and there are some errors between the design value and the actual value. Therefore, it is necessary to trim the physical parameters with errors, and it is necessary to use a trimming circuit to achieve this. However, if the existing trimming circuit trims a high-voltage signal, it is necessary to use a switch device that is resistant to high-voltage breakdown. The device area of the switch device that is resistant to high-voltage breakdown is large and the cost is high.
[0065] In view of this, the embodiments of the present application provide a trimming circuit, chip and related equipment. When trimming high-voltage signals, there is no need to use switching devices that are resistant to high-voltage breakdown. Ordinary devices can be used, saving circuit area without increasing circuit costs.
[0066] In a first aspect of an embodiment of the present application, a trimming circuit is provided. Figure 1 This is a schematic structural block diagram of a trimming circuit provided in an embodiment of the present application. Figure 1As shown, the trimming circuit provided by the embodiment of the present application includes: a voltage dividing unit 102, a switch unit 103 and a comparison unit 400. The voltage dividing unit 102 includes a trimming signal input terminal 100 and a voltage output node e. The trimming signal input terminal 100 is used to electrically connect to the trimming signal generating module 101 to receive the trimming signal generated by the trimming signal generating module 101. The voltage dividing unit 102 is used to divide the trimming signal and output the divided voltage signal from the voltage output node e. The switch unit 103 is electrically connected to the voltage output node e and is used to adjust the divided voltage by adjusting the voltage dividing unit 102. The input terminal of the comparison unit 400 is electrically connected to the voltage output node e, and the comparison signal output terminal 410 of the comparison unit 400 is used to access the trimming signal generating module 101. The trimming signal generating module 101 can adjust the size of the trimming signal based on the comparison signal, and then transmit the trimming signal after the adjustment to the trimming signal input terminal 100 until the output comparison signal corresponds to the size of the trimming signal that does not need to be adjusted.
[0067] It should be noted that the trimming circuit usually adjusts the signal by controlling the switch state. However, if the existing trimming circuit adjusts a high-voltage signal, it is necessary to use a switching device that can withstand high-voltage breakdown. The switching device that can withstand high-voltage breakdown has a large device area and a high cost.
[0068] In view of the above problems, the trimming circuit provided in the embodiment of the present application, by setting the voltage dividing unit 102, the switch unit 103 is connected to the voltage output node e of the voltage dividing unit 102, and the switch state of the switch unit 103 can control the voltage value output by the voltage output node e, and the comparison result of the comparison unit 400 is fed back to the trimming signal generation module 101 to play the role of adjusting the trimming signal. Under the action of the voltage dividing unit 102, the voltage connected to the switch unit 103 can be reduced, so the switch unit 103 does not need to use a switch device that withstands high voltage breakdown, and the switch unit 103 can use an ordinary device, which can avoid the problem of increasing circuit area and cost caused by using a switch device that withstands high voltage.
[0069] In some embodiments, Figure 2 This is a schematic structural block diagram of another trimming circuit provided in an embodiment of the present application. Figure 2 As shown, the voltage divider unit 102 includes a first voltage divider module 200 and a voltage divider adjustment module 300; the first voltage divider module 200 is electrically connected to the adjustment signal input terminal 100; one end of the voltage divider adjustment module 300 is connected in series with the first voltage divider module 200, and the other end is electrically connected to the voltage output node e, and the voltage divider adjustment module 300 includes at least one voltage divider component 320; the switch unit 103 includes at least one switch device 310, and the switch device 310 is connected in parallel with the corresponding voltage divider component 320.
[0070] It should be noted that, since the trimming signal generating module 101 does not belong to the trimming circuit, the trimming signal generating module and the signal flow corresponding thereto are indicated by dotted lines.
[0071] Exemplarily, the actual control is achieved by turning on and off the switch according to the adjustment signal to control the number of resistor dividers actually connected. The opening of the switch will short-circuit the corresponding resistor to achieve control over whether the resistor is connected. In this way, if the adjusted voltage is high voltage, the switch tube needs to use a high-voltage resistant switch that matches the power domain, so that the high-voltage resistant switch will not be broken down and fail during high-voltage signal transmission. However, a switch that withstands high-voltage breakdown requires a large area or an additional manufacturing process. Generally, the breakdown voltage of an ordinary switch device is 1.8V. The area of a switch device with a breakdown voltage greater than 1.8V is large, and an additional manufacturing process is required, which is costly.
[0072] The trimming circuit provided in the embodiment of the present application is configured with a first voltage divider module 200 between the voltage divider adjustment module 300 and the trimming signal input terminal 100. When the trimming signal received by the trimming signal input terminal 100 is a high-level signal, the voltage dividing effect of the first voltage divider module 200 can reduce the voltage of the switch device 310 connected to the voltage divider adjustment module 300. Therefore, the switch device 310 does not need to use a switch device that can withstand high-voltage breakdown. The switch device 310 can use an ordinary device, thereby avoiding the problem of increased circuit area and increased cost caused by the use of a switch device that can withstand high-voltage breakdown.
[0073] In some embodiments, the voltage divider unit 102 further includes a second voltage divider module, one end of the second voltage divider module is electrically connected to the voltage divider adjustment module 300, and the other end is electrically connected to the voltage output node e. The comparison unit 400 may include a first input terminal and a second input terminal, the first input terminal is electrically connected to the voltage output node e, and the second input terminal is used to access the reference signal. Since the value of the signal compared by the comparison unit 400 is usually not too large, the second voltage divider module can reduce the value of the voltage divider signal input to the comparison unit 400, so that more types of comparison units can be matched.
[0074] In some embodiments, the comparison unit 400 is used to compare the magnitude of the voltage-divided signal with a reference signal, and when the voltage-divided signal is not equal to the reference signal, the comparison signal output terminal 410 outputs a first comparison signal, and the first comparison signal is used to control the adjustment signal generation module 101 to adjust the value of the adjustment signal.
[0075] When the voltage-divided signal is equal to the reference signal, the comparison signal output terminal 410 outputs a second comparison signal, and the second comparison signal can be used to control the trimming signal generation module 101 to keep the value of the trimming signal unchanged.
[0076] In an embodiment, the switch state combination of at least one switch device 310 is determined by a target trimming signal, wherein the target trimming signal is a trimming signal corresponding to the case where the voltage divider signal is equal to the reference signal. The voltage divider unit 102 also includes a third voltage divider module, which is connected in series with the second voltage divider module, one end of the third voltage divider module is electrically connected to the voltage output node e, and the other end of the third voltage divider module is used to access a fixed signal. The opening of the switch device 310 is used to short-circuit the corresponding parallel voltage divider component 320. The third voltage divider module can also be used to keep the value of the voltage divider signal in a relatively small state.
[0077] For example, Figure 3 This is a schematic structural block diagram of another trimming circuit provided in an embodiment of the present application. Figure 3 As shown, the first voltage divider module 200, the voltage divider adjustment module 300, the second voltage divider module 500 and the third voltage divider module 600 are connected in series, and the connection point of the second voltage divider module 500 and the third voltage divider module 600 in series is the voltage output node e, and the voltage output node e is electrically connected to the first input terminal 420. The second input terminal 430 of the comparison unit 400 is connected to the reference signal Reference, and the other end of the third voltage divider module 600 is electrically connected to the fixed signal terminal 700, and the fixed signal terminal 700 is used to connect the fixed signal.
[0078] Exemplarily, the number of switch devices 310 can be multiple, and the more the number of switch devices 310, the higher the adjustment accuracy, and the combination of the switch states of the multiple switch devices 310 corresponds to different target adjustment signals. Exemplarily, the adjustment signal generation module 101 can generate a voltage signal. The value of the voltage signal generated by the adjustment signal generation module 101 is 5V. In the test scenario, 4.5V and 3V voltages need to be provided, and the target adjustment voltages are 4.5V and 3V respectively. According to the influence of the voltage division ratio on the voltage, the switch state of the corresponding switch device 310 can be designed to correspond to the combination of the voltage division component 320 connected to the adjustment circuit. 4.5V and 3V correspond to different combinations of switch states, and the first combination state and the second combination state of the multiple switch devices 310 are obtained respectively. The switch states of all switch devices 310 are set according to the first combination state, and the target adjustment voltage of 4.5V can be obtained under the adjustment of the adjustment circuit; the switch states of all switch devices 310 are set according to the second combination state, and the target adjustment voltage of 3V can be obtained under the adjustment of the adjustment circuit. It should be noted that the trimming signal generating module 101 will output an initial value in advance, such as 5V, and under the adjustment of the trimming circuit, the trimming signal generating module 101 will eventually output a target trimming signal. The trimming circuit may adjust the trimming signal output by the trimming signal generating module 101 for multiple consecutive adjustments, and the target trimming signal may be obtained after a period of time.
[0079] In some implementations, all voltage-dividing components 320 are connected in series to facilitate voltage-dividing adjustment.
[0080] In some embodiments, the switching device 310 is turned on to short-circuit the corresponding parallel voltage divider component 320. When the switching device 310 is turned on, the branch where the switching device 310 is located is turned on, and the voltage divider component 320 in parallel with the turned-on switching device 310 is short-circuited, which can reduce the resistance of the connected series circuit, thereby reducing the voltage division, and then increasing the value of the voltage division signal.
[0081] In some embodiments, the switch unit 103 includes a first switch device, a second switch device, and a third switch device, and the voltage divider adjustment module 300 includes a first voltage divider component, a second voltage divider component, and a third voltage divider component; the first voltage divider component is connected in parallel with the first switch device; the first voltage divider component and the second voltage divider component are connected in series and then connected in parallel with the second switch device; the first voltage divider component, the second voltage divider component, and the third voltage divider component are connected in series and then connected in parallel with the third switch device; the first voltage divider component, the first switch device, the second switch device, and the third switch device are all electrically connected to the first voltage divider module.
[0082] In some embodiments, the first voltage divider module 200 may include at least one fixed resistor and / or at least one adjustable resistor. The second voltage divider module 500 may include at least one fixed resistor and / or at least one adjustable resistor. The third voltage divider module 600 may include at least one fixed resistor and / or at least one adjustable resistor. The voltage divider component 320 may include at least one fixed resistor and / or at least one adjustable resistor. The adjustable resistor may play a role in adjusting the resistance value of the series resistor. The change in the resistance value of the series resistor may affect the voltage division, thereby affecting the size of the voltage division signal, and may be used to adjust the trimming signal. The switching device includes a transistor. When the switching device 310 includes a transistor and the fixed signal is a high-level signal, the transistor is a P-type transistor; when the switching device 310 includes a transistor and the fixed signal is a low-level signal, the transistor is an N-type transistor. It should be noted that the low-level signal may include a negative voltage signal.
[0083] For example, Figure 4 A schematic structural diagram of a trimming circuit provided in an embodiment of the present application. Figure 4, Rp0, Rp1, Rp2, Rp3, Rp4 and Rp5 as voltage divider resistors are connected in series, the trimming signal is a positive voltage signal High voltage VPP, the other end of the trimming circuit is grounded, one end of Rp5 is connected to Rp4, and the other end is grounded. Point e is between Rp4 and Rp5 as a feedback point and is led to the first comparator Compare_p, and the other input end of the first comparator inputs the first reference signal Reference_p. a is the potential point between Rp0 and Rp1, b is the potential point between Rp1 and Rp2, c is the potential point between Rp2 and Rp3, d is the potential point between Rp3 and Rp4, e is the potential point between Rp4 and Rp5, and the voltage at point e is equal to Reference_p, which is the trimming cutoff condition. For example, High voltage VPP = 5V; Reference_p = 1V; the switch tubes Mp0, Mp1 and Mp2 all need to use high voltage tubes that can withstand 5V breakdown; when the gates of Mp0, Mp1 and Mp2 are connected to the high potential High voltage VPP, Rp0, Rp1 and Rp2 are not short-circuited by Mp0, Mp1 and Mp2, and the voltage at point e is equal to Reference_p, the following equation can be obtained:
[0084] Rp5 / (Rp0+Rp1+Rp2+Rp3+Rp4+Rp5)×High voltage VPP=reference_p,
[0085] Then we can get:
[0086] High voltage VPP=reference_p×(Rp0+Rp1+Rp2+Rp3+Rp4+Rp5) / Rp5.
[0087] For example, Figure 5 This is a schematic structural diagram of another trimming circuit provided in an embodiment of the present application. Figure 5, Rn0, Rn1, Rn2, Rn3, Rn4 and Rn5 as voltage divider resistors are connected in series, fix voltage is a fixed reference voltage, negative voltage Vneg is a trimming signal, and the trimming signal is a negative voltage signal, wherein point e is between Rn4 and Rn5 as a feedback point and is led to the second comparator Compare_n, and the other input end of the second comparator inputs the second reference signal Reference_n, wherein fix voltage = 1V; negative voltage Vneg = -4V, Reference_n = 0V, the voltage difference between negative voltage Vneg and fix voltage is 5V, then Mn0, Mn1 and Mn2 need to use a 5V high-voltage tube; when the gates of Mn0, Mn1 and Mn2 are connected to a low potential, Rn0, Rn1 and Rn2 are not short-circuited by Mn0, Mn1, Mn2, and they are connected to the voltage divider resistor string, according to the voltage at point e being equal to compare_n, the following equation can be obtained:
[0088] (Rn0+Rn1+Rn2+Rn3+Rn4) / (Rn0+Rn1+Rn2+Rn3+Rn4+Rn5)×(fix voltage-Negative voltageVneg)+Negative voltageVneg=reference_n,
[0089] Then we can get:
[0090] Negative voltageVneg=-(Rn0+Rn1+Rn2+Rn3+Rn4)×fix voltage / Rn5.
[0091] refer to Figure 4 and Figure 5 If the voltage corresponding to High voltage VPP or (|Negative voltage|+fix_volateg) is higher, Mp2, Mp1, Mp0 or Mn2, Mn1, Mn0 need to use a high voltage tube with the same voltage as High voltage VPP or (|Negative voltage|+fix_volateg) to implement the circuit. The high voltage tube has a large area and is restricted by the process. Additional mask processes will be used, which will increase the cost.
[0092] In the trimming circuit provided by the embodiment of the present application, the trimming signal generated by the trimming signal generating module 101 may include a trimming voltage, and the fixed signal includes a fixed voltage; the voltage dividing coefficient of the first voltage dividing module 200 may be set to the trimming voltage difference minus the breakdown voltage of the switching device divided by the trimming voltage, wherein the trimming voltage difference is the absolute value of the difference between the trimming voltage and the fixed voltage. The trimming signal generated by the trimming signal generating module includes the trimming voltage, the fixed signal includes the fixed voltage, and the reference signal includes the reference voltage; when the trimming voltage is a positive voltage, the target trimming voltage is set to the reference voltage multiplied by the total resistance of the trimming circuit divided by the resistance of the third voltage dividing module. When the trimming voltage is a negative voltage, the target trimming voltage is set to the total resistance of the first voltage dividing module, the voltage dividing adjustment module, and the second voltage dividing module multiplied by the fixed voltage and -1 divided by the resistance of the third voltage dividing module.
[0093] For example, Figure 6 A schematic circuit diagram of a trimming circuit provided in an embodiment of the present application. Figure 6 As shown, the trimming voltage can be a positive voltage VPP=5V; the first reference voltage Reference_p=1V; the switch device 310 can be a P-type MOS tube, the first switch device, the second switch device and the third switch device are Mp0, Mp1 and Mp2 respectively, the first voltage divider component, the second voltage divider component and the third voltage divider component are Rp0, Rp1 and Rp2 respectively, the first voltage divider module 200 includes Rp3, the second voltage divider module 500 includes the first voltage divider module including Rp4, and the third voltage divider module 600 includes the first voltage divider module including Rp5. a1 is the potential point between Rp3 and Rp0, b1 is the potential point between Rp0 and Rp1, c1 is the potential point between Rp1 and Rp2, and d1 is the potential point between Rp2 and Rp4. The comparison unit 400 includes a first comparator compare_p, Rp3 is connected between the trimming signal input terminal 100 and the voltage division adjustment module 300, then due to the setting of Rp3, Mp0, Mp1 and Mp2 can use ordinary devices, for example, they can be transistors with a breakdown voltage of 1.8V. When Mp0, Mp1 and Mp2 are connected to a high level, Mp0, Mp1 and Mp2 are turned off, and Rp0, Rp1 and Rp2 are not short-circuited by Mp0, Mp1 and Mp2. The fixed signal terminal 700 is grounded, that is, the fixed voltage is connected to a 0V voltage, then the voltage division coefficient of Rp3 = (trimming voltage-fixed voltage)-breakdown voltage / (trimming voltage-fixed voltage) = ((5-0)-1.8) / (5-0) = 0.64;
[0094] Then Rp3=0.64×(Rp0+Rp1+Rp2+Rp3+Rp4+Rp5),
[0095] Then the potential of a1 is Va1 = (Rp0 + Rp1 + Rp2 + Rp4 + Rp5) / (Rp0 + Rp1 + Rp2 + Rp3 + Rp4 + Rp5) × VPP = 1.8V,
[0096] Then, according to the input voltage being equal to the first reference voltage compare_p, that is,
[0097] Rp5 / (Rp0+Rp1+Rp2+Rp3+Rp4+Rp5)×VPP=reference_p,
[0098] Then we can get:
[0099] VPP=reference_p×(Rp0+Rp1+Rp2+Rp3+Rp4+Rp5) / Rp5
[0100] Therefore, Mp0, Mp1, and Mp2 can use ordinary 1.8V devices without using devices with high breakdown voltage resistance and can achieve the same function.
[0101] It should be noted that if Figure 6 As shown, in order to ensure that the source and drain of the P-type MOS tube are not damaged by breakdown and the gate and source, it is necessary to ensure that the voltage difference between the source and drain is less than or equal to 1.8V, and the voltage difference between the gate and source is less than or equal to 1.8V. It is necessary to ensure that the voltage applied to the gate is between Va1 and the ground, that is, the gate voltage needs to be between 0 and 1.8V.
[0102] Exemplarily, when the target trimming signal is 4.5V, the switch state of the corresponding MOS tube is controlled and then the trimming signal input terminal 100 is connected to the trimming signal generating module 101. The initial trimming signal provided by the trimming signal generating module 101 is 5V. Then, the voltage Ve1 of the first voltage output node e1, that is, the voltage division signal of the first input terminal 420, Ve1>reference_p, and the comparison result output by the first comparator compare_p is 1. After receiving the signal with the comparison result of 1, the trimming signal generating module 101 will adjust the output trimming signal, for example, reduce the trimming signal, until Ve1=reference_p, and the comparison result is the falling edge of 1 jumping to 0.
[0103] Exemplarily, in the case of Ve1<reference_p, the comparison result is 0, and when Ve1<reference_p is adjusted to Ve1=reference_p, the comparison result is a rising edge jumping from 0 to 1.
[0104] Exemplarily, the comparison result of 1 or 0 is the first comparison signal, and the comparison result of the rising edge from 0 to 1 or the falling edge from 1 to 0 is the second comparison signal. When the comparison unit outputs the second comparison signal, the adjustment of the adjustment circuit is completed.
[0105] For example, Figure 7 This is a schematic circuit diagram of another trimming circuit provided in an embodiment of the present application. Figure 7 As shown, for example, the trimming signal is a negative voltage Vneg=-4V, a fixed voltage fix voltage=1V; the second reference voltage Reference_n=0V, the switch device can be an N-type MOS tube, the first switch device, the second switch device and the third switch device are Mn0, Mn1 and Mn2 respectively, and the switch device can be a common device, that is, the breakdown voltage is 1.8V. The comparison unit 400 includes a second comparator compare_n. The voltage Ve2 of the second voltage output node e2 needs to be compared with the second reference voltage Reference_n. The first voltage divider component, the second voltage divider component and the third voltage divider component are Rn0, Rn1 and Rn2 respectively, the first voltage divider module includes Rn3, the second voltage divider module includes the first voltage divider module including Rn4, and the third voltage divider module includes the first voltage divider module including Rn5. a2 is the potential point between Rn0 and Rn3, b2 is the potential point between Rn1 and Rn0, c2 is the potential point between Rn2 and Rn1, and d2 is the potential point between Rn2 and Rn4. When the gates of Mn0, Mn1 and Mn2 are connected to the low potential Va2, Rn0, Rn1 and Rn2 are not turned on, and Rn0, Rn1 and Rn2 are not short-circuited by Mn0, Mn1 and Mn2, we can get:
[0106] Rn3=0.64×(Rn0+Rn1+Rn2+Rn3+Rn4+Rn5)
[0107] Among them, the voltage division coefficient of Rn3 is 0.64=((fix voltage-Vneg)-1.8) / (fix voltage-Vneg)=(1+4-1.8) / 5=0.64,
[0108] Then the potential of a2 is Va2 = -0.8V
[0109] Then, according to the input voltage being equal to the second reference voltage reference_n, we can obtain:
[0110] (Rn0+Rn1+Rn2+Rn3+Rn4) / (Rn0+Rn1+Rn2+Rn3+Rp4+Rn5)×(fix voltage-Vneg)+Vneg=reference_n
[0111] You can get:
[0112] Vneg=-(Rn0+Rn1+Rn2+Rn3+Rn4)×fix voltage / Rn5
[0113] Therefore, Mn0, Mn1, and Mn2 can use common devices with a breakdown voltage of 1.8V without using high-voltage tubes, thereby avoiding increasing the circuit area and cost while achieving the same function.
[0114] It should be noted that if Figure 7 As shown, in order to ensure that the source and drain of the N-type MOS tube are not damaged by breakdown and the gate and source, that is, it is necessary to ensure that the voltage difference between the source and drain is less than or equal to 1.8V, and the voltage difference between the gate and source is less than or equal to 1.8V, it is necessary to ensure that the voltage applied to the gate is between Va2 and the fix voltage, that is, the gate voltage needs to be between 0.8 and 1V.
[0115] It should be noted that the gate of the MOS tube of the switching device can be provided with a gate signal by a separate trimming control module to drive the MOS tube to be turned on and off.
[0116] In the adjustment circuit provided in the embodiment of the present application, Mp0, Mp1, Mp2 and Mn1, Mn2, Mn3 as switching devices operate in a low voltage domain so that ordinary devices can be used; the device area is smaller and no additional process is required.
[0117] According to a second aspect of the embodiments of the present application, a chip is provided. Figure 8 This is a schematic structural block diagram of a chip provided in an embodiment of the present application. Figure 8 As shown, the chip includes: the trimming circuit 1000 as described in the first aspect; a trimming signal generating module 101 electrically connected to the trimming signal input terminal 100 of the trimming circuit 1000; and a trimming control module 2000 electrically connected to the switch device of the trimming circuit 1000.
[0118] The chip provided in the embodiment of the present application sets a voltage divider unit through a trimming circuit, connects a switch unit to a voltage output node of the voltage divider unit, and the switch state of the switch unit can control the voltage value output by the voltage output node, and the comparison result of the comparison unit is fed back to the trimming signal generation module to adjust the trimming signal. Under the action of the voltage divider unit, the voltage connected to the switch unit can be reduced, so the switch unit does not need to use a switch device that withstands high voltage breakdown, and the switch unit can use an ordinary device, which can avoid the problem of increasing circuit area and cost caused by using a switch device that withstands high voltage.
[0119] According to a third aspect of the embodiments of the present application, a module device is provided. Fig. 9 This is a schematic structural block diagram of a module device provided in an embodiment of the present application. Fig. 9 As shown, the module device includes: a communication module 1, used for internal communication of the module device, or for the module device to communicate with external devices; a power module 2, used for providing power to the module device; a storage module 3, used for storing data and instructions; and a chip 3000 as described in the second aspect.
[0120] It should be noted that Fig. 9 The connection relationship between the various modules and the chip 3000 shown is only for illustration and is not intended to be a specific limitation of the embodiments of the present application.
[0121] According to a fourth aspect of the embodiments of the present application, an electronic device is provided. Fig.10 This is a schematic structural block diagram of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device includes the chip 3000 as described in the second aspect.
[0122] Fig.11 A schematic structural block diagram of another electronic device provided in an embodiment of the application. Fig.11 As shown, the electronic device may include the module device 4000 provided in the third aspect.
[0123] In some embodiments, Fig.12 A schematic structural block diagram of another electronic device provided in the embodiment of the application. Fig.12 As shown, the electronic device may include the chip 3000 as described in the second aspect and the module device 4000 provided in the third aspect.
[0124] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0125] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
[0126] Although the preferred embodiments of this specification have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of this specification.
[0127] Obviously, those skilled in the art can make various changes and modifications to this specification without departing from the spirit and scope of this specification. Thus, if these modifications and variations of this specification fall within the scope of the claims of this specification and their equivalents, this specification is also intended to include these modifications and variations.
Claims
1. A trimming circuit, characterized in that: include: A voltage dividing unit, comprising a trimming signal input terminal and a voltage output node, wherein the trimming signal input terminal is used to be electrically connected to a trimming signal generating module to receive a trimming signal generated by the trimming signal generating module, and the voltage dividing unit is used to divide the trimming signal and output the divided voltage signal from the voltage output node; a switch unit, electrically connected to the voltage output node, and configured to adjust the divided voltage by adjusting the voltage dividing unit; A comparison unit, wherein an input end of the comparison unit is electrically connected to the voltage output node, and a comparison signal output end of the comparison unit is used to access the adjustment signal generation module.
2. The trimming circuit according to claim 1, characterized in that: The voltage division unit includes a first voltage division module and a voltage division adjustment module; The first voltage dividing module is electrically connected to the trimming signal input terminal; One end of the voltage division regulating module is connected in series with the first voltage division module, and the other end is electrically connected to the voltage output node, and the voltage division regulating module includes at least one voltage division component; The switch unit includes at least one switch device, and the switch device is connected in parallel with the corresponding voltage dividing component.
3. The trimming circuit according to claim 2, characterized in that: The voltage dividing unit further includes a second voltage dividing module, one end of which is electrically connected to the voltage dividing adjustment module, and the other end of which is electrically connected to the voltage output node.
4. The trimming circuit according to claim 3, characterized in that: The comparison unit includes a first input terminal and a second input terminal, the first input terminal is electrically connected to the voltage output node, and the second input terminal is used to access a reference signal.
5. The trimming circuit according to claim 4, characterized in that: The comparison unit is used to compare the magnitude of the voltage-divided signal with the reference signal, and when the voltage-divided signal is not equal to the reference signal, the comparison signal output terminal outputs a first comparison signal, and the first comparison signal is used to control the trimming signal generation module to adjust the value of the trimming signal.
6. The trimming circuit according to claim 5, characterized in that: The switch state combination of at least one of the switch devices is determined by a target trimming signal, wherein the target trimming signal is the trimming signal corresponding to the case where the voltage-divided signal is equal to the reference signal.
7. The trimming circuit according to claim 5, characterized in that: The voltage dividing unit further includes a third voltage dividing module, which is connected in series with the second voltage dividing module, one end of the third voltage dividing module is electrically connected to the voltage output node, and the other end of the third voltage dividing module is used to access a fixed signal.
8. The trimming circuit according to claim 2, characterized in that: All of the voltage dividing components are connected in series.
9. The trimming circuit according to claim 8, characterized in that: The switching device is turned on to short-circuit the corresponding voltage-dividing components connected in parallel.
10. The trimming circuit according to claim 8, characterized in that: The switch unit includes a first switch device, a second switch device and a third switch device, and the voltage division adjustment module includes a first voltage division component, a second voltage division component and a third voltage division component; The first voltage dividing component is connected in parallel with the first switching device; The first voltage dividing component and the second voltage dividing component are connected in series and then connected in parallel with the second switch device; The first voltage-dividing component, the second voltage-dividing component and the third voltage-dividing component are connected in series and then in parallel with the third switch device; The first voltage dividing component, the first switch device, the second switch device and the third switch device are all electrically connected to the first voltage dividing module.
11. The trimming circuit according to claim 7, characterized in that: The trimming signal generated by the trimming signal generating module includes a trimming voltage, and the fixed signal includes a fixed voltage; The voltage division coefficient of the first voltage division module is the adjusted voltage difference minus the breakdown voltage of the switch device divided by the adjusted voltage, wherein the adjusted voltage difference is the absolute value of the difference between the adjusted voltage and the fixed voltage; and / or, The trimming signal generated by the trimming signal generating module includes a trimming voltage, the fixed signal includes a fixed voltage, and the reference signal includes a reference voltage; When the trimming voltage is a positive voltage, the target trimming voltage is the reference voltage multiplied by the total resistance of the trimming circuit divided by the resistance of the third voltage divider module; and / or, In the case where the trimming voltage is a negative voltage, the target trimming voltage is the total resistance of the first voltage divider module, the voltage divider adjustment module and the second voltage divider module multiplied by the fixed voltage and -1 divided by the resistance of the third voltage divider module; The target trimming signal is the trimming signal corresponding to the case where the voltage-divided signal is equal to the reference signal.
12. The trimming circuit according to claim 7, characterized in that: The first voltage dividing module includes at least one fixed resistor and / or at least one adjustable resistor; and / or, The second voltage dividing module includes at least one fixed resistor and / or at least one adjustable resistor; and / or, The third voltage dividing module includes at least one fixed resistor and / or at least one adjustable resistor; and / or, The voltage dividing component includes at least one fixed resistor and / or at least one adjustable resistor; and / or, In the case where the switch device includes a transistor and the fixed signal is a high level signal, the transistor is a P-type transistor; In the case where the switch device includes a transistor and the fixed signal is a low-level signal, the transistor is an N-type transistor.
13. A chip, characterized in that: include: The trimming circuit as claimed in any one of claims 1 to 12; A trimming signal generating module, electrically connected to a trimming signal input terminal of the trimming circuit; The trimming control module is electrically connected to the switch device of the trimming circuit.
14. A module device, characterized in that: include: A communication module, used for internal communication within the module device, or for the module device to communicate with an external device; A power module, used to provide electrical energy to the module device; Storage module, used to store data and instructions; The chip as claimed in claim 13.
15. An electronic device, characterized in that: include: The chip as claimed in claim 13, and / or the module device as claimed in claim 14.
