background image

 

 

PSoC

®

 Thermal Management Expansion Board Kit Guide, Doc. No. 001-89649 Rev. ** 

19 

3.4   Diode Analog Temperature Sensors 

The  CY8CKIT-036  EBK  has  two  transistors  connected  in  the  diode  configuration  that  can  be  used  for  temperature 
measurement. This section briefly describes the principle behind diode temperature measurement. 

The following equation gives the current 

  

, through a forward-biased diode: 

        

 

  

 

   

 

Equation 1 

Where: 

 

 

is the diode-forward voltage drop 

 

 

 

is the reverse saturation current  

 

 

is  a  constant  (called  ideality  factor)  that  has  a  value  between  1  and  2,  depending  on  the  material  and  the  physical 

structure of the diode 

 

  

 

is the thermal voltage given by the equation: 

 

 

   

  

 

  

Equation 2 

Where: 

 

 

is th

e Boltzmann’s constant 

           

   

               

  

 

 

is the absolute temperature in Kelvin  

 

 is the magnitude of electronic charge 

            

   

         

 

By  passing  two  currents  I1  and  I2  and  measuring  the  respective  voltages  V1  and  V2,  the  temperature  can  be  calculated 
using the following equation: 

               

 

 

   

 

       

   

  
  

 

 

 

Equation 3 

 

For details on interfacing with a diode temperature sensor using various PSoC devices, read the following application notes: 

 

AN78920 

– PSoC 1 – Temperature Measurement Using a Diode

 

 

AN60590 

– PSoC 3, PSoC 4 and PSoC 5LP – Temperature Measurement with a Diode

 

The  code  examples  in  the  application  note  use  an  external  calibration  resistor  for  measuring  the  current  ratio  accurately. 
The calibration resistor is not part of CY8CKIT-036 and needs to be connected externally on the PSoC DVK used. Refer to 
the respective PSoC application notes for the value of the calibration resistor and for connection details. 

3.5   One-Wire Temperature Sensor 

The CY8CKIT-036 EBK has an onboard Maxim DS18S20 one-wire, high-precision digital temperature sensor. The one-wire 
interface  is  a  bidirectional,  half-duplex,  serial  signaling  protocol  designed  by  Dallas  Semiconductor.  This  compact 
communication interface for ICs does not require high-speed communication. It uses a single wire for reading and writing, 
and has no clock signal. One-wire devices have the ability to operate in parasitic mode, in which the connected devices can 
draw  power  from  the  one-wire  bus  itself.  A  one-wire  interface  is  relatively  slow,  with  a  typical  data  rate  of  16  kbps.  It  is 
perfect for slow sensors, such as thermometers, that do not need to be polled frequently. 

For  using  PSoC  1  to  interface  with  a  one-wire  temperature  sensor,  refer  to  the  application  note: 

AN2163 

– Interfacing to 

One-Wire/Two-Wire  Digital  Temperature  Sensors  Using  PSoC  1

.  Currently,  there  is  no  support  for  one-wire  temperature 

sensors  in  the  PSoC  Creator  IDE  for  PSoC  3,  PSoC 4,  or  PSoC 5LP  devices.  Contact  Cypress  Technical  Support  if  you 
need one-wire temperature sensor support for these PSoC devices. 

 

 

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Содержание CY8CKIT-036

Страница 1: ...ermal Management Expansion Board Kit Guide Doc No 001 89649 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 1 800 858 1810 Phone Intnl 1 408 943 2600 www cypress com Downloaded from Arrow com ...

Страница 2: ...OR A PARTICULAR PURPOSE Cypress reserves the right to make changes without further notice to the materials described herein Cypress does not assume any liability arising out of the application or use of any product or circuit described herein Cypress does not authorize its products for use as critical components in life support systems where a malfunction or failure may reasonably be expected to r...

Страница 3: ...rs 13 2 3 1 I 2 C Temperature Sensor 13 2 3 2 PWM Output Digital Temperature Sensors 13 2 3 3 One Wire Digital Temperature Sensor 14 2 3 4 Diode Analog Temperature Sensors 14 2 4 Communication Interface 14 2 5 CY8CKIT 036 EBK 2x20 Pin Header 15 2 6 CY8CKIT 036 EBK Headers and Jumpers 16 3 Kit Operation 17 3 1 System Block Diagram and Theory of System Operation 17 3 2 Four Wire Fan Control 17 3 3 P...

Страница 4: ...oc No 001 89649 Rev 4 A Appendix 21 A 1 Schematics 21 A 2 Board Layout 25 A 3 Bill of Materials 27 4 Revision History 29 Document Revision History 29 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com ...

Страница 5: ...e factory default may affect its performance and cause interference with other apparatus in the immediate vicinity If such interference is detected suitable mitigating measures should be taken The CY8CKIT 036 contains electrostatic discharge ESD sensitive devices Electrostatic charges readily accumulate on the human body and any equipment and can discharge without detection Permanent damage may oc...

Страница 6: ...high rotational speeds 30 000 revolutions per minute or RPM and the motors can provide significant torque The blades on this type of fan are often deeply angled and large enough for a finger to penetrate This can cause a lot of pain if the finger accidentally comes into contact with the fan blade Under no circumstances should the user attempt to stop or slow down the fan using a finger or any othe...

Страница 7: ...t CY8CKIT 036 EBK includes Thermal Management Expansion Board Quick Start Guide Power DC Adaptor 12 V 2 A 1 2 Getting Started This section provides details on the hardware requirements software requirements and associated application notes for using CY8CKIT 036 with various PSoC devices Refer to the kit webpage www cypress com go CY8CKIT 036 for the latest information on using CY8CKIT 036 with var...

Страница 8: ...CKIT 036 Hardware Requirement PSoC Device Hardware Requirement PSoC 1 CY8CKIT 001 PSoC DVK fitted with a PSoC CY8C28 Family Processor Module PSoC 4 CY8CKIT 042 PSoC 4 Pioneer Kit fitted with a CY8CKIT 019 Pioneer to EBK Shield PSoC 3 CY8CKIT 001 PSoC DVK fitted with a PSoC CY8C38 Family Processor Module Or CY8CKIT 030 PSoC 3 DVK PSoC 5LP CY8CKIT 001 PSoC DVK fitted with a PSoC CY8C58LP Family Proc...

Страница 9: ...nd includes a full set of dynamically generated API libraries After the PSoC system has been configured firmware can be written compiled and debugged within PSoC Creator or exported to top IDEs from IAR Keil and Eclipse Download the latest version of PSoC Creator software from www cypress com psoccreator PSoC Designer is an IDE that allows concurrent hardware and application firmware design of PSo...

Страница 10: ...C 5LP AN66627 PSoC 3 and PSoC 5LP Intelligent Fan Controller 1 3 Technical Support For assistance visit Cypress Support or contact customer support at 1 800 541 4736 Ext 8 in the USA or 1 408 943 2600 Ext 8 International 1 4 Document Conventions Table 1 3 Document Conventions for Guides Convention Usage Courier New Displays file locations user entered text and source code C cd icc Italics Displays...

Страница 11: ... a one wire temperature sensor The kit also provides sockets for plugging in additional four wire fans an I 2 C SMBus PMBus port for connecting to an external host and a 2x20 pin connector for connecting the EBK to one of the PSoC development kits Figure 2 1 CY8CKIT 036 EBK Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow...

Страница 12: ...aders both 2 54 mm and 1 25 mm and the color coding of the wires used for connecting the two fans on the kit to these headers Table 2 1 Fan Connector Pinouts Pin Number Name Colors Description 1 GND Black GND 2 POWER Red 12 V DC power 3 TACH Yellow Frequency generator signal 4 PWM Blue PWM control signal The fans require a 12 V power supply and usually take about 0 5 A of input current The CY8CKIT...

Страница 13: ...M signal is proportional to the ambient temperature measured by the device The TMP05 sensor has a two pin interface The CONV IN input pin when pulsed by PSoC initiates a new temperature measurement The output OUT pin provides a PWM signal and the logic high duration logic low duration of the PWM signal is used to determine the ambient temperature The TMP05 sensors support a daisy chain mode of ope...

Страница 14: ...he datasheet which is available on the manufacturer s website or on the kit webpage 2 3 4 Diode Analog Temperature Sensors The CY8CKIT 036 EBK has two onboard MMBT3904 transistors for temperature measurement MMBT3904 is a bipolar junction transistor BJT designed as a general purpose amplifier and switch The useful dynamic range extends to 100 mA as a switch and to 100 MHz as an amplifier For measu...

Страница 15: ...current source TD I 21 22 TD K Temperature diode cathode Temperature diode anode TD A 23 24 1 WIRE One wire temperature sensor I2 C temperature sensor output T SDA 25 26 T SCL I2 C temperature sensor clock PWM temperature sensor output P OUT 27 28 P IN PWM temperature sensor input Analog ground AGND 29 30 NC Reserved RESV 31 32 SM ALT Alert signal I2 C SMBus PMBus Serial data I2 C SMBus PMBus SM S...

Страница 16: ...pplies 12 V power ground PWM drive and tachometer feedback All signals are replicated on J4 Connected to Fan 1 J8 Four pin header 2 54 mm pitch to connect Fan 2 Supplies 12 V power ground PWM drive and tachometer feedback All signals are replicated on J5 Connected to Fan 2 J9 Three pin header for fan power supply Place in 1 2 position to source external power from the power jack J13 place in 2 3 p...

Страница 17: ...ontribute to the fan s capability to move air With four wire fans speed control is made possible through the use of a PWM control signal Increasing the duty cycle of the PWM control signal will increase fan speed Fan manufacturers specify how the PWM duty cycle relates to nominal fan speed This is provided either through a table of data points or a graph that shows the relationship Figure 3 1 show...

Страница 18: ...and PSoC 5LP Intelligent Fan Controller These application notes provide example projects that demonstrate different usage modes of four wire fan control In addition they include a thermal management example project that uses the temperature sensors on the CY8CKIT 036 EBK to control the speed of the fans associated with a thermal zone 3 3 PWM Output Digital Temperature Sensor There are two PWM outp...

Страница 19: ...alue of the calibration resistor and for connection details 3 5 One Wire Temperature Sensor The CY8CKIT 036 EBK has an onboard Maxim DS18S20 one wire high precision digital temperature sensor The one wire interface is a bidirectional half duplex serial signaling protocol designed by Dallas Semiconductor This compact communication interface for ICs does not require high speed communication It uses ...

Страница 20: ... contains the fractional part of the temperature value Refer to the TMP175 datasheet for details on the output format configuration options and electrical specifications The thermal management example projects provided as part of the four wire fan control application notes listed in the Four Wire Fan Control section have the firmware code to interface with a TMP175 temperature sensor Downloaded fr...

Страница 21: ...G GND DIGITAL GND TP1 TP3 TP2 TP4 TP6 TP5 Default VDD12 VDD12_EXT Default VDDIO VDD3P3 VDDIO C10 10u Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fr...

Страница 22: ..._PWM F4_TACH F4_PWM F4_VDD12 VDDIO J12 1 25MM PITCH 1 1 2 3 4 PWM4 C19 0 1u C16 0 1u F1_DGND F1_VDD12 F1_TACH F1_PWM VDDIO J4 1 25MM PITCH 1 1 2 3 4 PWM1 C20 0 1u C13 0 1u R6 0 VDDIO SM_GND SM_ALT SM_SCL SM_SDA J1 I2C SMBus Port 1 2 3 4 5 SMBUS_ALERT_n SMBUS_SCL VDDIO SMBUS_SDA Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from A...

Страница 23: ..._SCL I2C TEMP_SDA C2 0 1u Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded...

Страница 24: ... from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arro...

Страница 25: ...from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow...

Страница 26: ... from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arro...

Страница 27: ...AGEO RC0402FR 0710KL 14 2 2K ohm 1 1 16 W 0402 _ R2 R3 2 2 2K YAGEO RC0402FR 072K2L 15 4 7K ohm 1 1 16 W 0402 R4 R7 R8 R9 R10 5 4 7K YAGEO RC0402FR 074K7L 16 1K ohm 0 1 1 16 W 0402 _ R5 1 1K SAMSUNG RG1005P 102 B T5 17 0 ohm jumper 1 10 W 0603 _ R6 R11 2 0 ohm WALSIN WR06X000 PTL 18 Digital temperature sensor with two wire interface U1 1 TMP175 Texas Instruments TMP175AID 19 High precision 1 wire ...

Страница 28: ...m Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Download...

Страница 29: ...om Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow c...

Отзывы: