Power module control methods, devices, power supply equipment, electrical components and storage media
By acquiring the voltage and load parameters of the DC output unit, a drive signal is generated to regulate the voltage. Combined with current closed-loop control, the voltage fluctuation problem of the DC power supply under load fluctuation is solved, and the stability of the power supply is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEFEI MIDEA REFRIGERATOR CO LTD
- Filing Date
- 2021-09-17
- Publication Date
- 2026-06-30
AI Technical Summary
In DC drive equipment, the rectified DC power supply is easily affected by load fluctuations at the power consumption end, which can cause fluctuations and affect the operational stability of the power consumption end.
By acquiring the voltage value of the DC output unit and the power parameters of the load, compensation parameters are determined, drive signals are generated, and the voltage regulation unit is adjusted to stabilize the voltage value. Combined with current closed-loop control, voltage and current stability is achieved.
It effectively avoids voltage fluctuations in DC power supplies under load fluctuations, ensuring the stable operation of electrical equipment.
Smart Images

Figure CN115833629B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power management technology, and in particular to a power module control method, device, power supply equipment, electrical appliance, and storage medium. Background Technology
[0002] In DC drive equipment, the input AC power supply typically needs to be rectified to obtain the required DC power supply before being supplied to the downstream power consumer. Generally, changes in the load at the power consumer can cause fluctuations in the rectified DC power supply, affecting the stability of the power consumer's operation and even leading to damage. Therefore, how to prevent the DC power supply from being easily affected by load fluctuations at the power consumer is a pressing technical problem that needs to be solved. Summary of the Invention
[0003] The main objective of this invention is to provide a power module control method, device, power supply equipment, electrical appliance, and storage medium, aiming to solve the technical problem in the prior art where the DC power supply after rectification by the power module fluctuates due to the influence of load fluctuations at the power consumption end.
[0004] To achieve the above objectives, the present invention provides a power module control method. The power module includes a voltage regulation unit and a DC output unit. The power module control method includes the following operations:
[0005] Obtain the first voltage value at the output terminal of the DC output unit and the power parameters of the corresponding load of the DC output unit;
[0006] Determine the first compensation parameter based on the power parameters;
[0007] Determine the first difference between the first voltage value and the preset reference voltage value;
[0008] A drive signal is generated based on the first difference and the first compensation parameter;
[0009] A drive signal is sent to the voltage regulation unit so that the voltage regulation unit adjusts the first voltage value according to the drive signal.
[0010] Optionally, the power supply module also includes a rectifier unit located at the front end of the DC output unit, which generates a drive signal based on the first difference and the first compensation parameter, including:
[0011] Based on the first compensation parameter, a compensation operation is performed on the first difference to obtain a reference current value;
[0012] Obtain the first current value at the output of the rectifier unit;
[0013] A drive signal is generated based on the third difference between the reference current value and the first current value.
[0014] Optionally, the reference current value is obtained by performing a compensation operation on the first difference based on the first compensation parameter, including:
[0015] A compensation operation is performed on the first difference based on the first compensation parameter to obtain the first compensation value;
[0016] Obtain the second voltage value at the output terminal of the rectifier unit;
[0017] The reference current value is determined based on the first compensation value and the second voltage value, and the reference current value is negatively correlated with the second voltage value.
[0018] Optionally, obtaining the first current value at the output of the rectifier unit includes:
[0019] Determine the current amplifier factor corresponding to the power parameters;
[0020] The target channel corresponding to the current amplifier factor is determined from multiple preset current amplifier channels, so as to obtain the first current value at the output of the rectifier unit based on the target channel; each current amplifier channel corresponds to a different current amplifier factor.
[0021] Optionally, the reference current value is determined based on the first compensation value and the second voltage value, including:
[0022] The average voltage of the rectifier unit output terminal within a preset time period is determined based on the second voltage value;
[0023] The second compensation value is determined based on the average voltage value;
[0024] The reference current value is determined based on the first compensation value, the second compensation value, and the second voltage value.
[0025] Optionally, determining the first compensation parameter based on the power parameters includes:
[0026] Determine the second difference between the power parameter and the preset power parameter;
[0027] The first compensation parameter corresponding to the second difference is determined based on the preset mapping relationship, and the second difference is positively correlated with the first compensation parameter.
[0028] Optionally, before determining the first difference between the first voltage value and the preset reference voltage value, the method further includes:
[0029] The second difference is compensated based on the preset second compensation parameter to obtain the preset reference voltage value.
[0030] Furthermore, to achieve the above objectives, the present invention also proposes a power module control device. The power module includes a voltage regulation unit and a DC output unit connected to each other. The power module control device includes:
[0031] The acquisition module is used to acquire the first voltage value at the output terminal of the DC output unit and the power parameters of the corresponding load of the DC output unit;
[0032] The matching module is used to determine the first compensation parameter based on the power parameters;
[0033] The calculation module is used to determine the first difference between the first voltage value and the preset reference voltage value;
[0034] The signal generation module is used to generate a drive signal based on the first difference and the first compensation parameter;
[0035] The drive module is used to send a drive signal to the voltage regulation unit so that the voltage regulation unit adjusts the first voltage value according to the drive signal.
[0036] In addition, to achieve the above objectives, the present invention also proposes a power supply device, which includes a voltage regulation unit, a DC output unit, and a microcontroller unit, wherein the microcontroller unit is used to execute the power module control method described above.
[0037] In addition, to achieve the above objectives, the present invention also proposes an electrical appliance, which includes the power supply device as described above.
[0038] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a power module control program, which, when executed by a processor, implements the power module control method as described above.
[0039] In this invention, a first difference is determined based on a first voltage value at the output of the DC output unit and a preset reference voltage value; then, a first compensation parameter is determined based on the power parameters of the load corresponding to the DC output unit; a drive signal is generated based on the first difference and the first compensation parameter; and the drive signal is sent to the voltage regulation unit so that the voltage regulation unit adjusts the first voltage value according to the drive signal. This invention adjusts the first voltage value output by the DC output unit in a voltage loop, and simultaneously determines the adjustment parameters in the voltage loop based on the power parameters of the load, thereby enabling the first voltage value to quickly stabilize at the preset reference voltage and avoiding fluctuations in the first voltage value caused by load fluctuations at the power consumption end. Attached Figure Description
[0040] Figure 1 This is a schematic diagram of the structure of one embodiment of the power supply device of the present invention;
[0041] Figure 2 This is a schematic diagram of the power module control device of the hardware operating environment involved in the embodiments of the present invention;
[0042] Figure 3 This is a flowchart illustrating the first embodiment of the power module control method of the present invention;
[0043] Figure 4 This is a control logic diagram of one embodiment of the voltage regulation unit of the present invention;
[0044] Figure 5 This is a flowchart illustrating the second embodiment of the power module control method of the present invention;
[0045] Figure 6 This is a control logic diagram of another embodiment of the voltage regulation unit of the present invention;
[0046] Figure 7 This is a structural block diagram of the first embodiment of the power module control device of the present invention.
[0047] Explanation of icon numbers:
[0048] label name label name 10 rectifier unit 30 DC output unit 20 Voltage regulation unit 40 microcontroller
[0049] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0050] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0051] Reference Figure 1 , Figure 1 This is a schematic diagram of one embodiment of the power supply device of the present invention. The power supply device includes a rectifier unit 10, a voltage regulator unit 20, a DC output unit 30, and a microcontroller unit 40; the microcontroller unit 40 is connected to the rectifier unit 10, the voltage regulator unit 20, and the DC output unit 30 respectively; the voltage regulator unit 20 is connected to the rectifier unit 10 and the DC output unit 30 respectively.
[0052] It should be noted that the rectifier unit 10 is used to rectify the input AC power (such as mains power or power supply equipment) and output rectified power. Typically, the rectified power supply voltage waveform is a sine wave on the positive half-axis, with its voltage amplitude continuously changing but its direction remaining constant. In specific implementations, the rectifier unit 10 may include a rectifier bridge composed of diodes. The circuit structure of the rectifier unit 10 is based on mature technology and will not be described in detail here.
[0053] It should be noted that the DC output unit 30 is used to output a DC voltage with stable amplitude. In a specific implementation, the DC output unit 30 may include an energy storage and filtering circuit composed of capacitors. The circuit structure of the DC output unit 30 is also a mature technology, and will not be described in detail here.
[0054] Typically, the DC output unit 30 is connected to a load, such as a three-phase motor. The DC voltage is input to the inverter circuit of the three-phase motor, forming the three-phase power to drive the motor. The inverter circuit can usually be controlled using space vector pulse width modulation (SVM) technology, and there are also mature technologies for driving the load; these will not be elaborated upon in this implementation.
[0055] In this embodiment, the voltage regulation unit 20 is used to regulate the output of the rectifier unit 10, preventing the rectified voltage from being directly input to the DC output unit 30. Typically, the voltage regulation unit 20 can correct the rectified voltage according to preset voltage, current, or power parameters to obtain the desired voltage. In specific implementations, the voltage regulation unit 20 can be constructed using devices such as MOS (Metal-Oxide-Semiconductor) transistors, and the rectified voltage is regulated by controlling the switching of the MOS transistors.
[0056] It should be noted that load fluctuations can easily affect the voltage output of the DC output unit 30. For example, taking the drive of a three-phase motor as an example, three-phase motors typically employ FOC (field-oriented control) technology. When the load on the three-phase motor increases, the motor speed decreases. At this time, the speed loop output in the FOC system increases, and the current loop setpoint increases, thus increasing the system current. Consequently, the bus voltage tends to decrease. Conversely, when the load on the three-phase motor decreases, the motor speed increases. At this time, the speed loop output in the FOC system decreases, and the current loop setpoint decreases, thus decreasing the system current. Consequently, the bus voltage tends to increase.
[0057] Reference Figure 2 , Figure 2 This is a schematic diagram of the microcontroller unit of the hardware operating environment involved in the embodiments of the present invention.
[0058] like Figure 2As shown, the microcontroller unit 40 may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen, and optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. In this invention, the wired interface of the user interface 1003 may be a USB (Universal Serial Bus) interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0059] Those skilled in the art will understand that Figure 2 The structure shown does not constitute a limitation on the microcontroller unit 40 and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0060] like Figure 2 As shown, the memory 1005, which is identified as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a power module control program.
[0061] exist Figure 2 In the microcontroller unit 40 shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the user equipment; the microcontroller unit 40 calls the power module control program stored in the memory 1005 through the processor 1001 and executes the power module control method provided in the embodiment of the present invention.
[0062] Based on the above hardware structure, an embodiment of the power module control method of the present invention is proposed.
[0063] Reference Figure 3 , Figure 3 This is a flowchart illustrating the first embodiment of the power module control method of the present invention, which presents the first embodiment of the power module control method of the present invention.
[0064] In the first embodiment, the specific structure of the power module can be referred to the above, and the power module control method includes the following steps:
[0065] Step S10: Obtain the first voltage value at the output terminal of the DC output unit 30 and the power parameters of the load corresponding to the DC output unit 30.
[0066] It is understood that the execution subject in this embodiment can be the microcontroller unit 40 in the aforementioned power supply device, which has functions such as data processing, data communication, and program execution. Of course, the execution subject in this embodiment can also be other devices with similar functions, and this implementation does not limit this.
[0067] In practical implementation, the power module control method can be applied to appliances such as refrigerators or air conditioners to control the power supply to these appliances. The power source (such as AC mains power) connected to the refrigerator or air conditioner can serve as the input power to the rectifier unit 10 in the power module. When the power module control method is applied to a refrigerator, the executing entity of this embodiment can be a central controller or power manager installed in the refrigerator.
[0068] It should be noted that the load corresponding to the DC output unit 30 refers to the load connected to the output terminal of the DC output unit 30. For example, the load can be the drive motor of the compressor in a refrigerator, and the corresponding power parameter can be the current power of the drive motor or the current power of the compressor. The DC output unit 30, as a power supply device for the load, provides the power required for the load to operate. Therefore, the first voltage value is easily affected by load fluctuations and will fluctuate. The specific impact process can be referred to the above.
[0069] In a practical implementation, a sampling circuit can be provided at the output terminal of the DC output unit 30 and in the load. The microcontroller unit 40 is connected to this sampling circuit and receives the sampling voltage and sampling current transmitted by the sampling circuit to obtain the first voltage value and power parameters. The microcontroller unit 40 can also communicate with the load controller to obtain the power parameters corresponding to the load in real time from the controller. Mature technologies for sampling circuits already exist, and will not be elaborated upon in this embodiment.
[0070] Step S20: Determine the first compensation parameter based on the power parameters.
[0071] In this embodiment, to ensure the stability of the first voltage value, a voltage closed-loop control is used to control the first voltage value, such as PID (Proportion Integral Differential) control. PID control technology compensates for the first difference corresponding to the first voltage value through a first compensation parameter to obtain a corresponding control signal to adjust the first voltage value. The first compensation parameter refers to the proportional coefficient, integral coefficient, and derivative coefficient in PID control. In practical applications, all or some of the proportional, integral, and derivative coefficients can be used as needed. For example, using the proportional and integral parts forms PI control, in which case the first compensation parameter includes both the proportional and integral coefficients.
[0072] In this embodiment, to improve the response speed of the voltage loop, the first compensation parameter is a variable parameter. When the load fluctuates significantly, a larger first compensation parameter can be used to quickly stabilize the output voltage at the preset voltage; when the fluctuation is small, a smaller first compensation parameter can be used to avoid large fluctuations in the output voltage.
[0073] In a specific implementation, step S20 may include: determining a second difference between the power parameter and a preset power parameter; determining a first compensation parameter corresponding to the second difference based on a preset mapping relationship, wherein the second difference and the first compensation parameter are positively correlated.
[0074] Understandably, the second difference between the power parameter and the preset power parameter can represent the required adjustment range of the load, thereby determining the range of change in the first voltage value. A larger second difference indicates a larger change in the first voltage value; in this case, to quickly bring the first voltage value to the preset value, a larger first compensation parameter is used to compensate for the first difference. In specific implementation, the preset mapping relationship can include the correspondence between the second difference and the first compensation parameter. For example, when the second difference is between 0 and 200W, the corresponding first compensation parameter is A; when the second difference is between 200 and 500W, the corresponding first compensation parameter is B; and when the second difference is between 500 and 1000W, the corresponding first compensation parameter is C. The first compensation parameters A, B, and C can be pre-configured parameters, with C > B > A.
[0075] Step S30: Determine the first difference between the first voltage value and the preset reference voltage value.
[0076] It should be noted that the preset reference voltage is the pre-set operating voltage of the load, which can be the rated voltage of the load. In voltage closed-loop control, the first voltage value needs to be maintained at this preset reference voltage value to ensure that the load has good operating conditions. In specific implementation, the first difference is obtained by performing a difference operation between the preset reference voltage value and the acquired first voltage value.
[0077] Furthermore, the required power and voltage vary depending on the load's operating environment. For example, a higher power is needed to quickly reach operating conditions after power-on, while a lower power is required to maintain those conditions once they are reached. To ensure the load has a suitable operating voltage during this process, a preset reference voltage value can be determined based on the power parameters. Specifically, the preset reference voltage value is obtained by performing a compensation calculation on the second difference based on a preset second compensation parameter.
[0078] Reference Figure 4 , Figure 4 This is a control logic diagram of one embodiment of the voltage regulation unit of the present invention. It should be noted that the second compensation parameter is used to convert the second difference Peer between the power parameter P1 and the preset power parameter Pref into a reference voltage value Vref; when the second difference Peer is large, the corresponding preset reference voltage value is also larger. The conversion function Z can convert the second difference Peer into a corresponding voltage adjustment value, and then adjust the current voltage according to this voltage adjustment value to obtain the reference voltage value Vref. The conversion function Z is mainly determined based on the characteristics of the load, and it needs to reflect the mapping relationship between the load power and the required voltage; this embodiment does not impose any limitations on this. When the operating power of the load switches, the corresponding preset reference voltage also changes accordingly, thereby gradually adjusting the first voltage to the corresponding preset reference voltage, ensuring the normal operation of the load.
[0079] Step S40: Generate a drive signal based on the first difference and the first compensation parameter.
[0080] like Figure 4 As shown, the driving signal can be a PWM (Pulse Width Modulation) signal. Of course, the driving signal can be other forms of signals, such as current signals. This embodiment uses a PWM signal as an example for explanation.
[0081] like Figure 4 In the control logic diagram shown, the first voltage value V DC The first difference Verr between the voltage and the preset reference voltage value Vref is used as the input to the PID control section to generate a PWM signal. Specifically, the PID module receives the power parameter P1 and determines the corresponding first compensation parameter based on P1; then, it calculates the first difference Verr based on the first compensation parameter to generate the corresponding PWM signal.
[0082] Step S50: Send a drive signal to the voltage regulation unit 20 so that the voltage regulation unit 20 adjusts the first voltage value according to the drive signal.
[0083] Understandably, the voltage regulation unit 20 adjusts the voltage value input to the DC output unit 30 according to the PWM signal, thereby adjusting the first voltage value to approach a preset reference voltage value. Typically, when load fluctuations cause the first voltage value to increase, the voltage regulation unit 20 is controlled by the PWM signal to decrease the input voltage value of the DC output unit 30; conversely, it increases the input voltage value of the DC output unit 30 to maintain the stability of the first voltage value.
[0084] In the first embodiment, a first difference is determined based on the first voltage value at the output terminal of the DC output unit 30 and a preset reference voltage value; then, a first compensation parameter is determined based on the power parameters of the load corresponding to the DC output unit 30; a drive signal is generated based on the first difference and the first compensation parameter; and the drive signal is sent to the voltage adjustment unit 20 so that the voltage adjustment unit 20 adjusts the first voltage value according to the drive signal. This embodiment adjusts the first voltage value output by the DC output unit 30 in the voltage loop, and simultaneously determines the adjustment parameters in the voltage loop based on the power parameters of the load, thereby quickly stabilizing the first voltage value at the preset reference voltage and avoiding fluctuations in the first voltage value due to load fluctuations at the power consumption end.
[0085] Reference Figure 5 , Figure 5 This is a flowchart illustrating the second embodiment of the power module control method of the present invention. Based on the first embodiment described above, a second embodiment of the power module control method of the present invention is proposed.
[0086] In the second embodiment, step S40 may include:
[0087] Step S401: Perform compensation calculation on the first difference based on the first compensation parameter to obtain the reference current value.
[0088] In this embodiment, to make the power supply control of the load more stable and the first voltage value more stable, current closed-loop control is added to the voltage closed-loop control. Current closed-loop control refers to making the actual current on the bus follow the reference current, thereby stabilizing the bus voltage.
[0089] It should be noted that since the reference current value is converted from the first difference between the first voltage value and the preset reference voltage value, the reference current value will also change according to the change of the first voltage value. Typically, the reference current value is positively correlated with the first voltage value; when the first voltage value increases, the reference current value also increases.
[0090] Reference Figure 6 , Figure 6This is a control logic diagram for another embodiment of the voltage regulation unit of the present invention. To ensure stable power output of the load during operation, the load current and voltage changes should be negatively correlated. Therefore, in this embodiment, step S401 may include: performing a compensation calculation on the first difference Veer based on the first compensation parameter to obtain a first compensation value; and acquiring the second voltage value V at the output of the rectifier unit. AC The reference current value is determined based on the first compensation value and the second voltage value. The reference current value Iref is related to the second voltage V. AC The values show a negative correlation.
[0091] Since the actual waveform of the voltage at the output terminal of rectifier unit 10 is a half-sine wave, for ease of subsequent calculations, the second voltage value refers to the effective voltage value at the output terminal of rectifier unit 10, i.e., the first voltage value V. AC =U sinθ, where U is the voltage amplitude.
[0092] It should be noted that when adjusting the bus current, to more accurately determine the adjustment range, it can be further determined based on the voltage value at the output terminal of the rectifier unit 10. When the load increases, the load current increases, and the bus voltage tends to decrease. Therefore, the reference current value Iref changes with the second voltage value V. AC The value decreases as the value increases. The specific conversion function can be set according to user needs, and this implementation method does not impose any restrictions on it.
[0093] In practical implementation, to make the compensation more accurate, the first compensation value and the second voltage value V are used as the basis. AC Determining the reference current value includes: based on the second voltage value V AC Determine the average voltage value at the output terminal of rectifier unit 10 within a preset time period; determine the second compensation value based on the average voltage value; and determine the compensation value based on the first compensation value, the second compensation value, and the second voltage value V. AC Determine the reference current value.
[0094] It should be noted that, to ensure more accurate compensation, the average value of the second voltage value over a preset time period is typically collected to guarantee the stability of the compensation parameters; then, the compensation value V is generated based on the average value. COM In practical implementation, the transformation function G can be referenced from the following formula:
[0095]
[0096]
[0097] Among them, V COM For compensation value, V AVG V is the average value. AC Here is the second voltage value, and T is time. Compensation value V. COM The second voltage value VAC The reciprocal of the square of the average over a preset time period.
[0098] At this point, the reference current value Iref can be obtained by referring to the following formula:
[0099]
[0100] The average input power of the load can be calculated using the following formula:
[0101]
[0102] Assuming the voltage change at the output of rectifier unit 10 is ΔU, then the changed voltage value is:
[0103] V=(U+ΔU)sinθ
[0104] Correspondingly, the changed current is:
[0105]
[0106] Then, the changing power is:
[0107]
[0108] It is evident that the power remained unchanged after the change.
[0109] Step S402: Obtain the first current value at the output terminal of the rectifier unit 10.
[0110] It is understandable that the actual waveform of the current at the output terminal of rectifier unit 10 is also a half-sine wave. Therefore, for ease of subsequent calculation, the first current value refers to the effective current value at the output terminal of rectifier unit 10, i.e., the first current value I. AC =Isinθ, where I is the current amplitude. The acquisition of the first current value can also be based on a sampling circuit, as detailed above.
[0111] It should be noted that when the input voltage range of the rectifier unit 10 is relatively wide, the actual current may be smaller or larger. A smaller actual current may lead to inaccurate current sampling, while a larger actual current may cause the current to enter the current limiting region. Therefore, in order to ensure the accuracy of current acquisition, this embodiment adopts multi-channel acquisition.
[0112] In a specific implementation, step S402 may include: determining the current amplifier factor corresponding to the power parameters; determining the target channel corresponding to the current amplifier factor from multiple preset current amplifier channels, so as to obtain the first current value at the output of the rectifier unit based on the target channel; each current amplifier channel corresponds to a different current amplifier factor.
[0113] It should be noted that the sampling circuit can be configured with multiple amplification loops with different operational amplifier factors (op-amps), allowing switching to the appropriate amplification loop during data acquisition. The current op-amp channel refers to the sampling channel formed by the amplification loops. Multiple preset current op-amp channels have different op-amp factors, and the op-amp factor of the target channel is the same as the determined current op-amp factor. Different current amplitudes require amplification using corresponding op-amp factors. Since the current amplitude cannot be directly determined, this embodiment determines the amplitude of the current to be sampled through power parameters. The circuit structure of the amplification loops is a mature technology, and the op-amp factor of each amplification loop can be set according to user needs; this embodiment does not impose any restrictions on this.
[0114] In practical implementation, the corresponding current amplifier factor can be determined based on the first difference between the power parameters and the preset power parameters. For example, a pre-defined correspondence between different first differences and current amplifier factors can be established. After obtaining the first difference, the corresponding current amplifier factor is determined according to the pre-defined correspondence. Generally, the larger the first difference, the larger the corresponding current, and the smaller the first difference, the smaller the corresponding current; therefore, the larger the first difference, the smaller the current amplifier factor, and vice versa. The first difference and the current amplifier factor are negatively correlated.
[0115] Step S403: Generate a drive signal based on the third difference between the reference current value and the first current value.
[0116] like Figure 6 As shown, the first current value I AC The value follows the reference current value Iref. The duty cycle of the PWM signal is determined according to the current error Ierr. To ensure the stability of the DC output unit 30, the larger the current error Ierr, the smaller the duty cycle of the PWM signal, and vice versa.
[0117] In the second embodiment, by detecting the voltage and current output by the rectifier unit 10, and determining the reference current based on the detected voltage and the first difference, a current closed-loop control is formed based on the reference current and the monitored current, thereby controlling the input of the DC output unit 30 according to the output voltage of the rectifier unit 10, so that the adjustment of the first voltage value is faster.
[0118] Furthermore, this invention also proposes an electrical appliance, which includes the power supply device as described above. The specific structure of the power supply device can be referred to above, and the electrical appliance can specifically be a refrigerator, air conditioner, etc. Since this electrical appliance can adopt the technical solutions of all the above embodiments, it at least has the beneficial effects brought about by the technical solutions of the above embodiments, and will not be elaborated further here.
[0119] Furthermore, this invention also proposes a storage medium storing a power module control program. When executed by a processor, the power module control program implements the steps of the power module control method described above. Since this storage medium can employ the technical solutions of all the above embodiments, it at least possesses the beneficial effects brought about by the technical solutions of the above embodiments, and will not be elaborated further here.
[0120] In addition, refer to Figure 7 , Figure 7 This is a structural block diagram of a first embodiment of the power module control device of the present invention. The present invention also proposes a power module control device.
[0121] In this embodiment, the power module includes a voltage regulation unit 20 and a DC output unit 30 connected to each other, as detailed above. The power module control device includes:
[0122] The acquisition module 100 is used to acquire the first voltage value at the output terminal of the DC output unit and the power parameters of the load corresponding to the DC output unit.
[0123] It should be noted that the load corresponding to the DC output unit 30 refers to the load connected to the output terminal of the DC output unit 30. The DC output unit 30 acts as a power supply device for the load, providing the power required for its operation. Therefore, the first voltage value is easily affected by load fluctuations, and the specific impact process can be referred to the above.
[0124] In a specific implementation, a sampling circuit can be provided at the output terminal of the DC output unit 30 and in the load. The acquisition module 100 is connected to this sampling circuit to receive the sampling voltage and sampling current transmitted by the sampling circuit, thereby obtaining the first voltage value and power parameters. The acquisition module 100 can also communicate with the load's controller to obtain the corresponding power parameters of the load from the controller in real time. Mature technologies for sampling circuits already exist, and will not be described in detail in this embodiment.
[0125] Matching module 200 is used to determine the first compensation parameter based on the power parameter.
[0126] In this embodiment, to ensure the stability of the first voltage value, a voltage closed-loop control is used to control the first voltage value, such as PID (Proportion Integral Differential) control. PID control technology compensates for the first difference corresponding to the first voltage value through a first compensation parameter to obtain a corresponding control signal to adjust the first voltage value. The first compensation parameter refers to the proportional coefficient, integral coefficient, and derivative coefficient in PID control. In practical applications, all or some of the proportional, integral, and derivative coefficients can be used as needed. For example, using the proportional and integral parts forms PI control, in which case the first compensation parameter includes both the proportional and integral coefficients.
[0127] In this embodiment, to improve the response speed of the voltage loop, the first compensation parameter is a variable parameter. When the load fluctuates significantly, a larger first compensation parameter can be used to quickly stabilize the output voltage at the preset voltage; when the fluctuation is small, a smaller first compensation parameter can be used to avoid large fluctuations in the output voltage.
[0128] In a specific implementation, the matching module 200 can also be used to determine a second difference between the power parameter and the preset power parameter; and to determine a first compensation parameter corresponding to the second difference based on the preset mapping relationship, wherein the second difference and the first compensation parameter are positively correlated.
[0129] Understandably, the second difference between the power parameter and the preset power parameter can represent the required adjustment range of the load, thereby determining the range of change in the first voltage value. A larger second difference indicates a larger change in the first voltage value; in this case, to quickly bring the first voltage value to the preset value, a larger first compensation parameter is used to compensate for the first difference. In specific implementation, the preset mapping relationship can include the correspondence between the second difference and the first compensation parameter. For example, when the second difference is between 0 and 200W, the corresponding first compensation parameter is A; when the second difference is between 200 and 500W, the corresponding first compensation parameter is B; and when the second difference is between 500 and 1000W, the corresponding first compensation parameter is C. The first compensation parameters A, B, and C can be pre-configured parameters, with C > B > A.
[0130] The calculation module 300 is used to determine the first difference between the first voltage value and the preset reference voltage value.
[0131] It should be noted that the preset reference voltage is the pre-set operating voltage of the load, which can be the rated voltage of the load. In voltage closed-loop control, the first voltage value needs to be maintained at this preset reference voltage value to ensure that the load has good operating conditions. In specific implementation, the first difference is obtained by performing a difference operation between the preset reference voltage value and the acquired first voltage value.
[0132] Furthermore, the required power and voltage vary depending on the load's operating environment. For example, a higher power is required to quickly reach operating conditions after power-on, while a lower power is needed to maintain those conditions once they are reached. To ensure the load has a suitable operating voltage during this process, a preset reference voltage value can be determined based on the power parameters. Specifically, the calculation module 300 can also be used to perform compensation calculations on the second difference based on preset second compensation parameters to obtain the preset reference voltage value.
[0133] It should be noted that the second compensation parameter is used to convert the power difference into a reference voltage value; when the second difference is large, the corresponding preset reference voltage value is also larger; the specific parameter can be set according to user needs, and this embodiment does not impose any restrictions here. When the operating power of the load switches, the corresponding preset reference voltage also changes accordingly, thereby gradually adjusting the first voltage to the corresponding preset reference voltage, ensuring the normal operation of the load.
[0134] The signal generation module 400 is used to generate a drive signal based on the first difference and the first compensation parameter.
[0135] Reference Figure 4 , Figure 4 This is a control logic diagram for one embodiment of the voltage regulation unit. (Example:) Figure 4 As shown, the driving signal can be a PWM (Pulse Width Modulation) signal. Of course, the driving signal can be other forms of signals, such as current signals. This embodiment uses a PWM signal as an example for explanation.
[0136] like Figure 4 In the control logic diagram shown, the first voltage value V DC The first difference Verr between the PID controller and the preset reference voltage value Vref is used as the input to the PID control section to generate a PWM signal. The adjustment parameter of the PID control section is the first compensation parameter.
[0137] The drive module 500 is used to send a drive signal to the voltage regulation unit so that the voltage regulation unit adjusts the first voltage value according to the drive signal.
[0138] Understandably, the voltage regulation unit 20 adjusts the voltage value input to the DC output unit 30 according to the PWM signal, thereby adjusting the first voltage value to approach a preset reference voltage value. Typically, when load fluctuations cause the first voltage value to increase, the voltage regulation unit 20 is controlled by the PWM signal to decrease the input voltage value of the DC output unit 30; conversely, the input voltage value of the DC output unit 30 is increased to maintain the stability of the first voltage value.
[0139] In this embodiment, a first difference is determined based on the first voltage value at the output terminal of the DC output unit 30 and a preset reference voltage value; then, a first compensation parameter is determined based on the power parameters of the load corresponding to the DC output unit 30; a drive signal is generated based on the first difference and the first compensation parameter; and the drive signal is sent to the voltage adjustment unit 20 so that the voltage adjustment unit 20 adjusts the first voltage value according to the drive signal. This embodiment adjusts the first voltage value output by the DC output unit 30 in the voltage loop, and simultaneously determines the adjustment parameters in the voltage loop based on the power parameters of the load, thereby enabling the first voltage value to quickly stabilize at the preset reference voltage and avoiding fluctuations in the first voltage value caused by load fluctuations at the power consumption end.
[0140] Other embodiments or specific implementations of the power module control device of the present invention can refer to the above-described method embodiments, and therefore have at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0141] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0142] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In the unit claims listing several devices, several of these devices may be embodied by the same hardware item. The use of the terms first, second, and third, etc., does not indicate any order and can be interpreted as names.
[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0144] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A power module control method, characterized in that, The power module includes a voltage regulation unit and a DC output unit, and the power module control method includes the following operations: Obtain the first voltage value at the output terminal of the DC output unit and the power parameters of the load corresponding to the DC output unit; A first compensation parameter is determined based on the power parameter, and the first compensation parameter includes the proportional coefficient, integral coefficient and derivative coefficient in PID control; Determine the first difference between the first voltage value and the preset reference voltage value; A driving signal is generated based on the first difference and the first compensation parameter; as well as, The drive signal is sent to the voltage regulation unit so that the voltage regulation unit adjusts the first voltage value according to the drive signal; Determining the first compensation parameter based on the power parameter includes: Determine the second difference between the power parameter and the preset power parameter; The first compensation parameter corresponding to the second difference is determined based on a preset mapping relationship, and the second difference is positively correlated with the first compensation parameter.
2. The power module control method as described in claim 1, characterized in that, The power supply module further includes a rectifier unit located at the front end of the DC output unit, and the step of generating a drive signal based on the first difference and the first compensation parameter includes: Based on the first compensation parameter, a compensation operation is performed on the first difference to obtain a reference current value; Obtain the first current value at the output terminal of the rectifier unit; and, A drive signal is generated based on a third difference between the reference current value and the first current value.
3. The power module control method as described in claim 2, characterized in that, The step of performing compensation calculations on the first difference based on the first compensation parameter to obtain the reference current value includes: Based on the first compensation parameter, a compensation operation is performed on the first difference to obtain a first compensation value; Obtain the second voltage value at the output terminal of the rectifier unit; and, A reference current value is determined based on the first compensation value and the second voltage value, wherein the reference current value is negatively correlated with the second voltage value.
4. The power module control method as described in claim 3, characterized in that, The step of obtaining the first current value at the output terminal of the rectifier unit includes: Determine the current amplifier factor corresponding to the power parameters; and, The target channel corresponding to the current amplifier factor is determined from multiple preset current amplifier channels, so as to obtain the first current value at the output terminal of the rectifier unit based on the target channel; each current amplifier channel corresponds to a different current amplifier factor.
5. The power module control method as described in claim 3, characterized in that, Determining the reference current value based on the first compensation value and the second voltage value includes: The average voltage of the rectifier unit output terminal within a preset time period is determined based on the second voltage value; A second compensation value is determined based on the average voltage value; and, The reference current value is determined based on the first compensation value, the second compensation value, and the second voltage value.
6. The power module control method as described in claim 1, characterized in that, Before determining the first difference between the first voltage value and the preset reference voltage value, the method further includes: The second difference is compensated based on the preset second compensation parameter to obtain the preset reference voltage value.
7. A power module control device, characterized in that, The power module includes a voltage regulation unit and a DC output unit connected to each other, and the power module control device includes: The acquisition module is used to acquire the first voltage value at the output terminal of the DC output unit and the power parameters of the load corresponding to the DC output unit; The matching module is used to determine a first compensation parameter based on the power parameter, wherein the first compensation parameter includes the proportional coefficient, integral coefficient and derivative coefficient in PID control; The calculation module is used to determine a first difference between the first voltage value and the preset reference voltage value; The signal generation module is configured to generate a driving signal based on the first difference and the first compensation parameter; and, The driving module is used to send the driving signal to the voltage regulation unit so that the voltage regulation unit adjusts the first voltage value according to the driving signal; The matching module is further configured to determine a second difference between the power parameter and a preset power parameter; and to determine a first compensation parameter corresponding to the second difference based on a preset mapping relationship, wherein the second difference is positively correlated with the first compensation parameter.
8. A power supply device, characterized in that, The power supply device includes a voltage regulation unit, a DC output unit, and a microcontroller unit, wherein the microcontroller unit is used to execute the power module control method as described in any one of claims 1-6.
9. An electrical appliance, characterized in that, The electrical appliance includes the power supply device as described in claim 8.
10. A storage medium, characterized in that, The storage medium stores a power module control program, which, when executed by a processor, implements the power module control method as described in any one of claims 1-6.