CN1291746A - Universal processor for serial bus fault-to/erant system - Google Patents

Universal processor for serial bus fault-to/erant system Download PDF

Info

Publication number
CN1291746A
CN1291746A CN 99118940 CN99118940A CN1291746A CN 1291746 A CN1291746 A CN 1291746A CN 99118940 CN99118940 CN 99118940 CN 99118940 A CN99118940 A CN 99118940A CN 1291746 A CN1291746 A CN 1291746A
Authority
CN
China
Prior art keywords
serial bus
fault
data
controller
erant
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
CN 99118940
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 99118940 priority Critical patent/CN1291746A/en
Publication of CN1291746A publication Critical patent/CN1291746A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A universal processor for serial bus fault-tolerant system is composed of at least one serial bus controller and one automatic logic switching controller, which is connected with over-current signal pin, information channel control pin and information output pin of serial bus controller and has several pairs of serial bus information output pins for respectively connecting to a pair of serial bus terminals. When any terminal is use is in failure or exception state, the controller can count its time and failure times. If the failure can not be debugged, it can be automatically switched to another terminal.

Description

Universal processor for serial bus fault-to/erant system
The present invention relates to a kind of universal processor for serial bus fault-to/erant system, the serial bus data line that can automatically switch when particularly being applied to computer serial bus data transmission control and fault links the treating apparatus of passage output.
Computer is the main axle center that present standing is handled, managed or control, in computer architecture, except the central processing unit that is used for computing and execution command, less important structure and device then are in order to the computer peripheral device as input and output, as keyboard (KEYBOARD), rocking bar (JOYSTICK), modem (MODEN), printer (PRINTER), scanner (SCANNER), machine for punching the card and bar code reading machine external peripheral equipments such as (BARCODE READER).Wherein, each peripheral equipment must be with interfare device or bus-bar controlling plumbing fixtures and the data connecting pipe as this peripheral equipment, just is usually used in the binding and the interface of communicating by letter between host computer and computer peripheral device as common RS-232 communication interface.
Along with the demand of standing transmission quantity increases day by day, the also corresponding raising of the requirement of standing transmission speed and frequency range, under this trend, the less RS-232 interface of transmission speed and frequency range can't be played the leading role in this important task gradually.Advanced computer peripheral communication interface, be that transfer rate reaches the high general serial bus-bar of frequency range (UNIVERSAL SERIAL BUS) soon, or the P1394 interface of its close kenel, the settling mode and the device of goodish data transmission speed and frequency range problem are provided, can replace common RS-232 interface gradually, become the main flow of computer peripheral interface.Yet in common general serial bus-bar or P1394 type interface, owing to mainly be to improve transmission rate information and frequency range, therefore, the control of this data transmission and fault are got rid of action and are also just seemed especially important.
In common general serial bus-bar or P1394 type interface, there are two groups of data delivery outlets (DATA DOWNSTREAM PORT) to exist usually, promptly be common in two groups of general serial bus-bar out splice going splices in the computer main board.Again, in the control gear of common general serial bus-bar or P1394 type interface, supervision for the many groups of data delivery outlets that just using in activation promptly monitors a delivery outlet separately, when in case excess current (OVER CURRENT) fault or other abnormality take place in the above-mentioned transmission mouth that is using (being load end), this general serial bus-bar control gear is then directly notified operating system (being host computer), and operating system is after accepting signalling trouble, just in operating system, show failure message, can't make any response or disposal, also promptly allow whole general serial bus-bar or P1394 type interface rest on the state of malfunction monitoring and notice fault always, and can't do the binding of enabling of further fault eliminating processing or back-up system.
And solution commonly used and get rid of above-mentioned general serial bus-bar or the mode of P1394 type interface fault, only can rely on the operation maintainer after seeing the bus-bar or P1394 type interface failure message that operating system shows, again system is plugged, or close the operating system power supply earlier and restart again, i.e. start again, the operate as normal again of just being fixed a breakdown.In some strict control system, aforesaid way is unallowable.For example; far-end remote control and monitoring occasion at commercial unit; or in the complexity of a plurality of serial bus computer peripheral devices serial connection relation; in case shut down or plug again operation; all will cause sizable facility to damage and economic loss, be in fact present serial bus or P1394 type interface aspect data transmission binding major subjects extremely to be solved.
Fundamental purpose of the present invention promptly is to provide a kind of universal processor for serial bus fault-to/erant system, so that the serial bus interface be able to Auto-Sensing when breaking down and carry out fault data input mouth and normal data input mouth between automatic switchover, thereby the serial bus interface fixed a breakdown automatically and keep normal operation.
Another object of the present invention promptly is to provide a kind of universal processor for serial bus fault-to/erant system, so that the serial bus interface is when breaking down, can plug again or again start can automatically switch to normal data delivery outlet and use, can under the situation that does not influence the operating system normal operation, fix a breakdown automatically.
To achieve these goals, universal processor for serial bus fault-to/erant system of the present invention comprises at least one serial bus controller and an automatic logic switch controller.Serial bus controller inside is provided with a timer and counter at least, automatically the logic switch controller then links overcurrent signal end, data channel control end and two data lines of serial bus controller, gives the serial bus controller and accepts its data channel control signal to send the overcurrent abnormality banner.And, this automatic logic switch controller has some to serial bus data line output terminal, to be linked to a pair of serial bus joint respectively, when producing overcurrent fault or other abnormality so as to the serial bus joint in wherein any one activation (ENABLE) is used, promptly do fault timing and metering by the timer and the counter of serial bus controller, when confirming that fault can't be got rid of, promptly send the data channel control signal and give automatic logic switch controller, export another serial bus joint to the binding of automatic switchover serial bus data line and use, thus but the general serial bus-bar malfunction routine treating apparatus that constitutes an Auto-Sensing and fix a breakdown.Be described in further detail below in conjunction with the technical characterictic of specific embodiment universal processor for serial bus fault-to/erant system of the present invention.
Accompanying drawing 1 is a system of the present invention square construction drawing;
Accompanying drawing 2 is the square circuit diagram of the automatic logic switch controller among the present invention;
Accompanying drawing 3 is the application illustration of the present invention at multiple serial bus connected system;
Accompanying drawing 4 is applied to the enforcement illustration of P1394 type interface for the present invention.
At first see also accompanying drawing 1, universal processor for serial bus fault-to/erant system of the present invention (hereinafter to be referred as treating apparatus and with 100 numbering signs) comprises a serial bus-bar controller 10, it can be to be made of general serial bus interface control integrated circuit, its inside is provided with a timer (TIMER) 11 and counter (COUNTER) 12 at least, can formation be set by the Control Software that writes serial bus controller 10, receive fault or mistake (ERROR) signal time side when the serial bus controller and can start running, its detailed operating state will have detailed description hereinafter.
The top serial bus controller of mentioning 10 comprises a pair of data input mouth (DATA UPSTREAMPORT) 13 and 13 ', a data delivery outlet (DATA DOWNSTREAM PORT) 14, this data input mouth 13 and 13 ' are made of and distinguish mutually with potential difference (PD) the data transmission of " 0 " and " 1 " respectively positive data line (UPSTREAM D+ CONNECTI0N) D1 and a negative data line (DOWNSTREAM D-CONNECTION) D2, and the positive data line D1 of data input mouth 13 and 13 ' and negative data line D2 one end are the state (shown in dotted portion among Fig. 1) that links mutually in serial bus controller 10 inside, being linked to computer main board serial bus interface circuit or serial bus hub circuit respectively by this data input mouth 13 and 13 ', and data delivery outlet 14 also has a positive data line D3 and a negative data line D4 to link for output.
Serial bus controller 10 also is provided with at least one pair of overcurrent signal end 15,16 and a pair of data channel control end 17,18 in addition, detects the selection of side and data transmission channel as excess current so as to the signal of 10 pairs of data transmissions of control serial bus controller.Wherein, overcurrent signal end 15 and 16 is the input port form, and data channel control end 17 and 18 then is the delivery outlet form, so as to accepting overcurrent abnormality banner and the output data channel control signal by outside detecting feedback respectively.
Please again referring to accompanying drawing 2, treating apparatus 100 of the present invention also includes an automatic logic switch controller 20, and shown in Figure 2 is its inner equivalent square circuit.Wherein, this automatic logic switch controller 20 comprises a logic control element 21, it switches the circuit of output function and constitutes by having logic charge pump (LOGIC CHARGE PUMP) and logic, can detect overcurrent situations that load end takes place and the logic of carrying out load output and switch; And be provided with a pair of fault banner end 211,212 and a pair of activation control end 213,214, so as to corresponding overcurrent signal end 15,16 and the data channel control end 17,18 that is linked in the above-mentioned serial bus controller 10 respectively, give serial bus controller 10 and accept data channel control signal from serial bus controller 10 so that under the load over-current malfunction, send serial bus overcurrent abnormality banner; And, this logic control element 21 has two data input ends 215,216, with positive data line D3 and the negative data line D4 that links the data delivery outlet 14 in the above-mentioned serial bus controller 10 respectively, to accept the serial bus data signal that this serial bus controller 10 is transmitted.In addition, this logic control element 21 is provided with several load output terminals X1, X2, X3, X4, X5 and X6, to export corresponding load control signal or data signal.
Automatic logic switch controller 20 shown in the above accompanying drawing 2 also includes several driving elements 22,23,24,25,26 and 27, its form is regardless of, adopt the metal oxide semiconductor field-effect electric crystal of N passage among the present invention, its quantity conform to the quantity of the load output terminal X1~X6 of above-mentioned logic control element 21 and with the corresponding binding of load output terminal X1~X6.Shown in Fig. 2 for being linked to driving element 22,23,24,25,26 and 27 gate pole part, with the controlling and driving that is subjected to this logic control element 21 is activation or disabled status, and driving element 22,23,24,25,26 and 27 source electrode is respectively to be connected in pairs to the mode of power end VCC, constitute 6 data line output terminal Y1 respectively and make each let out the utmost point, Y2, Y3, Y4, Y5 and Y6, data line output terminal Y1 wherein, Y2 and Y3, Y4 and Y5, Y6 is respectively state in pairs, with the power supply that is expressed as two groups of serial bus and data line and be linked to power end VS and positive data line D+ and negative data line D-in dual serial bus- bar joint 30 and 40 respectively, carry out the control that data output transmits so as to the serial bus peripheral equipment (not shown) that dual serial bus- bar joint 30 and 40 is linked.
Therefore, the treating apparatus of the present invention 100 of above Figure 1 and Figure 2, can form two input ports and delivery outlet form jointly by data input mouth 13,13 ' and the dual serial bus- bar joint 30 and 40 of serial bus controller 10, and make fault banner end 211 and the 213 common corresponding detectings of activation control end in the automatic logic switch controller 20 and control serial bus joint 30,214 common corresponding detectings of another fault banner end 212 and activation control end and control serial bus joint 40.Certainly, in the binding of reality was used, serial bus joint 30 and 40 only can have an independent activation job, that is to say that the activation control end 213 or 214 in 10 pairs of automatic logic switch controllers 20 of serial bus controller only can activation start one.As being that user mode is come for example with activation joint 30, data output line Y1, Y3, Y5 in the then automatic logic switch controller 20 are the activation user mode, data output line Y2, Y4, Y6 then are forbidding (DISABLE) state, and, data output line Y1 in fact then sends the required power supply of serial bus joint 30, data output line Y3 and Y5 then use through the switching controls of logic control element 21 and above-mentioned data input end 215 and 216 corresponding bindings because of activation, to transmit the serial bus data to the positive data line D+ and negative data line D-of joint 30.
When excess current or abnormality take place in the serial bus peripheral equipment (being load) that is linked when above-mentioned serial bus joint 30, automatically the logic control element 21 in the logic switch controller 20 will detect this state, and transmit the overcurrent abnormality banner by fault banner end 211 via overcurrent signal end 15 and give serial bus controller 10, timer 11 and counter 12 in the serial bus controller 10 are started, with time and the number of times that writes down its overcurrent fault.If its time or number of times surpass the preset value in the serial bus controller 10, represent that promptly overcurrent fault or the abnormality that can't get rid of voluntarily takes place for serial bus peripheral equipment that serial bus joint 30 linked, and send the activation control end 213 that the forbidding control signal is given automatic logic switch controller 20 by the data channel control end 17 of serial bus controller 10, automatically logic switch controller 20 makes data output line Y1 earlier, Y3, Y5 is the forbidding closed condition, promptly close serial bus joint 30, send the activation control end 214 that the activation control signal is given automatic logic switch controller 20 by data channel control end 18 again, make data output line Y2, Y4, Y6 is the activation user mode.This moment, data output line Y2 output power supply was given serial bus joint 40, and data output line Y4, Y6 also through the switching controls of logic control element 21 and with data output terminal 215,216 corresponding bindings, to transmit the serial bus data to the positive data end D+ and negative data end D-of joint 40, and then standby serial bus peripheral equipment or system that joint 40 is linked are enabled running and are made the unlikely look-at-me transmission of peripheral equipment or system that is originally linked, and reaching the effect of fixing a breakdown automatically and switching, these actions and system will describe in detail hereinafter.
In addition, treating apparatus 100 shown in above-mentioned Fig. 1 and Fig. 2 in actual applications, if there is no, serial bus joint 30 or 40 links any load (being standby peripheral equipment or operating system), promptly under idling, then when above-mentioned overcurrent fault or other abnormality take place in 30 any one the serial bus load just used in activation of joint 40 or joint, when the timer 11 in the serial bus controller 10 and counter 12 starts the timing that reaches default and metering value, do not order automatic logic switch controller 20 butt junctions 30 and joint 40 intercropping automatic fault to get rid of switching controls, but continue to carry out retry (RETRY) fault eliminating test by 10 pairs of original joint 30 and joints 40 that produce overcurrent fault of serial bus controller, till this fault is got rid of.Certainly, this retry information of fixing a breakdown also will be uploaded in the operating system that upper level links by serial bus controller 10 and show.The fault of above-described no standby operating system or peripheral equipment is got rid of the practice, and a special case when only implementing for no standby load is not in order to restriction or contain scope of the present invention.
The treating apparatus of the present invention 100 of above-mentioned Figure 1 and Figure 2, the executive routine and the step of all hardware circuits that its fault automatic switchover eliminating or retry fault are got rid of, control by the Control Software that writes in advance in the serial bus controller 10, but, these Control Software itself are not emphasis of the present invention and category, so will not describe in detail.
Please again referring to Fig. 3, shown in be treating apparatus 100 of the present invention system's connecting state in actual applications, be that data input mouth 13 in the treating apparatus 100 or 13 ' can be used to be linked to upper level or the more treating apparatus 100 or the host computer 200 of upper level, serial bus joint 30 and 40 then links a main operating system 300 and a standby operating system 400 respectively, and main operating system 300 and standby operating system 400 are made of next stage host computer 200 or other hub and computer peripheral device.When the load end overcurrent fault of serial bus joints 30 or 40 or abnormality take place in any one treating apparatus 100, then can be got rid of and be automatically switched to another joint 40 or 30 according to above-mentioned detecting fault and eliminating step voluntarily and be the activation user mode by each treating apparatus 100, promptly automatically switch to standby operating system 400 and continue to carry out operation, and then the normal data of keeping total system is transmitted and running, and do not need to plug again or host computer 200 is started shooting again via personnel, can finish the cut-in stand-by system automatically and fix a breakdown, can guarantee system's use of uninterruptedly turning round.For the serial bus connected system of the monitoring of Industry Control far-end, remote control or the bulky complex of precision, in fact sizable benefit and industrial utilization can be arranged.
Please again referring to Fig. 4, shown in be the embodiment that treating apparatus 100 of the present invention is applied to be analogous to the P1394 interface of general serial bus-bar interface form, both differences are positive data line D1, D2, D3, D4 and D+, the quantity of D-is original twice, therefore, two data input ends 217 had more originally been had more in the logic control element 20 in automatic logic switch controller 20,218 and four load output terminal X7, X8, X9, X10 and four driving elements 271,272,273,274, and, therefore also many relatively four data output line Y7, Y8, Y9, Y10, wherein be still among data output line Y1~Y10 with data output line Y1, Y3, Y5, Y7, Y9 is one group, and data output line Y2, Y4, Y6, Y8, Y10 is another group, be linked to P1394 joint 50 respectively, power end VS in 60 and positive data line T1, T2 and negative data line T3, T4, wherein, the function of positive data line T1 and T2 then is equivalent to above-listed positive data line D+, and negative data line T3, both functions of T4 are equivalent to above-listed negative data line D-, also can in practical operation, reach effect and industrial utilization that Fig. 1-fault shown in Figure 3 automaticallyes switch and gets rid of, further increase range of application of the present invention and actual effect.
Design of the present invention is, when the serial bus interface and when roughly the same the form interface in practical application and operation overcurrent fault or abnormality takes place, being able to directly to carry out failover automatically by hardware circuit gets rid of, and needn't plug equipment again or carry out the operating system start again by personnel, can reach the effect of getting twice the result with half the effort and further improve its industrial utilization.

Claims (7)

1, a kind of universal processor for serial bus fault-to/erant system is characterized in that comprising at least one serial bus controller and an automatic logic switch controller;
Described serial bus controller has a pair of data input mouth and a data delivery outlet, and this data input mouth is in order to connect the serial bus data source; And have a pair of overcurrent signal end and data channel control end, to receive overcurrent abnormality banner and output data channel control signal respectively;
Described automatic logic switch controller comprises a logic control element, has a pair of data input end, is connected with the data delivery outlet with the serial bus controller; And be provided with a pair of fault banner end and activation control end, being connected with the overcurrent signal end and the data channel control end of serial bus controller respectively, giving the serial bus controller and accept the data channel activation and the forbidding control signal of the output of serial bus controller with output overcurrent abnormality banner; Also be provided with several driving elements, with the drive controlling that is subjected to logic control element is activation or disabled status, and be subjected to the logic control element switching controls to link serial bus working power and serial bus data end, and by forming several data output lines between driving element, with the power supply that forms two groups of serial bus respectively in pairs, positive data line and negative data line, and link respectively at least one serial bus joint; When the serial bus joint during wherein arbitrary activation is used has overcurrent fault, promptly produce the overcurrent abnormality banner and give the serial bus controller by automatic logic switch controller, send the data channel control signal to automatic logic switch controller by the serial bus controller, the driving element that makes its drive controlling correspondence is activation or disabled status, and make the serial bus joint that breaks down for closing disabled status, and serial bus power supply and positive and negative data line are switched be linked to another serial bus joint and use.
2, universal processor for serial bus fault-to/erant system according to claim 1 is characterized in that being provided with at least in the serial bus controller timer and counter, with the time and the number of times of instrumentation overcurrent fault.
3, universal processor for serial bus fault-to/erant system according to claim 1 is characterized in that the logic control element of automatic logic switch controller is made of the circuit with logic charge pump and logic switching output.
4, universal processor for serial bus fault-to/erant system according to claim 1 is characterized in that the logic control element of automatic logic switch controller is provided with several load output terminals to link driving element respectively.
5, universal processor for serial bus fault-to/erant system according to claim 1, the driving element that it is characterized in that automatic logic switch controller is the metal oxide semiconductor field-effect electric crystal.
6,, it is characterized in that the metal oxide semiconductor field-effect electric crystal is connected with the load output terminal of logic control element with gate according to claim 4,5 described universal processor for serial bus fault-to/erant system.
7, universal processor for serial bus fault-to/erant system according to claim 5, the source electrode that it is characterized in that the metal oxide semiconductor field-effect electric crystal is to be linked to power end in pairs.
CN 99118940 1999-08-31 1999-08-31 Universal processor for serial bus fault-to/erant system Pending CN1291746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 99118940 CN1291746A (en) 1999-08-31 1999-08-31 Universal processor for serial bus fault-to/erant system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 99118940 CN1291746A (en) 1999-08-31 1999-08-31 Universal processor for serial bus fault-to/erant system

Publications (1)

Publication Number Publication Date
CN1291746A true CN1291746A (en) 2001-04-18

Family

ID=5280600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 99118940 Pending CN1291746A (en) 1999-08-31 1999-08-31 Universal processor for serial bus fault-to/erant system

Country Status (1)

Country Link
CN (1) CN1291746A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI465923B (en) * 2011-11-21 2014-12-21 Acer Inc Interface apparatus, connecting system thereof and connecting method thereof
US9117037B2 (en) 2011-11-21 2015-08-25 Acer Incorporated Interface apparatus, cascading system thereof and cascading method thereof
CN113341777A (en) * 2021-06-07 2021-09-03 武汉艾锦科技有限公司 Programmable intelligent data analysis central control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI465923B (en) * 2011-11-21 2014-12-21 Acer Inc Interface apparatus, connecting system thereof and connecting method thereof
US9117037B2 (en) 2011-11-21 2015-08-25 Acer Incorporated Interface apparatus, cascading system thereof and cascading method thereof
CN113341777A (en) * 2021-06-07 2021-09-03 武汉艾锦科技有限公司 Programmable intelligent data analysis central control system

Similar Documents

Publication Publication Date Title
AU617491B2 (en) Hot extraction and insertion of logic boards in an on-line communication system
CZ20013478A3 (en) Hot plug control of multiprocessor based computer system
CN111331619A (en) Safety control device for robot, control method for robot, and robot
KR100373995B1 (en) Hot-pluggable voltage regulator module
US6806591B2 (en) Method of shutting down a pluggable electrical unit
JP4405713B2 (en) Method and system for configuring input / output points
CN1291746A (en) Universal processor for serial bus fault-to/erant system
US6289407B1 (en) Input/output device for connection and disconnection of active lines
CN212020795U (en) Safety control equipment of robot and robot
US6728811B2 (en) Input/output device for connection and disconnection of active lines
CN217882960U (en) Redundant switching unit and system
CN101170780B (en) Method for dual mode terminal to prevent from current backflow between two radio modules
US20070204088A1 (en) Modularized circuit board bus connection control method and system
CN106708771B (en) Network bypass device and processing method thereof
JPH07134601A (en) Double bus control method
CN1466029A (en) Sequence electric system and method for clauster system
CN215300646U (en) Bypass control device
CN109861871B (en) Ethernet bypass equipment with self-monitoring function
CN103473155A (en) Power device, storage unit and power module
JP3349984B2 (en) Reverse connection protection circuit
CN216014243U (en) Dual-core peripheral digital interface switching system
CN211479071U (en) Power supply circuit for soft shutdown of USB port of main control computer
CN211741402U (en) Signal output control equipment
TW499650B (en) Processing device for USB fault-tolerance system
JP2022172757A (en) Redundancy system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication