A communication circuit and an electric appliance
By introducing a seventh resistor and a feedback circuit into the communication circuit, and using an optocoupler and a switching transistor to achieve bidirectional communication, the problem of unidirectional communication in existing communication circuits is solved, achieving cost savings and signal stability.
Patent Information
- Application Number
- CN202211291575.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-19
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-10-19
AI Technical Summary
In existing communication circuits, the first control module and the second control module can only communicate in one direction. Adding communication lines or wireless communication devices will increase costs and complexity, and the signal transmission will be unstable.
By introducing a seventh resistor and a feedback circuit into the communication circuit, bidirectional communication of the circuit can be achieved using an optocoupler and a switching transistor, avoiding the need to add communication lines and wireless communication devices.
It enables bidirectional information exchange between the first control module and the second control module, saving costs and improving the reliability and stability of signal transmission.
Smart Images

Figure CN117955525B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, and in particular to a communication circuit and an electrical appliance. BACKGROUND
[0002] The existing communication circuit includes a first control module and a second control module, and only one-way communication can be performed between the first control module and the second control module. Figure 1 is a structural schematic diagram of an existing communication circuit, referring to Figure 1 The first control module 10 and the second control module 20 are connected through a first communication line 30 and a second communication line 40, wherein the first communication line 30 can receive the voltage of a power supply end VCC. As can be seen from Figure 1 , the communication circuit can achieve that when the first control unit in the first control module 10 outputs a high-level signal, the second control unit in the second control module 20 can receive the high-level signal, thereby realizing that the first control module 10 sends a high-level signal to the second control module 20, but the communication circuit cannot realize that the second control module 20 sends a high-level signal to the first control module 10.
[0003] In order to enable the communication circuit to realize bidirectional communication, two schemes can be adopted, the first scheme is to increase two communication lines, that is, four communication lines are arranged in the communication circuit, two communication lines are used to realize that the first control module sends a high-level signal to the second control module, and the other two communication lines are used to realize that the second control module sends a high-level signal to the first control module. The second scheme is to arrange a wireless communication device, for example, a WIFI unit, in the first control module and the second control module. Information interaction between the first control module and the second control module is realized through the two WIFI units.
[0004] The above two schemes realize bidirectional communication, but also have certain disadvantages, for example, the first scheme increases the number of communication lines, thereby increasing the cost of the communication circuit, and the increase in the number of communication lines also increases the installation difficulty of the communication circuit. In the second scheme, the WIFI unit is increased, thereby increasing the cost of the communication circuit, in addition, the WIFI unit can also be affected by other devices in the communication circuit, so that the WIFI signal becomes weak, which is not conducive to signal transmission. SUMMARY
[0005] The present application provides a communication circuit and an electrical appliance, without increasing communication lines and wireless communication devices, which can save costs and enable information interaction between the first control module and the second control module.
[0006] According to an aspect of the present application, a communication circuit is provided, which comprises a first control module, a second control module, a seventh resistor, a first communication line and a second communication line.
[0007] The first control module comprises a first control unit and a sending circuit, the first control unit comprises a first receiving end, a first sending end and a first power supply end;
[0008] The second control module comprises a second control unit, a receiving circuit and a feedback circuit, the second control unit comprises a second receiving end and a second sending end;
[0009] The first end of the first communication line is connected with the second power supply end, and the second end of the first communication line is connected with the first end of the seventh resistor;
[0010] The second end of the seventh resistor is connected with the first end of the receiving circuit;
[0011] The second end of the receiving circuit is connected with the first end of the feedback circuit, the third end of the receiving circuit is connected with the third power supply end, the fourth end of the receiving circuit is connected with the second receiving end, and the fifth end of the receiving circuit is connected with the second ground end;
[0012] The second end of the feedback circuit is connected with the first end of the second communication line, the third end of the feedback circuit is connected with the third power supply end, the fourth end of the feedback circuit is connected with the second sending end, and the fifth end of the feedback circuit is connected with the second ground end;
[0013] The second end of the second communication line is connected with the first receiving end and the first end of the sending circuit;
[0014] The second end of the sending circuit is connected with the first sending end, and the third end of the sending circuit is connected with the first ground end;
[0015] When the first sending end outputs a first level signal, the third end of the receiving circuit is connected with the fourth end of the receiving circuit, and when the second sending end outputs a second level signal, the first end of the receiving circuit is connected with the second end of the feedback circuit.
[0016] Optionally, the receiving circuit comprises a first optocoupler, a first resistor and a first filter unit;
[0017] The feedback circuit comprises a second optocoupler, a first switch tube, a second resistor, a third resistor and a fourth resistor;
[0018] The input end of the primary side of the first optocoupler is connected with the second end of the seventh resistor, the output end of the primary side of the first optocoupler is connected with the first pole of the secondary side of the second optocoupler, the first pole of the secondary side of the first optocoupler is connected with the third power supply end, the second pole of the secondary side of the first optocoupler is connected with the first end of the first resistor and the first end of the first filter unit;
[0019] The second end of the first filter unit is connected with the second receiving end, and the third end of the first filter unit is connected with the second end of the first resistor and the second ground end;
[0020] The second end of the second optical coupling is connected with the first end of the second communication line, the input end of the primary side of the second optical coupling is connected with the first end of the second resistor, and the output end of the primary side of the second optical coupling is connected with the first end of the first switch tube;
[0021] The second end of the second resistor is connected with the third power supply end;
[0022] The control end of the first switch tube is connected with the first end of the third resistor and the first end of the fourth resistor, and the second end of the first switch tube is connected with the second end of the fourth resistor and the second ground end;
[0023] The second end of the third resistor is connected with the second sending end.
[0024] Optionally, the sending circuit comprises a fifth resistor, a sixth resistor and a second switch tube;
[0025] The first end of the fifth resistor is connected with the first sending end, and the second end of the fifth resistor is connected with the first end of the sixth resistor and the control end of the second switch tube;
[0026] The first end of the second switch tube is connected with the first receiving end, and the second end of the second switch tube is connected with the second end of the sixth resistor and the first ground end.
[0027] Optionally, the communication circuit further comprises a first diode, a seventh resistor and a second filter unit;
[0028] The first end of the seventh resistor is connected with the second end of the first communication line, and the second end of the seventh resistor is connected with the first end of the receiving circuit;
[0029] The cathode of the first diode is connected with the second end of the seventh resistor, and the anode of the first diode is connected with the first end of the second communication line;
[0030] The first end of the second filter unit is connected with the second end of the second communication line, the second end of the second filter unit is connected with the first receiving end, and the third end of the second filter unit is connected with the first ground end.
[0031] Optionally, the first power supply end is connected with the second power supply end.
[0032] Optionally, the communication circuit further comprises a voltage stabilizing diode.
[0033] The voltage value received by the first power supply end is less than the voltage value received by the second power supply end.
[0034] The cathode of the voltage stabilizing diode is connected to the first receiving end, and the anode of the voltage stabilizing diode is connected to the first grounding end, or the voltage stabilizing diode is connected between the first receiving end and the second end of the second communication line.
[0035] Optionally, the communication circuit further comprises an eighth resistor, a ninth resistor, a tenth resistor and a third switch tube.
[0036] The first end of the eighth resistor is connected to the first power supply end, and the second end of the eighth resistor is connected to the first end of the third switch tube and the first end of the second filter unit.
[0037] The second end of the third switch tube is connected to the first grounding end, and the control end of the third switch tube is connected to the first end of the ninth resistor and the first end of the tenth resistor.
[0038] The second end of the ninth resistor is connected to the second end of the second communication line.
[0039] The second end of the tenth resistor is connected to the first grounding end.
[0040] Optionally, the communication circuit further comprises an eleventh resistor, a twelfth resistor and a fourth switch tube.
[0041] The first end of the eleventh resistor is connected to the first power supply end, and the second end of the eleventh resistor is connected to the control end of the fourth switch tube, the first end of the third switch tube and the first end of the twelfth resistor.
[0042] The first end of the fourth switch tube is connected to the first end of the second filter unit, and the second end of the fourth switch tube is connected to the first grounding end.
[0043] The second end of the twelfth resistor is connected to the first grounding end.
[0044] Optionally, the first switch tube, the second switch tube, the third switch tube and the fourth switch tube are of the same type.
[0045] According to another aspect of the present application, there is provided an electrical appliance comprising the communication circuit according to any of the embodiments of the present application.
[0046] The embodiment provides a communication circuit, when a first sending end of a first control unit in a first control module sends a first level signal, a third end of a receiving circuit in a second control module is conducted with a fourth end of the receiving circuit, so that a second receiving end of a second control unit can receive a voltage value input by a third power supply end, that is, when the first control module sends the first level signal to the second control module, the second control module can receive the voltage value input by the third power supply end, so that the first control module can send a binary code to the second control module. When a second sending end in the second control module outputs a second level signal, a first end of the receiving circuit is conducted with a second end of a feedback circuit, so that the voltage value input by the second power supply end can be transmitted to a first receiving end of the first control unit, and the second control module can send a binary code to the first control module. It can be seen that the communication circuit provided by the embodiment does not need to increase a communication line and a wireless communication device, so that cost can be saved and information interaction between the first control module and the second control module can be realized.
[0047] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0049] Figure 1 is a structural schematic diagram of an existing communication circuit;
[0050] Figure 2 is a structural schematic diagram of a communication circuit provided by the embodiment of the present application;
[0051] Figure 3 is a structural schematic diagram of another communication circuit provided by the embodiment of the present application;
[0052] Figure 4 is a structural schematic diagram of another communication circuit provided by the embodiment of the present application;
[0053] Figure 5 is a structural schematic diagram of another communication circuit provided by the embodiment of the present application;
[0054] Figure 6 is a structural schematic diagram of another communication circuit provided by the embodiment of the present application;
[0055] Figure 7 is a structural schematic diagram of still another communication circuit according to an embodiment of the present application;
[0056] Figure 8 is a structural schematic diagram of still another communication circuit according to an embodiment of the present application;
[0057] Figure 9 is a structural schematic diagram of still another communication circuit according to an embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the persons skilled in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by the persons skilled in the art without creative labor should belong to the protection scope of the present application.
[0059] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0060] Figure 2 is a structural schematic diagram of still another communication circuit according to an embodiment of the present application, with reference to Figure 2The communication circuit provided by the embodiment comprises a first control module 110, a second control module 120, a seventh resistor R7, a first communication line 130 and a second communication line 140. The first control module 110 comprises a first control unit 111 and a sending circuit 112. The first control unit 111 comprises a first receiving end RX1, a first sending end TX1 and a first power supply end VCC1. The second control module 120 comprises a second control unit 121, a receiving circuit 122 and a feedback circuit 123. The second control unit 121 comprises a second receiving end RX2 and a second sending end TX2. A first end of the first communication line 130 is connected with a second power supply end VCC2. A second end of the first communication line 130 is connected with a first end of the seventh resistor R7. A second end of the seventh resistor R7 is connected with a first end S1 of the receiving circuit 122. A second end S2 of the receiving circuit 122 is connected with a first end P1 of the feedback circuit 123. A third end S3 of the receiving circuit 122 is connected with a third power supply end VDD1. A fourth end S4 of the receiving circuit 122 is connected with the second receiving end RX2. A fifth end S5 of the receiving circuit 122 is connected with a second ground end GND2. A second end P2 of the feedback circuit 123 is connected with a first end of the second communication line 140. A third end P3 of the feedback circuit 123 is connected with the third power supply end VDD1. A fourth end P4 of the feedback circuit 123 is connected with the second sending end TX2. A fifth end P5 of the feedback circuit 123 is connected with the second ground end GND2. A second end of the second communication line 140 is connected with the first receiving end RX1 and a first end M1 of the sending circuit 112. A second end M2 of the sending circuit 112 is connected with the first sending end TX1. A third end M3 of the sending circuit 112 is connected with a first ground end GND1. When the first sending end TX1 outputs a first level signal, the third end S3 of the receiving circuit 122 is conducted with the fourth end S4 of the receiving circuit 122. When the second sending end TX2 outputs a second level signal, the first end S1 of the receiving circuit 122 is conducted with the second end P2 of the feedback circuit 123.
[0061] Specifically, the seventh resistor R7 is used for current limiting. The conduction between the third end S3 of the receiving circuit 122 and the fourth end S4 of the receiving circuit 122 can load the voltage value received by the third power supply end VDD1 to the second receiving end RX2. The conduction between the first end S1 of the receiving circuit 122 and the second end P2 of the feedback circuit 123 can load the voltage value received by the second power supply end VCC2 to the first receiving end RX1. The communication mode between the first control module 110 and the second control module 120 can be serial asynchronous communication. The power supply end VDD2 of the second control unit 121 is also connected with the third power supply end VDD1. The ground end of the first control unit 111 is connected with the first ground end GND1, and the ground end of the second control unit 121 is connected with the second ground end GND2. The first control module 110 can be a control board, the second control module 120 can be a frequency conversion board, the first control unit 111 can be a control MCU (Micro Control Unit), and the second control unit 121 can be a frequency conversion MCU.
[0062] The first level signal and the second level signal can both be high level signals, and the binary code corresponding to the high level signal is set as “1”, and the binary code corresponding to the low level signal is set as “0”. When the first sending end TX1 outputs the first level signal, the third end S3 of the receiving circuit 122 and the fourth end S4 of the receiving circuit 122 are conducted, so that the voltage value input by the third power supply end VDD1 is input to the second receiving end RX2, that is, the second control unit 121 can receive the high level signal. When the first level signal is a high level signal, the polarity of the level signal output by the first sending end TX1 is the same as the polarity of the level signal received by the second receiving end RX2, and when the first level signal is a low level signal, the polarity of the level signal output by the first sending end TX1 is opposite to the polarity of the level signal received by the second receiving end RX2. In short, the first control module 110 can send binary codes to the second control module 120 through the first communication line 130 and the second communication line 140.
[0063] When the second sending end TX2 outputs the second level signal, the first end S1 of the receiving circuit 122 and the second end S2 of the feedback circuit 123 are conducted, so that the voltage value input by the second power supply end VCC2 can be input to the first receiving end RX1, and the first receiving end RX1 can receive the high level signal. It can be seen that when the second sending end TX2 of the second control unit 121 outputs the second level signal, the first receiving end RX1 of the first control unit 111 can receive the high level signal, so as to realize that the second control module 120 sends the binary code to the first control module 110 through the first communication line 130 and the second communication line 140. The communication circuit provided in the embodiment can also facilitate the replacement of the first control module 110 and the second control module 120. For example, when the second control module 120 is replaced, only the connection between the second control module 120 and the first communication line 130 and the second communication line 140 needs to be disconnected, and a new second control module can be replaced.
[0064] In summary, the embodiment provides a communication circuit. When the first sending end of the first control unit in the first control module sends the first level signal, the third end of the receiving circuit in the second control module and the fourth end of the receiving circuit are conducted, so that the second receiving end of the second control unit can receive the voltage value input by the third power supply end. That is, when the first control module sends the first level signal to the second control module, the second control module can receive the voltage value input by the third power supply end, so as to realize that the first control module can send the binary code to the second control module. When the second sending end in the second control module outputs the second level signal, the first end of the receiving circuit and the second end of the feedback circuit are conducted, so that the voltage value input by the second power supply end can be transmitted to the first receiving end of the first control unit, and the second control module sends the binary code to the first control module. It can be seen that the communication circuit provided in the embodiment does not need to increase the communication line and the wireless communication device, which can save the cost and realize the information interaction between the first control module and the second control module.
[0065] Optionally, Figure 3 is a structural schematic diagram of another communication circuit according to the embodiment of the application, referring to Figure 3The receiving circuit 122 comprises the first optocoupler 101, the first resistor R1 and the first filter unit 102; the feedback circuit 123 comprises the second optocoupler 201, the first switch tube Q1, the second resistor R2, the third resistor R3 and the fourth resistor R4; the input end of the primary side of the first optocoupler 101 is connected with the second end of the seventh resistor R7, the output end of the primary side of the first optocoupler 101 is connected with the first pole of the secondary side of the second optocoupler 201, the first pole of the secondary side of the first optocoupler 101 is connected with the third power supply end VDD1, the second pole of the secondary side of the first optocoupler 101 is connected with the first end of the first resistor R1 and the first end of the first filter unit 102; the second end of the first filter unit 102 is connected with the second receiving end RX2, the third end of the first filter unit 102 is connected with the second end of the first resistor R1 and the second ground end GND2; the second pole of the secondary side of the second optocoupler 201 is connected with the first end of the second communication line 140, the input end of the primary side of the second optocoupler 201 is connected with the first end of the second resistor R2, the output end of the primary side of the second optocoupler 201 is connected with the first end of the first switch tube Q1; the second end of the second resistor R2 is connected with the third power supply end VDD1; the control end of the first switch tube Q1 is connected with the first end of the third resistor R3 and the first end of the fourth resistor R4, the second end of the first switch tube Q1 is connected with the second end of the fourth resistor R4 and the second ground end GND2; the second end of the third resistor R3 is connected with the second sending end TX2.
[0066] Specifically, the first filter unit 102 comprises the thirteenth resistor R13 and the first capacitor C1, and the first filter unit 102 is used for filtering out the noise in the voltage value input by the third power supply end VDD1, so that the second receiving end RX2 receives a stable voltage signal. The first resistor R1 is used for limiting the current flowing through the secondary side of the first optocoupler 101. The second resistor R2 is used for limiting the current flowing through the primary side of the second optocoupler 201 and the first switch tube Q1. The third resistor R3 is used for limiting the current flowing through the control end of the first switch tube Q1. The fourth resistor R4 is used for enhancing the anti-interference ability of the first switch tube Q1.
[0067] When the primary side of the first optocoupler 101 is turned on, the secondary side of the first optocoupler 101 is turned on, and when the primary side of the second optocoupler 201 is turned on, the secondary side of the second optocoupler 201 is turned on. On the basis of the above embodiment, optionally, with reference to Figure 3 The sending circuit 112 comprises the fifth resistor R5, the sixth resistor R6 and the second switch tube Q2; the first end of the fifth resistor R5 is connected with the first sending end TX1, the second end of the fifth resistor R5 is connected with the first end of the sixth resistor R6 and the control end of the second switch tube Q2; the first end of the second switch tube Q2 is connected with the first receiving end RX1, the second end of the second switch tube Q2 is connected with the second end of the sixth resistor R6 and the first ground end GND1.
[0068] Specifically, the fifth resistor R5 is used to limit the current flowing through the control end of the second switch tube Q2, and the sixth resistor R6 is used to enhance the anti-interference ability of the second switch tube Q2. Before the first control unit 111 starts to send the level signal to the second control unit 121, the second sending end TX2 of the second control unit 121 always outputs the second level signal.
[0069] Reference Figure 3 , below, taking the first switch tube Q1 and the second switch tube Q2 as N-type transistors, the first level signal and the second level signal as high-level signals, the binary code "1" corresponding to the high-level signal, and the binary code "0" corresponding to the low-level signal as examples for description:
[0070] When the second control unit 121 waits to receive the level signal sent by the first control unit 111, the second sending end TX2 always outputs the second level signal. At this time, the first switch tube Q1 is turned on, thereby making the primary side of the second optocoupler 201 conductive, and further making the secondary side of the second optocoupler 201 conductive.
[0071] When the first sending end TX1 outputs the first level signal, the second switch tube Q2 is turned on, and then the current signal inputted by the second power supply end VCC2 passes through the first communication line 130, the seventh resistor R7, the primary side of the first optocoupler 102, the secondary side of the second optocoupler 201, the second communication line 140, the second switch tube Q2 and reaches the first ground end GND1. When the primary side of the first optocoupler 101 is turned on, the secondary side of the first optocoupler 101 is saturated and turned on. Since the secondary side of the first optocoupler 101 is saturated and turned on, the voltage on the secondary side of the first optocoupler 101 is its turn-on voltage, which can be about 0.2V and can be ignored, so as to load the voltage value inputted by the third power supply end VDD1 on the first resistor R1 directly, and the high level signal on the first resistor R1 is inputted to the second receiving end RX2 through the first filter unit 102. The second receiving end RX2 receives the high level signal, that is, the second control unit 121 receives the binary code "1" sent by the first control unit 111. When the first control unit 111 sends the binary code "0" to the second control unit 121, the first sending end TX1 outputs the low level signal, at this time, the second switch tube Q2 is closed, the primary side of the first optocoupler 101 is turned off, and the secondary side of the first optocoupler 101 is turned off, at this time, the voltage on the first resistor R1 is 0V, and the second receiving end RX2 receives the low level signal, that is, the second receiving end RX2 receives the binary code "0". It can be seen that the embodiment can control the second receiving end RX2 to receive the same level signal by controlling the high and low of the level signal outputted by the first sending end TX1. For example, when the first control unit 111 needs to send the code "10011010", the first sending end TX1 sends the "high, low, low, high, high, low, high, low" level signal in sequence, so as to send the code "10011010" to the second control unit 121.
[0072] After the first control unit 111 sends the binary code to the second control unit 121, the second control unit 121 needs to wait for the first set time length before sending the level signal to the first control unit 111, wherein the first set time length can be 20ms, and the first set time length can be set according to actual needs. After the first control unit 111 sends the binary code, the first control unit 111 is in a receiving state, and the second sending end TX2 outputs the low level signal when the first control unit 111 is in the receiving state, at this time, the first switch tube Q1 is in the off state.
[0073] When the second control unit 121 sends the binary code "1" to the first control unit 111, the second sending end TX2 outputs the second level signal, at this time, the first switch tube Q1 is turned on, the primary side of the second optocoupler 201 is turned on, the secondary side of the second optocoupler 201 is also turned on, and then the current signal input from the second power supply end VCC2 passes through the primary side of the first optocoupler 101, the secondary side of the second optocoupler 201, the first receiving end RX1 and the first ground end GND1. Since the first receiving end RX1 is equivalent to a high resistance state, most of the voltage value input from the second power supply end VCC2 is directly added to the first receiving end RX1, and then the first receiving end RX1 receives a high level signal, that is, the first control unit 111 receives the binary code "1" sent by the second control unit 121. When the second control unit 121 sends the binary code "0", the first switch tube Q1 is not turned on, the primary side of the second optocoupler 201 and the secondary side of the second optocoupler 201 are not turned on, and the first receiving end RX1 is pulled down to a low level, that is, the first control unit 111 receives the binary code "0" sent by the second control unit 121. It can be seen that the communication circuit provided in the embodiment can enable the second control module 120 to send the binary code to the first control module 110 through the first communication line 130 and the second communication line 140.
[0074] After the second control unit 121 sends the level signal, the second control unit 121 will be in a waiting state. After the first control unit 111 receives the binary code sent by the second control unit 121, the first control unit 111 waits for a second set time length and then sends the binary code to the second control unit 121. The second set time length can be 20 ms, 50 ms or 100 ms, etc. The second set time length can be set according to actual needs.
[0075] The first set time length and the second set time length after the first control unit 111 receives the binary code can enable the second control unit 121 and the first control unit 111 to have more reaction time.
[0076] The first control unit 111 is in a waiting state after sending the binary code. If the first control unit 111 does not receive the binary code feedback by the second control unit 121 after waiting for more than a third set time length (the third set time length can be 100 ms, and the third set time length can be set according to actual needs), the first control unit 111 sends a binary code to the second control unit 121 again. If the feedback information or the feedback error of the second control unit 121 is not received after sending more than N times (N is a set number of times, and N can be equal to 5), the first control unit 111 sends an error signal or an alarm signal. If the first control unit 111 does not receive the binary code, the second control unit 121 is in a waiting state.
[0077] Optionally, Figure 4 is a structural diagram of still another communication circuit according to an embodiment of the application, referring to Figure 4 The communication circuit provided in the embodiment further comprises a first diode D1 and a second filter unit 301; a cathode of the first diode D1 is connected with a second end of the seventh resistor R7, an anode of the first diode D1 is connected with a first end of the second communication line 140; a first end of the second filter unit 301 is connected with a second end of the second communication line 140, a second end of the second filter unit 301 is connected with the first receiving end RX1, and a third end of the second filter unit 301 is connected with the first ground end GND1.
[0078] Specifically, the second filter unit 301 comprises a fourteenth resistor R14 and a second capacitor C2, and the second filter unit 301 is used for filtering out the noise in the voltage value input by the second power supply end VCC2. The seventh resistor R7 can be specifically used for limiting the current flowing through the primary side of the first optocoupler 101, the secondary side of the second optocoupler 201 and the second switch tube Q2. The first diode D1 can prevent the primary side of the first optocoupler 101 and the secondary side of the second optocoupler 201 from being broken down by negative voltage. When the first communication line 130 and the second communication line 140 are connected reversely, the second power supply end VCC2 is equivalent to being directly connected with the second pole of the secondary side of the second optocoupler 201, and the primary side of the first optocoupler 101 and the secondary side of the second optocoupler 201 have weak ability to withstand negative voltage. Therefore, by setting the first diode D1, when reverse voltage occurs, the current flows through the first diode D1, and the voltage across the first diode D1 can be clamped at 0.7V, so that the voltage between the primary side of the first optocoupler 101 and the secondary side of the second optocoupler 201 is also 0.7V, thereby ensuring that the primary side of the first optocoupler 101 and the secondary side of the second optocoupler 201 are not broken down reversely.
[0079] Optionally, Figure 5 is a structural diagram of still another communication circuit according to an embodiment of the application, referring to Figure 5 The first power supply end VCC1 is connected with the second power supply end VCC2.
[0080] Specifically, the connection of the first power supply end VCC1 and the second power supply end VCC2 can reduce the number of external power supplies connected with the communication circuit, and reduce the number of interfaces of the communication circuit connected with the external power supplies, thereby facilitating the connection of the communication circuit.
[0081] Optionally, Figure 6 is a structural diagram of still another communication circuit according to an embodiment of the application, Figure 7 is a structural diagram of still another communication circuit according to an embodiment of the application, referring to Figure 6 and Figure 7The communication circuit provided in this embodiment also includes a Zener diode ZD; the voltage received at the first power supply terminal VCC1 is less than the voltage received at the second power supply terminal VCC2; the cathode of the Zener diode ZD is connected to the first receiving terminal RX1, and the anode of the Zener diode ZD is connected to the first ground terminal GDN1 (see reference). Figure 6 Alternatively, the Zener diode ZD can be connected between the first receiving terminal RX1 and the second terminal of the second communication line 140 (see reference). Figure 7 ).
[0082] Specifically, when the first power supply terminal VCC1 is connected to the second power supply terminal VCC2, the first control unit 111 is powered by the voltage input from the second power supply terminal VCC2. Therefore, the high-level signal detected on the first receiving terminal RX1 cannot be too low; otherwise, the first control unit 111 cannot determine whether the first receiving terminal RX1 is a high-level signal. Since the forward voltage drop of the primary side of the first optocoupler 101 is generally 1.1V, and the saturation voltage drop of the secondary side of the second optocoupler 201 is generally 0.2V, when the first receiving terminal RX1 receives a high-level signal, the voltage received by the first receiving terminal RX1 can be V. RX1 =V CC2 -1.1V to 0.2V, where V CC2 This is the voltage value input to the second power supply terminal VCC2. Assume V... CC2 When the voltage is 5V, then V RX1 The voltage is 3.7V, which is relatively low. Therefore, to further improve reliability, V can be increased. CC2 Even when connected to a higher value, the first power supply terminal VCC1 of the first control unit 111 can still receive a voltage of 5V. CC2 After changing to a higher value, to prevent the voltage received by the first receiving terminal RX1 from exceeding the maximum withstand voltage of the first control unit 111, a Zener diode ZD can be introduced into the communication circuit. The Zener diode ZD can be connected in parallel with the first receiving terminal RX1 (see reference). Figure 6 This prevents the first receiver RX1 from exceeding the maximum withstand voltage of the first control unit 111. Alternatively, the Zener diode ZD can be connected in series with the first receiver RX1 (see reference). Figure 7 After the Zener diode ZD is connected in series, the voltage value on the first receiving terminal RX can be V. RX1 =V CC2 -1.1V-0.2V ZD Among them, V ZD V is the voltage regulation value of the Zener diode. CC2 It can be set to 15V. In this case, the first power supply terminal VCC1 of the communication circuit can receive a voltage value of 5V, and the second power supply terminal VCC2 can receive a voltage value of 15V.
[0083] Optional, Figure 8is a structural schematic diagram of still another communication circuit according to an embodiment of the present application, referring to Figure 8 The communication circuit provided in the embodiment further includes an eighth resistor R8, a ninth resistor R9, a tenth resistor R10 and a third switch tube Q3. The first end of the eighth resistor R8 is connected with the first power supply end VCC1, and the second end of the eighth resistor R8 is connected with the first end of the third switch tube Q3 and the first end of the second filter unit. The second end of the third switch tube Q3 is connected with the first ground end GND1, and the control end of the third switch tube Q3 is connected with the first end of the ninth resistor R9 and the first end of the tenth resistor R10. The second end of the ninth resistor R9 is connected with the second end of the second communication line 140, and the second end of the tenth resistor R10 is connected with the first ground end GND1.
[0084] Specifically, when the first power supply end VCC1 and the second power supply end VCC2 are connected, the eighth resistor R8, the ninth resistor R9, the tenth resistor R10 and the third switch tube Q3 are added, which can improve the reliability of the first control unit 111 in distinguishing the high level signal. For details, refer to Figure 8 When the second sending end TX2 of the second control unit 121 sends a high level signal, the first switch tube Q1 is turned on, the primary side of the second optocoupler 201 is turned on, and the secondary side of the second optocoupler 201 is also turned on. Then, the voltage value input by the second power supply end VCC2 passes through the primary side of the first optocoupler 101, the secondary side of the second optocoupler 201 and the ninth resistor R9, so that the third switch tube Q3 is turned on. After the third switch tube Q3 is turned on, the voltage at the first end of the third switch tube Q3 is pulled down to a low level, that is, the first receiving end RX1 is also pulled down to a low level, and the first receiving end RX1 receives a low level signal. When the second sending end TX2 sends a low level signal, the first switch tube Q1 is not turned on, the primary side of the second optocoupler 201 is not turned on, and the secondary side of the second optocoupler 201 is also not turned on. The first end of the third switch tube Q1 is pulled up to a high level, and the first receiving end RX1 receives a high level signal. It can be seen that, after the eighth resistor R8, the ninth resistor R9, the tenth resistor R10 and the third switch tube Q3 are added, the high level voltage value of the first receiving end RX1 is approximately equal to the voltage value received by the second power supply end VCC2, and the reliability of the first control unit 111 in distinguishing the high level is improved. However, the level signal received by the first control unit 111 is opposite to the level sent by the second control unit 121, that is, when the second control unit 121 sends a binary code "1", the first control unit 111 receives a binary code "0", and when the second control unit 121 sends a binary code "0", the first control unit 111 receives a binary code "1". The communication circuit provided in the embodiment still can realize bidirectional communication without adding communication lines and wireless communication devices.
[0085] Optionally, Figure 9is a structural schematic diagram of still another communication circuit according to an embodiment of the present application, referring to Figure 9 The communication circuit provided in the embodiment further includes an eleventh resistor R11, a twelfth resistor R12, and a fourth switch tube Q4; a first end of the eleventh resistor R11 is connected with the first power supply end VCC1, a second end of the eleventh resistor R11 is connected with a control end of the fourth switch tube Q4, a first end of the third switch tube Q3, and a first end of the twelfth resistor R12; a first end of the fourth switch tube Q4 is connected with a first end of the second filter unit, and a second end of the fourth switch tube Q4 is connected with the first ground end GND1; a second end of the twelfth resistor R12 is connected with the first ground end GND1.
[0086] Specifically, based on the communication circuit shown in Figure 8 the eleventh resistor R11, the twelfth resistor R12, and the fourth switch tube Q4 are added, when the first power supply end VCC1 is connected with the second power supply end VCC2, the second control unit 121 sends a high-level signal to the first control unit 111, the first control unit 111 receives the high-level signal, the second control unit 121 sends a low-level signal to the first control unit 111, and the first control unit 111 receives the low-level signal.
[0087] Optionally, continuing to refer to Figure 9 The first switch tube Q1, the second switch tube Q2, the third switch tube Q3, and the fourth switch tube Q4 are of the same type.
[0088] Specifically, the first switch tube Q1, the second switch tube Q2, the third switch tube Q3, and the fourth switch tube Q4 can all be N-type transistors, and the first switch tube Q1, the second switch tube Q2, the third switch tube Q3, and the fourth switch tube Q4 are of the same type, so that when the communication circuit is manufactured, the types of the first switch tube Q1, the second switch tube Q2, the third switch tube Q3, and the fourth switch tube Q4 do not need to be distinguished, thereby improving the manufacturing efficiency of the communication circuit. The first switch tube Q1, the second switch tube Q2, the third switch tube Q3, and the fourth switch tube Q4 can be any controllable switch tube such as a triode, a MOS, an IGBT, etc.
[0089] The embodiment further provides an electrical appliance device including the communication circuit provided in any of the embodiments of the present application.
[0090] Specifically, the electrical equipment can be a refrigerator, an air conditioner, or an induction cooker, etc. When the electrical equipment is a refrigerator, the refrigerator can further include a display panel, the second control module can be a frequency conversion panel, and the first control module can be a control panel. The first control module is connected with the display panel, and the display panel is used for the user to set the mode and temperature of the refrigerator, and display the temperature of the refrigerator freezing chamber, etc. The control panel is used for monitoring and controlling the overall operation state of the refrigerator, and further communicates with the display panel in both directions, transmits and receives the information of the display panel in real time, and supplies power to the display panel. In addition, the control panel further communicates with the frequency conversion panel in both directions to control the working state of the frequency conversion panel. The frequency conversion panel is used for converting direct current into three-phase alternating current according to a certain control logic after receiving the information of the control panel, and then supplying power to the compressor of the refrigerator with the three-phase alternating current, so as to realize the refrigeration cycle of the refrigerator.
[0091] It should be understood that the various forms of flow shown above can be reordered, added to, or deleted from. For example, each step described in the present application can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which is not limited herein.
[0092] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A communication circuit, characterized by, The application relates to a control module for a communication device. The control module comprises a first control module, a second control module, a seventh resistor, a first communication line and a second communication line. The first control module comprises a first control unit and a sending circuit, the first control unit comprises a first receiving end, a first sending end and a first power supply end; The second control module comprises a second control unit, a receiving circuit and a feedback circuit, the second control unit comprises a second receiving end and a second sending end; The first end of the first communication line is connected with a second power supply end, and the second end of the first communication line is connected with the first end of the seventh resistor; The second end of the seventh resistor is connected with the first end of the receiving circuit; The second end of the receiving circuit is connected with the first end of the feedback circuit, the third end of the receiving circuit is connected with a third power supply end, the fourth end of the receiving circuit is connected with the second receiving end, and the fifth end of the receiving circuit is connected with a second grounding end; The second end of the feedback circuit is connected with the first end of the second communication line, the third end of the feedback circuit is connected with the third power supply end, the fourth end of the feedback circuit is connected with the second sending end, and the fifth end of the feedback circuit is connected with the second grounding end; The second end of the second communication line is connected with the first receiving end and the first end of the sending circuit; The second end of the sending circuit is connected with the first sending end, and the third end of the sending circuit is connected with a first grounding end; When the first sending end outputs a first level signal, the third end of the receiving circuit is connected with the fourth end of the receiving circuit, and when the second sending end outputs a second level signal, the first end of the receiving circuit is connected with the second end of the feedback circuit.
2. The communication circuit of claim 1, wherein The receiving circuit comprises a first optocoupler, a first resistor and a first filter unit; The feedback circuit comprises a second optocoupler, a first switch tube, a second resistor, a third resistor and a fourth resistor; The input end of the primary side of the first optocoupler is connected with the second end of the seventh resistor, the output end of the primary side of the first optocoupler is connected with the first pole of the secondary side of the second optocoupler, the first pole of the secondary side of the first optocoupler is connected with the third power supply end, the second pole of the secondary side of the first optocoupler is connected with the first end of the first resistor and the first end of the first filter unit; The second end of the first filter unit is connected with the second receiving end, and the third end of the first filter unit is connected with the second end of the first resistor and the second grounding end; The second pole of the secondary side of the second optocoupler is connected with the first end of the second communication line, the input end of the primary side of the second optocoupler is connected with the first end of the second resistor, and the output end of the primary side of the second optocoupler is connected with the first end of the first switch tube; The second end of the second resistor is connected with the third power supply end; The control end of the first switch tube is connected with the first end of the third resistor and the first end of the fourth resistor, the second end of the first switch tube is connected with the second end of the fourth resistor and the second grounding end; The second end of the third resistor is connected with the second sending end.
3. The communication circuit of claim 1, wherein The sending circuit comprises a fifth resistor, a sixth resistor and a second switch tube; The first end of the fifth resistor is connected with the first sending end, and the second end of the fifth resistor is connected with the first end of the sixth resistor and the control end of the second switch tube; The first end of the second switch tube is connected with the first receiving end, and the second end of the second switch tube is connected with the second end of the sixth resistor and the first ground end.
4. The communication circuit according to any one of claims 1 to 3, characterized by Further comprising a first diode and a second filter unit; The cathode of the first diode is connected with the second end of the seventh resistor, and the anode of the first diode is connected with the first end of the second communication line; The first end of the second filter unit is connected with the second end of the second communication line, the second end of the second filter unit is connected with the first receiving end, and the third end of the second filter unit is connected with the first ground end.
5. The communication circuit of claim 4, wherein, The first power supply end is connected with the second power supply end.
6. The communication circuit of claim 1, wherein, Further comprising a voltage stabilizing diode; The voltage value received by the first power supply end is less than the voltage value received by the second power supply end; The cathode of the voltage stabilizing diode is connected with the first receiving end, the anode of the voltage stabilizing diode is connected with the first ground end, or the voltage stabilizing diode is connected between the first receiving end and the second end of the second communication line.
7. The communication circuit of claim 5, wherein, Further comprising an eighth resistor, a ninth resistor, a tenth resistor and a third switch tube; The first end of the eighth resistor is connected with the first power supply end, and the second end of the eighth resistor is connected with the first end of the third switch tube and the first end of the second filter unit; The second end of the third switch tube is connected with the first ground end, and the control end of the third switch tube is connected with the first end of the ninth resistor and the first end of the tenth resistor; The second end of the ninth resistor is connected with the second end of the second communication line; The second end of the tenth resistor is connected with the first ground end.
8. The communication circuit of claim 7, wherein, Further comprising an eleventh resistor, a twelfth resistor and a fourth switch tube; The first end of the eleventh resistor is connected with the first power supply end, the second end of the eleventh resistor is connected with the control end of the fourth switch tube, the first end of the third switch tube and the first end of the twelfth resistor; The first end of the fourth switch tube is connected with the first end of the second filter unit, and the second end of the fourth switch tube is connected with the first ground end; The second end of the twelfth resistor is connected with the first ground end.
9. The communication circuit of claim 8, wherein, The first switch tube, the second switch tube, the third switch tube and the fourth switch tube are of the same type.
10. An electrical appliance, characterized in that The communication circuit comprises the communication circuit according to any one of claims 1-9. The communication circuit comprises the communication circuit according to any one of claims 1-9.
Citation Information
Patent Citations
Two-line implementation device for bidirectional synchronous communication and method for adopting same to realize bidirectional synchronous communication
CN108683759A
Centralized powering system and method
US20090015065A1