WO2023024788A1 - Power management circuit and control method therefor, and power management system - Google Patents

Power management circuit and control method therefor, and power management system Download PDF

Info

Publication number
WO2023024788A1
WO2023024788A1 PCT/CN2022/107681 CN2022107681W WO2023024788A1 WO 2023024788 A1 WO2023024788 A1 WO 2023024788A1 CN 2022107681 W CN2022107681 W CN 2022107681W WO 2023024788 A1 WO2023024788 A1 WO 2023024788A1
Authority
WO
WIPO (PCT)
Prior art keywords
power management
power
pin
management circuit
control pin
Prior art date
Application number
PCT/CN2022/107681
Other languages
French (fr)
Chinese (zh)
Inventor
周洁
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023024788A1 publication Critical patent/WO2023024788A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the technical field of power management, in particular to a power management circuit and its control method and system.
  • the baseband chip (Baseband IC, BBIC) refers to the chip used to synthesize the baseband signal to be transmitted, or to decode the received baseband signal, which mainly completes the information processing function of the terminal equipment.
  • BBIC generally uses a dedicated Baseband Power Management IC (BB_PMIC) to power and control it.
  • BB_PMIC Baseband Power Management IC
  • the control pins of the BB_PMIC will at least include three independent power key signal pins (PON), enable signal pins (EN), and reset signal pins (RESETIN).
  • PON power key signal pins
  • EN enable signal pins
  • RETIN reset signal pins
  • control pins, and their control logic varies.
  • the chip area of BB_PMIC is relatively large, and the manufacturing cost is relatively high; moreover, these control signals are key signals of the system, and are easy to be manipulated on the circuit board. Other signal interference directly affects the system stability.
  • the embodiment of the present application provides a power management circuit, the power management circuit includes a first power management chip and a first resistor, the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, A state machine module, a first control pin and a first power supply pin; wherein,
  • the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, the first power supply pin is connected to the state machine module, and the first control pin is respectively connected to the The state machine module is connected with the analog-to-digital conversion module;
  • the first resistor is connected in series between the first control pin and the ground.
  • the embodiment of the present application provides a power control method, which is applied to a power management circuit, and the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; the method includes:
  • the signal voltage is compared with the preset interval through the state machine module, and the application to the independent power management circuit or combined power management circuit is determined according to the comparison result;
  • the power-on function or reset function of the first power management chip is triggered through the first control pin;
  • the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
  • the embodiment of the present application provides a power management system, the power management system at least includes the power management circuit and the baseband chip as described in the first aspect; power-up or reset control.
  • FIG. 1 is a schematic diagram of the internal composition structure of a BB_PMIC
  • Fig. 2 provides a schematic diagram of the composition structure of a BBIC independent system
  • Fig. 3 provides a schematic diagram of the composition structure of a BBIC combined system
  • FIG. 4 is a schematic diagram of the composition and structure of a power management circuit provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of the composition and structure of another power management circuit provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of the composition and structure of an independent power management circuit provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the composition and structure of a combined power management circuit provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a power control method provided in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the composition and structure of a power management system provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the composition and structure of an independent power management system provided by the embodiment of the present application.
  • FIG. 11 is a schematic diagram of the composition and structure of a combined power management system provided by an embodiment of the present application.
  • FIG. 12 is a schematic flowchart of a detailed power control method provided by an embodiment of the present application.
  • the embodiment of the present application provides a power management circuit, the power management circuit includes a first power management chip and a first resistor, the first power management chip includes a second resistor, a first switch, a modulus A conversion module, a state machine module, a first control pin and a first power supply pin; wherein,
  • the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, and the first power supply pin is also Connected to the state machine module, the first control pin is also connected to the state machine module and the analog-to-digital conversion module respectively;
  • the first resistor is connected in series between the first control pin and ground.
  • the analog-to-digital conversion module is configured to read the signal voltage at the first control pin after closing the first switch
  • the state machine module is configured to trigger the power-on function or reset function of the first power management chip through the first control pin when the signal voltage satisfies a first preset interval; or, in the When the signal voltage satisfies the second preset interval, the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
  • the state machine module includes a register unit; wherein,
  • the register unit is configured to store the signal voltage read by the analog-to-digital conversion module, and disconnect the first switch after the storage is completed;
  • the state machine module is specifically configured to read the signal voltage from the register unit, and compare the signal voltage with a preset interval; wherein, when the signal voltage satisfies the first preset interval , triggering the power-on function or reset function of the first power management chip through the first control pin; or, when the signal voltage satisfies the second preset range, through the external control module and the second A control pin triggers a power-on function or a reset function of the first power management chip.
  • the first resistor is used to make the signal voltage read by the analog-to-digital conversion module satisfy the first preset interval when the resistance value is a first value; Or, when the resistance value is the second value, the signal voltage read by the analog-to-digital conversion module satisfies the second preset interval.
  • the first power management chip further includes a first conversion circuit and a second power supply pin, and the second power supply pin is connected to an external power supply; wherein,
  • the second power supply pin is used to provide an input voltage for the first power management chip
  • the first conversion circuit is configured to perform voltage conversion on the input voltage to generate a supply voltage
  • the first power supply pin is specifically used to receive the power supply voltage, and supply power to the state machine module according to the power supply voltage, so as to realize the initialization of the state machine module and the analog-to-digital conversion module.
  • the first conversion circuit is a low dropout linear regulator LDO circuit.
  • the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; wherein,
  • the state machine module is further configured to determine to apply to the independent power management circuit if the signal voltage satisfies the first preset interval; or, if the signal voltage satisfies the second preset interval, Then it is determined to be applied to the combined power management circuit;
  • the independent power management circuit is composed of the power management circuit alone, and the combined power management circuit is composed of the power management circuit and an external control module.
  • the independent power management circuit includes the first power management chip and the first resistor; wherein,
  • the state machine module is specifically configured to configure the function of the first control pin as a power button function, so that after the first switch is turned off, when the signal level state at the first control pin is When a change occurs, the power-on function or reset function of the first power management chip is triggered.
  • the independent power management circuit further includes a power key, one end of the power key is connected to the first control pin, and the other end of the power key is grounded; wherein,
  • the power button is used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the first operation instruction, and the second power level After the flat state lasts for a first preset time, a power-on operation of the first power management chip is triggered to realize the power-on function.
  • the power key is also used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the second operation instruction. level state, and after the second level state lasts for a second preset time, trigger a power-off and restart operation of the first power management chip, so as to realize the reset function.
  • the first preset time is shorter than the second preset time.
  • the combined power management circuit includes the first power management chip, the first resistor, and the external control module, and the external control module includes a second power management chip and an application processor, so
  • the second power management chip includes a second control pin and a general-purpose input and output pin, and the general-purpose input and output pin is connected to the first control pin;
  • the state machine module is specifically configured to configure the function of the first control pin to enable a reset function, so that after the first switch is turned off, when the signal level at the first control pin is When the state changes, the power-on function or reset function of the first power management chip is triggered.
  • the combined power management circuit further includes a power key, one end of the power key is connected to the second control pin, and the other end of the power key is grounded; wherein,
  • the power key is used to control the second power management chip to start powering on when receiving the third operation instruction
  • the second power management chip is configured to control the signal level at the first control pin to be adjusted from the second level state to the first level through the general-purpose input and output pin after the power-on state, triggering a power-on operation of the first power management chip, so as to realize the power-on function.
  • the application processor is configured to send a reset command to the second power management chip
  • the second power management chip is further configured to control the signal level at the first control pin to be adjusted from the first level state to the The second level state triggers the power-off operation of the first power management chip; and after the third preset time, controls the signal level at the first control pin again through the general-purpose input and output pin Adjusting from the second level state to the first level state triggers a power-on operation of the first power management chip to realize the reset function.
  • the first level state is high level
  • the second level state is low level
  • the embodiment of the present application provides a power control method, which is applied to a power management circuit, and the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; the method includes:
  • the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
  • the method further includes:
  • the determining to apply to the independent power management circuit or the combined power management circuit according to the comparison result includes:
  • the signal voltage satisfies the second preset interval, it is determined to be applied to the combined power management circuit.
  • the method also includes:
  • the resistance value of the first resistor is the first value, it is determined that the signal voltage satisfies the first preset interval; or,
  • the method before closing the first switch, the method further includes:
  • the triggering the power-on function or reset function of the first power management chip through the first control pin includes:
  • the signal level at the first control pin is controlled to be adjusted from the first level state to the second level state, and the second level state lasts for the first preset After a period of time, trigger the power-on operation of the first power management chip to realize the power-on function; or,
  • the first preset time is shorter than the second preset time.
  • the triggering the power-on function or reset function of the first power management chip through the external control module and the first control pin includes:
  • the signal level at the first control pin is controlled to be adjusted from the second level state to the first level state, triggering the second power management chip.
  • a power-on operation of a power management chip to realize the power-on function or,
  • the second power management chip After the second power management chip receives the reset command sent by the application processor, control the signal level at the first control pin to be adjusted from the first level state to the second level state, triggering the power-off operation of the first power management chip; and controlling the signal level at the first control pin to be adjusted from the second level state to the first power level state again after a third preset time In the flat state, trigger the power-on operation of the first power management chip to realize the reset function.
  • the embodiment of the present application provides a power management system, the power management system at least includes the power management circuit and the baseband chip according to any one of the first aspect; wherein, the power management circuit is the The baseband chip is powered on or reset controlled.
  • references to “some embodiments” describe a subset of all possible embodiments, but it is understood that “some embodiments” may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.
  • first ⁇ second ⁇ third involved in the embodiment of the present application is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, “first ⁇ second ⁇ The specific order or sequence of "third” can be interchanged where allowed, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein.
  • BBIC baseband chip
  • AP Application Processor
  • CPE Customer Premise Equipment
  • BBIC generally uses a dedicated baseband power management IC (BB_PMIC) to power and control it.
  • BB_PMIC baseband power management IC
  • the control logic of BB_PMIC's power-on and reset is completely different.
  • the current control pins of the BB_PMIC include three independent pins, PON, EN, and RESETIN, and their control logics are also different.
  • the BB_PMIC includes a first conversion circuit, a state machine module, a second conversion circuit and a first pin (Vsys), a second pin (VPMIC), a third pin (PON), a fourth pin (EN) and the fifth pin (RESETIN).
  • the first pin (Vsys) is connected to an external power supply (indicated by Vsys power supply)
  • the second pin (VPMIC) is connected to an external capacitor (indicated by C1).
  • Vsys power supply The input power of BB_PMIC is generally powered by the battery in the terminal device.
  • the first transformation circuit performs voltage transformation on the input voltage Vsys, and outputs a VPMIC voltage.
  • the first conversion circuit may be a low dropout regulator (Low Dropout Regulator, LDO) circuit.
  • the second conversion circuit performs voltage conversion on the input voltage Vsys, converts it into a voltage available to the BBIC and outputs it.
  • the second conversion circuit may be a DC conversion (Direct Current-Direct Current, DC-DC) circuit.
  • VPMIC voltage It is obtained by transforming the input voltage Vsys through the LDO circuit, and supplies power to the digital circuit inside the PMIC.
  • a capacitor C1 is externally connected to the second pin (VPMIC), which can function as a filter.
  • State machine module realize the control logic of PMIC, and control the power-on/power-off sequence of the DC-DC circuit.
  • PON Power key signal, default high level. After the level is pulled low for a period of time (eg T1), the state machine module triggers the power-on sequence to control the power-on of the DC-DC circuit, and BB_PMIC starts the power-on process.
  • EN Enable signal, low level when power off.
  • the state machine module immediately triggers the power-on sequence, controls the power-on of the DC-DC circuit, and BB_PMIC starts the power-on process.
  • RESETIN reset signal, when BB_PMIC is working normally, keep high level.
  • the state machine module triggers the power-off sequence to control the power-off of the DC-DC circuit, and the BBIC is powered-off and reset.
  • BBIC constitutes a separate system
  • the system block diagram may include a first power management chip (BB_PMIC), a baseband chip (BBIC), a power button and a reset button.
  • BB_PMIC first power management chip
  • BBIC baseband chip
  • the power key is connected to the PON pin of BB_PMIC, the reset key is connected to the RESETIN pin, and the EN pin is suspended.
  • the power button After the user presses the power button for a period of time (such as T1), the BB_PMIC power-on sequence is triggered to supply power to the BBIC.
  • the user can force reset the BB_PMIC by pressing the reset button, trigger the power-off sequence of the BB_PMIC, and then power off the BBIC , to complete the reset and restart of the BBIC.
  • the BBIC When applied to a combination scenario, the BBIC is used in conjunction with the AP at this time, for example, it is applied to a terminal device, that is, a corresponding block diagram of the BBIC combination system is shown in FIG. 3 .
  • the system block diagram may include a first power management chip (BB_PMIC), a baseband chip (BBIC), an application processor (AP), a second power management chip (Main_PMIC) and a power key.
  • BB_PMIC first power management chip
  • BBIC baseband chip
  • AP application processor
  • Mainn_PMIC second power management chip
  • the AP is the application processor of the terminal device
  • Main_PMIC is the main power management chip of the terminal device, which is responsible for powering on and off of the terminal device and supplying power to the AP.
  • the power button is hung on Main_PMIC, and BB_PMIC needs to be powered on by Main_PMIC.
  • Main_PMIC also includes two general-purpose input/output (General-Purpose Input/Output, GPIO) pins: GPIO_01 pin and GPIO_02 pin; among them, the GPIO_01 pin is connected to the RESETIN pin of BB_PMIC to control the reset of BB_PMIC; GPIO_02 The pin is connected to the EN pin of BB_PMIC to control the power-on enable of BB_PMIC.
  • the PON pin of BB_PMIC is left floating and not used.
  • Main_PMIC triggers the boot process, outputs power to supply power to the AP, and pulls up the EN pin of BB_PMIC by pulling up the level of the GPIO_02 pin.
  • BB_PMIC The power-on sequence is triggered immediately, and the BBIC is powered on and started.
  • the AP When the AP detects that the BBIC software is running dead, or the BBIC cannot be restarted through the software, the AP will notify the Main_PMIC, specifically by pulling down the level of the GPIO_01 pin, and then pull down the RESETIN pin of the BB_PMIC. At this time, the BB_PMIC is reset. , trigger the BB_PMIC power-off sequence, and BBIC power-off and restart.
  • BB_PMIC separately sets three control pins of different control logics (specifically including: PON pin, EN pin and RESETIN pin), so as to achieve the purpose of application in different scenarios. If the functions of these control pins can be combined into one pin, then the number of chip pins can be reduced, thereby reducing the chip area, and the chip area directly determines the manufacturing cost of the chip, so if the chip can be reduced The number of feet can reduce the cost.
  • these control signals are key signals of the system. If these control signals are interfered by other signals on the circuit board, it will directly affect the stability of the system. The greater the number of signals, the greater the possibility of interference; therefore, if you can Combining pins to reduce the number of key signals on the board can also reduce the risk of interference and enhance system stability.
  • an embodiment of the present application provides a power management circuit
  • the power management circuit includes a first power management chip and a first resistor
  • the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, the first control pin and the first power pin; wherein, inside the first power management chip, the first switch and the second resistor are connected in series between the first power pin and the first control pin, and the second A power supply pin is connected to the state machine module, and the first control pin is respectively connected to the state machine module and the analog-to-digital conversion module; outside the first power management chip, the first resistor is connected in series between the first control pin and the ground .
  • FIG. 4 shows a schematic structural diagram of a power management circuit provided in an embodiment of the present application.
  • the power management circuit 40 may include a first power management chip 41 and a first resistor R1, and the first power management chip 41 may include a state machine module 411, a second resistor R2, a first switch S1, a module A digital conversion module (Analog-to-Digital Converter, ADC) 412, a first control pin and a first power supply pin;
  • ADC Analog-to-Digital Converter
  • the first switch S1 and the second resistor R2 are connected in series between the first power supply pin and the first control pin, and the first power supply pin is also connected to the state machine module 411, the first The control pins are also connected to the state machine module 411 and the analog-to-digital conversion module 412 respectively;
  • the first resistor R1 is connected in series between the first control pin and the ground.
  • the power management circuit 40 of the embodiment of the present application can adapt to different application scenarios according to the resistance value of the first resistor R1.
  • the resistance value of the first resistor R1 mounted here is the first value
  • the signal voltage read by the analog-to-digital conversion module 412 is the first voltage value
  • the resistance value of the first resistor R1 mounted here is The resistance value of the first resistor R1 is the second value, so the signal voltage read by the analog-to-digital conversion module 412 is the second voltage value. That is to say, by attaching the first resistors R1 with different resistance values, and then reading different voltage values through the analog-to-digital conversion module 412 , different application scenarios of the power management circuit 40 can be identified according to these voltage values.
  • the power management circuit 40 of the embodiment of the present application realizes the combination of three pins PON, EN and RESETIN on the first power management chip 41 into one first control pin (indicated by PON). It is mainly by setting different components on the circuit board (such as the first resistor R1, the second resistor R2, the first switch S1 and the analog-to-digital conversion module 412, etc.), so that it can be identified when the state machine module 411 is initialized. According to the application scenario corresponding to the power management circuit 40, the state machine module 411 is used to assign different control logics to the first control pin to realize different control functions, so that multiple control logics can be integrated into one pin (that is, the first pin A control pin) to achieve.
  • the analog-to-digital conversion module 412 is configured to read the signal voltage at the first control pin after closing the first switch S1;
  • the state machine module 411 is used to trigger the power-on function or reset function of the first power management chip 41 through the first control pin when the signal voltage meets the first preset interval; or, when the signal voltage meets the second preset interval , the power-on function or reset function of the first power management chip 41 is triggered through the external control module and the first control pin.
  • the state machine module 411 may include a register unit (not shown in the figure); wherein,
  • a register unit configured to store the signal voltage read by the analog-to-digital conversion module 412, and disconnect the first switch S1 after the storage is completed;
  • the state machine module 411 is specifically used to read the signal voltage from the register unit, and compare the signal voltage with the preset interval; wherein, when the signal voltage satisfies the first preset interval, trigger the first power supply through the first control pin Manage the power-on function or reset function of the chip 41; or, when the signal voltage meets the second preset interval, trigger the power-on function or reset function of the first power management chip 41 through the external control module and the first control pin.
  • the first switch S1 needs to be closed first, and then the signal voltage at the first control pin is read through the analog-to-digital conversion module 412; and then the signal voltage is stored in the state machine module 411 In the register unit, the first switch S1 is then opened.
  • the state machine module 411 can read the signal voltage from the register unit, and compare it with the preset interval (including the first preset interval and/or the second preset interval, etc.); When the interval is set, this time is applied to an independent scene, and the power-on function or reset function of the first power management chip 41 is triggered through the first control pin; or, when the signal voltage meets the second preset interval, this time is applied to the combination
  • the power-on function or reset function of the first power management chip 41 is triggered by the external control module and the first control pin, so as to realize different control functions in different application scenarios.
  • the first power management chip 41 may further include a first conversion circuit 413 and a second power pin; wherein,
  • the second power supply pin is connected to an external power supply, and is used to provide an input voltage for the first power management chip
  • the first conversion circuit 413 is configured to perform voltage conversion on the input voltage to generate a supply voltage
  • the first power supply pin is used to receive a power supply voltage, and supply power to the state machine module 411 according to the power supply voltage, so as to realize the initialization of the state machine module 411 and the analog-to-digital conversion module 412 .
  • the first conversion circuit 413 may be an LDO circuit.
  • the external power supply can be represented by Vsys power supply
  • the first control pin can be represented by PON pin
  • the first power supply pin can be represented by VPMIC pin
  • the second power supply pin can be represented by Represented by the Vsys pin.
  • the second power supply pin is connected to the Vsys power supply.
  • the input voltage provided for the first power management chip 41 can be represented by the Vsys voltage; and the power supply voltage generated by the first conversion circuit 413 can be represented by the VPMIC voltage. express.
  • the voltage of VPMIC is established, at this time, the initialization of the state machine module 411 and the initialization of the analog-to-digital conversion module 412 can be realized.
  • the power management circuit 40 may further include a first capacitor C1; wherein, one end of the first capacitor C1 is connected to the first power supply pin, and the other end of the first capacitor C1 is grounded.
  • the first capacitor C1 mainly functions to filter the VPMIC voltage at the first power supply pin.
  • the first power management chip 41 may further include a second conversion circuit 414; wherein,
  • the state machine module 411 is further configured to generate a control power supply sequence according to the signal level state at the first control pin;
  • the second conversion circuit 414 is configured to perform voltage conversion on the input voltage according to the control power sequence to generate a target voltage.
  • the second converting circuit 414 may be a DC-DC circuit.
  • the first power management chip 41 may be a baseband power management chip (BB_PMIC).
  • BB_PMIC baseband power management chip
  • BBIC baseband chip
  • the first power management chip 41 can supply power and power control for the baseband chip (BBIC), where the target voltage It is the power output provided by BB_PMIC to BBIC.
  • the signal voltage at the first control pin is related to the resistance value of the mounted first resistor R1.
  • the signal voltage can be obtained by dividing the voltage between the first resistor R1 and the second resistor R2.
  • the first resistor R1 is used to make the signal voltage read by the analog-to-digital conversion module 412 satisfy the first preset interval when the resistance value is the first value; or, when the resistance value is In the case of the second value, the signal voltage read by the analog-to-digital conversion module 412 satisfies the second preset interval.
  • the signal voltage read by the analog-to-digital conversion module 412 can be a different voltage value.
  • the state machine module 411 reads the signal voltage from the register unit, and determines whether the signal voltage satisfies the first preset interval or the second preset interval, thereby identifying different application scenarios.
  • the resistance value of the second resistor R2 can be 100K ohms ( ⁇ ), at this time, if the resistance value of the first resistor R1 is 2.2K ⁇ , then it can be determined The signal voltage read by the analog-to-digital conversion module 412 satisfies the first preset interval; if the resistance value of the first resistor R1 can be 4.7K ⁇ , then it can be determined that the signal voltage read by the analog-to-digital conversion module 412 satisfies the second preset interval interval, but without any limitation.
  • the power management circuit 40 can be at least divided into an independent power management circuit and a combined power management circuit.
  • the state machine module 411 it can also be used to determine that the signal voltage is applied to an independent power management circuit if the signal voltage satisfies the first preset interval; or, if the signal voltage satisfies the second preset interval, It is determined to apply to the combination power management circuit.
  • the independent power management circuit if it is applied to an independent scene, it can be an independent power management circuit at this time, which is composed of the power management circuit 40 alone, that is, the independent power management circuit includes the first power management chip 41 and the first resistor R1 ; If it is applied to a combined scene, it can be a combined power management circuit at this time, which is composed of a power management circuit 40 and an external control module, that is, the combined power management circuit includes a first power management chip 41, a first resistor R1 and an external control module.
  • the independent power management circuit 60 may include a first power management chip 41 and a first resistor R1.
  • the first switch S1 and the second resistor R2 are connected in series between the first power pin and the first control pin, and the first power pin is also connected to the state machine module 411,
  • the first control pin is also connected to the state machine module 411 and the analog-to-digital conversion module 412 respectively; outside the first power management chip 41 , the first control pin is connected to the ground after being connected to the first resistor R1.
  • the state machine module 411 is specifically used to configure the function of the first control pin as the power key function, so that after the first switch S1 is turned off, when the signal level at the first control pin is When the state changes, the power-on function or reset function of the first power management chip 41 is triggered.
  • the independent power management circuit 60 may further include a power key K1, one end of the power key K1 is connected to the first control pin, and the other end of the power key K1 is grounded; wherein,
  • the power key K1 is used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the first operation instruction, and the second level state lasts for the first time After a preset time, the power-on operation of the first power management chip 41 is triggered to realize the power-on function.
  • the terminal device works abnormally, for example, the software of the baseband chip runs to death, or cannot be shut down or restarted normally through the software, it is necessary to reset the first power management chip 41 at this time. in,
  • the power key K1 is also used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the second operation instruction, and the second level state lasts for the second time After a preset time, the power-off and restart operation of the first power management chip 41 is triggered to realize the reset function.
  • the first level state is high level
  • the second level state is low level
  • the first operation instruction is generated according to the user pressing the power key for a first preset time
  • the second operation instruction is generated according to the user pressing the power key for a second preset time.
  • the first preset time is shorter than the second preset time.
  • the first preset time may be represented by T1
  • the second preset time may be represented by T2.
  • the first preset time can be set to 1 second
  • the second preset time can be set to 10 seconds.
  • the state machine module 411 when the power button is pressed, the PON signal at the first control pin is pulled down, and after a duration of T1, the state machine module 411 triggers the power-on sequence, and the first power management chip 41 starts to power on, The baseband chip is powered on and started. If the terminal device works abnormally and cannot be shut down or restarted normally through the software, it is also possible to press the power button for a long time, and after T2 time, the state machine module 411 triggers the power-off sequence, and the first power management chip 41 performs a forced reset operation. , the baseband chip is powered off and restarted.
  • the external control module may include a second power management chip and an application processor.
  • the combined power management circuit 70 may include a first power management chip 41, a first resistor R1, a second power management chip 71 and an application processor 72, and the second power management chip 71 may include a second control pin and a common Input and output pins, and the general input and output pins are connected to the first control pin;
  • the state machine module 411 is specifically used to configure the function of the first control pin to enable the reset function, so that after the first switch S1 is turned off, when the signal level state at the first control pin changes, trigger The power-on function or reset function of the first power management chip 41 .
  • the combined power management circuit 70 may further include a power key K1, one end of the power key K1 is connected to the second control pin, and the other end of the power key K1 is grounded; wherein,
  • the power key K1 is used to control the second power management chip 71 to start powering on when receiving the third operation instruction;
  • the second power management chip 71 is used to control the signal level at the first control pin from the second level state to the first level state through the general-purpose input and output pins after the power-on, and trigger the first The power-on operation of the power management chip to realize the power-on function.
  • the terminal device works abnormally, for example, the software of the baseband chip runs to death, and cannot be shut down or restarted normally through the software, it is necessary to use the second power management chip 71 and the application processor 72 to control the first power supply.
  • the management chip 41 is reset. in,
  • the application processor 72 is configured to send a reset command to the second power management chip 71;
  • the second power management chip 71 is also used to control the signal level at the first control pin from the first level state to the second level state through the general-purpose input and output pins according to the reset command, and trigger the first power supply The power-off operation of the management chip 41; and after the third preset time, the signal level at the first control pin is controlled again by the general-purpose input and output pins to be adjusted from the second level state to the first level state, triggering The power-on operation of the first power management chip 41 is implemented to realize the reset function.
  • the first level state is high level
  • the second level state is low level
  • the third operation instruction is generated according to the user pressing the power key.
  • the third preset time is denoted by T3, and the value of the third preset time can be set to a millisecond level.
  • the third preset time is 20 milliseconds, but it is not limited thereto.
  • the second control pin may also be represented by a PON pin
  • the general-purpose input and output pin may be represented by a GPIO_0 pin.
  • the PON pin of the second power management chip 71 is connected to the power key
  • the GPIO_01 pin of the second power management chip 71 is connected to the PON pin of the first power management chip 41 to realize the first The power-on function or reset function of the power management chip 41 .
  • the application processor 72 notifies the second power management chip 71 to pull down the PON signal at the first control pin, and the first power management chip 41 is powered off. After the time T3 elapses, the second power management chip 71 pulls the PON signal at the first control pin high again, and the baseband chip is powered on again.
  • the first resistor R1 can have multiple resistance values, multiple preset intervals can also be set correspondingly, so that more types of application scenarios can be distinguished.
  • the embodiment of the present application is not limited to the independent power management circuit in the independent scenario and the combined power management circuit in the combined scenario, and can also correspond to other application scenarios, so that the first power management chip (that is, the baseband power management chip, uses BB_PMIC Indicates that the function is extensible.
  • the power management circuit includes a first power management chip and a first resistor.
  • the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, and a second resistor.
  • a control pin and a first power pin wherein, inside the first power management chip, the first switch and the second resistor are connected in series between the first power pin and the first control pin, and the first power pin It is also connected to the state machine module, and the first control pin is also connected to the state machine module and the analog-to-digital conversion module respectively; outside the first power management chip, the first resistor is connected in series between the first control pin and the ground.
  • the first resistor is connected in series between the first control pin and the ground.
  • FIG. 8 shows a schematic flowchart of a power control method provided in an embodiment of the present application. As shown in Figure 8, the method may include:
  • the power management circuit may include a first power management chip and a first resistor, and the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, a first control pin, and a second resistor. A power pin.
  • the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, the first power supply pin is also connected to the state machine module, and the first control The pins are also respectively connected to the state machine module and the analog-to-digital conversion module; outside the first power management chip, the first resistor is connected in series between the first control pin and the ground.
  • the signal voltage at the first control pin can be read through the analog-to-digital conversion module according to the voltage division between the first resistor and the second resistor.
  • the first resistors with different resistance values are mounted, different voltage values can be read through the analog-to-digital conversion module, and different application scenarios of the power management circuit can be identified according to these voltage values.
  • the method before closing the first switch, the method may further include:
  • the state machine module is powered according to the power supply voltage to realize the initialization of the state machine module and the analog-to-digital conversion module.
  • the external power supply may be represented by a Vsys power supply.
  • the second power supply pin is connected to the Vsys power supply.
  • the input voltage provided for the first power management chip can be represented by the Vsys voltage; and the power supply voltage generated through voltage conversion can be represented by the VPMIC voltage.
  • the VPMIC voltage is established, and at this time, the state machine module and the analog-to-digital conversion module can be initialized.
  • the signal voltage at the first control pin is related to the resistance value of the mounted first resistor.
  • the method may further include: when the resistance of the first resistor is a first value, determining that the signal voltage satisfies a first preset interval; or, when the resistance of the first resistor is a second value In the case of , it is determined that the signal voltage satisfies the second preset interval.
  • the method may further include: storing the signal voltage into a register unit in the state machine module, and storing Turn off the first switch when finished.
  • the signal voltages read by the analog-to-digital conversion module can be different voltage values.
  • the state The machine module 411 reads the signal voltage from the register unit, and determines whether the signal voltage satisfies the first preset interval or the second preset interval, and then identifies different application scenarios.
  • S802 Using a state machine module to compare the signal voltage with a preset interval, and determine to apply to the independent power management circuit or the combined power management circuit according to the comparison result.
  • power management circuits can be at least divided into independent power management circuits and combined power management circuits.
  • the determination to apply to the independent power management circuit or combined power management circuit according to the comparison result may include:
  • the signal voltage satisfies the first preset interval, it is determined to be applied to an independent power management circuit; or,
  • the signal voltage satisfies the second preset interval, it is determined to apply to the combined power management circuit.
  • an independent power management circuit at this time which is composed of a power management circuit alone, that is, the independent power management circuit includes a first power management chip and a first resistor; if it is applied to a combined scenario , this time may be a combined power management circuit, which is composed of a power management circuit and an external control module, that is, the combined power management circuit includes a first power management chip, a first resistor and an external control module.
  • the state machine module in the embodiment of the present application configures the function of the first control pin as a power button function.
  • the triggering the power-on function or reset function of the first power management chip through the first control pin may include:
  • the signal level at the first control pin is controlled to be adjusted from the first level state to the second level state, and after the second level state lasts for the first preset time, trigger The power-on operation of the first power management chip, so as to realize the power-on function; or,
  • the first operation instruction is generated according to the user pressing the power button for a first preset time
  • the second operation instruction is generated according to the user pressing the power button for a second preset time Generated.
  • the first preset time is shorter than the second preset time.
  • the first preset time may be represented by T1
  • the second preset time may be represented by T2.
  • the first preset time can be set to 1 second
  • the second preset time can be set to 10 seconds.
  • the state machine module when the power button is pressed, the PON signal at the first control pin is pulled low, and after a duration of T1, the state machine module triggers the power-on sequence, the first power management chip starts to power on, and the baseband chip Power on and start. If the terminal device works abnormally and cannot be shut down or restarted normally through the software, you can also press the power button for a long time, and after T2 time, the state machine module triggers the power-off sequence, and the first power management chip performs a forced reset operation. The chip is powered off and restarted.
  • S804 When it is determined to be applied to a combined power management circuit, trigger a power-on function or a reset function of the first power management chip through the external control module and the first control pin.
  • the function of configuring the first control pin is to enable a reset function.
  • the triggering the power-on function or reset function of the first power management chip through the external control module and the first control pin may include:
  • the second power management chip After the second power management chip receives the reset command sent by the application processor, it controls the signal level at the first control pin to be adjusted from the first level state to the second level state, triggering the first power management chip to switch off. Electrical operation; and after the third preset time, control the signal level at the first control pin again to be adjusted from the second level state to the first level state, triggering the re-power-on operation of the first power management chip, to Realize the reset function.
  • the external control module may include a second power management chip and an application processor.
  • the second control pin of the second power management chip is connected to the power key, and the general-purpose input and output pins of the second power management chip are connected to the first control pin of the first power management chip, so as to realize the first power management chip power-on function or reset function.
  • the application processor notifies the second power management chip to pull down the PON signal at the first control pin, the first power management chip is powered off, and after the third After a preset time, the second power management chip pulls up the PON signal at the first control pin, and the baseband chip is powered on again.
  • This embodiment provides a power control method, which is applied to a power management circuit, and the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios.
  • the signal voltage at the first control pin is read through the analog-to-digital conversion module; the signal voltage is compared with the preset interval through the state machine module, and the application to the independent power supply is determined according to the comparison result management circuit or the combined power management circuit; when it is determined to be applied to the independent power management circuit, the power-on function or reset function of the first power management chip is triggered through the first control pin; when it is determined to be applied to the When the power management circuit is combined, the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
  • FIG. 9 shows a schematic diagram of the composition and structure of a power management system 90 provided in an embodiment of the present application.
  • the power management system 90 may at least include any power management circuit 40 and a baseband chip 91 described in the foregoing embodiments; wherein, the power management circuit 40 may perform power-on or reset control for the baseband chip 91 .
  • the application scenarios include at least an independent scenario and a combined scenario
  • the power management system 90 can be at least divided into an independent power management system and a combined power management system.
  • the independent power management system can be regarded as composed of an independent power management circuit and a baseband chip
  • the combined power management system can be regarded as composed of a combined power management circuit and a baseband chip.
  • the power key is connected to the first control pin of the first power management chip at this time.
  • the first resistor R1 an appropriate resistance value is selected through calculation, so that the signal voltage divided by the first resistor R1 and the second resistor R2 conforms to the first preset range.
  • FIG. 10 it shows a schematic diagram of the composition and structure of an independent power management system provided by an embodiment of the present application.
  • the independent power management system 100 may include a first power management chip 41 , a first resistor R1 , a power key K1 and a baseband chip 91 .
  • the first power management chip 41 may be a BB_PMIC
  • the baseband chip 91 may be a BBIC.
  • BB_PMIC may include a state machine module, a second resistor R2, a first switch S1, an analog-to-digital conversion module, a first conversion circuit, a second conversion circuit, a first control pin, a first power supply pin, and a second Power pin.
  • the first control pin is represented by a PON pin
  • the first power supply pin is represented by a VPMIC pin
  • the second power supply pin is represented by a Vsys pin
  • a first resistor R1 and a power button are attached to the PON pin K1, and the other end of the first resistor R1 and the power button K1 are both connected to the ground
  • the first capacitor C1 can also be connected to the pin of the VPMIC for filtering.
  • the power key is connected to the second control pin of the second power management chip, and the general input of the second power management chip The output pin is connected to the first control pin of the first power management chip.
  • the first resistor R1 an appropriate resistance value is selected through calculation, so that the signal voltage divided by the first resistor R1 and the second resistor R2 conforms to the second preset range.
  • FIG. 11 it shows a schematic diagram of the composition and structure of a combined power management system provided by an embodiment of the present application.
  • the combined power management system 110 may include a first power management chip 41 , a second power management chip 111 , an application processor 112 , a first resistor R1 , a power key K1 and a baseband chip 91 .
  • the first power management chip 41 may be a BB_PMIC
  • the second power management chip 111 may be a Main_PMIC
  • the application processor 112 may be an AP
  • the baseband chip 91 may be a BBIC.
  • BB_PMIC may include a state machine module, a second resistor R2, a first switch S1, an analog-to-digital conversion module, a first conversion circuit, a second conversion circuit, a first control pin, a first power supply pin, and a second
  • the power supply pins, Main_PMIC may include second control pins and general input and output pins.
  • the first control pin of BB_PMIC is represented by a PON pin
  • the first power supply pin is represented by a VPMIC pin
  • the second power supply pin is represented by a Vsys pin
  • the second control pin of Main_PMIC is represented by a PON pin
  • the general-purpose input and output pins are represented by GPIO_01 pins
  • the PON pin of Main_PMIC is connected to the power button K1
  • the GPIO_01 pin of Main_PMIC is connected to the PON pin of BB_PMIC
  • the first resistor R1 is attached to the PON pin of BB_PMIC .
  • the first capacitor C1 can also be connected to the VPMIC pin of the BB_PMIC for filtering.
  • FIG. 12 shows a detailed flowchart of a power control method provided by an embodiment of the present application. As shown in Figure 12, the detailed process may include:
  • S1202 VPMIC voltage is established, and the state machine module and the analog-to-digital conversion module are initialized.
  • S1204 The state machine module reads the signal voltage from the register unit.
  • the state machine module configures the function of the first control pin as a power key function.
  • S1209 Press the power button, after the Main_PMIC starts to be powered on, pull up the signal level at the first control pin, the BB_PMIC starts to be powered on, and the BBIC starts to be powered on.
  • S1210 AP sends a reset command to Main_PMIC, Main_PMIC pulls down the signal level at the first control pin, and powers off BBIC; after T3 time, Main_PMIC pulls up the signal level at the first control pin, and BBIC restarts electricity.
  • the technical solution of the embodiment of the present application is to combine the PON, EN and RESETIN pins in the related art into one control pin, and the signal voltage at the first control pin (PON pin) is at the BB_PMIC
  • the inside of the chip is pulled up to the VPMIC voltage through the second resistor R2 and the first switch S1, and the signal voltage is connected to the ADC module inside the BB_PMIC chip.
  • the first control pin (PON pin) is pulled down to ground after being connected to the first resistor R1 outside the BB_PMIC chip.
  • the signal voltage at the first control pin (PON pin) can be obtained by dividing the voltage between the first resistor R1 and the second resistor R2.
  • BBIC constitutes a system alone
  • the system block diagram is shown in Figure 10 for details.
  • the power button is connected to the PON pin of BB_PMIC, and the first resistor R1 with a suitable resistance value is calculated and selected, so that the first resistor R1 and the second resistor R2 are voltage-divided.
  • the signal voltage at the PON pin conforms to the first preset range.
  • the boot process is as follows:
  • the Vsys voltage is established
  • the VPMIC voltage is established, the state machine module is initialized, and the ADC module is initialized;
  • the first switch S1 is closed, and the ADC module reads the signal voltage at the PON pin; and after the signal voltage is stored in the register unit of the state machine module, the first switch S1 is opened.
  • the state machine module reads the signal voltage from the register unit, and compares the signal voltage with the preset interval;
  • the preset interval here is a preset voltage interval, and the embodiment of the present application may refer to the first preset interval. Set interval, second preset interval, third preset interval and so on.
  • the state machine module configures the PON pin function as the power key function: when the signal at the PON pin is pulled down for a period of time (such as T1 time), the state machine module will trigger the power-on sequence and control the second conversion Power on the circuit;
  • Step 6 BB_PMIC waits for the power button to be pressed.
  • the power button is pressed, the signal at the PON pin is pulled down, and after a period of time (such as T1 time), BB_PMIC starts the power-on process, and BBIC is powered on and started;
  • Step 7 When the terminal device is working abnormally, such as the BBIC software running dead, unable to shut down or restart normally through the software, you can press and hold the power button for a period of time (such as T2 time), and the state machine module will trigger the power-off sequence. Control the second conversion circuit to be powered off, the BB_PMIC performs a reset operation, and the BBIC is powered off and restarted.
  • a period of time such as T2 time
  • both the T1 time and the T2 time can be configured according to product requirements.
  • T1 is less than T2.
  • T1 is set to 1 second
  • T2 is set to 10 seconds, but this is not specifically limited.
  • the system block diagram is shown in Figure 11.
  • the power button is connected to the PON pin of Main_PMIC
  • the GPIO_01 pin of Main_PMIC is connected to the PON pin of BB_PMIC
  • the first resistor R1 with an appropriate resistance value is calculated and selected. , so that the signal voltage at the PON pin divided by the first resistor R1 and the second resistor R2 conforms to the second preset range.
  • the boot process is as follows:
  • the Vsys voltage is established
  • the VPMIC voltage is established, the state machine module is initialized, and the ADC module is initialized;
  • the first switch S1 is closed, and the ADC module reads the signal voltage at the PON pin; and after the signal voltage is stored in the register unit of the state machine module, the first switch S1 is opened.
  • the state machine module reads the signal voltage from the register unit, and compares the signal voltage with the preset interval;
  • the preset interval here is a preset voltage interval, and the embodiment of the present application may refer to the first preset interval. Set interval, second preset interval, third preset interval and so on.
  • the state machine module configures the function of the PON pin to enable the reset function: when the signal at the PON pin is pulled up from the low level, the state machine module will trigger the power-on sequence to control the second conversion circuit. When the signal at the PON pin is pulled down from high level, the state machine module will trigger the power-off sequence to control the power-off of the second conversion circuit;
  • Step 6 BB_PMIC waits for the PON pin to be pulled high by Main_PMIC. After Main_PMIC starts to be powered on, pull the PON pin of BB_PMIC high, BB_PMIC starts the power-on process, and BBIC is powered on to start;
  • Step 7 When the terminal equipment works abnormally, such as the BBIC software running dead, the AP can notify Main_PMIC to pull down the PON pin of BB_PMIC, BBIC powers off and resets, and after a period of time (such as T3 time), Main_PMIC will pull the PON pin of BB_PMIC again. The pin is pulled high, and the BBIC is powered on again.
  • a period of time such as T3 time
  • the embodiment of the present application may also be applied to other scenarios. Specifically, as long as the resistance values of multiple first resistors R1 are reasonably calculated and distributed, and multiple voltage intervals are preset, more scene distinctions can be realized, that is, the technical solutions of the embodiments of the present application are not limited to the above two Application scenarios make the BB_PMIC function scalable.
  • multiple control pins (such as PON, EN and RESETIN pins) can be combined into one control pin, and then different peripheral circuits are used to identify different application scenarios, and the The control pins are configured with corresponding functions.
  • the ADC module may not be used, but a pure hardware method may be used.
  • multiple voltage comparators can be set up to determine which preset voltage range the signal voltage falls in, and then make subsequent judgments. It should be noted that the advantage of using a comparator is that the judgment speed is faster than the reading speed of the ADC, which is more advantageous in scenarios with strict timing requirements; the disadvantage is that the identifiable application scenarios are limited by the number of comparators, and Not as much as ADC.
  • the embodiment of the present application provides a power management system. According to different resistance values of the mounted first resistor R1, it can be determined whether it is applied to an independent power management system or a combined power management system. Moreover, whether it is an independent power management system or a combined power management system, BB_PMIC has reduced two pins, which can reduce the chip area of BB_PMIC and save manufacturing costs; in addition, it also reduces the control signals on the circuit board and reduces the number of key signals. The risk of being disturbed improves the system stability.
  • the power management circuit includes a first power management chip and a first resistor
  • the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, a first control pin and The first power supply pin; wherein, inside the first power management chip, the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, and the first power supply pin is connected to the state machine module , the first control pin is respectively connected to the state machine module and the analog-to-digital conversion module; outside the first power management chip, the first resistor is connected in series between the first control pin and the ground.

Abstract

Disclosed in the embodiments of the present application are a power management circuit and a control method therefor, and a power management system. The power management circuit comprises a first power management IC and a first resistor, the first power management IC comprising a second resistor, a first switch, an analog-digital conversion module, a state machine module, a first control pin and a first power pin, wherein inside the first power management IC, the first switch and the second resistor are connected in series between the first power pin and the first control pin, the first power pin is connected to the state machine module, and the first control pin is respectively connected to the state machine module and the analog-digital conversion module; and outside the first power management IC, the first resistor is connected in series between the first control pin and the ground. In this way, three pins in a first power management IC are combined into one control pin, such that the area of the IC is reduced, and the manufacturing cost is reduced; and the risk of a key signal being interfered with is also reduced, thereby improving the stability of a system.

Description

一种电源管理电路及其控制方法、系统A power management circuit and its control method and system
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年08月25日提交中国专利局、申请号为202110983161.7、申请名称为“一种电源管理电路及其控制方法、系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110983161.7 and the application name "A power management circuit and its control method and system" submitted to the China Patent Office on August 25, 2021, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及电源管理技术领域,尤其涉及一种电源管理电路及其控制方法、系统。The present application relates to the technical field of power management, in particular to a power management circuit and its control method and system.
背景技术Background technique
基带芯片(Baseband IC,BBIC)是指用来合成即将发射的基带信号,或对接收到的基带信号进行解码的芯片,它主要完成终端设备的信息处理功能。The baseband chip (Baseband IC, BBIC) refers to the chip used to synthesize the baseband signal to be transmitted, or to decode the received baseband signal, which mainly completes the information processing function of the terminal equipment.
目前,BBIC一般会使用一颗专用的基带电源管理芯片(Baseband Power Management IC,BB_PMIC)对其进行供电和控制。为了能够在BB_PMIC上实现多种控制方式,该BB_PMIC的控制管脚至少会包含电源键信号管脚(PON),使能信号管脚(EN),复位信号管脚(RESETIN)等三个独立的控制管脚,而且其控制逻辑也各不相同。然而,由于BB_PMIC单独设置了三个不同控制逻辑的控制管脚,从而导致BB_PMIC的芯片面积较大,制造成本也就相对较高;而且这些控制信号都是系统关键信号,在电路板上容易被其他信号干扰,直接影响了系统稳定性。At present, BBIC generally uses a dedicated Baseband Power Management IC (BB_PMIC) to power and control it. In order to implement multiple control methods on the BB_PMIC, the control pins of the BB_PMIC will at least include three independent power key signal pins (PON), enable signal pins (EN), and reset signal pins (RESETIN). control pins, and their control logic varies. However, since BB_PMIC separately sets three control pins with different control logics, the chip area of BB_PMIC is relatively large, and the manufacturing cost is relatively high; moreover, these control signals are key signals of the system, and are easy to be manipulated on the circuit board. Other signal interference directly affects the system stability.
发明内容Contents of the invention
本申请的技术方案是这样实现的:The technical scheme of the present application is realized like this:
第一方面,本申请实施例提供了一种电源管理电路,该电源管理电路包括第一电源管理芯片和第一电阻,第一电源管理芯片包括第二电阻、第一开关、模数转换模块、状态机模块、第一控制管脚和第一电源管脚;其中,In the first aspect, the embodiment of the present application provides a power management circuit, the power management circuit includes a first power management chip and a first resistor, the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, A state machine module, a first control pin and a first power supply pin; wherein,
在第一电源管理芯片内部,第一开关与第二电阻串接在第一电源管脚和第一控制管脚之间,第一电源管脚与状态机模块连接,第一控制管脚分别与状态机模块和模数转换模块连接;Inside the first power management chip, the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, the first power supply pin is connected to the state machine module, and the first control pin is respectively connected to the The state machine module is connected with the analog-to-digital conversion module;
在第一电源管理芯片外部,第一电阻串接在第一控制管脚与地之间。Outside the first power management chip, the first resistor is connected in series between the first control pin and the ground.
第二方面,本申请实施例提供了一种电源控制方法,应用于电源管理电路,且电源管理电路按照应用场景至少分为独立电源管理电路和组合电源管理电路;该方法包括:In the second aspect, the embodiment of the present application provides a power control method, which is applied to a power management circuit, and the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; the method includes:
在闭合第一开关后,通过模数转换模块读取第一控制管脚处的信号电压;After closing the first switch, reading the signal voltage at the first control pin through the analog-to-digital conversion module;
通过状态机模块将信号电压与预设区间进行比较,根据比较结果确定应用于独立电源管理电路或者组合电源管理电路;The signal voltage is compared with the preset interval through the state machine module, and the application to the independent power management circuit or combined power management circuit is determined according to the comparison result;
当确定应用于独立电源管理电路时,通过第一控制管脚触发第一电源管理芯片的上电功能或复位功能;When it is determined to be applied to an independent power management circuit, the power-on function or reset function of the first power management chip is triggered through the first control pin;
当确定应用于组合电源管理电路时,通过外部控制模块和第一控制管脚触发第一电源管理芯片的上电功能或复位功能。When it is determined to be applied to the combined power management circuit, the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
第三方面,本申请实施例提供了一种电源管理系统,该电源管理系统至少包括如第一方面所述的电源管理电路和基带芯片;其中,所述电源管理电路为所述基带芯片进行上电 或复位控制。In the third aspect, the embodiment of the present application provides a power management system, the power management system at least includes the power management circuit and the baseband chip as described in the first aspect; power-up or reset control.
附图说明Description of drawings
图1为提供一种BB_PMIC内部的组成结构示意图;FIG. 1 is a schematic diagram of the internal composition structure of a BB_PMIC;
图2为提供一种BBIC独立系统的组成结构示意图;Fig. 2 provides a schematic diagram of the composition structure of a BBIC independent system;
图3为提供一种BBIC组合系统的组成结构示意图;Fig. 3 provides a schematic diagram of the composition structure of a BBIC combined system;
图4为本申请实施例提供的一种电源管理电路的组成结构示意图;FIG. 4 is a schematic diagram of the composition and structure of a power management circuit provided by an embodiment of the present application;
图5为本申请实施例提供的另一种电源管理电路的组成结构示意图;FIG. 5 is a schematic diagram of the composition and structure of another power management circuit provided by the embodiment of the present application;
图6为本申请实施例提供的一种独立电源管理电路的组成结构示意图;FIG. 6 is a schematic diagram of the composition and structure of an independent power management circuit provided by an embodiment of the present application;
图7为本申请实施例提供的一种组合电源管理电路的组成结构示意图;FIG. 7 is a schematic diagram of the composition and structure of a combined power management circuit provided by an embodiment of the present application;
图8为本申请实施例提供的一种电源控制方法的流程示意图;FIG. 8 is a schematic flowchart of a power control method provided in an embodiment of the present application;
图9为本申请实施例提供的一种电源管理系统的组成结构示意图;FIG. 9 is a schematic diagram of the composition and structure of a power management system provided by an embodiment of the present application;
图10为本申请实施例提供的一种独立电源管理系统的组成结构示意图;FIG. 10 is a schematic diagram of the composition and structure of an independent power management system provided by the embodiment of the present application;
图11为本申请实施例提供的一种组合电源管理系统的组成结构示意图;FIG. 11 is a schematic diagram of the composition and structure of a combined power management system provided by an embodiment of the present application;
图12为本申请实施例提供的一种电源控制方法的详细流程示意图。FIG. 12 is a schematic flowchart of a detailed power control method provided by an embodiment of the present application.
具体实施方式Detailed ways
第一方面,本申请实施例提供了一种电源管理电路,所述电源管理电路包括第一电源管理芯片和第一电阻,所述第一电源管理芯片包括第二电阻、第一开关、模数转换模块、状态机模块、第一控制管脚和第一电源管脚;其中,In the first aspect, the embodiment of the present application provides a power management circuit, the power management circuit includes a first power management chip and a first resistor, the first power management chip includes a second resistor, a first switch, a modulus A conversion module, a state machine module, a first control pin and a first power supply pin; wherein,
在所述第一电源管理芯片内部,所述第一开关与所述第二电阻串接在所述第一电源管脚和所述第一控制管脚之间,所述第一电源管脚还与所述状态机模块连接,所述第一控制管脚还与所述状态机模块和所述模数转换模块分别连接;Inside the first power management chip, the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, and the first power supply pin is also Connected to the state machine module, the first control pin is also connected to the state machine module and the analog-to-digital conversion module respectively;
在所述第一电源管理芯片外部,所述第一电阻串接在所述第一控制管脚与地之间。Outside the first power management chip, the first resistor is connected in series between the first control pin and ground.
在一些实施例中,所述模数转换模块,用于在闭合所述第一开关后,读取所述第一控制管脚处的信号电压;In some embodiments, the analog-to-digital conversion module is configured to read the signal voltage at the first control pin after closing the first switch;
所述状态机模块,用于在所述信号电压满足第一预设区间时,通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能;或者,在所述信号电压满足第二预设区间时,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is configured to trigger the power-on function or reset function of the first power management chip through the first control pin when the signal voltage satisfies a first preset interval; or, in the When the signal voltage satisfies the second preset interval, the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
在一些实施例中,所述状态机模块包括寄存器单元;其中,In some embodiments, the state machine module includes a register unit; wherein,
所述寄存器单元,用于存储所述模数转换模块读取的所述信号电压,并在存储完成后断开所述第一开关;The register unit is configured to store the signal voltage read by the analog-to-digital conversion module, and disconnect the first switch after the storage is completed;
所述状态机模块,具体用于从所述寄存器单元中读取所述信号电压,将所述信号电压与预设区间进行比较;其中,在所述信号电压满足所述第一预设区间时,通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能;或者,在所述信号电压满足所述第二预设区间时,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is specifically configured to read the signal voltage from the register unit, and compare the signal voltage with a preset interval; wherein, when the signal voltage satisfies the first preset interval , triggering the power-on function or reset function of the first power management chip through the first control pin; or, when the signal voltage satisfies the second preset range, through the external control module and the second A control pin triggers a power-on function or a reset function of the first power management chip.
在一些实施例中,所述第一电阻,用于在阻值为第一值的情况下,使得通过所述模数转换模块读取到的所述信号电压满足所述第一预设区间;或者,在阻值为第二值的情况下,使得通过所述模数转换模块读取到的所述信号电压满足所述第二预设区间。In some embodiments, the first resistor is used to make the signal voltage read by the analog-to-digital conversion module satisfy the first preset interval when the resistance value is a first value; Or, when the resistance value is the second value, the signal voltage read by the analog-to-digital conversion module satisfies the second preset interval.
在一些实施例中,所述第一电源管理芯片还包括第一变换电路和第二电源管脚,且所述第二电源管脚与外部电源连接;其中,In some embodiments, the first power management chip further includes a first conversion circuit and a second power supply pin, and the second power supply pin is connected to an external power supply; wherein,
所述第二电源管脚,用于为所述第一电源管理芯片提供输入电压;The second power supply pin is used to provide an input voltage for the first power management chip;
所述第一变换电路,用于对所述输入电压进行电压变换,生成供电电压;The first conversion circuit is configured to perform voltage conversion on the input voltage to generate a supply voltage;
所述第一电源管脚,具体用于接收所述供电电压,并根据所述供电电压为所述状态机模块供电,以实现所述状态机模块和所述模数转换模块的初始化。The first power supply pin is specifically used to receive the power supply voltage, and supply power to the state machine module according to the power supply voltage, so as to realize the initialization of the state machine module and the analog-to-digital conversion module.
在一些实施例中,所述第一变换电路为低压差线性稳压LDO电路。In some embodiments, the first conversion circuit is a low dropout linear regulator LDO circuit.
在一些实施例中,所述电源管理电路按照应用场景至少分为独立电源管理电路和组合电源管理电路;其中,In some embodiments, the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; wherein,
所述状态机模块,还用于若所述信号电压满足所述第一预设区间,则确定应用于所述独立电源管理电路;或者,若所述信号电压满足所述第二预设区间,则确定应用于所述组合电源管理电路;The state machine module is further configured to determine to apply to the independent power management circuit if the signal voltage satisfies the first preset interval; or, if the signal voltage satisfies the second preset interval, Then it is determined to be applied to the combined power management circuit;
其中,所述独立电源管理电路是由所述电源管理电路单独组成的,所述组合电源管理电路是由所述电源管理电路与外部控制模块共同组成的。Wherein, the independent power management circuit is composed of the power management circuit alone, and the combined power management circuit is composed of the power management circuit and an external control module.
在一些实施例中,所述独立电源管理电路包括所述第一电源管理芯片和所述第一电阻;其中,In some embodiments, the independent power management circuit includes the first power management chip and the first resistor; wherein,
所述状态机模块,具体用于配置所述第一控制管脚的功能为电源键功能,以使得在断开所述第一开关后,当所述第一控制管脚处的信号电平状态发生变化时,触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is specifically configured to configure the function of the first control pin as a power button function, so that after the first switch is turned off, when the signal level state at the first control pin is When a change occurs, the power-on function or reset function of the first power management chip is triggered.
在一些实施例中,所述独立电源管理电路还包括电源键,所述电源键的一端与所述第一控制管脚连接,所述电源键的另一端接地;其中,In some embodiments, the independent power management circuit further includes a power key, one end of the power key is connected to the first control pin, and the other end of the power key is grounded; wherein,
所述电源键,用于在接收到第一操作指令时,控制所述第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,且在所述第二电平状态持续第一预设时间后,触发所述第一电源管理芯片的上电操作,以实现所述上电功能。The power button is used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the first operation instruction, and the second power level After the flat state lasts for a first preset time, a power-on operation of the first power management chip is triggered to realize the power-on function.
在一些实施例中,所述电源键,还用于在接收到第二操作指令时,控制所述第一控制管脚处的信号电平由所述第一电平状态调整为所述第二电平状态,且在所述第二电平状态持续第二预设时间后,触发所述第一电源管理芯片的下电重启操作,以实现所述复位功能。In some embodiments, the power key is also used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the second operation instruction. level state, and after the second level state lasts for a second preset time, trigger a power-off and restart operation of the first power management chip, so as to realize the reset function.
在一些实施例中,所述第一预设时间小于所述第二预设时间。In some embodiments, the first preset time is shorter than the second preset time.
在一些实施例中,所述组合电源管理电路包括所述第一电源管理芯片、所述第一电阻和所述外部控制模块,所述外部控制模块包括第二电源管理芯片和应用处理器,所述第二电源管理芯片包括第二控制管脚和通用输入输出管脚,所述通用输入输出管脚与所述第一控制管脚连接;其中,In some embodiments, the combined power management circuit includes the first power management chip, the first resistor, and the external control module, and the external control module includes a second power management chip and an application processor, so The second power management chip includes a second control pin and a general-purpose input and output pin, and the general-purpose input and output pin is connected to the first control pin; wherein,
所述状态机模块,具体用于配置所述第一控制管脚的功能为使能复位功能,以使得在断开所述第一开关后,当所述第一控制管脚处的信号电平状态发生变化时,触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is specifically configured to configure the function of the first control pin to enable a reset function, so that after the first switch is turned off, when the signal level at the first control pin is When the state changes, the power-on function or reset function of the first power management chip is triggered.
在一些实施例中,所述组合电源管理电路还包括电源键,所述电源键的一端与所述第二控制管脚连接,所述电源键的另一端接地;其中,In some embodiments, the combined power management circuit further includes a power key, one end of the power key is connected to the second control pin, and the other end of the power key is grounded; wherein,
所述电源键,用于在接收到第三操作指令时,控制所述第二电源管理芯片开始上电;The power key is used to control the second power management chip to start powering on when receiving the third operation instruction;
所述第二电源管理芯片,用于在所述上电之后,通过所述通用输入输出管脚控制所述第一控制管脚处的信号电平由第二电平状态调整为第一电平状态,触发所述第一电源管理芯片的上电操作,以实现所述上电功能。The second power management chip is configured to control the signal level at the first control pin to be adjusted from the second level state to the first level through the general-purpose input and output pin after the power-on state, triggering a power-on operation of the first power management chip, so as to realize the power-on function.
在一些实施例中,所述应用处理器,用于向所述第二电源管理芯片发送复位命令;In some embodiments, the application processor is configured to send a reset command to the second power management chip;
所述第二电源管理芯片,还用于根据所述复位命令,通过所述通用输入输出管脚控制所述第一控制管脚处的信号电平由所述第一电平状态调整为所述第二电平状态,触发所述第一电源管理芯片的下电操作;以及在第三预设时间之后,通过所述通用输入输出管脚再次控制所述第一控制管脚处的信号电平由所述第二电平状态调整为所述第一电平状态,触发所述第一电源管理芯片的重新上电操作,以实现所述复位功能。The second power management chip is further configured to control the signal level at the first control pin to be adjusted from the first level state to the The second level state triggers the power-off operation of the first power management chip; and after the third preset time, controls the signal level at the first control pin again through the general-purpose input and output pin Adjusting from the second level state to the first level state triggers a power-on operation of the first power management chip to realize the reset function.
在一些实施例中,所述第一电平状态为高电平,所述第二电平状态为低电平。In some embodiments, the first level state is high level, and the second level state is low level.
第二方面,本申请实施例提供了一种电源控制方法,应用于电源管理电路,且所述电源管理电路按照应用场景至少分为独立电源管理电路和组合电源管理电路;所述方法包括:In the second aspect, the embodiment of the present application provides a power control method, which is applied to a power management circuit, and the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; the method includes:
在闭合第一开关后,通过模数转换模块读取第一控制管脚处的信号电压;After closing the first switch, reading the signal voltage at the first control pin through the analog-to-digital conversion module;
通过状态机模块将所述信号电压与预设区间进行比较,根据比较结果确定应用于所述独立电源管理电路或者所述组合电源管理电路;Comparing the signal voltage with a preset interval through a state machine module, and determining whether to apply to the independent power management circuit or the combined power management circuit according to the comparison result;
当确定应用于所述独立电源管理电路时,通过所述第一控制管脚触发第一电源管理芯片的上电功能或复位功能;When it is determined to be applied to the independent power management circuit, triggering a power-on function or a reset function of the first power management chip through the first control pin;
当确定应用于所述组合电源管理电路时,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。When it is determined to be applied to the combined power management circuit, the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
在一些实施例中,在所述通过模数转换模块读取第一控制管脚处的信号电压之后,所述方法还包括:In some embodiments, after reading the signal voltage at the first control pin through the analog-to-digital conversion module, the method further includes:
将所述信号电压存储至所述状态机模块中的寄存器单元,并在存储完成后断开所述第一开关。storing the signal voltage to a register unit in the state machine module, and turning off the first switch after the storage is completed.
在一些实施例中,所述根据比较结果确定应用于所述独立电源管理电路或者所述组合电源管理电路,包括:In some embodiments, the determining to apply to the independent power management circuit or the combined power management circuit according to the comparison result includes:
若所述信号电压满足第一预设区间,则确定应用于所述独立电源管理电路;或者,If the signal voltage satisfies the first preset interval, determine to apply to the independent power management circuit; or,
若所述信号电压满足第二预设区间,则确定应用于所述组合电源管理电路。If the signal voltage satisfies the second preset interval, it is determined to be applied to the combined power management circuit.
在一些实施例中,所述方法还包括:In some embodiments, the method also includes:
在第一电阻的阻值为第一值的情况下,确定所述信号电压满足所述第一预设区间;或者,When the resistance value of the first resistor is the first value, it is determined that the signal voltage satisfies the first preset interval; or,
在第一电阻的阻值为第二值的情况下,确定所述信号电压满足所述第二预设区间。When the resistance of the first resistor is the second value, it is determined that the signal voltage satisfies the second preset interval.
在一些实施例中,在闭合所述第一开关之前,所述方法还包括:In some embodiments, before closing the first switch, the method further includes:
接收外部电源为所述第一电源管理芯片提供的输入电压;receiving an input voltage provided by an external power supply for the first power management chip;
对所述输入电压进行电压变换,生成供电电压;performing voltage conversion on the input voltage to generate a supply voltage;
根据所述供电电压为所述状态机模块供电,以实现所述状态机模块和所述模数转换模块的初始化。Powering the state machine module according to the power supply voltage, so as to realize the initialization of the state machine module and the analog-to-digital conversion module.
在一些实施例中,当确定应用于所述独立电源管理电路时,所述通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能,包括:In some embodiments, when it is determined to be applied to the independent power management circuit, the triggering the power-on function or reset function of the first power management chip through the first control pin includes:
在接收到第一操作指令时,控制所述第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,且在所述第二电平状态持续第一预设时间后,触发所述第一电源管理芯片的上电操作,以实现所述上电功能;或者,When the first operation instruction is received, the signal level at the first control pin is controlled to be adjusted from the first level state to the second level state, and the second level state lasts for the first preset After a period of time, trigger the power-on operation of the first power management chip to realize the power-on function; or,
在接收到第二操作指令时,控制所述第一控制管脚处的信号电平由所述第一电平状态调整为所述第二电平状态,且在所述第二电平状态持续第二预设时间后,触发所述第一电源管理芯片的下电重启操作,以实现所述复位功能。When receiving the second operation instruction, control the signal level at the first control pin to be adjusted from the first level state to the second level state, and continue in the second level state After a second preset time, a power-off and restart operation of the first power management chip is triggered to realize the reset function.
在一些实施例中,所述第一预设时间小于所述第二预设时间。In some embodiments, the first preset time is shorter than the second preset time.
在一些实施例中,当确定应用于所述组合电源管理电路时,所述通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能,包括:In some embodiments, when it is determined to be applied to the combined power management circuit, the triggering the power-on function or reset function of the first power management chip through the external control module and the first control pin includes:
根据接收到第三操作指令,在第二电源管理芯片开始上电之后,控制所述第一控制管脚处的信号电平由第二电平状态调整为第一电平状态,触发所述第一电源管理芯片的上电操作,以实现所述上电功能;或者,According to receiving the third operation instruction, after the second power management chip starts to be powered on, the signal level at the first control pin is controlled to be adjusted from the second level state to the first level state, triggering the second power management chip. A power-on operation of a power management chip to realize the power-on function; or,
在所述第二电源管理芯片接收到应用处理器发送的复位命令之后,控制所述第一控制管脚处的信号电平由所述第一电平状态调整为所述第二电平状态,触发所述第一电源管理芯片的下电操作;以及在第三预设时间之后再次控制所述第一控制管脚处的信号电平由所述第二电平状态调整为所述第一电平状态,触发所述第一电源管理芯片的重新上电操作,以实现所述复位功能。After the second power management chip receives the reset command sent by the application processor, control the signal level at the first control pin to be adjusted from the first level state to the second level state, triggering the power-off operation of the first power management chip; and controlling the signal level at the first control pin to be adjusted from the second level state to the first power level state again after a third preset time In the flat state, trigger the power-on operation of the first power management chip to realize the reset function.
第三方面,本申请实施例提供了一种电源管理系统,所述电源管理系统至少包括如第一方面中任一项所述的电源管理电路和基带芯片;其中,所述电源管理电路为所述基带芯片进行上电或复位控制。In the third aspect, the embodiment of the present application provides a power management system, the power management system at least includes the power management circuit and the baseband chip according to any one of the first aspect; wherein, the power management circuit is the The baseband chip is powered on or reset controlled.
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。In order to understand the characteristics and technical contents of the embodiments of the present application in more detail, the implementation of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present application.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。还需要指出,本申请实施例所涉及的术语“第一\第二\第三”仅是用于区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict. It should also be pointed out that the term "first\second\third" involved in the embodiment of the present application is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, "first\second\ The specific order or sequence of "third" can be interchanged where allowed, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein.
随着电子技术的不断发展,诸如智能手机、掌上电脑等终端设备越来越普及。目前,终端平台的基带芯片(Baseband IC,BBIC)一般会有两种应用场景,一种应用场景是搭配一颗应用处理器(Application Processor,AP)共同组成系统,比如应用于终端设备;另一种应用场景是BBIC独立组成系统,比如应用于客户前置设备(Customer Premise Equipment,CPE)。With the continuous development of electronic technology, terminal devices such as smart phones and handheld computers are becoming more and more popular. At present, the baseband chip (Baseband IC, BBIC) of the terminal platform generally has two application scenarios. One application scenario is to form a system together with an application processor (Application Processor, AP), such as applied to terminal equipment; One application scenario is that BBIC independently forms a system, for example, it is applied to Customer Premise Equipment (CPE).
在这里,BBIC一般会使用一颗专用的基带电源管理芯片(Baseband Power Management IC,BB_PMIC)对其进行供电和控制。针对上述两种应用场景,对于BB_PMIC的开机、复位等控制逻辑是完全不同的。为了在BB_PMIC上实现多种控制方式,目前的BB_PMIC的控制管脚包含PON、EN、RESETIN等三个独立管脚,而且其控制逻辑也各不相同。Here, BBIC generally uses a dedicated baseband power management IC (BB_PMIC) to power and control it. For the above two application scenarios, the control logic of BB_PMIC's power-on and reset is completely different. In order to implement multiple control methods on the BB_PMIC, the current control pins of the BB_PMIC include three independent pins, PON, EN, and RESETIN, and their control logics are also different.
参见图1,其提供了一种BB_PMIC内部的组成结构示意图。如图1所示,该BB_PMIC包括有第一变换电路、状态机模块、第二变换电路以及第一管脚(Vsys)、第二管脚(VPMIC)、第三管脚(PON)、第四管脚(EN)和第五管脚(RESETIN)。其中,第一管脚(Vsys)连接外部电源(用Vsys电源表示),第二管脚(VPMIC)连接外部电容(用C1表示)。Referring to FIG. 1 , it provides a schematic diagram of the internal structure of the BB_PMIC. As shown in Figure 1, the BB_PMIC includes a first conversion circuit, a state machine module, a second conversion circuit and a first pin (Vsys), a second pin (VPMIC), a third pin (PON), a fourth pin (EN) and the fifth pin (RESETIN). Wherein, the first pin (Vsys) is connected to an external power supply (indicated by Vsys power supply), and the second pin (VPMIC) is connected to an external capacitor (indicated by C1).
Vsys电源:BB_PMIC的输入电源,一般由终端设备内的电池供电。Vsys power supply: The input power of BB_PMIC is generally powered by the battery in the terminal device.
第一变换电路:对输入电压Vsys进行电压变换,输出VPMIC电压。在本申请实施例中,第一变换电路可以为低压差线性稳压(Low Dropout Regulator,LDO)电路。The first transformation circuit: performs voltage transformation on the input voltage Vsys, and outputs a VPMIC voltage. In the embodiment of the present application, the first conversion circuit may be a low dropout regulator (Low Dropout Regulator, LDO) circuit.
第二变换电路:对输入电压Vsys进行电压变换,将其转换为BBIC可用的电压并输出。在本申请实施例中,第二变换电路可以为直流变换(Direct Current-Direct Current,DC-DC)电路。The second conversion circuit: performs voltage conversion on the input voltage Vsys, converts it into a voltage available to the BBIC and outputs it. In the embodiment of the present application, the second conversion circuit may be a DC conversion (Direct Current-Direct Current, DC-DC) circuit.
VPMIC电压:由输入电压Vsys经由LDO电路变换得到,给PMIC内部的数字电路供电。另外,在第二管脚(VPMIC)外挂一颗电容C1,可以起到滤波作用。VPMIC voltage: It is obtained by transforming the input voltage Vsys through the LDO circuit, and supplies power to the digital circuit inside the PMIC. In addition, a capacitor C1 is externally connected to the second pin (VPMIC), which can function as a filter.
状态机模块:实现PMIC的控制逻辑,控制DC-DC电路的上电/下电时序。State machine module: realize the control logic of PMIC, and control the power-on/power-off sequence of the DC-DC circuit.
PON:电源键信号,默认高电平。在电平被拉低一段时间(例如T1)后,状态机模块触发上电时序,控制DC-DC电路上电,BB_PMIC开始上电流程。PON: Power key signal, default high level. After the level is pulled low for a period of time (eg T1), the state machine module triggers the power-on sequence to control the power-on of the DC-DC circuit, and BB_PMIC starts the power-on process.
EN:使能信号,关机时为低电平。在电平被拉高时,状态机模块立刻触发上电时序,控制DC-DC电路上电,BB_PMIC开始上电流程。EN: Enable signal, low level when power off. When the level is pulled high, the state machine module immediately triggers the power-on sequence, controls the power-on of the DC-DC circuit, and BB_PMIC starts the power-on process.
RESETIN:复位信号,当BB_PMIC正常工作时,保持高电平。在电平被拉低时,状态机模块触发下电时序,控制DC-DC电路下电,BBIC被下电复位。RESETIN: reset signal, when BB_PMIC is working normally, keep high level. When the level is pulled low, the state machine module triggers the power-off sequence to control the power-off of the DC-DC circuit, and the BBIC is powered-off and reset.
下面将结合两种应用场景的系统框图进行相关技术的描述。The related technologies will be described below in combination with the system block diagrams of the two application scenarios.
(一)BBIC单独组成系统(1) BBIC constitutes a separate system
当应用于独立场景时,此时BBIC单独组成系统,即BBIC独立系统对应的框图如图2 所示。该系统框图可以包括第一电源管理芯片(BB_PMIC)、基带芯片(BBIC)、电源键和复位键。When applied to an independent scenario, the BBIC alone forms a system at this time, that is, the block diagram corresponding to the BBIC independent system is shown in FIG. 2 . The system block diagram may include a first power management chip (BB_PMIC), a baseband chip (BBIC), a power button and a reset button.
其中,电源键连接在BB_PMIC的PON管脚上,复位键连接在RESETIN管脚上,EN管脚悬空。在用户按下电源键并持续一段时间(例如T1)后,触发BB_PMIC上电时序,进而给BBIC供电。Among them, the power key is connected to the PON pin of BB_PMIC, the reset key is connected to the RESETIN pin, and the EN pin is suspended. After the user presses the power button for a period of time (such as T1), the BB_PMIC power-on sequence is triggered to supply power to the BBIC.
在开机情况下,如果BBIC工作异常,如软件跑死、无法通过软件进行关机或者重启系统等操作时,用户可以通过按下复位键,强制复位BB_PMIC,触发BB_PMIC下电时序,进而对BBIC下电,来完成对BBIC的复位重启。In the case of booting, if the BBIC works abnormally, such as the software running dead, unable to shut down or restart the system through the software, the user can force reset the BB_PMIC by pressing the reset button, trigger the power-off sequence of the BB_PMIC, and then power off the BBIC , to complete the reset and restart of the BBIC.
(二)AP+BBIC共同组成系统(2) AP+BBIC jointly form a system
当应用于组合场景时,此时BBIC与AP配合使用,例如应用于终端设备,即BBIC组合系统对应的框图如图3所示。该系统框图可以包括第一电源管理芯片(BB_PMIC)、基带芯片(BBIC)、应用处理器(AP)、第二电源管理芯片(Main_PMIC)和电源键。When applied to a combination scenario, the BBIC is used in conjunction with the AP at this time, for example, it is applied to a terminal device, that is, a corresponding block diagram of the BBIC combination system is shown in FIG. 3 . The system block diagram may include a first power management chip (BB_PMIC), a baseband chip (BBIC), an application processor (AP), a second power management chip (Main_PMIC) and a power key.
其中,AP为终端设备的应用处理器,Main_PMIC是终端设备的主电源管理芯片,负责终端设备的开关机上电操作,同时负责给AP供电。电源键挂在Main_PMIC上,BB_PMIC需要被Main_PMIC控制上电。由于Main_PMIC和BB_PMIC之间需要有严格的上电时序关系,为了严格控制时序,Main_PMIC发出的上电控制信号需要立即触发BB_PMIC上电,不能有延时,所以此时不能使用BB_PMIC的PON管脚控制BB_PMIC上电,需要使用BB_PMIC的EN信号控制BB_PMIC上电。另外,终端设备的电源键连接在Main_PMIC的PON管脚上。Main_PMIC还包括有两个通用输入输出(General-Purpose Input/Output,GPIO)管脚:GPIO_01管脚和GPIO_02管脚;其中,GPIO_01管脚连接BB_PMIC的RESETIN管脚,用于控制BB_PMIC的复位;GPIO_02管脚连接BB_PMIC的EN管脚,用于控制BB_PMIC的上电使能。BB_PMIC的PON管脚悬空不使用。Among them, the AP is the application processor of the terminal device, and Main_PMIC is the main power management chip of the terminal device, which is responsible for powering on and off of the terminal device and supplying power to the AP. The power button is hung on Main_PMIC, and BB_PMIC needs to be powered on by Main_PMIC. Since there is a strict power-on sequence relationship between Main_PMIC and BB_PMIC, in order to strictly control the sequence, the power-on control signal sent by Main_PMIC needs to immediately trigger the power-on of BB_PMIC without delay, so the PON pin control of BB_PMIC cannot be used at this time To power on BB_PMIC, you need to use the EN signal of BB_PMIC to control the power on of BB_PMIC. In addition, the power button of the terminal device is connected to the PON pin of Main_PMIC. Main_PMIC also includes two general-purpose input/output (General-Purpose Input/Output, GPIO) pins: GPIO_01 pin and GPIO_02 pin; among them, the GPIO_01 pin is connected to the RESETIN pin of BB_PMIC to control the reset of BB_PMIC; GPIO_02 The pin is connected to the EN pin of BB_PMIC to control the power-on enable of BB_PMIC. The PON pin of BB_PMIC is left floating and not used.
在用户按下电源键并持续一段时间(例如T1)后,Main_PMIC触发开机流程,输出电源给AP供电,并且通过拉高GPIO_02管脚的电平,进而拉高BB_PMIC的EN管脚,此时BB_PMIC立刻触发上电时序,BBIC上电启动。After the user presses the power button for a period of time (such as T1), Main_PMIC triggers the boot process, outputs power to supply power to the AP, and pulls up the EN pin of BB_PMIC by pulling up the level of the GPIO_02 pin. At this time, BB_PMIC The power-on sequence is triggered immediately, and the BBIC is powered on and started.
当AP检测到BBIC软件跑死、或者无法通过软件对BBIC进行重启时,AP会通知Main_PMIC,具体是通过拉低GPIO_01管脚的电平,进而拉低BB_PMIC的RESETIN管脚,此时BB_PMIC被复位,触发BB_PMIC下电时序,BBIC下电重启。When the AP detects that the BBIC software is running dead, or the BBIC cannot be restarted through the software, the AP will notify the Main_PMIC, specifically by pulling down the level of the GPIO_01 pin, and then pull down the RESETIN pin of the BB_PMIC. At this time, the BB_PMIC is reset. , trigger the BB_PMIC power-off sequence, and BBIC power-off and restart.
由此可见,在相关技术中,BB_PMIC单独设置了三个不同控制逻辑的控制管脚(具体包括:PON管脚、EN管脚和RESETIN管脚),以达到在不同场景下应用的目的。如果可以将这几个控制管脚的功能合并到一个管脚上,那么可以减少芯片的管脚数量,进而减少芯片面积,而芯片面积直接决定着芯片的制造成本,所以如果能够减少芯片的管脚数量,那么就能够降低成本。另外,这些控制信号都是系统关键信号,如果这些控制信号在电路板上被其他信号干扰,还会直接影响系统稳定性,信号数量越多,受干扰的可能性就越大;因此,如果能够合并管脚,以减少电路板上关键信号的数量,那么还能够降低被干扰的风险,增强系统稳定性。It can be seen that, in the related art, BB_PMIC separately sets three control pins of different control logics (specifically including: PON pin, EN pin and RESETIN pin), so as to achieve the purpose of application in different scenarios. If the functions of these control pins can be combined into one pin, then the number of chip pins can be reduced, thereby reducing the chip area, and the chip area directly determines the manufacturing cost of the chip, so if the chip can be reduced The number of feet can reduce the cost. In addition, these control signals are key signals of the system. If these control signals are interfered by other signals on the circuit board, it will directly affect the stability of the system. The greater the number of signals, the greater the possibility of interference; therefore, if you can Combining pins to reduce the number of key signals on the board can also reduce the risk of interference and enhance system stability.
基于此,本申请实施例提供了一种电源管理电路,该电源管理电路包括第一电源管理芯片和第一电阻,第一电源管理芯片包括第二电阻、第一开关、模数转换模块、状态机模块、第一控制管脚和第一电源管脚;其中,在第一电源管理芯片内部,第一开关与第二电阻串接在第一电源管脚和第一控制管脚之间,第一电源管脚与状态机模块连接,第一控制管脚分别与状态机模块和模数转换模块连接;在第一电源管理芯片外部,第一电阻串接在第一控制管脚与地之间。这样,由于将BB_PMIC中的电源键信号管脚(PON),使能信号管脚(EN)和复位信号管脚(RESETIN)这三个管脚合并为一个控制管脚,从而不仅能够减少BB_PMIC的芯片面积,节约制造成本;而且由于减少了电路板上的控制信号,还可以降低关键信号被干扰的风险,提高了系统稳定性。Based on this, an embodiment of the present application provides a power management circuit, the power management circuit includes a first power management chip and a first resistor, the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, the first control pin and the first power pin; wherein, inside the first power management chip, the first switch and the second resistor are connected in series between the first power pin and the first control pin, and the second A power supply pin is connected to the state machine module, and the first control pin is respectively connected to the state machine module and the analog-to-digital conversion module; outside the first power management chip, the first resistor is connected in series between the first control pin and the ground . In this way, since the three pins of the power key signal pin (PON), the enable signal pin (EN) and the reset signal pin (RESETIN) in BB_PMIC are combined into one control pin, it is not only possible to reduce the BB_PMIC The chip area saves manufacturing cost; and because the control signals on the circuit board are reduced, the risk of key signals being interfered can be reduced, and the system stability is improved.
下面将结合附图对本申请各实施例进行详细描述。Various embodiments of the present application will be described in detail below with reference to the accompanying drawings.
本申请的一实施例中,参见图4,其示出了本申请实施例提供的一种电源管理电路的组成结构示意图。如图4所示,该电源管理电路40可以包括第一电源管理芯片41和第一电阻R1,且第一电源管理芯片41可以包括状态机模块411、第二电阻R2、第一开关S1、模数转换模块(Analog-to-Digital Converter,ADC)412、第一控制管脚和第一电源管脚;其中,In an embodiment of the present application, refer to FIG. 4 , which shows a schematic structural diagram of a power management circuit provided in an embodiment of the present application. As shown in FIG. 4, the power management circuit 40 may include a first power management chip 41 and a first resistor R1, and the first power management chip 41 may include a state machine module 411, a second resistor R2, a first switch S1, a module A digital conversion module (Analog-to-Digital Converter, ADC) 412, a first control pin and a first power supply pin; wherein,
在第一电源管理芯片41内部,第一开关S1与第二电阻R2串接在第一电源管脚和第一控制管脚之间,第一电源管脚还与状态机模块411连接,第一控制管脚还与状态机模块411和模数转换模块412分别连接;Inside the first power management chip 41, the first switch S1 and the second resistor R2 are connected in series between the first power supply pin and the first control pin, and the first power supply pin is also connected to the state machine module 411, the first The control pins are also connected to the state machine module 411 and the analog-to-digital conversion module 412 respectively;
在第一电源管理芯片41外部,第一电阻R1串接在第一控制管脚与地之间。Outside the first power management chip 41 , the first resistor R1 is connected in series between the first control pin and the ground.
需要说明的是,本申请实施例的电源管理电路40可以根据在第一电阻R1的阻值不同来适应不同的应用场景。在图4中,如果此处贴装的第一电阻R1的阻值为第一值,那么通过模数转换模块412读取到的信号电压为第一电压值;否则,如果此处贴装的第一电阻R1的阻值为第二值,那么通过模数转换模块412读取到的信号电压为第二电压值。也就是说,通过贴装不同阻值的第一电阻R1,然后通过模数转换模块412读取到不同的电压值,根据这些电压值可以识别出该电源管理电路40的不同应用场景。It should be noted that the power management circuit 40 of the embodiment of the present application can adapt to different application scenarios according to the resistance value of the first resistor R1. In FIG. 4, if the resistance value of the first resistor R1 mounted here is the first value, then the signal voltage read by the analog-to-digital conversion module 412 is the first voltage value; otherwise, if the resistance value of the first resistor R1 mounted here is The resistance value of the first resistor R1 is the second value, so the signal voltage read by the analog-to-digital conversion module 412 is the second voltage value. That is to say, by attaching the first resistors R1 with different resistance values, and then reading different voltage values through the analog-to-digital conversion module 412 , different application scenarios of the power management circuit 40 can be identified according to these voltage values.
还需要说明的是,本申请实施例的电源管理电路40实现了将第一电源管理芯片41上的PON、EN和RESETIN三个管脚合并为一个第一控制管脚(用PON表示)。其主要是通过在电路板上设置不同的元器件(例如第一电阻R1、第二电阻R2、第一开关S1和模数转换模块412等),以此在状态机模块411初始化时能够识别出该电源管理电路40对应的应用场景,再以此利用状态机模块411给第一控制管脚赋予不同的控制逻辑,实现不同的控制功能,从而能够将多种控制逻辑在一个管脚(即第一控制管脚上)实现。It should also be noted that the power management circuit 40 of the embodiment of the present application realizes the combination of three pins PON, EN and RESETIN on the first power management chip 41 into one first control pin (indicated by PON). It is mainly by setting different components on the circuit board (such as the first resistor R1, the second resistor R2, the first switch S1 and the analog-to-digital conversion module 412, etc.), so that it can be identified when the state machine module 411 is initialized. According to the application scenario corresponding to the power management circuit 40, the state machine module 411 is used to assign different control logics to the first control pin to realize different control functions, so that multiple control logics can be integrated into one pin (that is, the first pin A control pin) to achieve.
具体来讲,在一些实施例中,模数转换模块412,用于在闭合第一开关S1后,读取第一控制管脚处的信号电压;Specifically, in some embodiments, the analog-to-digital conversion module 412 is configured to read the signal voltage at the first control pin after closing the first switch S1;
状态机模块411,用于在信号电压满足第一预设区间时,通过第一控制管脚触发第一电源管理芯片41的上电功能或复位功能;或者,在信号电压满足第二预设区间时,通过外部控制模块和第一控制管脚触发第一电源管理芯片41的上电功能或复位功能。The state machine module 411 is used to trigger the power-on function or reset function of the first power management chip 41 through the first control pin when the signal voltage meets the first preset interval; or, when the signal voltage meets the second preset interval , the power-on function or reset function of the first power management chip 41 is triggered through the external control module and the first control pin.
进一步地,在一些实施例中,状态机模块411可以包括寄存器单元(图中未示出);其中,Further, in some embodiments, the state machine module 411 may include a register unit (not shown in the figure); wherein,
寄存器单元,用于存储模数转换模块412读取的信号电压,并在存储完成后断开第一开关S1;A register unit, configured to store the signal voltage read by the analog-to-digital conversion module 412, and disconnect the first switch S1 after the storage is completed;
状态机模块411,具体用于从寄存器单元中读取信号电压,将信号电压与预设区间进行比较;其中,在信号电压满足第一预设区间时,通过第一控制管脚触发第一电源管理芯片41的上电功能或复位功能;或者,在信号电压满足第二预设区间时,通过外部控制模块和第一控制管脚触发第一电源管理芯片41的上电功能或复位功能。The state machine module 411 is specifically used to read the signal voltage from the register unit, and compare the signal voltage with the preset interval; wherein, when the signal voltage satisfies the first preset interval, trigger the first power supply through the first control pin Manage the power-on function or reset function of the chip 41; or, when the signal voltage meets the second preset interval, trigger the power-on function or reset function of the first power management chip 41 through the external control module and the first control pin.
也就是说,在本申请实施例中,首先需要闭合第一开关S1,然后通过模数转换模块412读取第一控制管脚处的信号电压;再将该信号电压存储到状态机模块411的寄存器单元中,之后断开第一开关S1。这时候,状态机模块411可以从寄存器单元中读取信号电压,将其与预设区间(包括第一预设区间和/或第二预设区间等)进行比较;当信号电压满足第一预设区间时,这时候应用于独立场景,通过第一控制管脚触发第一电源管理芯片41的上电功能或复位功能;或者,当信号电压满足第二预设区间时,这时候应用于组合场景,通过外部控制模块和第一控制管脚触发第一电源管理芯片41的上电功能或复位功能,从而实现不同应用场景下的不同控制功能。That is to say, in the embodiment of the present application, the first switch S1 needs to be closed first, and then the signal voltage at the first control pin is read through the analog-to-digital conversion module 412; and then the signal voltage is stored in the state machine module 411 In the register unit, the first switch S1 is then opened. At this time, the state machine module 411 can read the signal voltage from the register unit, and compare it with the preset interval (including the first preset interval and/or the second preset interval, etc.); When the interval is set, this time is applied to an independent scene, and the power-on function or reset function of the first power management chip 41 is triggered through the first control pin; or, when the signal voltage meets the second preset interval, this time is applied to the combination In different scenarios, the power-on function or reset function of the first power management chip 41 is triggered by the external control module and the first control pin, so as to realize different control functions in different application scenarios.
在一些实施例中,在图4所示电源管理电路40的基础上,参见图5,第一电源管理芯片41还可以包括第一变换电路413和第二电源管脚;其中,In some embodiments, on the basis of the power management circuit 40 shown in FIG. 4, referring to FIG. 5, the first power management chip 41 may further include a first conversion circuit 413 and a second power pin; wherein,
第二电源管脚,与外部电源连接,用于为第一电源管理芯片提供输入电压;The second power supply pin is connected to an external power supply, and is used to provide an input voltage for the first power management chip;
第一变换电路413,用于对输入电压进行电压变换,生成供电电压;The first conversion circuit 413 is configured to perform voltage conversion on the input voltage to generate a supply voltage;
第一电源管脚,用于接收供电电压,并根据供电电压为状态机模块411供电,以实现状态机模块411和模数转换模块412的初始化。The first power supply pin is used to receive a power supply voltage, and supply power to the state machine module 411 according to the power supply voltage, so as to realize the initialization of the state machine module 411 and the analog-to-digital conversion module 412 .
在一种具体的示例中,第一变换电路413可以为LDO电路。In a specific example, the first conversion circuit 413 may be an LDO circuit.
需要说明的是,在本申请实施例中,外部电源可以用Vsys电源表示,第一控制管脚可以用PON管脚表示,第一电源管脚可以用VPMIC管脚表示,第二电源管脚可以用Vsys管脚表示。It should be noted that, in this embodiment of the application, the external power supply can be represented by Vsys power supply, the first control pin can be represented by PON pin, the first power supply pin can be represented by VPMIC pin, and the second power supply pin can be represented by Represented by the Vsys pin.
还需要说明的是,第二电源管脚与Vsys电源连接,这时候为第一电源管理芯片41提供的输入电压可以用Vsys电压表示;而通过第一变换电路413生成的供电电压可以用VPMIC电压表示。这样,在Vsys电压建立之后,VPMIC电压建立,此时可以实现状态机模块411的初始化,以及模数转换模块412的初始化。It should also be noted that the second power supply pin is connected to the Vsys power supply. At this time, the input voltage provided for the first power management chip 41 can be represented by the Vsys voltage; and the power supply voltage generated by the first conversion circuit 413 can be represented by the VPMIC voltage. express. In this way, after the voltage of Vsys is established, the voltage of VPMIC is established, at this time, the initialization of the state machine module 411 and the initialization of the analog-to-digital conversion module 412 can be realized.
进一步地,在一些实施例中,参见图5,该电源管理电路40还可以包括第一电容C1;其中,第一电容C1的一端与第一电源管脚连接,第一电容C1的另一端接地。这里,第一电容C1主要是对第一电源管脚处的VPMIC电压起到滤波作用。Further, in some embodiments, referring to FIG. 5 , the power management circuit 40 may further include a first capacitor C1; wherein, one end of the first capacitor C1 is connected to the first power supply pin, and the other end of the first capacitor C1 is grounded. . Here, the first capacitor C1 mainly functions to filter the VPMIC voltage at the first power supply pin.
进一步地,在一些实施例中,参见图5,第一电源管理芯片41还可以包括第二变换电路414;其中,Further, in some embodiments, referring to FIG. 5 , the first power management chip 41 may further include a second conversion circuit 414; wherein,
状态机模块411,还用于根据第一控制管脚处的信号电平状态,生成控制电源时序;The state machine module 411 is further configured to generate a control power supply sequence according to the signal level state at the first control pin;
第二变换电路414,用于根据该控制电源时序对输入电压进行电压变换,生成目标电压。The second conversion circuit 414 is configured to perform voltage conversion on the input voltage according to the control power sequence to generate a target voltage.
在一种具体的示例中,第二变换电路414可以为DC-DC电路。In a specific example, the second converting circuit 414 may be a DC-DC circuit.
需要说明的是,第一电源管理芯片41可以为基带电源管理芯片(BB_PMIC)。这样,在电源管理系统中,除了电源管理电路40之外,还可以包括基带芯片(BBIC),其中,第一电源管理芯片41能够为基带芯片(BBIC)进行供电和电源控制,这里的目标电压即为BB_PMIC提供给BBIC的电源输出。It should be noted that the first power management chip 41 may be a baseband power management chip (BB_PMIC). In this way, in the power management system, in addition to the power management circuit 40, a baseband chip (BBIC) can also be included, wherein the first power management chip 41 can supply power and power control for the baseband chip (BBIC), where the target voltage It is the power output provided by BB_PMIC to BBIC.
还需要说明的是,在状态机模块411和模数转换模块412初始化之后,这时候第一控制管脚处的信号电压与贴装的第一电阻R1的阻值大小有关。具体来讲,信号电压可以由第一电阻R1和第二电阻R2之间的分压得到。在一些实施例中,第一电阻R1,用于在阻值为第一值的情况下,使得通过模数转换模块412读取到的信号电压满足第一预设区间;或者,在阻值为第二值的情况下,使得通过模数转换模块412读取到的信号电压满足第二预设区间。It should also be noted that, after the state machine module 411 and the analog-to-digital conversion module 412 are initialized, the signal voltage at the first control pin is related to the resistance value of the mounted first resistor R1. Specifically, the signal voltage can be obtained by dividing the voltage between the first resistor R1 and the second resistor R2. In some embodiments, the first resistor R1 is used to make the signal voltage read by the analog-to-digital conversion module 412 satisfy the first preset interval when the resistance value is the first value; or, when the resistance value is In the case of the second value, the signal voltage read by the analog-to-digital conversion module 412 satisfies the second preset interval.
也就是说,通过贴装不同阻值的第一电阻R1,模数转换模块412读取到的信号电压可以为不同的电压值,在将信号电压存储到状态机模块411的寄存器单元中之后,由状态机模块411从寄存器单元中读取信号电压,并确定该信号电压是满足第一预设区间还是满足第二预设区间,进而识别出不同的应用场景。That is to say, by attaching the first resistor R1 with different resistance values, the signal voltage read by the analog-to-digital conversion module 412 can be a different voltage value. After the signal voltage is stored in the register unit of the state machine module 411, The state machine module 411 reads the signal voltage from the register unit, and determines whether the signal voltage satisfies the first preset interval or the second preset interval, thereby identifying different application scenarios.
示例性地,对于第一电阻R1和第二电阻R2来说,假定第二电阻R2的阻值可以为100K欧姆(Ω),这时候如果第一电阻R1的阻值为2.2KΩ,那么可以确定模数转换模块412读取到的信号电压满足第一预设区间;如果第一电阻R1的阻值可以为4.7KΩ,那么可以确定模数转换模块412读取到的信号电压满足第二预设区间,但是并不作任何限定。Exemplarily, for the first resistor R1 and the second resistor R2, it is assumed that the resistance value of the second resistor R2 can be 100K ohms (Ω), at this time, if the resistance value of the first resistor R1 is 2.2KΩ, then it can be determined The signal voltage read by the analog-to-digital conversion module 412 satisfies the first preset interval; if the resistance value of the first resistor R1 can be 4.7KΩ, then it can be determined that the signal voltage read by the analog-to-digital conversion module 412 satisfies the second preset interval interval, but without any limitation.
可以理解的是,电源管理电路40按照应用场景至少可以分为独立电源管理电路和组合电源管理电路。在一些实施例中,对于状态机模块411来说,其还可以用于若信号电压满足第一预设区间,则确定应用于独立电源管理电路;或者,若信号电压满足第二预设区间,则确定应用于组合电源管理电路。It can be understood that, according to application scenarios, the power management circuit 40 can be at least divided into an independent power management circuit and a combined power management circuit. In some embodiments, for the state machine module 411, it can also be used to determine that the signal voltage is applied to an independent power management circuit if the signal voltage satisfies the first preset interval; or, if the signal voltage satisfies the second preset interval, It is determined to apply to the combination power management circuit.
在本申请实施例中,如果应用于独立场景,这时候可以为独立电源管理电路,其是由电源管理电路40单独组成的,即独立电源管理电路包括第一电源管理芯片41和第一电阻 R1;如果应用于组合场景,这时候可以为组合电源管理电路,其是由电源管理电路40与外部控制模块共同组成的,即组合电源管理电路包括第一电源管理芯片41、第一电阻R1和外部控制模块。In the embodiment of the present application, if it is applied to an independent scene, it can be an independent power management circuit at this time, which is composed of the power management circuit 40 alone, that is, the independent power management circuit includes the first power management chip 41 and the first resistor R1 ; If it is applied to a combined scene, it can be a combined power management circuit at this time, which is composed of a power management circuit 40 and an external control module, that is, the combined power management circuit includes a first power management chip 41, a first resistor R1 and an external control module.
在一些实施例中,对于独立电源管理电路而言,参见图6,独立电源管理电路60可以包括第一电源管理芯片41和第一电阻R1。其中,在第一电源管理芯片41内部,第一开关S1与第二电阻R2串接在第一电源管脚和第一控制管脚之间,第一电源管脚还与状态机模块411连接,第一控制管脚还与状态机模块411和模数转换模块412分别连接;在第一电源管理芯片41外部,第一控制管脚挂接第一电阻R1后连接到地。In some embodiments, for an independent power management circuit, referring to FIG. 6 , the independent power management circuit 60 may include a first power management chip 41 and a first resistor R1. Wherein, inside the first power management chip 41, the first switch S1 and the second resistor R2 are connected in series between the first power pin and the first control pin, and the first power pin is also connected to the state machine module 411, The first control pin is also connected to the state machine module 411 and the analog-to-digital conversion module 412 respectively; outside the first power management chip 41 , the first control pin is connected to the ground after being connected to the first resistor R1.
在本申请实施例中,状态机模块411,具体用于配置第一控制管脚的功能为电源键功能,以使得在断开第一开关S1后,当第一控制管脚处的信号电平状态发生变化时,触发第一电源管理芯片41的上电功能或复位功能。In this embodiment of the application, the state machine module 411 is specifically used to configure the function of the first control pin as the power key function, so that after the first switch S1 is turned off, when the signal level at the first control pin is When the state changes, the power-on function or reset function of the first power management chip 41 is triggered.
进一步地,在一些实施例中,参见图6,独立电源管理电路60还可以包括电源键K1,电源键K1的一端与第一控制管脚连接,电源键K1的另一端接地;其中,Further, in some embodiments, referring to FIG. 6 , the independent power management circuit 60 may further include a power key K1, one end of the power key K1 is connected to the first control pin, and the other end of the power key K1 is grounded; wherein,
电源键K1,用于在接收到第一操作指令时,控制第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,且在第二电平状态持续第一预设时间后,触发第一电源管理芯片41的上电操作,以实现上电功能。The power key K1 is used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the first operation instruction, and the second level state lasts for the first time After a preset time, the power-on operation of the first power management chip 41 is triggered to realize the power-on function.
另外,在一些实施例中,当终端设备工作异常,例如基带芯片的软件跑死、无法通过软件正常关机或者重启时,这时候需要对第一电源管理芯片41进行复位。其中,In addition, in some embodiments, when the terminal device works abnormally, for example, the software of the baseband chip runs to death, or cannot be shut down or restarted normally through the software, it is necessary to reset the first power management chip 41 at this time. in,
电源键K1,还用于在接收到第二操作指令时,控制第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,且在第二电平状态持续第二预设时间后,触发第一电源管理芯片41的下电重启操作,以实现复位功能。The power key K1 is also used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the second operation instruction, and the second level state lasts for the second time After a preset time, the power-off and restart operation of the first power management chip 41 is triggered to realize the reset function.
其中,第一电平状态为高电平,第二电平状态为低电平。Wherein, the first level state is high level, and the second level state is low level.
需要说明的是,第一操作指令是根据用户对电源键执行持续第一预设时间的按压操作生成的,第二操作指令是根据用户对电源键执行持续第二预设时间的按压操作生成的。It should be noted that the first operation instruction is generated according to the user pressing the power key for a first preset time, and the second operation instruction is generated according to the user pressing the power key for a second preset time. .
在本申请实施例中,第一预设时间小于第二预设时间。其中,第一预设时间可以用T1表示,第二预设时间可以用T2表示。在一种具体的示例中,第一预设时间可设置为1秒,第二预设时间可设置为10秒。In the embodiment of the present application, the first preset time is shorter than the second preset time. Wherein, the first preset time may be represented by T1, and the second preset time may be represented by T2. In a specific example, the first preset time can be set to 1 second, and the second preset time can be set to 10 seconds.
也就是说,当电源键被按下时,第一控制管脚处的PON信号被拉低,且持续T1时间后,状态机模块411触发上电时序,第一电源管理芯片41开始上电,基带芯片上电启动。如果终端设备工作异常而无法通过软件正常关机或者重启时,那么还可以通过长时间按压电源键,且持续T2时间后,状态机模块411触发下电时序,第一电源管理芯片41进行强制复位操作,基带芯片下电重启。That is to say, when the power button is pressed, the PON signal at the first control pin is pulled down, and after a duration of T1, the state machine module 411 triggers the power-on sequence, and the first power management chip 41 starts to power on, The baseband chip is powered on and started. If the terminal device works abnormally and cannot be shut down or restarted normally through the software, it is also possible to press the power button for a long time, and after T2 time, the state machine module 411 triggers the power-off sequence, and the first power management chip 41 performs a forced reset operation. , the baseband chip is powered off and restarted.
在一些实施例中,对于组合电源管理电路而言,外部控制模块可以包括第二电源管理芯片和应用处理器。参见图7,组合电源管理电路70可以包括第一电源管理芯片41、第一电阻R1、第二电源管理芯片71和应用处理器72,第二电源管理芯片71可以包括第二控制管脚和通用输入输出管脚,且通用输入输出管脚与第一控制管脚连接;其中,In some embodiments, for combined power management circuits, the external control module may include a second power management chip and an application processor. 7, the combined power management circuit 70 may include a first power management chip 41, a first resistor R1, a second power management chip 71 and an application processor 72, and the second power management chip 71 may include a second control pin and a common Input and output pins, and the general input and output pins are connected to the first control pin; wherein,
状态机模块411,具体用于配置第一控制管脚的功能为使能复位功能,以使得在断开第一开关S1后,当第一控制管脚处的信号电平状态发生变化时,触发第一电源管理芯片41的上电功能或复位功能。The state machine module 411 is specifically used to configure the function of the first control pin to enable the reset function, so that after the first switch S1 is turned off, when the signal level state at the first control pin changes, trigger The power-on function or reset function of the first power management chip 41 .
进一步地,在一些实施例中,参见图7,组合电源管理电路70还可以包括电源键K1,电源键K1的一端与第二控制管脚连接,电源键K1的另一端接地;其中,Further, in some embodiments, referring to FIG. 7 , the combined power management circuit 70 may further include a power key K1, one end of the power key K1 is connected to the second control pin, and the other end of the power key K1 is grounded; wherein,
电源键K1,用于在接收到第三操作指令时,控制第二电源管理芯片71开始上电;The power key K1 is used to control the second power management chip 71 to start powering on when receiving the third operation instruction;
第二电源管理芯片71,用于在所述上电之后,通过通用输入输出管脚控制第一控制管脚处的信号电平由第二电平状态调整为第一电平状态,触发第一电源管理芯片的上电操作,以实现上电功能。The second power management chip 71 is used to control the signal level at the first control pin from the second level state to the first level state through the general-purpose input and output pins after the power-on, and trigger the first The power-on operation of the power management chip to realize the power-on function.
另外,在一些实施例中,当终端设备工作异常,例如基带芯片的软件跑死、无法通过软件正常关机或者重启时,这时候需要通过第二电源管理芯片71和应用处理器72对第一电源管理芯片41进行复位。其中,In addition, in some embodiments, when the terminal device works abnormally, for example, the software of the baseband chip runs to death, and cannot be shut down or restarted normally through the software, it is necessary to use the second power management chip 71 and the application processor 72 to control the first power supply. The management chip 41 is reset. in,
应用处理器72,用于向第二电源管理芯片71发送复位命令;The application processor 72 is configured to send a reset command to the second power management chip 71;
第二电源管理芯片71,还用于根据该复位命令,通过通用输入输出管脚控制第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,触发第一电源管理芯片41的下电操作;以及在第三预设时间之后,通过通用输入输出管脚再次控制第一控制管脚处的信号电平由第二电平状态调整为第一电平状态,触发第一电源管理芯片41的重新上电操作,以实现复位功能。The second power management chip 71 is also used to control the signal level at the first control pin from the first level state to the second level state through the general-purpose input and output pins according to the reset command, and trigger the first power supply The power-off operation of the management chip 41; and after the third preset time, the signal level at the first control pin is controlled again by the general-purpose input and output pins to be adjusted from the second level state to the first level state, triggering The power-on operation of the first power management chip 41 is implemented to realize the reset function.
其中,第一电平状态为高电平,第二电平状态为低电平。Wherein, the first level state is high level, and the second level state is low level.
需要说明的是,第三操作指令是根据用户对电源键执行按压操作生成的。另外,第三预设时间用T3表示,第三预设时间的取值可设置为毫秒级,示例性地,第三预设时间为20毫秒,但是并不作任何限定。It should be noted that the third operation instruction is generated according to the user pressing the power key. In addition, the third preset time is denoted by T3, and the value of the third preset time can be set to a millisecond level. Exemplarily, the third preset time is 20 milliseconds, but it is not limited thereto.
还需要说明的是,第二控制管脚也可以用PON管脚表示,通用输入输出管脚可以用GPIO_0管脚表示。在本申请实施例中,第二电源管理芯片71的PON管脚与电源键连接,第二电源管理芯片71的GPIO_01管脚与第一电源管理芯片41的PON管脚连接,用于实现第一电源管理芯片41的上电功能或复位功能。It should also be noted that the second control pin may also be represented by a PON pin, and the general-purpose input and output pin may be represented by a GPIO_0 pin. In the embodiment of the present application, the PON pin of the second power management chip 71 is connected to the power key, and the GPIO_01 pin of the second power management chip 71 is connected to the PON pin of the first power management chip 41 to realize the first The power-on function or reset function of the power management chip 41 .
也就是说,当电源键被按下时,第二控制管脚处的PON信号被拉低,第二电源管理芯片71开始上电,然后将第一控制管脚处的PON信号拉高,使得第一电源管理芯片41开始上电,基带芯片上电启动。如果终端设备工作异常而无法通过软件正常关机或者重启时,应用处理器72通知第二电源管理芯片71将第一控制管脚处的PON信号拉低,第一电源管理芯片41下电,并在经过T3时间后,第二电源管理芯片71再将第一控制管脚处的PON信号拉高,基带芯片重新上电。That is to say, when the power key is pressed, the PON signal at the second control pin is pulled low, and the second power management chip 71 starts to power on, and then the PON signal at the first control pin is pulled high, so that The first power management chip 41 starts to be powered on, and the baseband chip is powered on to start. If the terminal device works abnormally and cannot be shut down or restarted normally through the software, the application processor 72 notifies the second power management chip 71 to pull down the PON signal at the first control pin, and the first power management chip 41 is powered off. After the time T3 elapses, the second power management chip 71 pulls the PON signal at the first control pin high again, and the baseband chip is powered on again.
还需要说明的是,由于第一电阻R1的阻值可以有多个,对应也可以设置多个预设区间,从而能够实现更多种应用场景的区分。换言之,本申请实施例并不局限于独立场景下的独立电源管理电路和组合场景下的组合电源管理电路,还可以对应其他应用场景,使得第一电源管理芯片(即基带电源管理芯片,用BB_PMIC表示)的功能具有可扩展性。It should also be noted that since the first resistor R1 can have multiple resistance values, multiple preset intervals can also be set correspondingly, so that more types of application scenarios can be distinguished. In other words, the embodiment of the present application is not limited to the independent power management circuit in the independent scenario and the combined power management circuit in the combined scenario, and can also correspond to other application scenarios, so that the first power management chip (that is, the baseband power management chip, uses BB_PMIC Indicates that the function is extensible.
本实施例提供了一种电源管理电路,该电源管理电路包括第一电源管理芯片和第一电阻,第一电源管理芯片包括第二电阻、第一开关、模数转换模块、状态机模块、第一控制管脚和第一电源管脚;其中,在第一电源管理芯片内部,第一开关与第二电阻串接在第一电源管脚和第一控制管脚之间,第一电源管脚还与状态机模块连接,第一控制管脚还与状态机模块和模数转换模块分别连接;在第一电源管理芯片外部,第一电阻串接在第一控制管脚与地之间。这样,由于将第一电源管理芯片上的PON、EN和RESETIN三个管脚合并为一个控制管脚,从而不仅能够减少芯片面积,节约制造成本;而且由于减少了电路板上的控制信号,还可以降低关键信号被干扰的风险,提高了系统稳定性。This embodiment provides a power management circuit. The power management circuit includes a first power management chip and a first resistor. The first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, and a second resistor. A control pin and a first power pin; wherein, inside the first power management chip, the first switch and the second resistor are connected in series between the first power pin and the first control pin, and the first power pin It is also connected to the state machine module, and the first control pin is also connected to the state machine module and the analog-to-digital conversion module respectively; outside the first power management chip, the first resistor is connected in series between the first control pin and the ground. Like this, because three pins of PON, EN and RESETIN on the first power management chip are merged into one control pin, thereby not only can reduce chip area, save manufacturing cost; The risk of key signal being interfered can be reduced, and the system stability is improved.
本申请的另一实施例中,参见图8,其示出了本申请实施例提供的一种电源控制方法的流程示意图。如图8所示,该方法可以包括:In another embodiment of the present application, refer to FIG. 8 , which shows a schematic flowchart of a power control method provided in an embodiment of the present application. As shown in Figure 8, the method may include:
S801:在闭合第一开关后,通过模数转换模块读取第一控制管脚处的信号电压。S801: After closing the first switch, read the signal voltage at the first control pin through the analog-to-digital conversion module.
需要说明的是,该方法应用于前述实施例所述的电源管理电路40。在该电源管理电路中,其可以包括第一电源管理芯片和第一电阻,第一电源管理芯片包括第二电阻、第一开关、模数转换模块、状态机模块、第一控制管脚和第一电源管脚。具体地,在第一电源管理芯片内部,第一开关与第二电阻串接在第一电源管脚和第一控制管脚之间,第一电源管脚还与状态机模块连接,第一控制管脚还与状态机模块和模数转换模块分别连接;在第一电源管理芯片外部,第一电阻串接在第一控制管脚与地之间。It should be noted that this method is applied to the power management circuit 40 described in the foregoing embodiments. In the power management circuit, it may include a first power management chip and a first resistor, and the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, a first control pin, and a second resistor. A power pin. Specifically, inside the first power management chip, the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, the first power supply pin is also connected to the state machine module, and the first control The pins are also respectively connected to the state machine module and the analog-to-digital conversion module; outside the first power management chip, the first resistor is connected in series between the first control pin and the ground.
这样,在闭合第一开关之后,根据第一电阻与第二电阻之间的分压,通过模数转换模 块可以读取到第一控制管脚处的信号电压。另外,由于贴装不同阻值的第一电阻,那么通过模数转换模块可以读取到不同的电压值,根据这些电压值可以识别出该电源管理电路的不同应用场景。In this way, after the first switch is closed, the signal voltage at the first control pin can be read through the analog-to-digital conversion module according to the voltage division between the first resistor and the second resistor. In addition, since the first resistors with different resistance values are mounted, different voltage values can be read through the analog-to-digital conversion module, and different application scenarios of the power management circuit can be identified according to these voltage values.
在一些实施例中,在闭合第一开关之前,该方法还可以包括:In some embodiments, before closing the first switch, the method may further include:
接收外部电源为第一电源管理芯片提供的输入电压;receiving an input voltage provided by an external power supply for the first power management chip;
对输入电压进行电压变换,生成供电电压;Perform voltage conversion on the input voltage to generate a supply voltage;
根据供电电压为状态机模块供电,以实现状态机模块和模数转换模块的初始化。The state machine module is powered according to the power supply voltage to realize the initialization of the state machine module and the analog-to-digital conversion module.
在本申请实施例中,外部电源可以用Vsys电源表示。第二电源管脚与Vsys电源连接,这时候为第一电源管理芯片提供的输入电压可以用Vsys电压表示;而通过电压变换生成的供电电压可以用VPMIC电压表示。这样,在Vsys电压建立之后,VPMIC电压建立,此时可以实现状态机模块和模数转换模块的初始化。In this embodiment of the present application, the external power supply may be represented by a Vsys power supply. The second power supply pin is connected to the Vsys power supply. At this time, the input voltage provided for the first power management chip can be represented by the Vsys voltage; and the power supply voltage generated through voltage conversion can be represented by the VPMIC voltage. In this way, after the Vsys voltage is established, the VPMIC voltage is established, and at this time, the state machine module and the analog-to-digital conversion module can be initialized.
需要说明的是,在状态机模块和模数转换模块初始化之后,这时候第一控制管脚处的信号电压与贴装的第一电阻的阻值大小有关。在一些实施例中,该方法还可以包括:在第一电阻的阻值为第一值的情况下,确定信号电压满足第一预设区间;或者,在第一电阻的阻值为第二值的情况下,确定信号电压满足所述第二预设区间。It should be noted that after the initialization of the state machine module and the analog-to-digital conversion module, the signal voltage at the first control pin is related to the resistance value of the mounted first resistor. In some embodiments, the method may further include: when the resistance of the first resistor is a first value, determining that the signal voltage satisfies a first preset interval; or, when the resistance of the first resistor is a second value In the case of , it is determined that the signal voltage satisfies the second preset interval.
进一步地,在一些实施例中,在通过模数转换模块读取第一控制管脚处的信号电压之后,该方法还可以包括:将信号电压存储至状态机模块中的寄存器单元,并在存储完成后断开第一开关。Further, in some embodiments, after the signal voltage at the first control pin is read by the analog-to-digital conversion module, the method may further include: storing the signal voltage into a register unit in the state machine module, and storing Turn off the first switch when finished.
也就是说,通过贴装不同阻值的第一电阻,模数转换模块读取到的信号电压可以为不同的电压值,在将信号电压存储到状态机模块411的寄存器单元中之后,由状态机模块411从寄存器单元中读取信号电压,并确定该信号电压是满足第一预设区间还是满足第二预设区间,进而识别出不同的应用场景。That is to say, by attaching the first resistors with different resistance values, the signal voltages read by the analog-to-digital conversion module can be different voltage values. After the signal voltages are stored in the register unit of the state machine module 411, the state The machine module 411 reads the signal voltage from the register unit, and determines whether the signal voltage satisfies the first preset interval or the second preset interval, and then identifies different application scenarios.
S802:通过状态机模块将所述信号电压与预设区间进行比较,根据比较结果确定应用于所述独立电源管理电路或者所述组合电源管理电路。S802: Using a state machine module to compare the signal voltage with a preset interval, and determine to apply to the independent power management circuit or the combined power management circuit according to the comparison result.
需要说明的是,电源管理电路按照应用场景至少可以分为独立电源管理电路和组合电源管理电路。具体来讲,在通过状态机模块将信号电压与预设区间进行比较之后,所述根据比较结果确定应用于独立电源管理电路或者组合电源管理电路,可以包括:It should be noted that, according to application scenarios, power management circuits can be at least divided into independent power management circuits and combined power management circuits. Specifically, after the signal voltage is compared with the preset interval by the state machine module, the determination to apply to the independent power management circuit or combined power management circuit according to the comparison result may include:
若信号电压满足第一预设区间,则确定应用于独立电源管理电路;或者,If the signal voltage satisfies the first preset interval, it is determined to be applied to an independent power management circuit; or,
若信号电压满足第二预设区间,则确定应用于组合电源管理电路。If the signal voltage satisfies the second preset interval, it is determined to apply to the combined power management circuit.
具体来说,如果应用于独立场景,这时候可以为独立电源管理电路,其是由电源管理电路单独组成的,即独立电源管理电路包括第一电源管理芯片和第一电阻;如果应用于组合场景,这时候可以为组合电源管理电路,其是由电源管理电路与外部控制模块共同组成的,即组合电源管理电路包括第一电源管理芯片、第一电阻和外部控制模块。Specifically, if it is applied to an independent scenario, it can be an independent power management circuit at this time, which is composed of a power management circuit alone, that is, the independent power management circuit includes a first power management chip and a first resistor; if it is applied to a combined scenario , this time may be a combined power management circuit, which is composed of a power management circuit and an external control module, that is, the combined power management circuit includes a first power management chip, a first resistor and an external control module.
S803:当确定应用于独立电源管理电路时,通过第一控制管脚触发第一电源管理芯片的上电功能或复位功能。S803: When it is determined to be applied to an independent power management circuit, trigger a power-on function or a reset function of the first power management chip through the first control pin.
需要说明的是,本申请实施例的状态机模块配置第一控制管脚的功能为电源键功能。对于S803来说,所述通过第一控制管脚触发第一电源管理芯片的上电功能或复位功能,可以包括:It should be noted that the state machine module in the embodiment of the present application configures the function of the first control pin as a power button function. For S803, the triggering the power-on function or reset function of the first power management chip through the first control pin may include:
在接收到第一操作指令时,控制第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,且在第二电平状态持续第一预设时间后,触发第一电源管理芯片的上电操作,以实现上电功能;或者,When the first operation instruction is received, the signal level at the first control pin is controlled to be adjusted from the first level state to the second level state, and after the second level state lasts for the first preset time, trigger The power-on operation of the first power management chip, so as to realize the power-on function; or,
在接收到第二操作指令时,控制第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,且在第二电平状态持续第二预设时间后,触发第一电源管理芯片的下电重启操作,以实现复位功能。When receiving the second operation instruction, control the signal level at the first control pin to be adjusted from the first level state to the second level state, and after the second level state lasts for a second preset time, trigger The power-off and restart operation of the first power management chip is implemented to realize the reset function.
在本申请实施例中,第一操作指令是根据用户对电源键执行持续第一预设时间的按压 操作生成的,第二操作指令是根据用户对电源键执行持续第二预设时间的按压操作生成的。In the embodiment of the present application, the first operation instruction is generated according to the user pressing the power button for a first preset time, and the second operation instruction is generated according to the user pressing the power button for a second preset time Generated.
在本申请实施例中,第一预设时间小于第二预设时间。其中,第一预设时间可以用T1表示,第二预设时间可以用T2表示。在一种具体的示例中,第一预设时间可设置为1秒,第二预设时间可设置为10秒。In the embodiment of the present application, the first preset time is shorter than the second preset time. Wherein, the first preset time may be represented by T1, and the second preset time may be represented by T2. In a specific example, the first preset time can be set to 1 second, and the second preset time can be set to 10 seconds.
也就是说,当电源键被按下时,第一控制管脚处的PON信号被拉低,且持续T1时间后,状态机模块触发上电时序,第一电源管理芯片开始上电,基带芯片上电启动。如果终端设备工作异常而无法通过软件正常关机或者重启时,那么还可以通过长时间按压电源键,且持续T2时间后,状态机模块触发下电时序,第一电源管理芯片进行强制复位操作,基带芯片下电重启。That is to say, when the power button is pressed, the PON signal at the first control pin is pulled low, and after a duration of T1, the state machine module triggers the power-on sequence, the first power management chip starts to power on, and the baseband chip Power on and start. If the terminal device works abnormally and cannot be shut down or restarted normally through the software, you can also press the power button for a long time, and after T2 time, the state machine module triggers the power-off sequence, and the first power management chip performs a forced reset operation. The chip is powered off and restarted.
S804:当确定应用于组合电源管理电路时,通过外部控制模块和第一控制管脚触发第一电源管理芯片的上电功能或复位功能。S804: When it is determined to be applied to a combined power management circuit, trigger a power-on function or a reset function of the first power management chip through the external control module and the first control pin.
需要说明的是,本申请实施例的状态机模块配置第一控制管脚的功能为使能复位功能。对于S804来说,所述通过外部控制模块和第一控制管脚触发第一电源管理芯片的上电功能或复位功能,可以包括:It should be noted that, in the state machine module of the embodiment of the present application, the function of configuring the first control pin is to enable a reset function. For S804, the triggering the power-on function or reset function of the first power management chip through the external control module and the first control pin may include:
根据接收到第三操作指令,在第二电源管理芯片开始上电之后,控制第一控制管脚处的信号电平由第二电平状态调整为第一电平状态,触发第一电源管理芯片的上电操作,以实现上电功能;或者,According to receiving the third operation instruction, after the second power management chip starts to be powered on, control the signal level at the first control pin to be adjusted from the second level state to the first level state, triggering the first power management chip The power-on operation to realize the power-on function; or,
在第二电源管理芯片接收到应用处理器发送的复位命令之后,控制第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,触发第一电源管理芯片的下电操作;以及在第三预设时间之后再次控制第一控制管脚处的信号电平由第二电平状态调整为第一电平状态,触发第一电源管理芯片的重新上电操作,以实现复位功能。After the second power management chip receives the reset command sent by the application processor, it controls the signal level at the first control pin to be adjusted from the first level state to the second level state, triggering the first power management chip to switch off. Electrical operation; and after the third preset time, control the signal level at the first control pin again to be adjusted from the second level state to the first level state, triggering the re-power-on operation of the first power management chip, to Realize the reset function.
在本申请实施例中,外部控制模块可以包括第二电源管理芯片和应用处理器。其中,第二电源管理芯片的第二控制管脚与电源键连接,第二电源管理芯片的通用输入输出管脚与第一电源管理芯片的第一控制管脚连接,以实现第一电源管理芯片的上电功能或复位功能。In the embodiment of the present application, the external control module may include a second power management chip and an application processor. Wherein, the second control pin of the second power management chip is connected to the power key, and the general-purpose input and output pins of the second power management chip are connected to the first control pin of the first power management chip, so as to realize the first power management chip power-on function or reset function.
也就是说,当电源键被按下时,第二控制管脚处的PON信号被拉低,第二电源管理芯片开始上电,然后将第一控制管脚处的PON信号拉高,使得第一电源管理芯片开始上电,基带芯片上电启动。如果终端设备工作异常而无法通过软件正常关机或者重启时,应用处理器通知第二电源管理芯片将第一控制管脚处的PON信号拉低,第一电源管理芯片下电,并在经过第三预设时间后,第二电源管理芯片再将第一控制管脚处的PON信号拉高,基带芯片重新上电。That is to say, when the power button is pressed, the PON signal at the second control pin is pulled low, the second power management chip starts to power on, and then the PON signal at the first control pin is pulled high, so that the first A power management chip starts to be powered on, and the baseband chip is powered on to start. If the terminal device works abnormally and cannot be shut down or restarted normally through the software, the application processor notifies the second power management chip to pull down the PON signal at the first control pin, the first power management chip is powered off, and after the third After a preset time, the second power management chip pulls up the PON signal at the first control pin, and the baseband chip is powered on again.
本实施例提供了一种电源控制方法,应用于电源管理电路,且电源管理电路按照应用场景至少分为独立电源管理电路和组合电源管理电路。在闭合第一开关后,通过模数转换模块读取第一控制管脚处的信号电压;通过状态机模块将所述信号电压与预设区间进行比较,根据比较结果确定应用于所述独立电源管理电路或者所述组合电源管理电路;当确定应用于所述独立电源管理电路时,通过所述第一控制管脚触发第一电源管理芯片的上电功能或复位功能;当确定应用于所述组合电源管理电路时,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。这样,将PON、EN和RESETIN等多个管脚合成一个控制管脚,利用不同的外围元器件去识别不同的应用场景,并将管脚配置成对应的功能;从而不仅能够减少芯片面积,节约制造成本;而且由于减少了电路板上的控制信号,还可以降低关键信号被干扰的风险,提高了系统稳定性。This embodiment provides a power control method, which is applied to a power management circuit, and the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios. After the first switch is closed, the signal voltage at the first control pin is read through the analog-to-digital conversion module; the signal voltage is compared with the preset interval through the state machine module, and the application to the independent power supply is determined according to the comparison result management circuit or the combined power management circuit; when it is determined to be applied to the independent power management circuit, the power-on function or reset function of the first power management chip is triggered through the first control pin; when it is determined to be applied to the When the power management circuit is combined, the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin. In this way, multiple pins such as PON, EN, and RESETIN are combined into one control pin, and different peripheral components are used to identify different application scenarios, and the pins are configured into corresponding functions; thus not only reducing the chip area, but also saving Manufacturing cost; and because the control signals on the circuit board are reduced, the risk of key signals being interfered can be reduced, and the system stability is improved.
本申请的又一实施例中,参见图9,其示出了本申请实施例提供的一种电源管理系统90的组成结构示意图。如图9所示,电源管理系统90至少可以包括前述实施例所述的任一项电源管理电路40和基带芯片91;其中,电源管理电路40可以为基带芯片91进行上电或复位控制。In yet another embodiment of the present application, refer to FIG. 9 , which shows a schematic diagram of the composition and structure of a power management system 90 provided in an embodiment of the present application. As shown in FIG. 9 , the power management system 90 may at least include any power management circuit 40 and a baseband chip 91 described in the foregoing embodiments; wherein, the power management circuit 40 may perform power-on or reset control for the baseband chip 91 .
在本申请实施例中,应用场景至少包括独立场景和组合场景,对应地,电源管理系统90至少可以分为独立电源管理系统和组合电源管理系统。其中,独立电源管理系统可以看作是由独立电源管理电路和基带芯片组成,组合电源管理系统可以看作是由组合电源管理电路和基带芯片组成。In the embodiment of the present application, the application scenarios include at least an independent scenario and a combined scenario, and correspondingly, the power management system 90 can be at least divided into an independent power management system and a combined power management system. Wherein, the independent power management system can be regarded as composed of an independent power management circuit and a baseband chip, and the combined power management system can be regarded as composed of a combined power management circuit and a baseband chip.
下面将针对这两种应用场景下的电源管理系统分别进行详细说明。The power management systems in these two application scenarios will be described in detail below.
在一种可能的实现方式中,第一电源管理芯片单组组成系统时,这时候电源键连接第一电源管理芯片的第一控制管脚。针对第一电阻R1,计算选取合适的阻值,使得第一电阻R1和第二电阻R2分压出的信号电压符合第一预设区间。参见图10,其示出了本申请实施例提供的一种独立电源管理系统的组成结构示意图。如图10所示,独立电源管理系统100可以包括第一电源管理芯片41、第一电阻R1、电源键K1和基带芯片91。In a possible implementation manner, when a single group of first power management chips forms a system, the power key is connected to the first control pin of the first power management chip at this time. For the first resistor R1, an appropriate resistance value is selected through calculation, so that the signal voltage divided by the first resistor R1 and the second resistor R2 conforms to the first preset range. Referring to FIG. 10 , it shows a schematic diagram of the composition and structure of an independent power management system provided by an embodiment of the present application. As shown in FIG. 10 , the independent power management system 100 may include a first power management chip 41 , a first resistor R1 , a power key K1 and a baseband chip 91 .
这里,第一电源管理芯片41可以为BB_PMIC,基带芯片91可以为BBIC。具体来说,BB_PMIC可以包括状态机模块、第二电阻R2、第一开关S1、模数转换模块、第一变换电路、第二变换电路、第一控制管脚、第一电源管脚和第二电源管脚。其中,第一控制管脚用PON管脚表示,第一电源管脚用VPMIC管脚表示,第二电源管脚用Vsys管脚表示,并且在PON管脚处外挂有第一电阻R1和电源键K1,且第一电阻R1和电源键K1的另一端均与地连接;另外,在VPMIC管脚处还可以外挂第一电容C1,以起到滤波作用。Here, the first power management chip 41 may be a BB_PMIC, and the baseband chip 91 may be a BBIC. Specifically, BB_PMIC may include a state machine module, a second resistor R2, a first switch S1, an analog-to-digital conversion module, a first conversion circuit, a second conversion circuit, a first control pin, a first power supply pin, and a second Power pin. Among them, the first control pin is represented by a PON pin, the first power supply pin is represented by a VPMIC pin, and the second power supply pin is represented by a Vsys pin, and a first resistor R1 and a power button are attached to the PON pin K1, and the other end of the first resistor R1 and the power button K1 are both connected to the ground; in addition, the first capacitor C1 can also be connected to the pin of the VPMIC for filtering.
在另一种可能的实现方式中,第一电源管理芯片与外部控制模块共同组成系统时,这时候电源键连接第二电源管理芯片的第二控制管脚,且第二电源管理芯片的通用输入输出管脚与第一电源管理芯片的第一控制管脚连接。针对第一电阻R1,计算选取合适的阻值,使得第一电阻R1和第二电阻R2分压出的信号电压符合第二预设区间。参见图11,其示出了本申请实施例提供的一种组合电源管理系统的组成结构示意图。如图11所示,组合电源管理系统110可以包括第一电源管理芯片41、第二电源管理芯片111、应用处理器112、第一电阻R1、电源键K1和基带芯片91。In another possible implementation, when the first power management chip and the external control module form a system together, the power key is connected to the second control pin of the second power management chip, and the general input of the second power management chip The output pin is connected to the first control pin of the first power management chip. For the first resistor R1, an appropriate resistance value is selected through calculation, so that the signal voltage divided by the first resistor R1 and the second resistor R2 conforms to the second preset range. Referring to FIG. 11 , it shows a schematic diagram of the composition and structure of a combined power management system provided by an embodiment of the present application. As shown in FIG. 11 , the combined power management system 110 may include a first power management chip 41 , a second power management chip 111 , an application processor 112 , a first resistor R1 , a power key K1 and a baseband chip 91 .
这里,第一电源管理芯片41可以为BB_PMIC,第二电源管理芯片111可以为Main_PMIC,应用处理器112可以为AP,基带芯片91可以为BBIC。具体来说,BB_PMIC可以包括状态机模块、第二电阻R2、第一开关S1、模数转换模块、第一变换电路、第二变换电路、第一控制管脚、第一电源管脚和第二电源管脚,Main_PMIC可以包括第二控制管脚和通用输入输出管脚。其中,BB_PMIC的第一控制管脚用PON管脚表示,第一电源管脚用VPMIC管脚表示,第二电源管脚用Vsys管脚表示;Main_PMIC的第二控制管脚用PON管脚表示,通用输入输出管脚用GPIO_01管脚表示;而且Main_PMIC的PON管脚与电源键K1连接,Main_PMIC的GPIO_01管脚与BB_PMIC的PON管脚连接,并且在BB_PMIC的PON管脚处外挂有第一电阻R1。另外,在BB_PMIC的VPMIC管脚处还可以外挂第一电容C1,以起到滤波作用。Here, the first power management chip 41 may be a BB_PMIC, the second power management chip 111 may be a Main_PMIC, the application processor 112 may be an AP, and the baseband chip 91 may be a BBIC. Specifically, BB_PMIC may include a state machine module, a second resistor R2, a first switch S1, an analog-to-digital conversion module, a first conversion circuit, a second conversion circuit, a first control pin, a first power supply pin, and a second The power supply pins, Main_PMIC may include second control pins and general input and output pins. Wherein, the first control pin of BB_PMIC is represented by a PON pin, the first power supply pin is represented by a VPMIC pin, and the second power supply pin is represented by a Vsys pin; the second control pin of Main_PMIC is represented by a PON pin, The general-purpose input and output pins are represented by GPIO_01 pins; and the PON pin of Main_PMIC is connected to the power button K1, the GPIO_01 pin of Main_PMIC is connected to the PON pin of BB_PMIC, and the first resistor R1 is attached to the PON pin of BB_PMIC . In addition, the first capacitor C1 can also be connected to the VPMIC pin of the BB_PMIC for filtering.
结合图10和图11,参见12,其示出了本申请实施例提供的一种电源控制方法的详细流程示意图。如图12所示,该详细流程可以包括:Referring to FIG. 10 and FIG. 11 , refer to FIG. 12 , which shows a detailed flowchart of a power control method provided by an embodiment of the present application. As shown in Figure 12, the detailed process may include:
S1201:Vsys电压建立。S1201: Vsys voltage is established.
S1202:VPMIC电压建立,状态机模块和模数转换模块初始化。S1202: VPMIC voltage is established, and the state machine module and the analog-to-digital conversion module are initialized.
S1203:闭合第一开关S1,模数转换模块读取第一控制管脚PON处的信号电压;并在该信号电压存储到寄存器单元后,断开第一开关S1。S1203: Turn on the first switch S1, and the analog-to-digital conversion module reads the signal voltage at the first control pin PON; and after the signal voltage is stored in the register unit, turn off the first switch S1.
S1204:状态机模块从寄存器单元中读取信号电压。S1204: The state machine module reads the signal voltage from the register unit.
S1205:若信号电压满足第一预设区间,则状态机模块配置第一控制管脚的功能为电源键功能。S1205: If the signal voltage satisfies the first preset interval, the state machine module configures the function of the first control pin as a power key function.
S1206:按下电源键且持续T1时间后,BB_PMIC开始上电,BBIC上电启动。S1206: After pressing the power button for T1 time, the BB_PMIC starts to be powered on, and the BBIC is powered on and started.
S1207:按下电源键且持续T2时间后,BB_PMIC进行复位,BBIC下电重启。S1207: After pressing the power button for T2, the BB_PMIC is reset, and the BBIC is powered off and restarted.
S1208:若信号电压满足第二预设区间,则状态机模块配置第一控制管脚的功能为使 能复位功能。S1208: If the signal voltage satisfies the second preset interval, the state machine module configures the function of the first control pin to enable the reset function.
S1209:按下电源键,Main_PMIC开始上电后,将第一控制管脚处的信号电平拉高,BB_PMIC开始上电,BBIC上电启动。S1209: Press the power button, after the Main_PMIC starts to be powered on, pull up the signal level at the first control pin, the BB_PMIC starts to be powered on, and the BBIC starts to be powered on.
S1210:AP向Main_PMIC发送复位命令,Main_PMIC将第一控制管脚处的信号电平拉低,BBIC下电;T3时间后,Main_PMIC将第一控制管脚处的信号电平拉高,BBIC重新上电。S1210: AP sends a reset command to Main_PMIC, Main_PMIC pulls down the signal level at the first control pin, and powers off BBIC; after T3 time, Main_PMIC pulls up the signal level at the first control pin, and BBIC restarts electricity.
S1211:若信号电压满足第三预设区间,则状态机模块配置第一控制管脚的功能为其他功能选项。S1211: If the signal voltage satisfies the third preset range, the state machine module configures the function of the first control pin as other function options.
需要说明的是,本申请实施例的技术方案是将相关技术中的PON、EN和RESETIN三个管脚合并为一个控制管脚,第一控制管脚(PON管脚)处的信号电压在BB_PMIC芯片内部通过第二电阻R2和第一开关S1上拉到VPMIC电压,并且该信号电压连接BB_PMIC芯片内部的ADC模块。第一控制管脚(PON管脚)在BB_PMIC芯片外部连接第一电阻R1后下拉到地。闭合第一开关S1后,第一控制管脚(PON管脚)处的信号电压可以由第一电阻R1和第二电阻R2分压得到,通过贴装不同阻值的第一电阻R1,ADC模块会读取出不同的电压值,以此来识别不同的应用场景,从而把PON管脚配置成对应功能。It should be noted that the technical solution of the embodiment of the present application is to combine the PON, EN and RESETIN pins in the related art into one control pin, and the signal voltage at the first control pin (PON pin) is at the BB_PMIC The inside of the chip is pulled up to the VPMIC voltage through the second resistor R2 and the first switch S1, and the signal voltage is connected to the ADC module inside the BB_PMIC chip. The first control pin (PON pin) is pulled down to ground after being connected to the first resistor R1 outside the BB_PMIC chip. After closing the first switch S1, the signal voltage at the first control pin (PON pin) can be obtained by dividing the voltage between the first resistor R1 and the second resistor R2. By mounting the first resistor R1 with different resistance values, the ADC module Different voltage values will be read to identify different application scenarios, thereby configuring the PON pins to corresponding functions.
当BBIC单独组成系统时,系统框图详见图10,这时候电源键连接BB_PMIC的PON管脚,并且计算选取合适阻值的第一电阻R1,使得第一电阻R1和第二电阻R2分压出的PON管脚处的信号电压符合第一预设区间。When BBIC constitutes a system alone, the system block diagram is shown in Figure 10 for details. At this time, the power button is connected to the PON pin of BB_PMIC, and the first resistor R1 with a suitable resistance value is calculated and selected, so that the first resistor R1 and the second resistor R2 are voltage-divided. The signal voltage at the PON pin conforms to the first preset range.
对于图10所示的独立电源管理系统100,开机流程如下:For the independent power management system 100 shown in FIG. 10 , the boot process is as follows:
第一步,Vsys电压建立;In the first step, the Vsys voltage is established;
第二步,VPMIC电压建立,状态机模块初始化,ADC模块初始化;In the second step, the VPMIC voltage is established, the state machine module is initialized, and the ADC module is initialized;
第三步,闭合第一开关S1,ADC模块读取PON管脚处的信号电压;并在该信号电压存储到状态机模块的寄存器单元后,断开第一开关S1。In the third step, the first switch S1 is closed, and the ADC module reads the signal voltage at the PON pin; and after the signal voltage is stored in the register unit of the state machine module, the first switch S1 is opened.
第四步,状态机模块从寄存器单元中读取信号电压,并将该信号电压与预设区间进行比较;这里的预设区间为预先设置的电压区间,本申请实施例可以是指第一预设区间、第二预设区间和第三预设区间等等。In the fourth step, the state machine module reads the signal voltage from the register unit, and compares the signal voltage with the preset interval; the preset interval here is a preset voltage interval, and the embodiment of the present application may refer to the first preset interval. Set interval, second preset interval, third preset interval and so on.
第五步,状态机模块配置PON管脚的功能为电源键功能:当PON管脚处的信号被拉低一段时间(比如T1时间)后,状态机模块会触发上电时序,控制第二变换电路上电;The fifth step, the state machine module configures the PON pin function as the power key function: when the signal at the PON pin is pulled down for a period of time (such as T1 time), the state machine module will trigger the power-on sequence and control the second conversion Power on the circuit;
第六步,BB_PMIC等待电源键被按下。当电源键被按下时,PON管脚处的信号被拉低,持续一段时间(比如T1时间)后,BB_PMIC开始上电流程,BBIC上电启动;Step 6, BB_PMIC waits for the power button to be pressed. When the power button is pressed, the signal at the PON pin is pulled down, and after a period of time (such as T1 time), BB_PMIC starts the power-on process, and BBIC is powered on and started;
第七步,当终端设备工作异常,如BBIC软件跑死、无法通过软件正常关机或者重启时,可以通过长按电源键,持续一段时间(比如T2时间)后,状态机模块触发下电时序,控制第二变换电路下电,BB_PMIC进行复位操作,BBIC下电重启。Step 7: When the terminal device is working abnormally, such as the BBIC software running dead, unable to shut down or restart normally through the software, you can press and hold the power button for a period of time (such as T2 time), and the state machine module will trigger the power-off sequence. Control the second conversion circuit to be powered off, the BB_PMIC performs a reset operation, and the BBIC is powered off and restarted.
在本申请实施例中,T1时间和T2时间均可根据产品需求进行配置,一般情况下,T1小于T2。示例性地,T1设置为1秒,T2设置为10秒,但是并不作具体限定。In this embodiment of the application, both the T1 time and the T2 time can be configured according to product requirements. Generally, T1 is less than T2. Exemplarily, T1 is set to 1 second, and T2 is set to 10 seconds, but this is not specifically limited.
当BBIC与AP共同组成系统时,系统框图详见图11,这时候电源键连接Main_PMIC的PON管脚,Main_PMIC的GPIO_01管脚连接BB_PMIC的PON管脚,并且计算选取合适阻值的第一电阻R1,使得第一电阻R1和第二电阻R2分压出的PON管脚处的信号电压符合第二预设区间。When BBIC and AP form a system together, the system block diagram is shown in Figure 11. At this time, the power button is connected to the PON pin of Main_PMIC, the GPIO_01 pin of Main_PMIC is connected to the PON pin of BB_PMIC, and the first resistor R1 with an appropriate resistance value is calculated and selected. , so that the signal voltage at the PON pin divided by the first resistor R1 and the second resistor R2 conforms to the second preset range.
对于图11所示的组合电源管理系统110,开机流程如下:For the combined power management system 110 shown in FIG. 11 , the boot process is as follows:
第一步,Vsys电压建立;In the first step, the Vsys voltage is established;
第二步,VPMIC电压建立,状态机模块初始化,ADC模块初始化;In the second step, the VPMIC voltage is established, the state machine module is initialized, and the ADC module is initialized;
第三步,闭合第一开关S1,ADC模块读取PON管脚处的信号电压;并在该信号电压存储到状态机模块的寄存器单元后,断开第一开关S1。In the third step, the first switch S1 is closed, and the ADC module reads the signal voltage at the PON pin; and after the signal voltage is stored in the register unit of the state machine module, the first switch S1 is opened.
第四步,状态机模块从寄存器单元中读取信号电压,并将该信号电压与预设区间进行 比较;这里的预设区间为预先设置的电压区间,本申请实施例可以是指第一预设区间、第二预设区间和第三预设区间等等。In the fourth step, the state machine module reads the signal voltage from the register unit, and compares the signal voltage with the preset interval; the preset interval here is a preset voltage interval, and the embodiment of the present application may refer to the first preset interval. Set interval, second preset interval, third preset interval and so on.
第五步,状态机模块配置PON管脚的功能为使能复位功能:当PON管脚处的信号从低电平被拉高时,状态机模块会触发上电时序,控制第二变换电路上电;当PON管脚处的信号从高电平被拉低时,状态机模块会触发下电时序,控制第二变换电路下电;In the fifth step, the state machine module configures the function of the PON pin to enable the reset function: when the signal at the PON pin is pulled up from the low level, the state machine module will trigger the power-on sequence to control the second conversion circuit. When the signal at the PON pin is pulled down from high level, the state machine module will trigger the power-off sequence to control the power-off of the second conversion circuit;
第六步,BB_PMIC等待PON管脚被Main_PMIC拉高。Main_PMIC开始上电后,将BB_PMIC的PON管脚拉高,BB_PMIC开始上电流程,BBIC上电启动;Step 6, BB_PMIC waits for the PON pin to be pulled high by Main_PMIC. After Main_PMIC starts to be powered on, pull the PON pin of BB_PMIC high, BB_PMIC starts the power-on process, and BBIC is powered on to start;
第七步,当终端设备工作异常,如BBIC软件跑死时,AP可以通知Main_PMIC将BB_PMIC的PON管脚拉低,BBIC下电复位,一段时间(比如T3时间)后,Main_PMIC再次将BB_PMIC的PON管脚拉高,BBIC重新上电。Step 7: When the terminal equipment works abnormally, such as the BBIC software running dead, the AP can notify Main_PMIC to pull down the PON pin of BB_PMIC, BBIC powers off and resets, and after a period of time (such as T3 time), Main_PMIC will pull the PON pin of BB_PMIC again. The pin is pulled high, and the BBIC is powered on again.
除此之外,本申请实施例还可以应用于其他场景。具体地,只要合理计算分配多个第一电阻R1的阻值,预设多个电压区间,就可以实现更多个场景的区分,即本申请实施例的技术方案并不仅局限于上述的两种应用场景,使得BB_PMIC功能具有可扩展性。In addition, the embodiment of the present application may also be applied to other scenarios. Specifically, as long as the resistance values of multiple first resistors R1 are reasonably calculated and distributed, and multiple voltage intervals are preset, more scene distinctions can be realized, that is, the technical solutions of the embodiments of the present application are not limited to the above two Application scenarios make the BB_PMIC function scalable.
简言之,在本申请实施例中,可以将多个控制管脚(如PON、EN和RESETIN等管脚)合成一个控制管脚,然后利用不同的外围电路去识别不同的应用场景,并将该控制管脚配置成对应的功能。这里,在区分第一电阻的不同阻值时,也可以不使用ADC模块,而采用纯硬件的方式。例如,可以设立多个电压比较器,判断该信号电压具体落在哪个预设的电压区间,然后再进行后续判断。需要注意的是,使用比较器的优点在于判断速度要比ADC的读取速度快,在时序要求严格的场景下更有优势;缺点在于可以识别的应用场景受限于比较器的个数,并没有ADC实现的多。In short, in the embodiment of this application, multiple control pins (such as PON, EN and RESETIN pins) can be combined into one control pin, and then different peripheral circuits are used to identify different application scenarios, and the The control pins are configured with corresponding functions. Here, when distinguishing different resistance values of the first resistor, the ADC module may not be used, but a pure hardware method may be used. For example, multiple voltage comparators can be set up to determine which preset voltage range the signal voltage falls in, and then make subsequent judgments. It should be noted that the advantage of using a comparator is that the judgment speed is faster than the reading speed of the ADC, which is more advantageous in scenarios with strict timing requirements; the disadvantage is that the identifiable application scenarios are limited by the number of comparators, and Not as much as ADC.
本申请实施例提供了一种电源管理系统,通过根据贴装的第一电阻R1的不同阻值,可以确定是应用于独立电源管理系统,还是组合电源管理系统。而且无论是独立电源管理系统还是组合电源管理系统,BB_PMIC均减少了两个管脚,从而可以减少BB_PMIC的芯片面积,节约制造成本;另外,还减少了电路板上的控制信号,降低了关键信号被干扰的风险,提高了系统稳定性。The embodiment of the present application provides a power management system. According to different resistance values of the mounted first resistor R1, it can be determined whether it is applied to an independent power management system or a combined power management system. Moreover, whether it is an independent power management system or a combined power management system, BB_PMIC has reduced two pins, which can reduce the chip area of BB_PMIC and save manufacturing costs; in addition, it also reduces the control signals on the circuit board and reduces the number of key signals. The risk of being disturbed improves the system stability.
以上,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application.
需要说明的是,在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this application, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements , but also includes other elements not expressly listed, or also includes elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in several method embodiments provided in this application can be combined arbitrarily to obtain new method embodiments under the condition of no conflict.
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in several product embodiments provided in this application can be combined arbitrarily without conflict to obtain new product embodiments.
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application, and should cover Within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
工业实用性Industrial Applicability
本申请实施例中,该电源管理电路包括第一电源管理芯片和第一电阻,第一电源管理 芯片包括第二电阻、第一开关、模数转换模块、状态机模块、第一控制管脚和第一电源管脚;其中,在第一电源管理芯片内部,第一开关与第二电阻串接在第一电源管脚和第一控制管脚之间,第一电源管脚与状态机模块连接,第一控制管脚分别与状态机模块和模数转换模块连接;在第一电源管理芯片外部,第一电阻串接在第一控制管脚与地之间。这样,由于将BB_PMIC中的电源键信号管脚(PON),使能信号管脚(EN)和复位信号管脚(RESETIN)这三个管脚合并为一个控制管脚,从而不仅能够减少BB_PMIC的芯片面积,节约制造成本;而且由于减少了电路板上的控制信号,还可以降低关键信号被干扰的风险,提高了系统稳定性。In the embodiment of the present application, the power management circuit includes a first power management chip and a first resistor, and the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, a first control pin and The first power supply pin; wherein, inside the first power management chip, the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, and the first power supply pin is connected to the state machine module , the first control pin is respectively connected to the state machine module and the analog-to-digital conversion module; outside the first power management chip, the first resistor is connected in series between the first control pin and the ground. In this way, since the three pins of the power key signal pin (PON), the enable signal pin (EN) and the reset signal pin (RESETIN) in BB_PMIC are combined into one control pin, it is not only possible to reduce the BB_PMIC The chip area saves manufacturing cost; and because the control signals on the circuit board are reduced, the risk of key signals being interfered can be reduced, and the system stability is improved.

Claims (24)

  1. 一种电源管理电路,所述电源管理电路包括第一电源管理芯片和第一电阻,所述第一电源管理芯片包括第二电阻、第一开关、模数转换模块、状态机模块、第一控制管脚和第一电源管脚;其中,A power management circuit, the power management circuit includes a first power management chip and a first resistor, the first power management chip includes a second resistor, a first switch, an analog-to-digital conversion module, a state machine module, a first control pin and the first power supply pin; where,
    在所述第一电源管理芯片内部,所述第一开关与所述第二电阻串接在所述第一电源管脚和所述第一控制管脚之间,所述第一电源管脚还与所述状态机模块连接,所述第一控制管脚还与所述状态机模块和所述模数转换模块分别连接;Inside the first power management chip, the first switch and the second resistor are connected in series between the first power supply pin and the first control pin, and the first power supply pin is also Connected to the state machine module, the first control pin is also connected to the state machine module and the analog-to-digital conversion module respectively;
    在所述第一电源管理芯片外部,所述第一电阻串接在所述第一控制管脚与地之间。Outside the first power management chip, the first resistor is connected in series between the first control pin and ground.
  2. 根据权利要求1所述的电源管理电路,其中,The power management circuit according to claim 1, wherein,
    所述模数转换模块,用于在闭合所述第一开关后,读取所述第一控制管脚处的信号电压;The analog-to-digital conversion module is configured to read the signal voltage at the first control pin after closing the first switch;
    所述状态机模块,用于在所述信号电压满足第一预设区间时,通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能;或者,在所述信号电压满足第二预设区间时,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is configured to trigger the power-on function or reset function of the first power management chip through the first control pin when the signal voltage satisfies a first preset interval; or, in the When the signal voltage satisfies the second preset interval, the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
  3. 根据权利要求2所述的电源管理电路,其中,所述状态机模块包括寄存器单元;其中,The power management circuit according to claim 2, wherein the state machine module comprises a register unit; wherein,
    所述寄存器单元,用于存储所述模数转换模块读取的所述信号电压,并在存储完成后断开所述第一开关;The register unit is configured to store the signal voltage read by the analog-to-digital conversion module, and disconnect the first switch after the storage is completed;
    所述状态机模块,具体用于从所述寄存器单元中读取所述信号电压,将所述信号电压与预设区间进行比较;其中,在所述信号电压满足所述第一预设区间时,通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能;或者,在所述信号电压满足所述第二预设区间时,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is specifically configured to read the signal voltage from the register unit, and compare the signal voltage with a preset interval; wherein, when the signal voltage satisfies the first preset interval , triggering the power-on function or reset function of the first power management chip through the first control pin; or, when the signal voltage satisfies the second preset range, through the external control module and the second A control pin triggers a power-on function or a reset function of the first power management chip.
  4. 根据权利要求2或3所述的电源管理电路,其中,The power management circuit according to claim 2 or 3, wherein,
    所述第一电阻,用于在阻值为第一值的情况下,使得通过所述模数转换模块读取到的所述信号电压满足所述第一预设区间;或者,The first resistor is used to make the signal voltage read by the analog-to-digital conversion module satisfy the first preset interval when the resistance value is a first value; or,
    在阻值为第二值的情况下,使得通过所述模数转换模块读取到的所述信号电压满足所述第二预设区间。When the resistance value is the second value, the signal voltage read by the analog-to-digital conversion module satisfies the second preset interval.
  5. 根据权利要求1所述的电源管理电路,其中,所述第一电源管理芯片还包括第一变换电路和第二电源管脚,且所述第二电源管脚与外部电源连接;其中,The power management circuit according to claim 1, wherein the first power management chip further includes a first conversion circuit and a second power pin, and the second power pin is connected to an external power supply; wherein,
    所述第二电源管脚,用于为所述第一电源管理芯片提供输入电压;The second power supply pin is used to provide an input voltage for the first power management chip;
    所述第一变换电路,用于对所述输入电压进行电压变换,生成供电电压;The first conversion circuit is configured to perform voltage conversion on the input voltage to generate a supply voltage;
    所述第一电源管脚,具体用于接收所述供电电压,并根据所述供电电压为所述状态机模块供电,以实现所述状态机模块和所述模数转换模块的初始化。The first power supply pin is specifically used to receive the power supply voltage, and supply power to the state machine module according to the power supply voltage, so as to realize the initialization of the state machine module and the analog-to-digital conversion module.
  6. 根据权利要求5所述的电源管理电路,其中,所述第一变换电路为低压差线性稳压LDO电路。The power management circuit according to claim 5, wherein the first conversion circuit is a low dropout linear regulator LDO circuit.
  7. 根据权利要求4所述的电源管理电路,其中,所述电源管理电路按照应用场景至少分为独立电源管理电路和组合电源管理电路;其中,The power management circuit according to claim 4, wherein the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; wherein,
    所述状态机模块,还用于若所述信号电压满足所述第一预设区间,则确定应用于所述独立电源管理电路;或者,若所述信号电压满足所述第二预设区间,则确定应用于所述组合电源管理电路;The state machine module is further configured to determine to apply to the independent power management circuit if the signal voltage satisfies the first preset interval; or, if the signal voltage satisfies the second preset interval, Then it is determined to be applied to the combined power management circuit;
    其中,所述独立电源管理电路是由所述电源管理电路单独组成的,所述组合电源管理 电路是由所述电源管理电路与外部控制模块共同组成的。Wherein, the independent power management circuit is composed of the power management circuit alone, and the combined power management circuit is composed of the power management circuit and an external control module.
  8. 根据权利要求7所述的电源管理电路,其中,所述独立电源管理电路包括所述第一电源管理芯片和所述第一电阻;其中,The power management circuit according to claim 7, wherein the independent power management circuit comprises the first power management chip and the first resistor; wherein,
    所述状态机模块,具体用于配置所述第一控制管脚的功能为电源键功能,以使得在断开所述第一开关后,当所述第一控制管脚处的信号电平状态发生变化时,触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is specifically configured to configure the function of the first control pin as a power button function, so that after the first switch is turned off, when the signal level state at the first control pin is When a change occurs, the power-on function or reset function of the first power management chip is triggered.
  9. 根据权利要求8所述的电源管理电路,其中,所述独立电源管理电路还包括电源键,所述电源键的一端与所述第一控制管脚连接,所述电源键的另一端接地;其中,The power management circuit according to claim 8, wherein the independent power management circuit further includes a power key, one end of the power key is connected to the first control pin, and the other end of the power key is grounded; wherein ,
    所述电源键,用于在接收到第一操作指令时,控制所述第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,且在所述第二电平状态持续第一预设时间后,触发所述第一电源管理芯片的上电操作,以实现所述上电功能。The power button is used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the first operation instruction, and the second power level After the flat state lasts for a first preset time, a power-on operation of the first power management chip is triggered to realize the power-on function.
  10. 根据权利要求9所述的电源管理电路,其中,The power management circuit according to claim 9, wherein,
    所述电源键,还用于在接收到第二操作指令时,控制所述第一控制管脚处的信号电平由所述第一电平状态调整为所述第二电平状态,且在所述第二电平状态持续第二预设时间后,触发所述第一电源管理芯片的下电重启操作,以实现所述复位功能。The power key is also used to control the signal level at the first control pin to be adjusted from the first level state to the second level state when receiving the second operation instruction, and After the second level state lasts for a second preset time, a power-off and restart operation of the first power management chip is triggered to realize the reset function.
  11. 根据权利要求10所述的电源管理电路,其中,所述第一预设时间小于所述第二预设时间。The power management circuit according to claim 10, wherein the first preset time is shorter than the second preset time.
  12. 根据权利要求7所述的电源管理电路,其中,所述组合电源管理电路包括所述第一电源管理芯片、所述第一电阻和所述外部控制模块,所述外部控制模块包括第二电源管理芯片和应用处理器,所述第二电源管理芯片包括第二控制管脚和通用输入输出管脚,所述通用输入输出管脚与所述第一控制管脚连接;其中,The power management circuit according to claim 7, wherein the combined power management circuit comprises the first power management chip, the first resistor and the external control module, and the external control module comprises a second power management A chip and an application processor, the second power management chip includes a second control pin and a general-purpose input and output pin, and the general-purpose input and output pin is connected to the first control pin; wherein,
    所述状态机模块,具体用于配置所述第一控制管脚的功能为使能复位功能,以使得在断开所述第一开关后,当所述第一控制管脚处的信号电平状态发生变化时,触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is specifically configured to configure the function of the first control pin to enable a reset function, so that after the first switch is turned off, when the signal level at the first control pin is When the state changes, the power-on function or reset function of the first power management chip is triggered.
  13. 根据权利要求12所述的电源管理电路,其中,所述组合电源管理电路还包括电源键,所述电源键的一端与所述第二控制管脚连接,所述电源键的另一端接地;其中,The power management circuit according to claim 12, wherein the combined power management circuit further comprises a power key, one end of the power key is connected to the second control pin, and the other end of the power key is grounded; wherein ,
    所述电源键,用于在接收到第三操作指令时,控制所述第二电源管理芯片开始上电;The power key is used to control the second power management chip to start powering on when receiving the third operation instruction;
    所述第二电源管理芯片,用于在所述上电之后,通过所述通用输入输出管脚控制所述第一控制管脚处的信号电平由第二电平状态调整为第一电平状态,触发所述第一电源管理芯片的上电操作,以实现所述上电功能。The second power management chip is configured to control the signal level at the first control pin to be adjusted from the second level state to the first level through the general-purpose input and output pin after the power-on state, triggering a power-on operation of the first power management chip, so as to realize the power-on function.
  14. 根据权利要求13所述的电源管理电路,其中,The power management circuit of claim 13, wherein,
    所述应用处理器,用于向所述第二电源管理芯片发送复位命令;The application processor is configured to send a reset command to the second power management chip;
    所述第二电源管理芯片,还用于根据所述复位命令,通过所述通用输入输出管脚控制所述第一控制管脚处的信号电平由所述第一电平状态调整为所述第二电平状态,触发所述第一电源管理芯片的下电操作;以及在第三预设时间之后,通过所述通用输入输出管脚再次控制所述第一控制管脚处的信号电平由所述第二电平状态调整为所述第一电平状态,触发所述第一电源管理芯片的重新上电操作,以实现所述复位功能。The second power management chip is further configured to control the signal level at the first control pin to be adjusted from the first level state to the The second level state triggers the power-off operation of the first power management chip; and after the third preset time, controls the signal level at the first control pin again through the general-purpose input and output pin Adjusting from the second level state to the first level state triggers a power-on operation of the first power management chip to realize the reset function.
  15. 根据权利要求9、10、13和14中任一项所述的电源管理电路,其中,所述第一电平状态为高电平,所述第二电平状态为低电平。The power management circuit according to any one of claims 9, 10, 13 and 14, wherein the first level state is high level, and the second level state is low level.
  16. 一种电源控制方法,应用于电源管理电路,且所述电源管理电路按照应用场景至少分为独立电源管理电路和组合电源管理电路;所述方法包括:A power control method, applied to a power management circuit, and the power management circuit is at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; the method includes:
    在闭合第一开关后,通过模数转换模块读取第一控制管脚处的信号电压;After closing the first switch, reading the signal voltage at the first control pin through the analog-to-digital conversion module;
    通过状态机模块将所述信号电压与预设区间进行比较,根据比较结果确定应用于所述独立电源管理电路或者所述组合电源管理电路;Comparing the signal voltage with a preset interval through a state machine module, and determining whether to apply to the independent power management circuit or the combined power management circuit according to the comparison result;
    当确定应用于所述独立电源管理电路时,通过所述第一控制管脚触发第一电源管理芯 片的上电功能或复位功能;When it is determined to be applied to the independent power management circuit, triggering the power-on function or reset function of the first power management chip through the first control pin;
    当确定应用于所述组合电源管理电路时,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。When it is determined to be applied to the combined power management circuit, the power-on function or reset function of the first power management chip is triggered through the external control module and the first control pin.
  17. 根据权利要求16所述的方法,其中,在所述通过模数转换模块读取第一控制管脚处的信号电压之后,所述方法还包括:The method according to claim 16, wherein, after reading the signal voltage at the first control pin through the analog-to-digital conversion module, the method further comprises:
    将所述信号电压存储至所述状态机模块中的寄存器单元,并在存储完成后断开所述第一开关。storing the signal voltage to a register unit in the state machine module, and turning off the first switch after the storage is completed.
  18. 根据权利要求17所述的方法,其中,所述根据比较结果确定应用于所述独立电源管理电路或者所述组合电源管理电路,包括:The method according to claim 17, wherein the determining to apply to the independent power management circuit or the combined power management circuit according to the comparison result comprises:
    若所述信号电压满足第一预设区间,则确定应用于所述独立电源管理电路;或者,If the signal voltage satisfies the first preset interval, determine to apply to the independent power management circuit; or,
    若所述信号电压满足第二预设区间,则确定应用于所述组合电源管理电路。If the signal voltage satisfies the second preset interval, it is determined to be applied to the combined power management circuit.
  19. 根据权利要求18所述的方法,其中,所述方法还包括:The method according to claim 18, wherein said method further comprises:
    在第一电阻的阻值为第一值的情况下,确定所述信号电压满足所述第一预设区间;或者,When the resistance value of the first resistor is the first value, it is determined that the signal voltage satisfies the first preset interval; or,
    在第一电阻的阻值为第二值的情况下,确定所述信号电压满足所述第二预设区间。When the resistance of the first resistor is the second value, it is determined that the signal voltage satisfies the second preset interval.
  20. 根据权利要求16所述的方法,在闭合所述第一开关之前,所述方法还包括:The method of claim 16, prior to closing the first switch, the method further comprising:
    接收外部电源为所述第一电源管理芯片提供的输入电压;receiving an input voltage provided by an external power supply for the first power management chip;
    对所述输入电压进行电压变换,生成供电电压;performing voltage conversion on the input voltage to generate a supply voltage;
    根据所述供电电压为所述状态机模块供电,以实现所述状态机模块和所述模数转换模块的初始化。Powering the state machine module according to the power supply voltage, so as to realize the initialization of the state machine module and the analog-to-digital conversion module.
  21. 根据权利要求16至20任一项所述的方法,其中,当确定应用于所述独立电源管理电路时,所述通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能,包括:The method according to any one of claims 16 to 20, wherein when it is determined to be applied to the independent power management circuit, the power-on function of the first power management chip is triggered through the first control pin or reset functions, including:
    在接收到第一操作指令时,控制所述第一控制管脚处的信号电平由第一电平状态调整为第二电平状态,且在所述第二电平状态持续第一预设时间后,触发所述第一电源管理芯片的上电操作,以实现所述上电功能;或者,When the first operation instruction is received, the signal level at the first control pin is controlled to be adjusted from the first level state to the second level state, and the second level state lasts for the first preset After a period of time, trigger the power-on operation of the first power management chip to realize the power-on function; or,
    在接收到第二操作指令时,控制所述第一控制管脚处的信号电平由所述第一电平状态调整为所述第二电平状态,且在所述第二电平状态持续第二预设时间后,触发所述第一电源管理芯片的下电重启操作,以实现所述复位功能。When receiving the second operation instruction, control the signal level at the first control pin to be adjusted from the first level state to the second level state, and continue in the second level state After a second preset time, a power-off and restart operation of the first power management chip is triggered to realize the reset function.
  22. 根据权利要求21所述的方法,其中,所述第一预设时间小于所述第二预设时间。The method of claim 21, wherein the first predetermined time is less than the second predetermined time.
  23. 根据权利要求16至20任一项所述的方法,其中,当确定应用于所述组合电源管理电路时,所述通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能,包括:The method according to any one of claims 16 to 20, wherein when it is determined to be applied to the combined power management circuit, the first power management chip is triggered by the external control module and the first control pin The power-on function or reset function, including:
    根据接收到第三操作指令,在第二电源管理芯片开始上电之后,控制所述第一控制管脚处的信号电平由第二电平状态调整为第一电平状态,触发所述第一电源管理芯片的上电操作,以实现所述上电功能;或者,According to receiving the third operation instruction, after the second power management chip starts to be powered on, the signal level at the first control pin is controlled to be adjusted from the second level state to the first level state, triggering the second power management chip. A power-on operation of a power management chip to realize the power-on function; or,
    在所述第二电源管理芯片接收到应用处理器发送的复位命令之后,控制所述第一控制管脚处的信号电平由所述第一电平状态调整为所述第二电平状态,触发所述第一电源管理芯片的下电操作;以及在第三预设时间之后再次控制所述第一控制管脚处的信号电平由所述第二电平状态调整为所述第一电平状态,触发所述第一电源管理芯片的重新上电操作,以实现所述复位功能。After the second power management chip receives the reset command sent by the application processor, control the signal level at the first control pin to be adjusted from the first level state to the second level state, triggering the power-off operation of the first power management chip; and controlling the signal level at the first control pin to be adjusted from the second level state to the first power level state again after a third preset time In the flat state, trigger the power-on operation of the first power management chip to realize the reset function.
  24. 一种电源管理系统,所述电源管理系统至少包括如权利要求1至15任一项所述的电源管理电路和基带芯片;其中,所述电源管理电路为所述基带芯片进行上电或复位控制。A power management system, the power management system at least comprising a power management circuit and a baseband chip according to any one of claims 1 to 15; wherein the power management circuit performs power-on or reset control for the baseband chip .
PCT/CN2022/107681 2021-08-25 2022-07-25 Power management circuit and control method therefor, and power management system WO2023024788A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110983161.7A CN113726126B (en) 2021-08-25 2021-08-25 Power management circuit and control method and system thereof
CN202110983161.7 2021-08-25

Publications (1)

Publication Number Publication Date
WO2023024788A1 true WO2023024788A1 (en) 2023-03-02

Family

ID=78677964

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107681 WO2023024788A1 (en) 2021-08-25 2022-07-25 Power management circuit and control method therefor, and power management system

Country Status (2)

Country Link
CN (1) CN113726126B (en)
WO (1) WO2023024788A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726126B (en) * 2021-08-25 2023-04-14 Oppo广东移动通信有限公司 Power management circuit and control method and system thereof
CN114489303B (en) * 2021-12-30 2024-01-05 深圳市广和通无线股份有限公司 Power-on time sequence control circuit and system
CN115396255A (en) * 2022-08-31 2022-11-25 哲库科技(北京)有限公司 Power supply control method, control chip, power supply management chip and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750692A (en) * 2005-07-22 2006-03-22 杭州斯达康通讯有限公司 Double mode communication terminal and its control method
US20070288778A1 (en) * 2006-06-09 2007-12-13 Broadcom Corporation Method for managing and controlling the low power modes for an integrated circuit device
CN110098826A (en) * 2019-04-19 2019-08-06 深圳市泰信通信息技术有限公司 The detection method of chip circuit and its state of a control, electronic equipment and medium
CN112671214A (en) * 2020-12-11 2021-04-16 深圳市必易微电子股份有限公司 Control circuit and power supply conversion system and control method thereof
CN113726126A (en) * 2021-08-25 2021-11-30 Oppo广东移动通信有限公司 Power management circuit and control method and system thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6819011B2 (en) * 2002-11-14 2004-11-16 Fyre Storm, Inc. Switching power converter controller with watchdog timer
CN201243277Y (en) * 2008-08-19 2009-05-20 中兴通讯股份有限公司 Access case
CN101666838B (en) * 2009-09-15 2011-09-28 北京天碁科技有限公司 Chip system and mode control method thereof
CN105223858B (en) * 2014-06-13 2018-05-04 深圳市双赢伟业科技股份有限公司 The switching on and shutting down control circuit of a kind of electronic equipment
US10156860B2 (en) * 2015-03-31 2018-12-18 Skyworks Solutions, Inc. Pre-charged fast wake up low-dropout regulator
CN106484061A (en) * 2015-08-28 2017-03-08 中兴通讯股份有限公司 Terminal resets control method, controller and system
CN205453479U (en) * 2016-02-19 2016-08-10 西安交通大学 Two many output driver of isolation systems
CN109739146B (en) * 2019-01-22 2020-05-26 北京奇禄管理咨询有限公司 Method and circuit for controlling pen starting or closing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750692A (en) * 2005-07-22 2006-03-22 杭州斯达康通讯有限公司 Double mode communication terminal and its control method
US20070288778A1 (en) * 2006-06-09 2007-12-13 Broadcom Corporation Method for managing and controlling the low power modes for an integrated circuit device
CN110098826A (en) * 2019-04-19 2019-08-06 深圳市泰信通信息技术有限公司 The detection method of chip circuit and its state of a control, electronic equipment and medium
CN112671214A (en) * 2020-12-11 2021-04-16 深圳市必易微电子股份有限公司 Control circuit and power supply conversion system and control method thereof
CN113726126A (en) * 2021-08-25 2021-11-30 Oppo广东移动通信有限公司 Power management circuit and control method and system thereof

Also Published As

Publication number Publication date
CN113726126A (en) 2021-11-30
CN113726126B (en) 2023-04-14

Similar Documents

Publication Publication Date Title
WO2023024788A1 (en) Power management circuit and control method therefor, and power management system
WO2023024764A1 (en) Power management circuit and control method and system thereof
US20220116237A1 (en) Data transmission method and data transmission device
US10491003B2 (en) Multiple input single inductor multiple output regulator
US10211661B2 (en) Charging mode control method and device
CN201570873U (en) Device and integrated circuit for achieving intelligent power management of USB port
TWI468908B (en) System power integrated circuit and architecture, management circuit, power supply arrangement, and portable apparatus
US20200295956A1 (en) Power Sourcing Equipment, and Method and Apparatus for Power Over Ethernet
JP5700136B2 (en) Electronic device and method for powering at least two different loads with a single power supply
US20110022859A1 (en) Power management apparatus and methods
US9880610B2 (en) Power supplying method, power supplying system, and electronic device
WO2006103652A2 (en) Computer volatile memory power backup system
US20110185194A1 (en) Standby power control device
WO2021115151A1 (en) Electronic device
KR20200040218A (en) Integrated circuit for wireless power charging and method for operating the integrated circuit
US11476694B2 (en) Electronic device including resonant charging circuit
CN111406254A (en) Configurable data refresh from volatile memory to non-volatile memory
CN113031749A (en) Electronic device
JP2016038699A (en) Electronic apparatus and method
TW202226016A (en) Secure device power-up apparatus and method
US7594130B1 (en) Circuit for regulating timing sequence
EP2988391B1 (en) Mobile power supply terminal and power supply method therefor
CN116600375B (en) Electronic device power supply circuit and electronic equipment
US11729497B2 (en) Processing circuitry for object detection in standby mode, electronic device, and operating method thereof
CN115086562B (en) Power supply circuit, power supply control method and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22860134

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE