Protection circuit and related device

By setting up the MOS tube in the terminal device and using its turn-off characteristics, the damage to the power management chip when the SIM card holder is subjected to external surge or DC overvoltage is solved, and effective protection of the power management chip is achieved.

CN119209416APending Publication Date: 2024-12-27HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310775335.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

After installing SIM cards, terminal devices such as mobile phones are susceptible to external surges or DC overvoltage damage, and the prior art is difficult to effectively protect.

Method used

Set up a MOS tube between the SIM card holder and the power management chip. Using the MOS's turn-off characteristics, the switching unit is controlled to shut down when an external surge or DC overvoltage is encountered to protect the power management chip.

Benefits of technology

Effectively prevent external surge or DC overvoltage from damage to the power management chip, ensuring the stable operation of terminal equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119209416A_ABST
    Figure CN119209416A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a protection circuit and a related device. The circuit comprises an SIM card seat for assembling an SIM card, a first power management chip for supplying power to the SIM card seat, a switch unit and a control module for controlling a third pole of the switch unit, a first pole and a second pole of the switch unit are respectively connected with the first power management chip and the SIM card seat; the control module is used for outputting a first voltage, so that the switch unit is in a turn-off state when subjected to an external surge or a direct current overvoltage, and the switch unit is in a turn-on state when not subjected to the external surge or the direct current overvoltage; wherein the voltage value of the first voltage is greater than the sum of the voltage output by the first power management chip and the threshold voltage of a switching tube in the switching unit. Therefore, when external surge or direct-current overvoltage occurs, the switch unit interrupts the connection between the first power management chip and the SIM card seat; and the first power management chip and the power supply are protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to protection circuits and related devices. Background Art

[0002] With the development and progress of society, mobile phones, tablet computers and other terminal devices have become an indispensable part of people's lives. At present, mobile phones and other terminal devices are usually provided with one or two SIM card holders to install subscriber identity modules (SIM).

[0003] After installing a SIM card in a mobile phone or other terminal device, you can enjoy the services provided by the operator, including making calls with others, using data traffic to access the Internet, etc.

[0004] However, external surges or DC overvoltage may enter the interior of the terminal device through the SIM card holder, causing damage to the terminal device. Summary of the invention

[0005] The embodiment of the present application provides a protection circuit and related devices, which are applied to the field of terminal technology. A MOS tube is arranged between the SIM card holder and the power management chip, and the power management chip is protected by the on-off characteristics of the MOS. In this way, when the SIM card holder encounters an external surge or DC overvoltage, the MOS tube is turned off to protect the power management chip.

[0006] In the first aspect, the embodiment of the present application proposes a protection circuit. The circuit includes: a first power management chip, a SIM card holder, a switch unit and a control module; the first power management chip is connected to the first pole of the switch unit, the SIM card holder is connected to the second pole of the switch unit, and the third pole of the switch unit is controlled by the control module; the first power management chip is used to supply power to the SIM card holder through the switch unit; the SIM card holder is used to assemble the SIM card; the control module is used to output a first voltage, so that the switch unit is in an off state when subjected to an external surge or a DC overvoltage, and the switch unit is in an on state when not subjected to an external surge or a DC overvoltage; wherein the voltage value of the first voltage is greater than the sum of the voltage output by the first power management chip and the threshold voltage of the switch tube in the switch unit.

[0007] In this way, when the SIM card holder encounters an external surge or DC overvoltage, the switch unit can interrupt the connection between the SIM card holder and the first power management chip to protect the power management chip, the battery, and the like.

[0008] Optionally, the switching unit includes a first switching tube Q1; the first pole of Q1 is connected to the first power management chip, the second pole of Q1 is connected to the SIM card holder, and the third pole of Q1 is controlled by the control module; wherein the voltage value of the first voltage is less than or equal to the sum of the threshold voltage of Q1 and the second voltage; the second voltage is the maximum voltage that the first power management chip can withstand.

[0009] The switch unit can be composed of a switch tube, which has a simple structure and is easy to implement.

[0010] Optionally, the control module is also used to adjust the first voltage based on the voltage value output by the first power management chip; the first voltage is greater than the sum of the voltage output by the first power management chip and the first value, the first value is greater than or equal to the threshold voltage of Q1, and the first value is a constant.

[0011] In this way, the first voltage can be dynamically adjusted based on the SIM card installed in the SIM card holder, which is applicable to SIM cards of various voltage specifications, thereby increasing the practicality of the protection circuit. In addition, when the voltage required by the SIM card installed in the SIM card holder is relatively small, the first voltage is relatively small, thereby reducing the energy consumption of the terminal device.

[0012] Optionally, the switching unit includes a second switching tube Q2 and a third switching tube Q3; the first pole of Q2 is connected to the SIM card socket, the second pole of Q2 is connected to the second pole of Q3, the first pole of Q3 is connected to the first power management chip, and the third pole of Q2 and the third pole of Q3 are both controlled by the control module; wherein the voltage value of the first voltage is less than or equal to the sum of the threshold voltage of Q3 and the second voltage; the second voltage is the maximum voltage that the first power management chip can withstand.

[0013] It is understandable that using only one switch tube may cause the parasitic diode on the high-power switch tube to be turned on. In order to prevent the SIM card holder and the second power management chip from being turned on through the parasitic diode, two high-power switch tubes are used to implement the above protection circuit.

[0014] Optionally, the control module includes: a first voltage divider unit, a second voltage divider unit and a second power management chip; the second power management chip is connected to one end of the first voltage divider unit, the other end of the first voltage divider unit is connected to one end of the second voltage divider unit, the other end of the second voltage divider unit is grounded, and the other end of the first voltage divider unit is connected to the third pole of the switch unit; the first voltage divider unit and the second voltage divider unit are used to adjust the voltage output by the second power management chip so that the voltage at the third pole of the switch unit is the first voltage.

[0015] In this way, the second power management chip can be an existing chip in the terminal device, and there is no need to add a new one, thereby reducing costs.

[0016] In some embodiments, the second power management chip is also used to perform drive control for other modules, and the other modules may be power management units (power management units, PMU) or other types of modules.

[0017] Optionally, the first voltage dividing unit includes a first resistor R1, and the second voltage dividing unit includes a second resistor R2; the second power management chip is connected to one end of R1, the other end of R1 is connected to one end of R2, the other end of R2 is grounded, and the other end of R1 is connected to the third pole of the switch unit; R1 and R2 are used to adjust the voltage output by the second power management chip so that the voltage at the third pole of the switch unit is the first voltage.

[0018] In this way, voltage division is performed through two resistors, which has a simple structure, is easy to implement, occupies a small area, and has low cost.

[0019] Optionally, the second power management chip includes a boost structure, and the boost structure is used to boost and adjust the voltage input to the second power management chip so that the voltage output by the second power management chip is greater than or equal to the first voltage.

[0020] In this way, the second power management chip can be powered by a relatively small voltage, and the switch unit can be controlled, which is easy to implement and consumes less power.

[0021] Optionally, the control module includes: a programmable power supply chip; the programmable power supply chip is used to control the voltage at the third pole of the switch unit to be the first voltage.

[0022] In this way, the switch unit is controlled by a programmable power chip.

[0023] Optionally, the programmable power supply chip includes: a voltage adjustment module, a feedback module, a control logic and a driving module; the voltage adjustment unit is used to adjust the first voltage output by the programmable power supply; the feedback module is used to feed back the error between the preset voltage and the voltage actually output by the voltage adjustment unit to the control logic; the preset voltage is the output voltage preset by the voltage adjustment unit; the control logic is used to output an adjustment signal to the driving module; and the driving module is used to drive the voltage adjustment unit based on the adjustment signal to adjust the voltage actually output by the voltage adjustment module.

[0024] In this way, the voltage actually output by the voltage adjustment unit can be adjusted in real time, making the control more precise.

[0025] Optionally, the programmable power chip further includes: an interface control module; the interface control module is used to adjust a voltage value corresponding to a first voltage output by the programmable power chip based on a signal transmitted from the controller.

[0026] In this way, the first module can also adjust the voltage value corresponding to the first voltage based on SIM cards of different specifications, thereby improving practicality.

[0027] In a second aspect, an embodiment of the present application provides a terminal device, which may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.

[0028] The terminal device includes: any protection circuit of the first aspect.

[0029] Optionally, the terminal device further includes a controller, and the controller is used to adjust the voltage output by the first power management chip in the protection circuit based on the SIM card assembled in the SIM card holder.

[0030] In this way, the voltage output by the first power management chip is adjusted based on the SIM card to adapt to different SIM cards, thereby improving practicality. Optionally, the controller is further used to adjust the voltage value of the first voltage output by the control unit in the protection circuit based on the SIM card installed in the SIM card holder.

[0031] In this way, the first voltage in the protection circuit is adjusted based on the SIM card to adapt to different SIM cards, thereby improving practicality.

[0032] It should be understood that the second aspect of the present application corresponds to the technical solution of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of the structure of a SIM card circuit in a possible design;

[0034] Figure 2 A schematic diagram of the structure of a protection circuit in a possible design is shown;

[0035] Figure 3 A schematic diagram of the structure of a protection circuit provided in an embodiment of the present application;

[0036] Figure 4A A schematic diagram of the structure of a switch unit provided in an embodiment of the present application;

[0037] Figure 4B A schematic diagram of the structure of a switch unit provided in an embodiment of the present application;

[0038] Figure 5A A schematic diagram of the structure of a control module provided in an embodiment of the present application;

[0039] Figure 5B A schematic diagram of the structure of a second power management chip provided in an embodiment of the present application;

[0040] Figure 6 A schematic diagram of the structure of a control module provided in an embodiment of the present application;

[0041] Figure 7 A schematic diagram of the structure of a programmable power chip provided in an embodiment of the present application;

[0042] Figure 8 A schematic diagram of a connection between a controller and a control module provided in an embodiment of the present application;

[0043] Fig. 9 A schematic diagram of the structure of a switch unit provided in an embodiment of the present application;

[0044] Fig.10 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] To facilitate understanding of the embodiments of the present application, some terms involved in the present application are first briefly explained.

[0046] 1. Other terms

[0047] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0048] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0049] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.

[0050] 2. Terminal equipment

[0051] The terminal device of the embodiment of the present application may also be any form of electronic device. For example, the electronic device may include a handheld device, a vehicle-mounted device, etc. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (public land mobile The embodiments of the present application do not limit this.

[0052] As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

[0053] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.

[0054] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.

[0055] In an embodiment of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.

[0056] Terminal devices such as mobile phones and tablet computers have become an indispensable part of people's lives. At present, terminal devices such as mobile phones are usually provided with one or two SIM card holders to install subscriber identity modules (SIMs).

[0057] After installing a SIM card in a mobile phone or other terminal device, you can enjoy the services provided by the operator, including making calls with others, using data traffic to access the Internet, etc.

[0058] However, external surges or DC overvoltage may enter the interior of the terminal device through the SIM card holder, causing damage to the terminal device.

[0059] For example, Figure 1 Figure 1 is a schematic diagram of the structure of a SIM card circuit in a possible design. Figure 1As shown, the SIM card circuit includes: a power management chip 101 and a SIM card holder 102. The power management chip 101 and the SIM card holder 102 are connected.

[0060] The power management chip 101 is used to supply power to the SIM card holder 102. The SIM card holder 102 is used to mount a SIM card.

[0061] It should be noted that the SIM card circuit may encounter external surges or DC overvoltage, which may damage the power management chip 101. Specifically, due to static electricity, deliberate damage, plugging and unplugging of the SIM card, and other reasons, a voltage may be generated on the SIM card holder 102, and the voltage may be transmitted to the power management chip 101, thereby damaging the first power management chip 101.

[0062] For example, an external surge or DC overvoltage may generate a 10V voltage on the SIM card holder 102. If the 10V voltage is transmitted to the power management chip 101, the power management chip 101 may be damaged.

[0063] In a possible design, a transient voltage suppressor (TVS tube) is connected to the SIM card holder side to suppress external surges or DC overvoltage.

[0064] For example, Figure 2 Figure 2 is a schematic diagram of a possible protection circuit design. Figure 2 As shown, the protection circuit includes: a power management chip 201 , a SIM card holder 202 and a TVS tube 203 .

[0065] The power management chip 201 supplies power to the SIM card holder 202. One end of the TVS tube 203 is connected to the SIM card holder 202, and the other end of the TVS tube 203 is grounded.

[0066] It should be noted that when the two poles of the TVS tube are subjected to a reverse transient high-energy impact, the high impedance between the two poles can be changed to low impedance at a speed of 10 to the negative 12th power of seconds, absorbing surge power of up to several kilowatts, clamping the voltage between the two poles to a predetermined value, thereby reducing the damage of the surge pulse to the circuit.

[0067] It is understandable that when an external surge or DC overvoltage exists, the TVS tube 203 can absorb part or all of the surge power, thereby reducing damage to the power management chip 201 due to the surge or DC voltage.

[0068] However, for situations such as continuous DC overvoltage, the TVS tube cannot protect and the power management chip may be damaged.

[0069] In view of this, the embodiments of the present application provide a protection circuit and related devices. A MOS tube is arranged between the SIM card holder and the power management chip, and the power management chip is protected by the on-off characteristics of the MOS. In this way, when the SIM card holder encounters an external surge or DC overvoltage, the MOS tube is turned off to protect the power management chip.

[0070] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0071] For example, Figure 3 This is a schematic diagram of a protection circuit provided in an embodiment of the present application. Figure 3 As shown, the protection circuit includes: a first power management chip 301 , a SIM card holder 302 , a switch unit 303 and a control module 304 .

[0072] The first power management chip 301 is connected to a first pole of the switch unit 303 , the SIM card holder 302 is connected to a second pole of the switch unit 303 , and a third pole of the switch unit 303 is controlled by the control module 304 .

[0073] The first power management chip 301 is used to supply power to the SIM card holder 302 via the switch unit 303. The first power management chip is connected to the power supply and can adjust the voltage output by the power supply to a suitable voltage to supply power to the SIM card holder 302.

[0074] The SIM card holder 302 is used to mount a SIM card. In the embodiment of the present application, the SIM card holder 302 can be mounted with different types of SIM cards. Adaptively, the first power management chip 301 can output a suitable voltage based on the SIM card mounted on the SIM card holder 302. Typically, the first power management chip 301 can output a voltage of 3V or 1.8V.

[0075] Exemplarily, the SIM card holder 302 includes a pin for outputting a signal and a VCC pin for supplying power. The VCC pin is connected to a first pole of the switch unit 303 .

[0076] The pins used to output signals include, but are not limited to: an RST pin for transmitting a reset signal, a CLK pin for transmitting a clock signal, and an I / O pin for transmitting a data signal. The RST pin, the CLK pin, and the I / O pin are all connected to a module with a control function in the terminal device, such as a processor, a system on chip (SOC), etc.

[0077] It is understandable that SIM cards include Nano SIM cards, Micro SIM cards, and the like. Different types of SIM cards may have different corresponding operating voltages. For example, the corresponding operating voltage of a Nano SIM card is 1.8V, and the corresponding operating voltage of a Micro SIM card is 3V. The embodiments of the present application do not limit the specifications and types of SIM cards.

[0078] In some embodiments, a level conversion device is further provided between the SIM card holder 302 and the first power management chip 301 . The level conversion device is used to convert voltage to provide a suitable voltage for the SIM card holder 302 .

[0079] The switch unit 303 is turned off when the SIM card holder 302 is subjected to an external surge or a DC overvoltage, and is turned on when the SIM card holder 302 is not subjected to an external surge or a DC overvoltage.

[0080] The control module 304 is used to control the switch unit 303 to be turned off when subjected to external surge or DC overvoltage. The control module 304 is also used to control the switch unit 303 to be turned on when the SIM card holder 302 is not subjected to external surge or DC overvoltage.

[0081] In a possible implementation, the switch unit 303 is composed of a switch tube.

[0082] In some embodiments, the switch unit 303 is composed of an N-type switch tube. Figure 4A As shown, the switch unit 303 includes a switch tube Q1 . The first pole of Q1 is connected to the first power management chip 301 , the second pole of Q1 is connected to the SIM card holder 302 , and the third pole of Q1 is controlled by the control module 304 .

[0083] Adaptively, the control module 304 is used to control the voltage at the third pole of Q1 to be a first voltage. The voltage value of the first voltage is less than or equal to the sum of the threshold voltage of Q1 and the second voltage. The second voltage is the maximum voltage that the first power management chip can withstand. The switch tube Q1 can be a metal oxide semiconductor field-effect transistor (metal oxide semiconductor field-effect transistor, MOSFET), or an insulated gate bipolar transistor (insulated gate bipolar transistor, IGBT), or a power triode, a gallium nitride (GaN) transistor, or other types of power devices. The embodiment of the present application does not make specific limitations on this. The threshold voltage may also be referred to as a turn-on voltage, a conduction threshold voltage, etc.

[0084] Combine the following Figure 4A The working process of the protection circuit is explained.

[0085] The control module 304 controls the voltage at the third electrode of Q1 to be a first voltage. The first voltage is greater than or equal to the sum of the third voltage and the threshold voltage of Q1.

[0086] When there is no surge or DC overvoltage, the voltage at the third pole of Q1 is the first voltage, and the first power management chip 301 outputs the third voltage. The difference between the first voltage and the third voltage is greater than or equal to the threshold voltage of Q1, Q1 is turned on, and the third voltage output by the first power management chip 301 is transmitted to the SIM card holder 302.

[0087] The third voltage may be 3V or 1.8V. The third voltage corresponds to the SIM card installed in the SIM card holder 302. The embodiment of the present application does not limit the specific value of the third voltage.

[0088] When a surge or DC overvoltage exists, the fourth voltage enters the protection circuit through the SIM card holder 302. The voltage of the second pole of Q1 is raised. Adaptively, the voltage of the first pole of Q1 is raised. When the voltage of the first pole of Q1 is raised to a first value, the voltage difference between the voltage at the third pole of Q1 and the voltage at the first pole is less than the threshold voltage, and Q1 is turned off. The fourth voltage is the voltage caused by a surge or DC overvoltage.

[0089] When the surge or DC overvoltage disappears, the voltage at the first pole of Q1 is the third voltage. The voltage difference between the voltage at the third pole of the switch tube Q1 and the voltage at the first pole is greater than the threshold voltage, Q1 is turned on, and the second voltage output by the first power management chip 301 is transmitted to the SIM card holder 302 through Q1 to achieve normal operation of the SIM card installed in the SIM card holder 302.

[0090] For example, if the switch tube Q1 is an NMOS tube, the source (source, S pole) of Q1 is connected to the first power management chip 301, and the drain (drain, D pole) of Q1 is connected to the SIM card holder 302. The gate (gate, G pole) of Q1 is controlled by the control module 304.

[0091] For example, the threshold voltage of Q1 is 1V, the third voltage is 3V, the second voltage is 6V, and the fourth voltage is 10V. The voltage at the gate of Q1, that is, the first voltage, may be between 4V and 7V.

[0092] When there is no surge or DC overvoltage, the voltage at the gate of Q1 is between 4V and 7V, and the voltage at the source of Q1 is the third voltage 3V. The voltage difference between the gate and the source of Q1 is greater than or equal to the threshold voltage, and Q1 is turned on. The first power management chip 301 transmits a 3V voltage to the SIM card holder 302 through Q1.

[0093] When a surge or DC overvoltage exists, the fourth voltage enters the protection circuit through the SIM card holder 302. The fourth voltage causes the voltage at the drain of Q1 and the voltage at the source of Q1 to rise. When the voltage at the source of Q1 rises to the first value, the difference between the voltage at the gate of Q1 and the voltage at the source of Q1 is less than the threshold voltage, and Q1 is turned off.

[0094] If the voltage at the gate of Q1 (the first voltage) is 4V, the first value is 3V, the difference between the voltage at the gate of Q1 and the voltage at the source of Q1 is less than the threshold voltage, and Q1 is turned off; if the voltage at the gate of Q1 is 7V, the first value is 6V, the difference between the voltage at the gate of Q1 and the voltage at the source of Q1 is less than the threshold voltage, and Q1 is turned off.

[0095] In this way, the fourth voltage will not be transmitted to the first power management chip 301, thereby reducing damage to the first power management chip caused by surges, DC overvoltage, etc.

[0096] When the surge or DC overvoltage disappears, the voltage at the gate of Q1 is between 4V and 7V, and the voltage at the source of Q1 is the third voltage 3V. The voltage difference between the gate and the source of Q1 is greater than or equal to the threshold voltage, and Q1 is turned on. The first power management chip 301 transmits a 3V voltage to the SIM card holder 302 through Q1.

[0097] In summary, a protection circuit is added to the power supply path to control the third-pole voltage of the switch tube to be stable, so that the switch tube can be clamped within the threshold voltage during surge and overvoltage and be in the off state, thereby limiting the overvoltage of the power supply path to a certain range, providing protection for the power supply path and reducing damage to the first power management chip, power supply and other components.

[0098] In some other embodiments, the switch unit 303 is composed of two N-type switch tubes. Figure 4B As shown, the switch unit 303 includes a switch tube Q2 and a switch tube Q3.

[0099] The first pole of the switch tube Q2 is connected to the SIM card holder 302, the second pole of the switch tube Q2 is connected to the second pole of the switch tube Q3, the first pole of the switch tube Q3 is connected to the first power management chip 301, and the third pole of Q2 and the third pole of Q3 are both controlled by the control module 304. Taking the switch tube Q2 and the switch tube Q3 as NMOS as an example, the control module 304 is used to control the voltage at the third pole of Q3 to be the first voltage. The voltage value of the first voltage is less than or equal to the sum of the threshold voltage of Q3 and the second voltage. The second voltage is the maximum voltage that the first power management chip can withstand.

[0100] The switch tubes Q2 and Q3 may be metal oxide semiconductor field-effect transistors (MOSFET), insulated gate bipolar transistors (IGBT), power triodes, gallium nitride (GaN) transistors, or other types of power devices. The present application embodiment does not specifically limit this.

[0101] Combine the following Figure 4B The working process of the protection circuit is explained.

[0102] The second pole of Q2 is connected to the second pole of Q3 (it can also be called that the second pole of Q2 is coupled to the second pole of Q3), the voltage at the second pole of Q2 is the same as the voltage at the second pole of Q3; the voltage at the third pole of Q2 is the same as the voltage at the third pole of Q3.

[0103] The control module 304 controls the voltage at the third electrode of Q3 to be a first voltage, which is greater than or equal to the sum of the third voltage and the threshold voltage of Q3.

[0104] When there is no surge or DC overvoltage, the voltage at the third pole of Q3 is the first voltage, and the first power management chip 301 outputs the third voltage. The difference between the first voltage and the third voltage is greater than or equal to the threshold voltage of Q3, Q3 is turned on, and the third voltage output by the first power management chip 301 is transmitted to the SIM card holder 302. The voltage at the first pole of Q3 is transmitted to the first pole of Q2 via the second pole of Q3 and the second pole of Q2, and the difference between the voltage at the third pole of Q2 and the voltage at the first pole of Q2 is greater than the threshold voltage of Q2, and Q2 is turned on.

[0105] The third voltage may be 3V or 1.8V. The third voltage corresponds to the SIM card installed in the SIM card holder 302. The embodiment of the present application does not limit the specific value of the third voltage.

[0106] When a surge or DC overvoltage exists, the fourth voltage enters the protection circuit through the SIM card holder 302. The voltage of the first pole of Q2 rises. When the voltage of the first pole of Q2 rises to the second value, the voltage difference between the voltage at the third pole of Q2 and the voltage at the first pole is less than the threshold voltage, and Q2 is turned off. The fourth voltage is the voltage caused by a surge or DC overvoltage.

[0107] The voltage at the first pole of Q2 is transmitted to the first pole of Q3 via the second pole of Q2 and the second pole of Q3. When the voltage at the first pole of Q3 rises to the second value, the voltage difference between the voltage at the third pole of Q3 and the voltage at the first pole is less than the threshold voltage, and Q3 is turned off.

[0108] When the surge or DC overvoltage disappears, the voltage at the first pole of Q3 is the third voltage. The voltage difference between the voltage at the third pole of the switch tube Q3 and the voltage at the first pole is greater than the threshold voltage, and Q3 is turned on; the voltage at the first pole of Q3 is transmitted to the first pole of Q2 via the second pole of Q3 and the second pole of Q2, and the difference between the voltage at the third pole of Q2 and the voltage at the first pole of Q2 is greater than the threshold voltage of Q2, and Q2 is turned on. The second voltage output by the first power management chip 301 is transmitted to the SIM card holder 302 through Q3 and Q2 to realize the normal operation of the SIM card installed in the SIM card holder 302.

[0109] A protection circuit is added to the power supply path to control the third-pole voltage of the switch tube to be stable, so that the switch tube can be clamped within the threshold voltage during surge and overvoltage and be in the off state, thereby limiting the overvoltage of the power supply path to a certain range, providing protection for the power supply path and reducing damage to the first power management chip, power supply and other components.

[0110] Understandably, Figure 4A In the circuit shown, the switch unit uses a MOS tube, which may cause the SIM card holder 302 and the first power management chip 301 to be turned on through the parasitic diode on the high-power MOS tube. Figure 4B The circuit shown uses two high-power MOS tubes, which can further reduce the conduction between the SIM card holder 302 and the first power management chip 301 through the parasitic diode.

[0111] Combine the following Figure 5A-Figure 6 right Figure 3 The specific structure of the control module 304 corresponding to the switch unit shown is described.

[0112] For example, Figure 5A A schematic diagram of the structure of a control module 304 is provided for an embodiment of the present application. Figure 5A As shown, the control module 304 includes: a second power management chip 501 , a first voltage dividing unit 502 , and a second voltage dividing unit 503 .

[0113] The second power management chip 501 is connected to one end of the first voltage divider 502, the other end of the first voltage divider 502 is connected to one end of the second voltage divider 503, and the other end of the second voltage divider 503 is grounded. The other end of the first voltage divider 502 is connected to the third pole of the switch unit 303.

[0114] The first voltage dividing unit 502 and the second voltage dividing unit 503 are used to adjust the voltage output by the second power management chip 501 so that the voltage at the third pole of the switch unit 303 is the first voltage.

[0115] The first voltage dividing unit 502 and the second voltage dividing unit 503 may both include one or more resistors. The structure of the first voltage dividing unit 502 is not limited in the embodiment of the present application.

[0116] Exemplarily, as shown in 5A, the first voltage divider unit 502 includes: a resistor R1, and the second voltage divider unit 503 includes: a resistor R2. The second power management chip 501 is connected to one end of the first voltage divider unit 502, the other end of the resistor R1 is connected to one end of the resistor R2, and the other end of the resistor R2 is grounded. The other end of the resistor R1 is connected to the third pole of the switch unit 303.

[0117] The resistor R1 and the resistor R2 are used to adjust the voltage output by the second power management chip 501 so that the voltage at the third pole of the switch unit 303 is the first voltage.

[0118] In the embodiment of the present application, the second power management chip 401 outputs the fifth voltage. The first voltage dividing unit 502 and the second voltage dividing unit 503 divide the fifth voltage so that the voltage at the third pole of the switch unit 303 is the first voltage.

[0119] For example, Figure 4A As an example of the circuit shown in the figure, the first voltage satisfies; Figure 4B Taking the circuit shown as an example, the first voltage satisfies.

[0120] Exemplarily, the voltage value of the fifth voltage may be any value between 7 V and 8.5 V. After voltage division by the resistor R1 and the resistor R2, the voltage value at the third pole of the switch unit may be any value between 4.5 V and 5.5 V.

[0121] In the embodiment of the present application, the ratio of the resistance values ​​of the resistor R1 to the resistor R2 is related to the fifth voltage and the first voltage. The ratio of the first voltage to the fifth voltage is equal to R2 / (R1+R2).

[0122] For example, taking the fifth voltage as 7.5V and the first voltage as 5V as an example, the resistance value of the resistor R1 may be 200 kilo-ohms, and the resistance value of the resistor R2 may be 400 kilo-ohms. The specific resistance values ​​of R1 and R2 are not specifically limited in the embodiment of the present application.

[0123] In some embodiments, the second power management chip includes a boost structure. The boost structure is used to boost the voltage input to the first port so that the voltage output by the second power management chip is greater than or equal to the first voltage. In this way, the voltage output by the second power management chip is adjusted by the boost structure to adapt to different SIM cards, thereby improving the practicality of the circuit.

[0124] In this way, the second power management chip can be powered by a relatively small voltage, and the switch unit can be controlled, which is easy to implement and consumes less power.

[0125] For example, Figure 5B This is a schematic diagram of the structure of a second power management chip provided in an embodiment of the present application. Figure 6 As shown, the second power management chip includes: a boost structure 502. The boost structure 502 is composed of an inductor L1, a switch tube M1, a diode D1 and a capacitor C1.

[0126] One end of the inductor L1 is connected to the first port, the other end of the inductor L1 is connected to the first electrode of the switch tube M1, the second electrode of the switch tube M1 is grounded, the first electrode of the switch tube M1 is connected to one end of the diode, the other end of the diode is connected to one end of the capacitor C1, and the other end of the capacitor C1 is connected to the second electrode of the switch tube M1.

[0127] The first port is used to input voltage. The first port can be a positive electrode of a battery, a port for inputting analog power, a port for inputting digital power, or other ports for inputting voltage. This embodiment of the application does not limit this.

[0128] The working principle of the boost structure 502 is described below.

[0129] It should be noted that when the switch tube M1 of the boost structure is turned on, the voltage inputted from the first port flows through the inductor L1 and the switch tube M1. In this process, the current on the inductor L1 increases linearly at a certain ratio, and the inductor stores energy.

[0130] When the switch tube M1 is turned off, due to the current holding characteristic of the inductor, the current flowing through the inductor slowly changes from the value when charging is completed to 0. The inductor L1 charges the capacitor C1, the voltage difference across the capacitor C1 increases, and the voltage output by the boost structure 502 is greater than the voltage input by the boost structure 502.

[0131] When the switch tube M1 is repeatedly turned on and off, the voltage difference across the capacitor C1 is higher than the voltage input to the boost structure 502 , and the voltage output by the boost structure 502 is higher than the voltage input to the boost structure 502 .

[0132] It should be noted that Figure 5B The boost structure shown is only an example, and the boost process can also be achieved through other structures, which is not limited here.

[0133] In some embodiments, the second power management chip 501 is also used to drive and control other modules. The other modules may be a power management unit (PMU) or other types of modules, which is not limited in the embodiments of the present application.

[0134] Below Figure 5A The working process of the circuit shown is explained.

[0135] When there is no surge or DC overvoltage, the voltage output by the second power management chip 401 is divided by the resistor R1 and the resistor R2, and the voltage transmitted to the third pole of Q1 is the first voltage, and the switching unit 303 is turned on.

[0136] The first power management chip 301 outputs a third voltage. The difference between the first voltage and the third voltage is greater than or equal to the threshold voltage of Q1, Q1 is turned on, and the third voltage output by the first power management chip 301 is transmitted to the SIM card socket 302.

[0137] When there is a surge or DC overvoltage, the fourth voltage enters the protection circuit through the SIM card socket 302. The voltage at the second pole of Q1 rises. Adaptively, the voltage at the first pole of Q1 rises.

[0138] Since the resistor R1 and the resistor R2 divide the voltage output by the second power management chip 401, the voltage at the third pole of Q1 is the first voltage.

[0139] When the voltage at the first pole of Q1 rises to the first value, the voltage difference between the voltage at the third pole of Q1 and the voltage at the first pole is less than the threshold voltage, and Q1 is turned off. The fourth voltage is the voltage caused by the surge or DC overvoltage. The fourth voltage is the voltage caused by the surge or DC overvoltage.

[0140] When the surge or DC overvoltage disappears, the voltage at the first pole of Q1 is the third voltage. The voltage difference between the voltage at the third pole of Q1 and the voltage at the first pole is greater than the threshold voltage, Q1 is turned on, and the second voltage output by the first power management chip 301 is conducted to the SIM card socket 302 through Q1 to realize the normal operation of the SIM card assembled in the SIM card socket 302.

[0141] Taking Q1 as an NMOS, the first value is 5V, and the threshold voltage of Q1 is 1V as an example. When there is a surge or DC overvoltage, the fourth voltage is transmitted to Q1 through the SIM card socket 302. The fourth voltage causes the voltage at the drain of Q1 and the voltage at the source of Q1 to rise. When the voltage at the source of Q1 rises to 4V, the voltage difference between the voltage at the gate of Q1 and the voltage at the source of Q1 is less than the threshold voltage, that is, Vg-Vs<Vgs(th), and Q1 is turned off.

[0142] When the surge or DC overvoltage disappears, the voltage at the source of Q1 is the third voltage. The voltage difference between the voltage at the gate of Q1 and the voltage at the source is greater than the threshold voltage, Q1 is turned on, and the third voltage output by the first power management chip 301 is conducted to the SIM card socket 302 through Q1 to realize the normal operation of the SIM card assembled in the SIM card socket 302.

[0143] In this way, a protection circuit is added to the power supply path, and the third-pole voltage of the switch tube is controlled to be stable through resistance voltage division, so that the switch tube can be clamped within the threshold voltage during surge and overvoltage and be in the off state, thereby limiting the overvoltage of the power supply path to a certain range to provide protection for the power supply path and reduce damage to the first power management chip, power supply and other components.

[0144] In some embodiments, Q1 may be a CBST module driver MOS tube that is exclusive to the 8550 platform.

[0145] For example, Figure 6 A schematic diagram of the structure of a control module 304 is provided for an embodiment of the present application. Figure 6 As shown, the control module 304 includes: a programmable power chip 601. The output end of the programmable power chip 601 is connected to the third pole of the switch unit 303.

[0146] The programmable power chip 601 is used to control the voltage at the third pole of the switch unit to be the first voltage.

[0147] Taking the switch unit including Q1 as an example, the following Figure 6 The working process of the circuit shown is explained.

[0148] When there is no surge or DC overvoltage, the programmable power chip 601 outputs a first voltage. The first power management chip 301 outputs a third voltage. The difference between the first voltage and the third voltage is greater than or equal to the threshold voltage of Q1, Q1 is turned on, and the third voltage output by the first power management chip 301 is transmitted to the SIM card holder 302.

[0149] When a surge or DC overvoltage exists, the fourth voltage enters the protection circuit through the SIM card holder 302. The voltage of the second pole of Q1 is raised. Adaptively, the voltage of the first pole of Q1 is raised. When the voltage of the first pole of Q1 is raised to the first value, the voltage difference between the fourth voltage and the voltage at the first pole of Q1 is less than the threshold voltage, and Q1 is turned off.

[0150] When the surge or DC overvoltage disappears, the voltage at the first pole of Q1 is the third voltage. The programmable power chip 601 outputs the first voltage. The voltage difference between the first voltage and the voltage at the first pole of Q1 is greater than the threshold voltage, Q1 is turned on, and the third voltage output by the first power management chip 301 is transmitted to the SIM card holder 302 through Q1 to achieve normal operation of the SIM card installed in the SIM card holder 302.

[0151] For example, Figure 7 A schematic diagram of the structure of a programmable power supply provided in an embodiment of the present application. Figure 7As shown, the programmable power supply includes: a voltage adjustment unit 701 , a feedback module 702 , a control logic 703 and a driving module 704 .

[0152] The voltage adjustment unit 701 is used to adjust the voltage output by the programmable power supply so as to adjust the voltage at the third pole of the switch unit.

[0153] In some embodiments, the voltage adjustment unit 701 is composed of 4 switch tubes and 1 inductor. Figure 7 As shown, the voltage adjustment module includes: a switch tube A1, a switch tube A2, a switch tube A3, a switch tube A4 and an inductor.

[0154] Figure 7 The medium voltage adjustment unit can work in two modes, namely, boost mode and buck mode.

[0155] In boost mode, A1 is turned on, A2 is turned off, and A3 and A4 are turned on alternately. When A3 is turned on, the inductor is charged and stored, and when A3 is turned off, the inductor is discharged through A4.

[0156] In buck mode, A1 and A2 are turned on alternately, A3 is turned off, and A4 is turned on. When A1 is turned on, the voltage input to the Vin pin passes through A1, the inductor, and A4 to the output Vout pin; when A2 is turned on, the inductor discharges through A4.

[0157] The feedback module 702 is used to feed back the error between the preset voltage and the voltage actually output by the voltage adjustment unit 701 to the control logic 703. The preset voltage is the voltage that the voltage adjustment unit 701 should output, or can be understood as the voltage that the voltage adjustment unit 701 theoretically outputs or a preset output voltage.

[0158] In some embodiments, the feedback module 702 includes: an error amplifier, a comparator, a reference source Vref and an adjustable resistor. The error amplifier and the comparator are used to obtain the error between the preset voltage and the voltage actually output by the adjustment unit 701 .

[0159] The control logic 703 is used to output an adjustment signal to the driving module 704 .

[0160] The driving module 704 is used to drive the voltage adjustment unit 701 based on the adjustment signal to adjust the voltage actually output by the voltage adjustment unit 701. Exemplarily, the driving module 704 is used to drive the duty cycle and switching frequency of each switch in the voltage adjustment unit 701 based on the adjustment signal.

[0161] The driving module 704 is used to adjust the voltage output by the programmable power supply to a first voltage based on the voltage fed back by the feedback module 702 .

[0162] In some embodiments, the first module further includes an interface control module 705. The interface control module 705 adjusts the feedback module 702, the control logic 703, etc. based on the signal transmitted from the controller to adjust the first voltage. In this way, the first module can also adjust the voltage value corresponding to the first voltage based on SIM cards of different specifications to improve practicality.

[0163] In the above Figure 3-Figure 7 Based on the embodiment shown, the control module 304 is further used to adjust the first voltage based on the third voltage output by the first power management chip 301. The first voltage is less than the sum of the second voltage and the threshold voltage. The first voltage is greater than or equal to the sum of the third voltage and the first value. The first value is greater than or equal to the threshold voltage.

[0164] Exemplarily, if the third voltage is 1.8V, the threshold voltage is 1V, and the first value is 1.5, the first voltage may be 3.3V; if the third voltage is 3V, the threshold voltage is 1V, and the first value is 1.5, the first voltage may be 4.5V.

[0165] In this way, the first voltage can be dynamically adjusted based on the SIM card installed in the SIM card holder, which is applicable to SIM cards of various voltage specifications, thereby increasing the practicality of the protection circuit. In addition, when the voltage required by the SIM card installed in the SIM card holder is relatively small, the first voltage is relatively small, thereby reducing the energy consumption of the terminal device.

[0166] In some embodiments, the control module detects the voltage output by the first power management chip 301 and adjusts the first voltage according to the detected voltage.

[0167] In the above Figure 3-Figure 7 Based on the embodiment shown, the control module 304 is connected to the controller (such as Figure 8 As shown). The control module 304 adjusts the first voltage based on the signal transmitted by the controller. The first voltage is less than the sum of the second voltage and the threshold voltage. The first voltage is greater than or equal to the sum of the third voltage and the first value. The first value is greater than or equal to the threshold voltage.

[0168] In a possible implementation, when the controller in the terminal device sends a first signal to the first power management chip 301, the controller sends a second signal to the control module 304, the first signal is used to indicate that the third voltage is a fourth value; the second signal is used to indicate that the first voltage is a fifth value. The second signal can also be used to indicate that the third voltage is a fourth value, and the control module 304 adjusts the voltage value corresponding to the first voltage based on the fourth value.

[0169] Exemplarily, when the fourth value is 1.8V, the fifth value may be 3.3V; when the fourth value is 3V, the fifth value may be 4.5V.

[0170] Exemplarily, the control module of the controller transmits a first signal to the first power management chip 301 via the SPMI bus, the first signal being used to indicate that the third voltage is 1.8V, and the controller transmits a second signal to the control module 304, the second signal being used to indicate that the first voltage is 3.3V.

[0171] It is understandable that Figure 5A Taking the control module shown in FIG. 1 as an example, the control module can adjust the first voltage by detecting the adjustment of the voltage output by the first power management chip 301; the control module can also adjust the resistance value of the resistor R1 and the resistance value of the resistor R2 to adjust the first voltage. Figure 6 Taking the control module shown as an example, the first voltage output by the programmable power chip 601 can be adjusted along with the third voltage output by the first power management chip 301 .

[0172] In some embodiments, the first voltage is the sum of the second voltage and the threshold voltage.

[0173] Exemplarily, if the third voltage is 1.8V and the threshold voltage is 1V, the first voltage is 2.8V. If the third voltage is 3V and the threshold voltage is 1V, the first voltage is 4V.

[0174] In this way, the voltage value of the first voltage can be determined based on the voltage required by the SIM card installed in the SIM card holder, thereby reducing the energy consumption of the terminal device. In addition, in this way, when a surge or a DC overvoltage exists, the first electrode of the MOS tube can be fixed at the third voltage, thereby reducing the damage to the first power management chip, the power supply, etc. caused by the surge or the DC overvoltage.

[0175] In a possible implementation, the switch unit 303 is composed of switches. For example, Fig. 9 As shown, the switch unit 303 includes a switch 901 .

[0176] Correspondingly, in some embodiments, the control module 304 is used to control the switch 901 to open when the voltage at the SIM card holder is greater than the third value. The control module 304 is used to control the switch 901 to close when the voltage at the SIM card holder is less than the third value. The third value is less than the second voltage, the third value is greater than or equal to the third voltage, and the second voltage is the maximum voltage that the first power management chip can withstand. The third voltage is the voltage output by the first power management chip.

[0177] In this way, the control module can interrupt the connection between the SIM card holder and the first power management chip through switch 901 when a surge or DC overvoltage exists; when the surge or DC overvoltage disappears, the control module can continue the connection between the SIM card holder and the first power management chip through switch 91.

[0178] Optionally, the third value may be adjusted along with the adjustment of the third voltage output by the first power management chip 301. Adaptively, the control module 304 is further configured to adjust the third value based on the detection of the third voltage output by the first power management chip 301.

[0179] Specifically, the third value is the sum of the third voltage and the fourth value. The fourth value is a fixed value.

[0180] Exemplarily, if the third voltage is 1.8V and the fourth value is 1.5, the third value may be 3.3V; if the third voltage is 3V and the fourth value is 1.5, the third value may be 4.5V.

[0181] In this way, the first voltage can be dynamically adjusted based on the SIM card installed in the SIM card holder, which is applicable to SIM cards of various voltage specifications, thereby increasing the practicality of the protection circuit. In addition, when the voltage required by the SIM card installed in the SIM card holder is relatively small, the first voltage is relatively small, thereby reducing the energy consumption of the terminal device.

[0182] In some embodiments, the third value is a voltage value corresponding to the third voltage.

[0183] Exemplarily, if the third voltage is 1.8V, the third value is 2.8V. If the third voltage is 3V, the third value is 4V.

[0184] In this way, the voltage value of the first voltage can be determined based on the voltage required by the SIM card installed in the SIM card holder, thereby reducing the energy consumption of the terminal device. In this way, when a surge or a DC overvoltage exists, the connection between the switch unit and the first power management chip can be fixed at the third voltage, thereby reducing the damage to the first power management chip, the power supply, etc. caused by the surge or the DC overvoltage.

[0185] It is understandable that the above embodiment is described by taking one SIM card holder as an example. The terminal device may include multiple SIM card holders to assemble multiple SIM cards. Each SIM card holder may correspond to the above Figure 3-5B Any of the protection circuits shown.

[0186] An embodiment of the present application provides a terminal device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the above method.

[0187] An embodiment of the present application provides a terminal device, which includes: the protection circuit provided in the above embodiment.

[0188] Optionally, the terminal device further includes a controller, and the controller is used to adjust the voltage output by the first power management chip in the protection circuit based on the SIM card assembled in the SIM card holder.

[0189] In this way, the voltage output by the first power management chip is adjusted based on the SIM card to adapt to different SIM cards, thereby improving practicality. In a fourth aspect, an embodiment of the present application provides a control method.

[0190] Optionally, the controller is further configured to adjust a voltage value of a first voltage output by a control unit in the protection circuit based on a SIM card mounted on the SIM card holder.

[0191] In this way, the first voltage in the protection circuit is adjusted based on the SIM card to adapt to different SIM cards, thereby improving practicality.

[0192] For example, Fig.10 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Fig.10 As shown, the terminal device includes: the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0193] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0194] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0195] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0196] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0197] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0198] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the terminal device. In other embodiments of the present application, the terminal device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0199] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through a wireless charging coil of a terminal device. While the charging management module 140 is charging the battery 142, it can also power the electronic device through the power management module 141.

[0200] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0201] It can be understood that the power supply in the protection circuit in the above embodiment corresponds to Fig.10 The battery 142 in the embodiment. The charging interface corresponds to the USB interface 130. The power management module 141 includes the protection circuit shown in the above embodiment.

[0202] In some embodiments, the power management module 141 is located in the processor.

[0203] The terminal device implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0204] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0205] The terminal device can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0206] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0207] The camera 193 is used to capture static images or videos. In some embodiments, the terminal device may include 1 or N cameras 193, where N is a positive integer greater than 1. The types of the multiple cameras 193 may be different. For example, the camera 193 may include a camera for acquiring color images or a TOF camera, etc. In the embodiment of the present application, the camera may be understood as a camera. The camera includes: an AO camera, a TOF camera, etc. in the embodiment of the present application.

[0208] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0209] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 can include a program storage area and a data storage area.

[0210] The terminal device can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.

[0211] The button 190 includes a power button, a volume button, etc. The button 190 may be a mechanical button. It may also be a touch button. The terminal device may receive the button input and generate a key signal input related to the user settings and function control of the terminal device. The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, message, missed call, notification, etc.

[0212] In addition, on top of the above components, the device also runs an operating system, such as an iOS operating system, an Android operating system, or a Windows operating system, etc. Applications can be installed and run on the operating system.

[0213] The software system of the terminal device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, etc., which will not be elaborated here.

[0214] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.

[0215] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The above method is implemented when the computer program is executed by the processor. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.

[0216] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.

[0217] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.

[0218] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0219] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0220] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.

Claims

1. A protection circuit, characterized in that: include: A first power management chip, a SIM card holder, a switch unit and a control module; The first power management chip is connected to the first pole of the switch unit, the SIM card holder is connected to the second pole of the switch unit, and the third pole of the switch unit is controlled by the control module; The first power management chip is used to supply power to the SIM card holder via the switch unit; The SIM card holder is used to assemble a SIM card; The control module is used to output a first voltage so that the switch unit is in an off state when subjected to an external surge or a DC overvoltage, and the switch unit is in an on state when not subjected to an external surge or a DC overvoltage; The voltage value of the first voltage is greater than the sum of the voltage output by the first power management chip and the threshold voltage of the switch tube in the switch unit.

2. The protection circuit according to claim 1, characterized in that: The switch unit includes a first switch tube Q1; The first pole of Q1 is connected to the first power management chip, the second pole of Q1 is connected to the SIM card holder, and the third pole of Q1 is controlled by the control module; The voltage value of the first voltage is less than or equal to the sum of the threshold voltage of Q1 and the second voltage; the second voltage is the maximum voltage that the first power management chip can withstand.

3. The protection circuit according to claim 2, characterized in that: The control module is further used to adjust the first voltage based on the voltage value output by the first power management chip; The first voltage is greater than the sum of the voltage output by the first power management chip and a first value, the first value is greater than or equal to the threshold voltage of Q1, and the first value is a constant value.

4. The protection circuit according to claim 1, characterized in that: The switch unit includes a second switch tube Q2 and a third switch tube Q3; The first pole of Q2 is connected to the SIM card holder, the second pole of Q2 is connected to the second pole of Q3, the first pole of Q3 is connected to the first power management chip, and the third pole of Q2 and the third pole of Q3 are both controlled by the control module; The voltage value of the first voltage is less than or equal to the sum of the threshold voltage of Q3 and the second voltage; the second voltage is the maximum voltage that the first power management chip can withstand.

5. The protection circuit according to any one of claims 1 to 4, characterized in that: The control module includes: a first voltage dividing unit, a second voltage dividing unit and a second power management chip; The second power management chip is connected to one end of the first voltage dividing unit, the other end of the first voltage dividing unit is connected to one end of the second voltage dividing unit, the other end of the second voltage dividing unit is grounded, and the other end of the first voltage dividing unit is connected to the third pole of the switch unit; The first voltage dividing unit and the second voltage dividing unit are used to adjust the voltage output by the second power management chip so that the voltage at the third pole of the switch unit is the first voltage.

6. The protection circuit according to claim 5, characterized in that: The first voltage dividing unit includes a first resistor R1, and the second voltage dividing unit includes a second resistor R2; The second power management chip is connected to one end of the R1, the other end of the R1 is connected to one end of the R2, the other end of the R2 is grounded, and the other end of the R1 is connected to the third pole of the switch unit; The R1 and the R2 are used to adjust the voltage output by the second power management chip so that the voltage at the third pole of the switch unit is the first voltage.

7. The protection circuit according to claim 5 or 6, characterized in that: The second power management chip includes a boost structure, and the boost structure is used to boost the voltage input to the second power management chip so that the voltage output by the second power management chip is greater than or equal to the first voltage.

8. The protection circuit according to any one of claims 1 to 4, characterized in that: The control module includes: a programmable power chip; The programmable power chip is used to control the voltage at the third pole of the switch unit to be the first voltage.

9. The protection circuit according to claim 8, characterized in that: The programmable power chip includes: a voltage adjustment module, a feedback module, a control logic and a driving module; The voltage adjustment unit is used to adjust the first voltage output by the programmable power supply; The feedback module is used to feed back the error between the preset voltage and the voltage actually output by the voltage adjustment unit to the control logic; the preset voltage is the output voltage preset by the voltage adjustment unit; The control logic is used to output an adjustment signal to the driving module; The driving module is used for driving the voltage adjustment unit based on the adjustment signal to adjust the voltage actually output by the voltage adjustment module.

10. The protection circuit according to claim 9, characterized in that: The programmable power chip further includes: an interface control module; The interface control module is used to adjust a voltage value corresponding to the first voltage output by the programmable power chip based on a signal transmitted from a controller.

11. A terminal device, characterized in that: The protective circuit comprises the protection circuit described in any one of claims 1 to 10.

12. The terminal device according to claim 11, characterized in that: The terminal device also includes a controller, which is used to adjust the voltage output by the first power management chip in the protection circuit based on the SIM card installed in the SIM card holder.

13. The terminal device according to claim 12, characterized in that: The controller is further used to adjust the voltage value of the first voltage output by the control unit in the protection circuit based on the SIM card installed in the SIM card holder.