CN116780749B - Electronic equipment - Google Patents
Electronic equipment Download PDFInfo
- Publication number
- CN116780749B CN116780749B CN202311054513.6A CN202311054513A CN116780749B CN 116780749 B CN116780749 B CN 116780749B CN 202311054513 A CN202311054513 A CN 202311054513A CN 116780749 B CN116780749 B CN 116780749B
- Authority
- CN
- China
- Prior art keywords
- pin
- power supply
- sim
- processor
- diode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000037361 pathway Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
本发明公开了一种电子设备,该设备包括:电源模块、SIM和处理器;电源模块通过主供电电路与SIM电连接,电源模块还通过备用供电电路与SIM电连接,备用供电电路中设置有开关;处理器与开关电连接,处理器用于检测到主供电电路损坏时,控制开关闭合,以使电源模块通过备用供电电路给SIM供电。本供电控制装置通过设置主供电电路和备用供电电路,在主供电电路损坏时,电源模块通过备用供电电路给SIM供电,提高了电子设备应对故障的处理能力。
The invention discloses an electronic device. The device includes: a power module, a SIM and a processor; the power module is electrically connected to the SIM through a main power supply circuit, and the power module is also electrically connected to the SIM through a backup power supply circuit. The backup power supply circuit is provided with switch; the processor is electrically connected to the switch. When the processor detects that the main power supply circuit is damaged, it controls the switch to close so that the power module supplies power to the SIM through the backup power supply circuit. This power supply control device sets a main power supply circuit and a backup power supply circuit. When the main power supply circuit is damaged, the power module supplies power to the SIM through the backup power supply circuit, which improves the ability of electronic equipment to handle faults.
Description
技术领域Technical field
本申请实施例涉及计算机技术领域,尤其涉及一种电子设备。The embodiments of the present application relate to the field of computer technology, and in particular, to an electronic device.
背景技术Background technique
如今,电子设备在使用过程中,电子设备各模块的供电电路可能会出现故障。以电子设备的用户识别卡(Subscriber Identity Module,SIM)为例,SIM卡的供电电路集电极电源电压(Voltage Collector Collector,VCC)正常供电过程中,如果遇到外部的浪涌或是直流的过压,则SIM卡供电电路VCC有一定概率损坏,导致电源无法给SIM卡供电,SIM无法识别,影响电子设备的正常使用。Nowadays, during the use of electronic equipment, the power supply circuits of various modules of the electronic equipment may malfunction. Take the Subscriber Identity Module (SIM) of electronic equipment as an example. During the normal power supply process of the collector power supply voltage (Voltage Collector Collector (VCC)) of the power supply circuit of the SIM card, if it encounters an external surge or a DC overcurrent, If the SIM card power supply circuit VCC is under voltage, there is a certain probability that the VCC of the SIM card power supply circuit will be damaged, causing the power supply to be unable to supply power to the SIM card and the SIM card to be unrecognizable, affecting the normal use of electronic equipment.
发明内容Contents of the invention
本申请实施例提供一种电子设备,通过设置主供电引脚和备用供电引脚,在电源模块无法通过主供电引脚给SIM供电时,电源模块可通过备用供电引脚给SIM供电,提高了电子设备应对故障的处理能力。The embodiment of the present application provides an electronic device. By setting a main power supply pin and a backup power supply pin, when the power module cannot power the SIM through the main power supply pin, the power module can power the SIM through the backup power supply pin, which improves the efficiency of the SIM. The ability of electronic equipment to handle failures.
本申请实施例提供的电子设备包括:电源模块和用户识别模块SIM;The electronic device provided by the embodiment of the present application includes: a power module and a user identification module SIM;
所述电源模块的主供电引脚与所述SIM的第一引脚电连接,所述电源模块的备用供电引脚与第一引脚电连接,所述备用供电引脚与所述第一引脚之间设置有控制器件;The main power supply pin of the power module is electrically connected to the first pin of the SIM, the backup power supply pin of the power module is electrically connected to the first pin, and the backup power supply pin is electrically connected to the first pin. Control devices are provided between the feet;
当所述主供电引脚与所述第一引脚之间的通路损坏时,所述控制器件由关断状态变为导通状态,以使所述电源模块基于所述备用供电引脚给所述SIM供电。When the path between the main power supply pin and the first pin is damaged, the control device changes from the off state to the on state, so that the power module supplies power to the power supply based on the backup power supply pin. The SIM is powered.
一种实施例中,所述电子设备还包括:处理器;In one embodiment, the electronic device further includes: a processor;
所述处理器与所述控制器件电连接;The processor is electrically connected to the control device;
所述处理器,用于检测到所述主供电引脚与所述第一引脚之间的通路损坏时,控制所述控制器件由关断状态变为导通状态。The processor is configured to control the control device to change from an off state to an on state when detecting that the path between the main power supply pin and the first pin is damaged.
一种实施例中,所述控制器件为MOS管,所述处理器与所述MOS管的栅极连接;In one embodiment, the control device is a MOS tube, and the processor is connected to the gate of the MOS tube;
所述处理器,具体用于检测到所述主供电引脚与所述第一引脚之间的通路损坏时,将所述MOS管的栅极电压提高至门限电压,以使所述MOS管导通,进而使得所述电源模块基于所述备用供电引脚给所述SIM供电。The processor is specifically configured to, when detecting damage to the path between the main power supply pin and the first pin, increase the gate voltage of the MOS tube to a threshold voltage, so that the MOS tube is turned on, thereby causing the power module to supply power to the SIM based on the backup power supply pin.
一种实施例中,所述处理器,还用于在所述电子设备上电后识别所述SIM,当检测到所述SIM无法识别时,确定所述主供电引脚与所述第一引脚之间的通路损坏。In one embodiment, the processor is further configured to identify the SIM after the electronic device is powered on, and when it is detected that the SIM cannot be identified, determine whether the main power supply pin is connected to the first pin. Damage to the pathways between the feet.
一种实施例中,所述备用供电引脚为数据信号引脚,所述控制器件为第一二极管;In one embodiment, the backup power supply pin is a data signal pin, and the control device is a first diode;
所述数据信号引脚连接所述第一二极管的阳极,所述第一二极管的阴极连接所述第一引脚。The data signal pin is connected to the anode of the first diode, and the cathode of the first diode is connected to the first pin.
一种实施例中,所述主供电引脚与所述第一引脚之间的通路损坏时,所述第一二极管导通,所述电源模块通过所述数据信号引脚给所述SIM供电。In one embodiment, when the path between the main power supply pin and the first pin is damaged, the first diode is turned on, and the power module supplies power to the power supply through the data signal pin. SIM powered.
一种实施例中,所述备用供电引脚为时钟信号引脚,所述控制器件为第二二极管;In one embodiment, the backup power supply pin is a clock signal pin, and the control device is a second diode;
所述时钟信号引脚连接所述第二二极管的阳极,所述第二二极管的阴极连接所述第一引脚。The clock signal pin is connected to the anode of the second diode, and the cathode of the second diode is connected to the first pin.
一种实施例中,所述主供电引脚与所述第一引脚之间的通路损坏时,所述第二二极管导通,所述电源模块通过所述时钟信号引脚给所述SIM供电。In one embodiment, when the path between the main power supply pin and the first pin is damaged, the second diode is turned on, and the power module supplies power to the clock signal pin through the clock signal pin. SIM powered.
一种实施例中,所述备用供电引脚为复位信号引脚,所述控制器件为第三二极管;In one embodiment, the backup power supply pin is a reset signal pin, and the control device is a third diode;
所述复位信号引脚连接所述第三二极管的阳极,所述第三二极管的阴极连接所述第一引脚。The reset signal pin is connected to the anode of the third diode, and the cathode of the third diode is connected to the first pin.
一种实施例中,所述主供电引脚与所述第一引脚之间的通路损坏时,所述第三二极管导通,所述电源模块通过所述复位信号引脚给所述SIM供电。In one embodiment, when the path between the main power supply pin and the first pin is damaged, the third diode is turned on, and the power module sends a signal to the reset signal pin through the reset signal pin. SIM powered.
本申请实施例中,供电控制装置包括:电源模块、SIM和处理器;电源模块通过主供电电路与SIM电连接,电源模块还通过备用供电电路与SIM电连接,备用供电电路中设置有开关;处理器与开关电连接,处理器用于检测到主供电电路损坏时,控制开关闭合,以使电源模块通过备用供电电路给SIM供电。本供电控制装置通过设置主供电电路和备用供电电路,在主供电电路损坏时,电源模块通过备用供电电路给SIM供电,提高了电子设备应对故障的处理能力。In the embodiment of this application, the power supply control device includes: a power module, a SIM and a processor; the power module is electrically connected to the SIM through a main power supply circuit, and the power module is also electrically connected to the SIM through a backup power supply circuit, and a switch is provided in the backup power supply circuit; The processor is electrically connected to the switch. When the processor detects that the main power supply circuit is damaged, it controls the switch to close so that the power module supplies power to the SIM through the backup power supply circuit. This power supply control device sets a main power supply circuit and a backup power supply circuit. When the main power supply circuit is damaged, the power module supplies power to the SIM through the backup power supply circuit, thereby improving the electronic equipment's ability to handle faults.
附图说明Description of drawings
图1为本申请实施例提供的一种电子设备的结构示意图;Figure 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图2为本申请实施例提供的另一种电子设备的结构示意图;Figure 2 is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图3为本申请实施例提供的一种供电控制方法的流程图;Figure 3 is a flow chart of a power supply control method provided by an embodiment of the present application;
图4为本申请实施例提供的另一种电子设备的结构示意图;Figure 4 is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图5为本申请实施例提供的另一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。The embodiments described below with reference to the drawings are exemplary and are only used to explain the present invention and cannot be construed as limiting the present invention.
为了更好的理解本说明书的技术方案,下面结合附图对本申请实施例进行详细描述。In order to better understand the technical solutions of this specification, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本说明书保护的范围。It should be clear that the described embodiments are only some of the embodiments of this specification, but not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of this specification.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terminology used in the embodiments of the present application is for the purpose of describing specific embodiments only and is not intended to limit the specification. As used in the embodiments and the appended claims, the singular forms "a," "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
电子设备(如智能手机、智能手表或平板电脑等设备)内部设置有电源模块,电源模块可给电子设备内部的SIM供电。电子设备开机后,电源模块给SIM供电,处理器可在SIM上电后识别SIM,确认SIM可正常运行。电子设备使用过程中,如果遇到外部的浪涌或是直流的过压,则电源模块给SIM供电的通路可能发生损坏,从而导致SIM的功能失效。针对上述问题,本申请实施例的供电控制装置设置了主供电电路和备用供电电路,在主供电电路损坏时,电源模块通过备用供电电路给SIM供电,提高了电子设备应对故障的处理能力。Electronic devices (such as smartphones, smart watches, tablets, etc.) are equipped with a power module inside, and the power module can supply power to the SIM inside the electronic device. After the electronic device is turned on, the power module supplies power to the SIM. The processor can identify the SIM after the SIM is powered on and confirm that the SIM can operate normally. During the use of electronic equipment, if an external surge or DC overvoltage is encountered, the path through which the power module supplies power to the SIM may be damaged, resulting in functional failure of the SIM. In response to the above problems, the power supply control device of the embodiment of the present application is equipped with a main power supply circuit and a backup power supply circuit. When the main power supply circuit is damaged, the power module supplies power to the SIM through the backup power supply circuit, which improves the ability of electronic equipment to handle faults.
图1为本申请实施例提供的一种供电控制装置的结构示意图。如图1所示,该供电控制装置可包括电源模块110、SIM120和控制器件130。电源模块110与SIM120电连接,用于给SIM120供电。具体的,电源模块110一方面通过主供电引脚与SIM120的第一引脚连接,另一方面,电源模块110通过备用供电引脚与SIM120的第一引脚连接,其中,备用供电引脚与第一引脚中设置有控制器件130。箭头101所指的引脚即为电源模块110的主供电引脚,箭头102所指的引脚即为电源模块110的备用供电引脚,箭头103所指的引脚即为SIM120的第一引脚。Figure 1 is a schematic structural diagram of a power supply control device provided by an embodiment of the present application. As shown in FIG. 1 , the power supply control device may include a power module 110 , a SIM 120 and a control device 130 . The power module 110 is electrically connected to the SIM120 and is used to provide power to the SIM120. Specifically, on the one hand, the power module 110 is connected to the first pin of the SIM120 through the main power supply pin, and on the other hand, the power module 110 is connected to the first pin of the SIM120 through the backup power supply pin, wherein the backup power supply pin is connected to the first pin of the SIM120. A control device 130 is provided in the first pin. The pin pointed by arrow 101 is the main power supply pin of the power module 110, the pin pointed by arrow 102 is the backup power supply pin of the power module 110, and the pin pointed by arrow 103 is the first pin of SIM120. foot.
电子设备开机后,控制器件130通常处于关断状态,电源模块110会通过主供电引脚给SIM120供电。如果主供电引脚与第一引脚之间的通路发生损坏,则控制器件130会导通,电源模块110会通过备用供电引脚给SIM120供电,以保证SIM的正常运行。After the electronic device is turned on, the control device 130 is usually in a shutdown state, and the power module 110 supplies power to the SIM 120 through the main power supply pin. If the path between the main power supply pin and the first pin is damaged, the control device 130 will be turned on, and the power module 110 will power the SIM 120 through the backup power supply pin to ensure the normal operation of the SIM.
一种实施例中,电子设备的结构可如图2所示,包括:电源芯片210、处理器220、SIM230和MOS管240。备用供电引脚与第一引脚之间的控制器件以MOS管240实现,处理器与MOS管240的栅极连接,通过改变MOS管240的栅极电压来控制MOS管240关断或导通。In one embodiment, the structure of the electronic device may be as shown in Figure 2 , including: a power chip 210, a processor 220, a SIM 230 and a MOS transistor 240. The control device between the backup power supply pin and the first pin is implemented with a MOS tube 240. The processor is connected to the gate of the MOS tube 240, and controls the MOS tube 240 to turn off or on by changing the gate voltage of the MOS tube 240. .
SIM230上电运行后,处理器220可识别SIM230,确认SIM230可正常运行。如果处理器220在电子设备开机后检测到SIM230无法识别,或44者在SIM230正常运行过程中突然检测到SIM230无法识别,则可初步认定主供电引脚与第一引脚之间的通路损坏,电源芯片210无法通过主供电引脚给SIM230供电。针对该突发情况,处理器220会控制MOS管240导通,电源芯片210将会通过备用供电引脚给SIM230供电。After the SIM230 is powered on and running, the processor 220 can identify the SIM230 and confirm that the SIM230 can operate normally. If the processor 220 detects that the SIM 230 cannot be recognized after the electronic device is turned on, or suddenly detects that the SIM 230 cannot be recognized during the normal operation of the SIM 230, it can be preliminarily determined that the path between the main power supply pin and the first pin is damaged. The power chip 210 cannot supply power to the SIM230 through the main power supply pin. In response to this emergency situation, the processor 220 will control the MOS transistor 240 to turn on, and the power chip 210 will supply power to the SIM 230 through the backup power supply pin.
电源芯片210中设置有多个引脚,其中,箭头201所指的引脚为主供电引脚,主供电引脚连接SIM230的第一引脚,箭头203所指引脚为第一引脚,箭头202所指的引脚为备用供电引脚,备用供电引脚用于连接MOS管240,MOS管240另一端连接SIM230。处理器220设置有多个引脚,其中一个引脚连接MOS管240的栅极,通过改变栅极电压来控制MOS管240闭合或断开。电子设备开机上电后,处理器220输出第一电压至MOS管240的栅极,第一电压小于MOS管240的门限电压,MOS管240关断,电源芯210片会通过主供电引脚给SIM230供电。如果处理器220检测到SIM230无法识别,通常会进行默认的救卡操作,即控制电源芯片210停止给SIM230供电,然后在控制电源芯片210再次通过主供电电路给SIM230供电,再次识别SIM230。重复多次救卡操作后,如果仍无法识别SIM230,则可初步认定主供电引脚与第一引脚之间的通路发生损坏。为了保证SIM230的正常运行,处理器220输出第二电压至MOS管240的栅极,第二电压大于或等于门限电压,MOS管导通,电源芯片210可通过备用供电引脚给SIM230供电。The power chip 210 is provided with multiple pins. Among them, the pin pointed by arrow 201 is the main power supply pin. The main power supply pin is connected to the first pin of SIM230. The pin pointed by arrow 203 is the first pin. The pin pointed by arrow 202 is a backup power supply pin, and the backup power supply pin is used to connect to the MOS tube 240, and the other end of the MOS tube 240 is connected to the SIM 230. The processor 220 is provided with a plurality of pins, one of which is connected to the gate of the MOS transistor 240, and controls the MOS transistor 240 to be turned on or off by changing the gate voltage. After the electronic device is powered on, the processor 220 outputs a first voltage to the gate of the MOS tube 240. The first voltage is less than the threshold voltage of the MOS tube 240. The MOS tube 240 is turned off, and the power chip 210 is supplied through the main power supply pin. Powered by SIM230. If the processor 220 detects that the SIM 230 cannot be recognized, it will usually perform a default card rescue operation, that is, control the power chip 210 to stop powering the SIM 230, and then control the power chip 210 to power the SIM 230 through the main power supply circuit again to recognize the SIM 230 again. After repeating the card rescue operation many times, if the SIM230 still cannot be recognized, it can be initially determined that the path between the main power supply pin and the first pin is damaged. In order to ensure the normal operation of SIM230, the processor 220 outputs a second voltage to the gate of the MOS transistor 240. If the second voltage is greater than or equal to the threshold voltage, the MOS transistor is turned on, and the power chip 210 can supply power to the SIM230 through the backup power supply pin.
本申请实施例中,控制器件通过MOS管240实现,处理器220只需将不同电压输出至MOS管240的栅极即可控制MOS管240关断或导通,无需对硬件电路做其他修改,节约了硬件成本。In the embodiment of the present application, the control device is implemented through the MOS transistor 240. The processor 220 only needs to output different voltages to the gate of the MOS transistor 240 to control the MOS transistor 240 to turn off or on, without making other modifications to the hardware circuit. Saves hardware costs.
图3为本申请实施例提供的一种供电方法的流程图,该方法可应用于电子设备的处理器,如图3所示,该方法可包括:Figure 3 is a flow chart of a power supply method provided by an embodiment of the present application. The method can be applied to a processor of an electronic device. As shown in Figure 3, the method can include:
步骤301,SIM识别失败。Step 301, SIM identification fails.
电子设备上电后,处理器即执行启动后的相关流程,其中包括识别SIM,某些情况下,处理器无法成功识别SIM。After the electronic device is powered on, the processor will execute the relevant post-startup processes, including identifying the SIM. In some cases, the processor cannot successfully identify the SIM.
步骤302,执行救卡操作。Step 302: Perform card rescue operation.
针对SIM无法识别的情况,处理器先进行救卡操作,通常情况下,处理器先控制电源模块断电,然后控制电源模块重新供电。In the case where the SIM cannot recognize the card, the processor first performs a card rescue operation. Normally, the processor first controls the power module to cut off power, and then controls the power module to re-power the card.
步骤303,判断SIM能否识别。Step 303: Determine whether the SIM can be recognized.
每次救卡操作执行后,处理器会再次识别SIM并判断是否识别成功,如果SIM能够识别,则结束整个流程,否则进入步骤304。After each card rescue operation is performed, the processor will identify the SIM again and determine whether the identification is successful. If the SIM can be identified, the entire process will be ended, otherwise step 304 will be entered.
步骤304,判断救卡操作次数是否超过预设阈值。Step 304: Determine whether the number of card rescue operations exceeds a preset threshold.
若救卡操作次数未超过预设阈值,则继续执行救卡操作,否则进入步骤305。If the number of card rescue operations does not exceed the preset threshold, the card rescue operation continues, otherwise, step 305 is entered.
步骤305,控制MOS管导通。Step 305, control the MOS tube to turn on.
多次救卡后仍无法识别SIM,处理器会控制MOS管导通,以使电源模块通过备用供电电路给SIM供电。具体的,处理器改变MOS管的栅极电压使得MOS管导通。After rescuing the card several times and still unable to recognize the SIM, the processor will control the MOS tube to turn on so that the power module supplies power to the SIM through the backup power supply circuit. Specifically, the processor changes the gate voltage of the MOS tube to turn on the MOS tube.
步骤306,识别SIM。Step 306: Identify the SIM.
处理器再次识别SIM,识别成功后结束整个流程。The processor identifies the SIM again, and ends the entire process after successful identification.
本申请实施例中,处理器无法识别SIM时,先执行救卡操作,若多次救卡仍无法识别则控制备用供电电路导通,使电源模块通过备用供电电路给SIM供电,保证了设备的正常运行。In the embodiment of this application, when the processor cannot recognize the SIM, it first performs the card rescue operation. If the card cannot be recognized after multiple rescues, the backup power supply circuit is controlled to be turned on, so that the power module supplies power to the SIM through the backup power supply circuit, ensuring the reliability of the device. normal operation.
图4为本申请实施例提供的另一种电子设备的结构示意图。如图4所示,该设备可包括:电源芯片410、SIM420、第一二极管430、第二二极管440和第三二极管450。电源芯片410除了通过主供电引脚与SIM420的第一引脚电连接以外,还通过数据DATA引脚、时钟CLK引脚以及复位RESET引脚与SIM420的第一引脚电连接。其中,数据引脚连接第一二极管430的阳极,第一二极管430的阴极连接至第一引脚;时钟引脚连接第二二极管440的阳极,第二二极管440的阴极连接第一引脚;复位引脚中连接第三二极管450的阳极,第三二极管450的阴极连接第一引脚。FIG. 4 is a schematic structural diagram of another electronic device provided by an embodiment of the present application. As shown in FIG. 4 , the device may include: a power chip 410 , a SIM 420 , a first diode 430 , a second diode 440 and a third diode 450 . In addition to being electrically connected to the first pin of the SIM420 through the main power supply pin, the power chip 410 is also electrically connected to the first pin of the SIM420 through the data DATA pin, the clock CLK pin and the reset RESET pin. Among them, the data pin is connected to the anode of the first diode 430, and the cathode of the first diode 430 is connected to the first pin; the clock pin is connected to the anode of the second diode 440, and the cathode of the second diode 440 is connected to the anode of the first diode 430. The cathode is connected to the first pin; the reset pin is connected to the anode of the third diode 450, and the cathode of the third diode 450 is connected to the first pin.
通常情况下,电源芯片410通过主供电引脚输出的电压大于或等于数据引脚、时钟引脚和复位引脚输出的电压。当主供电引脚与第一引脚之间正常导通时,第一二极管430的阳极的电压为数据引脚的电压,第一二极管430的阴极为主供电引脚的电压,此时第一二极管430处于关断状态,电源芯片410通过主供电引脚给SIM420供电。同理,第二二极管440的阳极电压和阴极电压分别为时钟引脚的电压和主供电引脚的电压,第二二极管440处于关断状态,第三二极管450的阳极电压和阴极电压分别为复位引脚的电压和主供电引脚的电压,第三二极管450处于关断状态。Normally, the voltage output by the power chip 410 through the main power supply pin is greater than or equal to the voltage output by the data pin, clock pin and reset pin. When the main power supply pin and the first pin are normally connected, the voltage of the anode of the first diode 430 is the voltage of the data pin, and the cathode of the first diode 430 is the voltage of the main power supply pin. When the first diode 430 is in the off state, the power chip 410 supplies power to the SIM 420 through the main power supply pin. Similarly, the anode voltage and cathode voltage of the second diode 440 are the voltage of the clock pin and the voltage of the main power supply pin respectively. The second diode 440 is in the off state, and the anode voltage of the third diode 450 is and the cathode voltage are the voltage of the reset pin and the voltage of the main power supply pin respectively, and the third diode 450 is in the off state.
当主供电电路意外损坏时,第一二极管430的阴极电压为0,阳极电压仍为数据引脚的电压,由于阳极电压大于阴极电压,第一二极管430导通,数据引脚的电流可流经第一二极管430进而到达SIM420,电源芯片410可通过数据引脚给SIM420供电。同理,第二二极管的阴极电压为0,阳极电压仍为时钟引脚的电压,阳极电压大于阴极电压,第二二极管440导通,时钟引脚的电流可流经第二二极管440进而到达SIM420,电源芯片410可通过时钟引脚给SIM420供电;第三二极管的阴极电压为0,阳极电压仍为复位引脚的电压,阳极电压大于阴极电压,第三二极管450导通,复位引脚的电流可流经第三二极管450进而到达SIM420,电源芯片可通过复位引脚给SIM420供电。When the main power supply circuit is accidentally damaged, the cathode voltage of the first diode 430 is 0, and the anode voltage is still the voltage of the data pin. Since the anode voltage is greater than the cathode voltage, the first diode 430 is turned on, and the current of the data pin It can flow through the first diode 430 and then reach the SIM420, and the power chip 410 can provide power to the SIM420 through the data pin. In the same way, the cathode voltage of the second diode is 0, the anode voltage is still the voltage of the clock pin, the anode voltage is greater than the cathode voltage, the second diode 440 is turned on, and the current of the clock pin can flow through the second diode. The diode 440 then reaches the SIM420, and the power chip 410 can supply power to the SIM420 through the clock pin; the cathode voltage of the third diode is 0, the anode voltage is still the voltage of the reset pin, and the anode voltage is greater than the cathode voltage. When the tube 450 is turned on, the current of the reset pin can flow through the third diode 450 and then reach the SIM420, and the power chip can supply power to the SIM420 through the reset pin.
本申请实施例中,电源芯片410侧的数据引脚之前已与SIM420侧的数据引脚相连,电源芯片410可基于数据引脚与SIM420进行数据传输。在此基础上,在电源芯片410的数据引脚处额外引出导线连接二极管,进而连接SIM420的第一引脚。由数据引脚引出两条支路并行工作,既不会影响数据传输,也可实现备用供电引脚的功能,无需设置新的引脚,节约了硬件成本。同理,时钟引脚和复位引脚同样在原有的支路上引出新的支路,实现备用供电引脚的功能。In the embodiment of the present application, the data pins on the power chip 410 side have been connected to the data pins on the SIM420 side before, and the power chip 410 can perform data transmission with the SIM420 based on the data pins. On this basis, additional wires are drawn out from the data pins of the power chip 410 to connect to the diodes, and then connected to the first pin of the SIM 420. Two branches led by the data pin work in parallel, which will not affect data transmission and can also realize the function of the backup power supply pin. There is no need to set new pins, saving hardware costs. In the same way, the clock pin and the reset pin also lead to new branches on the original branches to realize the function of the backup power supply pin.
本申请实施例中,通过在其他电路中引出导线并设置二极管,可在主供电电路发生损坏时导通二极管,使得电源芯片通过其他电路给SIM供电,保证了SIM的正常运行。In the embodiment of this application, by drawing out wires and setting diodes in other circuits, the diodes can be turned on when the main power supply circuit is damaged, so that the power chip supplies power to the SIM through other circuits, ensuring the normal operation of the SIM.
图5为本申请实施例提供的一种电子设备的结构示意图。电子设备500可以包括处理器510和内部存储器520等。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Electronic device 500 may include a processor 510, an internal memory 520, and the like.
可以理解的是,本申请实施例示意的结构并不构成对电子设备500的具体限定。在本申请另一些实施例中,电子设备500可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 500 . In other embodiments of the present application, the electronic device 500 may include more or less components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently. The components illustrated may be implemented in hardware, software, or a combination of software and hardware.
处理器510可以包括一个或多个处理单元,例如:处理器510可以包括应用处理器(application processor,AP),调制解调处理器等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 510 may include one or more processing units. For example, the processor 510 may include an application processor (application processor, AP), a modem processor, etc. Among them, different processing units can be independent devices or integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器510中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器510中的存储器为高速缓冲存储器。该存储器可以保存处理器510刚用过或循环使用的指令或数据。如果处理器510需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器510的等待时间,因而提高了系统的效率。The processor 510 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in processor 510 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 510 . If processor 510 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 510 is reduced, thus improving the efficiency of the system.
在一些实施例中,处理器510可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。In some embodiments, processor 510 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface. The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (derail clock). line, SCL).
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备500的结构限定。在本申请另一些实施例中,电子设备500也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a structural limitation of the electronic device 500 . In other embodiments of the present application, the electronic device 500 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
内部存储器520可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器520可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序等。存储数据区可存储电子设备500使用过程中所创建的数据等。此外,内部存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器。处理器510通过运行存储在内部存储器520的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备500的各种功能应用以及数据处理。Internal memory 520 may be used to store computer executable program code, which includes instructions. The internal memory 520 may include a program storage area and a data storage area. Among them, the stored program area can store the operating system, at least one application program required for the function, etc. The storage data area may store data created during use of the electronic device 500 and the like. In addition, the internal memory 520 may include high-speed random access memory, and may also include non-volatile memory. The processor 510 executes various functional applications and data processing of the electronic device 500 by executing instructions stored in the internal memory 520 and/or instructions stored in a memory provided in the processor.
处理器510可以通过运行存储在内部存储器520中的程序,从而执行各种功能应用以及数据处理,例如实现本申请实施例提供的供电控制方法。The processor 510 can execute various functional applications and data processing by running programs stored in the internal memory 520, for example, implementing the power supply control method provided in the embodiment of the present application.
本申请实施例还提供一种非临时性计算机可读存储介质,上述非临时性计算机可读存储介质存储计算机指令,上述计算机指令使上述计算机执行本申请实施例提供的供电控制方法。Embodiments of the present application also provide a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores computer instructions. The computer instructions cause the computer to execute the power supply control method provided by the embodiments of the present application.
上述非临时性计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(Read Only Memory;以下简称:ROM)、可擦式可编程只读存储器(ErasableProgrammable Read Only Memory;以下简称:EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The above-mentioned non-transitory computer-readable storage medium may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: an electrical connection having one or more conductors, a portable computer disk, a hard drive, random access memory (RAM), read only memory (Read Only Memory) (hereinafter referred to as: ROM), Erasable Programmable Read Only Memory (hereinafter referred to as: EPROM) or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device , or any suitable combination of the above. As used herein, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including - but not limited to - electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、 “示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "an example," "specific examples," or "some examples" or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms “first” and “second” are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of this application, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments, or portions of code that include one or more executable instructions for implementing customized logical functions or steps of the process. , and the scope of the preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in a substantially simultaneous manner or in the reverse order, depending on the functionality involved, which shall It should be understood by those skilled in the technical field to which the embodiments of this application belong.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311054513.6A CN116780749B (en) | 2023-08-22 | 2023-08-22 | Electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311054513.6A CN116780749B (en) | 2023-08-22 | 2023-08-22 | Electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116780749A CN116780749A (en) | 2023-09-19 |
CN116780749B true CN116780749B (en) | 2023-11-24 |
Family
ID=88008445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311054513.6A Active CN116780749B (en) | 2023-08-22 | 2023-08-22 | Electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116780749B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203326702U (en) * | 2013-06-17 | 2013-12-04 | 武汉南华工业设备工程股份有限公司 | Dual power supply switching device |
CN110912259A (en) * | 2019-12-27 | 2020-03-24 | 广东电科院能源技术有限责任公司 | Clock power supply device |
CN218161911U (en) * | 2022-08-03 | 2022-12-27 | 深圳空像科技有限公司 | Dual-power clock circuit |
CN218829228U (en) * | 2022-09-16 | 2023-04-07 | 武汉国电武仪电气股份有限公司 | Dual power supply detection control circuit |
CN116131372A (en) * | 2021-11-15 | 2023-05-16 | 广东小天才科技有限公司 | Charging circuit and system, wearable device and charging method of wearable device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI806769B (en) * | 2022-01-25 | 2023-06-21 | 神基科技股份有限公司 | Power delivery device and control method of power supply path |
-
2023
- 2023-08-22 CN CN202311054513.6A patent/CN116780749B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203326702U (en) * | 2013-06-17 | 2013-12-04 | 武汉南华工业设备工程股份有限公司 | Dual power supply switching device |
CN110912259A (en) * | 2019-12-27 | 2020-03-24 | 广东电科院能源技术有限责任公司 | Clock power supply device |
CN116131372A (en) * | 2021-11-15 | 2023-05-16 | 广东小天才科技有限公司 | Charging circuit and system, wearable device and charging method of wearable device |
CN218161911U (en) * | 2022-08-03 | 2022-12-27 | 深圳空像科技有限公司 | Dual-power clock circuit |
CN218829228U (en) * | 2022-09-16 | 2023-04-07 | 武汉国电武仪电气股份有限公司 | Dual power supply detection control circuit |
Non-Patent Citations (1)
Title |
---|
POE网口供电设备的负载装置实现方法;陈俊鹏;《电子产品世界》;第45-49页 * |
Also Published As
Publication number | Publication date |
---|---|
CN116780749A (en) | 2023-09-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10921870B2 (en) | System and method for hybrid power supply | |
JP7200366B2 (en) | Memory cards, memory card adapters and terminal devices | |
CN106537286B (en) | OTG peripheral equipment, power supply method, terminal and system | |
US20120091815A1 (en) | System and Method for Thermal Protection in a Power System | |
WO2015051633A9 (en) | Power failure processing method and system for storage system | |
CN102749981A (en) | Method and system for controlling hard disk electrification in hard disk array | |
CN116780749B (en) | Electronic equipment | |
CN110096105B (en) | Method of controlling power supply unit | |
CN119376516A (en) | A power supply system and its fault detection method, device, medium, and program product | |
CN115391260A (en) | PCIe bandwidth configuration device, method, server and readable storage medium | |
EP3651335B1 (en) | System and method for extending power supply unit holdup time | |
CN113359967A (en) | A device startup method and device | |
CN107731260B (en) | A power supply method, system and SSD for SSD | |
CN113176459B (en) | Flexible direct current converter valve power module starting test method and circuit thereof | |
CN114925011B (en) | A method and device for solving the problem of PCIE hot-swap slots failing to identify equipment | |
CN116795195A (en) | Main board system with multiple CPU modules, control method of main board and computing equipment | |
US7190267B2 (en) | System and method for managing power control and data communication among devices | |
CN104900264A (en) | System and method for preventing data damage during startup and shutdown of SPI FLASH | |
CN105098854A (en) | Charging method and electronic device | |
CN103455394B (en) | The control method of information processor and information processor | |
US20160085292A1 (en) | Electronic device | |
CN105404467A (en) | Portable electronic device and method for accessing user data therein | |
CN111427719B (en) | Method and device for improving reliability and abnormal restarting performance of SOC (system on chip) system | |
US9933839B2 (en) | Computer system and method of operating a computer system | |
CN220829839U (en) | Burning device of mainboard SPI Flash |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |