Current adjusting module, electronic equipment and current adjusting method
By connecting a current adjustment module between the SoC and PMIC module, the current parameters of the PMIC are adjusted in real time, solving the frequent overcurrent protection problem caused by the SoC's inability to adjust in time, and improving the stability and response speed of the PMIC module.
Patent Information
- Application Number
- CN202510852472.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-24
- Publication Date
- 2025-09-16
AI Technical Summary
In the existing technology, the system-on-chip (SoC) is unable to adjust the current parameters of the power management integrated circuit (PMIC) module in a timely manner, causing the PMIC module to frequently trigger the overcurrent protection function, affecting its stability.
A current adjustment module is connected between the SoC and the PMIC module. This module adjusts the current parameters of the PMIC module in real time, including the output current and overcurrent protection threshold, to avoid frequent triggering of overcurrent protection.
The stability of the PMIC module is improved, the dynamic balance efficiency and response speed in scenarios such as load mutation and light-load standby are optimized, and the occurrence of overcurrent protection problems is reduced.
Smart Images

Figure CN120653053A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and specifically relates to a current regulation module, an electronic device, and a current regulation method. Background Art
[0002] At present, in order to ensure the stability of electronic equipment operation, it is very important to use system-on-chip (SoC) to adjust the current parameters of the power management integrated circuit (PMIC) module in electronic devices such as mobile phones and tablets.
[0003] In related technologies, the SoC takes a long time to arbitrate and judge the load at the output end of the PMIC module, and is unable to adjust the current parameters of the PMIC module in a timely manner, causing the PMIC module to frequently trigger the overcurrent protection (OCP) function, affecting the stability of the PMIC module. Summary of the Invention
[0004] The present application provides a current regulation module, an electronic device, and a current adjustment method, which can timely adjust the current parameters of the PMIC module through the current adjustment module, thereby avoiding frequent triggering of the overcurrent protection function of the PMIC module and improving the stability of the PMIC module.
[0005] In the first aspect, an embodiment of the present application provides a current regulation module, including: a SoC, a current adjustment module and a PMIC module; the first control end of the SoC is connected to the control end of the PMIC module via a first control line, and the output end of the current adjustment module is connected to the control end of the PMIC module via a second control line.
[0006] In a second aspect, an embodiment of the present application provides an electronic device, comprising the current regulating module as described in the first aspect.
[0007] In a third aspect, an embodiment of the present application provides a current adjustment method, which is applied to the current regulation module as described in the first aspect, and the method includes: The current adjustment module outputs a first adjustment command to the PMIC module via the second control line; The PMIC module adjusts a current parameter of the PMIC module based on the first adjustment command; the current parameter includes at least one of an output current provided by the PMIC module to the load and an overcurrent protection threshold of the PMIC module.
[0008] In an embodiment of the present application, a current regulation module includes a SoC, a current regulation module, and a PMIC module; a first control terminal of the SoC is connected to a control terminal of the PMIC module via a first control line, and an output terminal of the current regulation module is connected to a control terminal of the PMIC module via a second control line. Because the control terminal of the PMIC module is connected to the output terminal of the current regulation module and the first control terminal of the SoC, after the SoC outputs a current regulation command for setting the current parameters of the PMIC module, the current regulation module can further set the current regulation command output by the SoC. In this way, the current parameters of the PMIC module can be adjusted in a timely manner through the current regulation module, thereby preventing the PMIC module from frequently triggering the overcurrent protection function and improving the stability of the PMIC module. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 A schematic diagram of a PMIC power mode adjustment system provided in the related art; Figure 2 A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 3 A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 4 A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 5 A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 6 A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 7A A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 7B A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 7C A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 8 A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 9 A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 10 A schematic diagram of a current regulation module provided in some embodiments of the present application; Figure 11 A schematic diagram of an electronic device provided for some embodiments of the present application; Figure 12 A schematic flow chart of a current adjustment method provided in some embodiments of the present application; Figure 13A A schematic flow chart of a current adjustment method provided in some embodiments of the present application; Figure 13B A schematic flowchart of a current adjustment method provided in some embodiments of the present application.
[0010] Description of reference numerals: 10-current regulation module; 100-SoC; 101-power controller; 102-PMIC arbiter; 110-first control line; 120-second control line; 130-third control line; 140-fourth control line; 200-current adjustment module; 201-control unit; 202-output unit; 203-analysis unit; 204-storage unit; 300-PMIC module; 310-first PMIC module; 311-first voltage regulation unit; 320-second PMIC module; 321-second voltage regulation unit; 301-third voltage regulation unit Element; 302-fourth voltage regulating unit; A-first control end of SoC; B-control end of PMIC module; C-input end of current adjustment module; D-output end of current adjustment module; E-second control end of SoC; F-control end of current adjustment module; B1-control end of first PMIC module; B2-control end of second PMIC module; G1-output end of first PMIC module; G2-output end of second PMIC module; G3-first output end of PMIC module; G4-second output end of PMIC module; 1100-electronic device. DETAILED DESCRIPTION
[0011] The embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0012] The terms "first" and "second" in the specification and claims of this application may explicitly or implicitly refer to one or more of the features. Throughout the description of this application, unless otherwise specified, "plurality" means two or more. Furthermore, "and / or" in the specification and claims refers to at least one of the connected entities, and the character " / " generally indicates an "or" relationship between the connected entities.
[0013] In the description of this application, it should be understood that the terms "inside", "outside", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on this application.
[0014] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "connected" and "connection" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; mechanical connections, or electrical connections; direct connections, indirect connections through an intermediate medium, or internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.
[0015] Figure 1 This is a schematic diagram of a PMIC power mode adjustment system provided in the related art.
[0016] refer to Figure 1 In related art, a PMIC power mode adjustment system within an electronic device may include: a system-on-chip (SoC), a PMIC module, and a load. The SoC includes a power controller and a PMIC arbiter. The power controller is responsible for configuring the power mode, which includes current parameters such as the PMIC's output current and the PMIC's overcurrent protection (OCP) threshold. The SoC can adjust the PMIC's current parameters based on system requirements to adapt to different operating conditions. The PMIC arbiter arbitrates the power mode configuration, integrating information from various sources to output appropriate current parameters, which are then transmitted to the PMIC module. The SoC connects to the PMIC module via a power control bus. The power control bus transmits power configuration signals generated by the PMIC arbiter to the PMIC module, or allows the SoC to read PMIC module status information through the power control bus. Power control bus types include, but are not limited to, Serial Peripheral Management Interface (SPMI) and ADI buses. After receiving the power configuration signal, the PMIC module outputs the corresponding current and can detect the load current. The PMIC module also feeds back its status information to the SoC. The load is used to consume power provided by the PMIC module, for example, actual loads such as a communication module and a camera module in the system.
[0017] The PMIC power mode adjustment process in related technologies is as follows: first, the current parameters are configured through the power controller within the SoC, then the PMIC arbiter conducts comprehensive arbitration. Finally, the power configuration signal containing the current parameters is transmitted to the PMIC module via the power control bus. The PMIC module adjusts the output current and monitors the load current based on the received power configuration signal, while also feeding back status information to the SoC to ensure the normal operation of loads such as communication modules and camera modules. However, in actual applications, in scenarios such as electronic component damage causing abnormal power short circuits, ambient temperature effects causing PMIC abnormalities, transient load fluctuations exceeding the OCP threshold, and mismatches between the power mode and load requirements, the SoC needs to go through a complex arbitration process to switch the PMIC module's power mode. This delay in adjusting the relevant current parameters of the PMIC module causes the PMIC module to frequently trigger the overcurrent protection (OCP) function, affecting the stability of the PMIC module.
[0018] The SoC in the embodiment of the present application may include Figure 1 The various components in the SoC chip, such as the power controller and the PMIC arbitrator. The workflow of the various components in the SoC chip in the embodiment of the present application can refer to the above Figure 1 The current regulation module in the embodiment of the present application may also include a load connected to the output end of the PMIC module. The load operation in the embodiment of the present application can refer to the above description of the load operation. Figure 1 The described workflow.
[0019] The current regulation module, electronic device, and current regulation method provided in the embodiments of the present application can be achieved by connecting (e.g., connecting in parallel) a current regulation module between a system-on-chip (SoC) and a power management integrated circuit (PMIC) module. The current regulation module can be a customized chip, such as a regulation IC. The regulation IC can read the power mode adjustment command sent by the SoC to the PMIC module, and after internal analysis and decision-making processes, output the power mode adjustment command to the PMIC module, thereby realizing adaptive adjustment of the power mode of the PMIC module, thereby optimizing performance and power consumption. By realizing adaptive adjustment of the power mode of the PMIC module through the regulation IC, the stability of the PMIC module is significantly improved, and the efficiency, noise, and response speed are dynamically balanced in scenarios such as load mutation and light load standby, effectively avoiding the occurrence of overcurrent protection (OCP) problems.
[0020] In addition, in the current regulation module provided in the embodiment of the present application, a current regulation module is connected between the system-on-chip (SoC) and the power management integrated circuit (PMIC) module in parallel, thereby ensuring that the impact on the original circuit is minimized. Even if the current regulation module fails, it will not affect the normal operation of the SoC and PMIC modules in the original circuit, ensuring that the system does not reduce the reliability of existing functions while improving performance.
[0021] The current adjustment module provided in the embodiment of the present application can be in the form of a regulating IC or a customized IC chip, and this customized IC may include a parsing unit, a control unit and an output unit. The parsing unit is used to monitor the bus data on the power control bus between the SoC and the PMIC module, and obtain the adjustment command sent by the SoC to the PMIC module, such as various power mode configuration signals including PMIC power mode configuration information, or obtain the status information fed back by the PMIC module to the SoC to provide the information source required for subsequent processing. The control unit is used to arbitrate and optimize the monitored bus signals, thereby realizing customized mode control to ensure the flexibility and efficiency of system operation. The output unit is used to generate and output the adjustment command to the control bus of the PMIC module under the guidance of the control unit, thereby realizing accurate and dynamic management of the PMIC module.
[0022] In addition, the SoC and the custom IC can also be connected through a communication interface, such as a serial peripheral interface (SPI), an inter-integrated circuit (IIC) interface, etc. The communication interface is used to transmit configuration information, interrupt signals, etc. The custom IC can also contain a storage unit. The storage unit in the custom IC, such as Flash memory, can also record the number of warnings for a certain power supply of the PMIC module and notify the SoC. When a large number of warnings for a certain power supply is detected, the SoC will be reminded to adjust the mode to reduce the occurrence of such situations. After recording the warning event, the custom IC can send an interrupt signal to the SoC through the communication interface. After the SoC records the interrupt signal, it can quickly locate the problem in the subsequent processing process and find the root cause of the warning event, thereby optimizing the problem from the source.
[0023] The current regulation module, electronic device, and current regulation method provided by the embodiments of the present application are further discussed below with reference to the accompanying drawings.
[0024] Figure 2 A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0025] Reference Figure 2An embodiment of the present application provides a current regulation module 10, which may include: a SoC 100, a current regulation module 200, and a PMIC module 300; the first control terminal A of the SoC 100 is connected to the control terminal B of the PMIC module 300 via a first control line 110, and the output terminal D of the current regulation module 200 is connected to the control terminal B of the PMIC module 300 via a second control line 120.
[0026] The first control line 110 and the second control line 120 may be a power control bus, such as an SPMI control line, or other types of control lines. This application does not limit the types of the first control line 110 and the second control line 120 .
[0027] The SoC 100 may be used to configure an initial power mode of the PMIC module, where the power mode of the PMIC module includes current parameters of the PMIC module.
[0028] The current adjustment module 200 may be used to adjust a current parameter of the PMIC module, where the current parameter includes at least one of an output current provided by the PMIC module to the load and an overcurrent protection threshold of the PMIC module.
[0029] Among them, when the current adjustment module 200 is used to adjust the output current of the PMIC module, by adjusting the output current provided by the PMIC module to the load, for example, increasing the output current provided by the PMIC module to the load, the adjusted output current can meet the actual load requirements of the PMIC module, thereby reducing the overcurrent risk of the PMIC module, avoiding the occurrence of overcurrent protection problems, and thus avoiding the PMIC module from frequently triggering the overcurrent protection function.
[0030] In which, when the current adjustment module 200 is used to adjust the overcurrent protection threshold of the PMIC module, by adjusting the overcurrent protection threshold of the PMIC module, for example, raising the overcurrent protection threshold of the PMIC module, the adjusted overcurrent protection threshold changes the triggering condition for triggering the overcurrent protection action, thereby avoiding the PMIC module from triggering the overcurrent protection function.
[0031] For example, the current adjustment module 200 outputs a first adjustment command to the PMIC module 300 via the second control line 120. The PMIC module 300 adjusts the current parameters of the PMIC module based on the first adjustment command. The current parameters include at least one of the output current provided by the PMIC module to the load and the overcurrent protection threshold of the PMIC module. In this way, after the SoC 100 outputs the adjustment command for setting the current parameters of the PMIC module 300, the current adjustment module can further adjust the adjustment command output by the SoC. This allows the current adjustment module to timely adjust the current parameters of the PMIC module, thereby preventing the PMIC module from frequently triggering the overcurrent protection function and improving the stability of the PMIC module.
[0032] Thus, in the current regulation module provided in the embodiment of the present application, the first control terminal A of the SoC 100 is connected to the control terminal B of the PMIC module 300 via the first control line 110, and the output terminal D of the current regulation module 200 is connected to the control terminal B of the PMIC module 300 via the second control line 120. Since the control terminal B of the PMIC module 300 is connected to the output terminal D of the current regulation module 200 and the first control terminal A of the SoC 100, after the SoC 100 outputs a current regulation command for setting the current parameters of the PMIC module 300, the current regulation module 200 can further set the current regulation command output by the SoC 100. In this way, the current parameters of the PMIC module 300 can be adjusted in a timely manner through the current regulation module 200, thereby preventing the PMIC module 300 from frequently triggering the overcurrent protection function, thereby improving the stability of the PMIC module 300.
[0033] In some embodiments of the present application, the SoC 100 and the current adjustment module 200 may also be connected via a communication interface, such as an SPI interface, an IIC interface, etc., for transmitting configuration information, interrupt signals, etc. For example, the SoC 100 may send configuration information to the current adjustment module 200 via the communication interface. The configuration information may include the minimum output current for safe operation of the PMIC module, so that the current adjustment module 200 can subsequently determine a first adjustment command for adjusting the current parameters of the PMIC module 300 based on the minimum output current. For example, after detecting overcurrent protection warning information fed back by the PMIC module 300, the current adjustment module 200 may send an interrupt signal to the SoC 100 via the communication interface, prompting the SoC 100 to adjust the power mode to reduce the occurrence of such situations. After the SoC 100 records the interrupt signal, it can quickly locate the problem in the subsequent processing process and find the root cause of the warning event, thereby optimizing the problem at the source.
[0034] Figure 3 A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0035] Reference Figure 3 In an embodiment of the present application, a current regulating module 10 is provided, in which the second control terminal E of the SoC 100 is connected to the control terminal F of the current regulating module 200 via a third control line 130; wherein the second control terminal E of the SoC 100 is different from the first control terminal A of the SoC 100.
[0036] The third control line 130 may be an SPI control line, an IIC control line, or other types of control lines. The present application does not limit the type of the third control line 130 .
[0037] The second control terminal E of the SoC 100 may be a communication interface such as SPI, IIC, etc., for transmitting configuration information and interrupt signals.
[0038] For example, the second control terminal E of SoC100 sends configuration information to the control terminal F of the current adjustment module 200 via the third control line 130. The configuration information may include the minimum output current for safe operation of the PMIC module, so that the current adjustment module 200 subsequently determines a first adjustment command for adjusting the current parameters of the PMIC module 300 based on the minimum output current.
[0039] For example, after the current adjustment module 200 detects the overcurrent protection warning information fed back by the PMIC module 300, the control terminal F of the current adjustment module 200 sends an interrupt signal to the second control terminal E of the SoC100 via the third control line 130, reminding the SoC100 to adjust the power mode to reduce the occurrence of such overcurrent protection warning events. After the SoC100 records the interrupt signal, it can quickly locate the problem in the subsequent processing process and find the root cause of the warning event.
[0040] In this way, in the current regulation module provided in the embodiment of the present application, since the second control terminal E of SoC100 is connected to the control terminal F of the current adjustment module 200 via the third control line 130, configuration information and interrupt signals can also be transmitted between SoC100 and the current adjustment module 200 through the third control line 130. The configuration information can enable the current adjustment module 200 to generate an accurate first adjustment command, and the interrupt signal can remind SoC100 to adjust the power mode to reduce the occurrence of overcurrent protection warning events.
[0041] In some embodiments of the present application, the current adjustment module 200 can also be used to monitor the power control bus information transmitted on the first control line 110 between the first control terminal A of the SoC100 and the control terminal B of the PMIC module 300, and modify the power mode of the PMIC module 300 by analyzing the power control bus information transmitted on the first control line 110.
[0042] Figure 4 A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0043] Reference Figure 4 In the current regulating module 10 provided in the embodiment of the present application, the first control terminal A of the SoC 100 is connected to the input terminal C of the current regulating module 200 via the fourth control line 140 .
[0044] The fourth control line 140 may be an SPMI control line or other types of control lines. The present application does not limit the type of the fourth control line 140 .
[0045] The current adjustment module 200 may utilize the fourth control line 140 to monitor the power control bus information transmitted on the first control line 110 .
[0046] For example, the power control bus information transmitted on the first control line 110 may include SoC100 sending a second adjustment command to the PMIC module 300 via the first control line 110, and the second adjustment command includes a second output current and a second overcurrent protection threshold; the current adjustment module 200 can modify the second output current and the second overcurrent protection threshold to obtain the first output current and the first overcurrent protection threshold, and then obtain a first adjustment command for adjusting the current parameters of the PMIC module 300 based on the first output current and the first overcurrent protection threshold.
[0047] In addition, the current adjustment module 200 is also used to feed back the power mode information to the SoC 100 in real time. When the power mode configuration of the PMIC module 300 is wrong, the SoC 100 is notified immediately to modify the power mode of the PMIC module 300.
[0048] For example, the power control bus information transmitted on the first control line 110 may also include overcurrent protection warning information fed back by the PMIC module 300 to the SoC100 via the first control line 110; the current adjustment module 200 may determine the first adjustment command based on the overcurrent protection warning information and adjust the current current parameters of the PMIC module 300.
[0049] In this way, in the current regulation module provided in the embodiment of the present application, since the first control terminal A of the SoC100 is connected to the input terminal C of the current adjustment module 200 via the fourth control line 140, the current adjustment module 200 can use the fourth control line 140 to monitor the power control bus information transmitted on the first control line 110 between the first control terminal A of the SoC100 and the control terminal B of the PMIC module 300, and generate a first adjustment command for adjusting the current current parameters of the PMIC module 300 by analyzing the power control bus information transmitted on the first control line 110, thereby realizing the modification of the power mode of the PMIC module 300.
[0050] In some embodiments of the present application, the current adjustment module 200 may include a control unit, and the control unit is used to determine a first adjustment command for adjusting a current current parameter of the PMIC module 300 .
[0051] Figure 5 A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0052] Reference Figure 5 In the current regulation module 10 provided in the embodiment of the present application, the current regulation module 200 may include a control unit 201, and the control unit 201 is connected to the second control terminal E of the SoC100 via the control terminal F of the current regulation module 200, and the control unit 201 is connected to the control terminal B of the PMIC module 300 via the output terminal D of the current regulation module 200 and the second control line 120.
[0053] Reference Figure 5 SoC100 may include a power controller 101 and a PMIC arbiter 102, one end of the power controller 101 is connected to one end of the PMIC arbiter 102, the other end of the power controller 101 is connected to the control unit 201 via the second control end E of SoC100, the third control line 130, and the control end F of the current adjustment module 200, and the other end of the PMIC arbiter 102 is connected to the control end B of the PMIC module 300 via the first control end A of SoC100.
[0054] Among them, the power supply controller 101 is used to configure current parameters in various power supply modes. For example, the power supply controller 101 can integrate the power supply mode requirements matching various loads in the current scenario and configure them into various power supply modes, such as the first power supply mode MODE1, the second power supply mode MODE2, the third power supply mode MODE3, and so on. The strength levels of various power supply modes can be sorted according to the output current sizes corresponding to the power supply modes: MODE1 < MODE2 < MODE3. The output current included in the first power supply mode MODE1 is less than the output current included in the second power supply mode MODE1, and less than the output current included in the third power supply mode MODE1.
[0055] Among them, the power supply controller 101 is also used to transmit the safe power supply mode MODE0 of the PMIC module 300 to the control unit 201 of the current adjustment module 200 through the communication interface; the safe power supply mode MODE0 includes the minimum output current for the safe operation of the PMIC module 300. In practical applications, the MODE0 corresponding to the system sleep state (SLEEP) and the active state (ACTIVE) is different, and the SoC 100 can update the safe power supply mode MODE0 when the system state switches.
[0056] Among them, the PMIC arbiter 102 is used to comprehensively arbitrate the power supply modes configured by the power supply controller 101, and finally obtain a first adjustment command including current parameters, which is transmitted to the PMIC module 300 through the power control bus.
[0057] In addition, in some embodiments of the present application, the voltage output terminal of the PMIC module can also be connected to the voltage input terminal of the SoC via a power line (not shown in the figure). In this way, the SoC can also detect the output voltage of the PMIC module. The PMIC arbiter 102 in the SoC is also used to arbitrate the configuration of the detected output voltage, and comprehensively detect the output voltage and information from other different sources to output appropriate voltage parameters and transmit them to the PMIC module.
[0058] Among them, the control unit 201 can obtain configuration information from the SoC 100 via the third control line 130. The configuration information includes the safe power supply mode MODE0, and the safe power supply mode MODE0 includes the minimum output current for the safe operation of the PMIC module 300. The control unit 201 can determine a first adjustment command for adjusting the current parameters of the PMIC module 300 by analyzing and comparing the minimum output current and the current output of the PMIC module 300.
[0059] In this way, in the current regulation module provided in the embodiment of the present application, since the control unit 201 is connected to the second control terminal E of the SoC100 via the control terminal F of the current adjustment module 200, and the control unit 201 is connected to the control terminal B of the PMIC module 300 via the output terminal D of the current adjustment module 200 and the second control line 120, the control unit 201 can obtain the configuration information from the SoC100, and determine the first adjustment command for adjusting the current parameters of the PMIC module 300 by analyzing and comparing the minimum output current contained in the configuration information with the current currently output by the PMIC module 300.
[0060] In some embodiments of the present application, the current adjustment module 200 may further include an output unit, which is used to generate and output a first adjustment command to the control end of the PMIC module 300 under the guidance of the control unit, thereby achieving accurate and dynamic management of the current parameters of the PMIC module.
[0061] Figure 6 A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0062] Reference Figure 6 In the current regulating module 10 provided in the embodiment of the present application, the current regulating module 200 further includes an output unit 202, one end of the output unit 202 is connected to the output end D of the current regulating module 200, and the other end of the output unit 202 is connected to the control unit 201; The control unit 201 is connected to the control terminal B of the PMIC module 300 via the output unit 202 , the output terminal D of the current adjustment module 200 , and the second control line 120 .
[0063] The output unit 202 is configured to generate a first adjustment command based on the first output current and the first overcurrent protection threshold determined by the control unit 201 , and output the first adjustment command to the control terminal B of the PMIC module 300 .
[0064] In this way, in the current regulation module provided in the embodiment of the present application, since the control unit 201 is connected to the control terminal B of the PMIC module 300 via the output unit 202, the output terminal D of the current adjustment module 200, and the second control line 120, the output unit 202 can generate a first adjustment command based on the first output current and the first overcurrent protection threshold determined by the control unit 201, and output the first adjustment command to the control terminal B of the PMIC module 300, thereby realizing precise adjustment and dynamic management of the current parameters of the PMIC module 300.
[0065] In some embodiments of the present application, the current adjustment module 200 may further include a parsing unit, which is used to obtain and parse the second adjustment command sent by the SoC 100 to the PMIC module 300 to modify the second adjustment command.
[0066] Figure 7A A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0067] Reference Figure 7A In the current regulating module 10 provided in the embodiment of the present application, the current regulating module 200 may further include a parsing unit 203, one end of the parsing unit 203 is connected to the input terminal C of the current regulating module 200, and the other end of the parsing unit 203 is connected to the control unit 201; The control unit 201 is connected to the first control terminal A of the SoC 100 via the analyzing unit 203 , the input terminal C of the current regulating module 200 , and the fourth control line 140 .
[0068] Among them, the parsing unit 203 can be used to obtain and parse the power control bus data between the SoC100 and the PMIC module 300, and then the control unit 201 can modify the adjustment command of the PMIC module 300 based on the power control bus data between the SoC100 and the PMIC module 300.
[0069] For example, refer to Figure 7B The parsing unit 203 can be configured to obtain a second adjustment command sent by the SoC 100 to the PMIC module 300, parse the second adjustment command, and obtain the second output current and the second overcurrent protection threshold value contained in the second adjustment command. The control unit 201 can then modify the second output current and the second overcurrent protection threshold value to obtain the first output current and the first overcurrent protection threshold value. Finally, the output unit 202 can generate and output the first adjustment command for adjusting the current parameters of the PMIC module 300 based on the first output current and the first overcurrent protection threshold value.
[0070] For example, refer to Figure 7C The parsing unit 203 can also be used to obtain overcurrent protection warning information fed back by the PMIC module 300 to the SoC 100. The control unit 201 can then determine a first output current and a first overcurrent protection threshold based on the overcurrent protection warning information. Finally, the output unit 202 can generate and output a first adjustment command for adjusting the current parameters of the PMIC module 300 based on the first output current and the first overcurrent protection threshold.
[0071] In this way, in the current regulation module provided in the embodiment of the present application, since the control unit 201 is connected to the first control terminal A of the SoC100 via the analysis unit 203, the input terminal C of the current adjustment module 200, and the fourth control line 140, the analysis unit 203 can obtain and analyze the power control bus data between the SoC100 and the PMIC module 300, so as to facilitate the subsequent modification of the adjustment command of the PMIC module 300.
[0072] Of course, in other embodiments, reference Figure 6 ,and Figure 7A Compared with the embodiment shown, the parsing unit 203 can also be omitted in the current adjustment module 200, which simplifies the function of the current adjustment module 200, so that the current adjustment module 200 can be controlled by the SoC100 simply, for example, through the GPIO pin of the SoC100 to enable control, directly force the current power mode of the PMIC module 300 to be modified, and configure a new power mode for the PMIC module 300 through the second control line 120.
[0073] This simplifies the design of current adjustment module 200, reducing manufacturing costs and reducing its complexity, thereby conserving chip layout area. Furthermore, because current adjustment module 200 focuses on the write function of output unit 202 and ignores the read function of parsing unit 203, its development and testing processes are more efficient, further shortening the product development cycle. By omitting the parsing unit, the functional modules of current adjustment module 200 are simplified, optimizing resource utilization and improving system response speed and overall reliability. This is particularly effective in resource- and cost-sensitive applications.
[0074] In some embodiments of the present application, the current adjustment module 200 may further include a storage unit, which is used to record and store the number of overcurrent protection warning events fed back by the PMIC module 300.
[0075] Figure 8 A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0076] Reference Figure 8 In the current regulating module 10 provided in the embodiment of the present application, the current regulating module 200 further includes a storage unit 204 , and the storage unit 204 is connected to the control unit 201 .
[0077] The storage unit 204 may be used to record and store overcurrent protection warning information, and the overcurrent protection warning information may include the number of overcurrent protection warning events fed back by the PMIC module 300 .
[0078] In this way, in the current regulation module provided in the embodiment of the present application, since the storage unit 204 is connected to the control unit 201, the number of overcurrent protection warning events fed back by the PMIC module 300 is recorded and stored through the storage unit 204. Subsequently, when the current adjustment module 200 detects that the number of warnings is greater than the preset threshold, it can send an interrupt signal to SoC100 through the communication interface to remind SoC100 to adjust the power mode to reduce the occurrence of such situations. After SoC100 records the interrupt signal, it can quickly locate the problem in the subsequent processing process and find the root cause of the warning event, thereby optimizing the problem from the source.
[0079] In some embodiments of the present application, the PMIC module 300 may include two power supplies connected in series, front and rear. The current adjustment module 200 is configured to, upon detecting that the SoC 100 has sent a third adjustment command for increasing the current parameter to the rear power supply unit of the PMIC module 300 via the first control line 110, output a first adjustment command for increasing the current parameter to the front power supply unit of the PMIC module 300 via the second control line 120, thereby matching the power mode of the front power supply unit with the power mode of the rear power supply unit, thereby avoiding the risk of overcurrent caused by a mismatch between the power modes of the front and rear power supplies. The front and rear power supplies included in the PMIC module 300 may be provided in different PMIC modules or in the same PMIC module. An example is provided below.
[0080] Figure 9 A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0081] Reference Figure 9 In the current regulation module 10 provided in the embodiment of the present application, the PMIC module 300 may include a first PMIC module 310 and a second PMIC module 320. The first PMIC module 310 includes a first voltage regulating unit 311, and the second PMIC module 320 includes a second voltage regulating unit 321. The voltage output terminal of the first voltage regulating unit 311 is connected to the voltage input terminal of the second voltage regulating unit 321. The output terminal D of the current adjustment module 200 is connected to the first voltage regulation unit 311 via the control terminal B1 of the first PMIC module 310 , and the output terminal D of the current adjustment module 200 is connected to the second voltage regulation unit 321 via the control terminal B2 of the second PMIC module 320 .
[0082] Among them, the first control terminal A of SoC100 is connected to the control terminal B1 of the first PMIC module 310 and the control terminal B2 of the second PMIC module 320; the output terminal D of the current adjustment module 200 is connected to the control terminal B1 of the first PMIC module 310 and the control terminal B2 of the second PMIC module 320.
[0083] The first voltage regulating unit 311 and the second voltage regulating unit 321 are provided in different PMIC modules.
[0084] In the first PMIC module 310 , the control terminal B1 of the first PMIC module 310 is connected to the first voltage regulating unit 311 , and the voltage output terminal of the first voltage regulating unit 311 is connected to the output terminal G1 of the first PMIC module 310 .
[0085] In the second PMIC module 320 , the control terminal B2 of the second PMIC module 320 is connected to the second voltage regulating unit 321 , and the voltage output terminal of the second voltage regulating unit 321 is connected to the output terminal G2 of the second PMIC module 320 .
[0086] The first voltage regulating unit 311 is used to supply power to the second voltage regulating unit 321 , and a voltage output terminal of the first voltage regulating unit 311 is connected to a voltage input terminal of the second voltage regulating unit 321 via an output terminal G1 of the first PMIC module 310 .
[0087] In the current regulation module provided in the embodiment of the present application, since the voltage output end of the first voltage regulation unit 311 is connected to the voltage input end of the second voltage regulation unit 321, the output end D of the current regulation module 200 is connected to the first voltage regulation unit 311 via the control end B1 of the first PMIC module 310, and the output end D of the current regulation module 200 is connected to the second voltage regulation unit 321 via the control end B2 of the second PMIC module 320. The power supply mode of the first voltage regulation unit 311 and the second voltage regulation unit 321 of the front and rear stages can be adjusted through the current regulation module 200.
[0088] In this way, when the current adjustment module 200 detects that the SoC100 sends a third adjustment command for increasing the current parameter to the second voltage regulation unit 321 of the rear stage of the PMIC module 300 via the first control line 110, the first adjustment command for increasing the current parameter can be output to the first voltage regulation unit 311 of the front stage of the PMIC module 300 via the second control line 120, so as to match the power modes of the front and rear power supplies and avoid the risk of overcurrent caused by the mismatch of the power modes of the front and rear power supplies.
[0089] Figure 10 A schematic diagram of a current regulation module provided in some embodiments of the present application.
[0090] Reference Figure 10 In the current regulation module 10 provided in the embodiment of the present application, the PMIC module 300 includes a third voltage regulation unit 301 and a fourth voltage regulation unit 302, and the voltage output terminal of the third voltage regulation unit 301 is connected to the voltage input terminal of the fourth voltage regulation unit 302; The output terminal D of the current adjustment module 200 is connected to the third voltage regulation unit 301 via the control terminal B of the PMIC module 300 ; the output terminal D of the current adjustment module 200 is connected to the fourth voltage regulation unit 302 via the control terminal B of the PMIC module 300 .
[0091] The third voltage regulating unit 301 and the fourth voltage regulating unit 302 are provided in the same PMIC module, and the control terminal B of the PMIC module 300 is connected to the third voltage regulating unit 301 and the fourth voltage regulating unit 302 respectively.
[0092] In the PMIC module 300, the control terminal B of the PMIC module 300 is connected to the third voltage regulating unit 301 and the fourth voltage regulating unit 302, respectively. The voltage output terminal of the third voltage regulating unit 301 is connected to the first output terminal G3 of the PMIC module 300, and the voltage output terminal of the fourth voltage regulating unit 302 is connected to the second output terminal G4 of the PMIC module 300. The voltage output terminal of the third voltage regulating unit 301 is connected to the voltage input terminal of the fourth voltage regulating unit 302 via the first output terminal G3 of the PMIC module 300.
[0093] In the current regulation module provided in the embodiment of the present application, since the voltage output end of the third voltage regulation unit 301 is connected to the voltage input end of the fourth voltage regulation unit 302, the output end D of the current regulation module 200 is connected to the third voltage regulation unit 301 and the fourth voltage regulation unit 302 via the control end B of the PMIC module 300. The power supply mode of the third voltage regulation unit 301 and the fourth voltage regulation unit 302 at the front and rear stages can be adjusted through the current regulation module 200.
[0094] In this way, when the current adjustment module 200 detects that the SoC100 sends a third adjustment command for increasing the current parameter to the fourth voltage regulation unit 302 of the rear stage of the PMIC module 300 via the first control line 110, the first adjustment command for increasing the current parameter can be output to the third voltage regulation unit 301 of the front stage of the PMIC module 300 via the second control line 120, so as to match the power modes of the front and rear power supplies and avoid the risk of overcurrent caused by mismatch of the power modes of the front and rear power supplies.
[0095] For example, the first voltage regulator unit 311 and the second voltage regulator unit 321 can serve as sub-power supplies to provide power to a load. The first voltage regulator unit 311 may include a buck converter (BUCK), and the second voltage regulator unit 321 may include a low dropout regulator (LDO). Alternatively, the third voltage regulator unit 301 may include a BUCK, and the fourth voltage regulator unit 302 may include an LDO. Because the BUCK's voltage output is connected to the LDO's voltage input, the BUCK can serve as a front-end power supply unit and the LDO as a back-end power supply unit, with the BUCK supplying power to the LDO. Upon detecting that the SoC 100 sends a third adjustment command to increase the current parameter to the LDO via the first control line 110, the current regulation module 200 outputs a first adjustment command to increase the current parameter to the front-end BUCK via the second control line 120. This ensures that the power modes of the front-end and back-end BUCKs and LDOs match, thereby preventing overcurrent risks caused by mismatched power modes between the front-end and back-end power supplies.
[0096] In this way, the current adjustment module 200 can simultaneously manage the power modes of the front and rear power supplies in the PMIC module, effectively avoiding the over-current protection (OCP) problem caused by the mismatch of the power modes of the front and rear power supplies.
[0097] For example, in an actual complex circuit, the downstream load of the BUCK in the PMIC module may be an LDO. This two-stage power supply has the following two risks: when the power mode of the downstream LDO is enhanced (for example, switching from MODE1 to MODE2), if the upstream BUCK fails to enhance its power mode in time, the power mode of the BUCK and the load current may not match due to the increased load of the LDO, thereby causing an overcurrent problem. When an overcurrent problem occurs in the downstream LDO, the current rises sharply. If the upstream BUCK does not enhance its power mode in time or temporarily shut down its output, the upstream BUCK will also trigger the OCP action. The current adjustment module 200 provided in the embodiment of the present application can monitor the power mode changes of the upstream BUCK and the downstream LDO in real time. When it is detected that the power mode of the downstream LDO is enhanced, the power mode of the upstream BUCK is quickly adjusted without relying on the complex arbitration process within the SoC. This fast response mode optimization measure can effectively avoid the occurrence of overcurrent protection problems.
[0098] In this way, the current adjustment module 200 ensures timely coordination of the mode adjustment between the front and rear power supplies by collaboratively managing the power supply modes of the front and rear power supplies, thereby greatly reducing the overcurrent problem caused by untimely adjustment. It not only improves the reliability and stability of the system, but also reduces the development of dependence on complex arbitration mechanisms, making the system response faster and more efficient. Through this collaborative management strategy, the energy efficiency and safety of the overall system are improved.
[0099] Figure 11 Schematic diagram of an electronic device provided for some embodiments of the present application.
[0100] like Figure 11 As shown, an embodiment of the present application further provides an electronic device 1100 , including a current regulating module 10 .
[0101] It should be noted that the electronic device 10 provided in the embodiment of the present application includes the current regulation module provided in any of the above embodiments. The specific structure of the current regulation module can be referred to the above description. To avoid repetition, it will not be repeated here.
[0102] In the embodiments of the present application, the electronic device may be a terminal or other device other than a terminal. For example, the electronic device may be a smartwatch, a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It may also be a server, a network attached storage (NAS), a personal computer (PC), etc., and the embodiments of the present application do not specifically limit the above.
[0103] Based on a concept similar to that of the current regulating module provided in any of the above embodiments, an embodiment of the present application further provides a current regulating method, which is applied to the current regulating module provided in any of the above embodiments.
[0104] Figure 12 Flowchart of the current adjustment method provided in some embodiments of the present application. Figure 12 As shown, the current adjustment method provided in the embodiment of the present application is applied to the current regulation module provided in any of the above embodiments. The current adjustment method may include: Step 1210: The current adjustment module outputs a first adjustment command to the PMIC module via the second control line; Step 1220: The PMIC module adjusts the current parameter of the PMIC module based on the first adjustment command; The current parameter includes at least one of an output current provided by the PMIC module to the load and an overcurrent protection threshold of the PMIC module.
[0105] In step 1210 , the first adjustment command includes at least one of a first output current and a first over-current protection threshold.
[0106] In step 1220, when the first adjustment command includes the first output current, the PMIC module adjusts the output current provided by the PMIC module to the load to the first output current based on the first adjustment command. The adjusted first output current can meet the actual load requirement of the PMIC module, avoid the occurrence of overcurrent protection problems, and thus avoid the PMIC module from frequently triggering the overcurrent protection function.
[0107] When the first adjustment command includes the first overcurrent protection threshold, the PMIC module adjusts the overcurrent protection threshold of the PMIC module to the first overcurrent protection threshold based on the first adjustment command. The adjusted first overcurrent protection threshold changes the triggering condition for triggering the overcurrent protection action, which can effectively prevent the PMIC module from triggering the overcurrent protection function.
[0108] In this way, according to the current adjustment method provided in the embodiment of the present application, the current adjustment module outputs a first adjustment command to the PMIC module via the second control line, and the PMIC module adjusts the current parameters of the PMIC module based on the first adjustment command. After SoC100 outputs an adjustment command for setting the current parameters of the PMIC module 300, the current adjustment module can further set the adjustment command output by the SoC. In this way, the current parameters of the PMIC module can be adjusted in time through the current adjustment module, thereby avoiding the PMIC module from frequently triggering the overcurrent protection function, thereby improving the stability of the PMIC module.
[0109] In one embodiment of the present application, before the current adjustment module outputs the first adjustment command to the PMIC module via the second control line in step 1210, the current adjustment method provided in this embodiment of the present application may further include: the SoC sending a second adjustment command to the PMIC module via the first control line, the second adjustment command including a second output current and a second overcurrent protection threshold; wherein the first adjustment command includes the first output current and the first overcurrent protection threshold, the first output current being used to replace the second output current, and the first overcurrent protection threshold being used to replace the second overcurrent protection threshold. In this embodiment, step 1210 is performed after the SoC has already sent the second adjustment command to the PMIC module via the first control line. In this case, the current adjustment module can use the first output current and the first overcurrent protection threshold included in the first adjustment command to replace the second output current and the second overcurrent protection threshold included in the second adjustment command, thereby achieving the current adjustment effect on the PMIC module.
[0110] In one embodiment of the present application, before the current adjustment module outputs the first adjustment command to the PMIC module via the second control line in step 1210, the current adjustment method provided in this embodiment of the present application may further include: the current adjustment module obtaining target information from the SoC, the target information including the minimum output current for safe operation of the PMIC module; the current adjustment module determining a first current and a first overcurrent protection threshold based on the target information; and the current adjustment module obtaining the first adjustment command based on the first current and the first overcurrent protection threshold. In this embodiment, step 1210 is performed after the current adjustment module has obtained the target information from the SoC. In this case, the current adjustment module can use the minimum output current for safe operation of the PMIC module, as included in the target information, to determine the first output current and the first overcurrent protection threshold included in the first adjustment command, thereby achieving the current adjustment effect on the PMIC module.
[0111] In one embodiment of the present application, before the current adjustment module outputs the first adjustment command to the PMIC module via the second control line in step 1210, the current adjustment method provided in this embodiment of the present application may further include: the current adjustment module receiving feedback information from the PMIC module; the feedback information including overcurrent protection warning information fed back by the PMIC module to the SoC; the current adjustment module determining a first current and a first overcurrent protection threshold based on the feedback information; and the current adjustment module obtaining the first adjustment command based on the first current and the first overcurrent protection threshold. In this embodiment, step 1210 is performed after the current adjustment module has already received the feedback information from the PMIC module. In this case, the current adjustment module can use the overcurrent protection warning information included in the feedback information to determine the first output current and the first overcurrent protection threshold included in the first adjustment command, thereby achieving the current adjustment effect on the PMIC module.
[0112] In an embodiment of the present application, when the PMIC module includes a first voltage regulating unit and a second voltage regulating unit and the voltage output terminal of the first voltage regulating unit is connected to the voltage input terminal of the second voltage regulating unit, the above step 1210 that the current adjustment module outputs a first adjustment command to the PMIC module via the second control line may include: when the current adjustment module detects a third adjustment command sent by the SoC to the second voltage regulating unit via the first control line and the third adjustment command is used to increase the current parameter of the second voltage regulating unit, the current adjustment module outputs a first adjustment command to the first voltage regulating unit of the PMIC module via the second control line; wherein, the first adjustment command is used to increase the current parameter of the first voltage regulating unit. In this embodiment, the current adjustment module coordinates and manages the current parameters of the front and rear stages of power supplies, ensuring timely coordination of the current parameter adjustment between the front and rear stages of power supplies, thereby significantly reducing the overcurrent problem caused by untimely adjustment. This not only improves the reliability and stability of the system, but also reduces the dependence on complex arbitration mechanisms during development, making the system response faster and more efficient. Through this collaborative management strategy, the energy efficiency and security of the overall system are both improved.
[0113] Figure 13A The flowchart of the current adjustment method provided by some embodiments of the present application. As Figure 13A shown, the current adjustment method provided by the embodiments of the present application is applied to the current adjustment module provided by the above Figure 7A and Figure 7B shown embodiments. The current adjustment method may include the following steps: At the startup stage, the SoC integrates the power mode requirements of each load in the current scenario; The internal power supply controller of the SoC outputs various power modes; wherein, the power supply controller can be configured as various power modes according to the power mode requirements of each load connected to the PMIC module in the current scenario, such as the first power mode MODE1, the second power mode MODE2, the third power mode MODE3, etc. The strength levels of various power modes can be sorted according to the output current sizes corresponding to the power modes: MODE1 < MODE2 < MODE3. The output current included in the first power mode MODE1 is less than the output current included in the second power mode MODE1 and less than the output current included in the third power mode MODE1. The power supply controller configures the safe power mode MODE0 of the PMIC module and transmits it to the current adjustment module through the communication interface; the safe power mode MODE0 includes the minimum output current for the safe operation of the PMIC module. In practical applications, the MODE0 corresponding to the system sleep state (SLEEP) and the active state (ACTIVE) is different, and the SoC can update the safe power mode MODE0 of the PMIC module when the system state switches; The internal PMIC arbiter of the SoC integrates the configuration information of the power modes; The PMIC arbiter comprehensively determines the appropriate power mode configuration information and outputs an SPMI signal via the SPMI bus. The PMIC arbiter can output a second adjustment command including the power mode configuration information via a power control bus such as the SPMI bus or the ADI bus. After receiving the SPMI signal, the PMIC module performs mode configuration. After obtaining the power mode configuration information through the SPMI bus, the PMIC module can perform power mode configuration according to the mode configuration information. The power mode configuration includes adjusting the output current of the PMIC module and setting the overcurrent protection threshold of the PMIC module. The overcurrent protection threshold is the current threshold that triggers OCP. The PMIC module adjusts the load capacity and is configured to correspond to the output current in power mode; The load is working normally; Determine whether the operating current exceeds the OCP threshold. The PMIC module performs overcurrent detection internally. If the load operating current does not exceed the OCP threshold, the load operates normally. If the load operating current exceeds or equals the OCP threshold, the PMIC module triggers OCP. Upon receiving the abnormal information, the PMIC notifies the SoC, and the system shuts down or restarts. Among them, Figure 13A As shown, the current adjustment steps related to the current adjustment module include: after the PMIC module receives the SPMI signal and performs mode configuration, the current adjustment module (such as a custom IC) monitors the SPMI information; wherein the custom IC monitors the power bus information between the SoC and the PMIC module through the parsing unit; The custom IC interprets the power mode. The custom IC parses the power bus information between the SoC and the PMIC module to obtain the current power mode. The custom IC determines whether the current power mode matches the settings. The custom IC compares the power mode with the safety power mode MODE0 through the control unit. If the output current corresponding to the current power mode is greater than the minimum output current of the safety power mode MODE0, the current power mode is risk-free and the electronic device is operating normally, with no need for additional protective measures. If the output current corresponding to the current power mode is less than the minimum output current of the safety power mode MODE0, the current power mode is weak and the output current capability of the current power mode may not meet the load requirements, posing an overcurrent (OC) risk. When the custom IC determines that the current power mode matches the setting, the custom IC does not modify the current power mode; When the custom IC determines that the current power mode does not match the setting, the custom IC modifies the current power mode and outputs it through the SPMI bus; the control unit of the custom IC can modify the relevant power mode register and send a power mode adjustment instruction to the PMIC module through the power control bus. The PMIC module implements the power mode modification under the control of the power control bus.
[0114] In this way, an independent custom IC is added to the direct connection architecture between SoC and PMIC to adjust the power mode of the PMIC module, realize localized intelligent decision-making and execution of power strategy, reduce the computing load of SoC and improve real-time performance, and break the limitation that only SoC can control the PMIC module.
[0115] In addition, while the custom IC is modifying the current power mode, it can also feed back the power mode information to the SoC in real time. When an error occurs in the power mode configuration, the SoC is notified immediately to modify the power mode, ensuring a smooth transition of the system under various operating conditions. It can also respond and adjust in a timely manner to avoid potential damage caused by excessive current, thus achieving more advanced power management and load control.
[0116] In addition, if the current power mode is much stronger than the load's required mode, such as the required mode is MODE1 but the actual configuration is MODE3, the custom IC can also reduce the power mode to MODE1 or MODE2, ensuring system safety while reducing power consumption.
[0117] Furthermore, in practical applications, the embodiments of the present application can also be used for other customized mode controls. For example, for extreme performance scenarios such as gaming and high frame rates, the PMIC's power mode can be forced to high output current mode within a specific time period through a customized IC. For example, if the current power mode set by the SoC is MODE1, the customized IC can be forced to change it to MODE2. Both MODE1 and MODE2 are greater than the safe mode, so OCP will not occur. However, if MODE2 is greater than MODE1, the power output capacity will be improved, which will help improve performance. The implementation method is simple, responsive, and flexible, and can bypass the SoC to achieve flexible control of the PMIC's power mode.
[0118] In this way, the embodiment of the present application can customize the power mode of the IC adaptive PMIC module according to the operating scenario of the electronic device, such as high-performance mode, standby mode, etc., and can generate differentiated PMIC power mode switching rules according to the actual requirements of the efficiency, noise or response speed of the PMIC module. For example, when a sudden heavy load is added, the buck converter (BUCK) in the PMIC module is forced to adjust to the pulse width modulation (PWM) mode, and at the same time, the output current of the LDO in the PMIC module is increased.
[0119] In addition, the embodiments of the present application can define the timing phase rules for power mode switching of the front and rear power supplies of the PMIC. For example, the Buck enters the strong power mode before the LDO, avoiding power surges on the multi-rail power supply and conflicts with the power mode, thereby improving system stability.
[0120] Figure 13B This is a flow chart of a current adjustment method provided in some embodiments of the present application. Figure 13B As shown, the current adjustment method provided in the embodiment of the present application is applied to the above Figure 7A and Figure 7C The current regulating module provided by the embodiment shown in the figure is: Figure 13B The current adjustment method shown is the same as Figure 13A The difference between the current adjustment methods shown is that the custom IC monitors different data sources. The custom IC reads the warning information fed back to the SoC by the PMIC module, analyzes the feedback information from the PMIC module, and then decides whether to modify the power mode.
[0121] like Figure 13B As shown, the current adjustment method provided in the embodiment of the present application includes: During the power-on phase, the SoC integrates the power mode requirements of each load in the current scenario; The SoC internal power controller outputs various power modes; The PMIC arbiter inside the SoC integrates the configuration information of the power mode; The PMIC arbiter determines the appropriate power mode configuration information through comprehensive judgment and outputs the SPMI signal through the SPMI bus; The PMIC module performs mode configuration after receiving the SPMI signal; The PMIC module adjusts the load capacity and is configured to correspond to the output current in power mode; The load is working normally; Determine whether the operating current suddenly increases and exceeds the warning threshold. The PMIC module performs overcurrent detection internally. If the load operating current does not exceed the warning threshold, the load operates normally. If the load operating current exceeds or equals the warning threshold, the PMIC module feeds back a warning message to the SoC, indicating that overcurrent protection action is imminent. Determine whether the operating current exceeds the OCP threshold; wherein, the PMIC module performs overcurrent detection internally; if the load operating current does not exceed the OCP threshold, the load operates normally; if the load operating current exceeds or equals the OCP threshold, the PMIC module triggers OCP, and after receiving the abnormal information, the PMIC module notifies the SoC, and the system shuts down or restarts; wherein, the system described in this application refers to the power system of the electronic device including the current regulation module; Among them, Figure 13BAs shown, the current adjustment steps related to the current adjustment module include: When the load operating current exceeds the warning threshold, the customized IC monitors the warning information fed back by the PMIC module and records the number of warnings; Customize the IC to match a suitable power mode according to the load current; The custom IC modifies the current power mode and outputs it through the SPMI bus.
[0122] For example, when the PMIC module's load operating current rapidly increases and approaches the overcurrent protection threshold, if the current exceeds a certain pre-set warning threshold, the PMIC module sends a warning message to the SoC via the power control bus, indicating that the overcurrent protection (OCP) state may be entered. In this case, after the custom IC detects the warning message, it switches the current power mode to a stronger one, such as from MODE1 to MODE2, and reconfigures the PMIC module's power mode via the power control bus to increase its output current capability. Furthermore, when the load operating current returns to a lower level, the custom IC can restore the PMIC module's power mode to its original mode, for example, switching from MODE2 back to MODE1.
[0123] In this way, by customizing the IC to intervene in the mode modification process before the overcurrent protection action occurs, the power mode of the PMIC module can be quickly modified without going through the complex arbitration process of the SoC. At the same time, the excessive load current warning event is recorded, providing an effective basis for optimizing the power mode on the system side. This is beneficial to reducing the occurrence of overcurrent protection problems and improving system stability.
[0124] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0125] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A current regulating module, characterized in that: include: System-on-chip (SoC), current regulation module, and power management integrated circuit (PMIC) module; The first control end of the SoC is connected to the control end of the PMIC module via a first control line, and the output end of the current adjustment module is connected to the control end of the PMIC module via a second control line.
2. The current regulating module according to claim 1, characterized in that: The second control end of the SoC is connected to the control end of the current adjustment module via a third control line; wherein the second control end is different from the first control end.
3. The current regulating module according to claim 1 or 2, characterized in that: The first control terminal of the SoC is connected to the input terminal of the current adjustment module via a fourth control line.
4. The current regulating module according to claim 3, characterized in that: The current adjustment module includes a control unit, which is connected to the second control end of the SoC via the control end of the current adjustment module, and is connected to the control end of the PMIC module via the output end of the current adjustment module and the second control line.
5. The current regulating module according to claim 4, characterized in that: The current adjustment module further includes a parsing unit, one end of the parsing unit is connected to the input end of the current adjustment module, and the other end of the parsing unit is connected to the control unit; The control unit is connected to the first control terminal of the SoC via the analyzing unit, the input terminal of the current adjustment module, and the fourth control line.
6. The current regulating module according to claim 4, characterized in that: The current adjustment module further includes an output unit, one end of the output unit is connected to the output end of the current adjustment module, and the other end of the output unit is connected to the control unit; The control unit is connected to the control end of the PMIC module via the output unit, the output end of the current adjustment module, and the second control line.
7. The current regulating module according to claim 4, characterized in that: The current adjustment module further includes a storage unit connected to the control unit.
8. The current regulating module according to claim 1, wherein: The PMIC module includes a first PMIC module and a second PMIC module, the first PMIC module includes a first voltage regulating unit, the second PMIC module includes a second voltage regulating unit, and a voltage output end of the first voltage regulating unit is connected to a voltage input end of the second voltage regulating unit; The output end of the current adjustment module is connected to the first voltage regulation unit via the control end of the first PMIC module, and the output end of the current adjustment module is connected to the second voltage regulation unit via the control end of the second PMIC module.
9. The current regulating module according to claim 1, wherein: The PMIC module includes a third voltage regulating unit and a fourth voltage regulating unit, wherein the voltage output end of the third voltage regulating unit is connected to the voltage input end of the fourth voltage regulating unit; The output end of the current adjustment module is connected to the third voltage regulation unit via the control end of the PMIC module; the output end of the current adjustment module is connected to the fourth voltage regulation unit via the control end of the PMIC module.
10. An electronic device, characterized in that: It comprises the current regulating module as described in any one of claims 1-9.
11. A current adjustment method, characterized in that: Applied to the current regulating module according to any one of claims 1 to 9, the method comprises: The current adjustment module outputs a first adjustment command to the PMIC module via the second control line; The PMIC module adjusts a current parameter of the PMIC module based on the first adjustment command; the current parameter includes at least one of an output current provided by the PMIC module to the load and an overcurrent protection threshold of the PMIC module.
12. The method according to claim 11, characterized in that Before the current adjustment module outputs the first adjustment command to the PMIC module via the second control line, the method further includes: The SoC sends a second adjustment command to the PMIC module via a first control line, where the second adjustment command includes a second output current and a second overcurrent protection threshold; The first adjustment command includes a first output current and a first overcurrent protection threshold, the first output current is used to replace the second output current, and the first overcurrent protection threshold is used to replace the second overcurrent protection threshold.
13. The method according to claim 11 or 12, characterized in that Before the current adjustment module outputs the first adjustment command to the PMIC module via the second control line, the method further includes: The current adjustment module obtains target information from the SoC, where the target information includes the minimum output current of the PMIC module for safe operation; The current adjustment module determines a first current and a first overcurrent protection threshold based on the target information; The current adjustment module obtains a first adjustment command based on the first current and the first overcurrent protection threshold.
14. The method according to claim 11 or 12, characterized in that Before the current adjustment module outputs the first adjustment command to the PMIC module via the second control line, the method further includes: The current adjustment module receives feedback information from the PMIC module; the feedback information includes overcurrent protection warning information fed back by the PMIC module to the SoC; The current adjustment module determines a first current and a first overcurrent protection threshold based on the feedback information; The current adjustment module obtains a first adjustment command based on the first current and the first overcurrent protection threshold.
15. The method according to claim 11, characterized in that In a case where the PMIC module includes a first voltage regulating unit and a second voltage regulating unit and a voltage output terminal of the first voltage regulating unit is connected to a voltage input terminal of the second voltage regulating unit, the current regulating module outputting a first regulating command to the PMIC module via a second control line includes: When the current adjustment module detects that the SoC sends a third adjustment command to the second voltage regulation unit via the first control line, and the third adjustment command is used to increase the current parameter of the second voltage regulation unit, the current adjustment module outputs a first adjustment command to the first voltage regulation unit of the PMIC module via the second control line; The first adjustment command is used to increase the current parameter of the first voltage regulation unit.