WO2021159527A1 - Voltage adjusting system, system on chip, and voltage adjusting method - Google Patents

Voltage adjusting system, system on chip, and voltage adjusting method Download PDF

Info

Publication number
WO2021159527A1
WO2021159527A1 PCT/CN2020/075422 CN2020075422W WO2021159527A1 WO 2021159527 A1 WO2021159527 A1 WO 2021159527A1 CN 2020075422 W CN2020075422 W CN 2020075422W WO 2021159527 A1 WO2021159527 A1 WO 2021159527A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
voltage
digital signal
signal
pwm digital
Prior art date
Application number
PCT/CN2020/075422
Other languages
French (fr)
Chinese (zh)
Inventor
赵鹏飞
谭丽娟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN202080096610.XA priority Critical patent/CN115136480A/en
Priority to PCT/CN2020/075422 priority patent/WO2021159527A1/en
Publication of WO2021159527A1 publication Critical patent/WO2021159527A1/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
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
    • H02M3/157Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators with digital control

Definitions

  • This application relates to the field of chip technology, and in particular to a voltage regulation system, a system on a chip, and a voltage regulation method.
  • SoC system on chip
  • the existing SoC voltage regulation scheme can be as shown in Fig. 1.
  • the SoC outputs a pulse width modulation (PWM) digital signal with an adjustable duty cycle. Different duty cycles correspond to different analog voltage values.
  • PWM pulse width modulation
  • the SoC adjusts the power chip through the output PWM digital signal. Make the output voltage signal of the power chip output the operating voltage required by the processor inside the SoC after passing through the peripheral circuit.
  • Vout input to the SoC needs to meet the working requirements of different application scenarios of the SoC: 1.
  • the minimum value of Vout cannot be lower than the minimum voltage V1 required by the processor; 2.
  • Vout The maximum value of can not be lower than the operating voltage V2 required by the processor in high-performance scenarios; 3.
  • the solution shown in Figure 1 has the following problems:
  • the duty cycle of the PWM digital signal cannot be set, and the PWM pin can only output a high level (equivalent to a duty cycle of 1) or low Level (equivalent to a duty cycle of 0).
  • the PWM pin outputs a high level, the value of Vout is the smallest.
  • Vout the value of Vout cannot be used as the operating voltage during SoC initialization; when the PWM pin outputs a low level, the value of Vout is the largest. If the PWM pin outputs a low level, the value of Vout is set It is V3, although it can meet the initial needs of SoC, but because the Vout value when the PWM pin outputs low level is the maximum voltage that the SoC can provide, SoC cannot provide the required operating voltage V2 (V2 is greater than V3) in high-performance scenarios. Therefore, the processor cannot support the work in high-performance scenarios.
  • Vout when the PWM pin outputs a low level is set to V2, then during the initialization process, the value of Vout is not equal to V3 (V3 is less than V2), which is difficult to meet The initialization requirement of SoC makes SoC initialization fail.
  • the SoC voltage regulation solution provided by the prior art has a problem that it is difficult to balance the requirements of initialization and high-performance scenarios.
  • the embodiments of the present application provide a voltage regulation system, a system on a chip, and a voltage regulation method, which are used to provide an adjustable working voltage for the system on a chip, taking into account the initialization requirements of the system on chip and the requirements of high-performance scenarios.
  • an embodiment of the present application provides a voltage regulation system, which includes: a system on a chip and a power chip.
  • the system-on-chip is used to output the first PWM digital signal and the second PWM digital signal;
  • the power chip is coupled with the system-on-chip, and is used to output the first duty cycle of the first PWM digital signal and the second duty of the second PWM digital signal.
  • the output voltage signal is obtained by the idle ratio and the reference voltage of the power chip, and the output voltage signal is used to provide the input voltage for the on-chip system.
  • the on-chip system outputs two PWM digital signals, namely the first PWM digital signal and the second PWM digital signal.
  • the first PWM digital signal can be configured as a high level ( Equivalent to a duty cycle of 1) or a low level (equivalent to a duty cycle of 0)
  • the second PWM digital signal can also be configured as a high level or a low level. Therefore, the output of the on-chip system can be configured into four types
  • the combination correspondingly, the input voltage provided by the power chip for the system-on-chip can also have four combinations.
  • the system-on-chip can output the first PWM digital signal with adjustable duty cycle and the second PWM digital signal with adjustable duty cycle to instruct the power chip to adjust the output voltage signal, thereby making the system-on-chip Obtain the desired operating voltage.
  • the voltage regulation system provided by the embodiments of the present application can provide an adjustable operating voltage for the system-on-chip when the system-on-chip is working normally, and at the same time, it can also take into account the initialization requirements of the system-on-chip and the requirements of high-performance scenarios.
  • the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario; or, the first PWM digital When the signal is at a high level and the second PWM digital signal is at a low level, the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario.
  • the output voltage signal is the input voltage provided by the on-chip system as the operating voltage of the on-chip system in a high-performance scenario; or, the first duty cycle is less than
  • the output voltage signal is the input voltage provided by the on-chip system as the operating voltage of the on-chip system in a high-performance scenario.
  • the first preset value and the second preset value can be configured according to requirements, and the values of the first preset value and the second preset value may be the same or different.
  • the smaller the first duty cycle and the second duty cycle the greater the input voltage provided by the power chip for the system-on-chip. In high-performance scenarios, the operating voltage required by the system-on-chip is relatively high.
  • the first duty cycle can be made smaller than the first preset value
  • the second duty cycle can be made smaller than the second preset value
  • the first duty cycle can be made
  • the ratio and the second duty cycle are both zero (that is, the first PWM digital signal and the second PWM digital signal are both low), so that the on-chip system can obtain a higher input voltage as the working voltage in a high-performance scenario.
  • the voltage regulation system provided in the first aspect further includes a peripheral circuit.
  • the peripheral circuit is used to convert the first PWM digital signal into a first feedback signal; and the second PWM digital signal is converted into a second feedback signal; the peripheral circuit is also used to divide the input voltage of the on-chip system to obtain the first Three feedback signals, and the first feedback signal, the second feedback signal, and the third feedback signal are fed back to the power chip; then, the power chip is specifically used to: according to the first feedback signal, the second feedback signal, the third feedback signal and the power source The chip reference voltage gets the output voltage signal.
  • a feedback signal can be provided for the power supply chip through the peripheral circuit, so that the power supply chip can adjust the reference voltage according to the feedback signal to obtain an output voltage signal.
  • the peripheral circuit may include: a first filter circuit for converting the first PWM digital signal into a first feedback signal, and feeding back the first feedback signal to the feedback voltage input terminal of the power chip; and a second filter circuit for The second PWM digital signal is converted into a second feedback signal, and the second feedback signal is fed back to the feedback voltage input terminal; a voltage divider circuit is used to divide the input voltage to obtain a third feedback signal, and feed back the third feedback signal To the feedback voltage input terminal.
  • the first feedback signal, the second feedback signal, and the third feedback signal are provided for the power chip through the first filter circuit, the second filter circuit, and the voltage divider circuit, respectively.
  • the voltage divider circuit includes a first resistor and a second resistor.
  • the first end of the first resistor is coupled to the port of the on-chip system for receiving the input voltage, and the second end of the first resistor is connected to the feedback voltage input.
  • the first end of the second resistor is coupled to the first end of the second resistor, and the second end of the second resistor is coupled to the ground end;
  • the first filter circuit includes a third resistor, a fourth resistor, and a first capacitor.
  • the first end of the third resistor is connected to the on-chip system Port coupling for outputting the first PWM digital signal
  • the second end of the third resistor is coupled to the first end of the first capacitor and the first end of the fourth resistor
  • the second end of the fourth resistor is coupled to the feedback voltage input end
  • the second terminal of the first capacitor is coupled to the ground terminal;
  • the second filter circuit includes a fifth resistor, a sixth resistor, and a second capacitor. Coupling, the second end of the fifth resistor is coupled to the first end of the second capacitor and the first end of the sixth resistor, the second end of the sixth resistor is coupled to the feedback voltage input end, and the second end of the second capacitor is connected to ground End coupling.
  • the peripheral circuit may further include: an output filter circuit, coupled with the voltage output terminal of the power chip, for filtering the output voltage signal to obtain the input voltage of the on-chip system.
  • the output voltage signal can be filtered through the output filter circuit to provide a stable input voltage for the on-chip system.
  • the embodiments of the present application also provide a system on chip, the system on chip is used to: output the first PWM digital signal and the second PWM digital signal; receive the input voltage of the system on chip provided by the power chip, It works under the driving of the voltage, and the input voltage is obtained by the power chip according to the first duty ratio of the first PWM digital signal, the second duty ratio of the second PWM digital signal and the reference voltage of the power chip.
  • the input The voltage is the operating voltage of the on-chip system in the initialization scenario.
  • the input voltage is the operating voltage of the on-chip system in high-performance scenarios.
  • system-on-chip provided in the second aspect can be regarded as the system-on-chip in the voltage regulation system provided in the first aspect.
  • system-on-chip in the voltage regulation system provided in the first aspect.
  • an embodiment of the present application also provides a voltage regulation method.
  • the method includes: a voltage regulation system obtains a first PWM digital signal and a second PWM digital signal; Ratio, the second duty of the second PWM digital signal and the reference voltage of the power chip obtain an output voltage signal, and the output voltage signal is used to provide an input voltage for the on-chip system.
  • the output voltage signal is the system-on-chip input voltage, and the input voltage is the operating voltage of the system-on-chip in the initialization scenario; or ,
  • the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario.
  • the output voltage signal is the input voltage provided by the on-chip system as the operating voltage of the on-chip system in a high-performance scenario; or, the first When a duty cycle is less than the first preset value and the second duty cycle is less than the second preset value, the output voltage signal is the system-on-chip input voltage, and the input voltage is the operating voltage of the system-on-chip in a high-performance scenario.
  • the voltage regulating system obtains the output voltage signal according to the first duty cycle of the first PWM digital signal, the second duty cycle of the second PWM digital signal, and the power chip reference voltage, which can be implemented in the following manner:
  • the digital signal is converted into the first feedback signal;
  • the second PWM digital signal is converted into the second feedback signal;
  • the input voltage of the on-chip system is divided to obtain the third feedback signal; according to the first feedback signal, the second feedback signal, and the second feedback signal
  • Three feedback signals and the reference voltage of the power chip obtain the output voltage signal.
  • the output voltage signal is used to provide the input voltage for the on-chip system, which specifically includes: filtering the output voltage signal to obtain the input voltage of the on-chip system.
  • the pressure regulation method provided by the third aspect can be regarded as the method performed by the pressure regulation system provided by the first aspect.
  • the relevant description in the first aspect Go into details.
  • an embodiment of the present application provides a system on chip, the system on chip includes: a DC power supply, a first resistor, a first switch tube, a second switch tube, and a second resistor, and a PWM controller, a DC power supply and a first resistor Is coupled to the first end of the first resistor, the second end of the first resistor is coupled to the first end of the first switch, the second end of the first switch is coupled to the first end of the second switch, the PWM controller and the on-chip system
  • the second end of the second switch tube is coupled to the first end of the second resistor, and the second end of the second resistor is coupled to the ground end.
  • the power chip is used to adjust the output voltage signal according to the output signal of the system-on-chip,
  • the output voltage signal is used to provide a working voltage for the on-chip system; wherein, when the on-chip system is initialized, the first switch tube and the second switch tube are turned on, and the PWM controller is in a high impedance state.
  • the output of the PWM controller is zero, and the output of the PWM controller has no effect on the power chip.
  • the system on chip provides the power chip with the output of the first resistor and the second resistor to the DC power supply.
  • the voltage obtained after the voltage is divided.
  • the voltage can be adjusted by the output voltage of the DC power supply, the resistance of the first resistor, and the resistance of the second resistor, so that the power chip can adjust the reference voltage according to the voltage.
  • the output voltage signal can meet the initialization requirements of the on-chip system.
  • the PWM controller when the on-chip system is working normally, the first switching tube and the second switching tube are turned off, and the PWM controller outputs a PWM digital signal.
  • the power chip can adjust the output voltage signal according to the duty ratio of the PWM digital signal, so that the output voltage signal can meet the working voltage requirements of the on-chip system in the normal working state.
  • Figure 1 is a schematic diagram of a SoC voltage regulation solution provided by the prior art
  • Figure 2 is a schematic structural diagram of a pressure regulating system provided by the prior art
  • FIG. 3 is a schematic structural diagram of the first pressure regulating system provided by an embodiment of the application.
  • Fig. 4 is a schematic structural diagram of a second pressure regulating system provided by an embodiment of the application.
  • Fig. 5 is a schematic structural diagram of a third pressure regulating system provided by an embodiment of the application.
  • Fig. 6 is a schematic structural diagram of a fourth pressure regulating system provided by an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of a fifth pressure regulating system provided by an embodiment of the application.
  • FIG. 8 is a schematic flow chart of a pressure regulating method provided by an embodiment of the application.
  • FIG. 9 is a schematic structural diagram of a system on chip provided by an embodiment of the application.
  • the SoC outputs a PWM digital signal with an adjustable duty cycle. Different duty cycles correspond to different voltage values, and the SoC adjusts by the output PWM digital signal.
  • the power chip makes the output voltage signal of the power chip output the working voltage required by the processor inside the SoC after passing through the peripheral circuit. Specifically, the PWM digital signal is converted into a corresponding voltage value by the peripheral circuit and output to the power chip. The power chip adjusts the reference voltage according to the voltage value to obtain the output voltage. The output voltage is filtered by the peripheral circuit to obtain the SoC internal The operating voltage Vout required by the processor.
  • the structural schematic diagram of the voltage regulation system may be as shown in FIG. 2.
  • the power chip includes an error amplifier and a voltage output circuit.
  • the resistor R1, resistor R2, resistor R3, resistor R4, inductor L, capacitor C1, and capacitor C2 form a peripheral circuit.
  • the PWM digital signal output by the SoC is filtered by R3, R4 and C2 to obtain the feedback signal Vpwm, which is input to the inverting input terminal of the error amplifier; the input voltage Vout of the SoC is divided by R1 and R2 as the feedback signal input
  • the inverting input terminal of the error amplifier; the non-inverting input terminal of the error amplifier is connected to the reference voltage source for inputting the reference voltage Vref, the inverting input terminal is used as the feedback input terminal, and the error amplifier is used to output the input voltage of the feedback input terminal and the reference voltage source.
  • the error amplifier adjusts the reference voltage signal input from the non-inverting input terminal based on the feedback signal input from the inverting input terminal, and the voltage difference output by the error amplifier is the adjusted voltage signal, which is The input terminal is connected with the output terminal of the error amplifier to obtain the voltage difference.
  • the voltage output circuit processes the voltage difference output by the error amplifier to obtain an output voltage signal.
  • the output voltage signal is filtered by L and C1 to obtain Vout and provide it to the SoC .
  • the SoC can indicate the operating voltage required by the internal processor through the output PWM digital signal, thereby obtaining the desired Vout.
  • the output voltage Vout is determined according to the following formula:
  • Vout Vref ⁇ (1+R1/R2)+(Vref-Vpwm)(R1/(R3+R4))
  • Vref, R1, R2, R3, and R4 are all constants, so Vout is controlled by the Vpwm converted from the PWM digital signal, that is, controlled by the duty cycle of the PWM digital signal.
  • the voltage regulation system shown in Figure 2 has the following problems: During the initialization of the SoC, the duty cycle of the PWM digital signal cannot be set, and the PWM pin can only output a high level (equivalent to a duty cycle of 1) Or low level (equivalent to a duty cycle of 0). When the PWM pin outputs a low level, the value of Vout is the largest.
  • Vout when the PWM pin outputs a low level is set to the initialization voltage of the SoC, although it can meet the initialization requirements of the SoC, because the Vout value when the PWM pin outputs a low level is the maximum value of Vout that the power chip can provide During the normal operation of the SoC, the power chip can no longer provide a higher voltage than the initialization voltage, so it is difficult to meet the voltage requirements of the SoC in high-performance scenarios; if the Vout value when the PWM pin outputs a low level is set to the SoC The operating voltage in the high-performance scenario, then during the initialization process, the operating voltage in the high-performance scenario is relatively high, making the SoC unable to complete the initialization.
  • the embodiments of the present application provide a voltage regulation system, a system on a chip, and a voltage regulation method, which are used to provide an adjustable working voltage for the system on a chip, taking into account the initialization requirements of the system on chip and the requirements of high-performance scenarios.
  • the voltage regulation system 300 includes a system on chip 301 and a power chip 302.
  • the system-on-chip 301 is used to output the first PWM digital signal and the second PWM digital signal;
  • the power chip 302 is coupled with the system-on-chip 301 and is used to output the first duty cycle of the first PWM digital signal and the second PWM digital signal.
  • the second duty cycle and the reference voltage of the power chip obtain an output voltage signal, and the output voltage signal is used to provide an input voltage for the system on chip 301.
  • the output voltage signal of the power chip 302 can be directly used as the input voltage of the system on chip 301, or after processing (such as filtering), it can be used as the input voltage of the system on chip 301.
  • the input voltage is the input voltage of the system on chip 301 in the current scene. Required working voltage.
  • the first PWM digital signal and the second PWM digital signal are both PWM digital signals with an adjustable duty cycle.
  • the system-on-chip 301 instructs the power chip 302 to adjust the output voltage signal through the first duty cycle of the first PWM digital signal and the second duty cycle of the second PWM digital signal that are output, so as to obtain a desired operating voltage.
  • the first PWM digital signal in one clock cycle, can reflect the size of the first duty cycle. For example, if the duration of a clock cycle is 100ms, the first PWM digital signal outputs a high level in the first 50ms and outputs a low level in the last 50ms. Then in this clock cycle, the first duty cycle of the first PWM digital signal For example, the duration of a clock cycle is 100ms, and the first PWM digital signal outputs a high level in the first 20ms and a low level in the last 80ms.
  • the first PWM digital signal outputs 3.3V in one clock cycle, then the first duty cycle of the PWM digital signal is 1; the first PWM digital signal outputs 0V in one clock cycle, then the PWM digital The first duty cycle of the signal is zero.
  • the second duty cycle of the second PWM digital signal can also be understood in the same way, which will not be repeated here.
  • the voltage value of the low level corresponding to the first PWM digital signal and the second PWM digital signal may both be 0V, and the first PWM digital signal and the second PWM digital signal correspond to
  • the high-level voltage values can be the same or different.
  • the high-level voltage value corresponding to the first PWM digital signal is 3.3V
  • the high-level voltage value corresponding to the second PWM digital signal is also 3.3V; in another possibility
  • the high-level voltage value corresponding to the first PWM digital signal is 3.3V
  • the high-level voltage value corresponding to the second PWM digital signal is 1.8V.
  • the system-on-chip 301 can detect its own attribute parameters, and generate corresponding first PWM digital signals and second PWM digital signals based on the detected attribute parameters; among them, the detected attribute parameters can reflect the system-on-chip 301
  • the parameters required by the core voltage such as the process parameters of the processor, the scene in which the processor is running, and so on.
  • the operating voltage required by the processor can be obtained.
  • the corresponding relationship between the attribute parameter and the operating voltage required by the processor can be a set mapping relationship. Through the experience and experiment of the designer, the operating voltage corresponding to different attribute parameters is determined in advance, and then the determined voltage value is made to have the first account.
  • the first PWM digital signal with the empty ratio and the second PWM digital signal with the second duty ratio are identified.
  • the on-chip system 301 instructs the operating voltage required by the internal processor by outputting the first PWM digital signal and the second PWM digital signal.
  • the generation of the first PWM digital signal and the second PWM digital signal can be performed by the PWM controller in the system-on-chip 301, for example, the first PWM digital signal and the second PWM digital signal can be generated by a PWM controller, or by The two PWM controllers respectively generate the first PWM digital signal and the second PWM digital signal.
  • the system on chip 301 outputs two PWM digital signals, that is, the first PWM digital signal and the second PWM digital signal, then when the system on chip 301 is initialized, the first PWM digital signal can be Configured as high level (equivalent to duty cycle of 1) or low level (equivalent to duty cycle of 0), the second PWM digital signal can also be configured to high level or low level. Therefore, the system on chip 301 The output can be configured into four combinations: 1. The first PWM digital signal is high level, and the second PWM digital signal is high level; 2. The first PWM digital signal is high level, and the second PWM digital signal is low. Level; 3.
  • the first PWM digital signal is low level, and the second PWM digital signal is high level; 4.
  • the first PWM digital signal is low level, and the second PWM digital signal is low level.
  • the input voltage provided for the system on chip 301 can also have four combinations.
  • the system-on-chip 301 can output a first PWM digital signal with an adjustable duty cycle and a second PWM digital signal with an adjustable duty cycle to instruct the internal processor to work. Voltage, and then obtain the desired operating voltage, to meet the different operating voltage requirements of the processor.
  • the voltage regulating system 300 provided by the embodiment of the present application can provide the system on chip 301 with an adjustable operating voltage when the system on chip 301 is working normally. In addition, it can also take into account the initialization requirements of the system on chip 301 and the requirements of high-performance scenarios. .
  • the first PWM digital signal and the second PWM digital signal can adopt the following configuration: when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, the power chip 302 The output voltage signal of is the input voltage provided by the system-on-chip 301 is the operating voltage of the system-on-chip 301 in the initialization field.
  • the output voltage signal of the power chip 302 is the system-on-chip 301 and the input voltage is the operating voltage of the system-on-chip 301 in the initialization scenario.
  • one of the first PWM digital signal and the second PWM digital signal can be configured as a high level and the other can be configured as a low level.
  • the first PWM digital signal and the second PWM digital signal may adopt the following configuration: when the first PWM digital signal and the second PWM digital signal are both low, the output voltage signal of the power chip 302 is The input voltage provided by the system-on-chip 301 is the operating voltage of the system-on-chip 301 in a high-performance scenario. Or, when the first duty cycle is less than the first preset value, and the second duty cycle is less than the second preset value, the output voltage signal of the power chip 302 is the input voltage provided by the system-on-chip 301. Working voltage.
  • the first preset value and the second preset value can be configured according to requirements, and the values of the first preset value and the second preset value may be the same or different.
  • the first preset value and the second preset value may both be 0.1, or the first preset value may be 0.1 and the second preset value may be 0.2.
  • the first duty cycle can be made smaller than the first preset value
  • the second duty cycle can be made smaller than the second preset value
  • the first The first duty cycle and the second duty cycle are both zero (that is, the first PWM digital signal and the second PWM digital signal are both low), so that the system-on-chip 301 obtains a higher input voltage, which is used as a high-performance scenario Working voltage.
  • the voltage regulation system 300 may also include peripheral circuits, as shown in FIG. 4.
  • the peripheral circuit is used for converting the first PWM digital signal into a first feedback signal; and converting the second PWM digital signal into a second feedback signal.
  • the voltage value of the first feedback signal converted by the peripheral circuit is also different; similarly, when the second duty ratio is different, the value of the second feedback signal converted by the peripheral circuit is different.
  • the voltage value is also different. That is, the first feedback signal is a feedback signal that can reflect the magnitude of the first duty cycle, and the second feedback signal is a feedback signal that can reflect the magnitude of the first duty cycle. Since the system-on-chip 301 can indicate the operating voltage required by its internal processor through the first duty cycle and the second duty cycle, the peripheral circuit uses the first feedback signal for the first duty cycle and the second duty cycle respectively. And the second feedback signal instruction can make the power chip 302 adjust the output voltage signal according to the first feedback signal and the second feedback signal, so that the input voltage of the system on chip 301 is the operating voltage required by the processor.
  • peripheral circuit can also be used to divide the input voltage of the system-on-chip 301 to obtain a third feedback signal, and feed back the first feedback signal, the second feedback signal, and the third feedback signal to the power chip 302. Then, the power chip 302 is specifically used to obtain the output voltage signal according to the first feedback signal, the second feedback signal, the third feedback signal and the reference voltage of the power chip.
  • the power chip 302 may adjust the reference voltage of the power chip according to the first feedback signal, the second feedback signal, and the third feedback signal to obtain the output voltage signal.
  • the peripheral circuits may include a first filter circuit, a second filter circuit, and a voltage divider circuit.
  • the first filter circuit is used to convert the first PWM digital signal into a first feedback signal, and the first feedback signal is fed back to the feedback voltage input terminal of the power chip 302;
  • the second filter circuit is used to convert the second PWM digital signal It is the second feedback signal, and the second feedback signal is fed back to the feedback voltage input terminal;
  • the voltage divider circuit is used to divide the input voltage to obtain the third feedback signal, and feed back the third feedback signal to the feedback voltage input terminal.
  • the filter circuit can be composed of resistors and capacitors, and the voltage divider circuit can be implemented by voltage divider resistors.
  • the voltage divider circuit may include a first resistor and a second resistor.
  • the first end of the first resistor is coupled to the port of the on-chip system 301 for receiving the input voltage, and the second end of the first resistor is connected to the feedback voltage.
  • the input terminal is coupled with the first terminal of the second resistor, and the second terminal of the second resistor is coupled with the ground terminal;
  • the first filter circuit may include a third resistor, a fourth resistor, and a first capacitor, and the first terminal of the third resistor is coupled with
  • the on-chip system 301 is used to output the port coupling of the first PWM digital signal, the second end of the third resistor is coupled to the first end of the first capacitor and the first end of the fourth resistor, and the second end of the fourth resistor is coupled to the feedback voltage
  • the input end is coupled, the second end of the first capacitor is coupled to the ground end;
  • the second filter circuit includes a fifth resistor, a sixth resistor, and a second capacitor, and the first end of the fifth resistor and the system on chip 301 are used to output the second PWM Digital signal port coupling, the second end of the fifth resistor is coupled to the first end of the second capacitor and the first end of the sixth resistor, the second end of the sixth resistor is coupled to the
  • FIG. 5 it is a specific example of the voltage regulating system 300 shown in FIG. 4.
  • the specific composition of the peripheral circuit is shown.
  • R1 and R2 form a voltage divider circuit, where R1 can be regarded as the first resistor, and R2 can be regarded as the second resistor;
  • R3, R4 and C2 form the first filter circuit, where R3 can be regarded as the third resistor and R4 can be regarded as As the fourth resistor, C2 can be regarded as the first capacitor;
  • R5, R6, and C3 form the second filter circuit, where R5 can be regarded as the fifth resistor, R6 can be regarded as the sixth resistor, and C3 can be regarded as the second capacitor.
  • the peripheral circuit may also include an output filter circuit, which is coupled to the voltage output terminal of the power chip 302 and is used to filter the output voltage signal of the power chip 302 In order to obtain the input voltage of the system-on-chip 301.
  • the output filter circuit may be composed of an inductor L and a capacitor C1, as shown in FIG. 5.
  • the power chip may include an error amplifier and a voltage output circuit, as shown in FIG. 6 in detail.
  • the first PWM digital signal output by the on-chip system 301 (indicated by PWM0 in Figure 6) is filtered by R3, R4, and C2 to obtain the first feedback signal Vpwm0, and Vpwm0 is input as the first feedback signal to the inverting input terminal of the error amplifier ;
  • the second PWM digital signal output by the on-chip system 301 (indicated by PWM1 in Figure 6) is filtered by R5, R6, and C3 to obtain the second feedback signal Vpwm1, and Vpwm1 is input as the second feedback signal to the inverting input of the error amplifier;
  • the input voltage Vout of the system-on-chip 301 is divided by R1 and R2 as the third feedback signal and input to the inverting input terminal of the error amplifier;
  • the non-inverting input terminal of the error amplifier is connected to a reference voltage source for inputting the reference voltage Vref, and the inverting input terminal As the feedback input terminal, the error amplifier is used to output the voltage difference between the input voltage at
  • the voltage difference output by the error amplifier is the adjusted voltage signal
  • the input terminal of the voltage output circuit is connected with the output terminal of the error amplifier to obtain the voltage difference
  • the voltage output circuit processes the voltage difference output by the error amplifier
  • the output voltage signal is obtained, and the output voltage signal is filtered by L and C1 to obtain Vout and provide it to the system-on-chip 301.
  • the output voltage Vout is determined according to the following formula:
  • Vout Vdc+ ⁇ V0+ ⁇ V1
  • Vdc Vref*(1+R1/R2), and the value of Vdc depends on the characteristics of the power chip 302 and is a fixed value.
  • ⁇ V0 (Vref-Vpwm0)*R1/(R3+R4), ⁇ V0 changes with the first duty ratio set by the system on chip 301.
  • ⁇ V1 (Vref-Vpwm1)*R1/(R5+R6), ⁇ V1 changes with the second duty ratio set by the system on chip 301.
  • Vpwm0 the larger the value of Vout
  • Vpwm0 is obtained by PWM0 after filtering by R3, R4 and C2.
  • the smaller the first duty cycle of PWM0 the smaller the value of Vpwm0. Therefore, the smaller the first duty cycle, the larger the value of Vout.
  • the smaller the value of Vpwm1, the larger the value of Vout; and Vpwm1 is obtained by filtering PWM1 through R5, R6 and C3.
  • the smaller the second duty cycle of PWM1 the smaller the value of Vpwm1. Therefore, the smaller the second duty cycle, the larger the value of Vout.
  • Vout can get the maximum value Vout_max
  • Vout can get the minimum value Vout_min
  • the on-chip system 301 outputs two PWM digital signals, namely the first PWM digital signal and the second PWM digital signal.
  • the first PWM digital signal It can be configured as a high level (equivalent to a duty cycle of 1) or a low level (equivalent to a duty cycle of 0), and the second PWM digital signal can also be configured to a high level or a low level. Therefore, the system on chip The output of 301 can be configured into four combinations.
  • the input voltage provided by the power chip 302 for the system-on-chip 301 can also have four combinations.
  • the system-on-chip 301 can output a first PWM digital signal with an adjustable duty cycle and a second PWM digital signal with an adjustable duty cycle to instruct the power chip to adjust the output voltage signal, so that The system on chip 301 obtains the desired operating voltage. Therefore, the voltage regulating system 300 provided by the embodiment of the present application can provide the system on chip 301 with an adjustable operating voltage when the system on chip 301 is working normally, and at the same time, it can also take into account the initialization requirements of the system on chip 301 and the high performance scenario requirements.
  • an embodiment of the present application also provides a pressure regulating system, which can be regarded as a specific example of the aforementioned pressure regulating system 300.
  • the structure of the pressure regulating system can be shown in Figure 7.
  • the chip U1 can be regarded as a specific example of the aforementioned power chip 302, and the chip U2 can be regarded as a specific example of the aforementioned system-on-chip 301.
  • the parts other than the chip U1 and the chip U2 can be Think of it as a specific example of the aforementioned peripheral circuit.
  • PWM0 can be regarded as the first PWM digital signal
  • PWM1 can be regarded as the second PWM digital signal
  • Vout can be regarded as the input voltage of the system on chip 301.
  • the FB port can be regarded as the feedback voltage input terminal of U1
  • the LX port can be regarded as the voltage output terminal of U1. Vin is the power supply of chip U1.
  • Vout is the operating voltage of the SoC in the initialization scenario; in the high-performance scenario , Both PWM0 and PWM1 can be set to high level, Vout is the operating voltage of SoC in high-performance scenarios; when SoC works normally in non-high-performance scenarios, PWM0 and PWM1 can be digital signals with dynamic changes in duty cycle , So as to meet SoC's dynamic voltage regulation requirements.
  • the embodiments of the present application also provide a system on chip, which can be regarded as a specific example of the aforementioned system on chip 301.
  • the system-on-chip is used to output the first PWM digital signal and the second PWM digital signal; it receives the input voltage of the system-on-chip provided by the power chip, and works under the drive of the input voltage of the system-on-chip.
  • the input voltage is based on the power chip
  • the first duty cycle of the first PWM digital signal, the second duty cycle of the second PWM digital signal and the reference voltage of the power chip are obtained.
  • the input The voltage is the operating voltage of the on-chip system in the initialization scenario.
  • the input voltage is the operating voltage of the on-chip system in high-performance scenarios.
  • an embodiment of the present application also provides a pressure regulating method, which can be regarded as the method performed by the aforementioned pressure regulating system 300.
  • the method includes the following steps.
  • the voltage regulating system obtains the first PWM digital signal and the second PWM digital signal.
  • the voltage regulation system obtains an output voltage signal according to the first duty ratio of the first PWM digital signal, the second duty ratio of the second PWM digital signal, and the power chip reference voltage.
  • the output voltage signal is used to provide input voltage for the on-chip system.
  • the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario; or, the first PWM When the digital signal is at a high level and the second PWM digital signal is at a low level, the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario.
  • the output voltage signal is the system-on-chip input voltage
  • the input voltage is the operating voltage of the system-on-chip in a high-performance scenario
  • the first duty cycle When the output voltage signal is less than the first preset value and the second duty cycle is less than the second preset value, the input voltage provided by the system-on-chip is the operating voltage of the system-on-chip in a high-performance scenario.
  • the voltage regulating system obtains the output voltage signal according to the first duty cycle of the first PWM digital signal, the second duty cycle of the second PWM digital signal, and the power chip reference voltage, which can be implemented in the following manner:
  • the digital signal is converted into the first feedback signal;
  • the second PWM digital signal is converted into the second feedback signal;
  • the input voltage of the on-chip system is divided to obtain the third feedback signal; according to the first feedback signal, the second feedback signal, and the second feedback signal
  • Three feedback signals and the reference voltage of the power chip obtain the output voltage signal.
  • the output voltage signal is used to provide the input voltage for the on-chip system, which may specifically be: filtering the output voltage signal to obtain the input voltage of the on-chip system.
  • the system on chip 900 includes: a DC power supply 901, a first resistor 902, a first switch tube 903, a second switch tube 904, a second resistor 905, and a PWM
  • the DC power supply 901 is coupled to the first end of the first resistor 902
  • the second end of the first resistor 902 is coupled to the first end of the first switch tube 903
  • the second end of the first switch tube 903 is coupled to the second end of the first switch tube 903.
  • the first end of the switch tube 904, the PWM controller 906, and the power chip outside the system-on-chip 900 are coupled, the second end of the second switch tube 904 is coupled to the first end of the second resistor 905, and the second end of the second resistor 905 is coupled to the first end of the second resistor 905.
  • the terminal is coupled with the ground terminal, and the power chip is used to adjust the output voltage signal according to the output signal of the system on chip 900, and the output voltage signal is used to provide the operating voltage for the system on chip 900.
  • the types of the first switching tube 903 and the second switching tube 904 are not specifically limited, for example, they may be metal-oxide-semiconductor field-effect transistors (MOSFETs), It may also be an insulated gate bipolar transistor (IGBT). In FIG. 9, only a MOSFET is used as an example for illustration.
  • the first switch tube 903 and the second switch tube 904 can be controlled by a controller inside the system-on-chip 900.
  • the first switch tube 903 and the second switch tube 904 are turned on, and the PWM controller 906 is in a high impedance state.
  • the output of the PWM controller 906 is zero, and the output of the PWM controller 906 has no effect on the power chip.
  • the system on chip 900 provides the power chip by the first resistor 902 and the second resistor.
  • the resistor 905 divides the output voltage of the DC power supply 901 to obtain the voltage.
  • the voltage can be adjusted by the output voltage of the DC power supply 901, the resistance of the first resistor 902, and the resistance of the second resistor 905, so that the power chip
  • the output voltage signal obtained after adjusting the reference voltage according to the voltage can meet the initialization requirement of the system on chip 900.
  • system-on-chip 900 shown in FIG. 9 can be applied to the voltage regulation system shown in FIG. 1 or FIG. Go into details.
  • the PWM controller 906 outputs a PWM digital signal.
  • the system on chip 900 when the system on chip 900 is working normally, the first switch tube 903 and the second switch tube 904 are turned off, the DC power supply 901, the first resistor 902, and the second resistor 905 no longer function, and the system on chip 900 provides the power supply chip It is the PWM digital signal output by the PWM controller 906.
  • the power chip can adjust the output voltage signal according to the duty ratio of the PWM digital signal, so that the output voltage signal can meet the working voltage requirements of the system on chip 900 in the normal working state. .
  • this application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

Abstract

Disclosed are a voltage adjusting system, a system on chip, and a voltage adjusting method, for use in providing an adjustable working voltage to the system on chip, satisfying both an initialization requirement and high-performance scenario requirement of the system on chip. The voltage adjusting system comprises the system on chip and a power supply chip. The system on chip is used for outputting a first PWM digital signal and a second PWM digital signal. The power supply chip is coupled with the system on chip and is used for producing an output voltage signal on the basis of a first duty cycle of the first PWM digital signal, of a second duty cycle of the second PWM digital signal, and of a reference voltage of the power supply chip, the output voltage signal being used for providing an input voltage to the system on chip.

Description

一种调压系统、片上系统及调压方法Pressure regulating system, on-chip system and pressure regulating method 技术领域Technical field
本申请涉及芯片技术领域,尤其涉及一种调压系统、片上系统及调压方法。This application relates to the field of chip technology, and in particular to a voltage regulation system, a system on a chip, and a voltage regulation method.
背景技术Background technique
片上系统(system on chip,SoC)是一种用于实现特定功能的集成电路,其中包含完整系统硬件及嵌入式软件。出于性能和功耗的综合考量,在不同工作场景下需要给SoC内部的处理器提供不同的工作电压。A system on chip (system on chip, SoC) is an integrated circuit used to implement specific functions, which includes complete system hardware and embedded software. For comprehensive considerations of performance and power consumption, different operating voltages need to be provided to the processors inside the SoC in different working scenarios.
现有的SoC调压方案可以如图1所示。在该方案中,SoC输出占空比可调的脉冲宽度调制(pulse width modulation,PWM)数字信号,不同的占空比对应不同的模拟电压值,SoC通过输出的PWM数字信号来调节电源芯片,使得电源芯片的输出电压信号经外围电路后输出SoC内部的处理器所需的工作电压。The existing SoC voltage regulation scheme can be as shown in Fig. 1. In this solution, the SoC outputs a pulse width modulation (PWM) digital signal with an adjustable duty cycle. Different duty cycles correspond to different analog voltage values. The SoC adjusts the power chip through the output PWM digital signal. Make the output voltage signal of the power chip output the operating voltage required by the processor inside the SoC after passing through the peripheral circuit.
实际应用中,输入SoC的Vout需要满足SoC的不同应用场景的工作需求:1、Vout的最小值不能低于处理器所需的最低电压V1;2、为了满足处理器的高性能场景需求,Vout的最大值不能低于处理器在高性能场景下所需的工作电压V2;3、在SoC的初始化过程中,需要为处理器提供一个介于V1和V2之间的中间电压值V3,以满足SoC的初始化需求。In practical applications, the Vout input to the SoC needs to meet the working requirements of different application scenarios of the SoC: 1. The minimum value of Vout cannot be lower than the minimum voltage V1 required by the processor; 2. In order to meet the high-performance scene requirements of the processor, Vout The maximum value of can not be lower than the operating voltage V2 required by the processor in high-performance scenarios; 3. During the SoC initialization process, it is necessary to provide the processor with an intermediate voltage value V3 between V1 and V2 to meet Initialization requirements of SoC.
那么,采用图1所示的方案存在如下问题:在SoC的初始化过程中,PWM数字信号的占空比无法设置,PWM管脚只能输出高电平(相当于占空比为1)或低电平(相当于占空比为0)。PWM管脚输出高电平时,Vout的值最小,实际应用中,需保证PWM管脚输出高电平时的Vout的值大于V1,才可满足SoC的最低电压需求,但是由于PWM管脚输出高电平时的Vout的值远小于V3,因而该Vout的值不能作为SoC初始化时的工作电压;PWM管脚输出低电平时,Vout的值最大,若将PWM管脚输出低电平时的Vout的值设置为V3,虽然可以满足SoC的初始化需求,但是由于PWM管脚输出低电平时的Vout值为SoC可提供的最大电压,SoC无法提供高性能场景下所需的工作电压V2(V2大于V3),因此,处理器无法支撑高性能场景下的工作,若将PWM管脚输出低电平时的Vout的值设置为V2,那么在初始化过程中,Vout的值不等于V3(V3小于V2),难以满足SoC的初始化需求,使得SoC初始化失败。Then, the solution shown in Figure 1 has the following problems: In the SoC initialization process, the duty cycle of the PWM digital signal cannot be set, and the PWM pin can only output a high level (equivalent to a duty cycle of 1) or low Level (equivalent to a duty cycle of 0). When the PWM pin outputs a high level, the value of Vout is the smallest. In actual applications, it is necessary to ensure that the value of Vout when the PWM pin outputs a high level is greater than V1 to meet the minimum voltage requirement of the SoC. However, because the PWM pin outputs a high voltage The usual value of Vout is much smaller than V3, so the value of Vout cannot be used as the operating voltage during SoC initialization; when the PWM pin outputs a low level, the value of Vout is the largest. If the PWM pin outputs a low level, the value of Vout is set It is V3, although it can meet the initial needs of SoC, but because the Vout value when the PWM pin outputs low level is the maximum voltage that the SoC can provide, SoC cannot provide the required operating voltage V2 (V2 is greater than V3) in high-performance scenarios. Therefore, the processor cannot support the work in high-performance scenarios. If the value of Vout when the PWM pin outputs a low level is set to V2, then during the initialization process, the value of Vout is not equal to V3 (V3 is less than V2), which is difficult to meet The initialization requirement of SoC makes SoC initialization fail.
因此,现有技术提供的SoC调压方案存在初始化需求和高性能场景需求难以兼顾的问题。Therefore, the SoC voltage regulation solution provided by the prior art has a problem that it is difficult to balance the requirements of initialization and high-performance scenarios.
发明内容Summary of the invention
本申请实施例提供一种调压系统、片上系统及调压方法,用于为片上系统提供可调的工作电压,兼顾片上系统的初始化需求和高性能场景需求。The embodiments of the present application provide a voltage regulation system, a system on a chip, and a voltage regulation method, which are used to provide an adjustable working voltage for the system on a chip, taking into account the initialization requirements of the system on chip and the requirements of high-performance scenarios.
第一方面,本申请实施例提供一种调压系统,该调压系统包括:片上系统和电源芯片。其中,片上系统用于输出第一PWM数字信号和第二PWM数字信号;电源芯片与片上系统耦合,用于根据第一PWM数字信号的第一占空比、第二PWM数字信号的第二占空比和电源芯片基准电压得到输出电压信号,该输出电压信号用于为片上系统提供输入电压。In the first aspect, an embodiment of the present application provides a voltage regulation system, which includes: a system on a chip and a power chip. Among them, the system-on-chip is used to output the first PWM digital signal and the second PWM digital signal; the power chip is coupled with the system-on-chip, and is used to output the first duty cycle of the first PWM digital signal and the second duty of the second PWM digital signal. The output voltage signal is obtained by the idle ratio and the reference voltage of the power chip, and the output voltage signal is used to provide the input voltage for the on-chip system.
采用第一方面提供的调压系统,片上系统输出两个PWM数字信号,即第一PWM数 字信号和第二PWM数字信号,在片上系统初始化时,第一PWM数字信号可以配置成高电平(相当于占空比为1)或低电平(相当于占空比为0),第二PWM数字信号也可以配置成高电平或低电平,因此,片上系统的输出可以配置出四种组合,相应地,电源芯片为片上系统提供的输入电压也可以有四组组合。那么,将片上系统的输入电压的最大值设置为高性能场景下所需的工作电压V2,将片上系统的输入电压的最小值设置为大于处理器所需最低电压V1的值,将片上系统的输入电压的中间值设置为片上系统初始化时所需的工作电压V3,即可兼顾片上系统的初始化需求和高性能场景需求。在片上系统初始化完成后,片上系统可以输出占空比可调的第一PWM数字信号以及占空比可调的第二PWM数字信号,以指示电源芯片对输出电压信号进行调整,进而使得片上系统获得期望的工作电压。因此,采用本申请实施例提供的调压系统,可以在片上系统正常工作时为片上系统提供可调的工作电压,同时,还可兼顾片上系统的初始化需求和高性能场景需求。Using the voltage regulation system provided in the first aspect, the on-chip system outputs two PWM digital signals, namely the first PWM digital signal and the second PWM digital signal. When the on-chip system is initialized, the first PWM digital signal can be configured as a high level ( Equivalent to a duty cycle of 1) or a low level (equivalent to a duty cycle of 0), the second PWM digital signal can also be configured as a high level or a low level. Therefore, the output of the on-chip system can be configured into four types The combination, correspondingly, the input voltage provided by the power chip for the system-on-chip can also have four combinations. Then, set the maximum value of the input voltage of the system-on-chip to the required operating voltage V2 in the high-performance scenario, and set the minimum value of the input voltage of the system-on-chip to a value greater than the minimum voltage V1 required by the processor, and set the system-on-chip The intermediate value of the input voltage is set to the operating voltage V3 required during the initialization of the on-chip system, which can take into account both the initialization requirements of the on-chip system and the requirements of high-performance scenarios. After the system-on-chip is initialized, the system-on-chip can output the first PWM digital signal with adjustable duty cycle and the second PWM digital signal with adjustable duty cycle to instruct the power chip to adjust the output voltage signal, thereby making the system-on-chip Obtain the desired operating voltage. Therefore, the voltage regulation system provided by the embodiments of the present application can provide an adjustable operating voltage for the system-on-chip when the system-on-chip is working normally, and at the same time, it can also take into account the initialization requirements of the system-on-chip and the requirements of high-performance scenarios.
具体地,第一PWM数字信号为低电平、第二PWM数字信号为高电平时,输出电压信号为片上系统提供的输入电压为片上系统在初始化场景下的工作电压;或者,第一PWM数字信号为高电平、第二PWM数字信号为低电平时,输出电压信号为片上系统提供的输入电压为片上系统在初始化场景下的工作电压。Specifically, when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario; or, the first PWM digital When the signal is at a high level and the second PWM digital signal is at a low level, the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario.
通常,片上系统输出的第一PWM数字信号的第一占空比越小,电源芯片为片上系统提供的输入电压越大;同样地,片上系统输出的第二PWM数字信号的第二占空比越小,电源芯片为片上系统提供的输入电压越大。因此,在初始化场景下,第一PWM数字信号和第二PWM数字信号一个配置为高电平、另一个配置为低电平即可。Generally, the smaller the first duty cycle of the first PWM digital signal output by the on-chip system, the greater the input voltage provided by the power chip for the on-chip system; similarly, the second duty cycle of the second PWM digital signal output by the on-chip system The smaller the value, the greater the input voltage provided by the power chip for the system-on-chip. Therefore, in the initialization scenario, one of the first PWM digital signal and the second PWM digital signal can be configured as a high level and the other can be configured as a low level.
具体地,第一PWM数字信号和第二PWM数字信号均为低电平时,输出电压信号为片上系统提供的输入电压为片上系统在高性能场景下的工作电压;或者,第一占空比小于第一预设值、第二占空比小于第二预设值时,输出电压信号为片上系统提供的输入电压为片上系统在高性能场景下的工作电压。Specifically, when the first PWM digital signal and the second PWM digital signal are both low level, the output voltage signal is the input voltage provided by the on-chip system as the operating voltage of the on-chip system in a high-performance scenario; or, the first duty cycle is less than When the first preset value and the second duty ratio are less than the second preset value, the output voltage signal is the input voltage provided by the on-chip system as the operating voltage of the on-chip system in a high-performance scenario.
其中,第一预设值和第二预设值可以根据需求进行配置,第一预设值与第二预设值的数值可以相同也可以不同。如前所述,第一占空比和第二占空比越小,电源芯片为片上系统提供的输入电压越大。在高性能场景下,片上系统所需的工作电压较高,此时可使得第一占空比小于第一预设值、第二占空比小于第二预设值,或者使得第一占空比和第二占空比均为零(即第一PWM数字信号和第二PWM数字信号均为低电平),从而使得片上系统获得较高的输入电压,作为高性能场景下的工作电压。Wherein, the first preset value and the second preset value can be configured according to requirements, and the values of the first preset value and the second preset value may be the same or different. As mentioned earlier, the smaller the first duty cycle and the second duty cycle, the greater the input voltage provided by the power chip for the system-on-chip. In high-performance scenarios, the operating voltage required by the system-on-chip is relatively high. At this time, the first duty cycle can be made smaller than the first preset value, the second duty cycle can be made smaller than the second preset value, or the first duty cycle can be made The ratio and the second duty cycle are both zero (that is, the first PWM digital signal and the second PWM digital signal are both low), so that the on-chip system can obtain a higher input voltage as the working voltage in a high-performance scenario.
在一种可能的设计中,第一方面提供的调压系统还包括外围电路。该外围电路用于将第一PWM数字信号转换为第一反馈信号;并将第二PWM数字信号转换为第二反馈信号;该外围电路还用于对片上系统的输入电压进行分压后得到第三反馈信号,并将第一反馈信号、第二反馈信号和第三反馈信号反馈至电源芯片;那么,电源芯片具体用于:根据第一反馈信号、第二反馈信号、第三反馈信号和电源芯片基准电压得到输出电压信号。In a possible design, the voltage regulation system provided in the first aspect further includes a peripheral circuit. The peripheral circuit is used to convert the first PWM digital signal into a first feedback signal; and the second PWM digital signal is converted into a second feedback signal; the peripheral circuit is also used to divide the input voltage of the on-chip system to obtain the first Three feedback signals, and the first feedback signal, the second feedback signal, and the third feedback signal are fed back to the power chip; then, the power chip is specifically used to: according to the first feedback signal, the second feedback signal, the third feedback signal and the power source The chip reference voltage gets the output voltage signal.
采用上述方案,可以通过外围电路为电源芯片提供反馈信号,使得电源芯片根据反馈信号对基准电压进行调整,得到输出电压信号。With the above solution, a feedback signal can be provided for the power supply chip through the peripheral circuit, so that the power supply chip can adjust the reference voltage according to the feedback signal to obtain an output voltage signal.
具体地,外围电路可以包括:第一滤波电路,用于将第一PWM数字信号转换为第一反馈信号,将第一反馈信号反馈至电源芯片的反馈电压输入端;第二滤波电路,用于将第二PWM数字信号转换为第二反馈信号,将第二反馈信号反馈至反馈电压输入端;分压电路,用于对输入电压进行分压后得到第三反馈信号,将第三反馈信号反馈至反馈电压输入 端。Specifically, the peripheral circuit may include: a first filter circuit for converting the first PWM digital signal into a first feedback signal, and feeding back the first feedback signal to the feedback voltage input terminal of the power chip; and a second filter circuit for The second PWM digital signal is converted into a second feedback signal, and the second feedback signal is fed back to the feedback voltage input terminal; a voltage divider circuit is used to divide the input voltage to obtain a third feedback signal, and feed back the third feedback signal To the feedback voltage input terminal.
采用上述方案,分别通过第一滤波电路、第二滤波电路和分压电路为电源芯片提供第一反馈信号、第二反馈信号和第三反馈信号。With the above solution, the first feedback signal, the second feedback signal, and the third feedback signal are provided for the power chip through the first filter circuit, the second filter circuit, and the voltage divider circuit, respectively.
在一种可能的设计中,分压电路包括第一电阻和第二电阻,第一电阻的第一端与片上系统用于接收输入电压的端口耦合,第一电阻的第二端与反馈电压输入端以及第二电阻的第一端耦合,第二电阻的第二端与接地端耦合;第一滤波电路包括第三电阻、第四电阻以及第一电容,第三电阻的第一端与片上系统用于输出第一PWM数字信号的端口耦合,第三电阻的第二端与第一电容的第一端以及第四电阻的第一端耦合,第四电阻的第二端与反馈电压输入端耦合,第一电容的第二端与接地端耦合;第二滤波电路包括第五电阻、第六电阻以及第二电容,第五电阻的第一端与片上系统用于输出第二PWM数字信号的端口耦合,第五电阻的第二端与第二电容的第一端以及第六电阻的第一端耦合,第六电阻的第二端与反馈电压输入端耦合,第二电容的第二端与接地端耦合。In a possible design, the voltage divider circuit includes a first resistor and a second resistor. The first end of the first resistor is coupled to the port of the on-chip system for receiving the input voltage, and the second end of the first resistor is connected to the feedback voltage input. The first end of the second resistor is coupled to the first end of the second resistor, and the second end of the second resistor is coupled to the ground end; the first filter circuit includes a third resistor, a fourth resistor, and a first capacitor. The first end of the third resistor is connected to the on-chip system Port coupling for outputting the first PWM digital signal, the second end of the third resistor is coupled to the first end of the first capacitor and the first end of the fourth resistor, and the second end of the fourth resistor is coupled to the feedback voltage input end , The second terminal of the first capacitor is coupled to the ground terminal; the second filter circuit includes a fifth resistor, a sixth resistor, and a second capacitor. Coupling, the second end of the fifth resistor is coupled to the first end of the second capacitor and the first end of the sixth resistor, the second end of the sixth resistor is coupled to the feedback voltage input end, and the second end of the second capacitor is connected to ground End coupling.
采用上述方案,提供了外围电路的一种具体结构。With the above solution, a specific structure of the peripheral circuit is provided.
此外,外围电路还可以包括:输出滤波电路,与电源芯片的电压输出端耦合,用于对输出电压信号进行滤波处理以得到片上系统的输入电压。In addition, the peripheral circuit may further include: an output filter circuit, coupled with the voltage output terminal of the power chip, for filtering the output voltage signal to obtain the input voltage of the on-chip system.
采用上述方案,可以通过输出滤波电路对输出电压信号进行滤波处理,为片上系统提供稳定的输入电压。With the above solution, the output voltage signal can be filtered through the output filter circuit to provide a stable input voltage for the on-chip system.
第二方面,本申请实施例还提供一种片上系统,该片上系统用于:输出第一PWM数字信号和第二PWM数字信号;接收电源芯片提供的片上系统的输入电压,在片上系统的输入电压的驱动下进行工作,输入电压为电源芯片根据第一PWM数字信号的第一占空比、第二PWM数字信号的第二占空比和电源芯片基准电压得到的。In the second aspect, the embodiments of the present application also provide a system on chip, the system on chip is used to: output the first PWM digital signal and the second PWM digital signal; receive the input voltage of the system on chip provided by the power chip, It works under the driving of the voltage, and the input voltage is obtained by the power chip according to the first duty ratio of the first PWM digital signal, the second duty ratio of the second PWM digital signal and the reference voltage of the power chip.
在一种可能的设计中,第一PWM数字信号为低电平、第二PWM数字信号为高电平,或者第一PWM数字信号为高电平、第二PWM数字信号为低电平时,输入电压为片上系统在初始化场景下的工作电压。In a possible design, when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, or the first PWM digital signal is at a high level and the second PWM digital signal is at a low level, the input The voltage is the operating voltage of the on-chip system in the initialization scenario.
在一种可能的设计中,第一PWM数字信号和第二PWM数字信号均为低电平,或者第一占空比小于第一预设值、第二占空比小于第二预设值时,输入电压为片上系统在高性能场景下的工作电压。In a possible design, when the first PWM digital signal and the second PWM digital signal are both low, or the first duty cycle is less than the first preset value, and the second duty cycle is less than the second preset value , The input voltage is the operating voltage of the on-chip system in high-performance scenarios.
需要说明的是,第二方面提供的片上系统可以视为第一方面提供的调压系统中的片上系统,其具体结构、功能以及技术效果可以参见第一方面中的相关描述,此处不再赘述。It should be noted that the system-on-chip provided in the second aspect can be regarded as the system-on-chip in the voltage regulation system provided in the first aspect. For its specific structure, function and technical effect, please refer to the relevant description in the first aspect, which will not be omitted here. Go into details.
第三方面,本申请实施例还提供一种调压方法,该方法包括:调压系统获取第一PWM数字信号和第二PWM数字信号;调压系统根据第一PWM数字信号的第一占空比、第二PWM数字信号的第二占空和电源芯片基准电压得到输出电压信号,输出电压信号用于为片上系统提供输入电压。In a third aspect, an embodiment of the present application also provides a voltage regulation method. The method includes: a voltage regulation system obtains a first PWM digital signal and a second PWM digital signal; Ratio, the second duty of the second PWM digital signal and the reference voltage of the power chip obtain an output voltage signal, and the output voltage signal is used to provide an input voltage for the on-chip system.
在一种可能的设计中,第一PWM数字信号为低电平、第二PWM数字信号为高电平时,输出电压信号为片上系统提供的输入电压为片上系统在初始化场景下的工作电压;或者,第一PWM数字信号为高电平、第二PWM数字信号为低电平时,输出电压信号为片上系统提供的输入电压为片上系统在初始化场景下的工作电压。In a possible design, when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, the output voltage signal is the system-on-chip input voltage, and the input voltage is the operating voltage of the system-on-chip in the initialization scenario; or , When the first PWM digital signal is at a high level and the second PWM digital signal is at a low level, the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario.
在一种可能的设计中,第一PWM数字信号和第二PWM数字信号均为低电平时,输出电压信号为片上系统提供的输入电压为片上系统在高性能场景下的工作电压;或者,第一占空比小于第一预设值、第二占空比小于第二预设值时,输出电压信号为片上系统提供 的输入电压为片上系统在高性能场景下的工作电压。In a possible design, when the first PWM digital signal and the second PWM digital signal are both low, the output voltage signal is the input voltage provided by the on-chip system as the operating voltage of the on-chip system in a high-performance scenario; or, the first When a duty cycle is less than the first preset value and the second duty cycle is less than the second preset value, the output voltage signal is the system-on-chip input voltage, and the input voltage is the operating voltage of the system-on-chip in a high-performance scenario.
具体地,调压系统根据第一PWM数字信号的第一占空比、第二PWM数字信号的第二占空比和电源芯片基准电压得到输出电压信号,可以通过如下方式实现:将第一PWM数字信号转换为第一反馈信号;将第二PWM数字信号转换为第二反馈信号;对片上系统的输入电压进行分压后得到第三反馈信号;根据第一反馈信号、第二反馈信号、第三反馈信号和电源芯片基准电压得到输出电压信号。Specifically, the voltage regulating system obtains the output voltage signal according to the first duty cycle of the first PWM digital signal, the second duty cycle of the second PWM digital signal, and the power chip reference voltage, which can be implemented in the following manner: The digital signal is converted into the first feedback signal; the second PWM digital signal is converted into the second feedback signal; the input voltage of the on-chip system is divided to obtain the third feedback signal; according to the first feedback signal, the second feedback signal, and the second feedback signal Three feedback signals and the reference voltage of the power chip obtain the output voltage signal.
在一种可能的设计中,输出电压信号用于为片上系统提供输入电压,具体包括:对输出电压信号进行滤波处理,以得到片上系统的输入电压。In a possible design, the output voltage signal is used to provide the input voltage for the on-chip system, which specifically includes: filtering the output voltage signal to obtain the input voltage of the on-chip system.
需要说明的是,第三方面提供的调压方法可以视为第一方面提供的调压系统所执行的方法,具体实现方式及其技术效果可以参见第一方面中的相关描述,此处不再赘述。It should be noted that the pressure regulation method provided by the third aspect can be regarded as the method performed by the pressure regulation system provided by the first aspect. For the specific implementation and technical effects, please refer to the relevant description in the first aspect. Go into details.
第四方面,本申请实施例提供一种片上系统,该片上系统包括:直流电源、第一电阻、第一开关管、第二开关管和第二电阻以及PWM控制器,直流电源与第一电阻的第一端耦合,第一电阻的第二端与第一开关管的第一端耦合,第一开关管的第二端与第二开关管的第一端、PWM控制器以及片上系统之外的电源芯片耦合,第二开关管的第二端与第二电阻的第一端耦合,第二电阻的第二端与接地端耦合,电源芯片用于根据片上系统的输出信号调整输出电压信号,输出电压信号用于为片上系统提供工作电压;其中,片上系统进行初始化时,第一开关管和第二开关管导通、PWM控制器为高阻态。In a fourth aspect, an embodiment of the present application provides a system on chip, the system on chip includes: a DC power supply, a first resistor, a first switch tube, a second switch tube, and a second resistor, and a PWM controller, a DC power supply and a first resistor Is coupled to the first end of the first resistor, the second end of the first resistor is coupled to the first end of the first switch, the second end of the first switch is coupled to the first end of the second switch, the PWM controller and the on-chip system The second end of the second switch tube is coupled to the first end of the second resistor, and the second end of the second resistor is coupled to the ground end. The power chip is used to adjust the output voltage signal according to the output signal of the system-on-chip, The output voltage signal is used to provide a working voltage for the on-chip system; wherein, when the on-chip system is initialized, the first switch tube and the second switch tube are turned on, and the PWM controller is in a high impedance state.
采用上述方案,在片上系统初始化时,PWM控制器的输出为零,PWM控制器的输出对电源芯片没有影响,片上系统向电源芯片提供的是由第一电阻和第二电阻对直流电源的输出电压进行分压后得到的电压,该电压可以通过直流电源的输出电压、第一电阻的阻值以及第二电阻的阻值进行调节,从而使得电源芯片根据该电压对基准电压进行调整后得到的输出电压信号能够满足片上系统的初始化需求。With the above solution, when the on-chip system is initialized, the output of the PWM controller is zero, and the output of the PWM controller has no effect on the power chip. The system on chip provides the power chip with the output of the first resistor and the second resistor to the DC power supply. The voltage obtained after the voltage is divided. The voltage can be adjusted by the output voltage of the DC power supply, the resistance of the first resistor, and the resistance of the second resistor, so that the power chip can adjust the reference voltage according to the voltage. The output voltage signal can meet the initialization requirements of the on-chip system.
在一种可能的设计中,片上系统正常工作时,第一开关管和第二开关管关断、PWM控制器输出PWM数字信号。In a possible design, when the on-chip system is working normally, the first switching tube and the second switching tube are turned off, and the PWM controller outputs a PWM digital signal.
采用上述方案,在片上系统正常工作时,第一开关管和第二开关管关断,直流电源、第一电阻和第二电阻不再起作用,片上系统向电源芯片提供的是PWM控制器输出的PWM数字信号,电源芯片可以根据该PWM数字信号的占空比对输出电压信号进行调节,从而使得输出电压信号能够满足片上系统在正常工作状态下的工作电压需求。With the above solution, when the system on chip is working normally, the first switch tube and the second switch tube are turned off, the DC power supply, the first resistor and the second resistor no longer function, and the system on chip provides the output of the PWM controller to the power chip. PWM digital signal, the power chip can adjust the output voltage signal according to the duty ratio of the PWM digital signal, so that the output voltage signal can meet the working voltage requirements of the on-chip system in the normal working state.
附图说明Description of the drawings
图1为现有技术提供的一种SoC的调压方案的示意图;Figure 1 is a schematic diagram of a SoC voltage regulation solution provided by the prior art;
图2为现有技术提供的一种调压系统的结构示意图;Figure 2 is a schematic structural diagram of a pressure regulating system provided by the prior art;
图3为本申请实施例提供的第一种调压系统的结构示意图;FIG. 3 is a schematic structural diagram of the first pressure regulating system provided by an embodiment of the application;
图4为本申请实施例提供的第二种调压系统的结构示意图;Fig. 4 is a schematic structural diagram of a second pressure regulating system provided by an embodiment of the application;
图5为本申请实施例提供的第三种调压系统的结构示意图;Fig. 5 is a schematic structural diagram of a third pressure regulating system provided by an embodiment of the application;
图6为本申请实施例提供的第四种调压系统的结构示意图;Fig. 6 is a schematic structural diagram of a fourth pressure regulating system provided by an embodiment of the application;
图7为本申请实施例提供的第五种调压系统的结构示意图;FIG. 7 is a schematic structural diagram of a fifth pressure regulating system provided by an embodiment of the application;
图8为本申请实施例提供的一种调压方法的流程示意图;FIG. 8 is a schematic flow chart of a pressure regulating method provided by an embodiment of the application;
图9为本申请实施例提供的一种片上系统的结构示意图。FIG. 9 is a schematic structural diagram of a system on chip provided by an embodiment of the application.
具体实施方式Detailed ways
如背景技术中所述,在现有的SoC的调压方案中,SoC输出占空比可调的PWM数字信号,不同的占空比对应不同的电压值,SoC通过输出的PWM数字信号来调节电源芯片,使得电源芯片的输出电压信号经外围电路后输出SoC内部的处理器所需的工作电压。具体地,PWM数字信号经外围电路转换成相应的电压值并输出给电源芯片,电源芯片根据该电压值对基准电压进行调整,得到输出电压,该输出电压经外围电路进行滤波处理后得到SoC内部的处理器所需的工作电压Vout。As mentioned in the background art, in the existing SoC voltage regulation scheme, the SoC outputs a PWM digital signal with an adjustable duty cycle. Different duty cycles correspond to different voltage values, and the SoC adjusts by the output PWM digital signal. The power chip makes the output voltage signal of the power chip output the working voltage required by the processor inside the SoC after passing through the peripheral circuit. Specifically, the PWM digital signal is converted into a corresponding voltage value by the peripheral circuit and output to the power chip. The power chip adjusts the reference voltage according to the voltage value to obtain the output voltage. The output voltage is filtered by the peripheral circuit to obtain the SoC internal The operating voltage Vout required by the processor.
具体地,采用图1所示的调压方案,调压系统的结构示意图可以如图2所示。在图2所示的调压系统中,电源芯片中包括误差放大器以及电压输出电路,电阻R1、电阻R2、电阻R3、电阻R4、电感L、电容C1和电容C2组成外围电路。Specifically, using the voltage regulation scheme shown in FIG. 1, the structural schematic diagram of the voltage regulation system may be as shown in FIG. 2. In the voltage regulation system shown in Figure 2, the power chip includes an error amplifier and a voltage output circuit. The resistor R1, resistor R2, resistor R3, resistor R4, inductor L, capacitor C1, and capacitor C2 form a peripheral circuit.
其中,SoC输出的PWM数字信号经R3、R4和C2进行滤波后得到反馈信号Vpwm,该反馈信号输入误差放大器的反相输入端;SoC的输入电压Vout经R1和R2分压后作为反馈信号输入误差放大器的反相输入端;误差放大器的同相输入端连接基准电压源,用于输入基准电压Vref,反相输入端作为反馈输入端,误差放大器用于输出反馈输入端的输入电压与基准电压源之间的电压差值;应当理解,误差放大器基于反相输入端输入的反馈信号对同相输入端输入的基准电压信号进行调整,误差放大器输出的电压差值为调整后的电压信号,电压输出电路的输入端与误差放大器的输出端相连以获取该电压差值,该电压输出电路对误差放大器输出的电压差值进行处理得到输出电压信号,该输出电压信号经L和C1滤波后得到Vout提供给SoC。Among them, the PWM digital signal output by the SoC is filtered by R3, R4 and C2 to obtain the feedback signal Vpwm, which is input to the inverting input terminal of the error amplifier; the input voltage Vout of the SoC is divided by R1 and R2 as the feedback signal input The inverting input terminal of the error amplifier; the non-inverting input terminal of the error amplifier is connected to the reference voltage source for inputting the reference voltage Vref, the inverting input terminal is used as the feedback input terminal, and the error amplifier is used to output the input voltage of the feedback input terminal and the reference voltage source. It should be understood that the error amplifier adjusts the reference voltage signal input from the non-inverting input terminal based on the feedback signal input from the inverting input terminal, and the voltage difference output by the error amplifier is the adjusted voltage signal, which is The input terminal is connected with the output terminal of the error amplifier to obtain the voltage difference. The voltage output circuit processes the voltage difference output by the error amplifier to obtain an output voltage signal. The output voltage signal is filtered by L and C1 to obtain Vout and provide it to the SoC .
不难看出,当SoC输出的PWM数字信号的占空比发生变化时,PWM数字信号经R3、R4和C2进行滤波后得到的反馈信号Vpwm的电压值也会发生变化,由于该反馈信号Vpwm为误差放大器的反馈信号,因而Vpwm的变化也会影响电源芯片的输出电压信号,最终导致Vout的变化。因此,SoC可以通过输出的PWM数字信号指示其内部的处理器所需的工作电压,进而获得期望的Vout。It is not difficult to see that when the duty cycle of the PWM digital signal output by the SoC changes, the voltage value of the feedback signal Vpwm obtained after the PWM digital signal is filtered by R3, R4 and C2 will also change, because the feedback signal Vpwm is The feedback signal of the error amplifier, so the change of Vpwm will also affect the output voltage signal of the power chip, and finally lead to the change of Vout. Therefore, the SoC can indicate the operating voltage required by the internal processor through the output PWM digital signal, thereby obtaining the desired Vout.
其中,输出电压Vout按照如下公式确定:Among them, the output voltage Vout is determined according to the following formula:
Vout=Vref·(1+R1/R2)+(Vref-Vpwm)(R1/(R3+R4))Vout=Vref·(1+R1/R2)+(Vref-Vpwm)(R1/(R3+R4))
通过上述公式可以看出,Vref、R1、R2、R3和R4均为常量,所以Vout由PWM数字信号转换而成的Vpwm进行控制,即由PWM数字信号的占空比进行控制。It can be seen from the above formula that Vref, R1, R2, R3, and R4 are all constants, so Vout is controlled by the Vpwm converted from the PWM digital signal, that is, controlled by the duty cycle of the PWM digital signal.
此外,从上述公式中不难看出,PWM数字信号的占空比越大,Vpwm的值越大,Vout的值越小。In addition, it is not difficult to see from the above formula that the greater the duty cycle of the PWM digital signal, the greater the value of Vpwm, and the smaller the value of Vout.
那么,采用图2所示的调压系统存在如下问题:在SoC的初始化过程中,PWM数字信号的占空比无法设置,PWM管脚只能输出高电平(相当于占空比为1)或低电平(相当于占空比为0)。PWM管脚输出低电平时,Vout的值最大。若将PWM管脚输出低电平时的Vout的值设置为SoC的初始化电压,虽然可以满足SoC的初始化需求,但是由于PWM管脚输出低电平时的Vout值为电源芯片可提供的Vout的最大值,在SoC正常工作过程中电源芯片无法再提供比初始化电压更高的电压,因而难以满足SoC在高性能场景下的电压需求;若将PWM管脚输出低电平时的Vout的值设置为SoC在高性能场景下的工作电压,那么在初始化过程中,该高性能场景下的工作电压较高,使得SoC无法完成初始化。Then, the voltage regulation system shown in Figure 2 has the following problems: During the initialization of the SoC, the duty cycle of the PWM digital signal cannot be set, and the PWM pin can only output a high level (equivalent to a duty cycle of 1) Or low level (equivalent to a duty cycle of 0). When the PWM pin outputs a low level, the value of Vout is the largest. If the value of Vout when the PWM pin outputs a low level is set to the initialization voltage of the SoC, although it can meet the initialization requirements of the SoC, because the Vout value when the PWM pin outputs a low level is the maximum value of Vout that the power chip can provide During the normal operation of the SoC, the power chip can no longer provide a higher voltage than the initialization voltage, so it is difficult to meet the voltage requirements of the SoC in high-performance scenarios; if the Vout value when the PWM pin outputs a low level is set to the SoC The operating voltage in the high-performance scenario, then during the initialization process, the operating voltage in the high-performance scenario is relatively high, making the SoC unable to complete the initialization.
基于上述问题,本申请实施例提供一种调压系统、片上系统以及调压方法,用于为片 上系统提供可调的工作电压,兼顾片上系统的初始化需求和高性能场景需求。Based on the foregoing problems, the embodiments of the present application provide a voltage regulation system, a system on a chip, and a voltage regulation method, which are used to provide an adjustable working voltage for the system on a chip, taking into account the initialization requirements of the system on chip and the requirements of high-performance scenarios.
下面将结合附图,对本申请实施例进行详细描述。The embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
参见图3,为本申请实施例提供的一种调压系统的结构示意图。该调压系统300包括片上系统301和电源芯片302。Refer to FIG. 3, which is a schematic structural diagram of a pressure regulating system provided by an embodiment of this application. The voltage regulation system 300 includes a system on chip 301 and a power chip 302.
其中,片上系统301用于输出第一PWM数字信号和第二PWM数字信号;电源芯片302与片上系统301耦合,用于根据第一PWM数字信号的第一占空比、第二PWM数字信号的第二占空比和电源芯片基准电压得到输出电压信号,输出电压信号用于为片上系统301提供输入电压。Among them, the system-on-chip 301 is used to output the first PWM digital signal and the second PWM digital signal; the power chip 302 is coupled with the system-on-chip 301 and is used to output the first duty cycle of the first PWM digital signal and the second PWM digital signal. The second duty cycle and the reference voltage of the power chip obtain an output voltage signal, and the output voltage signal is used to provide an input voltage for the system on chip 301.
其中,电源芯片302的输出电压信号可以直接作为片上系统301的输入电压,也可以经过处理(例如滤波处理)后作为片上系统301的输入电压,该输入电压即为片上系统301在当前场景下所需的工作电压。Among them, the output voltage signal of the power chip 302 can be directly used as the input voltage of the system on chip 301, or after processing (such as filtering), it can be used as the input voltage of the system on chip 301. The input voltage is the input voltage of the system on chip 301 in the current scene. Required working voltage.
其中,第一PWM数字信号和第二PWM数字信号均为占空比可调的PWM数字信号。片上系统301通过输出的第一PWM数字信号的第一占空比和第二PWM数字信号的第二占空比来指示电源芯片302对输出电压信号进行调整,进而获得期望的工作电压。Wherein, the first PWM digital signal and the second PWM digital signal are both PWM digital signals with an adjustable duty cycle. The system-on-chip 301 instructs the power chip 302 to adjust the output voltage signal through the first duty cycle of the first PWM digital signal and the second duty cycle of the second PWM digital signal that are output, so as to obtain a desired operating voltage.
示例性地,假设第一PWM数字信号对应的高电平的电压值为3.3V,第一PWM数字信号对应的低电平的电压值为0V,那么在一个时钟周期内,第一PWM数字信号输出高电平的时长可以反应第一占空比的大小。比如,一个时钟周期的持续时长为100ms,第一PWM数字信号在前50ms输出高电平,后50ms输出低电平,那么在这一时钟周期内,第一PWM数字信号的第一占空比为50/100=0.5;再比如,一个时钟周期的持续时长为100ms,第一PWM数字信号在前20ms输出高电平,后80ms输出低电平,那么在这一时钟周期内,第一PWM数字信号的第一占空比为20/100=0.2。在极端情况下,第一PWM数字信号在一个时钟周期内均输出3.3V,则PWM数字信号的第一占空比为1;第一PWM数字信号在一个时钟周期内均输出0V,则PWM数字信号的第一占空比为0。当然,对于第二PWM数字信号的第二占空比也可以有同样理解,此处不再赘述。Exemplarily, assuming that the high-level voltage value corresponding to the first PWM digital signal is 3.3V, and the low-level voltage value corresponding to the first PWM digital signal is 0V, then in one clock cycle, the first PWM digital signal The duration of the output high level can reflect the size of the first duty cycle. For example, if the duration of a clock cycle is 100ms, the first PWM digital signal outputs a high level in the first 50ms and outputs a low level in the last 50ms. Then in this clock cycle, the first duty cycle of the first PWM digital signal For example, the duration of a clock cycle is 100ms, and the first PWM digital signal outputs a high level in the first 20ms and a low level in the last 80ms. Then in this clock cycle, the first PWM The first duty ratio of the digital signal is 20/100=0.2. In extreme cases, the first PWM digital signal outputs 3.3V in one clock cycle, then the first duty cycle of the PWM digital signal is 1; the first PWM digital signal outputs 0V in one clock cycle, then the PWM digital The first duty cycle of the signal is zero. Of course, the second duty cycle of the second PWM digital signal can also be understood in the same way, which will not be repeated here.
需要说明的是,在本申请实施例中,第一PWM数字信号和第二PWM数字信号对应的低电平的电压值均可以为0V,而第一PWM数字信号和第二PWM数字信号对应的高电平的电压值可以相同也可以不同。例如,在一种可能的情况中,第一PWM数字信号对应的高电平的电压值为3.3V,第二PWM数字信号对应的高电平的电压值也为3.3V;在另一种可能的情况中,第一PWM数字信号对应的高电平的电压值为3.3V,第二PWM数字信号对应的高电平的电压值为1.8V。It should be noted that, in the embodiment of the present application, the voltage value of the low level corresponding to the first PWM digital signal and the second PWM digital signal may both be 0V, and the first PWM digital signal and the second PWM digital signal correspond to The high-level voltage values can be the same or different. For example, in one possible situation, the high-level voltage value corresponding to the first PWM digital signal is 3.3V, and the high-level voltage value corresponding to the second PWM digital signal is also 3.3V; in another possibility In the case, the high-level voltage value corresponding to the first PWM digital signal is 3.3V, and the high-level voltage value corresponding to the second PWM digital signal is 1.8V.
实际应用中,片上系统301可以对自身的属性参数进行检测,并基于检测的属性参数生成对应的第一PWM数字信号和第二PWM数字信号;其中,所检测的属性参数是能够反应片上系统301内核电压需求的参数,例如处理器的工艺参数、处理器所运行的场景等。根据该属性参数可以获取处理器所需的工作电压。属性参数与处理器所需的工作电压的对应关系可以为设定映射关系,通过设计人员的经验和试验,预先测定不同的属性参数对应的工作电压,而后将确定的电压值以具有第一占空比的第一PWM数字信号和具有第二占空比的第二PWM数字信号来标识。片上系统301通过输出第一PWM数字信号和第二PWM数字信号来指示内部的处理器所需的工作电压。具体地,第一PWM数字信号和第二PWM数字信号的生成可以由片上系统301中的PWM控制器执行,例如可以通过一个 PWM控制器生成第一PWM数字信号和第二PWM数字信号,或者通过两个PWM控制器分别生成第一PWM数字信号和第二PWM数字信号。In practical applications, the system-on-chip 301 can detect its own attribute parameters, and generate corresponding first PWM digital signals and second PWM digital signals based on the detected attribute parameters; among them, the detected attribute parameters can reflect the system-on-chip 301 The parameters required by the core voltage, such as the process parameters of the processor, the scene in which the processor is running, and so on. According to this attribute parameter, the operating voltage required by the processor can be obtained. The corresponding relationship between the attribute parameter and the operating voltage required by the processor can be a set mapping relationship. Through the experience and experiment of the designer, the operating voltage corresponding to different attribute parameters is determined in advance, and then the determined voltage value is made to have the first account. The first PWM digital signal with the empty ratio and the second PWM digital signal with the second duty ratio are identified. The on-chip system 301 instructs the operating voltage required by the internal processor by outputting the first PWM digital signal and the second PWM digital signal. Specifically, the generation of the first PWM digital signal and the second PWM digital signal can be performed by the PWM controller in the system-on-chip 301, for example, the first PWM digital signal and the second PWM digital signal can be generated by a PWM controller, or by The two PWM controllers respectively generate the first PWM digital signal and the second PWM digital signal.
采用本申请实施例提供的调压系统300,由于片上系统301输出两个PWM数字信号,即第一PWM数字信号和第二PWM数字信号,那么在片上系统301初始化时,第一PWM数字信号可以配置成高电平(相当于占空比为1)或低电平(相当于占空比为0),第二PWM数字信号也可以配置成高电平或低电平,因此,片上系统301的输出可以配置出四种组合:1、第一PWM数字信号为高电平、第二PWM数字信号为高电平;2、第一PWM数字信号为高电平、第二PWM数字信号为低电平;3、第一PWM数字信号为低电平、第二PWM数字信号为高电平;4、第一PWM数字信号为低电平、第二PWM数字信号为低电平。相应地,在上述四组组合下,为片上系统301提供的输入电压也可以有四组组合。将四组组合中对应的片上系统301的输入电压的最大值设置为高性能场景下所需的工作电压V2,将四组组合中对应的片上系统301的输入电压的最小值设置为大于V1的值,将四组组合中对应的片上系统301的输入电压的中间值设置为片上系统301初始化时所需的工作电压V3,即可兼顾片上系统301的初始化需求和高性能场景需求。Using the voltage regulating system 300 provided by the embodiment of the present application, since the system on chip 301 outputs two PWM digital signals, that is, the first PWM digital signal and the second PWM digital signal, then when the system on chip 301 is initialized, the first PWM digital signal can be Configured as high level (equivalent to duty cycle of 1) or low level (equivalent to duty cycle of 0), the second PWM digital signal can also be configured to high level or low level. Therefore, the system on chip 301 The output can be configured into four combinations: 1. The first PWM digital signal is high level, and the second PWM digital signal is high level; 2. The first PWM digital signal is high level, and the second PWM digital signal is low. Level; 3. The first PWM digital signal is low level, and the second PWM digital signal is high level; 4. The first PWM digital signal is low level, and the second PWM digital signal is low level. Correspondingly, under the above four combinations, the input voltage provided for the system on chip 301 can also have four combinations. Set the maximum value of the input voltage of the corresponding system on chip 301 in the four groups of combinations to the required operating voltage V2 in the high-performance scenario, and set the minimum value of the input voltage of the corresponding system on chip 301 in the four groups of combinations to be greater than V1 Set the intermediate value of the input voltage of the system-on-chip 301 corresponding to the four groups of combinations to the operating voltage V3 required for the initialization of the system-on-chip 301, which can take into account the initialization requirements of the system-on-chip 301 and high-performance scenarios.
此外,在片上系统301初始化完成后,片上系统301可以输出占空比可调的第一PWM数字信号以及占空比可调的第二PWM数字信号,以指示其内部的处理器所需的工作电压,进而获得期望的工作电压,满足处理器的不同的工作电压需求。In addition, after the initialization of the system-on-chip 301 is completed, the system-on-chip 301 can output a first PWM digital signal with an adjustable duty cycle and a second PWM digital signal with an adjustable duty cycle to instruct the internal processor to work. Voltage, and then obtain the desired operating voltage, to meet the different operating voltage requirements of the processor.
综上,采用本申请实施例提供的调压系统300,可以在片上系统301正常工作时为片上系统301提供可调的工作电压,此外,还可兼顾片上系统301的初始化需求和高性能场景需求。In summary, the voltage regulating system 300 provided by the embodiment of the present application can provide the system on chip 301 with an adjustable operating voltage when the system on chip 301 is working normally. In addition, it can also take into account the initialization requirements of the system on chip 301 and the requirements of high-performance scenarios. .
具体地,在片上系统301进行初始化时,第一PWM数字信号和第二PWM数字信号可以采用如下配置:第一PWM数字信号为低电平、第二PWM数字信号为高电平时,电源芯片302的输出电压信号为片上系统301提供的输入电压为片上系统301在初始化场下的工作电压。或者,第一PWM数字信号为高电平、第二PWM数字信号为低电平时,电源芯片302的输出电压信号为片上系统301提供的输入电压为片上系统301在初始化场景下的工作电压。Specifically, when the system-on-chip 301 is initialized, the first PWM digital signal and the second PWM digital signal can adopt the following configuration: when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, the power chip 302 The output voltage signal of is the input voltage provided by the system-on-chip 301 is the operating voltage of the system-on-chip 301 in the initialization field. Alternatively, when the first PWM digital signal is at a high level and the second PWM digital signal is at a low level, the output voltage signal of the power chip 302 is the system-on-chip 301 and the input voltage is the operating voltage of the system-on-chip 301 in the initialization scenario.
也就是说,在初始化场景下,第一PWM数字信号和第二PWM数字信号一个配置为高电平、另一个配置为低电平即可。That is to say, in the initialization scenario, one of the first PWM digital signal and the second PWM digital signal can be configured as a high level and the other can be configured as a low level.
具体地,在高性能场景下,第一PWM数字信号和第二PWM数字信号可以采用如下配置:第一PWM数字信号和第二PWM数字信号均为低电平时,电源芯片302的输出电压信号为片上系统301提供的输入电压为片上系统301在高性能场景下的工作电压。或者,第一占空比小于第一预设值、第二占空比小于第二预设值时,电源芯片302的输出电压信号为片上系统301提供的输入电压为片上系统301在高性能场景下的工作电压。Specifically, in a high-performance scenario, the first PWM digital signal and the second PWM digital signal may adopt the following configuration: when the first PWM digital signal and the second PWM digital signal are both low, the output voltage signal of the power chip 302 is The input voltage provided by the system-on-chip 301 is the operating voltage of the system-on-chip 301 in a high-performance scenario. Or, when the first duty cycle is less than the first preset value, and the second duty cycle is less than the second preset value, the output voltage signal of the power chip 302 is the input voltage provided by the system-on-chip 301. Working voltage.
其中,第一预设值和第二预设值可以根据需求进行配置,第一预设值与第二预设值的数值可以相同也可以不同。在一个具体的示例中,第一预设值和第二预设值可以均为0.1,或者第一预设值为0.1、第二预设值为0.2。Wherein, the first preset value and the second preset value can be configured according to requirements, and the values of the first preset value and the second preset value may be the same or different. In a specific example, the first preset value and the second preset value may both be 0.1, or the first preset value may be 0.1 and the second preset value may be 0.2.
通常,片上系统301输出的第一PWM数字信号的第一占空比越小,电源芯片302为片上系统301提供的输入电压越大;同样地,片上系统301输出的第二PWM数字信号的第二占空比越小,电源芯片302为片上系统301提供的输入电压越大。那么,在高性能场景下,片上系统301所需的工作电压较高,此时可使得第一占空比小于第一预设值、第二 占空比小于第二预设值,或者使得第一占空比和第二占空比均为零(即第一PWM数字信号和第二PWM数字信号均为低电平),从而使得片上系统301获得较高的输入电压,作为高性能场景下的工作电压。Generally, the smaller the first duty cycle of the first PWM digital signal output by the system-on-chip 301, the greater the input voltage provided by the power chip 302 to the system-on-chip 301; similarly, the second PWM digital signal output by the system-on-chip 301 is Second, the smaller the duty cycle, the greater the input voltage provided by the power chip 302 to the system-on-chip 301. Then, in a high-performance scenario, the operating voltage required by the system-on-chip 301 is relatively high. At this time, the first duty cycle can be made smaller than the first preset value, the second duty cycle can be made smaller than the second preset value, or the first The first duty cycle and the second duty cycle are both zero (that is, the first PWM digital signal and the second PWM digital signal are both low), so that the system-on-chip 301 obtains a higher input voltage, which is used as a high-performance scenario Working voltage.
此外,调压系统300中还可以包括外围电路,如图4所示。外围电路用于将第一PWM数字信号转换为第一反馈信号;并将第二PWM数字信号转换为第二反馈信号。In addition, the voltage regulation system 300 may also include peripheral circuits, as shown in FIG. 4. The peripheral circuit is used for converting the first PWM digital signal into a first feedback signal; and converting the second PWM digital signal into a second feedback signal.
在第一占空比不同的情况下,外围电路转换得到的第一反馈信号的电压值也不同;同样地,在第二占空比不同的情况下,外围电路转换得到的第二反馈信号的电压值也不同。也就是说,第一反馈信号是可以反应第一占空比的大小的反馈信号,第二反馈信号是可以反应第而占空比的大小的反馈信号。由于片上系统301可以通过第一占空比和第二占空比指示其内部的处理器所需的工作电压,那么外围电路将第一占空比和第二占空比分别用第一反馈信号和第二反馈信号指示,可以使得电源芯片302根据第一反馈信号和第二反馈信号调整输出电压信号,进而使得片上系统301的输入电压为处理器所需的工作电压。When the first duty ratio is different, the voltage value of the first feedback signal converted by the peripheral circuit is also different; similarly, when the second duty ratio is different, the value of the second feedback signal converted by the peripheral circuit is different. The voltage value is also different. That is, the first feedback signal is a feedback signal that can reflect the magnitude of the first duty cycle, and the second feedback signal is a feedback signal that can reflect the magnitude of the first duty cycle. Since the system-on-chip 301 can indicate the operating voltage required by its internal processor through the first duty cycle and the second duty cycle, the peripheral circuit uses the first feedback signal for the first duty cycle and the second duty cycle respectively. And the second feedback signal instruction can make the power chip 302 adjust the output voltage signal according to the first feedback signal and the second feedback signal, so that the input voltage of the system on chip 301 is the operating voltage required by the processor.
此外,外围电路还可用于对片上系统301的输入电压进行分压后得到第三反馈信号,并将第一反馈信号、第二反馈信号和第三反馈信号反馈至电源芯片302。那么,电源芯片302具体用于:根据第一反馈信号、第二反馈信号、第三反馈信号和电源芯片基准电压得到输出电压信号。In addition, the peripheral circuit can also be used to divide the input voltage of the system-on-chip 301 to obtain a third feedback signal, and feed back the first feedback signal, the second feedback signal, and the third feedback signal to the power chip 302. Then, the power chip 302 is specifically used to obtain the output voltage signal according to the first feedback signal, the second feedback signal, the third feedback signal and the reference voltage of the power chip.
具体地,电源芯片302可以根据第一反馈信号、第二反馈信号和第三反馈信号对电源芯片基准电压进行调整,得到输出电压信号。Specifically, the power chip 302 may adjust the reference voltage of the power chip according to the first feedback signal, the second feedback signal, and the third feedback signal to obtain the output voltage signal.
根据上述外围电路的功能划分,不难理解,外围电路可以包括第一滤波电路、第二滤波电路和分压电路。其中,第一滤波电路用于将第一PWM数字信号转换为第一反馈信号,将第一反馈信号反馈至电源芯片302的反馈电压输入端;第二滤波电路用于将第二PWM数字信号转换为第二反馈信号,将第二反馈信号反馈至反馈电压输入端;分压电路用于对输入电压进行分压后得到第三反馈信号,将第三反馈信号反馈至反馈电压输入端。According to the functional division of the aforementioned peripheral circuits, it is not difficult to understand that the peripheral circuits may include a first filter circuit, a second filter circuit, and a voltage divider circuit. Among them, the first filter circuit is used to convert the first PWM digital signal into a first feedback signal, and the first feedback signal is fed back to the feedback voltage input terminal of the power chip 302; the second filter circuit is used to convert the second PWM digital signal It is the second feedback signal, and the second feedback signal is fed back to the feedback voltage input terminal; the voltage divider circuit is used to divide the input voltage to obtain the third feedback signal, and feed back the third feedback signal to the feedback voltage input terminal.
实际应用中,滤波电路可以由电阻和电容组成,分压电路可以由分压电阻实现。In practical applications, the filter circuit can be composed of resistors and capacitors, and the voltage divider circuit can be implemented by voltage divider resistors.
在一个具体的示例中,分压电路可以包括第一电阻和第二电阻,第一电阻的第一端与片上系统301用于接收输入电压的端口耦合,第一电阻的第二端与反馈电压输入端以及第二电阻的第一端耦合,第二电阻的第二端与接地端耦合;第一滤波电路可以包括第三电阻、第四电阻以及第一电容,第三电阻的第一端与片上系统301用于输出第一PWM数字信号的端口耦合,第三电阻的第二端与第一电容的第一端以及第四电阻的第一端耦合,第四电阻的第二端与反馈电压输入端耦合,第一电容的第二端与接地端耦合;第二滤波电路包括第五电阻、第六电阻以及第二电容,第五电阻的第一端与片上系统301用于输出第二PWM数字信号的端口耦合,第五电阻的第二端与第二电容的第一端以及第六电阻的第一端耦合,第六电阻的第二端与反馈电压输入端耦合,第二电容的第二端与接地端耦合。In a specific example, the voltage divider circuit may include a first resistor and a second resistor. The first end of the first resistor is coupled to the port of the on-chip system 301 for receiving the input voltage, and the second end of the first resistor is connected to the feedback voltage. The input terminal is coupled with the first terminal of the second resistor, and the second terminal of the second resistor is coupled with the ground terminal; the first filter circuit may include a third resistor, a fourth resistor, and a first capacitor, and the first terminal of the third resistor is coupled with The on-chip system 301 is used to output the port coupling of the first PWM digital signal, the second end of the third resistor is coupled to the first end of the first capacitor and the first end of the fourth resistor, and the second end of the fourth resistor is coupled to the feedback voltage The input end is coupled, the second end of the first capacitor is coupled to the ground end; the second filter circuit includes a fifth resistor, a sixth resistor, and a second capacitor, and the first end of the fifth resistor and the system on chip 301 are used to output the second PWM Digital signal port coupling, the second end of the fifth resistor is coupled to the first end of the second capacitor and the first end of the sixth resistor, the second end of the sixth resistor is coupled to the feedback voltage input end, and the second end of the second capacitor The two ends are coupled with the ground end.
参见图5,为图4所示的调压系统300的一个具体示例,在图5的示例中,示出了外围电路的具体组成。其中,R1和R2组成分压电路,其中R1可以视为第一电阻,R2可以视为第二电阻;R3、R4和C2组成第一滤波电路,其中R3可以视为第三电阻、R4可以视为第四电阻、C2可以视为第一电容;R5、R6和C3组成第二滤波电路,其中R5可以视为第五电阻、R6可以视为第六电阻、C3可以视为第二电容。Referring to FIG. 5, it is a specific example of the voltage regulating system 300 shown in FIG. 4. In the example of FIG. 5, the specific composition of the peripheral circuit is shown. Among them, R1 and R2 form a voltage divider circuit, where R1 can be regarded as the first resistor, and R2 can be regarded as the second resistor; R3, R4 and C2 form the first filter circuit, where R3 can be regarded as the third resistor and R4 can be regarded as As the fourth resistor, C2 can be regarded as the first capacitor; R5, R6, and C3 form the second filter circuit, where R5 can be regarded as the fifth resistor, R6 can be regarded as the sixth resistor, and C3 can be regarded as the second capacitor.
此外,在图5所示的调压系统300中,外围电路还可以包括输出滤波电路,该输出滤波电路与电源芯片302的电压输出端耦合,用于对电源芯片302的输出电压信号进行滤波 处理以得到片上系统301的输入电压。示例性的,该输出滤波电路可以由电感L和电容C1组成,如图5所示。In addition, in the voltage regulation system 300 shown in FIG. 5, the peripheral circuit may also include an output filter circuit, which is coupled to the voltage output terminal of the power chip 302 and is used to filter the output voltage signal of the power chip 302 In order to obtain the input voltage of the system-on-chip 301. Exemplarily, the output filter circuit may be composed of an inductor L and a capacitor C1, as shown in FIG. 5.
与图2所示的调压系统类似,在图5所示的调压系统中,电源芯片中可以包括误差放大器以及电压输出电路,具体如图6所示。Similar to the voltage regulation system shown in FIG. 2, in the voltage regulation system shown in FIG. 5, the power chip may include an error amplifier and a voltage output circuit, as shown in FIG. 6 in detail.
其中,片上系统301输出的第一PWM数字信号(图6中用PWM0示意)经R3、R4和C2进行滤波后得到第一反馈信号Vpwm0,Vpwm0作为第一反馈信号输入误差放大器的反相输入端;片上系统301输出的第二PWM数字信号(图6中用PWM1示意)经R5、R6和C3进行滤波后得到第二反馈信号Vpwm1,Vpwm1作为第二反馈信号输入误差放大器的反相输入端;片上系统301的输入电压Vout经R1和R2分压后作为第三反馈信号输入误差放大器的反相输入端;误差放大器的同相输入端连接基准电压源,用于输入基准电压Vref,反相输入端作为反馈输入端,误差放大器用于输出反馈输入端的输入电压与基准电压源之间的电压差值;应当理解,误差放大器基于反相输入端输入的反馈信号对同相输入端输入的基准电压信号进行调整,误差放大器输出的电压差值为调整后的电压信号,电压输出电路的输入端与误差放大器的输出端相连以获取该电压差值,该电压输出电路对误差放大器输出的电压差值进行处理得到输出电压信号,该输出电压信号经L和C1滤波后得到Vout提供给片上系统301。Among them, the first PWM digital signal output by the on-chip system 301 (indicated by PWM0 in Figure 6) is filtered by R3, R4, and C2 to obtain the first feedback signal Vpwm0, and Vpwm0 is input as the first feedback signal to the inverting input terminal of the error amplifier ; The second PWM digital signal output by the on-chip system 301 (indicated by PWM1 in Figure 6) is filtered by R5, R6, and C3 to obtain the second feedback signal Vpwm1, and Vpwm1 is input as the second feedback signal to the inverting input of the error amplifier; The input voltage Vout of the system-on-chip 301 is divided by R1 and R2 as the third feedback signal and input to the inverting input terminal of the error amplifier; the non-inverting input terminal of the error amplifier is connected to a reference voltage source for inputting the reference voltage Vref, and the inverting input terminal As the feedback input terminal, the error amplifier is used to output the voltage difference between the input voltage at the feedback input terminal and the reference voltage source; it should be understood that the error amplifier performs the reference voltage signal input at the non-inverting input terminal based on the feedback signal input at the inverting input terminal. Adjustment, the voltage difference output by the error amplifier is the adjusted voltage signal, the input terminal of the voltage output circuit is connected with the output terminal of the error amplifier to obtain the voltage difference, and the voltage output circuit processes the voltage difference output by the error amplifier The output voltage signal is obtained, and the output voltage signal is filtered by L and C1 to obtain Vout and provide it to the system-on-chip 301.
不难理解,当片上系统301输出的PWM0的第一占空比发生变化时,PWM0经R3、R4和C2进行滤波后得到第一反馈信号Vpwm0的电压值也会发生变化;当片上系统301输出的PWM1的第二占空比发生变化时,PWM1经R5、R6和C3进行滤波后得到第二反馈信号Vpwm1的电压值也会发生变化。由于Vpwm0和Vpwm1为误差放大器的反馈信号,因而Vpwm0和Vpwm1的变化会影响电源芯片302的输出电压信号,最终导致Vout发生变化。因此,片上系统301可以通过输出的PWM0和PWM1指示其内部的处理器所需的工作电压,进而获得期望的Vout。It is not difficult to understand that when the first duty cycle of PWM0 output by the on-chip system 301 changes, the voltage value of the first feedback signal Vpwm0 obtained after PWM0 is filtered by R3, R4 and C2 will also change; when the on-chip system 301 outputs When the second duty cycle of PWM1 changes, the voltage value of the second feedback signal Vpwm1 obtained after PWM1 is filtered by R5, R6 and C3 will also change. Since Vpwm0 and Vpwm1 are feedback signals of the error amplifier, the changes of Vpwm0 and Vpwm1 will affect the output voltage signal of the power chip 302, and eventually cause Vout to change. Therefore, the system-on-chip 301 can indicate the operating voltage required by its internal processor through the output PWM0 and PWM1, thereby obtaining the desired Vout.
具体地,输出电压Vout按照如下公式确定:Specifically, the output voltage Vout is determined according to the following formula:
Vout=Vdc+△V0+△V1Vout=Vdc+△V0+△V1
其中,Vdc=Vref*(1+R1/R2),Vdc的值取决于电源芯片302的特性,是固定值。Among them, Vdc=Vref*(1+R1/R2), and the value of Vdc depends on the characteristics of the power chip 302 and is a fixed value.
△V0=(Vref-Vpwm0)*R1/(R3+R4),△V0随片上系统301设定的第一占空比而改变。△V0=(Vref-Vpwm0)*R1/(R3+R4), △V0 changes with the first duty ratio set by the system on chip 301.
△V1=(Vref-Vpwm1)*R1/(R5+R6),△V1随片上系统301设定的第二占空比而改变。ΔV1=(Vref-Vpwm1)*R1/(R5+R6), ΔV1 changes with the second duty ratio set by the system on chip 301.
不难看出,Vpwm0的值越小,Vout的值越大;而Vpwm0由PWM0经R3、R4和C2进行滤波后得到,PWM0的第一占空比越小,Vpwm0的值越小。因此,第一占空比越小,Vout的值越大。同样地,Vpwm1的值越小,Vout的值越大;而Vpwm1由PWM1经R5、R6和C3进行滤波后得到,PWM1的第二占空比越小,Vpwm1的值越小。因此,第二占空比越小,Vout的值越大。It is not difficult to see that the smaller the value of Vpwm0, the larger the value of Vout; and Vpwm0 is obtained by PWM0 after filtering by R3, R4 and C2. The smaller the first duty cycle of PWM0, the smaller the value of Vpwm0. Therefore, the smaller the first duty cycle, the larger the value of Vout. Similarly, the smaller the value of Vpwm1, the larger the value of Vout; and Vpwm1 is obtained by filtering PWM1 through R5, R6 and C3. The smaller the second duty cycle of PWM1, the smaller the value of Vpwm1. Therefore, the smaller the second duty cycle, the larger the value of Vout.
基于以上分析,可以得到如下结论:Based on the above analysis, the following conclusions can be drawn:
①将PWM0,PWM1均设置为低电平(Low)时,Vout可得到最大值Vout_max;① When both PWM0 and PWM1 are set to low level (Low), Vout can get the maximum value Vout_max;
②将PWM0,PWM1均设置为高电平(High)时,Vout可得到最小值Vout_min;② When both PWM0 and PWM1 are set to high level (High), Vout can get the minimum value Vout_min;
③将PWM0,PWM1一个设置为高电平(High),一个设置为低电平(Low),可得到中间电压值Vout_mid。③Set one of PWM0 and PWM1 to high level (High) and one to low level (Low), and the intermediate voltage value Vout_mid can be obtained.
因此,在片上系统301的初始化过程中,可以按照③进行配置,得到Vout_mid作为片上系统301在初始化场景下的工作电压;在高性能场景下,片上系统301中的处理器需要 较高的工作电压,可以按照①进行配置,得到Vout_max作为片上系统301在高性能场景下的工作电压;在片上系统301在非高性能场景下正常工作时,PWM0和PWM1可以为占空比动态变化的数字信号,从而满足片上系统301的动态调压需求。Therefore, in the initialization process of the system-on-chip 301, you can configure according to ③ to obtain Vout_mid as the operating voltage of the system-on-chip 301 in the initialization scenario; in the high-performance scenario, the processor in the system-on-chip 301 requires a higher operating voltage , You can configure according to ① to get Vout_max as the operating voltage of the system-on-chip 301 in high-performance scenarios; when the system-on-chip 301 works normally in non-high-performance scenarios, PWM0 and PWM1 can be digital signals with dynamic changes in duty cycle. So as to meet the dynamic voltage regulation requirements of the system-on-chip 301.
综上,采用本申请实施例提供的调压系统300,片上系统301输出两个PWM数字信号,即第一PWM数字信号和第二PWM数字信号,在片上系统301初始化时,第一PWM数字信号可以配置成高电平(相当于占空比为1)或低电平(相当于占空比为0),第二PWM数字信号也可以配置成高电平或低电平,因此,片上系统301的输出可以配置出四种组合,相应地,电源芯片302为片上系统301提供的输入电压也可以有四组组合。那么,将片上系统301的输入电压的最大值设置为高性能场景下所需的工作电压V2,将片上系统301的输入电压的最小值设置为大于处理器所需最低电压V1的值,将片上系统301的输入电压的中间值设置为片上系统301初始化时所需的工作电压V3,即可兼顾片上系统301的初始化需求和高性能场景需求。在片上系统301初始化完成后,片上系统301可以输出占空比可调的第一PWM数字信号以及占空比可调的第二PWM数字信号,以指示电源芯片对输出电压信号进行调整,进而使得片上系统301获得期望的工作电压。因此,采用本申请实施例提供的调压系统300,可以在片上系统301正常工作时为片上系统301提供可调的工作电压,同时,还可兼顾片上系统301的初始化需求和高性能场景需求。In summary, using the voltage regulating system 300 provided by the embodiment of the present application, the on-chip system 301 outputs two PWM digital signals, namely the first PWM digital signal and the second PWM digital signal. When the on-chip system 301 is initialized, the first PWM digital signal It can be configured as a high level (equivalent to a duty cycle of 1) or a low level (equivalent to a duty cycle of 0), and the second PWM digital signal can also be configured to a high level or a low level. Therefore, the system on chip The output of 301 can be configured into four combinations. Correspondingly, the input voltage provided by the power chip 302 for the system-on-chip 301 can also have four combinations. Then, set the maximum value of the input voltage of the system-on-chip 301 to the required operating voltage V2 in a high-performance scenario, and set the minimum value of the input voltage of the system-on-chip 301 to a value greater than the minimum voltage V1 required by the processor, and set the on-chip The intermediate value of the input voltage of the system 301 is set to the operating voltage V3 required when the system on chip 301 is initialized, which can take into account the initialization requirements of the system on chip 301 and the high performance scenario requirements. After the system-on-chip 301 is initialized, the system-on-chip 301 can output a first PWM digital signal with an adjustable duty cycle and a second PWM digital signal with an adjustable duty cycle to instruct the power chip to adjust the output voltage signal, so that The system on chip 301 obtains the desired operating voltage. Therefore, the voltage regulating system 300 provided by the embodiment of the present application can provide the system on chip 301 with an adjustable operating voltage when the system on chip 301 is working normally, and at the same time, it can also take into account the initialization requirements of the system on chip 301 and the high performance scenario requirements.
基于同一发明构思,本申请实施例还提供一种调压系统,该调压系统可以视为前述调压系统300的一个具体示例。该调压系统的结构可以如图7所示。Based on the same inventive concept, an embodiment of the present application also provides a pressure regulating system, which can be regarded as a specific example of the aforementioned pressure regulating system 300. The structure of the pressure regulating system can be shown in Figure 7.
在图7所示的调压系统中,芯片U1可以视为前述电源芯片302的一个具体示例,芯片U2可以视为前述片上系统301的一个具体示例,除芯片U1和芯片U2之外的部分可以视为前述外围电路的一个具体示例。PWM0可以视为第一PWM数字信号,PWM1可以视为第二PWM数字信号,Vout可以视为片上系统301的输入电压。在芯片U1中,FB端口可以视为U1的反馈电压输入端,LX端口可以视为U1的电压输出端。Vin为芯片U1的电源。In the voltage regulation system shown in FIG. 7, the chip U1 can be regarded as a specific example of the aforementioned power chip 302, and the chip U2 can be regarded as a specific example of the aforementioned system-on-chip 301. The parts other than the chip U1 and the chip U2 can be Think of it as a specific example of the aforementioned peripheral circuit. PWM0 can be regarded as the first PWM digital signal, PWM1 can be regarded as the second PWM digital signal, and Vout can be regarded as the input voltage of the system on chip 301. In the chip U1, the FB port can be regarded as the feedback voltage input terminal of U1, and the LX port can be regarded as the voltage output terminal of U1. Vin is the power supply of chip U1.
在该调压系统中,在SoC的初始化过程中,可以将PWM0和PWM1一个设置为高电平、一个设置为低电平,Vout即为SoC在初始化场景下的工作电压;在高性能场景下,可以将PWM0和PWM1均设置为高电平,Vout即为SoC在高性能场景下的工作电压;SoC在非高性能场景下正常工作时,PWM0和PWM1可以为占空比动态变化的数字信号,从而满足SoC的动态调压需求。In this voltage regulation system, in the SoC initialization process, one of PWM0 and PWM1 can be set to high level and the other to low level. Vout is the operating voltage of the SoC in the initialization scenario; in the high-performance scenario , Both PWM0 and PWM1 can be set to high level, Vout is the operating voltage of SoC in high-performance scenarios; when SoC works normally in non-high-performance scenarios, PWM0 and PWM1 can be digital signals with dynamic changes in duty cycle , So as to meet SoC's dynamic voltage regulation requirements.
基于同一发明构思,本申请实施例还提供一种片上系统,该片上系统可以视为前述片上系统301的一个具体示例。具体地,该片上系统用于输出第一PWM数字信号和第二PWM数字信号;接收电源芯片提供的片上系统的输入电压,在片上系统的输入电压的驱动下进行工作,输入电压为电源芯片根据第一PWM数字信号的第一占空比、第二PWM数字信号的第二占空比和电源芯片基准电压得到的。Based on the same inventive concept, the embodiments of the present application also provide a system on chip, which can be regarded as a specific example of the aforementioned system on chip 301. Specifically, the system-on-chip is used to output the first PWM digital signal and the second PWM digital signal; it receives the input voltage of the system-on-chip provided by the power chip, and works under the drive of the input voltage of the system-on-chip. The input voltage is based on the power chip The first duty cycle of the first PWM digital signal, the second duty cycle of the second PWM digital signal and the reference voltage of the power chip are obtained.
在一种可能的示例中,第一PWM数字信号为低电平、第二PWM数字信号为高电平,或者第一PWM数字信号为高电平、第二PWM数字信号为低电平时,输入电压为片上系统在初始化场景下的工作电压。In a possible example, when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, or the first PWM digital signal is at a high level and the second PWM digital signal is at a low level, the input The voltage is the operating voltage of the on-chip system in the initialization scenario.
在一种可能的示例中,第一PWM数字信号和第二PWM数字信号均为低电平,或者 第一占空比小于第一预设值、第二占空比小于第二预设值时,输入电压为片上系统在高性能场景下的工作电压。In a possible example, when the first PWM digital signal and the second PWM digital signal are both low, or the first duty cycle is less than the first preset value, and the second duty cycle is less than the second preset value , The input voltage is the operating voltage of the on-chip system in high-performance scenarios.
需要说明的是,该片上系统的具体功能以及该片上系统301与电源芯片之间的交互可以参见前述调压系统300中的相关描述,此处不再赘述。It should be noted that the specific functions of the system-on-chip and the interaction between the system-on-chip 301 and the power chip can refer to the relevant description in the aforementioned voltage regulation system 300, which will not be repeated here.
基于同一发明构思,本申请实施例还提供一种调压方法,该调压方法可以视为前述调压系统300所执行的方法。参见图8,该方法包括如下步骤。Based on the same inventive concept, an embodiment of the present application also provides a pressure regulating method, which can be regarded as the method performed by the aforementioned pressure regulating system 300. Referring to Figure 8, the method includes the following steps.
S801:调压系统获取第一PWM数字信号和第二PWM数字信号。S801: The voltage regulating system obtains the first PWM digital signal and the second PWM digital signal.
S802:调压系统根据第一PWM数字信号的第一占空比、第二PWM数字信号的第二占空和电源芯片基准电压得到输出电压信号。S802: The voltage regulation system obtains an output voltage signal according to the first duty ratio of the first PWM digital signal, the second duty ratio of the second PWM digital signal, and the power chip reference voltage.
其中,输出电压信号用于为片上系统提供输入电压。Among them, the output voltage signal is used to provide input voltage for the on-chip system.
可选地,第一PWM数字信号为低电平、第二PWM数字信号为高电平时,输出电压信号为片上系统提供的输入电压为片上系统在初始化场景下的工作电压;或者,第一PWM数字信号为高电平、第二PWM数字信号为低电平时,输出电压信号为片上系统提供的输入电压为片上系统在初始化场景下的工作电压。Optionally, when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario; or, the first PWM When the digital signal is at a high level and the second PWM digital signal is at a low level, the output voltage signal is the on-chip system and the input voltage is the operating voltage of the on-chip system in the initialization scenario.
可选地,第一PWM数字信号和第二PWM数字信号均为低电平时,输出电压信号为片上系统提供的输入电压为片上系统在高性能场景下的工作电压;或者,第一占空比小于第一预设值、第二占空比小于第二预设值时,输出电压信号为片上系统提供的输入电压为片上系统在高性能场景下的工作电压。Optionally, when the first PWM digital signal and the second PWM digital signal are both at a low level, the output voltage signal is the system-on-chip input voltage, and the input voltage is the operating voltage of the system-on-chip in a high-performance scenario; or, the first duty cycle When the output voltage signal is less than the first preset value and the second duty cycle is less than the second preset value, the input voltage provided by the system-on-chip is the operating voltage of the system-on-chip in a high-performance scenario.
具体地,调压系统根据第一PWM数字信号的第一占空比、第二PWM数字信号的第二占空比和电源芯片基准电压得到输出电压信号,可以通过如下方式实现:将第一PWM数字信号转换为第一反馈信号;将第二PWM数字信号转换为第二反馈信号;对片上系统的输入电压进行分压后得到第三反馈信号;根据第一反馈信号、第二反馈信号、第三反馈信号和电源芯片基准电压得到输出电压信号。Specifically, the voltage regulating system obtains the output voltage signal according to the first duty cycle of the first PWM digital signal, the second duty cycle of the second PWM digital signal, and the power chip reference voltage, which can be implemented in the following manner: The digital signal is converted into the first feedback signal; the second PWM digital signal is converted into the second feedback signal; the input voltage of the on-chip system is divided to obtain the third feedback signal; according to the first feedback signal, the second feedback signal, and the second feedback signal Three feedback signals and the reference voltage of the power chip obtain the output voltage signal.
此外,输出电压信号用于为片上系统提供输入电压,具体可以是:对输出电压信号进行滤波处理,以得到片上系统的输入电压。In addition, the output voltage signal is used to provide the input voltage for the on-chip system, which may specifically be: filtering the output voltage signal to obtain the input voltage of the on-chip system.
此外,本申请实施例还提供一种片上系统,参见图9,该片上系统900包括:直流电源901、第一电阻902、第一开关管903、第二开关管904、第二电阻905以及PWM控制器906,直流电源901与第一电阻902的第一端耦合,第一电阻902的第二端与第一开关管903的第一端耦合,第一开关管903的第二端与第二开关管904的第一端、PWM控制器906以及片上系统900之外的电源芯片耦合,第二开关管904的第二端与第二电阻905的第一端耦合,第二电阻905的第二端与接地端耦合,电源芯片用于根据片上系统900的输出信号调整输出电压信号,该输出电压信号用于为片上系统900提供工作电压。In addition, an embodiment of the present application also provides a system on a chip. Referring to FIG. 9, the system on chip 900 includes: a DC power supply 901, a first resistor 902, a first switch tube 903, a second switch tube 904, a second resistor 905, and a PWM In the controller 906, the DC power supply 901 is coupled to the first end of the first resistor 902, the second end of the first resistor 902 is coupled to the first end of the first switch tube 903, and the second end of the first switch tube 903 is coupled to the second end of the first switch tube 903. The first end of the switch tube 904, the PWM controller 906, and the power chip outside the system-on-chip 900 are coupled, the second end of the second switch tube 904 is coupled to the first end of the second resistor 905, and the second end of the second resistor 905 is coupled to the first end of the second resistor 905. The terminal is coupled with the ground terminal, and the power chip is used to adjust the output voltage signal according to the output signal of the system on chip 900, and the output voltage signal is used to provide the operating voltage for the system on chip 900.
本申请实施例中,对第一开关管903和第二开关管904的类型不做具体限定,例如可以是金属-氧化物半导体场效应晶体管(metal-oxide-semiconductor field-effect transistor,MOSFET),也可以是绝缘栅双极型晶体管(insulated gate bipolar transistor,IGBT),图9中仅以MOSFET为例进行示意。此外,第一开关管903和第二开关管904的可以由片上系统900内部的控制器进行控制。In the embodiment of the present application, the types of the first switching tube 903 and the second switching tube 904 are not specifically limited, for example, they may be metal-oxide-semiconductor field-effect transistors (MOSFETs), It may also be an insulated gate bipolar transistor (IGBT). In FIG. 9, only a MOSFET is used as an example for illustration. In addition, the first switch tube 903 and the second switch tube 904 can be controlled by a controller inside the system-on-chip 900.
其中,片上系统900进行初始化时,第一开关管903和第二开关管904导通、PWM 控制器906为高阻态。Wherein, when the system on chip 900 is initialized, the first switch tube 903 and the second switch tube 904 are turned on, and the PWM controller 906 is in a high impedance state.
也就是说,在片上系统900进行初始化时,PWM控制器906的输出为零,PWM控制器906的输出对电源芯片没有影响,片上系统900向电源芯片提供的是由第一电阻902和第二电阻905对直流电源901的输出电压进行分压后得到的电压,该电压可以通过直流电源901的输出电压、第一电阻902的阻值以及第二电阻905的阻值进行调节,从而使得电源芯片根据该电压对基准电压进行调整后得到的输出电压信号能够满足片上系统900的初始化需求。That is to say, when the system on chip 900 is initialized, the output of the PWM controller 906 is zero, and the output of the PWM controller 906 has no effect on the power chip. The system on chip 900 provides the power chip by the first resistor 902 and the second resistor. The resistor 905 divides the output voltage of the DC power supply 901 to obtain the voltage. The voltage can be adjusted by the output voltage of the DC power supply 901, the resistance of the first resistor 902, and the resistance of the second resistor 905, so that the power chip The output voltage signal obtained after adjusting the reference voltage according to the voltage can meet the initialization requirement of the system on chip 900.
具体地,图9所示的片上系统900可以应用于图1或图2所示的调压系统中,电源芯片和外围电路的组成可以参见图1和图2中的相关描述,此处不再赘述。Specifically, the system-on-chip 900 shown in FIG. 9 can be applied to the voltage regulation system shown in FIG. 1 or FIG. Go into details.
此外,片上系统900正常工作时,第一开关管903和第二开关管904关断、PWM控制器906输出PWM数字信号。In addition, when the system on chip 900 is working normally, the first switching tube 903 and the second switching tube 904 are turned off, and the PWM controller 906 outputs a PWM digital signal.
也就是说,在片上系统900正常工作时,第一开关管903和第二开关管904关断,直流电源901、第一电阻902和第二电阻905不再起作用,片上系统900向电源芯片提供的是PWM控制器906输出的PWM数字信号,电源芯片可以根据该PWM数字信号的占空比对输出电压信号进行调节,从而使得输出电压信号能够满足片上系统900在正常工作状态下的工作电压需求。That is to say, when the system on chip 900 is working normally, the first switch tube 903 and the second switch tube 904 are turned off, the DC power supply 901, the first resistor 902, and the second resistor 905 no longer function, and the system on chip 900 provides the power supply chip It is the PWM digital signal output by the PWM controller 906. The power chip can adjust the output voltage signal according to the duty ratio of the PWM digital signal, so that the output voltage signal can meet the working voltage requirements of the system on chip 900 in the normal working state. .
需要说明的是,在图9所示的片上系统900中,第一电阻902和第一开关管903的位置可以调换,第二开关管904和第二电阻905的位置也可以调换,上述两种位置调换不会对片上系统900的功能产生影响。It should be noted that in the system-on-chip 900 shown in FIG. 9, the positions of the first resistor 902 and the first switch tube 903 can be exchanged, and the positions of the second switch tube 904 and the second resistor 905 can also be exchanged. The position exchange will not affect the function of the system-on-chip 900.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are used to generate It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范 围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to this application without departing from the protection scope of this application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, then this application is also intended to include these modifications and variations.

Claims (17)

  1. 一种调压系统,其特征在于,包括:A pressure regulating system is characterized in that it comprises:
    片上系统,用于输出第一脉冲宽度调制PWM数字信号和第二PWM数字信号;On-chip system for outputting the first pulse width modulation PWM digital signal and the second PWM digital signal;
    电源芯片,与所述片上系统耦合,用于根据所述第一PWM数字信号的第一占空比、所述第二PWM数字信号的第二占空比和所述电源芯片基准电压得到输出电压信号,所述输出电压信号用于为所述片上系统提供输入电压。A power chip, coupled to the system-on-chip, for obtaining an output voltage according to the first duty cycle of the first PWM digital signal, the second duty cycle of the second PWM digital signal, and the power chip reference voltage Signal, the output voltage signal is used to provide an input voltage for the on-chip system.
  2. 如权利要求1所述的调压系统,其特征在于,所述第一PWM数字信号为低电平、所述第二PWM数字信号为高电平时,所述输出电压信号为所述片上系统提供的输入电压为所述片上系统在初始化场景下的工作电压;或者,所述第一PWM数字信号为高电平、所述第二PWM数字信号为低电平时,所述输出电压信号为所述片上系统提供的输入电压为所述片上系统在初始化场景下的工作电压。The voltage regulation system according to claim 1, wherein when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, the output voltage signal is provided for the on-chip system The input voltage is the operating voltage of the system-on-chip in the initialization scenario; or, when the first PWM digital signal is at a high level and the second PWM digital signal is at a low level, the output voltage signal is the The input voltage provided by the on-chip system is the operating voltage of the on-chip system in the initialization scenario.
  3. 如权利要求1或2所述的调压系统,其特征在于,所述第一PWM数字信号和所述第二PWM数字信号均为低电平时,所述输出电压信号为所述片上系统提供的输入电压为所述片上系统在高性能场景下的工作电压;或者,所述第一占空比小于第一预设值、所述第二占空比小于第二预设值时,所述输出电压信号为所述片上系统提供的输入电压为所述片上系统在高性能场景下的工作电压。The voltage regulating system according to claim 1 or 2, wherein when the first PWM digital signal and the second PWM digital signal are both low, the output voltage signal is provided by the on-chip system The input voltage is the operating voltage of the system-on-chip in a high-performance scenario; or, when the first duty cycle is less than a first preset value, and the second duty cycle is less than a second preset value, the output The input voltage provided by the voltage signal for the system-on-chip is the operating voltage of the system-on-chip in a high-performance scenario.
  4. 如权利要求1~3任一项所述的调压系统,其特征在于,所述调压系统还包括:The pressure regulating system according to any one of claims 1 to 3, wherein the pressure regulating system further comprises:
    外围电路,用于将所述第一PWM数字信号转换为第一反馈信号;并将所述第二PWM数字信号转换为第二反馈信号;A peripheral circuit for converting the first PWM digital signal into a first feedback signal; and converting the second PWM digital signal into a second feedback signal;
    所述外围电路,还用于对所述片上系统的所述输入电压进行分压后得到第三反馈信号,并将所述第一反馈信号、所述第二反馈信号和所述第三反馈信号反馈至所述电源芯片;The peripheral circuit is also used to divide the input voltage of the on-chip system to obtain a third feedback signal, and combine the first feedback signal, the second feedback signal, and the third feedback signal Feedback to the power chip;
    所述电源芯片具体用于:The power chip is specifically used for:
    根据所述第一反馈信号、所述第二反馈信号、所述第三反馈信号和所述电源芯片基准电压得到所述输出电压信号。The output voltage signal is obtained according to the first feedback signal, the second feedback signal, the third feedback signal, and the power chip reference voltage.
  5. 如权利要求4所述的调压系统,其特征在于,所述外围电路包括:The voltage regulating system according to claim 4, wherein the peripheral circuit comprises:
    第一滤波电路,用于将所述第一PWM数字信号转换为所述第一反馈信号,将所述第一反馈信号反馈至所述电源芯片的反馈电压输入端;A first filter circuit, configured to convert the first PWM digital signal into the first feedback signal, and feed back the first feedback signal to the feedback voltage input terminal of the power chip;
    第二滤波电路,用于将所述第二PWM数字信号转换为所述第二反馈信号,将所述第二反馈信号反馈至所述反馈电压输入端;A second filter circuit, configured to convert the second PWM digital signal into the second feedback signal, and feed back the second feedback signal to the feedback voltage input terminal;
    分压电路,用于对所述输入电压进行分压后得到所述第三反馈信号,将所述第三反馈信号反馈至所述反馈电压输入端。A voltage divider circuit is used to divide the input voltage to obtain the third feedback signal, and feed back the third feedback signal to the feedback voltage input terminal.
  6. 如权利要求5所述的调压系统,其特征在于,所述分压电路包括第一电阻和第二电阻,所述第一电阻的第一端与所述片上系统用于接收所述输入电压的端口耦合,所述第一电阻的第二端与所述反馈电压输入端以及所述第二电阻的第一端耦合,所述第二电阻的 第二端与所述接地端耦合;The voltage regulating system according to claim 5, wherein the voltage divider circuit comprises a first resistor and a second resistor, and the first end of the first resistor and the system on chip are used to receive the input voltage Port coupling of the first resistor, the second end of the first resistor is coupled to the feedback voltage input end and the first end of the second resistor, and the second end of the second resistor is coupled to the ground end;
    所述第一滤波电路包括第三电阻、第四电阻以及第一电容,所述第三电阻的第一端与所述片上系统用于输出所述第一PWM数字信号的端口耦合,所述第三电阻的第二端与所述第一电容的第一端以及所述第四电阻的第一端耦合,所述第四电阻的第二端与所述反馈电压输入端耦合,所述第一电容的第二端与所述接地端耦合;The first filter circuit includes a third resistor, a fourth resistor, and a first capacitor. A first end of the third resistor is coupled to a port of the on-chip system for outputting the first PWM digital signal. The second end of the three resistor is coupled to the first end of the first capacitor and the first end of the fourth resistor, the second end of the fourth resistor is coupled to the feedback voltage input end, and the first The second terminal of the capacitor is coupled with the ground terminal;
    所述第二滤波电路包括第五电阻、第六电阻以及第二电容,所述第五电阻的第一端与所述片上系统用于输出所述第二PWM数字信号的端口耦合,所述第五电阻的第二端与所述第二电容的第一端以及所述第六电阻的第一端耦合,所述第六电阻的第二端与所述反馈电压输入端耦合,所述第二电容的第二端与所述接地端耦合。The second filter circuit includes a fifth resistor, a sixth resistor, and a second capacitor. The first end of the fifth resistor is coupled to a port used by the on-chip system to output the second PWM digital signal. The second end of the five resistor is coupled to the first end of the second capacitor and the first end of the sixth resistor, the second end of the sixth resistor is coupled to the feedback voltage input end, and the second The second terminal of the capacitor is coupled with the ground terminal.
  7. 如权利要求5或6所述的调压系统,其特征在于,所述外围电路还包括:The voltage regulating system according to claim 5 or 6, wherein the peripheral circuit further comprises:
    输出滤波电路,与所述电源芯片的电压输出端耦合,用于对所述输出电压信号进行滤波处理以得到所述片上系统的所述输入电压。An output filter circuit, coupled with the voltage output terminal of the power chip, is used to filter the output voltage signal to obtain the input voltage of the system on chip.
  8. 一种片上系统,其特征在于,所述片上系统用于:A system on chip, characterized in that the system on chip is used for:
    输出第一PWM数字信号和第二PWM数字信号;Output the first PWM digital signal and the second PWM digital signal;
    接收电源芯片提供的所述片上系统的输入电压,在所述片上系统的输入电压的驱动下进行工作,所述输入电压为所述电源芯片根据所述第一PWM数字信号的第一占空比、所述第二PWM数字信号的第二占空比和电源芯片基准电压得到的。Receive the input voltage of the system-on-chip provided by the power chip, and work under the drive of the input voltage of the system-on-chip, where the input voltage is the first duty cycle of the power chip according to the first PWM digital signal , The second duty ratio of the second PWM digital signal and the reference voltage of the power chip are obtained.
  9. 如权利要求8所述片上系统,其特征在于,所述第一PWM数字信号为低电平、所述第二PWM数字信号为高电平,或者第一PWM数字信号为高电平、所述第二PWM数字信号为低电平时,所述输入电压为所述片上系统在初始化场景下的工作电压。8. The system-on-chip of claim 8, wherein the first PWM digital signal is at a low level, the second PWM digital signal is at a high level, or the first PWM digital signal is at a high level, and the When the second PWM digital signal is at a low level, the input voltage is the operating voltage of the on-chip system in the initialization scenario.
  10. 如权利要求8或9所述的片上系统,其特征在于,所述第一PWM数字信号和所述第二PWM数字信号均为低电平,或者所述第一占空比小于第一预设值、所述第二占空比小于第二预设值时,所述输入电压为所述片上系统在高性能场景下的工作电压。The system on chip according to claim 8 or 9, wherein the first PWM digital signal and the second PWM digital signal are both low level, or the first duty cycle is less than the first preset When the second duty cycle is less than the second preset value, the input voltage is the operating voltage of the system-on-chip in a high-performance scenario.
  11. 一种调压方法,其特征在于,包括:A pressure regulating method, characterized in that it comprises:
    调压系统获取第一PWM数字信号和第二PWM数字信号;The voltage regulation system obtains the first PWM digital signal and the second PWM digital signal;
    调压系统根据所述第一PWM数字信号的第一占空比、所述第二PWM数字信号的第二占空和电源芯片基准电压得到输出电压信号,所述输出电压信号用于为所述片上系统提供输入电压。The voltage regulating system obtains an output voltage signal according to the first duty cycle of the first PWM digital signal, the second duty cycle of the second PWM digital signal and the power chip reference voltage, and the output voltage signal is used to provide the The on-chip system provides the input voltage.
  12. 如权利要求11所述的方法,其特征在于,所述第一PWM数字信号为低电平、所述第二PWM数字信号为高电平时,所述输出电压信号为所述片上系统提供的输入电压为所述片上系统在初始化场景下的工作电压;或者,第一PWM数字信号为高电平、所述第二PWM数字信号为低电平时,所述输出电压信号为所述片上系统提供的输入电压为所述片上系统在初始化场景下的工作电压。The method of claim 11, wherein when the first PWM digital signal is at a low level and the second PWM digital signal is at a high level, the output voltage signal is an input provided by the on-chip system The voltage is the operating voltage of the on-chip system in the initialization scenario; or, when the first PWM digital signal is at a high level and the second PWM digital signal is at a low level, the output voltage signal is provided by the on-chip system The input voltage is the operating voltage of the on-chip system in the initialization scenario.
  13. 如权利要求11或12所述的方法,其特征在于,所述第一PWM数字信号和所述第二PWM数字信号均为低电平时,所述输出电压信号为所述片上系统提供的输入电压为所述片上系统在高性能场景下的工作电压;或者,所述第一占空比小于第一预设值、所述第二占空比小于第二预设值时,所述输出电压信号为所述片上系统提供的输入电压为所述片上系统在高性能场景下的工作电压。The method according to claim 11 or 12, wherein when the first PWM digital signal and the second PWM digital signal are both low, the output voltage signal is the input voltage provided by the on-chip system Is the operating voltage of the system-on-chip in a high-performance scenario; or, when the first duty cycle is less than a first preset value, and the second duty cycle is less than a second preset value, the output voltage signal The input voltage provided for the system-on-chip is the operating voltage of the system-on-chip in a high-performance scenario.
  14. 如权利要求11至13任一项所述的方法,其特征在于,所述调压系统根据所述第一PWM数字信号的第一占空比、所述第二PWM数字信号的第二占空比和电源芯片基准电压得到输出电压信号,具体包括:The method according to any one of claims 11 to 13, wherein the voltage regulation system is based on the first duty cycle of the first PWM digital signal and the second duty cycle of the second PWM digital signal. The output voltage signal is obtained by comparing with the reference voltage of the power chip, which specifically includes:
    将所述第一PWM数字信号转换为第一反馈信号;Converting the first PWM digital signal into a first feedback signal;
    将所述第二PWM数字信号转换为第二反馈信号;Converting the second PWM digital signal into a second feedback signal;
    对所述片上系统的所述输入电压进行分压后得到第三反馈信号;Obtaining a third feedback signal after dividing the input voltage of the on-chip system;
    根据所述第一反馈信号、所述第二反馈信号、所述第三反馈信号和所述电源芯片基准电压得到所述输出电压信号。The output voltage signal is obtained according to the first feedback signal, the second feedback signal, the third feedback signal, and the power chip reference voltage.
  15. 如权利要求11至14任一项所述的方法,其特征在于,所述输出电压信号用于为所述片上系统提供输入电压,具体包括:The method according to any one of claims 11 to 14, wherein the output voltage signal is used to provide an input voltage for the on-chip system, and specifically comprises:
    对所述输出电压信号进行滤波处理,以得到所述片上系统的所述输入电压。Filtering the output voltage signal is performed to obtain the input voltage of the on-chip system.
  16. 一种片上系统,其特征在于,包括:直流电源、第一电阻、第一开关管、第二开关管和第二电阻以及PWM控制器,所述直流电源与所述第一电阻的第一端耦合,所述第一电阻的第二端与所述第一开关管的第一端耦合,所述第一开关管的第二端与所述第二开关管的第一端、所述PWM控制器以及所述片上系统之外的电源芯片耦合,所述第二开关管的第二端与所述第二电阻的第一端耦合,所述第二电阻的第二端与接地端耦合,所述电源芯片用于根据所述片上系统的输出信号调整输出电压信号,所述输出电压信号用于为所述片上系统提供工作电压;A system on a chip, characterized by comprising: a DC power supply, a first resistor, a first switch tube, a second switch tube, and a second resistor, and a PWM controller, the DC power supply and the first end of the first resistor Coupling, the second end of the first resistor is coupled to the first end of the first switch tube, the second end of the first switch tube is coupled to the first end of the second switch tube, the PWM control The second end of the second switch tube is coupled to the first end of the second resistor, and the second end of the second resistor is coupled to the ground end. The power chip is used to adjust an output voltage signal according to the output signal of the system on chip, and the output voltage signal is used to provide a working voltage for the system on chip;
    其中,所述片上系统进行初始化时,所述第一开关管和所述第二开关管导通、所述PWM控制器为高阻态。Wherein, when the on-chip system is initialized, the first switching tube and the second switching tube are turned on, and the PWM controller is in a high impedance state.
  17. 如权利要求16所述的片上系统,其特征在于,所述片上系统正常工作时,所述第一开关管和所述第二开关管关断、所述PWM控制器输出PWM数字信号。16. The system on chip of claim 16, wherein when the system on chip works normally, the first switch tube and the second switch tube are turned off, and the PWM controller outputs a PWM digital signal.
PCT/CN2020/075422 2020-02-14 2020-02-14 Voltage adjusting system, system on chip, and voltage adjusting method WO2021159527A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080096610.XA CN115136480A (en) 2020-02-14 2020-02-14 Voltage regulation system, system on chip and voltage regulation method
PCT/CN2020/075422 WO2021159527A1 (en) 2020-02-14 2020-02-14 Voltage adjusting system, system on chip, and voltage adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/075422 WO2021159527A1 (en) 2020-02-14 2020-02-14 Voltage adjusting system, system on chip, and voltage adjusting method

Publications (1)

Publication Number Publication Date
WO2021159527A1 true WO2021159527A1 (en) 2021-08-19

Family

ID=77292966

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075422 WO2021159527A1 (en) 2020-02-14 2020-02-14 Voltage adjusting system, system on chip, and voltage adjusting method

Country Status (2)

Country Link
CN (1) CN115136480A (en)
WO (1) WO2021159527A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296501A (en) * 2021-12-23 2022-04-08 深圳市元征科技股份有限公司 Power supply voltage adjusting system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120314747A1 (en) * 2011-06-10 2012-12-13 Didier Boivin Powerline Control Interface in Photovoltaic Environment for Frequency and Amplitude Modulation Transmitter
CN102931842A (en) * 2012-10-12 2013-02-13 华为技术有限公司 Chip dynamic voltage regulating circuit and terminal equipment
CN104300849A (en) * 2009-08-10 2015-01-21 艾默生环境优化技术有限公司 System and method for controlling motor, and system and method used in motor control
CN209447239U (en) * 2019-02-02 2019-09-27 江门市新会区博上科技有限公司 A kind of blue-tooth intelligence lock circuit, application system, lockset and its door body

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104300849A (en) * 2009-08-10 2015-01-21 艾默生环境优化技术有限公司 System and method for controlling motor, and system and method used in motor control
US20120314747A1 (en) * 2011-06-10 2012-12-13 Didier Boivin Powerline Control Interface in Photovoltaic Environment for Frequency and Amplitude Modulation Transmitter
CN102931842A (en) * 2012-10-12 2013-02-13 华为技术有限公司 Chip dynamic voltage regulating circuit and terminal equipment
CN209447239U (en) * 2019-02-02 2019-09-27 江门市新会区博上科技有限公司 A kind of blue-tooth intelligence lock circuit, application system, lockset and its door body

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296501A (en) * 2021-12-23 2022-04-08 深圳市元征科技股份有限公司 Power supply voltage adjusting system

Also Published As

Publication number Publication date
CN115136480A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
US9030184B2 (en) DC-DC converter and voltage conversion method thereof
CN106200742B (en) The nonlinear Control of pressure regulator
CN108512422B (en) Fixed on-time controlled step-down DC-DC converter
CN106026653B (en) Buck-boost converter with slope compensation and controller and control method thereof
US20140103993A1 (en) Chip dynamic voltage regulator circuit and terminal device
CN106855731B (en) Dual-mode voltage stabilizer circuit
CN103051220B (en) Switching Power Supply and controller thereof
CN103019285A (en) Power supply with dynamic voltage drop control and method thereof
CN103326555A (en) Power supply circuit with pfc function, and automatic gain control circuit therefor and control method thereof
CN203645873U (en) Load regulation compensating circuit based on quasi-resonance LED constant current switch power supply
CN106921293A (en) Based on it is numerically controlled can real time linear regulation output DC DC translation circuits
CN105356742A (en) High-efficiency charge pump
WO2021159527A1 (en) Voltage adjusting system, system on chip, and voltage adjusting method
CN203504410U (en) DC-DC converter
WO2017133356A1 (en) Voltage-mode drive circuit
CN212850269U (en) High-power low-noise digital adjustable voltage source
US10439597B1 (en) Duty locked loop circuit
EP2930834A2 (en) Method and apparatus for determining resistance values of dynamic voltage-adjusting circuit
CN107834850A (en) DC linear voltage-stabilized power supply circuit
CN218183240U (en) Variable output voltage control device based on duty ratio modulation
CN101349890B (en) Method for inhibiting feed back control circuit instability and circuit thereof
CN111277134A (en) Voltage conversion circuit and display device
US8847537B2 (en) Motor driving device for adjusting motor speed and setting the lowest rotating speed and the driving method thereof
US20140369075A1 (en) System and method for controlling dc - dc converter
CN104253955A (en) Low-power-consumption constant current and stable voltage control circuit and television

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20918633

Country of ref document: EP

Kind code of ref document: A1