CN113075534B - 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 PDFInfo
- Publication number
- CN113075534B CN113075534B CN202110352831.5A CN202110352831A CN113075534B CN 113075534 B CN113075534 B CN 113075534B CN 202110352831 A CN202110352831 A CN 202110352831A CN 113075534 B CN113075534 B CN 113075534B
- Authority
- CN
- China
- Prior art keywords
- voltage
- power chip
- signal
- chip detection
- detection circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2832—Specific tests of electronic circuits not provided for elsewhere
- G01R31/2836—Fault-finding or characterising
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2851—Testing of integrated circuits [IC]
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/40—Testing power supplies
- G01R31/42—AC power supplies
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Dc-Dc Converters (AREA)
- Protection Of Static Devices (AREA)
- Emergency Protection Circuit Devices (AREA)
Abstract
The application discloses a power chip detection circuit, a power chip detection method, a power chip detection device and electronic equipment, and belongs to the technical field of electronics. The power 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 chip and 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 chip has faults or not. The alternating current component in the switch voltage signal is converted into a signal capable of indicating whether the power chip is faulty or not through the power chip detection circuit, whether the power chip is faulty or not can be accurately determined, and therefore the problem that whether the power chip is faulty or not can be solved.
Description
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, a power chip detection device and electronic equipment.
Background
With the development of electronic technology, functions of electronic devices such as mobile phones, notebook computers and wearable devices are more and more complex, and power chips in the electronic devices are more and more. The power chip is a power device, and when the power chip fails, the safety operation of the electronic equipment can be greatly influenced.
In the prior art, whether the power supply chip fails or not is determined mainly by reading data of a register in the power supply chip, so that corresponding measures are taken to avoid the power supply chip from running in a failure state. However, in some cases, it cannot be determined whether the chip fails according to the data in the register, and this may cause the power chip to continue to operate in the failure state, which jeopardizes the safety of the electronic device.
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 the switch pin includes a voltage isolation unit and a voltage conversion unit that are connected;
the voltage isolation unit is connected with the switch pin and is 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 faults or not.
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, where the method includes:
acquiring a signal output by a power chip detection circuit;
and determining whether the power supply chip fails 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, and the apparatus includes:
the acquisition module is used for acquiring signals output by the power chip detection circuit;
and the judging module is used for determining whether the power supply chip fails 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 embodiment of the application, the power chip detection circuit includes a voltage isolation unit and a voltage conversion unit, where the voltage isolation unit can obtain a switching voltage signal on a switching pin in the power chip, isolate a dc component in the switching voltage signal, obtain an ac component in the switching voltage signal, and the voltage conversion unit can convert the ac component into a signal indicating whether the power chip is faulty. The alternating current component in the switch voltage signal is converted into a signal capable of indicating whether the power chip is faulty or not through the power chip detection circuit, whether the power chip is faulty or not can be accurately determined according to the signal, and therefore the problem that whether the power chip is faulty or not can be solved.
Drawings
Fig. 1 is a schematic circuit 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 an application schematic diagram of a power chip detection circuit according to an embodiment of the present application;
FIG. 6 is a schematic diagram of simulation results of the schematic diagram of the circuit shown in FIG. 4;
fig. 7 is an application schematic diagram of another power chip detection circuit according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating steps of a power chip detection method 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 device according to an embodiment of the present application;
FIG. 11 is a schematic diagram of an electronic device provided in accordance with an exemplary embodiment;
fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In order to facilitate understanding of the technical solution of the present application, first, a power chip related to the present application is briefly described, as shown in fig. 1, fig. 1 is a schematic circuit structure of a power chip provided in an embodiment of the present application, where a topology structure of the power chip is a Direct Current-Direct Current (DC-DC) type circuit structure, such as a charge pump (charge pump) type 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 filter element 104. As shown in fig. 1, the first switching element 101 and the second switching element 102 may be N-Metal-Oxide-Semiconductor (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 used for connecting with a positive electrode of an input voltage, one end of the second switching element 102, which is not connected with the energy storage element 103, is connected with one end of the filter element 104, which is not connected with the energy storage element 103, is used for connecting with a negative electrode of the input voltage, and a connecting point between the energy storage element 103 and the filter element 104 is connected with a load. The connection points among the first switching element 101, the second switching element 102 and the energy storage element 103 form 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 filter element may be set according to the requirement, which is not limited in this implementation.
As shown in fig. 2, fig. 2 is a schematic waveform diagram of a switching voltage signal according to an embodiment of the present application, where the abscissa in fig. 2 is a time axis and the ordinate is a voltage axis. In the working process of the power supply chip, in the 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 the load, and the switching voltage signal on the 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, and the energy storage element 103 supplies power to the load, and the switching voltage signal on the switching pin is at a low level. The power chip is alternately switched between a first state and a second state, and the switch 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.
During the use of the electronic device, the damage of the power chip may affect the safe operation of the electronic device. For example, during a charging process, a surge current in a power grid may enter the power chip to break down the NMOS transistor shown in fig. 1. At this time, after the charging is completed, the NMOS tube 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 compromised. And, after the NMOS tube is broken down, a reverse voltage is generated at the charging port of the electronic equipment in the charging process, and the charging port is corroded.
In the prior art, whether the power supply chip is in fault is mainly determined by reading the data of the register in the power supply chip, but 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 thus, protective measures cannot be taken to protect the electronic equipment.
In order to solve the problem that whether the power chip fails or not cannot be determined, the embodiment provides a power chip detection circuit, a power chip detection method, a power chip detection device and electronic equipment. The power chip detection circuit provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenarios thereof with reference to the accompanying drawings.
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 configured to detect a power chip with a switch pin, and may include: and the voltage isolation unit and the voltage conversion unit are connected.
The voltage isolation unit is connected with the switch pin and is 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 fails.
In this embodiment, the voltage isolation unit is configured to collect a switching voltage signal on the switching pin, and isolate a dc component in the switching voltage signal, so as 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 comprises 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 being connected with the switch pin, and the other end of the branch resistor, which is not connected with the isolation capacitor, is grounded;
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 in the switching 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 an embodiment of the present application, where 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, which is not connected with the branch resistor 202, forms an input end of the voltage isolation unit, 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 with the branch resistor 202, and the isolation capacitor 201 is used for isolating a dc component in the switch voltage signal. The branch resistor 202 is not connected to the one end of the isolation capacitor 201 and is grounded, the branch resistor 202 is used for providing a current branch for an ac component in the switching voltage signal, and a connection point between the isolation capacitor 201 and the branch resistor 202 forms an output end of the voltage isolation unit and is used for outputting the ac component in the switching voltage signal. The specific structure of the voltage isolation unit can be flexibly set according to requirements, and the embodiment is not limited to this.
As shown in fig. 5, fig. 5 is an application schematic diagram of a power chip detection circuit according to an embodiment of the present application, and in conjunction with fig. 2, the switching voltage signal is a square wave, and the switching voltage signal may be waveform-decomposed into a dc component and an ac component. The isolation capacitor 201 and the branch resistor 202 form a current branch, one end of the isolation capacitor 201 is connected with the switch pin, the isolation capacitor 201 can isolate a direct current component in the switch voltage signal, so that the alternating current component in the switch voltage signal is output through the current branch formed by the isolation capacitor 201 and the branch resistor 202, and at the moment, the alternating current component in the switch voltage signal can be collected at a connection point between the isolation capacitor 201 and the branch resistor 202.
In practical application, when the current branch formed by connecting the capacitor and the resistor in series is used as the voltage isolation unit, the circuit structure of the voltage isolation unit is simple, 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 comprises a reverse blocking element and a voltage stabilizing capacitor which are 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 configured to be turned off when the ac component is negative and turned on when the ac component is positive, so as to output a dc voltage signal at a connection point between the reverse blocking element and the voltage stabilizing capacitor.
In this embodiment, the positive voltage in the ac component may be intercepted by the reverse blocking element, and the positive voltage in the ac component may be stabilized by the stabilizing capacitor, so as to obtain a dc voltage signal that may indicate whether the power supply chip is faulty.
Alternatively, the reverse blocking element may be a diode 203 shown in fig. 4 and 5, and an anode of the diode 203 forms an input terminal of the voltage converting unit and is connected to an output terminal of the voltage isolating unit to receive the ac component output by the voltage isolating unit. The cathode of the diode 203 is connected to the voltage stabilizing capacitor 204, and one end of the voltage stabilizing capacitor 204, which is not connected to the diode 203, is grounded. The connection point between the diode 203 and the voltage stabilizing capacitor 204 forms an output end of the voltage converting unit, and is used for outputting a stable direct-current voltage signal. In the circuit shown in fig. 5, the diode 203 may be turned on when the ac component is positive, and output a positive voltage in the ac component to the voltage stabilizing capacitor 204, whereas turned off when the ac component is negative, so as 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 dc 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, so as to output a dc voltage signal to the controller, so that the controller determines that the power supply chip fails when 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 stabilizing capacitor 204 to receive a dc voltage signal obtained by stabilizing voltage. 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, the voltage source 300 in fig. 4 is an analog switch voltage signal, the voltage shown in the first coordinate system 601 is a waveform diagram of the analog switch voltage signal, the voltage shown in the second coordinate system 602 is a waveform diagram of the ac component output by the voltage isolation unit, and the voltage shown in the third coordinate system 603 is a waveform diagram of the dc voltage signal output by the voltage conversion unit. In the first coordinate system, the second coordinate system and the third coordinate system, the abscissa is a time axis, and the ordinate is a voltage axis. When the power supply chip is not in fault, the switching voltage signal is a 5V square wave shown in the first coordinate system, and after the switching voltage signal passes through the voltage isolation unit, an alternating voltage with the amplitude of 3V shown in the second coordinate system, namely an alternating component in the switching voltage signal, is obtained; and after the alternating current component passes through the voltage conversion unit, a direct current voltage signal of 2.4V shown in a third coordinate system is obtained. When the power supply chip fails, for example, the first switching element in fig. 1 breaks down, a square wave with an amplitude smaller than 5V appears in the switching voltage signal, which results in a lower dc voltage signal output by the voltage conversion unit, which is smaller than 2.4V. Alternatively, a square wave with an amplitude higher than 5V may appear in the switching voltage signal, resulting in a dc voltage signal output by the voltage converting unit higher than 2.4V.
In combination with the above example, if the preset voltage range is set to be 2-5V, when the controller receives the dc voltage signal smaller than 2V or larger than 5V, it can be determined that the power chip is damaged, which is a faulty chip. Conversely, 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 the requirement, which is not limited in this embodiment. When the power chip stops working, the switch voltage signal is 0V, and the direct current voltage signal is 0V. Therefore, when the direct current voltage signal received by the controller is 0V, it can be determined that the power supply chip has stopped operating.
In one 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. In contrast, 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 malfunction occurs.
In practical application, when the electronic equipment determines that the power supply chip fails, certain measures can be taken to protect the electronic equipment. For example, when the power chip fails, the electronic device may output notification information through a display screen or sound information through a speaker, notifying a user of the power chip failure. Alternatively, the electronic device may directly shut down the failed power chip, as well as other chips connected to 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 the dc voltage signal output by the power chip detection circuit when the power chip fails. In the schematic circuit diagram shown in fig. 4, the voltage V1 output by the voltage isolation unit is related to the capacity C1 of the isolation capacitor and the resistance R1 of the branch resistor, as well as to 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:
further, according to the relationship among the voltage, the resistance and the current, the voltage V1 can be calculated by the following formula:
further, when the frequency f of the switching voltage signal is large, the voltage V1 can be calculated by the following formula:
where Δv represents the voltage per unit time, and Δt represents the 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 supply chip fails, 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 may be determined that the power chip outputs a dc voltage signal in different states when the power chip fails, and further, according to the dc voltage signal when the power chip fails, it may be determined that the preset voltage range. For example, if the power chip is not in fault, the minimum dc voltage signal output by the power chip detection circuit is 2V, and the maximum dc voltage signal is 5V, then the preset voltage range may be determined to be 2-5V.
In summary, in this embodiment, the power chip detection circuit includes a voltage isolation unit and a voltage conversion unit, where the voltage isolation unit may obtain a switching voltage signal on a switching pin in the power chip, isolate a dc component in the switching voltage signal, obtain an ac component in the switching voltage signal, and the voltage conversion unit may convert the ac component into a signal indicating whether the power chip has a fault. The alternating current component in the switch voltage signal is converted into a signal capable of indicating whether the power chip is faulty or not through the power chip detection circuit, whether the power chip is faulty or not can be accurately determined through the signal, and therefore the problem that whether the power chip is faulty or not 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 used for rectifying the alternating current component and outputting a direct current voltage signal.
In one embodiment, the voltage conversion unit may comprise a rectifier. As shown in fig. 4 and 5, the input of the rectifier may be connected to the junction between the isolation capacitor and the shunt resistor to receive the ac component of the switching voltage signal. The rectifier outputs a direct-current voltage signal that can indicate whether the power supply chip has failed after rectifying the alternating-current component. The specific structure and type of the rectifier can be set according to requirements, and the embodiment is not limited to this.
In practical application, the rectifier rectifies the alternating current component in the switching voltage signal, so that the obtained direct current voltage signal is more accurate, and whether the power supply chip fails can be more accurately determined.
Optionally, the voltage conversion unit includes a voltage conversion subunit and a voltage comparison 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 so as to receive direct-current voltage; the voltage comparison subunit is used for connecting the controller, and outputting a fault signal to the controller under the condition that the comparison determines that the direct current voltage exceeds the preset voltage range, so that the controller determines that the power supply chip fails under the condition that the controller receives the fault signal.
As shown in fig. 7, fig. 7 is a schematic diagram illustrating an application of another power chip detection circuit according to an embodiment of the present application, the voltage comparison subunit may be a comparator 206, one input end 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 the other input end of the comparator is used to connect a voltage value within a preset range. An output end of the comparator 206 may be connected to an 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 fails 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 chip fails or not, and sends a failure signal to the controller when the power chip fails to inform the controller of the failure of the power chip. The process of the controller collecting the high-level signal is faster than the process of collecting the analog voltage, so that the mode of sending the fault signal to the controller is faster than the mode of sending the direct-current voltage to the controller, and the controller can be enabled to determine whether the power chip is faulty or not more quickly.
Referring to fig. 8, fig. 8 is a flowchart of steps of a power chip detection method according to an embodiment of the present application, which is applied to a power chip detection circuit as described above, and the method may include:
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.
Optionally, the voltage conversion unit comprises a reverse blocking element and a voltage stabilizing capacitor which are connected in series;
accordingly, step 803 may be implemented as follows:
the reverse blocking element intercepts the positive voltage in the alternating current component;
the voltage stabilizing capacitor stabilizes 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 conversion unit comprises a voltage conversion subunit and a voltage comparison subunit connected;
accordingly, step 803 may be implemented as follows:
the voltage conversion subunit converts the alternating current component and outputs direct current voltage;
under the condition that the direct-current voltage exceeds the preset voltage range through the comparison of the voltage comparison subunit, outputting a fault signal to the controller, so that the controller can determine that the power chip breaks down under the condition that the fault signal is received.
For an understanding of 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 switching 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, and the ac component is converted by the voltage conversion unit, so as to output a signal to indicate whether the power supply chip has a fault. The alternating current component in the switch voltage signal is converted into a signal capable of indicating whether the power chip is faulty or not through the power chip detection circuit, whether the power chip is faulty or not can be accurately determined, and therefore the problem that whether the power chip is faulty or not can be solved.
Referring to fig. 9, fig. 9 is a flowchart illustrating steps of another power chip detection method according to an embodiment of the present application, which is applied to the power chip detection circuit described in the foregoing embodiment, and the method may include:
Wherein steps 901 and 902 may be performed by the controller 205 shown in fig. 5 and 7, the controller 205 may acquire 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 acquire the signal output by the power chip detection circuit, and determine whether the power chip fails according to the signal. The alternating current component in the switch voltage signal is converted into a signal capable of indicating whether the power chip is faulty or not through the power chip detection circuit, whether the power chip is faulty or not can be accurately determined, and therefore the problem that whether the power chip is faulty or not can be solved.
It should be noted that, in the power chip detection method provided in the embodiment of the present application, the execution body may be an power chip detection device, or a control module in the power chip detection device for executing the power chip detection method. In the embodiment of the present application, a power chip detection device executes a power chip detection method as an example, and the power chip detection device provided in the embodiment of the present application is described.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a power chip detection apparatus according to an embodiment of the present application, where the apparatus 1000 may include:
an acquisition module 1001, configured to acquire a signal output by the 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 acquire the signal output by the power chip detection circuit, and determine whether the power chip fails according to the signal. The alternating current component in the switch voltage signal is converted into a signal capable of indicating whether the power chip is faulty or not through the power chip detection circuit, whether the power chip is faulty or not can be accurately determined, and therefore the problem that whether the power chip is faulty or not 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 capable of running on the processor 1101, where the program or the instruction is executed by the processor 1101 to implement each process of the above-mentioned power chip detection method embodiment, and the same technical effect can be achieved, and will not be repeated here.
The electronic device in the embodiment of the 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, sensor 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 also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1210 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by 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 illustrated, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 1210 is configured to obtain a signal output by the power chip detection circuit;
and determining whether the power supply chip fails according to the signal.
In summary, in this embodiment, the signal output by the power chip detection circuit is obtained, and whether the power chip fails is determined according to the signal. The alternating current component in the switch voltage signal is converted into a signal capable of indicating whether the power chip is faulty or not through the power chip detection circuit, whether the power chip is faulty or not can be accurately determined, and therefore the problem that whether the power chip is faulty or not can be solved.
In an embodiment of the invention, the electronic device receives a first input of an application icon, and in response to the first input, displays a message preview window corresponding to the application icon. 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 more notification messages are displayed in the notification bar, the user can operate the application program icon to display a message preview window corresponding to the application program, and the notification message received by the application program is previewed through the message preview window, so that the notification message is prevented from being searched in the notification bar, and time waste is avoided.
It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 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. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts, 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, a joystick, and so forth, which are not described in detail herein. 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 that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will 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 program or the instruction implements each process of the above embodiment of the power chip detection method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so that each process of the above power chip detection method embodiment can be implemented, and the same technical effect can be achieved, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (13)
1. The power chip detection circuit is characterized in that the 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 is 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, and determining that the power supply chip fails under the condition that the signal exceeds a preset voltage range;
the voltage isolation unit comprises an isolation capacitor and a branch resistor which are connected in series; the voltage conversion unit comprises a reverse blocking element and a voltage stabilizing capacitor which are connected in series; the voltage output by the voltage isolation unit is related to the capacity of the isolation capacitor and the resistance value of the branch resistor, and the voltage, the duty ratio and the frequency of the switching voltage signal;
when the power supply chip is not in fault, the capacity of the isolation capacitor, the resistance value of the branch resistor, the voltage of the switch voltage signal, the duty ratio and the frequency in different states are counted, and the voltage output by the voltage isolation unit in different states is determined; and determining direct-current voltage signals output by the power chip detection circuit in different states when the power chip fails according to the voltage output by the voltage isolation unit and the coefficient of the voltage conversion unit, and determining the preset voltage range according to the direct-current voltage signals.
2. The power chip detection circuit of claim 1, wherein,
one end of the isolation capacitor, which is not connected with the branch resistor, is used for being connected with the switch pin, and one end of the branch resistor, which is not connected with the isolation capacitor, is grounded;
the 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 of claim 1, wherein,
one end of the reverse blocking element, which is not connected with the voltage stabilizing capacitor, is connected with the voltage isolating 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 configured to be turned off when the ac component is negative and turned on when the ac component is positive, so as to output a dc voltage signal at a connection 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 includes a rectifier, an input terminal of the rectifier is connected to an 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 includes a voltage conversion subunit and a voltage comparison 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 so as to receive the direct-current voltage; the voltage comparison subunit is used for being connected with a controller, and outputting a fault signal to the controller under the condition that the direct current voltage exceeds a preset voltage range through comparison, so that the controller can determine that the power supply chip breaks down under the condition that the fault signal is received.
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, so as 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, and the power supply chip is determined to be faulty under the condition that the signal exceeds a preset voltage range;
the voltage isolation unit comprises an isolation capacitor and a branch resistor which are connected in series; the voltage conversion unit comprises a reverse blocking element and a voltage stabilizing capacitor which are connected in series; the voltage output by the voltage isolation unit is related to the capacity of the isolation capacitor and the resistance value of the branch resistor, and the voltage, the duty ratio and the frequency of the switching voltage signal;
when the power supply chip is not in fault, the capacity of the isolation capacitor, the resistance value of the branch resistor, the voltage of the switch voltage signal, the duty ratio and the frequency in different states are counted, and the voltage output by the voltage isolation unit in different states is determined; and determining direct-current voltage signals output by the power chip detection circuit in different states when the power chip fails according to the voltage output by the voltage isolation unit and the coefficient of the voltage conversion unit, and determining the preset voltage range according to the direct-current voltage signals.
8. The method of claim 7, wherein the voltage conversion unit converts the alternating current component to output a signal, comprising:
the reverse blocking element intercepts a positive voltage in the alternating current component;
and the voltage stabilizing capacitor is used for stabilizing the positive voltage in the alternating current component and outputting a direct current voltage signal.
9. The method of claim 7, wherein the voltage conversion unit converts the alternating current component to output a signal, comprising:
the rectifier rectifies the alternating current component and outputs a direct current voltage signal.
10. The method according to any 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, outputs a signal, and includes:
the voltage conversion subunit converts the alternating current component and outputs direct current voltage;
and under the condition that the direct-current voltage exceeds a preset voltage range through comparison of the voltage comparison subunit, outputting a fault signal to the controller, so that the controller determines that the power supply chip breaks down under the condition that the fault signal is received.
11. A power chip detection method, characterized in that it is 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 fails according to the signal.
12. A power chip detection apparatus, characterized in that it is applied to the power chip detection circuit according to any one of claims 1 to 6, the apparatus comprising:
the acquisition module is used for acquiring signals output by the power chip detection circuit;
and the judging module is used for determining whether the power supply chip fails according to the signal.
13. An electronic device comprising a power chip detection circuit as claimed in any one of claims 1 to 6, or a power chip detection apparatus as claimed in claim 12.
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 CN113075534A (en) | 2021-07-06 |
CN113075534B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113075534B (en) * | 2021-03-31 | 2023-07-14 | 维沃移动通信有限公司 | Power chip detection circuit, power chip detection method and device and electronic equipment |
CN116168458B (en) * | 2023-02-07 | 2024-07-02 | 南京新城现代有轨电车有限公司 | Detection simulation system for rail transit AFC system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002228407A (en) * | 2001-02-02 | 2002-08-14 | Omron Corp | Proximity sensor with fail-safe function |
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 |
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 |
CN103869262A (en) * | 2014-03-24 | 2014-06-18 | 上海航天电子通讯设备研究所 | Measurement device of launch vehicle secondary electric power supply |
CN104090245B (en) * | 2014-04-03 | 2017-03-29 | 大连科海测控技术有限公司 | The detection means that a kind of DC power-supply system alternating current is mixed into |
CN204287447U (en) * | 2014-12-11 | 2015-04-22 | 深圳市金威源科技股份有限公司 | A kind of alternating current-direct current input detecting circuit |
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 |
CN113075534B (en) * | 2021-03-31 | 2023-07-14 | 维沃移动通信有限公司 | Power chip detection circuit, power chip detection method and device and electronic equipment |
-
2021
- 2021-03-31 CN CN202110352831.5A patent/CN113075534B/en active Active
-
2022
- 2022-03-28 WO PCT/CN2022/083238 patent/WO2022206646A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
WO2022206646A1 (en) | 2022-10-06 |
CN113075534A (en) | 2021-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220263324A1 (en) | Power Supply System and Method for Terminal Device, Chip, and Terminal Device | |
CN113075534B (en) | Power chip detection circuit, power chip detection method and device and electronic equipment | |
US9811139B2 (en) | Apparatus and method for power supply | |
US10503126B2 (en) | Access control method for parallel direct current power supplies and device thereof | |
US10910818B2 (en) | Anti-short-circuit detection apparatus and user terminal | |
US10741112B2 (en) | Display apparatus and protection circuit thereof | |
CN107995963A (en) | A kind of control method and device of display screen | |
EP2893608B1 (en) | Method and system for voltage collapse protection | |
CN116500487B (en) | Fault detection system and method for switching power supply, terminal equipment and medium | |
CN105954684A (en) | Cell electricity quantity detection method and device | |
US20130311120A1 (en) | Battery voltage detection method and apparatus | |
CN112787374A (en) | Charging system, electronic device and charging control method thereof | |
CN112688383B (en) | Power supply control circuit, power supply control method and device and electronic equipment | |
CN112701751B (en) | Power supply circuit, power supply method and electronic equipment | |
CN103176100A (en) | Method and device for detecting whether storage battery is normally connected in UPS (uninterrupted power supply) or not | |
CN115296285A (en) | Power protection circuit, method, device and computer storage medium | |
US11888309B2 (en) | Fault handling system of solid-state transformer | |
CN111130072A (en) | Novel active protection device in direct current system | |
CN106844160B (en) | Power control method and device and electronic equipment | |
CN116345614A (en) | Abnormality detection method, energy storage device, and storage medium | |
CN113010004B (en) | Abnormal power consumption processing method and device 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 | |
CN108958443B (en) | Mobile terminal |
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 |