CN116068379A - Hardware detection circuit, method and storage medium - Google Patents

Hardware detection circuit, method and storage medium Download PDF

Info

Publication number
CN116068379A
CN116068379A CN202310157777.8A CN202310157777A CN116068379A CN 116068379 A CN116068379 A CN 116068379A CN 202310157777 A CN202310157777 A CN 202310157777A CN 116068379 A CN116068379 A CN 116068379A
Authority
CN
China
Prior art keywords
hardware
detected
power supply
selection switch
phase
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.)
Pending
Application number
CN202310157777.8A
Other languages
Chinese (zh)
Inventor
娄洪立
杨世明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Enjoy Technology Co ltd
Original Assignee
Shenzhen Enjoy Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Enjoy Technology Co ltd filed Critical Shenzhen Enjoy Technology Co ltd
Priority to CN202310157777.8A priority Critical patent/CN116068379A/en
Publication of CN116068379A publication Critical patent/CN116068379A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • G01R31/2836Fault-finding or characterising
    • G01R31/2846Fault-finding or characterising using hard- or software simulation or using knowledge-based systems, e.g. expert systems, artificial intelligence or interactive algorithms

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a hardware detection circuit, which at least comprises a power supply unit, a phase-change load unit, a first selection switch and hardware to be detected; the power supply unit is connected with the hardware to be detected through the first selection switch and is at least used for charging the hardware to be detected in a preset low-energy mode; the phase-change load unit is connected with hardware to be detected through a first selection switch, and the hardware to be detected is connected with loads in different voltage and current phase states of the phase-change load unit through the first selection switch. The invention also discloses a hardware detection method and a storage medium. The invention can ensure the comprehensiveness of the detection result and avoid the damage of hardware.

Description

Hardware detection circuit, method and storage medium
Technical Field
The present invention relates to the field of detection technologies, and in particular, to a hardware detection circuit, a method, and a storage medium.
Background
The electronic power product consists of power devices, and the conversion and control of electric energy are realized through the power devices. The electronic power product is widely applied to transportation, power systems, communication systems, computer systems, new energy systems and the like, and also widely applied to household appliances such as lighting, air conditioning and the like and other fields.
In the production process or the use process of the power electronic product, the power electronic product needs to be tested, and the existing power electronic product detection method is easy to damage the product.
Disclosure of Invention
The invention mainly aims to provide a hardware detection circuit, a hardware detection method and a computer readable storage medium, and aims to solve the problem that the detection method in the prior art is easy to damage products.
In order to achieve the above object, the present invention provides a hardware detection circuit, which at least includes a power supply unit, a phase-change load unit, a first selection switch, and hardware to be detected; the power supply unit is connected with the hardware to be detected through the first selection switch and is at least used for charging the hardware to be detected through a preset low-energy mode; the phase-change load unit is connected with the hardware to be detected through the first selection switch, and the hardware to be detected is connected with loads in different voltage and current phase states of the phase-change load unit through the first selection switch.
Optionally, the power supply unit at least includes an ac power supply module, a dc power supply module, and a second selection switch, where the second selection switch is connected to the ac power supply module, the dc power supply module, and the first selection switch, respectively.
Optionally, the power supply unit at least comprises one power supply module of a direct current power supply module and an alternating current power supply module, a conversion module and a third selection switch; the third selection switch is respectively connected with the first selection switch, the conversion module and the power supply module; the conversion module is also connected with the first selection switch.
Optionally, the phase-change load unit comprises at least a resistive load and/or an inductive load and/or a capacitive load.
In order to achieve the above object, the present invention further provides a hardware detection method, including:
controlling the first selection switch to switch on 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 mode;
controlling the first selection switch to switch on the phase-change load unit and the hardware to be detected, and controlling the hardware to be detected to perform inversion;
and verifying the working state of the hardware to be detected when the load of different current-voltage phase states of the variable-phase load unit is connected.
Optionally, the step of controlling the first selection switch to switch on the variable phase load unit includes:
when the bus voltage rises to a preset voltage threshold value, the first selection switch is controlled to be disconnected from the power supply unit and the hardware to be detected;
and controlling the first selection switch to switch on the hardware to be detected and the phase-change load unit.
Optionally, the phase-change load unit comprises at least 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-change load unit and the hardware to be detected correspondingly comprises the following steps:
controlling the first selection switch to switch on the hardware to be detected and the resistance load and/or the inductance load and/or the capacitance load;
the step of verifying the working state of the hardware to be detected when the load with different current-voltage phase states of the phase-change load unit is connected correspondingly comprises the following steps:
and verifying the working state of the to-be-detected hardware in the on-voltage and current in-phase state of the resistive load and/or the current lagging voltage state of the inductive load and/or the working state of the current leading voltage state of the capacitive load.
Optionally, 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 mode includes:
acquiring the identification information of the hardware to be detected;
determining a target charging mode from the preset low-energy direct current mode and the preset low-energy alternating current 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 mode comprises the following steps:
and controlling the power supply unit to charge the hardware to be detected in the target charging mode.
Optionally, the preset low energy mode includes more than two modes of different energy levels;
the step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy mode includes:
acquiring the 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 mode comprises the following steps:
and controlling the power supply unit to charge the hardware to be detected in a preset low-energy mode corresponding to the target energy level.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a hardware detection program which, when executed by a processor, implements the steps of the hardware detection method as described above.
Compared with the prior art, the hardware detection circuit, the method and the computer readable storage medium have the beneficial effects that the power supply unit 1 is connected with the hardware 4 to be detected through the first selection switch 3, and the power supply unit 1 is at least used for charging the hardware 4 to be detected through a preset low-energy mode; the phase-change load unit 2 is connected with the hardware 4 to be detected through the first selection switch 3, and the hardware 4 to be detected is connected with loads in different voltage current phase states of the phase-change load unit 2 through the first selection switch 3, so that the low-energy power supply unit 1 is utilized to charge the hardware to be detected, damage is avoided during charging, the output current value can be controlled during inversion output verification of the hardware 4 to be detected through the matching design of the power supply unit 1 and the phase-change load unit, fault expansion is avoided, meanwhile, working states in different phase states can be detected, and comprehensiveness and reliability of detection effects are guaranteed.
Drawings
FIG. 1 is a schematic diagram of a hardware testing circuit according to an embodiment of the invention;
FIG. 2 is a schematic diagram showing a circuit structure and connection of a power unit according to an embodiment of the invention;
FIG. 3 is a schematic diagram showing a circuit structure and connection of a power unit according to another embodiment of the present invention;
FIG. 4 is a flow chart of a hardware detection method according to an embodiment of the invention;
FIG. 5 is a flowchart of another embodiment of a hardware detection method according to the present invention;
FIG. 6 is a flowchart of a hardware detection method according to another embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware testing circuit according to an embodiment of the invention.
The hardware detection circuit of the invention is mainly used for verifying whether each switch tube of the power electronic product is normal or not.
As shown in fig. 1, in some embodiments, the hardware detection circuit includes a power supply unit 1, a phase-change load unit 2, a first selection switch 3, and hardware to be detected 4.
The power supply unit 1 is connected with the hardware to be detected 4 through the first selection switch 3, and the power supply unit 1 is at least used for charging the hardware to be detected 4 in a preset low-energy mode; the phase-change load unit 2 is connected with the hardware 4 to be detected through the first selection switch 3, and the hardware 4 to be detected is connected with loads in different voltage current phase states of the phase-change load unit 2 through the first selection switch 3.
Specifically, the hardware 4 to be detected is the power electronic product to be detected. The power supply unit 1 is configured to charge the hardware to be detected 4 by a preset low-energy mode with a preset low voltage and a preset low current, so as to avoid damage to the hardware to be detected 4 (i.e., a power electronic product) caused by direct detection by a strong current mode. The power supply unit 1 may charge the bus of the hardware 4 to be tested by ac, dc-ac or directly by dc. The preset low-energy mode refers to an output power supply mode in which the output of the power supply unit 1 is a preset low-voltage and low-current parameter, and specific low-voltage and low-current values can be determined according to the safety parameters of the hardware 4 to be detected, so that the parameters of the hardware 4 to be detected are not damaged. Specifically, a certain SVG product has a rated voltage of 400V and a rated current of 150A, and the power device IGBT adopted therein has a rated voltage of 650V and a rated current of 150A, and is supplied with 50V ac by the above method, and the bus voltage is about 70V.
The phase-change load unit 2 may comprise different types of loads, and by connecting different types of loads in the circuit, different phase states of current-voltage in-phase, current-lead voltage, current-lag voltage and the like can be realized. The first selector switch 3 may be an electronic switch, and is controlled by a set program software through a connection processor, in order to realize a switch for selectively switching on different channel functions.
Each connection port of the first selection switch 3 is respectively connected with the power supply unit 1, the phase-change load unit 2 and the hardware to be detected 4. In the detection process, a connection path between the power supply unit 1 and the hardware 4 to be detected may be turned on through the first selection switch 1, so that the power supply unit 1 may charge the bus of the hardware 4 to be detected. After the charging is completed, the connection path between the power supply unit 1 and the hardware 4 to be detected is disconnected by the first selection switch 1. Then, the first selector switch 1 is used for switching on a passage between the phase-change load unit 2 and the hardware 4 to be detected, different types of loads respectively and sequentially connected to the load unit 2 can be controlled by setting software programs of a manual or processor, and the electric charges stored by the bus charging of the hardware 4 to be detected are subjected to inversion discharging, so that the working state of a switching tube of the hardware 4 to be detected when the loads of different types are connected is verified. By adopting the mode, when power is supplied by 50V alternating current, the bus voltage is about 70V, the amplitude of the inverted sinusoidal voltage is far lower than 650V, if the power device (IGBT) is abnormal, the response power device is not damaged, the output current is controlled to be about 15A through the reasonably designed resistance value, and the main power device is not damaged even if the circuit is abnormal. Avoiding the expansion of faults. The charge stored by the bus capacitor is utilized for wave generation, the current of the charge is reduced along with the reduction of the bus voltage, the total energy is far lower than the energy under the rated voltage, and the abnormality can be well identified.
In some embodiments, the phase-change load unit 2 comprises at least a resistive load and/or an inductive load and/or a capacitive load, which may be one or a combination of two or more of these types of loads.
In the hardware detection circuit of the present invention, the power supply unit 1 is connected with the hardware 4 to be detected through the first selection switch 3, and the power supply unit 1 is at least used for charging the hardware 4 to be detected through a preset low-energy mode; the phase-change load unit 2 is connected with the hardware 4 to be detected through the first selection switch 3, and the hardware 4 to be detected is connected with loads in different voltage current phase states of the phase-change load unit 2 through the first selection switch 3, so that the low-energy power supply unit 1 is utilized to charge the hardware to be detected, damage is avoided during charging, the output current value can be controlled during inversion output verification of the hardware 4 to be detected through the matching design of the power supply unit 1 and the phase-change load unit, fault expansion is avoided, meanwhile, working states in different phase states can be detected, and comprehensiveness and reliability of detection effects are guaranteed.
Fig. 2 is a schematic diagram of a circuit structure of a power unit and a connection thereof according to an embodiment of the invention. In some embodiments, the power supply unit 1 comprises 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.
Specifically, the ac power supply module 11 is configured to charge the hardware 4 to be detected by using an ac power mode, that is, the preset low-energy mode of the ac power supply module 11 is an ac power mode. The direct current power supply module 12 is used for charging the detection hardware 4 by means of direct current. The preset low-energy power supply mode of the dc power supply module 12 is a dc power mode. The second selection switch 13 is used for selectively connecting the ac power supply module 11 or the dc power supply module 12 to the detection circuit to supply power to the hardware 4 to be detected, and may be a switch of the same type as the first selection switch 3, a manually controlled mechanical selection switch, or an electronic switch controlled by a software program. When controlled by a set program, a specific power module can be controlled to be switched on according to a time sequence step, and a corresponding matched power module can be selected to supply power according to the identified type of the hardware 4 to be detected. The three interfaces of the second selection switch 13 are respectively connected with the ac power supply module 11, the dc power supply module 12 and the first selection switch 3.
Above-mentioned hardware detection circuit directly sets up two kinds of different power supply modules and can provide direct current and exchange two kinds of different power supply modes of exchanging and charge, and the hardware product of waiting to detect of different grade type of better matching protects the hardware of waiting to detect better.
Fig. 3 is a schematic diagram of a circuit structure of a power unit and a connection thereof according to another embodiment of the 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 with 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.
Specifically, in some embodiments, the power supply unit 1 may include only one power supply module 14 of the dc power supply module and the ac power supply module, and the conversion module 15 is disposed in the power supply unit 1, where the conversion module 15 converts the dc power output by the dc power supply module into ac power, or converts the ac power output by the ac power supply module into dc power, and the third selection switch 16 selects whether to connect the conversion module 15 to the circuit, so as to implement conversion of the output current of the power supply module 14, so that two charging modes can be implemented by only setting one power supply module. The third selection switch 16 may be the same type of switch as the first selection switch 3 and the second selection switch 13, and may be manually controlled or controlled by a software program of the processor. The three interfaces of the third selector switch 16 are respectively connected with one interface of the power supply module 14, the conversion module 15 and the first selector switch 3, which is also connected with the other interface of the conversion module 1 5. The third selection switch can be selectively connected with two paths, one path connects the power supply module 14 and the conversion module 15 in series to the circuit, and the two paths are connected in series as a whole to be used as a power supply unit to be connected with 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.
According to the hardware detection circuit, two different power supply modes can be realized by only setting one power supply module through the matching arrangement of the power supply module and the conversion module, and the cost of the test circuit is reduced.
Referring to fig. 4, fig. 4 is a flowchart of an embodiment of a hardware detection method according to the present invention, and in some embodiments, the hardware detection method includes:
step S10, controlling the first selection switch to switch on the power supply unit and the hardware to be detected.
The hardware detection method is applied to the hardware detection circuit, and by combining the embodiment of the hardware detection circuit, the first selection switch 3 can selectively realize two paths, one path is to connect and connect the power supply unit 1 with the hardware 4 to be detected, so that the power supply unit 1 charges the hardware 4 to be detected; the other is to connect the hardware to be detected 4 with the phase-change load unit 2 so that the hardware to be detected 4 performs discharge verification. In the process of implementing hardware detection, the first selection switch 3 is controlled to switch on the power supply unit 1 and the hardware 4 to be detected.
Step S20, controlling the power supply unit to charge the hardware to be detected in a preset low-energy mode;
after being turned on in step S10, the control power supply unit 1 charges the bus of the hardware 4 to be detected through the on path in a preset low energy manner. The preset low-energy mode refers to a preset low-voltage and low-current charging mode, and can be an alternating current mode or a direct current mode. The low energy is preset.
In some embodiments, the preset low energy mode may include only one mode, and one mode of directly performing the setting is performed when step S20 is performed. In some embodiments, the preset low-energy mode may include modes of a plurality of different energy levels, and when executing step S20, the mode of executing the corresponding energy level may be selected for charging according to a selection instruction triggered by the user; the identification information of the hardware 4 to be detected can be acquired, the corresponding energy level is automatically matched according to the acquired identification information and the preset association information of the identification information and the energy registration, and the corresponding matched energy level mode is selected for charging, so that the safety is ensured, and the charging efficiency is also ensured. Similarly, more than two charging modes can be set for the charging type of alternating current or direct current, and the selection of the charging type can refer to the selection mode of the energy level, which is not described herein.
Step S30, controlling the first selection switch to switch on the phase-change load unit and the hardware to be detected, and controlling the hardware to be detected to perform inversion;
when the charging is completed, the first selection switch is controlled to switch off and switch on the passage of the power supply unit and the hardware to be detected, the charging is stopped, the connection passage between the variable-phase load unit and the hardware to be detected is switched on, the hardware to be detected is controlled to perform inversion, and the current is output to the variable-phase load unit.
In some embodiments, step S30 includes:
step S31, when the bus voltage rises to a preset voltage threshold, the first selection switch is controlled to be disconnected from the power supply unit and the hardware to be detected;
and step S32, controlling the first selection switch to switch on the hardware to be detected and the variable-phase load unit.
Specifically, the preset voltage threshold is a preset voltage threshold. The voltage value of the bus in the charging process can be monitored in real time, and when the voltage of the bus rises to a set voltage threshold, namely a 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-change load unit.
In addition, in some embodiments, the charging time may be set in advance, and step S30 may be performed when the charging time reaches the set time.
Furthermore, in some embodiments, the phase-change load unit comprises at least a resistive load and/or an inductive load and/or a capacitive load, step S30 may comprise:
and step S33, controlling the first selection switch to switch on the hardware to be detected and the resistance load and/or the inductance load and/or the capacitance load.
Specifically, the phase-change load unit may include any two or even three types of loads among a resistive load, an inductive load and a capacitive load, so as to realize different current-voltage phase states, after each charging, the hardware to be detected and any type of load may be turned on through the first selection switch, and after verification is completed, another type of load is charged again and connected. The selection of the load type inside the phase-change load unit may be achieved by providing a selection switch inside the phase-change load unit.
And step S40, verifying the working state of the hardware to be detected when the load of different current-voltage phase states of the phase-change load unit is connected.
After the first selector switch is connected with a connection passage between the phase-change load unit and the hardware to be detected, for the electric quantity charged each time, one load can be selected to be connected to perform discharge verification on the hardware to be detected, then the execution is repeated from the step S10 again, and after charging, the other load is connected to perform discharge verification on the hardware to be detected until all types of loads are verified.
In some embodiments, corresponding to step S33 described above, step S40 includes:
step S41, verifying the working state of the resistance load of the hardware to be detected in the on-voltage current in-phase state and/or the working state of the inductance load in the current lag voltage state and/or the working state of the capacitance load in the current lead voltage state.
Specifically, a resistor load can be connected first, and whether the operation of each switching tube is normal or not is verified when the voltage and the current are in the same phase. And (5) repeatedly executing the steps S10 to S40, accessing a capacitive load, and verifying whether each switching tube is normal under the condition that the current leads the voltage. And (5) repeatedly executing the steps S10 to S40, accessing an inductive load, and verifying whether each switching tube is normal or not under the condition of current hysteresis voltage.
In the hardware detection method, the first selection switch is controlled to switch on 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 mode; controlling the first selection switch to switch on the phase-change load unit and the hardware to be detected, and controlling the hardware to be detected to perform inversion; and verifying the working state of the hardware to be detected when the load of different current-voltage phase states of the variable-phase load unit is connected. Through the mode, the power supply unit 1 with low energy is utilized to charge the hardware to be detected, damage caused during charging is avoided, the output current value can be controlled during inversion output verification of the hardware 4 to be detected through the matching design of the power supply unit 1 and the phase-change load unit, fault expansion is avoided, meanwhile, working states in different phase states can be detected, and comprehensiveness and reliability of detection effects are guaranteed.
Referring to fig. 5, fig. 5 is a flow chart of another embodiment of the hardware detection method according to the present invention, and in some embodiments, the preset low-energy mode includes a preset low-energy dc mode and a preset low-energy ac mode The step S20 is preceded by:
step S50, obtaining the identification information of the hardware to be detected.
The execution sequence of step S50 and step S10 is not limited.
The charging modes suitable for different hardware to be detected may be different, some hardware to be detected is suitable for a direct current mode, and some hardware to be detected is suitable for an alternating current mode. In some embodiments, two different charging modes, i.e., a preset low-energy dc mode and a preset low-energy ac mode, may be preconfigured. And respectively associating the two modes with the matched identification information of the hardware to be detected, and constructing association relation 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.
Before executing step S20 to perform charging, the identification information of the hardware to be detected is acquired. The manner of acquisition may be based on user selection instruction acquisition, which may be automatically recognized by the processor for reading.
Step S60, determining a target charging mode from the preset low-energy direct current mode and the preset low-energy alternating current mode according to the identification information.
After the identification information of the hardware to be detected is acquired, the acquired identification information is compared with the association relation information, and a charging mode matched and associated with the identification information, namely a target charging mode, is determined. The target charging mode refers to a charging mode matched with the current hardware to be detected, and can be a preset low-energy direct current mode or a preset low-energy alternating current mode.
Step S20 includes:
and S21, controlling the power supply unit to charge the hardware to be detected in the target charging mode.
After the target charging mode is determined, 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 hardware detection circuit, a 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 taken as an example for explanation, when the target charging mode is a preset low-energy ac mode, the ac power supply module may be turned on by the second selector switch to supply power, otherwise, the dc power supply module may be turned on by the second selector switch to supply power.
In the hardware detection method, the identification information of the hardware to be detected is obtained; determining a target charging mode from the preset low-energy direct current mode and the preset low-energy alternating current mode according to the identification information; and controlling the power supply unit to charge the hardware to be detected in the target charging mode. Different hardware to be detected are charged in a corresponding matched charging mode, the characteristics of different types of hardware to be detected are met, and better protection effect and detection effect are achieved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a hardware detection method according to another embodiment of the present invention, and in some embodiments, the preset low-energy mode includes more than two modes with different energy levels; the step S20 is preceded by:
step S70, obtaining the identification information of the hardware to be detected.
Specifically, the safety power energy born by different power electronic products is different, so as to simultaneously consider the charging efficiency and the charging safety, avoid the damage of hardware to be detected, preset low-energy modes with more than two different energy levels can be preconfigured, and in the charging process, a charging mode with an energy level matched with the hardware to be detected is selected for charging according to the hardware to be detected.
Different energy levels can be associated with the matched identification information of the hardware to be detected in advance, and association relation information is constructed. 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.
Before executing step S20 to perform charging, the identification information of the hardware to be detected is acquired. The manner of acquisition may be based on user selection instruction acquisition, which may be automatically recognized by the processor for reading.
And step S80, determining a target energy level according to the identification information.
After the identification information of the hardware to be detected is acquired, the acquired identification information is compared with the association relation information, and the target energy level matched and associated with the identification information is determined. The target energy level refers to the energy level that matches the current hardware to be detected for each detection.
Step S20 includes:
step S23, controlling the power supply unit to charge the hardware to be detected in a preset low-energy mode corresponding to the target energy level.
After the target energy level is determined, 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 may be configured with corresponding parameters such as a charging current parameter and/or a charging voltage parameter, and by controlling an output current parameter or an output voltage parameter of the power supply unit, charging in a preset low-energy mode corresponding to the target energy level is achieved.
In the hardware detection method, the identification information of the hardware to be detected is obtained; determining a target energy level according to the identification information; and controlling the power supply unit to charge the hardware to be detected in a preset low-energy mode corresponding to the target energy level. Different hardware to be detected are charged in a mode of corresponding to the matched energy level, the characteristics of different types of hardware to be detected are met, better protection effect and detection effect are achieved, and charging efficiency and safety can be simultaneously considered.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention stores thereon a hardware detection program which, when executed by a processor, implements the steps of the hardware detection method as described above.
The method implemented when the hardware detection program running on the processor is executed may refer to various embodiments of the hardware detection method of the present invention, which are not described herein again.
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 system 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 system. 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 system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
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 solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The hardware detection circuit is characterized by at least comprising a power supply unit, a phase-change load unit, a first selection switch and hardware to be detected; the power supply unit is connected with the hardware to be detected through the first selection switch and is at least used for charging the hardware to be detected through a preset low-energy mode; the phase-change load unit is connected with the hardware to be detected through the first selection switch, and the hardware to be detected is connected with loads in different voltage and current phase states of the phase-change load unit through the first selection switch.
2. The hardware detection circuit of claim 1, wherein the power supply unit comprises at least an ac power supply module, a dc power supply module, and a second selector switch, the second selector switch being connected to the ac power supply module, the dc power supply module, and the first selector switch, respectively.
3. The hardware detection circuit of claim 1, wherein the power supply unit comprises 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 with the first selection switch, the conversion module and the power supply module; the conversion module is also connected with the first selection switch.
4. A hardware detection circuit according to any of claims 1-3, characterized in that the phase-change load unit comprises at least a resistive load and/or an inductive load and/or a capacitive load.
5. A hardware detection method applied to the hardware detection circuit according to any one of claims 1 to 4, characterized in that the hardware detection method comprises the steps of:
controlling the first selection switch to switch on 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 mode;
controlling the first selection switch to switch on the phase-change load unit and the hardware to be detected, and controlling the hardware to be detected to perform inversion;
and verifying the working state of the hardware to be detected when the load of different current-voltage phase states of the variable-phase load unit is connected.
6. The hardware detection method of claim 5, wherein the step of controlling the first selection switch to switch on the variable phase load unit comprises:
when the bus voltage rises to a preset voltage threshold value, the first selection switch is controlled to be disconnected from the power supply unit and the hardware to be detected;
and controlling the first selection switch to switch on the hardware to be detected and the phase-change load unit.
7. The hardware detection method according to claim 5, wherein the phase-change load unit includes at least 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-change load unit and the hardware to be detected correspondingly comprises the following steps:
controlling the first selection switch to switch on the hardware to be detected and the resistance load and/or the inductance load and/or the capacitance load;
the step of verifying the working state of the hardware to be detected when the load with different current-voltage phase states of the phase-change load unit is connected correspondingly comprises the following steps:
and verifying the working state of the to-be-detected hardware in the on-voltage and current in-phase state of the resistive load and/or the current lagging voltage state of the inductive load and/or the working state of the current leading voltage state of the capacitive load.
8. The hardware detection method as claimed in claim 5, wherein the preset low energy mode includes a preset low energy dc mode and a preset low energy ac mode; the step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy mode includes:
acquiring the identification information of the hardware to be detected;
determining a target charging mode from the preset low-energy direct current mode and the preset low-energy alternating current 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 mode comprises the following steps:
and controlling the power supply unit to charge the hardware to be detected in the target charging mode.
9. The hardware detection method of claim 5, wherein the predetermined low energy pattern comprises two or more different energy level patterns;
the step of controlling the power supply unit to charge the hardware to be detected in a preset low-energy mode includes:
acquiring the 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 mode comprises the following steps:
and controlling the power supply unit to charge the hardware to be detected in a preset low-energy mode corresponding to the target energy level.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a hardware detection program which, when executed by a processor, implements the steps of the hardware detection method according to any one of claims 5 to 9.
CN202310157777.8A 2023-02-15 2023-02-15 Hardware detection circuit, method and storage medium Pending CN116068379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310157777.8A CN116068379A (en) 2023-02-15 2023-02-15 Hardware detection circuit, method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310157777.8A CN116068379A (en) 2023-02-15 2023-02-15 Hardware detection circuit, method and storage medium

Publications (1)

Publication Number Publication Date
CN116068379A true CN116068379A (en) 2023-05-05

Family

ID=86178433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310157777.8A Pending CN116068379A (en) 2023-02-15 2023-02-15 Hardware detection circuit, method and storage medium

Country Status (1)

Country Link
CN (1) CN116068379A (en)

Similar Documents

Publication Publication Date Title
CN107807319B (en) Insulated gate bipolar transistor IGBT test circuit and method
CN109655757B (en) UPS system detection method and system
CN112955758B (en) Method for insulation resistance measurement in an inverter with a multipoint topology and inverter with a multipoint topology
CN101626159B (en) Method for preventing repeated restart of terminal device and device thereof
CN104698291A (en) Detection circuit and detection method for three-phase four-wire system defective zero line function
CN109831107B (en) Power conversion device and method for controlling output impedance of power conversion device
CN105978309A (en) Discharging an input capacitor of a switch mode power supply
CN108432082A (en) Connectivity checks between the battery carried out using only one switch and control wired electronic device
CN112789509A (en) Method and device for identifying the assignment of a phase line to the interface of an electrical device capable of carrying unbalanced loads
CN111505409B (en) Online detection method and device for bus capacitor of frequency converter
CN111157831B (en) Performance test method, device and equipment for power-on buffer resistor
CN111398772A (en) Circuit, method and device for converter valve overcurrent turn-off test
US10069438B2 (en) Power converter with capacitor voltage balancing
CN116068379A (en) Hardware detection circuit, method and storage medium
EP3509177B1 (en) Method for detecting earth-fault conditions in a power conversion apparatus
CN115718255A (en) Detection circuit, detection method, detection device, energy storage system and readable storage medium
CN212364535U (en) Automatic discharging device and ATE (automatic test equipment) tester after power supply filter capacitor test is finished
CN108871613A (en) A kind of temperature checking method and device of solar power system
CN210092944U (en) Charging circuit
CN112039060B (en) Control method and device applied to power supply circuit, terminal and storage medium
CN114062917A (en) Bypass switch high-frequency withstand voltage test circuit, method and device
CN114325190B (en) Input impact current testing circuit and method for alternating current charging pile
CN115166508B (en) Failure detection method and relay failure detection device for grid-connected inverter
CN215813092U (en) Automatic testing system of charger
JP2019013073A (en) Distributed power supply and control method for distributed power supply

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