WO2023024764A1 - Power management circuit and control method and system thereof - Google Patents

Power management circuit and control method and system thereof Download PDF

Info

Publication number
WO2023024764A1
WO2023024764A1 PCT/CN2022/106467 CN2022106467W WO2023024764A1 WO 2023024764 A1 WO2023024764 A1 WO 2023024764A1 CN 2022106467 W CN2022106467 W CN 2022106467W WO 2023024764 A1 WO2023024764 A1 WO 2023024764A1
Authority
WO
WIPO (PCT)
Prior art keywords
power management
power
level state
pin
management circuit
Prior art date
Application number
PCT/CN2022/106467
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 WO2023024764A1 publication Critical patent/WO2023024764A1/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
    • H02M1/0003Details of control, feedback or regulation circuits
    • 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
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0012Control circuits using digital or numerical techniques
    • 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
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0038Circuits or arrangements for suppressing, e.g. by masking incorrect turn-on or turn-off signals, e.g. due to current spikes in current mode control
    • 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 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. 6 is a schematic diagram of the composition and structure of an independent power management circuit 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 reserved resistance position
  • the first power management chip includes a state machine module, a first control tube pin and the first power supply pin, and the two ends of the reserved resistance position are respectively connected to the first control pin and the first power supply pin;
  • 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.
  • 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 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 the external control module.
  • the state machine module is specifically configured to configure the function of the first control pin as a power key function, so that when the signal level state at the first control pin changes, the first power supply is triggered. Manage the power-on function or reset function of the chip.
  • the power key 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 After the second level state lasts for a first preset time, the 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 combined power management circuit includes the first power management chip and the external control module, the external control module includes a second power management chip and an application processor, and the second power management chip Including a second control pin and a general-purpose input and output pin, 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 when the signal level state at the first control pin changes, trigger the first The power-on function or reset function of the power management chip.
  • 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 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 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 determining to apply to the independent power management circuit or the combined power management circuit according to the signal level state includes:
  • the signal level state is the second level state, it is determined to be applied to the combined power management circuit.
  • the method before the state machine module detects the signal level state at the first control pin, the method further includes:
  • the method before the state machine module detects the signal level state at the first control pin, the method further includes:
  • the first preset time is shorter than the second preset time.
  • 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.
  • BBIC Baseband chip
  • AP Application Processor
  • CPE Customer Premise Equipment
  • 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.
  • 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.
  • 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
  • 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 with 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 reserved resistance position
  • the first power management chip includes a state machine module, a first control pin and a first The two ends of the reserved resistance position are respectively connected to the first control pin and the first power supply pin; wherein, the state machine module is used to mount the first resistance at the reserved resistance position, through the second A control pin triggers the power-on function or reset function of the first power management chip; or, in the case where the first resistor is not mounted in the reserved resistance position, triggers the first power management through the external control module and the first control pin The power-on function or reset function of the chip.
  • 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 first resistor R1 is mounted on the reserved resistor position 42; If the first resistor R1 is not installed at the position 42, 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 power management circuit 40 of the embodiment of the present application can adapt to different application scenarios according to whether the first resistor R1 is mounted on the reserved resistor position 42 .
  • the first control pin can be pulled up to the level state of the first power supply pin; otherwise, if the reserved resistance position 42 is not pasted Install the first resistor R1, then the first control pin is in a floating state at this time. That is to say, by selecting whether to mount the first resistor R1 at the reserved resistor position 42 , the application scenario of the power management circuit 40 can be identified by the state machine module 411 .
  • 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 (such as the first resistor R1) on the circuit board, so that the application scene corresponding to the power management circuit 40 can be identified when the state machine module 411 is initialized, and then the state machine module can be used to 411 assigns different control logics to the first control pins to implement different control functions, so that multiple control logics can be implemented on one pin (ie, the first control pin).
  • different components such as the first resistor R1
  • 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 power supply pin is used to receive the 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 .
  • the first conversion circuit 412 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 412 can be represented by the VPMIC voltage. express. In this way, after the voltage of Vsys is established, the voltage of VPMIC is established, and the initialization of the state machine module 411 can be implemented at this time.
  • 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 also include a second conversion circuit 413; wherein,
  • the second conversion circuit 413 is configured to perform voltage conversion on the input voltage according to the control power sequence to generate a target voltage.
  • the second conversion circuit 413 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 power management circuit 40 can be at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; wherein, if it is applied to an independent scenario, it can be an independent power management circuit at this time, which is determined by the power management
  • the circuit 40 is composed alone; if it is applied to a combined scenario, it may be a combined power management circuit, which is composed of the power management circuit 40 and an external control module.
  • the state machine module 411 is specifically used to configure the function of the first control pin as a power key function, so that when the signal level state at the first control pin changes, the power-on function of the first power management chip 41 is triggered or reset function.
  • 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 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 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 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 general input and output pin, And the general-purpose input and output pins are connected to the first control pin;
  • 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 is used 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 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 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.
  • This embodiment provides a power management circuit
  • the power management circuit includes a first power management chip and a reserved resistance position
  • the first power management chip includes a state machine module, a first control pin and a first power pin, The two ends of the reserved resistance position are respectively connected to the first control pin and the first power supply pin; wherein, the state machine module is used to mount the first resistor at the reserved resistance position, through the first control pin Trigger the power-on function or reset function of the first power management chip; or, when the first resistor is not mounted in the reserved resistance position, trigger the power-on of the first power management chip through the external control module and the first control pin function or reset function.
  • the power management circuit includes a first power management chip and a reserved resistance position
  • the first power management chip includes a state machine module, a first control pin and a first power pin, The two ends of the reserved resistance position are respectively connected to the first control pin and the first power supply pin; wherein, the state machine module is used to mount the first resistor at the reserved resistance position, through the first control
  • 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 reserved resistance position
  • the first power management chip may include a state machine module, a first control pin and a first power pin, and the reserved resistance position The two ends are respectively connected to the first control pin and the first power supply pin.
  • the method may further include:
  • 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 voltage of Vsys is established, the voltage of VPMIC is established, and the initialization of the state machine module can be realized at this time.
  • the method may further include: in the case of mounting the first resistor at the reserved resistor position, determining that the signal level state at the first control pin is the first level state; or, at If the first resistor is not placed in the reserved resistor position, it is determined that the signal level state at the first control pin is the second level state.
  • the first level state is high level
  • the second level state is low level
  • the VPMIC voltage is established.
  • the first resistor is mounted in the reserved resistance position, then the first control pin is pulled up to the VPMIC voltage. At this time, the first control pin.
  • the signal level state is high level; if the first resistor is not placed in the reserved resistance position, then the first control pin is in a floating state, and the signal level state at the first control pin is low level at this time.
  • the determining to apply to the independent power management circuit or combined power management circuit according to the signal level state may include: if it is detected that the signal level state is the first level state, then determining to apply to the independent power management circuit ; or, if it is detected that the signal level state is the second level state, it is determined to apply to the combined power management circuit.
  • the first level state is high level
  • the second level state is low level.
  • 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.
  • 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 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 level state at the first control pin is detected by the state machine module; according to the signal level state, it is determined to be applied to an independent power management circuit or a combined power management circuit; when it is determined to be applied to an independent power management circuit, through the first control
  • the pin triggers the power-on function or reset function of the first power management chip; when it is determined to be used in a 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.
  • 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 first power management chip 41 may be a BB_PMIC
  • the baseband chip 91 may be a BBIC
  • the BB_PMIC may include a state machine module, a first conversion circuit, a second conversion circuit, a first control pin, a first power supply pin, and a second power supply pin.
  • 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 first conversion circuit, a second conversion circuit, a first control pin, a first power supply pin, and a second power supply pin
  • Main_PMIC may include a second control pin and a general input output pin.
  • 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 pins of Main_PMIC are connected to the power button K1
  • the GPIO_01 pins of Main_PMIC are connected to the PON pins of BB_PMIC.
  • the first capacitor C1 can also be connected to the VPMIC pin of the BB_PMIC for filtering.
  • the state machine module detects the signal level state at the first control pin.
  • S1208 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.
  • S1209 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 this application is to combine the three pins PON, EN and RESETIN in the related art into one control pin, and by adding the first resistor R1 on the circuit board, it can Pulled up to the VPMIC voltage at the first supply pin. In this way, by choosing whether to mount the first resistor R1 on the circuit board, different functions of the first control pin in two scenarios can be realized.
  • the boot process is as follows:
  • the Vsys voltage is established
  • the VPMIC voltage is established, and the state machine module is initialized
  • the state machine module detects the signal level state of the PON pin, because the first resistor R1 is mounted on the circuit board, so the signal level state at this time is high;
  • Step 4 The state machine module configures the function of the PON pin as the power button 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 to control the second conversion Power on the circuit;
  • Step 5 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 6 When the terminal device is working abnormally, such as 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.
  • 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 boot process is as follows:
  • the Vsys voltage is established
  • the VPMIC voltage is established, and the state machine module is initialized
  • the state machine module detects the signal level state of the PON pin, because the first resistor R1 is not mounted on the circuit board, so the signal level state at this time is low;
  • 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 when the terminal equipment is working abnormally, such as BBIC software running dead, the AP can notify Main_PMIC to pull down the PON pin of BB_PMIC, and BBIC is powered off and reset. The pin is pulled high, and the BBIC is powered on again.
  • the embodiment of the present application provides a power management system. Whether the first resistor R1 is mounted on the circuit board can determine 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 reserved resistance position
  • the first power management chip includes a state machine module, a first control pin and a first power pin, and the reserved resistance position The two ends are respectively connected to the first control pin and the first power pin; wherein, the state machine module is used to trigger the first power management through the first control pin when the first resistor is mounted at the reserved resistor position The power-on function or reset function of the chip; or, when the first resistor is not mounted in the reserved resistance position, 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Direct Current Feeding And Distribution (AREA)
  • Power Sources (AREA)

Abstract

Disclosed are a power management circuit and a control method and system thereof; the power management circuit comprises: a first power management chip and a reserved resistor position; the first power management chip comprises a state machine module, a first control pin and a first power pin; two ends of the reserved resistor position are respectively connected to the first control pin and to the first power pin; wherein, the state machine module is configured to trigger a power-on function or a reset function of the first power management chip via the first control pin when a first resistor is attached to the reserved resistor position; or, when the first resistor is not attached to the reserved resistor position, the state machine module is configured to trigger a power-on function or a reset function of the first power management chip by means of an external control module and the first control pin. Three pins in a first power management chip are combined into a single control pin, thus reducing chip area and manufacturing costs, and further reducing the risk of interference with key signals and improving system stability.

Description

一种电源管理电路及其控制方法、系统A power management circuit and its control method and system
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年08月25日提交中国专利局、申请号为202110983933.7、申请名称为“一种电源管理电路及其控制方法、系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110983933.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 reserved resistance position, and the first power management chip includes a state machine module, a first control pin and a second A power supply pin, the two ends of the reserved resistance position are respectively connected to the first control pin and the first power supply pin; wherein,
状态机模块,用于在预留电阻位置贴装第一电阻的情况下,通过第一控制管脚触发第一电源管理芯片的上电功能或复位功能;或者,在预留电阻位置未贴装第一电阻的情况下,通过外部控制模块和第一控制管脚触发第一电源管理芯片的上电功能或复位功能。The state machine module is used to trigger the power-on function or reset function of the first power management chip through the first control pin when the first resistor is mounted on the reserved resistance position; or, if the reserved resistance position is not mounted In the case of the first resistor, 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 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:
通过状态机模块检测第一控制管脚处的信号电平状态;Detecting the signal level state at the first control pin through the state machine module;
根据信号电平状态,确定应用于独立电源管理电路或者组合电源管理电路;According to the state of the signal level, it is determined to be applied to an independent power management circuit or a combined power management circuit;
当确定应用于独立电源管理电路时,通过第一控制管脚触发第一电源管理芯片的上电功能或复位功能;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 reserved resistance position, and the first power management chip includes a state machine module, a first control tube pin and the first power supply pin, and the two ends of the reserved resistance position are respectively connected to the first control pin and the first power supply pin; wherein,
所述状态机模块,用于在所述预留电阻位置贴装第一电阻的情况下,通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能;或者,在所述预留电阻位置未贴装第一电阻的情况下,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。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 first resistor is mounted at the reserved resistor position; or, In the case that no first resistor is attached to the reserved resistor position, the power-on function or reset function of the first power management chip is triggered through an external control module and the first control pin.
在一些实施例中,所述第一电源管理芯片还包括第一变换电路和第二电源管脚,且所述第二电源管脚与外部电源连接;其中,In some embodiments, 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.
在一些实施例中,所述第一变换电路为低压差线性稳压LDO电路。In some embodiments, the first conversion circuit is a low dropout linear regulator LDO circuit.
在一些实施例中,在所述预留电阻位置贴装第一电阻的情况下,所述第一控制管脚处的信号电平状态为第一电平状态;或者,在所述预留电阻位置未贴装第一电阻的情况下,所述第一控制管脚处的信号电平状态为第二电平状态。In some embodiments, when the first resistor is mounted at the reserved resistor position, the signal level state at the first control pin is the first level state; or, the reserved resistor In the case where the first resistor is not mounted, the signal level state at the first control pin is the second level state.
在一些实施例中,所述电源管理电路按照应用场景至少分为独立电源管理电路和组合电源管理电路;其中,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 it is detected that the signal level state at the first control pin is the first level state; or, if it is detected that If the signal level state at the first control pin is the second level state, 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 the external control module.
在一些实施例中,所述独立电源管理电路包括所述第一电源管理芯片和所述第一电阻,且所述第一电阻的两端分别与所述第一控制管脚和所述第一电源管脚连接;其中,In some embodiments, the independent power management circuit includes the first power management chip and the first resistor, and the two ends of the first resistor are respectively connected to the first control pin and the first power pin connections; where,
所述状态机模块,具体用于配置所述第一控制管脚的功能为电源键功能,以使得在所述第一控制管脚处的信号电平状态发生变化时,触发所述第一电源管理芯片的上电功能或 复位功能。The state machine module is specifically configured to configure the function of the first control pin as a power key function, so that when the signal level state at the first control pin changes, the first power supply is triggered. Manage the power-on function or reset function of the chip.
在一些实施例中,所述独立电源管理电路还包括电源键,所述电源键的一端与所述第一控制管脚连接,所述电源键的另一端接地;其中,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 key 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 After the second level state lasts for a first preset time, the 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 and the external control module, the external control module includes a second power management chip and an application processor, and the second power management chip Including a second control pin and a general-purpose input and output pin, 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 when the signal level state at the first control pin changes, trigger the first The power-on function or reset function of the power management chip.
在一些实施例中,所述组合电源管理电路还包括电源键,所述电源键的一端与所述第二控制管脚连接,所述电源键的另一端接地;其中,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 The first level state triggers the power-on operation of the first power management chip 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:
通过状态机模块检测第一控制管脚处的信号电平状态;Detecting the signal level state at the first control pin through the state machine module;
根据所述信号电平状态,确定应用于所述独立电源管理电路或者所述组合电源管理电路;Determine to apply to the independent power management circuit or the combined power management circuit according to the signal level state;
当确定应用于所述独立电源管理电路时,通过所述第一控制管脚触发第一电源管理芯片的上电功能或复位功能;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, the determining to apply to the independent power management circuit or the combined power management circuit according to the signal level state includes:
若检测到所述信号电平状态为第一电平状态,则确定应用于所述独立电源管理电路;或者,If it is detected that the signal level state is the first level state, it is determined to be applied to the independent power management circuit; or,
若检测到所述信号电平状态为第二电平状态,则确定应用于所述组合电源管理电路。If it is detected that the signal level state is the second level state, it is determined to be applied to the combined power management circuit.
在一些实施例中,在所述通过状态机模块检测第一控制管脚处的信号电平状态之前, 所述方法还包括:In some embodiments, before the state machine module detects the signal level state at the first control pin, the method further includes:
在预留电阻位置贴装第一电阻的情况下,确定所述第一控制管脚处的信号电平状态为第一电平状态;或者,In the case of mounting the first resistor at the reserved resistor position, determine that the signal level state at the first control pin is the first level state; or,
在预留电阻位置未贴装第一电阻的情况下,确定所述第一控制管脚处的信号电平状态为第二电平状态。If the first resistor is not installed in the reserved resistor position, it is determined that the signal level state at the first control pin is the second level state.
在一些实施例中,所述第一电平状态为高电平,所述第二电平状态为低电平。In some embodiments, the first level state is high level, and the second level state is low level.
在一些实施例中,在所述通过状态机模块检测第一控制管脚处的信号电平状态之前,所述方法还包括:In some embodiments, before the state machine module detects the signal level state at the first control pin, 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.
在一些实施例中,当确定应用于所述独立电源管理电路时,所述通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能,包括: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, control the signal level at the first control pin to be adjusted from the second level state to the first level state, triggering a power-on operation of the first 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 features and technical content 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; the other 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 Figure 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 related technologies, BB_PMIC separately sets three control pins with 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 reserved resistance position, and the first power management chip includes a state machine module, a first control pin and a first The two ends of the reserved resistance position are respectively connected to the first control pin and the first power supply pin; wherein, the state machine module is used to mount the first resistance at the reserved resistance position, through the second A control pin triggers the power-on function or reset function of the first power management chip; or, in the case where the first resistor is not mounted in the reserved resistance position, triggers the first power management through the external control module and the first control pin The power-on function or reset function of the chip. 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和预留电阻位置42,且第一电源管理芯片41可以包括状态机模块411、第一控制管脚和第一电源管脚,预留电阻位置42的两端分别与第一控制管脚和第一电源管脚连接;其中,In an embodiment of the present application, refer to FIG. 4 , which shows a schematic structural diagram of a power management circuit provided by an embodiment of the present application. As shown in Figure 4, the power management circuit 40 may include a first power management chip 41 and a reserved resistor position 42, and the first power management chip 41 may include a state machine module 411, a first control pin and a first power tube pin, and the two ends of the reserved resistance position 42 are respectively connected to the first control pin and the first power supply pin; wherein,
状态机模块411,用于在预留电阻位置42贴装第一电阻R1的情况下,通过第一控制管脚触发第一电源管理芯片41的上电功能或复位功能;或者,在预留电阻位置42未贴装第一电阻R1的情况下,通过外部控制模块和第一控制管脚触发第一电源管理芯片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 first resistor R1 is mounted on the reserved resistor position 42; If the first resistor R1 is not installed at the position 42, 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.
需要说明的是,本申请实施例的电源管理电路40可以根据在预留电阻位置42是否贴装第一电阻R1来适应不同的应用场景。在图4中,如果预留电阻位置42贴装了第一电阻R1,那么可以将第一控制管脚上拉到第一电源管脚的电平状态;否则,如果预留电阻位置42未贴装第一电阻R1,那么这时候的第一控制管脚处于悬空状态。也就是说,通过在预留电阻位置42选择是否贴装第一电阻R1,可以由状态机模块411来识别出该电源管理电 路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 whether the first resistor R1 is mounted on the reserved resistor position 42 . In Fig. 4, if the first resistor R1 is mounted on the reserved resistance position 42, then the first control pin can be pulled up to the level state of the first power supply pin; otherwise, if the reserved resistance position 42 is not pasted Install the first resistor R1, then the first control pin is in a floating state at this time. That is to say, by selecting whether to mount the first resistor R1 at the reserved resistor position 42 , the application scenario of the power management circuit 40 can be identified by the state machine module 411 .
还需要说明的是,本申请实施例的电源管理电路40实现了将第一电源管理芯片41上的PON、EN和RESETIN三个管脚合并为一个第一控制管脚(用PON表示)。其主要是通过在电路板上设置不同的元器件(例如第一电阻R1),以此在状态机模块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 (such as the first resistor R1) on the circuit board, so that the application scene corresponding to the power management circuit 40 can be identified when the state machine module 411 is initialized, and then the state machine module can be used to 411 assigns different control logics to the first control pins to implement different control functions, so that multiple control logics can be implemented on one pin (ie, the first control pin).
在一些实施例中,在图4所示电源管理电路40的基础上,参见图5,第一电源管理芯片41还可以包括第一变换电路412和第二电源管脚;其中,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 412 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;
第一变换电路412,用于对输入电压进行电压变换,生成供电电压;The first conversion circuit 412 is configured to perform voltage conversion on the input voltage to generate a supply voltage;
第一电源管脚,用于接收供电电压,并根据供电电压为状态机模块411供电,以实现状态机模块411的初始化。The first power supply pin is used to receive the 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 .
在一种具体的示例中,第一变换电路412可以为LDO电路。In a specific example, the first conversion circuit 412 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电压表示;而通过第一变换电路412生成的供电电压可以用VPMIC电压表示。这样,在Vsys电压建立之后,VPMIC电压建立,此时可以实现状态机模块411的初始化。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 412 can be represented by the VPMIC voltage. express. In this way, after the voltage of Vsys is established, the voltage of VPMIC is established, and the initialization of the state machine module 411 can be implemented at this time.
进一步地,在一些实施例中,参见图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还可以包括第二变换电路413;其中,Further, in some embodiments, referring to FIG. 5 , the first power management chip 41 may also include a second conversion circuit 413; 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;
第二变换电路413,用于根据该控制电源时序对输入电压进行电压变换,生成目标电压。The second conversion circuit 413 is configured to perform voltage conversion on the input voltage according to the control power sequence to generate a target voltage.
在一种具体的示例中,第二变换电路413可以为DC-DC电路。In a specific example, the second conversion circuit 413 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初始化之后,这时候第一控制管脚处的信号电平状态与是否贴装第一电阻R1有关。具体来讲,在预留电阻位置42贴装第一电阻R1的情况下,第一控制管脚处的信号电平状态为第一电平状态;或者,在预留电阻位置42未贴装第一电阻R1的情况下,第一控制管脚处的信号电平状态为第二电平状态。It should also be noted that after the state machine module 411 is initialized, the signal level state at the first control pin is related to whether the first resistor R1 is mounted or not. Specifically, when the first resistor R1 is mounted on the reserved resistance position 42, the signal level state at the first control pin is the first level state; or, the second resistor R1 is not mounted on the reserved resistance position 42 In the case of a resistor R1, the signal level state at the first control pin is the second level state.
在一种更具体的示例中,第一电平状态为高电平,第二电平状态为低电平。In a more specific example, the first level state is high level, and the second level state is low level.
也就是说,在Vsys电压建立之后,VPMIC电压建立,这时候如果预留电阻位置42贴装了第一电阻R1,那么第一控制管脚被上拉到VPMIC电压,此时第一控制管脚处的信号电平状态为高电平;如果预留电阻位置42未贴装第一电阻R1,那么第一控制管脚处于悬空状态,此时第一控制管脚处的信号电平状态为低电平。That is to say, after the Vsys voltage is established, the VPMIC voltage is established. At this time, if the first resistor R1 is mounted on the reserved resistance position 42, then the first control pin is pulled up to the VPMIC voltage. At this time, the first control pin The signal level state at the position is high; if the reserved resistance position 42 is not mounted with the first resistor R1, then the first control pin is in a floating state, and the signal level state at the first control pin is low at this time level.
进一步地,预留电阻位置42是否贴装第一电阻R1,还可以此在状态机模块411初始化时来识别电源管理电路40对应的应用场景。具体地,在一些实施例中,对于状态机模 块411来说,其还可以用于若检测到第一控制管脚处的信号电平状态为第一电平状态,则确定应用于独立电源管理电路;或者,若检测到第一控制管脚处的信号电平状态为所述第二电平状态,则确定应用于组合电源管理电路。Further, whether the reserved resistor position 42 is mounted with the first resistor R1 can also be used to identify the corresponding application scenario of the power management circuit 40 when the state machine module 411 is initialized. Specifically, in some embodiments, for the state machine module 411, it can also be used to determine whether the signal level state at the first control pin is the first level state, and then determine the circuit; or, if it is detected that the signal level state at the first control pin is the second level state, it is determined to be applied to the combined power management circuit.
在本申请实施例中,电源管理电路40按照应用场景至少可以分为独立电源管理电路和组合电源管理电路;其中,如果应用于独立场景,这时候可以为独立电源管理电路,其是由电源管理电路40单独组成的;如果应用于组合场景,这时候可以为组合电源管理电路,其是由电源管理电路40与外部控制模块共同组成的。In the embodiment of the present application, the power management circuit 40 can be at least divided into an independent power management circuit and a combined power management circuit according to application scenarios; wherein, if it is applied to an independent scenario, it can be an independent power management circuit at this time, which is determined by the power management The circuit 40 is composed alone; if it is applied to a combined scenario, it may be a combined power management circuit, which is composed of the power management circuit 40 and an external control module.
在一些实施例中,对于独立电源管理电路而言,参见图6,独立电源管理电路60可以包括第一电源管理芯片41和第一电阻R1,且第一电阻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, and the two ends of the first resistor R1 are respectively connected to the first control The pin is connected to the first power supply pin; wherein,
状态机模块411,具体用于配置第一控制管脚的功能为电源键功能,以使得在第一控制管脚处的信号电平状态发生变化时,触发第一电源管理芯片41的上电功能或复位功能。The state machine module 411 is specifically used to configure the function of the first control pin as a power key function, so that when the signal level state at the first control pin changes, the power-on function of the first power management chip 41 is triggered or reset function.
进一步地,在一些实施例中,参见图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、第二电源管理芯片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. Referring to FIG. 7, the combined power management circuit 70 may include a first power management chip 41, 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 general input and output pin, And the general-purpose input and output pins are connected to the first control pin; wherein,
状态机模块411,具体用于配置第一控制管脚的功能为使能复位功能,以使得在第一控制管脚处的信号电平状态发生变化时,触发第一电源管理芯片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 when the signal level state at the first control pin changes, the power-on of the first power management chip 41 is triggered function or reset function.
进一步地,在一些实施例中,参见图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 is used 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.
本实施例提供了一种电源管理电路,该电源管理电路包括第一电源管理芯片和预留电阻位置,且第一电源管理芯片包括状态机模块、第一控制管脚和第一电源管脚,预留电阻位置的两端分别与第一控制管脚和第一电源管脚连接;其中,状态机模块,用于在预留电阻位置贴装第一电阻的情况下,通过第一控制管脚触发第一电源管理芯片的上电功能或复位功能;或者,在预留电阻位置未贴装第一电阻的情况下,通过外部控制模块和第一控制管脚触发第一电源管理芯片的上电功能或复位功能。这样,由于将第一电源管理芯片上的PON、EN和RESETIN三个管脚合并为一个控制管脚,从而不仅能够减少芯片面积,节约制造成本;而且由于减少了电路板上的控制信号,还可以降低关键信号被干扰的风险,提高了系统稳定性。This embodiment provides a power management circuit, the power management circuit includes a first power management chip and a reserved resistance position, and the first power management chip includes a state machine module, a first control pin and a first power pin, The two ends of the reserved resistance position are respectively connected to the first control pin and the first power supply pin; wherein, the state machine module is used to mount the first resistor at the reserved resistance position, through the first control pin Trigger the power-on function or reset function of the first power management chip; or, when the first resistor is not mounted in the reserved resistance position, trigger the power-on of the first power management chip through the external control module and the first control pin function or reset function. 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: Detect the signal level state at the first control pin through the state machine 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 reserved resistance position, and the first power management chip may include a state machine module, a first control pin and a first power pin, and the reserved resistance position The two ends are respectively connected to the first control pin and the first power supply pin.
在一些实施例中,在通过状态机模块检测第一控制管脚处的信号电平状态之前,该方法还可以包括:In some embodiments, before the state machine module detects the signal level state at the first control pin, 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;
根据供电电压为状态机模块供电,以实现状态机模块的初始化。Power the state machine module according to the supply voltage to realize the initialization of the state machine 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 voltage of Vsys is established, the voltage of VPMIC is established, and the initialization of the state machine module can be realized at this time.
进一步地,在状态机模块初始化之后,第一控制管脚处的信号电平状态与预留电阻位置是否贴装第一电阻具有关联关系。因此,在一些实施例中,该方法还可以包括:在预留电阻位置贴装第一电阻的情况下,确定第一控制管脚处的信号电平状态为第一电平状态;或者,在预留电阻位置未贴装第一电阻的情况下,确定第一控制管脚处的信号电平状态为第二电平状态。Further, after the state machine module is initialized, the signal level state at the first control pin has a correlation with whether the first resistor is mounted at the reserved resistor position. Therefore, in some embodiments, the method may further include: in the case of mounting the first resistor at the reserved resistor position, determining that the signal level state at the first control pin is the first level state; or, at If the first resistor is not placed in the reserved resistor position, it is determined that the signal level state at the first control pin is the second level state.
在一种具体的示例中,第一电平状态为高电平,第二电平状态为低电平。In a specific example, the first level state is high level, and the second level state is low level.
也就是说,在Vsys电压建立之后,VPMIC电压建立,这时候如果预留电阻位置贴装了第一电阻,那么第一控制管脚被上拉到VPMIC电压,此时第一控制管脚处的信号电平状态为高电平;如果预留电阻位置未贴装第一电阻,那么第一控制管脚处于悬空状态,此时第一控制管脚处的信号电平状态为低电平。That is to say, after the Vsys voltage is established, the VPMIC voltage is established. At this time, if the first resistor is mounted in the reserved resistance position, then the first control pin is pulled up to the VPMIC voltage. At this time, the first control pin. The signal level state is high level; if the first resistor is not placed in the reserved resistance position, then the first control pin is in a floating state, and the signal level state at the first control pin is low level at this time.
S802:根据信号电平状态,确定应用于独立电源管理电路或者组合电源管理电路。S802: Determine whether to apply to an independent power management circuit or a combined power management circuit according to a signal level state.
需要说明的是,可以根据在预留电阻位置是否贴装第一电阻来适应不同的应用场景,其主要是和第一控制管脚处的信号电平状态有关。具体来讲,所述根据信号电平状态,确定应用于独立电源管理电路或者组合电源管理电路,可以包括:若检测到信号电平状态为第一电平状态,则确定应用于独立电源管理电路;或者,若检测到信号电平状态为第二电平状态,则确定应用于组合电源管理电路。It should be noted that different application scenarios can be adapted according to whether the first resistor is mounted at the reserved resistor position, which is mainly related to the signal level state at the first control pin. Specifically, the determining to apply to the independent power management circuit or combined power management circuit according to the signal level state may include: if it is detected that the signal level state is the first level state, then determining to apply to the independent power management circuit ; or, if it is detected that the signal level state is the second level state, it is determined to apply to the combined power management circuit.
在本申请实施例中,第一电平状态为高电平,第二电平状态为低电平。换句话说,如果检测到信号电平状态为第一电平状态,那么可以确定应用于独立电源管理电路;如果检测到信号电平状态为第二电平状态,那么可以确定应用于组合电源管理电路。In the embodiment of the present application, the first level state is high level, and the second level state is low level. In other words, if it is detected that the signal level state is the first level state, then it can be determined to be applied to the independent power management circuit; if it is detected that the signal level state is the second level state, then it can be determined to be applied to the combined power management circuit circuit.
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. The signal level state at the first control pin is detected by the state machine module; according to the signal level state, it is determined to be applied to an independent power management circuit or a combined power management circuit; when it is determined to be applied to an independent power management circuit, through the first control The pin triggers the power-on function or reset function of the first power management chip; when it is determined to be used in a 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 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.
在一种可能的实现方式中,第一电源管理芯片41单组组成系统时,这时候需要在电路板上贴装第一电阻R1。参见图10,其示出了本申请实施例提供的一种独立电源管理系统的组成结构示意图。如图10所示,独立电源管理系统100可以包括第一电源管理芯片41、第一电阻R1、电源键K1和基带芯片91。In a possible implementation manner, when the first power management chips 41 form a system in a single group, the first resistor R1 needs to be mounted on the circuit board at this time. 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可以包括状态机模块、第一变换电路、第二变换电路、第一控制管脚、第一电 源管脚和第二电源管脚。其中,第一控制管脚用PON管脚表示,第一电源管脚用VPMIC管脚表示,第二电源管脚用Vsys管脚表示,第一电阻R1的两端分别与PON管脚和VPMIC管脚连接,电源键K1的两端分别与PON管脚和地连接;另外,在VPMIC管脚处还可以外挂第一电容C1,以起到滤波作用。Here, the first power management chip 41 may be a BB_PMIC, and the baseband chip 91 may be a BBIC. Specifically, the BB_PMIC may include a state machine module, a first conversion circuit, a second conversion circuit, a first control pin, a first power supply pin, and a second power supply pin. Wherein, 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, and the two ends of the first resistor R1 are respectively connected to the PON pin and the VPMIC tube The two ends of the power button K1 are respectively connected to the PON pin and the ground; in addition, the first capacitor C1 can also be connected to the VPMIC pin for filtering.
在另一种可能的实现方式中,第一电源管理芯片41与外部控制模块共同组成系统时,这时候不需要在电路板上贴装第一电阻R1。参见图11,其示出了本申请实施例提供的一种组合电源管理系统的组成结构示意图。如图11所示,组合电源管理系统110可以包括第一电源管理芯片41、第二电源管理芯片111、应用处理器112、电源键K1和基带芯片91。In another possible implementation manner, when the first power management chip 41 and the external control module together form a system, it is not necessary to mount the first resistor R1 on the circuit board at this time. 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 power key K1 and a baseband chip 91 .
这里,第一电源管理芯片41可以为BB_PMIC,第二电源管理芯片111可以为Main_PMIC,应用处理器112可以为AP,基带芯片91可以为BBIC。具体来说,BB_PMIC可以包括状态机模块、第一变换电路、第二变换电路、第一控制管脚、第一电源管脚和第二电源管脚,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的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 first conversion circuit, a second conversion circuit, a first control pin, a first power supply pin, and a second power supply pin, and Main_PMIC may include a second control pin and a general input output pin. 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 pins of Main_PMIC are connected to the power button K1, and the GPIO_01 pins of Main_PMIC are connected to the PON pins 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 is initialized.
S1203:状态机模块检测第一控制管脚处的信号电平状态。S1203: The state machine module detects the signal level state at the first control pin.
S1204:若信号电平状态为高电平,则状态机模块配置第一控制管脚的功能为电源键功能。S1204: If the signal level state is high level, the state machine module configures the function of the first control pin as a power button function.
S1205:按下电源键且持续T1时间后,BB_PMIC开始上电,BBIC上电启动。S1205: After pressing the power button for T1 time, the BB_PMIC starts to be powered on, and the BBIC is powered on and started.
S1206:按下电源键且持续T2时间后,BB_PMIC进行复位,BBIC下电重启。S1206: After the power button is pressed for T2, the BB_PMIC is reset, and the BBIC is powered off and restarted.
S1207:若信号电平状态为低电平,则状态机模块配置第一控制管脚的功能为使能复位功能。S1207: If the signal level state is low level, the state machine module configures the function of the first control pin to enable the reset function.
S1208:按下电源键,Main_PMIC开始上电后,将第一控制管脚处的信号电平拉高,BB_PMIC开始上电,BBIC上电启动。S1208: 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.
S1209:AP向Main_PMIC发送复位命令,Main_PMIC将第一控制管脚处的信号电平拉低,BBIC下电;T3时间后,Main_PMIC将第一控制管脚处的信号电平拉高,BBIC重新上电。S1209: 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.
需要说明的是,本申请实施例的技术方案是将相关技术中的PON、EN和RESETIN三个管脚合并为一个控制管脚,并且通过在电路板上外加第一电阻R1,可以将其上拉到第一电源管脚处的VPMIC电压。这样,通过在电路板上选择是否贴装第一电阻R1,可以实现两种场景下该第一控制管脚的不同功能。It should be noted that the technical solution of the embodiment of this application is to combine the three pins PON, EN and RESETIN in the related art into one control pin, and by adding the first resistor R1 on the circuit board, it can Pulled up to the VPMIC voltage at the first supply pin. In this way, by choosing whether to mount the first resistor R1 on the circuit board, different functions of the first control pin in two scenarios can be realized.
当BBIC单独组成系统时,系统框图详见图10,这时候需要在电路板上贴装第一电阻R1,而且电源键连接BB_PMIC的第一控制管脚(即PON管脚)。When BBIC constitutes a system alone, the system block diagram is shown in Figure 10. At this time, the first resistor R1 needs to be mounted on the circuit board, and the power button is connected to the first control pin (ie PON pin) of BB_PMIC.
对于图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电压建立,状态机模块初始化;In the second step, the VPMIC voltage is established, and the state machine module is initialized;
第三步,状态机模块检测PON管脚的信号电平状态,因为电路板上贴装了第一电阻R1,所以这时候的信号电平状态为高电平;In the third step, the state machine module detects the signal level state of the PON pin, because the first resistor R1 is mounted on the circuit board, so the signal level state at this time is high;
第四步,状态机模块配置PON管脚的功能为电源键功能:当PON管脚处的信号被拉 低一段时间(比如T1时间)后,状态机模块会触发上电时序,控制第二变换电路上电;Step 4: The state machine module configures the function of the PON pin as the power button 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 to control the second conversion Power on the circuit;
第五步,BB_PMIC等待电源键被按下。当电源键被按下时,PON管脚处的信号被拉低,持续一段时间(比如T1时间)后,BB_PMIC开始上电流程,BBIC上电启动;Step 5, 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 6. When the terminal device is working abnormally, such as 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,这时候不需要在电路板上贴装第一电阻R1,而且电源键连接Main_PMIC的第二控制管脚(PON管脚),Main_PMIC的通用输入输出管脚(即GPIO_01管脚)连接到BB_PMIC的第一控制管脚(PON管脚)。When BBIC and AP form a system together, the system block diagram is shown in Figure 11. At this time, there is no need to mount the first resistor R1 on the circuit board, and the power button is connected to the second control pin (PON pin) of Main_PMIC. The general-purpose input and output pin (ie, GPIO_01 pin) is connected to the first control pin (PON pin) of BB_PMIC.
对于图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电压建立,状态机模块初始化;In the second step, the VPMIC voltage is established, and the state machine module is initialized;
第三步,状态机模块检测PON管脚的信号电平状态,因为电路板上没有贴装第一电阻R1,所以这时候的信号电平状态为低电平;In the third step, the state machine module detects the signal level state of the PON pin, because the first resistor R1 is not mounted on the circuit board, so the signal level state at this time is low;
第四步,状态机模块配置PON管脚的功能为使能复位功能:当PON管脚处的信号从低电平被拉高时,状态机模块会触发上电时序,控制第二变换电路上电;当PON管脚处的信号从高电平被拉低时,状态机模块会触发下电时序,控制第二变换电路下电;In the fourth 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 5, 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 6, when the terminal equipment is working abnormally, such as BBIC software running dead, the AP can notify Main_PMIC to pull down the PON pin of BB_PMIC, and BBIC is powered off and reset. The pin is pulled high, and the BBIC is powered on again.
本申请实施例提供了一种电源管理系统,通过在电路板上是否贴装第一电阻R1,可以确定是应用于独立电源管理系统,还是组合电源管理系统。而且无论是独立电源管理系统还是组合电源管理系统,BB_PMIC均减少了两个管脚,从而可以减少BB_PMIC的芯片面积,节约制造成本;另外,还减少了电路板上的控制信号,降低了关键信号被干扰的风险,提高了系统稳定性。The embodiment of the present application provides a power management system. Whether the first resistor R1 is mounted on the circuit board can determine 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 reserved resistance position, and the first power management chip includes a state machine module, a first control pin and a first power pin, and the reserved resistance position The two ends are respectively connected to the first control pin and the first power pin; wherein, the state machine module is used to trigger the first power management through the first control pin when the first resistor is mounted at the reserved resistor position The power-on function or reset function of the chip; or, when the first resistor is not mounted in the reserved resistance position, 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, 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 (22)

  1. 一种电源管理电路,所述电源管理电路包括第一电源管理芯片和预留电阻位置,且所述第一电源管理芯片包括状态机模块、第一控制管脚和第一电源管脚,所述预留电阻位置的两端分别与所述第一控制管脚和所述第一电源管脚连接;其中,A power management circuit, the power management circuit includes a first power management chip and a reserved resistance position, and the first power management chip includes a state machine module, a first control pin and a first power pin, the Both ends of the reserved resistor position are respectively connected to the first control pin and the first power supply pin; wherein,
    所述状态机模块,用于在所述预留电阻位置贴装第一电阻的情况下,通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能;或者,在所述预留电阻位置未贴装第一电阻的情况下,通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能。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 first resistor is mounted at the reserved resistor position; or, In the case that no first resistor is attached to the reserved resistor position, the power-on function or reset function of the first power management chip is triggered through an external control module and the first control pin.
  2. 根据权利要求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.
  3. 根据权利要求2所述的电源管理电路,其中,所述第一变换电路为低压差线性稳压LDO电路。The power management circuit according to claim 2, wherein the first conversion circuit is a low dropout linear regulator LDO circuit.
  4. 根据权利要求1所述的电源管理电路,其中,The power management circuit according to claim 1, wherein,
    在所述预留电阻位置贴装第一电阻的情况下,所述第一控制管脚处的信号电平状态为第一电平状态;或者,In the case where the first resistor is mounted at the reserved resistor position, the signal level state at the first control pin is the first level state; or,
    在所述预留电阻位置未贴装第一电阻的情况下,所述第一控制管脚处的信号电平状态为第二电平状态。In the case that no first resistor is mounted on the reserved resistor position, the signal level state at the first control pin is the second level state.
  5. 根据权利要求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 it is detected that the signal level state at the first control pin is the first level state; or, if it is detected that If the signal level state at the first control pin is the second level state, 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 the external control module.
  6. 根据权利要求5所述的电源管理电路,其中,所述独立电源管理电路包括所述第一电源管理芯片和所述第一电阻,且所述第一电阻的两端分别与所述第一控制管脚和所述第一电源管脚连接;其中,The power management circuit according to claim 5, wherein the independent power management circuit comprises the first power management chip and the first resistor, and the two ends of the first resistor are respectively connected to the first control The pin is connected to the first power supply pin; wherein,
    所述状态机模块,具体用于配置所述第一控制管脚的功能为电源键功能,以使得在所述第一控制管脚处的信号电平状态发生变化时,触发所述第一电源管理芯片的上电功能或复位功能。The state machine module is specifically configured to configure the function of the first control pin as a power key function, so that when the signal level state at the first control pin changes, the first power supply is triggered. Manage the power-on function or reset function of the chip.
  7. 根据权利要求6所述的电源管理电路,其中,所述独立电源管理电路还包括电源键,所述电源键的一端与所述第一控制管脚连接,所述电源键的另一端接地;其中,The power management circuit according to claim 6, 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 key 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 After the second level state lasts for a first preset time, the power-on operation of the first power management chip is triggered to realize the power-on function.
  8. 根据权利要求7所述的电源管理电路,其中,The power management circuit according to claim 7, 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.
  9. 根据权利要求8所述的电源管理电路,其中,所述第一预设时间小于所述第二预设时间。The power management circuit according to claim 8, wherein the first preset time is shorter than the second preset time.
  10. 根据权利要求5所述的电源管理电路,其中,所述组合电源管理电路包括所述第一电源管理芯片和所述外部控制模块,所述外部控制模块包括第二电源管理芯片和应用处理器,所述第二电源管理芯片包括第二控制管脚和通用输入输出管脚,所述通用输入输出管脚与所述第一控制管脚连接;其中,The power management circuit according to claim 5, wherein the combined power management circuit includes the first power management chip and the external control module, and the external control module includes a second power management 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 when the signal level state at the first control pin changes, trigger the first The power-on function or reset function of the power management chip.
  11. 根据权利要求10所述的电源管理电路,其中,所述组合电源管理电路还包括电源键,所述电源键的一端与所述第二控制管脚连接,所述电源键的另一端接地;其中,The power management circuit according to claim 10, 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 The first level state triggers the power-on operation of the first power management chip to realize the power-on function.
  12. 根据权利要求11所述的电源管理电路,其中,The power management circuit of claim 11, 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.
  13. 根据权利要求4至12任一项所述的电源管理电路,其中,所述第一电平状态为高电平,所述第二电平状态为低电平。The power management circuit according to any one of claims 4 to 12, wherein the first level state is high level, and the second level state is low level.
  14. 一种电源控制方法,应用于电源管理电路,且所述电源管理电路按照应用场景至少分为独立电源管理电路和组合电源管理电路;所述方法包括: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:
    通过状态机模块检测第一控制管脚处的信号电平状态;Detecting the signal level state at the first control pin through the state machine module;
    根据所述信号电平状态,确定应用于所述独立电源管理电路或者所述组合电源管理电路;Determine to apply to the independent power management circuit or the combined power management circuit according to the signal level state;
    当确定应用于所述独立电源管理电路时,通过所述第一控制管脚触发第一电源管理芯片的上电功能或复位功能;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.
  15. 根据权利要求14所述的方法,其中,所述根据所述信号电平状态,确定应用于所述独立电源管理电路或者所述组合电源管理电路,包括:The method according to claim 14, wherein, according to the signal level state, determining to apply to the independent power management circuit or the combined power management circuit comprises:
    若检测到所述信号电平状态为第一电平状态,则确定应用于所述独立电源管理电路;或者,If it is detected that the signal level state is the first level state, it is determined to be applied to the independent power management circuit; or,
    若检测到所述信号电平状态为第二电平状态,则确定应用于所述组合电源管理电路。If it is detected that the signal level state is the second level state, it is determined to be applied to the combined power management circuit.
  16. 根据权利要求14所述的方法,其中,在所述通过状态机模块检测第一控制管脚处的信号电平状态之前,所述方法还包括:The method according to claim 14, wherein, before the state machine module detects the signal level state at the first control pin, the method further comprises:
    在预留电阻位置贴装第一电阻的情况下,确定所述第一控制管脚处的信号电平状态为第一电平状态;或者,In the case of mounting the first resistor at the reserved resistor position, determine that the signal level state at the first control pin is the first level state; or,
    在预留电阻位置未贴装第一电阻的情况下,确定所述第一控制管脚处的信号电平状态为第二电平状态。If the first resistor is not installed in the reserved resistor position, it is determined that the signal level state at the first control pin is the second level state.
  17. 根据权利要求15或16所述的方法,其中,所述第一电平状态为高电平,所述第 二电平状态为低电平。The method according to claim 15 or 16, wherein the first level state is a high level, and the second level state is a low level.
  18. 根据权利要求14所述的方法,在所述通过状态机模块检测第一控制管脚处的信号电平状态之前,所述方法还包括:The method according to claim 14, before the state machine module detects the signal level state at the first control pin, the method further comprises:
    接收外部电源为所述第一电源管理芯片提供的输入电压;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.
  19. 根据权利要求14至18任一项所述的方法,其中,当确定应用于所述独立电源管理电路时,所述通过所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能,包括:The method according to any one of claims 14 to 18, 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.
  20. 根据权利要求19所述的方法,其中,所述第一预设时间小于所述第二预设时间。The method of claim 19, wherein the first predetermined time is less than the second predetermined time.
  21. 根据权利要求14至18任一项所述的方法,其中,当确定应用于所述组合电源管理电路时,所述通过外部控制模块和所述第一控制管脚触发所述第一电源管理芯片的上电功能或复位功能,包括:The method according to any one of claims 14 to 18, 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, control the signal level at the first control pin to be adjusted from the second level state to the first level state, triggering a power-on operation of the first 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.
  22. 一种电源管理系统,所述电源管理系统至少包括如权利要求1至13任一项所述的电源管理电路和基带芯片;其中,所述电源管理电路为所述基带芯片进行上电或复位控制。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 13; wherein, the power management circuit performs power-on or reset control for the baseband chip .
PCT/CN2022/106467 2021-08-25 2022-07-19 Power management circuit and control method and system thereof WO2023024764A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

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

Family

ID=78677923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106467 WO2023024764A1 (en) 2021-08-25 2022-07-19 Power management circuit and control method and system thereof

Country Status (2)

Country Link
CN (2) CN113726127B (en)
WO (1) WO2023024764A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116896417A (en) * 2023-09-11 2023-10-17 新华三技术有限公司 Power supply control method and network equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726127B (en) * 2021-08-25 2023-08-25 Oppo广东移动通信有限公司 Power management circuit and control method and system thereof
CN114740783A (en) * 2022-04-27 2022-07-12 歌尔股份有限公司 Monitoring method, system and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100156479A1 (en) * 2008-12-22 2010-06-24 Elpida Memory, Inc. Power-on reset circuit and adjusting method therefor
CN111681621A (en) * 2020-06-04 2020-09-18 Tcl华星光电技术有限公司 Communication method and driving structure of time schedule controller and power management chip
CN111781872A (en) * 2020-06-30 2020-10-16 山东信通电子股份有限公司 Power-on reset circuit and method of chip
CN111857307A (en) * 2020-07-30 2020-10-30 南京英锐创电子科技有限公司 Control device, control system and control method of power reset circuit
CN111913552A (en) * 2019-05-10 2020-11-10 恩智浦有限公司 Power management for data storage devices
CN113726127A (en) * 2021-08-25 2021-11-30 Oppo广东移动通信有限公司 Power management circuit and control method and system thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2245113C (en) * 1998-08-14 2001-05-01 Ibm Canada Limited-Ibm Canada Limitee Zero power power-on reset bootstrapping method and apparatus for ultra low-power integrated circuit packaging
US7881813B2 (en) * 2006-06-16 2011-02-01 Freescale Semiconductor, Inc. System and method for sharing reset and background communication on a single MCU pin
CN102478940A (en) * 2010-11-24 2012-05-30 英业达股份有限公司 Control circuit for computer system multiplexing pins
CN105223858B (en) * 2014-06-13 2018-05-04 深圳市双赢伟业科技股份有限公司 The switching on and shutting down control circuit of a kind of electronic equipment
CN107122032B (en) * 2016-02-25 2022-03-22 西安中兴新软件有限责任公司 Terminal, and crash reset control circuit and method
CN107423244B (en) * 2017-04-27 2019-07-30 广州慧睿思通信息科技有限公司 A kind of flexible configuration device and its implementation being multiplexed function pin

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100156479A1 (en) * 2008-12-22 2010-06-24 Elpida Memory, Inc. Power-on reset circuit and adjusting method therefor
CN111913552A (en) * 2019-05-10 2020-11-10 恩智浦有限公司 Power management for data storage devices
CN111681621A (en) * 2020-06-04 2020-09-18 Tcl华星光电技术有限公司 Communication method and driving structure of time schedule controller and power management chip
CN111781872A (en) * 2020-06-30 2020-10-16 山东信通电子股份有限公司 Power-on reset circuit and method of chip
CN111857307A (en) * 2020-07-30 2020-10-30 南京英锐创电子科技有限公司 Control device, control system and control method of power reset circuit
CN113726127A (en) * 2021-08-25 2021-11-30 Oppo广东移动通信有限公司 Power management circuit and control method and system thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116896417A (en) * 2023-09-11 2023-10-17 新华三技术有限公司 Power supply control method and network equipment
CN116896417B (en) * 2023-09-11 2023-12-22 新华三技术有限公司 Power supply control method and network equipment

Also Published As

Publication number Publication date
CN113726127A (en) 2021-11-30
CN117060680A (en) 2023-11-14
CN113726127B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
WO2023024764A1 (en) Power management circuit and control method and system thereof
WO2023024788A1 (en) Power management circuit and control method therefor, and power management system
US20220116237A1 (en) Data transmission method and data transmission device
CN108737869B (en) Smart television starting processing method based on human body induction and smart television system
CN107947946B (en) Power supply equipment, Ethernet power supply method and device
US11463955B2 (en) Method for implementing low power consumption on standby for bluetooth security device and bluetooth security device
US8719608B2 (en) Control apparatus for a computer, main board and computer
JP2014524232A (en) Power supply apparatus and method, and user apparatus
TW201303563A (en) System power integrated circuit and architecture, management circuit, power supply arrangement, and portable apparatus
US20140330989A1 (en) Intelligent Power Strip
WO2021115151A1 (en) Electronic device
WO2023226932A1 (en) Electronic device and electronic device set
CN105204601B (en) A kind of system electrification automatic boot circuit and its starting-up method
US9836106B2 (en) Method and apparatus for powering on a terminal
US11460909B2 (en) Device for reducing standby power and electronic device therefor
US9952640B2 (en) Power control system
CN103592861A (en) Multifunctional single switch power source management system
CN111629424B (en) Power management method, corresponding system and device
CN110764398B (en) Intelligent watch and mode switching method thereof
CN113342486B (en) Electronic device, control method, control system, and storage medium
CN108196481B (en) Power supply adjusting method and electronic equipment
CN111586483A (en) Control method and system for dual forms of smart television and smart sound box
US8542001B2 (en) Power circuit for reducing standby power consumption
TW201421227A (en) Voltage regulation apparatus
US20140208127A1 (en) Electronic device having multiple human-machine interfaces and method for running multiple human-machine interfaces

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: 22860110

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE