Power supply system power control method and power supply system

By establishing a correspondence between the encoded signal and the PWM signal in the power supply system, the output power of the power supply module can be obtained and controlled, thus solving the problem of inaccurate power control caused by signal abnormalities and fixed threshold adjustment, and achieving more reliable and flexible power adjustment.

CN121643032APending Publication Date: 2026-03-10SHENZHEN TOPBAND AUTOMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511769378.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-27
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In the existing power supply control process, signal abnormalities and fixed threshold adjustments lead to inaccurate power control, making it impossible to make effective adjustments outside the fixed threshold range.

Method used

A power control method for a power supply system is constructed. By establishing an initial correspondence between the encoded signal generated by the encoding module and the PWM signal generated by the PWM module, the output power of the power supply module is obtained. Based on the target power and the actual correspondence, the encoding module and the PWM module are controlled to generate corresponding signals to achieve precise power control.

Benefits of technology

It improves the reliability and accuracy of the output power adjustment process, enabling flexible power adjustment within the target power range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121643032A_ABST
    Figure CN121643032A_ABST
Patent Text Reader

Abstract

The invention relates to a power supply system power control method and a power supply system. The power supply system comprises a power supply module, a PWM module and a coding module, the method comprises a power calibration process and a power control process. The method specifically comprises the following steps: establishing an initial corresponding relation between a coding signal generated by a coding module and a PWM signal generated by a PWM module; controlling a coding module and a PWM module to respectively generate a plurality of coding signals and PWM signals according to the initial corresponding relation; acquiring the output power of the power supply module, and establishing an actual corresponding relation among the coded signal, the PWM signal and the output power according to the initial corresponding relation and the output power; acquiring target power of the power supply module; when the actual corresponding relation contains the target power, a corresponding coded signal is generated, and the power supply module controls the output power according to the coded signal; otherwise, an invalid coded signal and a corresponding PWM signal are generated, and the power supply module controls the output power according to the PWM signal. According to the invention, the reliability of the adjustment process of the output power can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power supply control technology, and more specifically, to a power control method and a power supply system. Background Technology

[0002] In current power supply control processes, the central controller primarily relies on PWM adjustment via CAN bus communication. However, signal anomalies are unavoidable in actual signal transmission, protocol parsing, and calculation decisions, making power control based on PWM signals inaccurate. Furthermore, PWM is often adjusted using only a fixed threshold, meaning the output signal adjustment depends on this preset threshold, and power adjustment is impossible outside of this threshold range. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to provide a power control method and a power supply system that address the aforementioned technical deficiencies of the prior art.

[0004] The technical solution adopted by the present invention to solve its technical problem is: to construct a power control method for a power supply system, wherein the power supply system includes: a power supply module, a PWM module, and an encoding module; the method includes: a power calibration process and a power control process; The power calibration process includes: Establish an initial correspondence between the encoded signal generated by the encoding module and the PWM signal generated by the PWM module; According to the initial correspondence, the encoding module is controlled to generate a number of encoded signals in sequence, and the PWM module generates PWM signals that correspond one-to-one with the encoded signals. Obtain the output power of the power supply module corresponding to the encoded signal, and establish the actual correspondence between the encoded signal, the PWM signal and the output power of the power supply module based on the initial correspondence and the output power; The power control process includes: Obtain the target power of the power supply module; When the actual correspondence includes the target power, the encoding module is controlled to generate a corresponding encoding signal based on the target power and the actual correspondence, so that the power supply module controls the output power according to the encoding signal and the actual correspondence; When the actual correspondence does not include the target power, the encoding module is controlled to generate an invalid encoding signal, and the PWM module is controlled to generate a corresponding PWM signal based on the target power and the actual correspondence, so that the power supply module controls the output power according to the PWM signal.

[0005] Preferably, in one embodiment of the power control method for a power supply system according to the present invention, establishing the initial correspondence between the encoded signal generated by the encoding module and the PWM signal generated by the PWM module includes: Several different encoded signals and several PWM signals with different duty cycles are acquired according to preset rules to establish an initial correspondence between the encoded signals and the PWM signals.

[0006] Preferably, in one embodiment of the power control method for a power supply system according to the present invention, the step of obtaining several different encoded signals and several PWM signals with different duty cycles according to preset rules includes: obtaining the encoding range of the encoding module, obtaining the effective range corresponding to the encoded signal according to the encoding range, adjusting the encoded signal according to a first preset step within the effective range, and adjusting the duty cycle of the PWM signal according to a second preset step.

[0007] Preferably, in one embodiment of the power control method for a power supply system according to the present invention, the step of acquiring several different encoded signals and several PWM signals with different duty cycles according to preset rules further includes: Within the effective range, the encoded signals are matched one-to-one with the PWM signals in ascending order of duty cycle.

[0008] Preferably, in one embodiment of the power control method for a power supply system according to the present invention, controlling the PWM module to generate a corresponding PWM signal based on the target power and the actual correspondence includes: Based on the actual correspondence, obtain the two output powers of the power supply module that are closest to the target power, and the PWM signals corresponding to the two output powers; Interpolation calculations are performed based on the two PWM signals and the corresponding output power of the power supply module to obtain the relationship curve between the output power of the power supply module and the PWM signal. Based on the relationship curve and the target power, the corresponding PWM signal generated by the PWM module is obtained.

[0009] Preferably, in one embodiment of the power control method for a power supply system according to the present invention, the power supply system is an energy storage system, the power supply module includes: an energy storage module for providing a first power output, a photovoltaic module for providing a second power output, the PWM module includes a first PWM module corresponding to the energy storage module and a second PWM module corresponding to the photovoltaic module, the encoding module includes a first encoding module corresponding to the energy storage module and a second encoding module corresponding to the photovoltaic module; the method includes: Based on the energy storage module, the power calibration process and the power control process are executed to control the first PWM module to control the output power of the energy storage module to the target power; or The power calibration process and the power control process are executed based on the photovoltaic module to control the second PWM module to control the output power of the photovoltaic module to the target power.

[0010] Preferably, in one embodiment of the power control method for a power supply system according to the present invention, the energy storage system further includes a mains power module for providing AC output; the method further includes: The current output state of the mains power module is obtained so as to control the first PWM module and / or the second PWM module when reverse current occurs in the mains power module.

[0011] Preferably, in one embodiment of the power control method for a power supply system according to the present invention, controlling the first PWM module includes: The output power of the energy storage module is turned off, and the target output power of the energy storage module is calculated based on the reverse current, so as to gradually increase the duty cycle of the signal generated by the first PWM module according to the target output power of the energy storage module.

[0012] Preferably, in one embodiment of the power control method for a power supply system according to the present invention, the control of the second PWM module includes: The output power of the photovoltaic module is turned off, and the target output power of the photovoltaic module is calculated based on the reverse current, so as to gradually increase the duty cycle of the signal generated by the second PWM module according to the target output power of the photovoltaic module.

[0013] The present invention also provides a power supply system, comprising: a power supply module, a PWM module, an encoding module, and a control module; the control module is used to execute the power control method of the power supply system described above.

[0014] The power control method and power supply system of the present invention have the following advantages: they can improve the reliability of the output power adjustment process. Attached Figure Description

[0015] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 This is a flowchart of an embodiment of a power control method for a power supply system according to the present invention; Figure 2 This is a schematic diagram of a power supply system according to an embodiment of the present invention; Figure 3 This is a flowchart of another embodiment of a power control method for a power supply system according to the present invention; Figure 4 This is a flowchart of another embodiment of a power control method for a power supply system according to the present invention; Figure 5 This is a schematic diagram of another embodiment of a power supply system according to the present invention. Detailed Implementation

[0016] To provide a clearer understanding of the technical features, objectives, and effects of the present invention, specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0017] like Figures 1 to 4 As shown, an embodiment of a power control method for a power supply system according to the present invention is illustrated. Wherein, as Figure 2 As shown, the power supply system of the present invention includes a power supply module 110, a PWM module 120, and an encoding module 130. The PWM module 120 is used to generate a PWM signal that controls the output power of the power supply module 110. The encoding module 130 corresponds to the power supply module 110 and is used to generate an encoded signal corresponding to the PWM signal as needed.

[0018] Among them, such as Figure 1 As shown, the power control method for the power supply system of the present invention includes a power calibration process and a power control process. Specifically, the power calibration process obtains the relationship between the encoding module 130, the PWM module 120, and the power supply module 110. This allows the power control process to be implemented on the power supply module 110 based on the obtained relationship during the power control process.

[0019] like Figure 3 As shown, the power calibration process includes: S11, establishing an initial correspondence between the encoded signal generated by the encoding module 130 and the PWM signal generated by the PWM module 120; S12, controlling the encoding module 130 to sequentially generate several encoded signals and the PWM module 120 to generate PWM signals that correspond one-to-one with the encoded signals according to the initial correspondence; S13, obtaining the output power of the power supply module 110 corresponding to the encoded signal, so as to establish an actual correspondence between the encoded signal, the PWM signal and the output power of the power supply module 110 according to the initial correspondence and the output power.

[0020] Specifically, the power calibration process is mainly used to calibrate the relationship between the output power of the power supply module 110 and the PWM signal and the encoded signal. In the initial stage, an initial correspondence between the PWM signal and the encoded signal can be established. That is, one encoded signal corresponds to one PWM signal. After obtaining the initial correspondence, the PWM module 120 is controlled to sequentially generate several encoded signals and PWM signals according to the initial correspondence. This initial correspondence can exist in the form of a table or a configuration file. Simply put, while controlling the encoding module 130 to generate an encoded signal, the PWM module 120 is controlled to generate a corresponding PWM signal according to the initial correspondence. The power supply module 110 adjusts its power according to the PWM signal generated by the PWM module 120. The output power of the power supply module 110 corresponding to this encoded signal can be obtained. Then, a correspondence between the output power of the encoded signal and the PWM signal can be added according to the initial correspondence. Based on the initial correspondence, the encoded signal and PWM signal are iterated to obtain the actual correspondence between the encoded signal, the PWM signal, and the output power of the power supply module 110. During the operation of the power supply module 110, the PWM module 120 and the encoding module 130 can be controlled based on the actual correspondence between the power supply module 110 and the PWM module 120, thereby controlling the output power of the power supply module 110 and generating a corresponding encoded signal. The actual correspondence can also exist in a table format. It can be understood that in some embodiments, controlling the output power of the power supply module 110 according to the actual correspondence can be understood as controlling the PWM module 120, setting the PWM signal corresponding to the PWM module 120, and simultaneously generating the encoded signal corresponding to the PWM signal. If the obtained PWM signal does not have a corresponding encoded signal, the encoding module 130 can be set to generate an invalid encoded signal for differentiation. The invalid encoded signal can be one or more specific values. That is, when the received encoded signal has a specific value during actual operation, the received encoded signal is determined to be invalid. In one embodiment, the output power of the power supply module 110 can be obtained as a percentage of the rated power of the power supply module based on the duty cycle of the PWM signal. For example, if the duty cycle is set to 100%, which corresponds to the rated output power of the power supply module, then when the duty cycle of the PWM signal is 0.5, it can be determined that the output power of the power supply module 110 is 50% of its rated output power.

[0021] like Figure 4As shown, the power control process includes: S21, obtaining the target power of the power supply module 110; S22, when the actual correspondence includes the target power, controlling the encoding module to generate a corresponding encoding signal based on the target power and the actual correspondence, so that the power supply module 110 controls the output power according to the encoding signal and the actual correspondence; S23, when the actual correspondence does not include the target power, controlling the encoding module 130 to generate an invalid encoding signal, and controlling the PWM module 120 to generate a corresponding PWM signal based on the target power and the actual correspondence, so that the power supply module 110 controls the output power according to the PWM signal.

[0022] Specifically, during the power control process of the power supply module 110, when obtaining the target power of the power supply module 110, it is necessary to determine whether the target power value is included based on the actual correspondence. That is, to determine whether there is an encoded signal corresponding to the target power. If it exists, the encoded signal corresponding to the target power, i.e., the valid encoded signal, is generated according to the actual correspondence. After receiving the valid encoded signal, the power supply module 110 will directly set the power according to the valid encoded signal, so that the power supply module 110 outputs the target power. For example, when the target power is 5kW, and the actual correspondence includes 5kW, its corresponding encoded signal is 1001. Then, the encoding module is directly controlled to output the encoded signal, and the power supply module 110 will directly set the output power of the power supply module 110 to 5kW according to the encoded signal. When the target power of the power supply module 110 is not in the actual correspondence, i.e., the encoded signal corresponding to the target power cannot be obtained, the encoding module 130 is controlled to generate an invalid encoded signal. At the same time, the PWM module 120 is controlled to generate a corresponding PWM signal based on the target power and the actual correspondence, and the output power of the power supply module 110 is controlled based on the PWM signal.

[0023] In one embodiment, establishing an initial correspondence between the encoded signal generated by the encoding module 130 and the PWM signal generated by the PWM module 120 includes: acquiring several different encoded signals and several PWM signals with different duty cycles according to preset rules to establish an initial correspondence between the encoded signals and the PWM signals. That is, the duty cycles of the encoded signals and the PWM signals form a correspondence. Taking a four-bit encoded signal as an example, when the encoded signal is 0000, its corresponding PWM signal duty cycle is 10%; when the encoded signal is 0001, its corresponding PWM signal duty cycle is 20%, and so on. As the encoded signal gradually increases, its corresponding PWM signal duty cycle also gradually increases. In other embodiments, the relationship between the PWM signal duty cycle and the value of the encoded signal can also be established in the reverse order, for example, the largest encoded signal value corresponds to the smallest PWM signal duty cycle.

[0024] In one embodiment, acquiring several different encoded signals and several PWM signals with different duty cycles according to preset rules includes: acquiring the encoding range of the encoding module 130, acquiring the effective range corresponding to the encoded signal based on the encoding range, adjusting the encoded signal according to a first preset step within the effective range, and adjusting the duty cycle of the PWM signal according to a second preset step. Specifically, when establishing the initial correspondence, the encoding range of the encoding module 130 can also be acquired, and the effective range corresponding to the encoded signal can be set within this encoding range. That is, the controller will only determine that the encoded signal is valid when it receives an encoded signal that meets the effective range; otherwise, it will determine that the received encoded signal is invalid. Within this effective range, the encoded signal is set to gradually increase according to the first preset step, for example, the value of the encoded signal is set to gradually increase by a step of 1, and the duty cycle value of the PWM signal is set to gradually increase by a step of 0.05. It can be understood that the step change of the encoded signal and the change of the duty cycle of the PWM signal are sufficient to ensure that the effective encoded signal can cover the range of the effective PWM signal, and this is not limited here. For example, if the effective range of the encoded signal is 0001 to 1111, and the duty cycle range of the PWM signal is 0 to 1, then the values ​​of the encoded signal between 0001 and 1111 can be set to correspond one-to-one with several duty cycles between 0 and 1. It is understood that in some embodiments, the correspondence rule is not limited; it is only necessary that each encoded signal has a corresponding PWM signal.

[0025] In one embodiment, acquiring several different encoded signals and several PWM signals with different duty cycles according to preset rules further includes: within an effective range, mapping the encoded signals in ascending order to the PWM signals in ascending order of duty cycle. Specifically, to facilitate the control process, the encoded signals can be set to map in ascending order to the PWM signals within an effective range. This allows for convenient simultaneous adjustment of the encoding module 130 and the PWM module 120 when adjusting the output power of the power supply module 110.

[0026] In one embodiment, the control of the PWM module to generate a corresponding PWM signal based on the target power and the actual correspondence includes: obtaining the two output powers of the power supply module that are closest to the target power based on the actual correspondence, and the PWM signals corresponding to the two output powers; performing interpolation calculations based on the two PWM signals and the output power of the corresponding power supply module to obtain the relationship curve between the output power of the power supply module and the PWM signal; and obtaining the corresponding PWM signal generated by the PWM module based on the relationship curve and the target power.

[0027] Specifically, when generating an invalid coded signal, the two closest output powers and their corresponding PWM signals can be obtained from the actual correspondence between the target power of the power supply module 110 and the target power of the power supply module 110. Interpolation fitting is then performed on these two PWM signals to obtain the relationship curve between the PWM signal and the output power of the power supply module 110. The PWM signal corresponding to the target power of the power supply module 110 can then be obtained from this relationship curve, and the output power of the power supply module 110 can be controlled through this PWM signal. This process allows for flexible calculation to accurately control the target power of the power supply module 110.

[0028] In one specific embodiment, the target power of the power supply module 110 is 1.3kW. Since a corresponding valid numbered signal cannot be obtained in the actual correspondence, an invalid coded signal is directly generated. Simultaneously, adjacent power points are calibrated: coded signal 0000 corresponds to 1kW, and coded signal 0001 corresponds to 1.5kW, based on the formula: ; in, and These are the two power points adjacent to the target power in the actual correspondence. and These are the PWM signals corresponding to the two power points. and They are 1.5kW and 1kW respectively. and When the duty cycles are 15% and 10% respectively, the PWM signal duty cycle corresponding to the PWM module when the target power is 1.3kW can be obtained as 13%.

[0029] like Figure 5 As shown, the power supply system is an energy storage system. The power supply module 110 includes: an energy storage module 111 for providing a first power output, a photovoltaic module 112 for providing a second power output, a PWM module 120 including a first PWM module 121 corresponding to the energy storage module 111 and a second PWM module 122 corresponding to the photovoltaic module 112, and an encoding module 130 including a first encoding module 131 corresponding to the energy storage module 111 and a second encoding module 132 corresponding to the photovoltaic module 112. The method includes: performing a power calibration process and a power control process based on the energy storage module 111, controlling the first PWM module 121 and the first encoding module 131 to control the output power of the energy storage module 110 as the target power; or performing a power calibration process and a power control process based on the photovoltaic module 112, controlling the second PWM module 122 and the second encoding module 132 to control the output power of the photovoltaic module 112 as the target power.

[0030] Specifically, when the power supply system is an energy storage system, the power supply module 110 may include an energy storage module 111 and a photovoltaic module 112. That is, the energy storage module 111 and the photovoltaic module 112 are used as power supply modules 110 to provide power output. The PWM module 120 includes a first PWM module 121 and a second PWM module 122. The encoding module 130 includes a first encoding module 131 and a second encoding module 132. The first PWM module 121 and the first encoding module 131 correspond to the energy storage module 111, that is, the first PWM module 121 is used to generate a first PWM signal for controlling the output power of the energy storage module 111, and the first encoding module 131 is used to generate a first encoded signal corresponding to the first PWM signal. The second PWM module 122 and the second encoding module 132 correspond to the photovoltaic module 112, that is, the second PWM module 122 is used to generate a second PWM signal for controlling the output power of the photovoltaic module 112, and the second encoding module 132 is used to generate a second encoded signal corresponding to the second PWM signal.

[0031] During the operation of the energy storage system, the energy storage module 111 can be used as the power supply module 110 to perform the aforementioned power calibration and power control processes. Then, based on the target power of the energy storage module 111, the first PWM module 121 and the first encoding module 131 are controlled to adjust the output power of the energy storage module 111. During the power calibration process, the energy storage module 111 obtains the aforementioned actual correspondence, which is the first actual correspondence. During the power control process, the first encoding module 131 is set to output a valid or invalid encoding signal based on the target power of the energy storage module 111. When the first encoding module 131 outputs a valid encoding signal, the energy storage module 111 directly sets its output power based on this encoding signal and the first actual correspondence. When the first encoding module 131 outputs an invalid encoding signal, the PWM signal of the first PWM module 121 is obtained according to the target power of the energy storage module 111 and the first actual correspondence. After receiving the invalid encoding signal, the energy storage module 111 directly sets the output power of the energy storage module 111 to the target power according to the PWM signal of the first PWM module 121.

[0032] During the operation of the energy storage system, the photovoltaic module 112 can also be used as the power supply module 110 to perform the aforementioned power calibration and power control processes. Then, based on the target power of the photovoltaic module 112, the second PWM module 122 and the second encoding module 132 are controlled to adjust the output power of the photovoltaic module 112. During the power calibration process, the photovoltaic module 112 obtains the aforementioned actual correspondence, i.e., the second actual correspondence. During the power control process, the second encoding module 132 is set to output a valid or invalid encoding signal based on the target power of the photovoltaic module 112. Based on the above power control process, when the second encoding module 132 outputs a valid encoding signal, the photovoltaic module 112 directly sets its output power based on this encoding signal and the second actual correspondence. When the second encoding module 132 outputs an invalid encoding signal, the second PWM module 122 simultaneously generates a corresponding PWM signal based on the target power of the photovoltaic module 112 and the second actual correspondence. Upon receiving the invalid encoding signal, the photovoltaic module 112 directly sets its output power to the target power based on the PWM signal from the second PWM module 122.

[0033] In one embodiment, the energy storage system further includes a mains power module for providing AC output; the method of the present invention further includes: acquiring the current output state of the mains power module to control a first PWM module 120 and / or control a second PWM module 120 when reverse current occurs in the mains power module. Specifically, the energy storage system also includes a mains power module. During the operation of the energy storage system, the current output state of the mains power module needs to be detected to minimize the occurrence of reverse current to the mains power module. When reverse current occurs in the mains power module, it is necessary to control the first PWM module 121 to control the output power of the energy storage module 111, or control the second PWM module 122 to control the output power of the photovoltaic module 112. The control process of the first PWM module 121 can be based on a first actual correspondence, and the control process of the second PWM module 122 can be based on a second actual correspondence.

[0034] In one embodiment, controlling the first PWM module 120 includes: turning off the output power of the energy storage module 111, and calculating the target output power of the energy storage module 111 based on the reverse current, so as to gradually increase the duty cycle of the signal generated by the first PWM module 121 according to the target output power of the energy storage module 111. That is, when reverse current occurs in the mains power module, the output power of the energy storage module 111 can be turned off first, and then the target output power of the energy storage module 111 can be calculated based on the obtained reverse current. At the target output power, the mains power module will not experience reverse current. Then, the first PWM module 121 corresponding to the energy storage module 111 is adjusted according to the target output power to control the output power of the energy storage module 111 to the target output power. In one embodiment, an encoded signal for turning off the output power of the energy storage module 111 can be set. After receiving the encoded signal, the energy storage module 111 will directly turn off the output power according to the encoded signal.

[0035] In one embodiment, controlling the second PWM module 122 includes: turning off the output power of the photovoltaic module 112, and calculating the target output power of the photovoltaic module 112 based on the reverse current, so as to gradually increase the duty cycle of the signal generated by the second PWM module 122 according to the target output power of the photovoltaic module 112. That is, when reverse current occurs in the mains power module, the output power of the photovoltaic module 112 can be turned off first, and then the target output power of the photovoltaic module 112 can be calculated based on the obtained reverse current. At the target output power, the mains power module will not experience reverse current. Then, the second PWM module 120 corresponding to the photovoltaic module 112 is adjusted according to the target output power to control the output power of the energy storage module 111 to the target output power. In one embodiment, an encoded signal for turning off the output power of the photovoltaic module 112 can be set. After receiving the encoded signal, the photovoltaic module 112 will directly turn off the output power according to the encoded signal.

[0036] In one embodiment, the first PWM module 121 and the second PWM module 122 can also be adjusted simultaneously. For example, the output power of a portion of the energy storage module 111 can be adjusted first, and then the output power of a portion of the photovoltaic module 112 can be adjusted.

[0037] Additionally, such as Figure 2 As shown, a power supply system of the present invention includes: a power supply module 110, a PWM module 120, an encoding module 130, and a control module 140; wherein, the PWM module 120 is used to generate a PWM signal to control the output power of the power supply module 110, and the encoding module 130 corresponds to the power supply module 110 and is used to generate an encoded signal corresponding to the PWM signal as needed. The control module 140 is used to execute the power supply system power control method as described above.

[0038] In one specific embodiment, the control module 140 is used to control the execution of the power calibration process and the power control process.

[0039] During the power calibration process, the control module 140 performs the following steps: establishing an initial correspondence between the encoded signal generated by the encoding module 130 and the PWM signal generated by the PWM module 120; controlling the encoding module 130 to sequentially generate several encoded signals and the PWM module 120 to generate PWM signals that correspond one-to-one with the encoded signals according to the initial correspondence; and obtaining the output power of the power supply module 110 corresponding to the encoded signals, so as to establish an actual correspondence between the encoded signals, the PWM signals and the output power of the power supply module 110 according to the initial correspondence and the output power.

[0040] Specifically, the power calibration process is mainly used to calibrate the relationship between the output power and the PWM signal and the encoded signal in the control process. In the initial stage, an initial correspondence between the PWM signal and the encoded signal can be established. That is, one encoded signal corresponds to one PWM signal. After obtaining the initial correspondence, the control module 140 can control the PWM module 120 to sequentially generate several encoded signals and PWM signals according to the initial correspondence. This initial correspondence can exist in the form of a table or a configuration file. Simply put, the control module 140 controls the encoding module 130 to generate an encoded signal while simultaneously controlling the PWM module 120 to generate a corresponding PWM signal according to the initial correspondence. The power supply module 110 adjusts its power based on the PWM signal generated by the PWM module 120. The output power of the power supply module 110 corresponding to this encoded signal can be obtained. The control module 140 can then add a correspondence between the output power of the encoded signal and the PWM signal according to the initial correspondence. Based on the initial correspondence, the encoded signal and PWM signal are iterated to obtain the actual correspondence between the encoded signal, the PWM signal, and the output power of the power supply module 110. During the operation of the power supply module 110, the control module 140 can control the PWM module 120 and the encoding module 130 based on the actual correspondence of the power supply module 110, thereby controlling the output power of the power supply module 110 and generating a corresponding encoded signal. The actual correspondence can also exist in a table format. It can be understood that in some embodiments, the process of the control module 140 controlling the output power of the power supply module 110 according to the actual correspondence can be understood as the control module 140 controlling the PWM module 120. The control module 140 sets the PWM signal corresponding to the PWM module 120, and simultaneously sets the encoding module 130 to generate the encoded signal corresponding to the PWM signal. If the obtained PWM signal does not have a corresponding encoded signal, the encoding module 130 can generate an invalid encoded signal for differentiation. The invalid encoded signal can be one or more specific values.

[0041] During power control, the control module 140 performs the following processes: acquiring the target power of the power supply module 110; when the actual correspondence includes the target power, controlling the encoding module to generate a corresponding encoding signal based on the target power and the actual correspondence, so that the power supply module 110 controls the output power according to the encoding signal and the actual correspondence; when the actual correspondence does not include the target power, controlling the encoding module 130 to generate an invalid encoding signal, and controlling the PWM module 120 to generate a corresponding PWM signal based on the target power and the actual correspondence, so that the power supply module 110 controls the output power according to the PWM signal.

[0042] Specifically, during the power control process of the power supply module 110, when the control module 140 obtains the target power of the power supply module 110, it needs to determine whether the target power value is included based on the actual correspondence. That is, it needs to determine whether there is an encoded signal corresponding to the target power. If there is, it generates an encoded signal corresponding to the target power, i.e., a valid encoded signal, based on the actual correspondence. After receiving the valid encoded signal, the power supply module 110 will directly set the power according to the valid encoded signal, so that the power supply module 110 outputs the target power. For example, when the target power is 5kW, and the actual correspondence includes 5kW, its corresponding encoded signal is 1001. Then, the encoding module is directly controlled to output the encoded signal, and after receiving the encoded signal, the power supply module 110 will directly set the output power of the power supply module 110 to 5kW based on the encoded signal. When the target power of the power supply module 110 is not found in the actual correspondence, i.e. the encoding signal corresponding to the target power cannot be obtained, the control module 140 controls the encoding module 130 to generate an invalid encoding signal, and at the same time controls the PWM module 120 to generate the corresponding PWM signal based on the target power and the actual correspondence, and controls the output power of the power supply module 110 based on the PWM signal.

[0043] It is understood that the above embodiments only illustrate preferred embodiments of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can freely combine the above technical features without departing from the concept of the present invention, and can also make several modifications and improvements, all of which fall within the protection scope of the present invention. Therefore, all equivalent transformations and modifications made with respect to the scope of the claims of the present invention should fall within the scope of the claims of the present invention.

Claims

1. A power control method for a power supply system, characterized by, The power supply system comprises a power supply module, a PWM module and an encoding module; the method comprises a power calibration process and a power control process; The power calibration process comprises: establishing an initial correspondence between the encoding signals generated by the encoding module and the PWM signals generated by the PWM module; controlling the encoding module to generate a plurality of encoding signals in sequence and the PWM module to generate PWM signals corresponding to the encoding signals according to the initial correspondence; obtaining the output power of the power supply module corresponding to the encoding signals to establish an actual correspondence between the encoding signals, the PWM signals and the output power of the power supply module according to the initial correspondence and the output power; The power control process comprises: obtaining a target power of the power supply module; when the actual correspondence contains the target power, controlling the encoding module to generate a corresponding encoding signal based on the target power and the actual correspondence, so that the power supply module controls the output power according to the encoding signal and the actual correspondence; when the actual correspondence does not contain the target power, controlling the encoding module to generate an invalid encoding signal, and controlling the PWM module to generate a corresponding PWM signal based on the target power and the actual correspondence, so that the power supply module controls the output power according to the PWM signal.

2. The power control method of a power supply system according to claim 1, characterized by, The establishment of the initial correspondence between the encoding signals generated by the encoding module and the PWM signals generated by the PWM module comprises: obtaining a plurality of different encoding signals and a plurality of PWM signals with different duty cycles according to a preset rule to establish the initial correspondence between the encoding signals and the PWM signals.

3. The power control method of a power supply system according to claim 2, wherein The obtaining of the plurality of different encoding signals and the plurality of PWM signals with different duty cycles according to the preset rule comprises: obtaining the encoding range of the encoding module, obtaining the effective range corresponding to the encoding signals according to the encoding range, adjusting the encoding signals according to a first preset step within the effective range, and adjusting the duty cycle of the PWM signals according to a second preset step.

4. The power control method of a power supply system according to claim 3, characterized by, The obtaining of the plurality of different encoding signals and the plurality of PWM signals with different duty cycles according to the preset rule further comprises: within the effective range, the encoding signals are corresponded to the PWM signals in the order from small to large and from small to large duty cycle.

5. The power control method of a power supply system according to claim 4, wherein The control of the PWM module to generate a corresponding PWM signal based on the target power and the actual correspondence comprises: based on the actual correspondence, obtaining two output powers of the power supply module closest to the target power and the PWM signals corresponding to the two output powers; performing interpolation calculation on the two PWM signals and the output powers of the power supply module corresponding to the two PWM signals to obtain a relationship curve between the output power of the power supply module and the PWM signals; based on the relationship curve and the target power, obtaining the corresponding PWM signal generated by the PWM module.

6. The power control method of a power supply system according to claim 1, wherein The power supply system is an energy storage system, the power supply module includes: an energy storage module for providing a first power output, a photovoltaic module for providing a second power output, the PWM module includes a first PWM module corresponding to the energy storage module and a second PWM module corresponding to the photovoltaic module, and the encoding module includes a first encoding module corresponding to the energy storage module and a second encoding module corresponding to the photovoltaic module; the method includes: based on the energy storage module, performing the power calibration process and the power control process, controlling the first PWM module and the first encoding module to control the output power of the energy storage module to be the target power; or based on the photovoltaic module, performing the power calibration process and the power control process, controlling the second PWM module and the second encoding module to control the output power of the photovoltaic module to be the target power.

7. The power control method of a power supply system according to claim 6, wherein The energy storage system further includes a mains module for providing an alternating current output; the method further includes: obtaining the current output state of the mains module, so as to control the first PWM module and / or control the second PWM module when the mains module has a reverse current.

8. The power control method of a power supply system according to claim 7, wherein The control of the first PWM module includes: turning off the output power of the energy storage module, and calculating the target output power of the energy storage module according to the reverse current, so as to gradually increase the duty cycle of the first PWM module generation signal according to the target output power of the energy storage module.

9. The power control method of a power supply system according to claim 7, wherein The control of the second PWM module includes: turning off the output power of the photovoltaic module, and calculating the target output power of the photovoltaic module according to the reverse current, so as to gradually increase the duty cycle of the second PWM module generation signal according to the target output power of the photovoltaic module.

10. A power supply system characterized by comprising: It includes: power supply module, PWM module, encoding module, control module; The control module is used to execute the power control method of the power supply system as claimed in any one of claims 1 to 9.