CN108763133A - A kind of device for realizing the switching of USB interface multi-controller based on FPGA - Google Patents

A kind of device for realizing the switching of USB interface multi-controller based on FPGA Download PDF

Info

Publication number
CN108763133A
CN108763133A CN201810540656.0A CN201810540656A CN108763133A CN 108763133 A CN108763133 A CN 108763133A CN 201810540656 A CN201810540656 A CN 201810540656A CN 108763133 A CN108763133 A CN 108763133A
Authority
CN
China
Prior art keywords
usb
fpga
usb interface
programmable chip
switching
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.)
Pending
Application number
CN201810540656.0A
Other languages
Chinese (zh)
Inventor
上官宇剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810540656.0A priority Critical patent/CN108763133A/en
Publication of CN108763133A publication Critical patent/CN108763133A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

The present invention provides a kind of devices for realizing the switching of USB interface multi-controller based on FPGA, including:Programmable chip FPGA, 5V_USB power supply, switch of power supply output MOSFET, usb interface connector;The programmable chip FPGA includes high speed I/O pin, logic module, ADC pins, communication interface, MCU, GPIO pin.The signal of multiple USB controllers is connect by the present invention with programmable chip FPGA, after electric signal switching inside programmable chip FPGA, it is connect with usb interface connector, the real time monitoring to 5V_USB supply voltages is realized by the ADC pins of programmable chip FPGA.Reduce the quantity that device panel reserves usb interface connector; it realizes to 5V_USB power supply overcurrent protection functions; it solves device panel and reserves the device panel per-interface space arrangement complexity that excessive usb interface connector is brought; practicability reduces, the problem of usb bus design complexity and traditional 5V_USB power supply overcurrent protection function effect differences.

Description

A kind of device for realizing the switching of USB interface multi-controller based on FPGA
Technical field
The present invention relates to signal switching apparatus, especially a kind of dress for realizing the switching of USB interface multi-controller based on FPGA It sets.
Background technology
USB interface is that the equipment such as computer, server and storage array all support general-purpose interface, be frequently used for outside USB Short time low capacity data transmission between if, if system operation daily record is downloaded, the upload of upgrade package.In system debug, also may be used Using as debugging interface.
Computer system supports USB interface at present, is substantially by CPU, PCH or USB HUB chips are directly led out, periphery USB interface and chip USB Port are to correspond, and a controller can correspond to before equipment one or more USB on (rear) panel Standard peripherals interface.But as high-end server or storage array, because performance considers, it will usually there are two, four or More multi-controller (control panel) while concurrent working.Presently most used USB power source overcurrent protection function, mainly will be each USB Host interfaces are equipped with an overcurrent protection OCP PIN pin, which is connected with the 5V_USB on corresponding USB interface (indirectly connected, signal passes through simple process, makes electrical level match), when there is over current fault, which is pulled low, and USB Host are received To warning information, USB interface closing or other protection acts can be carried out.
Excessive USB connector interface is reserved, device panel per-interface space arrangement can be caused complicated, greatly reduce practicality Property, while the problem for bringing usb bus design complicated;Traditional 5V_USB power supply overcurrent protection function effects are poor, need corresponding It improves to provide better 5V_USB power supplys overcurrent protection function.
Invention content
The object of the present invention is to provide a kind of devices for realizing the switching of USB interface multi-controller based on FPGA, it is intended to solve Device panel reserves the device panel per-interface space arrangement complexity that excessive USB connector interface is brought, and practicability reduces, and USB is total The problem of line design complexity and traditional 5V_USB power supply overcurrent protection function effect differences.
To reach above-mentioned technical purpose, the switching of USB interface multi-controller is realized based on FPGA the present invention provides a kind of Device, including:Programmable chip FPGA, 5V_USB power supply, switch of power supply output MOSFET, usb interface connector;It is described to compile Journey chip FPGA includes high speed I/O pin, logic module, ADC pins, communication interface, MCU, GPIO pin.
Preferably, the switch of power supply output MOSFET is connect with programmable chip FPGA, 5V_USB power supply.
Preferably, the 5V_USB power supplys are connect with the usb interface connector.
Preferably, the high speed I/O pin is controlled for the programmable chip FPGA connection usb interface connectors and USB Device.
Preferably, the switching that the MCU connects for realizing the programmable chip FPGA from different USB controllers.
Preferably, the logic module realizes usb interface connector connection acquiescence USB for the programmable chip FPGA Controller.
Preferably, the ADC pins are used for the programmable chip FPGA connections 5V_USB power supplys.
Preferably, OCP of the GPIO pins for the USB Host of the programmable chip FPGA connections USB controller Pin.
Preferably, the communication interface receives system configuration command for the programmable chip FPGA.
The effect provided in invention content is only the effect of embodiment, rather than invents all whole effects, above-mentioned A technical solution in technical solution has the following advantages that or advantageous effect:
Compared with prior art, the signal of multiple USB controllers is connect by the present invention with programmable chip FPGA, by can After programming the electric signal switching of the inside chip FPGA, it is connect with usb interface connector, passes through the ADC pins of programmable chip FPGA Realize the real time monitoring to 5V_USB supply voltages.The quantity that device panel reserves usb interface connector is reduced, is realized pair 5V_USB power supply overcurrent protection functions solve device panel and reserve the device panel interface that excessive usb interface connector is brought Space layout is complicated, and practicability reduces, the complicated and traditional 5V_USB power supply overcurrent protection functions effect difference of usb bus design Problem.
Description of the drawings
Fig. 1 is a kind of device for realizing the switching of USB interface multi-controller based on FPGA provided in the embodiment of the present invention Schematic diagram.
Specific implementation mode
In order to clearly illustrate the technical characterstic of this programme, below by specific implementation mode, and its attached drawing is combined, to this Invention is described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention Structure.In order to simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.In addition, the present invention can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relationship between various embodiments and/or setting is discussed.It should be noted that illustrated component is not necessarily to scale in the accompanying drawings It draws.Present invention omits the descriptions to known assemblies and treatment technology and process to avoid the present invention is unnecessarily limiting.
It is provided for the embodiments of the invention below in conjunction with the accompanying drawings a kind of based on FPGA realization USB interface multi-controller switchings Device be described in detail.
As shown in Figure 1, the embodiment of the invention discloses a kind of dresses for realizing the switching of USB interface multi-controller based on FPGA It sets, including:Programmable chip FPGA, 5V_USB power supply, switch of power supply output MOSFET, usb interface connector;It is described programmable Chip FPGA includes high speed I/O pin, logic module, ADC pins, communication interface, MCU, GPIO pin.
The high speed I/O pin is used for the programmable chip FPGA connections usb interface connector, the high speed I/O pin For the multiple USB controllers of the programmable chip FPGA connections.Realize the programmable chip FPGA and multiple USB controllers And usb interface connector connection.
The switch of power supply output MOSFET is connect with programmable chip FPGA, 5V_USB power supply.After system normally starts, Programmable chip FPGA opens switch of power supply output MOSFET, and 5V_USB power supplys is made to power for usb interface connector.
The logic module realizes usb interface connector connection acquiescence USB controller for the programmable chip FPGA. When programmable chip FPGA starts, the logic module loads default configuration, realizes that usb interface connector acquiescence is controlled with USB Device 1 is connected to.The code of the logic module is accordingly changed and is recompilated and burning, can will acquiescence connection USB controls Device setting processed is revised as being changed to USB controller 2 or other USB controllers.
, it can be achieved that the switching of the USB controller to usb interface connector connection, there are following three kinds of feelings after system starts Condition:
One:Because of USB controller failover.In system operation, the USB controller of usb interface connector connection occurs such as Hang the failures such as dead, controller power down, usb interface connector and the USB controller that currently connect can not normal communication, it is described to compile The current USB controller sequence of connection is switched to next USB controller or switched to by the MCU in journey chip FPGA is The specified USB controller of system.
Two:Management system actively carries out USB controller switching.When system carries out software upgrading, system is tested oneself, it is System needs to operate specific USB controller, and in certain time, this specific USB controller can not communication with the outside world or transmission Data, cause usb interface connector that it is connected can not normal use, the MCU in the programmable chip FPGA will The current USB controller sequence of connection switches to next USB controller or switches to the specified USB controller of system.
Three:User configuration/order switching.User sends out the configuration of switching usb interface connector on system management interface Order, the programmable chip FPGA receive system configuration command by the communication interface, in the programmable chip FPGA The MCU the current USB controller of connection is switched into the USB controller that user specifies.
The ADC pins are used for the programmable chip FPGA connections 5V_USB power supplys, and the GPIO pins are for described The OCP pins of the USB Host of programmable chip FPGA connection USB controllers.
The ADC pins of the programmable chip FPGA as input, for detect 5V_USB power supplys whether occur it is different Often, when input voltage is less than setting thresholding, overcurrent as occurs.The programmable chip FPGA closes switch of power supply output MOSFET prevents failure from causing more serious consequence.Meanwhile the programmable chip FPGA is dragged down accordingly by the GPIO pins USB controller USB Host OCP pins, inform that over current fault occurs in corresponding USB controller usb interface connector, will be right Usb signal temporary close is answered, error of transmission data or failure propagation are prevented.
Each signal of multiple USB controllers is connect by the present invention with programmable chip FPGA, by programmable chip FPGA It after internal electric signal switching, connect with usb interface connector, is realized to 5V_USB by the ADC pins of programmable chip FPGA The real time monitoring of supply voltage.The quantity that device panel reserves usb interface connector is reduced, is realized to 5V_USB power supply mistakes Defencive function is flowed, device panel is solved and reserves the device panel per-interface space arrangement complexity that excessive usb interface connector is brought, Practicability reduces, the problem of usb bus design complexity and traditional 5V_USB power supply overcurrent protection function effect differences.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.

Claims (9)

1. a kind of device for realizing the switching of USB interface multi-controller based on FPGA, which is characterized in that including:Programmable chip FPGA, 5V_USB power supply, switch of power supply output MOSFET, usb interface connector;The programmable chip FPGA includes High-speed I/O Pin, logic module, ADC pins, communication interface, MCU, GPIO pin.
2. a kind of device for being realized the switching of USB interface multi-controller based on FPGA according to claim 1, feature are existed In the switch of power supply output MOSFET is connect with programmable chip FPGA, 5V_USB power supply.
3. a kind of device for being realized the switching of USB interface multi-controller based on FPGA according to claim 1, feature are existed In the 5V_USB power supplys are connect with the usb interface connector.
4. a kind of device for being realized the switching of USB interface multi-controller based on FPGA according to claim 1, feature are existed In the high speed I/O pin is used for the programmable chip FPGA connection usb interface connectors and USB controller.
5. a kind of device for being realized the switching of USB interface multi-controller based on FPGA according to claim 1, feature are existed In the switching that the MCU connects for realizing the programmable chip FPGA from different USB controllers.
6. a kind of device for being realized the switching of USB interface multi-controller based on FPGA according to claim 1, feature are existed In the logic module realizes usb interface connector connection acquiescence USB controller for the programmable chip FPGA.
7. a kind of device for being realized the switching of USB interface multi-controller based on FPGA according to claim 1, feature are existed In the ADC pins are used for the programmable chip FPGA connections 5V_USB power supplys.
8. a kind of device for being realized the switching of USB interface multi-controller based on FPGA according to claim 1, feature are existed In OCP pin of the GPIO pins for the USB Host of the programmable chip FPGA connections USB controller.
9. a kind of device for being realized the switching of USB interface multi-controller based on FPGA according to claim 1, feature are existed In the communication interface receives system configuration command for the programmable chip FPGA.
CN201810540656.0A 2018-05-30 2018-05-30 A kind of device for realizing the switching of USB interface multi-controller based on FPGA Pending CN108763133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810540656.0A CN108763133A (en) 2018-05-30 2018-05-30 A kind of device for realizing the switching of USB interface multi-controller based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810540656.0A CN108763133A (en) 2018-05-30 2018-05-30 A kind of device for realizing the switching of USB interface multi-controller based on FPGA

Publications (1)

Publication Number Publication Date
CN108763133A true CN108763133A (en) 2018-11-06

Family

ID=64004409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810540656.0A Pending CN108763133A (en) 2018-05-30 2018-05-30 A kind of device for realizing the switching of USB interface multi-controller based on FPGA

Country Status (1)

Country Link
CN (1) CN108763133A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201117015A (en) * 2009-11-02 2011-05-16 Asustek Comp Inc USB host controlling apparatus
CN104111910A (en) * 2014-07-18 2014-10-22 山东超越数控电子有限公司 USB interface overload automatic switching method
CN105893295A (en) * 2016-04-22 2016-08-24 福州瑞芯微电子股份有限公司 Multiplexing system based on USB 3.0 port
CN107391405A (en) * 2017-05-15 2017-11-24 联发科技(新加坡)私人有限公司 Usb circuit and USB device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201117015A (en) * 2009-11-02 2011-05-16 Asustek Comp Inc USB host controlling apparatus
CN104111910A (en) * 2014-07-18 2014-10-22 山东超越数控电子有限公司 USB interface overload automatic switching method
CN105893295A (en) * 2016-04-22 2016-08-24 福州瑞芯微电子股份有限公司 Multiplexing system based on USB 3.0 port
CN107391405A (en) * 2017-05-15 2017-11-24 联发科技(新加坡)私人有限公司 Usb circuit and USB device

Similar Documents

Publication Publication Date Title
US11907148B2 (en) OCP adapter card and computer device
CN108519938B (en) Memory chip compatibility test method, system and test host
CN108090006B (en) Method for switching PCIE Switch working mode by one key
CN104657313B (en) Detecting system and method for universal serial bus device
US10528492B2 (en) Circuit, method and apparatus for USB interface sharing
CN209265434U (en) A kind of 8 disk position NVMe hard disk backboards with off-peak electrification function
WO2021051445A1 (en) Ncsi network card power supply system
CN104575342A (en) Integral liquid crystal module testing device
CN213365380U (en) Server mainboard and server
CN105446933A (en) Debugging system and debugging method adopting multi-core processor
WO2020125041A1 (en) Network switching method and device
CN204203971U (en) A kind of credible accounting system
CN109726059A (en) A kind of server test system
CN117290189B (en) Monitoring control system for memory chip CP testing machine
CN108763133A (en) A kind of device for realizing the switching of USB interface multi-controller based on FPGA
CN107153456A (en) OTG connections control method, OTG connection control devices and electronic equipment
CN109144827A (en) A kind of method and system monitoring motherboard power supply and signal condition
CN210328065U (en) Driving system of hard disk signal lamp
CN111596749B (en) PCIE card general power supply and power supply management method
CN204331370U (en) Single Chip Microcomputer (SCM) program cd-rom recorder and system
CN112162894B (en) Chip and debugging subassembly, debug system thereof
US20220164017A1 (en) Product detection device, product detection system and product detection method applied thereto
CN209132718U (en) A kind of power supply jig of standard PCIE subcard and OCP subcard
US11841733B2 (en) Method and system for realizing FPGA server
CN204375388U (en) Integral type liquid crystal module testing device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication