The disclosure relates to electronic circuits, and particularly to a relay switching circuit.
A VoIP (Voice over Internet Protocol) is a mode of making a call through an internet protocol. A single relay can be used as a switching circuit in most VoIP products. When the product is working normally, the relay switches a calling line to an FXS (Foreign Exchange Station) and users can make a call through the VoIP or through a PSTN (Public Switched Telephone Network). When a power supply is shut down, the relay switches the calling line to the PSTN route and users are restricted to making a call through the PSTN only.
Many aspects of the present embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references can mean “at least one.”
In at least one embodiment, a port A of the relay switching circuit 11 connects to telephone 3 through the FXS port 12, a port B of the relay switching circuit 11 connects to the PSTN 2 through the FXO port 13, and a port C of the relay switching circuit 11 connects to outside networks through circuits and components. The sequence of connections between the relay switching circuit 11 and the PSTN 2 is through the FXS circuit 17, the controller 16, the front-end circuit 15, and the net port 14. In addition, a port D of the relay switching circuit 11 connects to the controller 16 to control the enable signal of the calling line. One end of the FXO circuit 18 connects to the FXO port 13, another end of the FXO circuit 18 connects to the FXS circuit 17 and the controller 16. In other embodiments, the net port 14 can also connect to other networks.
When the communication device 1 is working normally, the relay switching circuit 11 receives the enable signal, thus the relay switching circuit 11 connects to the FXS circuit 17 through the port C and switches off the outside connection of the port B, so that users can make a call using Voice over Internet Protocol (VoIP) or a PSTN 2. When a power supply to the communication device 1 is shut off, the relay switching circuit 11 cannot receive the enable signal, thus the relay switching circuit 11 connects to the FXO port 13 through the port B and switches off the outside connection of the port C, so users can only make a call through the PSTN 2.
The first switching circuit 111 includes a first normally closed contact 1111, a second normally closed contact 1112, a first common contact 1113, a second common contact 1114, a first normally open contact 1115, a second normally open contact 1116, a first control terminal 1117, and a second control terminal 1118. The first common contact 1113 and the second common contact 1114 connect to the FXS port 12 and the first normally open contact 1115 and the second normally open contact 1116 connect to the FXS circuit 17.
The second switching circuit 112 includes a third normally closed contact 1121, a fourth normally closed contact 1122, a third common contact 1123, a fourth common contact 1124, a third normally open contact 1125, a fourth normally open contact 1126, a third control terminal 1127, and a fourth control terminal 1128. The third normally closed contact 1121 and the fourth normally closed contact 1122 connect to the FXO port 13 and the third common contact 1123 connects to the first normally closed contact 1111. The fourth common contact 1124 connects to the second normally closed contact 1112. Neither the third normally open contact 1125 nor the fourth normally open contact 1126 are connected to circuits outside of the second switching circuit 112.
In at least one embodiment, the relays used are double pole double throw (DPDT) switches. In other embodiments, other kinds of relays can be used in the relay switching circuit 11, such as single pole double throw (SPDT) relays or single pole single throw (SPST) relays. When the first switching circuit 111 is not working, the first common contact 1113 connects to the first normally closed contact 1111 and the second common contact 1114 connects to the second normally closed contact 1112. When the second switching circuit 112 is not working, the third common contact 1123 connects to the third normally closed contact 1121 and the fourth common contact 1124 connects to the fourth normally closed contact 1122. When the first switching circuit 111 is working, the first common contact 1113 switches off the connection to the first normally closed contact 1111 and connects to the first normally open contact 1115 and the second common contact 1114 switches off the connection to the second normally closed contact 1112 and connects to the second normally open contact 1116. When the second switching circuit 112 is working, the third common contact 1123 switches off the connection to the third normally closed contact 1121 and connects to the third normally open contact 1125 and the fourth common contact 1124 switches off the connection to the fourth normally closed contact 1122 and connects to the fourth normally open contact 1126.
The first control circuit 113 includes a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1, a first switching component Q1, and a first diode D1. A first end of the first resistor R1 connects to the controller 16, a second end of the first resistor R1 connects to one end of the second resistor R2 and to one end of the first capacitor C1. The other end of the second resistor R2 connects to a ground, the other end of the first capacitor C1 is also connected to the ground. The first switching component Q1 is used to control the first control circuit 113 to turn on or turn off. A first electrode of the first switching component Q1 connects to the second end of the first resistor R1, a second electrode of the first switching component Q1 connects to a positive electrode of the first diode D1, and a third electrode of the first switching component Q1 is also connected to the ground. The positive electrode of the first diode D1 also connects to the first control terminal 1117 of the first switching circuit 111. A negative electrode of the first diode D1 connects to the second control terminal 1118 of the first switching circuit 111 and one end of the third resistor R3, the other end of the third resistor R3 connects to a power supply. The first diode D1 is used to provide a discharge circuit for the first control terminal 1117 and the second control terminal 1118 of the first switching circuit 111.
The second control circuit 114 includes a fourth resistor R4, a fifth resistor R5, a the sixth resistor R6, a second capacitor C2, a second switching component Q2, and a second diode D2. A first end of the fourth resistor R4 connects to the controller 16, a second end of the fourth resistor R4 connects to one end of the fifth resistor R5 and one end of the second capacitor C2. The other end of the fifth resistor R5 connects to a ground, the other end of the second capacitor C2 is also connected to the ground. The second switching component Q2 is used to control the second control circuit 114 to turn on or turn off. A first electrode of the second switching component Q2 connects to the second end of the fourth resistor R4, a second electrode of the second switching component Q2 connects to a positive electrode of the second diode D2, and a third electrode of the second switching component Q2 also connects to the ground. The positive electrode of the second diode D2 also connects to the third control terminal 1127 of the second switching circuit 112. A negative electrode of the second diode D2 connects to the fourth control terminal 1128 of the second switching circuit 112 and to one end of the sixth resistor R6, the other end of the sixth resistor R6 connects to the power supply. The second diode D2 is used to provide a discharge circuit for the third control terminal 1127 and the fourth control terminal 1128 of the second switching circuit 112.
In at least one embodiment, the first switching component Q1 and the second switching component Q2 are NPN type transistors. The first electrodes of the first switching component Q1 and of the second switching component Q2 are the base terminals of transistors, the second electrodes of the first switching component Q1 and of the second switching component Q2 are the collector terminals of transistors, and the third electrodes of the first switching component Q1 and of the second switching component Q2 are the emitter terminals of transistors. In other embodiments, other switching components can be used to build control circuits, such as Metal-Oxide-Semiconductor Field-Effect-Transistors (MOSFETs).
In at least one embodiment, the relays utilized meet the following specification able to withstand a surge strength between adjacent contacts or between open contacts of 2500 volts in 0.2 microseconds. In other embodiments, relays meeting other standards of proof against surges can also be used in the relay switching circuit 11.
The relay switching circuit 11 above can withstand voltage surges from lightning strikes. As shown in
If the PSTN 2 is hit by lightning, surge voltages arise against the communication device 1, but the relay switching circuit 11 protects circuits of the communication device 1 with anti-surge capabilities of 5000 volts, a conventional switching circuit using a single relay may only have a capability of withstanding a surge of 2500 volts.
According to the manner of connections used in other embodiments of the relay switching circuit 11, three relays or more than three relays can be used to build relay switching circuits with stronger anti-surge capabilities.
The foregoing disclosure of various embodiments has been presented for the purposes of illustration. It is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many variations and modifications of the embodiments described herein will be apparent to one of ordinary skill in the art in the light of the above disclosure. The scope of the disclosure is to be defined only by the claims appended hereto and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
103111092 | Mar 2014 | TW | national |