Anti-burning card control device and anti-burning card control method
By designing the anti-cracking control device of detectors and switching devices in the user terminal, the problem of easily burning the card during hot swapping is solved, and the effect of improving performance stability and reducing production costs is achieved.
Patent Information
- Application Number
- CN201710181449.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-03-24
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2037-03-24
Smart Images

Figure CN108628788B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of control technology, and in particular to an anti-burning card control device and an anti-burning card control method. Background Art
[0002] With the continuous development of science and technology and the continuous improvement of people's living standards, user terminals (mobile phones, tablets, etc.) have been widely used. At the same time, with the change of technology, built-in battery design has become the mainstream trend of user terminal battery design. In this context, the hot-swap technology of SIM (Subscriber Identification Module) card and TF (Trans-flash) card has also won the favor of more and more users. The so-called hot-swap refers to the insertion or removal of components of electronic equipment when it is powered on, which allows users to remove and replace components on electronic equipment without shutting down the system or cutting off the power. For users who need to frequently replace SIM cards and TF cards, the hot-swap design enables users to replace SIM cards, TF cards, etc. when the system is turned on, which can bring great convenience to users.
[0003] With the increasing abundance of user terminal products on the market, SIM cards, TF cards, etc. used in user terminals often need to be hot-swapped. However, the traditional hot-swappable design only considers the on and off of the card power supply. In fact, in the process of plugging and unplugging the card, the signal pins of SIM cards, TF cards, etc. may touch the positive pole of the card power supply and the negative pole of the card power supply. If there is residual charge on the card power supply, it will cause a short circuit, thereby burning the card. At present, the mainstream solution is to avoid the occurrence of card burning from a structural perspective, that is, to add a fast discharge switch control chip to the positive pole of the card power supply. However, this solution has the following two defects: on the one hand, due to the performance and supply restrictions of the fast discharge switch control chip, the production cost is high and the mass production risk is high; on the other hand, the effect of this method is poor. Even if a fast discharge switch control chip is added, the card burning phenomenon still occurs from time to time. Therefore, how to effectively prevent the occurrence of card burning during hot plugging and reduce production costs and risks is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present invention provides an anti-card burning control device and an anti-card burning control method, which are used to solve the problem that a card is easily burned during hot plugging, improve the performance stability of a user terminal, reduce production costs, and reduce mass production risks.
[0005] In order to solve the above problems, the present invention provides an anti-burning card control device, including a card socket for installing a card and a card power supply for supplying power to the card, and also includes: a detector for detecting the state change of the card socket during hot plugging; a switching device for grounding the card power supply when the card socket changes from an inserted state to an unplugged state to release the residual charge on the card power supply.
[0006] Preferably, the state change of the card holder includes changing from a pulled-out state to an inserted state or from an inserted state to a pulled-out state.
[0007] Preferably, a first end of the switch device is connected to the card power supply, a second end is grounded, and a control end of the switch device is connected to the detector.
[0008] Preferably, when the detector detects that the card holder changes from a pulled-out state to an inserted state, the detector outputs a low-level signal to the switch device; and / or
[0009] When the detector detects that the card holder changes from the inserted state to the pulled-out state, the detector outputs a high level signal to the switch device.
[0010] Preferably, the switching device includes a first switching element, a second switching element and a third switching element.
[0011] Preferably, the first switching element is an NMOS transistor, whose source is connected to the detector, the gate is connected to the input bias voltage, and the drain is connected to the system power supply; the second switching element is a PMOS transistor, whose source and gate are commonly connected to the system power supply, and the drain is connected to the card power supply; the third switching element is an NMOS transistor, whose source is grounded, the drain is connected to the card power supply, and the gate is connected to the detector.
[0012] Preferably, when the detector detects that the card holder changes from a pulled-out state to an inserted state, the detector outputs a high-level signal to the switch device; and / or
[0013] When the detector detects that the card holder changes from the inserted state to the pulled-out state, the detector outputs a low-level signal to the switch device.
[0014] Preferably, the switching device includes a fourth switching element, a fifth switching element and a sixth switching element.
[0015] Preferably, the fourth switching element is an NMOS transistor, whose gate is connected to the detector, the source is grounded, and the drain is connected to the system power supply; the fifth switching element is a P MOS transistor, whose gate and source are commonly connected to the system power supply, and the drain is connected to the card power supply; the sixth switching element is an NMOS transistor, whose gate is connected to the system power supply, the source is grounded, and the drain is connected to the card power supply.
[0016] The present invention also provides an anti-burning card control method, comprising the following steps: providing a detector for detecting the state change of the card socket during hot plugging, the state change of the card socket including changing from an unplugged state to an inserted state and from an inserted state to an unplugged state; providing a switch device, a first end of which is connected to a card power supply and a second end is grounded, and a control end of the switch device is connected to the detector, for grounding the card power supply when the card socket changes from an inserted state to an unplugged state, so as to release the residual charge on the card power supply; the detector detects whether the card socket changes from an inserted state to an unplugged state, and if so, the card power supply is grounded through the switch device.
[0017] Preferably, the detector outputs a low-level signal to the switch device when detecting that the card holder changes from an unplugged state to an inserted state; the detector outputs a high-level signal to the switch device when detecting that the card holder changes from an inserted state to an unplugged state.
[0018] Preferably, the following steps are also included: the switching device includes a first switching element, a second switching element and a third switching element; the first switching element is an NMOS transistor, whose source is connected to the detector, the gate is connected to the input bias voltage, and the drain is connected to the system power supply; the second switching element is a PMOS transistor, whose source and gate are commonly connected to the system power supply, and the drain is connected to the card power supply; the third switching element is an NMOS transistor, whose source is grounded, the drain is connected to the card power supply, and the gate is connected to the detector; when the card holder is in the unplugged state, the first switching element and the second switching element are both disconnected, the third switching element is turned on, and the card power supply is grounded through the third switching element.
[0019] Preferably, the detector outputs a high-level signal to the switch device when detecting that the card holder changes from an unplugged state to an inserted state; the detector outputs a low-level signal to the switch device when detecting that the card holder changes from an inserted state to an unplugged state.
[0020] Preferably, the following steps are also included: the switching device includes a fourth switching element, a fifth switching element and a sixth switching element; the fourth switching element is an NMOS transistor, whose gate is connected to the detector, the source is grounded, and the drain is connected to the system power supply; the fifth switching element is a PMOS transistor, whose gate and source are commonly connected to the system power supply, and the drain is connected to the card power supply; the sixth switching element is an NMOS transistor, whose gate is connected to the system power supply, the source is grounded, and the drain is connected to the card power supply; when the card socket changes from an inserted state to an unplugged state, the fourth switching element and the fifth switching element are both disconnected, the sixth switching element is turned on, and the card power supply is grounded through the sixth switching element.
[0021] The anti-card burn control device and the anti-card burn control method provided by the present invention, when detecting that the card socket changes from an inserted state to an unplugged state, discharge the residual charge on the card power supply to the ground through a switching device, effectively solving the problem that the card is easily burned during the hot plugging process, improving the performance stability of the user terminal, reducing production costs, and reducing mass production risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Attached Figure 1 It is a schematic structural diagram of an anti-burning card control device according to a first specific embodiment of the present invention;
[0023] Attached Figure 2 It is a circuit diagram of an anti-burn card control device according to a first specific embodiment of the present invention;
[0024] Attached Figure 3 It is a flow chart of the anti-burning card control method according to the first specific embodiment of the present invention;
[0025] Attached Figure 4 It is a circuit diagram of an anti-burning card control device according to a second specific embodiment of the present invention. DETAILED DESCRIPTION
[0026] The specific implementation methods of the anti-burning card control device and the anti-burning card control method provided by the present invention are described in detail below with reference to the accompanying drawings.
[0027] First specific embodiment
[0028] This specific embodiment provides an anti-burn card control device, Figure 1 FIG. 1 is a schematic diagram of the structure of the anti-burning control device according to the first specific embodiment of the present invention. Figure 1As shown, the card burning prevention control device provided in this specific embodiment includes a card holder 11 for installing a card and a card power supply 12 for supplying power to the card. The card holder 11 and the card power supply 12 can be configured in a manner well known to those skilled in the art, and this specific embodiment does not limit this. In order to prevent the SIM card, TF card and other cards from being burned due to a short circuit during the hot plugging process, especially after the card holder is pulled out, the card burning prevention control device described in this specific embodiment also includes a detector 13 and a switch device 14. The detector 13 is used to detect the state change of the card holder during the hot plugging process, and the state change of the card holder includes changing from the unplugged state to the inserted state and from the inserted state to the unplugged state, wherein changing from the unplugged state to the inserted state refers to the instantaneous state change of inserting the card holder into the card slot, and changing from the inserted state to the unplugged state refers to the instantaneous state change of pulling the card holder out of the card slot; the switch device 14, the first end of the switch device 14 is connected to the card power supply 12, the second end is grounded, and the control end of the switch device 14 is connected to the detector 13, and is used to ground the card power supply 12 when the card holder 11 changes from the inserted state to the unplugged state, so as to release the residual charge on the card power supply 12. That is, the detector 13 detects the state change of the card holder and sends the detection information to the switch device 14, and the switch device 14 decides whether to ground the card power supply 12 according to the received signal. In this way, when the card holder 11 changes from an inserted state to an unplugged state, the residual charge on the card power supply 12 can be promptly grounded and released through the switch device 14, effectively preventing the problem of burning of the card due to a short circuit between the card and the card power supply during hot plugging, and the anti-burning card control device is simple to manufacture and low in cost.
[0029] In order to improve the performance stability of the anti-card burning control device and adapt to different card holder structures, preferably, the detector 13 outputs a low-level signal to the switch device 14 when detecting that the card holder 11 changes from a pulled-out state to an inserted state; the detector 13 outputs a high-level signal to the switch device 14 when detecting that the card holder 11 changes from an inserted state to a pulled-out state.
[0030] Attached Figure 2 FIG. 1 is a circuit diagram of a card burning prevention control device according to a first specific embodiment of the present invention. Figure 2As shown, in order to enable the anti-card burning device to quickly and effectively release the residual charge on the card power supply 12, it is more preferred that the switching device 14 includes a first switching element T1, a second switching element T2 and a third switching element T3; the first switching element T1 is an NMOS transistor, whose source is connected to the detector 13, the gate is connected to the input bias voltage (Input off set voltage, VIO) 16, and the drain is connected to the system power supply 15; the second switching element T2 is a PMOS transistor, whose source and gate are commonly connected to the system power supply 15, and the drain is connected to the card power supply 12; the third switching element T3 is an NMOS transistor, whose source is grounded, the drain is connected to the card power supply 12, and the gate is connected to the detector 13. For example, when the card holder 11 changes from the inserted state to the unplugged state, the external interrupt (EINT) of the card holder 11 is not triggered, and the detector 13 detects that the voltage at the card holder 11 is high (e.g., 1.8V). Since the system is not powered off during the hot plugging process, the input bias voltage 16 outputs a high level (e.g., 1.8V), so the first switch element T1 is disconnected; the system power supply 15 outputs a high level (e.g., 3V), so the second switch element T2 is disconnected; the third switch element T3 is turned on, and the residual charge on the card power supply 12 is grounded and released through the third switch element T3. When the card holder 11 changes from the unplugged state to the inserted state, the external interrupt of the card holder 11 is triggered, the detector 13 detects that the voltage at the card holder 11 is low (e.g., 0V), the third switch element T3 is disconnected, the first switch element T1 and the second switch element T2 are turned on, and the system power supply 15 normally distributes charge to the card power supply 12. In order to prevent the second switch element T2 from being burned out due to an overly high system power supply voltage, preferably, the drain and source of the second switch element T2 are connected via a diode.
[0031] The card burning prevention control device provided by the present invention, when detecting that the card socket changes from an inserted state to an unplugged state, discharges the residual charge on the card power supply to the ground through a switching device, thereby effectively solving the problem that the card is easily burned during the hot plugging process, improving the performance stability of the user terminal, reducing production costs, and reducing mass production risks.
[0032] This specific implementation also provides a card burning prevention control method. Figure 3 FIG. 1 is a flow chart of the anti-burning control method according to the first specific embodiment of the present invention. Figure 3 As shown, the anti-burning card control method provided in this specific embodiment includes the following steps:
[0033] Step S31, providing a detector for detecting the state change of the card holder during the hot plugging process, the state change of the card holder includes changing from an unplugged state to an inserted state and from an inserted state to an unplugged state, wherein changing from an unplugged state to an inserted state refers to the instantaneous state change of inserting the card holder into the card slot, and changing from an inserted state to an unplugged state refers to the instantaneous state change of pulling the card holder out of the card slot.
[0034] Step S32, providing a switch device, wherein the first end of the switch device is connected to the card power supply, the second end is grounded, and the control end of the switch device is connected to the detector, and is used to ground the card power supply when the card holder changes from the inserted state to the unplugged state, so as to release the residual charge on the card power supply. That is, the detector detects the state change of the card holder and sends the detection information to the switch device, and the switch device decides whether to ground the card power supply according to the received signal.
[0035] Step S33, the detector detects whether the card holder changes from the inserted state to the unplugged state, and if so, the card power supply is grounded through the switch device. In this way, when the card holder changes from the inserted state to the unplugged state, the residual charge on the card power supply can be timely discharged to the ground through the switch device, effectively preventing the problem of burning due to the short circuit between the card and the card power supply during the hot plug process, and the anti-burning card control device is simple to manufacture and low in cost.
[0036] In order to improve the performance stability of the anti-card burning control device and adapt to different card holder structures, preferably, the detector outputs a low-level signal to the switch device when detecting that the card holder changes from a pulled-out state to an inserted state; the detector outputs a high-level signal to the switch device when detecting that the card holder changes from an inserted state to a pulled-out state.
[0037] In order to enable the anti-card burning device to quickly and effectively release the residual charge on the card power supply, more preferably, the anti-card burning method also includes the following steps: the switching device includes a first switching element, a second switching element and a third switching element; the first switching element is an NMOS transistor, whose source is connected to the detector, the gate is connected to the input bias voltage, and the drain is connected to the system power supply; the second switching element is a PMOS transistor, whose source and gate are both connected to the system power supply, and the drain is connected to the card power supply; the third switching element is an NMOS transistor, whose source is grounded, the drain is connected to the card power supply, and the gate is connected to the detector; when the card socket changes from an inserted state to an unplugged state, the first switching element and the second switching element are both disconnected, the third switching element is turned on, and the card power supply is grounded through the third switching element. For example, when the card holder changes from the inserted state to the unplugged state, the external interrupt (EINT) of the card holder is not triggered, and the detector detects that the voltage at the card holder is high (e.g., 1.8V). Since the system is not powered off during the hot plugging process, the input bias voltage outputs a high level (e.g., 1.8V), and thus the first switch element is disconnected; the system power supply outputs a high level (e.g., 3V), and thus the second switch element is disconnected; the third switch element is turned on, and the residual charge on the card power supply is released by grounding the third switch element. When the card holder changes from the unplugged state to the inserted state, the external interrupt of the card holder is triggered, and the detector detects that the voltage at the card holder is low (e.g., 0V), and the third switch element is disconnected, and the first switch element and the second switch element are turned on, and the system power supply normally distributes charge to the card power supply.
[0038] The anti-card burning control device and anti-burning control method provided in this specific embodiment, when detecting that the card socket changes from the inserted state to the unplugged state, discharges the residual charge on the card power supply to the ground through a switching device, effectively solving the problem that the card is easily burned during the hot plugging process, improving the performance stability of the user terminal, reducing production costs, and reducing mass production risks.
[0039] Second specific embodiment
[0040] The similarities between this specific embodiment and the first specific embodiment are not described in detail, and the differences between this specific embodiment and the first specific embodiment are mainly described below.
[0041] Attached Figure 4 FIG. 1 is a circuit diagram of a card burning prevention control device according to a second specific embodiment of the present invention. Figure 4 As shown, in order to adapt to different card socket structures, the detector 23 outputs a high-level signal to the switch device when detecting that the card socket changes from a pulled-out state to an inserted state; the detector 23 outputs a low-level signal to the switch device when detecting that the card socket changes from an inserted state to a pulled-out state.
[0042] In order to realize that the anti-burn card device releases the residual charge on the card power supply quickly and effectively, preferably, the switch device includes a fourth switch element T4, a fifth switch element T5 and a sixth switch element T6; the fourth switch element T4 is an NMOS transistor, whose gate is connected to the detector 23, the source is grounded, and the drain is connected to the system power supply 25; the fifth switch element T5 is a PMOS transistor, whose gate and source are commonly connected to the system power supply 25, and the drain is connected to the card power supply 22; the sixth switch element T6 is an NMOS transistor, whose gate is connected to the system power supply 25, the source is grounded, and the drain is connected to the card power supply 22. For example, when the card holder changes from the inserted state to the unplugged state, the external interrupt (EINT) of the card holder is triggered, the detector 23 detects that the voltage at the card holder is a low level (for example, 0V), and the fourth switch element T4 is disconnected; the system power supply 25 outputs a high level (for example, 3V), and the fifth switch element T5 is disconnected; the sixth switch element T6 is turned on, and the residual charge on the card power supply is released by grounding the sixth switch element T6. When the card holder changes from the unplugged state to the plugged state, the external interrupt of the card holder is not triggered, the detector 23 detects that the voltage at the card holder is at a high level (e.g., 1.8V), the fourth switch element, the fifth switch element T5, and the sixth switch element T6 are turned on, and the system power supply 25 normally distributes charge to the card power supply 22. In order to prevent the second switch element T2 from being burned out due to the excessively high system power supply voltage, preferably, the drain and source of the second switch element T2 are connected via a diode.
[0043] Similarly, the similarities between the card burning prevention method provided in this specific embodiment and the first specific embodiment are not repeated here, and the differences between the card burning prevention method provided in this specific embodiment and the first specific embodiment are mainly described below.
[0044] In order to improve the performance stability of the anti-card burning control device, preferably, the detector outputs a high-level signal to the switching device when detecting that the card holder changes from a pulled-out state to an inserted state; the detector outputs a low-level signal to the switching device when detecting that the card holder changes from an inserted state to a pulled-out state.
[0045] In order to enable the anti-card burning device to quickly and effectively release the residual charge on the card power supply, it is more preferred that the following steps are included: the switching device includes a fourth switching element, a fifth switching element and a sixth switching element; the fourth switching element is an NMOS transistor, whose gate is connected to the detector, the source is grounded, and the drain is connected to the system power supply; the fifth switching element is a PMOS transistor, whose gate and source are commonly connected to the system power supply, and the drain is connected to the card power supply; the sixth switching element is an NMOS transistor, whose gate is connected to the system power supply, the source is grounded, and the drain is connected to the card power supply; when the card holder changes from an inserted state to an unplugged state, the fourth switching element and the fifth switching element are both disconnected, the sixth switching element is turned on, and the card power supply is grounded through the sixth switching element.
[0046] The anti-card burning control device and anti-burning control method provided in this specific embodiment, when detecting that the card socket changes from the inserted state to the unplugged state, discharges the residual charge on the card power supply to the ground through a switching device, effectively solving the problem that the card is easily burned during the hot plugging process, improving the performance stability of the user terminal, reducing production costs, and reducing mass production risks.
[0047] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A card burn prevention control device, comprising a card holder for mounting a card and a card power supply for supplying power to the card, characterized in that: Also includes: A detector, used to detect a state change of the card holder during hot plugging; A switch device, used for grounding the card power supply when the card holder changes from an inserted state to an unplugged state, so as to release the residual charge on the card power supply; The detector outputs a low-level signal to the switch device when detecting that the card holder changes from an unplugged state to an inserted state, and / or the detector outputs a high-level signal to the switch device when detecting that the card holder changes from an inserted state to an unplugged state, the switch device includes a first switch element, a second switch element and a third switch element, the first switch element is an NMOS transistor, whose source is connected to the detector, the gate is connected to an input bias voltage, and the drain is connected to a system power supply, the second switch element is a PMOS transistor, whose source and gate are commonly connected to the system power supply, and the drain is connected to the card power supply, the third switch element is an NMOS transistor, whose source is grounded, the drain is connected to the card power supply, and the gate is connected to the detector; or, The detector outputs a high level signal to the switch device when detecting that the card holder changes from an unplugged state to an inserted state, and / or the detector outputs a low level signal to the switch device when detecting that the card holder changes from an inserted state to an unplugged state, the switch device includes a fourth switch element, a fifth switch element and a sixth switch element, the fourth switch element is an NMOS transistor, the gate of which is connected to the detector, the source is grounded, and the drain is connected to the system power supply; The fifth switch element is a PMOS transistor, whose gate and source are commonly connected to the system power supply, and whose drain is connected to the card power supply; the sixth switch element is an NMOS transistor, whose gate is connected to the system power supply, whose source is grounded, and whose drain is connected to the card power supply.
2. The anti-burn card control device according to claim 1, characterized in that: The state change of the card holder includes changing from a pulled-out state to an inserted state or from an inserted state to a pulled-out state.
3. The anti-burn card control device according to claim 1, characterized in that: The first end of the switch device is connected to the card power supply, the second end is grounded, and the control end of the switch device is connected to the detector.
4. A card burning prevention control method, characterized in that: The steps include: A detector is provided for detecting a state change of the card holder during hot plugging, wherein the state change of the card holder includes a change from an unplugged state to an inserted state and a change from an inserted state to an unplugged state; A switch device is provided, wherein a first end of the switch device is connected to a card power source, a second end is grounded, and a control end of the switch device is connected to the detector, and is used to ground the card power source when the card holder changes from an inserted state to an unplugged state, so as to release residual charge on the card power source; The detector detects whether the card holder changes from an inserted state to an unplugged state, and if so, the card power supply is grounded through the switch device; The anti-burning card control method also includes the following steps: when the detector detects that the card holder changes from the unplugged state to the inserted state, the detector outputs a low-level signal to the switch device; when the detector detects that the card holder changes from the inserted state to the unplugged state, the detector outputs a high-level signal to the switch device; the switch device includes a first switch element, a second switch element and a third switch element; the first switch element is an NMOS transistor, whose source is connected to the detector, the gate is connected to the input bias voltage, and the drain is connected to the system power supply; the second switch element is a PMOS transistor, whose source and gate are commonly connected to the system power supply, and the drain is connected to the card power supply; the third switch element is an NMOS transistor, whose source is grounded, the drain is connected to the card power supply, and the gate is connected to the detector; when the card holder changes from the inserted state to the unplugged state, the first switch element and the second switch element are both disconnected, the third switch element is turned on, and the card power supply is grounded through the third switch element; or, The anti-burning card control method also includes the following steps: when the detector detects that the card holder changes from a pulled-out state to an inserted state, the detector outputs a high-level signal to the switch device; when the detector detects that the card holder changes from an inserted state to a pulled-out state, the detector outputs a low-level signal to the switch device; the switch device includes a fourth switch element, a fifth switch element and a sixth switch element; the fourth switch element is an NMOS transistor, whose gate is connected to the detector, the source is grounded, and the drain is connected to the system power supply; the fifth switch element is a PMOS transistor, whose gate and source are commonly connected to the system power supply, and the drain is connected to the card power supply; the sixth switch element is an NMOS transistor, whose gate is connected to the system power supply, the source is grounded, and the drain is connected to the card power supply; when the card holder changes from an inserted state to an unplugged state, the fourth switch element and the fifth switch element are both disconnected, the sixth switch element is turned on, and the card power supply is grounded through the sixth switch element.
Citation Information
Patent Citations
Card inserting and plugging safe control circuit and method and mobile terminal
CN106054681A
Prevent burning card controlling means
CN207367198U
Electrostatic chuck device
JP1988099148A