Integrated refrigerator inverter compressor control method, device, equipment and medium

By acquiring the compressor supply voltage signal and estimating the motor state based on a phase-locked loop algorithm, and combining it with a fixed-point control algorithm to generate a target voltage vector, the problem of high-performance motor control on a resource-constrained platform in the existing refrigerator variable-frequency compressor control method is solved. Efficient motor control is achieved under low-cost hardware conditions, meeting the needs of mid- and low-end refrigerator products.

CN120834748APending Publication Date: 2025-10-24SHENZHEN JUSHENG DEV CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510951418.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-10
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

Existing refrigerator variable frequency compressor control methods are difficult to achieve high-performance motor control on resource-constrained platforms. They have complex hardware structures, high costs, and are difficult to promote in mid- and low-end refrigerator products.

Method used

By acquiring the compressor's supply voltage signal, estimating the motor state based on a phase-locked loop algorithm, and combining it with a fixed-point control algorithm to generate a target voltage vector, high-performance voltage vector control is achieved without a position sensor, reducing hardware costs and improving control system integration.

Benefits of technology

It ensures the reliability and adaptability of the control strategy in the case of grid fluctuations or regional differences, reduces hardware costs and improves system operation efficiency, realizes the adaptability of the current closed-loop control system on a low-resource platform without increasing hardware complexity, realizes high-performance voltage vector control on a low-resource platform, and meets the commercialization needs of cost-sensitive refrigerator products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120834748A_ABST
    Figure CN120834748A_ABST
Patent Text Reader

Abstract

The invention relates to an integrated refrigerator inverter compressor control method, device and equipment and a medium, the method comprises the steps that a power supply voltage signal of a compressor is obtained, the voltage grade is determined according to the power supply voltage signal, and then corresponding operation control parameters are selected according to the voltage grade; based on the operation control parameters, feedback signals of the compressor are collected in the control period, and phase comparison and frequency synchronization processing are conducted on the feedback signals through a phase-locked loop algorithm so as to estimate the current motor state; triggering a current sampling task according to the current motor state and a preset switch time sequence, and executing data reconstruction calculation on current samples collected in different conduction states to obtain a current three-phase current value; based on the operation control parameters, the current motor state and the current three-phase current value, a target voltage vector is generated through a fixed-point control algorithm, and then a control instruction is output based on a space vector modulation strategy. The method has the effect of improving the efficiency of the motor control strategy.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of click control, and in particular to an integrated refrigerator variable frequency compressor control method, device, equipment and medium. BACKGROUND

[0002] At present, variable frequency compressors are widely used in household refrigerators to achieve fine control of the operating state of the compressor, thereby improving the energy efficiency ratio and temperature control accuracy. With the increasing demand for low-power, miniaturization and cost-sensitive solutions in the market, implementing high-performance motor control methods on resource-constrained hardware platforms has become a research and development hotspot.

[0003] The existing typical refrigerator variable frequency compressor control method usually relies on multi-channel current sampling hardware and high-performance MCUs to implement vector control. For example, a common solution obtains three-phase current through three sampling resistors, combines Hall or encoder sensors to achieve rotor position sensing, and performs complex voltage vector calculation and space vector PWM control on a 32-bit floating-point MCU. Although this method has high control accuracy, it has the following disadvantages: on the one hand, the hardware structure is complex, the cost is high, and the circuit board space requirement is large, which is not conducive to high integration and low-cost design; on the other hand, the control algorithm significantly depends on the performance of the MCU, making it difficult to deploy on low-resource platforms, limiting the application and promotion of the solution in low-end refrigerator products.

[0004] The existing technical solutions in the above have the following defects: the existing refrigerator variable frequency compressor control method is difficult to implement high-performance motor control strategies on resource-constrained platforms, and therefore there is room for improvement. SUMMARY

[0005] In order to improve the efficiency of the motor control strategy, the present application provides an integrated refrigerator variable frequency compressor control method, device, equipment and medium.

[0006] The above invention purpose of the present application is achieved by the following technical solutions: An integrated refrigerator variable frequency compressor control method, the method comprising: obtaining a power supply voltage signal of the compressor, determining a voltage level according to the power supply voltage signal, and then selecting corresponding operating control parameters according to the voltage level; based on the operating control parameters, collecting feedback signals of the compressor within a control period, and performing phase comparison and frequency synchronization processing on the feedback signals through a phase-locked loop algorithm to estimate the current motor state; triggering a current sampling task according to the current motor state and a preset switching timing, and performing data reconstruction calculation on current samples collected in different conduction states to obtain current three-phase current values; Based on the running control parameter, the current motor state and the current three-phase current value, a target voltage vector is generated through a fixed-point control algorithm, and then a control instruction is output based on a space vector modulation strategy.

[0007] By adopting the technical solution, the adaptive adjustment of the control behavior under different power supply conditions is realized by acquiring the supply voltage signal of the compressor and selecting the corresponding running control parameter according to the voltage level, so as to ensure the reliability and adaptability of the control strategy in the case of power grid fluctuation or regional difference. The real-time tracking of the motor frequency and rotor angle under the condition of no position sensor is realized by acquiring the feedback signal of the compressor in the control cycle based on the running control parameter and estimating the current motor state through the phase-locked loop algorithm, so as to reduce the hardware cost and improve the integration of the control system. The three-phase current information is obtained under the single-resistor structure by triggering the current sampling task and reconstructing the current according to the current motor state and the preset switching time sequence, so as to realize the reliable acquisition of the signals required for current closed-loop control without increasing the hardware complexity. The high-performance voltage vector control is realized on a low-resource processing platform by executing the fixed-point control algorithm based on the control parameter, the motor state and the three-phase current value and outputting the modulation instruction, so as to improve the system operation efficiency and meet the commercialization needs of cost-sensitive refrigerator products.

[0008] In an example, the application can be further configured to: determining the voltage level according to the supply voltage signal, and then selecting the corresponding running control parameter according to the voltage level, specifically comprising: numerically quantifying the acquired supply voltage signal and comparing it with a plurality of preset voltage interval thresholds; According to the comparison result, the supply voltage signal is divided into the corresponding voltage level, and the PI controller gain, PWM limited duty cycle and current limiting value are extracted as the running control parameter according to the voltage level index control parameter mapping table.

[0009] By adopting the technical solution, the current voltage level of the compressor can be accurately identified by numerically quantifying the supply voltage signal and comparing it with a plurality of voltage interval thresholds, so as to realize the accurate classification of the running state under different power supply environments. The consistency between the control strategy and the power grid state is ensured by extracting the PI controller gain, PWM duty cycle limit and current limit value and other control parameters according to the voltage level index control parameter mapping table, so as to avoid the problems of high energy consumption or unstable operation and improve the adaptability of the control system to power supply fluctuations.

[0010] The application can be further configured in an example as follows: the phase comparison and frequency synchronization processing of the feedback signal by the phase-locked loop algorithm is used to estimate the current motor state, and the current click state includes a frequency value and an electrical angle, and specifically includes: The feedback signal and a preset reference signal are input into a phase comparator to obtain a phase error signal representing a motor speed deviation; The phase error signal is subjected to digital low-pass filtering processing to filter out high-frequency jitter caused by noise or carrier modulation to obtain a smooth control quantity; The smooth control quantity is input into a frequency adjustment unit in the phase-locked loop to estimate the frequency value by a proportional-integral adjustment structure, and the frequency estimation value is continuously integrated into the electrical angle.

[0011] By using the above technical solution, the phase error signal is calculated by inputting the feedback signal and the reference signal into the phase comparator, which can reflect the synchronization deviation between the actual running state and the expected state of the motor in real time, thereby providing an accurate basis for subsequent frequency synchronization control. By subjecting the phase error signal to low-pass filtering processing, the influence of high-frequency noise and modulation jitter on control accuracy can be effectively suppressed, thereby improving the frequency estimation stability and anti-interference ability. By inputting the filtered control quantity into the frequency adjustment unit and combining the proportional-integral structure to generate the frequency estimation value and then integrating to generate the electrical angle, the continuous recursion of the motor electrical angle on the time axis can be realized, thereby realizing high-precision estimation of the rotor position in the sensorless state, which helps to improve the stability and response speed of the vector control system.

[0012] The application can be further configured in an example as follows: the frequency value is estimated by the proportional-integral adjustment structure, and the electrical angle is generated by continuously integrating the frequency estimation value, and specifically includes: In each control period, the proportional component and the integral component of the phase error signal are respectively weighted by a fixed-point number format, and the frequency value is output by iterative accumulation; The frequency estimation value of the current period is multiplied by the time length of the control period to obtain an electrical angle increment, and then the electrical angle increment is added to the electrical angle output result of the last period to obtain the electrical angle of the current period.

[0013] By adopting the technical scheme, the proportional and integral components of the phase error signal are respectively weighted and processed, and the frequency value is iteratively output, so that the dynamic adjustment of the error signal to the frequency signal can be realized with low calculation complexity, thereby adapting to the resource-limited microcontroller platform and ensuring the control real-time performance; the frequency estimation value is multiplied by the control period length to calculate the electrical angle increment, which is added to the electrical angle of the previous period, so that the continuous updating and time synchronization of the electrical angle can be realized, thereby avoiding the control interference problem caused by the angle jump, and further improving the accuracy and stability of the space vector modulation strategy under dynamic working conditions.

[0014] In an example, the application can be further configured to: trigger a current sampling task according to the current motor state and a preset switching time sequence, and perform data reconstruction calculation on the current samples collected in different conduction states to obtain the current three-phase current value, specifically including: determine the conduction phase of the current working interval according to the current motor state, and select the corresponding sampling window and trigger a current sampling operation according to the preset power device conduction time sequence, so as to collect the bus current value through a single current detection resistor; Based on the current power switch state and the current path mapping relationship, the reconstruction algorithm is called to decouple and calculate the bus current to obtain the three-phase current value at the current time.

[0015] By adopting the above technical scheme, the conduction phase is determined according to the current motor state, and the current sampling is triggered by selecting the sampling window according to the switching time sequence, so that the sampling time and the motor conduction state can be accurately corresponded, thereby improving the sampling effectiveness and data reliability under the single-resistor structure; by reconstructing and calculating the bus current based on the mapping relationship between the conduction state and the current path, the complete three-phase current component can be calculated from the single-point current value, thereby realizing the full-current input required by the vector control while simplifying the hardware structure, and enhancing the application ability of the control system in the low-cost scene.

[0016] In an example, the application can be further configured to: generate a target voltage vector by a fixed-point control algorithm, and then output a control instruction based on a space vector modulation strategy, specifically including: Based on the running control parameters and the current motor state, determine the target q-axis current and d-axis current reference values, and convert the current three-phase current value to d-axis and q-axis current components through coordinate transformation; determine the target current and the current component, and perform proportional-integral control under the fixed-point number structure to obtain the target q-axis and d-axis voltage values, which constitute the target voltage vector; determine the position and sector of the target voltage vector in the space vector plane, and calculate the action time of the main vector and the zero vector according to the sector number, and then generate and output the control instruction.

[0017] By adopting the technical scheme, the target q-axis and d-axis current reference values are determined based on the running parameters and the current motor state, and the coordinate transformation is performed, so that consistent expression of the control target and the current motor state is established in the synchronous rotating coordinate system, thereby enhancing the control closed-loop precision; the proportional-integral control operation is performed on the target and actual current values to generate the target voltage vector, so that the output voltage direction and amplitude can be adjusted in real time to match the load demand, thereby improving the dynamic response performance of the controller; the target voltage vector is used for sector judgment and calculation of the main vector and zero vector action time, so that space vector modulation can be efficiently realized and high-quality PWM control signals can be generated, thereby improving the inverter efficiency and reducing the output waveform distortion rate, further improving the motor operation stability and energy efficiency performance.

[0018] The second application purpose of the present application is achieved by the following technical scheme: An integrated refrigerator variable frequency compressor control device, the device comprises: A voltage parameter configuration module is configured to obtain a power supply voltage signal of the compressor, determine a voltage level according to the power supply voltage signal, and then select corresponding running control parameters according to the voltage level; A state estimation module is configured to collect feedback signals of the compressor within a control period based on the running control parameters, and perform phase comparison and frequency synchronization processing on the feedback signals through a phase-locked loop algorithm to estimate the current motor state; A current reconstruction module is configured to trigger a current sampling task according to the current motor state and a preset switching time sequence, and perform data reconstruction calculation on current samples collected in different conduction states to obtain current three-phase current values; A voltage control output module is configured to generate a target voltage vector through a fixed-point control algorithm based on the running control parameters, the current motor state and the current three-phase current values, and then output a control instruction based on a space vector modulation strategy.

[0019] By adopting the technical scheme, the adaptive adjustment of the control behavior under different power supply conditions can be realized by acquiring the power supply voltage signal of the compressor and selecting the corresponding operation control parameter according to the voltage level, so as to ensure the reliability and adaptability of the control strategy in the case of power grid fluctuation or regional difference; the real-time tracking of the motor frequency and rotor angle under the condition of no position sensor can be realized by acquiring the feedback signal of the compressor in the control cycle based on the operation control parameter and estimating the current motor state through the phase-locked loop algorithm, so as to reduce the hardware cost and improve the integration of the control system; the three-phase current information can be obtained under the single-resistor structure by triggering the current sampling task and performing current reconstruction according to the current motor state and the preset switching time sequence, so as to realize the reliable acquisition of the signals required for current closed-loop control without increasing the hardware complexity; the high-performance voltage vector control can be realized on the low-resource processing platform by executing the fixed-point control algorithm based on the control parameter, the motor state and the three-phase current value and outputting the modulation instruction, so as to improve the system operation efficiency and meet the commercialization needs of the cost-sensitive refrigerator products.

[0020] The fourth purpose of the present application is achieved by the following technical scheme: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to realize the steps of the integrated refrigerator variable frequency compressor control method.

[0021] The fourth purpose of the present application is achieved by the following technical scheme: A computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the integrated refrigerator variable frequency compressor control method.

[0022] In summary, the present application has the following beneficial technical effects: 1. By acquiring the supply voltage signal of the compressor and selecting the corresponding operating control parameters according to the voltage level, the adaptive adjustment of the control behavior under different power supply conditions can be realized, thereby ensuring the reliability and adaptability of the control strategy in the presence of power grid fluctuations or regional differences; by estimating the current motor state based on the operating control parameters, the feedback signal of the compressor is collected within the control period and the current motor state is estimated by the phase-locked loop algorithm, the real-time tracking of the motor frequency and rotor angle can be realized without position sensor, thereby reducing the hardware cost and improving the integration of the control system; by triggering the current sampling task according to the current motor state and the preset switching timing and reconstructing the current, three-phase current information can be obtained under single-resistor structure, thereby realizing reliable acquisition of the signals required for current closed-loop control without increasing hardware complexity; by executing the fixed-point control algorithm based on the control parameters, motor state and three-phase current value and outputting the modulation instruction, high-performance voltage vector control can be realized on a low-resource processing platform, thereby improving system operation efficiency and meeting the commercialization needs of cost-sensitive refrigerator products; 2. By quantizing the supply voltage signal and comparing it with multiple voltage interval thresholds, the current voltage level of the compressor can be accurately identified, thereby realizing accurate classification of the operating state under different power supply environments; by extracting the PI controller gain, PWM duty cycle limit and current limit and other control parameters according to the voltage level index control parameter mapping table, the consistency between the control strategy and the grid state can be ensured, thereby avoiding the problems of excessive energy consumption or unstable operation and improving the adaptability of the control system to power fluctuations; 3. By inputting the feedback signal and the reference signal into the phase comparator to calculate the phase error signal, the synchronization deviation between the actual operating state and the expected state of the motor can be reflected in real time, thereby providing an accurate basis for subsequent frequency synchronization control; by low-pass filtering the phase error signal, the influence of high-frequency noise and modulation jitter on control accuracy can be effectively suppressed, thereby improving the stability and anti-interference ability of frequency estimation; by inputting the filtered control quantity into the frequency regulation unit and generating the frequency estimation value combined with the proportional-integral structure and then integrating to generate the electrical angle, the continuous recursion of the motor electrical angle on the time axis can be realized, thereby realizing high-precision estimation of the rotor position under sensorless state, which helps to improve the stability and response speed of the vector control system. BRIEF DESCRIPTION OF DRAWINGS

[0023] Figure 1 is a flowchart of the integrated refrigerator variable frequency compressor control method in an embodiment of the present application; Figure 2 is an implementation flowchart of step S10 in the integrated refrigerator variable frequency compressor control method in an embodiment of the present application; Figure 3is an implementation flowchart of step S20 in the integrated refrigerator variable frequency compressor control method in an embodiment of the present application. Figure 4 is an implementation flowchart of step S23 in the integrated refrigerator variable frequency compressor control method in an embodiment of the present application. Figure 5 is an implementation flowchart of step S30 in the integrated refrigerator variable frequency compressor control method in an embodiment of the present application. Figure 6 is an implementation flowchart of step S40 in the integrated refrigerator variable frequency compressor control method in an embodiment of the present application. Figure 7 is a principle block diagram of the integrated refrigerator variable frequency compressor control device in an embodiment of the present application. Figure 8 is a device schematic diagram in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The present application will be further described in detail below in combination with the accompanying drawings.

[0025] In an embodiment, as shown in Figure 1 the present application discloses an integrated refrigerator variable frequency compressor control method, specifically comprising the following steps: S10: obtaining a power supply voltage signal of the compressor, determining a voltage level according to the power supply voltage signal, and then selecting corresponding operation control parameters according to the voltage level.

[0026] Specifically, the real-time voltage signal of the compressor operating power supply is obtained through a sampling circuit, and the signal is analyzed and processed in the control program, the numerical amplitude thereof is extracted as a judgment basis, and condition matching is performed in combination with a preset voltage level division rule, to judge whether the current voltage belongs to a high voltage, medium voltage or low voltage operating interval, and on the basis of the judgment result, a group of operation parameters adapted to the voltage level is selected from the control parameter management module, and the group of parameters is loaded into a global variable pool used in the current control process, for subsequent control stage execution.

[0027] S20: based on the operation control parameters, collecting feedback signals of the compressor in a control cycle, and performing phase comparison and frequency synchronization processing on the feedback signals through a phase-locked loop algorithm, to estimate the current motor state.

[0028] Specifically, when entering a new control cycle, first, the feedback signal acquisition module is called to sample the operation feedback signal of the compressor motor, which is a waveform signal generated by the motor end operation state, and after sampling, it is input into the phase-locked control module for subsequent processing. By comparing the sampled feedback with the reference signal, the phase deviation information is extracted, and the phase-locked loop logic is combined for synchronous adjustment, thereby realizing the estimation of the current motor state, which includes the running frequency and the electrical angle, which is used as a key reference for subsequent sampling tasks and voltage control.

[0029] S30: Trigger the current sampling task according to the current motor state and the preset switching timing, and perform data reconstruction calculation on the current samples collected in different conduction states to obtain the current three-phase current value.

[0030] Specifically, after obtaining the current motor state information in the control flow, the electrical angle position represented by the state is used to determine which conduction phase the current motor is in, and the preset switching logic table is queried to obtain the conduction state of the power device corresponding to the current phase, thereby determining the effective current sampling window. Then, the sampling scheduling function is called to perform a current sampling action in the corresponding period, record the bus current value detected by the current sampling resistor at this time, and input the value into the current decoupling calculation module. According to the switching state to which the sampling point belongs, the value is path-parsed to calculate the complete three-phase current information at this moment for subsequent control.

[0031] S40: Based on the running control parameters, the current motor state and the current three-phase current value, generate the target voltage vector through the fixed-point control algorithm, and then output the control instruction based on the space vector modulation strategy.

[0032] Specifically, when performing control calculation, the running control parameters are extracted from the parameter management module, the current motor state information is obtained from the state estimation module, and the current three-phase current value is obtained from the current calculation module. These three input quantities are used as the input basis for this round of control calculation, and the control solving module is called to execute the calculation process of the target voltage vector. The voltage vector required for the control instruction is generated by comparing the deviation between the current and the expected control state, and after generation, the modulation module is called to project the voltage vector into the space vector coordinate system to complete the modulation transformation, thereby outputting the three-phase control signal that can be used for driving the controller to execute.

[0033] In an embodiment, as shown in Figure 2 In step S10, the voltage level is determined according to the power supply voltage signal, and then the corresponding running control parameters are selected according to the voltage level, specifically including: S11: Quantize the collected power supply voltage signal and compare it with the preset multiple voltage interval thresholds.

[0034] Specifically, when performing numerical analysis on the collected power supply voltage signal, the original analog voltage signal is first converted into a digital quantity through the ADC module, and the value is sent to the voltage processing module. It is compared step by step with the preset voltage level upper and lower limits according to the set threshold rules. The comparison process determines in a sequential matching manner whether the value is in the predefined low voltage, medium voltage or high voltage range. After the matching is completed, the corresponding level identification code is returned as the basis for subsequent parameter indexing.

[0035] S12: According to the comparison result, the power supply voltage signal is divided into corresponding voltage levels, and the control parameter mapping table is indexed according to the voltage level to extract the corresponding PI controller gain, PWM limit duty cycle and current limit value as operation control parameters.

[0036] Specifically, after obtaining the voltage level identification code, the parameter mapping table is accessed based on the level code as an index. The table pre-defines the operating control parameter set corresponding to each voltage level. Each parameter set contains several key control factors, including the proportional and integral gain parameters of the PI controller, the maximum duty cycle limit threshold generated by the PWM waveform, the current limit protection parameters, etc. By reading these parameters one by one and assigning them to the configuration register variables in the control module, the function of automatically adjusting the control model behavior for different voltage levels is realized.

[0037] In one embodiment, if Figure 3 As shown, in step S20, the feedback signal is subjected to phase comparison and frequency synchronization processing by a phase-locked loop algorithm to estimate the current motor state. The current click state includes the frequency value and the electrical angle, specifically including: S21: The feedback signal and the preset reference signal are input into a phase comparator to obtain a phase error signal representing the motor speed deviation.

[0038] Specifically, in each control cycle, the feedback waveform signal from the motor end is collected by the signal acquisition module. The signal originates from the back electromotive force induction or other operating status sensing circuit. The collected value and the reference sinusoidal reference signal generated inside the controller are then passed as a set of inputs to the digital phase comparator to perform phase difference calculation. The comparator detects the phase starting point, zero crossing point or periodic offset of the two sets of signals, and outputs a set of error signals representing the relative phase deviation between the two sets of signals. This signal is used to describe the synchronization gap between the current motor speed and the desired speed.

[0039] S22: Perform digital low-pass filtering on the phase error signal to filter out high-frequency jitter caused by noise or carrier modulation to obtain a smooth control value.

[0040] Specifically, after the phase error signal is generated, it enters the filtering processing process. This process calls the preset FIR or IIR type digital low-pass filter in the software to run. The error signal is sent to the input of the filter in each control cycle. The filter performs weighted averaging on the historical data according to its impulse response structure to weaken the interference of high-frequency disturbances and sharp fluctuations on the system control response. The output signal after filtering presents a slowly varying, continuous error curve with good controllability and stability, and is suitable as the control variable input of the subsequent frequency estimation module.

[0041] S23: Input the smoothing control amount into the frequency adjustment unit in the phase-locked loop, estimate the frequency value through the proportional-integral adjustment structure, and continuously integrate the frequency estimation value into an electrical angle.

[0042] Specifically, the filtered error signal is input as the control quantity of the current cycle to the frequency adjustment unit inside the digital phase-locked loop structure. At this stage, the control process first performs a joint operation of proportional adjustment and integral adjustment, multiplies the current error value by a preset proportional coefficient to generate a proportional term with a faster response speed, and at the same time accumulates the error value and multiplies it by the integral coefficient to generate an integral term with a smooth response. The proportional output and the integral output are then added to form a frequency estimate value, which reflects the current speed trend of the motor rotation. The frequency value is then multiplied by the time length of the current control cycle to generate an electrical angle increment, which is then accumulated with the electrical angle of the previous cycle to obtain the continuous electrical angle output value of this cycle.

[0043] In one embodiment, if Figure 4 As shown, in step S23, the frequency value is estimated by using the proportional-integral regulation structure, and the frequency estimation value is continuously integrated to generate the electrical angle, which specifically includes: S231: In each control cycle, weighted processing is performed on the proportional component and the integral component of the phase error signal using a fixed-point number format, and a frequency value is outputted through iterative accumulation.

[0044] Specifically, after the filtering result is sent into the phase-locked loop structure, it first enters the PI adjustment unit composed of proportional gain and integral gain. This unit performs a calculation once per control cycle, multiplies the error signal of the current cycle by the proportional coefficient and the integral coefficient respectively, and then superimposes them to form a frequency estimation output value. This output value represents the instantaneous frequency of the motor rotation at the current moment.

[0045] S232: Multiply the frequency estimation value of the current cycle by the time length of the control cycle to obtain an electrical angle increment, and then add the electrical angle increment to the electrical angle output result of the previous cycle to obtain the electrical angle of the current cycle.

[0046] Specifically, in each control cycle, the control flow calls the digital PI controller to read the current phase error in fixed-point format as an input signal, first performs a weighted calculation on the error according to a preset proportional gain to generate a proportional output, then adds the current error value to the integral register and multiplies it by the integral gain to generate an integral output, and finally adds the proportional output and the integral output to form an instantaneous frequency estimate, which is multiplied by the time length parameter of the current control cycle to generate an electrical angle increment, which is then added to the last cycle electrical angle value stored in the angle cache register to obtain the cumulative electrical angle result of the current cycle and update the angle cache for use in the next cycle.

[0047] In an embodiment, as shown in FIG. 30, in step S30, a current sampling task is triggered according to the current motor state and the preset switching timing, and data reconstruction calculation is performed on the current samples collected in different conduction states to obtain the current three-phase current value, which specifically includes: Figure 5 S31: Determine the conduction phase of the current operating interval according to the current motor state, and select the corresponding sampling window and trigger a current sampling operation according to the preset power device conduction timing, and collect the bus current value through a single current detection resistor.

[0048] Specifically, according to the current motor electrical angle information obtained in the control flow, the conduction state configuration table is matched to identify which pair of power devices in the current three-phase drive bridge is in the conduction state, and the corresponding effective current sampling window start and end time is obtained through the scheduling module, and a sampling command is started by calling the ADC sampling function at the opening of the window to read the instantaneous current value detected by the bus current sampling resistor. The value is input as the current bus current input into the subsequent reconstruction calculation process, and the sampling process is subject to the PWM duty cycle and dead zone protection logic, and is only allowed in the effective conduction state.

[0049] S32: Based on the current power switch state and the current path mapping relationship, the reconstruction algorithm is called to decouple the bus current to obtain the three-phase current value at the current time.

[0050] Specifically, after obtaining the bus current sample, the conduction state corresponding to the current sampling time is input as an index into the current path mapping module, which deduces which two phases in the three phases participate in the current path according to the conduction state of the power device, thereby determining the mapping relationship between the bus current and the phase current. Subsequently, enter the reconstruction calculation module, perform decoupling calculation operation on the bus current according to the mapping relationship, respectively obtain the approximate values of Ia, Ib and Ic, and if necessary, time correction and boundary truncation are performed on the sampling error, and finally generate the three-phase current estimation result at the current time for the next step of control calculation.

[0051] ​In one embodiment, if Figure 6 As shown, in step S40, the target voltage vector is generated by a fixed-point control algorithm, and then a control instruction is output based on the space vector modulation strategy, which specifically includes: S41: Based on the operation control parameters and the current motor state, the target q-axis current and the d-axis current reference values ​​are determined, and the current three-phase current values ​​are converted into d-axis and q-axis current components through coordinate transformation.

[0052] Specifically, in each control cycle, the current operating control parameters are obtained by calling the parameter management interface, and the electrical angle and frequency values ​​provided by the motor state estimation module are used as the input basis. The latest three-phase current value is input into the coordinate transformation module. The three-phase current value is first converted from the abc three-phase coordinate system to the αβ two-phase stationary coordinate system current component through Clarke transformation, and then further mapped to the rotating synchronous coordinate system composed of the d-axis and q-axis through Park transformation, so as to obtain the d-axis and q-axis current values ​​at the current moment. On this basis, a set of target q-axis current and d-axis current reference values ​​are derived according to the current operating target for subsequent control difference calculation.

[0053] S42: Calculate the difference between the target current and the current component, and perform proportional-integral control under a fixed-point number structure to obtain target q-axis and d-axis voltage values ​​to form a target voltage vector.

[0054] Specifically, after calculating the difference between the target q-axis and d-axis current reference values ​​and the current components of the current actual coordinate system, they are respectively used as the input of the proportional-integral regulator to perform the current control adjustment operation of the current cycle. The target d-axis voltage and q-axis voltage components are obtained by calculation. The combination of the two constitutes the current target voltage vector, which is then sent to the voltage modulation module as output. The target vector will represent the ideal spatial voltage required to be applied to the motor end for the current control target, and is used to drive the compressor to maintain stable operation under the current working conditions.

[0055] S43: Determine the position and sector of the target voltage vector in the space vector plane, and calculate the action time of the main vector and the zero vector according to the sector number, and then generate and output a control instruction.

[0056] Specifically, after receiving the target voltage vector, the space vector modulation module is called to analyze the relative angle and amplitude position of the vector in the two-dimensional space voltage coordinate system, and then determine the modulation sector number in which it is currently located. According to the combination of the main vector and the zero vector corresponding to the sector, the length of time that each action vector should be maintained is calculated. Subsequently, the corresponding duty cycle update value is generated according to the current state of the three-phase PWM channel, and the updated value is written to the corresponding register of the PWM controller. It is automatically loaded and enabled in the next PWM cycle, thereby completing the output process of the control instruction of this cycle and realizing precise adjustment of the compressor control signal.

[0057] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0058] In one embodiment, an integrated refrigerator variable frequency compressor control device is provided, and the integrated refrigerator variable frequency compressor control device corresponds to the integrated refrigerator variable frequency compressor control method in the above embodiment. Figure 7 As shown, the integrated refrigerator variable frequency compressor control device includes a voltage parameter configuration module, a state estimation module, a current reconstruction module, and a voltage control output module. The functional modules are described in detail as follows: A voltage parameter configuration module is used to obtain the compressor's supply voltage signal, determine the voltage level based on the supply voltage signal, and then select the corresponding operation control parameters based on the voltage level; The state estimation module is used to collect the feedback signal of the compressor within the control cycle based on the operating control parameters, and perform phase comparison and frequency synchronization processing on the feedback signal through the phase-locked loop algorithm to estimate the current motor state; The current reconstruction module is used to trigger the current sampling task according to the current motor state and the preset switching timing, and perform data reconstruction calculations on the current samples collected under different conduction states to obtain the current three-phase current values; The voltage control output module is used to generate the target voltage vector through a fixed-point control algorithm based on the operating control parameters, the current motor state and the current three-phase current value, and then output the control instruction based on the space vector modulation strategy.

[0059] Optionally, the voltage parameter configuration module specifically includes: The voltage level identification submodule is used to quantify the collected power supply voltage signal and compare it with multiple preset voltage interval thresholds; The parameter mapping extraction submodule is configured to divide the power supply voltage signal into corresponding voltage levels according to the comparison result, and control a parameter mapping table according to a voltage level index to extract a corresponding PI controller gain, a PWM limited duty ratio and a current limiting value as an operation control parameter.

[0060] Optionally, the state estimation module specifically comprises: The phase deviation calculation submodule is configured to input the feedback signal and a preset reference signal into a phase comparator to obtain a phase error signal representing a motor speed deviation; The filter processing submodule is configured to perform digital low-pass filtering processing on the phase error signal to filter out high-frequency jitter caused by noise or carrier modulation to obtain a smooth control quantity; The frequency and angle estimation submodule is configured to input the smooth control quantity into a frequency adjustment unit in a phase-locked loop to estimate a frequency value through a proportional-integral adjustment structure, and continuously integrate the frequency estimation value into an electrical angle.

[0061] Optionally, the frequency and angle estimation submodule specifically comprises: The frequency calculation unit is configured to, in each control period, perform weighted processing on a proportional component and an integral component of the phase error signal through a fixed-point number format, and output a frequency value through an iterative accumulation manner; The electrical angle updating unit is configured to multiply the frequency estimation value of the current period by a time length of the control period to obtain an electrical angle increment, and then add the electrical angle increment to an electrical angle output result of the last period to obtain an electrical angle of the current period.

[0062] Optionally, the current reconstruction module specifically comprises: The conduction state discrimination submodule is configured to determine a conduction phase of a current working interval according to a current motor state, and select a corresponding sampling window and trigger a current sampling operation according to a preset power device conduction timing through a single current detection resistor to collect a bus current value; The three-phase current reconstruction submodule is configured to call a reconstruction algorithm to perform decoupling calculation on the bus current based on a current power switch state and a current path mapping relationship to obtain a three-phase current value at the current time.

[0063] Optionally, the voltage control output module specifically comprises: The coordinate transformation submodule is configured to determine target q-axis current and d-axis current reference values based on the operation control parameter and the current motor state, and convert the current three-phase current value into d-axis and q-axis current components through coordinate transformation; The voltage vector calculation submodule is configured to perform difference calculation on the target current and the current components, and perform proportional-integral control in a fixed-point number structure to obtain target q-axis and d-axis voltage values to form a target voltage vector; The PWM modulation output submodule is configured to determine the position of the target voltage vector in the space vector plane and the sector, and calculate the action time of the main vector and the zero vector according to the sector number, and then generate and output the control instruction.

[0064] The specific definition of the integrated refrigerator variable frequency compressor control device can refer to the definition of the integrated refrigerator variable frequency compressor control method in the foregoing, and will not be described here. Each module in the integrated refrigerator variable frequency compressor control device can be realized by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to call and execute the operations corresponding to the above-mentioned modules by the processor.

[0065] In one embodiment, a computer device, which can be a server, is provided, and an internal structure diagram of the computer device can be as shown in Figure 8 The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement an integrated refrigerator variable frequency compressor control method.

[0066] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the following steps when executing the computer program: Obtaining a power supply voltage signal of the compressor, determining a voltage level according to the power supply voltage signal, and then selecting corresponding operation control parameters according to the voltage level; Based on the operation control parameters, collecting feedback signals of the compressor within a control period, and performing phase comparison and frequency synchronization processing on the feedback signals through a phase-locked loop algorithm to estimate the current motor state; Triggering a current sampling task according to the current motor state and a preset switching timing, and performing data reconstruction calculation on the current samples collected in different conduction states to obtain current three-phase current values; Based on the operation control parameters, the current motor state, and the current three-phase current values, generating a target voltage vector through a fixed-point control algorithm, and then outputting a control instruction based on a space vector modulation strategy.

[0067] In one embodiment, a computer readable storage medium is provided, and a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to implement the following steps: An electric power supply voltage signal of the compressor is acquired, a voltage level is determined according to the electric power supply voltage signal, and a corresponding operation control parameter is selected according to the voltage level; Based on the operation control parameter, a feedback signal of the compressor is acquired within a control period, and a phase comparison and frequency synchronization processing is performed on the feedback signal by a phase-locked loop algorithm to estimate a current motor state; The current motor state and a preset switching time sequence are triggered to perform a current sampling task, and data reconstruction calculation is performed on current samples collected in different conduction states to obtain a current three-phase current value; Based on the operation control parameter, the current motor state and the current three-phase current value, a target voltage vector is generated by a fixed-point control algorithm, and a control instruction is output based on a space vector modulation strategy.

[0068] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware, and the computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In the embodiments provided in the present application, any reference to memory, storage, database or other medium can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0069] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.

[0070] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit the present application; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A method for controlling an integrated refrigerator variable frequency compressor, characterized in that: The method comprises: acquiring a power supply voltage signal of the compressor, determining a voltage level according to the power supply voltage signal, and then selecting a corresponding operation control parameter according to the voltage level; based on the operation control parameter, collecting a feedback signal of the compressor in a control period, and performing phase comparison and frequency synchronization processing on the feedback signal through a phase-locked loop algorithm to estimate a current motor state; according to the current motor state and a preset switching timing, triggering a current sampling task, and performing data reconstruction calculation on current samples collected in different conduction states to obtain a current three-phase current value; based on the operation control parameter, the current motor state and the current three-phase current value, generating a target voltage vector through a fixed-point control algorithm, and then outputting a control instruction based on a space vector modulation strategy.

2. The integrated refrigerator variable frequency compressor control method of claim 1, wherein, The determination of the voltage level according to the power supply voltage signal, and then the selection of the corresponding operation control parameter according to the voltage level, specifically comprises: numerical quantization is performed on the collected power supply voltage signal, and comparison is made with a plurality of preset voltage interval thresholds; according to the comparison result, the power supply voltage signal is divided into a corresponding voltage level, and according to the voltage level index control parameter mapping table, the corresponding PI controller gain, PWM limited duty cycle and current amplitude value are extracted as the operation control parameter.

3. The integrated refrigerator variable frequency compressor control method of claim 1, wherein, The phase comparison and frequency synchronization processing on the feedback signal through the phase-locked loop algorithm to estimate the current motor state, the current click state including the frequency value and the electric angle, specifically comprises: the feedback signal and a preset reference signal are input into a phase comparator to obtain a phase error signal representing the motor speed offset; the phase error signal is subjected to digital low-pass filtering to filter out high-frequency jitter caused by noise or carrier modulation, and a smooth control quantity is obtained; the smooth control quantity is input into a frequency adjustment unit in the phase-locked loop, and the frequency value is estimated through a proportional-integral adjustment structure, and the frequency estimated value is continuously integrated into the electric angle.

4. The integrated refrigerator variable frequency compressor control method of claim 3, wherein, The estimation of the frequency value through the proportional-integral adjustment structure, and the generation of the electric angle by continuously integrating the frequency estimated value, specifically comprises: in each control period, the proportional component and the integral component of the phase error signal are weighted through fixed-point number format, and the frequency value is output through iterative accumulation; the frequency estimated value of the current period is multiplied by the time length of the control period to obtain an electric angle increment, and then the electric angle increment is added to the electric angle output result of the last period to obtain the electric angle of the current period.

5. The integrated refrigerator variable frequency compressor control method of claim 1, wherein, The current three-phase current value obtained by triggering the current sampling task according to the current motor state and the preset switching timing, and performing data reconstruction calculation on the current samples collected in different conduction states, specifically comprises: determine the conduction phase of the current working interval according to the current motor state, and select the corresponding sampling window and trigger a current sampling operation according to the preset power device conduction timing through a single current detection resistor to collect the bus current value; Based on the current power switch state and the current path mapping relationship, the reconstruction algorithm is called to decouple the calculation of the bus current, and the three-phase current value at the current time is obtained.

6. The integrated refrigerator variable frequency compressor control method of claim 1, wherein, The target voltage vector is generated by the fixed-point control algorithm, and then the control instruction is output based on the space vector modulation strategy, specifically including: Based on the operation control parameter and the current motor state, the target q-axis current and d-axis current reference value are determined, and the current three-phase current value is converted into d-axis and q-axis current components through coordinate transformation; The target current and the current component are difference calculated, and the proportional-integral control is executed under the fixed-point number structure to obtain the target q-axis and d-axis voltage value, which constitutes the target voltage vector; The position and sector of the target voltage vector in the space vector plane are determined, and the action time of the main vector and the zero vector is calculated according to the sector number, and then the control instruction is generated and output.

7. An integrated refrigerator variable frequency compressor control device, characterized by, The device comprises: The voltage parameter configuration module is used to obtain the power supply voltage signal of the compressor, determine the voltage grade according to the power supply voltage signal, and then select the corresponding operation control parameter according to the voltage grade; The state estimation module is used to acquire the feedback signal of the compressor within a control period based on the operation control parameter, and perform phase comparison and frequency synchronization processing on the feedback signal through the phase-locked loop algorithm to estimate the current motor state; The current reconstruction module is used to trigger the current sampling task according to the current motor state and the preset switch timing, and perform data reconstruction calculation on the current samples collected under different conduction states to obtain the current three-phase current value; The voltage control output module is used to generate the target voltage vector by the fixed-point control algorithm based on the operation control parameter, the current motor state and the current three-phase current value, and then output the control instruction based on the space vector modulation strategy.

8. The integrated refrigerator variable frequency compressor control device of claim 7, wherein, The voltage parameter configuration module specifically comprises: The voltage grade identification submodule is used to quantize the collected power supply voltage signal and compare it with the preset multiple voltage interval thresholds; The parameter mapping extraction submodule is used to divide the power supply voltage signal into the corresponding voltage grade according to the comparison result, and extract the corresponding PI controller gain, PWM limited duty cycle and current limiting value as the operation control parameter according to the voltage grade index control parameter mapping table.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to realize the steps of the integrated refrigerator variable frequency compressor control method according to any one of claims 1 to 6.

10. A computer-readable storage medium storing a computer program, characterized in that: The computer program is executed by the processor to realize the steps of the integrated refrigerator variable frequency compressor control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • A stepper motor microstepping drive device with constant current vector amplitude control

    CN102263536A

  • Position sensor-free double closed-loop speed regulation control method for brushless DC motor

    CN103248294A

  • Square wave injection sensorless control method for single current sensor system

    CN114977956A

  • Multi-scene intelligent frequency converter based on dual optimization control and use method thereof

    CN115663841A

  • Motor control method of food processor and food processor

    CN117938009A