network control unit
TRANSCRIPT
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 1/36
Network Control Unit
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 2/36
Team Members-
o Deepak Achariya
o Mahesh Rawal
o Virendra S. Rathoreo Vidhan Bhandari
Faculty Guide-
Mr. Amrit Ghosh
Mr. Shashikant Dargar
Ms.Shilpi Birla
Mr. Rajesh Ishwar
Technical Guide-
Mr. Casper Ehrenborg
Ehrenborg Teknikutveckling AB
o Ujjawal Prakash
o Apoorv Upadhyay
o
Kartik Parmar o Vidhan Bhandari
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 3/36
System Requirement Scheme
The system requirement proposal had gone through
many phases right from the construction of a home
automation system to the industrial automation
system .After that we were asked to construct a generic automation system that can be controlled via
the ethernet and finally it landed in the development
of a generic board that can be used as network
control unit.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 4/36
AIM
The purpose of this project is to develop a
general purpose board that make use of
Microchips PIC18F97J60 microcontroller for
automation purposes.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 5/36
Project Scope
The objectives of this project include:
To develop schematic of a general purpose board for
automation that includes Ethernet controllability.
The board must include 4 Opto-Isolated inputs, 2
Analog inputs, 4 Relay driven outputs, that can beused for various control applications.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 6/36
Picdem.net2
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 7/36
Cont
The PICDEM.net 2 Development Board has all the
features to begin developing Internet connectivity
applications over an Ethernet connection. The
preprogrammed firmware allows users to beginevaluating the board right out of the box with no
additional programming or configuration. All that is
required to begin exploring the board is a network-
enabled computer with an Ethernet adapter and Internet browser software.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 8/36
Picdem.net2
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 9/36
Cont
Functionalities incorporated from PICDEM.net 2 :
Microchip PIC18F97J60 microcontroller.
Web server with HTML support. Microchip free TCP/IP stack.
Ethernet Interf ace(RJ-45 connector).
Connector for future expansion(Like PIC tail)
ICSP/MPLAB ICD2 interf ace connector for in circuitprogramming and debugging.
RS-232/RS-485 interf ace.
Real Time clock.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 10/36
Functional Analysis of Board
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 11/36
System Features
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 12/36
1.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 electrically
isolated²since the electrical signal is converted to a light beam, transferred, then converted back to an electricalsignal, there is no need for electrical connection between the
source and destination circuits.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 13/36
Cont.
Schematic diagram of a very simple opto-
isolator with an LED and phototransistor.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 14/36
Cont.
2.ANALOG INPUT
Analog input boards are useful for measuring variably changing conditions inthe real world. When we want to measure these variably changing conditions,we need analog inputs to convert these changing real world conditions tochanging electrical quantities. In such cases, we can use one of our analoginput 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 ameasurable electrical signal with a defined range. The analog input changes
continuously in a definable manner in relation to the measured property. Thisdata is very useful for process monitoring, process control, or simplemonitoring / data collection and acquisition.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 15/36
Power supply
For the ease of different voltage regulation on board we have come up
with the following ICs:-
1. LM2940
2. TC1262
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 16/36
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.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 17/36
Cont.
4. MEMORY
The Microchip Technology Inc. 25AA256/25LC256 (25XX256*) are
256 Kbit Serial Electrically Erasable PROMs. The memory is accessedvia a simple Serial Peripheral Interface (SPI) compatible serial bus. The
bus signals required are a clock input (SCK) plus separate data in (SI)
and data out (SO) lines. Access to the device is controlled through aChip Select (CS) input. Communication to the device can be paused via
the hold pin (HOLD). While the device is paused, transitions on its
inputs will be ignored, with the exception of Chip Select, allowing the
host to service higher priority interrupts. The 25XX256 is available instandard packages including 8-lead PDIP and SOIC, and advanced
packaging including 8-lead DFN and 8-lead TSSOP
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 18/36
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 at 5.5V,10 MHz - Read Current: 6 mA at 5.5V, 10 MHz - Standby Current: 1A at 5.5V
32,768 x 8-bit Organization64-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
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 19/36
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
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 20/36
FABRICATION
OF
PCB
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 21/36
PCB of required size
Imprint of PCB layout on transparent sheet
Exposure of photoresist
Development of film
DIP coating
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 22/36
UV Exposure
Developer
Etching
Scrubbing
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 23/36
Tin Coating
Drilling
Mounting/Soldering
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 24/36
LAYOUT
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 25/36
Memory
U18
AT25256
SO2
SI5
VCC8
CS1 WP3 HOLD7
SCLK6
SDI1
SCK1
SDO1
C72
1u
03.3V
3.3V
0
R50100K
JP15
12RD7
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 26/36
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¢
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 27/36
PIC18F97J60
U1¦
ype
RH2/§
181
RH3/§
192
R ̈
1/§
D9/©
R/
2C3
R ̈
0/§
D8/RD/
2D4
R
0/ ¦
0/FL¦
05
R
1/ ¦
16
R
2/ ¦
27
R
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/
1
24
RH6/§
14/
1C25
RH5/§
13/
3
26
RH4/§
12/
3C27
RF1/§
6/C2
U¦
28
¨
R ̈
G29
§
DD30
§
31
R§
3/§
3/
R ̈
F
32
R§
2/§
2/
R ̈
F33
R§
1/L ̈
D
/§
134
R§
0/L ̈
D§
/§
035
_136
DD_137
RG738
R
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
R
4/ §
047
R
5/C ̈
48
R
0/§
L ̈
49
R
1/ ̈
50RG3/CC
4/
3D51RG2/R
"
2/D¦
252RC2/
̈
CC
1/
1§
53RC3/
C!
1/
CL154RC4/
D
1/
D§
155RC5/
D
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/
D
2/
D§
287RD4/
§
D4/
4/
D
288RD3/
§
D3/
389RD2/
§
D2/
290RD1/
§
D1/
191RD0/
§
D0/
092R
̈
7/§
D15/ ̈
CC
2/
2§
93R ̈
6/§
D14/
1
94R ̈
5/§
D13/
1C95R
̈
4/§
D12/
3
96R ̈
3/§
D11/
3C97R
̈
2/§
D10/C
/
2
98RH0/§
1699RH1/
§
17100
RH2
R ̈
0R
̈
1RH3
R
0
R
2R
1
R
3
RG6RG5RF0
CLR
RF7RF6RF5RF4RF3RF2RH7RH6RH5RH4RF1
RG7
R§
5RF4
R ̈
L§
Y_0R
̈
L§
Y_1
RH1
R ̈
2RH0
R ̈
4R
̈
5R
̈
6R
̈
7RD0
RD2RD1
RD3
D
2
D
2
R ̈
3
C!
2RD7
RG0RG1R
4R
5R
6R
2
R
3
R
7
0
0
0
C341u
C33
1u
3
3
$
3
% 3
C221u
0
C38
1u
$
3
% 3
0
C231u
$
3
% 3
0
C211u
3
3
0
$
3
% 3
C201u
0
$
3
% 3
0
RC1
C321u
RC1$
3
% 3
0
C361u
0
0
0
§
2
§
3
L ̈
D
L ̈
D§
0
"
1
Y3
1612
17
12
C4522pC46
0
¦
&
DR
&
D
0
R20
2 26!
¦
U¦
¦
U¦
¦
¦
C2
C1
D
1
D
1
C!
1
RC2RG2RG3
3
3
C431u
0
0
0
3
3
C441u
0
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 28/36
Power supply
U15
L'
2940( ) 0 1
I 2
10
U1
3
U161
3
pe
4
I 2
1
G2
D2
4 0
U1
31 5
6
4
R482
R492
D22
D12
4006
7
7
RC5 7 5
C8
1
2
0
0
0
C541u
R61180
8
D21
12
6264( 1 0
0
0 0
C55
1u
1
9 21
@
) 1
9
0
I2
1
1
C56
1u
C57
1u
C58
1u
C59
1u
0 01
9
41
@
) 1
9
0
I2
1
1
1
9
5
1
@
) 1
9
0
I2
1
1
1
9
3
1
@
) 1
9
0
I 2
1
1
0
0 0
3.34
54
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 29/36
Input
Analog input
A
B C
D
E C
F
G
H I
P
P
I
Q R
I
Q
S
R
I
P
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 30/36
Opto-Isolated Input
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 31/36
Output
Relay driven output
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 32/36
Application
Home automation in the field of lighting
system , temperature sensing , humidity
sensing and various other types of sensing as
per industrial needs.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 33/36
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 34/36
Future Advancements
The wireless connectivity can be provided to
the board.
A webserver can be prepared and hosted on
the board.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 35/36
CONCLUSION
Automation is undeniably a resource which can make a home/industrial environment
automated. People can control their devices in
INDUSTRY or HOME via this generalised board and set up the controlling actions in thecomputer. This board is capable of sensing theenvironment, scheduling the equipments ,
sending alerts. The board is provided with Ethernet controllability which can be utilized to control the system remotely.
8/7/2019 Network Control Unit
http://slidepdf.com/reader/full/network-control-unit 36/36
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/HomeAutomation%20Report.pdf
[7] PIC 18F97J60
ww1.microchip.com/downloads/en/DeviceDoc/39762a.pdf