HCS08: How is VTEMP25 affected by VREFH?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HCS08: How is VTEMP25 affected by VREFH?

ソリューションへジャンプ
826件の閲覧回数
danas
Contributor I

TL;DR: If we have a VREFH other than the typical value VTEMP25 is calculated at, how do we find the new typical VTEMP25 without running calibration procedures?

I am a long-time user of the HCS08 processor line.  Specifically, our company uses the MC9S08DZ128 in many of its applications.  Recently, we were confused while reading AN3031 (HCS08 Temperature Sensor) and did some testing to determine whether the bandgap and temperature readings were generated from VDD, VDDA, or VREFH (the note continuously says VDD).  After determining that the note assumes all 3 are the same thing and finally figuring out that it is based off VREFH, it then brought into question how we are calculating the internal temperature.  

My question is: how is VTEMP25 affected by VREFH?  AN3031 keeps saying that VTEMP25 is based off of a VDD of 3V, but the MC9S08DZ128 data sheet says that the value given for VTEMP25 is based on VREFH = VDDA = VDD = 5V.  So how do we take the typical value for 5V and scale it for our own purposes?  We have different values for VREFH for different applications (5V, 3V, and 3.3V, specifically).  Further, the graphs in AN3031 show that constant changes in VREFH result in exponential changes in the resulting ADC values.

タグ(2)
0 件の賞賛
返信
1 解決策
740件の閲覧回数
kef2
Senior Contributor V

VTEMP25 is property of sensor (and its circuit) and +- doesn't depend on supply and reference voltages. Figure 1 in AN3031 isn't contrary to this. If you mean sentence under Fig. 1 saying that sensor output is dependant on Vdd, I'm sure they meant dependant on Vref, which perhaps was the same to Vdd in their case. Fig.1 shows ADC readings, not voltage readings. If you convert any reading from Fig.1 at any given temperature to voltage, you'll get the same voltage no matter what is Vref.

  • Further, the graphs in AN3031 show that constant changes in VREFH result in exponential changes in the resulting ADC values.

Hm, just inversely proportional to Vref. Let's take curve for 1.9V Vref, ADC(T=0) = 400. 400 * 1.9 / 3.6 = 211. Doesn't this match curve for 3.6V Vref?

Edward

元の投稿で解決策を見る

1 返信
741件の閲覧回数
kef2
Senior Contributor V

VTEMP25 is property of sensor (and its circuit) and +- doesn't depend on supply and reference voltages. Figure 1 in AN3031 isn't contrary to this. If you mean sentence under Fig. 1 saying that sensor output is dependant on Vdd, I'm sure they meant dependant on Vref, which perhaps was the same to Vdd in their case. Fig.1 shows ADC readings, not voltage readings. If you convert any reading from Fig.1 at any given temperature to voltage, you'll get the same voltage no matter what is Vref.

  • Further, the graphs in AN3031 show that constant changes in VREFH result in exponential changes in the resulting ADC values.

Hm, just inversely proportional to Vref. Let's take curve for 1.9V Vref, ADC(T=0) = 400. 400 * 1.9 / 3.6 = 211. Doesn't this match curve for 3.6V Vref?

Edward