Zynq-7000 AP SoC Low Power Techniques part 2 - Measuring ZC702 Power using TI Fusion Power Designer Tech Tip
Zynq-7000 AP SoC Low Power Techniques part 2 - Measuring ZC702 Power using TI Fusion Power Designer Tech Tip
Table of Contents
2. Introduction to TI Fusion Digital Power Designer
3. Introduction to ZC702 Power Supply Configuration
4. Setting up the Zynq Base TRD
6.1. Setting up the TI USB cable
6.2. Running the Zynq base TRD.
6.3. Setting up the TI Fusion Power designer for performing power measurements.
6.4. Monitoring Voltage and Current using the Fusion Power Designer.
6.5. Measuring and analyzing the power consumption of Zynq Base TRD.
8. Appendix A: List of Components using the ZC702 power supplies.
8.1. Components powered by VCC3V3:
8.2. Components powered by VCCMIO
8.3. Components powered by VCC2V5
8.4. Components powered by VCCADJ
8.5. Components powered by VCC1v8
8.6. Components powered by 1.5V
9. Appendix B: File Descriptions
Document History
Date | Version | Author | Description of Revisions |
03-01-2014 | 0.1 | E Srikanth | Initial Draft |
|
|
|
|
1. Introduction
The ZC702 board uses power regulators and a PMBus compliant system controller from Texas Instruments to supply core and auxiliary voltages to the Zynq 7000 APSoC.
There are 5 switching regulators (PTD08D210W) and 1 linear regulator which generate different voltages required for the Zynq-7000 APSoC as well as the on-board components present on the ZC702 board. The voltage and currents supplied by these voltage regulators are continuously measured and monitored by three Texas Instruments digital power controllers (UCD9248) available on the ZC702 board.
The TI Power controllers are complaint to PM Bus specification PMBus Specification 1.1 and voltage and current measurements of the TI Power controllers can be accessed via the PMBus connector, J59 using the TI Fusion USB cable and TI Fusion Digital Power Designer GUI.
In this tech tip the Zynq Base TRD has been used to demonstrate the monitor the power consumption of the Zynq7000 AP SoC and ZC702 board. The TI Fusion Digital Power Designer GUI will be used to monitor the power consumption while running the ZYNQ TRD video applications on the ZC702 board.
More details of the Zynq Base TRD are explained briefly in the About Zynq Base TRD section of this document.
Please note that the Appendix A “List of Components using the ZC702 power supplies” section of this document covers the list of components powered by different switching regulators apart from the Zynq7000 AP SoC.
The SD Card images of the TRD and the TI FUSION Project for running this techtip can be downloaded from the following link: Zynq7000AP_SoC_ZC702_Fusion_project.zip
2. Introduction to TI Fusion Digital Power Designer
The TI Fusion Digital Power Designer is the Graphical User Interface (GUI) used to configure and monitor select Texas Instruments digital power controllers and sequencer/health monitors. The application uses the PMBus protocol to communicate with the device over serial bus. Some of the tasks you can perform with the Fusion Digital Power Designer GUI include:
Turn on or off the power supply output, either through the hardware control line or the PMBus OPERATION command.
Monitor real-time data. Items such as input voltage, output voltage, output current, temperature, and warnings/faults are continuously monitored and displayed by the GUI.
Configure the control law accelerator (CLA) coefficients through an interactive design tool.
Configure common operating characteristics such as Vout, warning and fault thresholds, and switching frequency.
The TI Fusion Digital Power Designer can access the PMBus by the means of using the TI USB adapter.
2.1 Hardware Requirements:
Texas Instruments USB Interface Adapter EVM– TI Part Number: USB-TO-GPIO http://www.ti.com/tool/usb-to-gpio
An Answer record for procuring the Texas Instruments USB Interface Adapter is available on Xilinx Support at the following link.
http://www.xilinx.com/support/answers/54022.html
2.2 Software requirements:
Texas Instruments TI Fusion Power Designer Software: Download it from here: http://www.ti.com/tool/fusion_digital_power_designer
3. Introduction to ZC702 Power Supply Configuration
3.1 Zynq Power Supplies:
The Zynq-7000 AP SoC devices have several power domains. Figure 1 shows an overview of the power domains available on the device.
Figure 1 Zynq-7000 Power Domains |
The description of the each power supply of the Zynq 7000 is as described below.
Table 1 Zynq-7000 Power Domain Description
Name | Type | Description |
|---|---|---|
VCCPINT | PS Internal Logic Supply | VCCPINT is a 1.0V nominal supply that powers all of the PS internal logic circuits. |
VCCPAUX | PS Auxiliary Logic Supply | VCCPAUX is a 1.8V nominal supply that powers all of the PS auxiliary circuits. |
VCCPLL | PS PLL Supply | VCCPLL is a 1.8V nominal supply that provides power to the three PS PLLs and additional analog circuits.. It is derived from the VCCPAUX supply |
VCCO_MIO | PS MIO Power Supply | VCCO_MIO is a 1.8–3.3 volt supply which powers the I/O Bank 500 and 501, which contains PS_MIO[53:0], PS_CLK, and PS_POR_B I/Os |
VCCO_DDR | PS DDR I/O Supply | VCCO_DDR is a 1.2V–1.8V nominal supply that supplies the DDR I/O bank input and output drivers. This supply sources the DDR output drivers, input receivers and termination circuitry. |
VCCINT | PL Internal Logic Supply | VCCINT is a 1.0V nominal supply that powers all of the PL internal logic circuits. |
VCCAUX | PL Auxiliary Logic Supply | VCCPAUX is a 1.8V nominal supply that powers all of the PL auxiliary circuits. |
VCCO : | PL IO Power Supply | VCCO is a 1.2V–3.3V nominal supply that supplies the I/O banks input and output drivers. |
3.2 ZC702 Power Distribution:
The ZC702 board uses power regulators and a PMBus compliant system controller from Texas Instruments to supply core and auxiliary voltages. The ZC702 board uses 12 V Input supply to power the board.
There are 5 switching regulators (PTD08D210W) and 1 linear regulator which generate different voltages required for the Zynq700 APSoC as well as the on-board components present on the ZC702 board.
Table 2 ZC702 Power Supplies |
The voltage output of these regulators are monitored and controlled by three TI power controllers (UCD9248PFC). The power distribution diagram for ZC702 board is as shown in Figure 2.
Figure 2 ZC702 Power Distribution |
The three onboard TI power controllers (UCD9248) are PMBus Specification 1.1 compliant and are wired to the same PMBus. The PMBus can be accessed via the PMBus connector, J59 using the TI Fusion USB cable and TI Fusion Digital Power Designer GUI.
Please refer to the ZC702 Evaluation board user guide and schematics for information on the connections and the part numbers used on the ZC702 board.
4. Setting up the Zynq Base TRD
This techtip will use the TI Fusion Digital Power Designer and perform some power measurements while running the video demo applications using the Zynq TRD.
The Zynq Base TRD is an embedded video processing application designed to showcase various features and capabilities of the Zynq Z-7020 AP SoC device for the embedded domain. The Base TRD consists of two elements: The Zynq-7000 AP SoC Processing System (PS) and a video processing pipeline implemented in Programmable Logic (PL). The AP SoC allows the user to implement a video processing algorithm that performs edge detection on an image (Sobel filter) either as a software program running on the Zynq-7000 AP SoC based PS or as a hardware accelerator inside the AP SoC based PL. The Base TRD demonstrates how the user can seamlessly switch between a software and a hardware implementation and evaluate the cost and benefit of each implementation.
In order to run this tech tip, setup the ZC702 board as explained in the “Running Video Demo Applications” section of Zynq Base TRD 2013.2 wiki page. This section also explains on video demonstration part of the TRD and running different video demonstrations out of the box.
Figure 3 Zynq Base TRD setup using ZC702 |
.
5. Implementation
Design Type | PL |
SW Type | Linux |
CPUs | 2 ARM Cortex-A9 666MHZ |
PS Features |
L1 and L2 Cache |
PL Features | Xylon Video Controller, Sobel Filter |
Boards/Tools | ZC702 |
Xilinx Tools Version | Vivado 2013.2 |
Files Provided | |
See Appendix B for the descriptions of the files | |
6. Step by Step Instructions
6.1. Setting up the TI USB cable
Download and install the TI Fusion Digital Power Designer from TI website on your Windows machine.
On the TI USB Adapter connect the Ribbon Cable and the USB Cable as shown below.
Connect the Ribbon Cable from the TI USB cable to J59 on the ZC702 board with the red stripe towards pin 1. The header J59 is located on the underside of the board as shown below.
Connect the “A” end of the USB cable into your PC USB port.
6.2. Running the Zynq base TRD.
Unzip the Zynq7000AP_SoC_ZC702_Fusion_project.zip file on to your hard drive.
Copy the SD card Image files from”Zynq7000AP_SoC_ZC702__Fusion_project\trd_images” directory onto the primary partition of the SD-MMC card which is formatted as FAT32 using a SD-MMC card reader.
Insert a SD-MMC memory card, which contains the TRD binaries, into the SD slot on the ZC702 board.Make sure the switches are set as shown in figure below, which allows the ZC702 board to boot from the SD-MMC card.
If an older ZC702 rev.x version boards does not have switches and contains jumpers. Use the following jumper settings: J21: 2-3, J20: 2-3, J22: 1-2, J25: 1-2, J26: 2-3
Power on the ZC702 board.Wait for the ZC702 board to be configured and booted with Linux. After approximately 2 minutes, a XILINX ZYNQ banner displays on the monitor, as shown in the figure.The Qt-based video demonstration application starts. The GUI application shows up at the bottom of the display monitor.
Next you will launch the TI Fusion Power designer software to monitor the different power supply rails while the TRD is running.
6.3. Setting up the TI Fusion Power designer for performing power measurements.
Launch the TI Fusion Design Online tool by clicking on the icon installed on your desktop.
The TI Fusion Power design tool will automatically search for the TI USB Cable as well as the three PM-Bus controllers before the GUI is completely launched.
Once the Fusion Power designer software successfully detects the PM bus controllers the GUI is launched as is displayed as follows.
Select File --> Import Project to open a preloaded power supply configuration.
Click on Select file and browse to “Zynq7000AP_SoC_ZC702__Fusion_project\ \TI_Fusion_project” directory and select the powertop.xml file.
Select Next.
Ensure that only Import Rail Names, Pin Names and other Sequencing Related GUI Preference option is checked and remaining other options are unchecked.
Click Next --> OK to close the dialog and you should see that the appropriate rail names have been assigned to the three onboard TI power controllers (U32 at address 52, U33 at address 53, and U34 at address 54) in the “Select Rail To Edit “ of the configure view.
Description of the each power rail is provided in the following table.
Table 3 Power supply Details
Device | Rail | Net Name | Vout | Regulator monitored | Description |
|---|---|---|---|---|---|
UCD9248@52D | 1 | VCCINT | 1.0V | PTD08D210W(U17) VoutA | 1.0V nominal supply of Zynq 7000 that powers all of the PL internal logic circuits. |
UCD9248@52D | 2 | VCCPINT | 1.0V | PTD08D210W(U17) VoutB | 1.0V nominal supply that powers all of the PS internal logic circuits. |
UCD9248@52D | 3 | VCCAUX | 1.8V | PTD08D210W(U18) VoutA | 1.8V nominal supply that powers all of the PL auxiliary circuits. |
UCD9248@52D | 4 | VCCPAUX | 1.8V | PTD08D210W(U18) VoutB | 1.8V nominal supply that powers all of the PS auxiliary circuits. |
UCD9248@53D | 1 | VCCADJ | 2.5V | PTD08D210W(U19) VoutA | Supplies power to the VCCADJ power net on the ZC702 board. |
UCD9248@53D | 2 | VCC1V5PS | 1.5V | PTD08D210W(U19) VoutB | Supplies power to the VCCO_DDR power domain of the Zynq 7000 as well as the 4 Micron DDR3 (MT41J256M8HX-15E) components on the ZC702 board. This is a 1.5V nominal supply that supplies the DDR I/O bank input, output drivers and termination circuitry. |
UCD9248@53D | 3 | VCC_MIO | 1.8V | PTD08D210W(U20) VoutA | Supplies power to the VCC_MIO power net on the ZC702 board. |
UCD9248@53D | 4 | VCCBRAM | 1.0V | PTD08D210W(U20) VoutB | Supplies power to VCC_BRAM power domain of Zynq7000. VCC_BRAM is a 1.0V nominal supply that supplies power to all the Block RAMs available in the Zynq Programmable Logic. |
UCD9248@53D | 1 | VCC3V3 | 3.3V | PTD08D210W(U21) VoutA | The VCC3V3 supplies 3.3v power to the components available on the board which also includes the UCD9248 power controller itself. The list of components that are powered by VCC3V3 on ZC702 board is listed in the Appendix A: List of Components using the ZC702 power supplies section. |
UCD9248@53D | 2 | VCC2V5 | 2.5V |