Communication circuit, communication method and operation control device of air conditioner and air conditioner
By using coupled transformers and high-frequency communication signals in air conditioners, the isolation, rate and cost problems of existing air conditioners communication methods are solved, and efficient and low-cost internal and external communications are achieved.
Patent Information
- Application Number
- CN202310984026.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-04
- Publication Date
- 2025-02-14
AI Technical Summary
The communication methods between the indoor unit and the outdoor unit of the existing air conditioner, such as RS485 and current ring communication, have problems such as isolation requirements, low speed and easy data loss, and are costly.
Coupled transformers are used to realize isolated communication between the inside and outside the air conditioner, provide the basic frequency voltage signal through the AC power input, and inject high-frequency communication signals into the basic frequency voltage signal through the signal transmission module, and use power lines to perform single-line communication.
It realizes efficient communication isolation, reduces communication costs, and improves communication efficiency and utilization.
Smart Images

Figure CN119436479A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air-conditioning communication, and in particular to a communication circuit, a communication method, an operation control device and an air-conditioner. Background Art
[0002] At present, the communication between the indoor unit and the outdoor unit of the household air conditioner mostly adopts RS485 communication or current loop communication. However, the communication isolation of these two communication methods requires special optical coupling devices, and the current loop communication has the disadvantages of low speed and easy data loss; the RS485 communication requires special chips and special communication lines, which has the disadvantage of high cost. Summary of the invention
[0003] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art, and to provide a communication circuit, a communication method, an operation control device and an air conditioner for an air conditioner, which adopts a coupling transformer to directly realize isolated communication between the indoor and outdoor units of the air conditioner, with high communication efficiency and low communication cost.
[0004] In a first aspect, an embodiment of the present invention provides a communication circuit of an air conditioner, comprising: an indoor circuit, an outdoor circuit and a power line, wherein:
[0005] The indoor circuit includes an AC power input terminal, a signal sending module, a signal receiving module and a coupling transformer; the AC power input terminal is connected to the primary winding of the coupling transformer to provide a baseband voltage signal, the signal sending module is connected to the primary winding of the coupling transformer to inject a high-frequency communication signal into the baseband voltage signal when the indoor circuit sends a signal, and the signal receiving module is connected to the primary winding of the coupling transformer to obtain a high-frequency communication signal from the baseband voltage signal when the indoor circuit receives a signal;
[0006] The external circuit has the same structure as the internal circuit;
[0007] One end of the power line is connected to the secondary winding of the coupling transformer of the indoor circuit, and the other end is connected to the secondary winding of the coupling transformer of the outdoor circuit.
[0008] The communication circuit of the air conditioner provided according to the embodiment of the present invention has at least the following beneficial effects: the indoor circuit and the outdoor circuit perform single-line communication via the power line, and the indoor circuit and the power line are isolated via a coupling transformer, the AC power input terminal provides a baseband voltage signal and couples the baseband voltage signal to the power line via a coupling transformer, when the indoor circuit sends a signal, a high-frequency communication signal is injected into the baseband voltage signal via a signal sending module, and transmitted to the outdoor circuit via the power line; when the indoor circuit receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal via a signal receiving module; the outdoor circuit has the same structure as the indoor circuit, and is also isolated from the power line via a coupling transformer; the communication circuit of the air conditioner directly realizes isolated communication between the indoor and outdoor units of the air conditioner by using a coupling transformer, and has the advantages of high communication efficiency and low communication cost.
[0009] According to the communication circuit provided by some embodiments of the present invention, the indoor circuit also includes a first resistor, the AC power input end is connected to one end of the primary winding of the coupling transformer through the first resistor, and the other end of the primary winding of the coupling transformer is grounded.
[0010] According to the communication circuit provided by some embodiments of the present invention, the signal sending module includes a signal sending end, a first switch tube and a first capacitor; the signal sending end is connected to the control pin of the first switch tube; a switch pin of the first switch tube is connected to one end of the primary winding of the coupling transformer through the first capacitor, and the other switch pin is grounded.
[0011] According to the communication circuit provided by some embodiments of the present invention, the signal sending module further includes a second resistor, and the signal sending end is connected to the control pin of the first switch tube through the second resistor.
[0012] According to the communication circuit provided by some embodiments of the present invention, the signal sending module further includes a third resistor connected in parallel with the first capacitor.
[0013] According to the communication circuit provided by some embodiments of the present invention, the signal sending module further includes a fourth resistor, and another switch pin of the first switch tube is grounded through the fourth resistor.
[0014] According to the communication circuit provided by some embodiments of the present invention, the signal receiving module includes a signal receiving end, a second capacitor and a fifth resistor, the signal receiving end is connected to one end of the second capacitor and one end of the fifth resistor, the other end of the second capacitor is connected to the AC power input end, and the other end of the fifth resistor is grounded.
[0015] According to the communication circuit provided by some embodiments of the present invention, the power line is replaced by the copper tube of the air conditioner.
[0016] In a second aspect, an embodiment of the present invention provides a communication method for an air conditioner, which is applied to the communication circuit described in the embodiment of the first aspect above, and the communication method includes:
[0017] When the signal receiving module does not receive the high-frequency communication signal within a first preset time period, injecting the high-frequency communication signal into the baseband voltage signal through the signal sending module;
[0018] The high-frequency communication signal includes a data frame having a transmission duration of a second duration, and the first preset duration is greater than the second duration.
[0019] The communication method of the air conditioner provided by the embodiment of the present invention has at least the following beneficial effects: the indoor circuit and the outdoor circuit communicate with each other through the power line, and the indoor circuit and the power line are isolated by a coupling transformer, the AC power input terminal provides a baseband voltage signal, and the baseband voltage signal is coupled to the power line through a coupling transformer, when the indoor circuit sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through a signal sending module, and the signal is transmitted to the outdoor circuit through the power line; when the indoor circuit receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through a signal receiving module; the outdoor circuit has the same structure as the indoor circuit, and is also connected to the power line through a coupling transformer Isolation between them; the communication circuit of the air conditioner adopts a coupling transformer to directly realize the isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost; in addition, when the indoor unit circuit needs to send a signal, it is first determined whether the signal receiving module receives the high-frequency communication signal. When the signal receiving module does not receive the high-frequency communication signal and the duration reaches a first preset duration, and the first preset duration is greater than the transmission duration of the data frame, it can be determined that there is no data being transmitted on the power line and the power line is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module, so as to send data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0020] According to the communication method provided by some embodiments of the present invention, the high-frequency communication signal includes a plurality of the data frames, two adjacently sent data frames are separated by a third time duration, and the second time duration is greater than the third time duration.
[0021] In a third aspect, an embodiment of the present invention provides an operation control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the communication method of the air conditioner as described in the embodiment of the second aspect above.
[0022] The operation control device provided by the embodiment of the present invention has at least the following beneficial effects: the indoor circuit and the outdoor circuit communicate with each other through the power line, and the indoor circuit and the power line are isolated by a coupling transformer; the AC power input terminal provides a baseband voltage signal and couples the baseband voltage signal to the power line through a coupling transformer; when the indoor circuit sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through a signal sending module, and the signal is transmitted to the outdoor circuit through the power line; when the indoor circuit receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through a signal receiving module; the outdoor circuit has the same structure as the indoor circuit, and is also connected to the power line through a coupling transformer. Isolation between the indoor and outdoor units of the air conditioner; the communication circuit of the air conditioner adopts a coupling transformer to directly realize the isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost; in addition, when the indoor unit circuit needs to send a signal, it is first determined whether the signal receiving module receives the high-frequency communication signal. When the signal receiving module does not receive the high-frequency communication signal and the duration reaches a first preset time length, and the first preset time length is greater than the transmission time length of the data frame, it can be determined that there is no data being transmitted on the power line and the power line is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module, so as to send data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0023] In a fourth aspect, an embodiment of the present invention provides an air conditioner, comprising the communication circuit as described in the embodiment of the first aspect above and / or comprising the operation control device as described in the embodiment of the third aspect above.
[0024] The air conditioner provided by the embodiment of the present invention has at least the following beneficial effects: the indoor circuit and the outdoor circuit communicate with each other through the power line, and the indoor circuit and the power line are isolated by a coupling transformer; the AC power input terminal provides a baseband voltage signal and couples the baseband voltage signal to the power line through a coupling transformer; when the indoor circuit sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through a signal sending module, and the signal is transmitted to the outdoor circuit through the power line; when the indoor circuit receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through a signal receiving module; the outdoor circuit has the same structure as the indoor circuit, and is also connected to the power line through a coupling transformer. Isolation; the communication circuit of the air conditioner adopts a coupling transformer to directly realize the isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost; in addition, when the indoor unit circuit needs to send a signal, it first determines whether the signal receiving module receives the high-frequency communication signal. When the signal receiving module does not receive the high-frequency communication signal and the duration reaches a first preset duration, and the first preset duration is greater than the transmission duration of the data frame, it can be determined that there is no data being transmitted on the power line and the power line is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module to send data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0025] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the communication method for the air conditioner as described in the embodiment of the second aspect above.
[0026] The computer-readable storage medium provided by the embodiment of the present invention has at least the following beneficial effects: the indoor circuit and the outdoor circuit communicate with each other through the power line, and the indoor circuit and the power line are isolated by a coupling transformer; the AC power input terminal provides a baseband voltage signal and couples the baseband voltage signal to the power line through a coupling transformer; when the indoor circuit sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through a signal sending module, and the signal is transmitted to the outdoor circuit through the power line; when the indoor circuit receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through a signal receiving module; the outdoor circuit has the same structure as the indoor circuit, and is also connected to the power line through a coupling transformer Isolation between them; the communication circuit of the air conditioner adopts a coupling transformer to directly realize the isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost; in addition, when the indoor unit circuit needs to send a signal, it is first determined whether the signal receiving module receives the high-frequency communication signal. When the signal receiving module does not receive the high-frequency communication signal and the duration reaches a first preset duration, and the first preset duration is greater than the transmission duration of the data frame, it can be determined that there is no data being transmitted on the power line and the power line is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module, so as to send data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0027] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] 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 invention, 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.
[0029] The present invention is further described below in conjunction with the accompanying drawings and embodiments;
[0030] Figure 1 It is a connection diagram of an internal circuit, an external circuit and a power line of a communication circuit provided by an embodiment of the present invention;
[0031] Figure 2 is a circuit schematic diagram of an indoor circuit of a communication circuit provided by an embodiment of the present invention;
[0032] Figure 3 1 is a waveform diagram of a baseband voltage signal and a high-frequency communication signal of a communication circuit provided by an embodiment of the present invention;
[0033] Figure 4is a schematic diagram of waveforms of a power line of a communication circuit provided by an embodiment of the present invention when transmitting data;
[0034] Figure 5 is a communication timing diagram of a communication circuit provided by an embodiment of the present invention;
[0035] Figure 6 It is a schematic diagram of the execution flow of the MCU communication program of the air conditioner provided by the embodiment of the present invention;
[0036] Figure 7 It is a structural schematic diagram of the operation control device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0037] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.
[0038] In the description of the embodiments of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, "above", "below", "within", etc. are understood to include the number itself, "at least one" means one or more, "at least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. If there is a description of "first", "second", etc., it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0039] It should be noted that the terms such as setting, installing, and connecting in the embodiments of the present invention should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the embodiments of the present invention in combination with the specific content of the technical solution. For example, the term "connection" can be a mechanical connection, an electrical connection, or mutual communication; it can be directly connected or indirectly connected through an intermediate medium.
[0040] It should be noted that the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0041] At present, the communication between the indoor unit and the outdoor unit of the household air conditioner mostly adopts RS485 communication or current loop communication. However, the communication isolation of these two communication methods requires special optical coupling devices, and the current loop communication has the disadvantages of low speed and easy data loss; the RS485 communication requires special chips and special communication lines, which has the disadvantage of high cost.
[0042] Based on this, an embodiment of the present invention provides a communication circuit, a communication method, an operation control device and an air conditioner for an air conditioner, wherein the communication circuit includes an indoor circuit 100, an outdoor circuit 200 and a power line 300, wherein the indoor circuit 100 and the outdoor circuit 200 perform single-line communication via the power line 300, and the indoor circuit 100 and the power line 300 are isolated via a coupling transformer 140, an AC power input terminal 110 provides a baseband voltage signal and couples the baseband voltage signal to the power line 300 via the coupling transformer 140, when the indoor circuit 100 sends a signal, a high-frequency communication signal is injected into the baseband voltage signal via the signal sending module 120, and the signal is transmitted to the outdoor circuit 200 via the power line 300; when the indoor circuit 100 receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal via the signal receiving module 130; The circuit 200 has the same structure as the indoor circuit 100, and is also isolated from the power line 300 by a coupling transformer. The communication circuit of the air conditioner uses a coupling transformer to directly realize isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost. In addition, when the indoor circuit 100 needs to send a signal, it first determines whether the signal receiving module 130 receives a high-frequency communication signal. When the signal receiving module 130 does not receive a high-frequency communication signal and the duration reaches a first preset duration, and the first preset duration is greater than the transmission duration of the data frame, it can be determined that there is no data being transmitted on the power line 300 and the power line 300 is available. Then, the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, thereby sending data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0043] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.
[0044] Figure 1 It is a connection diagram of an internal circuit, an external circuit and a power line of a communication circuit provided by an embodiment of the present invention; Figure 2 is a circuit schematic diagram of an indoor circuit of a communication circuit provided by an embodiment of the present invention;
[0045] A first aspect of the present invention provides a communication circuit for an air conditioner, referring to Figure 1 , the communication circuit includes an indoor circuit 100, an outdoor circuit 200 and a power line 300;
[0046] Reference Figure 2The indoor circuit 100 includes an AC power input terminal 110, a signal sending module 120, a signal receiving module 130 and a coupling transformer 140; the AC power input terminal 110 is connected to the primary winding 141 of the coupling transformer 140 to provide a baseband voltage signal, the signal sending module 120 is connected to the primary winding 141 of the coupling transformer 140 to inject a high-frequency communication signal into the baseband voltage signal when the indoor circuit 100 sends a signal, and the signal receiving module 130 is connected to the primary winding 141 of the coupling transformer 140 to obtain a high-frequency communication signal from the baseband voltage signal when the indoor circuit 100 receives a signal;
[0047] The structure of the external circuit 200 is the same as that of the internal circuit 100;
[0048] One end of the power line 300 is connected to the secondary winding 142 of the coupling transformer 140 of the indoor circuit 100 , and the other end is connected to the secondary winding of the coupling transformer of the external circuit 200 .
[0049] It is understood that in some embodiments, Figure 2 As shown, the external AC power source AC is connected to the AC power input terminal 110 to provide a base frequency voltage signal. The modulation frequency of the base frequency voltage signal is the industrial frequency 50 / 60Hz. The waveform is shown in FIG. Figure 3 As shown in the figure on the left; the high-frequency communication signal injected by the signal sending module 120 is a digital signal above 1kHz, for example, the frequency used in this embodiment is 500kHz, and the waveform is referenced Figure 3 The waveform of the data transmitted on the power line 300 obtained by injecting the high-frequency communication signal into the baseband voltage signal is shown in the figure on the right. Figure 4 shown.
[0050] According to the communication circuit of the air conditioner provided by the embodiment of the present invention, the indoor circuit 100 and the outdoor circuit 200 perform single-line communication through the power line 300, and the indoor circuit 100 and the power line 300 are isolated by the coupling transformer 140, the AC power input terminal 110 provides a baseband voltage signal and couples the baseband voltage signal to the power line 300 through the coupling transformer 140, when the indoor circuit 100 sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, and transmitted to the outdoor circuit 200 through the power line 300; when the indoor circuit 100 receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through the signal receiving module 130; the outdoor circuit 200 has the same structure as the indoor circuit 100, and is also isolated from the power line 300 by the coupling transformer; the communication circuit of the air conditioner directly realizes the isolated communication between the indoor and outdoor units of the air conditioner by using the coupling transformer, and has the advantages of high communication efficiency and low communication cost.
[0051] Reference Figure 2In the communication circuit provided in some embodiments of the present invention, the indoor circuit 100 further includes a first resistor R1, and the AC power input terminal 110 is connected to one end of the primary winding 141 of the coupling transformer 140 through the first resistor R1, and the other end of the primary winding 141 of the coupling transformer 140 is grounded.
[0052] In this embodiment, the first resistor R1 serves as the input resistor of the AC power input terminal 110, which can reduce the current flowing through the primary winding 141 of the coupling transformer 140, thereby avoiding the coupling transformer 140 being burned out due to a large current flowing through the primary winding 141 of the coupling transformer 140 in special circumstances.
[0053] Reference Figure 2 In the communication circuit provided in some embodiments of the present invention, the signal sending module 120 includes a signal sending terminal Tx, a first switch tube Q1 and a first capacitor C1; the signal sending terminal Tx is connected to the control pin of the first switch tube Q1; one switch pin of the first switch tube Q1 is connected to one end of the primary winding 141 of the coupling transformer 140 through the first capacitor C1, and the other switch pin is grounded.
[0054] In this embodiment, the high-frequency communication signal that needs to be sent through the power line 300 is transmitted from the signal sending end Tx to the control pin of the first switch tube Q1, thereby controlling the first switch tube Q1 to be alternately turned on and off, so that the first capacitor C1 and the branch where the first switch tube Q1 is located are also alternately turned on and off, thereby coupling the high-frequency communication signal to the baseband voltage signal through the first capacitor C1.
[0055] Reference Figure 2 In the communication circuit provided in some embodiments of the present invention, the signal sending module 120 further includes a second resistor R2, and the signal sending terminal Tx is connected to the control pin of the first switch tube Q1 through the second resistor R2.
[0056] In this embodiment, the signal sending module 120 sets the second resistor R2 as the input resistor of the control pin of the first switch tube Q1, which can reduce the impact of the high-frequency communication signal on the first switch tube Q1 and protect the first switch tube Q1, so that the first switch tube Q1 is not easily damaged.
[0057] Reference Figure 2 In the communication circuit provided by some embodiments of the present invention, the signal sending module 120 further includes a third resistor R3 connected in parallel with the first capacitor C1.
[0058] In this embodiment, the signal sending module 120 sets the third resistor R3 as the access resistor of a switch pin of the first switch tube Q1, which can reduce the impact of the voltage on the primary winding 141 of the coupling transformer 140 on the first switch tube Q1, protect the first switch tube Q1, and make the first switch tube Q1 not easily damaged.
[0059] Reference Figure 2 In the communication circuit provided by some embodiments of the present invention, the signal sending module 120 further includes a fourth resistor R4, and another switch pin of the first switch tube Q1 is grounded through the fourth resistor R4.
[0060] In this embodiment, the signal sending module 120 sets the fourth resistor R4 as the grounding resistor of another switch pin of the first switch tube Q1, which can protect the first switch tube Q1 and prevent the first switch tube Q1 from being damaged easily.
[0061] Reference Figure 2 In the communication circuit provided in some embodiments of the present invention, the signal receiving module 130 includes a signal receiving terminal Rx, a second capacitor C2 and a fifth resistor R5, the signal receiving terminal Rx is connected to one end of the second capacitor C2 and one end of the fifth resistor R5, the other end of the second capacitor C2 is connected to the AC power input terminal 110, and the other end of the fifth resistor R5 is grounded.
[0062] In this embodiment, the signal receiving module 130 obtains a high-frequency communication signal from the baseband voltage signal through a branch formed by the second capacitor C2 and the fifth resistor R5, and then outputs it from the signal receiving end Rx to the MCU module of the air conditioner, so that the MCU module of the air conditioner controls the operating status of the air conditioner according to the received data.
[0063] Reference Figure 2 In the communication circuit provided by some embodiments of the present invention, the power line 300 is replaced by a copper tube of an air conditioner.
[0064] In this embodiment, since a copper pipe is required to be laid between the indoor unit and the outdoor unit of the air conditioner, a copper pipe that can conduct electricity can be used to replace the power line 300, and there is no need to configure an additional power line 300. It is understandable that the use of the copper pipe of the air conditioner to replace the power line 300 requires ensuring the insulation protection of the copper pipe to avoid leakage of the copper pipe.
[0065] In a second aspect, an embodiment of the present invention further provides a communication method for an air conditioner, which is applied to the communication circuit of the embodiment of the first aspect above, and the communication method comprises:
[0066] When the signal receiving module 130 does not receive the high-frequency communication signal within the first preset time length t1, the signal sending module 120 injects the high-frequency communication signal into the baseband voltage signal;
[0067] The high-frequency communication signal includes a data frame having a transmission duration of a second duration t2, and the first preset duration t1 is greater than the second duration t2.
[0068] According to the communication method of the air conditioner provided by the embodiment of the present invention, the indoor circuit 100 and the outdoor circuit 200 perform single-line communication through the power line 300, and the indoor circuit 100 and the power line 300 are isolated by the coupling transformer 140. The AC power input terminal 110 provides a baseband voltage signal and couples the baseband voltage signal to the power line 300 through the coupling transformer 140. When the indoor circuit 100 sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, and the signal is transmitted to the outdoor circuit 200 through the power line 300; when the indoor circuit 100 receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through the signal receiving module 130; the outdoor circuit 200 has the same structure as the indoor circuit 100, and is also connected to the outdoor circuit 200 through the coupling transformer. The transformer is used to achieve isolation from the power line 300; the communication circuit of the air conditioner uses a coupling transformer to directly achieve isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost; in addition, when the indoor circuit 100 needs to send a signal, it is first determined whether the signal receiving module 130 receives the high-frequency communication signal. When the signal receiving module 130 does not receive the high-frequency communication signal and the duration reaches a first preset time, and the first preset time is greater than the transmission time of the data frame, it can be determined that there is no data being transmitted on the power line 300 and the power line 300 is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, so as to send data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0069] According to the communication method provided by some embodiments of the present invention, the high-frequency communication signal includes multiple data frames, two adjacent data frames are separated by a third time length t3, and the second time length t2 is greater than the third time length t3.
[0070] Understandably, Figure 5 is a communication timing diagram of a communication circuit provided in an embodiment of the present invention, referring to Figure 5 As shown, a high-frequency communication signal sent once may include multiple data frames, for example, 3 data frames, and two adjacent data frames are distinguished by an interval of a third time length t3. The transmission time length of the data frame is the second time length t2, and the second time length t2 is greater than the third time length t3. Therefore, it is possible to determine whether the data has been sent by the duration of no data transmission on the power line 300.
[0071] Reference Figure 6 As shown, Figure 6It is a schematic diagram of the execution flow of the MCU communication program of the air conditioner provided by the embodiment of the present invention. When the MCU communication program is running, it first determines whether there is data being transmitted on the power line 300, that is, by determining whether the signal receiving end Rx of the signal receiving module 130 receives a high-frequency communication signal; if data is received, it is stored in the memory of the MCU module, and then the operation of the air conditioner is controlled according to the received data; if no data is received, the duration t of no data is first calculated, and when the time t is greater than the first preset duration t1, it can be determined that there is no data being transmitted on the power line 300, and the power line 300 is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, so as to send data to the other end.
[0072] Reference Figure 7 The third aspect of the present invention provides an operation control device 700, including a memory 710, a processor 720, and a computer program stored in the memory 710 and executable on the processor 720. The processor 720 executes the program to implement the communication method of the air conditioner according to the second aspect of the present invention.
[0073] According to the operation control device 700 provided by the embodiment of the present invention, the indoor circuit 100 and the external circuit 200 perform single-line communication through the power line 300, and the indoor circuit 100 and the power line 300 are isolated by the coupling transformer 140. The AC power input terminal 110 provides a baseband voltage signal and couples the baseband voltage signal to the power line 300 through the coupling transformer 140. When the indoor circuit 100 sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, and the signal is transmitted to the external circuit 200 through the power line 300; when the indoor circuit 100 receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through the signal receiving module 130; the external circuit 200 has the same structure as the indoor circuit 100, and is also coupled to the indoor circuit 100. The transformer realizes isolation from the power line 300; the communication circuit of the air conditioner adopts a coupling transformer to directly realize isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost; in addition, when the indoor circuit 100 needs to send a signal, it first determines whether the signal receiving module 130 receives the high-frequency communication signal. When the signal receiving module 130 does not receive the high-frequency communication signal and the duration reaches a first preset duration, and the first preset duration is greater than the transmission duration of the data frame, it can be determined that there is no data being transmitted on the power line 300 and the power line 300 is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, so as to send data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0074] In a fourth aspect, an embodiment of the present invention provides an air conditioner, comprising the communication circuit of the embodiment of the first aspect and / or the operation control device 700 of the embodiment of the third aspect.
[0075] According to the air conditioner provided by the embodiment of the present invention, the indoor circuit 100 and the outdoor circuit 200 perform single-line communication through the power line 300, and the indoor circuit 100 and the power line 300 are isolated by the coupling transformer 140. The AC power input terminal 110 provides a baseband voltage signal and couples the baseband voltage signal to the power line 300 through the coupling transformer 140. When the indoor circuit 100 sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, and is transmitted to the outdoor circuit 200 through the power line 300; when the indoor circuit 100 receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through the signal receiving module 130; the outdoor circuit 200 has the same structure as the indoor circuit 100, and is also connected through the coupling transformer Isolation from the power line 300 is achieved; the communication circuit of the air conditioner uses a coupling transformer to directly achieve isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost; in addition, when the indoor unit circuit 100 needs to send a signal, it first determines whether the signal receiving module 130 receives a high-frequency communication signal. When the signal receiving module 130 does not receive a high-frequency communication signal and the duration reaches a first preset duration, and the first preset duration is greater than the transmission duration of the data frame, it can be determined that there is no data being transmitted on the power line 300 and the power line 300 is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, thereby sending data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0076] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the communication method of the air conditioner according to the embodiment of the second aspect above.
[0077] According to the computer-readable storage medium provided by the embodiment of the present invention, the indoor circuit 100 and the external circuit 200 perform single-line communication through the power line 300, and the indoor circuit 100 and the power line 300 are isolated by the coupling transformer 140. The AC power input terminal 110 provides a baseband voltage signal and couples the baseband voltage signal to the power line 300 through the coupling transformer 140. When the indoor circuit 100 sends a signal, a high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, and the signal is transmitted to the external circuit 200 through the power line 300; when the indoor circuit 100 receives a signal, a high-frequency communication signal is obtained from the baseband voltage signal through the signal receiving module 130; the external circuit 200 has the same structure as the indoor circuit 100, and is also coupled to the indoor circuit 100. The transformer realizes isolation from the power line 300; the communication circuit of the air conditioner adopts a coupling transformer to directly realize isolated communication between the indoor and outdoor units of the air conditioner, which has the advantages of high communication efficiency and low communication cost; in addition, when the indoor circuit 100 needs to send a signal, it first determines whether the signal receiving module 130 receives the high-frequency communication signal. When the signal receiving module 130 does not receive the high-frequency communication signal and the duration reaches a first preset duration, and the first preset duration is greater than the transmission duration of the data frame, it can be determined that there is no data being transmitted on the power line 300 and the power line 300 is available, and then the high-frequency communication signal is injected into the baseband voltage signal through the signal sending module 120, so as to send data to the other end. The timing control of the communication is simple and has a high communication utilization rate.
[0078] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed methods above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium or a non-transitory medium and a communication medium or a temporary medium. As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk DVD or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0079] The embodiments of the present invention are described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present invention.
Claims
1. A communication circuit for an air conditioner, characterized in that: include: The indoor circuit comprises an AC power input terminal, a signal sending module, a signal receiving module and a coupling transformer; the AC power input terminal is connected to the primary winding of the coupling transformer to provide a baseband voltage signal, the signal sending module is connected to the primary winding of the coupling transformer to inject a high-frequency communication signal into the baseband voltage signal when the indoor circuit sends a signal, and the signal receiving module is connected to the primary winding of the coupling transformer to obtain a high-frequency communication signal from the baseband voltage signal when the indoor circuit receives a signal; The external circuit has the same structure as the internal circuit; One end of the power line is connected to the secondary winding of the coupling transformer of the indoor circuit, and the other end is connected to the secondary winding of the coupling transformer of the outdoor circuit.
2. The communication circuit according to claim 1, characterized in that: The indoor circuit further includes a first resistor, and the AC power input end is connected to one end of the primary winding of the coupling transformer through the first resistor, and the other end of the primary winding of the coupling transformer is grounded.
3. The communication circuit according to claim 2, characterized in that: The signal sending module includes a signal sending end, a first switch tube and a first capacitor; the signal sending end is connected to a control pin of the first switch tube; one switch pin of the first switch tube is connected to one end of the primary winding of the coupling transformer through the first capacitor, and the other switch pin is grounded.
4. The communication circuit according to claim 3, characterized in that: The signal sending module further includes a second resistor, and the signal sending end is connected to the control pin of the first switch tube through the second resistor.
5. The communication circuit according to claim 3, characterized in that: The signal sending module also includes a third resistor connected in parallel with the first capacitor.
6. The communication circuit according to claim 3, characterized in that: The signal sending module further includes a fourth resistor, and another switch pin of the first switch tube is grounded through the fourth resistor.
7. The communication circuit according to claim 2, characterized in that: The signal receiving module includes a signal receiving end, a second capacitor and a fifth resistor, the signal receiving end is connected to one end of the second capacitor and one end of the fifth resistor, the other end of the second capacitor is connected to the AC power input end, and the other end of the fifth resistor is grounded.
8. The communication circuit according to claim 1, characterized in that: The power line is replaced by the copper tube of the air conditioner.
9. A communication method for an air conditioner, applied to the communication circuit according to any one of claims 1 to 8, characterized in that: include: When the signal receiving module does not receive the high-frequency communication signal within a first preset time period, injecting the high-frequency communication signal into the baseband voltage signal through the signal sending module; The high-frequency communication signal includes a data frame having a transmission duration of a second duration, and the first preset duration is greater than the second duration.
10. The communication method according to claim 9, characterized in that: The high-frequency communication signal includes a plurality of the data frames, two adjacently sent data frames are separated by a third time duration, and the second time duration is greater than the third time duration.
11. An operation control device, characterized in that: The device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the communication method according to any one of claims 9 to 10.
12. An air conditioner, characterized in that: It comprises the communication circuit according to any one of claims 1 to 8 and / or the operation control device according to claim 11.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the communication method according to any one of claims 9 to 10.