I am trying to monitor power consumption of jetson nano using TEGRASTATS.I want to know what exactly is shown in tegrastats specilly POM_5V_IN,POM_5V_GPU and POM_5V_CPU.I also want to know what Integrated power consumption monitoring tool is used on jetson nano.
I tried to save the data from tegrastats and ended up saving the whole line.
It will be helpful if i can only save the power and temperature,please tell me where do tegrastats take those values from(like a file?),if so tell me the path.
You will get something like that:
…
openat(AT_FDCWD, “/sys/bus/i2c/devices/6-0040/iio_device/rail_name_0”, O_RDONLY) = 4
openat(AT_FDCWD, “/sys/bus/i2c/devices/6-0040/iio_device/in_power0_input”, O_RDONLY) = 4
…
openat(AT_FDCWD, “/sys/devices/virtual/thermal/thermal_zone1/temp”, O_RDONLY) = 4
openat(AT_FDCWD, “/sys/devices/virtual/thermal/thermal_zone1/type”, O_RDONLY) = 4
…
Ctrl+C for drop
The file /sys/bus/i2c/devices/6-0040/iio_device/in_power0_input is current POM_5V_IN value
The file /sys/devices/virtual/thermal/thermal_zone1/temp is current CPU-therm value
and so on (/sys/devices/virtual/thermal/thermal_zone1/type is a sensor type as you understood)
After checking this link i am still confused whether POM_5V_IN is the total power consumed by the whole board or we need to ADD all the three likePOM_5V_IN+POM_5V_GPU+POM_5V_CPU to get the total power consumed the motherboard.
This is the reading we got while the strip camera was running
Supply 4 Amps at 5 Volts through the Barrel Jack connector is 5V*4A = 20 Watts (MAX). 13 watts seems to be acceptable consumption.
With sufficient cooling, the runs for a long time should not affect the board.
POM_5V_IN measures the overall 5V input to the board, it represents the total power consumption. You don’t need to add POM_5V_GPU and POM_5V_CPU to it. The GPU/CPU rails are provided for extra reference.