Voltage selection circuit
11320850 · 2022-05-03
Assignee
Inventors
Cpc classification
H03K19/00369
ELECTRICITY
International classification
Abstract
A voltage selection circuit for selecting a voltage from a plurality of input voltages comprising a plurality of diodes, each diode having a first terminal coupled to one of the input voltages, and a current sensor configured to sense a current flow through each diode, wherein the selected voltage is dependent on the sensed current flow. In operation, the circuit functions as a comparator to detect the maximum among the input voltages. The comparator decision is used to close one or more of the power switches to ensure that the load is powered from the highest input voltage.
Claims
1. A voltage selection circuit for selecting a voltage from a plurality of input voltages comprising: a plurality of diodes, each diode having a first terminal coupled to one of the input voltages and each diode having a second terminal; a current sensor configured to sense a current flow through each diode, wherein the selected voltage is dependent on the sensed current flow; and a resistive element, wherein the second terminals of the plurality of diodes are coupled to a first node that is coupled to the resistive element.
2. The voltage selection circuit of claim 1, wherein each diode comprises a transistor.
3. The voltage selection circuit of claim 1 configured to select a maximum voltage or a minimum voltage from the plurality of input voltages.
4. The voltage selection circuit of claim 1, wherein: the first terminal of each of the diodes is a cathode terminal and the second terminal of each of the diodes is an anode terminal; or the first terminal of each of the diodes is an anode terminal and the second terminal of each of the diodes is a cathode terminal.
5. The voltage selection circuit of claim 1 comprising a plurality of power switches, wherein: each power switch is configured to selectively couple one of the input voltages to an output terminal based on the selected voltage.
6. The voltage selection circuit of claim 5, wherein each power switch comprises a power switch transistor.
7. The voltage selection circuit of claim 5, wherein the selected voltage is the input voltage that is to be selectively coupled to the output terminal using one of the power switches.
8. The voltage selection circuit of claim 1, wherein the current sensor is configured to sense the current flow through each of the diodes by mirroring the current flow through each of the diodes.
9. The voltage selection circuit of claim 8, wherein the current sensor comprises a plurality of current mirrors, wherein each current mirror is: i) associated with one of the diodes; and ii) configured to mirror the current flowing through its associated diode.
10. The voltage selection circuit of claim 9, wherein each of the current mirrors comprises a current mirror transistor.
11. The voltage selection circuit of claim 10, wherein the current sensor comprises a plurality of resistive elements, wherein each resistive element is: i) coupled to one of the current mirror transistors; and ii) configured to provide a sensed voltage that is dependent on the mirrored current provided to the resistive element.
12. The voltage selection circuit of claim 11 comprising a plurality of power switches, wherein: each power switch is configured to selectively couple one of the input voltages to an output terminal based on the selected voltage; and each of the power switches is configured to receive one or more of the sensed voltages, the selective coupling of each power switch being controlled by the one or more sensed voltages received by said power switch.
13. The voltage selection circuit of claim 12, wherein: each of the power switches is configured to receive one of the sensed voltages, the selective coupling of each power switch being controlled by the sensed voltage received by said power switch; each power switch comprises a transistor that comprises a gate; and the transistor has its gate coupled to the sensed voltage received by said power switch.
14. The voltage selection circuit of claim 13, wherein each power switch comprises a logic circuit and the transistor has its gate coupled to the sensed voltage received by said power switch via the logic circuit.
15. The voltage selection circuit of claim 14, wherein at least one of the logic circuits comprises an inverter.
16. The voltage selection circuit of claim 12, wherein: each of the power switches is configured to receive two or more of the sensed voltages, the selective coupling of each power switch being controlled by the two or more sensed voltages received by said power switch; each power switch comprises two or more transistors that each comprise a gate; and each transistor has its gate coupled to one of the two or more sensed voltages received by said power switch.
17. A method of selecting a voltage from a plurality of input voltages comprising: providing a plurality of diodes, each diode having a first terminal coupled to one of the input voltages and each diode having a second terminal; providing a resistive element, wherein the second terminals of the plurality of diodes are coupled to a first node that is coupled to the resistive element; and sensing a current flow through each diode using a current sensor, wherein the selected voltage is dependent on the sensed current flow.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The disclosure is described in further detail below by way of example and with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
DESCRIPTION
(32) As discussed previously,
(33) Ideal diodes can be implemented accurately using active circuits, e.g.
(34)
(35)
(36)
(37) The traces 806 and 807 shows the output voltages Vout as output by the circuit 700 and the two cascade two input voltage selectors, respectively. The trace 808 shows the ideal output voltage which corresponds to the maximum voltage Vmax of the three input voltages Vin1, Vin2, Vin3. For ideal operation of the circuit 700 and the two cascade two input voltage selector, the trace 808 should equal the Vout traces of the respective circuits.
(38) The lower traces 810, 812, 814 show the currents supplied by Vin1, Vin2 and Vin3; these inputs supply both circuits (the circuit 700 and the cascade of circuits 200), so are combined currents. The currents from the voltage inputs show abrupt transitions to and from 0 mA, indicating that both circuits are effective in switching only the highest supply to Vout as soon as one supply voltage exceeds the others.
(39) However, both 3-input maximum selector circuits again show significant Vout droop around the transitions whenever the largest input voltages are roughly within VTHP≈0.64 V of each other. The worst droop in the 3-input maximum selector circuit is 2.62 V−1.16 V=1.46 V; this is a very large voltage error when compared to the input voltage magnitudes (0-3.6 V). The cascade circuit exhibits a worse droop because the voltage droops and switch resistances from each 2-input stage can accumulate in generating Vout.
(40) Neither of these 3-input maximum selector circuits has a Vout waveform that tracks the ideal Vout=max(Vin1, Vin2, Vin2) waveform well. As such, the 3-input selector circuits exhibit Vout droop problem when input voltages are within a threshold voltage of each other as was the case for the 2-input selector presented in
(41)
(42)
(43)
(44)
(45)
(46) In the present example, the circuit 1000 is configured to select a voltage from two input voltages Vin1, Vin2 such that the circuit 1000 comprises two diodes 1002, 1004. It will be appreciated that in further embodiments there may be more than two input voltages from which a voltage is to be selected, meaning that there will also be more than two diodes. Preferably, there will be an equal number of input voltages and diodes, such that each input voltage is associated with a unique diode.
(47) In the present example, the first terminal t1 is labelled as the anode terminal of the diodes, however it will be appreciated that in further embodiments, the first terminal t1 may be the cathode terminal, in accordance with the understanding of the skilled person.
(48) The circuit 1000 further comprises a current sensor 1006 configured to sense a current flow through each diode 1002, 1004, wherein the selected voltage is dependent on the sensed current flow. For example, the current sensor 1006 may be configured to sense the current flow through each of the diodes 1002, 1004 by mirroring the current flow through each of the diodes 1002, 1004.
(49) In a preferred embodiment the voltage selection circuit 1000 is configured to select a maximum voltage from the plurality of input voltages Vin1 Vin2. In further embodiments, the circuit 1000 may be configured to select a minimum voltage from the plurality of input voltages Vin1, Vin2. In further embodiments, the circuit 1000 may be configured to select the voltage based on another criterion, for example the second highest voltage from a three or more input voltages.
(50)
(51)
(52) For the voltage selection circuit 1014 each of the plurality of diodes 1002, 1004 comprises a second terminal t2 and the voltage selection circuit 1014 comprises a resistive element 1016. The second terminals t2 are coupled to a first node n1 that is coupled to the resistive element 1016. The resistive element 1016 may, for example, be a resistor or a current source.
(53) It will be appreciated that in the embodiments presented herein, resistors may be shown coupled to ground. It will be appreciated that rather than ground, the resistors may otherwise be coupled to an appropriate voltage source in accordance with the understanding of the skilled person.
(54)
(55) In the present embodiment, the voltage selection circuit 1018 comprises a plurality of resistive elements 1020, 1022 where each of the second terminals t2 is coupled to one of the resistive elements 1020, 1022. In the present example the first terminal t1 of each of the diodes 1002, 1004 is an anode terminal and the second terminal t2 of each of the diodes 1002, 1004 is a cathode terminal. The resistive elements 1020, 1022 may, for example, be resistors or current sources.
(56) It will be appreciated that in the circuit 1014 of
(57) The role of the current sensor 1006 in the circuit 1014 may simply be to detect the presence of a current flowing through one of the diodes 1002, 1004 to determine the maximum input voltage Vin1 Vin2. In the circuit 1018, the current sensor 1006 may, for example, evaluate the magnitude of current flow through the diodes 1002, 1004 which may be used to determine the maximum input voltage Vin1, Vin2.
(58) The circuits of
(59)
(60)
(61)
(62) Assuming Vin2 is greater than any of the other input voltages Vin1, . . . VinN, a current will flow through the diode 1004 as illustrated by a current flow path 1028. Under these conditions, only the diode 1004 conducts. This means that the current sensor 1006 can detect that current is flowing through the diode 1004 and detection of current flowing through the diode 1004 means that it is known that the voltage Vin2 is the greatest of the input voltages.
(63)
(64)
(65) The voltage selection circuit 1100 comprises a plurality of power switches 1102, 1104. Each power switch 1102, 1104 is configured to selectively couple one of the input voltages Vin1, Vin2 to an output terminal t3 based on the selected voltage. For example, assuming the voltage selection circuit 1100 is configured to detect the maximum voltage and Vin1 is greater than Vin2. The current sensor 1006 will detect current flow through the diode associated with the maximum voltage Vin1 (for example diode 1002). Using this information, the circuit 1100 will “select” the input voltage Vin1, such that the selected voltage is Vin1. The circuit 1100 will then close the switch 1102, whilst leaving switch 1104 open. In this case the input voltage Vin1 will be coupled to the output terminal t2, and the circuit 1100 will provide an output voltage Vout that is equal to the input voltage Vin1.
(66) In the present example, the selected voltage is the input voltage that is to be selectively coupled to the output terminal using one of the power switches. It will be appreciated that further configurations are possible, in accordance with the understanding of the skilled person.
(67) The output voltage Vout may be provided to a load such that when coupled to the load via the power switch, the coupled input voltage Vin1, Vin2 may function as a power source for the load. In operation, the circuit 1100 functions as a comparator to detect the maximum among several voltages. The comparator decision is used to close one or more of the power switches to ensure that the load is powered from the highest input voltage (s).
(68) In a preferred embodiment, the output voltage Vout of the circuit 1100 is the largest voltage out of the input voltages Vin1, Vin2, Vin3 and may be represented as follows:
Vout=max(Vin1,Vin2,Vin3, . . . )
(69) It will be appreciated that the schematic shows two input voltages, however this circuit 1100 may be modified to select the maximum of N input voltages, where N is an integer.
(70) In a preferred embodiment, the aim of the circuit 1100 is to switch seamlessly between multiple varying input voltages to always output the maximum voltage to supply a load.
(71) Maximum voltage selection may be applied to managing systems with multiple power supplies which can be powered up/down independently. One example of such an application is systems where an internal supply rail must automatically switch to a back-up battery whenever external power is removed. A common problem in multi-supply systems is biasing the N-Wells of pMOS power switches to the highest system voltage to guard against strong forward bias of their bulk-source junctions when one or more supplies is powered down, to avoid unwanted high currents that may drain batteries or even cause device damage.
(72) The type of maximum voltage selector described herein generates its output voltage by switching the largest input voltage or largest input voltages directly to the circuit output, which follows the procedure illustrated in
(73) If the inputs are power supply voltages and the switches are power switches, then automatic powering of the load from the highest supply rail present can be achieved using this type of circuit.
(74) The voltage selection circuits described herein do not employ feedback and so are stable against oscillation regardless of the load impedance being powered.
(75) The voltage selection circuits as described herein can be used to avoid output voltage errors that are present in known circuits, such as the dead-zone problem of the circuit 200. The voltage selection circuits as described herein are not limited to selection from two voltages, but can be extended to N voltage selection, where N is an integer.
(76) Desirable behaviours of any maximum voltage selector, as exhibited by the circuit 1100 and the other circuits described herein in accordance with the understanding of the skilled person are as follows: Ideally the output voltage should be as close as possible to the largest input voltage. Voltage errors should be as small as possible. Low power dissipation possible relative to load power delivered. Minimal circuit stability concerns/considerations. Fast switching between inputs. The output is preferably be driven by at least one input.
(77) Undesirable behaviours to avoid, and which are not exhibited by the circuit 1100 and the other circuits described herein in accordance with the understanding of the skilled person are as follows: Any output voltage tracking errors, e.g. dead-zones in which the output floats undriven, or having the output not necessarily switching to the new highest voltage when the input voltages are changing. Needing any power supplies over and above those being switched to the load (i.e. self-powered, autonomous switching sought). Output brown-out caused by any dead-times where the output is undriven when switching between inputs (e.g. hard break-before-make switching) Being limited to selecting between only 2 input voltages.
(78) In a further embodiment a plurality of 2-input maximum voltage selector circuits (for example, an embodiment of the circuit 1100 having only two inputs) can be used to select the largest of more than two voltages by using tree networks of 2-input selectors to perform pair-wise comparisons.
(79) With 3 voltages Vin1, Vin2 and Vin3, any two 2-input selectors can be cascaded to obtain the largest output voltage, e.g.: Vout=max (Vin1, max(Vin2, Vin3)). In operation, the first of the two selectors would determine the largest voltage out of the input voltages Vin2, Vin3, and output the largest of the voltages Vin2, Vin3. The largest of the two voltages would then be provided to the second of the two selectors as an input along with the input voltage Vin1. The second selector would then output the largest of its two inputs which would correspond to the largest voltage of Vin1 Vin2, Vin3. This maximum (or minimum) voltage selection method can extend arbitrary number of input voltages by cascading additional 2-input maximum (or minimum) selectors.
(80) Returning to
(81)
(82)
(83) In the schematic, two input voltages Vin1, Vin2 are shown, each being coupled to a diode which has an associated current mirror. It will be appreciated that the circuit 1200 could be modified to provide voltage selection for two or more input voltages in accordance with the understanding of the skilled person.
(84) In the present example, the current mirror 1202 is associated with the diode 1002 and the current mirror 1204 is associated with the diode 1004.
(85)
(86)
(87)
(88) Each power switch 1102, 1104 is configured to selectively couple one of the input voltages Vin1, Vin2 to the output terminal t3 based on the selected voltage. Each of the power switches 1102, 1104 is configured to receive one or more of the sensed voltages Vsen1, Vsen2. The selective coupling of each power switch 1102, 1104 is controlled by the sensed voltage Vsen1, Vsen2 received by that power switch 1102, 1104.
(89) In the present embodiment, if the sensed voltage Vsen1, Vsen2 exceeds a threshold voltage value then it will be a high state signal, whereas if the sensed voltage Vsen2 is below the threshold voltage value then it will be a low state signal.
(90) For example, assume that Vsen1 is 5V and the threshold voltage is 2.5V. As Vsen1 is greater than the threshold it will be a high state signal for the purposes of controlling the power switch 1102. If Vsen1 falls below the threshold voltage, for example to 2V, the Vsen1 will be a low state signal for the purposes of controlling the power switch 1102.
(91) In the present embodiment, if the switch 1102, 1104 receives a high state signal, it will close and be conductive, and if it receives a low state signal it will open and become non-conductive.
(92) For example, in operation, assume that the input voltage Vin1 is greater than the input voltage Vin2. A current will flow through the diode 1002 which will be mirrored by the current mirror transistor 1208, and the sensed voltage Vsen1 will be generated due to the presence of the resistive element 1302. The sensed voltage Vsen1 will function as a control signal in a high state to close the switch 1102, thereby providing a conductive path between the input voltage Vin1 and the output terminal t3. Therefore, in the present example the output voltage Vout will be the input voltage Vin1. Assuming no current flows through the diode 1004, for example by using the circuit implementation shown in
(93) It will be appreciated that additional circuitry may be provided to adjust the sensed voltage Vsen1, Vsen2 to a suitable level to drive the switching of the switches 1102, 1104. For example, the additionally circuitry may comprise one or more comparators.
(94)
(95) As in the circuit 1306 each power switch 1102, 1104 is configured to selectively couple one of the input voltages Vin1, Vin2 to the output terminal t3 based on the selected voltage. Each of the power switches 1102, 1104 is configured to receive one or more of the sensed voltages Vsen1, Vsen2. The selective coupling of each power switch 1102, 1104 is controlled by the sensed voltage Vsen1, Vsen2 received by that power switch 1102, 1104.
(96) As for the circuit 1306, if the sensed voltage Vsen1, Vsen2 exceeds a threshold voltage value then it will be a high state signal, whereas if the sensed voltage Vsen2 is below the threshold voltage value then it will be a low state signal.
(97) In the circuit 1308, the switches 1102, 1104 are configured differently from the circuit 1306 such that if the switch 1102, 1104 receives a low state signal, it will close and be conductive, and if it receives a high state signal it will open and become non-conductive. To accommodate this difference compared to the circuit 1306, in the circuit 1308 the sensed voltage Vsen1 is received by the switch 1104 and the sensed voltage Vsen2 is received by the switch 1102.
(98) In operation, assume that the input voltage Vin1 is greater than the input voltage Vin2. A current will flow through the diode 1002 which will be mirrored by the current mirror transistor 1208, and the sensed voltage Vsen1 will be generated due to the presence of the resistive element 1302. The sensed voltage Vsen1 will function as a control signal in a high state to open the switch 1104.
(99) Assuming no current flows through the diode 1004, for example by using the circuit implementation shown in
(100) It will be appreciated that additional circuitry may be provided to adjust the sensed voltage Vsen1, Vsen2 to a suitable level to drive the switching of the switches 1102, 1104. For example, the additionally circuitry may comprise one or more comparators.
(101)
(102) It will be appreciated that other switching configuration are possible. For example, for a further embodiment, the switches 1102, 1104 may be closed until a control signal exceeding a threshold voltage value is received, after which they will open. In such an embodiment, the sensed voltage Vsen1 may be provided to the power switch 1104 and the sensed voltage Vsen2 may be provided to the power switch 1102 to provide the required functionality of coupling the greatest input voltage Vin1, Vin2 to the output terminal t3.
(103)
(104) As discussed previously, when two or more input voltages are approximately equal, for example as shown in
(105) It will be appreciated that other configurations are possible in accordance with the understanding of the skilled person.
(106)
(107) In the present embodiment, the transistor 1108 has its gate coupled to Vsen2 and the transistor 1110 has its gate coupled to Vsen1. This is opposite to the arrangement shown in the circuit 1400. This is due to the configuration of the transistors 1108, 1110 in the present embodiment meaning that they function as closed switches when they receive a low state signal at their gates and function as open switches when they receive a high state signal at their gates. As such, the operation of the switches 1102, 1104 of the circuit 1500 are configured as described for the circuit 1308 of FIG. 13C. It will be appreciated that in a further embodiment, the switches 1102, 1104 of the circuit 1500 may alternatively be configured in a way similar to that described for the circuit 1400 in accordance with the understanding of the skilled person.
(108) It will be appreciated that in the embodiments described herein, the current mirrors 1202, 1204 comprising transistors 1208, 1210 have been described as being distinct from the diode coupled transistors 1010, 1012 that generate the current to be mirrored. Conventionally, the current mirror may be said to comprise both transistors, for example the transistors 1010 and 1208 form a current mirror. The distinction has been applied herein for clarity of explanation and it will be appreciated that this description is not intended to be limiting or to omit embodiments that apply a different convention.
(109) Features of the circuit 1500 are as follows: pMOS FETs M1 (transistor 1108) and M2 (transistor 1110) implement power switches 1102, 1104 for switching either of the input voltages Vin1 or Vin2 to the circuit output, Vout. Diode-connected pMOS FETs M3A (transistor 1010) and M4A (transistor 1012) in conjunction with resistive element 1016 form a maximum voltage selector of the generic type shown in
(110) For the sake of simplicity, the description of circuit operation that follows assumes circuit symmetry: Resistive element 1302 has a resistance R1 that is equal to resistance R3 of resistive element 1304. M3A (transistor 1010) and M4A (transistor 1012) are identical (matched) pMOS devices M3B (transistor 1208) and M4B (transistor 1210) are identical (matched) pMOS devices. The mirror current ratio IDS(M3B)/IDS(M3A)=IDS(M4B)/IDS(M4A)=M. A note on naming conventions, IDS(a) is the drain source current through transistor “a”
(111) These are not strict requirements for useful/correct circuit operation however, and imbalanced circuit embodiments are possible and may be useful in some applications.
(112) Circuit operation is now described. Consider the case Vin1>>0 V, Vin2=0 V: VMAXSEL is raised to ≈Vin1−VTHP by the M3A MOS diode. Diode M4A is reverse-biased (because Vin2=0) and does not conduct; no current flows in M4B and R3, and thus V2_max=0 V. The current flowing through R2 (=VMAXSEL/R2) all flows through MOS diode M3A. This current is mirrored (with mirror ratio M) by M3B and flows into R1.
(113) The voltage drop across R1 can be calculated as follows:
(114)
(115) If Vsen1 as calculated above ≥Vin1 then M3B will drop into triode mode, reducing the effective mirror ratio, until voltage Vsen1 clamps at Vsen1≈Vin1. Since Vsen2=0 V, switch M1 is closed, switch M2 is open, and Vout=Vin1. Therefore Vout=max(Vin1, Vin2), as desired.
(116) From symmetry considerations, if instead Vin2>>0 V and Vin1=0 V then Vout=Vin2 results, so again Vout=max(Vin1, Vin2) as desired.
(117) The schematics of the voltage selection circuits as presented herein have been shown for the selection of a voltage from two or three input voltages. It will be appreciated that all embodiments presented herein may be configured to provide voltage selection from two or more input voltages in accordance with the understanding of the skilled person and is not intended to be limited to voltage selection from only two or three input voltages.
(118) Now consider when Vin1=Vin2:
(119) Since it has been assumed for simplicity that M3A and M4A are matched devices then half of the current flowing in R2 flows in each:
(120)
(121) where VMAXSEL=Vin1−VTHP=Vin2−VTHP.
(122) Since it has been assumed for simplicity that R1 and R3 are matched resistors and that M3B and M4B are also matched devices implementing mirrors with common mirror ratio M, then:
(123)
(124) By suitable choice of M, R2, R1 and R3, when Vin1=Vin2 than voltages Vsen1=Vsen2 can be made low enough to turn on both M1 and M2, ensuring that Vout is driven from both. Since Vin1=Vin2, having both inputs voltages connected via M1 and M2 is acceptable—the switches are not creating an unwanted short between supplies at different voltages—and is in fact desirable behaviour as it means there will be no dead-zone caused by having M1 and M2 both off when the input voltages crossover, the circuit soft-switches between Vin1 and Vin2 when the input voltages crossover.
(125) When Vin1 and Vin2 are not equal, but close, i.e. Vin1≈Vin2 then the high transconductance of the current-steering pair M3A/M4A means that as soon as one input voltage is even slightly higher than the other then the R2 current is diverted via the M3A/M3B or M4A/M4B mirrors to node Vsen1 or Vsen2 to control M1 and M2 so that the highest voltage drives the output.
(126) The circuit 1500, and the other circuits presented herein in accordance with the understanding of the skilled person, combines comparator and switch driver functions in an effective manner, where relatively few devices perform several merged duties at once to achieve a complicated goal, e.g. the MOS diodes (transistors 1010, 1012) of the maximum selector also operate as common-gate differential inputs to multiple current-steering mirrors (current mirrors 1202, 1204) that in turn form part of the power switch drivers. It enables very accurate maximum voltage tracking using a feed-forward method that thus avoids concerns about any closed-loop stabilities.
(127) Compared to the known circuits as discussed previously, the circuits disclosed herein in accordance with the present disclosure provide: Very accurate output voltage tracking, Vout=max(Vin1, Vin2, . . . ) No dead-zones. No tracking errors due to latch overdrive requirements.
(128) Additionally, like the known circuits presented previously, the circuits disclosed herein in accordance with the present disclosure uses feed-forward operation, so avoids the risk of oscillations that may occur due to output voltage Vout loading.
(129)
(130)
(131) The simulation uses the following parameters: R2=2.95 MΩ R1=R3=2.21 MΩ (75% of R2) pMOS threshold voltage VTHP≈0.64 V Current mirror ratio of M3A/3B and M4A/4B pairs M=2 M1 and M2 identical-sized pMOS switch devices. input voltages Vin1=0 to 1.2 V, Vin2=0 to 1.8 V, driving a 2 kΩ load.
(132) Comparing to simulations
(133)
(134)
(135) For this example, at Vin2=1.225 V, Vin1=1.2 V the ratio RON(M1)/RON(M2)=2080/101≈20, confirming that Vout is driven primarily by input Vin2 even at only 25 mV input voltage difference.
(136) Above 50 mV input voltage difference the RON ratio >600 due to the high gain of the maximum voltage selecting gate-driver circuits.
(137)
(138) When implementing the circuit 1500, values for R1 and R3 may be chosen. Assuming again for simplicity that R1=R3 and that M3A/M3B and M4A/M4B have identical mirror ratios M=2 larger R1 and R3 values increase the gain from Vin1, Vin2 to Vsen1 and Vsen2. Larger R1 and R3 values gives a sharper transition (compared with smaller values) between Vin1 and Vin2 when the input voltages crossover, but if R1 and R3 increase until R1=R3=R2 then circuit symmetry shows that at Vin1=Vin2, Vsen1=Vsen2=VMAXSENSE=Vin1−VTHP. Switches M1 and M2 have their gate-source voltage, VGS≈VTHP and so may conduct very weakly causing Vout to droop when loaded.
(139) If R1=R3>R2 then M1 and M2 gate drive is further reduced and a dead-zone can appear around Vin1=Vin2. Avoiding this sets an upper bound on the values for R1 and R3. Having small R1 and R3 avoids a dead-zone or weak output drive when Vin1≈Vin2, but results in less gain and so a less-sharp crossover whenever one input voltage becomes largest. This could result in unwanted current flow between Vin1 and Vin2 as the difference |Vin1−Vin2| increases.
(140) In the extreme where R1=R3=0 then both M1 and M2 gates short to ground and so M1 and M2 will always conduct, which can result in very large, unwanted non-load current flow between Vin1 and Vin2.
(141) Practically, choosing R1=R3>R2/2 ensures that (for M=2) when Vin1>Vin2 then Vsen1 can rise to Vsen1≥Vin1−VTHP, which will be high enough to ensure that M2 does not conduct, and vice-versa for Vsen2 and M1 when Vin2>Vin1.
(142) The above considerations give, for M=2 R2/2≤R1, R3≤R2
(143) And for general mirror ratio MR2/M≤R1, R3≤2×R2/M
(144)
(145) When R1 and R3 are at the upper limit (=R2), a dead-zone is created around Vin1≈Vin2. M1 and M2 both have RON>8 kΩ and Vout dips to ≈0.5 V (not shown). When R1 and R3 are below the lower limit, both M1 and M2 have RON<100Ω when Vin1=Vin2=1.2 V and so Vout is strongly driven and there is no dead-zone.
(146) However, because Vsen1 and Vsen2 cannot not rise high enough to properly turn-off M2 and M1 when required, both continue to conduct quite strongly (RON<1 kΩ) even when Vin1≠Vin2, resulting in unwanted non-load current flow between Vin1 and Vin2.
(147) In a preferred embodiment, the circuit 1500 may use R1=R3=0.75×R2 (middle of the suggested range), which is a reasonable compromise between switching sharply from supplying load current from only Vin1 or Vin2 when Vin1≠Vin2, and avoiding a dead-zone when Vin1≈Vin2.
(148)
(149) The trade-off between wanting R1 and R3 large for high gain/sharp crossover but wanting R1 and R3 low to keep Vsen1 and Vsen2 low so both M1 and M2 conduct well near crossover can be improved using the circuit 1700 of
(150) Compared to the circuit 1500, the circuit 1700 further comprises resistive elements 1702 (also labelled R1B), 1704 (also labelled R3B) and transistors 1706 (also labelled M5), 1708 (also labelled M6).
(151)
(152)
(153)
(154)
(155) Also shown is the maximum voltage by a trace 1814.
(156) The following parameters were used for the simulations as described for
(157) Comparing to
(158) Comparing
(159) Various alternative embodiments of the circuits 1500, 1700 are possible, in accordance with the understanding of the skilled person. For example (non-exhaustive list of alternative embodiments implementing the same basic circuit architecture): The maximum voltage sensing and gate driving MOSFET devices M3A/M3B and M4A/M4B could be implemented using instead PNP bipolar transistors, p-channel JFETs, or any other suitable device. Resistors were show for loads R1, R2 and R3 because they are simple to implement. However, other load structures well-known to analogue designers may be used, such as: Current sources and mirrors. MOSFETs operated in triode mode to approximate resistors (this usually requires less silicon area than a polysilicon or diffused resistor of equivalent resistance and is useful if circuit area is constrained).
(160)
(161)
(162) As discussed for resistive loads, the values/sizes of any load devices is preferably chosen in conjunction with the M3A/M3B and M4A/M4B mirror ratios to ensure correct circuit operation, namely that the Vsen1 and Vsen2 voltages can be pulled low enough to ensure that M1 and M2 conduct strongly when Vin1≈Vin2, and also that Vsen1 can pull high enough to turn off M2 when Vin1>Vin2, and Vsen2 can pull high enough to turn off M1 when Vin2>Vin1.
(163)
(164) In the present embodiment, each of the power switches 1102, 1104, 2009 is configured to receive two sensed voltages from the sensed voltages Vsen1, Vsen2, Vsen3. The selective coupling of each power switch is controlled by the two sensed voltages Vsen1, Vsen2, Vsen3 received by said power switch 1102, 1104, 2009. Each power switch comprises two transistors that each comprise a gate each transistor has its gate coupled to one of the two sensed voltages received by said power switch.
(165) The circuit 2000 (and other alternative embodiments shown) can be generalised to implement Vout=max(Vin1, Vin2, . . . , VinN) without needing to cascade trees of 2-input maximum selector circuits. For the power switches, a N-input selector requires a N×(N−1) pMOS switch array with (N−1) pMOS connected in series in each slice. For the general power switch slice coupling input VinX to the output, there are (N−1) series coupled pMOS power switches with their individual gates connected to Vsen1, Vsen2, . . . , Vsen(X−1), Vsen(X+1), . . . , VsenN, i.e. all Vsen signals except for VsenX control the pMOS switch gates (c.f.
(166)
(167)
(168) The simulation used the following parameters: R1=R3=R4=0.55 MΩ R2=1 MΩ pMOS threshold voltage ≈0.64 V Current mirror ratio of (transistor 1108)/(transistor 1208), (transistor 1104)/(transistor 1210) and (transistor 2004)/(transistor 2006)=3. The same size of transistors as part of the power switches as used in the simulation of
(169) Comparing
(170) As discussed for alternative embodiments for the 2-input circuit, the resistive loads of the circuit 2000 can be replaced with alternatives, such as current sources, MOSFETs operating in triode region to approximate resistors etc.
(171) All sense/gate-drive MOSFETS (i.e. all MOSFETs that are not power switches) can be replaced with different but similar devices such as PNP BJTs.
(172) All circuits can be inverted via well-known pMOS-to-nMOS conversion methods to implement most-negative voltage selection circuits.
(173) The pMOS maximum selector and gate drive diodes/mirrors could be implemented using PNP BJTs, JFETs etc.
(174) One weakness of the circuit 2000 is that for N voltage inputs, the number of switches in the power switch array is N×(N−1). Each switch branch connecting one of the N voltage inputs to Vout requires (N−1) series connected switch devices, and if each switch has on-resistance RON then the total resistance between any selected input voltage and Vout becomes: RTOT=(N−1)×RON.
(175) If RIOT must not exceed a certain maximum value, then as N increases the individual switch FETs must become (N−1) times wider so that their individual on resistances become RON/(N−1); this needs (N−1) times as much silicon area for each individual pMOS switch device. Given that the size of the power switch array is N×(N−1), if each FET must increase in size roughly proportional to N as N increases, then to maintain a low RTOT the size of the total power switch array area grows proportional to N.sup.3. In integrated implementations keeping RTOT low will clearly demand excessive silicon area for the power switches even for low values of N. In discrete implementations, a large number of power FETs will be required on the bill-of-materials.
(176) The circuit 2000 may be extended to determine the largest of N input voltages and then generate signals to drive the power switches. The selector circuit slice can be implemented using PNP BJTs etc instead of pMOSFETs. Any device that can form a “diode” for maximum voltage selection and also make that diode part of a current mirror to transmit information concerning which input voltage is largest to the power switch gate driver circuits is suitable. Various outputs loads are possible: true resistors, triode-mode FET resistor approximations, current mirrors/sources etc. Provided the loads allow the Vsen1, Vsen2, Vsen3 nodes to swing from near ground to the largest input voltage any load will work. High load impedance to give high gate driver gain is desirable for sharp transition between input voltages at crossover.
(177)
(178) Each power switch 1102, 1104, 2009 comprises an inverter 2202, 2204, 2206. It will be appreciated that the present power switch array 2200 is an advancement on the power switch arrangement presented in
(179)
(180)
(181)
(182) In this example embodiment the inverters 2202, 2204, 2206 are pseudo-RTL type with nMOS input and long-channel grounded gate pMOS loads (
(183) It can be observed that circuit performance is improved over
(184)
(185) The inclusion of switches SW1, SW2 means that the circuit 2400 can be powered down and/or one specific input voltage Vin1, Vin2 can be set to drive Vout when the input voltages are equal (or approximately equal). In operation, when switches SW1 and SW2 close, M1 conducts and M2 is cut-off, so Vout is powered only from Vin1 when Vin1=Vin2 (otherwise the circuit would drive Vout via both M1 and M2). Such behaviour could be desirable if, say, Vin2 is a noisy voltage supply and it is desired not to short Vin2 to a quiet Vin1 in under Vin1=Vin2 conditions. Switch SW1 could be a pMOS device like M3B and switch SW2 could be a nMOS device. A comparator may be used to monitor the differential between Vin1, Vin2 and control the switches SW1, SW2.
(186)
(187) The voltage selection circuit 2500 comprises resistive elements R1A, R1B, R2, R3A, R3B, R5A, R5B, R6A, R6B, R7, R8l transistors M1, M2, M3A, M3B, M4A, M4B, M5, M6; and diodes DC1A, DC1B, DC2A, DC2B, DB1, DB2, D1, D2, D3, D4. All MOSFETs in the present embodiment are of types tolerant of high drain-source voltages, e.g. LDMOS, DMOS, VMOS. Blocking diodes DB1 and DB2 prevent excessive reverse (accumulation mode) VGS across M3A/M3B and M4A/M4B whenever they are not conducting and the difference between voltages Vin1 and Vin2>VGS(max). Minimum input voltage for circuit operation will increase by a PN diode forward voltage as now either the (M3A and DB1) or (M4A and DB2) path must conduct for the maximum detector to operate. Optional bleed resistors R7 and R8 ensure M3B and M4B do not conduct (VGS pulled to 0V) when DB1 and DB2 respectively are reverse biased. VGS(max) clamps DC1A/DC1B and DC2A/DC2B prevent excess VGS for M1 and M2 when their gates are being pulled toward ground by the maximum detector circuit (two diodes have been shown only to illustrate the general idea—any suitable clamp device can be used to get close to but not exceed VGS(max), e.g. MOS diodes, Zener clamps etc.) M5 and M6 (with maximum VGS protection clamps at their gates) provide pull-down for the gates of M1 and M2 depending on which device the maximum voltage selector indicates should conduct. This avoids possible reverse conduction through M3B and M4B caused by the DC2A/DC2B or DC1A/DC2B clamps.
(188)
(189) It will be appreciated that the circuits 2500, 2502 may be modified to function with three or more input voltages, in accordance with the understanding of the skilled person.
(190)
(191)
(192)
(193)
(194) It will be appreciated that variations on the above circuits are possible in accordance with the understanding of the skilled person. For example, in
(195)
(196) In summary, the operation of the power switch array 2200 may be described as follows: Consider the input voltages Vin1, Vin2, Vin3 Determine which input voltage Vin1, Vin2, Vin3 is the largest Close only the switch connecting the largest input voltage Vin1, Vin2, Vin3 to provide the output voltage Vout.
(197) In the example shown in
(198) In the embodiments discussed previously, The current sensor 1006 functions to determine which of Vin1, Vin2, Vin3 is greatest, as discussed previously, and converts this information to gate drive voltages suitable for controlling MS1, MS2, MS3.
(199)
(200)
(201)
(202) The circuits disclosed herein can provide more accurate output voltage switching/tracking to follow an input voltage, such as the maximum input voltage, when compared to known systems.
(203) Common features between figures share common reference numerals and variables.
(204) Various improvements and modifications may be made to the above without departing from the scope of the disclosure.