Water chilling unit and control method thereof

By using the communication connection between PLC and PCB in the electronic control system of the chiller, fitting the objective function with the least squares method and correcting the received data, the problems of low system energy efficiency and large fluctuations caused by nonlinear detection value deviation are solved, and more efficient and stable system operation is achieved.

CN119713665AActive Publication Date: 2025-03-28QINGDAO HISENSE BOSCH AIR CONDITIONING SYSTEM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311271170.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-03-28
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

When the detection value deviation of existing chillers is nonlinear, it leads to larger deviations in some detection intervals, resulting in problems such as low system energy efficiency and large system fluctuations.

Method used

By using the communication connection between the programmable logic controller (PLC) and the printed circuit board (PCB) in the electronic control system of the chiller, the transmission data of the PLC and the reception data of the PCB are obtained, and the objective function is obtained by fitting the least squares method, and the received data of the PCB is corrected to be consistent with the transmission data of the PLC.

Benefits of technology

It improves the accuracy of PCB detection data, makes the system run closer to the design value, and the system can run more efficiently and stably.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119713665A_ABST
    Figure CN119713665A_ABST
Patent Text Reader

Abstract

The embodiment of the invention 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 that the detection data of the water chilling unit is inaccurate. The water chilling unit comprises an electric control system which comprises a programmable logic controller (PLC) and a printed circuit board (PCB); wherein the PLC is in communication connection with the PCB; a controller configured to: acquire transmission data of the PLC and reception data of the PCB; determining a target function for correcting the received data according to the sent data and the received data; the target function is obtained by fitting through a least square method; and correcting the received 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 chillers, and in particular to a water chiller and a control method thereof. Background Art

[0002] Chillers are also called ice water machines and coolants. Chillers are widely used in various industries. With the continuous development of the chiller industry, more and more manufacturers have begun to pay attention to the performance of chillers.

[0003] In the prior art, the chiller uses a fixed correction value in a detection interval to correct the accuracy of data, which can avoid false warnings and alarms caused by deviations in detection values.

[0004] However, if the detection value deviation is a nonlinear value, it will cause a larger deviation in some detection intervals, causing the system to be in an abnormal control stage, resulting in problems such as low system energy efficiency and large system fluctuations. Summary of the invention

[0005] The present application provides a chiller and a control method thereof, which are used to solve the problem of inaccurate detection data of the chiller.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions.

[0007] In a first aspect, an embodiment of the present application provides a chiller, comprising: an electronic control system, the electronic control system comprising a programmable logic controller (PLC) and a printed circuit board (PCB); wherein the PLC and the PCB are communicatively connected; a controller is configured to: obtain the sending data of the PLC and the receiving data of the PCB; determine a target function for correcting the receiving data based on the sending data and the receiving data; the target function is obtained by fitting through the least squares method; and the receiving data of the PCB is corrected based on the target function.

[0008] The technical solution provided by the embodiment of the present application brings at least the following beneficial effects: the technical solution realizes the sending and receiving of the operating parameters of each component during the operation of the chiller through the communication connection between the programmable logic controller (PLC) and the printed circuit board (PCB) in the electric control system of the chiller, and performs the least squares fitting calculation on the sending data of the PLC and the receiving data of the PCB to obtain the target function to correct the receiving data of the PCB, so that the receiving data of the PCB is consistent with the sending data of the PLC. Thereby improving the accuracy of the PCB detection data, making the system operation closer to the design value, and the system can operate more efficiently and stably.

[0009] In some embodiments, the chiller also includes: a pressure sensor, arranged at the exhaust port of the compressor, for detecting the suction pressure and exhaust pressure of the compressor; a liquid level sensor, arranged at the evaporator, for detecting the liquid level height of the evaporator; a current transmitter, for detecting the operating current of the compressor; a controller, configured to obtain the sending data of the PLC and the receiving data of the PCB, and specifically configured to: obtain the suction pressure and exhaust pressure of the compressor through the pressure sensor, obtain the liquid level height of the evaporator through the liquid level sensor, and obtain the operating current of the compressor through the current transmitter; send the suction pressure, exhaust pressure, liquid level height and operating current to the PCB through the PLC to obtain the sending data of the PLC and the receiving data of the PCB.

[0010] In some embodiments, the controller is configured to send the suction pressure, exhaust pressure, liquid level height and operating current to the PCB through the PLC, and is specifically configured to: obtain the data quantity of the sent data and the data quantity of the received data; when the data quantity of the received data is less than the data quantity of the sent data, control the PCB to re-read the sent data.

[0011] In some embodiments, after being configured to determine the target function based on the sent data and the received data, the controller 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, after being configured to correct the received data according to the objective function, the controller is also configured to: respond to the verification signal sent by the human-computer interaction interface, verify the sent data of the PLC and the received data of the PCB to obtain a verification result; the verification result includes a verification success or a verification failure; when the verification result is a verification success, end the correction of the received data; when the verification result is a verification failure, control the PLC to re-read the objective function in the PCB for verification again.

[0013] In a second aspect, an embodiment of the present application provides a control method for a chiller, comprising: acquiring the sending data of the PLC and the receiving data of the PCB; determining a target function for correcting the receiving data based on the sending data and the receiving data; the target function is obtained by fitting through the least squares method; and according to the target function, correcting the receiving data of the PCB.

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

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on a computer, the computer executes the method provided in the second aspect and possible implementation methods.

[0016] In a fifth aspect, an embodiment of the present invention provides a computer program product, which 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 method provided in the second aspect and possible implementation methods.

[0017] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the controller, or may be packaged separately from the processor of the controller, which is not limited in this application.

[0018] The beneficial effects described in the second to fifth aspects of the present application can be referred to the beneficial effect analysis of the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 A schematic diagram of the composition of a chiller provided in an embodiment of the present application;

[0021] Figure 2 A schematic diagram of the composition of a compressor provided in an embodiment of the present application;

[0022] Figure 3 A schematic diagram of the composition of an evaporator provided in an embodiment of the present application;

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

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

[0025] Figure 6 A schematic flow chart of a control method for a chiller provided in an embodiment of the present application;

[0026] Figure 7 A schematic flow chart of another control method for a chiller provided in an embodiment of the present application;

[0027] Figure 8A schematic flow chart of another control method for a chiller provided in an embodiment of the present application;

[0028] Fig. 9 A schematic flow chart of another control method for a chiller provided in an embodiment of the present application;

[0029] Fig.10 A schematic flow chart of another control method for a chiller provided in an embodiment of the present application;

[0030] Fig.11 A schematic flow chart of another control method for a chiller provided in an embodiment of the present application;

[0031] Fig.12 A schematic diagram of the control device of a chiller provided in an embodiment of the present application;

[0032] Fig.13 A conceptual partial view of a computer program product provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0034] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0035] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0036] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances. In addition, when describing a pipeline, the "connected" and "connection" used in this application have the meaning of conduction. The specific meaning needs to be understood in conjunction with the context.

[0037] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0038] To facilitate understanding, some basic concepts of terms or technologies involved in the embodiments of the present invention are first briefly introduced and explained.

[0039] As mentioned above, the existing data detection methods have inaccurate detection values, which can easily cause the system to falsely trigger warnings or alarms, putting the system in an abnormal control stage, resulting in low system energy efficiency and large system fluctuations.

[0040] Based on this, an embodiment of the present application provides a chiller, including: an electronic control system, the electronic control system includes a programmable logic controller PLC and a printed circuit board PCB; wherein the PLC and the PCB are communicatively connected; a controller is configured to: obtain the sending data of the PLC and the receiving data of the PCB; determine the objective function based on the sending data and the receiving data; the objective function is obtained by fitting through the least squares method; and the received data is corrected according to the objective 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 extends the service life of the system.

[0042] The embodiments provided in this application are described in detail below in conjunction with the accompanying drawings.

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

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

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

[0046] In some embodiments, when the chiller 10 provides a cold source for the air conditioning unit, the compressor 11 is used to compress the refrigerant gas in a high-temperature and high-pressure state 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 the 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 evaporation of the refrigerant to exchange heat with the material to be cooled. In the entire cycle, the air conditioning unit can adjust 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 recycling.

[0050] In some embodiments, the expansion valve 14 is used to allow the medium-temperature and high-pressure refrigerant to become low-temperature and low-pressure wet steam through throttling, and then the refrigerant absorbs heat in the evaporator 12 to achieve a refrigeration effect. The expansion valve controls the valve flow through the change in superheat at the end of the evaporator to prevent insufficient utilization of the evaporator 12 area and knocking.

[0051] Figure 2 A schematic diagram of the composition of a compressor provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the compressor 11 is provided with a pressure sensor 111 and a current transmitter 112 .

[0052] In some embodiments, the pressure sensor 111 is disposed at the exhaust port of the compressor to detect the suction pressure and exhaust pressure of the compressor.

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

[0054] Figure 3 A schematic diagram of the composition of an evaporator provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, a liquid level sensor 121 is provided in the evaporator 12 .

[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 starts running, the suction pressure is used for low suction pressure warning and alarm control, the exhaust pressure is used for high exhaust pressure warning and alarm control, the liquid level height 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 electric control system 17 includes a programmable logic controller (PLC) and a printed circuit board (PCB).

[0058] Among them, the PLC and PCB are communicated with each other.

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

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

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

[0062] Figure 4 A schematic diagram of the communication relationship of a chiller provided in an embodiment of the present application is shown in FIG. Figure 4 As shown: the communication connection between the human-machine interface and the PLC, the human-machine interface and the PLC are connected via TCP / IP communication. The PLC can send data to the PCB through the analog signal transmission channel.

[0063] In the embodiment shown in the present application, the controller 1000 refers to a device that can generate an operation control signal according to the instruction operation code and the timing signal to instruct the chiller 10 to execute the control instruction. Exemplarily, the controller 1000 can be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD) or any combination thereof. The controller 1000 can also be other devices with processing functions, such as circuits, devices or software modules, and the embodiments of the present application do not impose any restrictions on this.

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

[0065] In some embodiments, the controller 1000 is configured to: obtain the sending data of the PLC and the receiving data of the PCB; determine the objective function for correcting the receiving data based on the sending data and the receiving data; the objective function is obtained by fitting through the least squares method; and the receiving data of the PCB is corrected according to the objective function.

[0066] In some embodiments, the controller 1000 is also configured to: obtain the suction pressure and exhaust pressure of the compressor through a pressure sensor, obtain the liquid level height of the evaporator through a liquid level sensor, and obtain the operating current of the compressor through a current transmitter; send the suction pressure, exhaust pressure, liquid level height and operating current to the PCB through the PLC to obtain the sending data of the PLC and the receiving data of the PCB.

[0067] In some embodiments, the controller 1000 is further configured to: obtain the data quantity of the transmitted data and the data quantity of the received data; and control the PCB to re-read the transmitted data when the data quantity of the received data is less than the data quantity of the transmitted data.

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

[0069] In some embodiments, the controller 1000 is further configured to: respond to a verification signal sent by the human-computer interaction interface, verify the PLC's send data and the PCB's receive data, and obtain a verification result; the verification result includes a successful verification or a failed verification; when the verification result is a successful verification, end the correction of the received data.

[0070] Figure 5 FIG. 1 is a hardware configuration block diagram of a chiller 10 provided in accordance with an exemplary embodiment of the present application. Figure 5 As shown, the chiller 10 may further 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 executes various functions of the chiller 10 and performs data processing by running the software programs or data stored in the memory 1002 .

[0072] In some embodiments, the memory 1002 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a 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 10 to run. In the present application, the memory 1002 can store an operating system and various application programs, and can also store codes for executing the control method of the chiller provided in the embodiment of the present application.

[0074] In some embodiments, the communication interface 1003 is used to establish a communication connection with other network entities, for example, to establish 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. Taking the RF module as an example, the RF module can be used to receive and send signals, in particular, to send the received information to the controller 1000 for processing; in addition, to send the signal generated by the controller 1000. Generally, 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, and the like.

[0076] Those skilled in the art will understand that Figure 5 The hardware structure shown in the figure does not constitute a limitation of the present invention, and the chiller 10 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0077] Figure 6 A flow chart of a control method for a chiller provided in an embodiment of the present application. Figure 6 As shown, the method comprises the following steps:

[0078] S101, the controller obtains the sending data of the PLC and the receiving data of the PCB.

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

[0080] Figure 7 A flow chart of another control method for a chiller provided in an embodiment of the present application is used to obtain various operating parameters of the chiller, such as Figure 7 As shown, the method comprises the following steps:

[0081] S201. The controller obtains various operating parameters of the chiller.

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

[0083] In some embodiments, the controller needs to repeatedly obtain multiple sets of suction pressure, exhaust pressure, liquid level height 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. The preset durations set by different chiller manufacturers may be different, and this application does not limit this.

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

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

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

[0088] S202, the controller sends various operating parameters of the chiller to the PCB through the PLC, and obtains the sending data of the PLC and the receiving data of the PCB.

[0089] In some embodiments, after the controller obtains 15 sets of data on suction pressure, exhaust pressure, liquid level height and operating current, the controller controls the PLC to send these 15 sets of data to the PCB through the analog signal transmission channel to obtain the PLC's sending data and the PCB's receiving data.

[0090] In some embodiments, it is necessary to determine whether the data transmission is complete based on the data quantity of the PLC sending data and the data quantity of the PCB receiving data.

[0091] Figure 8 Another flow chart of a control method for a chiller provided in an embodiment of the present application is used to determine whether the data transmission is complete. Figure 8 As shown, the method comprises the following steps:

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

[0093] In some embodiments, taking 15 data groups as an example, after the controller controls the PLC to send these 15 groups of data 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 re-read the sent data.

[0095] In some embodiments, when the controller obtains that the number of data received by the PCB is less than the number of data sent, that is, the number of data received by the PCB is less than 15, the controller controls the PCB to re-read the number of data sent by the PLC until the number of data received by the PCB is equal to the number of data sent by the PLC.

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

[0097] S102: The controller determines an objective function for correcting received data according to the sent data and the received data.

[0098] The objective function is fitted by the least squares method.

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

[0100] Exemplarily, the objective function is a linear function of one variable y=ax+b.

[0101] Among them, 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 height and operating current to the PCB, the controller determines the objective function for correcting the received data based on the sent data of the PLC and the received data of the PCB.

[0103] Optional, the PLC sends data as array x i , x i=[x1, x2, ..., x n ], the received data of PCB is y i ,y i =[y1,y2,...,y n ].

[0104] Exemplarily, the calculation method of the correction coefficient value a in the objective function y=ax+b for correcting the 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] Exemplarily, the calculation method of the corrected deviation value b in the objective function y=ax+b of correcting the received data is shown in formula (4):

[0112]

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

[0114]

[0115] In some embodiments, after the objective function for correcting the received data is determined, the objective function can be stored in the PCB for reading by the PLC. Fig. 9 Another flow chart of a control method for a chiller provided in an embodiment of the present application is used to store an objective function. Fig. 9 As shown, the method comprises the following steps:

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

[0117] In some embodiments, after 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-computer interaction interface through the TCP / IP protocol for display.

[0118] Furthermore, the controller sends the correction coefficient value a and the correction deviation value b in the objective function to the corresponding address of the PCB through the Modbus protocol for storage.

[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, so that when the data sent by the PLC does not match the data received by the PCB, the target function can be read from the PCB to correct the data received by the PCB.

[0121] S103: The controller modifies the received data of the PCB according to the objective function.

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

[0123] Furthermore, if the calculation result is consistent with the data number of the data sent by the PLC, the correction of the received data of the PCB is successful; if the calculation result is inconsistent with the data number of the data sent by the PLC, the correction of the received data of the PCB fails, and the function calculation is performed again through the objective function until the calculation result is consistent with the data number of the data sent by the PLC.

[0124] In some embodiments, after the correction of the received data of the PCB is completed, the sent data of the PLC and the received data of the PCB need to be verified to determine whether the 15 groups of data acquired by the controller are stored successfully. Fig.10 Another flow chart of a control method for a chiller provided in an embodiment of the present application is used to verify data. Fig.10 As shown, the method comprises the following steps:

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

[0126] The verification result includes verification success or verification failure.

[0127] In some embodiments, when the received data of the PCB is successfully corrected, the user can verify the sent data of the PLC and the received data of the PCB through the human-computer interaction interface to determine whether the sent data of the PLC and the received data of the PCB are consistent.

[0128] Furthermore, the controller responds to the verification signal sent by the human-computer interaction interface, controls the PLC to read the correction coefficient value a and the correction deviation value b of the objective function from the PCB through Modbus, compares the data sent by the PLC with the data received by the PCB, and determines whether the data sent by the PLC and the data received by the PCB are consistent.

[0129] Exemplarily, when the data sent by the PLC and the data received by the PCB are consistent, the verification result is a successful verification; when the data sent by the PLC or the data received by the PCB are not stored successfully, the verification result is a failed verification.

[0130] S502: When 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 mark and displays a success message on the human-computer interaction interface.

[0132] Exemplarily, the success flag may be 1, and the success information may be OK.

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

[0134] S503: When the verification result is a verification failure, the controller controls the PLC to re-read 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 mark and displays the failure information on the human-computer interaction interface.

[0136] Exemplarily, the failure flag may be 0, and the failure information may be NG.

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

[0138] The technical solution provided by the embodiment of the present application brings at least the following beneficial effects: the technical solution realizes the sending and receiving of the operating parameters of each component during the operation of the chiller through the communication connection between the programmable logic controller PLC and the PCB in the electric control system of the chiller, and performs the least squares fitting calculation on the sending data of the PLC and the receiving data of the PCB to obtain the target function to correct the receiving data of the PCB, so that the receiving data of the PCB is consistent with the sending data of the PLC. Thereby improving the accuracy of the PCB detection data, making the system operation closer to the design value, and the system can operate more efficiently and stably.

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

[0140] S11. Obtain data.

[0141] In some embodiments, when the chiller starts running, the controller obtains the suction pressure and exhaust pressure of the compressor through the pressure sensor, obtains the liquid level of the evaporator through the liquid level sensor, and obtains the operating current of the compressor through the 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 height and operating current to the PCB.

[0144] Furthermore, the data sent by the PLC is taken as the sending data, and the data received by the PCB is taken as the receiving data.

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

[0146] S14. When the amount of data received by the PCB is ≥ 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 < the amount of data sent by the PLC, the above step S13 is executed.

[0147] S15. Display the a and b values ​​of 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 a and b values ​​of the objective function into 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 data sent by the PLC does not match the data received by the PCB, the target function can be read from the PCB to correct the data received by the PCB.

[0152] Specifically, the data of the suction pressure, exhaust pressure, liquid level height and operating current received by the PCB are subjected to a function calculation through the objective function to determine whether the calculation result is consistent with the data quantity of the data sent by the PLC.

[0153] Furthermore, if the calculation result is consistent with the data number of the data sent by the PLC, the correction of the received data of the PCB is successful; if the calculation result is inconsistent with the data number of the data sent by the PLC, the correction of the received data of the PCB fails, and the function calculation is performed again through the objective function until the calculation result is consistent with the data number of the data sent by the PLC.

[0154] S17. Verify data.

[0155] In some embodiments, when the received data of the PCB is successfully corrected, the user can verify the sent data of the PLC and the received data of the PCB through the human-computer interaction interface to determine whether the sent data of the PLC and the received data of the PCB are consistent.

[0156] Furthermore, the controller responds to the verification signal sent by the human-computer interaction interface, controls the PLC to read the correction coefficient value a and the correction deviation value b of the objective function from the PCB through Modbus, compares the data sent by the PLC with the data received by the PCB, and determines 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 is consistent with the data received by the PCB, the controller outputs 1 and displays OK on the human-computer interaction interface, and the controller ends the correction of the received data.

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

[0160] It can be seen that the above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0161] The embodiment of the present application can divide the controller into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0162] like Fig.12 As shown, an embodiment of the present application provides a schematic diagram of the composition of a control device for a chiller, and the control device for the chiller includes: an acquisition module 1101 and a processing module 1102.

[0163] In some embodiments, the acquisition module 1101 is used to acquire the sending data of the PLC and the receiving data of the PCB.

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

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

[0166] In some embodiments, the acquisition module 1101 is further used to acquire the suction pressure and the exhaust 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.

[0167] In some embodiments, the processing module 1102 is also used to send the suction pressure, exhaust pressure, liquid level and operating current to the PCB through the PLC to obtain the sending data of the PLC and the receiving data of the PCB.

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

[0169] In some embodiments, the processing module 1102 is further used to control the PCB to re-read 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 used to store the target function in the PCB.

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

[0172] In some embodiments, the processing module 1102 is further used to respond to a verification signal sent by the human-computer interaction 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 when the verification result is successful.

[0174] In some embodiments, the processing module 1102 is further used to control the PLC to re-read the target function in the PCB for re-verification when the verification result is a verification failure.

[0175] An embodiment of the present invention further provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer executes the method provided in the above embodiment.

[0176] An embodiment of the present invention further provides a computer program product, which 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 method provided in the above embodiment.

[0177] Fig.13 A conceptual partial view of a computer program product provided by an embodiment of the present application is schematically shown, where the computer program product includes a computer program for executing a computer process on a computing device.

[0178] In some embodiments, the computer program product is provided using a signal bearing medium 1400. The signal bearing medium 1400 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 6 , Figure 7 , Figure 8 , Fig. 9 , Fig.10 as well as Fig.11 Thus, for example, reference to Figure 6In the embodiment shown in , one or more features of S101 to S103 may be undertaken by one or more instructions associated with the signal bearing medium 1400. In addition, Fig.13 The program instructions in also describe example instructions.

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

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

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

[0182] In some embodiments, signal bearing medium 1400 may be communicated by a wireless form of communication medium 1403. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.

[0183] In some embodiments, such as for Fig.12 The described chiller control device may be configured to provide various operations, functions, or actions in response to one or more program instructions via computer readable medium 1401 , computer recordable medium 1402 , and / or communication medium 1403 .

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

[0185] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned 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 several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely exemplary, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0187] In addition, each functional unit in each embodiment of the present invention can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of 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 embodiment of the present application is essentially 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, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a ROM, a RAM, a disk, or an optical disk.

[0188] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A chiller, characterized in that: include: 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 communicatively connected; The controller is configured as: Acquire the sending data of the PLC and the receiving data of the PCB; Determine, according to the transmitted data and the received data, an objective function for correcting the received data; the objective function is obtained by fitting through a least squares method; According to the objective function, the received data of the PCB is corrected.

2. The chiller according to claim 1, characterized in that: The chiller also includes: A pressure sensor is arranged at the exhaust port of the compressor and is used to detect the suction pressure and exhaust pressure of the compressor; A liquid level sensor is provided on the evaporator and is used to detect the liquid level height of the evaporator; A current transmitter, used for detecting the operating current of the compressor; The controller is configured to obtain the sending data of the PLC and the receiving data of the PCB, and is specifically configured to: Acquiring the suction pressure and the exhaust pressure of the compressor through the pressure sensor, acquiring the liquid level height of the evaporator through the liquid level sensor, and acquiring the operating current of the compressor through the current transmitter; The suction pressure, the exhaust pressure, the liquid level and the operating current are sent to the PCB through the PLC to obtain the sending data of the PLC and the receiving data of the PCB.

3. The chiller according to claim 2, characterized in that: The controller is configured to send the suction pressure, the exhaust pressure, the liquid level and the operating current to the PCB through the PLC, and is specifically configured as follows: Acquire the data quantity of the sent data and the data quantity of the received data; When the data quantity of the received data is smaller than the data quantity of the transmitted data, the PCB is controlled to re-read the transmitted data.

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

5. The chiller according to claim 1, characterized in that: The chiller also includes: A human-machine interaction interface, used to display or input the operating data of the chiller; the human-machine interaction interface is in communication connection with the PLC; After being configured to modify the received data according to the objective function, the controller is further configured to: In response to the verification signal sent by the human-machine interaction interface, verify the transmission data of the PLC and the reception data of the PCB to obtain a verification result; the verification result includes verification success or verification failure; When the verification result is that the verification is successful, ending the correction of the received data; When the verification result is that the verification fails, the PLC is controlled to re-read the target function in the PCB to verify again.

6. A method for controlling a chiller, characterized in that: The method comprises: Get the sending data of PLC and the receiving data of PCB; Determine, according to the transmitted data and the received data, an objective function for correcting the received data; the objective function is obtained by fitting through a least squares method; According to the objective function, the PCB receiving data is corrected.

7. The method according to claim 6, characterized in that The step of obtaining the sending data of the PLC and the receiving data of the PCB includes: The suction pressure and the exhaust pressure of the compressor 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 suction pressure, the exhaust pressure, the liquid level and the operating current are sent to the PCB through the PLC to obtain the sending data of the PLC and the receiving data of the PCB.

8. The method according to claim 7, 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 comprises: Acquire the data quantity of the sent data and the data quantity of the received data; When the data quantity of the received data is smaller than the data quantity of the transmitted data, the PCB is controlled to re-read the transmitted data.

9. The method according to claim 6, characterized in that After determining the objective function according to the transmitted data and the received data, the method further comprises: Storing the objective function in the PCB; The PLC is controlled to read the target function from the PCB.

10. The method according to claim 6, characterized in that After the received data is corrected according to the objective function, the method further includes: In response to the 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 includes verification success or verification failure; When the verification result is that the verification is successful, ending the correction of the received data; When the verification result is that the verification fails, the PLC is controlled to re-read the target function in the PCB to verify again.

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

  • Image forming apparatus

    JP2023124818A

  • Low-power / wideband transfer function measurement method and apparatus

    US6526365B1