Protection circuit and MCU

By integrating the power control switch module, temperature sampling control module and current sampling feedback module inside the MCU, the problem of increased development costs and PCB area of ​​traditional MCU protection solutions is solved, effective overcurrent and overtemperature protection of the MCU is achieved, and development costs are reduced. Cost and PCB area occupied.

CN221929317UActive Publication Date: 2024-10-29SHENZHEN HANGSHUN CHIP TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420249127.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2024-10-29
Estimated Expiration
2034-01-31

AI Technical Summary

Technical Problem

Traditional MCU protection solutions tend to increase development costs and PCB area where the MCU is located.

Method used

Design a protection circuit, including a power control switch module, a temperature sampling control module and a current sampling feedback module, which are integrated inside the MCU. Through these modules, over-current and over-temperature protection of the MCU is achieved, avoiding the addition of additional circuits and complex devices.

Benefits of technology

It realizes the over-current and over-temperature protection of the MCU, reduces the cost of board-level circuit development, and controls the occupation of the PCB area where the MCU is located.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221929317U_ABST
    Figure CN221929317U_ABST
Patent Text Reader

Abstract

An input end of a power supply control switch module in the protection circuit is connected with an input power supply, a control end is connected with an input end of a current sampling feedback module, and an output end is connected with an input end of a temperature sampling control module; the output end of the temperature sampling control module is connected with the input end of the current sampling feedback module; the current sampling feedback module is also connected to an internal circuit of the MCU; the power supply control switch module is used for receiving a path current value fed back by the current sampling feedback module and controlling on-off of a power supply path; the temperature sampling control module is used for sensing the internal temperature of the MCU so as to control the on-off of a power supply path; and the current sampling feedback module is used for sampling a path current value of the power supply path, and feeding back the path current value to the power supply control switch module when the path current value is greater than or equal to a set current threshold value. According to the invention, the development cost of a board-level circuit can be reduced, and the PCB area where the MCU is located is controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit technology, and in particular to a protection circuit and an MCU. Background Art

[0002] The power input of MCU (Micro Controller Unit) may have overcurrent and overtemperature, which often damages the chip, causing irreversible damage and leading to failure of the chip or even related systems. Some solutions use peripheral circuits to protect the power input of MCU, but these solutions usually require additional devices, which easily increase development costs and the PCB area where the MCU is located. Utility Model Content

[0003] In view of this, the present application provides a protection circuit and an MCU to solve the problem that traditional MCU protection solutions easily increase development costs and the PCB area where the MCU is located.

[0004] The present application provides a protection circuit, which is arranged inside the MCU, and includes a power control switch module, a temperature sampling control module and a current sampling feedback module; the input end of the power control switch module is connected to the input power supply, the control end is connected to the input end of the current sampling feedback module, and the output end is connected to the input end of the temperature sampling control module; the output end of the temperature sampling control module is connected to the input end of the current sampling feedback module 130; the current sampling feedback module is also connected to the internal circuit of the MCU;

[0005] The power control switch module is used to receive the path current value fed back by the current sampling feedback module, and control the on and off of the power path;

[0006] The temperature sampling control module is used to sense the internal temperature of the MCU to control the on / off of the power path;

[0007] The current sampling feedback module is used to sample the path current value of the power path, and when the path current value is greater than or equal to a set current threshold, the path current value is fed back to the power control switch module.

[0008] Optionally, the power control switch module includes a first MOS tube; the source of the first MOS tube is connected to the input power supply, the drain serves as the output end of the power control switch module and is connected to the input end of the temperature sampling control module, and the gate serves as the control end of the power control switch module and is connected to the output end of the current sampling feedback module.

[0009] Optionally, the temperature sampling control module includes a temperature sensing unit and a second MOS tube; the input end of the temperature sensing unit is respectively connected to the output end of the power control switch module and the source of the second MOS tube, and the output end is connected to the gate of the second MOS tube; the drain of the second MOS tube serves as the output end of the temperature sampling control module and is connected to the input end of the current sampling feedback module.

[0010] Optionally, the temperature sensing unit includes a negative temperature coefficient thermistor and a first resistor; the first end of the negative temperature coefficient thermistor serves as the input end of the temperature sensing unit, and the second end serves as the output end of the temperature sensing unit, which are respectively connected to the gate of the second MOS tube and the first end of the first resistor; the second end of the first resistor is grounded.

[0011] Optionally, the temperature sensing unit includes a voltage source, a current source, a comparator, a transistor and a second resistor; the first end of the voltage source is respectively connected to the output end of the power control switch module and the first end of the current source, and the second end is connected to the first input end of the comparator; the second end of the current source is respectively connected to the second input end of the comparator, the collector of the transistor and the base of the transistor; the emitter of the transistor is grounded through the second resistor; the output end of the comparator is connected to the gate of the second MOS tube.

[0012] Optionally, the current sampling feedback module includes a third resistor, a third MOS tube, a fourth resistor and a fifth resistor; the first end of the third resistor is connected to the output end of the temperature sampling control module, and the second end is respectively connected to the gate of the third MOS tube and the internal circuit access end of the MCU; the source of the third MOS tube is grounded; the first end of the fourth resistor is respectively connected to the drain of the third MOS tube, the control end of the power control switch module and the first end of the fifth resistor, and the second end is grounded; the second end of the fifth resistor is connected to the input power supply.

[0013] Optionally, the protection circuit further includes an LED indicator light, which is disposed between the input power supply and the input end of the power control switch module and is used to indicate whether the power supply path is on or off.

[0014] The present application provides an MCU, comprising any one of the above protection circuits.

[0015] The above-mentioned protection circuit and MCU, power control switch module, temperature sampling control module and current sampling feedback module of the present application can be formed by easily integrated devices such as transistors and / or resistors, so that the protection circuit can be relatively simple and set inside the MCU at a low cost. On the basis of realizing MCU over-current and over-temperature protection, there is no need to add other circuits and relatively complex devices, which can reduce the board-level circuit development cost and control the PCB area where the MCU is located. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 is a schematic diagram of the protection circuit structure of an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of the protection circuit structure of another embodiment of the present application;

[0019] Figure 3 It is a schematic diagram of the protection circuit structure of another embodiment of the present application. DETAILED DESCRIPTION

[0020] The technical solutions in the embodiments of the present application are clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application. In the absence of conflict, the following embodiments and their technical features can be combined with each other.

[0021] The first aspect of the present application provides a protection circuit, which is arranged inside an MCU. Figure 1 As shown, the protection circuit includes a power control switch module 110, a temperature sampling control module 120 and a current sampling feedback module 130; the input end of the power control switch module 110 is connected to the input power supply Vin, the control end is connected to the input end of the current sampling feedback module 130, and the output end is connected to the input end of the temperature sampling control module 120; the output end of the temperature sampling control module 120 is connected to the input end of the current sampling feedback module 130; the current sampling feedback module 130 can also be connected to the internal circuit of the MCU.

[0022] The power control switch module 110 is used to control the on and off of the input power Vin of the MCU according to the path current value fed back by the current sampling feedback module; the power control switch module 110 can cooperate with the current sampling feedback module 130 to disconnect the input power Vin when the path current value is greater than or equal to the set current threshold, and connect the input power Vin when the path current value is less than the set current threshold, so as to achieve overcurrent protection.

[0023] The temperature sampling control module 120 is used to sense the internal temperature of the MCU and control the on and off of the power path according to the internal temperature; the temperature sampling control module 120 can turn off the power path when the internal temperature is greater than a set temperature threshold, and turn on the power path when the internal temperature is less than or equal to the set temperature threshold, so as to protect the power path from over-temperature.

[0024] The current sampling feedback module 130 is used to sample the path current value of the power path, and when the path current value is greater than or equal to a set current threshold, the path current value is fed back to the power control switch module 110 .

[0025] The power control switch module 110, the temperature sampling control module 120 and the current sampling feedback module 130 can be respectively formed by transistors and / or resistors and other easily integrated devices, so that the protection circuit can be relatively simple and set inside the MCU at a low cost. On the basis of realizing the over-current and over-temperature protection of the MCU, there is no need to add other circuits and relatively complex devices, which can reduce the board-level circuit development cost and control the PCB area where the MCU is located.

[0026] In one embodiment, reference Figure 2 and Figure 3 As shown, the power control switch module 110 includes a first MOS transistor MOS1; the source of the first MOS transistor MOS1 is connected to the input power Vin, the drain is used as the output end of the power control switch module 110, connected to the input end of the temperature sampling control module 120, and the gate is used as the control end of the power control switch module 110, connected to the output end of the current sampling feedback module 130. Optionally, the first MOS transistor MOS1 can be a PMOS transistor, which is turned off when the current or other electrical signal connected to its gate is less than the corresponding preset value to disconnect the input power Vin, and is turned on when the current or other electrical signal connected to its gate is greater than or equal to the corresponding preset value to connect the input power Vin.

[0027] In one embodiment, reference Figure 2 and Figure 3As shown, the temperature sampling control module 120 includes a temperature sensing unit 121 and a second MOS tube MOS2; the input end of the temperature sensing unit 121 is respectively connected to the output end of the power control switch module 110 and the source of the second MOS tube MOS2, and the output end is connected to the gate of the second MOS tube MOS2; the drain of the second MOS tube MOS2 serves as the output end of the temperature sampling control module 120 and is connected to the input end of the current sampling feedback module 130.

[0028] Optionally, the temperature sensing unit 121 may include devices such as a thermistor and / or a triode to sense the internal temperature of the MCU in real time, and adjust the current and other electrical signal values ​​of the gate of the second MOS tube MOS2 according to the internal temperature. When the temperature is too high and the internal temperature is greater than a set temperature threshold, the second MOS tube MOS2 is turned off to turn off the power path; when the internal temperature is less than or equal to the set temperature threshold, the second MOS tube MOS2 is turned on to turn on the power path.

[0029] In one example, if Figure 2 As shown, the temperature sensing unit 121 includes a negative temperature coefficient thermistor NRt and a first resistor R1; the first end of the negative temperature coefficient thermistor NRt serves as the input end of the temperature sensing unit 121, and the second end serves as the output end of the temperature sensing unit 121, which are respectively connected to the gate of the second MOS tube MOS2 and the first end of the first resistor R1; the second end of the first resistor R1 is grounded. In this example, the temperature sensing unit 121 composed of the negative temperature coefficient thermistor NRt and the first resistor R1 can ensure that when the temperature exceeds the set temperature threshold, the second MOS tube MOS2 is turned off and the power supply is cut off to ensure that the MCU is not damaged under abnormal temperature.

[0030] In one example, if Figure 3 As shown, the temperature sensing unit 121 includes a voltage source U, a current source I, a comparator COMP, a transistor S1 and a second resistor R2; the first end of the voltage source U serves as the input end of the temperature sensing unit 121, and is respectively connected to the output end of the power control switch module 110 and the first end of the current source I, and the second end is connected to the first input end of the comparator COMP; the second end of the current source I is respectively connected to the second input end of the comparator COMP, the collector of the transistor S1 and the base of the transistor S1; the emitter of the transistor S1 is grounded through the second resistor R2; the output end of the comparator COMP is connected to the gate of the second MOS transistor MOS2.

[0031] In this example, the current source I provides a stable current that does not change with temperature. The voltage at the collector terminal of the transistor S1 is Vbe+I*R2. Vbe changes with temperature, and R2 changes with temperature. However, since the change ratio with Vbe is too small, it can be ignored. Therefore, the simulation formula of the positive temperature coefficient of the terminal voltage can be obtained by simulation; where I is the current flowing through the current source I, and R2 is the resistance value of the second resistor R2. Therefore, the value of the voltage source U is set according to the alarm temperature. When the temperature is less than the set temperature threshold, the comparator outputs a high level 1, and the second MOS tube MOS2 is turned on. When the temperature is greater than or equal to the set temperature threshold, the comparator outputs a low level 0, and the second MOS tube MOS2 is turned off.

[0032] In one embodiment, the current sampling feedback module 130 includes a current sampling unit and a feedback network; wherein the current sampling unit may include a third resistor R3 and a third MOS transistor MOS3, and the feedback network may include a fourth resistor R4 and a fifth resistor R5.

[0033] The current sampling unit is used to sample the path current value of the power path, and when the path current value is greater than or equal to a set current threshold, transmit the path current value to the feedback network;

[0034] The feedback network is used to feed back the path current value to the power control switch module.

[0035] In one example, reference Figure 2 and Figure 3 As shown, the current sampling unit includes a third resistor R3 and a third MOS tube MOS3; the first end of the third resistor R3 is used as the input end of the current sampling unit, connected to the output end of the temperature sampling control module 120, and the second end is respectively connected to the gate of the third MOS tube MOS3 and the internal circuit access end of the MCU; the drain of the third MOS tube MOS3 is used as the output end of the current sampling unit, connected to the input end of the feedback network, and the source is grounded. In this example, a voltage divider network can be formed by the third resistor R3 and the internal circuit of the MCU to convert the current into a voltage to control the switch of the third MOS tube MOS3. When the path current value exceeds the set current threshold, the third MOS tube MOS3 is turned on. At this time, the voltage of the G point (the gate of the first MOS tube MOS1) is pulled down, and the first MOS tube MOS1 will also be turned off to disconnect the input power Vin.

[0036] In one example, reference Figure 2 and Figure 3As shown, the feedback network includes a fourth resistor R4 and a fifth resistor R5; the first end of the fourth resistor R4 is used as the input end of the feedback network, and is respectively connected to the output end of the current sampling unit, the control end of the power control switch module 110 and the first end of the fifth resistor R5, and the second end is grounded; the second end of the fifth resistor R5 is connected to the input power Vin. In this example, the voltage divider network composed of the fourth resistor R4 and the fifth resistor R5 is used to slowly increase the turn-on voltage of the first MOS tube MOS1 when powered on. Due to the current characteristics of the MOS tube, the current passing through the first MOS tube MOS1 also increases slowly when powered on, and the stability is higher.

[0037] In one example, reference Figure 2 and Figure 3 As shown, the protection circuit may further include an LED indicator (such as LED1) to indicate whether the power path is on or off. For example, a lit LED indicator indicates that the power path is on, and a extinguished LED indicator indicates that the power path is off.

[0038] The above protection circuits, the power control switch module 110, the temperature sampling control module 120 and the current sampling feedback module 130 can be respectively formed by easily integrated devices such as transistors and / or resistors, so that the protection circuit can be relatively simple and set inside the MCU at a low cost. On the basis of realizing MCU over-current and over-temperature protection, there is no need to add other circuits and relatively complex devices, which can reduce the board-level circuit development cost and control the PCB area where the MCU is located.

[0039] A second aspect of the present application provides an MCU, comprising the protection circuit described in any of the above embodiments.

[0040] Optionally, the MCU may further include relevant internal circuits, and the protection circuit may be integrated in the MCU chip and located outside the internal circuit to perform overcurrent and overtemperature protection on the power input of the MCU.

[0041] The above MCU includes the protection circuit described in any of the above embodiments, and has all the beneficial effects of the protection circuit described in any of the above embodiments, which will not be repeated again.

[0042] Although the present application has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art based on reading and understanding of this specification and the accompanying drawings. The present application includes all such modifications and variations and is limited only by the scope of the appended claims. In particular, with respect to the various functions performed by the above-mentioned components, the terms used to describe such components are intended to correspond to any component (unless otherwise indicated) that performs the specified function of the component (e.g., it is functionally equivalent), even if it is not structurally equivalent to the disclosed structure that performs the functions in the exemplary implementation of this specification shown herein.

[0043] That is, the above description is only an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, such as the mutual combination of technical features between the embodiments, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.

[0044] In addition, in the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, which are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, for structural elements with the same or similar characteristics, the present application may use the same or different reference numerals for identification. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0045] In this application, the word "exemplary" is used to mean "used as an example, illustration or description". Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or more advantageous than other embodiments. In order to enable any technician in the field to implement and use the present application, the present application provides the above description. In the above description, various details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other embodiments, well-known structures and processes will not be elaborated in detail to avoid unnecessary details that make the description of the present application obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the present application.

Claims

1. A protection circuit, characterized in that: The protection circuit is arranged inside the MCU, and the protection circuit comprises a power control switch module, a temperature sampling control module and a current sampling feedback module; the input end of the power control switch module is connected to the input power supply, the control end is connected to the input end of the current sampling feedback module, and the output end is connected to the input end of the temperature sampling control module; the output end of the temperature sampling control module is connected to the input end of the current sampling feedback module; the current sampling feedback module is also connected to the internal circuit of the MCU; The power control switch module is used to receive the path current value fed back by the current sampling feedback module, and control the on and off of the power path; The temperature sampling control module is used to sense the internal temperature of the MCU to control the on / off of the power supply path; The current sampling feedback module is used to sample the path current value of the power path, and when the path current value is greater than or equal to a set current threshold, the path current value is fed back to the power control switch module.

2. The protection circuit according to claim 1, characterized in that: The power control switch module includes a first MOS tube; the source of the first MOS tube is connected to the input power supply, the drain serves as the output end of the power control switch module and is connected to the input end of the temperature sampling control module, and the gate serves as the control end of the power control switch module and is connected to the output end of the current sampling feedback module.

3. The protection circuit according to claim 1, characterized in that: The temperature sampling control module includes a temperature sensing unit and a second MOS tube; The input end of the temperature sensing unit is respectively connected to the output end of the power control switch module and the source of the second MOS tube, and the output end is connected to the gate of the second MOS tube; the drain of the second MOS tube serves as the output end of the temperature sampling control module and is connected to the input end of the current sampling feedback module.

4. The protection circuit according to claim 3, characterized in that: The temperature sensing unit includes a negative temperature coefficient thermistor and a first resistor; The first end of the negative temperature coefficient thermistor serves as the input end of the temperature sensing unit, and the second end serves as the output end of the temperature sensing unit, which are respectively connected to the gate of the second MOS tube and the first end of the first resistor; the second end of the first resistor is grounded.

5. The protection circuit according to claim 3, characterized in that: The temperature sensing unit comprises a voltage source, a current source, a comparator, a triode and a second resistor; The first end of the voltage source is respectively connected to the output end of the power control switch module and the first end of the current source, and the second end is connected to the first input end of the comparator; the second end of the current source is respectively connected to the second input end of the comparator, the collector of the transistor and the base of the transistor; the emitter of the transistor is grounded through the second resistor; the output end of the comparator is connected to the gate of the second MOS tube.

6. The protection circuit according to claim 1, characterized in that: The current sampling feedback module includes a third resistor, a third MOS tube, a fourth resistor and a fifth resistor; The first end of the third resistor is connected to the output end of the temperature sampling control module, and the second end is respectively connected to the gate of the third MOS tube and the internal circuit access end of the MCU; the source of the third MOS tube is grounded; the first end of the fourth resistor is respectively connected to the drain of the third MOS tube, the control end of the power control switch module and the first end of the fifth resistor, and the second end is grounded; the second end of the fifth resistor is connected to the input power supply.

7. The protection circuit according to claim 1, characterized in that: The protection circuit also includes an LED indicator light, which is arranged between the input power supply and the input end of the power control switch module to indicate whether the power supply path is on or off.

8. An MCU, characterized in that: The protection circuit comprises the protection circuit as claimed in any one of claims 1 to 7.