CN110413036B - Devices and electronic equipment for adjusting voltage - Google Patents

Devices and electronic equipment for adjusting voltage Download PDF

Info

Publication number
CN110413036B
CN110413036B CN201810393135.7A CN201810393135A CN110413036B CN 110413036 B CN110413036 B CN 110413036B CN 201810393135 A CN201810393135 A CN 201810393135A CN 110413036 B CN110413036 B CN 110413036B
Authority
CN
China
Prior art keywords
voltage
signal
chip
indication signal
feedback module
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810393135.7A
Other languages
Chinese (zh)
Other versions
CN110413036A (en
Inventor
董歧
潘厚源
许享恩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810393135.7A priority Critical patent/CN110413036B/en
Publication of CN110413036A publication Critical patent/CN110413036A/en
Application granted granted Critical
Publication of CN110413036B publication Critical patent/CN110413036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current 
    • G05F1/625Regulating voltage or current  wherein it is irrelevant whether the variable actually regulated is AC or DC

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Voltage And Current In General (AREA)

Abstract

本发明实施例涉及电源管理技术领域,公开了一种调整电压的装置及电子设备,该装置包括:电源模块、第一芯片以及第二芯片;电源模块包括信号反馈端和电压输出端,第一芯片包括第一电压输入端和第一信号输出端,第二芯片包括第二电压输入端、第一信号输入端以及第二信号输出端;电压输出端连接第一电压输入端以及第二电压输入端;第一信号输出端连接第一信号输入端;第二信号输出端连接信号反馈端;第二芯片接收第一芯片发送的指示第一电压的第一指示信号;计算第一电压和第二电压的加权和,得到第三电压,并向信号反馈输出指示第三电压的第二指示信号;电源模块根据第三电压调整输出的电压;可以在减少成本开销的前提下,降低芯片的功耗。

Figure 201810393135

The embodiment of the present invention relates to the technical field of power management, and discloses a device for adjusting voltage and an electronic device. The device includes: a power module, a first chip and a second chip; the power module includes a signal feedback end and a voltage output end, the first The chip includes a first voltage input end and a first signal output end, the second chip includes a second voltage input end, a first signal input end and a second signal output end; the voltage output end is connected to the first voltage input end and the second voltage input end terminal; the first signal output terminal is connected to the first signal input terminal; the second signal output terminal is connected to the signal feedback terminal; the second chip receives the first indication signal indicating the first voltage sent by the first chip; calculates the first voltage and the second The weighted sum of the voltages is used to obtain the third voltage, and the second indication signal indicating the third voltage is output to the signal feedback; the power module adjusts the output voltage according to the third voltage; the power consumption of the chip can be reduced on the premise of reducing the cost and overhead. .

Figure 201810393135

Description

调整电压的装置及电子设备Devices and electronic equipment for adjusting voltage

技术领域technical field

本发明涉及电源管理技术领域,尤其涉及一种调整电压的装置及电子设备。The present invention relates to the technical field of power management, and in particular, to a voltage adjusting device and electronic equipment.

背景技术Background technique

自适应电压调节(Adaptive Voltage Scaling,AVS)是一种有效的电源管理技术。AVS通过监测硬件按照一定的策略调节频率,并基于负载的工作情况自适应地调整电压,可使负载进一步降低30-70%的功耗。AVS技术的一个很大的特点是它可以在不影响系统功能和各项指标的同时减小系统功耗。Adaptive Voltage Scaling (AVS) is an effective power management technology. AVS adjusts the frequency according to a certain strategy by monitoring the hardware, and adjusts the voltage adaptively based on the working conditions of the load, which can further reduce the power consumption of the load by 30-70%. A great feature of AVS technology is that it can reduce system power consumption without affecting system functions and various indicators.

当前,芯片上使用的AVS功能基本上采用数字接口的形式,即通过数字接口动态地调整电源的电压。目前AVS功能主要在大功率芯片上使用,每个芯片配置一个AVS电源。而在实际使用中,当一台设备有多个小功率芯片需要使用AVS功能时,就需要配置多个AVS电源,即每个小功率芯片配置一个AVS电源。这样就需要增加印制电路板(PrintedCircuitBoard,PCB)的面积,以便于布置这些AVS电源,设备成本增加较多。Currently, the AVS function used on the chip basically takes the form of a digital interface, that is, the voltage of the power supply is dynamically adjusted through the digital interface. At present, the AVS function is mainly used on high-power chips, and each chip is configured with an AVS power supply. In actual use, when a device has multiple low-power chips that need to use the AVS function, multiple AVS power supplies need to be configured, that is, one AVS power supply is configured for each low-power chip. In this way, it is necessary to increase the area of a printed circuit board (Printed Circuit Board, PCB) to facilitate the arrangement of these AVS power supplies, and the equipment cost increases greatly.

上述技术方案的缺陷在于成本高。因此,需要研究低成本的降低芯片功耗的方案。The above-mentioned technical solution has the disadvantage of high cost. Therefore, it is necessary to study a low-cost solution for reducing chip power consumption.

发明内容SUMMARY OF THE INVENTION

本申请提供一种调整电压的装置及电子设备,可以在减少成本开销的前提下,降低芯片的功耗。The present application provides an apparatus and electronic device for adjusting voltage, which can reduce the power consumption of a chip on the premise of reducing cost.

第一方面本申请提供了一种调整电压的装置,包括:In a first aspect, the present application provides a device for adjusting voltage, including:

电源模块和多个芯片;Power module and multiple chips;

所述多个芯片包括第一芯片以及第二芯片;the plurality of chips includes a first chip and a second chip;

所述电源模块包括信号反馈端和电压输出端,所述第一芯片包括第一电压输入端和第一信号输出端,所述第二芯片包括第二电压输入端、第一信号输入端以及第二信号输出端;The power module includes a signal feedback end and a voltage output end, the first chip includes a first voltage input end and a first signal output end, and the second chip includes a second voltage input end, a first signal input end and a first signal output end. Two signal output terminals;

所述电压输出端连接所述第一电压输入端以及所述第二电压输入端;所述第一信号输出端连接所述第一信号输入端;所述第二信号输出端连接所述信号反馈端;The voltage output terminal is connected to the first voltage input terminal and the second voltage input terminal; the first signal output terminal is connected to the first signal input terminal; the second signal output terminal is connected to the signal feedback end;

所述第二芯片,用于从所述第一信号输入端接收来自所述第一芯片的第一指示信号,所述第一指示信号指示第一电压;计算所述第一电压和第二电压的加权和,得到第三电压,并从所述第二信号输出端向所述信号反馈端输出第二指示信号,所述第二指示信号指示所述第三电压;The second chip is configured to receive a first indication signal from the first chip from the first signal input terminal, where the first indication signal indicates a first voltage; calculate the first voltage and the second voltage The weighted sum of , obtains a third voltage, and outputs a second indication signal from the second signal output end to the signal feedback end, where the second indication signal indicates the third voltage;

所述电源模块,用于从所述信号反馈端接收所述第二指示信号,并根据所述第三电压调整从所述电压输出端输出的电压。The power module is configured to receive the second indication signal from the signal feedback terminal, and adjust the voltage output from the voltage output terminal according to the third voltage.

所述电源模块可以根据来自所述第二芯片的指示信号调节所述电压输出端输出的电压。所述第一芯片和所述第二芯片均可以获取与系统负载相关的信息,并根据这些信息计算当前的系统负载;然后,依据计算的系统负载确定所需的电压或所需调整的电压,并生成相应的信号向所述电源模块发送或者向其连接的下一级芯片发送。也就是说,所述第一芯片和所述第二芯片可以根据自己的电压需求指示所述电源模块调整所述电源模块的电压输出端输出的电压。AVS功能是指自适应电压调节功能,即自适应地调整电源模块的输出电压。所述电源模块为所述第一芯片和所述第二芯片提供的电压相同,即所述电压输出端向所述第一电压输入端和所述第二电压输入端输出的电压相同。所述电源模块可以综合所述第一芯片和所述第二芯片的电压需求调整所述电源模块的输出电压,进而满足这两个芯片的电压需求。可以理解,所述调整电压的装置至少包括两个芯片,所述第一芯片为所述第二芯片的上一级芯片,所述第一芯片和所述第二芯片通过级联的方式相连接。所述电源模块可以是一个独立的供电电源,即仅为多个级联的芯片进行供电,并不为调节电压的装置中的其他元件提供电能。The power module may adjust the voltage output by the voltage output terminal according to the indication signal from the second chip. Both the first chip and the second chip can obtain information related to the system load, and calculate the current system load according to the information; then, determine the required voltage or the voltage to be adjusted according to the calculated system load, And generate a corresponding signal to send to the power module or to the next-level chip connected to it. That is, the first chip and the second chip can instruct the power supply module to adjust the voltage output by the voltage output terminal of the power supply module according to their own voltage requirements. The AVS function refers to the adaptive voltage regulation function, that is, the output voltage of the power module is adaptively adjusted. The voltages provided by the power supply module to the first chip and the second chip are the same, that is, the voltage output from the voltage output terminal to the first voltage input terminal and the second voltage input terminal is the same. The power supply module can adjust the output voltage of the power supply module by integrating the voltage requirements of the first chip and the second chip, so as to meet the voltage requirements of the two chips. It can be understood that the device for adjusting voltage includes at least two chips, the first chip is an upper-level chip of the second chip, and the first chip and the second chip are connected in a cascade manner . The power supply module may be an independent power supply, that is, it only supplies power to a plurality of cascaded chips, and does not supply power to other components in the voltage regulating device.

本申请中,多个芯片共用一个电源模块,并采用级联的方式反馈这些芯片所需的电压,该电源模块综合这些芯片的电压需求调整输出电压来实现AVS功能;可以减少电源模块的数量,并降低设备成本。In this application, multiple chips share a power module, and the voltage required by these chips is fed back in a cascaded manner. The power module integrates the voltage requirements of these chips to adjust the output voltage to realize the AVS function; the number of power modules can be reduced, and reduce equipment costs.

在一个可选的实现方式中,所述多个芯片还包括:In an optional implementation manner, the plurality of chips further include:

第三芯片;the third chip;

所述第三芯片包括第三电压输入端和第三信号输出端,所述第一芯片还包括第二信号输入端;The third chip includes a third voltage input terminal and a third signal output terminal, and the first chip further includes a second signal input terminal;

所述电压输出端连接所述第三电压输入端,所述第三信号输出端连接所述第二信号输入端;the voltage output terminal is connected to the third voltage input terminal, and the third signal output terminal is connected to the second signal input terminal;

所述第三芯片,用于从所述第三信号输出端向所述第一芯片输出第三指示信号,所述第三指示信号指示第四电压;所述第一芯片计算所述第四电压和第五电压的加权和,得到所述第一电压,并从所述第一信号输出端向所述第一信号输入端输出所述第一指示信号。The third chip is configured to output a third indication signal from the third signal output end to the first chip, where the third indication signal indicates a fourth voltage; the first chip calculates the fourth voltage and the weighted sum of the fifth voltage to obtain the first voltage, and output the first indication signal from the first signal output end to the first signal input end.

所述调整电压的装置可以包括三个芯片,即所述第一芯片、所述第二芯片以及所述第三芯片;所述第一芯片为所述第二芯片的上一级芯片,所述第三芯片为所述第一芯片的上一级芯片。可以理解,所述调整电压的装置可以包括三个或三个以上芯片,所述第三芯片为第一级芯片,所述第二芯片为最后一级芯片,所述第一芯片为位于所述第三芯片和所述第二芯片之间的芯片。所述第三芯片和所述第二芯片之间可包含至少一个芯片。本申请中,不限定调整电压的装置包含的芯片的数量。所述第四电压为所述第三芯片所需的电压值或所需调整的电压值;所述第五电压为所述第一芯片所需的电压值或所需调整的电压值。可以理解,处于第一级芯片和最后一级芯片之间的任意一级芯片,可以计算其上一级芯片指示的电压值和其所需的电压值或所需调整的电压值的加权和,并通过一个指示信号向其下一级芯片发送。The device for adjusting voltage may include three chips, namely the first chip, the second chip and the third chip; the first chip is an upper-level chip of the second chip, the The third chip is an upper-level chip of the first chip. It can be understood that the device for adjusting voltage may include three or more chips, the third chip is a first-level chip, the second chip is a last-level chip, and the first chip is located in the A chip between the third chip and the second chip. At least one chip may be included between the third chip and the second chip. In this application, the number of chips included in the device for adjusting voltage is not limited. The fourth voltage is a voltage value required by the third chip or a voltage value that needs to be adjusted; the fifth voltage is a voltage value required by the first chip or a voltage value that needs to be adjusted. It can be understood that any one-level chip between the first-level chip and the last-level chip can calculate the weighted sum of the voltage value indicated by the upper-level chip and the required voltage value or the voltage value that needs to be adjusted, And send it to its next-level chip through an indication signal.

在一个可选的实现方式中,所述第三电压为所述多个芯片所需的电压值;In an optional implementation manner, the third voltage is a voltage value required by the plurality of chips;

所述电源模块,具体用于将所述电压输出端输出的电压调整为所述第三电压。The power module is specifically configured to adjust the voltage output by the voltage output terminal to the third voltage.

在该实现方式中,通过一个电源模块为多个芯片进行供电,并根据多个芯片所需的电压值调整其输出的电压;实现简单。In this implementation manner, a power supply module is used to supply power to multiple chips, and the output voltages of the multiple chips are adjusted according to the voltage values required by the multiple chips; the implementation is simple.

在一个可选的实现方式中,所述第一芯片包括第一反馈模块,所述第二芯片包括第二反馈模块;所述第一反馈模块的输出端连接所述第一信号输出端;所述第一信号输入端连接所述第二反馈模块的第一输入端,所述第二反馈模块的输出端连接所述第二信号输出端;In an optional implementation manner, the first chip includes a first feedback module, and the second chip includes a second feedback module; an output end of the first feedback module is connected to the first signal output end; the first signal input terminal is connected to the first input terminal of the second feedback module, and the output terminal of the second feedback module is connected to the second signal output terminal;

所述第一反馈模块,用于根据所述第一芯片的性能需求和环境参数确定所述第一电压;生成所述第一指示信号,并从所述第一反馈模块的输出端输出至所述第二芯片;The first feedback module is used to determine the first voltage according to the performance requirements of the first chip and environmental parameters; generate the first indication signal, and output it from the output end of the first feedback module to the the second chip;

所述第二反馈模块,用于根据所述第二芯片的性能需求和环境参数确定所述第二电压;通过所述第一信号输入端接收所述第一指示信号;计算所述第一电压和所述第二电压的加权和,得到所述第三电压;生成所述第二指示信号,并从所述第二反馈模块的输出端输出至所述电源模块的信号反馈端。The second feedback module is configured to determine the second voltage according to the performance requirements of the second chip and environmental parameters; receive the first indication signal through the first signal input terminal; calculate the first voltage and the weighted sum of the second voltage to obtain the third voltage; generating the second indication signal, and outputting the signal from the output end of the second feedback module to the signal feedback end of the power supply module.

性能需求可以是系统负载,即第一芯片或第二芯片的负载;也可以是芯片根据当前的系统负载预测的芯片在下一时间段需要的性能,即第一芯片或第二芯片在下一时间段需要的性能。环境参数可以包括芯片的温度、芯片内部的时钟频率等。The performance requirement can be the system load, that is, the load of the first chip or the second chip; it can also be the performance predicted by the chip in the next time period according to the current system load, that is, the first chip or the second chip in the next time period. required performance. The environmental parameters may include the temperature of the chip, the clock frequency inside the chip, and the like.

在该实现方式中,第一芯片和第二芯片均可以根据各自的性能需求和环境参数确定各自所需的电压,并进行反馈,以便满足各自的电压需求;利用一个电源可实现多个芯片的AVS功能,实现简单。In this implementation manner, both the first chip and the second chip can determine their respective required voltages according to their respective performance requirements and environmental parameters, and perform feedback to meet their respective voltage requirements; using one power supply can AVS function, easy to implement.

在一个可选的实现方式中,所述装置还包括:第一硬件性能监控器和第二硬件性能监控器;所述第一硬件性能监控器的输出端连接所述第一反馈模块的输入端;所述第二硬件性能监控器的输出端连接所述第二反馈模块的第二输入端;In an optional implementation manner, the apparatus further includes: a first hardware performance monitor and a second hardware performance monitor; an output end of the first hardware performance monitor is connected to an input end of the first feedback module ; The output end of the second hardware performance monitor is connected to the second input end of the second feedback module;

所述第一硬件性能监控器,用于监测所述第一芯片的性能需求和环境参数,并输出至所述第一反馈模块的输入端;the first hardware performance monitor, configured to monitor the performance requirements and environmental parameters of the first chip, and output to the input end of the first feedback module;

所述第二硬件性能监控器,用于监测所述第二芯片的性能需求和环境参数,并输出至所述第二反馈模块的第二输入端。The second hardware performance monitor is used for monitoring the performance requirements and environmental parameters of the second chip, and outputs the output to the second input terminal of the second feedback module.

所述第一硬件性能监控器与所述第一芯片集成在一起,且所述第二硬件性能监控器与所述第二芯片集成在一起。或者,所述第一硬件性能监控器与所述第一反馈模块集成在一起,且所述第二硬件性能监控器与所述第二反馈模块集成在一起。或者,所述第一硬件性能监控器与所述第一芯片集成在一起,且所述第二硬件性能监控器与所述第二反馈模块集成在一起。所述硬件性能监控器可以是硬件性能监控电路。所述硬件性能监控器,用于AVS闭环电压控制。所述第一反馈模块可以根据所述第一硬件性能监控器提供的所述第一芯片的性能信息,决定最佳的供电电压,以实现所述第一芯片所需达到的性能水平;所述第二反馈模块可以根据所述第二硬件性能监控器提供的所述第二芯片的性能信息,决定最佳的供电电压,以实现所述第二芯片所需达到的性能水平。The first hardware performance monitor is integrated with the first chip, and the second hardware performance monitor is integrated with the second chip. Alternatively, the first hardware performance monitor is integrated with the first feedback module, and the second hardware performance monitor is integrated with the second feedback module. Alternatively, the first hardware performance monitor is integrated with the first chip, and the second hardware performance monitor is integrated with the second feedback module. The hardware performance monitor may be a hardware performance monitoring circuit. The hardware performance monitor is used for AVS closed-loop voltage control. The first feedback module may determine an optimal power supply voltage according to the performance information of the first chip provided by the first hardware performance monitor, so as to achieve the performance level required by the first chip; the The second feedback module may determine an optimal power supply voltage according to the performance information of the second chip provided by the second hardware performance monitor, so as to achieve the performance level required by the second chip.

在该实现方式中,通过硬件性能监控器监测芯片的性能需求和环境参数,以便于反馈模块确定芯片所需的电压,可以快速、准确地检测出芯片的性能需求和环境参数。In this implementation, the performance requirements and environmental parameters of the chip are monitored by the hardware performance monitor, so that the feedback module can determine the voltage required by the chip, and the performance requirements and environmental parameters of the chip can be quickly and accurately detected.

在一个可选的实现方式中,所述第三电压为所述多个芯片所需调整的电压值;In an optional implementation manner, the third voltage is a voltage value that needs to be adjusted by the plurality of chips;

所述电源模块,具体用于根据所述第三电压增加或降低所述电压输出端输出的电压。The power module is specifically configured to increase or decrease the voltage output by the voltage output terminal according to the third voltage.

在该实现方式中,通过一个电源模块为多个芯片进行供电,并根据多个芯片所需调整的电压值调整其输出的电压;实现简单。In this implementation manner, a power supply module is used to supply power to multiple chips, and the output voltages of the multiple chips are adjusted according to the voltage values that need to be adjusted; the implementation is simple.

在一个可选的实现方式中,所述第一芯片包括第三反馈模块,所述第二芯片包括第四反馈模块;所述第三反馈模块的输出端连接所述第一信号输出端;所述第一信号输入端连接所述第四反馈模块的第一输入端,所述第四反馈模块的输出端连接所述第二信号输出端;In an optional implementation manner, the first chip includes a third feedback module, and the second chip includes a fourth feedback module; an output end of the third feedback module is connected to the first signal output end; the first signal input terminal is connected to the first input terminal of the fourth feedback module, and the output terminal of the fourth feedback module is connected to the second signal output terminal;

所述第三反馈模块,用于计算所述电源模块的输出电压和第一预置电压的差值,得到所述第一电压;生成所述第一指示信号,并通过所述第一信号输出端输出至所述第二芯片;所述第一预置电压为所述第一芯片预置的工作电压;The third feedback module is used for calculating the difference between the output voltage of the power module and the first preset voltage to obtain the first voltage; generating the first indication signal and outputting the first signal output to the second chip; the first preset voltage is the preset working voltage of the first chip;

所述第四反馈模块,用于计算所述电源模块的输出电压和第二预置电压的差值,得到所述第二电压;通过所述第一输入端接收所述第一指示信号;计算所述第一电压和所述第二电压的加权和,得到所述第三电压;生成所述第二指示信号,并通过所述第二信号输出端输出至所述电源模块;所述第二预置电压为所述第二芯片预置的工作电压。The fourth feedback module is used to calculate the difference between the output voltage of the power module and the second preset voltage to obtain the second voltage; receive the first indication signal through the first input terminal; calculate the weighted sum of the first voltage and the second voltage to obtain the third voltage; the second indication signal is generated and output to the power module through the second signal output terminal; the second The preset voltage is a preset working voltage of the second chip.

在该实现方式中,第一芯片和第二芯片均反馈各自所需调节的电压,以便电源提供的电压满足各个芯片预置的工作电压,实现简单。In this implementation manner, both the first chip and the second chip feed back their respective voltages that need to be adjusted, so that the voltage provided by the power supply meets the preset working voltage of each chip, and the implementation is simple.

在一个可选的实现方式中,所述第三反馈模块的输入端连接所述第一电压输入端;所述第四反馈模块的第二输入端连接所述第二电压输入端;In an optional implementation manner, the input terminal of the third feedback module is connected to the first voltage input terminal; the second input terminal of the fourth feedback module is connected to the second voltage input terminal;

所述第三反馈模块,还用于检测所述电源模块的输出电压;the third feedback module is further configured to detect the output voltage of the power module;

所述第四反馈模块,还用于检测所述电源模块的输出电压。The fourth feedback module is further configured to detect the output voltage of the power module.

所述第三反馈模块以及所述第四反馈模块均包含电压检测单元,电压检测单元可检测电源的输出电压。具体的,所述第三反馈模块以及所述第四反馈模块各自包含的电压检测单元或电压检测电路用于检测所述电源的输出电压。Both the third feedback module and the fourth feedback module include a voltage detection unit, and the voltage detection unit can detect the output voltage of the power supply. Specifically, the voltage detection unit or voltage detection circuit included in the third feedback module and the fourth feedback module is used to detect the output voltage of the power supply.

在该实现方式中,第三反馈模块和第四反馈模块均可以检测电压的输出电压,进而反馈需要调节的电压。In this implementation manner, both the third feedback module and the fourth feedback module can detect the output voltage of the voltage, and then feed back the voltage to be adjusted.

在一个可选的实现方式中,所述第一电压为所述第一芯片所需的电压值;所述第二电压为所述第二芯片所需的电压值;In an optional implementation manner, the first voltage is a voltage value required by the first chip; the second voltage is a voltage value required by the second chip;

所述电源模块,具体用于将所述电压输出端输出的电压调整为所述第三电压。The power module is specifically configured to adjust the voltage output by the voltage output terminal to the third voltage.

可选的,所述第一芯片所需的电压值为所述第一芯片所需的最低工作电压;所述第二芯片所需的电压值为所述第二芯片所需的最低工作电压。Optionally, the voltage value required by the first chip is the minimum operating voltage required by the first chip; the voltage value required by the second chip is the lowest operating voltage required by the second chip.

在该实现方式中,所述第一芯片和第二芯片均确定各自所需的最低工作电压,可以减少功率消耗。In this implementation manner, both the first chip and the second chip determine their respective minimum operating voltages, which can reduce power consumption.

在一个可选的实现方式中,所述第一电压为所述第一芯片所需调整的电压值;所述第二电压为所述第二芯片所需调整的电压值;In an optional implementation manner, the first voltage is a voltage value that needs to be adjusted by the first chip; the second voltage is a voltage value that needs to be adjusted by the second chip;

所述电源模块,具体用于将所述电压输出端输出的电压增加或降低所述第三电压。The power module is specifically configured to increase or decrease the third voltage from the voltage output by the voltage output terminal.

在该实现方式中,所述第一芯片和第二芯片均确定各自所需调整的电压,可以快速调节电源模块输出的电压。In this implementation manner, both the first chip and the second chip determine respective voltages to be adjusted, so that the voltage output by the power module can be quickly adjusted.

在一个可选的实现方式中,所述第一指示信号和所述第二指示信号均为模拟信号;所述第一指示信号的振幅与所述第一电压正相关;所述第二指示信号的振幅与所述第三电压正相关;In an optional implementation manner, the first indication signal and the second indication signal are both analog signals; the amplitude of the first indication signal is positively correlated with the first voltage; the second indication signal The amplitude of is positively correlated with the third voltage;

或者,所述第一指示信号和所述第二指示信号均为数字信号,所述第一指示信号中包括所述第一电压,所述第二指示信号中包括所述第三电压。。Alternatively, both the first indication signal and the second indication signal are digital signals, the first indication signal includes the first voltage, and the second indication signal includes the third voltage. .

可选的,所述第一信号输出端通过系统总线与所述第一信号输入端相连接;所述第一芯片通过系统总线向所述第二芯片发送所述第一指示信号。Optionally, the first signal output terminal is connected to the first signal input terminal through a system bus; the first chip sends the first indication signal to the second chip through a system bus.

在该实现方式中,通过模拟信号进行反馈,并用模拟信号的高低指示所需电压的大小,实现简单;通过数字信号进行反馈,可以更准确地调节电源模块输出的电压,精度高。In this implementation, the analog signal is used for feedback, and the level of the analog signal is used to indicate the magnitude of the required voltage, which is simple to implement; the digital signal is used for feedback, and the output voltage of the power module can be adjusted more accurately, with high precision.

第二方面,本申请提供了一种电子设备,该电子设备包括上述第一方面或上述第一方面的任意实现方式中的装置。In a second aspect, the present application provides an electronic device, where the electronic device includes the above-mentioned first aspect or the apparatus in any implementation manner of the above-mentioned first aspect.

本申请中,电子设备通过一个电源为多个芯片进行供电,来实现AVS功能,可以减少电源的数量,并降低设备成本。In the present application, the electronic device uses one power supply to supply power to multiple chips to implement the AVS function, which can reduce the number of power supplies and reduce the cost of the device.

第三方面,本申请提供了一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被第二芯片执行时所述第二芯片执行上述第一方面中计算第一电压和第二电压的加权和的操作。In a third aspect, the present application provides a computer-readable storage medium storing a computer program, the computer program including program instructions, the program instructions when executed by the second chip, the second chip The operation of calculating the weighted sum of the first voltage and the second voltage in the above-described first aspect is performed.

附图说明Description of drawings

为了更清楚地说明本申请中的技术方案,下面将对本申请或背景技术中所需要使用的附图进行说明。In order to illustrate the technical solutions in the present application more clearly, the accompanying drawings required in the present application or the background technology will be described below.

图1为本申请实施例提供的一种电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;

图2-6为本申请实施例提供的调整电压的装置的示意图。2-6 are schematic diagrams of a voltage adjustment device provided by an embodiment of the present application.

具体实施方式Detailed ways

在现有的技术方案中,若一个芯片需要实现AVS功能,则该芯片需要拥有一个独立的电源模块进行供电。也就是说,若多个芯片需要使用AVS功能,则每个芯片都需要一个独立的电源模块进行供电。这种方式需要较多数量的电源模块,成本较高。另外,数量较多的电源会增加PCB板的面积。因此,需要研究低成本的降低芯片功耗的方案。In the existing technical solution, if a chip needs to implement the AVS function, the chip needs to have an independent power supply module for power supply. That is to say, if multiple chips need to use the AVS function, each chip needs an independent power module for power supply. This method requires a larger number of power modules, and the cost is higher. In addition, a larger number of power supplies will increase the area of the PCB board. Therefore, it is necessary to study a low-cost solution for reducing chip power consumption.

图1是本发明实施例提供的一种电子设备的结构示意图。如图1所示,电子设备100包括:芯片组131以及为芯片组131进行供电的电源模块132。芯片组131中包括多个芯片,所述多个芯片以级联方式连接。图1中以所述芯片组131包括四个芯片131-1,131-2,131-3和131-4;芯片131-1,131-2,131-3和131-4依次级联为例。具体实现中,芯片组131中可以仅包括两个芯片,也可以包括三个,或者更多个芯片。电源模块132为芯片组131包括的多个级联的芯片进行供电。芯片组131包括的多个级联的芯片可以是相互独立的芯片,即在功能上不关联;也可以是相互关联的芯片,即多个芯片配合实现一些功能。电源模块132和芯片组131可以布放在所述电子设备100的一块PCB板上。FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 1 , the electronic device 100 includes a chipset 131 and a power module 132 for supplying power to the chipset 131 . The chip set 131 includes a plurality of chips, and the plurality of chips are connected in a cascade manner. In FIG. 1, the chip set 131 includes four chips 131-1, 131-2, 131-3 and 131-4; the chips 131-1, 131-2, 131-3 and 131-4 are cascaded in sequence as an example . In a specific implementation, the chipset 131 may include only two chips, or may include three or more chips. The power module 132 supplies power to a plurality of cascaded chips included in the chipset 131 . The multiple cascaded chips included in the chipset 131 may be independent chips, that is, not related in function; or may be interrelated chips, that is, multiple chips cooperate to implement some functions. The power module 132 and the chipset 131 may be arranged on a PCB of the electronic device 100 .

电源模块132可以根据芯片组132包含的多个芯片的整体电压需求相应地调整其向芯片组132输出的电压。The power module 132 can adjust the voltage output to the chipset 132 accordingly according to the overall voltage requirements of the plurality of chips included in the chipset 132 .

所述电子设备100还可以包括处理器,存储器,通信接口,外围系统等。其中所述电源模块132和所述芯片组131可以构成调整电压的装置,即图1中的电子设备包含图2中的调整电压的装置。The electronic device 100 may also include a processor, a memory, a communication interface, a peripheral system, and the like. The power module 132 and the chipset 131 may constitute a device for adjusting voltage, that is, the electronic device in FIG. 1 includes the device for adjusting voltage in FIG. 2 .

应当理解,电子设备100仅为本发明实施例提供的一个例子,并且,电子设备100可具有更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。It should be understood that the electronic device 100 is only an example provided by the embodiments of the present invention, and the electronic device 100 may have more or less components, may combine two or more components, or may have different configurations of components for implementation .

图2示出了本申请实施例提供的调整电压的装置的示意图。如图2所示,本实施例中所描述调整电压的装置,包括:电源模块10和多个芯片200;所述电源模块10包括自适应电压调节AVS功能;FIG. 2 shows a schematic diagram of an apparatus for adjusting voltage provided by an embodiment of the present application. As shown in FIG. 2, the device for adjusting voltage described in this embodiment includes: a power supply module 10 and a plurality of chips 200; the power supply module 10 includes an adaptive voltage adjustment AVS function;

所述多个芯片200包括第一芯片20以及第二芯片30;The plurality of chips 200 include a first chip 20 and a second chip 30;

上述电源模块10包括信号反馈端101和电压输出端102,上述第一芯片20包括第一电压输入端201和第一信号输出端202,上述第二芯片30包括第二电压输入端301、第一信号输入端302以及第二信号输出端303;The above-mentioned power module 10 includes a signal feedback terminal 101 and a voltage output terminal 102, the above-mentioned first chip 20 includes a first voltage input terminal 201 and a first signal output terminal 202, and the above-mentioned second chip 30 includes a second voltage input terminal 301, a first a signal input end 302 and a second signal output end 303;

上述电压输出端102连接上述第一电压输入端201以及上述第二电压输入端301;上述第一信号输出端202连接上述第一信号输入端302;上述第二信号输出端303连接上述信号反馈端101。电源模块10可根据信号反馈端101反馈的信号相应地调整电压输出端102输出的电压。第一信号输出端202与第一信号输入端302通过相应的管脚连接或者通过总线相连。所述第一指示信号可以是模块信号,也可以是数字信号。The voltage output end 102 is connected to the first voltage input end 201 and the second voltage input end 301; the first signal output end 202 is connected to the first signal input end 302; the second signal output end 303 is connected to the signal feedback end 101. The power module 10 can correspondingly adjust the voltage output by the voltage output terminal 102 according to the signal fed back by the signal feedback terminal 101 . The first signal output terminal 202 is connected to the first signal input terminal 302 through corresponding pins or through a bus. The first indication signal may be a module signal or a digital signal.

如图2所示,本申请中的调整电压的装置可实现如下电压调节操作:As shown in FIG. 2 , the device for adjusting voltage in the present application can realize the following voltage adjustment operations:

2001、第二芯片30,用于从所述第一信号输出端202接收来自所述第一芯片20的第一指示信号,所述第一指示信号指示第一电压。2001. The second chip 30 is configured to receive, from the first signal output end 202, a first indication signal from the first chip 20, where the first indication signal indicates a first voltage.

所述第一电压为所述第一芯片20所需的电压。The first voltage is the voltage required by the first chip 20 .

2002、第二芯片30计算所述第一电压和第二电压的加权和,得到第三电压,并从所述第二信号输出端303向所述信号反馈端101输出第二指示信号,所述第二指示信号指示所述第三电压。2002. The second chip 30 calculates the weighted sum of the first voltage and the second voltage to obtain a third voltage, and outputs a second indication signal from the second signal output terminal 303 to the signal feedback terminal 101, the The second indication signal indicates the third voltage.

所述第二电压为所述第二芯片30所需的电压。The second voltage is the voltage required by the second chip 30 .

2003、电源模块10从所述信号反馈端101接收所述第二指示信号,并根据所述第三电压调整从所述电压输出端102输出的电压。2003. The power module 10 receives the second indication signal from the signal feedback terminal 101, and adjusts the voltage output from the voltage output terminal 102 according to the third voltage.

可选的,所述第一指示信号和所述第二指示信号均为模拟信号。第一芯片20和第二芯片30之间通过相应的管脚连接,即第一信号输出端202的管脚和第一信号输入端302的管脚相连,第一芯片20通过第一信号输出端202向第二芯片30传输所述第一指示信号。第二芯片20和电源模块10之间通过相应的管脚连接,即第二信号输出端303的管脚和信号反馈端101的管脚相连,第二芯片30通过第二信号输出端303向电源模块10反馈所述第二指示信号。Optionally, both the first indication signal and the second indication signal are analog signals. The first chip 20 and the second chip 30 are connected through corresponding pins, that is, the pins of the first signal output terminal 202 are connected to the pins of the first signal input terminal 302, and the first chip 20 is connected through the first signal output terminal. 202 transmits the first indication signal to the second chip 30 . The second chip 20 and the power module 10 are connected through corresponding pins, that is, the pins of the second signal output terminal 303 are connected to the pins of the signal feedback terminal 101 , and the second chip 30 is connected to the power supply through the second signal output terminal 303 The module 10 feeds back the second indication signal.

可选的,所述第一指示信号和所述第二指示信号均为数字信号。第一芯片20的第一信号输出端202、第二芯片30的第二信号输出端303以及电源模块10的信号反馈端101均连接总线;第一芯片20通过总线向第二芯片30传输所述第一指示信号,即第一芯片20从第一信号输出端202将所述第一指示信号传输至总线,第二芯片30通过第一信号输入端302从总线获取所述第一指示信号;第二芯片30通过总线向电源模块10传输所述第二指示信号,即第二芯片30通过第二信号输出端303将所述第二指示信号传输至总线,电源模块10通过信号反馈端101从总线获取所述第二指示信号。Optionally, both the first indication signal and the second indication signal are digital signals. The first signal output terminal 202 of the first chip 20, the second signal output terminal 303 of the second chip 30 and the signal feedback terminal 101 of the power supply module 10 are all connected to the bus; the first chip 20 transmits the information to the second chip 30 through the bus The first indication signal, that is, the first chip 20 transmits the first indication signal to the bus from the first signal output terminal 202, and the second chip 30 obtains the first indication signal from the bus through the first signal input terminal 302; The two chips 30 transmit the second indication signal to the power module 10 through the bus, that is, the second chip 30 transmits the second indication signal to the bus through the second signal output terminal 303 , and the power module 10 transmits the signal from the bus through the signal feedback terminal 101 Obtain the second indication signal.

上述第一电压和上述第二电压对应的权重系数可以不同。The weighting coefficients corresponding to the first voltage and the second voltage may be different.

上述第二芯片30可以预置有上述第一电压和上述第二电压分别对应的权重系数,即第一芯片20所需电压对应的权重系数和第二芯片30所需电压对应的权重系数。上述第二芯片30预置的上述第一芯片20和上述第二芯片30所需电压分别对应的权重系数可以是固定值,也可以根据实际需求进行调整。举例来说,第一芯片20所需电压对应的权重系数为a,第二芯片30所需电压对应的权重系数为b,第一芯片20所需的第一电压为A,第二芯片30所需的第二电压为B,则该第二芯片30采用如下公式计算该第一电压A和该第二电压B的加权和:C=a×A+b×B。其中,C为计算得到的该第一电压A和该第二电压B的加权和,即第三电压;a,b为加权系数,且满足a+b=1。The second chip 30 may be preset with weight coefficients corresponding to the first voltage and the second voltage respectively, that is, the weight coefficient corresponding to the voltage required by the first chip 20 and the weight coefficient corresponding to the voltage required by the second chip 30 . The weight coefficients respectively corresponding to the voltages required by the first chip 20 and the second chip 30 preset by the second chip 30 may be fixed values, or may be adjusted according to actual requirements. For example, the weight coefficient corresponding to the voltage required by the first chip 20 is a, the weight coefficient corresponding to the voltage required by the second chip 30 is b, the first voltage required by the first chip 20 is A, and the voltage required by the second chip 30 is A. If the required second voltage is B, the second chip 30 uses the following formula to calculate the weighted sum of the first voltage A and the second voltage B: C=a×A+b×B. Wherein, C is the calculated weighted sum of the first voltage A and the second voltage B, that is, the third voltage; a, b are weighting coefficients, and satisfy a+b=1.

本申请中的调整电压的装置还可实现如下电压调节操作:The device for adjusting voltage in the present application can also realize the following voltage adjusting operations:

步骤一、第一芯片20通过第一信号输出端202向第二芯片30的第一信号输入端302输出第三指示信号,上述第三指示信号指示上述第一芯片20所需调整的第四电压。Step 1: The first chip 20 outputs a third indication signal to the first signal input end 302 of the second chip 30 through the first signal output end 202 , and the third indication signal indicates the fourth voltage to be adjusted by the first chip 20 .

步骤二、第二芯片30计算上述第四电压和第五电压的加权和,得到第六电压,并向电源模块10输出第四指示信号。该第四指示信号指示上述第六电压。Step 2: The second chip 30 calculates the weighted sum of the fourth voltage and the fifth voltage to obtain a sixth voltage, and outputs a fourth indication signal to the power module 10 . The fourth indication signal indicates the above-mentioned sixth voltage.

步骤三、电源模块10根据所述第六电压增加或降低电压输出端102输出的电压。上述第五电压为上述第二芯片30所需调整的电压。Step 3: The power module 10 increases or decreases the voltage output by the voltage output terminal 102 according to the sixth voltage. The above-mentioned fifth voltage is the voltage to be adjusted by the above-mentioned second chip 30 .

电源模块10根据所述第六电压增加或降低电压输出端102输出的电压,也就是说,电源模块10将所述电压输出端102原来输出的电压与第六电压之和作为所述电压输出端102调整后输出的电压。The power module 10 increases or decreases the voltage output by the voltage output terminal 102 according to the sixth voltage, that is, the power module 10 uses the sum of the voltage originally output by the voltage output terminal 102 and the sixth voltage as the voltage output terminal 102 Adjusted output voltage.

假定第六电压为-1V,则电源模块10将电压输出端102输出的电压降低1伏特(V)。假定第六电压为1V,则电源模块10将电压输出端102输出的电压提高1V。换言之,如果电压输出端102原来输出的电压为15V,假定第六电压为-1V,则电源模块10将电压输出端102原来输出的电压15V与第六电压-1V之和,即14V,作为所述电压输出端102调整后输出的电压。假定第六电压为1V,则电源模块10将电压输出端102原来输出的电压15V与第六电压1V之和,即16V,作为所述电压输出端102调整后输出的电压。Assuming that the sixth voltage is -1V, the power module 10 reduces the voltage output by the voltage output terminal 102 by 1 volt (V). Assuming that the sixth voltage is 1V, the power module 10 increases the voltage output by the voltage output terminal 102 by 1V. In other words, if the voltage originally output by the voltage output terminal 102 is 15V, and the sixth voltage is assumed to be -1V, the power module 10 takes the sum of the voltage originally output by the voltage output terminal 102 of 15V and the sixth voltage -1V, that is, 14V, as the The voltage outputted by the voltage output terminal 102 after adjustment. Assuming that the sixth voltage is 1V, the power module 10 uses the sum of the voltage 15V originally output by the voltage output terminal 102 and the sixth voltage 1V, ie 16V, as the adjusted output voltage of the voltage output terminal 102 .

上述第二芯片30可以预置有上述第四电压和上述第五电压分别对应的权重系数,即第一芯片20所需调整的电压对应的权重系数和第二芯片30所需调整的电压对应的权重系数。上述第二芯片30预置的上述第一芯片20所需调整的电压和上述第二芯片30所需调整的电压分别对应的权重系数可以是固定值,也可以根据实际需求进行调整。举例来说,第一芯片20所需调整的电压对应的权重系数为m,第二芯片30所需调整的电压对应的权重系数为n,第一芯片20所需调整的第四电压为C,第二芯片30所需调整的第五电压为D,则该第二芯片30采用如下公式计算该第四电压C和该第五电压D的加权和:E=m×C+n×D。其中,E为计算得到的该第四电压C和该第五电压D的加权和,即第三电压;m,n为加权系数,且满足m+n=1。The second chip 30 may be preset with weight coefficients corresponding to the fourth voltage and the fifth voltage respectively, that is, the weight coefficient corresponding to the voltage to be adjusted by the first chip 20 and the voltage corresponding to the voltage to be adjusted by the second chip 30 . weight factor. The weight coefficients corresponding to the voltage preset by the second chip 30 to be adjusted by the first chip 20 and the voltage to be adjusted by the second chip 30 may be fixed values, or may be adjusted according to actual needs. For example, the weight coefficient corresponding to the voltage to be adjusted by the first chip 20 is m, the weight coefficient corresponding to the voltage to be adjusted by the second chip 30 is n, and the fourth voltage to be adjusted by the first chip 20 is C, The fifth voltage to be adjusted by the second chip 30 is D, then the second chip 30 uses the following formula to calculate the weighted sum of the fourth voltage C and the fifth voltage D: E=m×C+n×D. Wherein, E is the calculated weighted sum of the fourth voltage C and the fifth voltage D, that is, the third voltage; m, n are weighting coefficients, and m+n=1 is satisfied.

本申请中,多个芯片共用一个电源,并采用级联的方式反馈这些芯片所需的电压,该电源综合这些芯片的电压需求调整输出电压来实现AVS功能;可以减少电源的数量,并降低设备成本。In this application, multiple chips share a power supply, and the voltage required by these chips is fed back in a cascaded manner. The power supply integrates the voltage requirements of these chips and adjusts the output voltage to realize the AVS function; it can reduce the number of power supplies and reduce equipment. cost.

图3示出了本申请实施例提供的调整电压的装置的另一示意图,是对图2所示装置的进一步细化。如图3所示,第一芯片20包括第一反馈模块40,第二芯片30包括第二反馈模块50;该第一反馈模块40的输出端401连接第一信号输出端202;第二芯片30的第一信号输入端302连接该第二反馈模块50的第一输入端501,该第二反馈模块50的输出端502连接上述第二信号输出端303。FIG. 3 shows another schematic diagram of the device for adjusting voltage provided by an embodiment of the present application, which is a further refinement of the device shown in FIG. 2 . As shown in FIG. 3 , the first chip 20 includes a first feedback module 40 , and the second chip 30 includes a second feedback module 50 ; the output end 401 of the first feedback module 40 is connected to the first signal output end 202 ; the second chip 30 The first signal input end 302 of the second feedback module 50 is connected to the first input end 501 of the second feedback module 50 , and the output end 502 of the second feedback module 50 is connected to the second signal output end 303 .

第一反馈模块40可以获取第一芯片20的性能需求和环境参数,并根据第一芯片20的性能需求和环境参数确定上述第一电压;生成上述第一指示信号,并从第一反馈模块40的输出端401输出至上述第二芯片30。第二反馈模块50可以获取第二芯片30的性能需求和环境参数,并根据第二芯片30的性能需求和环境参数确定上述第二电压;通过上述第一信号输入端302接收上述第一指示信号;计算上述第一电压和上述第二电压的加权和,得到上述第三电压;生成上述第二指示信号,并从第二反馈模块50的输出端502输出至上述电源模块10的信号反馈端101。The first feedback module 40 can obtain the performance requirements and environmental parameters of the first chip 20, and determine the above-mentioned first voltage according to the performance requirements and environmental parameters of the first chip 20; The output terminal 401 of the output terminal 401 is output to the above-mentioned second chip 30 . The second feedback module 50 can acquire the performance requirements and environmental parameters of the second chip 30, and determine the second voltage according to the performance requirements and environmental parameters of the second chip 30; and receive the first indication signal through the first signal input terminal 302 Calculate the weighted sum of above-mentioned first voltage and above-mentioned second voltage, obtain above-mentioned third voltage; .

在该实施例中,每个芯片通过包含的反馈模块确定其所需的电压,并生成相应的指示信号,实现简单。In this embodiment, each chip determines its required voltage through the included feedback module, and generates a corresponding indication signal, which is simple to implement.

图4示出了本申请实施例提供的调整电压的装置的又一示意图,是对图3所示装置的进一步细化。如图4所示,该装置还包括:第一硬件性能监控器60和第二硬件性能监控器70;第一硬件性能监控器60的输出端601连接第一反馈模块40的输入端402;第二硬件性能监控器70的输出端701连接上述第二反馈模块50的第二输入端503。FIG. 4 shows another schematic diagram of the device for adjusting voltage provided by an embodiment of the present application, which is a further refinement of the device shown in FIG. 3 . As shown in FIG. 4 , the apparatus further includes: a first hardware performance monitor 60 and a second hardware performance monitor 70; the output end 601 of the first hardware performance monitor 60 is connected to the input end 402 of the first feedback module 40; The output terminal 701 of the two hardware performance monitors 70 is connected to the second input terminal 503 of the above-mentioned second feedback module 50 .

第一硬件性能监控器60,用于监测第一芯片20的性能需求和环境参数,并输出至第一反馈模块40的输入端402,以便于第一反馈模块40确定上述第一电压;第二硬件性能监控器70,用于监测第二芯片30的性能需求和环境参数,并输出至第二反馈模块50的第二输入端503,以便于第二反馈模块50确定上述第二电压。The first hardware performance monitor 60 is used to monitor the performance requirements and environmental parameters of the first chip 20, and output to the input end 402 of the first feedback module 40, so that the first feedback module 40 can determine the above-mentioned first voltage; the second The hardware performance monitor 70 is used to monitor the performance requirements and environmental parameters of the second chip 30 and output to the second input terminal 503 of the second feedback module 50 so that the second feedback module 50 can determine the above-mentioned second voltage.

可选的,第一硬件性能监控器60与第一芯片20集成在一起,且第二硬件性能监控器70与第二芯片30集成在一起。可选的,第一硬件性能监控器60与第一反馈模块40集成在一起,且第二硬件性能监控器70与第二反馈模块50集成在一起。可选的,第一硬件性能监控器60与第一芯片20集成在一起,且第二硬件性能监控器70与第二反馈模块30集成在一起。Optionally, the first hardware performance monitor 60 is integrated with the first chip 20 , and the second hardware performance monitor 70 is integrated with the second chip 30 . Optionally, the first hardware performance monitor 60 is integrated with the first feedback module 40 , and the second hardware performance monitor 70 is integrated with the second feedback module 50 . Optionally, the first hardware performance monitor 60 is integrated with the first chip 20 , and the second hardware performance monitor 70 is integrated with the second feedback module 30 .

第一反馈模块40可以根据第一硬件性能监控器60提供的第一芯片20的性能信息,决定最佳的供电电压,以实现上述第一芯片20所需达到的性能水平。第二反馈模块50可以根据第二硬件性能监控器70提供的上述第二芯片30的性能信息,决定最佳的供电电压,以实现上述第二芯片30所需达到的性能水平。The first feedback module 40 may determine the optimal power supply voltage according to the performance information of the first chip 20 provided by the first hardware performance monitor 60 to achieve the performance level required by the first chip 20 described above. The second feedback module 50 may determine the optimal power supply voltage according to the performance information of the second chip 30 provided by the second hardware performance monitor 70 to achieve the performance level required by the second chip 30 .

在该实施例中,通过硬件性能监控器监测芯片的性能需求和环境参数,以便于反馈模块确定芯片所需的电压,可以快速、准确地检测出芯片的性能需求和环境参数。In this embodiment, the performance requirements and environmental parameters of the chip are monitored by the hardware performance monitor, so that the feedback module can determine the voltage required by the chip, and the performance requirements and environmental parameters of the chip can be quickly and accurately detected.

图5示出了本申请实施例提供的调整电压的装置的又一示意图,是对图2所示装置的进一步细化。如图5所示,第一芯片20包括第三反馈模块80,第二芯片30包括第四反馈模块90;第一电压输入端201连接第三反馈模块80的输入端801;第三反馈模块80的输出端802连接第一信号输出端202;第一信号输入端302连接第四反馈模块90的第一输入端901;第四反馈模块90的输出端902连接第二信号输出端303;第二电压输入端301连接第四反馈模块90的第二输入端903。FIG. 5 shows another schematic diagram of the device for adjusting voltage provided by the embodiment of the present application, which is a further refinement of the device shown in FIG. 2 . As shown in FIG. 5 , the first chip 20 includes a third feedback module 80 , and the second chip 30 includes a fourth feedback module 90 ; the first voltage input terminal 201 is connected to the input terminal 801 of the third feedback module 80 ; the third feedback module 80 The output terminal 802 of the signal is connected to the first signal output terminal 202; the first signal input terminal 302 is connected to the first input terminal 901 of the fourth feedback module 90; the output terminal 902 of the fourth feedback module 90 is connected to the second signal output terminal 303; The voltage input terminal 301 is connected to the second input terminal 903 of the fourth feedback module 90 .

可选的,第一芯片20和第二芯片30均内置检测输入电压的电路,即检测电源模块10的输出电压的电路,并将检测到的电压分别输出至第三反馈模块80和第四反馈模块90。Optionally, both the first chip 20 and the second chip 30 have a built-in circuit for detecting the input voltage, that is, a circuit for detecting the output voltage of the power supply module 10, and output the detected voltage to the third feedback module 80 and the fourth feedback module respectively. module 90.

可选的,第三反馈模块80可以检测第一芯片20的第一电压输入端201的电压。第四反馈模块90可以检测第二芯片30的第二电压输入端301的电压。具体的,第三反馈模块80和第四反馈模块90均内置检测输入电压的电路。由于第一电压输入端201和第二电压输入端301均连接电源模块10的电压输出端102。因此,第二芯片30的第二电压输入端301的电压和第一芯片20的第一电压输入端201的电压均为电源10的输出电压。也就是说,第三反馈模块80和第四反馈模块90均可以检测电源模块10的输出电压。第三反馈模块80可以获取第一预置电压,第四反馈模块90可以获取第二预置电压。Optionally, the third feedback module 80 may detect the voltage of the first voltage input terminal 201 of the first chip 20 . The fourth feedback module 90 can detect the voltage of the second voltage input terminal 301 of the second chip 30 . Specifically, both the third feedback module 80 and the fourth feedback module 90 have built-in circuits for detecting the input voltage. Since the first voltage input terminal 201 and the second voltage input terminal 301 are both connected to the voltage output terminal 102 of the power module 10 . Therefore, the voltage of the second voltage input terminal 301 of the second chip 30 and the voltage of the first voltage input terminal 201 of the first chip 20 are both the output voltage of the power supply 10 . That is, both the third feedback module 80 and the fourth feedback module 90 can detect the output voltage of the power module 10 . The third feedback module 80 can obtain the first preset voltage, and the fourth feedback module 90 can obtain the second preset voltage.

第三反馈模块80,用于计算电源模块10的输出电压和第一预置电压的差值,得到上述第四电压;生成上述第三指示信号,并输出通过第一信号输出端202至第二芯片30;上述第一预置电压为上述第一芯片20预置的工作电压。The third feedback module 80 is used to calculate the difference between the output voltage of the power module 10 and the first preset voltage to obtain the above-mentioned fourth voltage; to generate the above-mentioned third indication signal, and output it to the second through the first signal output terminal 202 The chip 30 ; the first preset voltage is the working voltage preset by the first chip 20 .

第四反馈模块90,用于计算电源模块10的输出电压和第二预置电压的差值,得到上述第五电压;通过第一输入端901接收上述第三指示信号;计算上述第四电压和上述第五电压的加权和,得到上述第六电压;生成上述第四指示信号,并通过第二信号输出端303输出至电源模块10;上述第二预置电压为上述第二芯片30预置的工作电压。The fourth feedback module 90 is used to calculate the difference between the output voltage of the power supply module 10 and the second preset voltage to obtain the above-mentioned fifth voltage; receive the above-mentioned third indication signal through the first input terminal 901; calculate the above-mentioned fourth voltage and The above-mentioned sixth voltage is obtained by the weighted sum of the above-mentioned fifth voltages; the above-mentioned fourth indication signal is generated and output to the power module 10 through the second signal output terminal 303 ; the above-mentioned second preset voltage is preset by the above-mentioned second chip 30 Operating Voltage.

如图5所示,该装置可实现如下电压调节操作:As shown in Figure 5, the device can achieve the following voltage regulation operations:

5001、第三反馈模块80计算电源模块10的输出电压和第一预置电压的差值,得到第四电压,生成指示该第四电压的第三指示信号,并输出至第二芯片30。5001 . The third feedback module 80 calculates the difference between the output voltage of the power supply module 10 and the first preset voltage to obtain a fourth voltage, generates a third indication signal indicating the fourth voltage, and outputs it to the second chip 30 .

5002、第四反馈模块90计算电源模块10的输出电压和第二预置电压的差值,得到上述第五电压;通过第二芯片30的第一信号输入端302接收上述第三指示信号;计算上述第四电压和上述第五电压的加权和,得到上述第六电压;生成指示该第六电压的第四指示信号,并输出至电源模块10。5002. The fourth feedback module 90 calculates the difference between the output voltage of the power supply module 10 and the second preset voltage to obtain the above-mentioned fifth voltage; receives the above-mentioned third indication signal through the first signal input terminal 302 of the second chip 30; calculates The above-mentioned sixth voltage is obtained by the weighted sum of the above-mentioned fourth voltage and the above-mentioned fifth voltage; a fourth indication signal indicating the sixth voltage is generated and output to the power module 10 .

5003、电源模块10将电压输出端102的输出电压增加或降低上述第六电压。5003. The power module 10 increases or decreases the above-mentioned sixth voltage of the output voltage of the voltage output terminal 102.

在该实施例中,第一芯片20在出厂时设定的最低可靠工作电压为上述第一预置电压;第二芯片30在出厂时设定的最低可靠工作电压为上述第二预置电压。In this embodiment, the minimum reliable working voltage set at the factory of the first chip 20 is the first preset voltage; the minimum reliable working voltage set at the factory of the second chip 30 is the second preset voltage.

本申请实施例提供的调整电压的装置中的多个芯片200可以包含两个或两个以上芯片。图6示出了本申请实施例提供的调整电压的装置的又一示意图。图6是在图2的基础上增加了与第一芯片20级联的第三芯片。如图6所示,多个芯片200还包括:第三芯片110;The plurality of chips 200 in the apparatus for adjusting voltage provided by the embodiments of the present application may include two or more chips. FIG. 6 shows another schematic diagram of the device for adjusting voltage provided by the embodiment of the present application. FIG. 6 is based on FIG. 2 with the addition of a third chip that is cascaded with the first chip 20 . As shown in FIG. 6 , the plurality of chips 200 further include: a third chip 110;

第三芯片110包括第三电压输入端111和第三信号输出端112,第一芯片20还包括第二信号输入端203;The third chip 110 includes a third voltage input end 111 and a third signal output end 112, and the first chip 20 further includes a second signal input end 203;

电压输出端102连接所述第三电压输入端111,第三信号输出端112连接第二信号输入端203;The voltage output terminal 102 is connected to the third voltage input terminal 111, and the third signal output terminal 112 is connected to the second signal input terminal 203;

第三芯片110,用于从第三信号输出端112向第一芯片20输出第三指示信号,所述第三指示信号指示第四电压;第一芯片20计算所述第四电压和第五电压的加权和,得到所述第一电压。The third chip 110 is configured to output a third indication signal from the third signal output terminal 112 to the first chip 20, where the third indication signal indicates a fourth voltage; the first chip 20 calculates the fourth voltage and the fifth voltage The weighted sum of , obtains the first voltage.

所述第四电压为第三芯片110所需的电压值,所述第五电压为第一芯片20所需的电压值。或者,所述第四电压为第三芯片110所需调整的电压值,所述第五电压为第一芯片20所需调整的电压值。The fourth voltage is a voltage value required by the third chip 110 , and the fifth voltage is a voltage value required by the first chip 20 . Alternatively, the fourth voltage is a voltage value that needs to be adjusted by the third chip 110 , and the fifth voltage is a voltage value that needs to be adjusted by the first chip 20 .

本发明实施例提供的调整电压的装置调整电压的方式与图2中的调整电压的装置调整电压的方式相同,这里不再详述。可以理解,无论多个芯片200包含多少个级联的芯片,均可以采用图2中的方式调整电源模块10输出的电压。The voltage adjustment method of the voltage adjustment device provided in the embodiment of the present invention is the same as the voltage adjustment method of the voltage adjustment device in FIG. 2 , which will not be described in detail here. It can be understood that no matter how many cascaded chips are included in the plurality of chips 200 , the voltage output by the power module 10 can be adjusted in the manner shown in FIG. 2 .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed by the present invention. Modifications or substitutions should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (16)

1. An apparatus for regulating voltage, comprising:
a power module and a plurality of chips;
the plurality of chips include a first chip and a second chip;
the power supply module comprises a signal feedback end and a voltage output end, the first chip comprises a first voltage input end and a first signal output end, and the second chip comprises a second voltage input end, a first signal input end and a second signal output end;
the voltage output end is connected with the first voltage input end and the second voltage input end; the first signal output end is connected with the first signal input end; the second signal output end is connected with the signal feedback end;
the second chip is used for receiving a first indication signal from the first chip from the first signal input end, and the first indication signal indicates a first voltage; calculating a weighted sum of the first voltage and the second voltage to obtain a third voltage, and outputting a second indication signal from the second signal output end to the signal feedback end, wherein the second indication signal indicates the third voltage;
and the power supply module is used for receiving the second indication signal from the signal feedback end and adjusting the voltage output from the voltage output end according to the third voltage.
2. The apparatus of claim 1, wherein the plurality of chips further comprises:
a third chip;
the third chip comprises a third voltage input end and a third signal output end, and the first chip further comprises a second signal input end;
the voltage output end is connected with the third voltage input end, and the third signal output end is connected with the second signal input end;
the third chip is configured to output a third indication signal from the third signal output terminal to the first chip, where the third indication signal indicates a fourth voltage; the first chip calculates a weighted sum of the fourth voltage and the fifth voltage to obtain the first voltage.
3. The apparatus of claim 1 or 2, wherein the third voltage is a voltage value required by the plurality of chips;
the power supply module is specifically configured to adjust the voltage output by the voltage output terminal to the third voltage.
4. The apparatus of claim 3, wherein the first chip comprises a first feedback module and the second chip comprises a second feedback module; the output end of the first feedback module is connected with the first signal output end; the first signal input end is connected with the first input end of the second feedback module, and the output end of the second feedback module is connected with the second signal output end;
the first feedback module is used for determining the first voltage according to the performance requirement and the environmental parameter of the first chip; generating the first indication signal and outputting the first indication signal to the second chip from the output end of the first feedback module;
the second feedback module is used for determining the second voltage according to the performance requirement and the environmental parameter of the second chip; receiving the first indication signal through the first signal input; calculating a weighted sum of the first voltage and the second voltage to obtain the third voltage; and generating the second indication signal, and outputting the second indication signal to a signal feedback end of the power supply module from an output end of the second feedback module.
5. The apparatus of claim 4, further comprising: a first hardware performance monitor and a second hardware performance monitor; the output end of the first hardware performance monitor is connected with the input end of the first feedback module; the output end of the second hardware performance monitor is connected with the second input end of the second feedback module;
the first hardware performance monitor is used for monitoring the performance requirement and the environmental parameter of the first chip and outputting the performance requirement and the environmental parameter to the input end of the first feedback module;
and the second hardware performance monitor is used for monitoring the performance requirement and the environmental parameter of the second chip and outputting the performance requirement and the environmental parameter to a second input end of the second feedback module.
6. The apparatus of claim 1 or 2, wherein the third voltage is a voltage value required to be adjusted by the plurality of chips;
the power supply module is specifically configured to increase or decrease the voltage output by the voltage output terminal according to the third voltage.
7. The apparatus of claim 6, wherein the first chip comprises a third feedback module and the second chip comprises a fourth feedback module; the output end of the third feedback module is connected with the first signal output end; the first signal input end is connected with the first input end of the fourth feedback module, and the output end of the fourth feedback module is connected with the second signal output end;
the third feedback module is used for calculating a difference value between the output voltage of the power supply module and a first preset voltage to obtain the first voltage; generating the first indication signal and outputting the first indication signal to the second chip through the first signal output end; the first preset voltage is a working voltage preset by the first chip;
the fourth feedback module is used for calculating a difference value between the output voltage of the power supply module and a second preset voltage to obtain the second voltage; receiving the first indication signal through the first input terminal; calculating a weighted sum of the first voltage and the second voltage to obtain the third voltage; generating the second indication signal and outputting the second indication signal to the power supply module through the second signal output end; the second preset voltage is a preset working voltage of the second chip.
8. The apparatus of claim 7, wherein an input of the third feedback module is connected to the first voltage input; a second input end of the fourth feedback module is connected with the second voltage input end;
the third feedback module is further used for detecting the output voltage of the power supply module;
the fourth feedback module is further configured to detect an output voltage of the power module.
9. The apparatus of claim 1 or 2, wherein the first indicator signal and the second indicator signal are both analog signals; the amplitude of the first indication signal is positively correlated with the first voltage; the amplitude of the second indication signal is positively correlated with the third voltage;
or, the first indication signal and the second indication signal are both digital signals, the first indication signal includes the first voltage, and the second indication signal includes the third voltage.
10. The apparatus of claim 3, wherein the first indicator signal and the second indicator signal are both analog signals; the amplitude of the first indication signal is positively correlated with the first voltage; the amplitude of the second indication signal is positively correlated with the third voltage;
or, the first indication signal and the second indication signal are both digital signals, the first indication signal includes the first voltage, and the second indication signal includes the third voltage.
11. The apparatus of claim 4, wherein the first indicator signal and the second indicator signal are both analog signals; the amplitude of the first indication signal is positively correlated with the first voltage; the amplitude of the second indication signal is positively correlated with the third voltage;
or, the first indication signal and the second indication signal are both digital signals, the first indication signal includes the first voltage, and the second indication signal includes the third voltage.
12. The apparatus of claim 5, wherein the first indicator signal and the second indicator signal are both analog signals; the amplitude of the first indication signal is positively correlated with the first voltage; the amplitude of the second indication signal is positively correlated with the third voltage;
or, the first indication signal and the second indication signal are both digital signals, the first indication signal includes the first voltage, and the second indication signal includes the third voltage.
13. The apparatus of claim 6, wherein the first indicator signal and the second indicator signal are both analog signals; the amplitude of the first indication signal is positively correlated with the first voltage; the amplitude of the second indication signal is positively correlated with the third voltage;
or, the first indication signal and the second indication signal are both digital signals, the first indication signal includes the first voltage, and the second indication signal includes the third voltage.
14. The apparatus of claim 7, wherein the first indicator signal and the second indicator signal are both analog signals; the amplitude of the first indication signal is positively correlated with the first voltage; the amplitude of the second indication signal is positively correlated with the third voltage;
or, the first indication signal and the second indication signal are both digital signals, the first indication signal includes the first voltage, and the second indication signal includes the third voltage.
15. The apparatus of claim 8, wherein the first indicator signal and the second indicator signal are both analog signals; the amplitude of the first indication signal is positively correlated with the first voltage; the amplitude of the second indication signal is positively correlated with the third voltage;
or, the first indication signal and the second indication signal are both digital signals, the first indication signal includes the first voltage, and the second indication signal includes the third voltage.
16. An electronic device, comprising: the apparatus for adjusting voltage according to any one of claims 1 to 15.
CN201810393135.7A 2018-04-27 2018-04-27 Devices and electronic equipment for adjusting voltage Active CN110413036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810393135.7A CN110413036B (en) 2018-04-27 2018-04-27 Devices and electronic equipment for adjusting voltage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810393135.7A CN110413036B (en) 2018-04-27 2018-04-27 Devices and electronic equipment for adjusting voltage

Publications (2)

Publication Number Publication Date
CN110413036A CN110413036A (en) 2019-11-05
CN110413036B true CN110413036B (en) 2020-12-08

Family

ID=68346827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810393135.7A Active CN110413036B (en) 2018-04-27 2018-04-27 Devices and electronic equipment for adjusting voltage

Country Status (1)

Country Link
CN (1) CN110413036B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104233B (en) * 2014-04-29 2017-04-19 浙江大学 Small high voltage power supply module capable of rapidly discharging electricity and continuously regulating voltage
CN204214960U (en) * 2014-09-10 2015-03-18 深圳市星龙科技股份有限公司 A kind of device detected for merge cells
CN204188793U (en) * 2014-09-10 2015-03-04 深圳市星龙科技股份有限公司 A kind of little analog quantity electric energy meter and digitalized electrical energy meter calibration equipment

Also Published As

Publication number Publication date
CN110413036A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
US10963031B2 (en) Methods and systems for server power line communication
KR102695310B1 (en) Electronic device including power management integrated circuit
US9935467B2 (en) Power supply system, electronic device, and electricity distribution method of electronic device
US20140175885A1 (en) Electronic device
CN103493323A (en) Control of dynamic bus voltage in an intermediate bus architecture power system
US8456149B2 (en) Electronic apparatus and method of calculating input power value of power supply unit in electronic apparatus
CN108388331A (en) I/O port control circuits and control method, electronic equipment and its control method
US9923368B2 (en) Electronic apparatus and driving control method thereof
US20160291680A1 (en) Power monitor for an electronic device
CN110413036B (en) Devices and electronic equipment for adjusting voltage
EP2693617A2 (en) Power supply apparatus, processing apparatus, information processing system, and method for controlling power supply
US9436243B2 (en) Circuit board and power source management system of circuit board
US9465396B2 (en) AVS master slave
US20130154599A1 (en) Methods for Reducing Power Consumption of Electronic Systems
US11770011B2 (en) Processing circuit, method, and electronic device for multiple power supply ports
CN111769540A (en) Current sharing circuit of parallel power supply, power supply module and integrated circuit test system
KR20100125964A (en) Power supply and ultrasonic system using the power supply
WO2018216661A1 (en) Power supply device and electronic device
JP7179129B1 (en) Power supply control method and power supply device
JP2023014595A (en) error warning module
TWI580160B (en) Power protecting circuit and method thereof
KR101746949B1 (en) Power combination device of multiple small power sources and generation method of control signal therefor
RU2449378C1 (en) Bus instrument and method for predictively limited power consumption in two-wire instrumentation bus
JP6358041B2 (en) INVERTER CONTROL DEVICE, CONTROL METHOD, PROGRAM, AND POWER SUPPLY SYSTEM
CN115411814A (en) Charging device with automatic voltage compensation function and flat panel equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant