TEMPERATURE MONITORING SYSTEM
TEMPERATURE MONITORING SYSTEM
Team work made this project a success
CONTENTS
OverviewStatement of needDesign goalsSystem structureDesign componentsArchitectureOverview of codeControl softwareFuture scope
OUTLINE :
MOBILE COMMAND POST•Mobile command system is the heart of the BrahMos missile system .•The MCP controls four missile launchers and has the capability to attach two more launchers incase the situation warrants.• There is a communication server provided to manage different types of communication media .•There is a communication rack consisting of TMS unit as its subsystem.
. Overview :
Temperature monitoring system is designed to collect the temperature data from eight different equipments positioned at different sites and send it to a single redundant host system consisting of main and standby systems, thereby providing an interface between external devices.
Can be used in an area where wide variety of equipments have to be connected to a single monitoring unit.
Different message formats and protocols of equipments can be converted into a unified message format using a single system.
Equipments with different baud rates can also be handled (from a baud rate of 9600 to 57600 bps).
It has a host-end redundancy technique for doubling the equipments from 8 ports to 16 ports.
APPLICATION
BASIC BLOCK DIAGRAM OF TMS
Host systemThis consists of mainly 2 systems, the main
system and the stand by system. This is the interface unit, called the Temperature
Monitoring System, in short TMS unit. It receives the temperature information available in various formats and protocols periodically, from different systems (temperature channels) like Rugged VME chassis, Rugged Flat-Panel Monitor and Routers.Equipments are observed here.
FUNCTIONALITY :
The equipments are the different type of systems which consists of sensor
There can be variety of equipments like RUGGED routers,Barco monitors, work station(VME Enclosure), etc.,
Equipments
An interesting thing is that our TMS unit can handle equipments of different codes of behavior. That is it can take temperature information from these equipments which may be of a variety of formats into a single accordance which is known by the host system that is agreed previously before hand.
TMS
Microcontroller (AT89C52)DUART (SCN2681)EPROM(27C256)RAM(6264)Decoder(LS139)Latch(54LS373)Current Driver(ULN2003)Optical isolator(MCT6X)Reset generator(DS1232)
DESIGN COMPONENTS
MICROCONTROLLER(AT89C52)
AT89C52
FEATURES
• 8-bit Micro-controller• ROM OF 8K(Flash)• Internal RAM of 256 byte •Thirty – two input /out put pins arranged • Four 8 bits ports: P0 – P3•Three 16 – bits timer/counters: T0, T1 and T2•Full duplex serial portOn chip oscillator
Dual Universal Asynchronous Receiver/Transmitter (DUART) is a single-chip MOS-LSI communication device that provides two independent full-duplex asynchronous receiver/transmitter channels in a single package
FeaturesDual full-duplex asynchronous
receiver/transmitter.Quadruple buffered receiver data registers.Programmable data format.– 5 to 8 data bits plus parity.
DUART(SCN2681)
Programmable baud rate for each receiver and transmitter selectable from
16-bit programmable Counter/Timer-External 1X or 16X clock.
– Odd, even, no parity or force parity
Erasable Programmable Read Only Memory (EPROM) is an ultraviolet erasable read only memory .
EPROM
Serial port connectionRS232 is a common interface standard for data communications equipment and is needed to ensure reliable communication and to enable the interconnection of equipment produced by
Decoder
The 74LS139 Decoder is used in TMS designed to be used in memory decoding or data-routing applications, Have very short propagation delay times
LatchThe 8-bit registers feature 3-state outputs designed specifically ,for driving highly capacitive or relatively low-impedance loads .
54LS373 latch is used in this project to latch the higher order address bytes from the multiplexed address/data bus of microcontroller.
Optical Isolators are incorporated for all the nine serial ports in the design of TMS unit. It provides optical connectivity for data transfer but at the same time it provides electrical isolation between the various RS-232 equipments and the host.
Optical Isolator
• Rugged, Reliable, Compact & PresentableHalts and restarts an out-of-control microcontroller.
• Holds microcontroller in check during power transients.
• Automatically restarts microcontroller after power failure
• Monitors Push button for external; override.• Accurate 5% or 10% microcontroller power
supply monitoring
DS1232 Micro monitor chip (Reset Generator):
ARCHITECTURE :
Working PrincipleEquipments whose temperature is to be monitored are connected to the TMS unit. Equipment is linked to the TMS unit at DUART’s section. DUART section consists of 4 DUART’s, as each DUART can handle two equipments thus giving provision to connect 8 equipments. The heart of the TMSC board is the microcontroller 89C52, as it plays the vital role of controlling all the operations inside the board. The data collected at the DUART’s may be of different formats, which is converted by the microcontroller into a particular format understood by the host system.
Level converters are used to convert the standard RS-232 port levels of the serial ports to TTL. An EPROM and two RAM’s are interfaced external to the microcontroller for future use when expansion is required,
The XTAL1 and XTAL2 are used to generate clock pulses by which all internal operations are synchronized .The crystal frequency used here is 11.0592MHZ for micro controller and 3.6864MHz for DUART
TMS indicator glows in red/blue/yellow indicating the internal operation of the TMS unit as indicated below1.Glows in red color while collecting temperature data from equipment.2.Glows in green color while sending the temperature information to the host.3.Glows in yellow color while doing internal operations.
Full-featured source code editor,Device database for configuring the development tool
setting,Project manager for creating and maintaining your
projects,Integrated make facility for assembling, compiling, and
linking your embedded applications,Dialogs for all development tool settings, True integrated source-level Debugger with high-speed
CPU and peripheral simulator, Advanced GDI interface for software debugging in the
target hardware and for connection to monitor-51.
CONTROL SOFTWARE :
Call ‘Initializing’ function.Repeat the following steps continuously for
ever.Check for system receive flag. If it is true, call system response function.If command is ready go for ‘Restart’ function.Read ‘Router’ function.Call ‘System’ function
OVERVIEW OF CODE IN TMS
Future ScopeThe future upgrade is to tie this system into the
master fiber-optic wide area network when the network goes into service and to provide a link to the Programmable Master Supervisory Control (PMSC) system when delivered. Measurements can be made remotely up to several kilometers via FO cable.
The PC monitor will be able to preserve the received immediate message. Then, it extracts and analyzes the historical data to provide a scientific basis for control strategy.