PFC hardware circuit testing method, device and medium

Through automated testing methods and devices, the output voltage and demagnetization protection value of the PFC hardware circuit are verified, which solves the problem of low testing efficiency in the prior art and realizes efficient and accurate hardware circuit testing.

CN114563688BActive Publication Date: 2025-04-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210188274.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2025-04-22
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

In the prior art, the accuracy testing efficiency of PFC hardware circuits is low and requires a lot of manpower to participate, resulting in insufficient testing efficiency and accuracy.

Method used

A test method and device for PFC hardware circuit is provided. Through an automated test process, the output voltage of the current sampling circuit and the demagnetization protection value of the demagnetization protection circuit are verified to obtain the test results to reflect the hardware problem.

Benefits of technology

It realizes automatic verification of accuracy of PFC hardware circuits, improves testing efficiency and accuracy, reduces manpower participation, and reduces testing costs, and is suitable for accuracy verification of all PFC hardware circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114563688B_ABST
    Figure CN114563688B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a test method, device and medium for a PFC hardware circuit, the method comprising: in response to a received test instruction, determining a test process, the test process at least used to verify the output voltage of a current sampling circuit included in the PFC hardware circuit, and / or the demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit; executing the test process to obtain a test result, the test result is used to reflect whether the PFC hardware circuit has hardware-related problems. The test method for the PFC hardware circuit disclosed in the present disclosure can realize automatic testing of the accuracy of the PFC hardware circuit and improve the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of air-conditioning control, and in particular to a testing method, device and medium for a PFC hardware circuit. Background Art

[0002] Power Factor Correction (PFC) is an important control part of air conditioners. The stability of PFC requires the accuracy of the hardware circuit included in PFC. In the related art, the hardware circuit of PFC needs to be equipped with a corresponding test circuit to test the accuracy of the hardware circuit of PFC. The accuracy test process requires a lot of manpower and has low test efficiency. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method, device and medium for testing a PFC hardware circuit.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for testing a PFC hardware circuit is provided, comprising:

[0005] In response to the received test instruction, determine a test process, the test process being used at least to verify an output voltage of a current sampling circuit included in a PFC hardware circuit and / or a demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit;

[0006] The test process is executed to obtain a test result, wherein the test result is used to reflect whether there is a hardware-related problem in the PFC hardware circuit.

[0007] Optionally, the test process is used to verify the output voltage of the current sampling circuit included in the PFC hardware circuit, and executing the test process to obtain the test result includes:

[0008] Acquiring the output voltage of the current sampling circuit;

[0009] Determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin;

[0010] When the output voltage does not satisfy the first preset condition, the test result reflecting that a hardware usage error exists in the PFC hardware circuit is obtained.

[0011] Optionally, determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin includes:

[0012] Subtracting the preset voltage value from the first preset error margin to obtain a first value, and summing the preset voltage value and the first preset error margin to obtain a second value;

[0013] When the output voltage is less than the first value or greater than the second value, it is determined that the output voltage does not satisfy the first preset condition.

[0014] Optionally, the test process is used to verify the demagnetization protection value of the demagnetization protection circuit included in the PFC hardware circuit, and executing the test process to obtain the test result includes:

[0015] Increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value, so as to start the hardware demagnetization protection function of the demagnetization protection circuit;

[0016] Acquire a current change of the output current after the hardware demagnetization protection function is activated, and determine a current peak value in the current change;

[0017] Based on the demagnetization protection value and the second preset error margin, determining whether the current peak value meets a second preset condition;

[0018] When the current peak value does not satisfy the second preset condition, the test result is obtained, which reflects that the demagnetization protection value of the hardware in the PFC hardware circuit is incorrect.

[0019] Optionally, the PFC hardware circuit is further provided with a software demagnetization protection function, and increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value includes:

[0020] The software demagnetization protection function is turned off, and the output current of the PFC hardware circuit is increased to trigger the demagnetization protection value.

[0021] Optionally, increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value includes:

[0022] The inductance parameter included in the PFC hardware circuit is increased by a preset multiple to increase the output current of the PFC hardware circuit to a value that triggers the demagnetization protection.

[0023] Optionally, determining whether the current peak value satisfies a second preset condition based on the demagnetization protection value and a second preset error margin includes:

[0024] Subtracting the demagnetization protection value from the second preset error margin to obtain a third value, and summing the demagnetization protection value and the second preset error margin to obtain a fourth value;

[0025] When the current peak value is smaller than the third value or larger than the fourth value, it is determined that the current peak value does not satisfy the second preset condition.

[0026] According to a second aspect of an embodiment of the present disclosure, a testing device for a PFC hardware circuit is provided, comprising:

[0027] a determination module configured to determine a test process in response to a received test instruction, wherein the test process is at least used to verify an output voltage of a current sampling circuit included in a PFC hardware circuit and / or a demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit;

[0028] The execution module is configured to execute the test process to obtain a test result, wherein the test result is used to reflect whether there is a hardware-related problem in the PFC hardware circuit.

[0029] Optionally, the execution module is further configured to:

[0030] Acquiring the output voltage of the current sampling circuit;

[0031] Determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin;

[0032] When the output voltage does not satisfy the first preset condition, the test result reflecting that a hardware usage error exists in the PFC hardware circuit is obtained.

[0033] Optionally, the execution module is further configured to:

[0034] Subtracting the preset voltage value from the first preset error margin to obtain a first value, and summing the preset voltage value and the first preset error margin to obtain a second value;

[0035] When the output voltage is less than the first value or greater than the second value, it is determined that the output voltage does not satisfy the first preset condition.

[0036] Optionally, the execution module is further configured to:

[0037] Increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value, so as to start the hardware demagnetization protection function of the demagnetization protection circuit;

[0038] Acquire a current change of the output current after the hardware demagnetization protection function is activated, and determine a current peak value in the current change;

[0039] Based on the demagnetization protection value and the second preset error margin, determining whether the current peak value meets a second preset condition;

[0040] When the current peak value does not satisfy the second preset condition, the test result is obtained, which reflects that the demagnetization protection value of the hardware in the PFC hardware circuit is incorrect.

[0041] Optionally, the PFC hardware circuit is further provided with a software demagnetization protection function, and the execution module is further configured to:

[0042] The software demagnetization protection function is turned off, and the output current of the PFC hardware circuit is increased to trigger the demagnetization protection value.

[0043] Optionally, the execution module is further configured to:

[0044] The inductance parameter included in the PFC hardware circuit is increased by a preset multiple to increase the output current of the PFC hardware circuit to a value that triggers the demagnetization protection.

[0045] Optionally, the execution module is further configured to:

[0046] Subtracting the demagnetization protection value from the second preset error margin to obtain a third value, and summing the demagnetization protection value and the second preset error margin to obtain a fourth value;

[0047] When the current peak value is smaller than the third value or larger than the fourth value, it is determined that the current peak value does not satisfy the second preset condition.

[0048] According to a third aspect of an embodiment of the present disclosure, a test device for a PFC hardware circuit is provided, comprising:

[0049] processor;

[0050] a memory for storing processor-executable instructions;

[0051] Wherein, the processor is configured to:

[0052] In response to the received test instruction, determine a test process, the test process being used at least to verify an output voltage of a current sampling circuit included in a PFC hardware circuit and / or a demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit;

[0053] The test process is executed to obtain a test result, wherein the test result is used to reflect whether there is a hardware-related problem in the PFC hardware circuit.

[0054] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of a method for testing a PFC hardware circuit provided in the first aspect of the present disclosure are implemented.

[0055] The technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: by automatically verifying the output voltage of the current sampling circuit included in the PFC hardware circuit and / or the demagnetization protection value of the demagnetization protection circuit included in the PFC hardware circuit through the test process, the test result reflecting whether there are hardware-related problems in the PFC hardware circuit can be accurately obtained, and the automatic verification of the accuracy of the PFC hardware circuit is realized, the test efficiency and test accuracy are improved, and the entire test process does not need to be completed manually, saving a lot of manpower and reducing the test cost. At the same time, the verification of the accuracy of the PFC hardware circuit by the output voltage and the demagnetization protection value is highly universal and applicable to the accuracy verification of all PFC hardware circuits.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0058] Figure 1 The present invention is a flow chart showing a method for testing a PFC hardware circuit according to an exemplary embodiment.

[0059] Figure 2 The figure is a flowchart showing a test execution process according to an exemplary embodiment.

[0060] Figure 3 is another flowchart of a test execution process according to an exemplary embodiment.

[0061] Figure 4 The figure is a block diagram of a testing device for a PFC hardware circuit according to an exemplary embodiment.

[0062] Figure 5 The invention is a block diagram showing a device for testing a PFC hardware circuit according to an exemplary embodiment. DETAILED DESCRIPTION

[0063] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0064] As mentioned in the background technology, power factor correction (PFC) is an important control part of air conditioners. The stability of PFC requires the accuracy of the hardware circuit included in PFC. In the related technology, the hardware circuit of PFC needs to be equipped with a corresponding test circuit to test the accuracy of the hardware circuit of PFC. The accuracy test process requires a lot of manpower and has low test efficiency.

[0065] In view of this, the present disclosure provides a method, device and medium for testing a PFC hardware circuit, which are used to solve the technical problem of low efficiency in accuracy testing of a PFC hardware circuit in the related art.

[0066] Figure 1 is a flow chart of a method for testing a PFC hardware circuit according to an exemplary embodiment. The method can be applied to air conditioning equipment, such as Figure 1 As shown, the method includes the following steps.

[0067] Step 110, in response to the received test instruction, determining a test process, the test process being used at least to verify an output voltage of a current sampling circuit included in the PFC hardware circuit and / or a demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit.

[0068] Step 120, executing the test process to obtain the test result, the test result is used to reflect whether there is any hardware-related problem in the PFC hardware circuit.

[0069] In some embodiments, a PFC (Power Factor Correction) hardware circuit may be provided in an electronic device to improve the efficiency of the electronic device in utilizing electric energy. In some embodiments, the electronic device may be an air conditioning device, such as a variable frequency air conditioner, or an air conditioner with an IFD (Intense Field Dielectric) function.

[0070] In some embodiments, the test instruction may be received in a variety of ways. For example, taking an air conditioner as an example, the test instruction may be received by communicating with an application of a terminal device through an air conditioner external unit board. The terminal device may include a mobile phone, a tablet computer, or an air conditioner remote control device.

[0071] In some embodiments, the PFC hardware circuit may include at least a current sampling circuit and a demagnetization protection circuit. In some embodiments, the current sampling circuit may be used to collect the PFC current of the PFC hardware circuit, and the output voltage of the current sampling circuit may refer to the bias voltage of the current sampling circuit.

[0072] In some embodiments, the demagnetization protection circuit may be a protection circuit included in a PFC hardware circuit, which is used to prevent the devices connected to the PFC hardware circuit from being demagnetized under high current conditions. For example, taking a PFC hardware circuit provided in an air-conditioning device as an example, the demagnetization protection circuit may be used to trigger the demagnetization protection circuit when the PFC current of the PFC hardware circuit exceeds a preset demagnetization protection value, so as to prevent the compressor connected to the PFC hardware circuit from being demagnetized. The demagnetization protection value may be specifically determined according to actual conditions, for example, the demagnetization protection value may be 38A. The demagnetization protection circuit may prevent the compressor from being demagnetized, thereby avoiding performance degradation or damage to the compressor and ensuring the normal operation of the air conditioner.

[0073] It is understandable that the PFC hardware circuit may also include other circuits, for example, a voltage zero-crossing detection circuit and / or a voltage amplitude sampling circuit, etc., and correspondingly, the circuit may be tested by a corresponding test process in response to a received test instruction, and the present disclosure does not impose any restrictions on this. In some embodiments, when the test process includes multiple processes, the corresponding test processes may be executed according to the order of the received test instructions.

[0074] In some embodiments, the test results can be used to reflect whether there are hardware-related problems in the PFC hardware circuit, for example, whether there are hardware usage errors, incorrect demagnetization protection values, and whether the hardware connection relationship is correct. For specific details on executing the test process to obtain the test results, please refer to the following Figure 2 and 3 And the related description will not be repeated here.

[0075] The disclosed embodiment automatically executes the test process through the test instruction to verify the output voltage of the current sampling circuit included in the PFC hardware circuit and / or the demagnetization protection value of the demagnetization protection circuit included in the PFC hardware circuit, and obtains the test result reflecting whether there is a hardware-related problem in the PFC hardware circuit. The output voltage of the current sampling circuit included in the PFC hardware circuit and / or the demagnetization protection value of the demagnetization protection circuit included in the PFC hardware circuit are automatically verified through the test process, and the test result reflecting whether there is a hardware-related problem in the PFC hardware circuit can be accurately obtained, realizing the automatic verification of the accuracy of the PFC hardware circuit, improving the test efficiency and test accuracy, and the entire test process does not need to be completed manually, saving a lot of manpower and reducing the test cost. At the same time, the verification of the accuracy of the PFC hardware circuit through the output voltage and the demagnetization protection value is highly universal and applicable to the accuracy verification of all PFC hardware circuits.

[0076] Figure 2 FIG. 1 is a flowchart of executing a test process according to an exemplary embodiment. Figure 2 As shown, the process includes the following steps:

[0077] Step 210, obtaining the output voltage of the current sampling circuit.

[0078] Step 220 , determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin.

[0079] Step 230: When the output voltage does not satisfy the first preset condition, a test result reflecting that a hardware usage error exists in the PFC hardware circuit is obtained.

[0080] In some embodiments, the first preset condition may be specifically determined according to actual conditions. For example, the first preset condition may be preset voltage value - first preset error margin < output voltage < preset voltage value + first preset error margin.

[0081] In some embodiments, based on a preset voltage value and a first preset error margin, determining whether the output voltage satisfies a first preset condition includes: subtracting the preset voltage value and the first preset error margin to obtain a first value, and summing the preset voltage value and the first preset error margin to obtain a second value; when the output voltage is less than the first value or greater than the second value, determining that the output voltage does not satisfy the first preset condition; and when the output voltage is greater than the first value and less than the second value, determining that the output voltage satisfies the first preset condition.

[0082] For example, when the first value is less than the output voltage and less than the second value, it is determined that the output voltage satisfies the first preset condition, the output voltage is correct, and a test result reflecting that there is no hardware usage error in the PFC hardware circuit is obtained; when the output voltage is less than the first value, or the output voltage is greater than the second value, it is determined that the output voltage does not satisfy the first preset condition, the output voltage is incorrect, and a test result reflecting that there is a hardware usage error in the PFC hardware circuit is obtained.

[0083] In some embodiments, the preset voltage value may be a standard bias voltage of the current sampling circuit, and the first preset error margin may be an allowable error value of the bias voltage. The preset voltage value and the first preset error margin may be specifically determined according to actual conditions, for example, the preset voltage value may be 2.27V, and the first preset error margin may be 0.25V.

[0084] In some embodiments, a hardware usage error may refer to damaged hardware and / or incorrect hardware parameters, for example, a damaged resistor or operational amplifier, a wrong resistor value or operational amplifier model, etc. In some embodiments, a hardware usage error in a PFC hardware circuit may refer to a hardware usage error in the PFC hardware circuit or a current sampling circuit included therein.

[0085] Figure 3 FIG. 1 is another flow chart showing a test process according to an exemplary embodiment. Figure 3 As shown, the process includes the following steps:

[0086] Step 310 , increasing the output current of the PFC hardware circuit to a demagnetization protection triggering value to start the hardware demagnetization protection function of the demagnetization protection circuit.

[0087] Step 320 , obtaining a current change of the output current after the hardware demagnetization protection function is started, and determining a current peak value in the current change.

[0088] Step 330 : determining whether the current peak value satisfies a second preset condition based on the demagnetization protection value and the second preset error margin.

[0089] Step 340: When the current peak value does not satisfy the second preset condition, a test result is obtained reflecting that the demagnetization protection value of the hardware in the PFC hardware circuit is incorrect.

[0090] In some embodiments, the PFC hardware circuit is further provided with a software demagnetization protection function, and the output current of the PFC hardware circuit is increased to trigger the demagnetization protection value, including: turning off the software demagnetization protection function, and increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value. In some embodiments, the demagnetization protection value set by the software demagnetization protection function can be amplified by a preset multiple to turn off the software demagnetization protection function, for example, it can be amplified by 10 times. By turning off the software demagnetization protection function, the interference of the software demagnetization protection function on the hardware demagnetization protection function can be avoided, so as to facilitate the subsequent accurate verification of whether the demagnetization protection value of the hardware demagnetization protection circuit is correct.

[0091] In some embodiments, increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value includes: increasing the inductance parameter included in the PFC hardware circuit by a preset multiple to increase the output current of the PFC hardware circuit to trigger the demagnetization protection value. The preset multiple can be specifically determined according to actual conditions, and the preset multiple can be 8-10 times, for example, the preset multiple can be 10 times. By increasing the inductance parameter included in the PFC hardware circuit by a preset multiple, the PFC hardware circuit can be abnormal after startup, so as to increase the output current of the PFC hardware circuit, trigger the demagnetization protection value, and then start the hardware demagnetization protection function of the demagnetization protection circuit.

[0092] In some embodiments, the second preset condition may be specifically determined according to actual conditions. For example, the second preset condition may be demagnetization protection value - second preset error margin < output voltage < demagnetization protection value + second preset error margin.

[0093] In some embodiments, based on the demagnetization protection value and the second preset error margin, determining whether the current peak meets the second preset condition includes: subtracting the demagnetization protection value and the second preset error margin to obtain a third value, and summing the demagnetization protection value and the second preset error margin to obtain a fourth value; when the current peak is less than the third value or greater than the fourth value, determining that the current peak does not meet the second preset condition.

[0094] For example, when the third value is less than the current peak value and less than the fourth value, it is determined that the current peak value satisfies the second preset condition, the demagnetization protection value is correct, and a test result is obtained reflecting that the demagnetization protection value is incorrect and that there is no hardware in the PFC hardware circuit; when the current peak value is less than the third value, or the current peak value is greater than the fourth value, it is determined that the current peak value does not satisfy the second preset condition, the demagnetization protection value is incorrect, and a test result is obtained reflecting that the demagnetization protection value is incorrect and that there is hardware in the PFC hardware circuit.

[0095] In some embodiments, the incorrect demagnetization protection value of the hardware may refer to an incorrect demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit. For example, taking the demagnetization protection circuit as an example for performing demagnetization protection on a compressor connected to the PFC hardware circuit, the incorrect demagnetization protection value of the hardware may refer to an incorrect demagnetization protection value of the compressor.

[0096] In some embodiments, different demagnetization protection values ​​may be set according to different active devices of the demagnetization protection circuit. For example, taking the active device as a compressor as an example, the demagnetization protection value may be 38A. In some embodiments, the second preset error margin may be an allowable error value of the demagnetization protection value, and the second preset error margin may be specifically determined according to actual conditions, for example, the second preset error margin may be 3A.

[0097] Figure 4 FIG. 1 is a block diagram of a test device for a PFC hardware circuit according to an exemplary embodiment. Figure 4 The device 400 includes a determination module 410 and an execution module 420.

[0098] The determination module 410 is configured to determine a test process in response to a received test instruction, wherein the test process is at least used to verify an output voltage of a current sampling circuit included in a PFC hardware circuit and / or a demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit.

[0099] The execution module 420 is configured to execute the test process to obtain a test result, where the test result is used to reflect whether there is a hardware-related problem in the PFC hardware circuit.

[0100] Optionally, the execution module 420 is further configured to:

[0101] Acquiring the output voltage of the current sampling circuit;

[0102] Determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin;

[0103] When the output voltage does not satisfy the first preset condition, the test result reflecting that a hardware usage error exists in the PFC hardware circuit is obtained.

[0104] Optionally, the execution module 420 is further configured to:

[0105] Subtracting the preset voltage value from the first preset error margin to obtain a first value, and summing the preset voltage value and the first preset error margin to obtain a second value;

[0106] When the output voltage is less than the first value or greater than the second value, it is determined that the output voltage does not satisfy the first preset condition.

[0107] Optionally, the execution module 420 is further configured to:

[0108] Increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value, so as to start the hardware demagnetization protection function of the demagnetization protection circuit;

[0109] Acquire a current change of the output current after the hardware demagnetization protection function is activated, and determine a current peak value in the current change;

[0110] Based on the demagnetization protection value and the second preset error margin, determining whether the current peak value meets a second preset condition;

[0111] When the current peak value does not satisfy the second preset condition, the test result is obtained, which reflects that the demagnetization protection value of the hardware in the PFC hardware circuit is incorrect.

[0112] Optionally, the PFC hardware circuit is further provided with a software demagnetization protection function, and the execution module 420 is further configured to:

[0113] The software demagnetization protection function is turned off, and the output current of the PFC hardware circuit is increased to trigger the demagnetization protection value.

[0114] Optionally, the execution module 420 is further configured to:

[0115] The inductance parameter included in the PFC hardware circuit is increased by a preset multiple to increase the output current of the PFC hardware circuit to a value that triggers the demagnetization protection.

[0116] Optionally, the execution module 420 is further configured to:

[0117] Subtracting the demagnetization protection value from the second preset error margin to obtain a third value, and summing the demagnetization protection value and the second preset error margin to obtain a fourth value;

[0118] When the current peak value is smaller than the third value or larger than the fourth value, it is determined that the current peak value does not satisfy the second preset condition.

[0119] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0120] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the test method of the PFC hardware circuit provided by the present disclosure are implemented.

[0121] Figure 5 1 is a block diagram of an apparatus 500 for testing a PFC hardware circuit according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0122] Reference Figure 5 , the device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .

[0123] The processing component 502 generally controls the overall operation of the device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method for testing the PFC hardware circuit. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0124] The memory 504 is configured to store various types of data to support operations on the device 500. Examples of such data include instructions for any application or method operating on the device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0125] Power component 506 provides power to various components of device 500. Power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 500.

[0126] The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0127] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the device 500 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0128] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0129] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 can detect the open / closed state of the device 500, the relative positioning of components, such as the display and keypad of the device 500, the sensor assembly 514 can also detect the position change of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration / deceleration of the device 500, and the temperature change of the device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0130] The communication component 516 is configured to facilitate wired or wireless communication between the device 500 and other devices. The device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0131] In an exemplary embodiment, the apparatus 500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned test method for the PFC hardware circuit.

[0132] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of the device 500 to complete the above-mentioned PFC hardware circuit test method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0133] In an exemplary embodiment, the device 500 may be applied to an air conditioner or an air conditioner with an IFD (Intense Field Dielectric, air purification) function.

[0134] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above-mentioned test method for the PFC hardware circuit when executed by the programmable device.

[0135] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0136] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for testing a PFC hardware circuit, characterized in that: include: In response to the received test instruction, determine a test process, the test process being used at least to verify an output voltage of a current sampling circuit included in a PFC hardware circuit and / or a demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit; Execute the test process to obtain a test result, wherein the test result is used to reflect whether there is a hardware-related problem in the PFC hardware circuit; The test process is used to verify the output voltage of the current sampling circuit included in the PFC hardware circuit, and the execution of the test process to obtain the test result includes: Acquiring the output voltage of the current sampling circuit; Determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin; When the output voltage does not satisfy the first preset condition, obtaining the test result reflecting that there is a hardware usage error in the PFC hardware circuit; The test process is used to verify the demagnetization protection value of the demagnetization protection circuit included in the PFC hardware circuit, and executing the test process to obtain a test result includes: Increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value, so as to start the hardware demagnetization protection function of the demagnetization protection circuit; Acquire a current change of the output current after the hardware demagnetization protection function is activated, and determine a current peak value in the current change; Based on the demagnetization protection value and the second preset error margin, determining whether the current peak value meets a second preset condition; When the current peak value does not satisfy the second preset condition, the test result is obtained, which reflects that the demagnetization protection value of the hardware in the PFC hardware circuit is incorrect.

2. The method according to claim 1, characterized in that The determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin comprises: Subtracting the preset voltage value from the first preset error margin to obtain a first value, and summing the preset voltage value and the first preset error margin to obtain a second value; When the output voltage is less than the first value or greater than the second value, it is determined that the output voltage does not satisfy the first preset condition.

3. The method according to claim 1, characterized in that The PFC hardware circuit is also provided with a software demagnetization protection function, and the step of increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value includes: The software demagnetization protection function is turned off, and the output current of the PFC hardware circuit is increased to trigger the demagnetization protection value.

4. The method according to claim 1 or 3, characterized in that: The step of increasing the output current of the PFC hardware circuit to a value that triggers the demagnetization protection includes: The inductance parameter included in the PFC hardware circuit is increased by a preset multiple to increase the output current of the PFC hardware circuit to a value that triggers the demagnetization protection.

5. The method according to claim 1, characterized in that The determining, based on the demagnetization protection value and the second preset error margin, whether the current peak value satisfies a second preset condition comprises: Subtracting the demagnetization protection value from the second preset error margin to obtain a third value, and summing the demagnetization protection value and the second preset error margin to obtain a fourth value; When the current peak value is smaller than the third value or larger than the fourth value, it is determined that the current peak value does not satisfy the second preset condition.

6. A test device for a PFC hardware circuit, characterized in that: The method for testing the PFC hardware circuit according to any one of claims 1 to 5 comprises: a determination module configured to determine a test process in response to a received test instruction, wherein the test process is at least used to verify an output voltage of a current sampling circuit included in a PFC hardware circuit and / or a demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit; an execution module, configured to execute the test process and obtain a test result, wherein the test result is used to reflect whether the PFC hardware circuit has a hardware-related problem; The test process is used to verify the output voltage of the current sampling circuit included in the PFC hardware circuit, and the execution module is further configured to: Acquiring the output voltage of the current sampling circuit; Determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin; When the output voltage does not satisfy the first preset condition, obtaining the test result reflecting that there is a hardware usage error in the PFC hardware circuit; The test process is used to verify the demagnetization protection value of the demagnetization protection circuit included in the PFC hardware circuit, and the execution module is further configured to: Increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value, so as to start the hardware demagnetization protection function of the demagnetization protection circuit; Acquire a current change of the output current after the hardware demagnetization protection function is activated, and determine a current peak value in the current change; Based on the demagnetization protection value and the second preset error margin, determining whether the current peak value meets a second preset condition; When the current peak value does not satisfy the second preset condition, the test result is obtained, which reflects that the demagnetization protection value of the hardware in the PFC hardware circuit is incorrect.

7. A test device for a PFC hardware circuit, characterized in that: The method for testing the PFC hardware circuit according to any one of claims 1 to 5 comprises: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: In response to the received test instruction, determine a test process, the test process being used at least to verify an output voltage of a current sampling circuit included in a PFC hardware circuit and / or a demagnetization protection value of a demagnetization protection circuit included in the PFC hardware circuit; Execute the test process to obtain a test result, wherein the test result is used to reflect whether there is a hardware-related problem in the PFC hardware circuit; The test process is used to verify the output voltage of the current sampling circuit included in the PFC hardware circuit, and the processor is further configured to: Acquiring the output voltage of the current sampling circuit; Determining whether the output voltage satisfies a first preset condition based on a preset voltage value and a first preset error margin; When the output voltage does not satisfy the first preset condition, obtaining the test result reflecting that there is a hardware usage error in the PFC hardware circuit; The test process is used to verify the demagnetization protection value of the demagnetization protection circuit included in the PFC hardware circuit, and the processor is further configured to: Increasing the output current of the PFC hardware circuit to trigger the demagnetization protection value, so as to start the hardware demagnetization protection function of the demagnetization protection circuit; Acquire a current change of the output current after the hardware demagnetization protection function is activated, and determine a current peak value in the current change; Based on the demagnetization protection value and the second preset error margin, determining whether the current peak value meets a second preset condition; When the current peak value does not satisfy the second preset condition, the test result is obtained, which reflects that the demagnetization protection value of the hardware in the PFC hardware circuit is incorrect.

8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Test system for air conditioner variable-frequency controller

    CN108363384A