CN103546114B - Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof - Google Patents

Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof Download PDF

Info

Publication number
CN103546114B
CN103546114B CN201310530312.9A CN201310530312A CN103546114B CN 103546114 B CN103546114 B CN 103546114B CN 201310530312 A CN201310530312 A CN 201310530312A CN 103546114 B CN103546114 B CN 103546114B
Authority
CN
China
Prior art keywords
voltage
pull
resistance
equipment
bus
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.)
Active
Application number
CN201310530312.9A
Other languages
Chinese (zh)
Other versions
CN103546114A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310530312.9A priority Critical patent/CN103546114B/en
Publication of CN103546114A publication Critical patent/CN103546114A/en
Priority to PCT/CN2014/078370 priority patent/WO2015062261A1/en
Application granted granted Critical
Publication of CN103546114B publication Critical patent/CN103546114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements
    • H03K19/0185Coupling arrangements; Interface arrangements using field effect transistors only
    • H03K19/018557Coupling arrangements; Impedance matching circuits

Abstract

The invention discloses circuit and the method thereof of a kind of basis pull-up voltage from the pull-up Voltage Cortrol bus of equipment.This circuit includes bus, partial pressure unit, comparator, latch and impedance unit, wherein: the voltage that the first power supply is exported by partial pressure unit carries out dividing potential drop, to obtain branch pressure voltage;The first input end of comparator receives branch pressure voltage, and the second input of comparator receives the upper pull-up voltage from equipment by bus, the outfan output comparative result of comparator;The first input end of latch receives comparative result, second input of latch receives a triggering signal, the outfan output control signal of latch controls the resistance that impedance unit accesses the pull-up resistor of bus, the upper pull-up voltage that the pull-up resistor of bus is formed is equal with the upper pull-up voltage from equipment, it is achieved voltage matches.By the way, the present invention can increase the upper pull-up voltage in bus according to from the running voltage of equipment, thus realize voltage matches automatically.

Description

Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof
Technical field
The present invention relates to power technique fields, particularly relate to a kind of basis upper pull-up voltage from equipment Adjust circuit and the method thereof of pull-up voltage in bus.
Background technology
The AC-DC(exchange of rack server at present turns direct current, alternating current-Direct Current) power module has the multiple power types such as 750W, 800W and 1200W and has different Supplier.Wherein 750W and 1200W is a producer, and 800W is another one producer. The communication interface IIC(IC bus of the power module of 750W and 1200W, Inter-Integrated Circuit) pull-up power supply be 5V, pull-up resistor is 20K, pull up power supply collection Become inside power module.The pull-up power supply of communication interface IIC of 800W power module is 3.3V, Pull-up resistor is 20K, and pull-up power supply is integrated in inside power module.The device data of power module It is distinctly claimed, the PCB trace outside power module needs to add pull-up resistor, and this pull-up resistor The upper pull-up voltage formed is identical with the upper pull-up voltage within power module.
The pull-up power supply required due to two kinds of above-mentioned power modules is different: one is 3.3V, and one Individual is 5V, produces conflict each other.The pull-up of IIC is to be directly realized by hardware, it is impossible to intelligence Type according to power module realizes the switching between the voltage of two kinds of power supplys.If a server Need the power module of compatible Liang Ge producer, cannot be compatible in hardware designs.Individual other server produces Product are just because realizing the compatibility of the two, force to eliminate a power module in specification, The compatibility of the power module of such as 800W, this will reduce the suitability of server power block.
Summary of the invention
The technical problem that present invention mainly solves is to provide a kind of basis and adjusts from the upper pull-up voltage of equipment The circuit of pull-up voltage and method thereof in whole bus, it is possible to according to from the running voltage of equipment, automatically increase Add the upper pull-up voltage of bus, thus realize voltage matches.
First aspect provides a kind of basis electricity of pull-up voltage from the pull-up Voltage Cortrol bus of equipment Road, this circuit includes bus, partial pressure unit, comparator, latch and impedance unit, bus Electrically connect with from equipment, wherein: the voltage that the first power supply is exported by partial pressure unit carries out dividing potential drop, with Obtain branch pressure voltage, the first power supply be corresponding multiple of same type of connected mode from equipment on The power supply that pull-up voltage value is maximum;The first input end of comparator receives branch pressure voltage, the of comparator Two inputs receive the upper pull-up voltage from equipment by bus, and knot is compared in the outfan output of comparator Really;The first input end of latch receives comparative result, and the second input of latch receives one and touches Signaling, the outfan output control signal of latch controls impedance unit and accesses the pull-up electricity of bus The resistance of resistance so that the upper pull-up voltage of pull-up resistor formation of bus and the upper pull-up voltage phase from equipment Deng, it is achieved voltage matches.
In the first possible embodiment of first aspect, bleeder circuit includes the first resistance With the second resistance, one end of the first resistance connects the first power supply, and the other end of the first resistance connects the One end of two resistance and the first input end of comparator, the second end ground connection of the second resistance.
In conjunction with the first possible embodiment of first aspect, at the embodiment that the second is possible In, the first input end of comparator is negative input, and the second input of comparator is that forward is defeated Entering end, the outfan of latch is in-phase output end.
In conjunction with the first possible embodiment of first aspect, at the embodiment that the third is possible In, the first input end of comparator is positive input, and the second input of comparator is that negative sense is defeated Entering end, the outfan of latch is reversed-phase output.
In conjunction with the second or the third possible embodiment of first aspect, possible at the 4th kind In embodiment, bus includes data/address bus and clock bus, impedance unit include the first switching tube, Second switch pipe, the 3rd switching tube, the 3rd resistance, the 4th resistance, the 5th resistance, the 6th resistance, 7th resistance and the 8th resistance, wherein, the outfan of latch connects the grid of the first switching tube With the grid of second switch pipe, the source ground of second switch pipe, the drain electrode of second switch pipe connects One end of 3rd resistance, the other end of the 3rd resistance connects a second source, the source of the first switching tube Pole ground connection, the drain electrode of the first switching tube connects one end and the grid of the 3rd switching tube of the 4th resistance Pole, the other end of the 4th resistance connects one end and first power supply of the 5th resistance, the 5th resistance The other end connects the drain electrode of the 3rd switching tube, the 6th resistance and one end of the 7th resistance, the 3rd switch The source ground of pipe, the other end of the 6th resistance connects clock bus, and the other end of the 7th resistance is even Connecing one end and the drain electrode of second switch pipe of the 8th resistance, the other end of the 8th resistance connects data Bus, wherein, second source corresponding from equipment and the first power supply corresponding from equipment be same class In the connected mode of type two kinds are from equipment, and the upper pull-up voltage of second source is less than the first power supply Upper pull-up voltage.
In conjunction with the 4th kind of possible embodiment of first aspect, at the 5th kind of possible embodiment In, being electrically connected with main equipment by bus from equipment, circuit also includes the 3rd power supply, the 4th switch Pipe and the 5th switching tube, the 4th switching tube is arranged on the data bus, when the 5th switching tube is arranged on In clock bus, the grid of the 4th switching tube and the 5th switching tube receives the voltage of the 3rd power supply output, The source electrode electrical connection main equipment of the 4th switching tube and the 5th switching tube, the 4th switching tube and the 5th switch The drain electrode of pipe electrically connects from equipment.
In conjunction with the 5th kind of possible embodiment of first aspect, at the 6th kind of possible embodiment In, circuit also includes the 4th power supply, the 9th resistance and the tenth resistance, the 9th resistance and the tenth resistance One end receive the voltage of the 4th power supply output, the other end of the 9th resistance and the tenth resistance electricity respectively Connect data/address bus and clock bus.
In conjunction with the 6th kind of possible embodiment of first aspect, at the 7th kind of possible embodiment In, comparator also includes power end and earth terminal, and power end receives the first supply voltage, earth terminal Ground connection.
In conjunction with the 4th kind of possible embodiment of first aspect, at the 8th kind of possible embodiment In, branch pressure voltage is more than the upper pull-up voltage of second source, and is less than the upper pull-up voltage of the first power supply.
Second aspect provides a kind of basis side of pull-up voltage from the pull-up Voltage Cortrol bus of equipment Method, the method comprises the following steps:
The voltage of the first power supply output is carried out dividing potential drop, to obtain branch pressure voltage, wherein, the first electricity Source is the multiple power supply pulling up magnitude of voltage maximum from equipment that same type of connected mode is corresponding;
Relatively branch pressure voltage and the size of the upper pull-up voltage from equipment, and export comparative result;
Control to access the resistance of the pull-up resistor of bus according to comparative result output control signal so that The upper pull-up voltage that the pull-up resistor of bus is formed is equal with the upper pull-up voltage in equipment, it is achieved voltage Coupling, wherein, bus electrically connects with from equipment.
In the first possible embodiment of second aspect, the voltage of the first power supply output is entered Row dividing potential drop, farther includes obtaining the step of branch pressure voltage: enter the voltage of the first power supply output The branch pressure voltage obtained after row dividing potential drop is more than the upper pull-up voltage of second source, and is less than the first power supply Upper pull-up voltage;Wherein, second source corresponding from equipment and the first power supply corresponding from equipment be with In the connected mode of one type two kinds are from equipment, and the upper pull-up voltage of second source is less than first The upper pull-up voltage of power supply.
In conjunction with the first possible embodiment of second aspect, at the embodiment that the second is possible In, compare branch pressure voltage and the size of the upper pull-up voltage from equipment, and export the step of comparative result Farther include: when branch pressure voltage is more than during from the upper pull-up voltage of equipment, and comparative result is 0;When Branch pressure voltage is less than when the upper pull-up voltage of equipment, and comparative result is 1.
In conjunction with the embodiment that the second of second aspect is possible, at the embodiment that the third is possible In, farther include according to the step of comparative result output control signal: when comparative result is 1, Output control signal 1;When comparative result is 0, export control signal 0.
In conjunction with the first possible embodiment of second aspect, at the 4th kind of possible embodiment In, compare branch pressure voltage and the size of the upper pull-up voltage from equipment, and export the step of comparative result Farther include: when branch pressure voltage is more than during from the upper pull-up voltage of equipment, and comparative result is 1;When Branch pressure voltage is less than when the upper pull-up voltage of equipment, and comparative result is 0.
In conjunction with the 4th kind of possible embodiment of second aspect, at the 5th kind of possible embodiment In, farther include according to the step of comparative result output control signal: when comparative result is 1, Output control signal 0;When comparative result is 0, export control signal 1.
The invention has the beneficial effects as follows: be different from the situation of prior art, the present invention passes through dividing potential drop list Unit carries out dividing potential drop to the voltage of the first power supply output, and to obtain branch pressure voltage, comparator compares dividing potential drop Voltage and from the upper pull-up voltage of equipment, and export comparative result, latch receives comparative result, And under an effect triggering signal, export the pull-up of control signal control impedance unit access bus The resistance of resistance so that the upper pull-up voltage that the pull-up resistor of bus is formed and the upper pull-up voltage from equipment Equal, it is achieved voltage matches.By the way, the present invention adjusts according to from the upper pull-up voltage of equipment In whole bus, the circuit of pull-up voltage can identify the upper pull-up voltage (i.e. running voltage) from equipment automatically, And the type of equipment is judged according to pull-up voltage on this, thus automatically adjust the upper pull-up voltage of bus, The upper pull-up voltage making bus is equal with the upper pull-up voltage from equipment, thus realizes voltage matches.
Accompanying drawing explanation
Fig. 1 is that a kind of basis of embodiment of the present invention offer is from the pull-up Voltage Cortrol bus of equipment The structured flowchart of the circuit of pull-up voltage;
Fig. 2 is that a kind of basis of embodiment of the present invention offer is from the pull-up Voltage Cortrol bus of equipment The structural representation of the circuit of pull-up voltage;
Fig. 3 is that a kind of basis of embodiment of the present invention offer is from the pull-up Voltage Cortrol bus of equipment The flow chart of the method for pull-up voltage.
Detailed description of the invention
Referring to Fig. 1, Fig. 1 is that a kind of basis that the embodiment of the present invention provides is electric from the pull-up of equipment Pressure adjusts the structured flowchart of the circuit of pull-up voltage in bus.As it is shown in figure 1, the present invention according to from In the pull-up Voltage Cortrol bus of equipment the circuit 10 of pull-up voltage include bus 11, partial pressure unit 12, Comparator 13, latch 14, impedance unit 15 and from equipment 100.
Wherein, main equipment 111 is electrically connected from equipment 100 by bus 11.
The voltage that first power supply VSTB1 is exported by partial pressure unit 12 carries out dividing potential drop, to obtain dividing potential drop Voltage, wherein, the first power supply VSTB1 is corresponding multiple from setting of same type of connected mode The power supply that magnitude of voltage is maximum is pulled up in standby 100.
The first input end 131 of comparator 13 receives branch pressure voltage, the second input of comparator 13 End 132 receives the upper pull-up voltage from equipment 100 by bus 11, the outfan 133 of comparator 13 Output comparative result.
The first input end S of latch 14 receives comparative result, the second input of latch 14 C receives a triggering signal M, and the outfan Q output control signal of latch 14 controls impedance list Unit 15 accesses the resistance of the pull-up resistor of bus 11 so that it is upper that the pull-up resistor of bus 11 is formed Pull-up voltage is equal with the upper pull-up voltage from equipment 100, it is achieved voltage matches.
In the present embodiment, the voltage exported the first power supply VSTB1 by partial pressure unit 12 is carried out Dividing potential drop, to obtain branch pressure voltage, comparator 13 compares branch pressure voltage and upper from equipment 100 Pull-up voltage, and export comparative result, latch 14 controls impedance unit 15 according to this comparative result Access the resistance of the pull-up resistor of bus 11 so that according to from the pull-up Voltage Cortrol bus of equipment The circuit 10 of upper pull-up voltage can identify the upper pull-up voltage (i.e. running voltage) from equipment 100 automatically, And judge the type from equipment 100 according to pull-up voltage on this, thus automatically adjust bus 11 Pull-up resistor so that upper with from equipment 100 of the upper pull-up voltage that the pull-up resistor of bus 11 is formed Pull-up voltage is equal, thus realizes voltage matches.
The embodiment of the present invention additionally provides another kind of according to from the pull-up Voltage Cortrol bus of equipment The circuit of pull-up voltage, it is to be described in detail on the basis of above-described embodiment.Wherein, this reality Execute example according to the circuit 10 of pull-up voltage from the pull-up Voltage Cortrol bus of equipment to adjust bus In two different pull-up magnitudes of voltage, the identification differences of 11, two kinds of pull-up voltage are carried out as a example by equipment Explanation, it should be appreciated that the present invention is not limited to this specific embodiment.
Specifically referring to Fig. 2, bleeder circuit 12 includes the first resistance R1 and the second resistance R2, always Line 11 is preferably iic bus, and it includes data/address bus DATA and clock bus CLK.First One end of resistance R1 connects the other end of the first power supply VSTB1, the first resistance R1 and connects second One end of resistance R2 and the first input end 131 of comparator 13, second end of the second resistance R2 Ground connection.Second input 132 of comparator 13 electrically connects data/address bus DATA.Comparator 13 Outfan 133 electrically connect the first input end S of latch 14.Comparator 13 also includes power supply End and earth terminal, wherein, power end connects the first power supply VSTB1, earth terminal ground connection.
Further, impedance unit 15 include the first switching tube Q1, second switch pipe Q2, the 3rd Switching tube Q3, the 3rd resistance R3, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6, 7th resistance R7 and the 8th resistance R8.Wherein, the outfan Q connection first of latch 14 is left The grid of pass pipe Q1 and the grid of second switch pipe Q2, the source ground of second switch pipe Q2, The drain electrode of second switch pipe Q2 connects one end of the 3rd resistance R3, the other end of the 3rd resistance R3 Connection second source VSTB2, the source ground of the first switching tube Q1, the first switching tube Q1's Drain electrode connects one end and the grid of the 3rd switching tube Q3, the 4th resistance R4 of the 4th resistance R4 The other end connect one end of the 5th resistance R5 and the first power supply VSTB1, the 5th resistance R5 The other end connect the drain electrode of the 3rd switching tube Q3, the 6th resistance R6 and the one of the 7th resistance R7 End, the source ground of the 3rd switching tube Q3, the other end of the 6th resistance R6 connects clock bus The other end of CLK, the 7th resistance R7 connects one end and the second switch pipe of the 8th resistance R8 The drain electrode of Q2, the other end of the 8th resistance R8 connects data/address bus DATA.
Wherein, corresponding corresponding with the first power supply VSTB1 from equipment 100 of second source VSTB2 Be that two kinds same type of connected mode are from equipment from equipment 100.And second source The upper pull-up voltage of the VSTB2 upper pull-up voltage less than the first power supply VSTB1.
It should be noted that two kinds of the present embodiment identification from the upper pull-up voltage of equipment 100 respectively and The upper pull-up voltage of the first power supply VSTB1 and the upper pull-up voltage of second source VSTB2 are equal.
Further, the basis of present invention electricity of pull-up voltage from the pull-up Voltage Cortrol bus of equipment Road 10 also includes the 3rd power supply VSTB3, the 4th switching tube Q4 and the 5th switching tube Q5, the 4th Switching tube Q4 is arranged on data/address bus DATA, and the 5th switching tube Q5 is arranged on clock bus On CLK, the grid of the 4th switching tube Q4 and the 5th switching tube Q5 receives the 3rd power supply VSTB3 The voltage of output, the source electrode electrical connection main equipment 101 of the 4th switching tube Q4 and the 5th switching tube Q5, The drain electrode of the 4th switching tube Q4 and the 5th switching tube Q5 electrically connects from equipment 100.Wherein, the 3rd The voltage of power supply VSTB3 is greater than conducting voltage and the 5th switching tube of the 4th switching tube Q4 The conducting voltage of Q5, it is ensured that the 4th switching tube Q4 and the 5th switching tube Q5 can work.3rd The voltage of power supply VSTB3 must also be less than the upper pull-up voltage of data/address bus DATA, it is achieved master sets Standby 101 and voltage from equipment 100 isolate.Therefore, when the upper pull-up voltage of data/address bus DATA During upper pull-up voltage equal to the first power supply VSTB1, the 3rd power supply VSTB3 can also be with the second electricity Source VSTB2 substitutes.
Further, the basis of present invention electricity of pull-up voltage from the pull-up Voltage Cortrol bus of equipment Road 10 also includes the 4th power supply VSTB4, the 9th resistance R9 and the tenth resistance R10, the 9th resistance One end of R9 and the tenth resistance R10 receives the voltage of the 4th power supply VSTB4 output, the 9th resistance The other end of R9 and the tenth resistance R10 is electrically connected data/address bus DATA and clock bus CLK.Wherein, the 9th resistance R9 and the tenth resistance R10 as the pull-up resistor of main equipment 101, The voltage of the 4th power supply VSTB4 can be arranged according to the requirement of main equipment 101, as long as can be to the 9th Resistance R9 and the tenth resistance R10 provides enough upper pull-up voltages.
Basis described below is the circuit 10 of pull-up voltage from the pull-up Voltage Cortrol bus of equipment Operation principle:
After circuit powers on and bus 11 communicates before not yet starting, by comparator 13 sampled data The upper pull-up voltage from equipment 100 in bus DATA, the first power supply VSTB1 powered on After, the voltage that the first power supply VSTB1 is exported by partial pressure unit 12 carries out dividing potential drop, to obtain dividing potential drop Voltage.Wherein, the branch pressure voltage that the first power supply VSTB1 obtains after dividing potential drop is less than the first electricity The upper pull-up voltage of source VSTB1 the upper pull-up voltage more than second source VSTB2.Comparator 13 Relatively from upper pull-up voltage and the size of branch pressure voltage of equipment 100.First input of latch 14 End S receives the comparative result of comparator 13, and the second input R of latch 14 receives a triggering Signal M, the comparative result exported by comparator 13 latches, and exports control signal.Impedance unit 15 control to access the resistance of the pull-up resistor of bus 11 according to the control signal of latch 14 output, The upper pull-up voltage that the pull-up resistor of bus 11 is formed is equal with the upper pull-up voltage from equipment 100, Realize voltage matches.
Wherein, the PG signal that signal M can be the first power supply VSTB1 is triggered, it is also possible to for Other triggering signal.The action that latch 14 latches only is carried out when first powering on, always Line 11 is failure to actuate when normally working.
Further, the control signal of the comparative result of comparator 13 and latch 14 output can be with The change of its respective connected mode and change, have a following two situation:
The first situation: the first input end 131 of comparator 13 is negative input, comparator Second input 132 of 13 is positive input, and the outfan Q of latch 14 is homophase output End, connected mode is as shown in Figure 2;
The second situation: the first input end 131 of comparator 13 is positive input, comparator Second input 132 of 13 is negative input, and the outfan Q of latch 14 is anti-phase output End, the non-end of Q as shown in Figure 2.
When the connected mode of comparator 13 and latch 14 belongs to the first situation, comparator 13 As follows with the specific works process of latch 14:
If the second input 132 of comparator 13 is connect by the data/address bus DATA of bus 11 It is equal with the upper pull-up voltage of the first power supply VSTB1 for receiving from the upper pull-up voltage of equipment 100, then should Upper pull-up voltage is more than branch pressure voltage, and comparator 131 exports 1, if the second input of comparator 13 End 132 by the data/address bus DATA of bus 11 reception from the upper pull-up voltage of equipment 100 be with When the upper pull-up voltage of second source VSTB2 is equal, then on this, pull-up voltage is less than branch pressure voltage, than Relatively device 13 exports 0.
When comparator 13 is output as 1, latch 14 is output control under the effect triggering signal M Signal 1 processed, controls the first switching tube Q1 and second switch pipe Q2 conducting, the 3rd switching tube Q3 Cut-off so that the 3rd resistance R3 is shorted, now, the pull-up resistor accessing bus 11 is the 5th Resistance R5, the 6th resistance R6, the 7th resistance R7 and the 8th resistance R8, because now the 5th The driving voltage of resistance R5, the 6th resistance R6, the 7th resistance R7 and the 8th resistance R8 is The voltage of one power supply VSTB1, therefore access bus 11 pull-up resistor formed upper pull-up voltage and Equal from the upper pull-up voltage of equipment 10, it is achieved the Auto-matching of voltage.
When comparator 13 is output as 0, latch 14 is output control under the effect triggering signal M Signal 0 processed, controls the first switching tube Q1 and second switch pipe Q2 cut-off, the 3rd switching tube Q3 Powered by the 4th resistance R4 by the first power supply VSTB1, in the conduction state so that the 5th electricity Resistance R5 is shorted.Now, the pull-up resistor accessing bus 11 is the 3rd resistance R3, the 6th electricity Resistance R6, the 7th resistance R7 and the 8th resistance R8, because now the 3rd resistance R3, the 6th electricity Resistance R6, the driving voltage of the 7th resistance R7 and the 8th resistance R8 are second source VSTB2's Voltage, therefore accesses the upper pull-up voltage of the pull-up resistor formation of bus 11 and the pull-up from equipment 10 Voltage is equal, it is achieved the Auto-matching of voltage.
It is above the connected mode of comparator 13 and latch 14 when belonging to the first situation, compares The specific works process of device 13 and latch 14.As comparator 13 and the connection side of latch 14 When formula belongs to the second situation, the specific works process of comparator 13 and latch 14 is as follows:
If the second input 132 of comparator 13 is connect by the data/address bus DATA of bus 11 It is equal with the upper pull-up voltage of the first power supply VSTB1 for receiving from the upper pull-up voltage of equipment 100, then should Upper pull-up voltage is more than branch pressure voltage, and comparator 131 exports 0;If the second input of comparator 13 End 132 by the data/address bus DATA of bus 11 reception from the upper pull-up voltage of equipment 100 be with When the upper pull-up voltage of second source VSTB2 is equal, then on this, pull-up voltage is less than branch pressure voltage, than Relatively device 13 exports 1.
When comparator 13 is output as 0, latch 14 is anti-phase defeated under the effect triggering signal M Go out end output control signal 1, control the first switching tube Q1 and second switch pipe Q2 and turn on, the 3rd Switching tube Q3 ends so that the 3rd resistance R3 is shorted, and now, accesses the pull-up of bus 11 Resistance is the 5th resistance R5, the 6th resistance R6, the 7th resistance R7 and the 8th resistance R8, because of The upper pull-up voltage that this pull-up resistor accessing bus 11 is formed and the upper pull-up voltage phase from equipment 10 Deng, it is achieved the Auto-matching of voltage.
When comparator 13 is output as 1, latch 14 is anti-phase defeated under the effect triggering signal M Go out end output control signal 0, control the first switching tube Q1 and second switch pipe Q2 and end, the 3rd Switching tube Q3 is powered by the 4th resistance R4 by the first power supply VSTB1, in the conduction state, 5th resistance R5 is shorted.Now, the pull-up resistor accessing bus 11 is the 3rd resistance R3, the 6th resistance R6, the 7th resistance R7 and the 8th resistance R8, because now the 3rd resistance R3, the 6th resistance R6, the driving voltage of the 7th resistance R7 and the 8th resistance R8 are the second electricity The voltage of source VSTB2, therefore accesses the upper pull-up voltage of the pull-up resistor formation of bus 11 and from setting The upper pull-up voltage of standby 10 is equal, it is achieved the Auto-matching of voltage.
In the present embodiment, from the pull-up magnitude of voltage of equipment 100, the i.e. first power supply VSTB1 or The pull-up magnitude of voltage of two power supply VSTB2 is by the type decided of main equipment 101.Such as, when When main equipment 101 is rack server, it is 5V or 3.3V two from the pull-up magnitude of voltage of equipment 100 Kind.
In the present embodiment, the voltage exported the first power supply VSTB1 by partial pressure unit 12 is carried out Dividing potential drop, to obtain branch pressure voltage, comparator 13 compares branch pressure voltage and upper from equipment 100 Pull-up voltage, and export comparative result, latch 14 controls impedance unit 15 according to this comparative result Access the resistance of the pull-up resistor of bus 11 so that according to from the pull-up Voltage Cortrol bus of equipment The circuit 10 of upper pull-up voltage can identify the upper pull-up voltage (i.e. running voltage) from equipment 100 automatically, And judge the type from equipment 100 according to pull-up voltage on this, thus automatically adjust bus 11 Pull-up resistor so that upper with from equipment 100 of the upper pull-up voltage that the pull-up resistor of bus 11 is formed Pull-up voltage is equal, thus realizes voltage matches.
Further, when identifying that the upper pull-up voltage of difference two or more are from equipment, such as those It is the PCIE slot by buckle or standard and main equipment 101 electrical connection from equipment, or Multiple from equipment 100 be pluggable, I O power supply be various, or need pull-up with other Bus 11 electrical connection.According to the aforesaid embodiment of the present invention, a need correspondence increase comparator 13, Latch 14 and the quantity of impedance unit 15, its operation principle is identical with previously described, Do not repeat them here.
The embodiment of the present invention additionally provides a kind of basis and pulls up from the pull-up Voltage Cortrol bus of equipment The flow chart of the method for voltage.It is from the upper pull-up voltage of equipment in a kind of basis of previous embodiment Adjust and be described in detail on the basis of the circuit 10 of pull-up voltage in bus.Refer to Fig. 3, according to From the pull-up Voltage Cortrol bus of equipment, the method for pull-up voltage comprises the following steps:
Step S1: the voltage of the first power supply VSTB1 output is carried out dividing potential drop, to obtain dividing potential drop electricity Pressure.
Before the voltage exporting the first power supply VSTB1 carries out dividing potential drop, it is necessary first to determine first The magnitude of voltage of voltage source VSTB1.Specifically it is first determined main equipment 101 and connected mode The PCIE slot of type, such as buckle or standard, then determines according to the type of connected mode and makes With this connected mode electrically connect with main equipment 101 multiple from equipment 100, including determine those from Upper pull-up voltage in equipment 100.Pull-up voltage in the difference that the present embodiment will enumerate with embodiment above Two kinds illustrate as a example by equipment 100.
When determine two kinds of pull-up voltage in difference after equipment 100, will be with two kinds from equipment 100 Maximum on the equal power settings of pull-up voltage be the first power supply VSTB1, will be with another from equipment The power settings that the upper pull-up voltage of 100 is equal is second source VSTB2.I.e. first power supply VSTB1 It is that corresponding multiple of same type of connected mode pulls up the power supply that magnitude of voltage is maximum from equipment.The Two power supply VSTB2 corresponding from equipment and the first power supply VSTB1 corresponding from equipment be same class In the connected mode of type two kinds are from equipment, and the upper pull-up voltage of second source VSTB2 is less than The upper pull-up voltage of the first power supply VSTB1.
Further, the dividing potential drop that the voltage to the first power supply VSTB1 output obtains after carrying out dividing potential drop The voltage upper pull-up voltage more than second source VSTB2, and the pull-up less than the first power supply VSTB1 Voltage.
Step S2: compare branch pressure voltage and the size of the upper pull-up voltage from equipment, and knot is compared in output Really.
Comparative result has a following two situation:
The first situation: when branch pressure voltage is more than from the upper pull-up voltage of equipment 100, comparative result It is 0, when branch pressure voltage is less than during from the upper pull-up voltage of equipment 100, and comparative result is 1;
The second situation: when branch pressure voltage is more than from the upper pull-up voltage of equipment 100, comparative result It is 1, when branch pressure voltage is less than during from the upper pull-up voltage of equipment 100, and comparative result is 0.
Step S3: control to access the resistance of the pull-up resistor of bus according to comparative result output control signal Value so that the upper pull-up voltage that the pull-up resistor of bus is formed is equal with the upper pull-up voltage in equipment, Realize voltage matches.
From above, the present embodiment determine two kinds is from the upper pull-up voltage of equipment 100 respectively with the The upper pull-up voltage of one power supply VSTB1 and the upper pull-up voltage of second source VSTB2 are equal.
When comparative result is the first situation, particularly as follows:
When comparative result is 1, this upper pull-up voltage from equipment 100 and the first power supply is described The upper pull-up voltage of VSTB1 is equal, then output control signal 1, to control the upper of pull-up resistor formation Pull-up voltage is equal with the upper pull-up voltage of the first power supply VSTB1;
When comparative result is 0, this upper pull-up voltage from equipment 100 and second source is described The upper pull-up voltage of VSTB2 is equal, then output control signal 0, to control the upper of pull-up resistor formation Pull-up voltage is equal with the upper pull-up voltage of second source VSTB2.
When comparative result is the second situation, particularly as follows:
When comparative result is 1, this upper pull-up voltage from equipment 100 and second source is described The upper pull-up voltage of VSTB2 is equal, then output control signal 0, to control the upper of pull-up resistor formation Pull-up voltage is equal with the upper pull-up voltage of second source VSTB2;
When comparative result is 0, this upper pull-up voltage from equipment 100 and the first power supply is described The upper pull-up voltage of VSTB1 is equal, then output control signal 1, to control the upper of pull-up resistor formation Pull-up voltage is equal with the upper pull-up voltage of described first power supply VSTB1.
The concrete pull-up resistor that controls forms the principle of pull-up voltage as it was noted above, the most superfluous at this State.
In sum, the voltage that the first power supply VSTB1 is exported by the present invention by partial pressure unit 12 Carrying out dividing potential drop, to obtain branch pressure voltage, comparator 13 compares branch pressure voltage and from equipment 100 Upper pull-up voltage, and export comparative result, latch 14 controls impedance list according to this comparative result Unit 15 accesses the resistance of the pull-up resistor of bus 11 so that according to from the pull-up Voltage Cortrol of equipment In bus, the circuit 10 of pull-up voltage can automatically identify the upper pull-up voltage from equipment 100 (i.e. work electricity Pressure), and judge the type from equipment 100 according to pull-up voltage on this, thus automatically adjust bus The pull-up resistor of 11 so that the upper pull-up voltage that the pull-up resistor of bus 11 is formed with from equipment 100 Upper pull-up voltage equal, thus realize voltage matches.
The foregoing is only embodiments of the invention, not thereby limit the scope of the claims of the present invention, Every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion, or Directly or indirectly being used in other relevant technical fields, the patent being the most in like manner included in the present invention is protected In the range of protecting.

Claims (15)

1. basis circuit of pull-up voltage from the pull-up Voltage Cortrol bus of equipment, its feature exists In, described circuit includes bus, partial pressure unit, comparator, latch and impedance unit, institute State bus to electrically connect from equipment with described, wherein:
The voltage that first power supply is exported by described partial pressure unit carries out dividing potential drop, to obtain branch pressure voltage, Described first power supply is the multiple described pull-up electricity from equipment that same type of connected mode is corresponding The power supply that pressure value is maximum;
The first input end of described comparator receives described branch pressure voltage, and the second of described comparator is defeated Entering end and received by described bus described from the upper pull-up voltage of equipment, the outfan of described comparator is defeated Go out comparative result;
The first input end of described latch receives described comparative result, and the second of described latch is defeated Entering end and receive a triggering signal, the outfan output control signal of described latch controls described impedance Unit accesses the resistance of the pull-up resistor of described bus so that the pull-up resistor of described bus is formed Upper pull-up voltage is equal from the upper pull-up voltage of equipment with described, it is achieved voltage matches.
Circuit the most according to claim 1, it is characterised in that described bleeder circuit includes One resistance and the second resistance, described first power supply of one end connection of described first resistance, described first The other end of resistance connects one end and the first input end of described comparator, the institute of described second resistance State the second end ground connection of the second resistance.
Circuit the most according to claim 2, it is characterised in that the first of described comparator is defeated Entering end is negative input, and the second input of described comparator is positive input, described latch The outfan of device is in-phase output end.
Circuit the most according to claim 2, it is characterised in that the first of described comparator is defeated Entering end is positive input, and the second input of described comparator is negative input, described latch The outfan of device is reversed-phase output.
5. according to the circuit described in any one of claim 3 or 4, it is characterised in that described bus Including data/address bus and clock bus, described impedance unit include the first switching tube, second switch pipe, 3rd switching tube, the 3rd resistance, the 4th resistance, the 5th resistance, the 6th resistance, the 7th resistance with And the 8th resistance, wherein, the outfan of described latch connect described first switching tube grid and The grid of described second switch pipe, the source ground of described second switch pipe, described second switch pipe Drain electrode connect one end of described 3rd resistance, the other end of described 3rd resistance connects one second electricity Source, the source ground of described first switching tube, the drain electrode of described first switching tube connects the described 4th One end of resistance and the grid of described 3rd switching tube, the other end of described 4th resistance connects institute Stating one end of the 5th resistance and described first power supply, the other end of described 5th resistance connects described The drain electrode of the 3rd switching tube, described 6th resistance and one end of described 7th resistance, the described 3rd opens Close the source ground of pipe, the other end described clock bus of connection of described 6th resistance, the described 7th The other end of resistance connects one end and the drain electrode of described second switch pipe, the institute of described 8th resistance The other end stating the 8th resistance connects described data/address bus, wherein, the institute that described second source is corresponding State from described in equipment is corresponding with described first power supply from equipment be same type of connected mode Two kinds from equipment, and the upper pull-up voltage of described second source is less than the pull-up of described first power supply Voltage.
Circuit the most according to claim 5, it is characterised in that described from equipment by described Bus electrically connects a main equipment, and described circuit also includes that the 3rd power supply, the 4th switching tube and the 5th are opened Guan Guan, described 4th switching tube is arranged on described data/address bus, and described 5th switching tube is arranged on On described clock bus, the grid of described 4th switching tube and described 5th switching tube receives described the The voltage of three power supply outputs, the source electrode of described 4th switching tube and described 5th switching tube electrically connects institute Stating main equipment, the drain electrode electrical connection of described 4th switching tube and described 5th switching tube is described from setting Standby.
7. according to the circuit shown in claim 6, it is characterised in that described circuit also includes the 4th Power supply, the 9th resistance and the tenth resistance, one end of described 9th resistance and described tenth resistance receives The voltage of described 4th power supply output, the other end of described 9th resistance and the tenth resistance is electrically connected respectively Connect described data/address bus and clock bus.
Circuit the most according to claim 7, it is characterised in that described comparator also includes electricity Source and earth terminal, described power end receives described first supply voltage, described earth terminal ground connection.
Circuit the most according to claim 5, it is characterised in that described branch pressure voltage is more than institute State the upper pull-up voltage of second source, and less than the upper pull-up voltage of described first power supply.
10. a basis method for pull-up voltage, its feature from the pull-up Voltage Cortrol bus of equipment It is, said method comprising the steps of:
The voltage of the first power supply output is carried out dividing potential drop, to obtain branch pressure voltage, wherein, described the One power supply is that corresponding multiple described of same type of connected mode pulls up magnitude of voltage from equipment Big power supply;
Compare described branch pressure voltage and the size of the described upper pull-up voltage from equipment, and knot is compared in output Really;
Control to access the resistance of the pull-up resistor of bus according to described comparative result output control signal, Make upper pull-up voltage that the pull-up resistor of described bus formed and the described upper pull-up voltage phase from equipment Deng, it is achieved voltage matches, wherein, described bus electrically connects from equipment with described.
11. methods according to claim 10, it is characterised in that described to described first electricity The voltage of source output carries out dividing potential drop, farther includes obtaining the step of branch pressure voltage:
The branch pressure voltage that the voltage exporting described first power supply obtains after carrying out dividing potential drop is more than second The upper pull-up voltage of power supply, and less than the upper pull-up voltage of described first power supply;
Wherein, described second source corresponding described from equipment corresponding with described first power supply described in From equipment be two kinds same type of connected mode from equipment, and described second source is upper Pull-up voltage is less than the upper pull-up voltage of described first power supply.
12. methods according to claim 11, it is characterised in that wherein, described compare institute State branch pressure voltage and the size of the described upper pull-up voltage from equipment, and the step exporting comparative result is entered One step includes:
When described branch pressure voltage more than described from the upper pull-up voltage of equipment time, described comparative result is 0;
When described branch pressure voltage less than described from the upper pull-up voltage of equipment time, described comparative result is 1.
13. methods according to claim 12, it is characterised in that described according to described comparison The step of result output control signal farther includes:
When described comparative result is 1, export control signal 1;
When described comparative result is 0, export control signal 0.
14. methods according to claim 11, it is characterised in that the described dividing potential drop of described comparison Voltage and the size of the described upper pull-up voltage from equipment, and the step exporting comparative result wraps further Include:
When described branch pressure voltage more than described from the upper pull-up voltage of equipment time, described comparative result is 1;
When described branch pressure voltage less than described from the upper pull-up voltage of equipment time, described comparative result is 0.
15. methods according to claim 14, it is characterised in that described according to described comparison The step of result output control signal farther includes:
When described comparative result is 1, export control signal 0;
When described comparative result is 0, export control signal 1.
CN201310530312.9A 2013-10-30 2013-10-30 Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof Active CN103546114B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310530312.9A CN103546114B (en) 2013-10-30 2013-10-30 Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof
PCT/CN2014/078370 WO2015062261A1 (en) 2013-10-30 2014-05-26 Circuit for adjusting pull-up voltage of bus according to pull-up voltage of slave device, and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310530312.9A CN103546114B (en) 2013-10-30 2013-10-30 Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof

Publications (2)

Publication Number Publication Date
CN103546114A CN103546114A (en) 2014-01-29
CN103546114B true CN103546114B (en) 2016-08-24

Family

ID=49969242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310530312.9A Active CN103546114B (en) 2013-10-30 2013-10-30 Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof

Country Status (2)

Country Link
CN (1) CN103546114B (en)
WO (1) WO2015062261A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546114B (en) * 2013-10-30 2016-08-24 华为技术有限公司 Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof
CN204496490U (en) * 2015-02-06 2015-07-22 中兴通讯股份有限公司 The address card that a kind of upper pull-up voltage is adjustable
CN109612598B (en) * 2018-12-14 2019-08-30 华南理工大学 A kind of temperature sensing circuit and method
CN110912791B (en) * 2019-11-07 2021-06-29 苏州浪潮智能科技有限公司 System management bus link and pull-up resistance determination method, device and equipment thereof
CN114817104B (en) * 2022-04-20 2023-07-14 苏州浪潮智能科技有限公司 IIC pull-up voltage switching circuit and switching method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6411330B1 (en) * 1998-06-10 2002-06-25 Analog Devices, Inc. Method and a circuit for detecting the presence of a television or other device on the output of a video digital to analog converter
CN1900923A (en) * 2005-08-19 2007-01-24 威盛电子股份有限公司 Adjustable termination resistor for integrated circuit chip
CN101126788A (en) * 2006-08-18 2008-02-20 威华电子股份有限公司 Inserting bolt type test lead checking circuit and its method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546114B (en) * 2013-10-30 2016-08-24 华为技术有限公司 Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6411330B1 (en) * 1998-06-10 2002-06-25 Analog Devices, Inc. Method and a circuit for detecting the presence of a television or other device on the output of a video digital to analog converter
CN1900923A (en) * 2005-08-19 2007-01-24 威盛电子股份有限公司 Adjustable termination resistor for integrated circuit chip
CN101126788A (en) * 2006-08-18 2008-02-20 威华电子股份有限公司 Inserting bolt type test lead checking circuit and its method

Also Published As

Publication number Publication date
WO2015062261A1 (en) 2015-05-07
CN103546114A (en) 2014-01-29

Similar Documents

Publication Publication Date Title
CN103546114B (en) Circuit according to pull-up voltage in the pull-up Voltage Cortrol bus of equipment and method thereof
CN105491730B (en) A kind of LED lamp with USB interface string control system
CN104239240A (en) Electronic device with universal serial bus (USB) interface with integration function
CN203135390U (en) Over-current protection circuit and electronic apparatus
CN105006961B (en) A kind of multiple power supplies electric sequence control circuit and method
CN102915076B (en) Computer motherboard and voltage regulator circuit thereof
CN206524658U (en) Portable power source pin multiplexing circuit
CN203673803U (en) Signal source switching circuit for liquid crystal module testing, and liquid crystal module test tool
CN107544932B (en) The electronic device of ON-OFF control circuit and the application ON-OFF control circuit
CN204180045U (en) Based on the serial port level chance-over circuit of the intellectual education terminal of Internet of Things
CN203761526U (en) Television online programming circuit
CN203149559U (en) Multi-slave-structure MBUS host machine device
CN105391320A (en) Multi-phase power circuit
CN204465566U (en) The electric power management circuit of micro-capacitance sensor communication system
CN104749423A (en) Power failure detection circuit for direct current power supply
CN207424613U (en) A kind of testboard with intellectual monitoring protection supplies electric installation
CN206757335U (en) A kind of scan module
CN102902336B (en) The power supply link block of mainboard, mainboard and electronic equipment thereof
CN204517786U (en) Digital output unit and digital output card
CN207835866U (en) Constant-current switch power source control circuit, chip and LED drive circuit
CN109391277A (en) A kind of cascade bus signal receiving circuit and control system
CN203689044U (en) LED guide board controller
CN106611945A (en) Line protection circuit and communication device
CN205942601U (en) Electronic equipment interface communication reduces device of consumption
CN103713538A (en) LED guiding sign controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant