TWI332147B - Uart bridging circuit - Google Patents

Uart bridging circuit Download PDF

Info

Publication number
TWI332147B
TWI332147B TW93140444A TW93140444A TWI332147B TW I332147 B TWI332147 B TW I332147B TW 93140444 A TW93140444 A TW 93140444A TW 93140444 A TW93140444 A TW 93140444A TW I332147 B TWI332147 B TW I332147B
Authority
TW
Taiwan
Prior art keywords
signal
transceiver
universal asynchronous
multiplexer
channel
Prior art date
Application number
TW93140444A
Other languages
Chinese (zh)
Other versions
TW200622649A (en
Inventor
Heng Chen Kuo
Original Assignee
Hon Hai Prec 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW93140444A priority Critical patent/TWI332147B/en
Publication of TW200622649A publication Critical patent/TW200622649A/en
Application granted granted Critical
Publication of TWI332147B publication Critical patent/TWI332147B/en

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Information Transfer Systems (AREA)

Description

1332147 __ 099年08月17j~^E替換頁 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明係關於一種橋接電路,尤其係關於一種共用串列 通道之通用異步收發器(Uni versa 1 Asynchronous ·1332147 __August 2008, 17j~^E replacement page VI, invention description: [Technical field of invention] [0001] The present invention relates to a bridge circuit, and more particularly to a universal asynchronous transceiver (uniform) for a shared serial channel Versa 1 Asynchronous ·

Receiver/Transmitter,以下簡稱UART)橋接電路。 【先前技術】 [0002] 傳統上’實現對UPS(Uni nterrupted Power Supp 1 y, 無間斷電源)之管理有兩種方式:一種方式係利用一部 PC(Personal Computer,個人電腦)透過串列介面與 UPS相連接,在電腦上執行ups管理軟體以實現對ups之 控制’其缺點在於無法實洗擎JfP言乏遠輿^控;另一種方 式則係透過網路利用NMS (Ne」tw〇i:k::Minagement Sys~ tem’網路管理系統)軟體g控支棱sNlbcsimple Network Management Protocol , 簡單網路管理協定) 之 UPS ’該方法可實現對UPS之遠程監控。Receiver/Transmitter, hereinafter referred to as UART) bridge circuit. [Prior Art] [0002] Traditionally, there are two ways to implement management of a UPS (Uni Nternrupted Power Supp I y): one method uses a PC (Personal Computer) through a serial interface. Connected to the UPS, the ups management software is executed on the computer to control the ups. The shortcoming is that it can't be used to control the JFP. The other way is to use the NMS (Ne) tw〇i through the network. :k::Minagement Sys~ tem 'network management system) software g control sNlbcsimple Network Management Protocol, UPS 'This method can realize remote monitoring of UPS.

_3]欲實現UPS之網路管理功能,需要在ups上加裝USHA (UPS SNMP HTTP AGENT)卡。USHA卡係一種UPS網路管 理裝置,其提供了一種簡單 '低成本的UPS網路管理解決 方案β藉由USHA卡’用戶可利用支援SNMP、HT- TP(Hypertext Transferring Protocol,超文件傳 輸協定)以及JAVA之一般瀏覽器或管理軟體透過區域網路 或網際網路管理UPS。 [0004] 一般具備網路管理功能之UPS内部需有兩組串列通道,一 組作為UPS與USHA卡通訊通道,另一組作為pc與ups通訊 通道兼作軔體升級通道;或外加使用串列介面卡共用同 093140444 表單編號A0101 第3頁/共16頁 0993293979-0 1332147 099年08月17日梭正替換頁 —串列通道® [0005] 鹏 > 請參閱第一圖,係一種習知之具備網路管理能力之UPS系 統架構示意圖。該UPS系統包括PC10,串行線纜20、21 以及UPS30,其中PC10包括串列介面110、120。UPS30 包括USHA卡310,UART串列通道320、321,UPS控制板 330以及串列介面410。USHA卡310包括一串列介面400 以及一金手指5 0 0 » PC 1 0之串列介面11 0透過串行線緵20 與USHA卡310之串列介面4〇〇相連接,UPS控制板330透 過UART串列通道320與USHA卡310之金手指500相連接, 該UART串列通道320用於UPS與USHA卡之通訊。PC10之 串列介面120透過串行線纜Z1輿^PS30之举列介面41 0相 連接,串列介面410透過UArr串列通道321與UPS控制板 330相連接’該UART串列通道321用於UPS30與PC10之通 訊,兼作UPS30之韌體升級通道。該方案之缺點在於實現 上述兩種不同運作模式時需要兩組UART串列通道以及兩 條串行線纜。 [0006] 請參閱第二圖’係又一習知之具備網路管理能力之UPS系 統架構示意圖。該UPS系統包括PC10,串行線徵20以及 肝530’其中?(:1〇包括串列介面110。11?830包括11811八卡 310,串列介面卡311以及UART串列通道320。USHA卡 310包括一串列介面400以及一金手指5〇〇,串列介面卡 311包括一串列介面410以及一金手指501。pci〇之串列 介面110透過串行線纜20與USHA卡310之串列介面4〇〇相 連接,UPS控制板330透過UART串列通道32〇與USHA卡 310之金手指500相連接,此時該UART串列通道32〇用於 093140444 表單编號A0101 第4頁/共16頁 0993293979-0 1332147 099年08月17日修正替换頁 UPS與USHA卡之通訊》 [0007] 用戶欲改變UPS30之運作模式,需改變串行線纜20以及 UART串列通道320之連接關係。PC1〇之串列介面u〇透過 串行線纜20與串列介面卡311之串列介面41〇相連接, UPS控制板330透過UART串列通道320與串列介面卡311 之金手指501相連接’此時該uart串列通道320用於 UPS30與PC10之通訊,兼作UPS30之韌體升級通道。該方 案USHA卡以及串列介面卡共用一组UART串列通道以及一 條串行線纜即可實現上述兩種不同運作模式。然而,其 需要增加額外的串列介面卡311來實現pC1〇與UPS30之通 訊,顯然增加了成本。 ;{.二…· . c·- -;.*>_ [0008] 可見,提供一種可實現多種運作模·式,.共用4.UART串列通 道而無需額外之串列介面卡之橋接電路實為必要。 【發明内容】 [0009] [0010] 093140444 本發明之主要目的在於提供一種以^橋接電路,在僅使 用一組UART串列通道之狀况下即可實覌多種運作模式, 同時無需額外之串列介面卡。 本發明所提供之UART橋接電路係在原有之USHA卡中增加 一組多工器以及一指撥開關,使用指撥開關來選擇USHA 卡運作模式。該電路包括:一串列介面,二收發器,二 多工器,一CPU ’ 一指撥開關以及一金手指。其中,每一 多工器均包括二訊號通道以及一控制槔。CPU包括二個 UART ’多工器分別連接於UART與收發器之間。指撥開關 具有兩種不同之狀態“ON”以及“〇FF” ,分別對應 USHA卡兩種不同運作模式:ON為兩個UART通道橋接模式 表單編號A0101 第5頁/共16頁 0993293979-0 1332147 099年08月17日修正脊换頁 ’ 〇FF為兩個UART通道獨立模式。當改變指撥開關狀態時 ’則CPU依據該狀態改變輸出一控制訊號到多工器之控制 辞· ’多工器依據該控制訊號切換兩個UART訊號通道實現 電路橋接或獨立。 [0011] 本發明之橋接裝置使用指撥開關切換運作模式,使得各 運作模式可共用同一UART串列通道,而不需額外增加之 串行線境或串列介面卡,從而有效降低成本。 【實施方式】 [0012] 請參閱第三圖,係包含本發明UART橋接電路之UPS系統架 構示意圖。該UPS系統包括:一PC(Personal Computer .«..f ...Γ ... > ’個人電腦)10、一串行線纜fo以及一 ΐ ,. ...: UPS(Uninterrupted Power Supply ν 無間斷電源)30 °其中,?(:10包括一串列介面11〇,肝330包括一 USHACUPS SNMP HTTP AGENT)卡310、一 UART(Universal Asynchronous Receiver/_3] To implement the network management function of UPS, you need to install the USHA (UPS SNMP HTTP AGENT) card on the ups. The USHA card is a UPS network management device that provides a simple 'low-cost UPS network management solution. β is available through the USHA card. Users can support SNMP, HT-TP (Hypertext Transferring Protocol). And JAVA's general browser or management software manages UPS through the local area network or the Internet. [0004] Generally, a UPS with network management function needs to have two serial channels, one is used as a communication channel between the UPS and the USHA card, and the other is used as a PC and ups communication channel as a firmware upgrade channel; or an external serial port is used. Interface card sharing with 093140444 Form No. A0101 Page 3 / Total 16 pages 0993293979-0 1332147 August 17th, 2017 Shuttle replacement page - Tandem channel ® [0005] Peng > Refer to the first figure, is a known Schematic diagram of the UPS system architecture with network management capabilities. The UPS system includes a PC 10, serial cables 20, 21, and a UPS 30, wherein the PC 10 includes a serial interface 110, 120. The UPS 30 includes a USHA card 310, UART serial channels 320, 321, a UPS control board 330, and a serial interface 410. The USHA card 310 includes a serial interface 400 and a serial interface 100 of the Golden Finger 500 0 PC 0 0 is connected to the serial interface 4 of the USHA card 310 through the serial cable 20, and the UPS control board 330 The UART serial channel 320 is connected to the golden finger 500 of the USHA card 310 through the UART serial channel 320. The UART serial channel 320 is used for communication between the UPS and the USHA card. The serial interface 120 of the PC 10 is connected through the serial interface 41 0 of the serial cable Z1舆PS30, and the serial interface 410 is connected to the UPS control board 330 through the UArr serial channel 321 'The UART serial channel 321 is used for The communication between UPS30 and PC10 also serves as the firmware upgrade channel for UPS30. The disadvantage of this solution is that two sets of UART serial channels and two serial cables are required to implement the above two different modes of operation. [0006] Please refer to the second figure, which is a schematic diagram of another well-known UPS system architecture with network management capabilities. The UPS system includes PC10, serial line 20 and liver 530'. (:1 includes a serial interface 110. 11?830 includes 11811 eight cards 310, a serial interface card 311, and a UART serial channel 320. The USHA card 310 includes a serial interface 400 and a golden finger 5〇〇, a series The interface card 311 includes a serial interface 410 and a gold finger 501. The serial interface 110 of the pci is connected to the serial interface 4 of the USHA card 310 through the serial cable 20, and the UPS control board 330 is transmitted through the UART serial The channel 32 is connected to the golden finger 500 of the USHA card 310. At this time, the UART serial channel 32 is used for 093140444. Form number A0101 Page 4 / Total 16 pages 0993293979-0 1332147 Correction replacement page on August 17, 099 Communication between UPS and USHA Card [0007] The user wants to change the operation mode of UPS30, and needs to change the connection relationship between serial cable 20 and UART serial channel 320. The serial interface of PC1 is transmitted through serial cable 20 The serial interface 41 of the serial interface card 311 is connected, and the UPS control board 330 is connected to the golden finger 501 of the serial interface card 311 through the UART serial channel 320. At this time, the uart serial channel 320 is used for the UPS 30 and the PC 10 The communication, which also serves as the firmware upgrade channel for UPS30. The USHA card and serial The face card shares a set of UART serial channels and a serial cable to achieve the above two different modes of operation. However, it requires an additional serial interface card 311 to achieve pC1〇 communication with the UPS30, which obviously increases the cost. ;{.二...· . c·- -;.*>_ [0008] It can be seen that a variety of operational modes can be implemented, sharing the 4.UART serial channel without the need for an additional serial interface card. The bridging circuit is necessary. [0009] [0010] 093140444 The main purpose of the present invention is to provide a bridge circuit that can implement multiple operating modes in a single UART serial channel. There is no need for an additional serial interface card. The UART bridge circuit provided by the present invention adds a set of multiplexers and a dip switch to the original USHA card, and uses a dip switch to select the USHA card operating mode. The circuit includes: A serial interface, two transceivers, two multiplexers, a CPU 'one finger switch and one gold finger. Each of the multiplexers includes two signal channels and one control port. The CPU includes two UARTs. Device Connected between the UART and the transceiver respectively. The dip switch has two different states "ON" and "〇FF", which correspond to two different operating modes of the USHA card: ON is two UART channel bridge mode form number A0101 5 Page / A total of 16 pages 0993293979-0 1332147 099 August 17, revised ridges page ' FF for two UART channel independent mode. When the state of the dip switch is changed, the CPU changes the control signal output to the multiplexer according to the state. The multiplexer switches the two UART signal channels according to the control signal to implement circuit bridging or independence. [0011] The bridging device of the present invention uses a dip switch to switch modes of operation so that each operating mode can share the same UART serial channel without additional serial or serial interface cards, thereby effectively reducing costs. [Embodiment] [0012] Please refer to the third figure, which is a schematic diagram of a UPS system architecture including the UART bridge circuit of the present invention. The UPS system includes: a PC (Personal Computer. «..f ... Γ ... > 'personal computer) 10, a serial cable fo and a ΐ, ...: UPS (Uninterrupted Power Supply) ν Uninterruptible power supply) 30 °,? (:10 includes a serial interface 11〇, liver 330 includes a USHACUPS SNMP HTTP AGENT) card 310, a UART (Universal Asynchronous Receiver/

Transmitter,通用異步收聲器)串列通道320以及一 UPS控制板330。USHA卡310包括一串列介面400以及一 金手指900。PC10之串列介面11〇透過串行線纜2〇與 USHA卡310之串列介面400相連接,UPS控制板330透過 UART串列通道320與USHA卡310之金手指900相連接。 [0013] 該UPS系統中 ’ UPS30與PC10之通訊UPS30與USHA卡310 之通訊共用同一串列通道,使用指撥開關選擇運作模式 ,不需兩組串列通道與額外增加之串列介面卡與串行線 纜。 請參閱第四圖,係包含本發明(JART橋接電路之USHA卡架 093140444 表單编號A0101 第6頁/共16頁 nqc [0014] 1332147 099年08月17日後正替換頁 構示意圖。USHA卡310包括:串列介面400 ’收發器510 、520,多工器 610、620,CPU(Central Processing Unit,中央處理單元)700,指撥開關800以及金手指900 。其中,收發器510包括一接收器511以及一發送器512 ,收發器520包括一接收器521以及一發送器522,上述 每一接收器及發送器均包括一訊號輸入埠以及一訊號輸 出埠。多工器610包括一訊號輸出埠61〇a,二訊號輸入埠 610b、610c ’以及一控制埠611 ;其中訊號輸出埠610a 與訊號輸入埠610b間形成一訊號通道610ab,訊號輸出 埠610a與訊號輸入埠610c間形成一訊號通道610ac。多 工器620包括一訊號輸出埠犯aa,二訊號輸入埠620b、 620c ’以及一控制埠621 中訊號輸出埠:620a與訊號 輸入埠620b間形成一訊號通道620ab,訊號輸出埠620a 與訊號輸入埠620c間形成一訊號通道620ac。CPU700包 括二UART710、720以及一PI〇(Programmable Input Output ’可編程輸入輸出)單元730,上述每一UART均包 含一訊號輸入埠以及一訊號輸出埠。 [0015] 串列介面400與PC10之串列介面11〇透過串行線纜20相連 接。收發器510之接收器511之訊號輸入埠與串列介面 400相連接,訊號輸出埠與UART710之訊號輸入埠以及多 工器620之訊號輸入埠620b相連接;收發器510之發送器 512之訊號輸出埠與串列介面400相連接,訊號輸入埠與 多工器610之訊號輸出埠6i〇a相連接。多工器61〇之訊號 輪入蟑61〇c與UART710之訊號輸出埠相連接。收發器520 之接收器521之訊號輸入埠與金手指900相連接,訊號輸 093140444 表單編號A0101 第7頁/共16頁 0993293979-0 1332147 099年08月17日修正脊换頁 出璋與UART720之訊號輸入埠以及多工器61〇之訊號輸入 槔610b相連接;收發器520之發送器522之訊號輸出槔與 金手指900相連接’訊號輸入埠與多工器62〇之訊號輸出 槔620a相連接。多工器620之訊號輸入埠620c與 UART720之訊號輸出埠相連接。CPU700之PIO單元730與 指撥開關800相連接,多工器610、620之控制槔611、 621與CPU700之PIO單元730相連接。金手指900與UPS控 制板330透過UART串列通道330相連接。 [0016]請參閱第五圖’係本發明UART橋接電路運作模式表。指 撥開關800具有兩種不同之狀態“〇fF”以及“ON” ,分 別對應USHA卡兩種不同運作模式:UA|T通道獨立模式以 及UART通道橋接模式^ USHA卡平時運作於UART通道獨立 模式,指撥開關800處於“OFF”狀態。此時,多工器 610之訊號通道610ac處於導通態,訊號通道6l〇ab處於 截止態;而多工器620之訊號通道620ac處於導通態,訊 號通道62Oab處於截止態。從而收發器51〇可透過多工器 610之訊號通道610ac接收UART710輸出之資訊,藉此實 現PC10與USHA卡310之通訊;而收發器520可透過多工器 620之訊號通道620ac接收UART720輸出之資訊,藉此實 現UPS控制板330與USHA卡310之通訊。 [0017]用戶想要使USHA卡310運作於UART通道橋接模式,只需 按下指撥開關800使其狀態切換為“on” 。此時,與指撥 開關800相連接之PI0單元730依據指撥開關80 0之狀態改 變輸出一控制訊號“ON”到多工器610、620之控制埠 611、621。多工器61〇依據該控制訊號“on”切換訊號 093140444 表單編號A0101 第8頁/共16頁 0993293979-0 1332147 099年 08月 通道,使訊號通道6i〇ac變為截止態,使訊號通道61〇ab 變為導通態;而多工器620依據該控制訊號使訊號通道 620ac變為截止態,使訊號通道620ab變為導通態。從而 收發器510、520玎透過多工器610之訊號通道61〇ab以及 · 多工器620之訊號通道62〇ab實現通訊,藉此實現PCl〇與 UPS控制板330之通訊。另,由於收發器510、520之接收 器511、521並未與所對應之1^Μ710、720斷開,因而 在穿透模式下UART710、720依然可透過其況號輸入棒接 收收發器510、520輸出之資訊,藉此CPU700依然可監控 PC10與UPS30之狀態。 [0018] 用戶想要使USHA卡31 〇重新:澤作网通道獨立模式, t -·Λ: '·.. *<!' 僅需按下指撥開關800使其狀^重、浙切換為“〇FF” 》此 時,與指撥開關800相連接之PI0單元730依據指撥開關 800之狀態改變輸出另一控制訊號“OFF”到多工器61〇 、620之控制埠611、621。多工器610、620依據該控制 訊號“OFF”切換其訊號通道使USHA卡310重新運作於 UART通道獨立模式。 [0019] 在本實施例中,本發明之UART橋接電路應用於一USHA卡 中,然,實際應用中凡具有兩個UART以及兩個UART需要 相互橋接之處,皆可以利用本發明之UART橋接電路。 [0020] 综上所述,本發明符合發明專利要件,悉依法提出專利 申請。惟,以上所述者僅為本發明之較佳實施例,舉凡 熟悉本案技藝之人士,在援依本案發明精神所作之等效 修飾或變化,皆應包含於以下之申請專利範圍内》 【圖式簡單說明】 表單編號A0101 093140444 第9頁/共16頁 0993293979-0 1332147 099年08月17日按正替换頁 [0021] 第一圖係習知之具備網路管理能力之UPS系統架構示意圖 〇 [0022] 第二圖係另一習知之具備網路管理能力之U P S系統架構示 • 意圖。 [0023] 第三圖係包含本發明U A R T橋接電路之U P S系統架構示意圖 〇 [0024] 第四圖係本發明UART橋接電路示意圖。 [0025] 第五圖係本發明UART橋接電路運作模式表 【主要元件符號說明】 [0026] PC 10 ' [0027] 串列介面 110、120、400、410 [0028] 串行線纜20、21 [0029] UPS 30 [0030] USHA卡 310 [0031] 串列介面卡311 [0032] UART串列通道320、321 [0033] UPS控制板330 [0034] 收發器510、520 [0035] 接收器511、521 [0036] 發送器512、522 [0037] 多工器610、620 表單編號A0101 第10頁/共16頁 093140444 0993293979-0 1332147 [0038] 控制埠 611、621 [0039] 訊號輸出埠610a、620a [0040] 訊號輸入埠 610b、61 0c、620b、 [0041] 訊號通道 610ab、610ac、620ab [0042] CPU 700 [0043] UART 710、720 [0044] PIO單元 730 [0045] 指撥開關80 0 ... χ-··' - J ' [0046] 金手指 900、500、501 099年08月17日核正替換頁 620c 、620acTransmitter, universal asynchronous microphone) tandem channel 320 and a UPS control board 330. The USHA card 310 includes a serial interface 400 and a gold finger 900. The serial interface 11 of the PC 10 is connected to the serial interface 400 of the USHA card 310 through the serial cable 2, and the UPS control board 330 is connected to the golden finger 900 of the USHA card 310 through the UART serial channel 320. [0013] In the UPS system, the communication between the UPS30 and the PC10, the communication between the UPS30 and the USHA card 310, shares the same serial channel, and uses the dip switch to select the operation mode, and does not require two sets of serial channels and an additional serial interface card and string. Line cable. Please refer to the fourth figure, which is a schematic diagram of the replacement of the USHA card 310. The USHA card holder 093140444 of the JART bridge circuit form number A0101 page 6 / page 16 nqc [0014] 1332147. The device includes: a serial interface 400' transceiver 510, 520, a multiplexer 610, 620, a CPU (Central Processing Unit) 700, a dip switch 800, and a gold finger 900. The transceiver 510 includes a receiver 511. And a transmitter 512, the transceiver 520 includes a receiver 521 and a transmitter 522. Each of the receivers and transmitters includes a signal input port and a signal output port. The multiplexer 610 includes a signal output port 61. 〇a, two signal input ports 610b, 610c' and a control port 611; wherein a signal channel 610ab is formed between the signal output port 610a and the signal input port 610b, and a signal channel 610ac is formed between the signal output port 610a and the signal input port 610c. The multiplexer 620 includes a signal output aa aa, two signal inputs 埠 620b, 620c ' and a control 埠 621 signal output 埠: 620a and the signal input 埠 620b form a signal channel 620 Ab, the signal output 埠620a forms a signal channel 620ac with the signal input port 620c. The CPU 700 includes two UARTs 710 and 720 and a PI (Programmable Input Output) unit 730, each of which includes a signal input.串 and a signal output port. [0015] The serial interface 400 is connected to the serial interface 11 of the PC 10 via the serial cable 20. The signal input 接收 of the receiver 511 of the transceiver 510 is connected to the serial interface 400. The signal output port is connected to the signal input port of the UART 710 and the signal input port 620b of the multiplexer 620; the signal output port of the transmitter 512 of the transceiver 510 is connected to the serial interface 400, and the signal input port and the multiplexer 610 are connected. The signal output 埠6i〇a is connected. The multiplexer 61〇 signal wheel 蟑61〇c is connected to the signal output UART of the UART 710. The signal input 接收 of the receiver 521 of the transceiver 520 is connected with the gold finger 900, the signal Lose 093140444 Form No. A0101 Page 7 / Total 16 Page 0993293979-0 1332147 On August 17th, 999, the modified ridge page is connected to the signal input of UART720 and the signal input 槔 610b of multiplexer 61〇. The signal output 发送 of the transmitter 522 of the transceiver 520 is connected to the gold finger 900. The signal input port is connected to the signal output 槔 620a of the multiplexer 62〇. The signal input 620c of the multiplexer 620 is connected to the signal output UART of the UART 720. The PIO unit 730 of the CPU 700 is connected to the dip switch 800, and the control ports 611, 621 of the multiplexers 610, 620 are connected to the PIO unit 730 of the CPU 700. The gold finger 900 is connected to the UPS control board 330 through the UART serial channel 330. [0016] Please refer to the fifth figure, which is a UART bridge circuit operation mode table of the present invention. The dip switch 800 has two different states "〇fF" and "ON", which respectively correspond to two different operation modes of the USHA card: UA|T channel independent mode and UART channel bridging mode ^ USHA card usually operates in UART channel independent mode, The dip switch 800 is in the "OFF" state. At this time, the signal channel 610ac of the multiplexer 610 is in an on state, and the signal channel 6l〇ab is in an off state; the signal channel 620ac of the multiplexer 620 is in an on state, and the signal channel 62Oab is in an off state. Therefore, the transceiver 51 can receive the information output by the UART 710 through the signal channel 610ac of the multiplexer 610, thereby implementing communication between the PC 10 and the USHA card 310, and the transceiver 520 can receive the UART 720 output through the signal channel 620ac of the multiplexer 620. Information, thereby enabling communication between the UPS control board 330 and the USHA card 310. [0017] The user wants to operate the USHA card 310 in the UART channel bridge mode by simply pressing the dip switch 800 to toggle its state to "on". At this time, the PI0 unit 730 connected to the dip switch 800 changes the output control signal "ON" to the control 611 611, 621 of the multiplexers 610, 620 according to the state of the dip switch 80 0 . The multiplexer 61 switches the signal 093140444 according to the control signal "on". Form No. A0101 Page 8 / Total 16 pages 0993293979-0 1332147 The channel of August 2008, the signal channel 6i 〇 ac becomes the off state, so that the signal channel 61 〇ab becomes an on state; and the multiplexer 620 turns the signal channel 620ac into an off state according to the control signal, so that the signal channel 620ab becomes an on state. Therefore, the transceivers 510 and 520 communicate with each other through the signal channel 61〇ab of the multiplexer 610 and the signal channel 62〇ab of the multiplexer 620, thereby realizing communication between the PC1 and the UPS control board 330. In addition, since the receivers 511 and 521 of the transceivers 510 and 520 are not disconnected from the corresponding receivers 710 and 720, the UARTs 710 and 720 can still receive the transceiver 510 through the status indicator input bar in the penetration mode. The 520 outputs information so that the CPU 700 can still monitor the status of the PC 10 and the UPS 30. [0018] The user wants to make the USHA card 31 〇: Zewei network channel independent mode, t -·Λ: '·.. *<!' only need to press the dial switch 800 to make the shape of the key, Zhejiang switch to At this time, the PI0 unit 730 connected to the dip switch 800 changes another control signal "OFF" to the control 埠 611, 621 of the multiplexer 61 〇, 620 according to the state of the dip switch 800. The multiplexers 610, 620 switch their signal channels according to the control signal "OFF" to re-operate the USHA card 310 in the UART channel independent mode. [0019] In this embodiment, the UART bridge circuit of the present invention is applied to a USHA card. However, in the actual application, where there are two UARTs and two UARTs need to be bridged with each other, the UART bridge of the present invention can be utilized. Circuit. [0020] In summary, the present invention complies with the requirements of the invention patent, and is known to file a patent application according to law. However, the above description is only a preferred embodiment of the present invention, and those skilled in the art will be able to include equivalent modifications or variations in the spirit of the invention as set forth in the following claims. Simple description] Form No. A0101 093140444 Page 9 / Total 16 Page 0993293979-0 1332147 On August 17th, 2009, press the replacement page [0021] The first picture is a schematic diagram of the UPS system architecture with network management capabilities. 0022] The second diagram is another conventional UPS system architecture with network management capabilities. [0023] The third figure is a schematic diagram of a U P S system architecture including the U A R T bridge circuit of the present invention. [0024] The fourth figure is a schematic diagram of the UART bridge circuit of the present invention. [0025] FIG. 5 is a UART bridge circuit operation mode table of the present invention [Main component symbol description] [0026] PC 10 '[0027] Serial interface 110, 120, 400, 410 [0028] Serial cable 20, 21 [0029] UPS 30 [0030] USHA Card 310 [0031] Serial Interface Card 311 [0032] UART Serial Channels 320, 321 [0033] UPS Control Board 330 [0034] Transceivers 510, 520 [0035] Receiver 511 521 [0036] Transmitter 512, 522 [0037] multiplexer 610, 620 Form No. A0101 Page 10 / Total 16 pages 093140444 0993293979-0 1332147 [0038] Control 埠 611, 621 [0039] Signal output 埠 610a, 620a [0040] Signal input 埠 610b, 61 0c, 620b, [0041] Signal channel 610ab, 610ac, 620ab [0042] CPU 700 [0043] UART 710, 720 [0044] PIO unit 730 [0045] DIP switch 80 0 . .. χ-··' - J ' [0046] Goldfinger 900, 500, 501 August 17, 099 nuclear replacement page 620c, 620ac

093140444 表單編號A0101 第11頁/共16頁 0993293979-0093140444 Form No. A0101 Page 11 of 16 0993293979-0

Claims (1)

1332147 099年08月17日梭正替換頁 七、申請專利範圍: 1 . 一種通用異步收發器橋接電路,其包括: 一開關,用於切換通用異步收發器橋接電路之運作模式; ’ 一中央處理單元,其包括: • 一第一通用異步收發器與一第二通用異步收發器,每一通 用異步收發器包含一訊號輸入埠以及一訊號輸出埠,以及 一可編程輸入輸出單元,其與開關相連接,用於依據開關 之狀態輸出控制訊號; 一第一多工器與一第二多工器,該第一多工器與該第一通 用異步收發器之訊號輸出埠相連接,該第二多工器與該第 二通用異步收發器之訊號輸出埠相連接,每一多工器包括 一第一訊號通道, , 一第二訊號通道,以及 一控制埠,其與中央處理單元之可編程輸入輸出單元相連 接,用於依據可編程輸入輸出單元輸出之控制訊號在第一 訊號通道與第二訊號通道間切換;以及 一第一收發器與一第二收發器,每一收發器包括一接收器 與一發送器,其中第一收發器之接收器之訊號輸出埠與第 一通用異步收發器之訊號輸入埠以及第二多工器之訊號輸 入埠相連接,第一收發器之發送器之訊號輸入埠與第一多 工器之訊號輸出埠相連接;第二收發器之接收器之訊號輸 出埠與第二通用異步收發器之訊號輸入埠以及第一多工器 之訊號輸入埠相連接,第二收發器之發送器之訊號輸入埠 與第二多工器之訊號輸出埠相連接。 093140444 表單編號A0101 第12頁/共16頁 0993293979-0 1332147 099年08月17日修正替換頁 2 .如申請專利範圍第1項所述之通用異步收發器橋接電路, 其進一步包括一與第一收發器通訊連接之第一串列介面。 3 .如申請專利範圍第2項所述之通用異步收發器橋接電路, 其進一步包括一與第二收發器通訊連接之第二串列介面。 4.如申請專利範圍第1項所述之通用異步收發器橋接電路, 其中開關為指撥開關。 5 .如申請專利範圍第4項所述之通用異步收發器橋接電路, 其中指撥開關具有第一狀態與第二狀態。 6 .如申請專利範圍第5項所述之通用異步收發器橋接電路, 其中可編程輸入輸出單元依據指撥開關之第一狀態輸出第 一控制訊號。 ;… ;·; - η·» ν 7 .如申請專利範圍第6項所述之$用異步收發橋接電路, 其中該第一及第二多工器依^第一控制訊號4導通其第一訊 號通道。 8.如申請專利範圍第5項所述之通用異步收發器橋接電路, 其中可編程輸入輸出單元依據指撥開關之第二狀態輸出第 二控制訊號。 9 .如申請專利範圍第8項所述之通用異步收發器橋接電路, 其中所述第一及第二多工器依據第二控制訊號導通其第二 訊號通道。 093140444 表單編號A0101 第13頁/共16頁 0993293979-01332147 On August 17, 099, the shuttle is being replaced. 7. Patent application scope: 1. A universal asynchronous transceiver bridge circuit, comprising: a switch for switching the operation mode of the universal asynchronous transceiver bridge circuit; The unit includes: a first universal asynchronous transceiver and a second universal asynchronous transceiver, each universal asynchronous transceiver including a signal input port and a signal output port, and a programmable input and output unit, and the switch Connected to output a control signal according to the state of the switch; a first multiplexer and a second multiplexer, the first multiplexer being connected to the signal output 该 of the first universal asynchronous transceiver, the first The second multiplexer is connected to the signal output port of the second universal asynchronous transceiver. Each multiplexer includes a first signal channel, a second signal channel, and a control port, which is compatible with the central processing unit. The programming input and output unit is connected to switch between the first signal channel and the second signal channel according to the control signal output by the programmable input/output unit And a first transceiver and a second transceiver, each transceiver comprising a receiver and a transmitter, wherein the signal output of the receiver of the first transceiver is coupled to the signal input of the first universal asynchronous transceiver The signal input of the second multiplexer is connected, the signal input of the transmitter of the first transceiver is connected to the signal output 第一 of the first multiplexer; the signal output of the receiver of the second transceiver is 埠 and the second The signal input port of the universal asynchronous transceiver is connected to the signal input port of the first multiplexer, and the signal input port of the transmitter of the second transceiver is connected to the signal output port of the second multiplexer. 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 The first serial interface of the transceiver communication connection. 3. The universal asynchronous transceiver bridge circuit of claim 2, further comprising a second serial interface communicatively coupled to the second transceiver. 4. The universal asynchronous transceiver bridge circuit according to claim 1, wherein the switch is a finger switch. 5. The universal asynchronous transceiver bridge circuit of claim 4, wherein the dip switch has a first state and a second state. 6. The universal asynchronous transceiver bridge circuit of claim 5, wherein the programmable input/output unit outputs the first control signal according to the first state of the finger switch. ;; ;;; - η·» ν 7. The asynchronous transmitting and receiving bridge circuit according to claim 6, wherein the first and second multiplexers are turned on by the first control signal 4 Signal channel. 8. The universal asynchronous transceiver bridge circuit of claim 5, wherein the programmable input/output unit outputs the second control signal according to the second state of the finger switch. 9. The universal asynchronous transceiver bridge circuit of claim 8, wherein the first and second multiplexers turn on their second signal channel according to the second control signal. 093140444 Form No. A0101 Page 13 of 16 0993293979-0
TW93140444A 2004-12-24 2004-12-24 Uart bridging circuit TWI332147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93140444A TWI332147B (en) 2004-12-24 2004-12-24 Uart bridging circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93140444A TWI332147B (en) 2004-12-24 2004-12-24 Uart bridging circuit

Publications (2)

Publication Number Publication Date
TW200622649A TW200622649A (en) 2006-07-01
TWI332147B true TWI332147B (en) 2010-10-21

Family

ID=45074696

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93140444A TWI332147B (en) 2004-12-24 2004-12-24 Uart bridging circuit

Country Status (1)

Country Link
TW (1) TWI332147B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7802044B2 (en) * 2008-12-24 2010-09-21 Mediatek Inc. Pin sharing device and method thereof for a universal asynchronous receiver/transmitter module and a universal serial bus module

Also Published As

Publication number Publication date
TW200622649A (en) 2006-07-01

Similar Documents

Publication Publication Date Title
US7721028B2 (en) Keyboard video mouse (KVM) switch between plurality of internal USB hubs each associated with plurality of audio codecs connected to the downstream port of associated USB hub
US7398336B2 (en) Switching device for RS-232 serial port and USB serial port
US20090296723A1 (en) Multi-computer switch with function of transmitting data between computers
US20030110328A1 (en) Computer and computer system having security features
TW200839525A (en) UART interface communicating circuit
US7724675B2 (en) USHA card and UPS system incorporating the same
JP2007286978A (en) Electronic apparatus, and its control method and program for data transfer, and data transfer system
CN101354614A (en) Resource sharing apparatus and control method thereof
US20090044028A1 (en) Portable computer with shared hardware resources
CN106844277B (en) Server and information transmission method thereof
CN105703935B (en) Tool automatically switches the server system of shared network function
TWI332147B (en) Uart bridging circuit
US8214565B2 (en) Communication apparatus, KVM switch and communication control method
CN110750475A (en) Method and device for sharing one physical serial port by multiple CPUs, embedded equipment and medium
US8560740B2 (en) Keyboard equipped with switching interfaces
CN107402898B (en) Information processing method and electronic equipment
KR100256660B1 (en) Method for inputting keys by use of keyboard of pc in pda
KR20100115051A (en) Network switchover device and multi-user system using the same
CN204833169U (en) KVM switches board, KVM switches equipment and notebook computer
CN200980133Y (en) A hidden communication interface circuit and television with such interface
TWI570657B (en) Telehealth care system
US20060164381A1 (en) Reversible laptop computers
CN210954980U (en) Keyboard device with KVM
TWM633501U (en) Usb control device
KR20020047708A (en) Computer system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees