Water chiller and control method thereof

By establishing communication between the PLC and PCB and performing least squares fitting calculations, the problem of inaccurate test data for chiller units was solved, improving the system's operating efficiency and stability.

CN119713665BActive Publication Date: 2026-01-23QINGDAO HISENSE BOSCH AIR CONDITIONING SYSTEM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311271170.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2026-01-23
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

Inaccurate test data from existing chiller units can lead to false alarms or warnings, resulting in low system efficiency and large system fluctuations.

Method used

By establishing a communication connection between the programmable logic controller (PLC) and the printed circuit board (PCB) in the electrical control system of the chiller unit, and using the least squares fitting method to calculate and determine the objective function for correcting the received data, the correction of the received data from the PCB is achieved.

Benefits of technology

It improves the accuracy of PCB inspection data, making the system operate closer to the design values, and making the system more efficient and stable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119713665B_ABST
    Figure CN119713665B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a water chilling unit and a control method thereof, relates to the technical field of water chilling units, and is used for solving the problem of inaccurate detection data of the water chilling unit. The water chilling unit comprises an electric control system, the electric control system comprises a programmable logic controller (PLC) and a printed circuit board (PCB), the PLC and the PCB are in communication connection, and the controller is configured to acquire sending data of the PLC and receiving data of the PCB, determine a target function for correcting the receiving data according to the sending data and the receiving data, perform fitting on the target function through a least square method, and correct the receiving data of the PCB according to the target function.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of water chiller, and particularly relates to a water chiller and a control method thereof. BACKGROUND

[0002] The water chiller is also called ice water machine and coolant, and is widely applied in various industries. With the continuous development of the water chiller industry, more and more manufacturers begin to pay attention to the use performance of the water chiller.

[0003] In the prior art, the water chiller uses a fixed correction value to correct the accuracy of data in one detection interval, so as to avoid false alarms and alarms caused by detection value deviation.

[0004] However, if the detection value deviation is a nonlinear value, greater deviation will be caused in part of the detection interval, so that the system is in an abnormal control stage, and problems such as low system energy efficiency and large system fluctuation are caused. SUMMARY

[0005] The present application provides a water chiller and a control method thereof, and is used for solving the problem of inaccurate detection data of the water chiller.

[0006] In order to achieve the above purpose, the present application adopts the following technical scheme.

[0007] In a first aspect, the present application provides a water chiller, comprising: an electric control system, the electric control system comprising a programmable logic controller (PLC) and a printed circuit board (PCB); wherein the PLC and the PCB are in communication connection; a controller configured to: acquire sending data of the PLC and receiving data of the PCB; determine a target function for correcting the receiving data according to the sending data and the receiving data; the target function is obtained by fitting through a least square method; and correct the receiving data of the PCB according to the target function.

[0008] The technical scheme provided by the present application at least brings the following beneficial effects: the communication connection between the programmable logic controller (PLC) and the printed circuit board (PCB) in the electric control system of the water chiller is used to realize the sending and receiving of the running parameters of each component in the running process of the water chiller, and the least square method fitting calculation is performed on the sending data of the PLC and the receiving data of the PCB to obtain a target function for correcting the receiving data of the PCB, so that the receiving data of the PCB is consistent with the sending data of the PLC. Therefore, the accuracy of the detection data of the PCB is improved, the system running is closer to the design value, and the system can run more efficiently and stably.

[0009] In some embodiments, the water chiller further comprises: a pressure sensor arranged at an exhaust port of the compressor and configured to detect suction pressure and exhaust pressure of the compressor; a liquid level sensor arranged at the evaporator and configured to detect liquid level height of the evaporator; a current transducer configured to detect operating current of the compressor; and the controller is configured to obtain the transmission data of the PLC and the reception data of the PCB, specifically configured to: obtain the suction pressure and the exhaust pressure of the compressor by the pressure sensor, obtain the liquid level height of the evaporator by the liquid level sensor, and obtain the operating current of the compressor by the current transducer; and transmit the suction pressure, the exhaust pressure, the liquid level height and the operating current to the PCB through the PLC to obtain the transmission data of the PLC and the reception data of the PCB.

[0010] In some embodiments, the controller is configured to transmit the suction pressure, the exhaust pressure, the liquid level height and the operating current to the PCB through the PLC, specifically configured to: obtain the number of data of the transmission data and the number of data of the reception data; and control the PCB to re-read the transmission data in the case that the number of data of the reception data is less than the number of data of the transmission data.

[0011] In some embodiments, the controller, after being configured to determine the target function according to the transmission data and the reception data, is further configured to: store the target function in the PCB; and control the PLC to read the target function from the PCB.

[0012] In some embodiments, the controller, after being configured to correct the reception data according to the target function, is further configured to: in response to a verification signal sent by the human-computer interaction interface, verify the transmission data of the PLC and the reception data of the PCB to obtain a verification result; the verification result comprises verification success or verification failure; in the case that the verification result is verification success, end the correction of the reception data; and in the case that the verification result is verification failure, control the PLC to re-read the target function in the PCB for re-verification.

[0013] In a second aspect, the embodiments of the present application provide a control method of a water chiller, comprising: obtaining transmission data of a PLC and reception data of a PCB; determining a target function for correcting the reception data according to the transmission data and the reception data; the target function is obtained by fitting through a least square method; and correcting the reception data of the PCB according to the target function.

[0014] In a third aspect, the embodiments of the present application provide a controller, comprising: one or more processors; and one or more memories; wherein the one or more memories are configured to store computer program codes, the computer program codes comprising computer instructions, and when the one or more processors execute the computer instructions, the controller executes any one of the control methods of the water chiller provided in the second aspect.

[0015] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which comprises computer instructions, and when the computer instructions are executed on a computer, the computer is caused to perform the method provided in the second aspect and possible implementation manners.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, which can be directly loaded into a memory and contains software codes, and the computer program product can realize the method provided in the second aspect and possible implementation manners after being loaded and executed by a computer.

[0017] It should be noted that the computer instructions can be stored on the computer readable storage medium in whole or in part. The computer readable storage medium can be packaged together with the processor of the controller or packaged separately from the processor of the controller, and the present application does not limit this.

[0018] The beneficial effects of the second aspect to the fifth aspect in the present application can be analyzed with reference to the beneficial effects of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0019] The accompanying drawings are used to provide a further understanding of the technical solutions of the present application, and constitute a part of the specification, and are used to explain the technical solutions of the present application together with the embodiments of the present application, and do not constitute a limitation on the technical solutions of the present application.

[0020] Figure 1 A constituent schematic diagram of a water chiller provided by an embodiment of the present application is provided;

[0021] Figure 2 A constituent schematic diagram of a compressor provided by an embodiment of the present application is provided;

[0022] Figure 3 A constituent schematic diagram of an evaporator provided by an embodiment of the present application is provided;

[0023] Figure 4 A communication relationship schematic diagram of a water chiller provided by an embodiment of the present application is provided;

[0024] Figure 5 A hardware configuration block diagram of a water chiller provided by an embodiment of the present application is provided;

[0025] Figure 6 A control method flowchart schematic diagram of a water chiller provided by an embodiment of the present application is provided;

[0026] Figure 7 A control method flowchart schematic diagram of another water chiller provided by an embodiment of the present application is provided;

[0027] Figure 8Another flow chart of a control method of a water chiller provided by the embodiment of the present application is shown in FIG. 6;

[0028] Figure 9 Another flow chart of a control method of a water chiller provided by the embodiment of the present application is shown in FIG. 6;

[0029] Figure 10 Another flow chart of a control method of a water chiller provided by the embodiment of the present application is shown in FIG. 6;

[0030] Figure 11 Another flow chart of a control method of a water chiller provided by the embodiment of the present application is shown in FIG. 6;

[0031] Figure 12 Another flow chart of a control method of a water chiller provided by the embodiment of the present application is shown in FIG. 6;

[0032] Figure 13 A conceptual partial view of a computer program product provided by the embodiment of the present application is shown in FIG. 10. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.

[0034] It should be noted that all directional indications, such as up, down, left, right, front, back, etc., are only used to explain the relative position relationship, movement condition, etc. between components in a certain posture (as shown in the drawings), and if the certain posture changes, the directional indications also change accordingly.

[0035] The terms "first", "second", etc. are only used for description purpose, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, the meaning of "multiple" is two or more.

[0036] In the description of the present application, it is necessary to point out that, unless otherwise explicitly specified and limited, the terms "connected", "connected" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances. In addition, when describing the pipeline, "connected" and "connected" used in the present application have the meaning of conducting. The specific meaning should be understood in combination with the context.

[0037] In the embodiments of the present application, the words such as "exemplary" or "for example" are used to represent as an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words such as "exemplary" or "for example" are intended to present the relevant concept in a specific manner.

[0038] In order to facilitate understanding, first, some terms or basic concepts of the technology related to the embodiments of the present application are simply introduced and described.

[0039] As described above in the technical background, the existing data detection method detects inaccurate values, which is easy to cause the system to trigger false alarms or alarms, so that the system is in an abnormal control stage, causing the system to have low energy efficiency and large system fluctuations.

[0040] Based on this, the embodiments of the present application provide a water chiller, comprising: an electric control system, the electric control system comprising a programmable logic controller (PLC) and a printed circuit board (PCB); wherein the PLC and the PCB are in communication connection; a controller configured to: obtain the sending data of the PLC and the receiving data of the PCB; determine a target function according to the sending data and the receiving data; the target function is obtained by fitting through the least square method; and correct the receiving data according to the target function.

[0041] In this way, the actual detection value is closer to the design value, which is more conducive to the efficient and stable operation of the system and prolongs the service life of the system.

[0042] The embodiments provided by the present application will be specifically introduced below in conjunction with the drawings of the specification.

[0043] Figure 1 A schematic diagram of a water chiller provided by the embodiments of the present application is shown in Figure 1 As shown, the water chiller 10 includes a compressor 11, an evaporator 12, a condenser 13, an expansion valve 14, a first refrigerant circulation circuit 15, a second refrigerant circulation circuit 16, an electric control system 17 (not shown in Figure 1 ) and a controller 1000 (not shown in Figure 1 ).

[0044] Optionally, the chiller unit 10 can be a screw-type water-cooled chiller unit.

[0045] In some embodiments, the compressor 11 is a driven fluid machine that raises low-pressure gas to high-pressure gas.

[0046] In some embodiments, during the process of the chiller unit 10 providing a cold source to the air conditioning unit, the compressor 11 is used to compress the refrigerant gas under high temperature and high pressure and discharge the compressed refrigerant gas.

[0047] In some embodiments, the refrigerant discharged from the compressor 11 flows into the condenser 13. The condenser 13 condenses the compressed refrigerant into a liquid phase, and heat is released to the surrounding environment through the condensation process.

[0048] In some embodiments, the evaporator 12 can achieve a cooling effect by utilizing the latent heat of refrigerant evaporation to exchange heat with the material to be cooled. Throughout the cycle, the air conditioning unit can regulate the temperature of the indoor space.

[0049] In some embodiments, the condenser 13 is used to collect, compress, evaporate and cool the condensate, and then pass the condensate to the compressor 11 for recirculation.

[0050] In some embodiments, the expansion valve 14 is used to throttle the medium-temperature, high-pressure refrigerant into low-temperature, low-pressure wet vapor, and then the refrigerant absorbs heat in the evaporator 12 to achieve a cooling effect. The expansion valve controls the valve flow rate by changing the superheat at the end of the evaporator to prevent insufficient utilization of the evaporator 12 area and knocking phenomenon.

[0051] Figure 2 This is a schematic diagram of the composition of a compressor provided in an embodiment of this application, as shown below. Figure 2 As shown, the compressor 11 is equipped with a pressure sensor 111 and a current transmitter 112.

[0052] In some embodiments, pressure sensor 111 is disposed at the exhaust port of the compressor for detecting the compressor's intake pressure and exhaust pressure.

[0053] In some embodiments, the current transmitter 112 is disposed inside the cabinet of the electrical control system and is used to detect the operating current of the compressor.

[0054] Figure 3 This is a schematic diagram of the composition of an evaporator provided in an embodiment of this application, as shown below. Figure 3 As shown, the evaporator 12 is equipped with a liquid level sensor 121.

[0055] In some embodiments, the liquid level sensor 121 is used to detect the liquid level height of the evaporator.

[0056] In some embodiments, when the chiller unit starts operating, the suction pressure is used for low suction pressure warning and alarm control, the discharge pressure is used for high discharge pressure warning and alarm control, the liquid level is used to adjust the opening of the expansion valve, and the operating current is used for current warning and alarm control.

[0057] In some embodiments, the electrical control system 17 includes a programmable logic controller (PLC) and a printed circuit board (PCB).

[0058] The communication connection between the PLC and the PCB is also included.

[0059] Optionally, the PLC and PCB can be connected via MODBUS communication.

[0060] In some embodiments, the PLC is used to acquire data of various operating parameters of the chiller unit 10 and send them to the PCB, which is used to receive and store the data sent by the PLC.

[0061] In some embodiments, the chiller unit 10 further includes a human-machine interface for displaying or inputting operating data of the chiller unit.

[0062] Figure 4 This application provides a schematic diagram of the communication relationship of a chiller unit, as shown in the embodiment of the present application. Figure 4 As shown: The communication connection between the human-machine interface (HMI) and the PLC is via TCP / IP. The PLC can send data to the PCB through the analog signal transmission channel.

[0063] In the embodiments shown in this application, controller 1000 refers to a device that can generate operation control signals according to instruction opcodes and timing signals, instructing the chiller unit 10 to execute control commands. Exemplarily, controller 1000 can be a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. Controller 1000 can also be other devices with processing functions, such as circuits, devices, or software modules; this application does not impose any limitations on this.

[0064] In addition, the controller 1000 can be used to control the various components inside the chiller unit 10 so that each component can perform its predetermined functions.

[0065] In some embodiments, the controller 1000 is configured to: acquire transmitted data from the PLC and received data from the PCB; determine an objective function for correcting the received data based on the transmitted and received data; obtain the objective function by fitting it using the least squares method; and correct the received data from the PCB based on the objective function.

[0066] In some embodiments, the controller 1000 is further configured to: acquire the suction pressure and discharge pressure of the compressor through a pressure sensor, acquire the liquid level height of the evaporator through a liquid level sensor, and acquire the operating current of the compressor through a current transmitter; and send the suction pressure, discharge pressure, liquid level height, and operating current to the PCB through the PLC to obtain the data sent by the PLC and the data received by the PCB.

[0067] In some embodiments, the controller 1000 is further configured to: acquire the number of data to be sent and the number of data to be received; and control the PCB to reread the data to be sent if the number of data to be received is less than the number of data to be sent.

[0068] In some embodiments, the controller 1000 is further configured to: store the objective function in the PCB; and control the PLC to read the objective function from the PCB.

[0069] In some embodiments, the controller 1000 is further configured to: in response to a verification signal sent by the human-machine interface, verify the data sent by the PLC and the data received by the PCB to obtain a verification result; the verification result includes verification success or verification failure; if the verification result is verification success, the correction of the received data is terminated.

[0070] Figure 5 This is a hardware configuration block diagram of a chiller unit 10 provided in accordance with an exemplary embodiment of this application. For example... Figure 5 As shown, the chiller unit 10 may also include the following two items: a memory 1002 and a communication interface 1003.

[0071] In some embodiments, the memory 1002 may be used to store software programs and data. The controller 1000 performs various functions of the chiller unit 10 and data processing by running the software programs or data stored in the memory 1002.

[0072] In some embodiments, memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0073] In some embodiments, the memory 1002 stores an operating system that enables the chiller unit 10 to operate. In this application, the memory 1002 can store the operating system and various application programs, and can also store code that executes the control method for the chiller unit provided in the embodiments of this application.

[0074] In some embodiments, the communication interface 1003 is used to establish a communication connection with other network entities, such as establishing a communication connection with a terminal device.

[0075] In some embodiments, the communication interface 1003 may include a radio frequency (RF) module, a cellular module, a wireless fidelity (WIFI) module, and a GPS module, etc. Taking an RF module as an example, the RF module can be used for signal reception and transmission; specifically, it sends received information to the controller 1000 for processing; additionally, it transmits signals generated by the controller 1000. Typically, the RF circuit may include, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.

[0076] Those skilled in the art will understand that Figure 5 The hardware structure shown does not constitute a limitation of this invention. The chiller unit 10 may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0077] Figure 6 This is a schematic flowchart illustrating a control method for a chiller unit provided in an embodiment of this application. Figure 6 As shown, the method includes the following steps:

[0078] S101, The controller acquires the data sent by the PLC and the data received by the PCB.

[0079] In some embodiments, after the chiller unit starts running, the user can control the system to enter the data correction program through the human-machine interface. At this time, the controller obtains various operating parameters of the chiller unit and sends these operating parameters to the PCB through the PLC.

[0080] Figure 7 This is a schematic flowchart of another control method for a chiller unit provided in an embodiment of this application, used to obtain various operating parameters of the chiller unit, such as... Figure 7 As shown, the method includes the following steps:

[0081] S201, The controller acquires various operating parameters of the chiller unit.

[0082] Optionally, the controller can obtain the compressor's suction pressure and discharge pressure through a pressure sensor, the liquid level height of the evaporator through a liquid level sensor, and the operating current of the compressor through a current transmitter.

[0083] In some embodiments, the controller needs to repeatedly acquire multiple sets of inhalation pressure, exhaust pressure, liquid level and operating current at preset time intervals.

[0084] It should be noted that the preset duration is set by the chiller manufacturer and stored in the memory. Different chiller manufacturers may set different preset durations, and this application does not limit this.

[0085] Optionally, the preset duration can be 'a' seconds.

[0086] It should be noted that the number of data sets for intake pressure, exhaust pressure, liquid level, and operating current is set by the chiller manufacturer and stored in the memory. The number of sets may vary between different chiller manufacturers, and this application does not limit this.

[0087] Optionally, taking 15 groups as an example, the controller can repeatedly acquire 15 groups of inhalation pressure, exhaust pressure, liquid level and operating current at intervals of a seconds.

[0088] S202. The controller sends various operating parameters of the chiller unit to the PCB through the PLC, and receives the data sent by the PLC and the data received by the PCB.

[0089] In some embodiments, after the controller acquires 15 sets of data on intake pressure, exhaust pressure, liquid level, and operating current, the controller controls the PLC to send these 15 sets of data to the PCB through the analog signal transmission channel, thus obtaining the PLC's transmitted data and the PCB's received data.

[0090] In some embodiments, it is necessary to determine whether the data transmission is complete based on the amount of data transmitted by the PLC and the amount of data received by the PCB.

[0091] Figure 8 This is a schematic flowchart of another control method for a chiller unit provided in an embodiment of this application, used to determine whether the data transmission is complete. Figure 8 As shown, the method includes the following steps:

[0092] S301, The controller obtains the number of data sent and the number of data received.

[0093] In some embodiments, taking 15 data groups as an example, after the controller controls the PLC to send these 15 data groups to the PCB through the analog signal transmission channel, the controller needs to obtain the number of data received by the PCB.

[0094] S302. When the amount of received data is less than the amount of sent data, the controller controls the PCB to reread the sent data.

[0095] In some embodiments, when the number of received data from the PCB is less than the number of sent data, that is, when the number of received data from the PCB is less than 15, the controller controls the PCB to reread the number of sent data from the PLC until the number of received data from the PCB equals the number of sent data from the PLC.

[0096] In some embodiments, when the number of received data from the PCB obtained by the controller is greater than or equal to the number of transmitted data, that is, when the number of received data from the PCB is greater than or equal to 15, the controller determines the objective function based on the transmitted data from the PLC and the received data from the PCB.

[0097] S102. The controller determines the objective function for correcting the received data based on the transmitted and received data.

[0098] The objective function is obtained by fitting using the least squares method.

[0099] It should be noted that the least squares method is a mathematical tool widely used in many disciplines of data processing, such as error estimation, uncertainty, system identification and prediction, and forecasting. Also known as the least squares method, it is a mathematical optimization technique. It finds the best function fit for data by minimizing the sum of squares of errors. The least squares method can be used to easily obtain unknown data while minimizing the sum of squares of errors between the obtained data and the actual data. This application uses the least squares method for data fitting calculations.

[0100] For example, the objective function is a linear function in one variable, y = ax + b.

[0101] Where a is the correction coefficient value and b is the correction deviation value.

[0102] In some embodiments, after the PLC sends 15 sets of data on suction pressure, exhaust pressure, liquid level, and operating current to the PCB, the controller determines the objective function to correct the received data based on the data sent by the PLC and the data received by the PCB.

[0103] Optionally, the PLC sends data as an array x. i x i= [x1, x2, ..., x n The PCB receives data as y. i y i = [y1, y2, ..., y n ].

[0104] For example, the calculation method of the correction coefficient value 'a' in the objective function y = ax + b of the corrected received data is shown in formula (1):

[0105] a = S xy / S xx Formula (1)

[0106] Among them, S xy The calculation method is shown in formula (2):

[0107] S xy =∑x i y i -(∑x i ∑y i ) / n formula (2)

[0108] S xx The calculation method is shown in formula (3):

[0109] S xx =∑x i 2 -(∑x i ) 2 / n formula (3)

[0110] Where n is the number of data sets.

[0111] For example, the method for calculating the correction deviation value b in the objective function y = ax + b of the corrected received data is shown in formula (4):

[0112]

[0113] in, The calculation method is shown in formula (5):

[0114]

[0115] In some embodiments, once the target function for correcting the received data is determined, the target function can be stored in the PCB for the PLC to read. Figure 9 This is a schematic flowchart of another control method for a chiller unit provided in an embodiment of this application, used to store data in the objective function. For example... Figure 9 As shown, the method includes the following steps:

[0116] S401, The controller stores the objective function in the PCB.

[0117] In some embodiments, once the objective function is determined, the controller sends the correction coefficient value 'a' and the correction deviation value 'b' in the objective function to the human-machine interface for display via the TCP / IP protocol.

[0118] Furthermore, the controller sends the correction coefficient value 'a' and the correction deviation value 'b' from the objective function to the corresponding address on the PCB for storage via the Modbus protocol.

[0119] S402, the controller controls the PLC to read the target function from the PCB.

[0120] In some embodiments, after the target function is stored in the PCB, the PLC can read the target function information from the PCB to correct the received data of the PCB when the PLC's transmitted data does not match the PCB's received data.

[0121] S103. The controller corrects the received data from the PCB according to the objective function.

[0122] In some embodiments, once the objective function is determined, the controller performs a linear function calculation on the data of suction pressure, exhaust pressure, liquid level height, and operating current received by the PCB based on the objective function, and determines whether the calculation result is consistent with the data quantity sent by the PLC.

[0123] Furthermore, if the calculation result matches the number of data sent by the PLC, the correction of the received data on the PCB is successful; if the calculation result does not match the number of data sent by the PLC, the correction of the received data on the PCB fails, and the objective function is used again to perform a linear function calculation until the calculation result matches the number of data sent by the PLC.

[0124] In some embodiments, after the correction of the received data of the PCB is completed, the transmitted data of the PLC and the received data of the PCB need to be verified to determine whether the 15 sets of data obtained by the controller have been successfully stored. Figure 10 This is a schematic flowchart of another control method for a chiller unit provided in an embodiment of this application, used for data verification. For example... Figure 10 As shown, the method includes the following steps:

[0125] S501: The controller responds to the verification signal sent by the human-machine interface, verifies the data sent by the PLC and the data received by the PCB, and obtains the verification result.

[0126] The verification result includes whether the verification was successful or failed.

[0127] In some embodiments, after the PCB's received data is successfully corrected, the user can verify the PLC's transmitted data and the PCB's received data through a human-machine interface to determine whether the PLC's transmitted data and the PCB's received data are consistent.

[0128] Furthermore, in response to the verification signal sent by the human-machine interface, the controller controls the PLC to read the correction coefficient value 'a' and the correction deviation value 'b' of the objective function from the PCB via Modbus, and compares the data sent by the PLC with the data received by the PCB to determine whether the data sent by the PLC and the data received by the PCB are consistent.

[0129] For example, if the data sent by the PLC and the data received by the PCB are consistent, the verification result is successful; if the data sent by the PLC or the data received by the PCB is not successfully stored, the verification result is unsuccessful.

[0130] S502. If the verification result is successful, the controller ends the correction of the received data.

[0131] In some embodiments, when the verification result is successful, the controller outputs a success flag and displays success information on the human-machine interface.

[0132] For example, the success flag can be 1, and the success message can be OK.

[0133] Specifically, when the verification result is successful, the controller outputs 1 and displays OK on the human-machine interface, and the controller ends the correction of the received data.

[0134] S503. If the verification result is a failure, the controller controls the PLC to reread the target function in the PCB for verification again.

[0135] In some embodiments, when the verification result is a verification failure, the controller outputs a failure flag and displays the failure information on the human-machine interface.

[0136] For example, the failure flag can be 0, and the failure message can be NG.

[0137] Specifically, when the verification result is a failure, the controller outputs 0 and displays NG on the human-machine interface, indicating that the data sent by the PLC or received by the PCB was not stored successfully. The controller PLC then reads the correction coefficient value 'a' and the correction deviation value 'b' of the objective function from the PCB via Modbus and re-verifies until the verification result is a success.

[0138] The technical solution provided in this application provides at least the following beneficial effects: This technical solution utilizes the communication connection between the programmable logic controller (PLC) and the circuit board (PCB) in the chiller's electrical control system to transmit and receive operating parameters of various components during chiller operation. By performing a least-squares fitting calculation on the data transmitted by the PLC and received by the PCB, a target function is obtained to correct the received data from the PCB, ensuring consistency between the PCB's received data and the PLC's transmitted data. This improves the accuracy of PCB detection data, making the system operation closer to the design values, and enabling the system to operate more efficiently and stably.

[0139] In some embodiments, the above steps may also be performed by Figure 11 The method shown is implemented as follows. Figure 11 As shown, the method may further include the following steps:

[0140] S11, Obtain data.

[0141] In some embodiments, when the chiller unit starts operating, the controller obtains the compressor's suction pressure and discharge pressure through a pressure sensor, the liquid level height of the evaporator through a liquid level sensor, and the operating current of the compressor through a current transmitter.

[0142] S12, PLC sends data to PCB.

[0143] In some embodiments, the controller controls the PLC to send the acquired suction pressure, exhaust pressure, liquid level, and operating current to the PCB.

[0144] Furthermore, the data sent by the PLC is used as the transmitted data, and the data received by the PCB is used as the received data.

[0145] S13, PLC periodically reads the data received from the PCB.

[0146] S14. When the amount of data received by the PCB is greater than or equal to the amount of data sent by the PLC, the objective function is obtained by fitting the data using the least squares method; when the amount of data received by the PCB is less than the amount of data sent by the PLC, the above step S13 is executed.

[0147] S15. Display the values ​​of a and b for the objective function.

[0148] In some embodiments, after the objective function is determined, the correction coefficient value a and the correction deviation value b of the objective function are displayed through a human-computer interaction interface.

[0149] S16. Store the values ​​of a and b of the objective function into the PCB.

[0150] In some embodiments, after the objective function is determined, the correction coefficient value a and the correction deviation value b of the objective function are stored in the PCB.

[0151] Furthermore, after the target function is stored in the PCB, the PLC can read the target function information from the PCB so that when the PLC's transmitted data and the PCB's received data do not match, the target function can be read from the PCB to correct the PCB's received data.

[0152] Specifically, the data of suction pressure, exhaust pressure, liquid level, and operating current received by the PCB are calculated using a linear function based on the objective function to determine whether the calculation result is consistent with the data sent by the PLC.

[0153] Furthermore, if the calculation result matches the number of data sent by the PLC, the correction of the received data on the PCB is successful; if the calculation result does not match the number of data sent by the PLC, the correction of the received data on the PCB fails, and the objective function is used again to perform a linear function calculation until the calculation result matches the number of data sent by the PLC.

[0154] S17, Verify data.

[0155] In some embodiments, after the PCB's received data is successfully corrected, the user can verify the PLC's transmitted data and the PCB's received data through a human-machine interface to determine whether the PLC's transmitted data and the PCB's received data are consistent.

[0156] Furthermore, in response to the verification signal sent by the human-machine interface, the controller controls the PLC to read the correction coefficient value 'a' and the correction deviation value 'b' of the objective function from the PCB via Modbus, and compares the data sent by the PLC with the data received by the PCB to determine whether the data sent by the PLC and the data received by the PCB are consistent.

[0157] S18. Determine the verification result.

[0158] In some embodiments, when the verification result is successful, that is, the data sent by the PLC and the data received by the PCB are consistent, the controller outputs 1 and displays OK on the human-machine interface, and the control ends the correction of the received data.

[0159] In some embodiments, when the verification result is a verification failure, that is, the PLC's transmitted data or the PCB's received data is not successfully stored, the controller outputs 0 and displays NG on the human-machine interface, and executes the above step S17.

[0160] As can be seen, the above mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the modules and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0161] This application embodiment can divide the controller into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0162] like Figure 12 As shown in the figure, this application embodiment provides a schematic diagram of the control device composition of a chiller unit. The control device of the chiller unit includes: an acquisition module 1101 and a processing module 1102.

[0163] In some embodiments, the acquisition module 1101 is used to acquire the data transmitted by the PLC and the data received by the PCB.

[0164] In some embodiments, the processing module 1102 is configured to determine the target function based on the transmitted data and the received data.

[0165] In some embodiments, the processing module 1102 is further configured to correct the received data according to the objective function.

[0166] In some embodiments, the acquisition module 1101 is further configured to acquire the compressor's suction pressure and discharge pressure via a pressure sensor, acquire the evaporator's liquid level height via a liquid level sensor, and acquire the compressor's operating current via a current transmitter.

[0167] In some embodiments, the processing module 1102 is further configured to send the suction pressure, exhaust pressure, liquid level and operating current to the PCB via the PLC, and obtain the data sent by the PLC and the data received by the PCB.

[0168] In some embodiments, the acquisition module 1101 is further configured to acquire the number of data sent and the number of data received.

[0169] In some embodiments, the processing module 1102 is further configured to control the PCB to reread the transmitted data when the amount of received data is less than the amount of transmitted data.

[0170] In some embodiments, the processing module 1102 is further configured to store the objective function in the PCB.

[0171] In some embodiments, the processing module 1102 is further configured to control the PLC to read the target function from the PCB.

[0172] In some embodiments, the processing module 1102 is further configured to, in response to a verification signal sent by the human-machine interface, verify the data sent by the PLC and the data received by the PCB, and obtain a verification result.

[0173] In some embodiments, the processing module 1102 is further configured to terminate the correction of the received data if the verification result is successful.

[0174] In some embodiments, the processing module 1102 is further configured to control the PLC to reread the target function in the PCB for verification if the verification result is a verification failure.

[0175] This invention also provides a computer-readable storage medium including computer-executable instructions that, when executed on a computer, cause the computer to perform the method provided in the above embodiments.

[0176] This invention also provides a computer program product that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement the methods provided in the above embodiments.

[0177] Figure 13 A conceptual partial view of a computer program product provided in an embodiment of this application is shown schematically. The computer program product includes a computer program for executing computer processes on a computing device.

[0178] In some embodiments, the computer program product is provided using signal bearer medium 1400. Signal bearer medium 1400 may include one or more program instructions that, when executed by one or more processors, can provide the above-mentioned... Figure 6 , Figure 7 , Figure 8 , Figure 9 , Figure 10 as well as Figure 11 The described function or part of the function. Therefore, for example, refer to... Figure 6In the embodiment shown, one or more features of S101 to S103 can be provided by one or more instructions associated with the signal carrying medium 1400. Furthermore, Figure 13 The program instructions in the document also describe example instructions.

[0179] In some embodiments, the signal carrying medium 1400 may include a computer-readable medium 1401, such as, but not limited to, a hard disk drive, a compact disc (CD), a digital video optical disc (DVD), a digital magnetic tape, a memory, a read-only memory, or a random access memory, etc.

[0180] In some embodiments, the signal carrying medium 1400 may include a computer recordable medium 1402, such as, but not limited to, a memory, a read / write (R / W) CD, an R / W DVD, and so on.

[0181] In some embodiments, the signal carrying medium 1400 may include a communication medium 1403, such as, but not limited to, digital and / or analog communication media (e.g., fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0182] In some embodiments, the signal carrying medium 1400 may be transmitted by a wireless communication medium 1403. One or more program instructions may be, for example, computer-executable instructions or logical implementation instructions.

[0183] In some embodiments, such as targeting Figure 12 The control device of the described chiller unit can be configured to provide various operations, functions, or actions in response to one or more program instructions via a computer-readable medium 1401, a computer-recordable medium 1402, and / or a communication medium 1403.

[0184] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this invention can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.

[0185] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0186] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely exemplary; for instance, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed between each other may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate; components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0187] Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0188] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A water chiller unit, characterized in that, include: An electrical control system, comprising a programmable logic controller (PLC) and a printed circuit board (PCB); wherein the PLC and the PCB are communicatively connected. The controller is configured as follows: Acquire the data transmitted by the PLC and the data received by the PCB; Based on the transmitted data and the received data, a target function for correcting the received data is determined; the target function is obtained by fitting using the least squares method. The received data from the PCB is corrected according to the objective function. The chiller unit also includes: A human-machine interface is used to display or input the operating data of the chiller unit; the human-machine interface is communicatively connected to the PLC. The controller, after being configured to correct the received data according to the objective function, is further configured to: In response to the verification signal sent by the human-machine interface, the data sent by the PLC and the data received by the PCB are verified to obtain a verification result; the verification result includes verification success or verification failure. If the verification result indicates that the verification was successful, the correction of the received data shall be terminated. If the verification result is a failure, the PLC is controlled to reread the target function in the PCB for verification again.

2. The chiller unit according to claim 1, characterized in that, The chiller unit also includes: A pressure sensor is installed at the compressor's exhaust port to detect the compressor's intake and exhaust pressures. A liquid level sensor, installed in the evaporator, is used to detect the liquid level height in the evaporator; A current transmitter is used to detect the operating current of the compressor; The controller is configured to acquire the data transmitted by the PLC and the data received by the PCB, specifically configured as follows: The compressor's suction pressure and discharge pressure are obtained through the pressure sensor, the liquid level height of the evaporator is obtained through the liquid level sensor, and the compressor's operating current is obtained through the current transmitter. The intake pressure, exhaust pressure, liquid level, and operating current are transmitted from the PLC to the PCB, thus obtaining the transmitted data from the PLC and the received data from the PCB.

3. The chiller unit according to claim 2, characterized in that, The controller is configured to send the suction pressure, the exhaust pressure, the liquid level height, and the operating current to the PCB via the PLC, specifically configured as follows: Obtain the number of data items sent and the number of data items received; If the amount of received data is less than the amount of sent data, the PCB is controlled to reread the sent data.

4. The chiller unit according to claim 1, characterized in that, The controller, after being configured to determine the target function based on the transmitted data and the received data, is further configured to: The objective function is stored in the PCB; The PLC is controlled to read the target function from the PCB.

5. A control method for a chiller unit, characterized in that, The method includes: Acquire the data transmitted by the PLC and the data received by the PCB; Based on the transmitted data and the received data, a target function for correcting the received data is determined; the target function is obtained by fitting using the least squares method. The PCB received data is corrected according to the objective function; After correcting the received data according to the objective function, the method further includes: In response to a verification signal sent by the human-machine interface, the data sent by the PLC and the data received by the PCB are verified to obtain a verification result; the verification result includes verification success or verification failure. If the verification result indicates that the verification was successful, the correction of the received data shall be terminated. If the verification result is a failure, the PLC is controlled to reread the target function in the PCB for verification again.

6. The method according to claim 5, characterized in that, The acquisition of PLC transmit data and PCB receive data includes: The compressor's suction and discharge pressures are obtained through a pressure sensor, the liquid level height of the evaporator is obtained through a liquid level sensor, and the operating current of the compressor is obtained through a current transmitter. The intake pressure, exhaust pressure, liquid level, and operating current are transmitted from the PLC to the PCB, thus obtaining the transmitted data from the PLC and the received data from the PCB.

7. The method according to claim 6, characterized in that, The step of sending the suction pressure, the exhaust pressure, the liquid level, and the operating current to the PCB via the PLC includes: Obtain the number of data items sent and the number of data items received; If the amount of received data is less than the amount of sent data, the PCB is controlled to reread the sent data.

8. The method according to claim 5, characterized in that, After determining the target function based on the transmitted data and the received data, the method further includes: The objective function is stored in the PCB; The PLC is controlled to read the target function from the PCB.

Citation Information

Patent Citations

  • Analog channel calibrating method of simulating and testing instrument of hydro turbine governor

    CN104199309A

  • Correct Mura compensation data obtaining method and system

    CN107886920A