Hardware detection circuit, method and storage medium

By using the power unit and disguised load unit of the hardware detection circuit in the detection of power electronic products, charging and verifying different phase states using preset low energy methods, the damage caused by existing detection methods is solved, and the comprehensiveness of detection is achieved. reliability.

CN116068379BActive Publication Date: 2024-11-19SHENZHEN EN-JOY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310157777.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-15
Publication Date
2024-11-19
Estimated Expiration
2043-02-15

AI Technical Summary

Technical Problem

Existing power electronic product testing methods are prone to damage the product.

Method used

A hardware detection circuit is designed, including a power supply unit and a disguised load unit, which charges the hardware to be detected by preset low energy, and verifies the working state under different current and voltage phase states through the disguised load unit to avoid damage during charging.

Benefits of technology

It effectively avoids damage during charging, ensures comprehensiveness and reliability of detection, controls the output current value, and prevents the failure from expanding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116068379B_ABST
    Figure CN116068379B_ABST
Patent Text Reader

Abstract

The present invention discloses a hardware detection circuit, which at least includes a power supply unit, a phase-changing load unit, a first selection switch, and hardware to be detected; the power supply unit is connected to the hardware to be detected through the first selection switch, and the power supply unit is at least used to charge the hardware to be detected in a preset low-energy manner; the phase-changing load unit is connected to the hardware to be detected through the first selection switch, and the hardware to be detected is connected to loads of different voltage and current phase states of the phase-changing load unit through the first selection switch. The present invention also discloses a hardware detection method and a storage medium. The present invention can ensure the comprehensiveness of the detection results while avoiding hardware damage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of detection technology, and in particular to a hardware detection circuit, method and storage medium. Background Art

[0002] Electronic power products are composed of power devices, which are used to transform and control electric energy. Electronic power products are widely used in transportation, power systems, communication systems, computer systems, new energy systems, etc. They are also widely used in household appliances such as lighting and air conditioning, and other fields.

[0003] During the production or use of power electronic products, it is necessary to test the power electronic products. Existing testing methods for power electronic products are prone to cause damage to the products. Summary of the invention

[0004] The main purpose of the present invention is to provide a hardware detection circuit, method and computer-readable storage medium, aiming to solve the problem that the existing detection method is prone to damage to the product.

[0005] To achieve the above-mentioned purpose, the present invention provides a hardware detection circuit, which at least includes a power supply unit, a phase-changing load unit, a first selection switch and hardware to be detected; the power supply unit is connected to the hardware to be detected through the first selection switch, and the power supply unit is at least used to charge the hardware to be detected in a preset low-energy manner; the phase-changing load unit is connected to the hardware to be detected through the first selection switch, and the hardware to be detected is connected to the load of different voltage and current phase states of the phase-changing load unit through the first selection switch.

[0006] Optionally, the power supply unit includes at least an AC power supply module, a DC power supply module and a second selection switch, and the second selection switch is connected to the AC power supply module, the DC power supply module and the first selection switch respectively.

[0007] Optionally, the power supply unit includes at least one of a DC power supply module and an AC power supply module, a conversion module and a third selection switch; the third selection switch is respectively connected to the first selection switch, the conversion module and the power supply module; the conversion module is also connected to the first selection switch.

[0008] Optionally, the phase-changing load unit at least includes a resistive load and / or an inductive load and / or a capacitive load.

[0009] To achieve the above object, the present invention further provides a hardware detection method, the hardware detection method comprising:

[0010] Controlling the first selection switch to connect the power supply unit and the hardware to be detected;

[0011] Controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner;

[0012] Controlling the first selection switch to switch on the phase-changing load unit and the hardware to be detected, and controlling the hardware to be detected to perform inversion;

[0013] Verify the working state of the hardware to be detected when the load of the phase-changing load unit with different current and voltage phase states is connected.

[0014] Optionally, the step of controlling the first selection switch to switch on the phase-changing load unit includes:

[0015] When the bus voltage rises to a preset voltage threshold, controlling the first selection switch to disconnect the power supply unit from the hardware to be detected;

[0016] The first selection switch is controlled to connect the hardware to be detected and the phase-changing load unit.

[0017] Optionally, the phase-changing load unit at least includes a resistive load and / or an inductive load and / or a capacitive load;

[0018] The step of controlling the first selection switch to switch on the phase-changing load unit and the hardware to be detected includes:

[0019] Controlling the first selection switch to switch to connect the hardware to be detected with the resistive load and / or the inductive load and / or the capacitive load;

[0020] The step of verifying the working state of the hardware to be detected when the load of the phase-changing load unit with different current and voltage phase states is connected includes:

[0021] Verify that the hardware to be detected is operating in a resistive load state where the voltage and current are in phase and / or an inductive load state where the current lags the voltage and / or a capacitive load state where the current leads the voltage.

[0022] Optionally, the preset low energy mode includes a preset low energy direct current mode and a preset low energy alternating current mode; before the step of controlling the power supply unit to charge the hardware to be detected in the preset low energy mode includes:

[0023] Obtaining identification information of the hardware to be detected;

[0024] Determine a target charging mode from the preset low-energy DC mode and the preset low-energy AC mode according to the identification information;

[0025] The step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner comprises:

[0026] The power supply unit is controlled to charge the hardware to be detected through the target charging method.

[0027] Optionally, the preset low energy mode includes more than two modes with different energy levels;

[0028] The step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner includes:

[0029] Obtaining identification information of the hardware to be detected;

[0030] determining a target energy level according to the identification information;

[0031] The step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner comprises:

[0032] The power supply unit is controlled to charge the hardware to be detected in a preset low-energy manner corresponding to the target energy level.

[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a hardware detection program is stored, and when the hardware detection program is executed by a processor, the steps of the hardware detection method described above are implemented.

[0034] Compared with the prior art, the hardware detection circuit, method and computer-readable storage medium provided by the present invention have the following beneficial effects: the power supply unit 1 is connected to the hardware to be detected 4 through the first selection switch 3, and the power supply unit 1 is at least used to charge the hardware to be detected 4 in a preset low-energy manner; the disguised load unit 2 is connected to the hardware to be detected 4 through the first selection switch 3, and the hardware to be detected 4 is connected to the load of different voltage and current phase states of the disguised load unit 2 through the first selection switch 3, so that the low-energy power supply unit 1 is used to charge the hardware to be detected to avoid damage during charging; through the coordinated design of the power supply unit 1 and the disguised load unit, the output current value can be controlled during the inverter output verification of the hardware to be detected 4 to avoid the expansion of the fault, and at the same time, the working status under different phase states can be detected to ensure the comprehensiveness and reliability of the detection effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of a hardware test circuit according to an embodiment of the hardware test circuit of the present invention;

[0036] Figure 2A schematic diagram of the circuit structure and connection of a power supply unit in one embodiment of the present invention;

[0037] Figure 3 A schematic diagram of the circuit structure and connection of a power supply unit in another embodiment of the present invention;

[0038] Figure 4 This is a flow chart of an embodiment of a hardware detection method of the present invention;

[0039] Figure 5 A schematic diagram of another embodiment of the hardware detection method of the present invention;

[0040] Figure 6 The figure is a flowchart of another embodiment of the hardware detection method of the present invention. DETAILED DESCRIPTION

[0041] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0043] Reference Figure 1 , Figure 1 FIG. 4 is a schematic diagram of a hardware testing circuit according to an embodiment of the hardware testing circuit of the present invention.

[0044] The detection object of the hardware detection circuit of the present invention is a power electronic product, and is mainly used to verify whether each switch tube of the power electronic product is normal.

[0045] like Figure 1 As shown, in some embodiments, the hardware detection circuit includes a power supply unit 1, a phase-changing load unit 2, a first selection switch 3 and hardware to be detected 4.

[0046] The power supply unit 1 is connected to the hardware to be detected 4 through the first selection switch 3, and the power supply unit 1 is at least used to charge the hardware to be detected 4 in a preset low-energy manner; the phase-changing load unit 2 is connected to the hardware to be detected 4 through the first selection switch 3, and the hardware to be detected 4 is connected to the load of different voltage and current phase states of the phase-changing load unit 2 through the first selection switch 3.

[0047] Specifically, the hardware to be detected 4 is the power electronic product to be detected of the present invention. The power supply unit 1 is used to charge the hardware to be detected 4 in a preset low-energy manner with a preset low voltage and a preset low current, so as to avoid direct detection by a strong current method, which may cause damage to the hardware to be detected 4 (i.e., the power electronic product). The power supply unit 1 can charge the bus of the hardware to be detected 4 by AC, DC to AC, or directly by DC. The preset low-energy mode refers to the output of the power supply unit 1 as an output power supply mode with preset low voltage and low current parameters. The specific low voltage and low current values ​​can be determined according to the safety parameters of the hardware to be detected 4, so as not to damage the parameters of the hardware to be detected 4. Specifically, a certain SVG product has a rated voltage of 400V and a rated current of 150A. The power device IGBT used therein has a rated voltage of 650V and a rated current of 150A. The above method is used to supply power with 50V AC, and the bus voltage is about 70V at this time.

[0048] The phase-changing load unit 2 may include different types of loads. By connecting different types of loads in the circuit, different phase states such as current and voltage being in phase, current leading voltage, and current lagging voltage can be achieved. The first selection switch 3 is a switch for selecting and connecting different paths. It may be an electronic switch, which is connected to a processor and controlled by a setting program software.

[0049] Each connection port of the first selection switch 3 is connected to the power supply unit 1, the phase-changing load unit 2 and the hardware to be detected 4 respectively. During the detection process, the connection path between the power supply unit 1 and the hardware to be detected 4 can be connected through the first selection switch 3, so that the power supply unit 1 can charge the bus of the hardware to be detected 4. After charging is completed, the connection path between the power supply unit 1 and the hardware to be detected 4 is disconnected through the first selection switch 3. Then, the path between the phase-changing load unit 2 and the hardware to be detected 4 is connected through the first selection switch 3, and different types of loads of the phase-changing load unit 2 can be connected in sequence through manual or processor setting software program control, and the charge stored in the bus of the hardware to be detected 4 is inverted and discharged, thereby verifying the working state of the switch tube of the hardware to be detected 4 when different types of loads are connected. In the above manner, when the power supply is 50V AC, the bus voltage is about 70V at this time, and the amplitude of the sinusoidal voltage inverted is much lower than 650V. If there is an abnormality, the corresponding power device (IGBT) will not be damaged. By designing a reasonable resistance value, its output current is controlled to be about 15A. Similarly, even if there is an abnormality in the circuit, the main power device will not be damaged. Avoid fault expansion. The charge stored in the bus capacitor is used to generate waves. The current decreases as the bus voltage decreases. The total energy is much lower than the energy under the rated voltage, and the abnormality can be well identified.

[0050] In some embodiments, the phase-changing load unit 2 at least includes a resistive load and / or an inductive load and / or a capacitive load, and may be one or a combination of two or more of these types of loads.

[0051] In the hardware detection circuit of the present invention described above, the power supply unit 1 is connected to the hardware to be detected 4 through the first selection switch 3, and the power supply unit 1 is at least used to charge the hardware to be detected 4 in a preset low-energy manner; the disguised load unit 2 is connected to the hardware to be detected 4 through the first selection switch 3, and the hardware to be detected 4 is connected to the load of different voltage and current phase states of the disguised load unit 2 through the first selection switch 3, so that the low-energy power supply unit 1 is used to charge the hardware to be detected to avoid damage during charging. Through the coordinated design of the power supply unit 1 and the disguised load unit, the output current value can be controlled during the inverter output verification of the hardware to be detected 4 to avoid the expansion of the fault. At the same time, the working status under different phase states can be detected to ensure the comprehensiveness and reliability of the detection effect.

[0052] like Figure 2 As shown, Figure 2 The power supply unit circuit structure and its connection diagram in one embodiment of the present invention. In some embodiments, the power supply unit 1 includes at least an AC power supply module 11, a DC power supply module 12 and a second selection switch 13, and the second selection switch 13 is connected to the AC power supply module 11, the DC power supply module 12 and the first selection switch 3 respectively.

[0053] Specifically, the AC power supply module 11 is used to charge the hardware to be detected 4 by AC power, that is, the preset low energy mode of the AC power supply module 11 is AC power. The DC power supply module 12 is used to charge the hardware to be detected 4 by DC power. The preset low energy power supply mode of the DC power supply module 12 is DC power. The second selection switch 13 is used to select the AC power supply module 11 or the DC power supply module 12 to be connected to the detection circuit to power the hardware to be detected 4. It can be a switch of the same type as the first selection switch 3, a mechanical selection switch controlled manually, or an electronic switch controlled by a software program. When controlled by a set program, a specific power supply module can be selected to be connected according to a timing step control, or a corresponding matching power supply module can be selected for power supply according to the type of the identified hardware to be detected 4. The three interfaces of the second selection switch 13 are respectively connected to the AC power supply module 11, the DC power supply module 12 and the first selection switch 3.

[0054] The above hardware detection circuit directly sets two different power supply modules to provide DC and AC two different power supply modes for charging, better matching different types of hardware products to be detected, and better protecting the hardware to be detected.

[0055] like Figure 3As shown, Figure 3 The circuit structure and connection diagram of the power supply unit in another embodiment of the present invention. In some embodiments, the power supply unit 1 includes at least one of a DC power supply module and an AC power supply module 14, a conversion module 15, and a third selection switch 16; the third selection switch 16 is respectively connected to the first selection switch 3, the conversion module 15, and the power supply module 14; the conversion module 15 is also connected to the first selection switch 3.

[0056] Specifically, in some embodiments, the power supply unit 1 may include only one of the DC power supply module and the AC power supply module, and a conversion module 15 is provided in the power supply unit 1. The DC power outputted by the DC power supply module is converted into AC power, or the AC power outputted by the AC power supply module is converted into DC power, and the third selection switch 16 is used to select whether to connect the conversion module 15 to the circuit to realize the conversion of the output current of the power supply module 14, so as to realize that only one power supply module is provided to realize two charging modes. The third selection switch 16 can be a switch of the same type as the first selection switch 3 and the second selection switch 13, and can be controlled manually or by a software program of a processor. The three interfaces of the third selection switch 16 are respectively connected to the power supply module 14, the conversion module 15 and an interface of the first selection switch 3, and the interface of the first selection switch is also connected to another interface of the conversion module 15. The third selection switch can selectively connect two paths. One path connects the power supply module 14 and the conversion module 15 in series to the circuit, and connects the two in series as a power supply unit to the first selection switch 3; the other path directly connects only the power supply module 14 to the circuit, and directly connects only the power supply module 14 as a power supply unit to the first selection switch 3.

[0057] The hardware detection circuit described above can realize two different power supply modes by coordinating the power supply module and the conversion module, and only one power supply module is provided, thereby reducing the cost of the test circuit.

[0058] Reference Figure 4 , Figure 4 This is a flow chart of an embodiment of a hardware detection method of the present invention. In some embodiments, the hardware detection method includes:

[0059] Step S10, controlling the first selection switch to connect the power supply unit and the hardware to be detected.

[0060] The hardware detection method of the present invention is applied to the above hardware detection circuit. In combination with the embodiment of the above hardware detection circuit, the first selection switch 3 can select two paths, one of which is to connect the power supply unit 1 with the hardware to be detected 4 so that the power supply unit 1 charges the hardware to be detected 4; the other is to connect the hardware to be detected 4 with the phase-changing load unit 2 so that the hardware to be detected 4 performs discharge verification. In the process of implementing the hardware detection, the first selection switch 3 is first controlled to connect the power supply unit 1 with the hardware to be detected 4.

[0061] Step S20, controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner;

[0062] After the step S10 is turned on, the control power supply unit 1 charges the bus of the hardware to be detected 4 by connecting the path in a preset low energy mode. The preset low energy mode refers to a preset low voltage and low current charging mode, which can be an alternating current mode or a direct current mode. Preset low energy.

[0063] In some embodiments, the preset low energy mode may include only one mode, and when executing step S20, the set one mode is directly executed. In some embodiments, the preset low energy mode may include multiple modes with different energy levels. When executing step S20, the corresponding energy level mode can be selected for charging according to the selection instruction triggered by the user; or the identification information of the hardware to be detected 4 can be obtained, and the corresponding energy level can be automatically matched according to the obtained identification information and the associated information of the pre-set identification information and energy registration, and the corresponding matching energy level mode can be selected for charging, which ensures both safety and charging efficiency. Similarly, more than two charging modes can be set for AC or DC charging types. The selection of the charging type can refer to the above-mentioned energy level selection method, which will not be repeated here.

[0064] Step S30, controlling the first selection switch to switch on the phase-changing load unit and the hardware to be detected, and controlling the hardware to be detected to perform inversion;

[0065] When charging is completed, the first selection switch is controlled to disconnect the path between the power supply unit and the hardware to be detected, charging is stopped, and the connection path between the phase-changing load unit and the hardware to be detected is connected, the hardware to be detected is controlled to invert, and current is output to the phase-changing load unit.

[0066] In some embodiments, step S30 includes:

[0067] Step S31, when the bus voltage rises to a preset voltage threshold, controlling the first selection switch to disconnect the power supply unit from the hardware to be detected;

[0068] Step S32, controlling the first selection switch to connect the hardware to be detected and the phase-changing load unit.

[0069] Specifically, the preset voltage threshold is a pre-set voltage threshold. The voltage value of the busbar during the charging process can be monitored in real time. When the busbar voltage rises to the set voltage threshold, i.e., the peak value, step S30 is executed to control the first selection switch to disconnect the connection path between the power supply unit and the hardware to be detected, and connect the hardware to be detected and the phase-changing load unit.

[0070] In addition, in some embodiments, the charging time may be preset, and when the charging time reaches the set time, step S30 may be executed.

[0071] In addition, in some embodiments, the phase-changing load unit includes at least a resistive load and / or an inductive load and / or a capacitive load, and step S30 may include:

[0072] Step S33, controlling the first selection switch to switch to connect the hardware to be detected with the resistive load and / or the inductive load and / or the capacitive load.

[0073] Specifically, the phase-changing load unit may include any combination of two or even three types of loads among a resistive load, an inductive load, and a capacitive load, to achieve different current and voltage phase states. After each charge, the hardware to be detected may be connected to any type of load through the first selection switch, and another type of load may be charged again after verification is completed. The selection of the load type inside the phase-changing load unit may be achieved by providing a selection switch inside the phase-changing load unit.

[0074] Step S40 , verifying the working state of the hardware to be detected when the loads of different current and voltage phase states of the phase-changing load unit are connected.

[0075] After the first selection switch connects the connection path between the disguised load unit and the hardware to be detected, for each charging amount, one type of load can be selected to be connected to the hardware to be detected for discharge verification, and then the execution is repeated from step S10 again. After charging, another type of load is connected to the hardware to be detected for discharge verification until all types of loads are verified.

[0076] In some embodiments, corresponding to the above step S33, step S40 includes:

[0077] Step S41 , verifying the working state of the hardware to be detected when it is connected to a resistive load in a state where voltage and current are in phase, an inductive load in a state where current lags voltage, and / or a capacitive load in a state where current leads voltage.

[0078] Specifically, you can first connect a resistive load to verify whether each switch is working properly when the voltage and current are in phase. Repeat steps S10 to S40, connect a capacitive load, and verify whether each switch is working properly when the current leads the voltage. Repeat steps S10 to S40, connect an inductive load, and verify whether each switch is working properly when the current lags the voltage.

[0079] In the above hardware detection method, the first selection switch is controlled to connect the power supply unit and the hardware to be detected; the power supply unit is controlled to charge the hardware to be detected in a preset low-energy manner; the first selection switch is controlled to switch to connect the disguised load unit and the hardware to be detected, and the hardware to be detected is controlled to perform inversion; and the working state of the hardware to be detected when connected to the load of different current and voltage phase states of the disguised load unit is verified. Through the above method, the low-energy power supply unit 1 is used to charge the hardware to be detected to avoid damage during charging. Through the coordinated design of the power supply unit 1 and the disguised load unit, the output current value can be controlled during the inverter output verification of the hardware to be detected 4 to avoid the expansion of the fault. At the same time, the working state under different phase states can be detected to ensure the comprehensiveness and reliability of the detection effect.

[0080] Reference Figure 5 , Figure 5 This is a flowchart of another embodiment of the hardware detection method of the present invention. In some embodiments, the preset low energy mode includes a preset low energy DC mode and a preset low energy AC mode. Before step S20, the following steps are included:

[0081] Step S50: obtaining identification information of the hardware to be detected.

[0082] The execution order of step S50 and step S10 is not limited.

[0083] Different hardware to be detected may have different suitable charging methods. Some hardware to be detected is suitable for DC mode, and some hardware to be detected is suitable for AC mode. In some embodiments, two different charging methods can be pre-configured, namely, a preset low-energy DC mode and a preset low-energy AC mode. And these two methods are respectively associated with the identification information of the matching hardware to be detected to construct association relationship information. The identification information can be the type identification information of the hardware to be detected, or it can be specific identification information such as a product identification code.

[0084] Before executing step S20 to charge, the identification information of the hardware to be detected is first obtained. The acquisition method can be based on the user's selection instruction acquisition, and can be automatically identified and read by the processor.

[0085] Step S60: determining a target charging mode from the preset low-energy DC mode and the preset low-energy AC mode according to the identification information.

[0086] After obtaining the identification information of the hardware to be detected, the obtained identification information is compared with the association relationship information to determine the charging method associated with the identification information, that is, the target charging method. The target charging method refers to the charging method that matches the current hardware to be detected, which can be a preset low-energy DC method or a preset low-energy AC method.

[0087] Step S20 includes:

[0088] Step S21, controlling the power supply unit to charge the hardware to be detected through the target charging method.

[0089] After determining the target charging mode, the power supply unit is controlled to charge the hardware to be detected through the target charging mode. Specifically, based on the embodiment of the above-mentioned hardware detection circuit, the circuit structure embodiment in which the power supply unit includes an AC power supply module, a DC power supply module and a second switch is used as an example for explanation. When the target charging mode is a preset low-energy AC mode, the AC power supply module can be connected to the second selection switch for power supply. Otherwise, the DC power supply module can be connected to the second selection switch for power supply.

[0090] In the above hardware detection method, the identification information of the hardware to be detected is obtained; the target charging method is determined from the preset low-energy DC method and the preset low-energy AC method according to the identification information; and the power supply unit is controlled to charge the hardware to be detected through the target charging method. Different hardware to be detected are charged with corresponding matching charging methods, which conforms to the characteristics of different types of hardware to be detected, and achieves better protection and detection effects.

[0091] Reference Figure 6 , Figure 6 This is a flowchart of another embodiment of the hardware detection method of the present invention. In some embodiments, the preset low energy mode includes more than two modes with different energy levels; before step S20, the following steps are included:

[0092] Step S70, obtaining identification information of the hardware to be detected.

[0093] Specifically, different power electronic products can withstand different safe power energies. In order to take into account both charging efficiency and charging safety and avoid damage to the hardware to be detected, more than two preset low-energy modes with different energy levels can be pre-configured. During the charging process, a charging mode with an energy level that matches the hardware to be detected is selected for charging.

[0094] Different energy levels can be pre-associated with the identification information of the matching hardware to be detected to construct association relationship information. The identification information can be the type identification information of the hardware to be detected, or can be specific identification information such as a product identification code.

[0095] Before executing step S20 to charge, the identification information of the hardware to be detected is first obtained. The acquisition method can be based on the user's selection instruction acquisition, and can be automatically identified and read by the processor.

[0096] Step S80: determining a target energy level according to the identification information.

[0097] After obtaining the identification information of the hardware to be detected, the obtained identification information is compared with the association relationship information to determine the target energy level associated with the identification information. The target energy level refers to the energy level that matches the current hardware to be detected during each detection.

[0098] Step S20 includes:

[0099] Step S23: Control the power supply unit to charge the hardware to be detected in a preset low-energy manner corresponding to the target energy level.

[0100] After determining the target energy level, the power supply unit is controlled to charge the hardware to be detected in a preset low energy mode corresponding to the target energy level. Specifically, each energy level can be configured with corresponding charging current parameters and / or charging voltage parameters, and the output current parameters or output voltage parameters of the power supply unit can be controlled to achieve charging in a preset low energy mode corresponding to the target energy level.

[0101] In the above hardware detection method, the identification information of the hardware to be detected is obtained; the target energy level is determined according to the identification information; and the power supply unit is controlled to charge the hardware to be detected in a preset low-energy manner corresponding to the target energy level. Different hardware to be detected are charged in a manner corresponding to the energy level, which conforms to the characteristics of different types of hardware to be detected, achieves better protection and detection effects, and can take into account both charging efficiency and safety.

[0102] In addition, an embodiment of the present invention further provides a computer-readable storage medium.

[0103] The computer-readable storage medium of the present invention stores a hardware detection program, and when the hardware detection program is executed by a processor, the steps of the hardware detection method described above are implemented.

[0104] Among them, the method implemented when the hardware detection program running on the processor is executed can refer to the various embodiments of the hardware detection method of the present invention, and will not be repeated here.

[0105] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0106] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0108] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A hardware detection method, characterized in that: Applied to a hardware detection circuit, the hardware detection circuit at least includes a power supply unit, a phase-changing load unit, a first selection switch, and hardware to be detected; the power supply unit is connected to the hardware to be detected through the first selection switch, and the power supply unit is at least used to charge the hardware to be detected in a preset low-energy manner; the phase-changing load unit is connected to the hardware to be detected through the first selection switch, and the hardware to be detected is connected to loads of different voltage and current phase states of the phase-changing load unit through the first selection switch, The hardware detection method comprises the steps of: Controlling the first selection switch to connect the power supply unit and the hardware to be detected; Controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner; Controlling the first selection switch to switch on the phase-changing load unit and the hardware to be detected, and controlling the hardware to be detected to perform inversion; Verify the working state of the hardware to be detected when the load of the phase-changing load unit with different current and voltage phase states is connected.

2. The hardware detection method according to claim 1, characterized in that: The step of controlling the first selection switch to switch on the phase-changing load unit comprises: When the bus voltage rises to a preset voltage threshold, controlling the first selection switch to disconnect the power supply unit from the hardware to be detected; The first selection switch is controlled to connect the hardware to be detected and the phase-changing load unit.

3. The hardware detection method according to claim 1, characterized in that: The phase-changing load unit at least includes a resistive load and / or an inductive load and / or a capacitive load; The step of controlling the first selection switch to switch on the phase-changing load unit and the hardware to be detected includes: Controlling the first selection switch to switch to connect the hardware to be detected with the resistive load and / or the inductive load and / or the capacitive load; The step of verifying the working state of the hardware to be detected when the load of the phase-changing load unit with different current and voltage phase states is connected includes: Verify that the hardware to be detected is operating in a resistive load state where the voltage and current are in phase and / or an inductive load state where the current lags the voltage and / or a capacitive load state where the current leads the voltage.

4. The hardware detection method according to claim 1, characterized in that: The preset low energy mode includes a preset low energy direct current mode and a preset low energy alternating current mode; The step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner includes: Obtaining identification information of the hardware to be detected; Determine a target charging mode from the preset low-energy DC mode and the preset low-energy AC mode according to the identification information; The step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner comprises: The power supply unit is controlled to charge the hardware to be detected through the target charging method.

5. The hardware detection method according to claim 1, characterized in that: The preset low energy mode includes more than two modes with different energy levels; The step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner includes: Obtaining identification information of the hardware to be detected; determining a target energy level according to the identification information; The step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy manner comprises: The power supply unit is controlled to charge the hardware to be detected in a preset low-energy manner corresponding to the target energy level.

6. A hardware detection circuit, characterized in that: Used to apply the hardware detection method described in any one of claims 1 to 5, the power supply unit includes at least an AC power supply module, a DC power supply module and a second selection switch, and the second selection switch is respectively connected to the AC power supply module, the DC power supply module and the first selection switch.

7. The hardware detection circuit according to claim 6, characterized in that: The power supply unit includes at least one of a DC power supply module and an AC power supply module, a conversion module and a third selection switch; the third selection switch is respectively connected to the first selection switch, the conversion module and the power supply module; the conversion module is also connected to the first selection switch.

8. The hardware detection circuit according to claim 6 or 7, characterized in that: The phase-changing load unit at least includes a resistive load and / or an inductive load and / or a capacitive load.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a hardware detection program, and when the hardware detection program is executed by the processor, the steps of the hardware detection method according to any one of claims 1 to 5 are implemented.