Control methods, devices, photovoltaic air conditioners and storage media for photovoltaic air conditioning
By dynamically adjusting the compressor frequency in photovoltaic air conditioners, the problem of insufficient power supply caused by fluctuations in photovoltaic power generation is solved, thus improving the stability and reliability of photovoltaic air conditioners.
Patent Information
- Application Number
- CN202511918845.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-18
- Publication Date
- 2026-03-13
- Estimated Expiration
- 2045-12-18
AI Technical Summary
When photovoltaic air conditioners operate in areas without grid coverage, the fluctuation in the power generation of the photovoltaic devices can lead to insufficient power supply to the air conditioning units, causing the compressor to start and stop frequently, which affects the stability and reliability of the photovoltaic air conditioners.
By obtaining the power generation of the photovoltaic device and the operating frequency of the compressor at the end of the air conditioning unit's operating cycle, the compressor frequency for the next operating cycle is dynamically determined, achieving adaptive adjustment and avoiding frequent start-stop.
This improves the operational stability and reliability of photovoltaic air conditioners, reduces frequent compressor starts and stops, and ensures stable power supply.
Smart Images

Figure CN121346365B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning technology, and in particular to a control method, device, photovoltaic air conditioner and storage medium for a photovoltaic air conditioner. Background Technology
[0002] In areas without grid coverage, photovoltaic (PV) air conditioners need to operate in off-grid mode. In this case, the air conditioning units rely on the PV devices within the PV system for power, without the need for grid support. However, the power generation of PV devices is significantly affected by natural conditions such as sunlight intensity and ambient temperature, exhibiting considerable fluctuations and uncertainties, which can lead to insufficient power supply from the PV devices to the air conditioning units.
[0003] Currently, to avoid insufficient power supply to air conditioning units from photovoltaic devices, a fixed frequency is typically used to limit the compressor's operation. However, this method easily leads to frequent compressor starts and stops, affecting the overall stability and reliability of the photovoltaic air conditioning system. Summary of the Invention
[0004] This application provides a control method, device, photovoltaic air conditioner, and storage medium for a photovoltaic air conditioner, in order to solve the problem in the prior art where insufficient power supply from the photovoltaic device to the air conditioning unit in the photovoltaic air conditioner leads to frequent start-stop of the compressor in the air conditioning unit, affecting the stability and reliability of the entire photovoltaic air conditioner operation.
[0005] In a first aspect, this application provides a control method for a photovoltaic air conditioner, comprising:
[0006] During the operation of the air conditioning unit, if the current operating cycle ends, the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit are obtained. The first power generation is used to characterize the minimum power generation of the photovoltaic device in the current operating cycle.
[0007] Based on the first power generation and the first operating frequency, a second operating frequency corresponding to the compressor is determined. The second operating frequency is used to characterize the operating frequency of the compressor within the first operating cycle, and the first operating cycle is the next operating cycle of the current operating cycle.
[0008] At the start of the first operating cycle, the operating frequency of the compressor is controlled according to the second operating frequency.
[0009] In an optional implementation, determining the second operating frequency corresponding to the compressor based on the first power generation and the first operating frequency includes:
[0010] Determine the first operating power corresponding to the first operating frequency;
[0011] Based on the first power generation and the first operating power, a first safety factor is determined for the current photovoltaic device. The first safety factor is used to characterize the degree of power supply support provided by the current photovoltaic device for the stable operation of the compressor within the first operating cycle.
[0012] The second operating frequency of the compressor is determined based on the first safety factor and the preset safety factor.
[0013] In an optional implementation, determining the second operating frequency corresponding to the compressor based on the first safety factor and the preset safety factor includes:
[0014] When the first safety factor is greater than or equal to the preset safety factor, the first operating frequency is increased and adjusted according to the first preset step size, and the first operating frequency after the increase and adjustment is determined as the second operating frequency corresponding to the compressor.
[0015] When the first safety factor is less than the preset safety factor, the first operating frequency is reduced and adjusted according to the second preset step size, and the first operating frequency after the reduction and adjustment is determined as the second operating frequency corresponding to the compressor.
[0016] In an optional implementation, controlling the operating frequency of the compressor according to the second operating frequency includes:
[0017] Control the compressor to operate at the second operating frequency;
[0018] After performing the step of controlling the compressor to operate at the second operating frequency, the method further includes:
[0019] If the air conditioning unit stops abnormally while the compressor is operating at the second operating frequency and the second operating frequency is the first preset frequency corresponding to the compressor, the first number of abnormal stops of the air conditioning unit is determined, and the first preset frequency is used to characterize the minimum frequency at which the compressor is allowed to operate.
[0020] When the first number of times exceeds a preset threshold, the air conditioning unit is controlled to continue to shut down;
[0021] When the downtime of the air conditioning unit exceeds the first preset time, the second power generation of the photovoltaic device is obtained. The second power generation is used to characterize the minimum power generation of the photovoltaic device in the most recent operating cycle.
[0022] Based on the second power generation and the second operating frequency, a second safety factor is determined for the current photovoltaic device. The second safety factor is used to characterize the degree of power supply support provided by the current photovoltaic device for the stable start-up of the compressor.
[0023] When the second safety factor is greater than or equal to the preset safety factor, the air conditioning unit is restarted.
[0024] After the air conditioning unit is restarted, the step of obtaining the first power generation power corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit when the current operating cycle ends during the operation of the air conditioning unit is executed.
[0025] In an optional implementation, the preset safety factor can be determined in the following way:
[0026] Obtain the initial safety factor;
[0027] If the air conditioning unit stops abnormally during operation and the duration of the abnormal stop is less than a second preset duration, a second number of abnormal stops of the air conditioning unit is determined.
[0028] The initial safety factor is updated using the second number of iterations to obtain a preset safety factor, which is greater than the initial safety factor.
[0029] If the air conditioning unit does not stop abnormally during operation, the initial safety factor will be set as the preset safety factor.
[0030] In an optional implementation, before performing the step of obtaining the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit when the current operating cycle ends during the operation of the air conditioning unit, the method further includes:
[0031] Upon receiving the start command of the air conditioning unit, the third power generation power corresponding to the photovoltaic device is obtained. The third power generation power is used to characterize the minimum power generation power of the photovoltaic device in the most recent operating cycle.
[0032] When the third power generation is greater than or equal to a preset power threshold, the air conditioning unit is controlled to start and the compressor is controlled to start at a second preset frequency, the second preset frequency being used to characterize the starting frequency of the compressor;
[0033] After the air conditioning unit is started, the following steps are performed: if the current operating cycle ends during the operation of the air conditioning unit, the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit are obtained.
[0034] In an optional implementation, determining the second operating frequency corresponding to the compressor based on the first power generation and the first operating frequency includes:
[0035] Obtain the trained target prediction model and the first environmental information of the environment in which the photovoltaic air conditioner is located during the current operating cycle;
[0036] The first environmental information and the first power generation are input into the target prediction model so that the target prediction model outputs a fourth power generation, which is used to characterize the minimum power generation of the photovoltaic device during the first operating cycle.
[0037] The second operating frequency corresponding to the compressor is determined based on the fourth power generation and the first operating frequency.
[0038] Secondly, this application provides a control device for a photovoltaic air conditioner, the photovoltaic air conditioner including a photovoltaic device and an air conditioning unit, the photovoltaic air conditioner being in off-grid mode, the device comprising:
[0039] The acquisition module is used to acquire, during the operation of the air conditioning unit, the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit when the current operating cycle ends, wherein the first power generation is used to characterize the minimum power generation of the photovoltaic device in the current operating cycle.
[0040] The determining module is used to determine the second operating frequency corresponding to the compressor based on the first power generation and the first operating frequency. The second operating frequency is used to characterize the operating frequency of the compressor within the first operating cycle, and the first operating cycle is the next operating cycle of the current operating cycle.
[0041] The control module is used to control the operating frequency of the compressor according to the second operating frequency at the beginning of the first operating cycle.
[0042] Thirdly, this application provides a photovoltaic air conditioner, including: a processor and a memory, wherein the processor is used to execute a control program for the photovoltaic air conditioner stored in the memory to implement the control method for the photovoltaic air conditioner as described above.
[0043] Fourthly, this application provides a storage medium storing one or more programs that can be executed by one or more processors to implement the photovoltaic air conditioner control method described above.
[0044] Compared with the prior art, the technical solutions provided in this application have the following advantages. The control method for photovoltaic air conditioning provided in this application is applied to photovoltaic air conditioning, which includes a photovoltaic device and an air conditioning unit. The photovoltaic air conditioning is in off-grid mode. The control method includes: during the operation of the air conditioning unit, if the current operating cycle ends, obtaining the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the current air conditioning unit, wherein the first power generation is used to characterize the minimum power generation of the photovoltaic device in the current operating cycle; determining the second operating frequency corresponding to the compressor based on the first power generation and the first operating frequency, wherein the second operating frequency is used to characterize the operating frequency of the compressor in the first operating cycle, and the first operating cycle is the next operating cycle of the current operating cycle; and controlling the operating frequency of the compressor based on the second operating frequency at the beginning of the first operating cycle. Through the above methods, this application achieves adaptive adjustment of the compressor frequency in the air conditioning unit by obtaining the minimum power generation of the photovoltaic device in the current operating cycle and the first operating frequency of the compressor in the current air conditioning unit at the end of the current operating cycle, and dynamically determining the second operating frequency of the compressor in the next operating cycle. This effectively avoids frequent start-stop of the compressor caused by fluctuations in the power generation of the photovoltaic device, and improves the stability and reliability of the entire photovoltaic air conditioning operation. Attached Figure Description
[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0048] Figure 1 A schematic flowchart illustrating a photovoltaic air conditioner control method provided in an embodiment of this application;
[0049] Figure 2 A schematic flowchart illustrating another photovoltaic air conditioner control method provided in an embodiment of this application;
[0050] Figure 3 A schematic flowchart illustrating another photovoltaic air conditioner control method provided in this application embodiment;
[0051] Figure 4(a) is a flowchart illustrating a control method for the start-up phase of an air conditioning unit in a photovoltaic air conditioner according to an embodiment of this application;
[0052] Figure 4(b) is a flowchart illustrating a control method for the operation phase of an air conditioning unit in a photovoltaic air conditioner according to an embodiment of this application;
[0053] Figure 5 This is a schematic diagram of the structure of a control device for a photovoltaic air conditioner provided in an embodiment of this application;
[0054] Figure 6 This is a schematic diagram of the structure of a photovoltaic air conditioner provided in an embodiment of this application;
[0055] In the attached diagrams above:
[0056] 10. Acquisition Module; 20. Determination Module; 30. Control Module;
[0057] 600. Photovoltaic air conditioner; 601. Processor; 602. Memory; 6021. Operating system; 6022. Application program; 603. User interface; 604. Network interface; 605. Bus system. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0059] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0060] refer to Figure 1 , Figure 1This is a flowchart illustrating a control method for a photovoltaic air conditioner provided in an embodiment of this application. The control method for a photovoltaic air conditioner provided in this application includes the following steps:
[0061] S101: During the operation of the air conditioning unit, if the current operating cycle ends, obtain the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the current air conditioning unit.
[0062] In this embodiment, the photovoltaic air conditioner includes a photovoltaic device and an air conditioning unit. The photovoltaic air conditioner is in off-grid mode, which can be considered as having no grid support. The power supply of the air conditioning unit in the photovoltaic air conditioner depends entirely on the photovoltaic device in the photovoltaic air conditioner. In other words, the photovoltaic air conditioner is an energy-saving air conditioner. The first power generation is used to characterize the minimum power generation of the photovoltaic device in the current operating cycle. During the operation of the air conditioning unit, at the end of each operating cycle, two key parameters are obtained. One key parameter is the minimum power generation of the photovoltaic device in that operating cycle (i.e., the first power generation). Another key parameter is the compressor's operating frequency at the end of the operating cycle (i.e., the first operating frequency). By acquiring two key parameters, the operating frequency of the compressor in the subsequent air conditioning unit can be adaptively adjusted to avoid frequent compressor start-stop affecting the reliable operation of the photovoltaic air conditioner.
[0063] For example, when a photovoltaic device is running in the current operating cycle, the power output of each photovoltaic device can be recorded. At the end of the current operating cycle, the minimum power output is determined from the recorded power outputs of the photovoltaic device in the current cycle, and this minimum power output is taken as the first power output corresponding to the photovoltaic device. The first operating frequency corresponding to the compressor can be obtained by referring to relevant technologies. In this embodiment, the method for obtaining the first operating frequency corresponding to the compressor will not be further elaborated.
[0064] In the above description, both the air conditioning unit and the photovoltaic (PV) device operate within the same operating cycle. The operating cycle is used to control the compressor frequency in the air conditioning unit for the next operating cycle based on the minimum power output of the PV device within that cycle. The operating cycle can be set according to actual needs; for example, it can be 1 minute. However, when setting the operating cycle, it is necessary to consider the rapid fluctuations in the short-term response of the PV device and avoid frequent adjustments to the compressor frequency. Since the PV device is already running before the air conditioning unit starts, the start time of the PV device is taken as the start time of the first operating cycle. At the end of the first operating cycle, the next operating cycle begins (i.e., the end time of the previous operating cycle is the start time of the next operating cycle), and so on. This allows for control of the compressor frequency within the air conditioning unit based on the operating cycle. It should be noted that when the air conditioning unit starts running, the currently running operating cycle can be directly connected. For example, if the operating cycle is 1 minute, the start time of the current operating cycle is 9:00:00, and the air conditioning unit starts running at 9:00:30, it can be directly connected to the current operating cycle. When the current operating cycle ends at 9:01:00, the minimum power generation of the photovoltaic device in the current operating cycle can be obtained. Based on the obtained minimum power generation, the frequency control of the compressor between the next operating cycle (i.e., 9:01:00 to 9:02:00) can be realized.
[0065] S102: Determine the second operating frequency corresponding to the compressor based on the first power generation frequency and the first operating frequency.
[0066] In this embodiment, the second operating frequency is used to characterize the operating frequency of the compressor within the first operating cycle, where the first operating cycle is the next operating cycle after the current operating cycle. After obtaining the first power generation and the first operating frequency, the degree of matching between the power generation capacity of the photovoltaic device and the power supply demand of the compressor can be determined based on the first power generation and the first operating frequency. Therefore, based on the degree of matching between the power generation capacity of the photovoltaic device and the power supply demand of the compressor, the frequency of the compressor in the next operating cycle of the current operating cycle is dynamically adjusted to avoid frequent start-stop of the compressor due to insufficient power supply from the photovoltaic device, thereby maximizing the cooling or heating capacity of the photovoltaic unit while ensuring the reliable operation of the photovoltaic air conditioner.
[0067] S103: At the beginning of the first operating cycle, the operating frequency of the compressor is controlled according to the second operating frequency.
[0068] In this embodiment, after determining the second operating frequency corresponding to the compressor, if the first operating cycle begins, the compressor is controlled to operate at the second operating frequency during the first operating cycle. For example, if the operating cycle is one minute, and a new minute begins, the first operating frequency corresponding to the compressor is adjusted to the second operating frequency to control the compressor to operate at the second operating frequency during the first operating cycle. This ensures that the compressor always operates within the safe power supply capacity of the photovoltaic device, effectively avoiding frequent start-stop of the compressor due to insufficient power generation from the photovoltaic device.
[0069] This embodiment provides a control method for a photovoltaic air conditioner. During the operation of the air conditioning unit, by obtaining the minimum power generation of the photovoltaic device in the current operating cycle and the first operating frequency of the compressor in the current air conditioning unit at the end of the current operating cycle, the second operating frequency of the compressor corresponding to the next operating cycle is dynamically determined. This achieves adaptive adjustment of the compressor frequency in the air conditioning unit, effectively avoiding frequent start-stop of the compressor caused by fluctuations in the power generation of the photovoltaic device, and improving the stability and reliability of the entire photovoltaic air conditioning operation.
[0070] refer to Figure 2 , Figure 2 This is a flowchart illustrating a control method for a photovoltaic air conditioner provided in an embodiment of this application. The control method for a photovoltaic air conditioner provided in this application includes the following steps:
[0071] S201: During the operation of the air conditioning unit, if the current operating cycle ends, obtain the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the current air conditioning unit.
[0072] In this embodiment, step S201 is the same as step S101 described above. For details, please refer to step S101 described above. In this embodiment, it will not be repeated here.
[0073] Prior to performing step S201, the photovoltaic air conditioner control method provided in this embodiment includes the following steps:
[0074] Upon receiving the start command from the air conditioning unit, the third power generation corresponding to the photovoltaic device is obtained;
[0075] When the third power generation is greater than or equal to the preset power threshold, control the air conditioning unit to start and control the compressor to start at the second preset frequency;
[0076] After the air conditioning unit is started, the following steps are executed: if the current operating cycle ends during the operation of the air conditioning unit, obtain the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the current air conditioning unit.
[0077] Specifically, the third power generation is used to characterize the minimum power generation of the photovoltaic (PV) device in the most recent operating cycle. Since the PV device in the PV air conditioner is already running when the air conditioning unit is not started, upon receiving the start command from the air conditioning unit, the minimum power generation of the PV device in the most recent operating cycle (i.e., the third power generation) is obtained to ensure successful start-up of the air conditioning unit. The most recent operating cycle can be understood as the operating cycle that has ended and is adjacent to the time when the start command from the air conditioning unit is received. That is, if the start command from the air conditioning unit is received at time t1, and if operating cycle T1 has ended, is prior to t1, and is adjacent to t1, then the third power generation of the PV device is obtained from the recorded power generation of the PV device within operating cycle T1.
[0078] More specifically, after obtaining the third power output corresponding to the photovoltaic device, the third power output can be compared with a preset power threshold. When the third power output is greater than or equal to the preset power threshold, it indicates that the photovoltaic device has sufficient power supply. At this time, the air conditioning unit can be directly controlled to start and the compressor can be controlled to start at the starting frequency (i.e., the second preset frequency). After starting, step S201 is executed to ensure stable power supply during the start-up process of the air conditioning unit and prevent the air conditioning unit from failing to start due to insufficient power supply from the photovoltaic device. When the third power output is less than the preset power threshold, it indicates that the photovoltaic device has insufficient power supply. The starting frequency of the compressor is adjusted to be reduced to obtain an updated starting frequency. At this time, the air conditioning unit is controlled to start and the compressor is controlled to start at the updated starting frequency. After starting, step S201 is executed to ensure stable power supply during the start-up process of the air conditioning unit and prevent the air conditioning unit from failing to start due to insufficient power supply from the photovoltaic device.
[0079] The aforementioned preset power threshold can be determined in the following way:
[0080] Determine the target operating power required by the compressor when the air conditioning unit starts up, based on the actual needs of the air conditioning unit;
[0081] Multiply the target operating power by the target coefficient to obtain the preset power threshold.
[0082] In this context, actual demand can be understood as cooling or heating demand. Determining the target operating power required by the compressor based on actual demand can be done with reference to existing technologies, which will not be elaborated upon in this embodiment. The target coefficient can be set according to actual needs; the specific value of the target coefficient is not limited in this embodiment. After obtaining the target operating power required by the compressor when the air conditioning unit starts, the first correlation relationship can be queried based on the target operating power to obtain the operating frequency corresponding to the target operating power. The determined operating frequency is then used as the starting frequency. The first correlation relationship stores multiple sets of correspondences between operating frequencies and operating powers. The first correlation relationship is obtained experimentally before the photovoltaic air conditioner leaves the factory. After obtaining the first correlation relationship, it is stored in the photovoltaic air conditioner so that when determining the compressor's starting frequency, the starting frequency corresponding to the target operating power can be determined based on the stored first correlation relationship, and the first operating power corresponding to the first operating frequency can be determined based on the stored first correlation relationship.
[0083] Specifically, the first correlation actually stores multiple sets of correspondences between operating frequencies, condensing temperatures, and operating power. After obtaining the target operating power of the compressor, since the air conditioning unit is not yet started, the condensing temperature of the air conditioning unit cannot be obtained at this time. Therefore, the condensing temperature is set to 45℃ (the nominal operating condition under national standards is 35℃, but the condensing temperature of the air conditioning unit is usually 10℃ higher than the outdoor temperature when it is running, so the value is 45℃ here). The first correlation is queried based on the condensing temperature and the target operating power to obtain the operating frequency (i.e., the starting frequency) corresponding to the target operating power and condensing temperature. The first correlation can be seen in Table 1.
[0084] Table 1. Comparison of compressor operating frequency and operating power at different condensing temperatures.
[0085]
[0086] Referring to Table 1 above, A1-2 indicates that when the condensing temperature is 16℃ and the compressor's operating frequency is 1Hz, the compressor's operating power is A1-2.
[0087] S202: Determine the first operating power corresponding to the first operating frequency.
[0088] S203: Determine the first safety factor corresponding to the current photovoltaic device based on the first power generation and the first operating power.
[0089] S204: Determine the second operating frequency of the compressor based on the first safety factor and the preset safety factor.
[0090] Regarding steps S202 to S204 above, the first safety factor is used to characterize the degree of power supply support provided by the current photovoltaic device for the stable operation of the compressor during the first operating cycle. A pre-set correspondence between the compressor's operating frequency and operating power can be established. After obtaining the first operating frequency of the compressor, the correspondence can be queried based on the first operating frequency to obtain the first operating power corresponding to that first operating frequency. After obtaining the first operating power, the ratio between the first power generation and the first operating power is determined, and this ratio is defined as the first safety factor corresponding to the current photovoltaic device. This first safety factor reflects the remaining power supply capacity after supplying the air conditioning unit with the current photovoltaic device's power supply capacity. A larger first safety factor indicates a more sufficient power supply from the photovoltaic device and a safer operation of the photovoltaic air conditioner. After obtaining the first safety factor, it is compared with a preset safety factor to obtain a comparison result. Based on the comparison result, a frequency adjustment strategy corresponding to the compressor is determined, and a second operating frequency corresponding to the compressor is determined based on the frequency adjustment strategy. The frequency adjustment strategy includes increasing the first operating frequency according to a first preset step size and decreasing the first operating frequency according to a second preset step size.
[0091] The first safety factor can be expressed as: The first power generation can be expressed as The first operating power can be expressed as First safety factor For example, if the first power generation is 1800W and the first operating power is 1600W, then the first safety factor is... .
[0092] In this embodiment, a first safety factor is determined by using the first power generation power corresponding to the current photovoltaic device and the first operating power corresponding to the compressor to quantify the power supply support level of the photovoltaic device. In this way, the determined first safety factor is used to realize the dynamic adjustment of the compressor's operating frequency in the next operating cycle of the current operating cycle. This avoids the frequent start-stop of the compressor caused by the traditional fixed frequency adjustment of the compressor, thus ensuring the reliable operation of the compressor.
[0093] In the above, step S202, determining the first operating power corresponding to the first operating frequency, includes:
[0094] Based on the first operating frequency, the first correlation is queried to obtain the first operating power corresponding to the first operating frequency.
[0095] The first association relationship can be referred to as described above, and will not be repeated in this embodiment. Since the first association relationship actually stores multiple sets of correspondences between operating frequencies, condensing temperatures, and operating power, after obtaining the first operating frequency corresponding to the compressor, the condensing temperature of the current air conditioning unit can be obtained. Based on the obtained first operating frequency and the current condensing temperature of the air conditioning unit, the first association relationship can be queried to obtain the first operating power corresponding to the first operating frequency and condensing temperature. This embodiment provides a method for determining the first operating power, so that after obtaining the first operating frequency corresponding to the compressor, the first operating power corresponding to the first operating frequency can be determined based on the above determination method, thereby using the first operating power to achieve dynamic adjustment of the operating frequency of the subsequent compressor.
[0096] In the above, step S204, determining the second operating frequency of the compressor based on the first safety factor and the preset safety factor, includes:
[0097] When the first safety factor is greater than or equal to the preset safety factor, the first operating frequency is increased and adjusted according to the first preset step size, and the first operating frequency after the increase and adjustment is determined as the second operating frequency corresponding to the compressor.
[0098] When the first safety factor is less than the preset safety factor, the first operating frequency is reduced and adjusted according to the second preset step size, and the first operating frequency after the reduction and adjustment is determined as the second operating frequency corresponding to the compressor.
[0099] The first and second preset step sizes can be set according to actual needs. In this embodiment, the specific values of the first and second preset step sizes are not limited. For example, the first preset step size can be 1Hz, and the second preset step size can be 5% of the first operating frequency. When the first safety factor is greater than or equal to the preset safety factor, it indicates that the power supply capacity of the photovoltaic device is sufficient. At this time, the first operating frequency can be increased according to the first preset step size, and the increased first operating frequency is determined as the second operating frequency corresponding to the compressor. When the first safety factor is less than the preset safety factor, it indicates that the power supply capacity of the photovoltaic device is tight, and the air conditioning unit is at risk of abnormal shutdown. It is necessary to immediately reduce the frequency to reduce the total power consumption of the air conditioning unit. At this time, the first operating frequency can be decreased according to the second preset step size, and the decreased first operating frequency is determined as the second operating frequency corresponding to the compressor. In this embodiment, by comparing the first safety factor with the preset safety factor, the first operating frequency is adjusted according to the corresponding preset step size to avoid compressor load fluctuations caused by sudden changes in the compressor's operating frequency, reduce mechanical losses, and ensure a smooth increase in cooling or heating capacity. Users do not perceive significant temperature changes, thus improving user comfort.
[0100] It should be noted that when the second operating frequency corresponding to the compressor is the maximum frequency at which the compressor is allowed to operate, the operating frequency of the compressor will no longer be increased; similarly, when the second operating frequency corresponding to the compressor is the minimum frequency at which the compressor is allowed to operate, the operating frequency of the compressor will no longer be decreased.
[0101] In the above, the preset safety factor in step S204 can be determined in the following way:
[0102] Obtain the initial safety factor;
[0103] If the air conditioning unit stops abnormally during operation and the duration of the abnormal stop is less than the second preset duration, the second number of abnormal stops of the air conditioning unit will be counted.
[0104] The initial safety factor is updated using the second statistical result to obtain the preset safety factor;
[0105] If the air conditioning unit does not stop abnormally during operation, the initial safety factor will be set as the preset safety factor.
[0106] Specifically, the initial safety factor is a number greater than 1, for example, 110%. The second preset duration is 3 hours. The initial safety factor and the second preset duration can be set according to actual needs. In this embodiment, the initial safety factor and the second preset duration are not specifically limited. The preset safety factor is greater than the initial safety factor. For example, if the initial safety factor K is 110%, the second number is 3, and each abnormal shutdown of the air conditioning unit is less than the second preset duration, then the initial safety factor K is updated using the second number 3 to obtain a preset safety factor K of 110% + 10% × 3. After obtaining the preset safety factor, a more accurate preset safety factor can be used to determine a better compressor operating frequency when dynamically adjusting the compressor's operating frequency. In this embodiment, by statistically analyzing the number of abnormal shutdowns of the air conditioning unit, the preset safety factor is dynamically improved. This allows for adaptive adjustment of the compressor's operating frequency based on the updated preset safety factor, thereby improving the stability of the photovoltaic air conditioning operation and further reducing the probability of the air conditioning unit experiencing another abnormal shutdown.
[0107] It should be noted that if the air conditioning unit stops abnormally and the duration of the abnormal stop is greater than or equal to the second preset duration, the second number of abnormal stops of the air conditioning unit will be reset to zero. After the reset, the above-mentioned step of obtaining the third power generation of the photovoltaic device when the start command of the air conditioning unit is received will be executed.
[0108] S205: At the start of the first operating cycle, the operating frequency of the compressor is controlled according to the second operating frequency.
[0109] In this embodiment, at the beginning of the first operating cycle, the compressor is controlled to operate at a second operating frequency. Step S205 is the same as step S103 described above, and can be referred to step S103 for details. It will not be repeated here in this embodiment.
[0110] The photovoltaic air conditioner control method provided in this embodiment further includes the following steps after executing step S205:
[0111] If the air conditioning unit stops abnormally while the compressor is operating at the second operating frequency and the second operating frequency is the first preset frequency corresponding to the compressor, the first number of abnormal stops of the air conditioning unit is determined.
[0112] When the number of times exceeds the preset threshold, the air conditioning unit will continue to be shut down.
[0113] When the downtime of the air conditioning unit exceeds the first set time, the second power generation of the photovoltaic device is obtained.
[0114] The second safety factor corresponding to the current photovoltaic device is determined based on the second power generation and the second operating frequency.
[0115] When the second safety factor is greater than the preset safety factor, the air conditioning unit is restarted.
[0116] After the air conditioning unit is restarted, perform the above step S201.
[0117] The first preset frequency characterizes the minimum frequency at which the compressor is allowed to operate, the second power generation characterizes the minimum power generation of the photovoltaic device in the most recent operating cycle, and the second safety factor characterizes the degree of power supply support provided by the photovoltaic device for the stable start-up of the compressor. The first preset duration can be set according to actual needs; in this embodiment, the specific value of the preset duration is not limited. For example, the preset duration can be 30 minutes. The most recent operating cycle can be understood as the operating cycle that has ended, and this operating cycle is the operating cycle adjacent to the moment when the downtime of the air conditioning unit is greater than the first preset duration. That is, when the moment when the first number of times exceeds the preset number threshold and the downtime of the air conditioning unit is greater than the first preset duration is t2, if the operating cycle T2 has ended, the operating cycle T2 is before t2, and the operating cycle T2 is adjacent to t2, then the second power generation corresponding to the photovoltaic device is obtained from the recorded power generation of the photovoltaic device within the operating cycle T2.
[0118] Specifically, when the number of restarts exceeds a preset threshold, the air conditioning unit enters a protection state. At this time, restarting the air conditioning unit is restricted (i.e., the air conditioning unit remains shut down). When the time for restricting restarting reaches a preset duration, the minimum power output (i.e., the second power output) of the photovoltaic device in the most recent operating cycle is acquired. Based on the second power output and the second operating frequency, a second safety factor corresponding to the current photovoltaic device is determined (the method for determining the second safety factor can refer to the method for determining the first safety factor described above, and will not be further elaborated in this embodiment). When the second safety factor is greater than or equal to the preset safety factor, it indicates that the power generation capacity of the current photovoltaic device can support the compressor operating at the second operating frequency (i.e., the minimum operating frequency of the compressor). In this case, the air conditioning unit can be restarted. When the second safety factor is less than the preset safety factor, it indicates that the power generation capacity of the current photovoltaic device cannot support the compressor operating at the second operating frequency. In this case, it is unnecessary to control the air conditioning unit to restart; restarting the air conditioning unit is restricted, and an alarm is sent. After the air conditioning unit restarts, step S201 is executed. When the first restart attempt is less than or equal to the preset threshold, the air conditioning unit can be restarted by referring to the above-mentioned start-up method. This implementation avoids repeated restart attempts under extreme power shortage conditions, protects the compressor in the air conditioning unit, and improves the safety and reliability of the photovoltaic air conditioner.
[0119] It should be noted that when counting the first number, it is also necessary to ensure that the abnormal shutdown time of the air conditioning unit is less than the second preset time. If the air conditioning unit stops abnormally and the abnormal shutdown time is greater than or equal to the second preset time, both the first and second counts are reset to zero. After resetting, the third step of obtaining the power generation corresponding to the photovoltaic device when the start command of the air conditioning unit is received is executed. In this embodiment, the control of restarting the air conditioning unit can refer to the above-described air conditioning unit start control method to avoid the failure of restarting the air conditioning unit.
[0120] This embodiment provides a control method for a photovoltaic air conditioner. During the operation of the air conditioning unit, by obtaining the minimum power generation of the photovoltaic device in the current operating cycle and the first operating frequency of the compressor in the current air conditioning unit at the end of the current operating cycle, the second operating frequency of the compressor corresponding to the next operating cycle is dynamically determined. This achieves adaptive adjustment of the compressor frequency in the air conditioning unit, effectively avoiding frequent start-stop of the compressor caused by fluctuations in the power generation of the photovoltaic device, and improving the stability and reliability of the entire photovoltaic air conditioning operation.
[0121] refer to Figure 3 , Figure 3This is a flowchart illustrating another photovoltaic air conditioner control method provided in this application embodiment. The photovoltaic air conditioner control method provided in this embodiment includes the following steps:
[0122] S301: During the operation of the air conditioning unit, if the current operating cycle ends, obtain the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the current air conditioning unit.
[0123] In this embodiment, step S301 is the same as step S201 described above. For details, please refer to step S201 described above. In this embodiment, it will not be repeated here.
[0124] S302: Obtain the trained target prediction model and the first environmental information of the environment in which the photovoltaic air conditioner is located during the current operating cycle.
[0125] S303: Input the first environmental information and the first power generation into the target prediction model so that the target prediction model outputs the fourth power generation.
[0126] S304: Determine the second operating frequency corresponding to the compressor based on the fourth power generation and the first operating frequency.
[0127] Regarding steps S302 to S304 above, the third power generation is used to characterize the minimum power generation of the photovoltaic device within the first operating cycle. The first environmental information includes ambient temperature, ambient humidity, light intensity, and cloud cover. The target prediction model is used to predict the operating frequency of the compressor. After obtaining the first power generation and the first operating frequency, the trained target prediction model and the first environmental information of the environment where the photovoltaic air conditioner is located in the current cycle are obtained. The first environmental information and the first power generation are input into the target prediction model, so that the target prediction model outputs the minimum power generation of the photovoltaic device within the first operating cycle (i.e., the fourth power generation). Then, based on the fourth power generation and the first operating frequency, the second operating frequency corresponding to the compressor is determined. When determining the second operating frequency corresponding to the compressor based on the fourth power generation and the first operating frequency, the method described above for determining the second operating frequency corresponding to the compressor based on the first power generation and the first operating frequency can be referenced. This embodiment will not elaborate further on this. In this embodiment, a pre-trained target prediction model is used to predict the minimum power output of the photovoltaic device in the future based on environmental information and the minimum power output of the photovoltaic device in the previous operating cycle. This allows the compressor's operating frequency to be adjusted in advance before the power output of the photovoltaic device decreases, further reducing the possibility of abnormal shutdown of the air conditioning unit and ensuring the safety and reliability of the photovoltaic air conditioning operation.
[0128] It should be noted that when training the target prediction model, a training dataset can be obtained. This training dataset includes multiple historical environmental information sets and the minimum power generation of historical photovoltaic devices corresponding to the historical environmental information. The preset prediction model is then trained to obtain the target prediction model. The preset prediction model can be selected according to actual needs, and this embodiment does not impose any limitations on it.
[0129] In this embodiment, it should also be noted that the air conditioning unit can be started and controlled according to the above-mentioned start-up method. When controlling the start-up of the air conditioning unit, after obtaining the third power generation, it is also necessary to obtain the second environmental information of the environment in which the photovoltaic air conditioner is located in the most recent operating cycle (the second environmental information can refer to the first environmental information mentioned above). The third power generation and the second environmental information are input into the target prediction model so that the target prediction model outputs the updated third power generation (the updated third power generation is the minimum power generation of the photovoltaic device in the next operating cycle). When the updated third power generation is greater than the preset power threshold, the air conditioning unit is controlled to start and the compressor is controlled to start at the second preset frequency. This realizes the prediction of the minimum power generation of the photovoltaic device in the future. It can adjust the operating frequency of the compressor in advance before the power generation of the photovoltaic device decreases, further reducing the possibility of abnormal shutdown of the air conditioning unit and ensuring the safety and reliability of the operation of the photovoltaic air conditioner.
[0130] S305: At the start of the first operating cycle, the operating frequency of the compressor is controlled according to the second operating frequency.
[0131] In this embodiment, step S305 is the same as step S205 described above. For details, please refer to step S205 above. In this embodiment, it will not be repeated here.
[0132] This embodiment provides a control method for a photovoltaic air conditioner. During the operation of the air conditioning unit, by obtaining the minimum power generation of the photovoltaic device in the current operating cycle and the first operating frequency of the compressor in the current air conditioning unit at the end of the current operating cycle, the second operating frequency of the compressor corresponding to the next operating cycle is dynamically determined. This achieves adaptive adjustment of the compressor frequency in the air conditioning unit, effectively avoiding frequent start-stop of the compressor caused by fluctuations in the power generation of the photovoltaic device, and improving the stability and reliability of the entire photovoltaic air conditioning operation.
[0133] The following is an example, referring to Figures 4(a) and 4(b), to introduce the control process of the entire photovoltaic air conditioner.
[0134] Referring to the flowchart of the control method for the start-up phase of the air conditioning unit shown in Figure 4(a), when the start-up command of the air conditioning unit is received, the minimum power generation of the photovoltaic device in the most recent operating cycle (i.e., the third power generation) is obtained.
[0135] Determine the starting frequency required to start the compressor in the air conditioning unit and the target operating power of the compressor corresponding to the starting frequency, so as to determine the preset power threshold based on the target operating power;
[0136] When the third power generation is greater than or equal to the preset power threshold, the air conditioning unit is controlled to start and the compressor is controlled to start at the starting frequency (i.e., the second preset frequency).
[0137] When the third power generation is less than the preset power threshold, the starting frequency is adjusted to be reduced to obtain the updated starting frequency;
[0138] Control the start-up of the air conditioning unit and control the compressor to start according to the updated start-up frequency;
[0139] After the air conditioning unit is started, it enters the operation phase.
[0140] Referring to the flowchart of the control method for the air conditioning unit operation phase shown in Figure 4(b), during the operation of the air conditioning unit, if the current operating cycle ends, the minimum power generation of the photovoltaic device during the current operating cycle (i.e., the first power generation) is obtained. and the first operating frequency corresponding to the compressor in the current air conditioning unit. ;
[0141] Determine the first operating frequency Corresponding first operating power and determine the first power generation capacity. With first operating power The ratio between them is used to obtain the first safety factor corresponding to the current photovoltaic device;
[0142] If the air conditioning unit stops abnormally during operation and the duration of the abnormal stop is less than the second preset duration, the second number of abnormal stops n of the air conditioning unit is counted, and the preset safety factor K is determined by using the second number n obtained from the statistics.
[0143] When the first safety factor is greater than or equal to the obtained preset safety factor K, the first operating frequency is increased and adjusted according to the first preset step size, and the first operating frequency after the increase and adjustment is determined as the second operating frequency corresponding to the compressor.
[0144] When the first safety factor is less than the preset safety factor K, the first operating frequency is reduced and adjusted according to the second preset step size, and the first operating frequency after the reduction and adjustment is determined as the second operating frequency corresponding to the compressor.
[0145] At the start of the first operating cycle, the compressor is controlled to operate at the second operating frequency;
[0146] If the air conditioning unit stops abnormally while the compressor is operating at the second operating frequency and the second operating frequency is the first preset frequency corresponding to the compressor, the first number of abnormal stops of the air conditioning unit is determined.
[0147] When the number of times exceeds the preset threshold, the air conditioning unit will continue to be shut down.
[0148] When the downtime of the air conditioning unit exceeds the first preset time, the minimum power generation of the photovoltaic device in the most recent operating cycle (i.e., the second power generation) is obtained.
[0149] Determine the second operating power of the compressor corresponding to the second operating frequency, and determine the second safety factor corresponding to the current photovoltaic device based on the ratio of the second power generation to the second operating power;
[0150] When the second safety factor is greater than or equal to the preset safety factor, the control steps for the air conditioning unit startup phase are executed;
[0151] When the second safety factor is less than the preset safety factor, the air conditioning unit is prohibited from being restarted.
[0152] refer to Figure 5 , Figure 5 This is a schematic diagram of a control device for a photovoltaic air conditioner provided in an embodiment of this application. The photovoltaic air conditioner includes a photovoltaic device and an air conditioning unit. The photovoltaic air conditioner is in off-grid mode. The device includes an acquisition module 10, a determination module 20, and a control module 30. The acquisition module 10 is used to acquire, during the operation of the air conditioning unit, if the current operating cycle ends, a first power generation corresponding to the photovoltaic device and a first operating frequency corresponding to the compressor in the air conditioning unit. The first power generation is used to characterize the minimum power generation of the photovoltaic device within the current operating cycle. The determination module 20 is used to determine a second operating frequency corresponding to the compressor based on the first power generation and the first operating frequency. The second operating frequency is used to characterize the operating frequency of the compressor within the first operating cycle, where the first operating cycle is the next operating cycle of the current operating cycle. The control module 30 is used to control the operating frequency of the compressor based on the second operating frequency at the beginning of the first operating cycle.
[0153] In this embodiment, the determining module 20 is further configured to:
[0154] Determine the first operating power corresponding to the first operating frequency;
[0155] Based on the first power generation and the first operating power, a first safety factor is determined for the current photovoltaic device. The first safety factor is used to characterize the degree of power supply support provided by the current photovoltaic device for the stable operation of the compressor within the first operating cycle.
[0156] The second operating frequency of the compressor is determined based on the first safety factor and the preset safety factor.
[0157] In this embodiment, the determining module 20 is further configured to:
[0158] When the first safety factor is greater than or equal to the preset safety factor, the first operating frequency is increased and adjusted according to the first preset step size, and the first operating frequency after the increase and adjustment is determined as the second operating frequency corresponding to the compressor.
[0159] When the first safety factor is less than the preset safety factor, the first operating frequency is reduced and adjusted according to the second preset step size, and the first operating frequency after the reduction and adjustment is determined as the second operating frequency corresponding to the compressor.
[0160] In this embodiment, the control module 30 is further configured to:
[0161] The compressor is controlled to operate at the second operating frequency.
[0162] In this embodiment, the acquisition module 10 is further configured to:
[0163] If the air conditioning unit stops abnormally while the compressor is operating at the second operating frequency and the second operating frequency is the first preset frequency corresponding to the compressor, the first number of abnormal stops of the air conditioning unit is determined, and the first preset frequency is used to characterize the minimum frequency at which the compressor is allowed to operate.
[0164] When the first number of times exceeds a preset threshold, the air conditioning unit is controlled to continue to shut down;
[0165] When the downtime of the air conditioning unit exceeds the first preset time, the second power generation of the photovoltaic device is obtained. The second power generation is used to characterize the minimum power generation of the photovoltaic device in the most recent operating cycle.
[0166] Based on the second power generation and the second operating frequency, a second safety factor is determined for the current photovoltaic device. The second safety factor is used to characterize the degree of power supply support provided by the current photovoltaic device for the stable start-up of the compressor.
[0167] When the second safety factor is greater than or equal to the preset safety factor, the air conditioning unit is restarted.
[0168] After the air conditioning unit is restarted, during the operation of the air conditioning unit, if the current operating cycle ends, the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit are obtained.
[0169] In this embodiment, the determining module 20 is further configured to:
[0170] Obtain the initial safety factor;
[0171] If the air conditioning unit stops abnormally during operation and the duration of the abnormal stop is less than a second preset duration, the second number of abnormal stops of the air conditioning unit will be counted.
[0172] The initial safety coefficient is updated using the second number obtained from statistics to obtain a preset safety coefficient, which is greater than the initial safety coefficient.
[0173] If the air conditioning unit does not stop abnormally during operation, the initial safety factor will be set as the preset safety factor.
[0174] In this embodiment, the acquisition module 10 is further configured to:
[0175] Upon receiving the start command of the air conditioning unit, the third power generation power corresponding to the photovoltaic device is obtained. The third power generation power is used to characterize the minimum power generation power of the photovoltaic device in the most recent operating cycle.
[0176] When the third power generation is greater than or equal to a preset power threshold, the air conditioning unit is controlled to start and the compressor is controlled to start at a second preset frequency, the second preset frequency being used to characterize the starting frequency of the compressor;
[0177] After the air conditioning unit is started, during the operation of the air conditioning unit, if the current operating cycle ends, the first power generation corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit are obtained.
[0178] In this embodiment, the determining module 20 is further configured to:
[0179] Obtain the trained target prediction model and the first environmental information of the environment in which the photovoltaic air conditioner is located during the current operating cycle;
[0180] The first environmental information and the first power generation are input into the target prediction model so that the target prediction model outputs a fourth power generation, which is used to characterize the minimum power generation of the photovoltaic device during the first operating cycle.
[0181] The second operating frequency corresponding to the compressor is determined based on the fourth power generation and the first operating frequency.
[0182] This embodiment provides a control device for a photovoltaic air conditioner. During the operation of the air conditioning unit, by obtaining the minimum power generation of the photovoltaic device in the current operating cycle and the first operating frequency of the compressor in the current air conditioning unit at the end of the current operating cycle, the device dynamically determines the second operating frequency of the compressor in the next operating cycle. This achieves adaptive adjustment of the compressor frequency in the air conditioning unit, effectively avoiding frequent start-stop of the compressor caused by fluctuations in the power generation of the photovoltaic device, and improving the stability and reliability of the entire photovoltaic air conditioning operation.
[0183] Figure 6 This is a schematic diagram of the structure of a photovoltaic air conditioner provided in an embodiment of this application. Figure 6 The photovoltaic air conditioner 600 shown includes: at least one processor 601, a memory 602, at least one network interface 604, and other user interfaces 603. The various components in the photovoltaic air conditioner 600 are coupled together via a bus system 605. It is understood that the bus system 605 is used to realize communication between these components. In addition to a data bus, the bus system 605 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 6 The general designated all buses as Bus System 605.
[0184] The user interface 603 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).
[0185] It is understood that the memory 602 in this embodiment of the invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0186] In some implementations, memory 602 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 6021 and application program 6022.
[0187] The operating system 6021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 6022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of this embodiment can be included in the application program 6022.
[0188] In this embodiment of the invention, the processor 601 executes the method steps provided in each method embodiment by calling the program or instructions stored in the memory 602, specifically the program or instructions stored in the application program 6022.
[0189] The methods disclosed in the above embodiments of the present invention can be applied to processor 601, or implemented by processor 601. Processor 601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 601 or by instructions in the form of software. The processor 601 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 602. Processor 601 reads the information in memory 602 and, in conjunction with its hardware, completes the steps of the above method.
[0190] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in 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), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0191] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0192] The photovoltaic air conditioner provided in this embodiment can be as follows: Figure 6 The photovoltaic air conditioner shown can perform the following functions: Figure 1 ~All steps of the photovoltaic air conditioning control method shown in Figure 4 are used to achieve... Figure 1 The technical effects of the photovoltaic air conditioning control method shown in Figure 4 can be found in the following references. Figure 1 The description in Figure 4 is for succinct purposes and will not be elaborated upon here.
[0193] This invention also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; it may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and it may also include combinations of the above types of memory.
[0194] When one or more programs in the storage medium can be executed by one or more processors to implement the above-mentioned control method of photovoltaic air conditioner executed on the control device side of photovoltaic air conditioner.
[0195] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0196] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0197] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A control method of a photovoltaic air conditioner, characterized by, The photovoltaic air conditioner comprises a photovoltaic device and an air conditioner unit, the photovoltaic air conditioner is in an off-grid mode, and the method comprises the following steps: During operation of the air conditioner unit, if a current operation period ends, a first power generation power corresponding to the photovoltaic device and a first operation frequency corresponding to a compressor in the air conditioner unit are obtained, the first power generation power is used to represent the minimum power generation power of the photovoltaic device in the current operation period; According to the first power generation power and the first operation frequency, a second operation frequency corresponding to the compressor is determined, the second operation frequency is used to represent the operation frequency of the compressor in a first operation period, and the first operation period is a next operation period of the current operation period; At the beginning of the first operation period, the operation frequency of the compressor is controlled according to the second operation frequency; wherein The method further comprises the following steps: The first operation frequency corresponds to a first operation power; According to the first power generation power and the first operation power, a first safety coefficient corresponding to the current photovoltaic device is determined, the first safety coefficient is used to represent the power supply support degree of the current photovoltaic device to the stable operation of the compressor in the first operation period; According to the first safety coefficient and a preset safety coefficient, the second operation frequency corresponding to the compressor is determined; The preset safety coefficient can be determined by the following method: An initial safety coefficient is obtained; During operation of the air conditioner unit, if the air conditioner unit abnormally stops and the abnormal stop time of the air conditioner unit is less than a second preset time, a second number of abnormal stops of the air conditioner unit is counted; The initial safety coefficient is updated by using the counted second number to obtain a preset safety coefficient, and the preset safety coefficient is greater than the initial safety coefficient; During operation of the air conditioner unit, if the air conditioner unit does not abnormally stop, the initial safety coefficient is determined as the preset safety coefficient.
2. The method of claim 1, wherein, The method further comprises the following steps: When the first safety coefficient is greater than or equal to the preset safety coefficient, the first operation frequency is adjusted by increasing in a first preset step, and the first operation frequency after the increasing adjustment is determined as the second operation frequency corresponding to the compressor; When the first safety coefficient is less than the preset safety coefficient, the first operation frequency is adjusted by decreasing in a second preset step, and the first operation frequency after the decreasing adjustment is determined as the second operation frequency corresponding to the compressor.
3. The method of claim 1, wherein, The method further comprises the following steps: The compressor is controlled to operate at the second operation frequency; After the step of controlling the compressor to operate at the second operation frequency, the method further comprises the following steps: If the air conditioning unit abnormally stops and the second operating frequency is a first preset frequency corresponding to the compressor, a first number of times of abnormal stop of the air conditioning unit is determined, and the first preset frequency is used to represent the minimum frequency allowing the compressor to operate; If the first number of times is greater than a preset number of times threshold, the air conditioning unit is controlled to continue to stop; If the stop duration of the air conditioning unit is greater than a first preset duration, a second power generation power corresponding to the photovoltaic device is obtained, and the second power generation power is used to represent the minimum power generation power of the photovoltaic device in a latest operating cycle; According to the second power generation power and the second operating frequency, a second safety coefficient corresponding to the photovoltaic device at present is determined, and the second safety coefficient is used to represent the power supply support degree of the photovoltaic device to the stable start of the compressor; If the second safety coefficient is greater than or equal to the preset safety coefficient, the air conditioning unit is controlled to restart; After the air conditioning unit restarts, the step of obtaining the first power generation power corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit if the current operating cycle ends is executed.
4. The method of claim 1, wherein, Before the step of obtaining the first power generation power corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit if the current operating cycle ends is executed, the method further comprises: When the start instruction of the air conditioning unit is received, a third power generation power corresponding to the photovoltaic device is obtained, and the third power generation power is used to represent the minimum power generation power of the photovoltaic device in a latest operating cycle; If the third power generation power is greater than or equal to a preset power threshold, the air conditioning unit is controlled to start and the compressor is controlled to start at a second preset frequency, and the second preset frequency is used to represent the start frequency of the compressor; After the air conditioning unit starts, the step of obtaining the first power generation power corresponding to the photovoltaic device and the first operating frequency corresponding to the compressor in the air conditioning unit if the current operating cycle ends is executed.
5. The method of claim 1, wherein, The determination of the second operating frequency corresponding to the compressor according to the first power generation power and the first operating frequency comprises: A target prediction model trained and first environment information of an environment in which the photovoltaic air conditioner is located in the current operating cycle are obtained; The first environment information and the first power generation power are input into the target prediction model, so that the target prediction model outputs a fourth power generation power, and the fourth power generation power is used to represent the minimum power generation power of the photovoltaic device in the first operating cycle; According to the fourth power generation power and the first operating frequency, the second operating frequency corresponding to the compressor is determined.
6. A control device of a photovoltaic air conditioner, characterized by, The photovoltaic air conditioner comprises a photovoltaic device and an air conditioning unit, and the photovoltaic air conditioner is in an off-grid mode, and the device comprises: The acquisition module is configured to, during operation of the air conditioning unit, acquire a first power generation power of the photovoltaic device corresponding to a current operation period and a first operation frequency of a compressor in the air conditioning unit corresponding to the current operation period, the first power generation power being used to represent a minimum power generation power of the photovoltaic device in the current operation period. The determination module is configured to determine a second operation frequency of the compressor according to the first power generation power and the first operation frequency, the second operation frequency being used to represent an operation frequency of the compressor in a first operation period, the first operation period being a next operation period of the current operation period. The control module is configured to control the operation frequency of the compressor according to the second operation frequency when the first operation period starts. The determination module is further configured to determine a first operation power corresponding to the first operation frequency. A first safety coefficient of the photovoltaic device corresponding to the current operation period is determined according to the first power generation power and the first operation power, the first safety coefficient being used to represent a power supply support degree of the photovoltaic device for stable operation of the compressor in the first operation period. The second operation frequency of the compressor is determined according to the first safety coefficient and a preset safety coefficient. The determination module is further configured to acquire an initial safety coefficient. During operation of the air conditioning unit, a second number of abnormal stoppages of the air conditioning unit is counted if the air conditioning unit abnormally stops and an abnormal stoppage duration of the air conditioning unit is less than a second preset duration. The initial safety coefficient is updated according to the second number to obtain a preset safety coefficient, the preset safety coefficient being greater than the initial safety coefficient. During operation of the air conditioning unit, the initial safety coefficient is determined as the preset safety coefficient if the air conditioning unit does not abnormally stop.
7. A photovoltaic air conditioner characterized by, The processor is configured to execute a control program of a photovoltaic air conditioner stored in the memory to implement the control method of the photovoltaic air conditioner. The storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the control method of the photovoltaic air conditioner.
8. A storage medium, characterized by
Citation Information
Patent Citations
Frequency control mode of variable frequency air conditioner compressor directly powered by solar panels
CN110779182A
Control method and control device of photovoltaic air conditioning system and photovoltaic air conditioning system
CN119802781A