Enhancing ARM core capability using PSoC5

DOI : 10.17577/IJERTV1IS5148

Download Full-Text PDF Cite this Publication

Text Only Version

Enhancing ARM core capability using PSoC5

International Journal of Engineering Research & Technology (IJERT)

ISSN: 2278-0181

Vol. 1 Issue 5, July – 2012

Bhargav C. Goradiya1, Dr. H.N. Pandya2

Associate prof. & Head ET department BVM Engg. College, Vallabh Vidyanagar, Gujart, India. 1

Professor & Head department of Electronics saurashtra university. Rajkot, Gujartat, India. 2

Abstract

ARM core is being utilized by the different manufacturers for the different applications. Here we are suggesting Cypress make PSoC5 consisting ARM core for enhancing the power of mixed signal processing. In this paper we are presenting the effective signal conditioning using Programmable System on Chip PSoC5. PSoC5 is highly enhanced ARM core architecture which consists of various analog and digital blocks. As the trend is to conserve the power in any application PSoC5 provides custom on and off of the block or the modules which are in use & thus offer better power saving feature. In this paper we are showing real time temperature monitoring and data logging application based on programmable system on chip with ARM core. The design can be used for the patient monitoring and history analysis. Even it can be used for data acquisition system for multiple sensors for industry.

  1. Introduction

    ARM core is being enhanced by different vendors; Cypress has come up with the CY8CKIT001 development kit which consists of PSoC CY8C55 (PSoC5) family processor module as one of the option. PSoC5 comprises 32-bit ARM Cortex M3 core running at 80MHz with integrated USB device support, analog and digital blocks, and in-system debugging capabilities.

    Real time monitoring of various parameters are really essential for bio-medical analysis and to avoid catastrophic action in industry. Parameters can be Temperature, Pressure, Speed, Flow etc; which needs to track for the smooth conduction and at times for taking corrective measures. Mainly design involves selection of the sensors, signal conditioning, A to D conversion and display and monitoring of the data on the central computer.

    We propose a design of real time temperature monitoring and data logging based on PSoC5 with ARM cortex-M3 core. Design usually required interfacing different analog and digital block which requires multiple chips and their power, speed issues. PSoC5 gives a single chip solution with selectable modules controls the on/off of the module and thereby power efficient. Apart from that system is more reliable and gives flexibility of design. The same design can be duplicated for other parameters like pressure, flow, speed etc; even for multiple sensors and data acquisition systems.

  2. Hardware design of the system

    The temperature measurement system requires a transducer to convert temperature into an electrical signal. There are different kinds of

    temperature sensors available we are using LM35 it can be easily replaced by the different sensor as per the need of the application. The sensor module is connected with prototyping breadboard of the development kit.

    The block diagram of the system is shown in figure 1. It is consisting of sensor module, the output of the sensor module is directly connected to (PSoC5 selectable) signal conditioning, the amplified signal is then converted to digital format with help of ADC

    Figure 1 System block diagram

    (sigma delta) then the converted digital data is processed by the ARM cortex M3 core. The processed output equivalent to the temperature is given to display and also made available to central computer through USB-UART converter. The hardware setup is shown in figure 2.

    Figure 2. Snap shot of hardware setup

    The tool which is used to work with PSoC5 is PSoC Creator which provides IDE for the Cypress make PSoC. The actual hardware is to select from the available modules and top diagram schematic is to develop. System schematic is shown in figure 3. For individual block like PGA, ADC etc; parameter setting is to be done as per the requirement. Once the parameters set the module behaves as per the properties set in the module. Here for the design pin 1 is connected with the output of the temperature sensor and pin 2 is connected with the ground for the reference of inverting amplified.

    Figure 3. Hardware diagram Schematic

    After the schematic is prepared pin assignment is to be done, this pin assignment will actually map the input output of the system with the pins of ARM core. The pin view is shown in figure 4.

    Figure 4. Pin view

  3. Firmware

    The firmware for the system is implemented on PSoC5 using ARM Cortex-M3 controller programming instruction set. The system component required in the system must be configured first by the software initialization by the various parameters passing and calling appropriate routine. The selected block of the PSoC chip must be turn on by activating power source which is controlled through instructions. The flowchart of the system firmware is shown in figure 5.

    The firmware starts with initializations of the PSoC5 digital and analog block. After initialization of the block the individual component is required to make powered, which is done

    through PSoC API functions. The algorithm continuously checked whether data available from ADC output. If data are available from the ADC data are displayed on the LCD display.

    The acquired data is transmitted through a USB to UART converter module interface to PC. The data received on pc can be captured on GUI based terminal software which is available as open source. The baud rate for UART module in the PSoC is set to 9600 bps and one stop bit. However the baud rate can be change for other setting requirement in the PSoC UART module. The received data on pc can be stored in a file in data recording. The snap shot of the terminal software is shown in figure 6.

    Figure 5 Flow chart

    Figure 6 Terminal software snap

    The received data recorded in a log file can be used for history analysis and to take corrective measures. Figure 7 shows the log file for terminal which indicates the data recorded for a period of time.

    Figure 7 Terminal Log file Snap

  4. Scope & Future work

    The design proposed with PSoC5 having ARM Cortex m3 core can be easily used for industrial and bio-medical applications. There is enormous scope of such kind of design which consumes less power, cost effective and faster. As the block which are available in PSoC are having custom on/off facility it is really power efficient.

    The data received on the computer through terminal software can be analysed further for various off-line processing like plotting & storing of data.

    The design based on ARM can be easily extended for multiple sensors as PSoC5 supports multiple inputs sensing capability. Data Acquisition

    System can be implemented for multiple inputs by utilising the needed block of PSoC5.

  5. Conclusion

    The design based on PSoC5 ARM core is more reliable and consuming less power compared to other ARM core because of its reconfigurable analog & digital blocks, ARM core with System on Chip is the need of the time. Unlike the other ARM core PSoC5 ARM core offers best flexibility in terms of Speed, Power and Cost.

  6. References

  1. D. Patel, J.Shukla, B. Goradiya Multichannel Temperature monitoring using ARM controller for wearable medical systems. IJ CA ETS Volume 4 Issue 1, Jan 2012. ISSN 0974-3596

  2. D. Patel, B. Goradiya Real time pressure measurement systemwith PSoC IJ-ETA-ETS volume 4 Issue 1 JAN 2011. ISSN 0974-3588

  3. D. Patel, T. Pawar, K. Patel and A. Bamaniya, A single-sensor chip based solution for monitoring body temperature in real time for wearable health monitoring, in proceedings of International Conf. on Signals Systems and Automation-2009, V.V. Nagar, Gujarat, India, Dec. 2009.

  4. Cypress Semiconductor. PSoC5: CY8C55 family data sheet.

  5. Cypress PSoC Creator 1 Manual from Cypress.com

  6. Operational Manual of the Cypress CY8CKIT001 development kit

  7. Application note from cypress.com on AN58304 – PSoC® 3 and PSoC 5 – Pin Selection for Analog Designs

  8. Application note from cypress.com on AN77900 – PSoC® 3 and PSoC 5 Low-power Modes and Power Reduction Techniques

Leave a Reply