The PSoC Thermal Management Expansion Board Kit (EBK) is a part of the PSoC development kit ecosystem and is designed to work with the CY8CKIT-001 PSoC Development Kit (DVK) and CY8CKIT-030 PSoC 3 Development Kit (DVK). It enables you to evaluate a system’s thermal management functions and capabilities of PSoC 3 devices.
Features Features The PSoC Thermal Management EBK is intended to provide a demonstration and development platform for developing system environmental management co-processor solutions with compelling example projects that demonstrate a variety of modes: Temperature monitoring Independent and closed-loop fan controls Thermal-management specific communications Thermal zone management—the relationship between temperatures and cooling functions Algorithms to detect thermal and cooling failures or warnings.
System CD-ROM containing: User Guide PSoC Creator and prerequisite software PSoC Programmer and prerequisite software PME Example firmware For the CY8CKIT-001 DVK Firmware based (open loop) Fan Control Hardware based (closed loop) Fan Control Thermal Management System For the CY8CKIT-030 DVK...
Figure 1-2 TME kit package contents PSoC Creator PSoC Creator Cypress's PSoC Creator software is a state-of-the-art, easy-to-use integrated development environment (IDE) that introduces a game-changing, hardware and software design environment based on classic schematic entry and revolutionary embedded design methodology.
Chapter 2 TME Board Architecture This chapter provides information about architecture and block diagram of the TME board. Layout and Components Layout and Components The picture of the TME board is shown in Figure 2-1 Figure 2-2. It depicts the layout of the board and indicates the locations of the connectors and key components.
Figure 2-2 The TME Board PCB and component diagram (bottom view) Block Diagram of the TME Board Block Diagram of the TME Board Figure 2-3 shows a functional diagram of the PSoC Thermal Management solution. This solution enables control of up to 16 4-wire fans through CPU based firmware control (open-loop), hardware control (closed-loop) all as a function of system temperatures (f(T)), all on a single chip.
Page 10
A 40-pin connector is provided on the EBK to route the input/output signals for thermal management control to the PSoC on the host development board (such as the CY8CKIT-001 or CY8CKIT-030). This connector carries power, fan PWM control and tachometer data lines, analog and digital temperature sensor signals.
Page 11
The demonstration projects included with this kit show I2C digital temperature sensing and diode analog temperature sensing (simulated via a potentiometer). The remaining components are described in Cypress’s Application Notes and are referenced in the corresponding sections of this User’s Manual.
Chapter 3 Board Component This chapter describes the specifications of the components used on the PSoC Thermal Management EBK. 40-pin Connector(J14) 40-pin Connector(J14) The 40-pin interface (2×20 pin header) provides a mechanism to extend the peripheral-set of a PSoC host board by means of a general purpose input output connector. Figure 3-1 shows the pin names defined on the GPIO connector (J14) on the Thermal Management EBK.
Table 3-1 Pin assignments and descriptions on GPIO connector Pin Numbers Name PSoC Description TACH4 P1.7 Fan 4’s tach reading PWM4 P1.6 Fan 4’s PWM signal TACH3 P1.5 Fan 3’s tach reading PWM3 P1.4 Fan 3’s PWM signal TACH2 P1.3 Fan 2’s tach reading PWM2 P1.2...
Page 14
Dual modes for PWM Temperature Sensor. Place jumper in 1-2 position to enable Dual PWM mode. 3 pin header for VDDIO power jumper. Place 2-3 position in 1-2 to VDD5. Place in 2-3 position to VDD3P3 4 pin header (1.25mm pitch) to connect Fan 1 Not connected –...
Page 15
This kit is compatible with both the PSoC Development Kit - CY8CKIT-001B and the PSoC 3 Development Kit – CY8CKIT-030. Note early revisions of the PSoC Development Kit (CY8CKIT-001 or CY8CKIT-001A) contained an early engineering release of the PSoC CY8C38 Device Family Processor Module (ES2) which is not compatible with the example projects that accompany this kit.
40-pin header to the sensors on the EBK. TMP05 Module Connection Cypress’s Application Note AN65977 – “Interfacing to a TMP05/06 Digital Temperature Sensor with PSoC 3” describes in detail how to interface to digital sensors that encode the measured temperature into a pulse-width-modulated (PWM) signal.
100mA as a switch and to 100MHz as an amplifier. The de lta Vbe method described in Cypress Application Note AN60590 – “Temperature Measurement Using Diode” can be used in this design. Refer to that application note for the theory of operati on and relevant mathematical equations.
Figure 3-5 Diode Analog Temperature Sensor 4-Wire Fan Socket 4-Wire Fan Socket The TME board provides four industry standard 4-wire interface connectors, and two AVC DC fans. The fan speeds are controllable up to 13,000 RPMs via PWM control, with frequency generator signal output to calculate actual fan speeds or the tachometer reading.
Page 19
Figure 3.7 Block diagram of Fan Controller...
This demonstration shows how to use the PSoC kit to control the TME board. System Requirements System Requirements The following items are required for the TME demonstration: CY8CKIT-001 PSoC Development Kit or CY8CKIT-030 PSoC 3 Development Kit TME board DC 12V/2A Power Adapter (included with the TME kit) Software Installation...
Page 21
Follow the instructions to uninstall. Kit Compatibility This kit contains an expansion board and requires a Cypress host development board in order to use it. This kit is compatible with both the PSoC Development Kit - CY8CKIT-001B and the PSoC 3 Development Kit –...
Figure 4-2 CY8CKIT-001 PSoC DVK Breadboard 2. Set “VDD DIG” and “VDD ANLG” to 3.3V using SW3, J6 and J7: Figure 4-3 CY8CKIT-001 PSoC DVK Power Jumpers 3. Ensure that the LCD character display included with PSoC DVK is attached and that the LCD...
Figure 4-4 CY8CKIT-001 PSoC DVK LCD Power Jumper CAUTION: Do not attach the PSoC Thermal Management EBK to the PSoC DVK until you have programmed the PSoC with one of the example projects. Some of the GPIOs routed to the PSoC Thermal Management EBK are tied to ground and this could cause hard shorts on PSoC I/O pins if firmware previously programmed into PSoC drives those pins.
Closed-Loop Hardware Fan Control Thermal Management System The kit includes project workspaces for both the CY8CKIT-001 PSoC DVK and the CY8CKIT-030 PSoC 3 DVK. To begin, go to the Start Page in PSoC Creator and under the Examples and Tutorials section, expand The Kits and Solutions entry as shown below.
Figure 4-7 PSoC Creator Start Page The example projects will be displayed in the Workspace Explorer window as shown in the example below for the CY8CKIT-001 PSoC DVK: Figure 4-8 Workspace Explorer View Running the Example Firmware: CY8CKIT-001 Running the Example Firmware: CY8CKIT-001...
PSoC DVK. Once the PSoC DVK is powered and the PSoC firmware is running, PSoC may be re-programmed at any time without removing power from either board. Figure 4-9 CY8CKIT-001 PSoC DVK with PSoC Thermal Management EBK Connected to Port A...
6. Re-attach a USB cable from the PC to the PSoC 3 DVK Program/Debug USB port (use J1 - the USB connector closest to the corner of the board). 7. Going forward, every time PSoC is re-programmed, press the Reset (SW1) button on the PSoC 3 DVK to run the newly programmed firmware image.
The user can adjust the desired speed up or down in steps of 500 RPM by pressing buttons on the DVK as follows: CY8CKIT-001 PSoC DVK : SW1=Decrease Speed, SW2=Increase Speed CY8CKIT-030 PSoC 3 DVK: SW2=Decrease Speed, SW3=Increase Speed A firmware algorithm responds to changes in desired speed by adjusting the duty cycle for both fans and continuously works at fine tuning the duty cycle until the actual fan speeds approach the desired speed.
Page 29
Figure 4-12 Example1 Project Schematic The Fan Controller Component can be configured by double-clicking on it in the Top Level schematic for Example 1. This will open the customizer Basic Tab. For this example, ensure that the control mode is set to Fireware (CPU). Other options are not important for this example.
Page 30
Figure 4-13 Example1 Project Fan Controller Customizer – Basic Tab Click on the Fans Tab to setup the electromechanical properties of the fans installed on the PSoC Thermal Management EBK. The Min RPM, Min Duty (%) and the Max RPM, Max Duty (%) parameters are not intended to define the absolute upper and lower limits of fan operation or capability.
Page 31
Figure 4-14 Example1 Project Fan Controller Customizer – Fans Tab Firmware is able to control the fans using these provided Fan Controller Component APIs: FanController_Start() FanController_GetActualSpeed(FanNumber) FanController_SetDutyCycle(FanNumber,DutyCycle) The time taken to measure the actual speeds of each fan is long, particularly for slow rotational speeds.
Note: that the eoc signal in this project is also routed to a GPIO (P0.0) so that it can be observed on a scope or logic analyzer. 4.11 Overview of Example2 – Closed Loop Hardware Fan 4.11 Overview of Example2 – Closed Loop Hardware Fan Control Control The purpose of this example is to demonstrate the Fan Controller Component controlling the two...
4.12 Technical Details Example2 4.12 Technical Details Example2 The fan control portion of the Example 2 Top Level Schematic is shown below: Figure 4-16 Example2 Project Schematic Example 2 implements a hardware controlled closed-loop fan controller using the Fan Controller Component in Closed Loop control mode.
Page 34
Figure 4-17 Example2 Project Fan Controller Customizer – Basic Tab Once either of the Alerts has been enabled, the Fan Controller will assert the alert pin (high) when the enabled condition occurs (and for as long as it persists) on any of the fans. In this example, the alert pin has been tied to a standard ISR Component.
90% weight and the digital I2C temp sensor (U1 on the EBK) is given 10% weight. Adjust the potentiometer (R20 on the CY8CKIT-001 PSoC Development Kit and R56 on the CY8CKIT-030 PSoC 3 Development Kit) to vary the simulated temperature value in the approximate range of 15 to 100 degrees C.
Page 36
In this example, The LCD screen displays status information about thermal management system across 3 screes. The user can cycle through the status screens by pressing SW1 on the CY8CKIT-001 PSoC Development Kit or SW2 on the CY8CKIT-030 PSoC 3 Development Kit. The three screens are:...
1. Screen 1 - Zone 1 Summary This screen displays the current status of Zone 1. Line 1 displays the zone number, the current zone temperature and the zone temperature calculation algorithm used. Line 2 displays the desired fan speed and the actual fan speed. Figure 4-20 Example3 Screen 1 Display 2.
Page 38
The example projects provided use a custom PSoC Creator component that is not included with the standard PSoC Creator Software install. This component is the Fan Controller. More information and additional example firmware for this component is available in the following Application Note from Cypress: AN66627 - PSoC® 3 and PSoC 5 Intelligent Fan Controller...
Page 39
4.16 Using the Components in Your Own Projects 4.16 Using the Components in Your Own Projects The Fan Controller Component is provided in Library form so that you can easily add it to your own projects. To do so, you need to add the Library as a system dependency to your project. With your project open in PSoC Creator: 1.
Need help?
Do you have a question about the CY8CKIT-001 and is the answer not in the manual?
Questions and answers