Adaptive voltage ratio measurement method and related electronic device

By performing adaptive voltage ratio measurement after installing the system chip in the final product and establishing a suitable voltage lookup table, the problem of the inapplicability of the adaptive voltage ratio lookup table in the existing technology is solved and a more efficient voltage is achieved. management, reducing power consumption and leakage current.

CN112782461BActive Publication Date: 2024-10-01REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010325620.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-11-10
Filing Date
2020-04-23
Publication Date
2024-10-01
Estimated Expiration
2040-04-23

AI Technical Summary

Technical Problem

In the existing technology, the adaptive voltage ratio lookup table may not be suitable for use in final electronic products after it is established during mass production testing, resulting in increased leakage current and power consumption of fast chips due to high supply voltage, and long measurement time. Affect production line operation.

Method used

After the system chip is installed on the printed circuit board of the final product, the adaptive voltage ratio measurement is performed, an adaptive voltage ratio lookup table is established, and stored in the system chip or storage element to determine the voltage at each operating frequency. Target supply voltage value.

Benefits of technology

It ensures that the chip uses the most suitable supply voltage in actual operation, reduces power consumption and leakage current, and improves measurement accuracy and production line efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112782461B_ABST
    Figure CN112782461B_ABST
Patent Text Reader

Abstract

The present invention discloses an adaptive voltage ratio measurement method and a related electronic device, the method comprising the following steps: installing a system chip on a printed circuit board and connecting it to a storage element; enabling the system chip to read a startup program code from the storage element, and executing the startup program code to perform adaptive voltage ratio measurement on the system chip to determine multiple target supply voltage values ​​of the system chip at multiple operating frequencies respectively, and establish an adaptive voltage ratio lookup table based on the values; and storing the adaptive voltage ratio lookup table in the system chip or the storage element.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an adaptive voltage ratio measurement method. Background Art

[0002] In general consumer electronic products, the central processing unit (CPU) and graphics processing unit (GPU) in the system chip are usually important indicators of performance, and the higher the maximum operating frequency of the CPU and the GPU, the better the performance. However, the higher the operating frequency, the higher the supply voltage is required, which leads to higher power consumption and also affects the life of the electronic product. In addition, due to the problem of chip process distribution, the faster the chip, the lower the supply voltage can be used to complete the operation, while the slower the chip, the higher the supply voltage is required to complete the operation.

[0003] However, considering the process distribution and chip yield issues, the traditional method of determining the supply voltage is to accommodate the slowest chip, that is, whether it is a slow chip or a fast chip, the same supply voltage is used at the same operating frequency. However, although the slower chip can operate normally, the faster chip will increase the leakage current and increase the power consumption because it operates at an unnecessary high supply voltage. Therefore, in order to solve the above problem and allow the chip to operate at a suitable supply voltage, the adaptive voltage scaling (Adaptive Voltage Scaling, AVS) technology has been developed to establish an adaptive voltage scaling lookup table (AVS lookup table) for each chip, so that electronic products can use the AVS lookup table to determine the most suitable supply voltage during actual operation. However, since it takes a lot of time to measure AVS during the mass production test process, it affects the operation of the production line. In addition, the environment of the chip test machine and the final electronic product during the mass production process is very different (for example, the difference in circuit layout on the printed circuit board), and it is difficult to establish environmental correlation between the test machine and the final electronic product. Therefore, the AVS lookup table established during the mass production test process may not be suitable for use in the final electronic product. Summary of the invention

[0004] Therefore, one of the objectives of the present invention is to provide an AVS measurement method, which can perform AVS measurement to establish an AVS lookup table after the system chip is installed on the printed circuit board of the final product, so as to solve the problems described in the prior art.

[0005] In one embodiment of the present invention, an adaptive voltage ratio measurement method is disclosed, which includes the following steps: mounting a system chip on a printed circuit board and connecting it to a storage element; enabling the system chip to read a startup program code from the storage element, and executing the startup program code to perform adaptive voltage ratio measurement on the system chip to determine multiple target supply voltage values ​​of the system chip at multiple operating frequencies, and establish an adaptive voltage ratio lookup table based on the values; and storing the adaptive voltage ratio lookup table in the system chip or the storage element.

[0006] In another embodiment of the present invention, an electronic device comprising a system chip and a storage element is disclosed, wherein when the system chip is enabled, the system chip reads a startup program code from the storage element and executes the startup program code to perform adaptive voltage ratio measurement on the system chip to determine multiple target supply voltage values ​​of the system chip at multiple operating frequencies, and establish an adaptive voltage ratio lookup table based on the determined values; and the system chip stores the adaptive voltage ratio lookup table in a memory in the system chip or in the storage element. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a schematic diagram of an electronic device according to an embodiment of the present invention.

[0008] Figure 2 A schematic diagram of the sensor.

[0009] Figure 3 FIG. 4 is a schematic diagram of a central processing unit according to an embodiment of the present invention.

[0010] Figure 4 The figure is a flow chart of an AVS measurement method according to an embodiment of the present invention.

[0011] Explanation of symbols

[0012] 100: Electronic devices

[0013] 102: Printed Circuit Board

[0014] 110: Power management chip

[0015] 120: System on Chip

[0016] 122: CPU

[0017] 123: Sensor

[0018] 124: Graphics Processor

[0019] 125: Sensor

[0020] 130: Storage element

[0021] 132: Operating System

[0022] 134: Startup code

[0023] 210: Clock and test data generation circuit

[0024] 220: Programmable Delay Circuit

[0025] 230: Judgment circuit

[0026] 310_1~310_4: Core circuit

[0027] 312_1~312_5:Sensor

[0028] 400-406: Steps

[0029] CLK, CLK': clock signal

[0030] DATA,DATA': test data

[0031] VDD_1~VDD_N: supply voltage DETAILED DESCRIPTION

[0032] Figure 1 FIG. 1 is a schematic diagram of an electronic device 100 according to an embodiment of the present invention. Figure 1 As shown, the electronic device 100 includes a printed circuit board 102, the printed circuit board 102 includes a power management chip 110, a system chip 120 and a storage element 130, wherein the system chip 120 includes a central processing unit 122 and a graphics processor 124, the central processing unit 122 and the graphics processor 124 respectively include sensors 123 and 125 for AVS measurement, and the storage element 130 includes an operating system 132 and a startup program code 134. In one embodiment, the system chip 120 and the storage element 130 can be integrated into the same system chip. In this embodiment, the electronic device 100 can be any electronic product, such as a set-top box, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a television, etc., and the electronic device 100 can be a final product or a semi-finished product (for example, a casing has not yet been installed) of the above electronic products.

[0033] In this embodiment, the AVS measurement is performed after the system chip 120 is mounted on the printed circuit board 102. For example, the printed circuit board 102 is measured for AVS during a test phase in a factory to establish an AVS lookup table. Therefore, since the system chip 120 is measured for AVS on the final product or semi-finished product of the electronic product 100, it can be reflected that the system chip 120 is affected by the layout of other components on the printed circuit board 102 during operation. Therefore, the determined AVS lookup table can truly reflect the actual operating state of the system chip 120 with higher accuracy.

[0034] Specifically, assuming that the system chip 120 has been installed on the printed circuit board 102 and connected to the power management chip 110 and the storage element 130, and the operating system 132 and the startup program code 134 have been written into the storage element 130, at this time, when the electronic device 100 is turned on for the first time, the central processor 122 in the system chip 120 will read the startup program code 134 from the storage element 130, and execute the startup program code 134 to control / instruct the power management chip 110 to generate a plurality of different supply voltage values ​​to the system chip 120, so that the central processor 122 can perform AVS measurement through the sensor 123 to determine the central processor 122 respectively at A plurality of first target supply voltage values ​​at a plurality of first operating frequencies; in addition, the graphics processor 124 also performs AVS measurement through the sensor 125 to determine a plurality of second target supply voltage values ​​of the graphics processor 124 at a plurality of second operating frequencies; finally, an AVS lookup table is established according to the determined plurality of first target supply voltage values ​​of the central processor 122 at a plurality of first operating frequencies and the determined plurality of second target supply voltage values ​​of the graphics processor 124 at a plurality of second operating frequencies, and the AVS lookup table is stored in the memory or storage element 130 in the system chip 120 for subsequent use. The memory and storage element 130 may be, but are not limited to, a non-volatile memory, such as: a one-time programmable memory (OTP memory), an electronically blown metal fuse (eFUSE), a flash memory, etc.

[0035] For details, refer to Figure 2 The schematic diagram of the sensor 200 shown in FIG. 2 is a schematic diagram of the sensor 200, wherein the sensor 200 can be used to implement Figure 1The sensor 200 is any one of the sensors 123 and 125 shown, and includes a clock and test data generating circuit 210, a programmable delay circuit 220, and a judgment circuit 230. The sensor 200 is taken as the sensor 123 in the central processing unit 122 for illustration. First, the central processing unit 122 can control the clock and test data generating circuit 210 to generate a clock signal CLK and test data DATA with a first operating frequency (for example, 1 GHz), and the clock and test data generating circuit 210 outputs the clock signal CLK and the test data DATA to the programmable delay circuit 220. At this time, the central processing unit 122 notifies the power management chip 110 to sequentially generate multiple supply voltages VDD_1~VDD_N from low to high to the central processing unit 122, so that the programmable delay circuit 220 outputs multiple clock signals CLK' and test data DATA' corresponding to the multiple supply voltages VDD_1~VDD_N respectively, wherein each clock signal CLK' can be a delayed clock signal generated by the clock signal CLK through the programmable delay circuit 220, and similarly, each test data DATA' can be a delayed test data generated by the test data DATA through the programmable delay circuit 220. Next, the judgment circuit 230 determines the target supply voltage (the most suitable supply voltage) at the operating frequency of 1 GHz according to the multiple test data DATA' and / or the multiple clock signals CLK'. For example, the judgment circuit 230 can first determine the partial test data DATA' with qualified signal quality among the multiple test data DATA', and select the minimum supply voltage among the supply voltages corresponding to the partial test data DATA' as the most suitable supply voltage. For example, assuming that the test data DATA' generated when the programmable delay circuit 220 has supply voltages VDD_4 to VDD_N all have qualified signal quality (for example, the pattern of the test data DATA' meets an expected pattern), the judgment circuit 230 will select VDD_4 as the target supply voltage. Next, the CPU 122 can control the clock and test data generating circuit 210 to generate a clock signal CLK and test data DATA having another first operating frequency (e.g., 1.1 GHz), and determine the target supply voltage at the 1.1 GHz operating frequency through the above operation, and so on, multiple first target supply voltages corresponding to multiple first operating frequencies can be obtained. Similarly, the image processor 124 can also obtain multiple second target supply voltages corresponding to multiple second operating frequencies through the above operation.

[0036] It should be noted that Figure 2The circuit architecture and operation details of the sensor 200 are merely exemplary and not limiting. In other embodiments, the sensor 200 may have other designs and different operation modes, as long as the CPU 122 and the GPU 125 can obtain the most suitable supply voltage corresponding to different operating frequencies through the sensors 123 and 125, respectively.

[0037] After the AVS lookup table is established and stored inside the system chip 120 or the storage element 130, when the user subsequently uses the electronic product 100, the central processing unit 122 and the graphics processor 124 can obtain relevant information from the AVS lookup table based on their own operating frequencies, and transmit this information to the power management chip 110, so that the power management chip 110 can provide a supply voltage corresponding to the operating frequency of the central processing unit 122 and the graphics processor 124.

[0038] In the above embodiment, the system chip 120 can only establish one AVS lookup table for use by the CPU 122 and the GPU 124 at the same time, or can establish two AVS lookup tables for use by the CPU 122 and the GPU 124 respectively, that is, one of the AVS lookup tables includes multiple first operating frequencies of the CPU 122 and corresponding multiple first target supply voltages, and the other AVS lookup table includes multiple second operating frequencies of the GPU 124 and corresponding multiple second target supply voltages.

[0039] exist Figure 1 In the illustrated embodiment, the SoC 120 includes a CPU 122 and a GPU 124 . However, in other embodiments, the SoC 120 may include only one processor, such as only the CPU 122 .

[0040] exist Figure 1 In the illustrated embodiment, the power management chip 110 is located outside the system chip 120 . However, in other embodiments, the power management chip 110 and the system chip 120 may be integrated into the same package, or the power management chip 110 may be integrated as a part of the system chip 120 .

[0041] exist Figure 1 In the illustrated embodiment, the CPU 122 and the GPU 124 each include only one sensor. However, in other embodiments, the CPU 122 and the GPU 124 may include multiple sensors for generating the AVS lookup table. Figure 3The schematic diagram of the central processing unit 122 shown in FIG. 1 includes four core circuits 310_1 to 310_4, each of which includes sensors 312_1 to 312_4. The central processing unit 122 also has a sensor 312_5 disposed in the middle of the four core circuits 310_1 to 310_4. Figure 3 In the illustrated embodiment, when the electronic device 100 is powered on for the first time, each sensor 312_1-312_5 will reach multiple target supply voltages of multiple operating frequencies according to the operation of the sensor 200. Since each sensor 312_1-312_5 corresponds to a different core circuit and is located in a different position, the multiple target supply voltages determined are not necessarily the same. At this time, in order to ensure that the central processor 122 can operate smoothly, when the sensors 312_1-312_5 obtain two or more target supply voltages for an operating frequency, the central processor 122 selects the highest target supply voltage among these target supply voltages for establishing an AVS lookup table. For example, assuming that at an operating frequency of 1.1 GHz, the target supply voltages determined by the sensors 312_1-312_5 are VDD_2, VDD_2, VDD_3, VDD_2, and VDD_2, respectively, the central processor 122 will select the target supply voltage VDD_3 for the operating frequency corresponding to 1.1 GHz in the AVS lookup table.

[0042] It should be noted that in the above embodiment, the system chip 120 performs AVS measurement when the electronic device 100 is first powered on to establish an AVS lookup table for subsequent use by the user of the electronic device 100. However, considering the aging of internal circuit components and other system problems, the AVS lookup table may become no longer applicable over time. Therefore, in this embodiment, the CPU 122 and / or the GPU 124 may perform AVS measurement periodically or according to a schedule to update the AVS lookup table stored in the system chip 120 or the storage element 130.

[0043] Figure 4 FIG. 1 is a flow chart of an AVS measurement method according to an embodiment of the present invention. Referring to the contents described in the above embodiment, the flow chart of the AVS measurement method is as follows.

[0044] Step 400: The process starts.

[0045] Step 402: Mount a system chip on a printed circuit board and connect it to a storage element.

[0046] Step 404: Enable the system chip to read a startup code from the storage element, and execute the startup code to perform AVS measurement on the system chip to determine multiple target supply voltage values ​​of the system chip at multiple operating frequencies, and establish an AVS lookup table accordingly.

[0047] Step 406: Store the AVS lookup table in the system chip or the storage element.

[0048] To briefly summarize the present invention, in the AVS measurement method of the present invention, after the system chip is installed on the printed circuit board of the final product, the AVS measurement is performed to establish an AVS lookup table for use by the user in the subsequent operation of the electronic product. Therefore, during the AVS measurement, since the system chip is already in the final product and its peripheral components will not change, the determined AVS lookup table is the most effective for the system chip to obtain the most suitable supply voltage.

[0049] The above descriptions are only preferred embodiments of the present invention. All equivalent changes and modifications made according to the claims of the present invention should fall within the scope of the present invention.

Claims

1. An adaptive voltage ratio measurement method, comprising: Mounting a system chip on a printed circuit board and connecting it to a storage element; After the system chip is mounted on the printed circuit board, the system chip is enabled to read a startup program code from the storage element, and the startup program code is executed to perform adaptive voltage ratio measurement on the system chip to determine a plurality of target supply voltage values ​​of the system chip at a plurality of operating frequencies, and an adaptive voltage ratio lookup table is established accordingly; and The adaptive voltage ratio lookup table is stored in the system chip or the storage element.

2. The adaptive voltage ratio measurement method as claimed in claim 1, wherein the printed circuit board further comprises a power management chip, and enabling the system chip to read the boot program code from the storage element and execute the boot program code to perform adaptive voltage ratio measurement on the system chip to determine a plurality of target supply voltage values ​​of the system chip at a plurality of operating frequencies, and the steps of establishing the adaptive voltage ratio lookup table accordingly comprise: The system chip is enabled to read the startup program code from the storage element, and the startup program code is executed to control the power management chip to generate multiple different supply voltage values ​​to the system chip, so as to perform adaptive voltage ratio measurement on the system chip to determine multiple target supply voltage values ​​of the system chip at the multiple operating frequencies respectively, and establish the adaptive voltage ratio lookup table accordingly.

3. An electronic device comprising: a system chip; and A storage element including a startup program code; After the system chip is installed on a printed circuit board, when the system chip is enabled, the system chip reads the startup program code from the storage element and executes the startup program code to perform adaptive voltage ratio measurement on the system chip to determine multiple target supply voltage values ​​of the system chip at multiple operating frequencies, and establish an adaptive voltage ratio lookup table based on the determined values; and the system chip stores the adaptive voltage ratio lookup table in a memory in the system chip or the storage element.

4. The electronic device as claimed in claim 3, further comprising: A power management chip; When the system chip is enabled, the system chip reads the startup program code from the storage element and executes the startup program code to control the power management chip to generate multiple different supply voltage values ​​to the system chip, so as to perform adaptive voltage ratio measurement on the system chip to determine multiple target supply voltage values ​​of the system chip at the multiple operating frequencies respectively, and establish the adaptive voltage ratio lookup table accordingly.

5. An electronic device as described in claim 3 or 4, wherein in a test phase of the electronic device, when the system chip is enabled for the first time to read the boot program code from the storage element, the boot program code is executed to perform adaptive voltage ratio measurement on the system chip to establish the adaptive voltage ratio lookup table. 6 . The electronic device as claimed in claim 5 , wherein the system chip performs adaptive voltage ratio measurement periodically or according to a schedule to update the adaptive voltage ratio lookup table.

7. An electronic device as described in claim 3, wherein the system chip includes a central processing unit and a graphics processing unit; and the central processing unit performs adaptive voltage ratio measurement to determine multiple first target supply voltage values ​​of the central processing unit at multiple first operating frequencies; and the graphics processing unit performs adaptive voltage ratio measurement to determine multiple second target supply voltage values ​​of the graphics processing unit at multiple second operating frequencies, so as to establish the adaptive voltage ratio lookup table.

8. The electronic device as claimed in claim 3, wherein the system chip includes at least one sensor, and when the system chip operates at any one of the multiple operating frequencies, the system chip applies the multiple supply voltages to the at least one sensor to generate multiple test data respectively, and the system chip determines the target supply voltage value corresponding to the operating frequency according to the multiple test data. 9 . The electronic device as claimed in claim 8 , wherein the at least one sensor comprises a plurality of sensors, and the plurality of sensors are respectively located in a plurality of core circuits of a system chip.

10. An electronic device as described in claim 8, wherein each sensor includes a programmable delay circuit, and the at least one sensor inputs a clock signal having the operating frequency and test data into the programmable delay circuit, and applies the multiple supply voltages to the programmable delay circuit so that the programmable delay circuit outputs the multiple test data corresponding to the multiple supply voltages respectively.