CN111601443A - RS485 signal receiving assembly capable of saving communication lines, RS485 communication circuit and lamp - Google Patents

RS485 signal receiving assembly capable of saving communication lines, RS485 communication circuit and lamp Download PDF

Info

Publication number
CN111601443A
CN111601443A CN202010484471.XA CN202010484471A CN111601443A CN 111601443 A CN111601443 A CN 111601443A CN 202010484471 A CN202010484471 A CN 202010484471A CN 111601443 A CN111601443 A CN 111601443A
Authority
CN
China
Prior art keywords
voltage
signal
transmitting
signal receiving
resistor
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.)
Granted
Application number
CN202010484471.XA
Other languages
Chinese (zh)
Other versions
CN111601443B (en
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.)
Shenzhen Qiming Technology Co Ltd
Original Assignee
Shenzhen Qiming Technology Co Ltd
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 Shenzhen Qiming Technology Co Ltd filed Critical Shenzhen Qiming Technology Co Ltd
Priority to CN202010484471.XA priority Critical patent/CN111601443B/en
Publication of CN111601443A publication Critical patent/CN111601443A/en
Application granted granted Critical
Publication of CN111601443B publication Critical patent/CN111601443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The invention relates to an RS485 signal receiving assembly capable of saving communication lines, an RS485 communication circuit comprising the RS485 signal receiving assembly and a lamp comprising the RS485 communication circuit, wherein the receiving assembly comprises a first signal receiving port which is used for being in communication connection with a first signal transmitting port of a transmitting assembly so as to receive a first transmitting signal, the first transmitting signal is a first voltage or a second voltage, and the first voltage is greater than the second voltage; the first voltage division circuit comprises a first resistor and a second resistor which are connected in series between a first reference voltage and the ground, the voltage of a connecting end of the first resistor and the second resistor is a third voltage, and the third voltage is greater than the second voltage and smaller than the first voltage; and the second signal receiving port is electrically connected with the connecting end of the first resistor and the second resistor. RS485 communication is realized by arranging the first voltage division circuit, so that one communication line can be saved.

Description

RS485 signal receiving assembly capable of saving communication lines, RS485 communication circuit and lamp
Technical Field
The invention relates to the technical field of RS485 communication, in particular to an RS485 signal receiving assembly capable of saving communication lines, an RS485 communication circuit and a lamp.
Background
RS485 adopts differential signals to realize signal transmission. RS485 has two communication lines, generally denoted by a and B, A, B transmit different voltages respectively, and identifies a logic "1" and a logic "0" by the voltage difference of A, B communication lines at the same time, for example, a logic "1" is denoted by the voltage difference between two lines being + (0.2-6) V, and a logic "0" is denoted by the voltage difference between two lines being- (0.2-6) V, which is a typical differential communication.
However, two communication wires are configured simultaneously, so that on one hand, the number of wire cores is large, the wire diameter size is large, the wire cost is high, and the wiring space required by a plurality of comprehensive wiring is larger; on the other hand, during communication, when one of the two communication lines is disconnected, normal communication cannot be performed, the whole line needs to be searched and replaced, the line cannot be repaired when the condition of re-routing and line replacement is not met, and the labor and material cost for completing repair by replacing the wire is high.
Disclosure of Invention
Therefore, it is necessary to provide an RS485 signal receiving assembly, an RS485 communication circuit and a lamp, which can solve the problem of abnormal communication when there is a lot of wiring or any communication line is faulty.
An RS485 signal receiving assembly saving communication lines, comprising:
the first signal receiving port is used for being in communication connection with a first signal transmitting port of a transmitting assembly so as to receive a first transmitting signal, the first transmitting signal is a first voltage or a second voltage, and the first voltage is greater than the second voltage;
the voltage divider circuit comprises a first resistor and a second resistor which are connected in series between a first reference voltage and ground, wherein the voltage of a connecting end of the first resistor and the second resistor is a third voltage, and the third voltage is greater than the second voltage and less than the first voltage; and
and the second signal receiving port is electrically connected with the connecting end of the first resistor and the second resistor.
In one embodiment, the second signal receiving port is further configured to be communicatively connected to a second signal transmitting port of a transmitting device to receive a second transmitting signal, where the second transmitting signal is the first voltage or the second voltage, and voltages of the second transmitting signal and the first transmitting signal at the same time are different.
In one embodiment, the method further comprises the following steps:
the second voltage division circuit comprises a third resistor and a fourth resistor which are connected between a second reference voltage and the ground in series, the voltage of a connecting end of the third resistor and the fourth resistor is a fourth voltage, and the fourth voltage is greater than the second voltage and smaller than the first voltage;
the first signal receiving port is also electrically connected with the connecting end of the third resistor and the fourth resistor.
In one embodiment, the first voltage is 5V, the second voltage is 0V, and the third voltage and the fourth voltage have values ranging from 1V to 4V.
In one embodiment, the receiving component further comprises:
the first power supply port is used for accessing a first working voltage, and the first working voltage, the first reference voltage and the second reference voltage are the same;
the first ground port is used for grounding.
In one embodiment, a fifth resistor is connected between the first signal receiving port and the second signal receiving port.
An RS485 communication circuit, comprising:
the transmitting assembly comprises a first signal transmitting port and a second signal transmitting port, wherein the first signal transmitting port is used for transmitting a first transmitting signal, the second signal transmitting port is used for transmitting a second transmitting signal, the first transmitting signal is a first voltage or a second voltage, the second transmitting signal is a first voltage or a second voltage, the voltages of the second transmitting signal and the first transmitting signal at the same moment are different, and the first voltage is greater than the second voltage;
the receiving component is the RS485 signal receiving component, and a first signal receiving port of the receiving component is in communication connection with the first signal transmitting port.
In one embodiment, a sixth resistor is connected between the first signal transmitting port and the second signal transmitting port.
In one embodiment, the sixth resistor and the fifth resistor have the same resistance.
A lamp comprises the RS485 communication circuit.
The receiving assembly of the RS485 signal receiving assembly, the RS485 communication circuit comprising the RS485 signal receiving assembly and the lamp comprising the RS485 communication circuit is provided with a first signal receiving port and a second signal receiving port, wherein the first signal receiving port is used for receiving a first transmitting signal transmitted by the transmitting assembly, the second signal receiving port is electrically connected with the connecting end of the first resistor and the second resistor to obtain a third voltage, and the third voltage is between the first voltage and the second voltage. If it is defined that the voltage of the first receiving terminal is greater than the voltage of the second receiving terminal at the same time is logic "1", the voltage of the first receiving terminal is less than the voltage of the second receiving terminal at the same time is logic "0". During communication, when the first receiving end receives the first voltage, the first voltage is greater than the third voltage, namely the voltage of the first signal receiving port is greater than the voltage of the second signal receiving port, the transmission at the moment is logic '1', when the first receiving end receives the second voltage, the second voltage is less than the third voltage, namely the voltage of the first signal receiving port is less than the voltage of the second signal receiving port, the transmission at the moment is logic '0', and therefore RS485 communication is achieved. In this application, through above-mentioned RS485 signal reception subassembly, can guarantee to connect just can realize the RS485 communication with the transmission subassembly through a communication line and transmission subassembly communication, compare in the prior art and use two communication lines, reduce the quantity of communication line, saved wire rod cost and wiring space.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a receiving assembly in a first embodiment;
FIG. 2 is a schematic structural diagram of a receiving assembly in a second embodiment;
fig. 3 is a schematic structural diagram of a receiving assembly in a third embodiment.
Element number description:
a receiving component: 100, respectively; a first voltage dividing circuit: 110; a second voltage division circuit: 120 of a solvent; the emission component: 200 of a carrier; a first signal receiving port: DA 1; a second signal receiving port: DB 1; a first signal transmitting port: DA 2; a second signal transmitting port: DB 2; a first resistance: r1; a second resistance: r2; a third resistance: r3; a fourth resistance: r4; a fifth resistance: and R5.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first resistance may be referred to as a second resistance, and similarly, a second resistance may be referred to as a first resistance, without departing from the scope of the present application. The first resistance and the second resistance are both resistances, but they are not the same resistance.
It is to be understood that "connection" in the following embodiments is to be understood as "electrical connection", "communication connection", and the like if the connected circuits, modules, units, and the like have electrical signals or data transmission therebetween.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, as used in this specification, the term "and/or" includes any and all combinations of the associated listed items.
First embodiment
As shown in fig. 1, the RS485 signal receiving device 100 includes a first signal receiving port DA1, a first voltage divider circuit 110, and a second signal receiving port DB 1. Wherein the content of the first and second substances,
the first signal receiving port DA1 is used for being communicatively connected with the first signal transmitting port DA2 of the transmitter assembly 200 to receive a first transmitting signal, wherein the first transmitting signal is a first voltage or a second voltage, and the first voltage is greater than the second voltage.
The first voltage dividing circuit 110 includes a first resistor R1 and a second resistor R2 connected in series between a first reference voltage and ground, the first reference voltage is divided by the first resistor R1 and the second resistor R2, a voltage at a connection end of the first resistor R1 and the second resistor R2 is a third voltage, and the third voltage is greater than the second voltage and less than the first voltage, that is, the third voltage is between the first voltage and the second voltage. The first reference voltage, the first resistor R1 and the second resistor R2 can be flexibly set as required, and the third voltage is guaranteed to be between the first voltage and the second voltage.
The second signal receiving port DB1 is electrically connected to the connection end of the first resistor R1 and the second resistor R2 to obtain a third voltage.
In the conventional art, the RS485 communication uses two communication lines, the two communication lines transmit voltages simultaneously, and the voltage difference between the two communication lines is compared to identify logic "1" and logic "0", for example, when the first signal receiving port DA1 receives a voltage of 5V and the second signal receiving port DB1 receives a voltage of 0V at the same time, the first signal receiving port DA1 receives a voltage of 0V and the second signal receiving port DB1 receives a voltage of 5V at the same time, the logic "1" is identified, and when the first signal receiving port DA1 receives a voltage of 0V and the second signal receiving port DB1 receives a voltage of 5V at the same time, the logic "0" is identified.
In the present application, the receiving device 100 has a first signal receiving port DA1 and a second signal receiving port DB1, wherein the first signal receiving port DA1 is used for receiving a first transmitting signal transmitted by the transmitting device 200, and the second signal receiving port DB1 is electrically connected to a connection terminal of the first resistor R1 and the second resistor R2 to obtain a third voltage, wherein the third voltage is between the first voltage and the second voltage. If it is defined that the voltage of the first receiving terminal is greater than the voltage of the second receiving terminal at the same time is logic "1", the voltage of the first receiving terminal is less than the voltage of the second receiving terminal at the same time is logic "0". During communication, when the first receiver receives the first voltage, the first voltage is greater than the third voltage, that is, the voltage of the first signal receiving port DA1 is greater than the voltage of the second signal receiving port DB1, and a logic "1" is transmitted at this time, and when the first receiver receives the second voltage, the second voltage is less than the third voltage, that is, the voltage of the first signal receiving port DA1 is less than the voltage of the second signal receiving port DB1, and a logic "0" is transmitted at this time, thereby implementing RS485 communication. In this application, through above-mentioned RS485 signal reception subassembly 100, can guarantee to connect just can realize the RS485 communication with emission subassembly 200 through a communication line and emission subassembly 200 communication, compare in the prior art and use two communication lines, reduce the quantity of communication line, saved wire rod cost and wiring space.
Second embodiment
As shown in fig. 2, based on the first embodiment, the second signal receiving port DB1 is electrically connected to the connection end of the first resistor R1 and the second resistor R2, and is further used for being communicatively connected to the second signal transmitting port DB2 of the transmitting module 200 to receive a second transmitting signal, wherein the second transmitting signal is a first voltage or a second voltage, and the voltages of the second transmitting signal and the first transmitting signal at the same time are different. In this embodiment, the second signal receiving port DB1 is also used for receiving a second transmitting signal, i.e. in this embodiment, the signal receiving component 100 can also be applied to an RS485 circuit having two communication lines. Assuming that the two communication lines are the a communication line and the B communication line, the first signal receiving port DA1 is connected to the a communication line, and the second signal receiving port DB1 is connected to the B communication line. When A, B communication lines are normal, the first signal receiving port DA1 preferentially receives the first transmitting signal on the a communication line, the second signal receiving port DB1 preferentially receives the second transmitting signal on the B communication line, when the first transmitting signal is the first voltage, the second transmitting signal is the second voltage, when the first transmitting signal is the second voltage, the second transmitting signal is the first voltage, and when the first transmitting signal is the second voltage, the current logic "1" or logic "0" is identified by performing differential processing on voltages of A, B two signal lines at the same time.
In one embodiment, it is defined as logic "1" when the voltage of the first signal receiving port DA1 is greater than the voltage of the second signal receiving port DB1, and logic "0" when the voltage of the first signal receiving port DA1 is less than the voltage of the second signal receiving port DB 1. Of course, in other embodiments, it can be defined as logic "0" when the voltage of the first signal receiving port DA1 is greater than the voltage of the second signal receiving port DB1, and logic "1" when the voltage of the first signal receiving port DA1 is less than the voltage of the second signal receiving port DB 1. In the present embodiment and the following embodiments, a logic "1" is taken as an example when the voltage of the first signal receiving port DA1 is greater than the voltage of the second signal receiving port DB1, and a logic "0" is taken as an example when the voltage of the first signal receiving port DA1 is less than the voltage of the second signal receiving port DB 1. When the A, B communication lines are normal, if the first signal receiving port DA1 receives the first voltage and the second signal receiving port DB1 receives the second voltage, it is identified as logic "1"; if the first signal receiving port DA1 receives the second voltage, the second signal receiving port DB1 recognizes a logic "0" when it receives the first voltage. When the B communication line is failed, a third voltage is provided to the second signal receiving port DB1 through the first voltage dividing circuit 110, and when the first signal receiving port DA1 receives the first voltage and the second signal receiving port DB1 receives the third voltage, the first voltage is greater than the third voltage and is also identified as logic "1"; when the first signal receiving port DA1 receives the second voltage and the second signal receiving port DB1 receives the third voltage, the second voltage is less than the third voltage and is identified as logic "0". Therefore, the receiving module 100 can be applied to an RS485 circuit that has two communication lines, and when the B communication line fails, the first voltage divider circuit 110 can still continue normal communication and ensure the correctness of logic.
Third embodiment
As shown in fig. 3, based on the second embodiment, the receiving module 100 further includes a second voltage divider circuit 120, where the second voltage divider circuit 120 includes a third resistor R3 and a fourth resistor R4 connected in series between a second reference voltage and ground, the voltage is divided by the third resistor R3 and the fourth resistor R4, a voltage at a connection end of the third resistor R3 and the fourth resistor R4 is a fourth voltage, and the fourth voltage is greater than the second voltage and smaller than the first voltage. The first signal receiving port DA1 is further electrically connected to the connection end of the third resistor R3 and the fourth resistor R4. In this embodiment, the first signal receiving port DA1 obtains the first transmitting signal through the a communication line, and is electrically connected to the connection end of the third resistor R3 and the fourth resistor R4; the second signal receiving port DB1 is connected to the connection end of the first resistor R1 and the second resistor R2, and receives the second transmitting signal through the B communication line. When the A, B communication lines are normal, the first signal receiving port DA1 and the second signal receiving port DB1 preferentially receive the voltage signals of the a communication line and the B communication line, respectively, and perform logic determination, for example, when the first signal receiving port DA1 receives the first voltage and the second signal receiving port DB1 receives the second voltage, it is recognized as logic "1", and when the first signal receiving port DA1 receives the second voltage and the second signal receiving port DB1 receives the first voltage, it is recognized as logic "0". When the communication line A is in fault and the communication line B is normal, the first signal receiving port DA1 obtains a fourth voltage at the connection end of the third resistor R3 and the fourth resistor R4, and during communication, when the first signal receiving port DA1 receives the fourth voltage and the second signal receiving port DB1 receives the second voltage, the fourth voltage is greater than the second voltage, and at the moment, the logic '1' is identified; when the first signal receiving port DA1 receives the fourth voltage and the second signal receiving port DB1 receives the first voltage, the fourth voltage is less than the second voltage, and is identified as "0". When the communication line A is normal and the communication line B is failed, the second signal receiving port DB1 obtains a third voltage at the connection end of the first resistor R1 and the second resistor R2, and during communication, when the first signal receiving port DA1 receives the first voltage and the second signal receiving port DB1 receives the third voltage, the first voltage is greater than the third voltage, and at the moment, the logic '1' is identified; when the first signal receiving port DA1 receives the second voltage and the second signal receiving port DB1 receives the third voltage, the second voltage is less than the third voltage, and is identified as "0". Therefore, the receiving module 100 can be applied to an RS485 circuit that has two communication lines, and when any one of the two communication lines fails, normal communication can still be continued through the first voltage divider circuit 110 or the second voltage divider circuit 120, and the logic correctness can be ensured.
In an embodiment, the first voltage is 5V, the second voltage is 0V, and the third voltage and the fourth voltage both have a value ranging from 1V to 4V, and may be, for example, 2.5V.
In an embodiment, the receiving assembly 100 further includes a first power supply port and a first ground port, wherein the first power supply port is used for receiving a first operating voltage, and the first ground port is used for grounding. Further, the first operating voltage, the first reference voltage, and the second reference voltage are the same and are all VCC. In a particular circuit connection, the first power supply port is electrically connected to a first reference voltage.
In one embodiment, a fifth resistor R5 is further connected in series between the first signal receiving port DA1 and the second signal receiving port DB1, so that the fifth resistor R5 suppresses common mode interference.
The application also relates to an RS485 communication circuit. As shown in fig. 1 to 3, the RS485 communication circuit includes a transmitting component 200 and a receiving component 100.
The transmitter assembly 200 includes a first signal transmitting port DA2 and a second signal transmitting port DB2, the first signal transmitting port DA2 is configured to transmit a first transmitting signal, the second signal transmitting port DB2 is configured to transmit a second transmitting signal, the first transmitting signal is a first voltage or a second voltage, the second transmitting signal is a first voltage or a second voltage, and voltages of the second transmitting signal and the first transmitting signal at the same time are different from each other, when the first signal transmitting port DA2 is the first voltage, the second signal transmitting port DB2 is the second voltage, when the first signal transmitting port DA2 is the second voltage, the first signal transmitting port DA2 is the first voltage, wherein the first voltage is greater than the second voltage.
The receiving element 100 is the RS485 signal receiving element 100, and the first signal receiving port DA1 of the receiving element 100 is in communication connection with the first signal transmitting port DA 2. Further, the second signal receiving port DB1 of the receiving module 100 is also communicatively connected to the second signal transmitting port DB2 of the first transmitting module 200. The specific structure of the receiving assembly 100 can be referred to the above description, and is not described herein again.
In one embodiment, when the transmitter 200 and the receiver 100 are communicatively connected via two communication lines, i.e., the first signal receiving port DA1 is communicatively connected to the first signal transmitting port DA2, and the second signal receiving port DB1 is communicatively connected to the second signal transmitting port DB2, a sixth resistor is further connected between the first signal transmitting port DA2 and the second signal transmitting port DB2, so that the sixth resistor suppresses the common mode interference of the two communication lines. Further, the resistance of the fifth resistor R5 is the same as that of the sixth resistor.
In an embodiment, the transmitting assembly 200 also includes a second power supply port and a second ground port, wherein the second power supply port is used for accessing a second operating voltage, and the second ground port is grounded.
Specifically, the communication process of the RS485 communication circuit is described by taking the first voltage as 5V, the second voltage as 0V, the third voltage as 2.5V, and the fourth voltage as 2.5V as an example.
When the receiving device 100 is the receiving device 100 of the first embodiment, the first signal receiving port DA1 of the receiving device 100 is communicatively connected to the first signal transmitting port DA2 of the transmitting device 200 via the a communication line, and the second signal receiving port DB1 of the receiving device 100 is electrically connected to the first voltage dividing circuit 110. During communication, the first signal receiving port DA1 receives 5V and the second signal receiving port DB1 receives 2.5V, and is identified as logic "1", and when the first signal receiving port DA1 receives 0V and the second signal receiving port DB1 receives 2.5V, it is identified as logic "0".
When the receiving device 100 is the receiving device 100 of the second embodiment, the first signal receiving port DA1 of the receiving device 100 is communicatively connected to the first signal transmitting port DA2 of the transmitting device 200 via the a communication line, and the second signal receiving port DB1 of the receiving device 100 is communicatively connected to the second signal transmitting port DB2 of the transmitting device 200 via the B communication line, and is electrically connected to the first voltage dividing circuit 110. When the A, B communication line is normal, the voltage on the A, B communication line is different, if the a communication line is 5V, the B communication line is 0V, and if the a communication line is 0V, the B communication line is 5V, thereby realizing differential communication. During communication, the first signal receiving port DA1 receives 5V and the second signal receiving port DB1 receives 0V, and is identified as logic "1", and when the first signal receiving port DA1 receives 0V and the second signal receiving port DB1 receives 5V, it is identified as logic "1". If the B communication line is faulty, the voltage of the second signal receiving port DB1 is continuously 2.5V, that is, the first signal receiving port DA1 receives 5V, the second signal receiving port DB1 receives 2.5V and recognizes as logic "1", the first signal receiving port DA1 receives 0V, and the second signal receiving port DB1 receives 2.5V and recognizes as logic "0", which is the same logic as the logic determined when the B communication line is normal.
When the receiving device 100 is the receiving device 100 of the second embodiment, the first signal receiving port DA1 of the receiving device 100 is communicatively connected to the first signal transmitting port DA2 of the transmitting device 200 through the a communication line, and is electrically connected to the second voltage dividing circuit 120; the second signal receiving port DB1 of the receiving device 100 is communicatively connected to the second signal transmitting port DB2 of the transmitting device 200 via a B communication line, and is electrically connected to the first voltage dividing circuit 110. When the A, B communication line is normal, the voltage on the A, B communication line is different, if the a communication line is 5V, the B communication line is 0V, and if the a communication line is 0V, the B communication line is 5V, thereby realizing differential communication. During communication, the first signal receiving port DA1 receives 5V and the second signal receiving port DB1 receives 0V, and is identified as logic "1", and when the first signal receiving port DA1 receives 0V and the second signal receiving port DB1 receives 5V, it is identified as logic "1". If the B communication line is faulty, the voltage of the second signal receiving port DB1 is continuously 2.5V, that is, the first signal receiving port DA1 receives 5V, the second signal receiving port DB1 receives 2.5V and recognizes as logic "1", the first signal receiving port DA1 receives 0V, the second signal receiving port DB1 receives 2.5V and recognizes as logic "0" as the logic determined when the B communication line is normal. If the communication line a fails, the voltage of the first signal receiving port DA1 is continuously 2.5V, that is, the first signal receiving port DA1 receives 2.5V, the second signal receiving port DB1 receives 0V and recognizes as logic "1", the first signal receiving port DA1 receives 2.5V, the second signal receiving port DB1 receives 5V and recognizes as logic "0", which is the same as the logic determined when the communication line a is normal.
In the RS485 communication circuit, the receiving module 100 has a first signal receiving port DA1 and a second signal receiving port DB1, wherein the first signal receiving port DA1 is used for receiving a first transmitting signal transmitted by the transmitting module 200, and the second signal receiving port DB1 is electrically connected to a connection end of the first resistor R1 and the second resistor R2 to obtain a third voltage, wherein the third voltage is between the first voltage and the second voltage. If it is defined that the voltage of the first receiving terminal is greater than the voltage of the second receiving terminal at the same time is logic "1", the voltage of the first receiving terminal is less than the voltage of the second receiving terminal at the same time is logic "0". During communication, when the first receiver receives the first voltage, the first voltage is greater than the third voltage, that is, the voltage of the first signal receiving port DA1 is greater than the voltage of the second signal receiving port DB1, and a logic "1" is transmitted at this time, and when the first receiver receives the second voltage, the second voltage is less than the third voltage, that is, the voltage of the first signal receiving port DA1 is less than the voltage of the second signal receiving port DB1, and a logic "0" is transmitted at this time, thereby implementing RS485 communication. In this application, through above-mentioned RS485 communication circuit, as long as just can realize RS485 communication through a communication line between transmission subassembly 200 and the receiving assembly 100, compare and use two communication lines in traditional art, reduced the quantity of communication line, saved wire rod cost and wiring space.
The application also relates to a lamp, and a control circuit inside the lamp comprises the RS485 communication circuit.
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An RS485 signal receiving component capable of saving communication lines, which is characterized by comprising:
the first signal receiving port is used for being in communication connection with a first signal transmitting port of a transmitting assembly so as to receive a first transmitting signal, the first transmitting signal is a first voltage or a second voltage, and the first voltage is greater than the second voltage;
the voltage divider circuit comprises a first resistor and a second resistor which are connected in series between a first reference voltage and ground, wherein the voltage of a connecting end of the first resistor and the second resistor is a third voltage, and the third voltage is greater than the second voltage and less than the first voltage; and
and the second signal receiving port is electrically connected with the connecting end of the first resistor and the second resistor.
2. The RS485 signal receiving assembly of claim 1 wherein the second signal receiving port is further configured to be communicatively coupled to a second signal transmitting port of a transmitter assembly to receive a second transmitting signal, wherein the second transmitting signal is the first voltage or the second voltage, and wherein the voltages of the second transmitting signal and the first transmitting signal at the same time are different.
3. The RS485 signal receiving assembly of claim 1, further comprising:
the second voltage division circuit comprises a third resistor and a fourth resistor which are connected between a second reference voltage and the ground in series, the voltage of a connecting end of the third resistor and the fourth resistor is a fourth voltage, and the fourth voltage is greater than the second voltage and smaller than the first voltage;
the first signal receiving port is also electrically connected with the connecting end of the third resistor and the fourth resistor.
4. The RS485 signal receiving component of claim 3, wherein the first voltage is 5V, the second voltage is 0V, and the third voltage and the fourth voltage have values ranging from 1V to 4V.
5. The RS485 signal receiving assembly of claim 3, wherein the receiving assembly further comprises:
the first power supply port is used for accessing a first working voltage, and the first working voltage, the first reference voltage and the second reference voltage are the same;
the first ground port is used for grounding.
6. The RS485 signal receiving element of claim 2 wherein a fifth resistor is connected between the first signal receiving port and the second signal receiving port.
7. An RS485 communication circuit, comprising:
the transmitting assembly comprises a first signal transmitting port and a second signal transmitting port, wherein the first signal transmitting port is used for transmitting a first transmitting signal, the second signal transmitting port is used for transmitting a second transmitting signal, the first transmitting signal is a first voltage or a second voltage, the second transmitting signal is a first voltage or a second voltage, the voltages of the second transmitting signal and the first transmitting signal at the same moment are different, and the first voltage is greater than the second voltage;
the RS485 signal receiving assembly of any one of claims 1 to 6, wherein the first signal receiving port of the receiving assembly is communicatively connected to the first signal transmitting port.
8. The RS485 communication circuit of claim 7, wherein a sixth resistor is connected between the first signal transmitting port and the second signal transmitting port.
9. The RS485 communication circuit of claim 8 wherein the sixth resistor and the fifth resistor have the same resistance.
10. A luminaire comprising the RS485 communication circuit of any of claims 7 to 9.
CN202010484471.XA 2020-06-01 2020-06-01 RS485 signal receiving assembly capable of saving communication lines, RS485 communication circuit and lamp Active CN111601443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010484471.XA CN111601443B (en) 2020-06-01 2020-06-01 RS485 signal receiving assembly capable of saving communication lines, RS485 communication circuit and lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010484471.XA CN111601443B (en) 2020-06-01 2020-06-01 RS485 signal receiving assembly capable of saving communication lines, RS485 communication circuit and lamp

Publications (2)

Publication Number Publication Date
CN111601443A true CN111601443A (en) 2020-08-28
CN111601443B CN111601443B (en) 2021-05-04

Family

ID=72191179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010484471.XA Active CN111601443B (en) 2020-06-01 2020-06-01 RS485 signal receiving assembly capable of saving communication lines, RS485 communication circuit and lamp

Country Status (1)

Country Link
CN (1) CN111601443B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201336671Y (en) * 2008-12-01 2009-10-28 深圳市同洲电子股份有限公司 Interface converting circuit, DVR and GPS
CN206089815U (en) * 2016-10-09 2017-04-12 上海道盾科技股份有限公司 A remote control and measurement device for constant potential rectifier
CN206835123U (en) * 2017-06-22 2018-01-02 南京码讯光电技术有限公司 A kind of RS485 automatic receiving-transmitting switching circuits
CN108732462A (en) * 2018-04-12 2018-11-02 华为技术有限公司 A kind of detection device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201336671Y (en) * 2008-12-01 2009-10-28 深圳市同洲电子股份有限公司 Interface converting circuit, DVR and GPS
CN206089815U (en) * 2016-10-09 2017-04-12 上海道盾科技股份有限公司 A remote control and measurement device for constant potential rectifier
CN206835123U (en) * 2017-06-22 2018-01-02 南京码讯光电技术有限公司 A kind of RS485 automatic receiving-transmitting switching circuits
CN108732462A (en) * 2018-04-12 2018-11-02 华为技术有限公司 A kind of detection device and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佘士强等: "单线长距离通讯技术及抗干扰设计", 《飞机设计》 *
凌国平: "如何提高测控系统中RS485通信的可靠性", 《仪器仪表学报》 *

Also Published As

Publication number Publication date
CN111601443B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN105191221A (en) Dual voltage communication bus
KR100756745B1 (en) A can communication recovery system using termination register
CN201467155U (en) CAN bus transceiver interface circuit
CN110673989B (en) Device and method for identifying daughter board card of backboard system
CN111601443B (en) RS485 signal receiving assembly capable of saving communication lines, RS485 communication circuit and lamp
CN106647393A (en) CAN bus automatic coding circuit and method
CN111711552B (en) Terminal resistor access circuit, servo driver and control system
CN110708226B (en) Vehicle-mounted bus communication system based on FlexRay
CN208766506U (en) A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment
CN109743240B (en) Interface switching device and method for communication equipment
CN203799198U (en) Control module enabling CAN terminal resistor to be intelligently accessed
CN211124035U (en) PAM4 optical module I2C communication system
CN214540463U (en) Relay board for switching and detecting multiple paths of signals
CN211124034U (en) Multi-path acquisition card and server with same
KR102013675B1 (en) Circuit for diagnosing connection status of antenna
CN111625491A (en) Multi-machine serial communication device and method
CN212749624U (en) PWM output detection circuit of vehicle control unit
CN217739841U (en) Embedded artificial intelligence computer motherboard
CN212515784U (en) RS-485 signal line polarity self-adaptation realization device based on double UARTs
CN212749625U (en) Vehicle control unit digital quantity input detection circuit
CN212749622U (en) Digital quantity output detection circuit of vehicle control unit
CN214799529U (en) Single-network card and double-network port switching device
CN114945231A (en) Signal decoder and lamp control system
CN203933595U (en) A kind of logic level signal transmitting device
CN201733309U (en) Self-loop light return module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant