Top Banner
50

Abhi monal

Aug 02, 2015

Download

Technology

Abhijeet Powar
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Abhi monal
Page 2: Abhi monal

By

A . S. Powar & M . S . Salunkhe

Guide

Dr. B. P. Ladgaonkar

Prof. S. K.Tilekar

VLSI Design and Research Center Post Graduate Department of Electronics

Shankarrao Mohite Mahavidyalaya, Akluj Tal - Malshiras , Dist. - Solapur – 413 101

Page 3: Abhi monal

1. Introduction

A) Origin of the Problem

B) Aim & Objectives

2. Designing of the System

Hardware Co-design

3. Result and Discussion

4. Conclusion

Page 4: Abhi monal

It is found that, the humidity, CO2 in the polyhouse is not measured precisely with the help of unskilled person.

This may adversely affect the yield of the crops.

Therefore, it is found that this agriculture field is mostly demanding the sophisticated instrument to monitor the parameters of polyhouse.

Hence considering this fact and the social demands, it is proposed to develop an electronic system to measure the environmental parameters of polyhouse.

Page 5: Abhi monal

To study the architectural details of PSoC1.

To study the PSoC designer IDE.

To configure the hardware using PSoC1.

Co development of necessary software.

Implementation of the system.

Interpretation of result.

Page 6: Abhi monal

Polyhouse or Green house provides a controlled and

favourable environment for the crops to grow in all

seasons. The important parameters are:

Humidity

CO2

Page 7: Abhi monal

ADC FPGA Buffer Amplifier Weak

analog

signal

Page 8: Abhi monal

P rogrammable

S ystem

o n

C hip

PSoC Weak analog

signals

Page 9: Abhi monal

Block Diagram.

Configuration blocks for our

system.

Page 10: Abhi monal

CO2 sensor (MG-

811) &

Humidity sensor

(SY-HS-220)

PSoC 1 Device

CY8C29466 -

24PXI

LCD

Page 11: Abhi monal

1) Humidity sensor(SY-HS-220).

2) CO2 sensor(MG-811).

Page 12: Abhi monal

Features:- 1)Highly precise and

reliable.

2)Exhibit linearity over

30%

Rh to 95 % Rh.

3)The humidity sensor is

of

Capacitive type.

4)Provides DC output

voltage.

Page 13: Abhi monal

Features:-

1)Good sensitivity and

selectivity to CO2

2)Low humidity and

temperature

dependency.

3)Long stability and

reproducibility.

Page 14: Abhi monal

Overall chemical reaction:Li2CO3 + 2Na + = Na2O + 2Li + + CO2

EMF = Ec - (R x T) / (2F) ln (P(CO2))

Where, P(CO2) - CO2 partial Pressure, Ec - Constant Volume, R - Gas

Constant volume, T - Absolute Temperature (K), F- Faraday constant

Page 15: Abhi monal

• Configurable Analog Blocks

Implement ADCs, DACs, filters,

amplifiers,

comparators, etc.

• Configurable Digital Blocks

Implement timers, counters, PWMs,

UART, SPI, IrDA, etc.

• 4KB to 32KB of Flash memory for

program storage

• 256B to 2KB of SRAM for data storage

• M8C Microcontroller: 4 Million

Instructions Per Sec

PSoC Device Features:

Page 16: Abhi monal

Inputs : Each pin can sink 25mA

Programmable filters

Flexible sensor interface I/O

3 types of ADCs, up to 4

Processing :

Outputs : Each pin can source 10mA

Up to 16 PWMs, Timers, Counters

Up to 9-bit DACs, 14-bit ADCs

Support Functions : EEPROM

Sleep Options

Watch Dog Timer

Low voltage detect

Fast M8 Microcontroller Core

Multiply Accumulate

Page 17: Abhi monal
Page 18: Abhi monal
Page 19: Abhi monal
Page 20: Abhi monal
Page 21: Abhi monal
Page 22: Abhi monal
Page 23: Abhi monal
Page 24: Abhi monal

i = V/R

Q = CV

I average = Q/T = Qfs = CVfs

R equivalent = V/I average = 1/Cfs

Page 25: Abhi monal
Page 26: Abhi monal

Determine system requirements

Choose User Modules

Place User Modules

Set global and User Module parameters

Define the pin-out for the device

Generate the application

Review generated code

Demonstrate working configuration

Page 27: Abhi monal
Page 28: Abhi monal
Page 29: Abhi monal
Page 30: Abhi monal
Page 31: Abhi monal
Page 32: Abhi monal

ADCINCVR

LCD

PGA

Page 33: Abhi monal

Block Diagram of ADCINCVR

Page 34: Abhi monal

Vo =(VIN –VGND).(Ra/Ra+Rb)+VGND

Page 35: Abhi monal
Page 36: Abhi monal

Execute boot program:

--initialise general purpose resources;

--configure application specific

modules;

--initialise run time environment;

--disable interrupt;

call main application routine;

Void main()

{ Start system timers;

Initialise application specific

modules;

Initialise global variables;

Initialise application specific

channels;

Enable interrupts;

While(1)

{

Wait for events(Enabled interrupts);

Read values from input channels;

Execute control

procedure & compute

actuation data;

output actuation data to output

channels;

}

}

B) Application programme routine

A) Boot programme algorithm

Page 37: Abhi monal

Start

Initialization of

all modules

Get ADC reading

Get reading for CO2

Display reading

Convert in ASCII

Calibrate data for

Humidity

If

count<0x65(

200mv)

STOP

Display as Detected Display as Undetected

No Yes

Software Design Flow Of

Our System

Page 38: Abhi monal

A

Initialize ADC1

When ADC 1

Data Available

Display

Calibrate the Data

Convert in to ASCII

NO

YES

B

Page 39: Abhi monal

B

Initialize ADC2

When ADC

2 Data

Available

If Count

<0x65(200m

v)

Display as

Undetected

Display as

Detected

YES

NO

Return Return

Page 40: Abhi monal

c

Initialize LCD

Set LCD Position

Send Data To

Disply

Return

Page 41: Abhi monal
Page 42: Abhi monal

y = 0.0288x + 11.315

0

20

40

60

80

100

120

0 1000 2000 3000 4000

Series1

Linear (Series1)

Humidity(%Rh) Output(mV)

30 794

35 860

40 958

45 1092

50 1258

55 1458

60 1709

65 1894

70 2064

75 2224

80 2383

85 2547

90 2729

95 2935

Page 43: Abhi monal
Page 44: Abhi monal
Page 45: Abhi monal
Page 46: Abhi monal
Page 47: Abhi monal
Page 48: Abhi monal

System is designed for measurement of humidity and CO2 gas

The humidity observations shown by the system are highly reliable and

precise. Moreover, the presence of CO2 gas is also exhibited by the

present system.

System works successfully and gives the data regarding environmental

parameters very precisely.

Page 49: Abhi monal

Particularly for measurement of carbon

dioxide (CO2) gas concentration, the

calibration in the respective units is

required. However, presently due to

unavailability of CO2 gas chamber the

calibration of carbon dioxide gas

concentration is left as future work.

Page 50: Abhi monal