AXIOM Beta/Temperatures

From apertus wiki
Jump to: navigation, search

1 Different Temperature Sensors

The AXIOM Beta hardware contains several temperature sensors (some dedicated sensors some integrated in other chips) the different chips and components are also operating at different temperature ranges. The Zynq for example has a rather hot operation range but the image sensor is meant to be as cold as possible meaning just a few degrees above room temperature. This page is a collection of information related to reading the different temperatures throughout the hardware.

1.1 MicroZed™ Zynq 7020

The Zynq 7020 has a maximum operating temperature of 85°C and has a special heat sink attached.

The temperature can be read with the

axiom-zynq-info.sh

script (AXIOM Beta Firmware Version 2.0) which contains the following code lines:

ZTO=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_offset` 
ZTR=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_raw` 
ZTS=`cat /sys/devices/soc0/amba/*.adc/iio*/in_temp0_scale` 

ZT=`dc -e "5k $ZTR ${ZTO/-/_} + $ZTS * 1000 / p"`

printf "%-14.14s\t%8.4f °C\n" "Temp" $ZT

1.2 Power Board

The AXIOM Beta Power Board contains a dedicated LM75 digital thermometer (datasheet) which can be read with the following command:

cat /sys/class/hwmon/hwmon0/temp1_input 

The output divided by 1000 is provided in °C.

The normal operation range goes until 60°C and should not exceed 75°C.

1.3 CMV12000 Image Sensor

The image sensor contains an integrated temperature sensor, see CMV12000 datasheet chapter 7.6.5 Temperature Sensor for reference.

This value can be read by running (AXIOM Beta Firmware Version 2.0):

axiom-cmv-reg.sh 127

The return value needs to be processed to acquire the temperature in degrees (the 𝐶𝐿𝐾_𝐼𝑁 is currently 20.833):

temperature [°C] = (RETURN_VALUE - 572.92) / 2.43