Special data communication variable frequency pump for air source heat pump
Through the special data communication frequency conversion pump for air source heat pump, the temperature sensor and a microcontroller are used to monitor the temperature difference of the supply and return water in real time, and combined with Kalman filter and genetic algorithm to optimize the water pump frequency, the problem of the limitations of the water pump frequency fixation and control strategy in the traditional air source heat pump system is solved, and the system is efficient, intelligent and automated.
Patent Information
- Application Number
- CN202510535395.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2025-07-25
AI Technical Summary
The operating frequency of the water pump in the traditional air source heat pump system is fixed and cannot be adjusted in real time according to the system needs, resulting in low operating efficiency and high energy consumption. The existing frequency converter pump technology is difficult to install, has high maintenance costs and strong control strategies, and it cannot be fully matched with the air source heat pump system.
The special data communication frequency conversion pump for air source heat pump is adopted, and the temperature difference of the supply and return water is monitored through the temperature sensor, and the frequency adjustment is performed in real time by using a microcontroller and Kalman filter. The water pump frequency is optimized by combining PWM signals and genetic algorithms to achieve coordinated frequency lift and lower frequency with the air energy compressor, and is equipped with a passive linkage acquisition unit to achieve start-stop control.
Real-time adjustment of water pump frequency is realized, the operation efficiency of the air energy system is improved, energy consumption is reduced, human intervention is reduced, the system is stable and operated in the optimal temperature difference state, adapted to different environments and scenarios, and has intelligent and automated control capabilities.
Smart Images

Figure CN120368596A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of new energy and energy conservation and environmental protection, and specifically, to a data communication variable-frequency pump dedicated for an air source heat pump. Background Art
[0002] Under the background that the concept of energy conservation, emission reduction and environmental protection is increasingly deeply rooted in people's hearts, the air source heat pump system, as an efficient and environmentally friendly heating and cooling device, has been widely used. However, there are many deficiencies in the water pump control of the traditional air source heat pump system, such as the fixed operating frequency of the water pump and the inability to adjust it in real time according to the actual needs of the system, which leads to low system operating efficiency and large energy consumption.
[0003] However, most of the existing variable-frequency pump technologies need to be connected to the air energy system for wiring and complex debugging, which not only increases the installation difficulty and maintenance cost of the system, but also may cause unstable system operation due to improper debugging. In addition, there are limitations in the control strategy of the traditional variable-frequency pump, and it is often unable to perform intelligent and automatic adjustment according to the actual operating state of the system. This results in the operating frequency of the water pump not being fully matched with the requirements of the air source heat pump system, thus affecting the overall operating efficiency and energy-saving effect of the system. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a data communication variable-frequency pump dedicated for an air source heat pump, which realizes the coordinated energy transmission and distribution at both the heat source and heat dissipation ends of the heat pump system by accurately controlling the water pump speed, ensures the coordinated frequency increase and decrease of the water pump frequency and the air energy compressor frequency, realizes the full variable-frequency operation of the heat pump system, and thus achieves the purpose of energy conservation and emission reduction.
[0005] The basic concept of the technical solution adopted by the present invention to solve the above technical problem is: A data communication variable-frequency pump dedicated for an air source heat pump, comprising: A temperature sensor to obtain the water supply and return water temperature values; A single-chip microcomputer, which is used to receive the water supply and return water temperature values, calculate the difference between the water supply and return water temperatures, and preset a temperature difference, and compare the obtained temperature difference value with the preset temperature difference to control the operating frequency of the water pump; A PWM signal input and output unit, which is used to receive the PWM signal from an external host computer to adjust the operating frequency of the water pump, and convert the operating state of the water pump into a PWM duty cycle signal for output and feedback to the host computer to realize the real-time control of the water pump by the host computer; A communication unit, which is used to connect to an air source heat pump host or a smart home control system; A passive linkage acquisition unit, which is used to collect external passive signals to realize the start and stop control of the water pump.
[0006] Further, obtaining the supply water and return water temperature values includes: Setting the Kalman filter parameters according to historical data; In each iteration of the Kalman filter, measuring the temperature at the next moment based on the current state to obtain a new temperature measurement value; Calculating the difference value between the predicted value and the measured value according to the new temperature measurement value, and evaluating the difference value through the noise covariance to obtain an evaluation result; According to the evaluation result, the Kalman filter repeats the prediction and update steps to obtain the values of the supply water and return water temperatures in real time.
[0007] Further, calculating the difference value between the predicted value and the measured value according to the new temperature measurement value, and evaluating the difference value through the noise covariance to obtain an evaluation result, including: Calculating the difference value between the predicted value and the measured value according to the new temperature measurement value, mapping the difference value to the range of (0, 1) through the Sigmoid function to obtain a weight coefficient, calculating the measurement residual between the actual measured value and the predicted observed value, and calculating the covariance matrix of the residual, combining the measurement residual and the residual covariance matrix, calculating the squared Mahalanobis distance, and multiplying by the weight coefficient to evaluate the difference value.
[0008] Further, receiving the adjustment of the PWM signal from the external host computer for the operating frequency of the water pump, and converting the operating state of the water pump into a PWM duty cycle signal for output feedback to the host computer to achieve real-time control of the water pump by the host computer, including: Receiving the PWM signal from the external host computer, and converting the target frequency into a PWM duty cycle signal parameter according to the characteristics of the water pump and the PWM signal; Initializing a population, where the population contains PWM duty cycle signal parameters, and each chromosome represents a solution; Defining a fitness function, and iteratively optimizing the population using selection, crossover, and mutation operations; In each iteration, evaluating the quality of the chromosomes according to the fitness function, and performing the next crossover and mutation on the selected chromosomes. After multiple rounds of iteration, the final PWM duty cycle signal converges; Applying the PWM duty cycle signal optimized by the genetic algorithm to the PWM controller to achieve real-time control of the water pump by the host computer.
[0009] Further, defining a fitness function and iteratively optimizing the population using selection, crossover, and mutation operations, including: Defining a fitness function; Initializing the population, generating the first-generation candidate solution set, and calculating the fitness value of each individual in the population; According to the fitness value, high-quality individuals are selected from the current population through roulette to serve as parents for reproduction until a sufficient number of parent individuals are generated. By exchanging the genes of the parents, new individuals are generated; Randomly select a point in the gene sequence, exchange the gene segments after this point of the parents according to a certain probability for each gene position, and randomly flip the values of some bits to perturb the genes of each offspring with a mutation probability; Screen the corresponding individuals, merge the offspring and the parents, and screen the new generation through selection operations to achieve population optimization.
[0010] Furthermore, external passive signals are collected to achieve the start-stop control of the water pump, including: Collect external passive signals to obtain real-time environmental parameters, and the environmental parameters include temperature; Define the target temperature according to historical data or user settings, and calculate the error vector between the real target temperature and the defined target temperature to transmit the signal to the single-chip microcomputer; The single-chip microcomputer controls the water pump. During the water pump control process, each particle represents a set of control parameters. A particle swarm is randomly generated within the parameter range, the particle parameters are simulated and tested, the individuals are updated, all particles are compared, and the global final parameters are updated. The control parameters include temperature threshold and PWM duty cycle; Transmit the final parameters to the single-chip microcomputer. If the real target temperature is not within the temperature threshold, start the water pump and set the PWM duty cycle. Otherwise, stop the water pump or enter the low-power mode to achieve the start-stop control of the water pump.
[0011] After adopting the above technical solutions, the present invention has the following beneficial effects compared with the prior art.
[0012] Through the constant temperature difference operation mode, the frequency of the water pump is adjusted in real time, enabling the system to always operate at a high COP value state. It can not only effectively improve the operation efficiency of the air source energy system but also significantly reduce energy consumption, conforming to the environmental protection concept of energy conservation and emission reduction. By continuously monitoring the temperature difference between the supply water and the return water and adjusting the operation frequency of the water pump accordingly, the system can be ensured to operate stably at the set optimal temperature difference state. The design of this variable-frequency water pump enables it to operate independently and achieve the purpose of coupling frequency conversion with the air source energy without the need for on-line wiring and complex debugging with the air source energy. The variable-frequency water pump adopts advanced single-chip microcomputer control technology and sensor feedback mechanism to realize the intelligent and automatic adjustment of the water pump frequency. This high degree of intelligence and automation can not only improve the operation efficiency of the system but also reduce the possibility of human intervention and misoperation. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a schematic diagram of the variable-frequency water pump dedicated for the air source heat pump of the present invention.
[0014] Figure 2 It is a schematic flow chart of the control method of the data communication variable-frequency pump dedicated to the air-source heat pump of the present invention. Specific embodiments
[0015] In the following embodiments of the present application, the data communication variable-frequency pump dedicated to the air-source heat pump is taken as an example to elaborate the solution of the present application in detail. However, these embodiments do not limit the protection scope of the present application.
[0016] The present invention provides a data communication variable-frequency pump dedicated to an air-source heat pump, including: A temperature sensor to obtain the water supply and return water temperature values; A single-chip microcomputer, which is used to receive the water supply and return water temperature values, calculate the difference between the water supply and return water temperatures, and preset a temperature difference, and compare the obtained temperature difference value with the preset temperature difference to control the operating frequency of the water pump; A PWM signal input and output unit, which is used to receive the PWM signal from the external host computer to adjust the operating frequency of the water pump, and convert the operating state of the water pump into a PWM duty cycle signal for output and feedback to the host computer to achieve real-time control of the water pump by the host computer; A communication unit, which is used to connect to the air-source heat pump host or the smart home control system; A passive linkage acquisition unit, which is used to collect external passive signals to realize the start-stop control of the water pump.
[0017] In the embodiments of the present invention, the temperature of the water supply and return water can be accurately and real-time monitored. Through accurate temperature data, the operation of the water pump can be controlled more precisely, thereby optimizing the overall performance of the system. By calculating the difference between the water supply and return water temperatures and comparing it with the preset temperature difference, the single-chip microcomputer can intelligently adjust the operating frequency of the water pump to achieve temperature difference control. By precisely controlling the operating frequency of the water pump, unnecessary energy consumption can be reduced, achieving the effect of energy conservation and emission reduction. The single-chip microcomputer can monitor and process temperature data in real time and adjust the operation of the water pump in a timely manner. By receiving the PWM signal from the external host computer, the operating frequency of the water pump can be flexibly adjusted to meet different usage requirements. The operating state of the water pump is converted into a PWM duty cycle signal for output and feedback to the host computer to achieve real-time monitoring and control of the water pump by the host computer. The communication unit enables the system to easily connect to the air-source heat pump host or the smart home control system to achieve the integration and intelligent management of the system. Through the communication unit, users can remotely monitor and control the operating state of the water pump, improving the convenience of use. By collecting external passive signals, such as water level, flow rate, etc., the automatic start-stop control of the water pump can be realized, improving the automation degree of the system; the passive linkage acquisition unit enables the system to adapt to different usage environments and scenarios, improving the adaptability and flexibility of the system.
[0018] In a preferred embodiment of the present invention, obtaining the water supply and return water temperature values includes: Set the Kalman filter parameters according to historical data; In each iteration of the Kalman filter, based on the current state, predict the temperature at the next moment to obtain a new temperature measurement value; According to the new temperature measurement value, calculate the difference between the predicted value and the measurement value, and evaluate the difference through the noise covariance to obtain an evaluation result; According to the evaluation result, the Kalman filter repeats the prediction and update steps to obtain the values of the supply water and return water temperatures in real time.
[0019] In the embodiment of the present invention, by setting the parameters of the Kalman filter, it can be ensured that the filter is more adaptable to a specific application environment, thereby improving the accuracy and efficiency of filtering; by analyzing the noise and signal characteristics in historical data, the design of the filter can be optimized to make it more effective in processing actual temperature signals. The prediction ability of the Kalman filter allows the system to anticipate future possible temperature states in advance. By predicting the temperature at the next moment to obtain a new temperature measurement value, the system can make adjustments in advance to better maintain temperature stability and control accuracy. Calculating the difference between the predicted value and the measurement value can help the system understand the accuracy of the current prediction and identify possible anomalies or noises. Evaluating the difference through the noise covariance can more scientifically quantify this difference. The iterative update mechanism of the Kalman filter enables it to continuously track temperature changes and provide a more accurate temperature estimate after each update.
[0020] In the specific implementation process of the present invention, it includes: Set the Kalman filter parameters according to historical data: collect historical data of the supply water and return water temperatures, analyze these data, and obtain the trends and periodicities of temperature changes; initialize the parameters, and set the initial temperature estimates of the supply water and return water based on the average or median of the historical data; set the initial estimation error covariance by analyzing the variance or standard deviation of the historical data; analyze the randomness of temperature changes in the historical data, set the system noise covariance, and set the measurement noise covariance based on the accuracy of the sensor and the noise level of the historical measurement data. The state transition matrix and the measurement matrix are set to the identity matrix or values close to 1.
[0021] In each iteration of the Kalman filter, based on the current state, predict the temperature at the next moment to obtain a new temperature measurement value: use the state estimate and the state transition matrix of the previous iteration to predict the current state, which is based on the previous temperature estimate to predict the temperature at the current moment.
[0022] Based on the new temperature measurement values, calculate the difference value between the predicted value and the measurement value, and evaluate the difference value through the noise covariance: Obtain the current water supply and return water temperature measurement values from the sensor. The measurement residual is the difference between the predicted value and the actual measurement value. The residual reflects the deviation between the prediction and the actual situation, and the residual evaluation is carried out.
[0023] According to the evaluation result, the Kalman filter performs repeated prediction and update steps: Use the Kalman gain to weight the measurement residual according to the previous step, and update the state estimate. The updated estimated error covariance reflects the uncertainty of the current state estimate.
[0024] Obtain the changes in the water supply and return water temperatures in real time to obtain the temperature estimate value: Continuously repeat the above prediction and update steps according to time. After each iteration, the Kalman filter will output an updated temperature estimate value. The estimate value is the optimal estimate based on the current and past measurement values and the system model, and can be used as the real-time water supply and return water temperatures.
[0025] In a preferred embodiment of the present invention, based on the new temperature measurement values, calculate the difference value between the predicted value and the measurement value, and evaluate the difference value through the noise covariance to obtain the evaluation result, including: Based on the new temperature measurement values, calculate the difference value between the predicted value and the measurement value, and through evaluate the difference value, where is the square of the weighted Mahalanobis distance, is the prediction error, is the measurement error, is the actual measurement value at time step , is the observation matrix, is based on the information of the previous time step , and the state prediction value at time step is is the prediction error covariance matrix, is the observation noise covariance matrix, is the number of time steps, is to map the difference value to the range of (0, 1) through the Sigmoid function to obtain the weight coefficient.
[0026] In the embodiments of the present invention, by calculating the difference between the predicted value and the new temperature measurement value, the system can understand the accuracy of the prediction and identify the deviation between the prediction model and the actual observation. The calculation of the difference value is a key step in the Kalman filter update process, enabling the filter to continuously correct its prediction and thus improve the estimation accuracy of future states. The weighted Mahalanobis distance takes into account the statistical relationship between the observed value and the predicted value, including the covariance structure of the prediction error and the measurement error. Using the square of the weighted Mahalanobis distance to evaluate the difference value can more accurately quantify the inconsistency between the observed value and the predicted value, as it considers not only the magnitude of the difference but also the direction and statistical distribution of the difference. The prediction error reflects the difference between the predicted value of the state based on the information of the previous time step and the actual state. The measurement error reflects the influence of the accuracy limitation of the measurement device or external interference on the measurement result. Clearly distinguishing and quantifying these two errors helps the filter to more precisely adjust its prediction and update strategies. The observation matrix describes the mapping relationship from the state space to the observation space, enabling the filter to relate the internal state estimate to the external observed value. The state predicted value is the prediction of the current state based on the information of the previous time step, and it is the basis for the Kalman filter to perform iterative updates. The prediction error covariance matrix describes the statistical characteristics of the prediction error, including its magnitude and distribution. The observation noise covariance matrix reflects the statistical characteristics of the measurement noise. The two matrices provide important information about the prediction and measurement uncertainties to the filter, enabling it to perform state estimation and update more robustly. By considering the information of multiple time steps, the Kalman filter can smooth the state over the time series and reduce the influence of accidental errors. As the number of time steps increases, the filter can gradually accumulate more information about the system dynamics, thereby improving the accuracy of its state estimation. By continuously iteratively updating and correcting the predicted value, the Kalman filter can gradually approach the true temperature state. The use of the square of the weighted Mahalanobis distance and the error covariance matrix makes the filter more resistant to outliers and noise, and the filter can automatically adjust its parameters to better adapt to the dynamic changes of the system.
[0027] In the specific implementation process of the present invention, it includes: Obtain the actual temperature measurement value of the current time step from the temperature sensor. The state predicted value is based on the previous time step of information for the time step The predicted value of the state, the observation matrix maps the state space to the observation space, the predicted error covariance matrix represents the uncertainty of the state predicted value, the observation noise covariance matrix is set based on the characteristics of the sensor and historical data, the residual is the difference between the actual measured value and the predicted measured value, and the square of the weighted Mahalanobis distance is calculated to evaluate the inconsistency between the observed value and the predicted value, taking into account the covariance structure of the prediction error and the measurement error. If the value of the square of the weighted Mahalanobis distance is small, it indicates that the predicted value and the measured value are in good agreement and the accuracy of the model prediction is high. If the value of the square of the weighted Mahalanobis distance is large, it indicates that there is a large difference between the predicted value and the measured value, which may be caused by model errors, abnormal measured values, or high measurement noise. The Kalman gain determines the weight of the new measured value when updating the state estimate. The Kalman gain and the residual are used to update the state estimate at the current time step. The updated estimated error covariance reflects the uncertainty of the current state estimate. This process allows the Kalman filter to combine new measurement information at each time step to optimize the state estimate, thereby more accurately tracking the temperature changes of the supply water and the return water.
[0028] In a preferred embodiment of the present invention, a preset temperature difference is set, and the obtained temperature difference value is compared with the preset temperature difference to control the operating frequency of the water pump, including: Calculate the temperature difference between the supply water and the return water according to the signals of the supply water and the return water temperatures; Preset the temperature difference, and compare the temperature difference between the supply water and the return water with the preset temperature difference to obtain a comparison result; Process the comparison result and issue a control command to control the operating frequency of the water pump.
[0029] In the embodiment of the present invention, accurately calculating the temperature difference range between the supply water and the return water is the basis for achieving precise control. The operating temperature difference is set in the single-chip microcomputer, and the temperature difference between the supply water and the return water is collected by the free temperature sensor to adjust the speed of the water pump. The optimal operating temperature difference between the supply water and the return water of the air source heat pump is generally 5°C. For example, in the heating state, it is required that the supply water temperature is 5°C higher than the return water temperature. When there are many indoor heating rooms, the heat dissipation capacity is strong, and a large flow rate and temperature difference are required to maintain 5°C. At this time, the water pump frequency is high and the flow rate is large, and more heat can be transported; when the number of indoor heating rooms decreases and less heat is required, if the water pump maintains the previous speed, the temperature difference between the supply water and the return water will be less than 5°C. At this time, the single-chip microcomputer receives that the temperature difference between the supply water and the return water is less than the set value of 5°C, and the single-chip microcomputer reduces the speed of the water pump according to the set value to achieve the purpose of reducing the flow rate, and the transported heat becomes smaller until the temperature difference returns to 5°C again, reaching the most efficient and energy-saving state of the air source heat pump. The operating state of the water pump is coupled with the variable frequency state of the air source heat pump compressor, greatly improving the energy-saving effect of the system. It can achieve the purpose of coupling and variable frequency with the air source heat pump even when the water pump operates independently.
[0030] In the specific implementation process of the present invention, it includes: Calculate the temperature difference range between the supply water and the return water: By reading the current temperature data, subtract the return water temperature from the supply water temperature to obtain the temperature difference value.
[0031] Preset the temperature difference, and compare the temperature difference between the supply water and the return water with the preset temperature difference to obtain a comparison result: Compare the obtained real-time temperature difference with the preset optimal temperature difference (such as 5°C). If the real-time temperature difference is greater than the preset temperature difference, it indicates strong heat dissipation ability and the flow rate needs to be increased. Therefore, the single-chip microcomputer will increase the target operating frequency of the water pump. If the real-time temperature difference is less than the preset temperature difference, it indicates weakened heat dissipation ability and the flow rate needs to be decreased. According to the comparison result, convert it into the operating frequency of the water pump according to the subsequent steps, that is, the operating frequency of the water pump describes how to adjust the operating frequency of the water pump under different temperature difference states. For example, "if the temperature difference is small, lower the water pump frequency" or "if the temperature difference is large, increase the water pump frequency"; generate corresponding signals or other control signals, and through the drive module, transmit them to the pump body to adjust the operating frequency of the water pump; the working state of the water pump can be dynamically adjusted according to the temperature difference between the supply water and the return water to achieve constant temperature difference control.
[0032] In a preferred embodiment of the present invention, receive the water pump target operating frequency instruction from the single-chip microcomputer, convert the instruction into a PWM duty cycle signal parameter, and optimize the parameter to achieve water pump control, including: Receive the PWM signal from the external host computer, and convert the target frequency into a PWM duty cycle signal parameter according to the characteristics of the water pump and the PWM signal; Initialize a population, where the population contains PWM duty cycle signal parameters, and each chromosome represents a solution; Define a fitness function, and iteratively optimize the population using selection, crossover, and mutation operations; In each iteration, evaluate the quality of the chromosome according to the fitness function, and perform the next crossover and mutation on the selected chromosome. After multiple rounds of iteration, converge to the final PWM duty cycle signal; Apply the PWM duty cycle signal optimized by the genetic algorithm to the PWM controller to achieve real-time control of the water pump by the host computer.
[0033] In the embodiments of the present invention, by receiving the target operating frequency instruction of the single-chip microcomputer, the system can adapt to different operating requirements, realize real-time adjustment of the water pump frequency according to the external PWM duty cycle signal, provide a flexible water pump control strategy, convert the target frequency into PWM duty cycle signal parameters, and can achieve precise control of the water pump speed, thereby ensuring the efficient and stable operation of the system. The genetic algorithm has strong global search ability and can find the optimal solution among many possible combinations of PWM duty cycle signal parameters, improving the performance and efficiency of water pump control. Through the definition of the fitness function and operations such as selection, crossover, and mutation, the genetic algorithm can adaptively adjust the search direction and gradually approach the optimal solution.
[0034] In the specific implementation process of the present invention, it includes: Receive instructions and convert PWM signal parameters: Receive instructions from the single-chip microcomputer, which are based on the temperature difference between the supply and return water and reflect the target operating frequency of the water pump required to maintain the optimal operating temperature difference (such as 5°C) of the air energy system.
[0035] According to the characteristics of the water pump and the PWM controller, convert the determined target operating frequency of the water pump into the corresponding PWM duty cycle signal parameters.
[0036] Create a population containing multiple groups of PWM duty cycle signal parameters, define the fitness function, initialize the population, generate the first-generation candidate solution set, and through Calculate the fitness value of each individual in the population, where is the fitness value of the individual, , , are the weight coefficients, is the actual output frequency, is the target frequency, is the real-time power consumption, is the dynamic response time. According to the fitness value, select high-quality individuals from the current population as parents through roulette wheel selection to participate in reproduction until a sufficient number of parent individuals are generated. Generate new individuals by exchanging the genes of the parents. Randomly select a point in the gene sequence and exchange the gene segments after this point for each gene position according to a certain probability. Randomly flip the values of some bits to perturb the genes of each offspring with a mutation probability, screen the corresponding individuals, merge the offspring and the parents, and screen the new generation through the selection operation to achieve population optimization. Send the optimized PWM duty cycle signal parameters to the PWM controller, and the PWM controller adjusts the output voltage and frequency according to the received PWM duty cycle signal, thereby precisely controlling the speed and flow of the water pump.
[0037] In a preferred embodiment of the present invention, it is used for an on-line air source heat pump host or a smart home control system, including: Through hardware connection, conduct system joint debugging, and configure the communication parameters of the communication unit according to the requirements of the air source heat pump host or the smart home control system; Test the system, and according to the test results, debug the configuration parameters of the communication unit or the program of the single-chip microcomputer to optimize the communication performance.
[0038] In the embodiment of the present invention, by configuring the communication parameters according to the specific requirements of the air source heat pump host or the smart home control system, the perfect compatibility between the system and them can be ensured, realizing seamless docking and efficient communication. During the system joint debugging and testing process, the performance of the communication unit can be comprehensively evaluated, potential communication problems can be discovered and solved in a timely manner, thereby improving the stability and reliability of communication. Debugging the configuration parameters of the communication unit or the program of the single-chip microcomputer according to the test results can finely optimize the communication performance according to the actual usage situation, improving the communication speed and accuracy. By configuring and adjusting the communication parameters, the system can adapt to different communication environments and requirements, enhancing the flexibility and adaptability of the system. The optimized communication performance can ensure smoother information transmission between various parts of the system, reducing communication delays and errors, thereby improving the overall operation efficiency of the system.
[0039] In a preferred embodiment of the present invention, collecting external passive signals to realize the start and stop control of the water pump includes: Collect external passive signals to obtain real-time environmental parameters, and the environmental parameters include temperature; Define the target temperature according to historical data or user settings, and calculate the error vector between the real target temperature and the defined target temperature to transmit the signal to the single-chip microcomputer; The single-chip microcomputer controls the water pump. During the water pump control process, each particle represents a set of control parameters. A particle swarm is randomly generated within the parameter range, and the particle parameters are subjected to simulation tests, updating the individuals, comparing all particles, and updating the global final parameters. The control parameters include temperature threshold and PWM duty cycle; Transmit the final parameters to the single-chip microcomputer. If the real target temperature is not within the temperature threshold, start the water pump and set the PWM duty cycle. Otherwise, stop the water pump or enter the low-power mode to realize the start and stop control of the water pump.
[0040] In the embodiments of the present invention, by collecting external passive signals and automatically processing them, the system can achieve automatic start-stop control of the water pump without manual intervention, greatly improving the automation level of the system; the single-chip microcomputer can quickly process the passive signals and quickly issue control instructions, enabling the water pump to quickly respond to changes in external conditions. The acquisition of passive signals and the issuance of control instructions both rely on the single-chip microcomputer, reducing the uncertainties brought by mechanical switches or manual operations and enhancing the reliability and stability of the system. The single-chip microcomputer can process the passive signals according to preset logic or algorithms and issue corresponding control instructions to achieve intelligent control of the water pump. By precisely controlling the start and stop of the water pump, unnecessary energy consumption can be avoided, such as turning off the water pump when there is no demand, thereby saving energy and reducing operating costs.
[0041] In the specific implementation process of the present invention, it includes: Connect the output end of the passive signal sensor to the input end of the single-chip microcomputer through a connecting wire, and connect the output end of the single-chip microcomputer to the drive circuit of the water pump, so that the control instructions issued by the single-chip microcomputer can drive the start and stop of the water pump. According to the type of the passive signal sensor, configure the corresponding input end of the single-chip microcomputer to control the water pump.
[0042] The single-chip microcomputer decodes the received passive signal, converts it into an available data form, and processes the decoded signal according to the preset logic. Through the output end, corresponding control instructions are issued, and the control instructions are transmitted to the water pump drive circuit to drive the start and stop of the water pump.
[0043] Such as Figure 2 shown, the control method in a preferred embodiment of the present invention includes: Obtain the supply water and return water temperature values; According to the supply water and return water temperature values, calculate the difference between the supply water and return water temperatures, and preset a temperature difference. Compare the obtained temperature difference value with the preset temperature difference to control the operating frequency of the water pump; Receive the adjustment of the water pump operating frequency by the PWM signal from the external host computer, and convert the water pump operating state into a PWM duty cycle signal for output and feedback to the host computer to achieve real-time control of the water pump by the host computer; The communication unit is connected to an online air source heat pump host or a smart home control system; Collect external passive signals to achieve start-stop control of the water pump.
[0044] Such as Figure 1 shown, in a specific embodiment of the present invention, when working, it specifically includes the following implementation process: The passive acquisition signal is used to collect external physical quantity information in a passive manner, and the collected signal is directly transmitted to the single-chip microcomputer; A temperature sensor, which is used to monitor the ambient or device temperature in real time, convert the temperature analog quantity into an electrical signal, and transmit it to the single-chip microcomputer after processing; A PWM input signal, which is used to receive the pulse-width modulation signal from an external device. Information such as its pulse width and frequency can represent parameters such as speed and ratio, and the single-chip microcomputer obtains control instructions or device status information based on this; A communication unit, which is used to perform data interaction with external devices through communication interfaces such as serial ports and SPI, and receive information such as control instructions and configuration parameters; A single-chip microcomputer, which is used to comprehensively analyze and calculate various input signals, judge the current state of the system according to preset programs and algorithms, and determine control strategies. For example, according to information such as temperature and PWM input signals, calculate the operating parameters of the device; A PWM output signal. The single-chip microcomputer outputs a PWM signal according to the processing result, and precisely controls the working state of the external device by adjusting the pulse width; A communication output, which is used to feedback data such as the system state and processing results to external devices through the communication unit; After the single-chip microcomputer control signal is amplified and converted by a MOS transistor or IGBT drive module, it drives the pump body to work; The power rectification unit provides a stable DC power supply for the drive module to ensure that the pump body part realizes the fluid transmission function as required.
[0045] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A variable frequency pump for data communication dedicated to an air source heat pump, characterized in that, including: a temperature sensor for obtaining the supply water and return water temperature values; a single-chip microcomputer for receiving the supply water and return water temperature values, calculating the difference between the supply water and return water temperatures, presetting a temperature difference, comparing the obtained temperature difference value with the preset temperature difference to control the operating frequency of the water pump; a PWM signal input and output unit for receiving the PWM signal from an external host computer to adjust the operating frequency of the water pump and converting the operating state of the water pump into a PWM duty cycle signal for output and feedback to the host computer to achieve real-time control of the water pump by the host computer; a communication unit for connecting to an air source heat pump host or a smart home control system; a passive linkage acquisition unit for acquiring external passive signals to achieve start-stop control of the water pump.
2. The dedicated data communication variable frequency pump for an air source heat pump according to claim 1, characterized in that, Obtaining the supply water and return water temperature values includes: setting the Kalman filter parameters according to historical data; at each iteration of the Kalman filter, measuring the temperature at the next moment according to the current state to obtain a new temperature measurement value; calculating the difference value between the predicted value and the measured value according to the new temperature measurement value, and evaluating the difference value through the noise covariance to obtain an evaluation result; according to the evaluation result, the Kalman filter repeats the prediction and update steps to obtain the values of the supply water and return water temperatures in real time.
3. The variable-frequency pump for dedicated data communication of an air-source heat pump according to claim 2, characterized in that, Calculating the difference value between the predicted value and the measured value according to the new temperature measurement value, and evaluating the difference value through the noise covariance to obtain an evaluation result, including: calculating the difference value between the predicted value and the measured value according to the new temperature measurement value, mapping the difference value to the range of (0, 1) through the Sigmoid function to obtain a weight coefficient, calculating the measurement residual between the actual measured value and the predicted observation value, and calculating the covariance matrix of the residual, combining the measurement residual and the residual covariance matrix, calculating the squared Mahalanobis distance, and multiplying by the weight coefficient to evaluate the difference value.
4. The air source heat pump dedicated data communication variable frequency pump according to claim 3, characterized in that, Receiving the PWM signal from an external host computer to adjust the operating frequency of the water pump and converting the operating state of the water pump into a PWM duty cycle signal for output and feedback to the host computer to achieve real-time control of the water pump by the host computer, including: receiving the PWM signal from an external host computer, and converting the target frequency into a PWM duty cycle signal parameter according to the characteristics of the water pump and the PWM signal; initializing a population, where the population contains PWM duty cycle signal parameters and each chromosome represents a solution; defining a fitness function and iteratively optimizing the population using selection, crossover, and mutation operations; at each iteration, evaluating the quality of the chromosomes according to the fitness function, and performing the next crossover and mutation on the selected chromosomes. After multiple rounds of iteration, the final PWM duty cycle signal converges; applying the PWM duty cycle signal optimized by the genetic algorithm to the PWM controller to achieve real-time control of the water pump by the host computer.
5. The air source heat pump dedicated data communication variable frequency pump according to claim 4, characterized in that, Defining a fitness function and iteratively optimizing the population using selection, crossover, and mutation operations, including: defining a fitness function; initializing the population, generating a set of first-generation candidate solutions, and calculating the fitness values of each individual in the population; According to the fitness value, high-quality individuals are selected from the current population through roulette wheel gambling as parents to participate in reproduction until a sufficient number of parent individuals are generated. By exchanging the genes of the parents, new individuals are generated; Randomly select a point in the gene sequence, exchange the gene segments after this point of the parents according to a certain probability for each gene locus, and perturb the genes of each offspring with a mutation probability; Screen the corresponding individuals, merge the offspring and the parents, and screen the new generation through selection operations to achieve population optimization.
6. The air-source heat pump dedicated data communication variable-frequency pump according to claim 5, characterized in that, Collect external passive signals to achieve the start-stop control of the water pump, including: Collect external passive signals to obtain real-time environmental parameters, and the environmental parameters include temperature; Define the target temperature according to historical data or user settings, calculate the error vector between the real target temperature and the defined target temperature, and transmit the signal to the single-chip microcomputer; The single-chip microcomputer controls the water pump. During the water pump control process, each particle represents a set of control parameters. A particle swarm is randomly generated within the parameter range, the particle parameters are simulated and tested, the individuals are updated, all particles are compared, and the global final parameters are updated. The control parameters include the temperature threshold and the PWM duty cycle; Transmit the final parameters to the single-chip microcomputer. If the real target temperature is not within the temperature threshold, start the water pump and set the PWM duty cycle. Otherwise, stop the water pump or enter the low-power mode to achieve the start-stop control of the water pump.
Citation Information
Patent Citations
Air source heat pump and water pump linkage control method and system and electronic equipment
CN113907008A
Self-adaptive household constant water resistance air source heat pump system
CN114017863A
Self-adaptive temperature difference adjusting method for liquid cooling converter
CN119045567A
Base station layout method, device and system, equipment and storage medium
CN119450537A
Central air conditioner changeable temperature difference energy-saving control system
CN201129829Y