CN102298101B - Detection device for bus connection - Google Patents

Detection device for bus connection Download PDF

Info

Publication number
CN102298101B
CN102298101B CN 201010217386 CN201010217386A CN102298101B CN 102298101 B CN102298101 B CN 102298101B CN 201010217386 CN201010217386 CN 201010217386 CN 201010217386 A CN201010217386 A CN 201010217386A CN 102298101 B CN102298101 B CN 102298101B
Authority
CN
China
Prior art keywords
signal
feedback
detection
controller
pin position
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.)
Expired - Fee Related
Application number
CN 201010217386
Other languages
Chinese (zh)
Other versions
CN102298101A (en
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.)
Getac Technology Corp
Original Assignee
Mitac Technology Corp
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 Mitac Technology Corp filed Critical Mitac Technology Corp
Priority to CN 201010217386 priority Critical patent/CN102298101B/en
Publication of CN102298101A publication Critical patent/CN102298101A/en
Application granted granted Critical
Publication of CN102298101B publication Critical patent/CN102298101B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The invention relates to a detection device for a bus connection, and the device is used for detecting whether an electric connector of a peripheral device is connected to an electric connecting end. The detection device for the bus connection is characterized in that a detection capacitor is electrically coupled to a detection terminal in the electric connecting end and a controller is used for sending a detection signal to the detection terminal. If a charging/discharging phenomenon occurs in the detection capacitor is confirmed according to a feedback signal from the detection capacitor, the controller can judge whether the detection terminal is electrically coupled with the electric connector, so as to trigger a system event when the electric connector is connected to the electric connecting end. The detection terminal has no nonzero potential when the detection terminal is not connected to the electric connector, thereby avoiding electrolysis phenomenon occurring when the detection terminal is moist.

Description

Detection device for bus connection
Technical field
The present invention connects testing mechanism relevant for bus, particularly about a kind of detection device for bus connection that can not make detection terminal possess non-vanishing current potential, avoids detection terminal that Electrolysis occurs in water.
Background technology
For the electric connecting terminal of supporting the Hot-Plug function, in the electronic installation testing mechanism must be arranged, whether detect constantly has the electric connection of a peripheral device to be connected to electric connecting terminal, so that electronic installation begins to see through electric connecting terminal and electric connection, hand over this peripheral device and to hold supervisor, and set up communication connection with this peripheral device.
Consult shown in Figure 1ly, typical testing circuit in the known technology is applied to an electric connecting terminal with detection terminal 1.Testing circuit comprises a voltage source 2, a vague and general type field effect transistor 3 and a potentiometric detection unit 4.Voltage source 1 sees through the grid that two resistance 5,6 are serially connected with vague and general type field effect transistor 3, and detection terminal 1 electrical couplings is between aforementioned two resistance 5,6.
Potentiometric detection unit 4 also passes through a resistance 7 electrical couplings in the drain electrode of vague and general type field effect transistor 3, and the electrical ground connection of the source electrode of vague and general type field effect transistor 3.Voltage source 2 continues output voltage to grid, make between source electrode and the drain electrode and often open (Normally Opened), but therefore potentiometric detection unit 4 continues to detect reference potential Vref.When the electric connection of peripheral device is connected in electric connecting terminal, aforesaid detection terminal 1 electrical couplings is in the circuit of peripheral device, with the output bypass of voltage source 2 circuit to peripheral device, the current potential that causes the grid of vague and general type field effect transistor is zero, be normally closed (Normally Closed) so that change between source electrode and the drain electrode, and bypass reference potential Vref is to ground path, so that the current potential that potentiometric detection unit 4 is obtained is zero, thereby the electric connection that obtains peripheral device has been connected in the state of electric connecting terminal.
For the electronic installation that must be dipped in the water, as meet the product of international water proof and dust proof ranking norm (International Protection Code), the seam of its shell is through water-proofing treatment.When electronic installation operated in water, the shell of waterproof sealably coated electronic circuit, prevented that aqueous vapor from entering enclosure.And the waterproof of the button of electronic installation by enclosure interior or the outside key hole that covers, avoids moisture to enter enclosure by key hole with waterproof film.
Usually in the electronic installation that satisfies international water proof and dust proof ranking norm; electric connecting terminal is to protect with a waterproof cover under obsolete state; and when electric connecting terminal connects plug; then see through combining closely of plug and electric connecting terminal, guarantee that moisture can not invade the binding portion between plug and the electric connecting terminal.
Yet in the waterproof electronic device of part, its electric connecting terminal need to expose normally, and can't regularly protect with waterproof cover.When electric connecting terminal is soaked in the water or the surface is when having moisture, the detection terminal 1 among Fig. 1 is maintained at non-vanishing current potential because of the voltage detection signals that voltage source 2 continues output, and Electrolysis will occur in water this detection terminal 1.Aforesaid Electrolysis not only can corrode detection terminal 1, even also can cause the short-circuiting effect between each terminal in the electric connecting terminal 120, so that the voltage of voltage source 2 outputs is fed back to other terminal, causes the circuit generation systems mistake of electronic installation.
In addition, be not the setting that detection terminal 1 is arranged in all electric connecting terminal, for example USB electric connecting terminal.In the communication protocol of USB electric connecting terminal, make peripheral device and electronic installation continue exchange message by signal transmission pin position, detect peripheral device and whether keep being electrically connected with the USB electric connecting terminal.In the electric connecting terminal of this type, signal transmission pin position or electric power supply pin position need to continue to be in current potential and be not equal to zero state, after the electric connection of peripheral device is connected in electric connecting terminal, peripheral device just can be obtained driving electric power, and send solicited message, so that electronic installation obtains electric connection to be connected in the system event of electric connecting terminal.If electric connecting terminal is exposed in the water, aforesaid pin position will be corroded rapidly because of electrolysis.Therefore, for this kind electric connecting terminal, need to have a kind of can activation or close the mechanism of electric connecting terminal, otherwise just must avoid this electric connecting terminal to contact with water fully.
Summary of the invention
In the connection testing mechanism of known technology, detection terminal is possessed non-vanishing current potential, causes detection terminal that Electrolysis easily occurs when humidity, and the corrosion of acceleration detection terminal.For the problems referred to above, the present invention proposes a kind of detection device for bus connection, can avoid the problem of detection terminal accelerated corrosion.
Whether the detection device for bus connection that the present invention proposes is connected to an electric connecting terminal in order to the electric connection that detects a peripheral device.Detection device for bus connection comprises a controller, a dropping resistor, a Detection capacitance, a feedback line and a detection terminal.Controller has a signal output pin position and a signal feedback pin position, and controller sends a detection signal by signal output pin position.Dropping resistor and Detection capacitance are connected mutually, and the dropping resistor electrical couplings is in signal output pin position.One end of feedback line is connected in dropping resistor and the interconnected node of Detection capacitance, and the other end of feedback line is connected in signal feedback pin position.Detection terminal is arranged in the electric connecting terminal, and Detection capacitance is connected in this detection terminal.
When detection terminal electrical couplings electric connection not, detection signal forms the first feedback signal by dropping resistor, and feeds back to the signal feedback pin position of controller.When the electrical couplings electric connection of detection terminal, Detection capacitance charges and discharges and form the second feedback signal, feeds back to the signal feedback pin position of controller.See through the variation of the first feedback signal and the second feedback signal, controller can judge whether electric connection is connected in electric connecting terminal, thereby sends a system event when electric connection is connected in electric connecting terminal.
In the present invention, when whether detection terminal is connected in electric connecting terminal for detection of electric connection, detection terminal can not be applied in current potential, thereby avoid detection terminal that Electrolysis occurs when humidity, can effectively slow down the corrosion speed of detection terminal in wet environment or in the water, prolong the serviceable life of electric connecting terminal.
Description of drawings
Fig. 1 is in the known technology, the circuit diagram of testing circuit.
Fig. 2 is the circuit diagram of first embodiment of the invention, discloses the state that electric connection is not connected in electric connecting terminal.
Fig. 3 is among Fig. 2, the schematic diagram of detection signal and the first feedback signal.
Fig. 4 is the circuit diagram of first embodiment of the invention, discloses the state that electric connection is connected in electric connecting terminal.
Fig. 5 is among Fig. 4, the schematic diagram of detection signal and the second feedback signal.
Fig. 6 is the circuit diagram of second embodiment of the invention, discloses the state that electric connection is connected in electric connecting terminal.
Fig. 7 is the circuit diagram of third embodiment of the invention, discloses the state that electric connection is not connected in electric connecting terminal.
Fig. 8 is among the 3rd embodiment, the schematic diagram of detection signal and the first feedback signal.
Fig. 9 is among the 3rd embodiment, the schematic diagram of detection signal and the second feedback signal.
Figure 10 is the circuit diagram of fourth embodiment of the invention.
The main element symbol description
1 detection terminal, 2 voltage sources
3 weary type field effect transistors
4 potentiometric detection unit, 5,6,7 resistance
Vref reference potential 100 electronic installations
120 electric connecting terminals, 121 signal terminals
130 controllers, 131 signal output pin positions
134 control pin positions, 132 signal feedback pin positions
140 dropping resistors, 150 Detection capacitances
160 feedback lines, 170 detection terminals
180 change-over switches, 190 filtering circuits
191 diodes, 192 direct earth capacitancies
193 stake resistances, 200 peripheral devices
210 electric connections, 300 electronic circuits
310 central processing units, 320 system chipset
330 system storages, 340 Storage Medias
350 display interfaces, 360 displays
370 ROM (read-only memory) Sd detection signals
Sf1 the first feedback signal Sf2 the second feedback signal
The Vth threshold current potential Tth threshold time
The Vc comparative voltage
Embodiment
See also shown in Figure 2ly, be a kind of detection device for bus connection that first embodiment of the invention discloses, be applied to an electronic installation 100, this electronic installation 100 has an electronic circuit 300.Whether this detection device for bus connection is connected to the electric connecting terminal 120 of electronic installation 100 in order to the electric connection 210 that detects a peripheral device 200.
Consult shown in Figure 2ly, detection device for bus connection comprises a controller 130, a dropping resistor 140, a Detection capacitance 150, a feedback line 160 and a detection terminal 170.
Consult shown in Figure 2ly, this controller 130 comprises a plurality of pin position, and wherein those pin positions comprise a signal output pin position 131 and a signal feedback pin position 132 at least.Aforesaid controller 130 can be an embedded controller, in order to the keyboard controller (Keyboard Controller, KBC) as this electronic circuit 300.The procedure code that sees through the basic input and output of keyboard controller (KBC BIOS) is set, and keyboard controller can possess extra function, with the controller 130 as first embodiment of the invention.The signal output pin position 131 of controller 130 and signal feedback pin position 132 can be respectively general output pin position (General Purpose Output Pin, GPO Pin) and universal input pin position (General Purpose Input Pin, GPI Pin).In addition, aforesaid embedded controller also can be a microcontroller (Micro-Control Unit, MCU), be arranged at extraly in the electronic installation 100, and electrical couplings is in electronic circuit 300.
Consult shown in Figure 2, dropping resistor 140 and Detection capacitance 150 are connected mutually, one end electrical couplings of Detection capacitance 150 is in dropping resistor 140, and the other end electrical couplings of dropping resistor 140 is in signal output pin position 131, and Detection capacitance 150 electrical couplings make dropping resistor 140, Detection capacitance 150 and detection terminal 170 sequentially be serially connected with signal output pin position 131 in detection terminal 170.One end electrical couplings of feedback line 160 is in dropping resistor 140 and Detection capacitance 150 interconnected nodes, and other end electrical couplings is in signal feedback pin position 132.
Consult shown in Figure 2ly, detection terminal 170 is arranged in the electric connecting terminal 120, and it can be in the terminal of electric connecting terminal 120 one of them.The other end of one end electrical couplings Detection capacitance 150 of detection terminal 170 makes detection terminal 170 indirectly see through Detection capacitance 150 electrical couplings in dropping resistor 140 by Detection capacitance 150.The other end of detection terminal 170 can along with the setting of electric connecting terminal 120, expose to the surface of shell of electronic installation 100.The function of detection terminal 170 default definition in electric connecting terminal 120, the specification standards that adopt with electric connecting terminal 120 change.Usually detection terminal 170 is take the terminal of non-general data transmission as best, to reduce the complexity of circuit design; In preferred embodiment of the present invention, the defined check point of specification standards of the electric connecting terminal 120 that detection terminal 170 is original.
Consult Fig. 2 and shown in Figure 3, controller 130 sends a detection signal Sd by signal output pin position 131 normally, and this detection signal Sd is by forming the first feedback signal Sf1 after the dropping resistor 140.This first feedback signal Sf1 is fed back to the signal feedback pin position 132 of controller 130 again by feedback line 160.When the electric connection 210 of peripheral device 200 did not have electrical couplings in electric connecting terminal 120, two ends of detection terminal 170 were open circuit (Opened Circuit), made two ends of Detection capacitance 150 also be open-circuit condition.
Consult Fig. 2 and shown in Figure 3, because two ends of Detection capacitance 150 are open circuit, so the detection signal Sd of signal output pin position 131 can't be to Detection capacitance 150 chargings.Detection signal Sd directly forms this first feedback signal Sf1 after passing through dropping resistor 140, the first feedback signal Sf1 also is fed back to signal feedback pin position 132.The waveform of the first feedback signal Sf1 roughly can be identical with detection signal Sd, the size that voltage potential is only arranged that changes; That is detection signal Sd because dropping resistor 140 produces a pressure drop, and forms the first feedback signal Sf1 of voltage quasi position less by after the dropping resistor 140.
Detection signal Sd is a continuous impulse signal, has fixing duty cycle ratio (duty to cycle ratio), and the continuous impulse signal is take the PWM of square wave as best.As previously mentioned, when two ends of detection terminal 170 are open circuit, two ends of Detection capacitance 150 also are open circuit.Detection signal Sd is by directly forming the first feedback signal Sf1 after the dropping resistor 140.In this, the waveform of this first feedback signal Sf1 also can be the continuous impulse signal; If detection signal Sd is square wave, the first feedback signal Sf1 will be the square wave that the signal period is identical and the duty cycle ratio is identical, and does not have phase differential between detection signal Sd and the first feedback signal Sf1.Unique difference is the voltage drop that produces because of dropping resistor 140, so that the maximum voltage of the first feedback signal Sf1 and average voltage descend.
Under aforesaid state, detection signal Sd is not transferred into detection terminal 170 by Detection capacitance 150, so can't form noble potential on the detection terminal 170.When detection terminal 170 soaked or by the water spilling and when moist, Electrolysis can not occur in water detection terminal 170, thereby avoids detection terminal 170 to be accelerated corrosion in company with electric connecting terminal 120.In addition, but also temporary close of electronic circuit 300 (disable) electric connecting terminal 120 comprises and closes electric power supply and the transmission of information is held in friendship, thereby avoids the non-vanishing phenomenon of other terminal appearance potentials in the electric connecting terminal 120.
Consult Fig. 4 and shown in Figure 5, when the electric connection 210 of peripheral device 200 was connected to electric connecting terminal 120, detection terminal 170 electrical couplings were in electric connection 210, thereby made detection terminal 170 electrical couplings in the circuit of peripheral device 200.At this moment, the circuit of detection terminal 170 and peripheral device 200, make the two ends of Detection capacitance 150 form path (Closed Circuit), therefore pass through the detection signal Sd of dropping resistor 140, Detection capacitance 150 is produced charge effects, Detection capacitance 150 is charged and discharge, and produce the second feedback signal Sf2 of Charge-discharge wave shape, and feed back to the signal feedback pin position 132 of controller 130.
This controller 130 sees through this signal output pin position 131 and continues output detection signal Sd, and continues the potential change of this signal feedback pin position 132 of monitoring.According to wave form varies, controller 130 judges that 132 recipients in this signal feedback pin position are this first feedback signal Sf1 or this second feedback signal Sf2.When 132 recipients in signal feedback pin position were the second feedback signal Sf2, this controller 130 sent a system event, notified this electronic circuit 300, and the event that the electric connection 210 that makes this electronic circuit 300 obtain peripheral device 200 has connected electric connecting terminal 120 occurs.At this moment, but electric power supply and the signal transfer functions of this electric connecting terminal 120 of electronic circuit 300 activations (enable), and begin to hand over and hold supervisor, to set up the communication connection between this electronic installation 100 and this peripheral device 200.
Judge the difference of the first feedback signal Sf1 and the second feedback signal Sf2, can see through different modes compares, for example when the arithmetic capability of controller 130 is relatively high, can be directly the waveform of the first feedback signal Sf1 and the second feedback signal Sf2 be stored in the controller 130, and signal waveform that controller 130 directly receives signal feedback pin position 132 and the waveform of the first feedback signal Sf1 and the second feedback signal Sf2 are compared.Therefore and can't compare for waveform but generally speaking, if when aforesaid controller 130 KBC or MCU, its arithmetic capability is relatively simple,, at this moment, also can compare for signal feedback pin position 132 potential change.
Consult Fig. 2, Fig. 4 and shown in Figure 5, in the aforementioned mechanism of comparing for these signal feedback pin position 132 potential change, this controller 130 has a comparing unit 133, and set a threshold potential vt h for the potential change of this signal feedback pin position 132 in the controller 130, this threshold potential vt h is between the noble potential and electronegative potential of the current potential of this signal feedback pin position 132.
The potential change of controller 130 its signal feedback pin positions 132 of monitoring, potential change and aforesaid threshold potential vt h with comparing unit 133 comparison signals feedback pin position 132, and when controller 130 is output as the loading section of signal period in detection signal Sd, carry out the comparison of current potential with comparing unit 133.
When detection signal Sd is output as the loading section of signal period, and the comparative result of controller 130 is: when the time remaining that the current potential of signal feedback pin position 132 is lower than this threshold potential vt h surpassed a threshold time T th, then controller 130 judged that Detection capacitances 150 have the charging behavior to occur.This Time Controller 130 judges that namely the signal that signal feedback pin position 132 receives is the second feedback signal Sf2, and send system event to notify this electronic circuit 300, the event that the electric connection 210 that makes this electronic circuit 300 obtain peripheral device 200 has connected electric connecting terminal 120 occurs.
Otherwise, when detection signal Sd is output as the loading section of signal period, and the comparative result of controller 130 is: the current potential of signal feedback pin position 132 continues to be higher than this threshold potential vt h, or the time that is lower than threshold potential vt h is no more than this threshold time T th, then not charging behavior generation in the controller 130 judgement Detection capacitances 150.This Time Controller 130 judges that namely the signal that signal feedback pin position 132 receives is the first feedback signal Sf1.Unavoidable equivalent inductance in the integrated circuit may cause slightly the phase differential of having of detection signal Sd and the first feedback signal Sf1, and therefore the setting of aforementioned threshold time T th is the erroneous judgement that causes for fear of aforementioned phase differential.
Consult shown in Figure 6ly, be the circuit diagram of the detection device for bus connection of second embodiment of the invention.Each terminal of general electric connecting terminal 120 all has the function of its definition, and the original specification of electric connecting terminal 120 is not the terminal that must possess measuring ability, but earthy terminal is to be generally the terminal that electric connecting terminal 120 possesses.Clash with electric connecting terminal 120 predefined signal transfer functions in order to reduce detection terminal 170, this detection terminal 170 can be the terminal that is used for ground connection in the electric connecting terminal 120.
As shown in Figure 6, the detection device for bus connection of the second embodiment is roughly identical with the first embodiment.The difference of the second embodiment and the first embodiment is, these detection terminal 170 usefulness are carried out electrical ground connection for this electric connecting terminal 120, that is this detection terminal 170 is under the occasion of practical application, simultaneously as the ground terminal of this electric connecting terminal 120.Therefore, the detection device for bus connection of the second embodiment further comprises a switching switch 180.The direct electrical couplings of one end of change-over switch 180 is in detection terminal 170, and the electrical ground connection of the other end makes detection terminal 170 ground connection or earth-free with the switching that sees through change-over switch 180.Controller 130 also comprises a control pin position 134, and electrical couplings is in change-over switch 180.When seeing through signal feedback pin position 132, controller 130 receives this second feedback signal Sf2, and electric connection 210 electrical couplings of judgement peripheral device 200 are when electric connecting terminal 120, controller 130 transmits simultaneously one and switches signal Sw to this change-over switch 180, cause this change-over switch 180 conductings, with in grounding circuit and the electrical ground connection of these detection terminal 170 electrical couplings, make the circuit of peripheral device 200 see through detection terminal 170 and reach electrical ground connection.When controller 130 sees through electronic circuit 300 notice peripheral devices 200 during off-line, then this controller 130 stops to export this switching signal Sw, this change-over switch 180 is replied open circuit, and is returned to detected state thereby this detection terminal 170 is off-ground.
Consult shown in Figure 7ly, be the circuit diagram of the detection device for bus connection of third embodiment of the invention.This detection device for bus connection is roughly identical with the first embodiment, comprises a controller 130, a dropping resistor 140, a Detection capacitance 150, a feedback line 160 and a detection terminal 170.The annexation of aforementioned components is roughly identical with the first embodiment, repeats no more in this.The 3rd embodiment also comprises a filtering circuit 190, and electrical couplings is in this feedback line 160.This filtering circuit 190 comprises diode 191, a direct earth capacitance 192 and a stake resistance 193.
Diode 191 is arranged on the feedback line 160, and the anode of diode 191 is series at dropping resistor 140 via feedback line 160, and the negative electrode of diode 191 electrically is coupled in the signal feedback pin position 132 of this controller 130.If this diode 191 engages diode 191 for P-N, then anode is P type side, and negative electrode is the N-type side.Diode 191 in order to the signal feedback avoiding filtering circuit 190 and produce to this Detection capacitance 150.
Direct earth capacitance 192 and stake resistance 193 are in parallel mutually, and an end electrical couplings of direct earth capacitance 192 and stake resistance 193 is in the negative electrode of this diode 191, and the other end ground connection of direct earth capacitance 192 and this stake resistance 193 makes this feedback line 160 by diode 191, direct earth capacitance 192 and stake resistance 193 electrical ground connection.Direct earth capacitance 192 is take the relatively large person of capacitor value as best, to charge lentamente and to discharge.
Consult Fig. 7 and shown in Figure 8, when on the electric connecting terminal 120 during without electric connection 210, two ends of Detection capacitance 150 are open-circuit condition; The detection signal Sd that send the signal output pin position 131 of this controller 130 forms the first feedback signal Sf1 afterwards by this dropping resistor 140, and is sent to filtering circuit 190.Because the waveform of the first feedback signal Sf1 is identical with detection signal Sd, be take as detection signal Sd during as square wave, the first feedback signal Sf1 also is square wave.
Aforesaid content represents the first feedback signal Sf1 and has comprised the loading section of high levle and the unsupported part of zero potential.In this, the product of detection resistance R d and direct earth capacitance 192 is best much larger than the cycle t person of the loading section of detection signal Sd.At this moment, by the first feedback signal Sf1 of duty cycle, because of discharging and recharging lentamente of direct earth capacitance 192, the signal that the signal feedback pin position 132 of controller 130 is received becomes triangular wave, and forms near galvanic kenel.
Consult Fig. 7 and shown in Figure 9, when electric connection 210 was connected to electric connecting terminal 120, two ends of Detection capacitance 150 were closed circuit; The detection signal Sd that send the signal output pin position 131 of this controller 130 forms the second feedback signal Sf2 afterwards by this dropping resistor 140, and is sent to filtering circuit 190.The second feedback signal Sf2 of this moment will have and discharge and recharge significantly the cycle and change, and this second feedback signal Sf2 makes discharging and recharging lentamente of direct earth capacitance 192 equally, make signal formation that the signal feedback pin position 132 of controller 130 receives near galvanic kenel.
The first feedback signal Sf1 and the second feedback signal Sf2 are by the difference after the filtering circuit 190, the first feedback signal Sf1 is relatively higher than the second feedback signal Sf2 by the average voltage after the filtering circuit 190 by the average voltage after the filtering circuit 190.Therefore, can set a comparative voltage Vc in the controller 130.Wherein, the first feedback signal Sf1 is by the average voltage after the filtering circuit 190, and less than this comparative voltage Vc, and the second feedback signal Sf2 is by the average voltage after the filtering circuit 190, greater than this comparative voltage Vc.Controller 130 see through the potential change of signal feedback pin position 132 and this comparative voltage Vc relatively after, just can judge that the recipient of institute is the first feedback signal Sf1 or the second feedback signal Sf2, whether electrical couplings is in this electric connecting terminal 120 thereby judge the electric connecting terminal of peripheral device 200.
Please refer to shown in Figure 10ly, be the circuit diagram of the disclosed a kind of electronic installation of fourth embodiment of the invention.The electronic installation that the present invention proposes such as the aforementioned embedded electronic devices such as portable computer Huo Yi Tai phone such as a notebook computer that can be, it comprises the detection device for bus connection that an electronic circuit, an electric connecting terminal 120 and the present invention the first to the 3rd embodiment disclose basically.
Electronic circuit comprises central processing unit 310, system chipset 320, system storage 330, Storage Media 340, display interface 350, display 360 and ROM (read-only memory) 370.In this, system chipset 320 comprises north bridge chips and South Bridge chip, is responsible for respectively the connection of different pieces of information bus, should use-case north bridge chips and South Bridge chip be reduced to triangular web chipset 320 and describes.Central processing unit 310, system storage 330, Storage Media 340, display interface 350 and controller 130 all electrical couplings in system chipset 320.
Consult shown in Figure 10ly, controller 130 can be in fact embedded controller (embedded controller, EC) or keyboard controller (keyboard controller, KBC) in various embodiments of the present invention.See through the setting of firmware, make controller 130 additionally possess the function of the connection status of monitoring electric connecting terminal 120.In addition, as the KBC of electronic installation, controller 130 electrical couplings are in ROM (read-only memory) 370.When electronic installation starts, the every peripheral hardware of controller 130 initialization, and central processing unit 310 reads Basic Input or Output System (BIOS) (BIOS) and KBC BIOS in the ROM (read-only memory) 370 by system chipset 320 and controller 130, starts operating system, driver and the application programs in the Storage Media 340 and makes the electronic installation running.
Consult shown in Figure 10, electric connecting terminal 120 has a plurality of signal terminals 121, detection terminal 170 is arranged in the electric connecting terminal 120, and it can be in the signal terminal 121 of electric connecting terminal 120 one of them, other terminals of electric connecting terminal 120 then electrical couplings in the South Bridge chip of system chipset 320.In the electric connecting terminal standard specification of small part, P/S2 link for example, 121 electrical couplings of other signal terminals of electric connecting terminal 120 are in the controller 130 as KBC.One end electrical couplings of detection terminal 170 is in Detection capacitance 150, make detection terminal 170 see through Detection capacitance 150 indirectly electrical couplings in dropping resistor 140.
Such as the first to the 3rd embodiment, controller 130 sends a detection signal Sd by signal output pin position 131 normally, this detection signal Sd is by after the dropping resistor 140, form the first feedback signal Sf1 or the second feedback signal Sf2 according to the connection status of electric connecting terminal 170, this first feedback signal Sf1 or this second feedback signal Sf2 are fed back to the signal feedback pin position 132 of controller 130 again by feedback line 160.
When the electric connection 210 of peripheral device 200 did not have electrical couplings in electric connecting terminal 120, this detection signal Sd was by forming this first feedback signal Sf1 after the dropping resistor 140.When electric connection 210 electrical couplings of peripheral device 200 during in electric connecting terminal 120, this detection signal Sd is by forming this second feedback signal Sf1 after the dropping resistor 140.Be with, it is this first feedback signal Sf1 or this second feedback signal Sf2 that controller 130 sees through 132 recipients in signal feedback pin position, whether the electric connection 210 of judging peripheral device 200 is connected in electric connecting terminal 120, and when electric connection 210 is connected in electric connecting terminal 120, send a system event to system chipset 320, be connected in electric connecting terminal 120 so that central processing unit 310 obtains electric connection 210, linked up the necessary program that connects to begin to carry out to set up.
In the first and the 3rd embodiment, the detection signal Sd that controller 130 sees through 131 outputs of signal output pin position is the square wave form, but detection signal of the present invention is not limited with square wave, also can be triangular wave or string ripple.The main testing mechanism of the present invention is to be changed by the signal waveform that feeds back to signal feedback pin position 132, sees through Detection capacitance 150 whether charge and discharge phenomena occurs, and whether electrical couplings is in peripheral device 200 thereby judge detection terminal 170.Therefore, as long as feed back to the difference that the signal of signal feedback pin position 132 can separate out the first feedback signal Sf1 and the second feedback signal Sf2 significantly, judge for controller 130 to get final product, the form of detection signal Sd does not need to be defined as specific form.
By disclosed detection device for bus connection, detection terminal 170 is not applied in current potential under detected state, therefore can avoid detection terminal 170 electrolysis in water.Therefore, in detection device for bus connection of the present invention, applied electric connecting terminal 170 can be exposed in the water and Electrolysis that can generation meeting accelerated corrosion.

Claims (13)

1. whether a detection device for bus connection is connected to an electric connecting terminal in order to the electric connection that detects a peripheral device, and this detection device for bus connection comprises:
One controller have at least a signal output pin position and a signal feedback pin position, and this controller sends a detection signal by this signal output pin position;
One dropping resistor and a Detection capacitance, an end electrical couplings of this Detection capacitance are in an end of this dropping resistor, and the other end electrical couplings of this dropping resistor is in this signal output pin position;
One feedback line, one end electrical couplings are in this dropping resistor and the interconnected node of this Detection capacitance, and the other end electrical couplings of this feedback line is in this signal feedback pin position; And
One detection terminal is arranged in this electric connecting terminal, and this Detection capacitance electrical couplings is in the other end of this detection terminal; When this detection terminal this electric connection of electrical couplings not, this detection signal forms the first feedback signal by this dropping resistor, and this first feedback signal feeds back to the signal feedback pin position of this controller; And when this detection terminal is this electric connection of electrical couplings, this Detection capacitance charges and discharges and form the second feedback signal, feeds back to the signal feedback pin position of this controller.
2. detection device for bus connection as claimed in claim 1 is characterized in that:
The waveform of this first feedback signal and this second feedback signal is stored in this controller; And
This controller is compared signal waveform that this signal feedback pin position receives and the waveform of this first feedback signal and this second feedback signal, is this first feedback signal or this second feedback signal and differentiate this signal feedback pin position recipient of institute.
3. detection device for bus connection as claimed in claim 1 is characterized in that:
Set a threshold current potential and a threshold time in this controller, and the potential change of this signal feedback pin position of this monitoring control devices;
The time remaining that is lower than this threshold current potential when the current potential of this signal feedback pin position surpasses this threshold during the time, and this controller judges that the signal that this signal feedback pin position receives is this second feedback signal;
Current potential when this signal feedback pin position continues to be higher than this threshold current potential, or the time that is lower than the threshold current potential be no more than this threshold time, this controller judges that the signal that this signal feedback pin position receives is this first feedback signal.
4. detection device for bus connection as claimed in claim 3 is characterized in that, this controller has a comparing unit (133), in order to relatively this signal feedback pin position and this threshold current potential.
5. such as claim 3 or 4 described detection device for bus connections, it is characterized in that, this detection signal is the continuous impulse signal, and this controller carries out the comparison of current potential when this detection signal is output as the loading section of signal period.
6. detection device for bus connection as claimed in claim 1, it is characterized in that, also comprise one and switch switch, one end electrical couplings is in this detection terminal, the electrical ground connection of the other end, and when this controller receives this second feedback signal, transmit one and switch signal to this change-over switch, cause this change-over switch conducting and make the electrical ground connection of this detection terminal.
7. detection device for bus connection as claimed in claim 1 is characterized in that, also comprises a filtering circuit, and electrical couplings is in this feedback line, and this filtering circuit comprises:
One diode is arranged on this feedback line, and wherein the anode of this diode is series at this dropping resistor via this feedback line, and the negative electrode of this diode electrically is coupled in the signal feedback pin position of this controller; And
One direct earth capacitance and a stake resistance are mutual parallel connection, and an end electrical couplings of this direct earth capacitance and this stake resistance is in the negative electrode of this diode, and the other end of this direct earth capacitance and this stake resistance is electrical ground connection.
8. detection device for bus connection as claimed in claim 7, it is characterized in that, set a comparative voltage in this controller, potential change and this comparative voltage that this controller sees through signal feedback pin position compare, and judge that the recipient of institute is this first feedback signal or this second feedback signal;
Wherein, this first feedback signal is passed through this filtering circuit average voltage afterwards less than this comparative voltage, and this second feedback signal is passed through this filtering circuit average voltage afterwards greater than this comparative voltage.
9. electronic installation comprises:
One electronic circuit, at least comprise a central processing unit, a system chipset, a system storage, a Storage Media and a display interface, wherein this central processing unit, this system storage, this Storage Media and this display interface, all electrical couplings is in this system chipset;
One electric connecting terminal has a plurality of terminals, and these a plurality of terminals are electrically connected on this system chipset;
One controller, electrical couplings are in this system chipset, and this controller has a signal output pin position and a signal feedback pin position;
One dropping resistor and a Detection capacitance, an end electrical couplings of this Detection capacitance are in an end of this dropping resistor, and the other end electrical couplings of this dropping resistor is in this signal output pin position;
One feedback line, one end electrical couplings are in this dropping resistor and the interconnected node of this Detection capacitance, and the other end electrical couplings of this feedback line is in this signal feedback pin position; And
One detection terminal is arranged in this electric connecting terminal, and this Detection capacitance electrical couplings is in the other end of this detection terminal;
Wherein this controller sends a detection signal by this signal output pin position, this detection signal is by after the dropping resistor, form the first feedback signal or one second feedback signal according to the connection status of this detection terminal, feed back to again the signal feedback pin position of this controller, and this controller sends a system event to this system chipset when receiving this second feedback signal.
10. electronic installation as claimed in claim 9 is characterized in that:
The waveform of this first feedback signal and this second feedback signal is stored in this controller; And
This controller is compared signal waveform that this signal feedback pin position receives and the waveform of this first feedback signal and this second feedback signal, is this first feedback signal or this second feedback signal and differentiate this signal feedback pin position recipient of institute.
11. electronic installation as claimed in claim 9, it is characterized in that, also comprise one and switch switch, one end electrical couplings is in this detection terminal, the electrical ground connection of the other end, and when this controller receives this second feedback signal, transmit one and switch signal to this change-over switch, cause this change-over switch conducting and make the electrical ground connection of this detection terminal.
12. electronic installation as claimed in claim 9 is characterized in that, also comprises a filtering circuit, electrical couplings is in this feedback line, and this filtering circuit comprises:
One diode is arranged on this feedback line, and wherein the anode of this diode is series at this dropping resistor via this feedback line, and the negative electrode of this diode electrically is coupled in the signal feedback pin position of this controller; And
One direct earth capacitance and a stake resistance are mutual parallel connection, and an end electrical couplings of this direct earth capacitance and this stake resistance is in the negative electrode of this diode, and the other end of this direct earth capacitance and this stake resistance is electrical ground connection.
13. electronic installation as claimed in claim 12, it is characterized in that, set a comparative voltage in this controller, potential change and this comparative voltage that this controller sees through signal feedback pin position compare, and judge that the recipient of institute is this first feedback signal or this second feedback signal;
Wherein, this first feedback signal is passed through this filtering circuit average voltage afterwards less than this comparative voltage, and this second feedback signal is passed through this filtering circuit average voltage afterwards greater than this comparative voltage.
CN 201010217386 2010-06-24 2010-06-24 Detection device for bus connection Expired - Fee Related CN102298101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010217386 CN102298101B (en) 2010-06-24 2010-06-24 Detection device for bus connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010217386 CN102298101B (en) 2010-06-24 2010-06-24 Detection device for bus connection

Publications (2)

Publication Number Publication Date
CN102298101A CN102298101A (en) 2011-12-28
CN102298101B true CN102298101B (en) 2013-04-24

Family

ID=45358656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010217386 Expired - Fee Related CN102298101B (en) 2010-06-24 2010-06-24 Detection device for bus connection

Country Status (1)

Country Link
CN (1) CN102298101B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104297609B (en) * 2013-07-19 2017-05-24 瑞昱半导体股份有限公司 Detection circuit and method for determining connecting state of first and second pins
CN105388881B (en) * 2015-11-04 2017-10-20 北京长城华冠汽车科技股份有限公司 The fault detect display device and method of a kind of entire car controller
CN105425766B (en) * 2015-11-04 2017-10-20 北京长城华冠汽车科技股份有限公司 The failure detector and method of a kind of entire car controller
CN107451018B (en) * 2016-06-01 2020-07-28 中芯国际集成电路制造(上海)有限公司 Bus fault detection circuit
CN106598890B (en) * 2016-12-13 2019-12-27 苏州浪潮智能科技有限公司 BOM switching method and board card
US10476257B2 (en) * 2017-03-17 2019-11-12 Richtek Technology Corporation Interface control circuit and control method thereof
CN109813998A (en) * 2019-01-14 2019-05-28 珠海格力电器股份有限公司 Digital equipment interface humidity detection circuit and terminal
CN111025195B (en) * 2019-12-19 2021-10-19 山东爱德邦智能科技有限公司 Detection circuit
CN112967955B (en) * 2021-02-04 2023-09-19 长江存储科技有限责任公司 Method for detecting failure of electrostatic discharge pin of semiconductor device and semiconductor device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417681A (en) * 2001-11-07 2003-05-14 旺玖科技股份有限公司 Universal serial bus (USB) connection detecting circuit system and its operation method
CN101494342A (en) * 2008-01-22 2009-07-29 华硕电脑股份有限公司 Detection device and connector module

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006045308B4 (en) * 2006-09-26 2011-07-21 Continental Automotive GmbH, 30165 Circuit arrangement for detecting the state of a load device which can be connected to a switching connection and method for operating such a circuit arrangement
US7644217B2 (en) * 2007-03-02 2010-01-05 Microchip Technology Incorporated Detecting connection to a USB host or hub without using an extra status input

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417681A (en) * 2001-11-07 2003-05-14 旺玖科技股份有限公司 Universal serial bus (USB) connection detecting circuit system and its operation method
CN101494342A (en) * 2008-01-22 2009-07-29 华硕电脑股份有限公司 Detection device and connector module

Also Published As

Publication number Publication date
CN102298101A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
CN102298101B (en) Detection device for bus connection
US8279093B2 (en) Apparatus for detecting bus connection
CN101488662A (en) System and method for fault isolation and leakage current detection
CN103151658B (en) Data connecting line, for the control method of data connecting line and device
CN204361767U (en) Charger and charging control circuit thereof
CN102375124A (en) Battery capacity test device
CN108695919A (en) Battery pack, rechargeable battery protection integrated circuit, battery monitoring module and data read method
CN212410835U (en) Detection circuit of alternating current input line and socket with detection circuit
CN108181578A (en) Detection circuit and detection method of switch equipment and IO controller
CN106877078A (en) Terminal connection circuit and its method for wearable device
CN111537915A (en) Broken string detection circuitry and treasured that charges of polymorphic type charging wire
CN204712991U (en) A kind of flash driving circuit
CN111976511A (en) Electric automobile charging system connection state detection device and electric automobile
CN201716718U (en) Single-chip microcomputer detection circuit and device thereof
CN107181290B (en) Battery management system
CN106200508B (en) Chain protection control circuit
CN108400781A (en) Power switching devices and its operating method
CN112018839B (en) Load detection circuit
CN107942189A (en) A kind of detection device of feeder ear wiring condition, conduction charging system and electric car
CN212622995U (en) Detection circuit and electronic equipment
CN107706977A (en) The detection method and charging device of a kind of charging current
CN103227853B (en) Mobile terminal with rear cover dropping reminding function and implementation method of mobile terminal
CN105403756A (en) Circuit device having ground wire live detection function
CN111812553A (en) Detection circuit of alternating current input line and socket with detection circuit
CN206291936U (en) A kind of electrolyte liquid level detection device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130424

Termination date: 20200624