Electronic device

By arranging switch modules and interface terminals in electronic equipment for direct voltage measurement, the problem of needing to disassemble the machine to measure system current in the existing technology is solved, and system current measurement with high accuracy and versatility is achieved.

CN221650473UActive Publication Date: 2024-09-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202322800348.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-10-18
Publication Date
2024-09-03
Estimated Expiration
2033-10-18

AI Technical Summary

Technical Problem

The existing technology requires disassembly when measuring the system current of an electronic device, resulting in a cumbersome and inaccurate measurement process. It is only applicable to specific chips and has low versatility.

Method used

By arranging a switch module in the electronic device and in a disconnected and connected state between the first end and the second end, the interface terminal is used for direct voltage measurement, and the current in the current path of the interface terminal is measured to realize the system current. Measurement, and the charge and discharge module is in non-working state to reduce the impact.

Benefits of technology

The system current can be accurately measured without disassembling the machine. It is suitable for all PMICs, improving the accuracy and versatility of measurement and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221650473U
    Figure CN221650473U
Patent Text Reader

Abstract

The utility model relates to the technical field of circuits, in particular to electronic equipment. The electronic equipment comprises an interface terminal, a switch module, a charging and discharging module and a system power supply network, wherein the interface terminal is connected with a first end of the switch module, a second end of the switch module is connected with a first end of the charging and discharging module, and a second end of the charging and discharging module and a third end of the switch module are respectively connected with a system power supply network; in the process of measuring the system current of the electronic equipment, the first end of the switch module and the second end of the switch module are in a disconnected state, the first end of the switch module and the second end of the switch module are in a connected state, and the charging and discharging module is in a non-working state. With the adoption of the scheme, the system current of the electronic equipment can be measured under the condition that the electronic equipment is not disassembled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of circuits, in particular to an electronic device. Background Art

[0002] With the development of science and technology, electronic devices are becoming more and more popular, which has improved people's production and life. In the development process of electronic equipment products, it is necessary to measure the system current and optimize it. In the production process, it is also necessary to test the system current to judge whether there are any abnormalities in the production process. However, measuring the system current requires disassembly measurement, which has obvious disadvantages whether it is laboratory debugging or factory production. Therefore, how to measure the system current without disassembling the electronic equipment has become a focus of people's attention. Utility Model Content

[0003] The utility model provides an electronic device, the main purpose of which is to measure the system current of the electronic device without disassembling the electronic device.

[0004] According to one aspect of the utility model, an electronic device is provided, comprising: an interface terminal, a switch module, a charge and discharge module and a system power supply network; wherein:

[0005] The interface terminal is connected to the first end of the switch module, the second end of the switch module is connected to the first end of the charge and discharge module, and the second end of the charge and discharge module and the third end of the switch module are respectively connected to the system power supply network;

[0006] During the process of measuring the system current of the electronic device, the first end of the switch module and the second end of the switch module are in a disconnected state, the first end of the switch module and the second end of the switch module are in a connected state, and the charge and discharge module is in a non-working state.

[0007] Optionally, in one embodiment of the present utility model, the electronic device further includes a control module; wherein,

[0008] The control module is connected to the control end of the switch module.

[0009] Optionally, in one embodiment of the utility model, when the electronic device is in a debugging auxiliary mode, the first end of the switch module and the second end of the switch module are in a disconnected state, the first end of the switch module and the second end of the switch module are in a connected state, and the charging and discharging module is in a non-working state.

[0010] Optionally, in one embodiment of the present utility model, the interface terminal includes a configuration channel pin; wherein,

[0011] When the interface terminal is connected to an external device and the current corresponding to the configuration channel pin is greater than a current threshold, the electronic device is in the debugging auxiliary mode; or,

[0012] When the interface terminal is connected to an external device and the impedance corresponding to the configuration channel pin is less than an impedance threshold, the electronic device is in the debugging auxiliary mode.

[0013] Optionally, in an embodiment of the present invention, in the process of measuring the system current of the electronic device, the external device is an external power supply.

[0014] Optionally, in an embodiment of the present utility model, the electronic device further includes a first overvoltage protection module; wherein,

[0015] The first overvoltage protection module is arranged on a current path between the interface terminal, the first end of the switch module, the third end of the switch module and the system power supply network.

[0016] Optionally, in one embodiment of the present utility model, the charging and discharging module includes a second overvoltage protection module, a battery management module, a charge pump module and a power supply module; wherein,

[0017] The first end of the second overvoltage protection module is connected to the second end of the switch module, the second end of the second overvoltage protection module is respectively connected to the first end of the battery management module and the first end of the charge pump module, the second end of the battery management module and the second end of the charge pump module are respectively connected to the power module, and the third end of the battery management module is respectively connected to the third end of the switch module and the system power supply network;

[0018] During the process of measuring the system current of the electronic device, both the battery management module and the charge pump module are in a non-working state.

[0019] Optionally, in one embodiment of the present utility model, the battery management module includes a battery power switch; wherein,

[0020] The first end of the battery-powered switch is respectively connected to the second end of the power module and the charge pump module, and the second end of the battery-powered switch is respectively connected to the third end of the switch module and the system power supply network;

[0021] During the process of measuring the system current of the electronic device, the battery power switch is in an off state.

[0022] Optionally, in one embodiment of the utility model, when the electronic device is in charging mode, the first end of the switch module and the second end of the switch module are in a connected state, and the first end of the switch module and the second end of the switch module are in a disconnected state.

[0023] Optionally, in one embodiment of the present invention, the interface terminal is a Type-C connector.

[0024] In summary, the electronic device provided by the embodiment of the utility model, by arranging a switch module before the charging and discharging module, when the first end of the switch module and the second end of the switch module are in a disconnected state, and when the first end of the switch module and the second end of the switch module are in a connected state, the power supply voltage of the system power supply network can be directly supplied by the interface terminal. Therefore, the system current can be measured by measuring the current in the current path where the interface terminal is located, and there is no need to disassemble the machine for measurement.

[0025] Additional aspects and advantages of the present invention will be given in part in the following description and in part will become apparent from the following description or will be learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0027] Figure 1 A background architecture diagram of a system current measurement provided by an embodiment of the utility model;

[0028] Figure 2 A schematic diagram of the structure of an electronic device provided by an embodiment of the utility model;

[0029] Figure 3 A schematic diagram of a system current measurement provided by an embodiment of the utility model;

[0030] Figure 4 The present invention is a schematic structural diagram of an electronic device provided in another embodiment of the present invention. DETAILED DESCRIPTION

[0031] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.

[0032] In the related art, when measuring the power consumption (system current or shutdown leakage) of a mobile phone or tablet, a fake battery measurement method is usually used. Figure 1 As shown, a program-controlled power supply is used to replace the battery to power the fake battery. In this process, the machine needs to be disassembled and the fake battery is buckled onto the battery connector to power the mobile phone. The current value is read by the program-controlled power supply. In short, an external power supply (program-controlled power supply) is used to replace the battery cell and connected to the battery connector position of the mobile phone motherboard.

[0033] In addition, some battery management chips (power management integrated circuit, PMIC) support direct connection between the power supply end of the electronic device and the system power supply end, that is, the power supply voltage Vsys of the system power supply network of the electronic device is directly supplied by the power supply voltage VBUS provided by the power supply end. In this case, there is no need to disassemble the machine for testing, and the system current can be obtained by measuring the current at the power supply end of the electronic device. However, when performing a system current test on an electronic device using such a PMIC, since the PMIC is still in working condition, additional static current will be introduced, resulting in inaccurate measurement results. Secondly, this non-disassembly system current test method is only applicable to this type of chip and has low versatility.

[0034] The utility model is described in detail below in conjunction with specific embodiments.

[0035] Figure 2 The present invention is a schematic diagram of the structure of an electronic device provided by an embodiment of the present utility model.

[0036] like Figure 2 As shown, the electronic device includes: an interface terminal, a switch module, a charge and discharge module and a system power supply network; wherein,

[0037] The interface terminal is connected to the first end of the switch module, the second end of the switch module is connected to the first end of the charge and discharge module, and the second end of the charge and discharge module and the third end of the switch module are respectively connected to the system power supply network.

[0038] According to some embodiments, the interface terminal is used to connect the electronic device to an external device. The interface terminal may be, for example, a Universal Serial Bus (USB) connector. Specifically, the interface terminal may be, for example, a USB Type-C connector, also known as a Type-C connector.

[0039] In some embodiments, the switch module may be, for example, a load switch (Load switch). The switch module may also be, for example, a single pole double throw switch (Single Pole Double Throw, SPDT).

[0040] According to some embodiments, the charging and discharging module is used to charge the power module inside the charging and discharging module and to supply power to the system power supply network.

[0041] In some embodiments, the system power supply network refers to the power supply network used to power the system load inside the electronic device. The system load refers to the load device other than the charging and discharging module in the electronic device. The system load may include, for example, a speaker circuit, a display circuit, a central controller circuit, etc.

[0042] According to some embodiments, when the first end of the switch module and the second end of the switch module are in a disconnected state, and the first end of the switch module and the second end of the switch module are in a connected state, the power supply voltage Vsys of the system power supply network can be directly supplied by the interface terminal. Therefore, the system current can be measured by measuring the current in the current path where the interface terminal is located, and there is no need to disassemble the device for measurement. In addition, in the process of measuring the system current of the electronic device, the charge and discharge module is in a non-working state, which can reduce the impact of the charge and discharge module on the system current and improve the accuracy of the system current measurement. Secondly, it can be applicable to all PMICs and has high versatility.

[0043] In some embodiments, the charging and discharging module is in a non-working state when it is not in a normal working state. For example, the non-working state may include a shutdown state or a dormant state.

[0044] It should be noted that when the charge and discharge module is in a dormant state, the static current of non-system loss on the charge and discharge path corresponding to the charge and discharge module can be almost ignored, so the accuracy of system current measurement can be improved.

[0045] According to some embodiments, when the electronic device is in charging mode, the first end of the switch module and the second end of the switch module are in a connected state, and the first end of the switch module and the second end of the switch module are in a disconnected state. Therefore, the charging mode can be distinguished from the measurement of the system current, the influence of the charging and discharging module on the system current can be reduced, and the accuracy of the system current measurement can be improved.

[0046] Alternatively, if Figure 2 As shown, the electronic device also includes a control module; wherein,

[0047] The control module is connected to the control end of the switch module.

[0048] According to some embodiments, the control module is used to control the switch state of the switch module. The control module may be, for example, a controller. The control module may also be, for example, a PMIC.

[0049] For example, when the switch module adopts SPDT, the control module can control the switch channel of SPDT.

[0050] In some embodiments, the control module is used to control the switch state of the switch module, which can improve the accuracy of the control. In addition, when the control module is a PMIC, there is no need to set up a separate controller, which can reduce the cost of control.

[0051] Optionally, when the electronic device is in debug accessory mode (DAM), the first end of the switch module and the second end of the switch module are in a disconnected state, the first end of the switch module and the second end of the switch module are in a connected state, and the charge and discharge module is in a non-working state.

[0052] According to some embodiments, when the electronic device is in DAMS, USB debugging may be performed on the electronic device.

[0053] In some embodiments, since the interface terminal is used for both charging and system current measurement of the electronic device, the system current of the electronic device is measured only when the electronic device is in DAM, which can be distinguished from the charging mode, can reduce the impact of the charging and discharging module on the system current, and can improve the accuracy of the system current measurement.

[0054] Optionally, the interface terminal includes a configuration channel (CC) pin; wherein,

[0055] When the interface terminal is connected to an external device and the current corresponding to the configuration channel pin is greater than the current threshold, the electronic device is in a debugging auxiliary mode; or,

[0056] When the interface terminal is connected to the external device and the impedance corresponding to the configuration channel pin is less than the impedance threshold, the electronic device is in the debugging auxiliary mode.

[0057] According to some embodiments, the number of CC pins may be, for example, at least one. For example, the interface terminal may include two CC pins, namely, a CC1 pin and a CC2 pin.

[0058] In some embodiments, the current threshold and the impedance threshold do not specifically refer to a fixed threshold, and the current threshold and the impedance threshold can be adjusted according to actual application scenarios, for example.

[0059] According to some embodiments, whether to enter the DAM is determined based on the current or impedance of the configuration channel pin, which can improve the accuracy of the DAM determination.

[0060] In some embodiments, a special cable can perform special processing on CC1 and CC2 signals. When the special cable is inserted into the interface terminal, the current corresponding to the CC1 pin and the CC2 pin is greater than the current threshold or the impedance is less than the impedance threshold, so that the electronic device can identify the special cable and enter the DAM. When using a connection line other than the special cable, the electronic device will not enter the DAM.

[0061] In some embodiments, when the Cable line performs special processing on CC1 and CC2 signals, for example, a pull-up processing may be performed.

[0062] For example, when charging an electronic device, a charging cable does not perform special processing on CC1 and CC2 signals, so when the charging cable is plugged into the interface terminal, the electronic device does not enter the DAM.

[0063] Optionally, in the case where the external device is an external power supply, during the process of measuring the system current of the electronic device, the external device is the external power supply.

[0064] According to some embodiments, the external power supply may be, for example, a programmable power supply. A programmable power supply refers to a power supply that sets the output voltage and output current by external control to stabilize the voltage, stabilize the current, or stabilize the voltage / current. Using a programmable power supply to measure the system current of an electronic device can improve the efficiency and accuracy of the measurement.

[0065] Take a scenario as an example. Figure 3 This is a schematic diagram of a system current measurement provided by an embodiment of the present utility model. Figure 3 As shown, the electronic device is a mobile phone, and the programmable power supply is connected to the Type-C connector of the mobile phone through a special Cable, so that the mobile phone can enter the DAM, and the current on the current path of the special Cable is the system current.

[0066] Optionally, the electronic device further includes a first overvoltage protection module; wherein,

[0067] The first overvoltage protection module is arranged on a current path between the interface terminal, the first end of the switch module, the third end of the switch module and the system power supply network.

[0068] According to some embodiments, the first overvoltage protection module may be, for example, disposed between the interface terminal and the first end of the switch module. The first overvoltage protection module may also be, for example, disposed inside the switch module, that is, on a current path where the first end of the switch module and the third end of the switch module are in a connected state. The first overvoltage protection module may also be, for example, disposed on a current path between the third end of the switch module and the system power supply network.

[0069] In some embodiments, the first overvoltage protection module is used to prevent the external voltage connected to the interface terminal from being too high and burning out the components inside the electronic device. Therefore, the safety of measuring the system current of the electronic device can be improved.

[0070] Optionally, the charging and discharging module includes a second overvoltage protection module, a battery management module, a charge pump module and a power supply module; wherein,

[0071] The first end of the second overvoltage protection module is connected to the second end of the switch module, the second end of the second overvoltage protection module is respectively connected to the first end of the battery management module and the first end of the charge pump module, the second end of the battery management module and the second end of the charge pump module are respectively connected to the power module, and the third end of the battery management module is respectively connected to the third end of the switch module and the system power supply network.

[0072] According to some embodiments, during the process of measuring the system current of the electronic device, the battery management module and the charge pump module are both in a non-operating state. Therefore, the charge and discharge module will be in a non-operating state, which can reduce the impact of the charge and discharge module on the system current and improve the accuracy of the system current measurement.

[0073] According to some embodiments, Figure 4 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the utility model. Figure 4 As shown, the second overvoltage protection module may be, for example, an overvoltage protection transistor OVP MOS. The control end of the overvoltage protection transistor OVP MOS may be connected to the OVP MOS driving end OVPGATE of the charge pump module.

[0074] In some embodiments, Figure 4 As shown, the charge pump module may adopt a charging IC, for example. The charge pump module may include two charge pump circuits Phase#1 and Phase#2, for example. The charge pump module may also include a charge pump switch QB, for example; wherein,

[0075] The first end of the charge pump switch QB is connected to the second end of the overvoltage protection transistor OVP MOS, the second end of the charge pump switch QB is connected to the first end of Phase#1 and the first end of Phase#2 respectively, and the connection point between the second end of Phase#1 and the second end of Phase#2 is the second end of the charge pump module.

[0076] According to some embodiments, Figure 4 As shown, the battery management module may adopt a PMIC, for example, and the PMIC may be an IF PMIC, for example.

[0077] In some embodiments, the PMIC includes a CC1 / CC2 detection terminal, which can be used to detect the CC1 pin and the CC2 pin of the interface terminal to determine whether the electronic device is connected to the special cable.

[0078] According to some embodiments, Figure 4 As shown, the battery management module includes a battery power switch Qbat; wherein,

[0079] A first end of the battery-powered switch Qbat is connected to the second ends of the power module and the charge pump module respectively, and a second end of the battery-powered switch Qbat is connected to the third end of the switch module and the system power supply network respectively.

[0080] In some embodiments, during the process of measuring the system current of the electronic device, the battery power switch Qbat is in an off state, so that the power module can stop supplying power to the system power supply network, the influence of the charging and discharging module on the system current can be reduced, and the accuracy of the system current measurement can be improved.

[0081] According to some embodiments, Figure 4 As shown, the power module may include, for example, a battery. The positive electrode of the battery is connected to the second end of the battery management module and the second end of the charge pump module respectively, and the negative electrode of the battery is grounded.

[0082] In summary, the electronic device provided by the embodiment of the utility model, by arranging a switch module before the charging and discharging module, when the first end of the switch module and the second end of the switch module are in a disconnected state, and when the first end of the switch module and the second end of the switch module are in a connected state, the power supply voltage of the system power supply network can be directly supplied by the interface terminal. Therefore, the system current can be measured by measuring the current in the current path where the interface terminal is located, and there is no need to disassemble the machine for measurement.

[0083] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model. In this specification, the schematic representations of the above terms may be for different embodiments or examples. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0084] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present utility model, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0085] Although the embodiments of the present invention have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. An electronic device, It is characterized in that include: Interface terminals, switch modules, charge and discharge modules and system power supply network; among them, The interface terminal is connected to the first end of the switch module, the second end of the switch module is connected to the first end of the charge and discharge module, and the second end of the charge and discharge module and the third end of the switch module are respectively connected to the system power supply network; During the process of measuring the system current of the electronic device, the first end of the switch module and the second end of the switch module are in a disconnected state, the first end of the switch module and the second end of the switch module are in a connected state, and the charge and discharge module is in a non-working state.

2. The electronic device according to claim 1, It is characterized in that The electronic device further includes a control module; wherein, The control module is connected to the control end of the switch module.

3. The electronic device according to claim 1, It is characterized in that When the electronic device is in the debugging auxiliary mode, the first end of the switch module and the second end of the switch module are in a disconnected state, the first end of the switch module and the second end of the switch module are in a connected state, and the charging and discharging module is in a non-working state.

4. The electronic device according to claim 3, It is characterized in that The interface terminal includes a configuration channel pin; wherein, When the interface terminal is connected to an external device and the current corresponding to the configuration channel pin is greater than a current threshold, the electronic device is in the debugging auxiliary mode; or, When the interface terminal is connected to an external device and the impedance corresponding to the configuration channel pin is less than an impedance threshold, the electronic device is in the debugging auxiliary mode.

5. The electronic device according to claim 4, It is characterized in that In the process of measuring the system current of the electronic device, the external device is an external power supply.

6. The electronic device according to claim 1, It is characterized in that The electronic device further includes a first overvoltage protection module; wherein, The first overvoltage protection module is arranged on a current path between the interface terminal, the first end of the switch module, the third end of the switch module and the system power supply network.

7. The electronic device according to claim 1, It is characterized in that The charging and discharging module includes a second overvoltage protection module, a battery management module, a charge pump module and a power supply module; wherein, The first end of the second overvoltage protection module is connected to the second end of the switch module, the second end of the second overvoltage protection module is respectively connected to the first end of the battery management module and the first end of the charge pump module, the second end of the battery management module and the second end of the charge pump module are respectively connected to the power module, and the third end of the battery management module is respectively connected to the third end of the switch module and the system power supply network; During the process of measuring the system current of the electronic device, both the battery management module and the charge pump module are in a non-working state.

8. The electronic device according to claim 7, It is characterized in that The battery management module includes a battery power switch; wherein, The first end of the battery-powered switch is respectively connected to the second end of the power module and the charge pump module, and the second end of the battery-powered switch is respectively connected to the third end of the switch module and the system power supply network; During the process of measuring the system current of the electronic device, the battery power switch is in an off state.

9. The electronic device according to claim 7, It is characterized in that When the electronic device is in a charging mode, the first end of the switch module and the second end of the switch module are in a connected state, and the first end of the switch module and the second end of the switch module are in a disconnected state.

10. The electronic device according to claim 1, It is characterized in that The interface terminal is a Type-C connector.