CN116660641A - Method and device for detecting faults, electronic equipment and storage medium - Google Patents

Method and device for detecting faults, electronic equipment and storage medium Download PDF

Info

Publication number
CN116660641A
CN116660641A CN202310331229.2A CN202310331229A CN116660641A CN 116660641 A CN116660641 A CN 116660641A CN 202310331229 A CN202310331229 A CN 202310331229A CN 116660641 A CN116660641 A CN 116660641A
Authority
CN
China
Prior art keywords
load
detection result
power detection
power
actual resistance
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
CN202310331229.2A
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.)
Qingdao Haier Refrigerator Co Ltd
Qingdao Haier Smart Technology R&D Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Refrigerator Co Ltd
Qingdao Haier Smart Technology R&D Co Ltd
Haier Smart Home 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 Qingdao Haier Refrigerator Co Ltd, Qingdao Haier Smart Technology R&D Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Refrigerator Co Ltd
Priority to CN202310331229.2A priority Critical patent/CN116660641A/en
Publication of CN116660641A publication Critical patent/CN116660641A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/08Measuring resistance by measuring both voltage and current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The application relates to the technical field of household appliance fault detection, and discloses a method for detecting faults, which comprises the following steps: and acquiring a first power detection result of the load to be detected, and acquiring the actual resistance of the load to be detected according to the first power detection result. And acquiring a second power detection result according to the actual resistor, and determining whether the load to be tested fails according to the second power detection result. Thus, by determining the actual resistance of the load to be measured according to the first power detection result, since the actual resistance of the load to be measured is fixed, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced. The application also discloses a device for detecting the faults, electronic equipment and a storage medium.

Description

Method and device for detecting faults, electronic equipment and storage medium
Technical Field
The present application relates to the field of home appliance fault detection technologies, and for example, to a method and apparatus for detecting a fault, an electronic device, and a storage medium.
Background
Currently, most after-market service personnel perform maintenance detection on common household appliances, such as refrigerators, through an after-market detector. The after-sales detector can automatically test information such as power, voltage and the like of each load in the refrigerator. And the determination result is automatically given according to the built-in determination standard. The general decision criterion is to compare the collected load power with the rated power, if the load power is the same, the load is determined to be qualified, and if the load power is not the same, the load is determined to have faults.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
in the related art, voltage fluctuation exists in the home of users in different country regions. For example, in the national regions of india, pakistan, etc., the voltage at different user's homes is tested at 340V maximum and 110V minimum. While the power of the load is related to the voltage, the higher the voltage the higher the power and the lower the voltage the lower the power. Therefore, when there is a voltage fluctuation in the user's home, there is a possibility that the fault detection of the load is misjudged.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a method and a device for detecting faults, electronic equipment and a storage medium, so that erroneous judgment can be reduced when fault detection is carried out.
In some embodiments, the method for detecting a fault comprises: and acquiring a first power detection result of the load to be detected, and acquiring the actual resistance of the load to be detected according to the first power detection result. And acquiring a second power detection result according to the actual resistor, and determining whether the load to be detected fails according to the second power detection result.
In some embodiments, the obtaining the first power detection result of the load to be measured includes: and respectively carrying out voltage detection and current detection on the load to be detected by using a preset detection device to obtain detection voltage and detection current. And acquiring a first power detection result according to the detection voltage and the detection current.
In some embodiments, obtaining the actual resistance of the load to be measured according to the first power detection result includes: and acquiring the actual resistance of the load to be tested according to the detection voltage and the first power detection result.
In some embodiments, obtaining a second power detection result according to the actual resistance includes: and obtaining rated voltage corresponding to the load to be tested, and obtaining optimized power according to the rated voltage and the actual resistor. And determining the optimized power as a second power detection result.
In some embodiments, determining whether the load to be tested is faulty according to the second power detection result includes: and obtaining the rated power of the load to be tested, obtaining the difference value between the second power detection result and the rated power, and determining whether the load to be tested fails or not according to the difference value.
In some embodiments, determining whether the load under test is faulty based on the difference comprises: and under the condition that the difference value is in a preset range, determining that the load to be detected is qualified in detection. And/or determining that the load to be tested has a fault under the condition that the difference value is out of a preset range.
In some embodiments, the means for detecting a fault comprises: the first acquisition module is configured to acquire a first power detection result of the load to be detected. And the second acquisition module is configured to acquire the actual resistance of the load to be detected according to the first power detection result. And the third acquisition module is configured to acquire a second power detection result according to the actual resistance. And the determining module is configured to determine whether the load to be tested is faulty according to the second power detection result.
In some embodiments, the means for detecting a fault comprises: a processor and a memory storing program instructions, the processor being configured to perform the above-described method for detecting a fault when executing the program instructions.
In some embodiments, the electronic device comprises: an electronic device body; the apparatus for detecting a failure as described above is mounted to the electronic device body.
In some embodiments, the storage medium stores program instructions that, when executed, perform the method for detecting faults described above.
The method and device for detecting faults, the electronic equipment and the storage medium provided by the embodiment of the disclosure can realize the following technical effects: and acquiring a first power detection result of the load to be detected, and acquiring the actual resistance of the load to be detected according to the first power detection result. And acquiring a second power detection result according to the actual resistor, and determining whether the load to be tested fails according to the second power detection result. Thus, by determining the actual resistance of the load to be measured according to the first power detection result, since the actual resistance of the load to be measured is fixed, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
FIG. 1 is a schematic diagram of a method for detecting faults provided by embodiments of the present disclosure;
FIG. 2 is a schematic diagram of another method for detecting faults provided by embodiments of the present disclosure;
FIG. 3 is a schematic diagram of another method for detecting faults provided by embodiments of the present disclosure;
FIG. 4 is a schematic diagram of an apparatus for detecting faults provided by embodiments of the present disclosure;
FIG. 5 is a schematic diagram of another apparatus for detecting faults provided by embodiments of the present disclosure;
FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
The terms first, second and the like in the description and in the claims of the embodiments of the disclosure and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe embodiments of the present disclosure. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more, unless otherwise indicated.
In the embodiment of the present disclosure, the character "/" indicates that the front and rear objects are an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes an object, meaning that there may be three relationships. For example, a and/or B, represent: a or B, or, A and B.
The term "corresponding" may refer to an association or binding relationship, and the correspondence between a and B refers to an association or binding relationship between a and B.
In the embodiment of the disclosure, the electronic device is an after-sales detector or a home appliance such as a refrigerator. The device for detecting faults is arranged inside household appliances such as an after-sales detector or a refrigerator. In some embodiments, in the case where the means for detecting a fault is provided inside the after-market detector, an after-market staff can perform fault detection on the load to be detected through the after-market detector, thereby obtaining a fault detection result. Therefore, the stability of the fault detection result can be ensured no matter the user uses the generator or the commercial power fluctuates, so that the fault detection result is not affected by the voltage fluctuation, erroneous judgment is avoided, and the maintenance efficiency of after-sales staff is improved. Under the condition that the device for detecting faults is arranged in household appliances such as a refrigerator, the device can perform fault self-diagnosis every preset time period, the first power detection result of each load to be detected in the household appliances such as the refrigerator is obtained, the actual resistance of the load to be detected is obtained through the first power detection result, and the second power detection result is obtained according to the actual resistance. And determining whether the load to be tested fails according to the second power detection result. Optionally, the device can carry out fault information alarm under the condition of detecting faults, so that the device is convenient for users and time repair to carry out maintenance treatment. In this way, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced. And further, the false alarm of household appliances such as a refrigerator and the like can be reduced.
As shown in conjunction with fig. 1, an embodiment of the present disclosure provides a method for detecting a fault, including:
step S101, the electronic device obtains a first power detection result of the load to be detected.
Step S102, the electronic equipment obtains the actual resistance of the load to be tested according to the first power detection result.
Step S103, the electronic equipment obtains a second power detection result according to the actual resistance.
Step S104, the electronic equipment determines whether the load to be tested is faulty according to the second power detection result.
By adopting the method for detecting faults, which is provided by the embodiment of the disclosure, the first power detection result of the load to be detected is obtained, and the actual resistance of the load to be detected is obtained according to the first power detection result. And acquiring a second power detection result according to the actual resistor, and determining whether the load to be tested fails according to the second power detection result. Thus, by determining the actual resistance of the load to be measured according to the first power detection result, since the actual resistance of the load to be measured is fixed, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced.
Further, the electronic device obtains a first power detection result of the load to be detected, including: the electronic equipment utilizes a preset detection device to respectively detect voltage and current of a load to be detected, and detection voltage and detection current are obtained. And acquiring a first power detection result according to the detection voltage and the detection current. The first power detection result is the detection power.
In some embodiments, the preset detecting device is an after-market detector, and the after-market detector is used for detecting information such as power, voltage and current of the load to be detected.
Further, the electronic device obtains a first power detection result according to the detection voltage and the detection current, including: and the electronic equipment calculates by using the detection voltage and the detection current according to a first preset algorithm to obtain a first power detection result.
Further, the electronic device calculates by using the detection voltage and the detection current according to a first preset algorithm, to obtain a first power detection result, including: the electronic device calculates W 1 =U 1 I, obtaining a first power detection result. Wherein W is 1 U is the first power detection result 1 For detecting voltage, I is a detection current.
Further, the electronic device obtains an actual resistance of the load to be tested according to the first power detection result, including: and the electronic equipment acquires the actual resistance of the load to be tested according to the detection voltage and the first power detection result.
Further, the electronic device obtains an actual resistance of the load to be tested according to the detection voltage and the first power detection result, including: and the electronic equipment calculates by using the detection voltage and the first power detection result according to a second preset algorithm to obtain the actual resistance.
Further, the electronic device calculates, according to a second preset algorithm, by using the detection voltage and the first power detection result, to obtain an actual resistance, including: by calculation of electronic devicesThe actual resistance is obtained. Wherein R is the actual resistance of the load to be tested, U 1 To detect voltage, W 1 Is the first power detection result. In this way, by calculating by using the detection voltage and the first power detection result, the actual resistance of the load to be detected can be obtained, so that the user can determine the second power detection result according to the actual resistance.
Further, the electronic device obtains a second power detection result according to the actual resistance, including: the electronic equipment obtains rated voltage corresponding to the load to be tested, obtains optimized power according to the rated voltage and the actual resistor, and determines the optimized power as a second power detection result.
In some embodiments, the rated voltage corresponding to the load to be tested is a preset voltage value, for example, the rated voltage is 220V.
Further, the electronic device obtains the optimized power according to the rated voltage and the actual resistance, including: and the electronic equipment calculates by using the rated voltage and the actual resistance according to a third preset algorithm to obtain the optimized power.
Further, the electronic device calculates, according to a third preset algorithm, using the rated voltage and the actual resistance, to obtain the optimized power, including: by calculation of electronic devicesThe actual resistance is obtained. Wherein W is 2 R is the actual resistance of the load to be tested, U 2 Is rated voltage. In this way, since the actual resistance of the load to be measured is fixed, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced.
As shown in conjunction with fig. 2, an embodiment of the present disclosure provides a method for detecting a fault, comprising:
in step S201, the electronic device performs voltage detection and current detection on the load to be detected by using a preset detection device, so as to obtain a detected voltage and a detected current.
In step S202, the electronic device obtains a first power detection result according to the detection voltage and the detection current.
Step S203, the electronic device obtains the actual resistance of the load to be tested according to the detection voltage and the first power detection result.
Step S204, the electronic equipment obtains rated voltage corresponding to the load to be tested.
In step S205, the electronic device obtains the optimized power according to the rated voltage and the actual resistance.
In step S206, the electronic device determines the optimized power as the second power detection result.
In step S207, the electronic device determines whether the load to be tested is faulty according to the second power detection result.
By adopting the method for detecting faults, which is provided by the embodiment of the disclosure, the actual resistance of the load to be detected is determined according to the first power detection result, and the second power detection result obtained through the actual resistance cannot change due to voltage fluctuation because the actual resistance of the load to be detected is fixed. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced.
Further, the electronic device determining whether the load to be tested is faulty according to the second power detection result includes: and the electronic equipment acquires the rated power of the load to be tested. And obtaining a difference value between the second power detection result and the rated power, and determining whether the load to be detected fails or not according to the difference value.
Further, the electronic device determining whether the load to be tested is faulty according to the difference value includes: and under the condition that the difference value is in a preset range, the electronic equipment determines that the load to be detected is qualified in detection. And/or determining that the load to be tested has a fault under the condition that the difference value is out of the preset range.
As shown in conjunction with fig. 3, an embodiment of the present disclosure provides a method for detecting a fault, comprising:
in step S301, the electronic device obtains a first power detection result of the load to be tested.
Step S302, the electronic equipment obtains the actual resistance of the load to be tested according to the first power detection result.
In step S303, the electronic device obtains a second power detection result according to the actual resistance.
Step S304, the electronic equipment obtains rated power of the load to be tested.
In step S305, the electronic device obtains a difference between the second power detection result and the rated power.
In step S306, the electronic device determines whether the load to be tested is faulty according to the difference value.
By adopting the method for detecting faults, which is provided by the embodiment of the disclosure, the actual resistance of the load to be detected is determined according to the first power detection result, and the second power detection result obtained through the actual resistance cannot change due to voltage fluctuation because the actual resistance of the load to be detected is fixed. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced.
In the embodiment of the disclosure, the information such as the power and the voltage of the load to be tested is often detected in the related art. In the case where there is fluctuation in the voltage, the higher the voltage is, the higher the power is, and the lower the voltage is, the lower the power is. Many normal devices are therefore easily misjudged as faulty in the presence of voltage fluctuations in the user's home. For example, in a normal case, the voltage at the home of the user is 220V, the power of the heating wire is detected to be 140W, and the rated power of the heating wire is the same as 140W, and no fault is determined at this time. When the voltage is 160V in the user's home, the power of the heater wire is detected to be 74W, which is approximately half of the rated power 140W, and therefore, the heater wire is judged to be faulty. In practice, the heating wire does not fail, since voltage fluctuations do not lead to a deviation in the power detection. According to the method for detecting faults, the actual resistance of the load to be detected is calculated by acquiring the first power detection result, and then the actual resistance is calculated by using the rated voltage according to the third preset algorithm, so that the second power detection result can be obtained. Since the actual resistance of the load to be measured is fixed, the second power detection result calculated by the third preset algorithm does not change due to voltage fluctuation. The influence of voltage fluctuation on fault detection can be avoided, so that misjudgment during fault detection is reduced.
As shown in connection with fig. 4, an embodiment of the present disclosure provides an apparatus for detecting a fault, including: a first acquisition module 401, a second acquisition module 402, a third acquisition module 403, and a determination module 404. The first acquisition module 401 is configured to acquire a first power detection result of the load to be measured, and send the first power detection result to the second acquisition module 402. The second obtaining module 402 is configured to receive the first power detection result sent by the first obtaining module 401, and obtain the actual resistance of the load to be tested according to the first power detection result. And sends the actual resistance to the third acquisition module 403. The third obtaining module 403 is configured to receive the actual resistance sent by the second obtaining module 402, and obtain the second power detection result according to the actual resistance. And sends the second power detection result to the determination module 404. The determining module 404 is configured to receive the second power detection result sent by the third obtaining module 403, and determine whether the load to be tested is faulty according to the second power detection result.
By adopting the device for detecting faults, which is provided by the embodiment of the disclosure, a first power detection result of the load to be detected is obtained through the first obtaining module. And the second acquisition module acquires the actual resistance of the load to be detected according to the first power detection result. And the third acquisition module acquires a second power detection result according to the actual resistance. And the determining module determines whether the load to be tested fails according to the second power detection result. Thus, by determining the actual resistance of the load to be measured according to the first power detection result, since the actual resistance of the load to be measured is fixed, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced.
Further, the first obtaining module is configured to obtain a first power detection result of the load to be tested by: and detecting the power of the load to be detected by using a preset detection device to obtain detection power. The detected power is determined as a first power detection result.
Further, the second obtaining module is configured to obtain the actual resistance of the load to be measured according to the first power detection result by: and detecting the voltage of the load to be detected by using a preset detection device to obtain a detection voltage. And acquiring the actual resistance of the load to be tested according to the detection voltage and the first power detection result.
Further, the third obtaining module is configured to obtain the second power detection result according to the actual resistance by: and obtaining rated voltage corresponding to the load to be tested, and obtaining optimized power according to the rated voltage and the actual resistor. And determining the optimized power as a second power detection result.
Further, the determining module is configured to determine whether the load to be tested is faulty according to the second power detection result by: and obtaining the rated power of the load to be tested. And obtaining a difference value between the second power detection result and the rated power, and determining whether the load to be detected fails or not according to the difference value.
Further, the determining module is configured to determine whether the load under test is faulty according to the difference by: and under the condition that the difference value is in a preset range, determining that the load to be detected is qualified in detection. And/or determining that the load to be tested has a fault under the condition that the difference value is out of the preset range.
As shown in connection with fig. 5, an embodiment of the present disclosure provides an apparatus 500 for detecting a fault, including a processor (processor) 504 and a memory (memory) 501. Optionally, the apparatus may further comprise a communication interface (Communication Interface) 502 and a bus 503. The processor 504, the communication interface 502, and the memory 501 may communicate with each other via the bus 503. The communication interface 502 may be used for information transfer. The processor 504 may invoke logic instructions in the memory 501 to perform the method for detecting faults of the above-described embodiments.
By adopting the device for detecting faults, which is provided by the embodiment of the disclosure, the actual resistance of the load to be detected is obtained according to the first power detection result by obtaining the first power detection result of the load to be detected. And acquiring a second power detection result according to the actual resistor, and determining whether the load to be tested fails according to the second power detection result. Thus, by determining the actual resistance of the load to be measured according to the first power detection result, since the actual resistance of the load to be measured is fixed, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced.
Further, the logic instructions in the memory 501 may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product.
The memory 501 is a computer readable storage medium that may be used to store a software program, a computer executable program, and program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 504 executes functional applications and data processing by running program instructions/modules stored in the memory 501, i.e. implements the method for detecting faults in the above-described embodiments.
Memory 501 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functionality; the storage data area may store data created according to the use of the terminal device, etc. Further, the memory 501 may include a high-speed random access memory, and may also include a nonvolatile memory.
Optionally, an embodiment of the present disclosure provides an electronic device, including: an electronic device body and the device for detecting faults. The means for detecting a failure is mounted to the electronic device body. The mounting relationship described herein is not limited to being placed inside the electronic device body, but includes mounting connections with other components of the electronic device body, including but not limited to physical connections, electrical connections, or signal transmission connections, etc. Those skilled in the art will appreciate that the means for detecting a fault may be adapted to a viable electronics body, thereby enabling other viable embodiments.
By adopting the electronic equipment provided by the embodiment of the disclosure, the first power detection result of the load to be detected is obtained, and the actual resistance of the load to be detected is obtained according to the first power detection result. And acquiring a second power detection result according to the actual resistor, and determining whether the load to be tested fails according to the second power detection result. Thus, by determining the actual resistance of the load to be measured according to the first power detection result, since the actual resistance of the load to be measured is fixed, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced.
Optionally, the electronic device includes an after-market detector or a home appliance such as a refrigerator.
As shown in connection with fig. 6, an embodiment of the present disclosure provides an electronic device, including: an electronic device body 600, and the above-described apparatus 400 for detecting a failure. The apparatus 400 for detecting a failure is mounted to the electronic device body 600.
As shown in connection with fig. 7, an embodiment of the present disclosure provides an electronic device, including: an electronic device body 600, and the above-described apparatus 500 for detecting a failure. The apparatus 500 for detecting a failure is mounted to the electronic device body 600.
In some embodiments, the means for detecting a fault is provided inside an after-market detector or a home appliance such as a refrigerator. In some embodiments, in the case that the device for detecting a fault is disposed inside the after-sales detector, after-sales staff can obtain parameters such as a first power detection result and a detection voltage by performing circuit parameter detection on the load to be detected through the after-sales detector, calculate according to a second preset algorithm by using the device for detecting a fault in the after-sales detector to obtain an actual resistance, and obtain a second power detection result through a third preset algorithm. And comparing the second power detection result with the rated power to obtain a difference value, and determining a fault detection result according to the difference value. Therefore, the stability of the fault detection result can be ensured no matter the user uses the generator or the commercial power fluctuates, so that the fault detection result is not affected by the voltage fluctuation, erroneous judgment is avoided, and the maintenance efficiency of after-sales staff is improved.
In some embodiments, when the device for detecting a fault is disposed in a home appliance such as a refrigerator, the device can perform fault self-diagnosis every preset time period, obtain a first power detection result of each load to be detected in the home appliance such as the refrigerator, obtain an actual resistance of the load to be detected through the first power detection result, and obtain a second power detection result according to the actual resistance. And determining whether the load to be tested fails according to the second power detection result. Optionally, the device can carry out fault information alarm under the condition of detecting faults, so that the device is convenient for users and time repair to carry out maintenance treatment. In this way, the second power detection result obtained by the actual resistance does not change due to voltage fluctuation. The method is more stable when the load to be tested is subjected to fault judgment according to the second power detection result, and can avoid the influence of voltage fluctuation on fault detection, so that misjudgment during fault detection is reduced. And further, the false alarm of household appliances such as a refrigerator and the like can be reduced.
The embodiment of the disclosure provides a storage medium storing program instructions which, when executed, perform the above method for detecting faults.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for detecting a fault.
The computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
Embodiments of the present disclosure may be embodied in a software product stored on a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (the) are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this disclosure is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, when used in the present disclosure, the terms "comprises," "comprising," and/or variations thereof, mean that the recited features, integers, steps, operations, elements, and/or components are present, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be practiced in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for detecting a fault, comprising:
acquiring a first power detection result of a load to be detected;
acquiring the actual resistance of the load to be tested according to the first power detection result;
acquiring a second power detection result according to the actual resistor;
and determining whether the load to be tested fails according to the second power detection result.
2. The method of claim 1, wherein the obtaining a first power detection result of the load to be measured comprises:
respectively carrying out voltage detection and current detection on the load to be detected by using a preset detection device to obtain detection voltage and detection current;
and acquiring a first power detection result according to the detection voltage and the detection current.
3. The method of claim 2, wherein obtaining the actual resistance of the load to be measured based on the first power detection result comprises:
and acquiring the actual resistance of the load to be tested according to the detection voltage and the first power detection result.
4. The method of claim 1, wherein obtaining a second power detection result from the actual resistance comprises:
acquiring rated voltage corresponding to the load to be tested;
obtaining optimized power according to the rated voltage and the actual resistance;
and determining the optimized power as a second power detection result.
5. The method of claim 1, wherein determining whether the load under test is faulty based on the second power detection result comprises:
acquiring rated power of the load to be tested;
acquiring a difference value between the second power detection result and the rated power;
and determining whether the load to be tested fails or not according to the difference value.
6. The method of claim 5, wherein determining whether the load under test is faulty based on the difference comprises:
under the condition that the difference value is in a preset range, determining that the load to be detected is qualified in detection; and/or the number of the groups of groups,
and under the condition that the difference value is out of a preset range, determining that the load to be tested has a fault.
7. An apparatus for detecting a fault, comprising:
the first acquisition module is configured to acquire a first power detection result of the load to be detected;
the second acquisition module is configured to acquire the actual resistance of the load to be detected according to the first power detection result;
the third acquisition module is configured to acquire a second power detection result according to the actual resistance;
and the determining module is configured to determine whether the load to be tested is faulty according to the second power detection result.
8. An apparatus for detecting faults comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for detecting faults of any of claims 1 to 6 when the program instructions are run.
9. An electronic device, comprising:
an electronic device body;
the apparatus for detecting a malfunction as in claim 7 or 8, mounted to the electronic device body.
10. A storage medium storing program instructions which, when executed, perform the method for detecting faults of any of claims 1 to 6.
CN202310331229.2A 2023-03-30 2023-03-30 Method and device for detecting faults, electronic equipment and storage medium Pending CN116660641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310331229.2A CN116660641A (en) 2023-03-30 2023-03-30 Method and device for detecting faults, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310331229.2A CN116660641A (en) 2023-03-30 2023-03-30 Method and device for detecting faults, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116660641A true CN116660641A (en) 2023-08-29

Family

ID=87712446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310331229.2A Pending CN116660641A (en) 2023-03-30 2023-03-30 Method and device for detecting faults, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116660641A (en)

Similar Documents

Publication Publication Date Title
CN109557422B (en) Intelligent power distribution network short-circuit fault positioning method and system
CN108802554B (en) Capacitor leakage abnormity detection method and system and computer equipment
CN108732448A (en) Wire break detection method and broken string in battery management system release detection method
CN109725220B (en) Detection method, system and device for transformer oil cooling loop
CN109733238B (en) Fault detection method, device, storage medium and processor
GB2476246A (en) Diagnosing an operation mode of a machine
CN104380554A (en) Fault detection in energy supply networks
CN103296750B (en) Apparatus and method for correcting error of acquired data
CN112101666A (en) Fault prediction method and device, readable storage medium and computer equipment
CN111982334A (en) Temperature correction method and device, computer storage medium and processor
CN110749027B (en) Monitoring method and device for electrical equipment, air conditioner and storage medium
CN109239489A (en) A kind of health status on-line analysis, device and medium for energy-storage system
CN109587145B (en) False data intrusion detection method, device and equipment in power network
CN109075608A (en) Wire breakage detector
CN110674124B (en) Abnormal data detection method and system and intelligent router
CN116660641A (en) Method and device for detecting faults, electronic equipment and storage medium
CN112307647A (en) Charging pile communication interruption testing method and device, storage medium and processor
CN110843598A (en) Temperature acquisition compensation method and circuit and battery management system of electric equipment
CN113608956B (en) Method, system and related device for testing hard disk power consumption
CN109085450A (en) Low current neutral grounding system fault phase-selecting method and device
CN111475323B (en) Method, device, equipment and computer readable medium for diagnosing electric quantity consumption fault
CN108574278B (en) A kind of Wide area protection system reliability estimation method and device
CN107608294B (en) Safety electricity utilization control device and method
CN105548798B (en) Grounding detection method and device for direct current bus
CN113131832B (en) Electronic equipment, motor abnormity detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination