CN113075534A - Power chip detection circuit, power chip detection method and device and electronic equipment - Google Patents

Power chip detection circuit, power chip detection method and device and electronic equipment Download PDF

Info

Publication number
CN113075534A
CN113075534A CN202110352831.5A CN202110352831A CN113075534A CN 113075534 A CN113075534 A CN 113075534A CN 202110352831 A CN202110352831 A CN 202110352831A CN 113075534 A CN113075534 A CN 113075534A
Authority
CN
China
Prior art keywords
voltage
power chip
signal
conversion unit
chip detection
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.)
Granted
Application number
CN202110352831.5A
Other languages
Chinese (zh)
Other versions
CN113075534B (en
Inventor
祝文祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110352831.5A priority Critical patent/CN113075534B/en
Publication of CN113075534A publication Critical patent/CN113075534A/en
Priority to PCT/CN2022/083238 priority patent/WO2022206646A1/en
Application granted granted Critical
Publication of CN113075534B publication Critical patent/CN113075534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • G01R31/2836Fault-finding or characterising
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • G01R31/42AC power supplies

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Power Engineering (AREA)
  • Emergency Protection Circuit Devices (AREA)
  • Dc-Dc Converters (AREA)
  • Protection Of Static Devices (AREA)

Abstract

The application discloses a power chip detection circuit, a power chip detection method and device and electronic equipment, and belongs to the technical field of electronics. The power supply chip detection circuit comprises a voltage isolation unit and a voltage conversion unit, wherein the voltage isolation unit can acquire a switch voltage signal on a switch pin in a power supply chip, isolate a direct current component in the switch voltage signal to obtain an alternating current component in the switch voltage signal, and the voltage conversion unit can convert the alternating current component into a signal which can indicate whether the power supply chip fails. Alternating current components in the switching voltage signals are converted into signals capable of indicating whether the power chip fails through the power chip detection circuit, whether the power chip fails or not can be accurately determined, and therefore the problem that whether the power chip fails or not cannot be determined can be solved.

Description

Power chip detection circuit, power chip detection method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a power chip detection circuit, a power chip detection method and device and electronic equipment.
Background
With the development of electronic technology, the functions of electronic equipment such as mobile phones, notebook computers and wearable equipment are more and more complex, and more power chips are used in the electronic equipment. The power chip is a power device, and when the power chip fails, the power chip can have great influence on the safe operation of the electronic equipment.
In the prior art, whether the power supply chip has a fault is mainly determined by reading data of a register in the power supply chip, so that corresponding measures are taken to prevent the power supply chip from running in a fault state. However, in some cases, it is not possible to determine whether the chip has a fault according to the data in the register, which may cause the power supply chip to continue to operate in a fault state, and thus the safety of the electronic device may be compromised.
Disclosure of Invention
The embodiment of the application aims to provide a power chip detection circuit, a power chip detection method, a power chip detection device and electronic equipment, which can solve the problem that whether a chip fails or not cannot be determined through data in a register.
In a first aspect, an embodiment of the present application provides a power chip detection circuit, where the power chip has a switch pin, and includes a voltage isolation unit and a voltage conversion unit that are connected;
the voltage isolation unit is connected with the switch pin and used for acquiring a switch voltage signal on the switch pin, isolating a direct current component in the switch voltage signal and outputting an alternating current component in the switch voltage signal to the voltage conversion unit;
the voltage conversion unit is used for converting the alternating current component and outputting a signal to indicate whether the power supply chip has a fault.
In a second aspect, an embodiment of the present application provides a power chip detection method, which is applied to the power chip detection circuit in the first aspect, where the power chip has a switch pin, and the method includes:
the voltage isolation unit acquires a switch voltage signal on the switch pin;
the voltage isolation unit isolates a direct current component in the switch voltage signal and outputs an alternating current component in the switch voltage signal to the voltage conversion unit;
the voltage conversion unit converts the alternating current component and outputs a signal to indicate whether the power supply chip has a fault.
In a third aspect, an embodiment of the present application provides a power chip detection method, which is applied to the power chip detection circuit in the first aspect, and the method includes:
acquiring a signal output by a power chip detection circuit;
and determining whether the power supply chip has a fault according to the signal.
In a fourth aspect, an embodiment of the present application provides a power chip detection apparatus, which is applied to the power chip detection circuit in the first aspect, the apparatus includes:
the acquisition module is used for acquiring a signal output by the power chip detection circuit;
and the judging module is used for determining whether the power supply chip has a fault according to the signal.
In a fifth aspect, an embodiment of the present application provides an electronic device, including the power chip detection circuit described in the first aspect, and the power chip detection apparatus described in the fourth aspect.
In this application embodiment, power chip detection circuitry includes voltage isolation unit and voltage conversion unit, and the voltage isolation unit can acquire the switching voltage signal on the switch pin in the power chip to direct current component in the isolation switching voltage signal obtains the alternating current component in the switching voltage signal, and voltage conversion unit can convert alternating current component into the signal that indicates whether the power chip breaks down. Alternating current components in the switching voltage signals are converted into signals capable of indicating whether the power chip is in fault or not through the power chip detection circuit, and whether the power chip is in fault or not can be accurately determined according to the signals, so that the problem that whether the power chip is in fault or not can be determined.
Drawings
Fig. 1 is a schematic circuit structure diagram of a power chip according to an embodiment of the present disclosure;
fig. 2 is a schematic waveform diagram of a switching voltage signal according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a power chip detection circuit according to an embodiment of the present disclosure;
FIG. 4 is a schematic circuit diagram of a power chip detection circuit according to an embodiment of the present disclosure;
fig. 5 is a schematic application diagram of a power chip detection circuit according to an embodiment of the present disclosure;
FIG. 6 is a graph showing simulation results of the schematic of the circuit shown in FIG. 4;
FIG. 7 is a schematic diagram of another application of a power chip detection circuit provided in an embodiment of the present application;
FIG. 8 is a flowchart illustrating steps of a method for testing a power chip according to an embodiment of the present disclosure;
FIG. 9 is a flowchart illustrating steps of another power chip detection method according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a power chip detection apparatus according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of an electronic device provided in accordance with an example embodiment;
fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
To facilitate understanding of a technical solution of the present application, a power chip related to the present application is first briefly introduced, and as shown in fig. 1, fig. 1 is a schematic circuit structure of the power chip provided in an embodiment of the present application, where a topology of the power chip is a Direct Current-Direct Current (DC-DC) circuit structure, such as a charge pump (charge pump) type power chip and a BUCK (BUCK) type power chip. The power supply chip may include a first switching element 101, a second switching element 102, an energy storage element 103, and a filtering element 104. As shown in fig. 1, the first switch element 101 and the second switch element 102 may be N-Metal-Oxide-Semiconductor field effect transistors (NMOS), the energy storage element 103 may be an inductor, and the filter element 104 may be a capacitor. The first switching element 101, the energy storage element 103 and the filter element 104 are sequentially connected in series to form a first current branch; one end of the second switching element 102 is connected to a connection point between the first switching element 101 and the energy storage element 103, and the second switching element 102, the energy storage element 103 and the filter element 104 are connected in series to form a second current branch. One end of the first switching element 101, which is not connected with the energy storage element 103, is connected with the positive pole of the input voltage, one end of the second switching element 102, which is not connected with the energy storage element 103 and the first switching element 101, is connected with one end of the filter element 104, which is not connected with the energy storage element 103, is connected with the negative pole of the input voltage, and the connection point between the energy storage element 103 and the filter element 104 is connected with the load. The connection point among the first switching element 101, the second switching element 102 and the energy storage element 103 constitutes a switching pin of the power chip. It should be noted that the specific types of the first switching element, the second switching element, the energy storage element, and the filtering element may be set according to requirements, and this embodiment is not limited thereto.
As shown in fig. 2, fig. 2 is a schematic waveform diagram of a switching voltage signal provided in an embodiment of the present application, where an abscissa in fig. 2 is a time axis and an ordinate is a voltage axis. In the working process of the power supply chip, in a first state, the first switching element 101 is turned on, the second switching element 102 is turned off, at this time, the input voltage charges the energy storage element 103 and supplies power to a load, and a switching voltage signal on a switching pin is at a high level. In the second state, the first switching element 101 is turned off, the second switching element 102 is turned on, the energy storage element 103 supplies power to the load, and the switching voltage signal at the switching pin is at a low level. The power supply chip is alternately switched between a first state and a second state, and the switching voltage signal is switched between a high level and a low level to form a square wave as shown in fig. 2, wherein the maximum value of the square wave is 5V, and the minimum value of the square wave is 0V.
In the use process of the electronic equipment, the damage of the power supply chip can influence the safe operation of the electronic equipment. For example, in a power chip for charging an electronic device, during a charging process, a surge current in a power grid may enter the power chip and break down an NMOS transistor shown in fig. 1. At this moment, after the charging is completed, the NMOS transistor is continuously turned on, and a large amount of heat is generated, so that the temperature of the power core is too high, and the safety of the electronic device is damaged. Moreover, when the NMOS is broken down, a reverse voltage may be generated at the charging port of the electronic device during the charging process, thereby corroding the charging port.
In the prior art, whether a power supply chip is faulty or not is mainly determined by reading data of a register in the power supply chip, and the occurrence of the fault cannot be determined by reading the data in the register, so that the electronic equipment cannot determine the fault of the power supply chip, and therefore protective measures cannot be taken to protect the electronic equipment.
In order to solve the problem that whether a power chip fails or not cannot be determined, the present embodiment provides a power chip detection circuit, a power chip detection method, a power chip detection device, and an electronic apparatus. The power chip detection circuit provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a power chip detection circuit provided in an embodiment of the present application, where the power chip detection circuit is used to detect a power chip having a switch pin, and may include: a voltage isolation unit and a voltage conversion unit connected.
The voltage isolation unit is connected with the switch pin and used for acquiring a switch voltage signal on the switch pin and isolating a direct current component in the switch voltage signal and outputting an alternating current component in the switch voltage signal to the voltage conversion unit; the voltage conversion unit is used for converting the alternating current component and outputting a signal to indicate whether the power supply chip has a fault or not.
In this embodiment, the voltage isolation unit is configured to collect a switching voltage signal at a switch pin, and isolate a dc component in the switching voltage signal to obtain an ac component in the switching voltage signal. The voltage conversion power supply is used for converting alternating current components in the switching voltage signals to obtain signals which can indicate whether the power supply chip has faults or not.
Optionally, the voltage isolation unit includes an isolation capacitor and a branch resistor connected in series;
one end of the isolation capacitor, which is not connected with the branch resistor, is used for connecting a switch pin, and the other end of the branch resistor, which is not connected with the isolation capacitor, is grounded;
and the connection point between the isolation capacitor and the branch resistor is connected with the voltage conversion unit so as to output an alternating current component to the voltage conversion unit.
In one embodiment, the dc component of the switch voltage signal may be isolated by a capacitor. As shown in fig. 4, fig. 4 is a schematic circuit diagram of a power chip detection circuit provided in this embodiment of the present application, the power chip detection circuit 200 includes a voltage isolation unit and a voltage conversion unit, the voltage isolation unit includes an isolation capacitor 201 and a branch resistor 202 connected in series, one end of the isolation capacitor 201 not connected to the branch resistor 202 forms an input end of the voltage isolation unit, and is used for connecting a switch pin to collect a switch voltage signal on the switch pin, the other end of the isolation capacitor 201 is connected to the branch resistor 202, and the isolation capacitor 201 is used for isolating a dc component in the switch voltage signal. One end of the branch resistor 202, which is not connected to the isolation capacitor 201, is grounded, the branch resistor 202 is used for providing a current branch for an alternating current component in the switching voltage signal, and a connection point between the isolation capacitor 201 and the branch resistor 202 constitutes an output end of the voltage isolation unit, which is used for outputting the alternating current component in the switching voltage signal. The specific structure of the voltage isolation unit can be flexibly set according to the requirement, and this embodiment does not limit this.
For example, as shown in fig. 5, fig. 5 is an application schematic diagram of a power chip detection circuit provided in an embodiment of the present application, and in conjunction with fig. 2, a switching voltage signal is a square wave, and the switching voltage signal can be decomposed into a direct current component and an alternating current component in a waveform. Isolation capacitor 201 and branch resistance 202 constitute the current branch road, and the one end of isolation capacitor 201 is connected the switch pin, and isolation capacitor 201 can the direct current component in the isolated switch voltage signal, makes the alternating current component in the switch voltage signal pass through the current branch road output that isolation capacitor 201 and branch resistance 202 constitute, at this moment on the tie point between isolation capacitor 201 and branch resistance 202, can gather the alternating current component in the switch voltage signal.
In practical application, when a current branch formed by serially connecting a capacitor and a resistor is used as the voltage isolation unit, the voltage isolation unit has a simple circuit structure, the structure of the power chip detection circuit can be simplified, and the cost of the power chip detection circuit can be reduced.
Optionally, the voltage conversion unit includes a reverse blocking element and a voltage stabilizing capacitor connected in series;
one end of the reverse blocking element, which is not connected with the voltage stabilizing capacitor, is connected with the voltage isolation unit, and the other end of the voltage stabilizing capacitor, which is not connected with the reverse blocking element, is grounded;
the reverse blocking element is used for being switched off when the alternating current component is a negative value and being switched on when the alternating current component is a positive value, so that a direct current voltage signal is output at a connecting point between the reverse blocking element and the voltage stabilizing capacitor.
In this embodiment, the positive voltage in the alternating current component may be intercepted by the reverse blocking element, and the positive voltage in the alternating current component may be subjected to voltage stabilization by the voltage stabilization capacitor, so as to obtain a direct current voltage signal that may indicate whether the power chip fails.
Alternatively, the reverse blocking element may be a diode 203 shown in fig. 4 and 5, and an anode of the diode 203 constitutes an input terminal of the voltage converting unit, and is used for being connected to an output terminal of the voltage isolating unit to receive the alternating current component output by the voltage isolating unit. The cathode of the diode 203 is connected to the voltage stabilizing capacitor 204, and the end of the voltage stabilizing capacitor 204 not connected to the diode 203 is grounded. The junction between the diode 203 and the voltage stabilizing capacitor 204 constitutes the output terminal of the voltage converting unit for outputting a stable dc voltage signal. In the circuit shown in fig. 5, the diode 203 may be turned on when the ac component is a positive value to output a positive voltage in the ac component to the voltage stabilizing capacitor 204, and may be turned off when the ac component is a negative value to intercept the positive voltage in the ac component. The positive voltage in the alternating current component is input into the voltage stabilizing capacitor, and a stable direct current voltage signal is obtained under the action of the voltage stabilizing capacitor. The reverse blocking element may also be an electronic element such as a triode or a direct current switch, and the specific type of the reverse blocking element is not limited in this embodiment.
In practical application, when the voltage conversion unit is composed of the reverse blocking element and the voltage stabilizing capacitor, the voltage conversion unit with a simple structure can be obtained, so that the circuit structure of the power chip detection circuit can be simplified, and the cost of the power chip detection circuit can be reduced.
In one embodiment, the voltage conversion unit is further configured to be connected to the controller to output a dc voltage signal to the controller, so that the controller determines that the power chip fails if the dc voltage signal exceeds a preset voltage range. As shown in fig. 5, an input terminal of the controller 205 may be connected to a connection point between the diode 203 and the voltage stabilizing capacitor 204 to receive a stabilized dc voltage signal. After receiving the dc voltage signal, the controller 205 may determine whether the dc voltage signal is within a preset voltage range, and determine whether the power chip fails.
As shown in fig. 6, fig. 6 is a schematic diagram of a simulation result of the schematic circuit diagram shown in fig. 4, in which the voltage source 300 in fig. 4 is an analog switching voltage signal, the voltage shown in the first coordinate system 601 is a schematic waveform of the analog switching voltage signal, the voltage shown in the second coordinate system 602 is a schematic waveform of an ac component output by the voltage isolation unit, and the voltage shown in the third coordinate system 603 is a schematic waveform of a dc voltage signal output by the voltage conversion unit. In the first coordinate system, the second coordinate system and the third coordinate system, the horizontal coordinates are time axes, and the vertical coordinates are voltage axes. When the power supply chip is not in fault, the switching voltage signal is a 5V square wave shown in a first coordinate system, and after passing through the voltage isolation unit, the switching voltage signal obtains an alternating voltage with amplitude of 3V shown in a second coordinate system, namely an alternating current component in the switching voltage signal; and after the alternating current component passes through the voltage conversion unit, a 2.4V direct current voltage signal shown in a third coordinate system is obtained. When the power chip fails, for example, the first switching element in fig. 1 is broken down, a square wave with an amplitude less than 5V appears in the switching voltage signal, so that the dc voltage signal output by the voltage conversion unit is lower than 2.4V. Or, a square wave with amplitude higher than 5V may appear in the switching voltage signal, resulting in that the dc voltage signal output by the voltage converting unit is higher than 2.4V.
With reference to the above example, if the preset voltage range is set to 2-5V, when the controller receives a dc voltage signal smaller than 2V or larger than 5V, it may be determined that the power chip is damaged and is a faulty chip. On the contrary, if the dc voltage signal is greater than or equal to 2V and less than or equal to 5V, it may be determined that the power chip has not failed. The specific value of the preset voltage range may be set according to a requirement, which is not limited in this embodiment. It should be noted that, when the power supply chip stops operating, the switching voltage signal is 0V, and at this time, the dc voltage signal is 0V. Therefore, when the dc voltage signal received by the controller is 0V, it can be determined that the power supply chip has stopped operating.
In an embodiment, after the controller controls the power chip to stop working, if the received dc voltage signal is greater than 0V or less than 0V, it indicates that the power chip is still working, and at this time, it may be determined that the power chip is not controlled by the controller and fails. On the contrary, when the controller controls the power supply chip to work, if the received direct current voltage signal is 0V, the power supply chip can be determined to stop working, and a fault occurs.
In practical application, when the electronic device determines that the power supply chip has a fault, certain measures can be taken to protect the electronic device. For example, when the power chip fails, the electronic device may output notification information through a display screen or output sound information through a speaker to notify a user of the power chip failure. Or, the electronic device can directly turn off the failed power chip and other chips connected with the power chip to protect the electronic device. In some cases, the electronic device may also restart or shut down the electronic device to protect the electronic device.
In this embodiment, the preset voltage range may be determined according to a dc voltage signal output by the power chip detection circuit when the power chip fails. In the circuit schematic shown in fig. 4, the voltage V1 output by the voltage isolation unit is related to the capacitance C1 of the isolation capacitor and the resistance R1 of the branch resistor, and the voltage V, the duty ratio D and the frequency f of the switching voltage signal. Specifically, the differential of the voltage V with respect to the time t multiplied by the capacity C1 of the isolation capacitor is equal to the current i flowing through the isolation capacitor, and the specific calculation formula is as follows:
Figure BDA0003002697460000091
further, according to the relationship among the voltage, the resistance and the current, the voltage V1 can be calculated by the following formula:
Figure BDA0003002697460000092
further, when the frequency f of the switching voltage signal is large, the voltage V1 can be calculated by the following formula:
Figure BDA0003002697460000093
where Δ V represents a voltage per unit time, and Δ t represents a unit time. From the above formula, V1 is proportional to R1, C1, f, V and inversely proportional to D, and the voltage V1 can be determined by the parameters R1, C1, f, V and D. When the power chip does not have a fault, the parameters R1, C1, f, V and D in different states are counted, and the voltage V1 in different states can be determined. Further, according to the voltage V1 and the coefficient of the voltage conversion unit, it can be determined that the power chip detection circuit outputs the dc voltage signal in different states when the power chip is not in fault, and further according to the dc voltage signal when the power chip is not in fault, it can be determined that the preset voltage range is provided. For example, if the minimum dc voltage signal output by the power chip detection circuit is 2V and the maximum dc voltage signal is 5V when the power chip is not faulty, it may be determined that the preset voltage range is 2-5V.
In summary, in this embodiment, the power chip detection circuit includes a voltage isolation unit and a voltage conversion unit, the voltage isolation unit may obtain a switching voltage signal on a switch pin in the power chip, isolate a direct current component in the switching voltage signal, and obtain an alternating current component in the switching voltage signal, and the voltage conversion unit may convert the alternating current component into a signal indicating whether the power chip fails. Alternating current components in the switching voltage signals are converted into signals capable of indicating whether the power chip fails through the power chip detection circuit, and whether the power chip fails can be accurately determined through the signals, so that the problem that whether the power chip fails can be solved.
Optionally, the voltage conversion unit includes a rectifier, an input end of the rectifier is connected to an output end of the voltage isolation unit, and the rectifier is configured to rectify the alternating current component and output a direct current voltage signal.
In one embodiment, the voltage conversion unit may include a rectifier. As shown in fig. 4 and 5, the input terminal of the rectifier may be connected to a connection point between the isolation capacitor and the branch resistor to receive an alternating current component in the switching voltage signal. The rectifier outputs a direct current voltage signal that may indicate whether the power chip is malfunctioning after rectifying the alternating current component. The specific structure and type of the rectifier can be set according to the requirement, and this embodiment does not limit this.
In practical application, the alternating current component in the switching voltage signal is rectified through the rectifier, so that the obtained direct current voltage signal is more accurate, and whether a power supply chip fails or not can be determined more accurately.
Optionally, the voltage converting unit includes a voltage converting subunit and a voltage comparing subunit;
the voltage conversion subunit is used for converting the alternating current component and outputting direct current voltage;
the input end of the voltage comparison subunit is connected with the voltage conversion subunit to receive the direct-current voltage; the voltage comparison subunit is used for connecting the controller and outputting a fault signal to the controller when the comparison determines that the direct-current voltage exceeds the preset voltage range, so that the controller determines that the power supply chip has a fault under the condition of receiving the fault signal.
For example, as shown in fig. 7, fig. 7 is an application schematic diagram of another power chip detection circuit provided in the embodiment of the present application, the voltage comparison subunit may be a comparator 206, one input terminal of the comparator 206 is connected to a connection point between the diode 203 and the voltage stabilizing capacitor 204 to receive a dc voltage, and another input terminal of the comparator is used to connect a voltage value within a preset range. The output end of the comparator 206 may be connected to the input end of the controller 205, and after receiving the dc voltage, the comparator 206 may compare the dc voltage with a voltage value within a preset range, and if the dc voltage is not within the preset voltage range, output a high level signal, i.e., a fault signal, to the controller 205. The controller may determine that the power chip is malfunctioning after receiving the high level signal. In contrast, when the dc voltage is within the preset voltage range, the comparator 206 may output a low level signal to the controller 205, and the controller may determine that the power chip is normal when receiving the low level signal.
In practical application, the voltage comparison subunit compares the direct-current voltage with a voltage value in a preset range to determine whether the power supply chip has a fault, and sends a fault signal to the controller to inform the controller of the fault of the power supply chip when the power supply chip has the fault. The process of collecting the high-level signal by the controller is faster than the speed of collecting the analog voltage, so that compared with the mode of sending the direct-current voltage to the controller, the mode of sending the fault signal to the controller can enable the controller to determine whether the power supply chip is in fault or not more quickly.
Referring to fig. 8, fig. 8 is a flowchart of steps of a power chip detection method provided in an embodiment of the present application, and the method is applied to the power chip detection circuit described above, and the method may include:
step 801, the voltage isolation unit obtains a switch voltage signal on a switch pin.
Step 802, the voltage isolation unit isolates the dc component in the switching voltage signal and outputs the ac component in the switching voltage signal to the voltage conversion unit.
Step 803, the voltage conversion unit converts the alternating current component and outputs a signal to indicate whether the power supply chip has a fault.
Optionally, the voltage conversion unit includes a reverse blocking element and a voltage stabilizing capacitor connected in series;
accordingly, step 803 may be implemented as follows:
the reverse blocking element intercepts positive voltage in the alternating current component;
the voltage stabilizing capacitor stabilizes the positive voltage in the alternating current component and outputs a direct current voltage signal.
Optionally, the voltage conversion unit comprises a rectifier;
accordingly, step 803 may be implemented as follows:
the rectifier rectifies the alternating current component and outputs a direct current voltage signal.
Optionally, the voltage converting unit includes a voltage converting subunit and a voltage comparing subunit connected;
accordingly, step 803 may be implemented as follows:
the voltage conversion subunit converts the alternating current component and outputs direct current voltage;
and under the condition that the direct-current voltage is determined to exceed the preset voltage range through the comparison of the voltage comparison subunit, outputting a fault signal to the controller, so that the controller determines that the power supply chip has a fault under the condition that the controller receives the fault signal.
For understanding the power chip detection method, reference may be made to the power chip detection circuit in the above example, which is not described in detail in this embodiment.
In summary, in the embodiment, the switching voltage signal on the switch pin is obtained, the dc component in the switching voltage signal is isolated, the ac component in the switching voltage signal is output to the voltage conversion unit, the ac component is converted by the voltage conversion unit, and the signal is output to indicate whether the power chip fails. Alternating current components in the switching voltage signals are converted into signals capable of indicating whether the power chip fails through the power chip detection circuit, whether the power chip fails or not can be accurately determined, and therefore the problem that whether the power chip fails or not cannot be determined can be solved.
Referring to fig. 9, fig. 9 is a flowchart of steps of another power chip detection method provided in the embodiment of the present application, and the method is applied to the power chip detection circuit described in the foregoing embodiment, and the method may include:
and step 901, acquiring a signal output by the power chip detection circuit.
And step 902, determining whether the power supply chip has a fault according to the signal.
Step 901 and step 902 may be executed by the controller 205 shown in fig. 5 and fig. 7, and the controller 205 may obtain a signal output by the power chip detection circuit 200, and determine whether the power chip fails according to the signal.
In summary, in this embodiment, the controller may obtain the signal output by the power chip detection circuit, and determine whether the power chip fails according to the signal. Alternating current components in the switching voltage signals are converted into signals capable of indicating whether the power chip fails through the power chip detection circuit, whether the power chip fails or not can be accurately determined, and therefore the problem that whether the power chip fails or not cannot be determined can be solved.
It should be noted that, in the power chip detection method provided in the embodiment of the present application, the execution main body may be a power-on chip detection device, or a control module in the power chip detection device for executing the power chip detection method. The embodiment of the present application describes a power chip detection apparatus provided in the embodiment of the present application, by taking an example in which the power chip detection apparatus executes a power chip detection method.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a power chip detection apparatus provided in an embodiment of the present application, where the apparatus 1000 may include:
an obtaining module 1001, configured to obtain a signal output by a power chip detection circuit;
the judging module 1002 is configured to determine whether the power chip fails according to the signal.
In summary, in this embodiment, the controller may obtain the signal output by the power chip detection circuit, and determine whether the power chip fails according to the signal. Alternating current components in the switching voltage signals are converted into signals capable of indicating whether the power chip fails through the power chip detection circuit, whether the power chip fails or not can be accurately determined, and therefore the problem that whether the power chip fails or not cannot be determined can be solved.
Optionally, as shown in fig. 11, fig. 11 is a schematic structural diagram of an electronic device according to an exemplary embodiment, where the electronic device 1100 includes a processor 1101, a memory 1102, and a program or an instruction stored in the memory 1102 and executable on the processor 1101, and when the program or the instruction is executed by the processor 1101, the process of the embodiment of the power chip detection method is implemented, and the same technical effect can be achieved, and is not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensors 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1210 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1210 is configured to obtain a signal output by the power chip detection circuit;
and determining whether the power supply chip has a fault according to the signal.
In summary, in this embodiment, a signal output by the power chip detection circuit is obtained, and whether the power chip fails is determined according to the signal. Alternating current components in the switching voltage signals are converted into signals capable of indicating whether the power chip fails through the power chip detection circuit, whether the power chip fails or not can be accurately determined, and therefore the problem that whether the power chip fails or not cannot be determined can be solved.
In an embodiment of the invention, the electronic device receives a first input to the application icon, and displays a message preview window corresponding to the application icon in response to the first input. The message preview window comprises target content in at least one notification message received by the application program to which the application program icon belongs. When the number of the notification messages displayed in the notification bar is large, the user can operate the application program icon to display the message preview window corresponding to the application program, and the notification messages received by the application program are previewed through the message preview window, so that the notification messages can be prevented from being searched in the notification bar, and the waste of time is avoided.
It should be understood that, in the embodiment of the present application, the input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics Processing Unit 12041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. A touch panel 12071, also referred to as a touch screen. The touch panel 12071 may include two parts of a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1209 may be used to store software programs as well as various data, including but not limited to application programs and an operating system. Processor 1210 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the power chip detection method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the power chip detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (13)

1. A power chip detection circuit is characterized in that a power chip is provided with a switch pin and comprises a voltage isolation unit and a voltage conversion unit which are connected;
the voltage isolation unit is connected with the switch pin and used for acquiring a switch voltage signal on the switch pin, isolating a direct current component in the switch voltage signal and outputting an alternating current component in the switch voltage signal to the voltage conversion unit;
the voltage conversion unit is used for converting the alternating current component and outputting a signal to indicate whether the power supply chip has a fault.
2. The power chip detection circuit according to claim 1, wherein the voltage isolation unit comprises an isolation capacitor and a branch resistor connected in series;
one end, not connected with the branch resistor, of the isolation capacitor is used for being connected with the switch pin, and one end, not connected with the isolation capacitor, of the branch resistor is grounded;
and a connection point between the isolation capacitor and the branch resistor is connected with the voltage conversion unit so as to output the alternating current component to the voltage conversion unit.
3. The power chip detection circuit according to claim 1, wherein the voltage conversion unit comprises a reverse blocking element and a voltage stabilizing capacitor connected in series;
one end of the reverse blocking element, which is not connected with the voltage stabilizing capacitor, is connected with the voltage isolation unit, and one end of the voltage stabilizing capacitor, which is not connected with the reverse blocking element, is grounded;
the reverse blocking element is used for being switched off when the alternating current component is a negative value and being switched on when the alternating current component is a positive value, so that a direct current voltage signal is output at a connecting point between the reverse blocking element and the voltage stabilizing capacitor.
4. The power chip detection circuit according to claim 1, wherein the voltage conversion unit comprises a rectifier, an input terminal of the rectifier is connected to the output terminal of the voltage isolation unit, and the rectifier is configured to rectify the ac component and output a dc voltage signal.
5. The power chip detection circuit according to claim 1, wherein the voltage conversion unit comprises a voltage conversion sub-unit and a voltage comparison sub-unit;
the voltage conversion subunit is used for converting the alternating current component and outputting direct current voltage;
the input end of the voltage comparison subunit is connected with the voltage conversion subunit to receive the direct-current voltage; the voltage comparison subunit is used for connecting a controller and outputting a fault signal to the controller when the comparison result shows that the direct-current voltage exceeds a preset voltage range, so that the controller determines that the power supply chip has a fault when receiving the fault signal.
6. The power chip detection circuit according to claim 3 or 4, wherein the voltage conversion unit is further configured to connect to a controller to output the dc voltage signal to the controller, so that the controller determines that the power chip fails when the dc voltage signal exceeds a preset voltage range.
7. A power chip detection method applied to the power chip detection circuit according to any one of claims 1 to 6, the power chip having a switch pin, the method comprising:
the voltage isolation unit acquires a switch voltage signal on the switch pin;
the voltage isolation unit isolates a direct current component in the switch voltage signal and outputs an alternating current component in the switch voltage signal to the voltage conversion unit;
the voltage conversion unit converts the alternating current component and outputs a signal to indicate whether the power supply chip has a fault.
8. The method of claim 7, wherein the voltage conversion unit comprises a reverse blocking element and a voltage stabilizing capacitor connected in series;
the voltage conversion unit converts the alternating current component and outputs a signal, and the voltage conversion unit comprises:
the reverse blocking element intercepts a positive voltage in the alternating current component;
and the voltage stabilizing capacitor stabilizes the positive voltage in the alternating current component and outputs a direct current voltage signal.
9. The method of claim 7, wherein the voltage conversion unit comprises a rectifier;
the voltage conversion unit converts the alternating current component and outputs a signal, and the voltage conversion unit comprises:
the rectifier rectifies the alternating current component and outputs a direct current voltage signal.
10. The method according to any one of claims 7-9, wherein the voltage conversion unit comprises a voltage conversion subunit and a voltage comparison subunit connected;
the voltage conversion unit converts the alternating current component and outputs a signal, and the voltage conversion unit comprises:
the voltage conversion subunit converts the alternating current component and outputs direct current voltage;
and under the condition that the voltage comparison subunit compares and determines that the direct-current voltage exceeds a preset voltage range, outputting a fault signal to the controller, so that the controller determines that the power supply chip has a fault under the condition that the controller receives the fault signal.
11. A power chip detection method applied to the power chip detection circuit according to any one of claims 1 to 6, the method comprising:
acquiring a signal output by a power chip detection circuit;
and determining whether the power supply chip has a fault according to the signal.
12. A power chip detection device applied to the power chip detection circuit according to any one of claims 1 to 6, the device comprising:
the acquisition module is used for acquiring a signal output by the power chip detection circuit;
and the judging module is used for determining whether the power supply chip has a fault according to the signal.
13. An electronic device comprising the power chip detection circuit according to any one of claims 1 to 6, or the power chip detection device according to claim 12.
CN202110352831.5A 2021-03-31 2021-03-31 Power chip detection circuit, power chip detection method and device and electronic equipment Active CN113075534B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110352831.5A CN113075534B (en) 2021-03-31 2021-03-31 Power chip detection circuit, power chip detection method and device and electronic equipment
PCT/CN2022/083238 WO2022206646A1 (en) 2021-03-31 2022-03-28 Power source chip testing circuit, power source chip testing method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110352831.5A CN113075534B (en) 2021-03-31 2021-03-31 Power chip detection circuit, power chip detection method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113075534A true CN113075534A (en) 2021-07-06
CN113075534B CN113075534B (en) 2023-07-14

Family

ID=76614529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110352831.5A Active CN113075534B (en) 2021-03-31 2021-03-31 Power chip detection circuit, power chip detection method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113075534B (en)
WO (1) WO2022206646A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022206646A1 (en) * 2021-03-31 2022-10-06 维沃移动通信有限公司 Power source chip testing circuit, power source chip testing method and apparatus, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002228407A (en) * 2001-02-02 2002-08-14 Omron Corp Proximity sensor with fail-safe function
CN202178715U (en) * 2011-08-03 2012-03-28 深圳市富满电子有限公司南山分公司 AC-DC power conversion chip and power conversion circuit
CN202975143U (en) * 2012-12-21 2013-06-05 常熟开关制造有限公司(原常熟开关厂) Detection circuit of automatic change-over switch electric appliance
CN203396920U (en) * 2013-07-23 2014-01-15 浙江海洋学院 Handheld alternating-current and direct-current circuit connection error monitoring and alarming device
CN203595753U (en) * 2013-11-15 2014-05-14 新乡市景弘电气有限公司 Alternating-current component detection device for direct-current power supply
CN104090245A (en) * 2014-04-03 2014-10-08 大连科海测控技术有限公司 Alternating current infiltrating detector for direct current supply system
CN106707196A (en) * 2017-02-20 2017-05-24 广西电网有限责任公司北海供电局 Portable mobile alternating current intrusion fault detection and positioning device
CN206945928U (en) * 2017-02-20 2018-01-30 广西电网有限责任公司北海供电局 Fault detect positioner is scurried into a kind of Portable exchange

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4892876B2 (en) * 2005-06-20 2012-03-07 富士ゼロックス株式会社 Failure diagnosis apparatus and method
CN1908680B (en) * 2005-08-05 2011-03-23 鸿富锦精密工业(深圳)有限公司 Surging current detecting circuit
JP2009303427A (en) * 2008-06-16 2009-12-24 Mitsutoyo Corp Motor driving unit
CN103869262A (en) * 2014-03-24 2014-06-18 上海航天电子通讯设备研究所 Measurement device of launch vehicle secondary electric power supply
CN204287447U (en) * 2014-12-11 2015-04-22 深圳市金威源科技股份有限公司 A kind of alternating current-direct current input detecting circuit
CN113075534B (en) * 2021-03-31 2023-07-14 维沃移动通信有限公司 Power chip detection circuit, power chip detection method and device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002228407A (en) * 2001-02-02 2002-08-14 Omron Corp Proximity sensor with fail-safe function
CN202178715U (en) * 2011-08-03 2012-03-28 深圳市富满电子有限公司南山分公司 AC-DC power conversion chip and power conversion circuit
CN202975143U (en) * 2012-12-21 2013-06-05 常熟开关制造有限公司(原常熟开关厂) Detection circuit of automatic change-over switch electric appliance
CN203396920U (en) * 2013-07-23 2014-01-15 浙江海洋学院 Handheld alternating-current and direct-current circuit connection error monitoring and alarming device
CN203595753U (en) * 2013-11-15 2014-05-14 新乡市景弘电气有限公司 Alternating-current component detection device for direct-current power supply
CN104090245A (en) * 2014-04-03 2014-10-08 大连科海测控技术有限公司 Alternating current infiltrating detector for direct current supply system
CN106707196A (en) * 2017-02-20 2017-05-24 广西电网有限责任公司北海供电局 Portable mobile alternating current intrusion fault detection and positioning device
CN206945928U (en) * 2017-02-20 2018-01-30 广西电网有限责任公司北海供电局 Fault detect positioner is scurried into a kind of Portable exchange

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022206646A1 (en) * 2021-03-31 2022-10-06 维沃移动通信有限公司 Power source chip testing circuit, power source chip testing method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2022206646A1 (en) 2022-10-06
CN113075534B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US10666063B2 (en) Charging method, charging device and terminal
CN104331141B (en) Overcurrent protection circuit and server thereof
US9811139B2 (en) Apparatus and method for power supply
CN105788556B (en) A kind of overvoltage crowbar and method, liquid crystal display drive circuit
CN104604078B (en) Method and system for collapse of voltage protection
US20130311120A1 (en) Battery voltage detection method and apparatus
US10741112B2 (en) Display apparatus and protection circuit thereof
CN113075534B (en) Power chip detection circuit, power chip detection method and device and electronic equipment
CN114123114A (en) Control method and device of bleeder circuit, bleeder device and electronic equipment
CN112701751B (en) Power supply circuit, power supply method and electronic equipment
US9570922B2 (en) Charging method and electronic device
CN112688383B (en) Power supply control circuit, power supply control method and device and electronic equipment
CN106972558B (en) Charging control method and electronic equipment
CN108073108A (en) For controlling the method for the interruption in inverter
WO2016198003A1 (en) Mobile terminal power source management method and device, and mobile terminal
CN115296285A (en) Power protection circuit, method, device and computer storage medium
CN106844160B (en) Power control method and device and electronic equipment
CN111614138B (en) Interface protection circuit and electronic equipment
CN212031603U (en) Detection circuit, protection system and consumer
CN108845220B (en) Battery system ground fault detection device and method
CN210270805U (en) Power protection module and computer
CN113030781A (en) Electric leakage detection method and electronic equipment
CN106374569A (en) Charging circuit, electronic equipment and charging method
CN113010004B (en) Abnormal power consumption processing method and device and electronic equipment
CN217879394U (en) Voltage detection device

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