34
Network Control Unit By:-Ujjwal Prakash Singh Vidhan Bhandari Virendra Singh Rathore Vineet Jain

Network Control Unit ncu

Embed Size (px)

Citation preview

Page 1: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 1/34

Network Control Unit

By:-Ujjwal Prakash Singh

Vidhan BhandariVirendra Singh Rathore

Vineet Jain

Page 2: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 2/34

Page 3: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 3/34

Project Scope

The objectives of this project include:

To develop schematic of a general purpose board

for automation that includes Ethernetcontrollability.

The board must include 4 Opto-Isolated inputs, 2

Ana-log inputs, 4 Relay driven outputs, that canbe used for various control applications.

Page 4: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 4/34

Picdem.net2

Page 5: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 5/34

Cont

The PICDEM.net 2 Development Board has all thefeatures to begin developing Internetconnectivity applications over an Ethernet

connection. The preprogrammed firmware allowsusers to begin evaluating the board right out of the box with no additional programming orconfiguration. All that is required to begin

exploring the board is a network-enabledcomputer with an Ethernet adapter and Internetbrowser software.

Page 6: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 6/34

Product Features

This product is a powerful, aesthetic and userfriendly system that gives the user completefreedom to explore various functionalities of automation. In order to do this, we havedeveloped our product on a platform called thePICDEM.net 2 development board. With the greatexpandability and versatility of the PICDEM.net 2Board and PIC18F97J60 processor, we have been

able to incorporate many external devices andcreate a system that is capable of collecting,processing, displaying, and controlling all of theinformation just with a touch of a button.

Page 7: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 7/34

Cont

Functionalities incorporated from PICDEM.net 2 :

Microchip PIC18F97J60 microcontroller.

Web server with HTML support. Microchip free TCP/IP stack.

Ethernet Interface(RJ-45 connector).

Connector for future expansion(Like PIC tail)

ICSP/MPLAB ICD2 interface connector for in circuitprogramming and debugging.

RS-232/RS-485 interface.

Real Time clock.

Page 8: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 8/34

Functional Analysis of Board

Page 9: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 9/34

System Features

Page 10: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 10/34

1.Microcontroller (PIC18F97J60)

It is a feature rich PIC18 Microcontroller with an

integrated 10Mbps Ethernet communications

peripheral. This single-chip solution is ideal for

applications requiring remote control and

monitoring. Target applications include

Industrial Automation, Building Automation,

Home control, Security and Instrumentation.

Page 11: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 11/34

Features of PIC18F97J60

Features:-

IEEE 802.3 compatible Ethernet Controller

Fully Compatible with 10/100/1000Base-T networks

Integrated MAC and 10BASE-T PHY

Up to 128KB Flash Memory

8 KB Ethernet Buffer

Support for Unicast, Multicast and Broadcast packets

Unicast, Multicast, Broadcast, specific packet match or any packet 64/80/100-Pin TQ FP Package

Temperature Range: -45°C to + 85°C

Page 12: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 12/34

Cont.

Parameter Name Value

Program Memory Type Flash

Program Memory (KB) 128

CPU Speed (MIPS) 10.5

RAM Bytes 3,808

Capture/Compare/PWM Peripherals 2 CCP, 3 ECCP

Timers 2 x 8-bit, 3 x 16-bit

 ADC 16 ch, 10-bit

Comparators 2

Ethernet 10 Base T

Temperature Range (C) -40 to 85

Operating Voltage Range (V) 2 to 3.6

Pin Count 100

Page 13: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 13/34

2.Inputs

1.OPTO-ISOLATED INPUT

An opto-isolator (or optical isolator, optical couplingdevice, optocoupler, photocoupler, or photoMOS) is adevice that uses a short transmission path to transfer anelectrical signal between elements of a circuit, typically atransmitter and receiver, while keeping them electricallyisolated²since the electrical signal is converted to a light beam, transferred, then converted back to an electricalsignal, there is no need for electrical connection betweenthe source and destination circuits.

Page 14: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 14/34

Cont.

Schematic diagram of a very simple opto-

isolator with an LED and phototransistor.

Page 15: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 15/34

Cont.

2.ANALOG INPUT

Analog input boards are useful for measuring variably changingconditions in the real world. When we want to measure these variably

changing conditions, we need analog inputs to convert these changing

real world conditions to changing electrical quantities. In such cases,we can use one of our analog input devices to convert the electrical data

from a sensor or transducer into binary data that can then be used by

our board. An analog input is a measurable electrical signal with a

defined range. The analog input changes continuously in a definable

manner in relation to the measured property. This data is very useful for   process monitoring, process control, or simple monitoring / datacollection and acquisition.

Page 16: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 16/34

Cont.

3. MAX 3232

The MAX3232 transceivers have a proprietary low-dropout transmitter 

output stage enabling true RS-232 performance from a 3.0V to 5.5Vsupply with a dual charge pump. The devices require only four small0.1F external charge pump capacitors.

The MAX3232 have 2 receivers and 2 drivers. The MAX3232 is

guaranteed to run at data rates of 120kbps while maintaining RS-232

output and features a 1A shutdown mode that reduces power consumption and extends battery life in portable systems. Its receivers

remain active in shutdown mode, allowing external devices such asmodems to be monitored using only 1A supply current.

Page 17: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 17/34

Page 18: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 18/34

Features Of Memory

High Reliability: - Endurance: 1,000,000 erase/write cycles - Dataretention: > 200 years - ESD protection: > 4000V

Max. Clock 10 MHz

Low-Power CMOS Technology: - Max. Write Current: 5 mA at5.5V, 10 MHz - Read Current: 6 mA at 5.5V, 10 MHz - StandbyCurrent: 1 A at 5.5V

32,768 x 8-bit Organization 64-Byte Page

Self-Timed Erase and Write Cycles (5 ms max.) Block Write Protection: - Protect none, 1/4, 1/2 or all of array

Built-In Write Protection: - Power-on/off data protection circuitry -Write enable latch - Write-protect pin

Page 19: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 19/34

Cont.

Parameter Name Value

Density 256 Kbit (x8)

Max. Clock Freq. 10 MHz

Page Size (bytes) 64

Write Protect Quarter, Half, Whole Array

Endurance 1,000,000

Op. Volt Range (V) 2.5 to 5.5

Temp Range (°C) -40°C to +150°C

Page 20: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 20/34

FABRICATION

OF

PCB

Page 21: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 21/34

PCB of required size

Imprint of PCB layout on transparent sheet

Exposure of photoresist

Development of film

DIP coating

Page 22: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 22/34

UV Exposure

Developer

Etching

Scrubbing

Page 23: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 23/34

Tin Coating

Drilling

Mounting/Soldering

Page 24: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 24/34

LAYOUT

Page 25: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 25/34

Memory

U18

 AT25256

SO2

SI5

VCC8

CS1 WP3 HOLD7

SCLK6

SDI1

SCK1

SDO1

C72

1u

03.3V

3.3V

0

R50100K

JP15

12RD7

Page 26: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 26/34

MAX3232

P1

 

ONNE 

TO ¡    ¢  B9

594837261

10

¡ 

42 1B

0

 

64

1u

0

 

65

1u

0

 

66

1u

 

67

1u

 

68

1u

£ 

14

MAX3232

V  

16

¡  1 N

13

¡ 

2 N8

T2 N10

T1 N11

 

1+1

 

1-3

 

2+4

 

2-5

¡  1O £  T

12

¡ 

2O£ 

T9

T1O £  T14

T2O£ 

T7

V+2

V-6

3 3V

JP181 2

JP19

1 2

3 3V

Tx¢ 

¡ 

x¢ 

Page 27: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 27/34

PIC18F97J60

U1¦ 

ype

RH2/§ 

181

RH3/§ 

192

R ̈

1/§ 

D9/© 

R/ 

2C3

R ̈

0/§ 

D8/RD/ 

2D4

0/ ¦ 

0/FL¦ 

05

1/ ¦ 

16

2/ ¦ 

27

3/ ¦ 

3/ ̈

CC 

2/ 

2§ 

8

 

C9

RG610

RG511

RF0/§  

512

 

CLR13

RG4/CC 

5/ 

1D14

 

15

 

DDC 

R ̈

C§  

16 

DD17

RF7/  

118

RF6/§  

1119

RF5/§  

10/C 

R ̈

F20

RF4/§  

921

RF3/§  

822

RF2/§  

7/C1 

U¦ 

23

RH7/§  

15/ 

24

RH6/§  

14/ 

1C25

RH5/§  

13/ 

26

RH4/§  

12/ 

3C27

RF1/§  

6/C2 

U¦ 

28

¨  

R ̈

G29

§  

DD30

§  

31

R§ 

3/§  

3/ 

R ̈

32

R§ 

2/§  

2/ 

R ̈

F33

R§ 

1/L ̈

/§  

134

R§ 

0/L ̈

D§ 

/§  

035

 

 _136

 

DD_137

RG738

7/U 

39

 

 _240

R§ 

5/§  

441

R§ 

4/¦ 

0C!  

42

RC1/¦ 

1    

/ ̈

CC 

2/ 

2§ 

43

RC0/¦ 

1  

/¦ 

13C!  

44

RC6/¦ " 

1/C! 

145

RC7/R" 

1/D¦ 

146

4/ § 

047

5/C ̈

48

0/§ 

L ̈

49

1/  ̈

50RG3/CC

 

4/ 

3D51RG2/R

2/D¦ 

252RC2/

 ̈

CC 

1/ 

1§ 

53RC3/ 

C! 

1/ 

CL154RC4/

 

1/ 

D§ 

155RC5/

 

156R

 

7/!  

3/ 

GD57R

 

6/L 

58 

DD_259

 

 _360R

 

3/© 

RH61

 

DD_362

 

C1/CL!  

63  

C2/CL!  

64  

 _465R

 

2/© 

RL66R

 

6/!  

2/ 

GC67R

 

5/!  

168R

 

4/!  

069RG1/

¦ " 

2/C! 

270RG0/

 ̈

CC 

3/ 

3§ 

71  

R" 

72¦  

73¦  

 

74 

DDR" 

75 

DD¦ " 

76¦  

 

U¦ 

77¦  

 

U¦ 

 

78    ¦ " 

79R § 

 

80 

DD 

LL81

 

LL82RD7/

§ 

D7/  

7/  

283RD6/

§ 

D6/  

6/ 

C! 

2/ 

CL284

 

 _5 85

 

DD_486RD5/

§ 

D5/ 

 

 

5/ 

2/ 

D§ 

287RD4/

§ 

D4/ 

 

 

4/ 

288RD3/

§ 

D3/ 

 

 

389RD2/

§ 

D2/ 

 

 

290RD1/

§ 

D1/ 

 

 

191RD0/

§ 

D0/  

092R

 ̈

7/§ 

D15/ ̈

CC 

2/ 

2§ 

93R ̈

6/§ 

D14/ 

94R ̈

5/§ 

D13/ 

1C95R

 ̈

4/§ 

D12/ 

96R ̈

3/§ 

D11/ 

3C97R

 ̈

2/§ 

D10/C 

98RH0/§ 

1699RH1/

§ 

17100

RH2

R ̈

0R

 ̈

1RH3

0

2R

 

1

3

RG6RG5RF0

 

CLR

RF7RF6RF5RF4RF3RF2RH7RH6RH5RH4RF1

RG7

R§ 

5RF4

R ̈

L§ 

Y_0R

 ̈

L§ 

Y_1

RH1

R ̈

2RH0

R ̈

4R

 ̈

5R

 ̈

6R

 ̈

7RD0

RD2RD1

RD3 

2

R ̈

3

 

C! 

2RD7

RG0RG1R

 

4R

 

5R

 

6R

 

2

3

7

0

0

0

C341u

C33

1u

 

3

$

        3

%         3

C221u

0

C38

1u

$

        3

%         3

0

C231u

$

        3

%         3

0

C211u

 

3

0

$

        3

%         3

C201u

0

$

        3

%         3

0

RC1

C321u

RC1$

        3

%         3

0

C361u

0

0

0

§  

2

§  

3

L ̈

L ̈

D§ 

0

1

Y3

 

1612

 

17

12

C4522pC46

0

¦ 

DR

D

0

R20

2 26! 

¦  

U¦ 

 

¦  

U¦ 

¦  

 

¦  

 

C2  

C1

 

C! 

1

RC2RG2RG3

 

3

C431u

0

0

0

 

3

C441u

0

Page 28: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 28/34

Power supply

U15

LM2940' 

SOT

I( 

1OUT

3

U16T

pe

VI ( 

1

D2

VOUT3TAB

4

R482

R492

D22

D1( 

4006

J7

RCA JACK

1

        2

0

0

0

C541u

R61180K

D21

1( 

6264' 

TO0

0 0

C55

1u

TP2

TEST POI( 

T

        1

C56

1u

C57

1u

C58

1u

C59

1u

0 0 TP4

TEST POI( 

T

        1

TP5

TEST POI( 

T1

TP3

TEST POI( 

T

1

0

0 0

3.3V

5V

Page 29: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 29/34

Input

Analog input

2 3 

73 

J6 7 

9  N7 

N7 

Page 30: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 30/34

Application

Home automation in the field of lighting

system , temperature sensing , humidity

sensing and various other types of sensing as

per industrial needs.

Page 31: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 31/34

Page 32: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 32/34

Page 33: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 33/34

CONCLUSION

Automation is undeniably a resource which can make ahome/industrial environment automated. People cancontrol their devices IN INDUSTRY OR HOME via thisgeneralised board and set up the controlling actions in

the computer. This board is capable of sensing theenvironment, scheduling the equipments, sendingalerts. The board is provided with Ethernetcontrollability which can be utilized to control thesystem remotely.

Further expansion of the device will surely be able towithstand the needs of the future and may includewireless capabilities.

Page 34: Network Control Unit ncu

8/8/2019 Network Control Unit ncu

http://slidepdf.com/reader/full/network-control-unit-ncu 34/34

REFERENCES

[1] PICDEM.net 2 Development Board

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET _PAGE&nodeId=1406&dDocName=en028217

[2] TCP/IP Solutions

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET _PAGE&nodeId=1489

[3] TC1262 - 500mA Fixed Output CMOS LDO

ww1.microchip.com/downloads/en/devicedoc/21373b.pdf 

[4] LM2940 - 1A Low Dropout Regulator

www.national.com/ds/LM/LM2940.pdf 

[5] 25LC256 MICROCHIP - 256K SPI Bus Serial EEPROM

ww1.microchip.com/downloads/en/DeviceDoc/21822F.pdf 

[6] C halmers home automation

http://web.student.chalmers.se/groups/uc081/document/Home Automation%20Report.pdf  [7] PIC 18F97J60

ww1.microchip.com/downloads/en/DeviceDoc/39762a.pdf