0% ont trouvé ce document utile (0 vote)
15 vues5 pages

LM

Transféré par

Hajar Touil
Copyright
© All Rights Reserved
Nous prenons très au sérieux les droits relatifs au contenu. Si vous pensez qu’il s’agit de votre contenu, signalez une atteinte au droit d’auteur ici.
Formats disponibles
Téléchargez aux formats PDF ou lisez en ligne sur Scribd
0% ont trouvé ce document utile (0 vote)
15 vues5 pages

LM

Transféré par

Hajar Touil
Copyright
© All Rights Reserved
Nous prenons très au sérieux les droits relatifs au contenu. Si vous pensez qu’il s’agit de votre contenu, signalez une atteinte au droit d’auteur ici.
Formats disponibles
Téléchargez aux formats PDF ou lisez en ligne sur Scribd
Examen « partie Capteurs SME » Session 2. 23 juin 2021 1h sans document téléphone portable interdit Le capteur de température du DS1620 est construit autour d'une source de tension de type «bandgap», Classiquement, une source de référence « bandgap» est composée de deux générateurs de tension, dotéschacun de coefficients de température opposés. La somme de ces deux sources correspond alors & une tension constante sur tute une plage de température donnée, Dans le cas un capteur de température, une source de type PTAT (pour Proportional To Absolute Temperature), dont ‘on va contdler trés précisément le coefficient de température est synthétisée. Performances du capteur numérique DS1620 Le capteur de température DS1620 (Dallas Semiconductor) appartient la famille des ‘capteurs "intelligents". Sur la méme puce, il y a un capteur de température de type “bandgap” associé a une électronique dinterface (Convertisseur Analogique - Numérique, microcontréleur avec son jeu d'instructions, EEPROM, port série synchrone 3 fils). Le capteur est alimenté sous 5 Volts. 7) Donner Ia définition du mot capteur, puis celle de “capteur intelligent" en vous aidant de la figure suivante. coneign conn resem ‘Seon ae Concamee aidant de la documentation 58) Détaller le codage de la température mesurée en vous technique donnée en annexe. 2 température de 9) Donner les mots codgs en binaire, et en hexadécimal, correspondants 4 une Femperat °C. le durant une semaine). et de -5. irée lors d’une absence du domi #7 °C (température dé 10) Indiquer la plage de mesure, la résolution, et le nombre de bits tilisés pour restituer la ‘mesure, Quelle est I'erreur de mesure indiguée par le constructeur ? Conclure. 11) Quelle est la durée de conversion de ce eapteur ? 12. Le propriate du domicile souhaite étre avert lorsque la température devient inférieure & la température limite basse TL et, lorsque la température devient supérieure 4 la limite haute TH. Pour ce faire, deux diodes électroluminescentes (Panasonic semiconducteur LN88RPX et LN28RPX), placées prés du capteur, et respectivement orange et rouge, doivent s"allumer en eas de franchissement de ces seuils. Nous précisons la tension de seuil des deux diodes VF If ainsi que leurs 20mA courants nominaux : VE=2.2 VI ire pour allumer ces deux diodes compte tenu Une amplification en courant est nécess des eourants de sortie du DS1620. Proposer un schéma de cablage a base de transistors Joites dont les caractéristiques sont les suivantes : amplification en courant B Vet tension émetteur-base 50, tension de saturation collecteur-émetteur Versi Vae= 0.6 V. Proposer un schéma complet de cablage, et conforme au cahier des charges. Toutes les valeurs et choix de composants devront étre justfigs. 13) Quelle est I'utilité de la sortie Teom ? ‘conn ae Concaner ema! components IEE COVER fom 2.7V 4g Measuns in 0.5% EMPTIES om increments: Fat 67"F 10 +2575p ng ete SC ro +125%0 equivalent is mos aomolatile Data is read from/writen via 3 interice (CLK. vg. ist ‘plications ‘include thermostatic ‘controls, Settings are user definable and * Spin DIP oF SOIC (208-min, packages DESCRIPTION DS1620 Digital The jeter and a On Thenaosiat PIN ASSIGNMENT | ORT ier, exo Toe DS1H205 8. SOIC 208) ‘See Mech Drang Sin hoe 2 none Bo due Vio Tox Tom Tenn 51820 Pa DIP Goma) See Mech Drawings Section PIN DESCRIPTION DQ *[Link] InpuvOutput CUCERT «3. Cok tne snd Stand-alone Conver pat - «a. xD“ Grona Tinos - High Temperature Trigger Foe “Lon Tapers he Teoas ~HighLow. Combination Trigger Vou Power Spy elas $1620 Digital Thermometer and Thermostat provides 9-bit fempeature readings which indicate emer Avice With thre themal alam oupus, te DSH620 enna 4 & a thermostat Tin is driven high ifthe DS1620's temperate is erate thon salto user-defined temperature or 01204 ‘Seon ae CanScaner i620 ie — Table Table3 descrites the exact ‘elation of cup data vo measured temperature. TEMPERATURE/DATA RELATIONSHips Table 3 RA DIGITAL ovTPUT |} DIGITAL OUTPUT (inary) f —Onine S000 0000000 0 coN0000 ma Tesolutions may be obtained by reading the temperature, and truncating the 0.5°C bit (the LSB) rom the read Value. This value is TEMP_READ. The value left inthe counter may then be read by eaten READ COUNTER command. This value is the count remaining (COUNT_REMAIN) after the Rea aot has ceased, By loading the value of the slope accumulator into the count register (using the READ SLOPE Command), this value may then be read, yielding the number of counts per degree C (CUNT PAPC) a:tt tonpeidien poo Actual temperature may be then be calculated by the user using the Following: TEMPERATURE-TEMP_READ.0.25 + (COUNT_PER_C-COUNT. REMAIN) -MP_READ-0.25 + (COUNT.PER_C-COUNT_REMAIN) COUNT PERC OPERATION-THERMOSTAT CONTROLS Three themmally triggered outs, Trac, Thon, and Toya provided to allow the DS1620 to be used as athenmesta. a show in Figure 3. When the DS1620's temperature mets or exeeds the value stored in the high temperature trip register, the output Tyyau becomes active (high) and remains active until the DS1620's measured temperate becomes less than the stored value inthe igh temperature register, TH. The Tiucy output can be used to indicate that a high temperature tolerance boundary has been met or exceeded, ot can be used as part ofa closed loop system to activate a cooling system and deactvae it when the system temperature retums to tolerance, DS1620's measured temperature The Trow output functions similarly to the Tica output. When the the Tow output becomes active equals or falls below the value stored in the low temperature register, Tow remains active until the DS1620’s temperature becomes greater than the value stored in the low temperature register, TL. The Tiow output can be used to indicate that a low temperature tolerance boundary has been met or exceeded, or as part of a closed loop system it can be used to activate a heating system and deactivate it when the system temperature returns to tolerance, i H, and will stay high until it goes high when the measured temperature meets or exceeds TI stay high unt Heatran a below TL, In this way, any amount of hysteresis can be obtained, ‘Seon ae CanScaner psie20 TL TH Teo) OPERATION AND CONTROL The DS1620 must have temperature settings resident in the TH ‘operation. A configuration/status register also determines the method use in a particular application and indicates the status of the temperature conversion ops ‘configuration register is defined as follows: and TL registers for thermostatic ‘of operation that the DS1620 will eration. The ‘CONFIGURATION/STATUS REGISTER pone | tH | mir | wwe | 1 o | cu | isxor where DONE = Conversion Done Bit, [conversion complete, O=conversion in progress. The power-upPOR state isa 1. THE = Temperature High Flag. This bit wll be set to 1 when the temperature is greater than or equal to the value of TH. I will remain 1 until reset by writing 0 into this location or by removing power from the device. This feature provides a method of determining if the DS1620 has ever been subjected to temperatures above TH while power has been applied. The [Link] state is 20. TLE = Temperature Low Flag, Tis bit will be set to I when the temperature is less than or equal to the value of TL. It will remain 1 until reset by writing 0 into this location or by removing power from the device. This feature provides a method of determining if the DS1620 has ever been subjected to temperatures below TL while power hasbeen applied. The pover-upPOR states 0 NVB_ = Nonvolatile Memory, Busy Flag, I=write to an E? memory cell in progress. O=nonvolatile ‘memory is not busy. A copy to E*may take up to 10 ms. The power-up/POR state is a0. CPU = CPU Use Bit. IF CPU0, the CLK/CONYV pin acts as w conversion start control, when RST is ow. If CPU is 1, the DS1620 will be used with a CPU communicating toi over the 3-wie port, and the the CLK/CONV pin is as a normal clock in concert with DQ and RST. This bit is stored in operation o E’ memory, capable of at least. 50,000 writes. The DS1620 is shipped with CPU=0, nonvolatile Sof 12 ‘Seon ae CanScaner

Vous aimerez peut-être aussi