### Don't have a Xilinx account yet?

• Choose to receive important news and product information
• Personalize your web experience on Xilinx.com

Create Account

XClose Panel

## Virtex® Family FPGAs

Visitor
Posts: 11
Registered: ‎10-28-2008

# How to measure the current (power) in ML605

Hi All,

I have a question about measuring the current in ML605 board. I have read the Xilinx documents and I was confused between two different options:

1- in the document ug370 in the section "ChipScope Pro Tool and System Monitor﻿" (page 60) it is mentioned that the VAUXP[0﻿] is the external input we should read for measuring the current. For this case is this equation correct:

voltage on auxiliary﻿ input 0 = Current (amps) * .005 ??

2- in the document ug534 in the section "ML605 Board Power Monitor﻿" (page 73) it is mentioned that the VAUXP[13]﻿ is the external input that we should read to measure the current.

Which one is correct??

Am I right that the first one (VAUXP[0﻿]﻿) is for measuring the current of the FPGA only and the second one (VAUXP[13]﻿) is for measuring the current of the whole board?? If this is correct then is this correct that for measuring the power of the FPGA we need to multiply the first one by VCCINT and for measuring the power of the whole board we need to multiply the second one by VCCAUX or should we multiply it by 12V??

Thanks,

Hessam

Xilinx Employee
Posts: 3,871
Registered: ‎02-27-2008

# Re: How to measure the current (power) in ML605

h,

The ML605 manual describes how to measure the current. The .005 ohm series resistors can be optioned in, or out using the header jump-jacks. Either use of a voltmeter measuring across the resistors, or use of the system monitor A/D may be used.
Austin Lesea
Principal Engineer
Xilinx San Jose
Xilinx Employee
Posts: 27
Registered: ‎03-21-2008

# Re: How to measure the current (power) in ML605

Hi Hessam,

There is a little-known feature in chipscope that makes vccint power measurement much easier.

The feature is called VCCINT Power Measurement, and uses the SysMon.

1 - Open the SysMon console in chipscope, by double clicking on the SysMon Console listed under the device name.

2 - Select the external channel from the drop-down list on the menubar -VauxP/N[0] is connected to the current shunt resistor. Note: Jumpers on pins 9-10 and 11-12 are required on J35 to enable the connection to the sysmon.

3 - Right-click on the VauxP[0]/VauxN[0] text displayed to the left of the voltage graph, and select VCCINT Power Measurement.

4 - In the diaglog that pops up, enter the shunt resistance in mOhms, and the number of digits of precision you want displayed

Chipscope will now plot the Vccint power in W - as it automatically multiplies the voltage data from the VCCINT channel, by the current measured through the shunt.

This same feature can be used to enter a custom transfer function for any of the external channels.

Hope this helps,

John

Visitor
Posts: 11
Registered: ‎10-28-2008

# Re: How to measure the current (power) in ML605

Hi John,

thank you for your thorough answer﻿. It was a great help. I have done the first steps you mentioned before but the last step was nice. This pretty much solves my problem but still a small confusion I have is what does VAUXP[13]﻿ measures (ug534﻿ page 73)?? is that the power consumption of the whole board??

Thanks,

Hessam

Xilinx Employee
Posts: 27
Registered: ‎03-21-2008

# Re: How to measure the current (power) in ML605

Hi Hessam,

Yes, VauxP/N[13] is the channel for the board current. VauxP/N[12] is the channel for the board supply (nominally 12v).

In both these cases, there is a transfer function, which must be used in order to compute the actual value.

For the board current, the voltage at the sysmon input is vshunt*50, as there is a 50x amplifier to bring the signal within the sysmons 1V range﻿, which also acts as a level shift. (see page 39 of the ml605 schematics for this circuit).

For the board voltage, the transfer function is via a simple resistor divider of 24:1 (also on page 39). This means 1V out = 25V in, or an attenuation of 25x - so to convert back, simply multiply the sysmon reading by 25.

There is a reference design (EDK based) that has a demo which reads back all of these sensors - you can find it here:

http://www.xilinx.com/products/boards/ml605/reference_designs.htm﻿, Under the heading 'ML605 System Monitor and USB﻿'.

In the demo desgin files, there is C code (SysMon_Demo.c) which directly reads back all of the external sensors and calculates the vccint power, as well as the board supply voltage, current and power.

Note: There were some revs of the ml605 board, where the shunt/resistor divider values were different - so the C code in the reference design may need to be changed to match your board's configuration. These values are defined in the file SysMon_Demo.h.

Cheers,

John

Visitor
Posts: 11
Registered: ‎10-28-2008

# Re: How to measure the current (power) in ML605

Hi John,

In our work we need very fast power reading from the FPGA and I was thinking of using an oscilloscope for reading the current instead of using chipscope or sysmon (I know we can change the timing of the reading by writing to the registers but still the oscilloscope is fastest way). Based on what I see in Xilinx documents, the AUXP[0] is connected to pin G11 of the virtex 6 and AUXN[0] is connected to F11. Also these pins of the FPGA are connected to GND_107 and HA08_N of the FMC HPC head. Is it possible for me use an oscilloscope and measure the voltage across those pins of FMC conntector and by dividing that by 5mOhm, I get the current?? Also the Vauxn[0] (pin HA08_N) will give me the Vccint ??

Thanks,

Hessam

Regular Contributor
Posts: 80
Registered: ‎10-13-2011

# Re: How to measure the current (power) in ML605

I would also like to know if this is the case.

Hessamk: did you get this to work?

Thanks.

Regular Contributor
Posts: 80
Registered: ‎10-13-2011

# Re: How to measure the current (power) in ML605

Also UG534 specifies to connect pin 9 to 11 and pin 10 to 12 using jumpers, not the way it was previously suggested. I don't know what would happen if you did it the wrong way.

Does anybody know how I could access this information internally from the FPGA logic?