A method of controlling adjustment of a parameter

By acquiring photovoltaic power from the bus voltage in electronic devices and adjusting compressor control parameters using a mapping relationship, the problem of slow response speed of electronic devices is solved, achieving synchronous changes in power with the photovoltaic energy system, and improving energy utilization and response speed.

CN122136787APending Publication Date: 2026-06-02QINGDAO HISENSE HITACHI AIR CONDITIONING SYST
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
QINGDAO HISENSE HITACHI AIR CONDITIONING SYST
Filing Date
2026-02-13
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In DC microgrids, electronic devices respond slowly to power changes in photovoltaic energy systems, leading to an imbalance between source and load energy. In existing technologies, the delay in command transmission at the control center makes it difficult to match the photovoltaic output power with the load power consumption in real time.

Method used

Photovoltaic power is obtained by collecting bus voltage, and the control parameters of the compressor are adjusted using a preset mapping relationship to achieve rapid power response of electronic equipment, reduce dependence on the DC microgrid control center, and improve response speed.

Benefits of technology

It enables synchronous changes in the power of electronic devices and the power of photovoltaic energy systems, improving the energy utilization rate of photovoltaic energy systems, reducing command transmission delay, and increasing response speed and energy matching efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122136787A_ABST
    Figure CN122136787A_ABST
Patent Text Reader

Abstract

This application discloses a method for adjusting control parameters. In this method, the electronic device infers the power of the photovoltaic energy system based on the collected voltage of the photovoltaic energy system, and then adjusts the control parameters of the compressor according to the power of the photovoltaic energy system to change the power of the electronic device. This allows the power of the electronic device to change with the power of the photovoltaic energy system. Since the electronic device does not need to wait for the power adjustment command sent by the control center in the DC microgrid, the time delay caused by command transmission is reduced, thereby improving the response speed of the electronic device to the power changes of the photovoltaic energy system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of photovoltaic equipment technology, and in particular to a method for adjusting control parameters. Background Technology

[0002] With the popularization of photovoltaic energy, the application scenarios of electronic devices that can directly utilize renewable energy are becoming increasingly widespread. Taking photovoltaic air conditioners as an example, electronic devices are typical controllable loads in DC microgrids, and the operating power of their compressors directly affects the photovoltaic energy absorption efficiency.

[0003] In traditional flexible regulation mode, the control center of a DC microgrid needs to receive and process data from the entire grid before sending power regulation commands to each load unit of the DC microgrid. This process can take up to minutes. However, the fluctuation cycle of photovoltaic energy is usually on the order of seconds. This response delay makes it difficult to match the photovoltaic output power with the load power consumption in real time, leading to energy imbalance. Summary of the Invention

[0004] This application provides a method for adjusting control parameters to improve the response speed of electronic devices to power changes in photovoltaic energy systems. The method provided in this application is implemented as follows: A first aspect of this application provides a method for adjusting control parameters, applied to an electronic device, the electronic device being powered at least by a photovoltaic energy system and / or the power grid, the method comprising: The bus voltage at the current sampling time is collected to obtain the photovoltaic power of the photovoltaic energy system at the current sampling time; Based on a preset first mapping relationship between device power and control parameters, a first target value for the control parameters of the compressor of the electronic device is determined when the device power of the electronic device is the value of the photovoltaic power at the current sampling time. The control parameters include frequency and / or rotation speed. Based on the first target value of the control parameter and the current value of the control parameter at the current sampling time, the adjustment amount of the control parameter at the first sampling time is determined, where the first sampling time is the next sampling time after the current time. The control parameters are adjusted according to the adjustment amount of the control parameters at the first sampling time.

[0005] In the above technical solution, the electronic device infers the power of the photovoltaic energy system based on the collected voltage of the photovoltaic energy system, and then adjusts the control parameters of the compressor according to the power of the photovoltaic energy system to change the power of the electronic device. This allows the power of the electronic device to change with the power of the photovoltaic energy system. Since the electronic device does not need to wait for the power adjustment command sent by the control center in the DC microgrid, the time delay caused by command transmission is reduced, thereby improving the response speed of the electronic device to the power changes of the photovoltaic energy system.

[0006] Furthermore, since the DC microgrid regulation process adjusts parameters according to a fixed step size, meaning the acceleration of parameter changes is constant, but the acceleration of photovoltaic energy system power changes may not be constant, there may be a missynchronization between the power changes of electronic devices and the power changes of the photovoltaic energy system during the DC microgrid regulation process. However, in this scheme, since the bus voltage is used for adjustment, and the bus voltage is positively correlated with the power of the photovoltaic energy system, the power regulation of electronic devices can be synchronized with the power changes of the photovoltaic energy system, achieving rapid tracking of the power changes of the photovoltaic energy system and improving the energy utilization rate of the photovoltaic energy system.

[0007] In some possible implementations, acquiring the bus voltage at the current sampling time and obtaining the photovoltaic power of the photovoltaic energy system at the current sampling time includes: Based on the preset second mapping relationship between photovoltaic power and bus voltage, and the value of bus voltage at the current sampling time, the photovoltaic power at the current sampling time is obtained.

[0008] In the above technical solution, experiments show that the photovoltaic power and bus voltage of the photovoltaic energy system are positively correlated. Therefore, the mapping relationship between photovoltaic power and bus voltage can be measured in advance and stored in electronic equipment. When adjusting the control parameters later, the pre-stored mapping relationship can be used to improve the accuracy of determining the photovoltaic power based on the bus voltage. Furthermore, since the photovoltaic power can be obtained by using the mapping relationship after obtaining the bus voltage, the calculation method is relatively simple and can reduce the amount of calculation.

[0009] In some possible implementations, determining the adjustment amount of the control parameter at the first sampling time based on the first target value of the control parameter and the current value of the control parameter at the current sampling time includes: Based on the first target value of the control parameter, the current value of the control parameter, and the sampling interval duration, determine the absolute value of the rate of change of the control parameter in the first sampling interval; If the absolute value of the rate of change of the control parameter in the first sampling interval is less than or equal to the rate of change threshold, the adjustment amount of the control parameter at the first sampling time is determined to be the difference between the first target value and the current value.

[0010] In the above technical solution, after determining the target value of the control parameter based on the photovoltaic power, the absolute value of the rate of change of the control parameter when adjusting the control parameter according to the target value can be calculated. If the absolute value of the rate of change is within the threshold of the rate of change, the control parameter is adjusted according to the target value. This can avoid the compressor from losing synchronization or stalling due to the absolute value of the rate of change of the parameter value being too fast when adjusting the control parameter, and can improve the reliability of adjusting the control parameter.

[0011] In some possible implementations, after determining the absolute value of the rate of change of the control parameter during the first sampling interval based on the first target value of the control parameter, the current value of the control parameter, and the sampling interval duration, the method further includes: If the absolute value of the rate of change of the control parameter in the first sampling interval is greater than the rate of change threshold, the adjustment amount of the control parameter at the first sampling time is determined to be the upper limit value corresponding to the rate of change threshold.

[0012] In the above technical solution, if the absolute value of the rate of change exceeds the rate of change threshold, the control parameter is adjusted using the value of the control parameter corresponding to the upper limit of the rate of change threshold. This ensures that the absolute value of the rate of change of the control parameter does not exceed the allowable range, thus guaranteeing the feasibility of the solution.

[0013] In some possible implementations, the method further includes: The actual device power and reference device power of the electronic device at the first sampling time are obtained, wherein the reference device power is determined based on the value of the control parameter at the first sampling time; If the first difference between the actual device power and the reference device power exceeds a first difference range, the rate of change of the control parameter in the second sampling interval is adjusted according to the first difference, and the second sampling time is the next sampling time after the first sampling time. The value of the control parameter at the second sampling time is adjusted according to the rate of change of the control parameter in the second sampling interval.

[0014] In the above technical solution, after adjusting the control parameters for the next sampling time based on the photovoltaic power, the rate of change of the control parameters can also be adjusted based on the difference between the actual power of the electronic device and the reference power at the next sampling time. The reference power can be understood as the theoretical power calculated based on the target value of the control parameters. Considering that the power of the electronic device may be affected by various factors in actual use scenarios, such as the amount of refrigerant in the electronic device, adjusting the rate of change based on the difference between the actual power and the reference power can make the adjusted control parameters closer to the actual situation of the electronic device and improve the accuracy of adjusting the control parameters.

[0015] In some possible implementations, adjusting the rate of change of the control parameter in the second sampling interval based on the first difference includes: Based on the third mapping relationship between the power difference and the adjustment amount of the rate of change, and the first difference, the first adjustment amount of the rate of change of the control parameter in the second sampling interval is determined; The rate of change of the control parameter in the second sampling interval is adjusted according to the first adjustment amount.

[0016] In the above technical solution, since power is related to control parameters, there is also a correlation between the power difference and the rate of change of the control parameters. Therefore, the mapping relationship between the power difference of the electronic device and the adjustment amount of the rate of change can be measured in advance. Once the power difference is determined, the adjustment amount of the rate of change of the control parameters can be determined based on the mapping relationship between the power difference and the adjustment amount of the rate of change, thereby adjusting the rate of change of the subsequent control parameters and ensuring the accuracy of the control parameter adjustment. Furthermore, using a mapping relationship to determine the adjustment amount of the rate of change requires less computation, which can reduce the load on the electronic device.

[0017] In one possible implementation, the method further includes: Obtain the actual photovoltaic power of the photovoltaic energy system at the first sampling time, and the actual device power of the electronic device at the first sampling time; If the second difference between the actual photovoltaic power and the actual equipment power at the first sampling time exceeds the second difference range, the rate of change of the control parameter in the second sampling interval is adjusted according to the second difference, and the second sampling time is the next sampling time after the first sampling time. The value of the control parameter at the second sampling time is adjusted according to the rate of change of the control parameter in the second sampling interval.

[0018] In the above technical solution, the photovoltaic power may change in real time. Therefore, after adjusting the control parameters for the next sampling moment based on the current photovoltaic power, the rate of change of the control parameters can also be adjusted based on the difference between the actual photovoltaic power and the power of the electronic device at the next sampling moment. Considering that in actual use scenarios, the photovoltaic power may be affected by various factors, such as the angle of the photovoltaic panel and the load, the rate of change of the photovoltaic power may be fast or slow. In this way, by adjusting the rate of change based on the difference between the actual photovoltaic power and the power of the device at the next sampling moment, the adjusted control parameters can be made closer to the change of photovoltaic power, thus improving the tracking performance of the photovoltaic power.

[0019] In some possible implementations, adjusting the rate of change of the control parameter at the second sampling time based on the second difference includes: Based on the third mapping relationship between the power difference and the adjustment amount of the rate of change, and the second difference, the second adjustment amount of the rate of change of the control parameter in the second sampling interval is determined; The rate of change of the control parameter in the second sampling interval is adjusted according to the second adjustment amount.

[0020] In the above technical solution, once the power difference is determined, the adjustment amount for the rate of change of the control parameters can be determined based on the mapping relationship between the power difference and the adjustment amount of the rate of change. This allows for the adjustment of the subsequent control parameters' rate of change, ensuring the accuracy of the control parameter adjustments. Furthermore, using a mapping relationship to determine the adjustment amount of the rate of change involves less computation, reducing the load on the electronic equipment.

[0021] In some possible implementations, the method further includes: Obtain the actual photovoltaic power of the photovoltaic energy system at the first sampling time, and the actual device power of the electronic device at the first sampling time; If the second difference between the actual photovoltaic power and the actual device power at the first sampling time exceeds the second difference range, the actual device power and reference device power of the electronic device at the first sampling time are obtained, and the reference device power is determined based on the value of the control parameter at the first sampling time. If the first difference between the actual device power and the reference device power exceeds a first difference range, the rate of change of the control parameter in the second sampling interval is adjusted according to the first difference and the second difference, and the second sampling time is the next sampling time after the first sampling time. The value of the control parameter at the second sampling time is adjusted according to the rate of change of the control parameter in the second sampling interval.

[0022] In the above technical solution, after adjusting the control parameters for the next sampling time based on the photovoltaic power, the rate of change of the control parameters can also be adjusted based on the difference between the actual power of the electronic device and the reference power at the next sampling time, as well as the difference between the actual photovoltaic power and the device power at the next sampling time. This allows the adjusted control parameters to be closer to the actual situation of the electronic device and the changes in photovoltaic power, thereby improving the accuracy of adjusting the control parameters and the tracking performance of the photovoltaic power.

[0023] In some possible implementations, adjusting the rate of change of the control parameter at the second sampling time based on the first difference and the second difference includes: Based on the third mapping relationship between the power difference and the adjustment amount of the rate of change, and the first difference, the first adjustment amount of the rate of change of the control parameter in the second sampling interval is determined; Based on the third mapping relationship and the second difference, a second adjustment amount is determined for the rate of change of the control parameter in the second sampling interval; The rate of change of the control parameter in the second sampling interval is adjusted based on the first adjustment amount and the second adjustment amount.

[0024] In the above technical solution, once the difference between the actual equipment power and the reference equipment power at the next sampling time and the difference between the actual photovoltaic power and the equipment power at the next sampling time are determined, the adjustment amount of the change rate of the control parameters can be determined according to the mapping relationship between the power difference and the adjustment amount of the change rate, and then the change rate of the subsequent control parameters can be adjusted to ensure the accuracy of the control parameter adjustment. Attached Figure Description

[0025] Figure 1 This is a schematic diagram showing the relationship between the output power of each power source and the bus voltage variation in a DC microgrid. Figure 2 This is a schematic diagram of the architecture of a DC microgrid; Figure 3 This application describes the changes in photovoltaic power, device power, and grid power during the process of a microgrid control center adjusting the power of electronic devices in some embodiments of the present application. Figure 4 Schematic diagram of an electronic device provided for some embodiments of this application; Figure 5 A flowchart illustrating an example of a method for adjusting control parameters provided in some embodiments of this application; Figure 6 This is a schematic diagram illustrating the variations in device power and photovoltaic power provided in some embodiments of this application; Figure 7 A schematic diagram illustrating the changes in device energy consumption and photovoltaic energy consumption provided in some embodiments of this application; Figure 8 A flowchart illustrating another example of a method for adjusting control parameters provided in some embodiments of this application; Figure 9 A flowchart illustrating another example of a method for adjusting control parameters provided in some embodiments of this application; Figure 10 A flowchart illustrating another example of a method for adjusting control parameters provided in some embodiments of this application. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the specific technical solutions of this application will be further described in detail below with reference to the accompanying drawings of the embodiments of this application. The following embodiments are used to illustrate this application, but are not intended to limit the scope of this application.

[0027] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0028] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It can be understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0029] Photovoltaic-storage-DC-flexible buildings (PSG-SHU-CHU-Flexible Buildings) is a novel power distribution model that integrates centralized power grids with building-based distributed energy resources. It achieves flexible interaction between power sources and loads through a DC microgrid that coordinates the operation of photovoltaic (PV) systems, the power grid, and energy storage systems. The core of PSG-SHU-CHU-Flexible Building technology lies in fully exploring the regulation potential of building-based distributed energy resources and enhancing the self-sufficiency and flexibility of building energy use. Building-based distributed energy resources include photovoltaic (PV) systems and energy storage systems.

[0030] Please see Figure 1 , Figure 1 This diagram illustrates the relationship between the output power of each power source and the bus voltage variation in a DC microgrid. Under bus voltage droop control mode, the relationship between the output power of photovoltaic, grid, and energy storage power sources and the bus voltage variation in the DC microgrid is shown below. Figure 1As shown in the diagram, when the bus voltage drops from 800V to 670V, the photovoltaic system generates electricity normally and charges the energy storage. When the bus voltage drops from 670V to 650V, the photovoltaic power generation cannot meet the power demand of the DC microgrid, and the energy storage switches from charging to discharging, discharging together with the photovoltaic system to supply power. When the bus voltage drops from 650V to 630V, the photovoltaic system stops generating electricity, and the energy storage discharges at maximum power to support the power consumption of the DC microgrid. When the bus voltage drops from 630V to 600V, the system load power further increases, and neither the photovoltaic system nor the energy storage is sufficient to support the load consumption, so the grid starts power output (i.e., grid power transmission).

[0031] Therefore, the bus voltage directly reflects the output of distributed energy in a building, and has important guiding significance for the local consumption of renewable energy and the realization of low-carbon operation. When the bus voltage is high, it indicates that the supply of renewable energy is sufficient, and it is advisable to prioritize the local consumption or storage of surplus electricity; conversely, when the bus voltage is low, it indicates that the DC microgrid mainly relies on grid power supply. In this case, load should be reduced and unnecessary energy consumption should be minimized.

[0032] Typically, energy storage systems in DC microgrids play a crucial role in rapid response and power buffering. When encountering cloud cover or sudden changes in daytime irradiance, photovoltaic (PV) output can drop by 30% to 50% within seconds, requiring rapid discharge from the energy storage system to compensate for the power shortfall. However, in practical applications of DC microgrids, the scale of energy storage deployment is generally limited due to cost and safety constraints. According to the "Technical Specification for Building-Integrated Photovoltaic-Storage-DC-Flexible Engineering," energy storage batteries in buildings should possess intrinsic safety characteristics. Currently, commonly used lithium batteries cannot meet this requirement, leading to limited or even prohibited installation capacity in buildings. This deprives DC microgrids of critical power buffering and rapid response support. Against this backdrop, photovoltaic (PV) power, as the core energy supply unit, is significantly affected by multiple factors such as irradiance, temperature, and shading effects, exhibiting significant randomness and intermittency. Such power fluctuations pose a severe challenge to the stable operation of DC microgrids, requiring timely grid intervention.

[0033] Currently, the flexible response mechanisms of electronic devices generally exhibit significant passive characteristics. (See also:) Figure 2 , Figure 2 This is a schematic diagram of a DC microgrid architecture. Figure 2 As shown, in a DC microgrid, the microgrid control center, as the core decision-making unit, coordinates the energy distribution among three types of systems—photovoltaics, the power grid, and energy storage—and electronic loads such as high-voltage DC air conditioners. The microgrid control center collects and processes data from the DC microgrid, and then sends power regulation commands to the high-voltage DC air conditioner. The information transmission time in this process is on the order of minutes. For example, the microgrid control center can also be simply referred to as the control center.

[0034] When photovoltaic power decreases, the DC microgrid voltage will also decrease due to the correlation between photovoltaic power and DC microgrid voltage. For example... Figure 3 As shown, at time t1, the power of the DC microgrid decreases, causing its voltage to drop. However, in the traditional flexible regulation mode, the control center of the DC microgrid needs to receive and process the data from the entire network before sending power regulation commands to each load unit. Therefore, the electronic devices do not receive the power regulation commands from the control center at time t1. In this case, the electronic devices will maintain their current power operation. If the current power is a high power greater than a threshold, the electronic devices will maintain high power operation. When at time t2, the photovoltaic power of the photovoltaic energy system drops to a level insufficient to support the power of the electronic devices (for example, the photovoltaic power is less than the current power of the electronic devices), this will lead to an energy imbalance between source and load, and the voltage of the DC microgrid will drop more rapidly. Since there is no energy storage system, there is no energy to replenish the voltage, and the voltage of the DC microgrid will continue to drop until the grid is connected at time t3, ensuring the energy consumption of the electronic devices is guaranteed by the grid. When the electronic device receives a power reduction instruction at time t4, it will adjust its power to reduce the power of the electronic device. During this period, the power required for the operation of the electronic device will be continuously supplied by the power grid. Only when the energy of the photovoltaic energy system meets the energy consumption requirements of the electronic device at time t5 will the photovoltaic energy system be used again to supply energy to the electronic device.

[0035] It is evident that one factor leading to the imbalance between source and load energy is the slow response speed of electronic devices to power changes in photovoltaic energy systems. Therefore, how to improve the response speed of electronic devices to power changes in photovoltaic energy systems is a technical problem that this application urgently needs to solve.

[0036] In view of this, this application provides a method for adjusting control parameters, applied to an electronic device, which is powered at least by a photovoltaic energy system and / or the power grid. In this scheme, the electronic device infers the power of the photovoltaic energy system based on the collected voltage of the photovoltaic energy system, and then adjusts the control parameters of the compressor according to the power of the photovoltaic energy system to change the power of the electronic device. This allows the power of the electronic device to change with the power of the photovoltaic energy system. Since the electronic device does not need to wait for the power adjustment command sent by the control center in the DC microgrid, the time delay caused by command transmission is reduced, thereby improving the response speed of the electronic device to the power changes of the photovoltaic energy system.

[0037] The electronic devices provided in this application embodiment may include, but are not limited to, photovoltaic air conditioners, photovoltaic refrigerators, photovoltaic printers, and photovoltaic office appliances. For ease of explanation, this application embodiment uses a photovoltaic air conditioner as an example.

[0038] For example, please refer to Figure 4 , Figure 4 Schematic diagrams of electronic devices provided for some embodiments of this application. For example... Figure 4 As shown, the electronic device 100 may include a controller 10 and a compressor 20. Specifically, the controller may be any possible processing unit such as a central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP), or field-programmable gate array (FPGA); or, for example, the controller may be a combination of at least two of the following: CPU, MPU, DSP, FPGA, digital-to-analog converter (DAC), and analog-to-digital converter (ADC); the compressor may be a rotary compressor, scroll compressor, screw compressor, or centrifugal compressor, and the types of controller and compressor are not limited herein.

[0039] In some embodiments, the electronic device may include, but is not limited to, a compressor and a controller. For example, the electronic device may also include an inverter, etc., which will not be described in detail here.

[0040] The method for adjusting the control parameters provided in this application will now be described in conjunction with the accompanying drawings.

[0041] Figure 5 A flowchart illustrating an example of a method for adjusting control parameters provided in some embodiments of this application is shown below: S501. Collect the bus voltage at the current sampling time and obtain the photovoltaic power of the photovoltaic energy system at the current sampling time.

[0042] In some embodiments, a bus voltage sampling circuit is provided in the electronic device. This bus voltage sampling circuit is used to collect the bus voltage. The bus voltage sampling circuit can collect the bus voltage according to a preset sampling frequency; the sampling frequency is not limited here. In this embodiment, the bus voltage sampling circuit may include components such as switches, capacitors, inductors, or amplifiers. When the electronic device is in operation, the bus voltage at the current sampling moment can be collected through this bus voltage sampling circuit. It is understood that the current sampling moment can be any sampling moment.

[0043] As described above, the bus voltage is related to the power of the photovoltaic energy system. Therefore, after obtaining the bus voltage through the bus voltage sampling circuit, the photovoltaic power of the photovoltaic energy system can be obtained based on the bus voltage.

[0044] As an example, the photovoltaic power at the current sampling time is obtained based on the preset second mapping relationship between photovoltaic power and bus voltage, and the value of the bus voltage at the current sampling time.

[0045] In some embodiments, the electronic device may have the second mapping relationship in advance, which may be obtained by measuring the photovoltaic power of the photovoltaic energy system and the bus voltage of the electronic device in advance. For example, before performing the method of this application, the photovoltaic power of the photovoltaic energy system is controlled to be photovoltaic power A, and then the value of the bus voltage of the electronic device that provides energy through the photovoltaic energy system is measured, for example, voltage a, thereby obtaining a sub-mapping relationship between photovoltaic power A and voltage a; then, the photovoltaic power of the photovoltaic energy system is controlled to be photovoltaic power B, and then the value of the bus voltage of the electronic device that provides energy through the photovoltaic energy system is measured, for example, voltage b, thereby obtaining a sub-mapping relationship between photovoltaic power B and voltage b, and so on, obtaining the values ​​of the bus voltage under multiple photovoltaic powers, thereby obtaining the second mapping relationship.

[0046] In this way, when the electronic device obtains the value of the bus voltage at the current sampling time through the bus voltage sampling circuit, it can determine the photovoltaic power corresponding to the value of the bus voltage according to the second mapping relationship. For example, if the value of the bus voltage at the current sampling time is voltage b, then according to the sub-mapping relationship between photovoltaic power B and voltage b, the photovoltaic power of the photovoltaic energy system can be obtained as power B.

[0047] Additionally, it should be noted that if the bus voltage collected using the bus voltage sampling circuit is referred to as the bus voltage sampling value, then in some embodiments, the bus voltage sampling value and the second mapping relationship can be used to obtain the photovoltaic power of the photovoltaic energy system. In this way, after the bus voltage sampling value is collected, the photovoltaic power of the photovoltaic energy system can be obtained quickly according to the second mapping relationship, which can reduce the computational load of electronic equipment.

[0048] In other embodiments, since the accuracy of the bus voltage sample value depends on the precision of the bus voltage sampling circuit, a more precise bus voltage sampling circuit is required to obtain a more accurate bus voltage sample value. Alternatively, in other embodiments, to obtain a more accurate bus voltage, the sampled bus voltage value obtained by the bus voltage sampling circuit can be calibrated, and then the photovoltaic power of the photovoltaic energy system can be obtained based on the calibrated bus voltage and the second mapping relationship.

[0049] As an example, after obtaining the sampled value of the bus voltage through the bus voltage sampling circuit, the sampled value of the current of each phase of the compressor's three-phase current at the current sampling time and the duty cycle of the drive signal at the current sampling time can be obtained. For example, the three-phase current of the compressor includes the first phase current Ia, the second phase current Ib and the third phase current Ic.

[0050] Then, based on the current sampling value of each phase current at the current sampling moment, the value of the converted current corresponding to the target coordinate axis of the two-phase rotating coordinate system is obtained. As an example, the target coordinate axis includes the D-axis and / or Q-axis of the two-phase rotating coordinate system, which is a virtual coordinate system set in motor control to achieve precise control. In some examples, the target coordinate axis can be the D-axis of the two-phase rotating coordinate system, or the Q-axis, or both the D-axis and Q-axis of the two-phase rotating coordinate system; this application does not specifically limit this.

[0051] As an example, the values ​​of the converted current corresponding to the target coordinate axis of the two-phase rotating coordinate system can be obtained by performing Clark coordinate transformation and Park coordinate transformation on the current sampling value of each phase current at the current sampling time.

[0052] In some embodiments, the target coordinate axis is the D-axis. Then, the reference value of the bus voltage is calculated based on the value of the conversion current corresponding to the D-axis, the value of the conversion current, and the mapping relationship with the first sub-target corresponding to the D-axis.

[0053] The mapping relationship of the first sub-target can be specifically represented by formula (1): (1) Among them, V bus Where D is the bus voltage and D is the duty cycle. R is the rotor position angle of the compressor. s I is the resistance of the compressor. d For the D-axis current, L d The inductance along the D-axis, L is the electric angular velocity of the compressor. q For the Q-axis inductance, I q This is the Q-axis current.

[0054] In some embodiments, the target coordinate axis is the Q-axis. Then, the reference value of the bus voltage is calculated based on the value of the conversion current corresponding to the Q-axis, the value of the conversion current, and the mapping relationship with the second sub-target corresponding to the Q-axis.

[0055] The mapping relationship of the second sub-target can be specifically represented by formula (2): (2) Among them, V bus Where D is the bus voltage and D is the duty cycle. R is the rotor position angle of the compressor. s I is the resistance of the compressor. q L is the Q-axis current. q The inductance along the Q-axis, L is the electric angular velocity of the compressor. dFor the inductance along the D-axis, I d Let ψ be the D-axis current. f is the flux linkage coefficient of the compressor.

[0056] After obtaining the reference value of the bus voltage based on the sampled value of the bus voltage, the reference value of the bus voltage can be used as the calibrated bus voltage. Alternatively, the calibrated bus voltage can be obtained by summing the difference between the reference value and the sampled value with the sampled value. Then, the photovoltaic power of the photovoltaic energy system can be obtained based on the calibrated bus voltage and the second mapping relationship.

[0057] In the example above, the accuracy of the obtained bus voltage is improved by calibrating it, which in turn improves the adjustment accuracy of the control parameters.

[0058] S502. Based on the preset first mapping relationship between device power and control parameters, determine the first target value of the control parameters of the compressor when the device power of the electronic device is the value of the photovoltaic power at the current sampling time.

[0059] In some embodiments, the control parameters include frequency and / or rotational speed. That is, the power of the electronic device can be adjusted by adjusting the rotational speed of the compressor, or by adjusting the frequency of the compressor, or by adjusting both the frequency and rotational speed of the compressor. No further limitations are imposed here.

[0060] After obtaining the photovoltaic power of the photovoltaic energy system, the first target value of the control parameters of the compressor can be determined based on the first mapping relationship, where the value of the equipment power of the electronic device is the value of the photovoltaic power. In other words, the value of the photovoltaic power is used as the value of the equipment power of the electronic device, and the value of the control parameters corresponding to the value of the photovoltaic power is determined from the first mapping relationship.

[0061] It is understood that this first mapping relationship can also be preset in the electronic device. For example, the first mapping relationship can be obtained by measurement before executing the method of this application. As an example, taking the speed as the control parameter, by controlling the device power of the electronic device as device power C, and measuring the speed of the compressor as speed 1, a sub-mapping relationship between device power C and speed 1 is obtained; by controlling the device power of the electronic device as device power D, and measuring the speed of the compressor as speed 2, a sub-mapping relationship between device power D and speed 2 is obtained, and so on, by measuring the compressor speed under multiple device power, the first mapping relationship is obtained, which includes multiple sub-mapping relationships.

[0062] S503. Based on the first target value of the control parameter and the current value of the control parameter at the current sampling time, determine the adjustment amount of the control parameter at the first sampling time.

[0063] In some embodiments, the first sampling time is the next sampling time after the current time.

[0064] In some embodiments, the adjustment amount at the first sampling time can be determined based on the difference between the first target value and the current value of the control parameter.

[0065] To avoid compressor malfunctions such as loss of synchronization or stalling caused by excessively rapid absolute changes in the value of the control parameter during adjustment, and to improve the reliability of control parameter adjustment, after obtaining the first target value of the control parameter, the absolute value of the rate of change of the control parameter in the first sampling interval can be determined based on the first target value of the control parameter, the current value of the control parameter, and the sampling interval duration. If the absolute value of the rate of change of the control parameter during the first sampling interval is less than or equal to the rate of change threshold, the adjustment amount of the control parameter at the first sampling time is determined to be the difference between the first target value and the current value; or, If the absolute value of the rate of change of the control parameter in the first sampling interval is greater than the rate of change threshold, the adjustment amount of the control parameter at the first sampling time is determined to be the upper limit value corresponding to the rate of change threshold.

[0066] In other words, if the absolute value of the rate of change of the control parameter calculated based on the first target value and the current value is within the rate of change threshold, the control parameter will be adjusted according to the target value. If the absolute value of the rate of change exceeds the rate of change threshold, the control parameter will be adjusted using the value of the control parameter corresponding to the upper limit of the rate of change threshold. This ensures that the absolute value of the rate of change of the control parameter does not exceed the allowable range, thus guaranteeing the feasibility of the scheme.

[0067] It is understandable that the first sampling interval is the difference between the current sampling time and the first sampling time, that is, the time interval between the current sampling time and the first sampling time.

[0068] As an example, if the photovoltaic power of the photovoltaic energy system is 1000W at the current sampling time, according to the first mapping relationship, the target speed of the compressor corresponding to the requirement that the power of the electronic device is also 1000W is -500rps. The actual speed of the compressor at the current sampling time is 1000rps. The time interval between the current sampling time and the next sampling time is 1s. Therefore, the absolute value of the rate of change of the compressor speed is determined to be -500rps / s.

[0069] Taking a rate of change threshold of 200 rps / s as an example, the absolute value of -500 rps / s is 500 rps. Since 500 rps / s > 200 rps / s, the adjustment amount of the compressor speed at the first sampling moment is -200 rps.

[0070] Taking a rate of change threshold of 600 rps / s as an example, the absolute value of -500 rps / s is 500 rps. Since 500 rps / s < 600 rps / s, the adjustment amount of the compressor speed at the first sampling moment is -500 rps.

[0071] It should be noted that the rate of change threshold can be set according to the actual usage. The rate of change threshold can be set to the maximum value that will not cause the compressor to stall or lose synchronization. The specific value is not restricted here.

[0072] S504. Adjust the control parameters according to the adjustment amount of the control parameters at the first sampling time.

[0073] Once the adjustment amount of the control parameters at the first sampling time is determined, the control parameters of the compressor can be adjusted by the adjustment amount based on the current sampling time. For example, if the actual speed at the current sampling time is 1000 rpm and the adjustment amount is -500 rpm, then the actual speed of the compressor at the first sampling time can be controlled to be 500 rpm.

[0074] In the above technical solution, the electronic device infers the power of the photovoltaic energy system based on the collected voltage of the photovoltaic energy system, and then adjusts the control parameters of the compressor according to the power of the photovoltaic energy system to change the power of the electronic device. This allows the power of the electronic device to change with the power of the photovoltaic energy system. Since the electronic device does not need to wait for the power adjustment command sent by the control center in the DC microgrid, the time delay caused by command transmission is reduced, thereby improving the response speed of the electronic device to the power changes of the photovoltaic energy system.

[0075] Furthermore, to address the aforementioned technical issues, the control method of the microgrid control center in related technologies was analyzed. In related technologies, the microgrid control center adjusts according to a preset speed reference value. For example, taking adjusting the compressor speed in an electronic device to adjust its power as an example, when it's necessary to reduce the power of the electronic device, the compressor speed is controlled according to the preset speed reference value to reduce power. For instance, the electronic device's speed is reduced by a step size X, and the time interval for each speed reduction of X is the same. Therefore, the power change of the electronic device is a linear curve. Figure 6As shown in the power change curve of the equipment, in this case, the response speed of the electronic equipment to photovoltaic power is fixed, that is, the acceleration of parameter change is constant. However, the rate of change of photovoltaic power in a photovoltaic energy system is affected by factors such as the angle of the photovoltaic panel and the load size, and will vary. That is, the acceleration of the power change of the photovoltaic energy system may not be constant. Therefore, in related technologies, the adjustment process of the control parameters of the electronic equipment is not synchronized with the change of photovoltaic power. However, in this solution, since the bus voltage is used for adjustment, and the bus voltage is positively correlated with the power of the photovoltaic energy system, the power adjustment of the electronic equipment can be synchronized with the power change of the photovoltaic energy system, achieving rapid following of the power change of the photovoltaic energy system.

[0076] Furthermore, in related technologies, since electronic devices adjust parameters based on control commands from the microgrid control center, changes in parameters generally lag behind changes in photovoltaic power within the microgrid. Figure 7 As shown, when the bus voltage changes at time t1, the power consumed by the electronic equipment only changes at time t2. Therefore, when the photovoltaic power decreases, the power consumed by the electronic equipment must be greater than or equal to the photovoltaic power at the same time. Furthermore, due to the time delay in parameter adjustment, this inevitably accelerates the energy consumption of the microgrid. Conversely, when the photovoltaic power increases, the power consumed by the electronic equipment must be less than the photovoltaic power at the same time, resulting in low photovoltaic energy utilization. The solution in this embodiment can quickly follow the power changes of the photovoltaic energy system, thereby reducing the problem of excessively rapid photovoltaic energy consumption or low photovoltaic energy utilization caused by the asynchronous adjustment of the electronic equipment's power and the power changes of the photovoltaic energy system.

[0077] In some embodiments, after adjusting the control parameters at the first sampling time based on the bus voltage at the current sampling time, the rate of change of the control parameters can also be adjusted based on the relevant parameters at the first sampling time.

[0078] like Figure 8 The flowchart shown below illustrates another example of a method for adjusting control parameters provided in some embodiments of this application. S801. Collect the bus voltage at the current sampling time and obtain the photovoltaic power of the photovoltaic energy system at the current sampling time.

[0079] S802. Based on the preset first mapping relationship between device power and control parameters, determine the first target value of the control parameters of the compressor when the device power of the electronic device is the value of the photovoltaic power at the current sampling time.

[0080] S803. Based on the first target value of the control parameter and the current value of the control parameter at the current sampling time, determine the adjustment amount of the control parameter at the first sampling time.

[0081] S804. Adjust the control parameter according to the adjustment amount of the control parameter at the first sampling time.

[0082] Steps S801 to S804 are similar to steps S501 to S504, and will not be described again here.

[0083] S805. Obtain the actual device power and reference device power of the electronic device at the first sampling time.

[0084] In some embodiments, the reference device power is determined based on the value of the control parameter at the first sampling time. As described above, there is a correlation between the control parameter and the device power. For example, there is a first mapping relationship between the control parameter and the device power. After obtaining the value of the control parameter at the first sampling time, the corresponding device power can be determined based on the first mapping relationship. The device power determined by the first mapping relationship is the reference device power.

[0085] S806. If the first difference between the actual device power and the reference device power exceeds a first difference range, adjust the rate of change of the control parameter in the second sampling interval according to the first difference.

[0086] In some embodiments, the second sampling time is the next sampling time after the first sampling time, and the second sampling interval is the time interval between the first sampling time and the second sampling time. It is understood that the values ​​of the first sampling interval and the second sampling interval can be the same or different. The use of the first sampling interval and the second sampling interval here is to distinguish the time interval between different times, and is not intended to limit the different values ​​of the sampling intervals.

[0087] After obtaining the actual device power and reference device power of the electronic device at the first sampling moment, it can be determined whether the first difference between the actual device power and the reference device power exceeds the first difference range. If it exceeds the first difference range, the rate of change can be compensated. It can be understood that "the first difference exceeds the first difference range" means that the first difference is less than the minimum value of the first difference range or greater than the maximum value of the first difference range.

[0088] As an example, if the first difference exceeds a first difference range, a fixed value can be used to compensate for the rate of change of the control parameter. This fixed value can be set according to actual usage conditions and is not limited here. For example, when the first difference is less than the minimum value of the first difference range, the preset compensation value is increased; when the first difference is greater than the maximum value of the first difference range, the preset compensation value is decreased. The first difference range can be set according to actual usage conditions.

[0089] As another example, based on a third mapping relationship between the power difference and the adjustment amount of the rate of change, and the first difference, a first adjustment amount of the rate of change of the control parameter in the second sampling interval is determined; based on the first adjustment amount, the rate of change of the control parameter in the second sampling interval is adjusted.

[0090] A third mapping relationship between the adjustment amount of the changing speed and the power difference can be determined by measurement. For example, when the difference between the actual equipment power and the reference equipment power is difference 1, and the adjustment amount of the changing speed controlled by measurement is speed A, the difference between the actual equipment power and the reference equipment power is less than or equal to a difference threshold. This difference threshold can be a small value, that is, the actual equipment power and the reference equipment power are relatively close, thus obtaining a sub-mapping relationship between difference 1 and speed A. When the difference between the actual equipment power and the reference equipment power is difference 2, and the adjustment amount of the changing speed controlled by measurement is speed B, the difference between the actual equipment power and the reference equipment power is less than or equal to the difference threshold, thus obtaining a sub-mapping relationship between difference 2 and speed B. And so on, thus obtaining the third mapping relationship, which includes multiple sub-mapping relationships between power differences and the adjustment amount of the changing speed. Thus, after determining the first difference between the actual device power and the reference device power of the electronic device at the first sampling time, the adjustment amount of the rate of change corresponding to the first difference, i.e. the first adjustment amount, is determined according to the third mapping relationship. Then, the rate of change of the second sampling interval is determined according to the first adjustment amount and the rate of change of the first sampling interval.

[0091] For example, if the rate of change of the first sampling interval is +200 rps / s, and the first adjustment amount determined according to the third mapping relationship is -10 rps / s, then the rate of change of the second sampling interval is determined to be +190 rps / s.

[0092] Of course, if the first difference does not exceed the first difference range, the rate of change does not need to be adjusted. In this case, the rate of change of the first sampling interval is the same as the rate of change of the second sampling interval.

[0093] S807. Adjust the value of the control parameter at the second sampling time according to the rate of change of the control parameter in the second sampling interval.

[0094] After determining the rate of change of the second sampling interval, the value of the control parameter at the second sampling time can be determined based on the value of the control parameter at the first sampling time and the rate of change of the second sampling time. For example, if the compressor speed is 100 rpm at the first sampling time, the time interval between the first and second sampling times is 1 second, and the rate of change of the second sampling interval is +190 rpm / s, then the compressor speed at the second sampling time is determined to be 100 + 190 = 290 rpm.

[0095] The above steps S801 to S807 can be repeated to continue determining the values ​​of the control parameters at subsequent sampling times.

[0096] In the above technical solution, the rate of change of the control parameters is adjusted by using the difference between the actual power of the electronic device and the reference power, which ensures the accuracy of the adjustment of the control parameters.

[0097] like Figure 9 The flowchart shown below illustrates another example of a method for adjusting control parameters provided in some embodiments of this application. S901. Collect the bus voltage at the current sampling time and obtain the photovoltaic power of the photovoltaic energy system at the current sampling time.

[0098] S902. Based on the preset first mapping relationship between device power and control parameters, determine the first target value of the control parameters of the compressor when the device power of the electronic device is the value of the photovoltaic power at the current sampling time.

[0099] S903. Based on the first target value of the control parameter and the current value of the control parameter at the current sampling time, determine the adjustment amount of the control parameter at the first sampling time.

[0100] S904. Adjust the control parameter according to the adjustment amount of the control parameter at the first sampling time.

[0101] Steps S901 to S904 are similar to steps S501 to S504, and will not be described again here.

[0102] S905. Obtain the actual photovoltaic power of the photovoltaic energy system at the first sampling time, and the actual device power of the electronic device at the first sampling time.

[0103] The actual photovoltaic power of the photovoltaic energy system can be obtained from the bus voltage collected at the first sampling time and the aforementioned second mapping relationship; the actual device power of the electronic equipment at the first sampling time can also be obtained by measuring the operating current and operating voltage at the first sampling time, without any restrictions.

[0104] S906. If the second difference between the actual photovoltaic power and the actual equipment power at the first sampling time exceeds the second difference range, adjust the rate of change of the control parameter in the second sampling interval according to the second difference.

[0105] In some embodiments, the second sampling time is the next sampling time after the first sampling time.

[0106] The description of the second sampling interval is similar to that in step S806, and will not be repeated here.

[0107] After acquiring the actual device power and actual photovoltaic power of the electronic device at the first sampling moment, it can be determined whether the second difference between the actual device power and the actual photovoltaic power exceeds the second difference range. If it exceeds the second difference range, the rate of change can be compensated. The understanding of the second difference exceeding the second difference range is similar to the understanding of the first difference exceeding the first difference range in the aforementioned step S806, and will not be repeated here. The first difference range and the second difference range can be the same or different, and there is no restriction here.

[0108] As an example, if the second difference exceeds the range of the second difference, a fixed value can be used to compensate for the rate of change of the control parameter. This fixed value can be set according to the actual usage and is not limited here.

[0109] As another example, based on a third mapping relationship between the power difference and the adjustment amount of the rate of change, and the second difference, a second adjustment amount for the rate of change of the control parameter in the second sampling interval is determined; based on the second adjustment amount, the rate of change of the control parameter in the second sampling interval is adjusted. This third mapping relationship is similar to that in the aforementioned step S806, and is not limited thereto.

[0110] After determining the second difference between the actual device power and the actual photovoltaic power of the electronic device at the first sampling time, the adjustment amount of the rate of change corresponding to the second difference, i.e. the second adjustment amount, is determined according to the third mapping relationship. Then, the rate of change of the second sampling interval is determined according to the second adjustment amount and the rate of change of the first sampling interval.

[0111] Of course, if the second difference does not exceed the second difference range, it means that the power of the electronic device matches the power of the photovoltaic energy system. In this case, the adjustment of the control parameters of the electronic device can be stopped.

[0112] S907. Adjust the value of the control parameter at the second sampling time according to the rate of change of the control parameter in the second sampling interval.

[0113] Step S907 is similar to step S807, and will not be described again here.

[0114] like Figure 10 The flowchart shown below illustrates another example of a method for adjusting control parameters provided in some embodiments of this application. S1001. Collect the bus voltage at the current sampling time and obtain the photovoltaic power of the photovoltaic energy system at the current sampling time.

[0115] S1002. Based on the preset first mapping relationship between device power and control parameters, determine the first target value of the control parameters of the compressor when the device power of the electronic device is the value of the photovoltaic power at the current sampling time.

[0116] S1003. Based on the first target value of the control parameter and the current value of the control parameter at the current sampling time, determine the adjustment amount of the control parameter at the first sampling time.

[0117] S1004. Adjust the control parameters according to the adjustment amount of the control parameters at the first sampling time.

[0118] Steps S1001 to S1004 are similar to steps S501 to S504, and will not be described again here.

[0119] S1005. Obtain the actual photovoltaic power of the photovoltaic energy system at the first sampling time, and the actual equipment power of the air conditioner at the first sampling time.

[0120] Step S1005 is similar to step S905, and will not be described again here.

[0121] S1006. If the second difference between the actual photovoltaic power and the actual device power at the first sampling time exceeds the second difference range, the actual device power and the reference device power of the electronic device at the first sampling time are obtained.

[0122] Since the second difference does not exceed the second difference range, it indicates that the power of the electronic device matches the power of the photovoltaic energy system. In this case, the adjustment of the control parameters of the electronic device can be stopped. Therefore, the actual device power and reference device power of the electronic device at the first sampling time are obtained only when the second difference exceeds the second difference range. The process of obtaining the actual device power and reference device power of the electronic device at the first sampling time is similar to step S805 and will not be described again here.

[0123] S1007. If the first difference between the actual device power and the reference device power exceeds the first difference range, adjust the rate of change of the control parameter at the second sampling time according to the first difference and the second difference.

[0124] In some embodiments, step S1007 includes the following steps: Based on the third mapping relationship between the power difference and the adjustment amount of the absolute value of the rate of change, and the first difference, the first adjustment amount of the rate of change of the control parameter in the second sampling interval is determined; Based on the third mapping relationship and the second difference, a second adjustment amount is determined for the rate of change of the control parameter in the second sampling interval; The rate of change of the control parameter in the second sampling interval is adjusted based on the first adjustment amount and the second adjustment amount.

[0125] This can be understood as determining the corresponding adjustment amount based on the first difference and the second difference, and then adding the two adjustment amounts together to obtain the rate of change of the second sampling interval. For example, if the first adjustment amount for the compressor speed is determined to be +20 rps / s based on the first difference, and the second adjustment amount for the compressor speed is determined to be -10 rps / s based on the second difference, then the total adjustment amount is 20 - 10 = 10 rps / s; if the first adjustment amount for the compressor speed is determined to be +20 rps / s based on the first difference, and the second adjustment amount for the compressor speed is determined to be +10 rps / s based on the second difference, then the total adjustment amount is 20 + 10 = 30 rps / s.

[0126] The steps for determining the first and second adjustment amounts are similar to those in the previous embodiments and will not be repeated here.

[0127] S1008. Adjust the value of the control parameter at the second sampling time according to the rate of change of the control parameter in the second sampling interval.

[0128] Step S1008 is similar to step S807, and will not be described again here.

[0129] In the above technical solution, the rate of change of the control parameters is adjusted based on the difference between the actual power of the electronic device and the reference power at the next sampling moment, and the difference between the actual photovoltaic power and the device power at the next sampling moment. This allows the adjusted control parameters to be closer to the actual situation of the electronic device and the changes in photovoltaic power, thereby improving the accuracy of the control parameter adjustment and the tracking of photovoltaic power.

[0130] This application also provides an electronic device, which includes a controller and a compressor. The controller is used to execute the aforementioned method for adjusting control parameters to adjust the control parameters of the compressor.

[0131] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for adjusting control parameters, characterized in that, Applied to electronic devices, which are powered at least by a photovoltaic energy system and / or the power grid, the method includes: The bus voltage at the current sampling time is collected to obtain the photovoltaic power of the photovoltaic energy system at the current sampling time; Based on a preset first mapping relationship between device power and control parameters, a first target value for the control parameters of the compressor of the electronic device is determined when the device power of the electronic device is the value of the photovoltaic power at the current sampling time. The control parameters include frequency and / or rotation speed. Based on the first target value of the control parameter and the current value of the control parameter at the current sampling time, the adjustment amount of the control parameter at the first sampling time is determined, where the first sampling time is the next sampling time after the current time. The control parameters are adjusted according to the adjustment amount of the control parameters at the first sampling time.

2. The method according to claim 1, characterized in that, The process of acquiring the bus voltage at the current sampling time and obtaining the photovoltaic power of the photovoltaic energy system at the current sampling time includes: Based on the preset second mapping relationship between photovoltaic power and bus voltage, and the value of bus voltage at the current sampling time, the photovoltaic power at the current sampling time is obtained.

3. The method according to claim 1, characterized in that, The step of determining the adjustment amount of the control parameter at the first sampling time based on the first target value of the control parameter and the current value of the control parameter at the current sampling time includes: Based on the first target value of the control parameter, the current value of the control parameter, and the sampling interval duration, determine the absolute value of the rate of change of the control parameter in the first sampling interval; If the absolute value of the rate of change of the control parameter in the first sampling interval is less than or equal to the rate of change threshold, the adjustment amount of the control parameter at the first sampling time is determined to be the difference between the first target value and the current value.

4. The method according to claim 3, characterized in that, After determining the absolute value of the rate of change of the control parameter in the first sampling interval based on the first target value of the control parameter, the current value of the control parameter, and the sampling interval duration, the method further includes: If the absolute value of the rate of change of the control parameter in the first sampling interval is greater than the rate of change threshold, the adjustment amount of the control parameter at the first sampling time is determined to be the upper limit value corresponding to the rate of change threshold.

5. The method according to claim 1, characterized in that, The method further includes: The actual device power and reference device power of the electronic device at the first sampling time are obtained, wherein the reference device power is determined based on the value of the control parameter at the first sampling time; If the first difference between the actual device power and the reference device power exceeds a first difference range, the rate of change of the control parameter in the second sampling interval is adjusted according to the first difference, and the second sampling time is the next sampling time after the first sampling time. The value of the control parameter at the second sampling time is adjusted according to the rate of change of the control parameter in the second sampling interval.

6. The method according to claim 5, characterized in that, The step of adjusting the rate of change of the control parameter in the second sampling interval based on the first difference includes: Based on the third mapping relationship between the power difference and the adjustment amount of the rate of change, and the first difference, the first adjustment amount of the rate of change of the control parameter in the second sampling interval is determined; The rate of change of the control parameter in the second sampling interval is adjusted according to the first adjustment amount.

7. The method according to claim 1, characterized in that, The method further includes: Obtain the actual photovoltaic power of the photovoltaic energy system at the first sampling time, and the actual device power of the electronic device at the first sampling time; If the second difference between the actual photovoltaic power and the actual equipment power at the first sampling time exceeds the second difference range, the rate of change of the control parameter in the second sampling interval is adjusted according to the second difference, and the second sampling time is the next sampling time after the first sampling time. The value of the control parameter at the second sampling time is adjusted according to the rate of change of the control parameter in the second sampling interval.

8. The method according to claim 7, characterized in that, The step of adjusting the rate of change of the control parameter in the second sampling interval based on the second difference includes: Based on the third mapping relationship between the power difference and the adjustment amount of the rate of change, and the second difference, the second adjustment amount of the rate of change of the control parameter in the second sampling interval is determined; The rate of change of the control parameter in the second sampling interval is adjusted according to the second adjustment amount.

9. The method according to claim 1, characterized in that, The method further includes: Obtain the actual photovoltaic power of the photovoltaic energy system at the first sampling time, and the actual device power of the electronic device at the first sampling time; If the second difference between the actual photovoltaic power and the actual device power at the first sampling time exceeds the second difference range, the actual device power and reference device power of the electronic device at the first sampling time are obtained, and the reference device power is determined based on the value of the control parameter at the first sampling time. If the first difference between the actual device power and the reference device power exceeds a first difference range, the rate of change of the control parameter in the second sampling interval is adjusted according to the first difference and the second difference, and the second sampling time is the next sampling time after the first sampling time. The value of the control parameter at the second sampling time is adjusted according to the rate of change of the control parameter in the second sampling interval.

10. The method according to claim 9, characterized in that, The step of adjusting the rate of change of the control parameter in the second sampling interval based on the first difference and the second difference includes: Based on the third mapping relationship between the power difference and the adjustment amount of the rate of change, and the first difference, the first adjustment amount of the rate of change of the control parameter in the second sampling interval is determined; Based on the third mapping relationship and the second difference, a second adjustment amount is determined for the rate of change of the control parameter in the second sampling interval; The rate of change of the control parameter in the second sampling interval is adjusted based on the first adjustment amount and the second adjustment amount.