[go: up one dir, main page]

CN115833818A - Power supply selection circuit supporting three-way input - Google Patents

Power supply selection circuit supporting three-way input Download PDF

Info

Publication number
CN115833818A
CN115833818A CN202211302798.6A CN202211302798A CN115833818A CN 115833818 A CN115833818 A CN 115833818A CN 202211302798 A CN202211302798 A CN 202211302798A CN 115833818 A CN115833818 A CN 115833818A
Authority
CN
China
Prior art keywords
power supply
circuit
selection
pmos
gpb
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211302798.6A
Other languages
Chinese (zh)
Inventor
王小曼
陈艳
张昱桐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing CEC Huada Electronic Design Co Ltd
Original Assignee
Beijing CEC Huada Electronic Design 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 Beijing CEC Huada Electronic Design Co Ltd filed Critical Beijing CEC Huada Electronic Design Co Ltd
Priority to CN202211302798.6A priority Critical patent/CN115833818A/en
Publication of CN115833818A publication Critical patent/CN115833818A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Direct Current Feeding And Distribution (AREA)

Abstract

本发明涉及一种应用于多电源芯片中的支持三路输入的电源选择电路结构。对于多电源的芯片内置的电源选择电路来说,其电源电压通常需要从系统中多路电源进行选择,选择原则一般是选择存在且电压最高的电源作为输出,可以用作后级电源模块的控制逻辑电源和功率管的衬底。本发明提出的电源选择电路可以支持三路输入电源,其直接对三路电源输入进行比较判决并控制相应开关管,可以降低对开关管的尺寸要求,保证选择出来的最高电平值误差小,并在其中任意两路电源掉电后仍然能产生可靠的输出电源。

Figure 202211302798

The invention relates to a power supply selection circuit structure supporting three-way input applied in a multi-power supply chip. For the power selection circuit built into the multi-power chip, the power supply voltage usually needs to be selected from multiple power supplies in the system. The selection principle is generally to select the power supply with the highest voltage as the output, which can be used as the control of the subsequent power supply module. Substrate for logic power supplies and power transistors. The power supply selection circuit proposed by the present invention can support three input power sources, it directly compares and judges the input of the three power sources and controls the corresponding switch tubes, which can reduce the size requirements of the switch tubes, and ensure that the error of the selected highest level value is small, And it can still generate reliable output power after any two power supplies are powered off.

Figure 202211302798

Description

一种支持三路输入的电源选择电路A Power Selection Circuit Supporting Three Inputs

技术领域technical field

本发明为电源选择电路,在电源管理系统中起着至关重要的作用,属于模拟电路设计领域。The invention is a power selection circuit, plays a crucial role in a power management system, and belongs to the field of analog circuit design.

背景技术Background technique

现在的芯片根据子系统的功耗和精度等要求不一样,一般都内置多个LDO(低压差线性稳压器),因此会出现多个内部电源,从而产生一些电路电源需要在不同模式下从不同的LDO供电的需求,这些电源电路的功率管的栅极控制信号以及衬底连接需要保证是最高电平,才能防止各种异常短路和漏电的发生,因此设计能在多个电源电压之间产生最高电平电源的电路是很有必要的。The current chip is different according to the power consumption and precision requirements of the subsystem. Generally, there are multiple built-in LDOs (low dropout linear voltage regulators), so there will be multiple internal power supplies, resulting in some circuit power supplies that need to be changed in different modes. Different LDO power supply requirements, the gate control signal of the power transistor of these power supply circuits and the substrate connection need to be guaranteed to be at the highest level, in order to prevent various abnormal short circuits and leakage, so the design can be between multiple power supply voltages Circuits that generate the highest level of power are necessary.

以前的电源选择电路主要集中在VBAT和VCC的选择,通常都是两个电源之间的选择电路,如果进行三路输入电源的选择可以将原先的两路电源选择级联使用,但是会造成选择开关串联使用,跟本发明的三路输入的电源选择电路相比,相同的开关尺寸和负载电流情况下,两路电源选择级联使用在开关管上的损耗是本发明的两倍;同时出于噪声和可靠性的考虑,电源选择比较一般具有迟滞窗口,迟滞窗口覆盖噪声的幅度,其造成的后果是选择出来的最高电平可能不是最高电平,比实际的最高电平低,在相同的噪声考虑情况下,两路电源选择级联使用时将迟滞电压叠加了两倍,因此其选择出来的最高电平比实际最高电平低的电压值是本专利的两倍。The previous power supply selection circuit mainly focused on the selection of VBAT and VCC, which is usually a selection circuit between two power supplies. If the selection of three input power supplies can be used in cascade, the original two-way power supply selection will be used, but it will cause the selection Switches are used in series, compared with the power supply selection circuit of the present invention with three-way input, under the same switch size and load current situation, the loss of two-way power supply selection cascaded use on the switch tube is twice that of the present invention; For noise and reliability considerations, power supply selection generally has a hysteresis window, and the hysteresis window covers the amplitude of the noise. As a result, the selected highest level may not be the highest level, but is lower than the actual highest level. In the case of noise considerations, the hysteresis voltage is doubled when the two power supplies are cascaded and used, so the selected highest level is twice the voltage value lower than the actual highest level in this patent.

本发明所涉及的三路输入的电源选择电路直接对三路电源输入进行比较判决并控制开关管,可以降低开关管的尺寸要求,并保证选择出来的最高电平值误差小。The three-way input power supply selection circuit of the present invention directly compares and judges the three-way power supply input and controls the switch tube, which can reduce the size requirement of the switch tube and ensure that the error of the selected highest level value is small.

发明内容Contents of the invention

(1)发明目的(1) Purpose of the invention

传统电源选择电路一般只给出两路电源选择结构,对于多路电源一般只给开关管的连接方式和选择目标,并未给出多路电源的高电平如何进行选择,对于三路输入电源虽然可以采用传统的两个电源选择电路,先在两路电源之间进行选择,将选择的结果与第三路电源再进行一次选择,由于最终的输出是两级开关管串联,因此电源开关损耗大,如果要减小损耗则需要加大电源开关的宽长比,增加面积,同时,由于叠加了两次比较结果,造成比较迟滞窗口增大了一倍,造成选择出来的最高电平误差大。本人发明了一种支持三路输入的电源选择电路,可以减小开关的损耗和选择误差。The traditional power supply selection circuit generally only provides two-way power supply selection structure. For multi-way power supplies, it generally only provides the connection method and selection target of the switch tube, and does not give how to select the high level of the multi-way power supply. For three-way input power supply Although the traditional two-power supply selection circuit can be used, first select between the two power supplies, and then select the result of the selection with the third power supply. Since the final output is a series connection of two-stage switch tubes, the power switching loss Large, if you want to reduce the loss, you need to increase the width-to-length ratio of the power switch and increase the area. At the same time, because the comparison results are superimposed twice, the comparison hysteresis window is doubled, resulting in a large error in the selected highest level. . I have invented a power selection circuit supporting three-way input, which can reduce switch loss and selection error.

(2)技术方案(2) Technical solution

三个输入电源A/B/C输入到电源电压比较电路,实现对三个输入电源的大小进行比较,电源电压比较电路内置三个比较器模块,CMP1、CMP2和CMP3,其中,CMP1的正端和负端分别连接电源A和电源B,CMP2的正端和负端分别连接电源B和电源C,CMP3的正端和负端分别连接电源C和电源A;CMP1的输出QAB表征A和B的比较结果,QAB=1代表A比B高,QAB=0代表A比B低,CMP2的输出QBC表征B和C的比较结果,QBC=1代表B比C高,QBC=0代表B比C低,CMP3的输出QCA表征C和A的比较结果,QCA=1代表C比A高,QCA=0代表C比A低,并将比较的结果输出给下一级最高电压判决电路。其中,内置的比较器模块由迟滞比较器、掉电上拉支路以及整形反相器组成,其中掉电上拉支路为在迟滞比较器的输出和电源电压之间连接2个栅极连接输入信号的PMOS管串连组成,用于在该比较器的两个输入都掉电情况下,将迟滞比较器的输出拉为高电平,避免其输出高阻态,保证整形级不会漏电和输出状态不可控Three input power sources A/B/C are input to the power supply voltage comparison circuit to realize the comparison of the sizes of the three input power sources. The power supply voltage comparison circuit has three built-in comparator modules, CMP1, CMP2 and CMP3. Among them, the positive terminal of CMP1 The positive and negative terminals of CMP2 are respectively connected to power supply B and power supply C, and the positive and negative terminals of CMP3 are respectively connected to power supply C and power supply A; the output QAB of CMP1 represents the power supply of A and B Comparison results, QAB=1 means A is higher than B, QAB=0 means A is lower than B, the output QBC of CMP2 represents the comparison result of B and C, QBC=1 means B is higher than C, QBC=0 means B is lower than C , the output QCA of CMP3 represents the comparison result between C and A, QCA=1 represents that C is higher than A, and QCA=0 represents that C is lower than A, and the comparison result is output to the next highest voltage decision circuit. Among them, the built-in comparator module is composed of a hysteresis comparator, a power-down pull-up branch and a shaping inverter, and the power-down pull-up branch is to connect two gate connections between the output of the hysteresis comparator and the power supply voltage The PMOS transistors of the input signal are connected in series, which is used to pull the output of the hysteresis comparator to high level when both inputs of the comparator are powered off, so as to avoid its output high-impedance state and ensure that the shaping stage will not leak and the output state is uncontrollable

最高电压判决电路通过对电源电压比较电路的结果进行逻辑判断得到最高电压值,通过对QAB、QBC、QCA的输出结果状态共8种可能性进行逻辑判断,当A为最高电平时,QAB=1,QCA=0,当B为最高电平时,QBC=1,QAB=0,当C为最高电平时,QCA=1,QBC=0,当A、B、C一样时,QAB、QBC、QCA会同时为0或者1,因此最高电压判决电路通过对QAB和QCA反进行与非得到GA0、通过对QBC和QAB反进行与非得到GB0,通过对QCA和QBC反进行与非得到GC0;GA0、GB0和GC0与非后的信号和GA0经过与门后得到GPA,GB0和‘1’经过与门后得到GPB,GC0和‘1’经过与门后得到GPC,GPA、GPB、GPC为控制A、B、C三路电源的PMOS开关管的栅极控制电压原始信号,该判决电路保证任意情况下,只有最高电平的电源对应的栅极电压是低电平,另外两个栅极电压都是高电平,并将结果输出到下一级选择缓冲延迟电路。The highest voltage judgment circuit obtains the highest voltage value by logically judging the results of the power supply voltage comparison circuit, and makes logical judgments on 8 possibilities of the output result states of QAB, QBC, and QCA. When A is the highest level, QAB=1 , QCA=0, when B is the highest level, QBC=1, QAB=0, when C is the highest level, QCA=1, QBC=0, when A, B, C are the same, QAB, QBC, QCA will be It is 0 or 1 at the same time, so the highest voltage judgment circuit obtains GA0 by performing reverse NAND on QAB and QCA, obtains GB0 by performing reverse NAND on QBC and QAB, and obtains GC0 by performing reverse NAND on QCA and QBC; GA0, GB0 And the signal after GC0 NAND and GA0 get GPA after passing through AND gate, GB0 and '1' get GPB after passing through AND gate, GC0 and '1' get GPC after passing through AND gate, GPA, GPB, GPC are control A, B , The gate control voltage original signal of the PMOS switch tube of the C three-way power supply, the judgment circuit ensures that under any circumstances, only the gate voltage corresponding to the highest level power supply is low level, and the other two gate voltages are high level, and output the result to the next stage selection buffer delay circuit.

选择缓冲延迟电路将最高电压判决电路给出的开关选择PMOS管的栅极控制电压原始信号GPA、GPB、GPC,经过级联的延迟单元得到GPA、GPB和GPC分别延迟一个Td,2个Td以至N个Td的延迟信号GPA<N:1>,GPB<N:1>,GPC<N:1>输出到下一级开关选择管。The selection buffer delay circuit selects the gate control voltage original signals GPA, GPB, and GPC of the PMOS transistors given by the highest voltage judgment circuit, and delays GPA, GPB, and GPC by cascaded delay units by one Td, two Tds, or even The delayed signals GPA<N:1>, GPB<N:1>, and GPC<N:1> of N Tds are output to the next-stage switch selection transistor.

开关选择管开主要分为连接电源A、B和C的3套开关管,其中,连接电源A的开关管由2个栅极连接B和C的PMOS管串联,和N个栅极连接GPA<N:1>的PMOS管并联,连接电源B的开关管由2个栅极连接C和A的PMOS管串联,和N个栅极连接GPB<N:1>的PMOS管并联,连接电源C的开关管由2个栅极连接A和B的PMOS管串联,和N个栅极连接GPC<N:1>的PMOS管并联;3套开关管的漏极连接在一起为选择出来的电源VO,并且所有PMOS的衬底都连接VO。其中每一路电源上的串联PMOS管是为了在上电的时候自动选择出一路最高电压,但是由于PMOS管的阈值原因,该最高电平可能会有一个阈值损失,剩余的多个并联的开关管受到延迟电路提供的多级延迟控制,从而达到总开关管缓慢开启,减小切换过冲的目的。The switch selection tube is mainly divided into 3 sets of switch tubes connected to power supply A, B and C. Among them, the switch tube connected to power supply A is connected in series with two PMOS tubes whose gates are connected to B and C, and N gates are connected to GPA< The PMOS transistors of N:1> are connected in parallel, and the switching transistor connected to power supply B is connected in series by two PMOS transistors whose gates are connected to C and A, and N gates are connected in parallel to the PMOS transistors of GPB<N:1>, connected to the power supply C The switch tube consists of two PMOS tubes whose gates are connected to A and B in series, and N PMOS tubes whose gates are connected to GPC<N:1> in parallel; the drains of the three sets of switch tubes are connected together to form the selected power supply VO, And all PMOS substrates are connected to VO. The series connection of PMOS transistors on each power supply is to automatically select the highest voltage when the power is turned on, but due to the threshold value of the PMOS transistor, the highest level may have a threshold loss, and the remaining multiple parallel switch transistors By the multi-level delay control provided by the delay circuit, the main switching tube is slowly turned on and the purpose of reducing the switching overshoot is achieved.

附图说明Description of drawings

图1本发明的支持三路输入的电源选择电路结构The structure of the power supply selection circuit supporting three-way input of the present invention of Fig. 1

图2本发明的电源电压比较电路和最高电压判决电路Fig. 2 power supply voltage comparator circuit and highest voltage decision circuit of the present invention

图3本发明的选择缓冲延迟电路和选择开关管电路Fig. 3 selects buffer delay circuit and selects switch tube circuit of the present invention

图4本发明的比较器电路Fig. 4 comparator circuit of the present invention

具体实施方式Detailed ways

下面结合附图,对本发明的具体实施方式进行详细描述,但应当理解本发明的保护范围并不受具体实施方式的限制。The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific embodiments.

除非另有其它明确表示,否则在整个说明书和权利要求书中,术语“包括”或其变换如“包含”或“包括有”等等将被理解为包括所陈述的元件或组成部分,而并未排除其它元件或其它组成部分。Unless expressly stated otherwise, throughout the specification and claims, the term "comprise" or variations thereof such as "includes" or "includes" and the like will be understood to include the stated elements or constituents, and not Other elements or other components are not excluded.

如图1所示,为根据本发明具体实施方式的支持三路输入的电源选择电路结构,该结构包括选择电路由电源电压比较电路、最高电压判决电路、选择缓冲延迟电路和选择开关管。电源电压比较电路实现对三个输入电源A/B/C的大小进行比较,得到3个比较输出结果;将3个比较的结果输入给下一级最高电压判决电路,最高电压判决电路通过对电源电压比较电路的结果进行逻辑判断,出于选择最高电压值的原则,输出3个开关选择PMOS管的栅极控制电压原始信号。选择缓冲延迟电路将最高电压判决电路给出的开关选择PMOS管的栅极控制电压原始信号进行延迟得到多级延迟控制信号。开关选择管将选择缓冲延迟电路提供的多级延迟控制信号控制多个开关管达到总开关管缓慢开启,减小切换过冲的目的。As shown in FIG. 1, it is a power supply selection circuit structure supporting three-way input according to a specific embodiment of the present invention. The structure includes a selection circuit consisting of a power supply voltage comparison circuit, a maximum voltage judgment circuit, a selection buffer delay circuit and a selection switch tube. The power supply voltage comparison circuit realizes the comparison of the size of the three input power supplies A/B/C, and obtains three comparison output results; the three comparison results are input to the highest voltage judgment circuit of the next stage, and the highest voltage judgment circuit passes through the power supply The result of the voltage comparison circuit is logically judged. Based on the principle of selecting the highest voltage value, three switches are output to select the original signal of the gate control voltage of the PMOS transistor. The selection buffer delay circuit delays the original gate control voltage signal of the switch selection PMOS transistor given by the highest voltage decision circuit to obtain a multi-level delay control signal. The switch selection tube selects the multi-level delay control signal provided by the buffer delay circuit to control multiple switch tubes to slowly turn on the main switch tube and reduce switching overshoot.

图2为根据本发明具体实施方式的电源电压比较电路和最高电压判决电路。Fig. 2 is a power supply voltage comparison circuit and a highest voltage decision circuit according to a specific embodiment of the present invention.

电源电压比较电路内置的三个比较器模块比较三个输入电源两两之间的大小,其中,QAB表征A和B的比较结果,QAB=1代表A比B高,QAB=0代表A比B低,QBC表征B和C的比较结果,QBC=1代表B比C高,QBC=0代表B比C低,QCA表征C和A的比较结果,QCA=1代表C比A高,QCA=0代表C比A低。因此三个比较器的输出结果会呈现如下的可能性:The three built-in comparator modules in the power supply voltage comparison circuit compare the size of the three input power sources. Among them, QAB represents the comparison result between A and B, QAB=1 means that A is higher than B, and QAB=0 means that A is higher than B Low, QBC represents the comparison result of B and C, QBC=1 represents B is higher than C, QBC=0 represents B is lower than C, QCA represents the comparison result of C and A, QCA=1 represents C is higher than A, QCA=0 It means that C is lower than A. Therefore, the output results of the three comparators will present the following possibilities:

(1)QAB=0,QBC=0,QCA=0:表示A≤B,B≤C,C≤A,说明A/B/C三个电压两两之间的电压差都在比较器的迟滞窗口以内,三个电压差别很小;(1) QAB=0, QBC=0, QCA=0: means A≤B, B≤C, C≤A, indicating that the voltage difference between the three voltages of A/B/C is within the hysteresis of the comparator Within the window, the difference between the three voltages is very small;

(2)QAB=0,QBC=0,QCA=1:表示A≤B,B≤C,C≥A,则C为最高电压;(2) QAB=0, QBC=0, QCA=1: means A≤B, B≤C, C≥A, then C is the highest voltage;

(3)QAB=0,QBC=1,QCA=0:表示A≤B,B≥C,C≤A,则B为最高电压;(3) QAB=0, QBC=1, QCA=0: means A≤B, B≥C, C≤A, then B is the highest voltage;

(4)QAB=0,QBC=1,QCA=1:表示A≤B,B≥C,C≥A,则B为最高电压;(4) QAB=0, QBC=1, QCA=1: means A≤B, B≥C, C≥A, then B is the highest voltage;

(5)QAB=1,QBC=0,QCA=0:表示A≥B,B≤C,C≤A,则A为最高电压;(5) QAB=1, QBC=0, QCA=0: means A≥B, B≤C, C≤A, then A is the highest voltage;

(6)QAB=1,QBC=0,QCA=1:表示A≥B,B≤C,C≥A,则C为最高电压;(6) QAB=1, QBC=0, QCA=1: means A≥B, B≤C, C≥A, then C is the highest voltage;

(7)QAB=1,QBC=1,QCA=0:表示A≥B,B≥C,C≤A,则A为最高电压;(7) QAB=1, QBC=1, QCA=0: means A≥B, B≥C, C≤A, then A is the highest voltage;

(8)QAB=1,QBC=1,QCA=1:表示A≥B,B≥C,C≥A,说明A/B/C三个电压两两之间的电压差都在比较器的迟滞窗口以内,三个电压差别很小;(8) QAB=1, QBC=1, QCA=1: means A≥B, B≥C, C≥A, indicating that the voltage difference between the three voltages of A/B/C is within the hysteresis of the comparator Within the window, the difference between the three voltages is very small;

对于(1)和(8)的情况,选择A/B/C中的任意一路均可,实现时定为选择A。For the cases of (1) and (8), any one of A/B/C can be selected, and it is determined to choose A during implementation.

最高电压判决电路,通过对QAB、QBC、QCA进行一些逻辑处理后输出GPA、GPB、GPC,GB0,其中,GPA代表连接A电源的PMOS开关管的栅极原始控制电压,GPB代表连接B电源的PMOS开关管的栅极原始控制电压,GPC代表连接C电源的PMOS开关管的栅极原始控制电压;The highest voltage judgment circuit outputs GPA, GPB, GPC, GB0 after performing some logic processing on QAB, QBC, and QCA. Among them, GPA represents the original control voltage of the gate of the PMOS switch connected to the A power supply, and GPB represents the gate control voltage connected to the B power supply. The gate original control voltage of the PMOS switch tube, GPC represents the gate original control voltage of the PMOS switch tube connected to the C power supply;

选择A电源,则GPA=0,GPB=1,GPC=1;Choose A power supply, then GPA=0, GPB=1, GPC=1;

选择B电源,则GPA=1,GPB=0,GPC=1;Select B power supply, then GPA=1, GPB=0, GPC=1;

选择C电源,则GPA=1,GPB=1,GPC=0;Choose C power supply, then GPA=1, GPB=1, GPC=0;

这两级配合的真值表和逻辑控制关系如下。The truth table and logical control relationship of the two levels of coordination are as follows.

QABQAB QBCQBC QCAQCA GA0GA0 GB0GB0 GC0GC0 GPAGPA GPBGPB GPCGPC 备注Remark 00 00 00 11 11 11 00 11 11 比较器全为0,优选AThe comparator is all 0, preferably A 00 00 11 11 11 00 11 11 00 QBC=0,QCA=1->C最高,选CQBC=0, QCA=1->C is the highest, choose C 00 11 00 11 00 11 11 00 11 QAB=0,QBC=1->B最高,选BQAB=0, QBC=1->B is the highest, choose B 00 11 11 11 00 11 11 00 11 QAB=0,QBC=1->B最高,选BQAB=0, QBC=1->B is the highest, choose B 11 00 00 00 11 11 00 11 11 QAB=1,QCA=0->A最高,选AQAB=1, QCA=0->A is the highest, choose A 11 00 11 11 11 00 11 11 00 QBC=0,QCA=1->C最高,选CQBC=0, QCA=1->C is the highest, choose C 11 11 00 00 11 11 00 11 11 QAB=1,QCA=0->A最高,选AQAB=1, QCA=0->A is the highest, choose A 11 11 11 11 11 11 00 11 11 比较器全为1,优选AComparators are all 1s, preferably A

Figure BDA0003904676430000041
Figure BDA0003904676430000041

Figure BDA0003904676430000042
Figure BDA0003904676430000042

Figure BDA0003904676430000043
Figure BDA0003904676430000043

其中,增加的比较器为全0和全1时的特别处理,出现这样的情况说明三路电压很接近,偏差都在一个比较器的迟滞窗口以内,优先选择A,保证在任何情况下都只选通一路。Among them, the added comparator is a special treatment when all 0s and all 1s. This situation shows that the three voltages are very close, and the deviations are all within the hysteresis window of a comparator. A is preferred to ensure that only Strobe all the way.

Figure BDA0003904676430000044
Figure BDA0003904676430000044

GPB=GB0&TIE1GPB=GB0&TIE1

GPC=GC0&TIE1GPC=GC0&TIE1

图3为根据本发明具体实施方式的选择缓冲延迟电路和开关选择管。Fig. 3 is a selection buffer delay circuit and a switch selection tube according to a specific embodiment of the present invention.

选择缓冲延迟电路通过将GPA、GPB和GPB分别经过级联的延迟单元得到GPA、GPB和GPC分别延迟一个Td,2个Td以至N个Td的延迟信号GPA<N:1>,GPB<N:1>,GPC<N:1>。Select the buffer delay circuit to obtain delay signals GPA<N:1>, GPB<N: 1>, GPC<N:1>.

最后的开关选择管主要分为连接电源A、B和C的3套开关管,其中,连接电源A的开关管由2个栅极连接B和C的PMOS管串联,和N个栅极连接GPA<N:1>的PMOS管并联,连接电源B的开关管由2个栅极连接C和A的PMOS管串联,和N个栅极连接GPB<N:1>的PMOS管并联,连接电源C的开关管由2个栅极连接A和B的PMOS管串联,和N个栅极连接GPC<N:1>的PMOS管并联;3套开关管的漏极连接在一起为选择出来的电源VO,并且所有PMOS的衬底都连接VO。其中,两个PMOS串联支路在电源电压差距大于MOS管阈值的时候直接选通,当电源电压差距小于一个MOS管阈值的时候需要靠前级提供的选择信号来控制选通。The final switch selection tube is mainly divided into 3 sets of switch tubes connected to power supply A, B and C. Among them, the switch tube connected to power supply A is connected in series with two PMOS tubes whose gates are connected to B and C, and N gates are connected to GPA The PMOS tubes of <N:1> are connected in parallel, and the switching tube connected to the power supply B is connected in series by two PMOS tubes whose gates are connected to C and A, and connected in parallel with N gates connected to the PMOS tubes of GPB<N:1>, connected to the power supply C The switching tubes of the switch tube are connected in series by two PMOS tubes whose gates are connected to A and B, and connected in parallel with N PMOS tubes whose gates are connected to GPC<N:1>; the drains of the three sets of switching tubes are connected together to form the selected power supply VO , and all PMOS substrates are connected to VO. Among them, the two PMOS series branches are directly strobed when the power supply voltage difference is greater than the threshold of the MOS transistor. When the power supply voltage difference is smaller than the threshold of a MOS transistor, the selection signal provided by the previous stage is required to control the gating.

其中,电源电压比较电路里面的比较器可以采用图4的结构避免因两个输入电源都没电时造成迟滞比较器输出高阻态,造成后级整形级漏电和输出状态不可控。Among them, the comparator in the power supply voltage comparison circuit can adopt the structure shown in Figure 4 to avoid the hysteresis comparator outputting a high-impedance state when the two input power sources are not powered, resulting in leakage of the post-stage shaping stage and uncontrollable output state.

综上,本发明通过以上技术方案和实施方式,实现了直接对三路电源输入进行比较判决并控制开关管,可以降低开关管的尺寸要求,并保证选择出来的最高电平值误差小。同时本电路结构和实施方式还可以拓展为四路输入乃至更多路输入的电源选择电路。To sum up, through the above technical solutions and implementation methods, the present invention realizes direct comparison and judgment of the three power supply inputs and controls the switching tubes, which can reduce the size requirements of the switching tubes and ensure that the error of the selected highest level value is small. At the same time, the circuit structure and implementation mode can also be extended to a power supply selection circuit with four inputs or even more inputs.

Claims (5)

1. The power supply selection circuit supporting three-way input is characterized by comprising a power supply voltage comparison circuit, a highest voltage judgment circuit, a selection buffer delay circuit and a selection switch tube, wherein:
the power supply voltage comparison circuit compares the sizes of three input power supplies A, B, C and outputs 3 compared results QAB, QBC and QCA to the next highest voltage judgment circuit as input;
the highest voltage judgment circuit obtains a highest voltage value by carrying out logic judgment on the results QAB, QBC and QCA of the power supply voltage comparison circuit, outputs original signals GPA, GPB and GPC of grid control voltage of the 3-way switch selection PMOS tube and provides the original signals GPA, GPB and GPC to a next-stage selection buffer delay circuit as input;
the selection buffer delay circuit delays the original grid control voltage signals GPA, GPB and GPC of the switch selection PMOS tube given by the highest voltage judgment circuit to obtain multi-stage delay control signals GPA < N:1>, GPB < N:1> and GPC < N:1>, and the multi-stage delay control signals are provided for the next stage of switch selection tube circuit to be used as control input;
the switch selection tube controls the multi-stage delay control signals GPA < N:1>, GPB < N:1> and GPC < N:1> provided by the selection buffer delay circuit to be connected with the grid electrodes of a plurality of parallel switch tubes of the power supply A, B, C, and the purposes of slowly opening any one main switch tube and reducing switching overshoot are achieved.
2. The power supply selection circuit according to claim 1, wherein the power supply voltage comparison circuit has three comparator modules built in, CMP1, CMP2 and CMP3, wherein the positive terminal of CMP1 is connected to input power supply a, the negative terminal of CMP1 is connected to input power supply B, the positive terminal of CMP2 is connected to input power supply B, the negative terminal of CMP2 is connected to input power supply C, the positive terminal of CMP3 is connected to input power supply C, and the negative terminal of CMP3 is connected to input power supply a; output QAB of CMP1 characterizes the comparison result of a and B, QAB =1 represents a higher than B, QAB =0 represents a lower than B, output QBC of CMP2 characterizes the comparison result of B and C, QBC =1 represents B higher than C, QBC =0 represents B lower than C, output QCA of CMP3 characterizes the comparison result of C and a, QCA =1 represents C higher than a, and QCA =0 represents C lower than a.
3. The power selection circuit of claim 1, wherein the highest voltage decision circuit nands the QAB and QCA to obtain GA0, nands the QBC and QAB to obtain GB0, and nands the QCA and QBC to obtain GC0; performing AND gate on the signals subjected to NAND of GA0, GB0 and GC0 and GA0 to obtain GPA, performing AND gate on GB0 and '1' to obtain GPB, and performing AND gate on GC0 and '1' to obtain GPC; GPA represents the original grid control voltage of the PMOS switching tube connected with the power supply A, GPB represents the original grid control voltage of the PMOS switching tube connected with the power supply B, and GPC represents the original grid control voltage of the PMOS switching tube connected with the power supply C.
4. The power selection circuit of claim 1, wherein the selection buffer delay circuit obtains delay signals GPA < N:1>, GPB < N:1>, GPC < N:1> with a Td,2 Td or more to N Td by respectively passing GPA, GPB and GPB through cascaded delay units, and the switch selection tube of the rear stage is mainly divided into 3 sets of switch tubes connecting power supplies A, B and C, wherein the switch tube connecting power supply a is connected in series by 2 PMOS tubes with gates connecting B and C, and the PMOS tubes with gates connecting GPA < N:1> are connected in parallel, the switch tube connecting power supply B is connected in series by 2 PMOS tubes with gates connecting C and a, and the PMOS tubes with gates connecting GPB < N:1> are connected in parallel, and the switch tube connecting power supply C is connected in series by 2 PMOS tubes with gates connecting a and B, and the PMOS tubes with gates connecting GPC < N:1> are connected in parallel; the drains of the 3 sets of switching tubes are connected together to form a selected power supply VO, and all PMOS substrates are connected with the VO.
5. The power supply voltage comparison circuit of claim 2, wherein the built-in comparator module comprises a hysteresis comparator, a power down pull-up branch and a shaping inverter, wherein the power down pull-up branch is formed by connecting 2 PMOS transistors of which the grid electrodes are connected with input signals in series between the output of the hysteresis comparator and the power supply voltage, and is used for pulling the output of the hysteresis comparator to be high level under the condition that two inputs of the comparator are powered down, so as to avoid the output of the hysteresis comparator from being in a high impedance state, and ensure that the shaping stage cannot leak electricity and the output state is uncontrollable.
CN202211302798.6A 2022-10-24 2022-10-24 Power supply selection circuit supporting three-way input Pending CN115833818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211302798.6A CN115833818A (en) 2022-10-24 2022-10-24 Power supply selection circuit supporting three-way input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211302798.6A CN115833818A (en) 2022-10-24 2022-10-24 Power supply selection circuit supporting three-way input

Publications (1)

Publication Number Publication Date
CN115833818A true CN115833818A (en) 2023-03-21

Family

ID=85525301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211302798.6A Pending CN115833818A (en) 2022-10-24 2022-10-24 Power supply selection circuit supporting three-way input

Country Status (1)

Country Link
CN (1) CN115833818A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI857757B (en) * 2023-08-22 2024-10-01 瑞昱半導體股份有限公司 Voltage selector device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120030494A1 (en) * 2010-07-31 2012-02-02 Huawei Technologies Co., Ltd. Power supply selector and power supply selection method
CN103366214A (en) * 2012-04-11 2013-10-23 国民技术股份有限公司 Power supply control circuit and power supply control method
CN203759446U (en) * 2014-04-04 2014-08-06 中国海洋石油总公司 Current analog quantity signal distributor
CN204103764U (en) * 2014-10-15 2015-01-14 青岛歌尔声学科技有限公司 A kind of Switching Power Supply supporting multi-mode to switch
CN105958632A (en) * 2016-06-16 2016-09-21 苏州微控智芯半导体科技有限公司 Power supply switching circuit and signal transmission method
US9979396B1 (en) * 2017-02-23 2018-05-22 Stmicroelectronics (Grenoble 2) Sas Bidirectional analog multiplexer
CN108259030A (en) * 2017-09-11 2018-07-06 杰夫微电子(四川)有限公司 A kind of switching device automatically according to input selection power path
CN113381483A (en) * 2021-07-09 2021-09-10 上海泰矽微电子有限公司 Multi-input single-output intelligent selection power supply circuit
CN114629478A (en) * 2020-12-10 2022-06-14 中国科学院上海微系统与信息技术研究所 Multi-level signal selection circuit, timing adjustment system and method
CN219016931U (en) * 2022-10-24 2023-05-12 北京中电华大电子设计有限责任公司 Power supply selection circuit supporting three-way input

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120030494A1 (en) * 2010-07-31 2012-02-02 Huawei Technologies Co., Ltd. Power supply selector and power supply selection method
CN103366214A (en) * 2012-04-11 2013-10-23 国民技术股份有限公司 Power supply control circuit and power supply control method
CN203759446U (en) * 2014-04-04 2014-08-06 中国海洋石油总公司 Current analog quantity signal distributor
CN204103764U (en) * 2014-10-15 2015-01-14 青岛歌尔声学科技有限公司 A kind of Switching Power Supply supporting multi-mode to switch
CN105958632A (en) * 2016-06-16 2016-09-21 苏州微控智芯半导体科技有限公司 Power supply switching circuit and signal transmission method
US9979396B1 (en) * 2017-02-23 2018-05-22 Stmicroelectronics (Grenoble 2) Sas Bidirectional analog multiplexer
CN108259030A (en) * 2017-09-11 2018-07-06 杰夫微电子(四川)有限公司 A kind of switching device automatically according to input selection power path
CN114629478A (en) * 2020-12-10 2022-06-14 中国科学院上海微系统与信息技术研究所 Multi-level signal selection circuit, timing adjustment system and method
CN113381483A (en) * 2021-07-09 2021-09-10 上海泰矽微电子有限公司 Multi-input single-output intelligent selection power supply circuit
CN219016931U (en) * 2022-10-24 2023-05-12 北京中电华大电子设计有限责任公司 Power supply selection circuit supporting three-way input

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI857757B (en) * 2023-08-22 2024-10-01 瑞昱半導體股份有限公司 Voltage selector device

Similar Documents

Publication Publication Date Title
CN102130492B (en) Device and method for selecting power supply
US5808483A (en) Logic circuit utilizing pass transistors and logic gate
EP1456675B1 (en) Input buffer and method for voltage level detection
CN113381483B (en) Multi-input single-output intelligent selection power supply circuit
CN115833818A (en) Power supply selection circuit supporting three-way input
JP2623918B2 (en) Output buffer circuit
US6654304B1 (en) Poly fuse trim cell
CN219016931U (en) Power supply selection circuit supporting three-way input
US20190286178A1 (en) Wide common mode high resolution comparator
JPS62131A (en) Source follower current mode logical cell
US10158292B2 (en) Power configuration
CN111147056B (en) A dynamic comparator, analog-to-digital converter and control method
CN217087875U (en) A multi-level voltage IO unit and its chip
CN114629491B (en) Level conversion circuit and power supply device
JPH02280413A (en) Basic logic circuit
CN119739246B (en) Voltage selection circuit, multi-stage voltage selection circuit, chip and voltage regulator
JPH025618A (en) Logic circuit
CN114137463B (en) Automatic calibration device and calibration method for zero-crossing detection circuit of switching power supply
CN223051734U (en) Power reduction device
JPH05166380A (en) Output buffer circuit
Larson A TTL compatible threshold gate
JPH08107346A (en) Simultaneous two-way input output buffer
US7283068B2 (en) Binary decoders in electronic integrated circuits
JPH03283091A (en) Semiconductor memory circuit device
CN115933790A (en) A Coarse Adjustment Control Logic Circuit for Digital Low Dropout Regulator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination