Three-phase current determination method and device, air conditioner and storage medium
By obtaining the power and voltage to be used in the compressor, determining the constant to be used from the preset correspondence relationship, and calculating the input current of the three-phase electricity, the problem of additional electronic devices in the prior art is solved, and the current detection effect without affecting the structure is achieved.
Patent Information
- Application Number
- CN202311130444.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2025-03-04
AI Technical Summary
The prior art requires additional electronic devices to achieve three-phase current detection, which increases costs and affects the structure of the air conditioner.
By obtaining the power to be used and the voltage to be used of the compressor, the matching constant to be used is determined from the correspondence between the preset air conditioner and the constant, and the input current of the three-phase electricity is calculated based on these parameters.
Without additional electronic devices, three-phase current detection is achieved, saving electronic devices and hardware detection costs, and does not affect other structures of the air conditioner.
Smart Images

Figure CN119561448A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and in particular to a method and device for determining three-phase current, an air conditioner and a storage medium. Background Art
[0002] At present, air conditioners can use three-phase electricity, so that the compressor runs relatively smoothly, which is particularly suitable for air conditioners with higher power. Usually, air conditioners with more than three horsepower use three-phase electricity. The benefits of using three-phase electricity for air conditioners are as follows: 1. It can transmit three times the power of single-phase electricity. 2. Three-phase electricity can form a perfect rotating magnetic field in a large number of electric motors, so that the electric motor has the simplest structure and reduces the difficulty of using and maintaining the electric motor.
[0003] At present, in order to obtain the current of three-phase electricity, an additional current mutual inductance coil can be added to realize current detection, but this method requires additional electronic components, which not only increases the cost but also affects other structures of the air conditioner. Summary of the invention
[0004] The present invention provides a method, device, air conditioner and storage medium for determining three-phase current, so as to solve the defect in the prior art that additional electronic devices are needed to realize current detection, and realize current detection without adding additional electronic devices.
[0005] The present invention provides a method for determining three-phase current, the method comprising:
[0006] Obtaining the power to be used and the voltage to be used of the compressor;
[0007] Determining a constant to be used that matches the air conditioner corresponding to the compressor from a preset correspondence relationship between the air conditioner and the constant, wherein the constant to be used is a constant determined based on a sample current, a sample voltage, and a sample power;
[0008] Based on the power to be used, the voltage to be used, and the constant to be used, an input current of three-phase electricity is determined.
[0009] According to a method for determining three-phase current provided by the present invention, the step of obtaining the power to be used and the voltage to be used of the compressor includes:
[0010] Obtaining the operating power and operating voltage of the compressor corresponding to different time points;
[0011] Taking the sum of the operating powers corresponding to each time point as the power sum value, and determining the power to be used based on the power sum value and the number of time points;
[0012] The sum of the operating voltages corresponding to the various time points is used as the voltage sum value, and the voltage to be used is determined based on the voltage sum value and the number of time points.
[0013] According to a method for determining three-phase current provided by the present invention, the step of determining the power to be used based on the power sum value and the number of time points includes:
[0014] The quotient of the power sum and the number of time points is taken as the average power;
[0015] In the case where the average power is greater than a preset power threshold, the preset power threshold is used as the power to be used, wherein the preset power threshold matches the air conditioner corresponding to the compressor;
[0016] When the average power is not greater than the preset power threshold, the average power is used as the power to be used.
[0017] According to a method for determining a three-phase current provided by the present invention, the step of determining the voltage to be used based on the voltage sum value and the number of time points includes:
[0018] Taking the quotient of the voltage sum value and the number of time points as the average voltage;
[0019] When the average voltage is greater than a first preset voltage threshold, using the first preset voltage threshold as the voltage to be used;
[0020] When the average voltage is less than a second preset voltage threshold, using the second preset voltage threshold as the voltage to be used;
[0021] When the average voltage is not greater than the first preset voltage threshold and the average voltage is not less than the second preset voltage threshold, the average voltage is used as the voltage to be used, wherein the first preset voltage threshold is greater than the second preset voltage threshold, and the first preset voltage threshold and the second preset voltage threshold match the air conditioner corresponding to the compressor.
[0022] According to a method for determining three-phase current provided by the present invention, the constants to be used include a first constant to be used, a second constant to be used, and a third constant to be used;
[0023] The step of determining the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used comprises:
[0024] Taking the quotient of the power to be used and the voltage to be used as the current to be adjusted;
[0025] The difference between the voltage to be used and the second constant to be used is used as the difference to be used; the product of the third constant to be used and the difference to be used is used as the product to be used; and the sum of the product to be used and the first constant to be used is used as the adjustment parameter;
[0026] The product of the current to be adjusted and the adjustment parameter is used as the input current.
[0027] According to a method for determining three-phase current provided by the present invention, the corresponding relationship between the air conditioner and the constant is determined in the following manner:
[0028] Determine, from the correspondence between the preset information and the sample information, the sample information to be used corresponding to the information to be used of the air conditioner, wherein the sample information to be used includes a sample current to be used, a sample voltage to be used, and a sample power to be used, and there is a correspondence between the sample current to be used, the sample voltage to be used, and the sample power to be used;
[0029] Multiplying the sample current to be used by the corresponding sample voltage to be used and dividing the result by the corresponding sample power to be used to obtain a fitting parameter;
[0030] Based on the fitting parameters and the corresponding sample voltage to be used, constants corresponding to the air conditioner are obtained.
[0031] According to a method for determining three-phase current provided by the present invention, the information to be used includes protection current and performance parameter information;
[0032] The step of determining the sample information to be used corresponding to the information to be used of the air conditioner from the correspondence between the preset information and the sample information comprises:
[0033] Determining sample information corresponding to the performance parameter information from a correspondence between preset information and sample information, wherein the sample information includes sample current, sample voltage, and sample power;
[0034] The sample information in which the difference between the sample current and the protection current is not greater than a preset difference threshold is used as the sample information to be used.
[0035] The present invention also provides a device for determining three-phase current, the device comprising:
[0036] An acquisition module, used for acquiring the power to be used and the voltage to be used of the compressor;
[0037] A first determination module, configured to determine a constant to be used that matches the air conditioner corresponding to the compressor from a preset correspondence relationship between the air conditioner and the constant, wherein the constant to be used is a constant determined based on a sample current, a sample voltage, and a sample power;
[0038] The second determination module is used to determine the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used.
[0039] The present invention also provides an air conditioner, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned methods for determining the three-phase current are implemented.
[0040] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for determining three-phase current are implemented.
[0041] The method, device, air conditioner and storage medium for determining three-phase current provided by the present invention obtain the power to be used and the voltage to be used of the compressor, and determine the constant to be used that matches the air conditioner corresponding to the compressor from the pre-set correspondence between the air conditioner and the constant, wherein the constant to be used is a constant determined based on the sample current, the sample voltage and the sample power, and the input current of the three-phase electricity is determined based on the power to be used, the voltage to be used and the constant to be used.
[0042] In this way, the input current of three-phase electricity can be calculated without adding additional electronic components, thereby saving the cost of electronic components and hardware detection, and will not affect other structures of the air conditioner. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 It is a flow chart of the method for determining three-phase current provided by the present invention;
[0045] Figure 2 It is a structural schematic diagram of a device for determining three-phase current provided by the present invention;
[0046] Figure 3 It is a structural schematic diagram of the host computer provided by the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] In order to realize current detection without adding additional electronic devices, the embodiments of the present invention provide a method, device, air conditioner, non-transitory computer readable storage medium and computer program product for determining three-phase current. Figure 1 A method for determining three-phase current provided in an embodiment of the present invention is introduced.
[0049] like Figure 1 As shown, an embodiment of the present invention provides a method for determining three-phase current, the method comprising:
[0050] S101, obtaining the power to be used and the voltage to be used of the compressor.
[0051] The executor of the embodiment of the present invention is an air conditioner, specifically a host computer (i.e., a controller) corresponding to the air conditioner. The compressor can collect operating power and bus voltage, and then the compressor sends the collected operating power and bus voltage to the host computer, wherein a communication connection is established between the host computer and the compressor.
[0052] The compressor can send an operating power and a bus voltage to the host computer each time. In one embodiment, the compressor can send the operating power and the bus voltage to the host computer at a preset interval.
[0053] In another embodiment, the compressor can send the operating power and bus voltage to the host computer when it is detected that the current operating power changes by a first preset change threshold compared to the operating power sent last time, and / or the current bus voltage changes by a second preset change threshold compared to the current bus voltage sent last time. Furthermore, the air conditioner, that is, the host computer, can obtain the power to be used and the voltage to be used of the compressor based on the received operating power and bus voltage.
[0054] S102, determining a constant to be used that matches the air conditioner corresponding to the compressor from the preset correspondence relationship between the air conditioner and the constant.
[0055] In order to determine the input current of the three-phase electricity, a constant to be used that matches the air conditioner corresponding to the compressor can be determined from the preset correspondence between the air conditioner and the constant, wherein the constant to be used is a constant determined based on the sample current, sample voltage and sample power.
[0056] The air conditioner corresponding to the compressor may include performance parameter information, and the performance parameter information may be at least one of the compressor model, air conditioner capacity, and reactor parameter information. In one embodiment, different compressor models, air conditioner capacities, and reactor parameter information may be divided by different air conditioner models. Therefore, based on the model of the air conditioner, a matching constant to be used may be determined from the pre-set correspondence between the air conditioner and the constant.
[0057] S103, determining the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used.
[0058] After obtaining the power to be used, the voltage to be used and the constant to be used, the input current of the three-phase electricity can be determined based on the power to be used, the voltage to be used and the constant to be used. It can be seen that the method for determining the three-phase current provided by the embodiment of the present invention can calculate the input current of the three-phase electricity without adding additional electronic components. In this way, the cost of electronic components and hardware detection can be saved, and other structures of the air conditioner will not be affected.
[0059] As an implementation of an embodiment of the present invention, the step of obtaining the power to be used and the voltage to be used of the compressor may include:
[0060] The operating power and operating voltage of the compressor corresponding to different time points are obtained. Among them, the time points corresponding to the operating power and bus voltage sent by the compressor to the upper computer are different. In one embodiment, in order to determine the input current of the three-phase electricity, the compressor can send the operating power and bus voltage of a preset number of times to the upper computer. The preset number of times is the same as the number of time points. It can be set according to actual usage requirements. For example, the number of time points can be 8, 15, 23, etc., which is not specifically limited here.
[0061] The sum of the operating powers corresponding to the various time points is taken as the power sum value, and the power to be used is determined based on the power sum value and the number of time points.
[0062] After the operating power corresponding to each time point is obtained, the sum of the operating power corresponding to each time point may be used as the power sum value, and then, based on the power sum value and the number of time points, the power to be used is determined.
[0063] The step of determining the power to be used based on the power and value and the number of time points may include:
[0064] The quotient of the power sum and the number of time points is taken as the average power.
[0065] When the average power is greater than a preset power threshold, the preset power threshold is used as the power to be used, wherein the preset power threshold matches the air conditioner corresponding to the compressor, and the preset power threshold is pre-set according to the air conditioner capacity. For example, the preset power threshold can be 7000W, 6900W, 7500W, etc., which is not specifically limited here.
[0066] When the average power is not greater than a preset power threshold, the average power is used as the power to be used.
[0067] The sum of the operating voltages corresponding to the various time points is used as the voltage sum value, and the voltage to be used is determined based on the voltage sum value and the number of time points.
[0068] After the operating voltages corresponding to the various time points are obtained, the sum of the operating voltages corresponding to the various time points may be used as the voltage sum value, and then the voltage to be used is determined based on the voltage sum value and the number of time points.
[0069] The step of determining the voltage to be used based on the voltage and value and the number of time points may include:
[0070] Taking the quotient of the voltage sum value and the number of time points as the average voltage;
[0071] When the average voltage is greater than a first preset voltage threshold, the first preset voltage threshold is used as the voltage to be used. When the average voltage is less than a second preset voltage threshold, the second preset voltage threshold is used as the voltage to be used;
[0072] When the average voltage is not greater than the first preset voltage threshold and the average voltage is not less than the second preset voltage threshold, the average voltage is used as the voltage to be used, wherein the first preset voltage threshold is greater than the second preset voltage threshold, and the first preset voltage threshold and the second preset voltage threshold match the air conditioner corresponding to the compressor.
[0073] The first preset voltage threshold and the second preset voltage threshold are both pre-set according to the air conditioning capacity. For example, the first preset voltage threshold may be 700V, and the second preset voltage threshold may be 200V. Of course, the first preset voltage threshold may be 600V, and the second preset voltage threshold may be 230V. These are all reasonable and are not specifically limited here.
[0074] It can be seen that in this embodiment, more accurate power to be used and voltage to be used can be determined according to the operating power and operating voltage of the compressor, so that more accurate input current can be obtained later. In addition, the power to be used and voltage to be used can be limited, which is equivalent to limiting the input current, thereby preventing power components such as power lines, terminals, and reactors at the input end from overcurrent or accidents such as overheating and burning caused by overcurrent.
[0075] As an implementation manner of the embodiment of the present invention, the above-mentioned constants to be used include a first constant to be used, a second constant to be used and a third constant to be used.
[0076] The step of determining the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used may include:
[0077] Taking the quotient of the power to be used and the voltage to be used as the current to be adjusted;
[0078] The difference between the voltage to be used and the second constant to be used is used as the difference to be used; the product of the third constant to be used and the difference to be used is used as the product to be used; and the sum of the product to be used and the first constant to be used is used as the adjustment parameter;
[0079] The product of the current to be adjusted and the adjustment parameter is used as the input current.
[0080] In order to facilitate understanding of the method of determining the input current of the present invention, the steps of determining the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used are described below in combination with formula (1)-formula (2).
[0081]
[0082] K=a+(Ub)*c (2)
[0083] Among them, I in is the input current, W is the power to be used, U is the voltage to be used, K is the adjustment parameter, a is the first constant to be used, b is the second constant to be used, c is the third constant to be used, is the current to be adjusted, Ub is the difference to be used, and (Ub)*c is the product to be used. I in It is consistent with the current of any phase in the three-phase electricity.
[0084] For example, a can be 0.8, b can be 430, and c can be 0.0004. Accordingly, the above formula (2) can be expressed as formula (3):
[0085] K=0.8+(U-430)*0.0004 (3)
[0086] It can be seen that in this embodiment, the input current can be determined more accurately through the power to be used, the voltage to be used and the constant to be used.
[0087] As an implementation manner of an embodiment of the present invention, the above-mentioned adjustment parameters have a preset fitting interval, and the fitting interval includes a first preset fitting value and a second preset fitting value, wherein the first preset fitting value and the second preset fitting value can be set according to actual usage requirements, and the first preset fitting value is smaller than the second preset fitting value.
[0088] After obtaining the adjustment parameter, if the adjustment parameter belongs to the fitting interval, that is, when the adjustment parameter is greater than the first preset fitting value and the adjustment parameter is less than the second preset fitting value, the step of taking the product of the current to be adjusted and the adjustment parameter as the input current can be executed.
[0089] If the adjustment parameter is less than the first preset fitting value, the product of the current to be adjusted and the first preset fitting value is used as the input current. If the adjustment parameter is greater than the second preset fitting value, the product of the current to be adjusted and the second preset fitting value is used as the input current.
[0090] In this way, a more accurate input current can be obtained. In addition, the adjustment parameters can be limited, which is equivalent to limiting the input current, thereby preventing power components such as power lines, terminals, reactors at the input end from overcurrent or accidents such as overheating and burning caused by overcurrent.
[0091] As an implementation method of the embodiment of the present invention, the corresponding relationship between the above air conditioner and the constant is determined in the following manner:
[0092] The sample information to be used corresponding to the information to be used of the air conditioner is determined from the correspondence between the preset information and the sample information.
[0093] The sample information to be used includes a sample current to be used, a sample voltage to be used and a sample power to be used, and there is a corresponding relationship between the sample current to be used, the sample voltage to be used and the sample power to be used;
[0094] The sample current to be used is multiplied by the corresponding sample voltage to be used, and divided by the corresponding sample power to be used to obtain a fitting parameter; based on the fitting parameter and the corresponding sample voltage to be used, a constant corresponding to the air conditioner is obtained.
[0095] In one implementation, the correspondence between three sets of fitting parameters, sample currents to be used, sample voltages to be used, and sample powers to be used can be obtained, and the obtained correspondence between the fitting parameters, sample currents to be used, sample voltages to be used, and sample powers to be used is substituted into the above formula (2), so as to obtain the first constant, the second constant, and the third constant.
[0096] The above-mentioned information to be used includes protection current and performance parameter information. The above-mentioned step of determining the sample information to be used corresponding to the information to be used of the air conditioner from the correspondence between the preset information and the sample information may include:
[0097] The sample information corresponding to the performance parameter information is determined from the correspondence between the preset information and the sample information, wherein the sample information includes a sample current, a sample voltage and a sample power, and there is a correspondence between the sample current, the sample voltage and the sample power.
[0098] The performance parameter information may be at least one of the compressor model, air conditioning capacity, and reactor parameter information. In one embodiment, the correspondence between the information and the sample information may also be specifically the correspondence between the air conditioning model and the sample information, and different compressor models, air conditioning capacities, and reactor parameter information may be divided by different air conditioning models. Therefore, the sample information corresponding to the performance parameter information may be determined from the correspondence between the air conditioning model and the sample information.
[0099] The sample information in which the difference between the sample current and the protection current is not greater than a preset difference threshold is used as the sample information to be used.
[0100] In order to further prevent overcurrent or overheating, burning and other accidents caused by overcurrent in power components such as power lines, terminals, and reactors at the input end, current overcurrent protection can be added. After obtaining sample information, the sample information can be screened. Specifically, sample information whose difference between the sample current and the protection current is not greater than a preset difference threshold can be used as the sample information to be used.
[0101] For example, the protection current may be 9A, and the preset difference threshold may be 1A, so the sample information corresponding to the sample current between 8A and 10A may be used as the sample information to be used.
[0102] It can be seen that in this embodiment, corresponding constants can be set based on different air conditioners so that the input current can be accurately determined.
[0103] The following is a description of a three-phase current determination device provided by the present invention. The three-phase current determination device described below and the three-phase current determination method described above can refer to each other.
[0104] like Figure 2 As shown, an embodiment of the present invention provides a device for determining three-phase current, the device comprising:
[0105] The acquisition module 210 is used to acquire the ready-to-use power and the ready-to-use voltage of the compressor.
[0106] The first determination module 220 is used to determine a constant to be used that matches the air conditioner corresponding to the compressor from a preset correspondence between the air conditioner and the constant, wherein the constant to be used is a constant determined based on a sample current, a sample voltage and a sample power.
[0107] The second determination module 230 is configured to determine the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used.
[0108] As an implementation of the embodiment of the present invention, the acquisition module 210 may include:
[0109] The acquisition unit is used to acquire the operating power and operating voltage of the compressor corresponding to different time points.
[0110] The first determining unit is used to take the sum of the operating powers corresponding to each time point as the power sum value, and determine the power to be used based on the power sum value and the number of time points.
[0111] The second determining unit is configured to take the sum of the operating voltages corresponding to the respective time points as the voltage sum value, and determine the voltage to be used based on the voltage sum value and the number of the time points.
[0112] As an implementation manner of the embodiment of the present invention, the first determining unit is specifically configured to use a quotient of the power sum value and the number of time points as the average power;
[0113] In the case where the average power is greater than a preset power threshold, the preset power threshold is used as the power to be used, wherein the preset power threshold matches the air conditioner corresponding to the compressor;
[0114] When the average power is not greater than the preset power threshold, the average power is used as the power to be used.
[0115] As an implementation manner of the embodiment of the present invention, the second determining unit is specifically configured to use a quotient of the voltage sum value and the number of time points as an average voltage;
[0116] When the average voltage is greater than a first preset voltage threshold, using the first preset voltage threshold as the voltage to be used;
[0117] When the average voltage is less than a second preset voltage threshold, using the second preset voltage threshold as the voltage to be used;
[0118] When the average voltage is not greater than the first preset voltage threshold and the average voltage is not less than the second preset voltage threshold, the average voltage is used as the voltage to be used, wherein the first preset voltage threshold is greater than the second preset voltage threshold, and the first preset voltage threshold and the second preset voltage threshold match the air conditioner corresponding to the compressor.
[0119] As an implementation manner of the embodiment of the present invention, the constants to be used include a first constant to be used, a second constant to be used, and a third constant to be used;
[0120] The second determination module 230 is specifically configured to use the quotient of the power to be used and the voltage to be used as the current to be adjusted;
[0121] The difference between the voltage to be used and the second constant to be used is used as the difference to be used; the product of the third constant to be used and the difference to be used is used as the product to be used; and the sum of the product to be used and the first constant to be used is used as the adjustment parameter;
[0122] The product of the current to be adjusted and the adjustment parameter is used as the input current.
[0123] As an implementation of the embodiment of the present invention, the above device may further include:
[0124] a corresponding relationship determining module, used to determine the sample information to be used corresponding to the information to be used of the air conditioner from the corresponding relationship between the preset information and the sample information, wherein the sample information to be used includes a sample current to be used, a sample voltage to be used and a sample power to be used, and there is a corresponding relationship between the sample current to be used, the sample voltage to be used and the sample power to be used;
[0125] Multiplying the sample current to be used by the corresponding sample voltage to be used and dividing the result by the corresponding sample power to be used to obtain a fitting parameter;
[0126] Based on the fitting parameters and the corresponding sample voltage to be used, constants corresponding to the air conditioner are obtained.
[0127] As an implementation manner of the embodiment of the present invention, the information to be used includes protection current and performance parameter information;
[0128] The above-mentioned corresponding relationship determination module is specifically used to determine the sample information corresponding to the performance parameter information from the corresponding relationship between the preset information and the sample information, wherein the sample information includes the sample current, the sample voltage and the sample power;
[0129] The sample information in which the difference between the sample current and the protection current is not greater than a preset difference threshold is used as the sample information to be used.
[0130] Figure 3 An example of a physical structure diagram of a host computer is shown. The air conditioner includes a host computer and a compressor. Figure 3 As shown, the host computer may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the method for determining the three-phase current, the method comprising: obtaining the power to be used and the voltage to be used of the compressor, and determining the constant to be used that matches the air conditioner corresponding to the compressor from the correspondence between the preset air conditioner and the constant, wherein the constant to be used is a constant determined based on the sample current, the sample voltage and the sample power, and determining the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used.
[0131] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0132] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the three-phase current determination method provided by the above methods, the method including: obtaining the power to be used and the voltage to be used of the compressor, and determining the constant to be used that matches the air conditioner corresponding to the compressor from the pre-set correspondence between the air conditioner and the constant, wherein the constant to be used is a constant determined based on the sample current, the sample voltage and the sample power, and the input current of the three-phase electricity is determined based on the power to be used, the voltage to be used and the constant to be used.
[0133] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the three-phase current determination method provided by the above-mentioned methods, the method comprising: obtaining the power to be used and the voltage to be used of the compressor, and determining the constant to be used that matches the air conditioner corresponding to the compressor from the pre-set correspondence between the air conditioner and the constant, wherein the constant to be used is a constant determined based on the sample current, the sample voltage and the sample power, and the input current of the three-phase electricity is determined based on the power to be used, the voltage to be used and the constant to be used.
[0134] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for determining three-phase current, characterized in that: The method comprises: Obtaining the power to be used and the voltage to be used of the compressor; Determining a constant to be used that matches the air conditioner corresponding to the compressor from a preset correspondence relationship between the air conditioner and the constant, wherein the constant to be used is a constant determined based on a sample current, a sample voltage, and a sample power; Based on the power to be used, the voltage to be used, and the constant to be used, an input current of three-phase electricity is determined.
2. The method for determining three-phase current according to claim 1, characterized in that: The step of obtaining the power to be used and the voltage to be used of the compressor comprises: Obtaining the operating power and operating voltage of the compressor corresponding to different time points; Taking the sum of the operating powers corresponding to each time point as the power sum value, and determining the power to be used based on the power sum value and the number of time points; The sum of the operating voltages corresponding to the various time points is used as the voltage sum value, and the voltage to be used is determined based on the voltage sum value and the number of time points.
3. The method for determining three-phase current according to claim 2, characterized in that: The step of determining the power to be used based on the power sum value and the number of time points comprises: The quotient of the power sum and the number of time points is taken as the average power; In the case where the average power is greater than a preset power threshold, the preset power threshold is used as the power to be used, wherein the preset power threshold matches the air conditioner corresponding to the compressor; When the average power is not greater than the preset power threshold, the average power is used as the power to be used.
4. The method for determining three-phase current according to claim 2, characterized in that: The step of determining the voltage to be used based on the voltage and value and the number of time points comprises: Taking the quotient of the voltage sum value and the number of time points as the average voltage; When the average voltage is greater than a first preset voltage threshold, using the first preset voltage threshold as the voltage to be used; When the average voltage is less than a second preset voltage threshold, using the second preset voltage threshold as the voltage to be used; When the average voltage is not greater than the first preset voltage threshold and the average voltage is not less than the second preset voltage threshold, the average voltage is used as the voltage to be used, wherein the first preset voltage threshold is greater than the second preset voltage threshold, and the first preset voltage threshold and the second preset voltage threshold match the air conditioner corresponding to the compressor.
5. The method for determining three-phase current according to any one of claims 1 to 4, characterized in that: The constants to be used include a first constant to be used, a second constant to be used, and a third constant to be used; The step of determining the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used comprises: Taking the quotient of the power to be used and the voltage to be used as the current to be adjusted; The difference between the voltage to be used and the second constant to be used is used as the difference to be used; the product of the third constant to be used and the difference to be used is used as the product to be used; and the sum of the product to be used and the first constant to be used is used as the adjustment parameter; The product of the current to be adjusted and the adjustment parameter is used as the input current.
6. The method for determining three-phase current according to any one of claims 1 to 4, characterized in that: The corresponding relationship between the air conditioner and the constant is determined as follows: Determine, from the correspondence between the preset information and the sample information, the sample information to be used corresponding to the information to be used of the air conditioner, wherein the sample information to be used includes a sample current to be used, a sample voltage to be used, and a sample power to be used, and there is a correspondence between the sample current to be used, the sample voltage to be used, and the sample power to be used; Multiplying the sample current to be used by the corresponding sample voltage to be used and dividing the result by the corresponding sample power to be used to obtain a fitting parameter; Based on the fitting parameters and the corresponding sample voltage to be used, constants corresponding to the air conditioner are obtained.
7. The method for determining three-phase current according to claim 6, characterized in that: The information to be used includes protection current and performance parameter information; The step of determining the sample information to be used corresponding to the information to be used of the air conditioner from the correspondence between the preset information and the sample information comprises: Determining sample information corresponding to the performance parameter information from a correspondence between preset information and sample information, wherein the sample information includes sample current, sample voltage, and sample power; The sample information in which the difference between the sample current and the protection current is not greater than a preset difference threshold is used as the sample information to be used.
8. A device for determining three-phase current, characterized in that: The device comprises: An acquisition module, used for acquiring the power to be used and the voltage to be used of the compressor; A first determination module, configured to determine a constant to be used that matches the air conditioner corresponding to the compressor from a preset correspondence relationship between the air conditioner and the constant, wherein the constant to be used is a constant determined based on a sample current, a sample voltage, and a sample power; The second determination module is used to determine the input current of the three-phase electricity based on the power to be used, the voltage to be used and the constant to be used.
9. An air conditioner, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for determining the three-phase current according to any one of claims 1 to 7 are implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for determining three-phase current according to any one of claims 1 to 7 are implemented.