Upload
ashish-chaplot
View
219
Download
0
Embed Size (px)
Citation preview
8/3/2019 Industrial Automation Using Data Acquisition 2
1/22
8/3/2019 Industrial Automation Using Data Acquisition 2
2/22
WHAT IS DATA ACQUISITION?
y Data acquisition is the sampling of the real world togenerate data that can be manipulated by a computer.
y Sometimes abbreviated DAQ or DAS, data acquisitiontypically involves acquisition of signals and waveformsand processing the signals to obtain desiredinformation.
yThe components of data acquisition systems includeappropriate sensors that convert any measurementparameter to an electrical signal, which is acquired bydata acquisition hardware.
8/3/2019 Industrial Automation Using Data Acquisition 2
3/22
8/3/2019 Industrial Automation Using Data Acquisition 2
4/22
BLOCK DIAGRAM
TEMPERATURE
TRANSDUCER
CIRCUIT
HUMIDITY
TRANSDUCER
CIRCUIT
LIGHT
TRANSDUCER
CIRCUIT
PRESSURE
TRANSDUCER
CIRCUIT
PROXIMITY/
LEVEL
TRANSDUCER
CIRCUIT
D
E
M
U
X
A
D
C
8
0
5
1
R
S
2
3
2PC
LIGHT
CONTROL
SYSTEM
TEMP.
CONTROL
SYSTEM
HUMIDITY
CONTROL
SYSTEM
PRESSURE
CONTROL
SYSTEMPROXIMITY/LEVEL
CONTROL
SYSTEM
8/3/2019 Industrial Automation Using Data Acquisition 2
5/22
DEVELOPMENT OF PROJECT
The project is developed in following stages:
# Software Development:8051 Progrmming: KEILC
User Interface:VISUAL BASIC,MATLAB
# Hardware Development
PCB Design:Express PCH ,Eagle
We are using TDD(Test Driven Development) methodology forthe development of project, where we first develop the code, test
and simulate it and then burn it on the hardware.
8/3/2019 Industrial Automation Using Data Acquisition 2
6/22
ANALOG INTERFACE SECTION OF THE
DATA ACQUISITION SYSTEM
8/3/2019 Industrial Automation Using Data Acquisition 2
7/22
CIRCUIT DIAGRAM
8/3/2019 Industrial Automation Using Data Acquisition 2
8/22
DISPLAYING MEASURED TEMPERATURE
y Using 8051 kit,the program written for sensing the
temperature was burnt on it and the output was observed onHyperterminal.
y For this purpose,we set the baud rate of 8051 to the baud
rate of PC.
yThe ambient temperature, and temperature of the loadresistor were all monitored via the data acquisition system.
After logging the octal numbers to a text file viaHyperTerminal.
8/3/2019 Industrial Automation Using Data Acquisition 2
9/22
8/3/2019 Industrial Automation Using Data Acquisition 2
10/22
CODE FOR READING & DISPLAYING
TEMPERATURE
RD BIT P2.5
WR BIT P2.6
INTR BIT P2.7
MYDATA EQU P1
MOV P1, #OFFHSETB INTR
BACK: CLR WR
SETB WR
HERE: JB INTR, HERE
CLR RD
MOV A, MYDA TAACALL CONVERSION
ACALL DA TA_DISPLAY
SETB RD
SJMP BACK
8/3/2019 Industrial Automation Using Data Acquisition 2
11/22
CONVERSION: MOV B, #10
DIV ABMOV R7, B
MOV B, #10
DIV AB
MOV R6, B
MOV R5, A
R
ET
DATA_DISPLAY: MOV P0, R7
ACALL DELAY
MOV P0, R6
ACALL DELAY
MOV P0, R5
ACALL DELAY
RET
8/3/2019 Industrial Automation Using Data Acquisition 2
12/22
8/3/2019 Industrial Automation Using Data Acquisition 2
13/22
HYPERTERMINAL INTERFACE
8/3/2019 Industrial Automation Using Data Acquisition 2
14/22
SETTINGB
AUDRATE
8/3/2019 Industrial Automation Using Data Acquisition 2
15/22
The plot below shows the results of loading the supply with three different values ofload resistors. As expected the supply voltage sags with decreasing resistance. The
output current changes from 400mA to about 1A over the three different resistors.
Finally, the temperature of the load resistor peaks at about 55 degrees Celsius. This
simple application example shows the utility and some of the capabilities of the data
acquisition system.
8/3/2019 Industrial Automation Using Data Acquisition 2
16/22
MICROCONTROLLER INTERFACING
WITH RS-232 STANDARD DEVICES
8/3/2019 Industrial Automation Using Data Acquisition 2
17/22
IMPROVEMENTS REQUIRED AT
CURRENT STAGEy This data acquisition system, while functional, could be improved.
y An improved voltage measurement input is also desired.
y Currently, the system can only measure positive ground referencedvoltages. With a true differential amplifier input, positive and negativevoltages could be read without the fear of shorting a measurementchannel to ground.
y On the software side two major improvements are warranted.
y First, the capability to display real-time values of the captured datawould greatly increase the utility of the data acquisition system.
8/3/2019 Industrial Automation Using Data Acquisition 2
18/22
y Next, an integrated capture and display program would greatly simplifydata capture.
y The current system requires capturing data via HyperTerminal .
y The current solution is far from a one-click data capture. Withdedicated software it is possible that a single click would enable a userto view live data and concurrently save the trend data to a file.
8/3/2019 Industrial Automation Using Data Acquisition 2
19/22
FUTURE PLAN
y 8051 microcontroller along with ADC 0808 has been used so farfor the design of the project. Additionally, it would be necessaryto learn the development environment, compiler, and device
programmer.
y We plan to use a Visual Basic interface to show the calculatedtemperature,pressure and humidity.
y Also ,for making in automated project,several hardware such asautomatic switching fan and automatic humidity & pressurecontrolled devices will be integrated using Interrupts of 8051Microcontroller.
8/3/2019 Industrial Automation Using Data Acquisition 2
20/22
FEW SNAPSHOTS OF OURTESTING SESSION
8/3/2019 Industrial Automation Using Data Acquisition 2
21/22
8/3/2019 Industrial Automation Using Data Acquisition 2
22/22
THANK YOU!!!