TWM461169U - Automatic serial switching device - Google Patents

Automatic serial switching device Download PDF

Info

Publication number
TWM461169U
TWM461169U TW102209134U TW102209134U TWM461169U TW M461169 U TWM461169 U TW M461169U TW 102209134 U TW102209134 U TW 102209134U TW 102209134 U TW102209134 U TW 102209134U TW M461169 U TWM461169 U TW M461169U
Authority
TW
Taiwan
Prior art keywords
signal
voltage conversion
connector
conversion circuit
interface
Prior art date
Application number
TW102209134U
Other languages
Chinese (zh)
Inventor
xiao-wei Wang
Hai-Po Xi
Original Assignee
Universal Scient Ind 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 Universal Scient Ind Co Ltd filed Critical Universal Scient Ind Co Ltd
Publication of TWM461169U publication Critical patent/TWM461169U/en

Links

Abstract

An automatic serial switching device comprises a RS232 connector, a RS485/RS422 connector, a RS232 voltage conversion circuit, a RS485/RS422 voltage conversion circuit, and an automatic switching circuit. The automatic switching circuit comprises a first diode and a second diode. The first diode and the second diode switch between conducting and non-conducting according to the voltage level of a RS232 level adjusting signal and a RS232 level adjusting signal to corresponding pass the RS232 level adjusting signal and the RS232 level adjusting signal. This invention performs automatically switching between RS232 and RS485/RS422 communication interface, and also improves convenience.

Description

串口自動切換裝置Serial port automatic switching device

本新型是有關於一種切換裝置,特別是指一種串口自動切換裝置。The present invention relates to a switching device, and more particularly to a serial port automatic switching device.

參閱圖1,一種習知的串口切換裝置,適用於主機19與具有RS232、RS485或RS422串列通訊介面的周邊設備或儀器之間的數據交換,且該串口切換裝置包含:一RS232連接器11、一RS485/RS422連接器12、一跳線器(jumper)13、一RS485/RS422轉換晶片14,及一RS232轉換晶片15。Referring to FIG. 1 , a conventional serial port switching device is suitable for data exchange between a host 19 and peripheral devices or instruments having a serial communication interface of RS232, RS485 or RS422, and the serial port switching device includes: an RS232 connector 11 An RS485/RS422 connector 12, a jumper 13, an RS485/RS422 conversion chip 14, and an RS232 conversion chip 15.

分別屬於RS232、RS485及RS422通訊介面的通訊訊號分別經由RS232連接器11及RS485/RS422連接器12進入,再以跳線器(jumper)13及RS485/RS422轉換晶片14以跳接切換不同的通訊訊號輸出至主機19。The communication signals belonging to the RS232, RS485 and RS422 communication interfaces are respectively accessed via the RS232 connector 11 and the RS485/RS422 connector 12, and then jumpers (jumper) 13 and RS485/RS422 conversion chips 14 are used to jump to switch different communication. The signal is output to the host 19.

但此種串口切換裝置應用於嵌入式系統時十分不方便,當使用者需要切換通訊介面,如由RS232通訊介面切換到RS485/RS422通訊介面時,必須要打開機殼才能調整跳線器13以切換通訊介面,對於系統級產品而言非常 不便利。However, when the serial port switching device is applied to the embedded system, it is very inconvenient. When the user needs to switch the communication interface, such as when switching from the RS232 communication interface to the RS485/RS422 communication interface, the chassis must be opened to adjust the jumper 13 to Switching communication interface is very important for system level products Not convenient.

因此,本新型之目的,即在提供一種可以解決上述問題的串口自動切換裝置。Therefore, the purpose of the present invention is to provide a serial port automatic switching device that can solve the above problems.

於是,本新型串口自動切換裝置,包含一RS232連接器、一RS485/RS422連接器、一RS232電壓轉換電路、一RS485/RS422電壓轉換電路,及一自動開關門電路。Therefore, the novel serial port automatic switching device comprises an RS232 connector, an RS485/RS422 connector, an RS232 voltage conversion circuit, an RS485/RS422 voltage conversion circuit, and an automatic switch gate circuit.

該RS232連接器用於連接一具有RS232串列通訊介面的設備,以傳輸一RS232介面規格的訊號。The RS232 connector is used to connect a device with an RS232 serial communication interface to transmit an RS232 interface specification signal.

該RS485/RS422連接器用於連接一具有RS485/RS422串列通訊介面的設備,以傳輸一RS485/RS422介面規格的訊號。The RS485/RS422 connector is used to connect a device with RS485/RS422 serial communication interface to transmit a signal of RS485/RS422 interface specification.

該RS232電壓轉換電路電連接該RS232連接器以接收來自該RS232連接器的該RS232介面規格的訊號,並將該RS232介面規格的訊號進行電壓轉換以得到一RS232準位調整信號。The RS232 voltage conversion circuit is electrically connected to the RS232 connector to receive the RS232 interface specification signal from the RS232 connector, and voltage-converts the RS232 interface specification signal to obtain an RS232 level adjustment signal.

該RS485/RS422電壓轉換電路電連接該RS485/RS422連接器以接收來自該RS485/RS422連接器的該RS485/RS422介面規格的訊號,並將該RS485/RS422介面規格的訊號進行電壓轉換以得到一RS485/RS422準位調整信號。The RS485/RS422 voltage conversion circuit is electrically connected to the RS485/RS422 connector to receive the RS485/RS422 interface specification signal from the RS485/RS422 connector, and the RS485/RS422 interface specification signal is voltage-converted to obtain a RS485/RS422 level adjustment signal.

該自動開關門電路包括一第一二極體及一第二二極體,該第一二極體具有一電連接於該RS232電壓轉換電路以接收該RS232準位調整信號的陰極及一陽極,該第 二二極體具有一電連接於該RS485/RS422電壓轉換電路以接收該RS485/RS422準位調整信號的陰極,及一電連接於該第一二極體之陽極的陽極。The automatic switch gate circuit includes a first diode and a second diode. The first diode has a cathode electrically connected to the RS232 voltage conversion circuit to receive the RS232 level adjustment signal, and an anode. The first The diode has a cathode electrically connected to the RS485/RS422 voltage conversion circuit to receive the RS485/RS422 level adjustment signal, and an anode electrically connected to the anode of the first diode.

該第一二極體及該第二二極體分別根據該RS232準位調整信號、該RS485/RS422準位調整信號的準位大小,而切換於導通與不導通之間,以對應傳遞該RS232準位調整信號、該RS485/RS422準位調整信號。The first diode and the second diode are respectively switched between the conduction and the non-conduction according to the RS232 level adjustment signal and the level of the RS485/RS422 level adjustment signal, so as to transmit the RS232 correspondingly. Level adjustment signal, the RS485/RS422 level adjustment signal.

21‧‧‧RS232連接器21‧‧‧RS232 connector

22‧‧‧RS485/RS422連接器22‧‧‧RS485/RS422 connector

3‧‧‧RS232電壓轉換電路3‧‧‧RS232 voltage conversion circuit

4‧‧‧RS485/RS422電壓轉換電路4‧‧‧RS485/RS422 voltage conversion circuit

5‧‧‧RS422電壓轉換電路5‧‧‧RS422 voltage conversion circuit

6‧‧‧自動開關門電路6‧‧‧Automatic switch gate circuit

61‧‧‧輸出端61‧‧‧ Output

62‧‧‧第一二極體62‧‧‧First Diode

63‧‧‧第二二極體63‧‧‧Secondary diode

64‧‧‧電阻64‧‧‧resistance

65‧‧‧電源端65‧‧‧Power terminal

7‧‧‧非門電路7‧‧‧Non-gate circuit

8‧‧‧控制電路8‧‧‧Control circuit

9‧‧‧主機9‧‧‧Host

本新型之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是習知一種串口切換裝置的電路方塊示意圖;圖2是本新型串口自動切換裝置之一較佳實施例的電路方塊示意圖;及圖3是該較佳實施例的一自動開關門電路的電路圖。Other features and effects of the present invention will be apparent from the following description of the drawings, wherein: FIG. 1 is a schematic block diagram of a conventional serial port switching device; FIG. 2 is a schematic diagram of one of the novel serial port automatic switching devices. A schematic block diagram of a preferred embodiment; and FIG. 3 is a circuit diagram of an automatic switch gate circuit of the preferred embodiment.

參閱圖2,本新型串口自動切換裝置之較佳實施例適用於連接一主機9,該串口自動切換裝置包含一RS232連接器21、一RS485/RS422連接器22、一RS232電壓轉換電路3、一RS485/RS422電壓轉換電路4、一RS422電壓轉換電路5、一自動開關門電路6、一非門電路7,及一控制電路8。Referring to FIG. 2, the preferred embodiment of the automatic serial port switching device is adapted to be connected to a host 9. The serial port automatic switching device comprises an RS232 connector 21, an RS485/RS422 connector 22, an RS232 voltage conversion circuit 3, and a The RS485/RS422 voltage conversion circuit 4, an RS422 voltage conversion circuit 5, an automatic switch gate circuit 6, an NOT gate circuit 7, and a control circuit 8.

該RS232連接器21用於連接一具有RS232串列通訊介面的設備(圖未示),以傳輸一RS232介面規格的訊號。The RS232 connector 21 is used to connect a device (not shown) having an RS232 serial communication interface to transmit an RS232 interface specification signal.

該RS485/RS422連接器22用於連接一具有RS485/RS422串列通訊介面的設備(圖未示),以傳輸一RS485/RS422介面規格的訊號,並分別接收一RS485輸出訊號或一RS422輸出訊號。The RS485/RS422 connector 22 is configured to connect a device (not shown) having an RS485/RS422 serial communication interface to transmit a RS485/RS422 interface specification signal and receive an RS485 output signal or an RS422 output signal respectively. .

於本實施例中,該RS232連接器21使用標準的DB9連接器,該RS485/RS422連接器22則使用普通的排針(Pin Header)連接器,但不限於此。In the present embodiment, the RS232 connector 21 uses a standard DB9 connector, and the RS485/RS422 connector 22 uses a conventional pin header connector, but is not limited thereto.

該RS232電壓轉換電路3電連接該RS232連接器21以接收來自該RS232連接器21的該RS232介面規格的訊號,並將該RS232介面規格的訊號進行電壓轉換以得到一RS232準位調整信號。The RS232 voltage conversion circuit 3 is electrically connected to the RS232 connector 21 to receive the RS232 interface specification signal from the RS232 connector 21, and voltage-converts the RS232 interface specification signal to obtain an RS232 level adjustment signal.

於本實施例中,該RS232介面規格的訊號的電壓範圍為-9V~+9V,且該RS232電壓轉換電路3接收並轉換該RS232介面規格的訊號為TTL(Transistor-Transistor Logic)電壓訊號,但不限於此。In this embodiment, the RS232 interface specification signal has a voltage range of -9V~+9V, and the RS232 voltage conversion circuit 3 receives and converts the RS232 interface specification signal into a TTL (Transistor-Transistor Logic) voltage signal, but Not limited to this.

該RS485/RS422電壓轉換電路4電連接該RS485/RS422連接器22以接收來自該RS485/RS422連接器22的該RS485/RS422介面規格的訊號,並將該RS485/RS422介面規格的訊號進行電壓轉換以得到一RS485/RS422準位調整信號。The RS485/RS422 voltage conversion circuit 4 is electrically connected to the RS485/RS422 connector 22 to receive the RS485/RS422 interface specification signal from the RS485/RS422 connector 22, and to perform voltage conversion on the RS485/RS422 interface specification signal. To get an RS485/RS422 level adjustment signal.

該RS485/RS422電壓轉換電路4接收並根據一控制訊號切換輸出該RS485/RS422準位調整信號,及該RS485輸出訊號之一。The RS485/RS422 voltage conversion circuit 4 receives and outputs the RS485/RS422 level adjustment signal and one of the RS485 output signals according to a control signal.

於本實施例中,該RS485/RS422介面規格的訊 號的電壓範圍為0~5V,且該RS485/RS422電壓轉換電路4接收該RS485/RS422介面規格的訊號,並將該RS485/RS422介面規格的訊號轉換為TTL(Transistor-Transistor Logic)電壓訊號的形式,但不限於此。In this embodiment, the RS485/RS422 interface specification message The voltage range of the number is 0~5V, and the RS485/RS422 voltage conversion circuit 4 receives the signal of the RS485/RS422 interface specification, and converts the signal of the RS485/RS422 interface specification into a TTL (Transistor-Transistor Logic) voltage signal. Form, but not limited to this.

該RS422電壓轉換電路5電連接該RS485/RS422連接器22,接收並轉換一RS422內部輸出訊號的電壓,並輸出該相對應的RS422輸出訊號至該RS485/RS422連接器22。The RS422 voltage conversion circuit 5 is electrically connected to the RS485/RS422 connector 22, receives and converts a voltage of an RS422 internal output signal, and outputs the corresponding RS422 output signal to the RS485/RS422 connector 22.

於本實施例中,該RS422電壓轉換電路5為三態門晶片(three-state logic),可隔離該RS422輸出訊號及轉換電壓,但不限於此。In this embodiment, the RS422 voltage conversion circuit 5 is a three-state logic, which can isolate the RS422 output signal and the conversion voltage, but is not limited thereto.

參閱圖2及圖3,該自動開關門電路6電連接該RS232電壓轉換電路3、該RS485/RS422電壓轉換電路4及該主機9,且包括一電連接該主機9的輸出端61、一第一二極體62、一第二二極體63,及一電阻64。Referring to FIG. 2 and FIG. 3, the automatic switch gate circuit 6 is electrically connected to the RS232 voltage conversion circuit 3, the RS485/RS422 voltage conversion circuit 4, and the host 9, and includes an output terminal 61 electrically connected to the host 9. A diode 62, a second diode 63, and a resistor 64.

該第一二極體62具有一電連接於該RS232電壓轉換電路3以接收該RS232準位調整信號的陰極,及一陽極。The first diode 62 has a cathode electrically connected to the RS232 voltage conversion circuit 3 to receive the RS232 level adjustment signal, and an anode.

該第二二極體63具有一電連接於該RS485/RS422電壓轉換電路4以接收該RS485/RS422準位調整信號的陰極,及一電連接該第一二極體62之陽極與該輸出端61的陽極。The second diode 63 has a cathode electrically connected to the RS485/RS422 voltage conversion circuit 4 for receiving the RS485/RS422 level adjustment signal, and an anode electrically connected to the first diode 62 and the output end. The anode of 61.

該第一二極體62及第二二極體63分別根據該RS232準位調整信號、該RS485/RS422準位調整信號的準 位大小,而切換於導通與不導通之間,以對應傳遞該RS232準位調整信號、該RS485/RS422準位調整信號至該主機9。The first diode 62 and the second diode 63 are respectively based on the RS232 level adjustment signal and the RS485/RS422 level adjustment signal. The bit size is switched between the conduction and the non-conduction to transmit the RS232 level adjustment signal and the RS485/RS422 level adjustment signal to the host 9.

該電阻64電連接於一電源端65與該第一二極體62的陽極之間。The resistor 64 is electrically connected between a power terminal 65 and an anode of the first diode 62.

該非門電路7電連接該RS422電壓轉換電路5及該主機9,接收一由該主機9輸出的RS422介面輸出訊號,並輸出該相對應的RS422內部輸出訊號至該RS422電壓轉換電路5。於本實施例中,該非門電路7使用非門晶片(inverter chip)實施,但不限於此。The NOT circuit 7 is electrically connected to the RS422 voltage conversion circuit 5 and the host 9, receives an RS422 interface output signal output by the host 9, and outputs the corresponding RS422 internal output signal to the RS422 voltage conversion circuit 5. In the present embodiment, the NOT circuit 7 is implemented using an inverter chip, but is not limited thereto.

該控制電路8電連接該RS485/RS422電壓轉換電路4及該主機9,接收並根據一由該主機9輸出的RS485介面輸出訊號及該RS422介面輸出訊號輸出該控制訊號以控制該RS485/RS422電壓轉換電路4。The control circuit 8 is electrically connected to the RS485/RS422 voltage conversion circuit 4 and the host 9, receives and outputs the control signal according to an RS485 interface output signal output by the host 9 and the RS422 interface output signal to control the RS485/RS422 voltage. Conversion circuit 4.

RS232通訊介面說明:RS232 communication interface description:

當使用者將使用RS232通訊介面的周邊設備連接至該RS232連接器21,並安裝驅動程式後,該驅動程式會自動分配對應的I/O地址和中斷號給該周邊設備。於本實施例中,該I/O地址為3E8,該中斷號為IRQ11,但不限於此。When the user connects the peripheral device using the RS232 communication interface to the RS232 connector 21 and installs the driver, the driver automatically assigns the corresponding I/O address and interrupt number to the peripheral device. In this embodiment, the I/O address is 3E8, and the interrupt number is IRQ11, but is not limited thereto.

此時該RS232介面規格的訊號即經由該RS232電壓轉換電路3轉換電壓為該RS232準位調整信號,再經由該自動開關門電路6的第一二極體62傳送至該主機9,而完成一次數據接收通訊。At this time, the RS232 interface specification signal is converted into the RS232 level adjustment signal via the RS232 voltage conversion circuit 3, and then transmitted to the host 9 via the first diode 62 of the automatic switch gate circuit 6, and is completed once. Data reception communication.

RS485通訊介面說明:RS485 communication interface description:

當使用者將使用RS485通訊介面的周邊設備連接至該RS485/RS422連接器22,並安裝驅動程式後,該驅動程式會自動分配對應的I/O地址和中斷號給該周邊設備。於本實施例中,該I/O地址為3E8,該中斷號為IRQ11,但不限於此。When the user connects the peripheral device using the RS485 communication interface to the RS485/RS422 connector 22 and installs the driver, the driver automatically assigns the corresponding I/O address and interrupt number to the peripheral device. In this embodiment, the I/O address is 3E8, and the interrupt number is IRQ11, but is not limited thereto.

此時該RS485/RS422介面規格的訊號即經由該RS485/RS422電壓轉換電路4轉換電壓為該RS485/RS422準位調整信號,再經由該自動開關門電路6的第二二極體63傳送至該主機9,而完成一次數據接收通訊。At this time, the signal of the RS485/RS422 interface specification is converted into the RS485/RS422 level adjustment signal via the RS485/RS422 voltage conversion circuit 4, and then transmitted to the second diode 63 through the automatic switch gate circuit 6. The host 9 completes a data reception communication.

於傳送通訊時,該主機9輸出該RS485介面輸出訊號,並由該RS485/RS422電壓轉換電路4轉換電壓為該RS485輸出訊號至該RS485/RS422連接器22輸出。When transmitting communication, the host 9 outputs the RS485 interface output signal, and the RS485/RS422 voltage conversion circuit 4 converts the voltage into the RS485 output signal to the RS485/RS422 connector 22 output.

RS422通訊介面說明:RS422 communication interface description:

當使用者將使用RS422通訊介面的周邊設備連接至該RS485/RS422連接器22,並安裝驅動程式後,該驅動程式會自動分配對應的I/O地址和中斷號給該周邊設備。於本實施例中,該I/O地址為3E8,該中斷號為IRQ11,但不限於此。When the user connects the peripheral device using the RS422 communication interface to the RS485/RS422 connector 22 and installs the driver, the driver automatically assigns the corresponding I/O address and interrupt number to the peripheral device. In this embodiment, the I/O address is 3E8, and the interrupt number is IRQ11, but is not limited thereto.

此時該RS485/RS422介面規格的訊號即經由該RS485/RS422電壓轉換電路4轉換電壓為該RS485/RS422準位調整信號,再經由該自動開關門電路6的第二二極體63傳送至該主機9,而完成一次數據接收通訊。At this time, the signal of the RS485/RS422 interface specification is converted into the RS485/RS422 level adjustment signal via the RS485/RS422 voltage conversion circuit 4, and then transmitted to the second diode 63 through the automatic switch gate circuit 6. The host 9 completes a data reception communication.

於傳送通訊時,由於RS422通訊介面使用差分訊號,所以該主機9輸出該RS422介面輸出訊號至該非門 電路7作反相處理為該RS422內部輸出訊號後,再送至該RS422電壓轉換電路5轉換電壓並輸出該RS422輸出訊號至該RS485/RS422連接器22。When transmitting communication, since the RS422 communication interface uses a differential signal, the host 9 outputs the RS422 interface output signal to the NOT gate. The circuit 7 performs the inversion processing to output the signal to the RS422, and then sends the signal to the RS422 voltage conversion circuit 5 to convert the voltage and output the RS422 output signal to the RS485/RS422 connector 22.

值得一提的是,由於本實施利中使用驅動程式作為發起通訊的主動端,因此該RS232連接器21及該RS485/RS422連接器22可以同時連接至不同的周邊設備,當使用者需要選擇RS232、RS485或RS422其中一種通訊介面時,只需要使用相對應的軟體控制即可切換,而在同一個時間區段中,使用者只能選擇RS232、RS485或RS422通訊介面之一,即此三種通訊介面是分時使用,使用者亦可基於該驅動程式再作進一步的應用開發,而能更符合各種不同的使用需求。It is worth mentioning that, since the driver is used as the active end of the initiation communication, the RS232 connector 21 and the RS485/RS422 connector 22 can be simultaneously connected to different peripheral devices, and the user needs to select RS232. When one of the communication interfaces of RS485 or RS422 is used, only the corresponding software control can be used to switch, and in the same time zone, the user can only select one of the RS232, RS485 or RS422 communication interfaces, that is, the three kinds of communication. The interface is time-sharing, and the user can further develop the application based on the driver, which can better meet various usage requirements.

經由以上的說明,可將本實施例的優點歸納如下:Through the above description, the advantages of this embodiment can be summarized as follows:

一、藉由設置該自動開關門電路6,當使用者要切換RS232或是RS485/RS422通訊介面時,只需要使用相對應的軟體即可執行切換,而不需如習知技術要打開機殼調整跳線器才能切換通訊介面,大幅增添了使用上的便利性。1. By setting the automatic switch gate circuit 6, when the user wants to switch the RS232 or RS485/RS422 communication interface, the switch can be performed only by using the corresponding software, without opening the case as in the prior art. Adjusting the jumper can switch the communication interface, which greatly increases the convenience of use.

二、藉由使用RS485/RS422電壓轉換電路4、RS422電壓轉換電路5、該自動開關門電路6、該非門電路7,及該控制電路8替代習知技術中的RS485/RS422轉換晶片及跳線器,可大幅降低元件成本,如本實施例中,每片串口自動切換裝置的主板可因此而節省2.4美金。2. By using RS485/RS422 voltage conversion circuit 4, RS422 voltage conversion circuit 5, the automatic switch gate circuit 6, the non-gate circuit 7, and the control circuit 8 instead of the RS485/RS422 conversion chip and jumper in the prior art. The device can greatly reduce the component cost. For example, in this embodiment, the motherboard of each serial port automatic switching device can save 2.4 dollars.

三、本新型串口自動切換裝置應用範圍廣泛,可應用於嵌入式系統、工業電腦(Industrial PC,簡寫為IPC)、伺服器、及銷售時點情報系統(Point of sales,簡寫為POS)等。Third, the new serial port automatic switching device has a wide range of applications, and can be applied to embedded systems, industrial PCs (IPCs), servers, and point of sales (POS).

綜上所述,本新型不僅具有自動切換通訊介面的功效,還可降低元件成本且應用範圍廣泛,故確實能達成本新型之目的。In summary, the present invention not only has the effect of automatically switching the communication interface, but also reduces the component cost and has a wide range of applications, so that the purpose of the present invention can be achieved.

惟以上所述者,僅為本新型之較佳實施例而已,當不能以此限定本新型實施之範圍,即大凡依本新型申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本新型專利涵蓋之範圍內。However, the above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, that is, the simple equivalent changes and modifications made in accordance with the scope of the present patent application and the contents of the patent specification, All remain within the scope of this new patent.

21‧‧‧RS232連接器21‧‧‧RS232 connector

22‧‧‧RS485/RS422連接器22‧‧‧RS485/RS422 connector

3‧‧‧RS232電壓轉換電路3‧‧‧RS232 voltage conversion circuit

4‧‧‧RS485/RS422電壓轉換電路4‧‧‧RS485/RS422 voltage conversion circuit

5‧‧‧RS422電壓轉換電路5‧‧‧RS422 voltage conversion circuit

6‧‧‧自動開關門電路6‧‧‧Automatic switch gate circuit

7‧‧‧非門電路7‧‧‧Non-gate circuit

8‧‧‧控制電路8‧‧‧Control circuit

9‧‧‧主機9‧‧‧Host

Claims (6)

一種串口自動切換裝置,包含:一RS232連接器,用於連接一具有RS232串列通訊介面的設備,以傳輸一RS232介面規格的訊號;一RS485/RS422連接器,用於連接一具有RS485/RS422串列通訊介面的設備,以傳輸一RS485/RS422介面規格的訊號;一RS232電壓轉換電路,電連接該RS232連接器以接收來自該RS232連接器的該RS232介面規格的訊號,並將該RS232介面規格的訊號進行電壓轉換以得到一RS232準位調整信號;一RS485/RS422電壓轉換電路,電連接該RS485/RS422連接器以接收來自該RS485/RS422連接器的該RS485/RS422介面規格的訊號,並將該RS485/RS422介面規格的訊號進行電壓轉換以得到一RS485/RS422準位調整信號;及一自動開關門電路,包括:一第一二極體,具有一電連接於該RS232電壓轉換電路以接收該RS232準位調整信號的陰極,及一陽極;一第二二極體,具有一電連接於該RS485/RS422電壓轉換電路以接收該RS485/RS422準位 調整信號的陰極,及一電連接於該第一二極體之陽極的陽極;該第一二極體及該第二二極體分別根據該RS232準位調整信號、該RS485/RS422準位調整信號的準位大小,而切換於導通與不導通之間,以對應傳遞該RS232準位調整信號、該RS485/RS422準位調整信號。A serial port automatic switching device comprises: an RS232 connector for connecting a device with an RS232 serial communication interface for transmitting an RS232 interface specification signal; an RS485/RS422 connector for connecting a RS485/RS422 a serial communication interface device for transmitting an RS485/RS422 interface specification signal; an RS232 voltage conversion circuit electrically connecting the RS232 connector to receive the RS232 interface specification signal from the RS232 connector, and the RS232 interface The standard signal is voltage-converted to obtain an RS232 level adjustment signal; an RS485/RS422 voltage conversion circuit is electrically connected to the RS485/RS422 connector to receive the RS485/RS422 interface specification signal from the RS485/RS422 connector. And the RS485/RS422 interface specification signal is voltage-converted to obtain an RS485/RS422 level adjustment signal; and an automatic switch gate circuit includes: a first diode having an electrical connection to the RS232 voltage conversion circuit a cathode for receiving the RS232 level adjustment signal, and an anode; a second diode having an electrical connection to the RS485/RS422 voltage conversion circuit Receiving the RS485 / RS422 level Adjusting a cathode of the signal, and an anode electrically connected to the anode of the first diode; the first diode and the second diode are respectively adjusted according to the RS232 level adjustment signal and the RS485/RS422 level The level of the signal is switched between the conduction and the non-conduction to correspond to the RS232 level adjustment signal and the RS485/RS422 level adjustment signal. 如請求項1所述的串口自動切換裝置,其中,該自動開關門電路更包括:一電阻,電連接於一電源端與該第一二極體的陽極間。The serial port automatic switching device of claim 1, wherein the automatic switch gate circuit further comprises: a resistor electrically connected between a power terminal and the anode of the first diode. 如請求項2所述的串口自動切換裝置,其中,該RS485/RS422電壓轉換電路還接收一RS485介面輸出訊號,並將該RS485介面輸出訊號進行電壓轉換以輸出相對應的一RS485輸出訊號至該RS485/RS422連接器。The serial port automatic switching device of claim 2, wherein the RS485/RS422 voltage conversion circuit further receives an RS485 interface output signal, and performs voltage conversion on the RS485 interface output signal to output a corresponding RS485 output signal to the RS485/RS422 connector. 如請求項3所述的串口自動切換裝置,還包含:一RS422電壓轉換電路,電連接該RS485/RS422連接器;及一非門電路,電連接該RS422電壓轉換電路,接收一RS422介面輸出訊號並輸出一相對應的RS422內部輸出訊號; 該RS422電壓轉換電路接收該RS422內部輸出訊號並將該RS422內部輸出訊號進行電壓轉換以輸出一相對應的RS422輸出訊號至該RS485/RS422連接器。The serial port automatic switching device according to claim 3, further comprising: an RS422 voltage conversion circuit electrically connected to the RS485/RS422 connector; and a non-gate circuit electrically connected to the RS422 voltage conversion circuit to receive an RS422 interface output signal And outputting a corresponding RS422 internal output signal; The RS422 voltage conversion circuit receives the RS422 internal output signal and voltage-converts the RS422 internal output signal to output a corresponding RS422 output signal to the RS485/RS422 connector. 如請求項4所述的串口自動切換裝置,還包含:一電連接該RS485/RS422電壓轉換電路的控制電路,該控制電路接收並根據該RS485介面輸出訊號及RS422介面輸出訊號輸出一控制訊號;該RS485/RS422電壓轉換電路接收並根據該控制訊號切換輸出該RS485/RS422準位調整信號,及該RS485輸出訊號之一。The serial port automatic switching device of claim 4, further comprising: a control circuit electrically connected to the RS485/RS422 voltage conversion circuit, the control circuit receiving and outputting a control signal according to the RS485 interface output signal and the RS422 interface output signal; The RS485/RS422 voltage conversion circuit receives and outputs the RS485/RS422 level adjustment signal according to the control signal, and one of the RS485 output signals. 如請求項4所述的串口自動切換裝置,其中,該RS422電壓轉換電路為三態門晶片。The serial port automatic switching device of claim 4, wherein the RS422 voltage conversion circuit is a three-state gate wafer.
TW102209134U 2013-03-25 2013-05-16 Automatic serial switching device TWM461169U (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201320138624 CN203149564U (en) 2013-03-25 2013-03-25 Serial-port automatic switching device

Publications (1)

Publication Number Publication Date
TWM461169U true TWM461169U (en) 2013-09-01

Family

ID=48977076

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102209134U TWM461169U (en) 2013-03-25 2013-05-16 Automatic serial switching device

Country Status (2)

Country Link
CN (1) CN203149564U (en)
TW (1) TWM461169U (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814214A (en) * 2015-11-30 2017-06-09 江苏中海达海洋信息技术有限公司 A kind of new A DCP digital adaptation custom systems
CN117609144A (en) * 2024-01-23 2024-02-27 深圳市三旺通信股份有限公司 RS485, RS422 and RS232 three-in-one interface multiplexing circuit

Also Published As

Publication number Publication date
CN203149564U (en) 2013-08-21

Similar Documents

Publication Publication Date Title
KR20180050728A (en) Bridging and virtualizing input / output signals on multi-node networks
US20150006919A1 (en) Usb otg device with power mode switch function
WO2018233222A1 (en) Design method and apparatus for self-recognition of m.2 capable of flexibly supporting pcie and sata protocols
US10838900B2 (en) Interfaces switching circuit and device
JP2009009564A (en) Peripheral component interconnect express interface
KR20150120444A (en) Device, method and system for operation of a low power phy with a pcie protocol stack
CN107391419B (en) Support general sequence busbar concentrator of many host computers and automobile-used host computer
CN104142900A (en) Communication interface converting device
TW201443652A (en) Signal switch circuit and PCIE connector assembly including the circuit
TW201723864A (en) Splitter module and transmitting extender having the same
JP2013084266A (en) Server and serial interface switching circuit thereof
TWM461169U (en) Automatic serial switching device
WO2017166672A1 (en) Asynchronous receiver/transmitter and universal serial bus interface multiplexing circuit, and circuit board
KR20050010906A (en) Bus system, station for use in a bus system, and bus interface
RU2675090C2 (en) Mobile computing device and method of transmitting data therefrom
US11308016B2 (en) USB integrated circuit
US20130322455A1 (en) Switch system and method for operating a switch
TW201506643A (en) Motherboard
US20160335212A1 (en) Device for switching between communication modes
US10372645B2 (en) Universal serial bus type C transmission line and transmission device
TWI609270B (en) An automatic interface-changing system
US20120260013A1 (en) KVM switcher (Multi-computer switcher) with integrated parallel transmission, serial peripheral interface and universal serial bus
US20160328306A1 (en) Interface test device
WO2020103099A1 (en) Data processing apparatus
US20140289431A1 (en) Interface apparatus connected with electronic device

Legal Events

Date Code Title Description
MK4K Expiration of patent term of a granted utility model