Refrigeration equipment and refrigerant status detection device
By using a processing chip and an external conversion circuit in the refrigeration equipment to read the status register value of the analog-to-digital converter and perform filtering processing, the problem of limited communication configuration of the refrigerant leakage detection device in the existing technology is solved, and high reliability is achieved The detection effect of accuracy and accuracy.
Patent Information
- Application Number
- CN202211198603.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-09-29
AI Technical Summary
Devices used in existing refrigeration equipment for detecting refrigerant leakage usually rely on asynchronous serial communication ports, resulting in limited communication configuration, increasing development difficulty and risk, and difficult to ensure detection accuracy.
Design a refrigeration device. By processing the chip and the module converter connection of the external refrigerant state detection device, the external conversion circuit is used to convert the pulse width modulation signal to a actual measurement voltage, and in the operating state or non -operating state of the refrigeration equipment, in the state of the refrigeration equipment, in the state of operation or non -operating state of the refrigeration equipment, in the state of operation or non -operating state of the refrigeration equipment, in the state of operation or non -operating state of the refrigeration equipment. The state value of the state register of the modulus converter in each setting period reads the status register of the modulus converter can improve the detection accuracy by filtering an invalid state value and continuous sampling processing.
It realizes refrigerant leakage detection that is not restricted by asynchronous serial communication ports, improves the reliability and accuracy of detection, and reduces development difficulty and safety risks.
Smart Images

Figure CN115507499B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of refrigeration equipment, and in particular to a refrigeration equipment and a refrigerant state detection device. Background Art
[0002] R410A and R32 were the main refrigerants used in air-conditioning products in the past, but R32 is flammable and may cause safety problems under certain circumstances (lack of safety awareness or improper operation, etc.). This risk is common in the installation and maintenance of refrigeration equipment. Therefore, timely detection of refrigerant leakage and alarm is a new demand for air-conditioning products. In order to ensure the safety of air-conditioning products and prevent accidents such as suffocation and explosion of air-conditioning users and animals in air-conditioned rooms caused by refrigerant leakage, it is necessary to use a refrigerant leakage detection device to detect the amount of refrigerant leakage, output shutdown instructions in a timely manner, issue alarm information, and eliminate dangerous situations in advance.
[0003] In the past, the device used to detect refrigerant leakage was usually connected to the asynchronous serial communication port (Universal Asynchronous Receiver / Transmitter, UART) of the air-conditioning product control chip to output the pulse-width modulation (PWM) detection results to the air-conditioning product. The asynchronous serial communication port is a simple communication interface between systems, which usually requires two serial communication lines to achieve full-duplex communication between two systems. With the increasing requirements for networking of air-conditioning products in industrial sites, the number of industrial sensors and actuators continues to expand, and the asynchronous serial communication ports of air-conditioning products are even more scarce. The communication method of the device used to detect refrigerant leakage can only be customized, which not only increases the development difficulty and cycle of the manufacturer, but also because there are many manufacturers, the secondary developed detection device is non-standard, the detection accuracy is difficult to guarantee, and the risk of use is relatively high. Summary of the invention
[0004] The present application is an improvement made in view of the above-mentioned situation, and aims to obtain a specific application of a refrigerant leakage detection device that is not restricted by communication configuration, thereby improving the reliability of refrigerant leakage detection.
[0005] In order to solve the above technical problems, the first aspect of the present invention provides a refrigeration device. The refrigeration device includes a refrigerant circuit. In the refrigerant circuit, the refrigerant circulates in sequence through a compressor, a condenser, a throttling element and an evaporator.
[0006] In some optional embodiments of the present application, the refrigerant includes R32 refrigerant.
[0007] In some optional embodiments of the present application, the refrigeration device includes a processing chip. The processing chip has an analog-to-digital converter connected to an external refrigerant state detection device via an external conversion circuit. The processing chip is configured to read a state value of a state register of the analog-to-digital converter at each set period in an operating state or a non-operating state of the refrigeration device, and determine the refrigerant state of the refrigeration device based on the state value.
[0008] In order to eliminate the influence of invalid values and circuit delays and improve accuracy, in some optional embodiments of the present application, the processing chip is configured to read the status value of the status register of the analog-to-digital converter at each preset time period when the refrigeration equipment is in an operating state or a non-operating state, and determine whether the read status value meets the invalid status value filtering condition, wherein the set cycle includes several consecutive preset time periods.
[0009] In some optional implementations of the present application, when the read state value does not satisfy the invalid state value filtering condition, the processing chip is configured to determine whether the current state value reading times satisfies the continuous sampling times condition.
[0010] In some optional embodiments of the present application, when the current state value reading times meets the continuous sampling times condition, the processing chip is configured to remove the maximum state value and the minimum state value in the continuously read state values and calculate the average of the remaining state values.
[0011] In some optional implementations of the present application, after calculating the average of the remaining state values, the processing chip is configured to determine whether the average of the remaining state values meets the invalid state value filtering condition.
[0012] In some optional embodiments of the present application, when the mean of the remaining state values does not satisfy the invalid state value filtering condition, the processing chip is configured to retain the mean and determine the refrigerant state of the refrigeration equipment in the current set cycle based on the retained mean.
[0013] In some optional implementations of the present application, when the read status value meets the invalid status value filtering condition, the processing chip is configured not to save the read status value.
[0014] In some optional embodiments of the present application, standard detection status values corresponding to multiple refrigerant states with different priorities are stored in the processing chip.
[0015] In some optional implementations of the present application, when the read status value is higher than the upper limit standard detection status value, the processing chip determines that the read status value satisfies the invalid status value filtering condition.
[0016] In some optional implementations of the present application, when the read status value is lower than the lower limit standard detection status value, the processing chip determines that the read status value satisfies the invalid status value filtering condition.
[0017] In some optional embodiments of the present application, a standard power status value corresponding to the power status is stored in the processing chip; the processing chip is configured to read the status register status value of the analog-to-digital converter at each set cycle when the refrigeration equipment is in an operating state or a non-operating state, and determine the power status of the external refrigerant status detection device based on a comparison result between the status value and the standard power status value.
[0018] In some optional embodiments of the present application, a standard hardware status value corresponding to the hardware status of the external refrigerant status detection device is stored in the processing chip; the processing chip is configured to read the status register status value of the analog-to-digital converter at each set cycle when the refrigeration equipment is in an operating state or a non-operating state, and determine the hardware status of the external refrigerant status detection device based on a comparison result between the status value and the standard hardware status value.
[0019] In some optional embodiments of the present application, the external conversion circuit is configured to receive the state parameters generated and output by the external refrigerant state detection device and convert the state parameters into a measured voltage and output it to an analog-to-digital converter of the processing chip.
[0020] In some optional embodiments of the present application, the state parameter is a pulse width modulated signal, and the state parameters with different set duty cycles correspond to different refrigerant states of the refrigeration equipment, power states of the external refrigerant state detection device, and / or hardware states of the external refrigerant state detection device.
[0021] In some optional implementations of the present application, the external conversion circuit has:
[0022] an input terminal configured to connect to an external refrigerant status detection device;
[0023] An optocoupler, wherein a first pin of a primary side of the optocoupler is connected to an input terminal via a first resistor, a second pin of the primary side is grounded, and a first pin of a secondary side is connected to a power supply via a second resistor;
[0024] A first capacitor, wherein a positive electrode of the first capacitor is connected to the second pin of the secondary side of the optical coupler, and a negative electrode of the first capacitor is grounded;
[0025] a third resistor, one end of the third resistor is connected to the second pin of the secondary side of the optical coupler, and a negative terminal of the third resistor is grounded;
[0026] The output end has one end connected to the second pin of the secondary side of the optical coupler, and the other end connected to the analog-to-digital converter of the processing chip.
[0027] In some optional implementations of the present application, the output terminal is configured to output a measured voltage, and the measured voltage is positively correlated with the set duty cycle.
[0028] In some optional embodiments of the present application, a refrigerant state detection device is further provided. The refrigerant state detection device is used to detect the refrigerant state of a refrigeration device, the refrigeration device having a refrigerant circuit, in which the refrigerant circulates sequentially through a compressor, a condenser, a throttling element, and an evaporator;
[0029] It has:
[0030] A control chip, the control chip is configured to generate and output state parameters to an external conversion circuit;
[0031] Among them, the state parameter is a pulse width modulation signal, and the state parameters with different set duty cycles correspond to different refrigerant states, power states, and / or hardware states of the refrigeration equipment; the external conversion circuit converts the received state parameter into a measured voltage and outputs it to the analog-to-digital converter of the processing chip of the refrigeration equipment.
[0032] In the present application, the acquisition of the detection result of the external refrigerant status detection device depends on the reading of the status value of the analog-to-digital converter status register, does not depend on the communication between asynchronous serial communication ports, is not restricted by the number of asynchronous serial communication ports of the processing chip, and does not require customization of the external refrigerant status detection device, thereby avoiding increasing the difficulty of development, extending the development cycle, and reducing the safety risks introduced by non-standard external refrigerant status detection devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic structural block diagram of a refrigeration device according to some embodiments is shown;
[0034] Figure 2 A schematic block diagram showing a communication structure between a refrigeration device and an external refrigerant state detection device according to some embodiments is shown;
[0035] Figure 3 A flow chart showing a processing chip according to some embodiments;
[0036] Figure 4 A flow chart showing a processing chip according to some embodiments;
[0037] Figure 5 A flow chart showing a processing chip according to some embodiments;
[0038] Figure 6 A flow chart showing a processing chip according to some embodiments;
[0039] Figure 7is a representation of the corresponding relationship between the state parameter (PWM) and the measured voltage (A / D) according to some embodiments;
[0040] Figure 8 is a representation of the corresponding relationship between the state parameter (PWM) and the measured voltage (A / D) according to some embodiments;
[0041] Fig. 9 is a measured curve of a measured voltage (A / D) outputted by an external conversion circuit to an analog-to-digital converter according to some embodiments;
[0042] Fig.10 shows a circuit diagram of an external conversion circuit according to some embodiments;
[0043] Fig.11 The table in gives an optional example of the refrigerant state, priority, set duty cycle, measured voltage, and standard detection state value stored in the processing chip;
[0044] Fig.12 The table in gives an optional example of power state, priority, set duty cycle, measured voltage, and standard power state value stored in the processing chip;
[0045] Fig.13 The table in gives an optional example of hardware status, priority, set duty cycle, measured voltage, and standard hardware status values stored in the processing chip;
[0046] Fig.14 The table in gives an optional example of the refrigerant state, power state, hardware state, priority, set duty cycle, measured voltage, and corresponding standard value stored in the processing chip;
[0047] Fig.15 A schematic block diagram of the communication structure between an external refrigerant state detection device and a refrigeration device provided according to some embodiments is shown. DETAILED DESCRIPTION
[0048] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0049] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0050] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0051] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0052] The purpose of the present application is to obtain a specific application of a refrigerant leakage detection device that is not restricted by communication configuration, thereby improving the reliability of refrigerant leakage detection. Refrigeration equipment of a specific embodiment of the present application is described below with reference to the accompanying drawings. Figure 1 1 is a schematic diagram of the refrigerant circuit of the refrigeration equipment of this embodiment. The refrigeration equipment adopts a compression refrigeration cycle, and has four main components, namely, a compressor 101, a condenser 102 (high-temperature heat source), a throttling element 103, and an evaporator 104 (low-temperature heat source), to form a refrigerant circuit. In the refrigerant circuit, the refrigerant circulates through the compressor 101, the condenser 102, the throttling element 103, and the evaporator 104 in sequence.
[0053] In the following part of this embodiment, the refrigeration equipment will be introduced by taking the air conditioning equipment 100 as an example. However, those skilled in the art will undoubtedly understand that other refrigeration equipment that uses a compressor as an energy regulating device and is suitable for the above-mentioned refrigerant circuit, such as heat pump systems, refrigerators, freezers, commercial display cabinets, commercial ice-making devices, household refrigeration equipment, refrigerated transportation equipment, etc., which are not specifically described, will also be included in the protection scope of the present invention.
[0054] In this embodiment, the cooling and heating cycle of the air conditioning device 100 includes a series of processes involving compression, condensation, expansion and evaporation to cool or heat the indoor space.
[0055] The low-temperature and low-pressure refrigerant enters the compressor 101, which compresses it into a high-temperature and high-pressure refrigerant gas and discharges the compressed refrigerant gas. The discharged refrigerant gas flows into the condenser 102. The condenser 102 condenses the compressed refrigerant into a liquid phase, and the heat is released to the surrounding environment through the condensation process.
[0056] The throttling element 103, taking the expansion valve as an example, expands the high-temperature and high-pressure liquid phase refrigerant condensed in the condenser 102 into a low-pressure liquid phase refrigerant. The evaporator 104 evaporates the refrigerant expanded in the expansion valve and returns the refrigerant gas in a low-temperature and low-pressure state to the compressor 101. The evaporator 104 can achieve a refrigeration 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 device 100 can adjust the temperature of the indoor space.
[0057] The outdoor unit of the air-conditioning device 100 refers to the part of the refrigeration cycle including the compressor 101, the outdoor heat exchanger and the outdoor fan, the indoor unit of the air-conditioning device 100 refers to the part including the indoor heat exchanger and the indoor fan, and a throttling device (such as a capillary tube or an electronic expansion valve) can be provided in the indoor unit or the outdoor unit.
[0058] The indoor heat exchanger and the outdoor heat exchanger function as the condenser 102 or the evaporator 104. When the indoor heat exchanger functions as the condenser 102, the air conditioning apparatus 100 performs a heating mode, and when the indoor heat exchanger functions as the evaporator 104, the air conditioning apparatus 100 performs a cooling mode.
[0059] The indoor heat exchanger and the outdoor heat exchanger are switched to serve as the condenser 102 or the evaporator 104 , generally using a four-way valve. For details, please refer to the settings of the conventional air-conditioning equipment 100 , which will not be described in detail here.
[0060] The refrigeration working principle of the air-conditioning equipment 100 is: the operation of the compressor 101 makes the indoor heat exchanger (in the indoor unit, this is the evaporator 104) in an ultra-low pressure state, and the liquid refrigerant in the indoor heat exchanger evaporates rapidly to absorb heat. The wind flow blown by the indoor fan is cooled by the indoor heat exchanger coil and becomes cold air to be blown indoors. The evaporated refrigerant is pressurized by the compressor 101 and condensed into liquid under the high-pressure environment of the outdoor heat exchanger (in the outdoor unit, this is the condenser 102), releasing heat, and dissipating the heat into the atmosphere through the outdoor fan. Such a cycle achieves a refrigeration effect.
[0061] The heating working principle of the air conditioning device 100 is as follows: the gaseous refrigerant is pressurized by the compressor 101, becomes a high-temperature and high-pressure gas, enters the indoor heat exchanger (the condenser 102 at this time), condenses and liquefies to release heat, becomes a liquid, and heats the indoor air at the same time, thereby achieving the purpose of increasing the indoor temperature. The liquid refrigerant is decompressed by the throttling device and enters the outdoor heat exchanger (the evaporator 104 at this time), evaporates and gasifies to absorb heat, becomes a gas, and absorbs heat from the outdoor air (the outdoor air becomes colder), becomes a gaseous refrigerant, and enters the compressor 101 again to start the next cycle.
[0062] In some optional implementations of the present application, the air-conditioning device 100 may include multiple indoor units, and the multiple indoor units work in combination with an outdoor unit, such as a "one-to-many" air-conditioning unit.
[0063] In some optional embodiments of the present application, the air conditioning device 100 may include multiple outdoor units. The outdoor units may be configured to work in groups, for example, two units are grouped together, and the corresponding indoor units are arranged in a matching manner. Each outdoor unit may be provided with one compressor 101 or multiple compressors 101, and AC power is supplied to the compressor 101 through a frequency conversion device. When the output frequency of the frequency conversion device changes, the rotation speed of the compressor 101 changes, and different air conditioning capacities are achieved.
[0064] In some optional embodiments of the present application, the indoor unit may adopt an independent air supply structure, such as a wall-mounted air supply structure, a floor-standing air supply structure, a duct-type air supply structure, or an air supply structure embedded in the ceiling, etc.
[0065] In some optional embodiments of the present application, the indoor unit is provided with a corresponding wire controller, and the wire controller is provided with an operation interface for inputting set temperature and operation mode, and a display interface for displaying the real-time temperature or operation status of the air-conditioned room.
[0066] In some optional implementations of the present application, the indoor unit is provided with a corresponding remote controller, and the remote controller is provided with buttons for inputting set temperature and operation mode.
[0067] In some optional embodiments of the present application, the indoor unit is communicatively connected to a mobile terminal, and the mobile terminal has an application interface, through which the set temperature and operation mode can be input and the real-time temperature or operation status of the air-conditioned room can be displayed.
[0068] In some optional implementations of the present application, an outdoor heat exchanger is provided in each outdoor unit, and the refrigerant in the outdoor heat exchanger can exchange heat with an external medium, and the external medium can be water or air.
[0069] In some optional embodiments of the present application, the number of electronic expansion valves and four-way valves serving as the throttling element 103 can be designed according to functional requirements.
[0070] The outdoor unit is provided with an outdoor unit mainboard, and the outdoor unit mainboard is preferably provided with an outdoor controller. The outdoor controller is configured to drive the frequency conversion device to work, receive and process sampling signals of various sensors, and realize necessary communication functions.
[0071] In some optional implementations of the present application, the outdoor controller includes components such as a storage unit, a processor, an input / output interface, and a communication interface.
[0072] The storage unit may include a volatile memory and / or a non-volatile memory. The storage unit is configured to store instructions or data associated with at least one component of the outdoor unit, such as storing an application program. Exemplarily, the application program may be to control the throttling element 103, the compressor 101, and the four-way valve to make the air conditioning device 100 perform heating operation or cooling operation.
[0073] The processor may be a dedicated processor, a central processing unit (CPU), etc. The processor may access the storage unit to execute instructions stored in the storage unit to implement relevant functions.
[0074] The input / output interface may be a serial communication interface.
[0075] The communication interface can be a software interface that supports different wireless communication protocols, such as 4G, 5G, NB-IoT, WiFi, Bluetooth, near-field communication, etc.
[0076] The outdoor unit mainboard usually also integrates a filter circuit and a switching power supply circuit.
[0077] In some optional implementations of the present application, the outdoor controller may be communicatively connected to a cloud control platform (server).
[0078] The indoor unit is provided with an indoor unit mainboard 105, and the indoor unit mainboard 105 is preferably provided with a processing chip 106. The processing chip 106 is configured to drive the indoor fan, receive and process sampling signals of various sensors, and realize necessary communication functions. The processing chip 106 is integrated with an analog-to-digital converter.
[0079] The indoor unit mainboard 105 is also usually provided with a power circuit to provide DC 12V and 5V voltages.
[0080] In some optional embodiments of the present application, the external refrigerant state detection device 200 is an instrument that uses a semiconductor gas sensor as a detection means, and can detect refrigerants such as R32, R407C, R410A, R290, and R600. The gas sensor has a sensor resistance value that changes with respect to the gas concentration, and the sensor resistance value decreases as the refrigerant gas concentration increases. The external refrigerant state detection device 200 has an asynchronous serial communication port (Universal Asynchronous Receiver / Transmitter, UART) to output the detection result. The external refrigerant state detection device 200 can be installed in an outdoor unit, an indoor unit, a pipe between an outdoor unit and an indoor unit, or an air-conditioned room.
[0081] Reference Figure 2, the information processing in the processing chip 106 in the refrigeration device is introduced. As mentioned above, the processing chip 106 is a chip integrated on the indoor unit mainboard 105, and the processing chip 106 integrates an analog-to-digital converter (A / D Converter), such as a commercially available MCU chip.
[0082] Reference Figure 2 and Figure 3 , the processing chip 106 is connected to the analog-to-digital converter of the external refrigerant state detection device 200 via the external conversion circuit 107. That is, when the air conditioning device 100 is connected to the power supply, Figure 3 As shown in step S101, whether the air conditioner 100 is in an operating state (e.g., in a cooling mode, a heating mode, a dehumidification mode, etc.), or even in a non-operating state (e.g., in a standby state), the processing chip 106 reads the state value of the state register of the analog-to-digital converter (e.g., Figure 3 ), and determine the refrigerant state of the refrigeration equipment based on the state value (such as Figure 3 In this process, the acquisition of the detection result of the external refrigerant state detection device depends on the reading of the state value of the analog-to-digital converter state register, does not depend on the communication between the asynchronous serial communication ports, is not restricted by the number of asynchronous serial communication ports of the processing chip, and does not need to customize the external refrigerant state detection device, thereby avoiding increasing the development difficulty, extending the development cycle, and reducing the safety risks introduced by the non-standard external refrigerant state detection device.
[0083] In some optional embodiments of the present application, the external refrigerant state detection device 200 outputs a state parameter through an asynchronous serial communication port, and the state parameter is a pulse width modulation signal (PWM signal) with different set duty cycles.
[0084] In some optional embodiments of the present application, the external refrigerant state detection device 200 can output state parameters with different set duty ratios to characterize the refrigerant states of different refrigeration equipment. Exemplarily, the state parameters with different set duty ratios correspond to the refrigerant concentrations in the refrigeration equipment, for example, a state parameter with a set duty ratio corresponds to a refrigerant concentration state far below a set concentration threshold (e.g., 1 / 4 of the combustion limit concentration), i.e., a safe state; another state parameter with a set duty ratio corresponds to a refrigerant concentration state below the set concentration threshold, i.e., a state that requires further monitoring; another state parameter with a set duty ratio corresponds to a refrigerant concentration state adjacent to the set concentration threshold, i.e., a dangerous state adjacent to the threshold; and another set of state parameters with a set duty ratio corresponds to a refrigerant concentration state exceeding the detection range, i.e., a high-risk state.
[0085] In some optional embodiments of the present application, the external refrigerant state detection device 200 may also output state parameters with different set duty cycles to characterize the hardware state of the external refrigerant state detection device 200. For example, a state parameter with a set duty cycle corresponds to a hardware state of sensor life expiration, and another state parameter with a set duty cycle corresponds to a hardware state of sensor abnormality.
[0086] In some optional embodiments of the present application, the external refrigerant state detection device 200 may also output state parameters with different set duty cycles to characterize the power state of the external refrigerant state detection device 200. For example, a state parameter with a set duty cycle corresponds to a power state of abnormal sensor power supply.
[0087] In some optional embodiments of the present application, the external refrigerant state detection device 200 may also arbitrarily output state parameters with different set duty cycles to characterize one of the refrigerant states of different refrigeration equipment, the power state of the external refrigerant state detection device 200, and the hardware state of the external refrigerant state detection device 200.
[0088] The external conversion circuit 107 is configured to receive the state parameters generated and output by the external refrigerant state detection device 200 and convert the state parameters into measured voltages, and output the voltages to the analog-to-digital converter of the processing chip 106 .
[0089] The structure of the external conversion circuit 107 is introduced below. In some optional implementations of the present application, Fig.10 As shown, the external conversion circuit 107 has components such as an input terminal, an optical coupler IC1, a first capacitor C1, a first resistor R1, a second resistor R2, a third resistor R3 and an output terminal.
[0090] The input end of the external conversion circuit 107 is configured to connect to the external refrigerant state detection device 200, specifically, to the asynchronous serial communication port (UART) of the external refrigerant state detection device 200. The optical coupler IC1 plays an isolation role, the first pin of the primary side, that is, the positive electrode of the light emitting diode is connected to the input end via the first resistor R1, the second pin of the primary side, that is, the negative electrode of the light emitting diode is grounded, and the secondary side, that is, the collector of the phototransistor is connected to the power supply VCC via the second resistor R2. The power supply VCC can be a 5V power supply on the indoor unit mainboard 105.
[0091] The second pin of the secondary side of the optocoupler IC1, that is, the emitter of the phototransistor, is connected to the positive electrode of the first capacitor C1, and the negative electrode of the first capacitor C1 is grounded. One end of the third resistor R3 is connected to the second pin of the secondary side of the optocoupler IC1, and the negative electrode is grounded.
[0092] The output end of the external conversion circuit 107 is connected to the second pin of the secondary side of the optical coupler IC1 , that is, is led out from one end of the third resistor R3 , and the other end is connected to the analog-to-digital converter of the processing chip 106 .
[0093] Due to the filtering effect of the first capacitor C1 and the third resistor R3, the positive cycle of the PWM signal will charge the first capacitor C1, and the negative cycle of the first capacitor C1 will discharge. In this way, the first capacitor C1 is charged and discharged with the PWM signal, so that the voltage of the first capacitor C1 is near the equivalent DC signal of the PWM signal and remains relatively stable. The output end is configured to output the measured voltage, and the measured voltage is positively correlated with the set duty cycle. In this way, the pulse width modulation signal (PWM signal) output by the external refrigerant state detection device 200 is converted into a voltage value that can be sampled by the analog-to-digital sensor through the external conversion circuit 107. Since the state parameter has different set duty cycles, the measured voltage also has a voltage value that corresponds to the set duty cycle.
[0094] Figure 7 It is a set of corresponding relations between state parameters (PWM) and measured voltage (A / D).
[0095] When the power supply voltage VCC is 5V, the full-scale voltage is 5V. Assuming that the set duty cycle of a certain state parameter is 50%, the theoretical value of the measured voltage is 2.5V (5V*50%), that is, the measured voltage output at the output end of the external conversion circuit 107 is 2.5V (a certain error is allowed). Exemplarily, the state register of the analog-to-digital converter is an 8-bit register (or 16-bit), then corresponding to the full-scale power supply voltage VCC, the maximum state value of the analog-to-digital converter (in decimal) is 255. The state value corresponding to the state parameter with a set duty cycle of 50% is 0x7F (in hexadecimal). State value = (measured voltage value / full-scale voltage) * 255 = (2.5V / 5V) * 255, round 127 and convert to hexadecimal, that is, 7F, expressed as 0x7F, 0x is a hexadecimal identifier. The state value can be written into the state register for reading.
[0096] Figure 8 It is another set of corresponding relations among the state parameter (PWM), the measured voltage (A / D) and the state value.
[0097] When the power supply voltage VCC is 5V, the full-scale voltage is 5V. Assuming that the set duty cycle of a certain state parameter is 90%, the theoretical value of the measured voltage is 4.5V (5V*90%), that is, the measured voltage output at the output end of the external conversion circuit 107 is 3.9V (within the allowable error range). Exemplarily, the state register of the analog-to-digital converter is an 8-bit register (it can also be 16 bits), then corresponding to the full-scale power supply voltage VCC, the maximum state value of the analog-to-digital converter (in decimal) is 255. The state value corresponding to the state parameter with a set duty cycle of 90% is 0xC6 (in hexadecimal). State value = (measured voltage value / full-scale voltage) * 255 = (3.9V / 5V) * 255, rounded to 198 and converted to hexadecimal, that is, 7F, expressed as 0x7F, 0x is a hexadecimal identifier.
[0098] Fig. 9 The measured voltage (A / D) is a measured curve of the measured voltage (A / D) output by the external conversion circuit 107 to the analog-to-digital converter. Due to the delay of the first capacitor C1 and the third resistor R3, the measured voltage rises nonlinearly in the initial stage (such as the part between line A and line B in the figure) and obviously deviates from the theoretical value of the measured voltage. If the processing chip 106 samples the state value at this stage, an obvious misjudgment will occur. To avoid this problem, in some optional embodiments of the present application, the processing chip 106 in the refrigeration device is configured to perform the following Figure 3 Multiple steps shown.
[0099] The processing chip 106 is configured to read the state value (such as the state value of the state register of the analog-to-digital converter) of the refrigeration equipment at each preset specified time period when the refrigeration equipment is in the operating state or the non-operating state. Figure 4 ), and determining whether the read status value satisfies the invalid status value filtering condition (such as Figure 4 The preset prescribed time period is set as a part of the set cycle, for example, the set cycle includes several consecutive preset prescribed time periods. The set cycle can be 70ms or 80ms, and the preset prescribed time period can be 10ms. The set cycle and the preset prescribed time period can be set according to the hardware parameters (such as clock frequency, etc.) of the processing chip 106.
[0100] In the case where the read state value does not satisfy the invalid state value filtering condition, the processing chip 106 is configured to determine whether the current state value reading times satisfy the continuous sampling times condition, such as Figure 4 As shown in step S203.
[0101] When the current state value reading times meet the continuous sampling times condition, the processing chip 106 is configured to remove the maximum state value and the minimum state value in the continuously read state values, such as Figure 4As shown in step S204.
[0102] After removing the maximum state value and the minimum state value from the continuously read state values, the mean of the remaining state values is calculated, such as Figure 4 As shown in step S205.
[0103] After calculating the mean of the remaining state values, the processing chip 106 is configured to determine whether the mean of the remaining state values satisfies the invalid state value filtering condition, such as Figure 4 As shown in step S206.
[0104] In the case where the mean of the remaining state values does not satisfy the invalid state value filtering condition, the processing chip 106 is configured to retain the mean and determine the refrigerant state of the refrigeration equipment in the current set cycle according to the mean, such as Figure 4 As shown in step S207.
[0105] Since the starting stage of the measured voltage (such as the part between line A and line B in the figure) lasts for about 12.6ms, this situation will only occur once in the set period of 70ms. Through the above steps, even if the read state value is generated in the starting stage, it will only be read once. By collecting multiple times, removing the maximum and minimum values and calculating the average, it is possible to avoid using the state value that changes linearly in the starting stage to judge the refrigerant state in the refrigeration equipment, and effectively improve the detection accuracy.
[0106] Since both the external device and the processing chip 106 can write to the status register of the analog-to-digital converter, during the operation of the processing chip 106, the status register of the analog-to-digital converter may be written with invalid values due to different interrupt programs, so invalid status value filtering conditions are specially designed. Figure 5 As shown in step S303, when the read state value meets the invalid state value filtering condition, the processing chip 106 is configured not to save the read state value, that is, when the invalid state value is collected, the processing chip 106 immediately discards it without storing it. The processing chip 106 is further configured to determine the refrigeration state of the refrigeration device in the current set cycle based on the retained mean value only when the mean value also does not meet the invalid state value filtering condition, that is, Figure 5 As shown in step S308, when the mean value satisfies the invalid value filtering condition, the processing chip 106 is configured not to retain the calculated mean value, thereby completely eliminating the interference of invalid state values.
[0107] In some optional embodiments of the present application, when the read state value meets the invalid state value filtering condition, the processing chip 106 is configured not to save the read state value, and not to accumulate the number of continuous samplings, and only when the continuous sampling reaches the valid state value that meets the set number, the steps of removing the maximum value and the minimum value and calculating the mean are performed. In this way, the step of determining whether the mean meets the invalid state value filtering condition can be omitted.
[0108] In some optional implementations of the present application, whether the read status value satisfies the invalid status value filtering condition is determined in the following manner.
[0109] The processing chip 106 stores standard detection state values corresponding to a plurality of refrigerant states with different priorities.
[0110] The processing chip 106 reads the status value of the status register of the analog-to-digital converter every 10 ms (eg Figure 6 As shown in step S401 in the figure), and compared with the lower limit standard detection state value in the standard detection state value.
[0111] When the read state value is lower than the lower limit standard detection state value, the processing chip 106 determines that the read state value meets the invalid state value filtering condition. Figure 6 As shown in steps S402 and S403, when the read status value is lower than the lower limit standard detection status value (for example, 0x19), the processing chip 106 determines that the read status value meets the invalid status value filtering condition and is configured not to save the read status value, that is, when an invalid status value is collected, the processing chip 106 immediately discards it without storing it.
[0112] When the read state value is higher than the lower limit standard detection state value, the processing chip 106 compares it with the upper limit standard detection state value among the standard detection state values.
[0113] If the read state value is higher than the upper limit standard detection state value, it is determined that the read state value meets the invalid state value filtering condition. Figure 6 As shown in steps S404 and S405, when the detection state value is higher than the upper limit standard (for example, 0xAD), the processing chip 106 determines that the read state value meets the invalid state value filtering condition and is configured not to save the read state value, that is, when an invalid state value is collected, the processing chip 106 immediately discards it without storing it.
[0114] After determining that the status values are read eight times in succession, the processing chip 106 performs an operation of removing the maximum value and the minimum value from the status values that are read in succession.
[0115] The lower limit standard detection state value and the upper limit standard detection state value can be calculated and set according to the set duty cycle of the state parameter. In some other optional implementations of the present application, the lower limit standard detection state value and the upper limit standard detection state value can also be other values.
[0116] Fig.11 The table in FIG. 1 shows an optional example of the refrigerant state, priority, set duty cycle, measured voltage, and standard detection state value stored in the processing chip 106, that is, when the retained mean value is 0xC6 (it can also be another value within the allowable error range, the allowable error range can be -1%~+1%, -5%~+5%, etc., the same below), the processing chip 106 can determine that the refrigerant state of the current refrigeration equipment is that the refrigerant concentration exceeds the range based on the standard state value; when the retained mean value is 0x7F, the processing chip 106 can determine that the refrigerant state of the current refrigeration equipment is that the refrigerant concentration is high based on the standard state value, for example, 1 / 4 of the concentration close to the combustion limit, and the processing chip 10 6. An alarm is issued through an external device (such as a buzzer, a display panel, a mobile terminal, a wired controller, a remote control, etc.) to prompt the user to intervene to prevent accidents caused by refrigerant gas leakage; when the retained mean value is 0x99, the processing chip 106 can determine that the refrigerant state of the current refrigeration equipment is medium refrigerant concentration based on the standard state value, and the processing chip 106 can automatically increase the reading frequency of the state value to automatically achieve more intensive detection; when the retained mean value is 0xAD, the processing chip 106 can determine that the refrigerant state of the current refrigeration equipment is low refrigerant concentration based on the standard state value, and the processing chip 106 determines that the refrigerant state in the air-conditioning equipment 100 is normal and does not intervene.
[0117] In some optional embodiments of the present application, a standard power state value corresponding to the power state is stored in the processing chip 106. The processing chip 106 is configured to read the state register state value of the analog-to-digital converter at each set period in the operating state or non-operating state of the refrigeration equipment, and determine the power state of the external refrigerant state detection device 200 based on the comparison result of the state value and the standard power state value.
[0118] Fig.12 The table in the figure gives an optional example of the power status, priority, set duty cycle, measured voltage, and standard power status value stored in the processing chip 106, that is, when the read status value is 0, the processing chip 106 can determine that the power supply of the current external refrigerant status detection device 200 is abnormal based on the standard power status value, and the processing chip 106 issues a prompt through an external device (such as a buzzer, display panel, mobile terminal, wire controller, remote control, etc.) to avoid failure of the detection equipment resulting in failure to detect refrigerant gas leakage accidents.
[0119] In some optional embodiments of the present application, the processing chip 106 stores a standard hardware status value corresponding to the hardware status of the external refrigerant status detection device 200; the processing chip 106 is configured to read the status register status value of the analog-to-digital converter at each set cycle when the refrigeration equipment is in an operating state or a non-operating state, and determine the hardware status of the external refrigerant status detection device 200 based on a comparison result between the status value and the standard hardware status value.
[0120] Fig.13 The table in gives an optional example of the hardware status, priority, set duty cycle, measured voltage, and standard hardware status value stored in the processing chip 106, that is, when the read status value is 0x19, the processing chip 106 can determine that the life of the current external refrigerant status detection device 200 has expired based on the standard hardware status value, and the processing chip 106 issues a prompt through an external device (such as a buzzer, display panel, mobile terminal, wire controller, remote control, etc.), reminding the user to contact the staff for timely replacement to avoid failure of the detection equipment and failure to detect refrigerant gas leakage accidents. When the read status value is 0x51, the processing chip 106 can determine that the current external refrigerant status detection device 200 is in an abnormal working state based on the standard hardware status value, and the processing chip 106 issues a prompt through an external device (such as a buzzer, display panel, mobile terminal, wire controller, remote control, etc.).
[0121] In some optional implementations of the present application, the processing chip 106 simultaneously stores standard detection status values, standard power status values, and standard hardware status values and assigns them a unified priority order. Fig.14 The table in FIG. 1 shows an optional example of the refrigerant state, power state, hardware state, priority, set duty cycle, measured voltage, and standard value stored in the processing chip 106. The determination process of the processing chip 106 based on the standard value is the same as the above embodiment, and will not be repeated here.
[0122] In some optional embodiments of the present application, a refrigerant state detection device is further provided. The refrigerant state detection device is used to detect the refrigerant state of a refrigeration device. The refrigeration device has a refrigerant circuit, in which the refrigerant circulates sequentially through a compressor 101, a condenser 102, a throttling element 103, and an evaporator 104. The specific working mode of the refrigeration device is described in detail in the above embodiment, and will not be repeated here.
[0123] like Fig.15As shown, the refrigerant state detection device has a control chip 201. The control chip 201 is configured to generate and output state parameters to the external conversion circuit 107. Exemplarily, the control chip 201 outputs the state parameters to the external conversion circuit 107 via an asynchronous serial communication port (Universal Asynchronous Receiver / Transmitter, UART).
[0124] The state parameter is a pulse width modulation signal, and the state parameters with different set duty cycles correspond to different refrigerant states, power states, and / or hardware states of the refrigeration equipment; the external conversion circuit 107 converts the received state parameter into a measured voltage and outputs it to the analog-to-digital converter of the processing chip 106 of the refrigeration equipment.
[0125] The external conversion circuit 107 can realize the communication interaction between the UART interface of the refrigerant state detection device and the analog-to-digital converter of the processing chip 106 , so as to prevent the refrigerant state detection device from occupying the UART interface of the processing chip 106 .
[0126] In some optional embodiments of the present application, such as Fig.10 As shown, the external conversion circuit 107 has components such as an input terminal, an optical coupler IC1, a first capacitor C1, a first resistor R1, a second resistor R2, a third resistor R3 and an output terminal.
[0127] The input end of the external conversion circuit 107 is configured to connect to the refrigerant state detection device, specifically, to the asynchronous serial communication port (UART) of the refrigerant state detection device. The optocoupler IC1 plays an isolation role, the first pin of the primary side, that is, the positive electrode of the light emitting diode is connected to the input end via the first resistor R1, the second pin of the primary side, that is, the negative electrode of the light emitting diode is grounded, and the secondary side, that is, the collector of the phototransistor is connected to the power supply via the second resistor R2. The power supply can be a 5V power supply on the indoor unit mainboard 105.
[0128] The second pin of the secondary side of the optocoupler IC1, that is, the emitter of the phototransistor, is connected to the positive electrode of the first capacitor C1, and the negative electrode of the first capacitor C1 is grounded. One end of the third resistor R3 is connected to the second pin of the secondary side of the optocoupler IC1, and the negative electrode is grounded.
[0129] The output end of the external conversion circuit 107 is connected to the second pin of the secondary side of the optical coupler IC1 , that is, is led out from one end of the third resistor R3 , and the other end is connected to the analog-to-digital converter of the processing chip 106 .
[0130] Due to the filtering effect of the first capacitor C1 and the third resistor R3, the positive cycle of the PWM signal will charge the first capacitor C1, and the negative cycle of the first capacitor C1 will discharge. In this way, the first capacitor C1 is charged and discharged with the PWM signal, so that the voltage of the first capacitor C1 is near the equivalent DC signal of the PWM signal and remains relatively stable. The output end is configured to output the measured voltage, and the measured voltage is positively correlated with the set duty cycle. In this way, the pulse width modulation signal (PWM signal) output by the external refrigerant state detection device 200 is converted into a voltage value that can be sampled by the analog-to-digital sensor through the external conversion circuit 107. Since the state parameter has different set duty cycles, the measured voltage also has a voltage value that corresponds to the set duty cycle.
[0131] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
[0132] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A refrigeration device, comprising: A refrigerant circuit in which the refrigerant circulates in sequence through a compressor, a condenser, a throttling element and an evaporator; It is characterized by further comprising: A processing chip having: an analog-to-digital converter connected to an external refrigerant state detection device via an external conversion circuit; the external conversion circuit is configured to receive a state parameter generated and output by the external refrigerant state detection device and convert the state parameter into a measured voltage and output it to the analog-to-digital converter; the state parameter is a pulse width modulation signal, and state parameters with different set duty cycles correspond to different refrigerant states of the refrigeration equipment, power supply states of the external refrigerant state detection device, and / or hardware states of the external refrigerant state detection device; The processing chip is configured to read the state value of the state register of the analog-to-digital converter in a preset period of time within a set cycle when the refrigeration equipment is in an operating state or a non-operating state, and determine whether the read state value meets the invalid state value filtering condition, wherein the set cycle includes a plurality of consecutive preset time periods; In the case where the read state value does not satisfy the invalid state value filtering condition, the processing chip is configured to determine whether the current state value reading times satisfies the continuous sampling times condition; When the number of times the current state value is read meets the continuous sampling number condition, the processing chip is configured to remove the maximum state value and the minimum state value from the continuously read state values, and calculate the average of the remaining state values; After calculating the mean of the remaining state values, the processing chip is configured to determine whether the mean of the remaining state values satisfies an invalid state value filtering condition; In the case where the mean of the remaining state values does not satisfy the invalid state value filtering condition, the processing chip is configured to retain the mean and determine the refrigerant state of the refrigeration equipment in the current set cycle according to the retained mean.
2. The refrigeration equipment according to claim 1, characterized in that: In the case where the read status value satisfies the invalid status value filtering condition, the processing chip is configured not to save the read status value.
3. The refrigeration device according to claim 2, characterized in that: The processing chip stores standard detection state values corresponding to a plurality of refrigerant states with different priorities; When the read status value is higher than the upper limit standard detection status value, or when the read status value is lower than the lower limit standard detection status value, the processing chip determines that the read status value satisfies the invalid status value filtering condition.
4. The refrigeration device according to claim 3, characterized in that: The processing chip stores a standard power state value corresponding to the power state; The processing chip is configured to read the status register status value of the analog-to-digital converter in each set cycle when the refrigeration equipment is in an operating state or a non-operating state, and determine the power status of the external refrigerant status detection device based on a comparison result between the status value and a standard power status value.
5. The refrigeration equipment according to claim 3, characterized in that: The processing chip stores a standard hardware status value corresponding to the hardware status of the external refrigerant status detection device; the processing chip is configured to read the status register status value of the analog-to-digital converter at each set cycle when the refrigeration equipment is in an operating state or a non-operating state, and determine the hardware status of the external refrigerant status detection device based on a comparison result between the status value and the standard hardware status value.
6. The refrigeration device according to claim 1, characterized in that: The external conversion circuit has: an input end configured to be connected to the external refrigerant state detection device; An optical coupler, wherein a first pin of a primary side of the optical coupler is connected to the input end via a first resistor, a second pin of the primary side is grounded, and a first pin of a secondary side is connected to a power supply via a second resistor; A first capacitor, wherein the positive electrode of the first capacitor is connected to the second pin of the secondary side of the optical coupler, and the negative electrode is grounded; A third resistor, one end of which is connected to the second pin of the secondary side of the optical coupler, and a negative electrode of which is grounded; An output end, one end of which is connected to the second pin of the secondary side of the optical coupler, and the other end of which is connected to the analog-to-digital converter of the processing chip.
7. The refrigeration device according to claim 6, characterized in that: The output terminal is configured to output a measured voltage, and the measured voltage is positively correlated with the set duty cycle.
8. A refrigerant state detection device, used for detecting the refrigerant state of a refrigeration device, the refrigeration device having a refrigerant circuit, in which the refrigerant circulates in sequence through a compressor, a condenser, a throttling element and an evaporator; It is characterized in that It has: A control chip configured to generate and output state parameters to an external conversion circuit; Wherein, the state parameter is a pulse width modulation signal, and the state parameters with different set duty cycles correspond to different refrigerant states, power states, and / or hardware states of the refrigeration equipment; the external conversion circuit converts the received state parameter into a measured voltage and outputs it to an analog-to-digital converter of a processing chip of the refrigeration equipment; The processing chip is configured to read the state value of the state register of the analog-to-digital converter in a preset period of time within a set cycle when the refrigeration equipment is in an operating state or a non-operating state, and determine whether the read state value meets the invalid state value filtering condition, wherein the set cycle includes a plurality of consecutive preset time periods; In the case where the read state value does not satisfy the invalid state value filtering condition, the processing chip is configured to determine whether the current state value reading times satisfies the continuous sampling times condition; When the number of times the current state value is read meets the continuous sampling number condition, the processing chip is configured to remove the maximum state value and the minimum state value from the continuously read state values, and calculate the average of the remaining state values; After calculating the mean of the remaining state values, the processing chip is configured to determine whether the mean of the remaining state values satisfies an invalid state value filtering condition; In the case where the mean of the remaining state values does not satisfy the invalid state value filtering condition, the processing chip is configured to retain the mean and determine the refrigerant state of the refrigeration equipment in the current set cycle according to the retained mean.
Citation Information
Patent Citations
ANALOG-DIGITAL TO INTERPOLATION converter
BE890775A
Pulse real-time detection method and circuit for nanosecond pulse width electrochemical machining
CN103941075A