A power combining circuit and a multi-input power supply circuit inside a SoC chip
By incorporating voltage detection, current limiting, and boost modules within the chip, the voltage deviation problem during the merging of multiple power supplies is resolved, achieving efficient and safe power supply merging while saving chip area and cost.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHONGYIN MICROELECTRONICS (CHENGDU) CO LTD
- Filing Date
- 2025-08-21
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, when multiple power sources are combined to supply power, the voltage deviation leads to different currents, which can easily cause problems such as backflow damage and undervoltage protection. In addition, it requires the use of off-chip discrete components, which occupy a large area, have high costs, and low efficiency.
A voltage detection module is installed inside the chip, and the voltage of the power supply branch is adjusted through current limiting and boost modules to prevent voltage deviation. An anti-backflow module is integrated to prevent reverse current, thereby realizing power supply combination and protection inside the chip.
It improves the security and stability of the chip, saves chip area and production costs, enhances power supply processing efficiency, and can handle multiple power supply branches simultaneously.
Smart Images

Figure CN121036482B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of integrated circuit technology, specifically to a power supply circuit and a multi-input power supply circuit inside a SoC chip. Background Technology
[0002] Chip power supply refers to providing a stable and efficient power supply to a chip, ensuring its normal and efficient operation. This involves the effective transmission and management of electrical energy, including how to transfer power from the power source to the chip and ensure the distribution of power among different parts within the chip. With technological advancements, chip power supply technology is constantly improving to enhance chip performance and efficiency. Traditional chip power supply methods involve multiple exposure, etching, and deposition processes, starting from the bottom transistors and building interconnect metal layers layer by layer, finally connecting to external circuits through metal pins on the top of the chip. This method has some drawbacks, such as power lines and signal lines being located on the same side of the chip, requiring them to pass through multiple interconnect layers to reach the transistors. This not only competes for internal space but also generates mutual electromagnetic interference, affecting chip performance.
[0003] The design of a chip's power supply architecture directly impacts its performance, power consumption, and stability. A well-designed power supply architecture ensures that each functional module receives a stable power supply when needed, thereby improving the overall system performance and stability. For System-on-a-Chip (SoC) chips, which integrate CPU, GPU, memory, peripheral controllers, interfaces, and other functions onto a single chip, the power supply architecture is particularly crucial. It typically includes multiple power domains and a power management unit (PMU). Each power domain is responsible for providing power to one or more functional modules within the chip, while the PMU monitors and regulates the voltage and current of each power domain to ensure normal system operation. For high-power integrated chips, power supply design also involves thermal management, as high-power chips generate a significant amount of heat during operation. Ineffective or untimely heat dissipation can lead to temperature increases, affecting chip performance and lifespan. Therefore, the design and configuration of the thermal system, such as the selection of heat sinks and the arrangement of cooling fans, must be considered in the power supply system design to ensure that the chip's operating temperature remains within an acceptable range. The design and implementation of chip power supply are crucial for ensuring the normal operation and performance of the chip, and are an indispensable part of chip design. In electronic devices, many chips face scenarios where a single power supply is insufficient (insufficient current). Multiple power supplies need to be input simultaneously and combined internally to provide adequate current. However, when multiple power supplies are combined, voltage variations cause differences in the input voltage of each power supply, resulting in varying current outputs. This can easily lead to problems such as reverse current damage and undervoltage protection failures. Current solutions use external discrete components to build circuits for combining and protection, which are space-consuming, costly, and have limitations in efficiency and dynamic adjustability. Summary of the Invention
[0004] The purpose of this invention is to provide a power supply circuit and a multi-input power supply circuit inside a SoC chip. This circuit first detects the voltage parameters of the chip's power supply branch through a voltage detection module, and then adjusts the resistance of the power supply branch according to the voltage parameters. This can prevent a single circuit from being overloaded and exceeding its load capacity, avoiding problems such as backflow damage and undervoltage protection. At the same time, it can make full use of the surplus load capacity of all power supply branches, greatly improving the safety and stability of chip use. It also provides a solution for chip power supply when the system power supply is limited, and can also save chip area and reduce production costs.
[0005] A power supply circuit and a multi-input power supply circuit inside a SoC chip, comprising: an anti-backflow module, a first comparator, and a current limiting module; The output terminal of the current limiting module is connected to the input terminal of the anti-backflow module. When the current passing through the current limiting module exceeds the preset current, it will cause the voltage difference inside the current limiting module to be too large. Then the resistance value of the current module will be reduced until it is lower than the preset current. When the current passing through the current limiting module is lower than the set current, the resistance value of the current limiting module will be reduced to reduce the heat loss of the branch. The positive input terminal of the first comparator is connected to the input terminal of the current limiting module, the negative input terminal is connected to the output terminal of the current limiting module, and the output terminal is connected to the internal current limiting branch of the current limiting module for feedback adjustment of the parameters of the current limiting module; The backflow prevention module is used to prevent reverse current from causing damage to the power supply at the input terminal.
[0006] Preferably, it further includes: a boost module; The boost module is connected to the current-limiting resistor calibration module and is used to boost the voltage of the power supply branch.
[0007] Preferably, the anti-backflow module includes: a third resistor, a fourth resistor, a fifth resistor, a second comparator, a fourth diode, a first MOSFET, and a first transistor; The positive input terminal of the second comparator is connected to the drain of the first MOSFET, the negative input terminal is connected to the source of the first MOSFET, and the output terminal is connected to the third resistor. The third resistor is connected to the base of the first transistor; The fourth resistor is connected to the base and emitter of the first transistor; The fifth resistor is connected to the collector of the first transistor and the source of the first MOSFET; The emitter of the first transistor is grounded; The input terminal of the fourth diode is connected to the drain of the first MOSFET, and the output terminal is connected to the source of the first MOSFET.
[0008] Preferably, the voltage detection module includes: a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first diode, a second diode, and a first resistor; The input terminal of the first diode is connected to the voltage to be detected, and the output terminal is connected to the first terminal of the first resistor; The upper plate of the first capacitor is connected to the first resistor, and the lower plate is grounded; The upper plate of the second capacitor is connected to the first resistor, and the lower plate is grounded; The second end of the first resistor is connected to the input end of the second diode; The upper plate of the third capacitor is connected to the output terminal of the second diode, and the lower plate is grounded. The upper plate of the fourth capacitor is connected to the output terminal of the second diode, and the lower plate is grounded.
[0009] Preferably, the current-limiting resistor calibration module includes: multiple current-limiting branches; The current branch includes a resistor and a switch connected in series; Multiple current-limiting branches are connected in parallel to form a current-limiting resistor calibration module.
[0010] Preferably, the boost module includes: a first inductor, a first switching transistor, a third diode, a fifth capacitor, and a second resistor; The collector of the first switching transistor is connected to the second terminal of the first inductor, and the emitter is connected to the current-limiting resistor calibration module. The first end of the first inductor is connected to the current-limiting resistor calibration module, and the second end is connected to the input end of the third diode; The upper plate of the fifth capacitor is connected to the output terminal of the third diode, and the lower plate is connected to the current-limiting resistor calibration module. The first end of the second resistor is connected to the output end of the third diode, and the second end is connected to the current-limiting resistor calibration module.
[0011] A method for controlling power supply circuit combining and internal multi-input power supply circuit of SoC chip, comprising: The voltage detection module detects the voltage of each chip input branch; The current limiting parameters of each current limiting resistor calibration module are calculated based on the voltage of each chip input branch. Detect the load voltage to determine if the voltage meets the preset value.
[0012] Preferably, after calculating the current-limiting parameters of each stage of the current-limiting resistor calibration module based on the voltage of each chip input branch, the method further includes: If the voltage of the input branch is low, a boost module is used to increase the branch voltage.
[0013] Preferably, after calculating the current-limiting parameters of each stage of the current-limiting resistor calibration module based on the voltage of each chip input branch, the method further includes: The anti-backflow module controls the current direction of each current-limiting resistor calibration module and discharges current exceeding the standard value.
[0014] An electronic device includes a chip, a processor, and a memory, the memory storing computer program code including computer instructions. When the chip executes the computer instructions, the electronic device performs a power combination and SoC chip internal multi-input power supply circuit control method.
[0015] The beneficial effects of this invention are as follows: 1. This invention incorporates a voltage detection module before the power supply branches enter the chip. This module accurately detects the voltage values of each branch and guides the subsequent current-limiting resistor module and boost module to adjust the voltage of the power supply branches, ensuring that the voltage deviation of each power supply branch does not exceed a preset value, thus enabling the chip to operate at a safe temperature. 2. This invention eliminates the need for external discrete components for power supply circuit combining and protection. It integrates small circuits within the chip, resulting in high integration and significantly reducing chip area and production costs. 3. This invention can process multiple power supply branches simultaneously, with processing efficiency far exceeding that of general power supply combining, giving it strong market competitiveness. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of a power supply circuit and a multi-input power supply circuit inside a SoC chip according to the present invention. Figure 2 This is a circuit diagram of the voltage detection module of the present invention; Figure 3 This is a schematic diagram of the current limiting module circuit of the present invention; Figure 4 This is a schematic diagram of the boost module circuit of the present invention; Figure 5 This is a schematic diagram of the anti-backflow module circuit of the present invention; Figure 6 This is a schematic diagram of a power supply combination and a control method for multiple input power supply circuits inside a SoC chip according to the present invention. Figure 7 This is a schematic diagram of the overall circuit of the present invention. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0020] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.
[0021] Furthermore, the use of terms such as "first" and "second" in this invention is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" and "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this invention.
[0022] In electronic devices, many chips face the challenge of insufficient single-channel power supply capability (insufficient current). They require multiple power supplies to be input simultaneously and combined internally to provide adequate current. However, when multiple power supplies are combined, voltage deviations cause variations in the input voltage of each channel, resulting in different current outputs. This can easily lead to problems such as reverse current damage and undervoltage protection failures. Current solutions use external discrete components to build circuits for combining and protection, which are space-consuming, costly, and have limitations in efficiency and dynamic adjustability.
[0023] This invention incorporates a voltage detection module before the power supply branches enter the chip. This module accurately detects the voltage values of each branch and guides the subsequent current-limiting resistor module and boost module to adjust the voltage of the power supply branches, ensuring that the voltage deviation of each power supply branch does not exceed a preset value, thus enabling the chip to operate at a safe temperature. This invention eliminates the need for external discrete components for power supply circuit combining and protection, integrating small circuits within the chip, resulting in high integration and significantly saving chip area and production costs. Furthermore, this invention can process multiple power supply branches simultaneously, with processing efficiency far exceeding that of conventional power supply combining, giving it strong market competitiveness.
[0024] Example 1 A power combining circuit and a multi-input power supply circuit inside a SoC chip, reference Figure 1 It includes: an anti-backflow module, a first comparator, and a current limiting module; The output terminal of the current limiting module is connected to the input terminal of the anti-backflow module. When the current passing through the current limiting module exceeds the preset current, it will cause the voltage difference inside the current limiting module to be too large. Then the resistance value of the current module will be reduced until it is lower than the preset current. When the current passing through the current limiting module is lower than the set current, the resistance value of the current limiting module will be reduced to reduce the heat loss of the branch. The positive input terminal of the first comparator is connected to the input terminal of the current limiting module, the negative input terminal is connected to the output terminal of the current limiting module, and the output terminal is connected to the internal current limiting branch of the current limiting module for feedback adjustment of the parameters of the current limiting module; The backflow prevention module is used to prevent reverse current from causing damage to the power supply at the input terminal.
[0025] When there are two or more power inputs, a current limiting module and a reverse current protection module are connected in series on each input power branch. The purpose is that in many systems, there are multiple power supplies, each with its own capacity. However, when an additional load module is added, the capacity of each of the existing power supplies is insufficient for the new module. Therefore, the existing circuits must be combined to pool the capacity of the multiple power supplies for the new load module. The reverse current protection module prevents reverse current from damaging the input power supply. The current limiting circuit avoids the risk of overload and undervoltage due to excessive load current draw, while maximizing the input voltage capacity.
[0026] Preferably, it further includes: a boost module; The boost module is connected to the current-limiting resistor calibration module to boost the voltage of the power supply branch.
[0027] A boost converter circuit increases the input voltage to meet the requirements of circuit components that need to use high voltage. This type of circuit is widely used in many electronic devices, such as mobile phones, computers, and LED drivers. Through specific operating principles, such as pulse width modulation (PWM) or frequency modulation (FM), a boost converter circuit can convert a fixed voltage into a variable AC voltage, thus making the output voltage higher than the input voltage. Boost modules are simple in circuitry, low in cost, and do not occupy excessive chip area.
[0028] In this embodiment of the invention, the main function of the boost module is to improve input efficiency, thereby reducing costs and enabling more work to be done with the same energy consumption. This is particularly beneficial in areas with high electricity costs, where improved circuit efficiency can significantly reduce operating costs. It also extends equipment lifespan; proper power management and equipment maintenance can extend the lifespan of electronic devices, reducing the frequency of equipment replacement and thus saving on replacement costs. Finally, it enhances system stability, reducing malfunctions and instability.
[0029] Preferably, the anti-backflow module includes: a third resistor, a fourth resistor, a fifth resistor, a second comparator, a fourth diode, a first MOSFET, and a first transistor; The positive input terminal of the second comparator is connected to the drain of the first MOSFET, the negative input terminal is connected to the source of the first MOSFET, and the output terminal is connected to the third resistor. The third resistor is connected to the base of the first transistor; The fourth resistor is connected to the base and emitter of the first transistor; The fifth resistor is connected to the collector of the first transistor and the source of the first MOSFET; The emitter of the first transistor is grounded; The input terminal of the fourth diode is connected to the drain of the first MOSFET, and the output terminal is connected to the source of the first MOSFET.
[0030] Preferably, refer to Figure 2 The voltage detection module includes: a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first diode, a second diode, and a first resistor; The input terminal of the first diode is connected to the voltage to be detected, and the output terminal is connected to the first terminal of the first resistor; The upper plate of the first capacitor is connected to the first resistor, and the lower plate is grounded. The upper plate of the second capacitor is connected to the first resistor, and the lower plate is grounded. The second terminal of the first resistor is connected to the input terminal of the second diode; The upper plate of the third capacitor is connected to the output terminal of the second diode, and the lower plate is grounded. The upper plate of the fourth capacitor is connected to the output terminal of the second diode, and the lower plate is grounded.
[0031] In this embodiment of the invention, the input terminal of the first diode is connected to the voltage to be measured, which is the voltage signal from a power supply branch. The first resistor is a sampling resistor and also functions as a protection resistor for the circuit. Optionally, in a low-voltage operating environment, the resistance value of the protection resistor can be set relatively small. The resistance value of the first resistor can be selected according to the actual operating voltage environment of the chip. The first diode and the second diode are used to control the unidirectional flow of current and can also be used to protect the circuit. Optionally, an isolation module can be added between the first diode and the second diode for sampling and detecting voltages at multiple addresses.
[0032] A voltage detection module is an electronic circuit whose core function is to monitor the power supply voltage, ensuring that the circuit or device operates within its normal operating voltage range. This type of circuit is crucial for protecting equipment from overvoltage or undervoltage damage. Voltage detection modules typically utilize the characteristics of electronic components to monitor the power supply voltage. For example, by using components such as resistors, capacitors, diodes, and transistors, a circuit can be built that can detect whether the power supply voltage is within a set range. When the power supply voltage exceeds or falls below the set value, the circuit outputs a signal indicating an abnormal power supply voltage. Voltage detection modules are widely used in various electronic devices, such as computers, communication equipment, and home appliances. In these devices, voltage detection circuits ensure that the equipment operates under a stable power supply voltage, preventing equipment damage or data loss due to voltage fluctuations. Especially in battery-powered devices, voltage detection circuits can monitor battery level and remind the user to charge when the battery is low, preventing the device from shutting down due to depleted power. The specific implementation of a voltage detection module depends on the design requirements and the complexity of the circuit. For example, some simple voltage detection circuits may contain only one or a few electronic components, while complex circuits may include a microprocessor or other logic circuitry to process the detected voltage information. In some cases, voltage detection circuits may also include fault diagnosis capabilities, providing fault indication when the power supply voltage is abnormal.
[0033] Voltage detection modules can also employ microprocessors or dedicated integrated circuits to achieve more accurate voltage monitoring and faster response. Furthermore, they can include power management functions such as intelligent charging management and power estimation to improve device energy efficiency and user experience. Voltage detection modules protect devices from damage by monitoring power supply voltage, while simultaneously improving device reliability and user experience.
[0034] Optionally, this invention can also incorporate a current detection module instead of a voltage detection module. Current detection can also determine whether each power supply branch meets the chip's power supply standards. The current detection circuit measures the current in each power supply circuit and converts the measured current into a processable or displayable signal, ensuring the normal operation and safety of the chip. The current detection circuit can monitor the current status in real time, preventing abnormal conditions such as overload and short circuits, protecting equipment and user safety. Furthermore, it is widely used in battery charging management systems to ensure safe battery charging and prevent overcharging or over-discharging.
[0035] Preferably, refer to Figure 3 The current-limiting resistor calibration module includes: multiple current-limiting branches; The current branch consists of a resistor and a switch connected in series; Multiple current-limiting branches are connected in parallel to form a current-limiting resistor calibration module.
[0036] The current-limiting method in a resistor-based current-limiting circuit involves connecting a resistor in series with the circuit. This increases the total resistance of the circuit, thereby reducing the total current and limiting its magnitude. The principle of resistor-based current limiting is based on Ohm's law and the power law. Ohm's law states that there is a linear relationship between the current I through a resistor R and the voltage V, i.e., V=IR. By adjusting the resistance, the current magnitude can be controlled. The power law states that the power P in a circuit is equal to the current I multiplied by the voltage V, i.e., P=IV. By adjusting the resistance, the power generated by the current flowing through the resistor can be controlled, further controlling the current magnitude. In a series circuit, the current is distributed to each resistor according to their resistance ratio. Adding a resistor is equivalent to adding an impedance to the circuit, resulting in a decrease in the total current. Therefore, by connecting an appropriate resistor in series with the circuit, the current magnitude can be effectively limited, protecting other components in the circuit from damage caused by excessive current.
[0037] Resistor current limiting is used to protect components in chip circuits and prevent damage to the circuit due to excessive current. In this embodiment of the invention, the current limiting module samples multiple resistor matrices. When the current passing through the resistor matrix exceeds a preset current, it will cause the voltage difference between the resistor matrices to be too large. In this case, the resistance value of the resistor matrix is increased, and the current is decreased until it is lower than the preset current. When the current passing through the resistor matrix is 0, it will cause the voltage difference between the resistor matrix to be 0. In this case, the resistance value of the resistor matrix is decreased, and the current is increased.
[0038] Each current-limiting resistor calibration module is connected in series, and the last current-limiting resistor calibration module is connected to the load to reduce the voltage of the power supply branch.
[0039] A current-limiting circuit is a circuit configuration in which a resistor is connected in series with the load. The magnitude of the current flowing through the load is limited by adjusting the value of the resistor. The key feature of this circuit configuration is that, with a constant power supply voltage, the current flowing through the load is adjusted by changing the resistance of the series resistor, thus achieving current regulation. Current-limiting circuits have wide applications. For example, in electronic devices, adjusting the resistor value can control the current consumption of the device, protect the device from excessive current surges, and also adjust the device's performance as needed. Furthermore, current-limiting circuits play an important role in power management, protecting the power supply and load from damage by limiting the magnitude of the current.
[0040] The design of current-limiting circuits requires consideration of various factors, including circuit safety and reliability. For example, circuits with different voltage ranges have specific charge and energy storage limits to ensure safe operation. Furthermore, the design of current-limiting circuits also needs to consider factors such as insulation and capacitance to ensure safe and reliable operation under various conditions.
[0041] Preferably, refer to Figure 4 The boost module includes: a first inductor, a first switching transistor, a third diode, a fifth capacitor, and a second resistor; The collector of the first switching transistor is connected to the second terminal of the first inductor, and the emitter is connected to the current-limiting resistor calibration module. The first end of the first inductor is connected to the current-limiting resistor calibration module, and the second end is connected to the input end of the third diode; The upper plate of the fifth capacitor is connected to the output terminal of the third diode, and the lower plate is connected to the current-limiting resistor calibration module. The first end of the second resistor is connected to the output end of the third diode, and the second end is connected to the current-limiting resistor calibration module.
[0042] A boost module is used to increase voltage. It consists of an inductor, diode, switching transistor, filter capacitor, and load resistor. The working principle of a boost module mainly involves the charging and discharging processes. During charging, when the switching transistor is turned on, the input voltage flows through the inductor, and the current in the inductor increases linearly at a certain rate, storing energy. When the switching transistor is turned off, since the inductor current cannot change abruptly, the current flowing through the inductor slowly becomes zero. At this time, the inductor discharges through a new circuit, charging the capacitor, causing the voltage across the capacitor to rise, higher than the input voltage. This process can be repeated continuously to obtain an output voltage higher than the power supply voltage across the capacitor. In practical applications, the switching transistor will switch on and off at an extremely fast speed, thereby controlling the entire boost process.
[0043] In this embodiment of the invention, the boost module uses an inductor to store and transfer energy, a capacitor to keep the voltage constant, and controls the on-time and off-time of the switching transistor by changing the duty cycle of the modulation signal, thereby raising the input voltage to a higher output voltage level.
[0044] The advantages of boost modules include continuous input current modulation across the entire input voltage range, resulting in a high power factor; the inductor current being the input current, making it easy to adjust; the gate drive signal ground and output sharing a common ground, simplifying the drive process; and strong adaptability to input voltage variations. High power factor: Boost modules achieve a high power factor by making the input current continuous and modulating it across the entire sinusoidal period of the input voltage. This is because the inductor current is the input current, a characteristic that makes boost modules particularly useful in applications requiring high-efficiency energy conversion. Easy adjustment: Since the inductor current is the input current, the design of boost modules makes the current easy to adjust, which is crucial for applications requiring precise current control. Simple drive design: The gate drive signal ground and output sharing a common ground simplifies the design of the drive circuit, reducing system complexity and cost. Strong adaptability: Due to the continuous input current and small peak current of the switching transistor, the boost module has strong adaptability to changes in input voltage. This is especially important in environments with large voltage fluctuations, ensuring the efficient operation and long-term stability of the chip circuit.
[0045] Example 2 A method for controlling power supply circuitry and internal multi-input power supply circuitry of a SoC chip, referenced. Figure 6 and Figure 7 The steps include: Step S100: The voltage detection module detects the voltage of each chip input branch; The primary function of the voltage detection module in measuring the chip's power supply branch is to ensure the chip's stable and safe operation. When an abnormal voltage is detected in one of the chip's power supply branches, the voltage can be adjusted promptly to prevent overcurrent breakdown. Measuring the power supply circuit ensures the chip receives a stable supply current, a fundamental condition for normal chip operation. Problems in the power supply circuit, such as unstable voltage or insufficient current, may cause the chip to malfunction, affecting the performance of the entire device. Furthermore, special attention must be paid to the power supply circuits of critical components such as the CPU, as they are the most crucial parts of the system; any power supply problem can lead to system startup failure or abnormal operation. If the supply voltage drops or the current becomes abnormal, a fault signal is output to the IC chip, triggering protection or preventative measures to ensure chip safety. Moreover, the power supply voltage detection chip operates based on a combination of analog and digital circuits. It receives the voltage signal to be measured at the input terminal, processes it through operational amplifiers and comparators, and finally outputs a digital signal for use by other electronic devices. The role of the measurement chip power supply circuit is not only to ensure the normal operation of the chip, but also to ensure the safety and stability of the equipment. Through accurate measurement and necessary protective measures, the service life of the equipment can be effectively extended, and its reliability and performance can be improved.
[0046] Step S200: Calculate the current limiting parameters of each current limiting resistor calibration module based on the voltage of each chip input branch; The primary purpose of calibrating the chip's power supply voltage is to ensure that the chip operates at its optimal state, while extending its lifespan and improving energy efficiency. The chip's power supply voltage directly impacts its performance, power consumption, and lifespan. While a higher power supply voltage provides better performance, it also increases power consumption and shortens device lifespan. Therefore, calibrating the chip's power supply voltage is necessary to ensure that the chip operates at the required design speed while avoiding excessive voltage that could affect circuit lifespan. This calibration process is typically performed before the chips leave the factory, classifying them by testing their speed. For chips exceeding the preset operating speed, the core operating voltage is reduced; for chips below the preset operating speed, core operating voltage compensation is performed to ensure that all chips ultimately reach the designed operating speed. Calibrating the chip's power supply voltage also helps solve specific problems with programmable logic devices. Due to their programmable nature, these devices often do not need to reach a preset maximum operating speed, but maintaining this speed with a high core operating voltage would result in wasted performance, thus affecting the chip's power consumption and lifespan. Therefore, by calibrating the supply voltage, the performance of these programmable logic devices can be optimized, avoiding unnecessary energy waste. Calibrating the chip's power supply circuit voltage is a critical step in ensuring chip performance, extending its lifespan, and improving energy efficiency.
[0047] Step S300: Detect the load voltage to determine whether the voltage meets the preset value.
[0048] The purpose of checking whether the chip's power supply circuit voltage is standard is to ensure that the chip functions properly and improve the stability and reliability of the equipment.
[0049] Preferably, step S200, after calculating the current-limiting parameters of each stage of the current-limiting resistor calibration module based on the voltage of each chip input branch, further includes: Step S210: If the voltage of the input branch is low, a boost module is used to increase the branch voltage.
[0050] Both L1 and capacitor C1 have large values. When the switching transistor is triggered and turns on, the power supply charges the inductor and the capacitor discharges to the load R. When the switching transistor is turned off due to reverse voltage, the power supply and the inductor simultaneously supply energy to the resistor and charge the capacitor. The inductor acts as a voltage pump and the capacitor acts as an output voltage holder, together completing the voltage boosting and holding function.
[0051] Preferably, step S200, after calculating the current-limiting parameters of each stage of the current-limiting resistor calibration module based on the voltage of each chip input branch, further includes: In step S220, the anti-backflow module controls the current direction of each current-limiting resistor calibration module and discharges current exceeding the standard value.
[0052] An electronic device includes: a chip, a processor, and a memory. The memory stores computer program code, which includes computer instructions. When the chip executes the computer instructions, the electronic device performs a power supply combination and a multi-input power supply circuit control method within the SoC chip.
[0053] The main advantage of backflow prevention circuits is that they prevent current from flowing backward after the power is disconnected, protecting circuit components, extending equipment life, and improving circuit safety. The design of backflow prevention circuits primarily addresses the problem of current backflow in circuits. Current backflow typically occurs after the power is disconnected. If the circuit design is inadequate, the charge stored in capacitors may flow back to the power source through certain paths, which not only consumes the power supply's energy but may also damage the power supply or other circuit components. Backflow prevention circuits, through specific components and structures such as diodes and MOSFETs, effectively prevent this reverse current flow, thereby protecting sensitive components in the circuit and avoiding unnecessary energy loss and equipment damage.
[0054] This invention incorporates a voltage detection module before the power supply branches enter the chip. This module accurately detects the voltage values of each branch and guides the subsequent current-limiting resistor module and boost module to adjust the voltage of the power supply branches, ensuring that the voltage deviation of each power supply branch does not exceed a preset value, thus enabling the chip to operate at a safe temperature. This invention eliminates the need for external discrete components for power supply circuit combining and protection, integrating small circuits within the chip, resulting in high integration and significantly saving chip area and production costs. Furthermore, this invention can process multiple power supply branches simultaneously, with processing efficiency far exceeding that of conventional power supply combining, giving it strong market competitiveness.
[0055] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A power supply combination circuit and a multi-input power supply circuit inside a SoC chip, characterized in that, include: The system includes multiple chip input branches and a voltage detection module. Each chip input branch includes a boost module, a reverse current protection module, a first comparator, and a current limiting module. The current limiting module consists of a current limiting resistor calibration module and a current limiting resistor matrix. The voltage detection module detects the voltage of each chip input branch; and calculates the current limiting parameters of the current limiting resistor calibration module based on the voltage of each chip input branch. The boost module is connected to the current limiting module and is used to boost the voltage of the chip input branch when the voltage of the chip input branch is lower than a preset value. The input terminal of the current limiting module is connected in series to the main circuit of each chip input branch, and the output terminal is connected to the input terminal of the anti-backflow module. When the current passing through the current limiting module exceeds the preset current, it will cause the voltage difference inside the current limiting module to be too large. Then the resistance value of the current limiting module will be increased to reduce the current until it is lower than the preset current. When the current passing through the current limiting module is lower than the set current, the resistance value of the current limiting module will be reduced to reduce the heat loss of the branch. The positive input terminal of the first comparator is connected to the input terminal of the current limiting module, the negative input terminal is connected to the output terminal of the current limiting module, and the output terminal is connected to the internal current limiting branch of the current limiting module for feedback adjustment of the parameters of the current limiting module; The backflow prevention module is used to prevent reverse current from causing damage to the power supply at the input terminal.
2. The power supply combination circuit and the multi-input power supply circuit inside the SoC chip according to claim 1, characterized in that, The anti-backflow module includes: a third resistor, a fourth resistor, a fifth resistor, a second comparator, a fourth diode, a first MOSFET, and a first transistor; The positive input terminal of the second comparator is connected to the drain of the first MOS transistor, the negative input terminal is connected to the source of the first MOS transistor, and the output terminal is connected to the third resistor. The third resistor is connected to the base of the first transistor; The fourth resistor is connected to the base and emitter of the first transistor; The fifth resistor is connected to the collector of the first transistor and the source of the first MOS transistor; The emitter of the first transistor is grounded; The input terminal of the fourth diode is connected to the drain of the first MOS transistor, and the output terminal is connected to the source of the first MOS transistor.
3. The power supply combination circuit and the multi-input power supply circuit inside the SoC chip according to claim 1, characterized in that, The voltage detection module includes: a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first diode, a second diode, and a first resistor; The input terminal of the first diode is connected to the voltage to be detected, and the output terminal is connected to the first terminal of the first resistor; The upper plate of the first capacitor is connected to the first resistor, and the lower plate is grounded; The upper plate of the second capacitor is connected to the first resistor, and the lower plate is grounded; The second end of the first resistor is connected to the input end of the second diode; The upper plate of the third capacitor is connected to the output terminal of the second diode, and the lower plate is grounded. The upper plate of the fourth capacitor is connected to the output terminal of the second diode, and the lower plate is grounded.
4. The power supply circuit and multi-input power supply circuit inside the SoC chip according to claim 1, characterized in that, The current limiting module includes: multiple current limiting branches; The current-limiting branch includes a resistor and a switch connected in series; Multiple current-limiting branches are connected in parallel to form a current-limiting module.
5. The power supply combination circuit and the multi-input power supply circuit inside the SoC chip according to claim 1, characterized in that, The boost module includes: a first inductor, a first switching transistor, a third diode, a fifth capacitor, and a second resistor; The collector of the first switching transistor is connected to the second terminal of the first inductor, and the emitter is connected to the current-limiting resistor calibration module. The first end of the first inductor is connected to the current-limiting resistor calibration module, and the second end is connected to the input end of the third diode; The upper plate of the fifth capacitor is connected to the output terminal of the third diode, and the lower plate is connected to the current-limiting resistor calibration module. The first end of the second resistor is connected to the output end of the third diode, and the second end is connected to the current-limiting resistor calibration module.
6. A power supply combining and SoC chip internal multi-input power supply circuit control method, applied to the power supply combining and SoC chip internal multi-input power supply circuit as described in any one of claims 1-5, characterized in that, include: The voltage detection module detects the voltage of each chip input branch; The current limiting parameters of the current limiting resistor calibration module are calculated based on the voltage of each chip input branch. Detect the load voltage to determine if the voltage meets the preset value.
7. The power supply combination and SoC chip internal multi-input power supply circuit control method according to claim 6, characterized in that, After calculating the current-limiting parameters of the current-limiting resistor calibration module based on the voltage of each chip input branch, the method further includes: If the voltage of the input branch is lower than the preset value, a boost module is used to increase the branch voltage.
8. The power supply combination and SoC chip internal multi-input power supply circuit control method according to claim 7, characterized in that, After calculating the current-limiting parameters of the current-limiting resistor calibration module based on the voltage of each chip input branch, the method further includes: The anti-backflow module controls the current direction of the current-limiting resistor calibration module and discharges current exceeding the standard value.
9. An electronic device, characterized in that, include: A chip, a processor, and a memory, the memory being used to store computer program code, the computer program code including computer instructions, wherein, when the chip executes the computer instructions, the electronic device performs a power combination and SoC chip internal multi-input power supply circuit control method as described in any one of claims 6 to 8.