CN215067796U - Communication device and electrical equipment - Google Patents

Communication device and electrical equipment Download PDF

Info

Publication number
CN215067796U
CN215067796U CN202121020718.9U CN202121020718U CN215067796U CN 215067796 U CN215067796 U CN 215067796U CN 202121020718 U CN202121020718 U CN 202121020718U CN 215067796 U CN215067796 U CN 215067796U
Authority
CN
China
Prior art keywords
communication
module
communication mode
isolation
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202121020718.9U
Other languages
Chinese (zh)
Inventor
杨帆
王烨
王承刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202121020718.9U priority Critical patent/CN215067796U/en
Application granted granted Critical
Publication of CN215067796U publication Critical patent/CN215067796U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model discloses a communication device and electrical equipment, the device includes: the isolation unit receives the first control signal sent by the first control unit and carries out isolation processing on the first control signal to obtain a first isolation control signal; the first control unit is used for receiving a first control signal sent by the first control unit and carrying out isolation processing on the first control signal to obtain a first isolation control signal; the conversion unit is used for carrying out communication mode conversion based on the first isolation control signal and determining the current communication mode; the communication unit is used for carrying out communication according to a first communication mode in a power-on and non-working state; and under the power-on and working state, the communication is carried out by combining the second isolation control signal according to the second communication mode. According to the scheme, when the control unit selects the communication mode, the UART communication mode and the 485 communication mode are switched and used in a software setting mode, and the universality and compatibility of the control unit on hardware are improved.

Description

Communication device and electrical equipment
Technical Field
The utility model belongs to the technical field of communication control, concretely relates to communication device and electrical equipment especially relate to one kind and can realize switching UART communication mode and 485 communication mode's communication circuit, electrical equipment who has this communication circuit and this electrical equipment's communication control method through software control.
Background
Communication between control units is often required in electrical equipment, and communication modes adopted in related schemes include a Universal Asynchronous Receiver/Transmitter (UART) communication mode and a 485 communication mode. The UART communication mode is often used in the case of short communication distance, and the 485 communication mode is often used in the case of long communication distance. The UART communication mode is a communication mode using a Universal Asynchronous Receiver/Transmitter (UART). The 485 communication mode is a communication mode which adopts an RS485 communication chip for communication.
In the related scheme, when the control unit of the electrical equipment selects the communication mode, the UART communication mode or the 485 communication mode needs to be distinguished by the difference of the control unit of the electrical equipment in hardware, so that the universality and the compatibility of the control unit of the electrical equipment in hardware are greatly reduced.
The above is only for the purpose of assisting understanding of the technical solutions of the present invention, and does not represent an admission that the above is the prior art.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a communication device and electrical equipment, when selecting communication mode with the control unit who solves electrical equipment, need distinguish according to electrical equipment's the difference on the hardware and use UART communication mode or 485 communication mode, the control unit who has reduced electrical equipment has the commonality and the compatible problem of hardware, reach and have UART communication function and 485 communication function through the setting, and can switch the communication circuit who uses, when electrical equipment's the control unit selects communication mode, the mode that sets up through the software realizes the switching of UART communication mode and 485 communication mode and uses, be favorable to promoting electrical equipment's the control unit commonality on the hardware and compatible effect.
The utility model provides a communication device, include: the system comprises an isolation unit, a conversion unit and a communication unit; the isolation unit, the conversion unit and the communication unit can form a communication circuit which has a first communication function and a second communication function and can be used for switching the first communication function and the second communication function; in the communication circuit: the isolation unit is configured to receive a first control signal sent by a first control unit, and perform isolation processing on the first control signal to obtain a first isolation control signal; the first control unit is configured to receive a first control signal sent by the first control unit, and perform isolation processing on the first control signal to obtain a first isolation control signal; the first control unit is a control unit of first electrical equipment needing communication; the first control signal is a control signal for selecting a communication mode of the communication circuit by controlling the level of the receiver output end and the driver input end of the communication unit; the second control signal is a control signal for controlling the communication unit to work; the communication mode of the communication circuit comprises the following steps: a first communication mode and a second communication mode; the first communication mode is a communication mode for communicating by utilizing a first communication function; the second communication mode is a communication mode for communicating by utilizing a second communication function; the conversion unit is configured to perform communication mode conversion based on the first isolation control signal, so that one of the first communication mode and the second communication mode corresponding to the first control signal is used as a current communication mode, and the first control unit can perform communication with other control units according to the current communication mode; the communication unit is configured to be in a powered and working state when the current communication mode is the second communication mode, and to realize communication between the first control unit and other control units according to the second communication mode and in combination with the second isolation control signal in the powered and working state; and under the condition that the current communication mode is the first communication mode, the communication unit is in a power-on and non-working state, so that communication is carried out with other control units according to the first communication mode under the power-on and non-working state.
In some embodiments, the isolation unit comprises: a first isolation module and a second isolation module; the conversion unit includes: a first conversion module and a second conversion module; the first isolation module is arranged between the input end of the first control signal and the control end of the first conversion module; the output end of the first conversion module is connected to one connecting end of the driver output end and the receiver input end of the communication unit; the first isolation module is also arranged between the input end of the first control signal and the control end of the second conversion module; the output end of the second conversion module is connected to the other connecting end of the driver output end and the receiver input end of the communication unit; the second isolation module is arranged between the input end of the second control signal and the driver output enabling end and the receiver enabling output end of the communication unit.
In some embodiments, the first isolation module comprises: a first optocoupler module; the second isolation module comprising: a second optocoupler module; the first conversion module includes: a first switch tube module; a second conversion module comprising: a second switch tube module; the cathode of the diode side of the first optical coupling module is used as the input end of the first optical coupling module; an emitter at the transistor side of the first optical coupling module is used as an output end of the first optical coupling module; a cathode on the diode side of the second optical coupling module is used as an input end of the second optical coupling module; an emitter at the transistor side of the second optical coupling module is used as an output end of the second optical coupling module; the base electrode of the first switch tube module is used as a control end of the first switch tube module; the collector of the first switch tube module is used as the output end of the first switch tube module; the base electrode of the second switch tube module is used as the control end of the second switch tube module; and the emitting electrode of the second switch tube module is used as the output end of the second switch tube module.
In some embodiments, the isolation unit further comprises: a third isolation module and a fourth isolation module; the conversion unit further includes: a third conversion module and a fourth conversion module; the first isolation module is further arranged between the input end of the first control signal and the control end of the third conversion module; the third isolation module is arranged at a signal receiving end of the first control unit and a first connecting end of the third conversion module; the second connecting end of the third conversion module is connected to the receiver output end of the communication unit; the first connection end of the third conversion module is also connected to the second connection end of the first conversion module, and the first connection end of the first conversion module is used as the output end of the first conversion module; the first isolation module is further arranged between the input end of the first control signal and the control end of the fourth conversion module; the fourth isolation module is arranged at a second connecting end of the fourth conversion module and a signal sending end of the first control unit; the first connecting end of the fourth conversion module is connected to the input end of the driver of the communication unit; the first connection end of the fourth conversion module is further connected to the first connection end of the second conversion module, and the second connection end of the second conversion module is used as the output end of the second conversion module.
In some embodiments, the third isolation module comprises: a third optical coupling module; the fourth isolation module, comprising: a fourth optical coupling module; the third conversion module includes: a third switch tube module; the fourth conversion module includes: a fourth switch tube module; an emitter at the transistor side of the third optical coupling module is used as an input end of the third optical coupling module; an anode on the diode side of the third optocoupler module is used as an output end of the third optocoupler module; an anode on the diode side of the fourth optocoupler module is used as an input end of the fourth optocoupler module; the base of the third switch tube module is used as the control end of the third switch tube module; the collector of the third switch tube module is used as a first connecting end of the third switch tube module; the emitting electrode of the third switch tube module is used as a second connecting end of the third switch tube module; the base electrode of the fourth switching tube module is used as the control end of the fourth switching tube module; an emitter of the fourth switch tube module is used as a first connection end of the fourth switch tube module; and the collector of the fourth switch tube module is used as a second connecting end of the fourth switch tube module.
In some embodiments, the third switch tube module further comprises: a first voltage division module; the first voltage division module is arranged at the second connecting end of the third switch tube module.
In some embodiments, the fourth switch tube module further comprises: a second voltage division module; and the second voltage division module is arranged at the first connecting end of the fourth switch tube module.
In some embodiments, the communication unit comprises: 485 communication module; the first communication method includes: UART communication mode; the second communication method includes: 485 communication mode; the communication unit is in a power-on and non-working state under the condition that the current communication mode is the first communication mode, so that communication is carried out with other control units according to the first communication mode under the power-on and non-working state; under the condition that the current communication mode is the second communication mode, the communication unit is in a power-on and working state, so that the communication between the first control unit and other control units is realized by combining the second isolation control signal according to the second communication mode in the power-on and working state, and the method comprises the following steps: under the condition that the current communication mode is a UART communication mode, the first control signal is a signal with a first set level, the second control signal is a signal with a first set level, and the communication circuit communicates according to the UART communication mode; under the condition that the current communication mode is a 485 communication mode, the first control signal is a signal of a second set level, and the communication circuit communicates in the 485 communication mode; in the 485 communication mode, when the second control signal is a signal of a first set level, the 485 communication module can realize first set 485 communication; under the 485 communication mode, when the second control signal is a second signal with a set level, the 485 communication module can realize second set 485 communication.
With the above device phase-match, the utility model discloses another aspect provides an electrical equipment, include: the communication device is described above.
Therefore, according to the scheme of the utility model, by utilizing the isolation circuit, the conversion circuit and the RS485 communication module, the communication circuit which has the UART communication function and the 485 communication function and can switch between the UART communication mode and the 485 communication mode is arranged, when the control unit of the electrical equipment selects the communication mode, the communication circuit is controlled only by controlling the level of the receiver output end and the driver input end of the RS485 communication module through software setting, so that the communication circuit can switch between the UART communication mode and the 485 communication mode; therefore, switching between the UART communication mode and the 485 communication mode is achieved through the software setting mode, communication convenience between control units of the electrical equipment is improved, and universality and compatibility of the control units of the electrical equipment on hardware are improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention.
The technical solution of the present invention is further described in detail by the accompanying drawings and examples.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment of a communication device according to the present invention;
fig. 2 is a schematic structural diagram of an embodiment of a communication circuit capable of switching between a UART communication mode and a 485 communication mode under software control;
fig. 3 is a schematic structural diagram of an embodiment of a communication circuit capable of switching between a UART communication mode and a 485 communication mode under software control;
fig. 4 is a schematic structural diagram of another embodiment of a communication circuit capable of switching between a UART communication mode and a 485 communication mode under software control;
fig. 5 is a flowchart illustrating a communication control method according to an embodiment of the present invention.
Detailed Description
To make the purpose, technical solution and advantages of the present invention clearer, the following will combine the embodiments of the present invention and the corresponding drawings to clearly and completely describe the technical solution of the present invention. It is to be understood that the embodiments described are only some embodiments of the invention, and not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
According to the utility model discloses an embodiment provides a communication device. Referring to fig. 1, a schematic structural diagram of an embodiment of the apparatus of the present invention is shown. The communication device can be used as a communication device of electrical equipment and is used for realizing communication of the electrical equipment. The communication device of the electrical equipment comprises: the device comprises an isolation unit, a conversion unit and a communication unit. Isolation units such as isolation circuit 1, isolation circuit 2, isolation circuit 3, and isolation circuit 4. Conversion units such as a conversion circuit 1, a conversion circuit 2, a conversion circuit 3, and a conversion circuit 4. And a communication unit, such as a 485 communication module. The isolation unit, the conversion unit and the communication unit can form a communication circuit which has a first communication function and a second communication function and can be used for switching the first communication function and the second communication function. And a second communication function, such as a 485 communication function. A first communication function, such as a UART communication function. In the communication circuit:
the isolation unit is configured to receive a first control signal (such as a control signal Y) sent by a first control unit, and perform isolation processing on the first control signal to obtain a first isolation control signal; the isolation control unit is further configured to receive a second control signal (such as the control signal X) sent by the first control unit, and perform isolation processing on the second control signal to obtain a second isolation control signal.
The first control unit (for example, the control unit 1) is a control unit of a first electrical device that needs to communicate. The first control signal is a control signal for selecting a communication mode of the communication circuit by controlling the level of the receiver output end and the driver input end of the communication unit. The second control signal is a control signal for controlling the operation of the communication unit. The communication mode of the communication circuit comprises the following steps: a first communication mode and a second communication mode. The first communication mode is a communication mode for performing communication by using a first communication function. The second communication mode is a communication mode for performing communication by using a second communication function. For example: the control signal Y is a control signal for controlling the selection of the UART communication mode or the 485 communication mode by the control unit 1, and the control signal X is a control signal for controlling the RS485 communication chip to work by the control unit 1.
The conversion unit is configured to perform communication mode conversion based on the first isolation control signal, that is, based on the first control signal after the isolation processing, so as to use one of the first communication mode and the second communication mode corresponding to the first control signal as a current communication mode, so that the first control unit can perform communication with other control units according to the current communication mode. That is, the communication unit may perform communication mode switching based on the communication mode switching signal to use one of the first communication function and the second communication function corresponding to the first control signal as a current communication function, so that the first control unit may perform communication with other control units according to the current communication function. The other control unit is a control unit of other electrical equipment which needs to communicate with the control unit of the first electrical equipment.
The communication unit is configured to be in a powered and working state when the current communication mode is the second communication mode, and to realize communication between the first control unit and other control units according to the second communication mode and in combination with the second isolation control signal in the powered and working state; and under the condition that the current communication mode is the first communication mode, the communication unit is in a power-on and non-working state, so that communication is carried out with other control units according to the first communication mode under the power-on and non-working state.
Therefore, the communication circuit with the first communication function and the second communication function can be formed through the isolation unit, the conversion unit and the communication unit, and the first communication function and the second communication function can be switched through software setting. Therefore, the communication circuit which can be in the UART communication mode or the 485 communication mode can be selected only through software control, the UART communication mode or the 485 communication mode can be selectively used through software switching, the compatibility and the universality of the mainboard of the electrical equipment are greatly improved, in addition, the inconvenience in operation is reduced, and the efficiency is improved.
In some embodiments, the isolation unit comprises: a first isolation module (e.g., isolation circuit 1) and a second isolation module (e.g., isolation circuit 3). The conversion unit includes: a first conversion module (e.g., conversion circuit 1) and a second conversion module (e.g., conversion circuit 2).
The first isolation module is disposed between the input terminal of the first control signal and the control terminal of the first conversion module (e.g., the base of the transistor Q1). The output terminal of the first converting module (for example, the collector terminal of the transistor Q1) is connected to one of the driver output terminal and the receiver input terminal of the communication unit, that is, to the input terminal of the communication signal M between the first control unit and the other control units. And the output end of a driver and the input end of a receiver of the communication unit, such as the pin A and the pin B of an RS485 chip.
The first isolation module is further disposed between the input terminal of the first control signal and the control terminal of the second conversion module (e.g., the base of the transistor Q2). The output terminal of the second converting module (for example, the emitter terminal of the transistor Q2) is connected to the other of the driver output terminal and the receiver input terminal of the communication unit, that is, to the input terminal of the communication signal N between the first control unit and the other control units. The communication signal M and the communication signal N are communication signals between the first control unit and other control units.
The second isolation module is arranged between the input end of the second control signal and the driver output enabling end and the receiver enabling output end of the communication unit. And the driver output enable end and the receiver enable output end of the communication unit, such as a DE pin and a RE/pin of an RS485 communication chip.
In some embodiments, the first isolation module (e.g., isolation circuit 1) includes: the first optical coupler module, such as an optical coupler B1 and a peripheral circuit thereof, and the peripheral circuit of the optical coupler B1 comprises a resistor R1 and a resistor R2. The second isolation module (e.g., isolation circuit 3) includes: and the second optical coupling module, such as an optical coupler B3 and a peripheral circuit thereof, and the peripheral circuit of the optical coupler B3 comprises a resistor R5 and a resistor R6.
The first conversion module (e.g., conversion circuit 1) includes: the first switch tube module, such as the transistor Q1 and its peripheral circuit, and the resistor R9, the resistor R10 and the resistor R11 form the peripheral circuit of the transistor Q1. A second conversion module (e.g., conversion circuit 2) comprising: the second switch transistor module, such as transistor Q2 and its peripheral circuit, resistor R12 and resistor R13 form the peripheral circuit of transistor Q1.
And a cathode at a diode side of the first optical coupling module (such as the optical coupler B1 and a peripheral circuit thereof) is used as an input end of the first optical coupling module (such as the optical coupler B1 and a peripheral circuit thereof) and is connected to an input end of the first control signal. And an emitter at the transistor side of the first optical coupling module (such as the optical coupler B1 and a peripheral circuit thereof) is used as an output end of the first optical coupling module (such as the optical coupler B1 and a peripheral circuit thereof).
And a cathode at the diode side of the second optical coupling module (such as the optical coupler B3 and a peripheral circuit thereof) is used as an input end of the second optical coupling module (such as the optical coupler B3 and a peripheral circuit thereof) and is connected to an input end of the second control signal. And an emitter at the transistor side of the second optical coupling module (such as the optical coupler B3 and a peripheral circuit thereof) is used as an output end of the second optical coupling module (such as the optical coupler B3 and a peripheral circuit thereof).
The base of the first switch tube module (such as the transistor Q1 and its peripheral circuit) is used as the control terminal of the first switch tube module (such as the transistor Q1 and its peripheral circuit). The collector of the first switch tube module (such as the transistor Q1 and its peripheral circuit) is used as the output terminal of the first switch tube module (such as the transistor Q1 and its peripheral circuit).
The base of the second switch tube module (such as the transistor Q2 and its peripheral circuit) is used as the control terminal of the second switch tube module (such as the transistor Q2 and its peripheral circuit). The emitter of the second switch tube module (such as the transistor Q2 and its peripheral circuit) is used as the output terminal of the second switch tube module (such as the transistor Q2 and its peripheral circuit).
In some embodiments, the isolation unit further comprises: a third isolation module (e.g., isolation circuit 2) and a fourth isolation module (e.g., isolation circuit 4). The conversion unit further includes: a third conversion module (e.g., conversion circuit 3) and a fourth conversion module (e.g., conversion circuit 4).
The first isolation module is further disposed between the input terminal of the first control signal and the control terminal of the third conversion module (e.g., the base of the transistor Q3). The third isolation module is disposed at a signal receiving end of the first control unit and a first connection end (e.g., a collector of a transistor Q3) of the third conversion module. And a second connection terminal (for example, an emitter of the transistor Q3) of the third conversion module is connected to a receiver output terminal (for example, an RO pin of the RS485 chip) of the communication unit. The first connection end of the third conversion module is further connected to the second connection end of the first conversion module (for example, the emitter of the transistor Q1), and the first connection end of the first conversion module is used as the output end of the first conversion module. The signal receiving end of the first control unit is, for example, the input end of the communication signal RX of the first control unit.
The first isolation module is further disposed between the input terminal of the first control signal and the control terminal of the fourth conversion module (e.g., the base of the transistor Q4). The fourth isolation module is disposed at a signal sending end of the first control unit and a second connection end (e.g., an emitter of a transistor Q4) of the fourth conversion module. The first connection terminal (e.g., the collector of the transistor Q43) of the fourth conversion module is connected to the driver input terminal (e.g., the DI pin of the RS485 chip) of the communication unit. The first connection end of the fourth conversion module is further connected to the first connection end of the second conversion module (for example, the collector of the transistor Q2), and the second connection end of the second conversion module is used as the output end of the second conversion module. A signal sending end of the first control unit, for example, an input end of a communication signal TX of the first control unit.
Therefore, by designing four conversion circuits and designing a path of control signal to control the four conversion circuits simultaneously, the UART communication mode or the 485 communication mode can be controlled and selected through software. Specifically, the UART communication mode or the 485 communication mode can be selectively switched and used by software in control through four conversion circuits and one optical coupling isolation circuit. For example, the on-off of two NPN triodes (such as a triode Q1 and a triode Q2) and a PNP triode (such as a triode Q3 and a triode Q4) can be controlled simultaneously through one optical coupler (such as an optical coupler B1), so that the UART communication mode or the 485 communication mode can be switched and used.
In some embodiments, the third isolation module (e.g., isolation circuit 2) includes: and a third optical coupling module, such as an optical coupler B2 and a peripheral circuit thereof, wherein the peripheral circuit of the optical coupler B2 comprises a resistor R3 and a resistor R4. The fourth isolation module (e.g., isolation circuit 4) includes: and a fourth optical coupling module, such as an optical coupler B4 and a peripheral circuit thereof, wherein the peripheral circuit of the optical coupler B4 comprises a resistor R7 and a resistor R8.
The third conversion module (e.g., conversion circuit 3) includes: the third switch transistor module, such as the transistor Q3 and its peripheral circuit, and the resistor R11 and the resistor R14 form the peripheral circuit of the transistor Q3. The fourth conversion module (e.g., conversion circuit 4) includes: and a fourth switching tube module, such as a transistor Q4 and a peripheral circuit thereof, and a resistor R15 and a resistor R16 form the peripheral circuit of the transistor Q4.
An emitter of the third optical coupler module (e.g., the optical coupler B2 and its peripheral circuit) on the transistor side is used as an input end of the third optical coupler module (e.g., the optical coupler B2 and its peripheral circuit), and is connected to a signal receiving end of the first control unit, e.g., connected to an input end of a communication signal RX of the first control unit. And the anode at the diode side of the third optical coupling module (such as the optical coupler B2 and the peripheral circuit thereof) is used as the output end of the third optical coupling module (such as the optical coupler B2 and the peripheral circuit thereof).
An anode of a diode side of the fourth optical coupling module (such as the optical coupler B4 and its peripheral circuit) is used as an input end of the fourth optical coupling module (such as the optical coupler B4 and its peripheral circuit), and is connected to a signal sending end of the first control unit, such as an input end of a communication signal TX connected to the first control unit.
The base of the third switch tube module (such as the transistor Q3 and its peripheral circuit) is used as the control terminal of the third switch tube module (such as the transistor Q3 and its peripheral circuit). The collector of the third switch transistor module (such as the transistor Q3 and its peripheral circuit) is used as the first connection terminal of the third switch transistor module (such as the transistor Q3 and its peripheral circuit). And the emitter of the third switching tube module (such as the transistor Q3 and the peripheral circuit thereof) is used as a second connection terminal of the third switching tube module (such as the transistor Q3 and the peripheral circuit thereof).
And the base electrode of the fourth switching tube module (such as the triode Q4 and the peripheral circuit thereof) is used as the control end of the fourth switching tube module (such as the triode Q4 and the peripheral circuit thereof). And the emitter of the fourth switching tube module (such as the triode Q4 and the peripheral circuit thereof) is used as the first connection end of the fourth switching tube module (such as the triode Q4 and the peripheral circuit thereof). And the collector of the fourth switching tube module (such as the triode Q4 and the peripheral circuit thereof) is used as a second connecting end of the fourth switching tube module (such as the triode Q4 and the peripheral circuit thereof).
For example: when the electrical levels of the DE pin and the RE/pin of the RS485 communication chip are both low level (no matter what the electrical level of the DI pin is at this time): if the voltage of the pin A of the RS485 communication chip is higher than the voltage of the pin B of the RS485 communication chip by more than a first set voltage value u1 at the same time, the pin RO of the RS485 communication chip outputs a high level. If the voltage of the pin A of the RS485 communication chip is lower than the voltage of the pin B of the RS485 communication chip by more than a first set voltage value u1 at the same time, the pin RO of the RS485 communication chip outputs a low level. When the electrical equipment is just powered on, the level of the pin A of the RS485 communication chip is pulled to a high level through the pull-up resistor. The level of the B pin of the RS485 communication chip is pulled to be low level through a pull-down resistor. When the electrical levels of the DE pin and the RE/pin of the RS485 communication chip are both high levels, along with the change of the high and low electrical levels of the DI pin of the RS485 communication chip, the pin A and the pin B of the RS485 communication chip respectively output a voltage signal which meets the logic relation of a certain 485 communication mode.
In some embodiments, the third switch transistor module (e.g., transistor Q3 and its peripheral circuits) further includes: the first voltage dividing module is, for example, a voltage dividing module composed of a resistor R23 and a resistor R24. The first voltage division module is arranged at a second connection end of the third switching tube module (such as a triode Q3 and peripheral circuits thereof). For example: the purpose of increasing the voltage division of the resistor R23 and the resistor R24 is to prevent the error conduction of the transistor Q3 of the RS485 communication chip when the voltage of the RO pin is higher than the base of the transistor Q3 by more than 0.7V due to voltage fluctuation.
In some embodiments, the fourth switching transistor module (e.g., transistor Q4 and its peripheral circuits) further includes: and a second voltage dividing module, such as a voltage dividing module consisting of a resistor R25 and a resistor R264. The second voltage division module is arranged at a first connection end of the fourth switching tube module (such as a triode Q4 and peripheral circuits thereof). For example: the purpose of increasing the voltage division of the resistor R25 and the resistor R26 is to make the triode Q4 be conducted by mistake when the emitter of the triode Q4 is higher by 0.7V than the base of the triode Q4 due to the fluctuation of the ground potential when the communication signal TX is input at a low level.
In some embodiments, the communication unit comprises: 485 communication module. The 485 communication module comprises a 485 communication chip, namely an RS485 communication chip and a peripheral circuit thereof. Peripheral circuit of RS485 communication chip includes: a resistor R19, a resistor R20, a resistor R21, a resistor R22, a TVS tube D1 and a TVS tube D2. The DI pin of the RS485 communication chip is the input end of a driver of the RS485 communication chip, the RO pin of the RS485 communication chip is the output end of a receiver of the RS485 communication chip, the DE pin of the RS485 communication chip is the output enable end of the driver of the RS485 communication chip, the RE/pin of the RS485 communication chip is the output enable end of the receiver of the RS485 communication chip, and the A pin and the B pin of the RS485 communication chip are the output end of the driver of the RS485 communication chip or the input end of the receiver of the RS485 communication chip.
The first communication method includes: UART communication mode. The second communication method includes: 485 communication mode. For example: after the electrical equipment is powered on, the control unit 1 controls the output of the signal Y to be a high level or a low level according to actual needs, so as to select whether to use the UART communication mode or the 485 communication mode. The communication signal TX is a communication signal output by the control unit 1, the communication signal RX is a communication signal received by the communication unit 1, and the communication signals M and N are communication signals between the control unit 1 and other control units such as the control unit 2.
The communication unit is in a power-on and working state (namely a power-on and 485-communication state) under the condition that the current communication mode is the second communication mode, and the communication unit is used for realizing communication between the first control unit and other control units by combining the second isolation control signal according to the second communication mode in the power-on and working state; when the current communication mode is the first communication mode, the communication unit is in a powered and non-operating state (i.e., a powered but non-485 communication state), and communicates with other control units according to the first communication mode in the powered and non-operating state, including any one of the following communication situations:
the first communication scenario: and under the condition that the current communication mode is a UART communication mode, the first control signal is a signal with a first set level, the second control signal is a signal with a first set level, and the communication circuit communicates according to the UART communication mode. A first set level, such as low. A signal of a first set level, such as a low level signal.
For example: when the UART communication mode is selected, the control signal Y is input with low level, and the control signal X is input with low level, and the bases of the triode Q1, the triode Q2, the triode Q3 and the triode Q4 are all changed from low level to high level. At this time, since the on-voltage drop of the transistor inside the optocoupler is much smaller than 0.7V, the transistors Q3 and Q4 are turned off when the control signal Y is input to a low level. Meanwhile, although the RS485 communication chip outputs a high-level or low-level signal at the RO pin of the RS485 communication chip according to the voltage difference between the pin A of the RS485 communication chip and the pin B of the RS485 communication chip, the voltage of the emitter of the triode Q3 is not more than 0.7V greater than the voltage of the base of the triode Q3, and the triode Q3 is always cut off. Similarly, for transistor Q4, transistor Q4 is always off regardless of whether the emitter of transistor Q4 is high or low. The whole communication circuit, only part of the UART communication circuit is in operation at the moment.
When the communication signal TX is inputted with a high level, the collector of the transistor Q2 changes from a low level to a high level. Since the collector of the transistor Q2 is at a low level, the base of the transistor Q2 is at a high level, and the emitter of the transistor Q2 is at a low level, the transistor Q2 will be turned on from off, the emitter of the transistor Q2 will be turned from low level to high level, and the output of the communication signal N will be turned from low level to high level. That is, the transistor Q2 will change from off to on due to the high level of the base of the transistor Q2 and the low level of the emitter of the transistor Q2. When the communication signal TX is inputted to a low level, the collector of the transistor Q2 changes from a high level to a low level. The transistor Q2 will be turned off, the emitter of the transistor Q2 will be changed from high to low, and the output of the communication signal N will be changed from high to low. Thus, the communication signal TX input changes in high and low levels, which causes the communication signal N to also change in high and low levels, and the operation is repeated.
When the communication signal M is low, the collector of the transistor Q1 is low, the transistor Q1 is turned off, the emitter of the transistor Q1 is low, and the communication signal RX outputs low. When the communication signal M is inputted to the high level, the collector of the transistor Q1 changes from the low level to the high level, because the base of the transistor Q1 is at the high level and the emitter of the transistor Q1 is at the low level when the collector of the transistor Q1 is at the low level, the transistor Q1 will change from off to on, the emitter of the transistor Q1 will change from the low level to the high level, and the communication signal RX outputs the high level. It is understood that "transistor Q1 will change from off to on" due to the high base of transistor Q1 and the low emitter of transistor Q1. "since the collector of transistor Q2 is low" is illustrated as the collector of transistor Q2 being low for the condition that it will conduct. Thus, the communication signal RX also generates a corresponding high/low level change due to the high/low level change of the communication signal M input, and the operation is repeated.
Second communication scenario: and under the condition that the current communication mode is a 485 communication mode, the first control signal is a signal of a second set level, and the communication circuit communicates in the 485 communication mode.
For example: when the 485 communication mode is selected, the control signal Y is input at a high level, the base electrodes of the transistor Q1, the transistor Q2, the transistor Q3 and the transistor Q4 are all at a low level, and the transistor Q1 and the transistor Q2 are kept to be cut off and not to be conducted. The whole communication circuit, only the 485 communication circuit part is in operation.
Under the 485 communication mode, when the second control signal is a signal of a first set level, the 485 communication module can realize first set 485 communication.
For example: when the control signal X is input into a low level, the DE pin of the RS485 communication chip and the RE/pin of the RS485 communication chip are changed from the low level to a high level. At this time, if the communication signal TX is inputted with a low level, the emitter of the transistor Q4 is at a low level, the transistor Q4 is not turned on, and the DI pin of the RS485 communication chip is at a low level. If the communication signal TX is inputted with a high level, the emitter of the transistor Q4 will be changed from a low level to a high level, and since the collector of the transistor Q4 is at a low level when the emitter of the transistor Q4 is at a low level, the transistor Q4 will be turned on, and the DI pin of the RS485 communication chip will be changed from a low level to a high level. Along with the high-low level change of the DI pin of the RS485 communication chip, the pin A of the RS485 communication chip and the pin B of the RS485 communication chip respectively output a voltage signal meeting a certain 485 communication logic relationship.
Under the 485 communication mode, when the second control signal is a second signal with a set level, the 485 communication module can realize second set 485 communication.
For example: when the control signal X is input to a high level, the DE pin of the RS485 communication chip and the RE/pin of the RS485 communication chip are at a low level. At this time, if the voltage of the pin a of the RS485 communication chip is higher than the voltage of the pin B of the RS485 communication chip by more than the first set voltage value u1, the pin RO of the RS485 communication chip will output a high level. Since the base of the transistor Q3 is low, the transistor Q3 will be turned on, the collector of the transistor Q3 will be high, and the communication signal RX will be changed from output low to high. If the voltage of the pin A of the RS485 communication chip is lower than the voltage of the BRS485 communication chip by more than a first set voltage value u1, the output of the RO of the RS485 communication chip is changed from a high level to a low level. Since the base of the transistor Q3 is low, the transistor Q3 will be turned off, the collector of the transistor Q3 is low, and the communication signal RX will change from high to low. Therefore, when the control signal X is input to a high level, the voltage difference between the pin A of the RS485 communication chip and the pin B of the RS485 communication chip changes, so that the communication signal RX also generates corresponding high and low level changes, and the operation is repeatedly circulated.
Therefore, the current communication mode can be selected to be the UART communication mode or the 485 communication mode through the first control signal. Through the second control signal, the work of the 485 communication module can be controlled. Therefore, the UART communication mode or the 485 communication mode is selected by software, and the circuit can normally carry out UART communication or 485 communication.
Through a large amount of experimental verifications, adopt the technical scheme of the utility model, through utilizing buffer circuit, converting circuit and RS485 communication module, the setting has UART communication function and 485 communication function, and can switch the communication circuit who uses UART communication mode or 485 communication mode, when electrical equipment's the control unit selects communication mode, only need to control this communication circuit through the level height of software setting control RS485 communication module's receiver output and driver input, so that this communication circuit switches and uses UART communication mode or 485 communication mode. Therefore, switching between the UART communication mode and the 485 communication mode is achieved through the software setting mode, communication convenience between control units of the electrical equipment is improved, and universality and compatibility of the control units of the electrical equipment on hardware are improved.
According to the utility model discloses an embodiment still provides an electrical equipment corresponding to communication device. The electric device may include: the communication device is described above.
In the communication circuit of the related scheme, a communication circuit which can realize the switching between the UART communication mode and the 485 communication mode through software control does not exist, so that the electric appliance equipment needs to distinguish the UART communication mode from the 485 communication mode by utilizing the difference of a mainboard on hardware. However, the communication modes are distinguished by using the difference of the mainboard on the hardware, so that the universality and the compatibility of the mainboard of the electrical equipment on the hardware are greatly reduced. Moreover, when the hardware of the whole machine is changed manually to switch the communication mode, the whole machine needs to be disassembled for operation, which is very inconvenient in operation and low in efficiency.
The components and parts used in the UART communication mode and the 485 communication mode are different, and the circuits are different. Even if the same circuit has the reserved position of the component for switching the communication mode in the related scheme, if the component is not changed on hardware, the UART communication mode or the 485 communication mode cannot be realized and distinguished. Therefore, a main board can only use a 485 communication mode or a UART communication mode, so that the universality and the compatibility are not realized. In addition, the motherboard requires batch manual hardware changes, which is impractical and inefficient.
In the communication circuit of the electrical equipment, the electrical equipment must distinguish whether to use a UART communication mode or a 485 communication mode according to different hardware, so that the problems of universality and compatibility of a mainboard of the electrical equipment on the hardware are greatly reduced. The utility model discloses a scheme, it just can select the communication circuit who is UART communication mode or 485 communication mode to have designed one kind only to need through software control, a communication circuit who can realize software control switch UART and 485 communication mode is provided promptly, can realize only switching UART communication mode and 485 communication mode through software setting, can switch the selectivity through software promptly and use UART communication mode or 485 communication mode, the compatibility and the commonality of electrical equipment's mainboard have been improved greatly, can solve and distinguish communication mode through electrical equipment's mainboard difference on the hardware, greatly reduced electrical equipment's mainboard commonality and compatible problem on the hardware. In addition, the inconvenience in operation is reduced, the efficiency is improved, and the problems that when the hardware of the whole machine is manually changed to switch the communication mode, the whole machine needs to be disassembled for operation, the operation is very inconvenient, and the efficiency is low can be solved.
Specifically, the utility model discloses a scheme has designed four converting circuit to designed these four converting circuit of control signal simultaneous control all the way, realized that it is UART communication mode or 485 communication modes to realize controlling the selection communication mode through the software.
The following describes an exemplary implementation process of the scheme of the present invention with reference to the examples shown in fig. 2 to 4.
Fig. 2 is a schematic structural diagram of an embodiment of a communication circuit capable of switching between a UART communication mode and a 485 communication mode under software control. In the related scheme, either a UART communication part or a 485 communication part is required, or a UART communication mode or a 485 communication mode needs to be switched in the same circuit by manually switching hardware. In the example shown in fig. 2, the UART communication mode or the 485 communication mode can be selectively switched and used by software in control through four conversion circuits and one optical coupling and isolation circuit.
As shown in fig. 2, the communication circuit capable of switching between the UART communication method and the 485 communication method under software control includes: the communication module comprises a first conversion circuit to a fourth conversion circuit (such as a conversion circuit 1, a conversion circuit 2, a conversion circuit 3 and a conversion circuit 4), a first isolation circuit to a fourth isolation circuit (such as an isolation circuit 1, an isolation circuit 2, an isolation circuit 3 and an isolation circuit 4) and a 485 communication module.
In the example shown in fig. 2, the input terminal of the isolation circuit 3 is connected to the control signal Y terminal and is capable of receiving the control signal Y.
A first output of the isolation circuit 3 is connected to a first input of the conversion circuit 1. The second input terminal of the conversion circuit 1 is connected to the communication signal M terminal and is capable of receiving the communication signal M. The output terminal of the conversion circuit 1 is connected to the first input terminal of the isolation circuit 1. The output terminal of the isolation circuit 1 is connected to the communication signal RX terminal, and is capable of outputting the communication signal RX.
A second output of the isolation circuit 3 is connected to a first input of the conversion circuit 3. And a second input end of the conversion circuit 3 is connected to a first output end of the 485 communication module. The output terminal of the conversion circuit 3 is connected to the second input terminal of the isolation circuit 1.
A third output of the isolation circuit 3 is connected to a first input of the conversion circuit 4. The output end of the conversion circuit 4 is connected to the first input end of the 485 communication module. A second input of the conversion circuit 4 is connected to a second output of the isolation circuit 2.
A fourth output terminal of the isolation circuit 3 is connected to the first input terminal of the conversion circuit 2. The output terminal of the conversion circuit 2 is connected to the communication signal N terminal, and is capable of outputting the communication signal N. The second input terminal of the conversion circuit 2 is connected to the first output terminal of the isolation circuit 2. The input terminal of the isolation circuit 2 is connected to the communication signal TX terminal and is capable of receiving the communication signal TX.
And the second output end of the 485 communication module is connected to the end M of the communication signal. And the second input end of the 485 communication module is also connected to the end M of the communication signal. And the third output end of the 485 communication module is connected to the N end of the communication signal. And the third input end of the 485 communication module is also connected to the N end of the communication signal. And the fourth input end of the 485 communication module is connected to the output end of the isolation circuit 4. The input end of the isolation circuit 4 is connected to the control signal X end.
Fig. 3 is a schematic structural diagram of an embodiment of a communication circuit capable of switching between a UART communication mode and a 485 communication mode under software control. As shown in fig. 3, by controlling the four conversion circuits and the optical coupler/isolator circuit, the UART communication mode or the 485 communication mode can be selectively switched and used by software. Specifically, the on-off of the two NPN triodes and the PNP triode can be controlled simultaneously through one optical coupler, so that the UART communication mode or the 485 communication mode can be switched.
In the example shown in fig. 3, U1, U2, U3, U4, U5, U6, U7, and U8 are power supply voltages, and U1, U2, U3, U4, U5, U6, U7, and U8 may be the same voltage or different voltages. GND, GND2 are grounds, isolated from each other. B1, B2, B3 and B4 are optical couplers, Q1 and Q2 are NPN triodes, Q3 and Q4 are PNP triodes, Z1 is an RS485 communication chip, D1 and D2 are TVS diodes, a communication signal TX is a communication signal output by the control unit 1, a communication signal RX is a communication signal received by the communication unit 1, and a communication signal M and a communication signal N are communication signals between the control unit 1 and the control unit 2. The control signal Y is a control signal for controlling the selection of the UART communication mode or the 485 communication mode by the control unit 1, the control signal X is a control signal for controlling the RS485 communication chip to work by the control unit 1, the DI pin of the RS485 communication chip is the input end of a driver of the RS485 communication chip, the RO pin of the RS485 communication chip is the output end of a receiver of the RS485 communication chip, the DE pin of the RS485 communication chip is the output enable end of the driver of the RS485 communication chip, the RE/pin of the RS485 communication chip is the output enable end of the receiver of the RS485 communication chip, the A pin and the B pin of the RS485 communication chip are the output end of the driver of the RS485 communication chip or the input end of the receiver of the RS485 communication chip. The control unit 1 and the control unit 2 are control units of different electrical appliances.
In the example shown in fig. 3, the anode of the diode side of the optocoupler B1 is connected to the power supply U1 via a resistor R1. And the cathode of the diode side of the optical coupler B1 is used as an input end of the control signal Y. And a collector electrode on the transistor side of the optical coupler B1 is connected with a power supply U4. An emitter at the transistor side of the optocoupler B1 is grounded GND2 through a resistor R2, connected with the base of a triode Q3 through a resistor R14, connected with the base of a triode Q1 through a resistor R10, connected with the base of a triode Q2 through a resistor R12, and connected with the base of a triode Q4 through a resistor R15.
And a collector electrode on the transistor side of the optical coupler B2 is connected with a power supply U2. The emitter of the transistor side of the optical coupler B2 is grounded GND through a resistor R3, and also serves as an input end of a communication signal RX. The cathode of the diode side of the optical coupler B2 is grounded to GND2 through a resistor R4. The diode side anode of the optocoupler B2 is connected with the emitter of the triode Q1, the collector of the triode Q3 and is also connected with the GND2 through a resistor R11. The collector of the transistor Q1 is connected to GND2 through a resistor R9 and to the input terminal of the signal M through a resistor R17. And the emitter of the transistor Q3 is connected to the RO pin of the RS485 communication chip Z1.
And a diode side cathode of the optical coupler B3 is used as an input end of the control signal X. And the anode of the diode side of the optical coupler B3 is connected with a power supply U3 through a resistor R5. And a collector electrode on the transistor side of the optical coupler B3 is connected with a power supply U5. And a transistor side emitter of the optical coupler B3 is grounded GND2 through a resistor R6 and is also connected to an RE/pin of an RS485 communication chip Z1 and a DE pin of the RS485 communication chip Z1.
The cathode of the diode side of the optocoupler B4 is connected to ground GND. And an anode at the diode side of the optocoupler B4 is connected with the input end of the signal TX after passing through a resistor R7. And the collector electrode of the transistor side of the optical coupler B4 is connected with a power supply U6. The transistor-side emitter of the optocoupler B4 is connected to the GND2 via the resistor R8, to the collector of the transistor Q2, and to the emitter of the transistor Q4. The emitter of the transistor Q2 is connected to GND2 through a resistor R13 and is connected to the input terminal of the signal N through a resistor R18. The collector of the triode Q4 is grounded GND2 through a resistor R16 and is also connected to the DI pin of the RS485 communication chip Z1. The power supply pin of the RS485 communication chip Z1 is connected with the power supply U7, and the grounding pin of the RS485 communication chip Z1 is grounded GND 2. The pin B of the RS485 communication chip Z1 is grounded GND2 through a resistor R19, and is connected with the cathode of a TVS tube D1 through a resistor R21, and the anode of the TVS tube D1 is grounded GND 2. The cathode of the TVS tube D1 is also connected to the input terminal of the communication signal M. The pin A of the RS485 communication chip Z1 is connected with a power supply U8 through a resistor R20, and is connected with the cathode of a TVS tube D2 through a resistor R22, and the anode of the TVS tube D2 is grounded GND 2. The cathode of the TVS tube D2 is also connected to the input terminal of the communication signal N.
In the example shown in fig. 3, when the levels of the DE pin and the RE/pin of the RS485 communication chip are both low (no matter what level the level of the DI pin is):
if the voltage of the pin A of the RS485 communication chip is higher than the voltage of the pin B of the RS485 communication chip by more than a first set voltage value u1 at the same time, the pin RO of the RS485 communication chip outputs a high level.
If the voltage of the pin A of the RS485 communication chip is lower than the voltage of the pin B of the RS485 communication chip by more than a first set voltage value u1 at the same time, the pin RO of the RS485 communication chip outputs a low level.
When the electrical equipment is just powered on, the level of the pin A of the RS485 communication chip is pulled to a high level through a pull-up resistor; the level of the B pin of the RS485 communication chip is pulled to be low level through a pull-down resistor.
In the example shown in fig. 3, when the electrical levels of the DE pin and the RE/pin of the RS485 communication chip are both high levels, the pin a and the pin B of the RS485 communication chip respectively output a voltage signal that satisfies the logical relationship of a certain 485 communication mode along with the change of the high and low electrical levels of the DI pin of the RS485 communication chip.
Wherein, the logical relation of certain 485 communication modes means: the voltage waveform of the 485 communication function is met. The waveform description of the pin A and the pin B output by the RS485 communication chip is complex, the signal sent by the 485 module is the difference value between the signals of the pin A and the pin B, and after the receiving end receives the signals of the pin A and the pin B, the corresponding identification state is corresponding to the signals of the pin A and the pin B if the signals of the pin A and the pin B meet a certain difference value relation. Similarly, the RS485 communication chip receives signals of the pin A and the pin B, and the communication signals are identified by difference of the signals of the pin A and the pin B. Such as: when the RE/DE pin and the RE/DE pin are logic level 0, if A-B + 0.2V, the R pin outputs logic level 1; if A-B < -0.2V, then the R pin outputs a logic level of 0.
By using the example shown in fig. 3, in operation, after the electrical device is powered on, the control unit 1 controls the signal Y output to be a high level or a low level according to actual needs to select whether to use the UART communication mode or the 485 communication mode, which specifically includes the following steps:
step 1, when a UART communication mode is selected to be used:
when the control signal Y is inputted with low level and the control signal X is inputted with low level, the base electrodes of the transistor Q1, the transistor Q2, the transistor Q3 and the transistor Q4 are all changed from low level to high level. At this time, since the on-voltage drop of the transistor inside the optocoupler is much smaller than 0.7V, the transistors Q3 and Q4 are turned off when the control signal Y is input to a low level. Meanwhile, although the RS485 communication chip outputs a high-level or low-level signal at the RO pin of the RS485 communication chip according to the voltage difference between the pin A of the RS485 communication chip and the pin B of the RS485 communication chip, the voltage of the emitter of the triode Q3 is not more than 0.7V greater than the voltage of the base of the triode Q3, and the triode Q3 is always cut off. Similarly, for transistor Q4, transistor Q4 is always off regardless of whether the emitter of transistor Q4 is high or low.
The whole communication circuit, only part of the UART communication circuit is in operation at the moment.
Step 11, when the communication signal TX inputs a high level:
the collector of transistor Q2 changes from low to high. Since the collector of the transistor Q2 is at a low level, the base of the transistor Q2 is at a high level, and the emitter of the transistor Q2 is at a low level, the transistor Q2 will be turned on from off, the emitter of the transistor Q2 will be turned from low level to high level, and the output of the communication signal N will be turned from low level to high level. That is, the transistor Q2 will change from off to on due to the high level of the base of the transistor Q2 and the low level of the emitter of the transistor Q2.
When the communication signal TX is input low:
the collector of transistor Q2 changes from high to low. The transistor Q2 will be turned off, the emitter of the transistor Q2 will be changed from high to low, and the output of the communication signal N will be changed from high to low.
Thus, the communication signal TX input changes in high and low levels, which causes the communication signal N to also change in high and low levels, and the operation is repeated.
Step 12, when the communication signal M is input to a low level:
the collector of the transistor Q1 is low, the transistor Q1 is turned off, the emitter of the transistor Q1 is low, and the communication signal RX outputs low.
When the communication signal M is input to high level:
the collector of the transistor Q1 changes from low level to high level, because the base of the transistor Q1 is high level and the emitter of the transistor Q1 is low level when the collector of the transistor Q1 is low level, the transistor Q1 will change from cut-off to on, the emitter of the transistor Q1 will change from low level to high level, and the communication signal RX outputs high level. It is understood that "transistor Q1 will change from off to on" due to the high base of transistor Q1 and the low emitter of transistor Q1. "since the collector of transistor Q2 is low" is illustrated as the collector of transistor Q2 being low for the condition that it will conduct.
Thus, the communication signal RX also generates a corresponding high/low level change due to the high/low level change of the communication signal M input, and the operation is repeated.
And 2, when a 485 communication mode is selected:
when the control signal Y is input to high level, the base electrodes of the triode Q1, the triode Q2, the triode Q3 and the triode Q4 are all low level at the moment, and the triode Q1 and the triode Q2 are kept to be cut off and not to be conducted. Specifically, the transistor Q1 and the transistor Q2 are kept in the off state after the control signal Y is inputted with a high level. Because the base voltages of the transistor Q1 and the transistor Q2 are always 0 at this time.
The whole communication circuit, only the 485 communication circuit part is in operation.
Step 21, when the control signal X is input to low level:
the DE pin of the RS485 communication chip and the RE/pin of the RS485 communication chip are changed from low level to high level:
at this time, if the communication signal TX is inputted with a low level, the emitter of the transistor Q4 is at a low level, the transistor Q4 is not turned on, and the DI pin of the RS485 communication chip is at a low level.
At this time, if the communication signal TX is inputted with a high level, the emitter of the transistor Q4 will be changed from a low level to a high level, and since the collector of the transistor Q4 is at a low level when the emitter of the transistor Q4 is at a low level, the transistor Q4 will be turned on, and the DI pin of the RS485 communication chip will be changed from a low level to a high level.
Along with the high-low level change of the DI pin of the RS485 communication chip, the pin A of the RS485 communication chip and the pin B of the RS485 communication chip respectively output a voltage signal meeting a certain 485 communication logic relationship.
Step 22, when the control signal X is input to a high level:
the DE pin of the RS485 communication chip and the RE/pin of the RS485 communication chip are low levels:
at this time, if the voltage of the pin a of the RS485 communication chip is higher than the voltage of the pin B of the RS485 communication chip by more than the first set voltage value u1, the pin RO of the RS485 communication chip will output a high level. Since the base of the transistor Q3 is low, the transistor Q3 will be turned on, the collector of the transistor Q3 will be high, and the communication signal RX will be changed from output low to high.
At this time, if the voltage of the pin a of the RS485 communication chip is lower than the voltage of the BRS485 communication chip by more than the first set voltage value u1, the output at the RO of the RS485 communication chip will change from high level to low level. Since the base of the transistor Q3 is low, the transistor Q3 will be turned off, the collector of the transistor Q3 is low, and the communication signal RX will change from high to low.
Therefore, when the control signal X is input to a high level, the voltage difference between the pin A of the RS485 communication chip and the pin B of the RS485 communication chip changes, so that the communication signal RX also generates corresponding high and low level changes, and the operation is repeatedly circulated.
Therefore, the UART communication mode or the 485 communication mode can be selected by software, and the circuit can normally carry out UART communication or 485 communication.
Fig. 4 is a schematic structural diagram of another embodiment of a communication circuit capable of switching between a UART communication mode and a 485 communication mode under software control. The example shown in fig. 3 already meets the requirements of use. Compared with the example shown in fig. 3, the example shown in fig. 4 is provided with two additional resistor voltage dividing circuits, for example, four more resistors (i.e., the resistor R23, the resistor R24, the resistor R25, and the resistor R26) and corresponding grounds are added locally, so as to prevent erroneous conduction. The function of preventing misconduction in the example shown in fig. 4 is advantageous for improving the reliability of the communication circuit.
In the example shown in fig. 4, a resistor R23 and a resistor R24 are provided between the emitter of the transistor Q3 and the RO pin of the RS485 communication chip Z1. The RO pin of the RS485 communication chip Z1 is grounded to GND2 through a resistor R23 and a resistor 24. The common end of the resistor R23 and the resistor R24 is connected to the emitter of the transistor Q3. The purpose of increasing the voltage division of the resistor R23 and the resistor R24 is to prevent the error conduction of the transistor Q3 of the RS485 communication chip when the voltage of the RO pin is higher than the base of the transistor Q3 by more than 0.7V due to voltage fluctuation.
In the example shown in fig. 4, a resistor R25 and a resistor R26 are provided between the emitter of the transistor Q4 and the collector of the transistor Q2 in the example shown in fig. 4. The collector of the transistor Q2 is grounded to GND2 through a resistor R25 and a resistor 26. The common end of the resistor R25 and the resistor R26 is connected to the emitter of the transistor Q4. The purpose of increasing the voltage division of the resistor R25 and the resistor R26 is to make the triode Q4 be conducted by mistake when the emitter of the triode Q4 is higher by 0.7V than the base of the triode Q4 due to the fluctuation of the ground potential when the communication signal TX is input at a low level.
Since the processes and functions implemented by the electrical apparatus of this embodiment substantially correspond to the embodiments, principles, and examples of the apparatus shown in fig. 1, reference may be made to the related descriptions in the foregoing embodiments without being detailed in the description of this embodiment.
Through a large amount of experimental verifications, adopt the technical scheme of the utility model, the scheme of the utility model, through utilizing isolating circuit, converting circuit and RS485 communication module, the setting has UART communication function and 485 communication function, and can switch the communication circuit who uses UART communication mode or 485 communication mode, when the communication mode is selected to electrical equipment's the control unit, only need control this communication circuit through the level height of software setting control RS485 communication module's receiver output and driver input, so that this communication circuit switches and uses UART communication mode or 485 communication mode, can switch the selectivity through software and use UART communication mode or 485 communication mode, the compatibility and the commonality of electrical equipment's mainboard have been improved greatly.
According to the embodiment of the present invention, there is also provided a communication control method for an electrical apparatus corresponding to the electrical apparatus, as shown in fig. 5. The communication control method of the electrical equipment can comprise the following steps: step S110 to step S130.
In step S110, receiving, by an isolation unit, a first control signal (for example, a control signal Y) sent by a first control unit, and performing isolation processing on the first control signal to obtain a first isolation control signal; the isolation control unit is further configured to receive a second control signal (such as the control signal X) sent by the first control unit, and perform isolation processing on the second control signal to obtain a second isolation control signal.
The first control unit (for example, the control unit 1) is a control unit of a first electrical device that needs to communicate. The first control signal is a control signal for selecting a communication mode of the communication circuit by controlling the level of the receiver output end and the driver input end of the communication unit. The second control signal is a control signal for controlling the operation of the communication unit. The communication mode of the communication circuit comprises the following steps: a first communication mode and a second communication mode. The first communication mode is a communication mode for performing communication by using a first communication function. The second communication mode is a communication mode for performing communication by using a second communication function. For example: the control signal Y is a control signal for controlling the selection of the UART communication mode or the 485 communication mode by the control unit 1, and the control signal X is a control signal for controlling the RS485 communication chip to work by the control unit 1.
In step S120, a switching unit switches a communication mode based on the first isolation control signal, that is, based on the first control signal after the isolation processing, so as to use one of the first communication mode and the second communication mode corresponding to the first control signal as a current communication mode, so that the first control unit can communicate with other control units according to the current communication mode. That is, the communication unit may perform communication mode switching based on the communication mode switching signal to use one of the first communication function and the second communication function corresponding to the first control signal as a current communication function, so that the first control unit may perform communication with other control units according to the current communication function. The other control unit is a control unit of other electrical equipment which needs to communicate with the control unit of the first electrical equipment.
At step S130, when the current communication mode is the second communication mode, the communication unit itself is in a power-on and working state, so as to implement communication between the first control unit and other control units according to the second communication mode and in combination with the second isolation control signal in the power-on and working state; and under the condition that the current communication mode is the first communication mode, the communication unit is in a power-on and non-working state, so that communication is carried out with other control units according to the first communication mode under the power-on and non-working state.
Wherein, isolation unit, converting unit and communication unit. Isolation units such as isolation circuit 1, isolation circuit 2, isolation circuit 3, and isolation circuit 4. Conversion units such as a conversion circuit 1, a conversion circuit 2, a conversion circuit 3, and a conversion circuit 4. And a communication unit, such as a 485 communication module. The isolation unit, the conversion unit and the communication unit can form a communication circuit which has a first communication function and a second communication function and can be used for switching the first communication function and the second communication function. And a second communication function, such as a 485 communication function. A first communication function, such as a UART communication function.
Therefore, the communication circuit with the first communication function and the second communication function can be formed through the isolation unit, the conversion unit and the communication unit, and the first communication function and the second communication function can be switched through software setting. Therefore, the communication circuit which can be in the UART communication mode or the 485 communication mode can be selected only through software control, the UART communication mode or the 485 communication mode can be selectively used through software switching, the compatibility and the universality of the mainboard of the electrical equipment are greatly improved, in addition, the inconvenience in operation is reduced, and the efficiency is improved.
In some embodiments, the communication unit comprises: 485 communication module. The 485 communication module comprises a 485 communication chip, namely an RS485 communication chip and a peripheral circuit thereof. Peripheral circuit of RS485 communication chip includes: a resistor R19, a resistor R20, a resistor R21, a resistor R22, a TVS tube D1 and a TVS tube D2. The DI pin of the RS485 communication chip is the input end of a driver of the RS485 communication chip, the RO pin of the RS485 communication chip is the output end of a receiver of the RS485 communication chip, the DE pin of the RS485 communication chip is the output enable end of the driver of the RS485 communication chip, the RE/pin of the RS485 communication chip is the output enable end of the receiver of the RS485 communication chip, and the A pin and the B pin of the RS485 communication chip are the output end of the driver of the RS485 communication chip or the input end of the receiver of the RS485 communication chip.
The first communication method includes: UART communication mode. The second communication method includes: 485 communication mode. For example: after the electrical equipment is powered on, the control unit 1 controls the output of the signal Y to be a high level or a low level according to actual needs, so as to select whether to use the UART communication mode or the 485 communication mode. The communication signal TX is a communication signal output by the control unit 1, the communication signal RX is a communication signal received by the communication unit 1, and the communication signals M and N are communication signals between the control unit 1 and other control units such as the control unit 2.
Through the communication unit, under the condition that the current communication mode is the second communication mode, the communication unit is in a power-on and working state, and the communication between the first control unit and other control units is realized according to the second communication mode and the second isolation control signal under the power-on and working state; when the current communication mode is the first communication mode, the communication unit is in a power-on and non-working state, so that communication is performed with other control units according to the first communication mode in the power-on and non-working state, wherein the communication mode comprises any one of the following communication conditions:
the first communication scenario: and under the condition that the current communication mode is a UART communication mode, the first control signal is a signal with a first set level, the second control signal is a signal with a first set level, and the communication circuit communicates according to the UART communication mode. A first set level, such as low. A signal of a first set level, such as a low level signal.
For example: when the UART communication mode is selected, the control signal Y is input with low level, and the control signal X is input with low level, and the bases of the triode Q1, the triode Q2, the triode Q3 and the triode Q4 are all changed from low level to high level. At this time, since the on-voltage drop of the transistor inside the optocoupler is much smaller than 0.7V, the transistors Q3 and Q4 are turned off when the control signal Y is input to a low level. Meanwhile, although the RS485 communication chip outputs a high-level or low-level signal at the RO pin of the RS485 communication chip according to the voltage difference between the pin A of the RS485 communication chip and the pin B of the RS485 communication chip, the voltage of the emitter of the triode Q3 is not more than 0.7V greater than the voltage of the base of the triode Q3, and the triode Q3 is always cut off. Similarly, for transistor Q4, transistor Q4 is always off regardless of whether the emitter of transistor Q4 is high or low. The whole communication circuit, only part of the UART communication circuit is in operation at the moment.
When the communication signal TX is inputted with a high level, the collector of the transistor Q2 changes from a low level to a high level. Since the collector of the transistor Q2 is at a low level, the base of the transistor Q2 is at a high level, and the emitter of the transistor Q2 is at a low level, the transistor Q2 will be turned on from off, the emitter of the transistor Q2 will be turned from low level to high level, and the output of the communication signal N will be turned from low level to high level. That is, the transistor Q2 will change from off to on due to the high level of the base of the transistor Q2 and the low level of the emitter of the transistor Q2. When the communication signal TX is inputted to a low level, the collector of the transistor Q2 changes from a high level to a low level. The transistor Q2 will be turned off, the emitter of the transistor Q2 will be changed from high to low, and the output of the communication signal N will be changed from high to low. Thus, the communication signal TX input changes in high and low levels, which causes the communication signal N to also change in high and low levels, and the operation is repeated.
When the communication signal M is low, the collector of the transistor Q1 is low, the transistor Q1 is turned off, the emitter of the transistor Q1 is low, and the communication signal RX outputs low. When the communication signal M is inputted to the high level, the collector of the transistor Q1 changes from the low level to the high level, because the base of the transistor Q1 is at the high level and the emitter of the transistor Q1 is at the low level when the collector of the transistor Q1 is at the low level, the transistor Q1 will change from off to on, the emitter of the transistor Q1 will change from the low level to the high level, and the communication signal RX outputs the high level. It is understood that "transistor Q1 will change from off to on" due to the high base of transistor Q1 and the low emitter of transistor Q1. "since the collector of transistor Q2 is low" is illustrated as the collector of transistor Q2 being low for the condition that it will conduct. Thus, the communication signal RX also generates a corresponding high/low level change due to the high/low level change of the communication signal M input, and the operation is repeated.
Second communication scenario: and under the condition that the current communication mode is a 485 communication mode, the first control signal is a signal of a second set level, and the communication circuit communicates in the 485 communication mode.
For example: when the 485 communication mode is selected, the control signal Y is input at a high level, the base electrodes of the transistor Q1, the transistor Q2, the transistor Q3 and the transistor Q4 are all at a low level, and the transistor Q1 and the transistor Q2 are kept to be cut off and not to be conducted. The whole communication circuit, only the 485 communication circuit part is in operation.
Under the 485 communication mode, when the second control signal is a signal of a first set level, the 485 communication module can realize first set 485 communication.
For example: when the control signal X is input into a low level, the DE pin of the RS485 communication chip and the RE/pin of the RS485 communication chip are changed from the low level to a high level. At this time, if the communication signal TX is inputted with a low level, the emitter of the transistor Q4 is at a low level, the transistor Q4 is not turned on, and the DI pin of the RS485 communication chip is at a low level. If the communication signal TX is inputted with a high level, the emitter of the transistor Q4 will be changed from a low level to a high level, and since the collector of the transistor Q4 is at a low level when the emitter of the transistor Q4 is at a low level, the transistor Q4 will be turned on, and the DI pin of the RS485 communication chip will be changed from a low level to a high level. Along with the high-low level change of the DI pin of the RS485 communication chip, the pin A of the RS485 communication chip and the pin B of the RS485 communication chip respectively output a voltage signal meeting a certain 485 communication logic relationship.
Under the 485 communication mode, when the second control signal is a second signal with a set level, the 485 communication module can realize second set 485 communication.
For example: when the control signal X is input to a high level, the DE pin of the RS485 communication chip and the RE/pin of the RS485 communication chip are at a low level. At this time, if the voltage of the pin a of the RS485 communication chip is higher than the voltage of the pin B of the RS485 communication chip by more than the first set voltage value u1, the pin RO of the RS485 communication chip will output a high level. Since the base of the transistor Q3 is low, the transistor Q3 will be turned on, the collector of the transistor Q3 will be high, and the communication signal RX will be changed from output low to high. If the voltage of the pin A of the RS485 communication chip is lower than the voltage of the BRS485 communication chip by more than a first set voltage value u1, the output of the RO of the RS485 communication chip is changed from a high level to a low level. Since the base of the transistor Q3 is low, the transistor Q3 will be turned off, the collector of the transistor Q3 is low, and the communication signal RX will change from high to low. Therefore, when the control signal X is input to a high level, the voltage difference between the pin A of the RS485 communication chip and the pin B of the RS485 communication chip changes, so that the communication signal RX also generates corresponding high and low level changes, and the operation is repeatedly circulated.
Therefore, the current communication mode can be selected to be the UART communication mode or the 485 communication mode through the first control signal. Through the second control signal, the work of the 485 communication module can be controlled. Therefore, the UART communication mode or the 485 communication mode is selected by software, and the circuit can normally carry out UART communication or 485 communication.
Since the processes and functions implemented by the method of the present embodiment substantially correspond to the embodiments, principles, and examples of the electrical apparatus, reference may be made to the related descriptions in the foregoing embodiments without being detailed in the description of the present embodiment.
Through a large number of tests, the technical scheme of the embodiment is adopted, by utilizing the isolation circuit, the conversion circuit and the RS485 communication module, the communication circuit which has the UART communication function and the 485 communication function and can switch between the UART communication mode and the 485 communication mode is arranged, when the control unit of the electrical equipment selects the communication mode, the communication circuit is controlled only by setting and controlling the level of the receiver output end and the driver input end of the RS485 communication module through software, so that the communication circuit can switch between the UART communication mode and the 485 communication mode, the inconvenience in operation is reduced, and the efficiency is improved.
In summary, it is readily understood by those skilled in the art that the advantageous modes described above can be freely combined and superimposed without conflict.
The above description is only an example of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (9)

1. A communication device, comprising: the system comprises an isolation unit, a conversion unit and a communication unit; the isolation unit, the conversion unit and the communication unit can form a communication circuit which has a first communication function and a second communication function and can be used for switching the first communication function and the second communication function; in the communication circuit:
the isolation unit is configured to receive a first control signal sent by a first control unit, and perform isolation processing on the first control signal to obtain a first isolation control signal; the first control unit is configured to receive a first control signal sent by the first control unit, and perform isolation processing on the first control signal to obtain a first isolation control signal;
the first control unit is a control unit of first electrical equipment needing communication; the first control signal is a control signal for selecting a communication mode of the communication circuit by controlling the level of the receiver output end and the driver input end of the communication unit; the second control signal is a control signal for controlling the communication unit to work; the communication mode of the communication circuit comprises the following steps: a first communication mode and a second communication mode; the first communication mode is a communication mode for communicating by utilizing a first communication function; the second communication mode is a communication mode for communicating by utilizing a second communication function;
the conversion unit is configured to perform communication mode conversion based on the first isolation control signal, so that one of the first communication mode and the second communication mode corresponding to the first control signal is used as a current communication mode, and the first control unit can perform communication with other control units according to the current communication mode;
the communication unit is configured to be in a powered and non-working state when the current communication mode is the first communication mode, and to communicate with other control units according to the first communication mode in the powered and non-working state;
and under the condition that the current communication mode is the second communication mode, the communication unit is in a power-on and working state, so that the communication between the first control unit and other control units is realized by combining the second isolation control signal according to the second communication mode under the power-on and working state.
2. The communication device of claim 1, wherein the isolation unit comprises: a first isolation module and a second isolation module;
the conversion unit includes: a first conversion module and a second conversion module;
wherein the content of the first and second substances,
the first isolation module is arranged between the input end of the first control signal and the control end of the first conversion module; the output end of the first conversion module is connected to one connecting end of the driver output end and the receiver input end of the communication unit;
the first isolation module is also arranged between the input end of the first control signal and the control end of the second conversion module; the output end of the second conversion module is connected to the other connecting end of the driver output end and the receiver input end of the communication unit;
the second isolation module is arranged between the input end of the second control signal and the driver output enabling end and the receiver enabling output end of the communication unit.
3. The communication device of claim 2, wherein the first isolation module comprises: a first optocoupler module; the second isolation module comprising: a second optocoupler module;
the first conversion module includes: a first switch tube module; a second conversion module comprising: a second switch tube module;
wherein the content of the first and second substances,
a cathode on the diode side of the first optical coupling module is used as an input end of the first optical coupling module; an emitter at the transistor side of the first optical coupling module is used as an output end of the first optical coupling module;
a cathode on the diode side of the second optical coupling module is used as an input end of the second optical coupling module; an emitter at the transistor side of the second optical coupling module is used as an output end of the second optical coupling module;
the base electrode of the first switch tube module is used as a control end of the first switch tube module; the collector of the first switch tube module is used as the output end of the first switch tube module;
the base electrode of the second switch tube module is used as the control end of the second switch tube module; and the emitting electrode of the second switch tube module is used as the output end of the second switch tube module.
4. The communication device according to claim 2 or 3, wherein the isolation unit further comprises: a third isolation module and a fourth isolation module;
the conversion unit further includes: a third conversion module and a fourth conversion module;
wherein the content of the first and second substances,
the first isolation module is further arranged between the input end of the first control signal and the control end of the third conversion module; the third isolation module is arranged at a signal receiving end of the first control unit and a first connecting end of the third conversion module; the second connecting end of the third conversion module is connected to the receiver output end of the communication unit; the first connection end of the third conversion module is also connected to the second connection end of the first conversion module, and the first connection end of the first conversion module is used as the output end of the first conversion module;
the first isolation module is further arranged between the input end of the first control signal and the control end of the fourth conversion module; the fourth isolation module is arranged at a second connecting end of the fourth conversion module and a signal sending end of the first control unit; the first connecting end of the fourth conversion module is connected to the input end of the driver of the communication unit; the first connection end of the fourth conversion module is further connected to the first connection end of the second conversion module, and the second connection end of the second conversion module is used as the output end of the second conversion module.
5. The communication device of claim 4, wherein the third isolation module comprises: a third optical coupling module; the fourth isolation module, comprising: a fourth optical coupling module;
the third conversion module includes: a third switch tube module; the fourth conversion module includes: a fourth switch tube module;
wherein the content of the first and second substances,
an emitter at the transistor side of the third optical coupling module is used as an input end of the third optical coupling module; an anode on the diode side of the third optocoupler module is used as an output end of the third optocoupler module;
an anode on the diode side of the fourth optocoupler module is used as an input end of the fourth optocoupler module;
the base of the third switch tube module is used as the control end of the third switch tube module; the collector of the third switch tube module is used as a first connecting end of the third switch tube module; the emitting electrode of the third switch tube module is used as a second connecting end of the third switch tube module;
the base electrode of the fourth switching tube module is used as the control end of the fourth switching tube module; an emitter of the fourth switch tube module is used as a first connection end of the fourth switch tube module; and the collector of the fourth switch tube module is used as a second connecting end of the fourth switch tube module.
6. The communication device of claim 5, wherein the third switch tube module further comprises: a first voltage division module; the first voltage division module is arranged at the second connecting end of the third switch tube module.
7. The communication device of claim 5, wherein the fourth switch tube module further comprises: a second voltage division module; and the second voltage division module is arranged at the first connecting end of the fourth switch tube module.
8. The communication device according to any one of claims 1 to 3 and 5 to 7, wherein the communication unit comprises: 485 communication module;
the first communication method includes: UART communication mode; the second communication method includes: 485 communication mode;
the communication unit is in a power-on and non-working state under the condition that the current communication mode is the first communication mode, so that communication is carried out with other control units according to the first communication mode under the power-on and non-working state; under the condition that the current communication mode is the second communication mode, the communication unit is in a power-on and working state, so that the communication between the first control unit and other control units is realized by combining the second isolation control signal according to the second communication mode in the power-on and working state, and the method comprises the following steps:
under the condition that the current communication mode is a UART communication mode, the first control signal is a signal with a first set level, the second control signal is a signal with a first set level, and the communication circuit communicates according to the UART communication mode;
under the condition that the current communication mode is a 485 communication mode, the first control signal is a signal of a second set level, and the communication circuit communicates in the 485 communication mode;
wherein the content of the first and second substances,
in the 485 communication mode, when the second control signal is a signal of a first set level, the 485 communication module can realize first set 485 communication;
under the 485 communication mode, when the second control signal is a second signal with a set level, the 485 communication module can realize second set 485 communication.
9. An electrical device, comprising: the communication device of any one of claims 1 to 8.
CN202121020718.9U 2021-05-13 2021-05-13 Communication device and electrical equipment Active CN215067796U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121020718.9U CN215067796U (en) 2021-05-13 2021-05-13 Communication device and electrical equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121020718.9U CN215067796U (en) 2021-05-13 2021-05-13 Communication device and electrical equipment

Publications (1)

Publication Number Publication Date
CN215067796U true CN215067796U (en) 2021-12-07

Family

ID=79216805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121020718.9U Active CN215067796U (en) 2021-05-13 2021-05-13 Communication device and electrical equipment

Country Status (1)

Country Link
CN (1) CN215067796U (en)

Similar Documents

Publication Publication Date Title
US7359433B1 (en) Data transmission system
CN114745224A (en) Isolated asynchronous communication circuit and method of household appliance and household appliance
CN210490838U (en) Isolated communication circuit and system
CN215067796U (en) Communication device and electrical equipment
CN113606761A (en) Current loop communication circuit and air conditioner
CN214954605U (en) Communication device and electrical equipment
CN113341790A (en) Communication device, electrical equipment and communication control method thereof
CN111976415B (en) Outdoor unit electric control device and vehicle-mounted air conditioner
CN113282035A (en) Communication device, electrical equipment and communication control method thereof
CN114938316B (en) Isolation asynchronous communication circuit and method of household appliance and household appliance
CN107888183B (en) NPN/PNP sensor access device in low-voltage system
CN213212049U (en) Low-side driving self-holding circuit of direct current contactor coil
CN213483653U (en) High-side driving self-holding circuit of direct current contactor coil
CN211180610U (en) Fault information latch circuit
CN207460126U (en) A kind of switching circuit carried out through same interface signal input and output
CN112259414A (en) Low-side driving self-holding circuit of direct current contactor coil
CN217335574U (en) Communication circuit and equipment
CN218124699U (en) Single-wire serial transceiving circuit
CN217643546U (en) Multifunctional interface of projector and projector
CN217880548U (en) Circuit device for realizing infrared remote control receiving function through RS232 serial port
CN210839528U (en) Serial port communication signal abnormity correction circuit and massage chair
CN213213461U (en) Single-wire communication circuit capable of receiving and transmitting
CN216083438U (en) Input circuit and circuit board of program-controlled switching mode
CN216599583U (en) Communication circuit, electronic equipment and communication system
CN215809187U (en) Current loop communication circuit and air conditioner

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant