Communication device, communication system and smart home equipment

By using the combination of the first switch circuit and the second control circuit in the communication device, the communication circuit is realized to be in a grounded or open state when it is turned on, which solves the problem of energy waste caused by interference during the signal communication process and improves the anti-interference ability. and communication efficiency.

CN118802013AActive Publication Date: 2024-10-18GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411277551.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-10-18
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

During the signal communication process, interference caused by environmental and hardware quality factors leads to signal distortion. The existing technology improves the anti-interference ability by adjusting the baud rate or voltage, but increases the energy consumption during the communication process, resulting in serious waste of energy consumption. .

Method used

Design a communication device that uses the first switch circuit to control the communication circuit to be grounded when turned on and open when turned off. The second control circuit generates the same type of signal according to the voltage to ensure that signal transmission is not interfered with and reduces energy loss. .

Benefits of technology

It improves the anti-interference ability during the communication process, reduces energy loss, avoids communication failures and energy waste, and achieves low-power communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802013A_ABST
    Figure CN118802013A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a communication device, a communication system and smart home equipment, and belongs to the field of communication. The communication device comprises a first control circuit, the input end of the first control circuit is connected with the first signal output end of a first signal source, and the output end of the first control circuit is connected with the control end of a first switching circuit; one end of the first switching circuit is grounded, and the other end is connected with the first end of the communication circuit; the first end of the communication circuit is connected with the first switching circuit, and the second end of the communication circuit is connected with the input end of the second control circuit; and the output end of the second control circuit is connected with the first signal input end of the second signal source. The embodiment of the invention has the technical effects that the communication circuit is neither grounding voltage nor no voltage, so that the communication process is not interfered and the electric energy loss is not caused by the two conditions, the anti-interference capability in the communication process of the first signal source and the second signal source is improved, and the energy loss in the communication process is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and more specifically, to a communication device, a communication system, and a smart home appliance. Background Art

[0002] With the development of science and technology, more and more electronic products are appearing in people's lives. In the process of using electronic products, it is often necessary to communicate with other electronic products to transmit necessary signals. For example, in the field of smart home appliances, signals need to be transmitted between the control board and the driver board of the washing machine. The control board transmits signals to the driver board so that the driver board controls the corresponding driver. The driver board transmits signals to the control board so that the control board can know the controlled status of each driver, so that the washing machine can meet user needs.

[0003] However, in the process of signal communication, interference is often caused by factors such as environment and hardware quality, resulting in signal distortion and other problems. At present, the anti-interference ability is improved by adjusting the baud rate or voltage in the communication circuit, but the energy consumption in the communication process is increased, resulting in serious energy waste in the communication process. Summary of the invention

[0004] The embodiments of the present application provide a communication device, a communication system and a smart home device to at least solve the technical problem of serious energy waste during the communication process.

[0005] According to a first aspect of an embodiment of the present application, there is provided a communication device, including: a first control circuit, the input end of which is used to input a first signal, the output end of which is connected to the control end of the first switch circuit, and is used to control the on or off of the first switch circuit according to the type of the first signal, wherein the type includes a high level and a low level; A first switch circuit, one end of which is grounded and the other end of which is connected to the first end of the communication circuit, and is used to ground the communication circuit when it is turned on and to disconnect the communication circuit when it is turned off; a communication circuit, wherein the first end is connected to the first switch circuit, and the second end of the communication circuit is connected to the input end of the second control circuit; The second control circuit has a signal output terminal, which is used to generate a second signal of the same type as the first signal according to the voltage condition of the communication circuit, and output the second signal through the signal output terminal.

[0006] With this embodiment, the communication circuit includes two states, one is that when the first switch circuit is turned on, the communication circuit is grounded, so that the voltage in the communication circuit is pulled to the ground voltage, and the second is that when the first switch circuit is turned off, the communication circuit is in an open circuit state, and the communication circuit in the open circuit state has neither voltage nor current. At the same time, regardless of whether the voltage of the communication circuit is ground voltage or no voltage, the second control circuit can generate a second signal of the same type as the first signal, so that the second signal source can receive the type of signal that the first signal source wants to transmit, meeting the communication requirements. In the entire communication process, the communication circuit is either ground voltage or no voltage. Both of these situations prevent the communication process from being interfered with and do not cause power loss, thereby improving the anti-interference ability of the first signal source and the second signal source during communication and reducing the energy loss during communication.

[0007] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the first control circuit includes a first comparator, the positive input terminal of the first comparator is connected to the input terminal of the first control circuit, and the negative input terminal of the first comparator is used to input a reference voltage.

[0008] With this implementation, the first control circuit includes a first comparator, which is used to control the on or off of the first switch circuit according to the type of the first signal transmitted by the first signal output terminal, with high control stability, high efficiency and low cost.

[0009] In combination with the first aspect, in an optional implementation of the embodiment of the present application, when the first signal is at a high level, the output terminal of the first comparator outputs a high level signal, and the first switch circuit is turned on; When the first signal is at a low level, the output terminal of the first comparator outputs a low level, and the first switch circuit is disconnected.

[0010] With this implementation, the reference voltage is determined based on the interference to the first signal when it is at a low level. Therefore, the reference voltage can reduce the interference of the first signal when the first signal is at a low level, thereby improving the anti-interference capability during communication.

[0011] In combination with the first aspect, in an optional implementation of the embodiment of the present application, a filtering circuit is provided between the positive input terminal of the first comparator and the input terminal of the first control circuit for filtering the first signal.

[0012] In this implementation, the filtering circuit is arranged between the positive input terminal of the first comparator and the input terminal of the first control circuit, so that the first signal is filtered by the filtering circuit before being transmitted to the positive input terminal of the first comparator, which helps to reduce the interference of the first signal and improve the anti-interference ability during the communication process.

[0013] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the first switching circuit includes a first transistor, the base of the first transistor is connected to the control end of the first switching circuit, the emitter of the first transistor is grounded, and the collector of the first transistor is connected to the first end of the communication circuit.

[0014] With this implementation, the first transistor is used to control whether the first end of the communication circuit is grounded, which can easily improve the control stability and control convenience of the first switch circuit and reduce the cost of the first switch circuit.

[0015] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the potential input to the negative input terminal of the first comparator is lower than the potential when the first signal is at a high level; The second control circuit includes a second comparator, a positive input terminal of the second comparator is connected to a second power input pin, the second power input pin is used to access a target electrical signal, a negative input terminal of the second comparator is connected to an input terminal of the second control circuit, and an output terminal of the second comparator is connected to an output terminal of the second control circuit; A pull-up resistor circuit is connected in parallel between the negative input terminal of the second comparator and the input terminal of the second control circuit; The pull-up resistor circuit is used to input the ground voltage to the negative input terminal of the second comparator when the communication circuit is at the ground voltage, and to input a high level to the negative input terminal of the second comparator when the communication circuit is in an open circuit state.

[0016] With this implementation, the second control circuit includes a second comparator and a pull-up resistor circuit, and the second comparator is used to implement the output of the second signal of the same type as the first signal, which helps to reduce costs. When the pull-up resistor circuit is used to disconnect the communication circuit, a high level is input to the negative input terminal of the second comparator, thereby ensuring that the type of the second signal is the same as the first signal, which helps to reduce the complexity and cost of the communication device.

[0017] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the communication device further includes a third control circuit, whose input end is connected to the second signal output end of the second signal source, and whose output end is connected to the control end of the second switch circuit, and is used to control the conduction or disconnection of the second switch circuit according to the type of the third signal transmitted by the second signal output end; A second switch circuit, one end of which is grounded and the other end is connected to the second end of the communication circuit, and is used for grounding the communication circuit when it is turned on, and disconnecting the communication circuit when it is turned off; a fourth control circuit, whose output end is connected to the second signal input end of the first signal source, and is used to generate a fourth signal of the same type as the third signal according to the voltage condition of the communication circuit, and transmit the fourth signal to the second signal input end; One end of the first switch circuit connected to the communication circuit is connected in parallel with the input end of the fourth control circuit to the first end of the communication circuit, and one end of the second switch circuit connected to the communication circuit is connected in parallel with the input end of the second control circuit to the second end of the communication circuit.

[0018] By adopting this implementation, the third control circuit, the fourth control circuit and the second switch circuit are designed so that the first signal source and the second signal source can interact with each other, thereby improving the functionality of the communication device.

[0019] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, the structure of the third control circuit is the same as the structure of the first control circuit; The structure of the fourth control circuit is the same as that of the second control circuit; The structure of the second switch circuit is the same as that of the first switch circuit.

[0020] By adopting this implementation method, the structure is the same, which facilitates controlling the cost of the communication device, reduces the difficulty of producing the communication device, and improves the convenience of maintenance of the communication device.

[0021] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the target electrical signal is a weak electrical signal whose voltage is less than or equal to a preset threshold, and the preset threshold does not exceed a safe voltage.

[0022] This implementation method uses weak current signals to help reduce energy consumption during the communication process.

[0023] According to a second aspect of an embodiment of the present application, a communication system is provided, comprising a first signal source, a second signal source and the communication device described above.

[0024] In combination with the second aspect, in an optional implementation manner of the embodiment of the present application, the first signal source includes a first controller in a smart home device, and the second signal source includes a second controller in the smart home device.

[0025] In combination with the second aspect, in an optional implementation of the embodiment of the present application, the smart home device includes at least one of a refrigerator, a washing machine and an air conditioner.

[0026] According to a third aspect of an embodiment of the present application, there is provided a smart home device, including a third controller and the communication device described above; The third controller is connected to a fourth controller via a communication circuit in the communication device, wherein the third controller serves as a first signal source and the fourth controller serves as a second signal source.

[0027] In combination with the third aspect, in an optional implementation of the embodiment of the present application, the smart home device includes at least one of a refrigerator, a washing machine and an air conditioner.

[0028] The technical effects obtained by the above-mentioned second to third aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a block diagram of the overall structure of a communication device provided in an embodiment of the present application; Figure 2 is a circuit diagram of a communication device provided in an embodiment of the present application; Figure 3 It is a circuit diagram of a communication device provided in an embodiment of the present application in a specific application. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0031] It should be understood that the "multiple" mentioned herein refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit them to be necessarily different.

[0032] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.

[0033] With the progress of society and the times, more and more electronic products appear in people's lives. With the popularization of electronic products, the communication between electronic products and their controllers also needs to be continuously improved, and the anti-interference ability of communication needs to be continuously enhanced, and energy consumption and costs need to be continuously reduced. For example, for products such as washing machines and air conditioners, data communication is required between the main board and the driver board, and the collected humidity, temperature and other signals are transmitted to the corresponding main board. The instructions issued by the main board also need to be transmitted to the corresponding driver board through the communication circuit for corresponding control. However, since the main board and other supporting driver boards are far apart, the communication signal will be interfered by various factors, which will cause communication waveform distortion or packet loss, resulting in communication failure.

[0034] The current solution is to use MCU to effectively adjust the baud rate and improve the anti-interference ability in the Profibus_DP communication circuit, but it needs to be equipped with an additional MCU and a 485 communication chip to achieve long-distance transmission, which not only increases the cost but also increases the energy consumption during the signal transmission process; another example is the power carrier communication circuit based on the N-line and PE-line carrier. This communication method reduces the mains power to a 30V signal and then transmits it. Although it can effectively improve the anti-interference ability when the signal transmission distance is not very close, it will also greatly increase the energy consumption at the same time. If it is used in long-distance transmission, the energy loss will be even greater.

[0035] Based on this, an embodiment of the present application provides a communication device. Taking the application of the communication device in the field of smart home as an example, the communication device provided by the present application can allow the signal to be transmitted without current in the transmission bus (that is, the communication circuit), which can effectively improve the communication efficiency between the master and slave machines, avoid communication failures caused by communication data packet loss due to interference, and effectively solve the problem that the master and slave machine signals are susceptible to interference during long-distance transmission and the energy loss during the transmission process is large, thereby effectively achieving the effect of low power consumption.

[0036] Reference Figure 1 As shown, the communication device includes the following structure.

[0037] a first control circuit, the input end of which is used to input a first signal, the output end of which is connected to the control end of the first switch circuit, and is used to control the on or off of the first switch circuit according to the type of the first signal, wherein the type includes a high level and a low level; A first switch circuit, one end of which is grounded and the other end of which is connected to the first end of the communication circuit, and is used to ground the communication circuit when it is turned on and to disconnect the communication circuit when it is turned off; a communication circuit, wherein the first end is connected to the first switch circuit, and the second end of the communication circuit is connected to the input end of the second control circuit; The second control circuit has a signal output terminal, which is used to generate a second signal of the same type as the first signal according to the voltage condition of the communication circuit, and output the second signal through the signal output terminal.

[0038] The first signal source and the second signal source refer to two devices that need to communicate, and the communication is achieved by outputting high-level or low-level signals. It should be noted that the first signal source and the second signal source can be located in the same smart device or in different smart devices, and this embodiment does not specifically limit this.

[0039] Since the input end of the first control circuit is connected to the first signal output end of the first signal source, when the first signal source needs to communicate with the second signal source, the first signal source will output the first signal, and the first signal will be received by the first control circuit through the first signal output end, and then the first control circuit will control the on or off of the first switch circuit according to the type of the first signal. It should be noted that this embodiment does not specifically limit the on and off conditions of the first switch circuit, and it is intended that the second control circuit can generate a second signal of the same type as the first signal.

[0040] Preferably, when the first signal is at a high level, the first switch circuit is turned on, and when the first signal is at a low level, the first switch circuit is turned off.

[0041] Specifically, after the first switching circuit is turned on, the communication circuit is grounded, so that the voltage in the communication circuit is pulled to the ground voltage, which is approximately equal to 0V. At this time, a low level is input to the input end of the second control circuit, and the second control circuit will perform corresponding processing and output a second signal with a high level, so that the first signal and the second signal are of the same type.

[0042] Among them, the first switching circuit is intended to control whether the first end of the communication circuit is grounded, so the first switching circuit can be any circuit with a switching function, such as IGBT, single-pole single-throw switch, triode, MOS tube, etc., and this embodiment does not make specific limitations on this.

[0043] The communication circuit is used for signal transmission, so the communication circuit is a physical circuit. In one application scenario, the communication circuit is a communication bus.

[0044] Among them, the second control circuit is intended to be able to generate a second signal of the same type as the first signal. Therefore, the second control circuit may include a structure that can convert the signal type, such as converting a low level to a high level, and converting a high level to a low level. Based on this, the second control circuit may include a comparator, an operational amplifier, a gate circuit and other structures, and this embodiment does not make specific limitations on this.

[0045] With this embodiment, the communication circuit includes two states, one is that when the first switch circuit is turned on, the communication circuit is grounded, so that the voltage in the communication circuit is pulled to the ground voltage, and the second is that when the first switch circuit is turned off, the communication circuit is in an open circuit state, and the communication circuit in the open circuit state has neither voltage nor current. At the same time, regardless of whether the voltage of the communication circuit is ground voltage or no voltage, the second control circuit can generate a second signal of the same type as the first signal, so that the second signal source can receive the type of signal that the first signal source wants to transmit, meeting the communication requirements. In the entire communication process, the communication circuit is either ground voltage or no voltage. Both of these situations prevent the communication process from being interfered with and do not cause power loss, thereby improving the anti-interference ability of the first signal source and the second signal source during communication and reducing the energy loss during communication.

[0046] In a possible embodiment of the present application, Figure 2 As shown, the first control circuit includes a first comparator P1, a positive input terminal of the first comparator P1 is connected to an input terminal of the first control circuit, a negative input terminal of the first comparator P1 is connected to a first power input pin, the first power input pin is used to access a target electrical signal VCC, and an output terminal of the first comparator P1 is connected to an output terminal of the first control circuit.

[0047] In this embodiment, the first control circuit includes a first comparator P1, which is used to control the on or off of the first switch circuit according to the type of the first signal transmitted by the first signal output terminal, with high control stability, high efficiency and low cost.

[0048] Optionally, in an implementation of this embodiment, the first control circuit further includes a voltage divider circuit, which is arranged between the first power input pin and the negative input terminal of the first comparator P1, and is used to reduce the input voltage of the negative input terminal of the first comparator P1 to a preset reference voltage ref, wherein the reference voltage ref is determined according to the interference condition of the first signal when it is at a low level; When the first signal is at a high level, the output terminal of the first comparator P1 outputs a high level signal, and the first switch circuit is turned on; When the first signal is at a low level, the output terminal of the first comparator P1 outputs a low level, and the first switch circuit is disconnected.

[0049] Preferably, the voltage divider circuit includes a first resistor R1 and a second resistor R2. One end of the first resistor R1 is connected to the first power input pin, and the other end is connected to one end of the second resistor R2; the other end of the second resistor R2 is grounded; and the negative input end of the first comparator is connected to the connection line between the first resistor R1 and the second resistor R2.

[0050] The reference voltage ref can be obtained through testing. The testing process at least includes: after the components in the communication device are connected, the installation location and the environment of the communication device can also be determined. At this time, the interference in the first signal is detected, and then the resistance values ​​of the first resistor R1 and the second resistor R2 in the voltage divider circuit are adjusted according to the interference to reduce the interference. When the minimum interference in the test process is reached, the resistance values ​​of the first resistor R1 and the second resistor R2 can be determined as the voltage divider resistance value of the voltage divider circuit actually used, and the reference voltage ref is also determined.

[0051] By adopting this embodiment, the voltage divider circuit can reduce the input voltage of the negative input terminal of the first comparator P1 to a preset reference voltage ref, and the reference voltage ref is determined according to the interference condition of the first signal when it is at a low level. Therefore, the reference voltage ref can reduce the interference of the first signal when the first signal is at a low level, thereby improving the anti-interference ability during the communication process.

[0052] Optionally, in an implementation of this embodiment, a filter circuit is provided between the positive input terminal of the first comparator P1 and the input terminal of the first control circuit, for filtering the first signal.

[0053] Preferably, the filter circuit is an RC circuit. Specifically, the filter circuit includes a third resistor R3 and a first capacitor C1. The first capacitor C1 is connected in parallel to the third resistor R3, and both ends of the first capacitor C1 are respectively connected to both ends of the third resistor R3; one end of the third resistor R3 is grounded, and the other end is connected to the positive input end of the first comparator P1.

[0054] Further preferably, a fourth resistor R4 is provided, one end of which is connected to the input end of the first control circuit, and the other end of which is connected in parallel with the third resistor R3 to the positive input end of the first comparator P1 to play a current limiting role.

[0055] Further preferably, the output end of the first comparator P1 is further connected in series with a fifth resistor R5. The fifth resistor R5 has a current limiting function to prevent excessive current from damaging components in subsequent circuits, such as the first switch circuit.

[0056] In this embodiment, the filter circuit is arranged between the positive input terminal of the first comparator and the input terminal of the first control circuit, so that the first signal is filtered by the filter circuit before being transmitted to the positive input terminal of the first comparator, which helps to reduce interference of the first signal and improve the anti-interference ability during the communication process.

[0057] Optionally, in an implementation of the present embodiment, the first switching circuit includes a first transistor Q1, the base of the first transistor Q1 is connected to the control end of the first switching circuit, the emitter of the first transistor Q1 is grounded, and the collector of the first transistor Q1 is connected to the first end of the communication circuit.

[0058] Preferably, the first transistor Q1 is an NPN transistor.

[0059] In an application scenario, the output end of the first comparator P1 is connected to the fifth resistor R5, and the base of the first transistor Q1 is connected to the other end of the fifth resistor R5, so that the fifth resistor R5 protects the first transistor Q1 (specifically, current limiting protection).

[0060] With this implementation, the first transistor Q1 is used to control whether the first end of the communication circuit is grounded, which can easily improve the control stability and control convenience of the first switch circuit and reduce the cost of the first switch circuit.

[0061] Optionally, in an implementation of this embodiment, the potential input to the negative input terminal of the first comparator P1 is lower than the potential when the first signal is at a high level; The second control circuit includes a second comparator P2, a positive input terminal of the second comparator P2 is connected to a second power input pin, the second power input pin is used to access the target electrical signal VCC, a negative input terminal of the second comparator P2 is connected to an input terminal of the second control circuit, and an output terminal of the second comparator P2 is connected to an output terminal of the second control circuit; A pull-up resistor circuit is connected in parallel between the negative input terminal of the second comparator P2 and the input terminal of the second control circuit; The pull-up resistor circuit is used to input the ground voltage to the negative input terminal of the second comparator P2 when the communication circuit is at the ground voltage, and to input a high level to the negative input terminal of the second comparator P2 when the communication circuit is in an open circuit state.

[0062] Preferably, the pull-up resistor circuit includes a sixth resistor R6; one end of the sixth resistor R6 is connected to the negative input end of the second comparator P2, and the other end is used to access the target electrical signal. The sixth resistor R6 is connected in parallel between the negative input end of the second comparator P2 and the input end of the second control circuit.

[0063] Further preferably, a seventh resistor R7 is connected in series between the negative input terminal of the second comparator P2 and the input terminal of the second control circuit, and the seventh resistor R7 is connected in parallel with the sixth resistor R6. The seventh resistor R7 has a current limiting function.

[0064] Further preferably, a second capacitor is connected in parallel to the connection between the sixth resistor R6 and the negative input terminal of the second comparator P2, and the other end of the second capacitor is grounded; the second capacitor is used to improve the anti-interference capability.

[0065] Further preferably, an eighth resistor R8 is connected in series between the positive input terminal of the second comparator P2 and the second power input pin, and the eighth resistor R8 has a current limiting function. A ninth resistor R9 is connected in series between the output terminal of the second comparator P2 and the output terminal of the second control circuit, and the ninth resistor R9 has a current limiting function.

[0066] In this implementation, the second control circuit includes a second comparator P2 and a pull-up resistor circuit. The second comparator P2 is used to implement the output of a second signal of the same type as the first signal, which helps to reduce costs. When the pull-up resistor circuit is used to disconnect the communication circuit, a high level is input to the negative input terminal of the second comparator P2, thereby ensuring that the type of the second signal is the same as the first signal, which helps to reduce the complexity and cost of the communication device.

[0067] Optionally, in an implementation of this embodiment, the communication device further includes a third control circuit, whose input end is connected to the second signal output end of the second signal source, and whose output end is connected to the control end of the second switch circuit, and is used to control the conduction or disconnection of the second switch circuit according to the type of the third signal transmitted by the second signal output end; A second switch circuit, one end of which is grounded and the other end of which is connected to the second end of the communication circuit, and is used for grounding the communication circuit when it is turned on, and disconnecting the communication circuit when it is turned off; a fourth control circuit, whose output end is connected to the second signal input end of the first signal source, and is used to generate a fourth signal of the same type as the third signal according to the voltage condition of the communication circuit, and transmit the fourth signal to the second signal input end; One end of the first switch circuit connected to the communication circuit is connected in parallel with the input end of the fourth control circuit to the first end of the communication circuit, and one end of the second switch circuit connected to the communication circuit is connected in parallel with the input end of the second control circuit to the second end of the communication circuit.

[0068] By adopting this implementation, the third control circuit, the fourth control circuit and the second switch circuit are designed so that the first signal source and the second signal source can interact with each other, thereby improving the functionality of the communication device.

[0069] Optionally, in an implementation of this embodiment, the structure of the third control circuit is the same as that of the first control circuit; The structure of the fourth control circuit is the same as that of the second control circuit; The structure of the second switch circuit is the same as that of the first switch circuit.

[0070] Specifically, the third control circuit includes a third comparator P3, the positive input terminal of the third comparator P3 is connected to the input terminal of the third control circuit, the negative input terminal of the third comparator P3 is connected to the third power input pin, the third power input pin is used to access the target electrical signal VCC, and the output terminal of the third comparator P3 is connected to the output terminal of the third control circuit.

[0071] The third control circuit also includes a tenth resistor R10 and an eleventh resistor R11 for voltage division. One end of the tenth resistor R10 is connected to the third power input pin, and the other end is connected to one end of the eleventh resistor R11; the other end of the eleventh resistor R11 is grounded; the negative input end of the third comparator P3 is connected to the connection line between the tenth resistor R10 and the eleventh resistor R11.

[0072] The third control circuit also includes a twelfth resistor R12 and a third capacitor for filtering. The third capacitor is connected in parallel to the twelfth resistor R12, and both ends of the third capacitor are respectively connected to both ends of the twelfth resistor R12; one end of the twelfth resistor R12 is grounded, and the other end is connected to the positive input end of the third comparator P3.

[0073] Further preferably, a thirteenth resistor R13 is provided, one end of the thirteenth resistor R13 is connected to the input end of the third control circuit, and the other end is connected in parallel with the twelfth resistor R12 to the positive input end of the third comparator P3 to play a current limiting role.

[0074] Further preferably, the output end of the third comparator P3 is further connected in series with a fourteenth resistor R14. The fourteenth resistor R14 has a current limiting function to prevent excessive current from damaging components in subsequent circuits, such as the second switch circuit.

[0075] The second switch circuit includes a second transistor Q2, a base of the second transistor Q2 is connected to the control end of the second switch circuit, an emitter of the second transistor Q2 is grounded, and a collector of the second transistor Q2 is connected to the second end of the communication circuit.

[0076] Preferably, the second transistor Q2 is an NPN transistor.

[0077] In one application scenario, the output end of the third comparator P3 is connected to the fourteenth resistor R14, and at this time, the base of the second transistor Q2 is connected to the other end of the fourteenth resistor R14, so that the fourteenth resistor R14 protects the second transistor Q2 (specifically, current limiting protection).

[0078] In one implementation of this embodiment, the potential input to the negative input terminal of the third comparator P3 is lower than the potential when the third signal is at a high level; The fourth control circuit includes a fourth comparator P4, a positive input terminal of the fourth comparator P4 is connected to a fourth power input pin, the fourth power input pin is used to access the target electrical signal VCC, a negative input terminal of the fourth comparator P4 is connected to the input terminal of the fourth control circuit, and an output terminal of the fourth comparator P4 is connected to the output terminal of the fourth control circuit; A pull-up circuit is connected in parallel between the negative input terminal of the fourth comparator P4 and the input terminal of the fourth control circuit; The pull-up circuit is used to input the ground voltage to the negative input terminal of the fourth comparator P4 when the communication circuit is at the ground voltage, and input the high level to the negative input terminal of the fourth comparator P4 when the communication circuit is in the open circuit state.

[0079] Preferably, the pull-up circuit includes a fifteenth resistor R15; one end of the fifteenth resistor R15 is connected to the negative input end of the fourth comparator P4, and the other end is used to access the target electrical signal VCC. The fifteenth resistor R15 is connected in parallel between the negative input end of the fourth comparator P4 and the input end of the fourth control circuit.

[0080] Further preferably, a sixteenth resistor R16 is connected in series between the negative input terminal of the fourth comparator P4 and the input terminal of the fourth control circuit, and the sixteenth resistor R16 is connected in parallel with the fifteenth resistor R15. The sixteenth resistor R16 has a current limiting function.

[0081] Further preferably, a fourth capacitor is connected in parallel to the connection between the fifteenth resistor R15 and the negative input terminal of the fourth comparator P4, and the other end of the fourth capacitor is grounded; the fourth capacitor is used to improve anti-interference capability.

[0082] Further preferably, a seventeenth resistor R17 is connected in series between the positive input terminal of the fourth comparator P4 and the fourth power input pin, and the seventeenth resistor R17 has a current limiting function. An eighteenth resistor R18 is connected in series between the output terminal of the fourth comparator P4 and the output terminal of the fourth control circuit, and the eighteenth resistor R18 has a current limiting function.

[0083] It should be noted that when the first control circuit receives the first signal, the third control circuit is controlled to be unable to output a signal, that is, the third control circuit is set to 0. Similarly, when the third control circuit receives the third signal, the first control circuit is controlled to be unable to output a signal, that is, the first control circuit is set to 0.

[0084] In addition, since the input ends of the first switch circuit and the fourth control circuit are both connected to the first end of the communication circuit, and the input ends of the second switch circuit and the second control circuit are both connected to the second end of the communication circuit, when the first control circuit is input with the first signal and the third control circuit cannot output a signal, the input end of the fourth control circuit receives the same input signal as the input end of the second control circuit. Preferably, because the first control circuit and the fourth control circuit are both connected to the first signal source, the first signal source can detect whether the first signal output by itself is abnormal through the fourth control circuit, and the specific detection process is not limited in this embodiment.

[0085] By adopting this implementation method, the structure is the same, which facilitates controlling the cost of the communication device, reduces the difficulty of producing the communication device, and improves the convenience of maintenance of the communication device.

[0086] Optionally, in an implementation of this embodiment, the target electrical signal is a weak electrical signal whose voltage is less than or equal to a preset threshold, and the preset threshold does not exceed a safe voltage.

[0087] This implementation method uses weak current signals to help reduce energy consumption during the communication process.

[0088] This embodiment further provides a communication system, including a first signal source, a second signal source and the above communication device.

[0089] Optionally, in an implementation manner of this embodiment, the first signal source includes a first controller in a smart home device, and the second signal source includes a second controller in the smart home device.

[0090] Optionally, in an implementation of this embodiment, the smart home device includes at least one of a refrigerator, a washing machine and an air conditioner.

[0091] This embodiment also provides a smart home device, including a third controller and the above-mentioned communication device; The third controller is connected to the fourth controller via a communication circuit in the communication device, wherein the third controller serves as a first signal source and the fourth controller serves as a second signal source.

[0092] Optionally, in an implementation of this embodiment, the smart home device includes at least one of a refrigerator, a washing machine and an air conditioner.

[0093] In the above-mentioned embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The steps shown in the relevant flow chart can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flow chart, in some cases, the steps shown or described can be executed in an order different from that here. In other words, the order of steps described in the foregoing embodiments is only an example, and it is also within the scope of protection of the embodiments of the present application to reasonably adjust the order of steps based on the content of the embodiments of the present application.

[0094] In a specific implementation of the embodiment of the present application, Figure 3 As shown, the communication device is used for communication between the host and the slave, wherein the host may be a control board (or main board) in a washing machine, and the slave may be a driving board in a washing machine. The structure and use process of the communication device are as follows: The communication device includes components such as resistors, capacitors, comparators, and transistors (NPN). When the host is used as the signal transmitter, the slave signal transmitter must be forced to 0, and then the host signal is compared with the reference voltage ref using the P1 comparator. The comparison output GND or VCC is used to control the on and off of the transistor Q1, and then to control the input end of the slave receiving end P4 comparator, and the input signal is compared with VCC to convert the host signal sent over a long distance into the slave receiving signal.

[0095] Among them, the purpose of forcibly setting the slave signal transmitter to 0 is to make a communication protocol to prevent the slave from occupying the communication bus when the host sends a signal, causing a communication failure. The function is to prevent the slave from occupying the bus when the host sends a signal, causing a communication failure. It is not possible not to force it to be set to 0, because when the host transmitter sends a signal, if the slave transmitter is not forced to be set to 0 or forced to be set to 1, the slave transmitter will be in an unknown state; first, when the host transmitter sends a signal, if the slave transmitter is forced to be set to 1, the slave will occupy the bus, causing a communication failure; in addition, if it is not forced to be set to 0 and not forced to be set to 1, the slave transmitter will be in an unknown state. When this state jumps to 1 due to some interference, it will also occupy the bus, causing a communication failure.

[0096] Among them, VCC is a weak current level, which can be selected as needed, and can be a DC level less than 6V; secondly, the relationship between VCC and the reference voltage: the reference voltage is obtained by using the voltage division principle and two resistors to divide VCC. The size of the resistor can be adjusted as needed to obtain the required reference voltage size.

[0097] Among them, when Q1 is turned on, the negative input terminal of P4 is a low level. After the positive input terminal VCC of the P4 comparator is compared with the negative input terminal, P4 outputs a high level, and then the RX terminal is a high level; when Q1 is turned off, the negative input terminal of P4 is a high level. After comparison by the P4 comparator, a low level is output, and then the RX terminal is a low level.

[0098] Among them, long-distance transmission is achieved by using weak current signals. First, at the host transmitting end, only weak current signals are needed to control the on and off of Q1. When Q1 is turned on, a low level will be input to the negative input of the slave P4 comparator. In the entire long-distance transmission path (i.e., the path from the host communication circuit to the slave communication circuit), no current is involved. Therefore, the interference problem in the signal transmission process can be solved to achieve long-distance transmission, and the energy loss caused in the transmission process can be avoided. When the host TX end sends a high-level signal, Q1 is turned off, and the signal transmission path of the master and slave is cut off. The negative input of the slave P4 comparator is controlled by the slave communication circuit and a high level is input, so that the slave RX end receives a low-level signal. Since the signal transmission path of the master and slave has been cut off at this time, it will not be affected by interference during the signal transmission process and will not cause energy loss, thereby achieving effective long-distance transmission.

[0099] The following is a detailed analysis of this circuit: First of all, this reference voltage ref can improve the anti-interference ability of this circuit. The specific value can be adjusted according to needs, but ref must be smaller than the potential when TX sends a high level. In this analysis, ref=2.5V and VCC=5V are taken as examples; The resistor connected in series at the positive input of the TX end comparator has a current limiting function to avoid damage to the comparators P1 and P2. The RC before the positive input of the comparators P1 and P2 is used to improve the anti-interference effect. The ref at the reverse input of P1 and P2 can be adjusted by the voltage divider effect of the resistor; the resistor connected in series at the output of the comparators P1 and P2 has a current limiting function to avoid damage to the transistors Q1 and Q2; similarly, the resistor connected in series at the positive and negative input of the comparators P3 and P4 at the receiving end has a current limiting function to avoid damage to the comparators P3 and P4; the resistors before the comparators P3 and P4 are pull-up resistors, which are used for signal conversion, and the capacitor connected in parallel to this resistor can improve the anti-interference ability of the circuit; the resistor connected in series at the output of the comparators P3 and P4 has a current limiting function to prevent damage to the main chip.

[0100] When the host is used as the signal transmitter and the slave is used as the signal receiver, the slave TX terminal needs to be forced to 0. When TX is 0, since ref>0, P2 outputs GND and transistor Q2 is not turned on. When the host sends a high level, since the host TX signal is greater than ref, the comparator P1 outputs VCC, and the transistor Q1 is turned on. At this time, the communication bus voltage is GND, so there will be no energy loss during long-distance transmission. At this time, the reverse input of the host comparator P3 is GND, and the reverse input signal of the slave comparator P4 is GND. Therefore, the host receiving end receives the high level transmitted by the sending end after comparator P3, and the slave receiving end receives the high level transmitted by the host sending end after comparator P4, and the high level is connected to the high level. When the host sends a low level, since the host TX signal is less than ref, the comparator P1 outputs GND, and the transistor Q1 is not turned on. At this time, the communication bus voltage is in an open circuit state, so no energy loss will be caused during long-distance transmission. At this time, since the bus is in an open circuit state, the reverse input end of the receiving comparator is pulled up to VCC by the pull-up resistor. At this time, the host receiving end receives the low level transmitted by the transmitting end after comparator P3, and the slave receiving end receives the low level transmitted by the host transmitting end after comparator P4, and the low is sent and the low is connected.

[0101] The sequence of serial numbers or introduction of the embodiments of the present application is for description only and does not represent the superiority or inferiority of the embodiments.

[0102] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0103] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0104] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0105] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the embodiment of the present application may be a non-volatile storage medium, in other words, a non-transient storage medium. It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the scene data of the current frame in the three-dimensional virtual scene, the device information of the client, and the scene interaction information involved in the embodiments of this application are all obtained with full authorization.

[0106] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A communication device, characterized in that: include: a first control circuit, the input end of which is used to input a first signal, the output end of which is connected to the control end of the first switch circuit, and is used to control the on or off of the first switch circuit according to the type of the first signal, wherein the type includes a high level and a low level; A first switch circuit, one end of which is grounded and the other end of which is connected to the first end of the communication circuit, and is used to ground the communication circuit when it is turned on and to disconnect the communication circuit when it is turned off; a communication circuit, wherein the first end is connected to the first switch circuit, and the second end of the communication circuit is connected to the input end of the second control circuit; The second control circuit has a signal output terminal, which is used to generate a second signal of the same type as the first signal according to the voltage condition of the communication circuit, and output the second signal through the signal output terminal.

2. The communication device according to claim 1, characterized in that: The first control circuit includes a first comparator, a positive input terminal of the first comparator is connected to an input terminal of the first control circuit, and a negative input terminal of the first comparator is used to input a reference voltage.

3. The communication device according to claim 2, characterized in that: When the first signal is at a high level, the output terminal of the first comparator outputs a high level signal, and the first switch circuit is turned on; When the first signal is at a low level, the output terminal of the first comparator outputs a low level, and the first switch circuit is disconnected.

4. The communication device according to claim 2, characterized in that: A filter circuit is provided between the positive input terminal of the first comparator and the input terminal of the first control circuit, for filtering the first signal.

5. The communication device according to claim 1, characterized in that: The first switch circuit includes a first transistor, a base of the first transistor is connected to the control end of the first switch circuit, an emitter of the first transistor is grounded, and a collector of the first transistor is connected to the first end of the communication circuit.

6. The communication device according to claim 2, characterized in that: The potential input to the negative input terminal of the first comparator is lower than the potential when the first signal is at a high level; The second control circuit includes a second comparator, a positive input terminal of the second comparator is connected to a second power input pin, the second power input pin is used to access a target electrical signal, a negative input terminal of the second comparator is connected to an input terminal of the second control circuit, and an output terminal of the second comparator is connected to an output terminal of the second control circuit; A pull-up resistor circuit is connected in parallel between the negative input terminal of the second comparator and the input terminal of the second control circuit; The pull-up resistor circuit is used to input the ground voltage to the negative input terminal of the second comparator when the communication circuit is at the ground voltage, and to input a high level to the negative input terminal of the second comparator when the communication circuit is in an open circuit state.

7. The communication device according to any one of claims 1 to 6, characterized in that: The communication device further includes a third control circuit, whose input end is connected to the second signal output end of the second signal source, and whose output end is connected to the control end of the second switch circuit, and is used to control the conduction or disconnection of the second switch circuit according to the type of the third signal transmitted by the second signal output end; A second switch circuit, one end of which is grounded and the other end is connected to the second end of the communication circuit, and is used for grounding the communication circuit when it is turned on, and disconnecting the communication circuit when it is turned off; a fourth control circuit, whose output end is connected to the second signal input end of the first signal source, and is used to generate a fourth signal of the same type as the third signal according to the voltage condition of the communication circuit, and transmit the fourth signal to the second signal input end; One end of the first switch circuit connected to the communication circuit is connected in parallel with the input end of the fourth control circuit to the first end of the communication circuit, and one end of the second switch circuit connected to the communication circuit is connected in parallel with the input end of the second control circuit to the second end of the communication circuit.

8. The communication device according to claim 7, characterized in that: The structure of the third control circuit is the same as that of the first control circuit; The structure of the fourth control circuit is the same as that of the second control circuit; The structure of the second switch circuit is the same as that of the first switch circuit.

9. The communication device according to claim 6, characterized in that: The target electrical signal is a weak electrical signal whose voltage is less than or equal to a preset threshold, and the preset threshold does not exceed a safe voltage.

10. A communication system, characterized in that: It comprises a first signal source, a second signal source and the communication device according to any one of claims 1 to 9.

11. The communication system according to claim 10, characterized in that: The first signal source includes a first controller in a smart home device, and the second signal source includes a second controller in the smart home device.

12. The communication system according to claim 11, characterized in that: The smart home device includes at least one of a refrigerator, a washing machine and an air conditioner.

13. A smart home device, characterized in that: comprising a third controller and the communication device according to any one of claims 1 to 9; The third controller is connected to a fourth controller via a communication circuit in the communication device, wherein the third controller serves as a first signal source and the fourth controller serves as a second signal source.

14. The smart home device according to claim 13, characterized in that: The smart home device includes at least one of a refrigerator, a washing machine and an air conditioner.

Citation Information

Patent Citations

  • One-bus communication signal enhancement circuit

    CN109586750A

  • Level switching circuit of integrated circuit bus and edge server

    CN117955480A

  • Bus communication circuit and device

    CN213906694U

  • Switch control circuit of main control circuit and electronic equipment

    CN218103100U

  • Communication system

    US20150295738A1