Method and device for determining a switching current threshold of a power factor correction module

By adjusting the switching current threshold of the power factor correction module, the current margin condition is met, and the voltage and abnormal working problems caused by the wrong turn-on or wrong turn-off state in the air conditioning system are solved, thereby improving the reliability and verification efficiency of the module.

CN114337242BActive Publication Date: 2024-11-05BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111671986.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-11-05
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

In the air conditioning system, the mis-opening current threshold and the mis-off current threshold of the power factor correction module have a large difference, resulting in the bus voltage being too low and cannot work normally; if the difference is small, the module will be incorrectly turned on or off, resulting in abnormal operation.

Method used

By setting and adjusting the switching current threshold of the power factor correction module, perform multiple error on and error off verifications until the preset current margin condition is met, ensuring the normal operation of the module.

Benefits of technology

It avoids the bus voltage too low and the module abnormal operation caused by the wrong on or off state, improves the reliability of the power factor correction module, reduces verification costs, and does not require additional hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114337242B_ABST
    Figure CN114337242B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and device for determining a switching current threshold of a power factor correction module, which solves the problem of abnormal control caused by the power factor correction module being mistakenly turned on or off in the related art. The method includes: setting the switching current threshold of the power factor correction module; performing switch verification on the power factor correction module according to the switching current threshold to determine whether the switching current threshold meets the preset current margin condition; when the current margin condition is not met, adjusting the switching current threshold of the power factor correction module until the adjusted switching current threshold meets the current margin condition. The present disclosure adjusts the switching current threshold of the power factor correction module, thereby avoiding the air conditioner being unable to work normally due to the large difference between the mistaken opening current threshold and the mistaken closing current threshold of the power factor correction module, and also avoiding the use of the power factor correction module that may be in a mistaken opening state or a mistaken closing state.
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 method and device for determining a switching current threshold of a power factor correction module. Background Art

[0002] The air-conditioning system mainly controls the bus voltage through the power factor correction module (PFC) so that loads such as the compressor can operate reliably. Therefore, the reliability of PFC plays an important role in the stable operation of the air-conditioning system.

[0003] The air-conditioning system will set the corresponding PFC false-on current threshold and false-off current threshold according to working requirements. If the two thresholds differ greatly, the air-conditioning bus voltage will be too low, and the air-conditioning frequency will not be able to increase, making the air-conditioning unable to work normally. If the two thresholds differ slightly, the PFC will be false-on or false-off, causing abnormal PFC operation. Therefore, it is necessary to adjust the PFC false-on current threshold and false-off current threshold. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method and device for determining a switching current threshold of a power factor correction module.

[0005] According to a first aspect of an embodiment of the present disclosure, a method for determining a switching current threshold of a power factor correction module is provided, comprising:

[0006] Setting a switching current threshold of the power factor correction module;

[0007] Performing switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition;

[0008] When the current margin condition is not met, the switch current threshold of the power factor correction module is adjusted until the adjusted switch current threshold meets the current margin condition.

[0009] Optionally, performing switch verification on the power factor correction module according to a switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition includes:

[0010] Performing multiple false-opening verifications on the power factor correction module according to the switch current threshold, and determining a first number of times that a first current margin condition is satisfied in the multiple false-opening verifications;

[0011] Performing multiple false shutdown verifications on the power factor correction module according to the switch current threshold, and determining a second number of times that a second current margin condition is satisfied in the multiple false shutdown verifications;

[0012] Determining whether the power factor correction module is qualified according to the first number and the second number;

[0013] When the current margin condition is not met, adjusting the switch current threshold of the power factor correction module until the adjusted switch current threshold meets the current margin condition, includes:

[0014] When it is determined that the power factor correction module is unqualified, the switch current threshold of the power factor correction module is adjusted until it is determined that the power factor correction module is qualified.

[0015] Optionally, the switch current threshold includes a false-open current threshold and a false-close current threshold, and the switch verification includes a false-open verification, and the false-open verification includes:

[0016] Adjusting the frequency of the air conditioner so that the current value of the power factor correction module gradually decreases to the false shutdown current threshold and then shutting down the power factor correction module;

[0017] Determining a maximum current value of the power factor correction module within a preset time period before the power factor correction module is turned off;

[0018] Determine whether the difference between the false opening current threshold and the maximum current value is greater than a preset false opening current margin;

[0019] When the difference between the false-opening current threshold and the maximum current value is greater than the preset false-opening current margin, it is determined that the power factor correction module passes the false-opening verification this time.

[0020] Optionally, the switch current threshold includes a false-on current threshold and a false-off current threshold, and the switch verification includes a false-off verification, and the false-off verification includes:

[0021] Adjusting the frequency of the air conditioner so that the current value of the power factor correction module gradually increases to the false start current threshold, and then turning on the power factor correction module;

[0022] Determining a minimum current value of the power factor correction module within a preset time after the power factor correction module is turned on;

[0023] Determining whether a difference between the minimum current value and the false shutdown current threshold is greater than the preset false shutdown current margin;

[0024] When the difference between the minimum current value and the false shutdown current threshold is greater than the preset false shutdown current margin, it is determined that the power factor correction module passes the false shutdown verification.

[0025] Optionally, the current value of the power factor correction module is obtained in the following manner:

[0026] Acquiring the initial current value of the power factor correction module multiple times to obtain a preset number of initial current values;

[0027] An average value of the preset number of initial current values ​​is determined, and the average value is used as the current value of the power factor correction module.

[0028] Optionally, the obtaining an initial current value of the power factor correction module includes:

[0029] Acquiring a sampled current signal of the power factor correction module;

[0030] The sampled current signal is subjected to deep filtering and analog-to-digital conversion processing to obtain an initial current value of the power factor correction module.

[0031] Optionally, when the switch verification includes an erroneous closing verification and an erroneous opening verification, the erroneous opening verification and the erroneous closing verification are respectively performed according to a preset order;

[0032] Among them, only one verification is performed each time, and the next verification is performed after the current verification is completed.

[0033] According to a second aspect of an embodiment of the present disclosure, a device for determining a switching current threshold of a power factor correction module is provided, comprising:

[0034] A setting module, configured to set a switch current threshold of the power factor correction module;

[0035] a verification module, configured to perform switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition;

[0036] The execution module is configured to adjust the switch current threshold of the power factor correction module when the current margin condition is not met, until the adjusted switch current threshold meets the current margin condition.

[0037] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0038] processor;

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

[0040] Wherein, the processor is configured to:

[0041] Setting the switching current threshold of the power factor correction module;

[0042] Performing switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition;

[0043] When the current margin condition is not met, the switch current threshold of the power factor correction module is adjusted until the adjusted switch current threshold meets the current margin condition.

[0044] 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 the method for determining the switching current threshold of a power factor correction module provided in the first aspect of the present disclosure are implemented.

[0045] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the present disclosure performs switch verification on the power factor correction module according to the set switching current threshold of the power factor correction module to determine whether the switching current threshold satisfies a preset current margin condition; when the current margin condition is not met, the switching current threshold of the power factor correction module is adjusted until the adjusted switching current threshold satisfies the current margin condition, thereby avoiding the use of a power factor correction module that may be in an erroneous opening state or an erroneous closing state, without the need for additional hardware.

[0046] 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

[0047] 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.

[0048] Figure 1 is a flow chart showing a method for determining a switching current threshold of a power factor correction module according to an exemplary embodiment;

[0049] Figure 2 is a flow chart showing a method for determining false start verification of a power factor correction module according to an exemplary embodiment;

[0050] Figure 3 is a flow chart showing a method for determining false shutdown verification of a power factor correction module according to an exemplary embodiment;

[0051] Figure 4 is another flow chart showing a method for determining a switching current threshold of a power factor correction module according to an exemplary embodiment;

[0052] Figure 5is a block diagram of a device for determining a switching current threshold of a power factor correction module according to an exemplary embodiment;

[0053] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0054] 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.

[0055] It should be noted that in the present disclosure, the terms "S101", "S102" and the like in the specification, claims and drawings are used to distinguish steps, and do not necessarily mean that the method steps are performed in a specific order or sequential sequence.

[0056] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0057] As mentioned in the background technology, the air-conditioning system will set the false-on current threshold and the false-off current threshold of the corresponding power factor correction module according to the working requirements. If the false-on current threshold and the false-off current threshold are significantly different, the bus voltage of the air conditioner will be too low, making the air conditioner unable to work normally; if the false-on current threshold and the false-off current threshold are slightly different, the power factor correction module will be in a false-on state or a false-off state, causing the power factor correction module to work abnormally, and it is necessary to adjust the air-conditioning system settings to correspond to the false-on current threshold and the false-off current threshold of the power factor correction module.

[0058] In view of this, the present disclosure provides a method and device for determining the switching current threshold of a power factor correction module. By adjusting the switching current threshold of the power factor correction module, it is avoided that the bus voltage of the air conditioner is too low due to the large difference between the false-on current threshold and the false-off current threshold of the power factor correction module, and the air conditioner cannot work normally. It also avoids the power factor correction module that may be in a false-on state or a false-off state being put into use.

[0059] Figure 1 is a flow chart showing a method for determining a switching current threshold of a power factor correction module according to an exemplary embodiment. Figure 1 As shown, the method includes the following steps.

[0060] In step S101 , a switch current threshold of a power factor correction module is set.

[0061] In step S102, a switch verification is performed on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition.

[0062] In step S103, when the current margin condition is not met, the switch current threshold of the power factor correction module is adjusted until the adjusted switch current threshold meets the current margin condition.

[0063] The present disclosure performs switch verification on the power factor correction module according to the set switch current threshold of the power factor correction module to determine whether the switch current threshold satisfies a preset current margin condition. When the current margin condition is not satisfied, the switch current threshold of the power factor correction module is adjusted until the adjusted switch current threshold satisfies the current margin condition. The switch verification of the power factor correction module can be performed without adding additional hardware, thereby reducing the verification cost. The switch current threshold of the power factor correction module is adjusted, thereby avoiding the air conditioner being unable to work normally due to the large difference between the false opening current threshold and the false closing current threshold of the power factor correction module, and also avoiding the power factor correction module being in a false opening state and / or a false closing state due to the small difference between the false opening current threshold and the false closing current threshold of the power factor correction module.

[0064] In order to enable those skilled in the art to better understand the method for determining the switching current threshold of the power factor correction module provided by the present disclosure, the above steps are described in detail below with examples.

[0065] The present disclosure avoids abnormal control of the power factor correction module due to an erroneous opening state and / or an erroneous closing state by performing switch verification on the power factor correction module multiple times, and the switch verification includes multiple erroneous opening verifications and / or multiple erroneous closing verifications.

[0066] In one embodiment, in step S102, the power factor correction module is subjected to switch verification according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition, including:

[0067] Performing multiple false-opening verifications on the power factor correction module according to the switch current threshold, and determining a first number of times that a first current margin condition is satisfied in the multiple false-opening verifications;

[0068] Performing multiple false shutdown verifications on the power factor correction module according to the switch current threshold, and determining a second number of times that a second current margin condition is satisfied during the multiple false shutdown verifications;

[0069] Determine whether the power factor correction module is qualified according to the first number and the second number;

[0070] When the current margin condition is not met, adjusting the switch current threshold of the power factor correction module until the adjusted switch current threshold meets the current margin condition, including:

[0071] When it is determined that the power factor correction module is unqualified, the switch current threshold of the power factor correction module is adjusted until it is determined that the power factor correction module is qualified.

[0072] Among them, the first number is the total number of times the false opening verification is performed, and the second number is the total number of times the false closing verification is performed. In the present disclosure, the first number and the second number are not less than 10 times.

[0073] For example, the power factor correction module is verified for false opening 20 times according to the switching current threshold, and the first number of times the first current margin condition is satisfied in the 20 false opening verifications is determined; the power factor correction module is verified for false closing 20 times according to the switching current threshold, and the second number of times the second current margin condition is satisfied in the 20 false closing verifications is determined; when the sum of the first number and the second number is less than 40 times, the power factor correction module is determined to be unqualified, and the switching current threshold of the power factor correction module is adjusted. After adjusting the switching current threshold of the power factor correction module, when the switch verification is performed again, the first number and the second number need to be re-determined until the power factor correction module is determined to be qualified; when the sum of the first number and the second number is equal to 40 times, the power factor correction module is determined to be qualified.

[0074] The present invention tests the power factor correction module through multiple false opening verifications and multiple false closing verifications. Only when each false opening verification and each false closing verification are passed can the power factor correction module be determined to be qualified. If there is one verification failure, the power factor correction module is determined to be unqualified, thereby improving the reliability of the verification result.

[0075] In one embodiment, the switch current threshold includes a false-open current threshold and a false-close current threshold, and the switch verification includes a false-open verification, which includes:

[0076] Adjusting the frequency of the air conditioner so that the current value of the power factor correction module gradually decreases to the false shutdown current threshold, and then shutting down the power factor correction module;

[0077] Determining a maximum current value of the power factor correction module within a preset time period before the power factor correction module is shut down;

[0078] Determine whether the difference between the false opening current threshold and the maximum current value is greater than a preset false opening current margin;

[0079] When the difference between the false-opening current threshold and the maximum current value is greater than the preset false-opening current margin, it is determined that the power factor correction module passes the false-opening verification this time.

[0080] Among them, the false-opening current threshold and the false-closing current threshold are preset by the air-conditioning system according to actual needs. In the present disclosure, the false-opening current threshold is 3A, and the false-closing current threshold is 1A; the preset time length can be preset according to the time required for the switch in the actual operation of the power factor correction module of the air conditioner. In the present disclosure, the preset time length is 3s, and the preset false-opening current margin can be preset according to the actual current value of the power factor correction module of the air conditioner. The preset false-opening current margin in the present disclosure is 0.6A.

[0081] For an example, see Figure 2 , false opening verification includes:

[0082] In step S201, the frequency of the air conditioner is adjusted so that the current value of the power factor correction module gradually decreases to 1A and then the power factor correction module is turned off.

[0083] In step S202, the maximum current value of the power factor correction module within 3 seconds before the power factor correction module is turned off is determined.

[0084] In step S203, it is determined whether the difference between 3A and the maximum current value is greater than 0.6A.

[0085] In step S204, when the difference between 3A and the maximum current value is greater than 0.6A, it is determined that the power factor correction module has passed the current false start verification.

[0086] In step S205, when the difference between 3A and the maximum current value is not greater than 0.6A, it is determined that the power factor correction module has not passed the current false start verification.

[0087] In the present disclosure, the air-conditioning system sets the false-start current threshold of the power factor correction module according to demand, and compares the difference between the false-start current threshold and the maximum current value within a certain period of time before the power factor correction module is turned off and the preset false-start current margin, so as to specifically test whether the power factor correction module of the air-conditioning system will be falsely turned on, thereby avoiding the control abnormality of the power factor correction module due to false turning on, and improving the reliability of the power factor correction module during use.

[0088] In one embodiment, the switch current threshold includes a false-on current threshold and a false-off current threshold, and the switch verification includes a false-off verification, which includes:

[0089] Adjusting the frequency of the air conditioner so that the current value of the power factor correction module gradually increases to the false start current threshold value, and then turning on the power factor correction module;

[0090] Determine a minimum current value of the power factor correction module within a preset time after the power factor correction module is turned on;

[0091] Determine whether the difference between the minimum current value and the false shutdown current threshold is greater than a preset false shutdown current margin;

[0092] When the difference between the minimum current value and the false shutdown current threshold is greater than the preset false shutdown current margin, it is determined that the power factor correction module passes the false shutdown verification.

[0093] The preset false shutdown current margin can be preset according to the actual current value of the power factor correction module of the air conditioner. The preset false shutdown current margin in the present disclosure is 0.6A.

[0094] For an example, see Figure 3 , false shutdown verification includes:

[0095] In step S301, the frequency of the air conditioner is adjusted so that the power factor correction module is turned on when the current value of the power factor correction module gradually increases to 3A.

[0096] In step S302, the minimum current value of the power factor correction module within 3 seconds after the power factor correction module is turned on is determined.

[0097] In step S303, it is determined whether the difference between the minimum current value and 1A is greater than 0.6A.

[0098] In step S304, when the difference between the minimum current value and 1A is greater than 0.6A, it is determined that the power factor correction module has passed the false shutdown verification.

[0099] In step S305, when the difference between the minimum current value and 1A is not greater than 0.6A, it is determined that the power factor correction module has not passed the false shutdown verification.

[0100] In the present disclosure, the air-conditioning system sets the false shutdown current threshold of the power factor correction module according to demand, and compares the minimum current value within a certain period of time after the power factor correction module is turned on with the difference between the false startup current threshold and the preset false shutdown current margin, so as to specifically test whether the power factor correction module of the air-conditioning system will be falsely shut down, thereby avoiding the control abnormality of the power factor correction module due to false shutdown, and improving the reliability of the power factor correction module during use.

[0101] In one embodiment, the current value of the power factor correction module is obtained by:

[0102] Acquire the initial current value of the power factor correction module multiple times to obtain a preset number of initial current values;

[0103] An average value of the preset number of initial current values ​​is determined, and the average value is used as the current value of the power factor correction module.

[0104] The preset number may be preset according to the accuracy of the switch verification of the power factor correction module, and the preset number in the present disclosure is 64.

[0105] For example, the initial current value of the power factor correction module is obtained multiple times to obtain 64 initial current values, and the average of the 64 initial current values ​​is calculated, and the average is used as the current value of the power factor correction module.

[0106] The present invention uses the average of the initial current values ​​sampled multiple times as the current value of the power factor correction module, thereby improving the accuracy of the sampling result and ensuring the reliability of the verification result.

[0107] In one embodiment, obtaining the initial current value of the power factor correction module includes:

[0108] Obtaining a sampled current signal of the power factor correction module;

[0109] The sampled current signal is subjected to deep filtering and analog-to-digital conversion processing to obtain an initial current value of the power factor correction module.

[0110] The filtering depth of the deep filtering may be determined according to the control data actually required by the air-conditioning system for the power factor correction module, and the present disclosure does not make any specific limitation on this.

[0111] The present disclosure can avoid the interference of harmonics in the line on the acquired sampling current signal by performing deep filtering on the sampling current signal, and can convert the sampling current signal in the line from an analog signal to a digital signal by performing analog-to-digital conversion processing on the sampling current signal, thereby obtaining the initial current value of the power form correction module to facilitate subsequent switch verification.

[0112] Figure 4 is another flow chart showing a method for determining a switching current threshold of a power factor correction module according to an exemplary embodiment, see Figure 4 , the method comprising:

[0113] In step S401, a sampled current signal of a power factor correction module is obtained multiple times.

[0114] In step S402, each sampled current signal is subjected to deep filtering and analog-to-digital conversion processing to obtain a preset number of current values ​​of the power factor correction module.

[0115] In step S403, an average value of a preset number of initial current values ​​is determined, and the average value is used as the current value of the power factor correction module.

[0116] In step S404, a switch current threshold of the power factor correction module is set.

[0117] The switch current threshold includes a false-on current threshold and a false-off current threshold. The false-on current threshold is 3A, and the false-off current threshold is 1A.

[0118] In step S405, the power factor correction module is subjected to multiple false-start verifications according to the switch current threshold, and a first number of false-start verifications that satisfy a first current margin condition is determined.

[0119] In step S406, multiple false shutdown verifications are performed on the power factor correction module according to the switch current threshold, and a second number of times that a second current margin condition is satisfied in the multiple false shutdown verifications is determined.

[0120] In step S407, it is determined whether the sum of the first number and the second number is the total number of the false opening verification and the false closing verification.

[0121] In step S408, when the sum of the first number and the second number is the total number of false opening verification and false closing verification, it is determined that the power factor correction module is qualified.

[0122] In step S409, when the sum of the first number and the second number is less than the total number of false opening verification and false closing verification, the power factor correction module is unqualified, and the switching current threshold of the power factor correction module is adjusted until it is determined that the power factor correction module is qualified.

[0123] Based on the same inventive concept, the present disclosure also provides a device for determining a switching current threshold of a power factor correction module, referring to Figure 5 The device 500 for determining the switch current threshold of a power factor correction module includes a setting module 510 , a verification module 520 and an execution module 530 .

[0124] The setting module 510 is configured to set a switch current threshold of the power factor correction module.

[0125] The verification module 520 is configured to perform switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition.

[0126] The execution module 530 is configured to adjust the switch current threshold of the power factor correction module when the current margin condition is not met, until the adjusted switch current threshold meets the current margin condition.

[0127] The present disclosure performs switch verification on the power factor correction module according to the set switch current threshold of the power factor correction module to determine whether the switch current threshold satisfies a preset current margin condition. When the current margin condition is not satisfied, the switch current threshold of the power factor correction module is adjusted until the adjusted switch current threshold satisfies the current margin condition. The switch verification of the power factor correction module can be performed without adding additional hardware, thereby reducing the verification cost. The switch current threshold of the power factor correction module is adjusted, thereby avoiding the air conditioner being unable to work normally due to the large difference between the false opening current threshold and the false closing current threshold of the power factor correction module, and also avoiding the power factor correction module being in a false opening state and / or a false closing state due to the small difference between the false opening current threshold and the false closing current threshold of the power factor correction module.

[0128] Further, the verification module 520 is configured to perform multiple false-opening verifications on the power factor correction module according to the switch current threshold, and determine a first number of times that the first current margin condition is satisfied in the multiple false-opening verifications;

[0129] Performing multiple false shutdown verifications on the power factor correction module according to the switch current threshold, and determining a second number of times that a second current margin condition is satisfied during the multiple false shutdown verifications;

[0130] Determine whether the power factor correction module is qualified according to the first number and the second number;

[0131] When it is determined that the power factor correction module is unqualified, the switch current threshold of the power factor correction module is adjusted until it is determined that the power factor correction module is qualified.

[0132] Further, the verification module 520 is configured to adjust the frequency of the air conditioner so that the power factor correction module is turned off when the current value of the power factor correction module gradually decreases to the false shutdown current threshold;

[0133] Determining a maximum current value of the power factor correction module within a preset time period before the power factor correction module is shut down;

[0134] Determine whether the difference between the false opening current threshold and the maximum current value is greater than a preset false opening current margin;

[0135] When the difference between the false-opening current threshold and the maximum current value is greater than the preset false-opening current margin, it is determined that the power factor correction module passes the false-opening verification this time.

[0136] Further, the verification module 520 is configured to adjust the frequency of the air conditioner so that the power factor correction module is turned on when the current value of the power factor correction module gradually increases to the false start current threshold;

[0137] Determine a minimum current value of the power factor correction module within a preset time after the power factor correction module is turned on;

[0138] Determine whether the difference between the minimum current value and the false shutdown current threshold is greater than the preset false shutdown current margin;

[0139] When the difference between the minimum current value and the false shutdown current threshold is greater than the preset false shutdown current margin, it is determined that the power factor correction module passes the false shutdown verification.

[0140] Furthermore, the device 500 for determining the switch current threshold of the power factor correction module further includes an acquisition module, which is configured to acquire the initial current value of the power factor correction module multiple times to obtain a preset number of initial current values;

[0141] An average value of a preset number of the initial current values ​​is determined, and the average value is used as the current value of the power factor correction module.

[0142] Further, the acquisition module is configured to acquire a sampled current signal of the power factor correction module;

[0143] The sampled current signal is subjected to deep filtering and analog-to-digital conversion processing to obtain an initial current value of the power factor correction module.

[0144] Further, the verification module 520 is configured to respectively perform the mistaken opening verification and the mistaken closing verification according to a preset sequence;

[0145] Among them, only one verification is performed each time, and the next verification is performed after the current verification is completed.

[0146] In addition, it is worth noting that for the convenience and simplicity of description, the embodiments described in the specification are all preferred embodiments, and the parts involved are not necessarily necessary for the present invention. For example, the setting module and the verification module can be independent devices or the same device in specific implementation, and the present disclosure does not limit this.

[0147] 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.

[0148] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon. When the program instructions are executed by a processor, the steps of the method for determining a switching current threshold of a power factor correction module provided by the present disclosure are implemented.

[0149] Based on the same inventive concept, the present disclosure also provides an electronic device, including:

[0150] processor;

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

[0152] The processor is configured as follows:

[0153] Setting the switching current threshold of the power factor correction module;

[0154] Performing switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition;

[0155] When the current margin condition is not met, the switch current threshold of the power factor correction module is adjusted until the adjusted switch current threshold meets the current margin condition.

[0156] Figure 6 8 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a computer, a messaging device, a tablet device, a personal digital assistant, and the like.

[0157] Reference Figure 6 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0158] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method for determining the switching current threshold of the power factor correction module. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0159] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, a false-on current threshold, a false-off current threshold, a preset false-off current margin, a preset false-on current margin, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.

[0160] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0161] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 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 808 includes a front camera and / or a rear camera. When the electronic device 800 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.

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

[0163] I / O interface 812 provides an interface between processing component 802 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.

[0164] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0165] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 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 816 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 816 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.

[0166] In an exemplary embodiment, the electronic device 800 can 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 method for determining the switching current threshold of the power factor correction module.

[0167] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to complete the above method of determining a switching current threshold of a power factor correction module. 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, and the like.

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

[0169] In another exemplary embodiment, a computer program product is also provided, which includes a computer program executable by a programmable device, and has a code portion for executing the above-mentioned method for determining a switching current threshold of a power factor correction module when executed by the programmable device.

[0170] 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.

[0171] 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 determining a switching current threshold of a power factor correction module, characterized in that: include: Setting a switching current threshold of the power factor correction module; Performing switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition; When the current margin condition is not met, the switch current threshold of the power factor correction module is adjusted until the adjusted switch current threshold meets the current margin condition.

2. The method according to claim 1, characterized in that The performing switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition includes: Performing multiple false-opening verifications on the power factor correction module according to the switch current threshold, and determining a first number of times that a first current margin condition is satisfied in the multiple false-opening verifications; Performing multiple false shutdown verifications on the power factor correction module according to the switch current threshold, and determining a second number of times that a second current margin condition is satisfied in the multiple false shutdown verifications; Determining whether the power factor correction module is qualified according to the first number and the second number; When the current margin condition is not met, adjusting the switch current threshold of the power factor correction module until the adjusted switch current threshold meets the current margin condition, includes: When it is determined that the power factor correction module is unqualified, the switch current threshold of the power factor correction module is adjusted until it is determined that the power factor correction module is qualified.

3. The method according to claim 1, characterized in that The switch current threshold includes a false-open current threshold and a false-close current threshold, and the switch verification includes a false-open verification, which includes: Adjusting the frequency of the air conditioner so that the current value of the power factor correction module gradually decreases to the false shutdown current threshold and then shutting down the power factor correction module; Determining a maximum current value of the power factor correction module within a preset time period before the power factor correction module is turned off; Determine whether the difference between the false opening current threshold and the maximum current value is greater than a preset false opening current margin; When the difference between the false-opening current threshold and the maximum current value is greater than the preset false-opening current margin, it is determined that the power factor correction module passes the false-opening verification this time.

4. The method according to claim 1, characterized in that The switch current threshold includes a false-on current threshold and a false-off current threshold, and the switch verification includes a false-off verification, which includes: Adjusting the frequency of the air conditioner so that the current value of the power factor correction module gradually increases to the false start current threshold, and then turning on the power factor correction module; Determining a minimum current value of the power factor correction module within a preset time after the power factor correction module is turned on; Determining whether a difference between the minimum current value and the false shutdown current threshold is greater than a preset false shutdown current margin; When the difference between the minimum current value and the false shutdown current threshold is greater than the preset false shutdown current margin, it is determined that the power factor correction module passes the false shutdown verification.

5. The method according to claim 3 or 4, characterized in that: The current value of the power factor correction module is obtained in the following way: Acquiring the initial current value of the power factor correction module multiple times to obtain a preset number of initial current values; An average value of the preset number of initial current values ​​is determined, and the average value is used as the current value of the power factor correction module.

6. The method according to claim 5, characterized in that The obtaining of the initial current value of the power factor correction module includes: Acquiring a sampled current signal of the power factor correction module; The sampled current signal is subjected to deep filtering and analog-to-digital conversion processing to obtain an initial current value of the power factor correction module.

7. The method according to claim 1, characterized in that When the switch verification includes an erroneous closing verification and an erroneous opening verification, the erroneous opening verification and the erroneous closing verification are respectively performed according to a preset sequence; Among them, only one verification is performed each time, and the next verification is performed after the current verification is completed.

8. A device for determining a switching current threshold of a power factor correction module, characterized in that: include: A setting module, configured to set a switch current threshold of the power factor correction module; a verification module, configured to perform switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition; The execution module is configured to adjust the switch current threshold of the power factor correction module when the current margin condition is not met, until the adjusted switch current threshold meets the current margin condition.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: Setting the switching current threshold of the power factor correction module; Performing switch verification on the power factor correction module according to the switch current threshold to determine whether the switch current threshold satisfies a preset current margin condition; When the current margin condition is not met, the switch current threshold of the power factor correction module is adjusted until the adjusted switch current threshold meets the current margin condition.

10. 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 7 are implemented.