1、PDF外文:http:/ 2460 字 毕业设计(论文) 外文翻译(原文) AN EMBEDDED SINGLE CHIPTEMPERATURE CONTROLLER DESIGN J. Jayapandian and Usha Rani Ravi Design Development & Services Section, Materials Science Division Indira Gandhi Centre for Atomic Research, Kalpa Kama 603 102. Tamil Nadu. India ABSTRACT This
2、 paper describes a single chip embedded temperature controller design programmed in a single Programmable System on Chip (PSoC);a mixedarray logicconsists of analog,digital and digitalcommunication blocks within in it.Thevirtual instrument controlprogram written in Labview ver.7.1,a graphical langua
3、ge,provides user friendly menudriven window based control panel,interacts with the single PSoC chip design for sensingand controlling the temperature.This simplecost effectiveembedded design findspotential application in laboratory as well as in industries.This deign can also be made as a standalone
4、 system without PC by programming LED/ LCD display and key padattachment modules in same PSoC chip. 1. INTRODUCTION The advent of intelligent programmable embedded silicon designs provides the ability to implement anyrequired hardware programmatically for the design automationin industries and labor
5、atories.Recent trend in laboratory as well as in industrial automation designs usesminimal hardware and maximum support of software.Theprogrammableembeddedcomponents and application software available in the market enables the designer for userfriendlycost effective design solution for any system au
6、tomation.Temperature controllersare playing vital role in industries and laboratories.To accurately control process temperaturewithout extensive operator involvement,atemperature control system relies upon a controller,which accepts a temperature sensor such as a thermocouple or RTD as input.It comp
7、aresthe actual temperature to the desired control temperature,or set point,and provides an outputto a control element.The controller is one of the major parts of the entire control system,and the whole system should be analyzed in selecting the proper controller.This paperdescribes a novel single ch
8、ip temperature controller design with Cypress MicrosystemsProgrammable System on Chip (PSoC).Virtual instrument control program written in LabVIEWver.7.1 interacts with the embedded PSoC design and senses and controls the temperature offurnace / load. 2. PROGRAMMABLE SYSTEM ON CHIP (P Soc) While San
9、dinexpensiveinterface tosensors,andmore.CypressSystem-Chip(PSoC)architectureoffers a flexible,economical solution for a wide variety of applications.This paperdescribes the design of a temperature controller on a single CY8C27143,8 pin PSoC chip.Asshownin fig.1,it features four main areas:PSoC core,
10、digitalsystem,analog system,andresources including in/out ports. This architecture allows the user to create customize Alpheratz configurations thatmatch the requirements of each individual application.The UARTinterface, coupled with configurable analog and digital peripherals makes the CY8C27143 tr
11、ulyuniversal in its connections to the external world.The PSoC core includes:an M8Cmicrocontroller;32KBytes of program flash memory;2Kbyteof data RAM;internal 24 oscillator;sleep and watchdog timer;general-purpose input/outputpins (GPIO) allowing anypin to be used as digital input or output,and most
12、 pins to be used as analog inputs or outputs.Every pin can be used as a digital or analog interrupt.The digital system is made up of 8digital PSoC blocks.Each block is an 8-bit resource that can be used alone or combined withother blocks to form peripherals.Possible peripherals include:PWMs (8- to 3
13、2-bit);PWMswith dead band (8- to 24-bit);counters (8- to 32-bit);UART 8-bit with selectable parity;SPImaster and slave;cyclical redundancy checker/generator (8- to 32-bit);pseudo randomsequence generators (8- to 32-bit).These digital blocks can be connected to any of the GPIOthrough a series of glob
14、al buses.These buses also allowforsignalmultiplexing and performinglogic operations.The analog system is made up of12configurable blocks,each comprisinganopamp circuit allowing the creation of complex analog signal flows.Analog peripheralsarevery flexible and can be customized to support specific ap
15、plication requirements.Someof the more common PS0C analog functions are:filters (2and4 pole band-pass,low-pass,andnotch); amplifiers (up to 2,with selectable gain to 48x);instrumentation amplifiers (1with selectable gain to 93x); comparators (up to 2, with 16 selectable thresholds);DAC (upto 2, with
16、 6to 10-bit resolution); and SAR ADC (up to two,with 6-bit resolution).Incombination with the digital blocks,additional functions can be created, including: incrementalADCs (up to 2, with 6- to 14-bit resolution); delta sigma ADC (1,with 8-bit resolution at62.5ksps).Theadditionalsystemresourcesprovi
17、deadditionalcapability useful for the completesystem design. . Fig. 1 : Block diagram of Programmable System on Chip (PSoC) internal blocks 3. VIRTUAL INSTRUMENT PROGRAM Virtual instrument (VI) is an application of general purpose digital PCs for the measurementand control of various physical
18、variables.The VI program mimics the control processes,whichare in a remote area,on the PC screen.On-going process control automation can be visualizedby the experimentalist through PC screen.VI program provides inexpensive and yet a powerfulplatform for the control and data acquisition of process va
19、riables.These programs are easyto implement with graphic languages (G-language).The “G” language implements the dataflow technique.The usage of “G” language provides easy interfacing with PCs under theWindows environment 2. The “G” language provides built-in function libraries for a varietyof applic
20、ation requirements as graphic palettes, which in turn supports the required DLLs forthe functions to run under windows environment.Usually the “G” language VI programs consistof two frames viz.,panel diagram and functional diagram.In the panel diagram,programmers can assign various controls and indi
21、cators (i.e., input and output variables).their requirements and in the functional diagram, the designers can implement the required. Fig. 2 : PSoC designer screen for single chip temperature controller Functions available as a function library in Lab.National Instruments version7
22、.1 incorporates all the necessary functions as icons in its package. 4. PSoC SINGLE CHIP TEMPERATURE CONTROLLER DESIGN Fig.2shows the PSoC designer screen for the embedded single chip temperature controller design project 1.Left side of the screen shows the settingsof global resource and user module
23、 parameters along with pin connectivity.Middleportion of the screen shows the analog and digital blocks user module placement.Top portionof the screen shows the selected user modules for this project.Right side of the screendescribes the pin connectivity configured in the design.In this novel single
24、 chip design,thermocouple (TC) signal has been amplified by a programmable gain amplifier (PGA) placedin the PSoCs analog block.The amplified TC signal has been fed in to a 12 bit Analog-todigital(ADC) user module programmed in the PSoC chip, which includes both analog anddigital blocks for its func
25、tionality by PSoC designer programming.The converted digital dataof the TC signal has been fed to the UART user module for serial communicationwith Personal Computer.The UART user module placed in the chip,automatically getsplaced in two digital blocks of PSoC chip,transmitter (TxD) and receiver (Rx
26、D) for PCs serialcommunication.A pulse width modulator (PWM),placed in the PSoC digital block,sets aserial pulse width modulated TTL pulses in response to the PID control function for thedeviation in set and measured temperature.This will in turn controls the optically coupledsolid state relay (SSR) driving the AC