Beruflich Dokumente
Kultur Dokumente
systems are used to monitor the temperature and other physical parameters on a centralized
machine whereby one can monitor and control the remote devices. The ARM
microcontroller based system described here does the same job of acquiring the analogue
The above fig shows the block diagram of the twelve-channel data acquisition and
used to acquire real-time data in the form of analogue signal. The data is sent
Today, most scientists and engineers use personal computers (PCs) with parallel or
serial ports for data acquisition in laboratory research, test and measurement, and industrial
automation. Many applications use plug-in devices to acquire data and transfer it directly to
computer memory. Others use data acquisition (DAQ) hardware remote from the PC that is
coupled via parallel or serial port. Obtaining proper results from a PC-based DAQ system
The PC
Transducers
Signal Conditioning
DAQ Hardware
Software
Figure 1.1 PC based DAQ System
1.2 Objectives
To implement the industrial automation in low cost to replace
DAQ card with ARM processor.
Control entire industry using personal computer with labVIEW through Low
Phase-II:
In phase-2, interfacing the Low Cost Data Acquisition Card with personal
computer using labVIEW.
Control all the transducers in labVIEW through Low Cost Data
Acquisition Card in industry.
To develop coding using RTOS.
The system design and test plan to make the requirements of the system
general constraints such as which is the Real Time Operating environment have been
used in the project and hardware requirements and software requirements in detail.
The implementation and result will show all modules and find out which of the each
module input and output and finally form the results. Finally, this document to
explain the conclusion of my project and to explain the future enhancement of my
project.
CHAPTER 2
LITERATURE SURVEY
2.1 Low-Cost Data Acquisition Card for School Network Cosmic Ray
Detectors
CHAPTER 3
EXISTING WORK
3.1 Requirement Specification
USB 2.0 Full Speed compliant Device Controller with 2 kB of endpoint RAM.
by DMA.
Two 32-bit timers/external event counters (with four capture and four
compare channels each), PWM unit (six outputs) and watchdog.
Low power real-time clock with independent power and dedicated 32 kHz
clock input.
Multiple serial interfaces including two UARTs (16C550), two Fast I2C-bus
(400 kbit/s), SPI and SSP with buffering and variable data length capabilities.
MHz.
3.1.1.2 Transducers
Transducers sense physical phenomena and produce electrical signals that the
DAQ system measures. For example, thermocouples, resistance temperature
detectors (RTDs), thermistors, and IC sensors convert temperature into an analog
signal that an analog-to-digital converter (ADC) can measure. Other examples
include strain gauges, flow transducers, and pressure transducers, which measure
force, rate of flow, and pressure, respectively. In each case, the electrical signals
produced are proportional to the physical parameters they monitor.
The electrical signals generated by the transducers must be optimized for the
input range of the DAQ device. Signal conditioning accessories amplify low-level
signals and then isolate and filter them for more accurate measurements. In addition,
some transducers use voltage or current excitation to generate a voltage output.
Depicts a typical DAQ system with National Instruments SCXI signal conditioning
accessories.
Included on the LM135 chip is an easy method of calibrating the device for
higher accuracies. A pot connected across the LM135 with the arm tied to the
adjustment terminal allows a 1-point calibration of the sensor that corrects for
inaccuracy over the full temperature range.
This single point calibration works because the output of the LM135 is
proportional to absolute temperature with the extrapolated output of sensor going to
0V output at 0K (273.15C). Errors in output voltage versus temperature are only
slope (or scale factor) errors so a slope calibration at one temperature corrects at all
temperatures.
Serial Cables can be longer than Parallel cables. The serial port transmits a '1'
as -3 to -25 volts and a '0' as +3 to +25 volts where as a parallel port transmits a '0'
as 0v and a '1' as 5v. Therefore the serial port can have a maximum swing of 50V
compared to the parallel port which has a maximum swing of 5 Volts. Therefore
cable loss is not going to be as much of a problem for serial cables than they are for
parallel.
You don't need as many wires than parallel transmission. If your device needs
to be mounted a far distance away from the computer then 3 core cable (Null Modem
Configuration) is going to be a lot cheaper that running 19 or 25 core cable. However
you must take into account the cost of the interfacing at each end.
Serial transmission involves the sending of data one bit at a time,over a single
communications line. In contrast, parallel communications require at least as many
lines as there are bits in a word being transmitted (for an 8-bit word, a minimum of
8 lines are needed). Serial transmission is beneficial for long distance
communications, whereas parallel is designed for short distances or when very high
transmission rates are required.
MAX232
MAX232 is used as the signal-level converter. For voltage-level conversion,
four electrolytic capacitors are used with MAX232.
The MAX232 is a dual driver/receiver that includes a capacitive voltage
generator to supply TIA/EIA-232-F voltage levels from a single 5-V supply. Each
receiver converts TIA/EIA-232-F inputs to 5-V TTL/CMOS levels. These receivers
have a typical threshold of 1.3 V, a typical hysteresis of 0.5 V, and can accept 30-
V inputs. Each driver converts TTL/CMOS input levels into TIA/EIA-232-F levels.
The driver, receiver, and voltage-generator functions are available as cells in the
Texas Instruments LinASIC library.
3.1.2.1 labVIEW
Using LabVIEW, you can create 32-bit compiled programs that give you the fast
execution speeds needed for custom data acquisition, test, and measurement
solutions. You also can create stand-alone executables because LabVIEW is a true
32-bit compiler.
You can use LabVIEW with little programming experience. LabVIEW uses
terminology, icons, and ideas familiar to technicians, scientists, and engineers, and
relies on graphical symbols rather than textual language to describe programming
actions.
The purpose of this lab was to introduce the student to the LabVIEW software,
and learn to create and analyze systems with analog and digital inputs using
LabVIEW and computers equipped with DAQ cards.
There are two theories, which were analyzed during the lab. The first theory is
that computers are able to read in data at discrete moments in time, then after the
data is read in, calculations can then be performed on the data. The second theory is
concerned with how to read in data. Two options are; writing programs, or using
specially designed software. In this lab the use of LabVIEW is introduced and
applied. LabVIEW allows the user to write programs for data collection by drawing
function blocks and connecting them, (these are referred to as schematics). The
connection between function blocks determines how the data will flow in the
program (system). Examples of the function blocks include data that is read in (input
devices), data calculations, output devices, timers, switches, various waveform
signals, temperature readings, etc.
The first procedure for this lab was to go through the LabView Quick Start Guide
(tutorial) provided in the laboratory. This was done to familiarize the student with
LabView and to re-acquaint those who have used it previously in other applications.
The second procedure for this lab required us to connect inputs and outputs to the
DAQ cards, and use the test panel to test the circuits that were required to be built.
This was done using the DAQ Configure Utility for the PCI-1200 DAQ card. The
test panel was used to tell us if the inputs and outputs were working correctly (if the
LED in our circuit would light or not). Using the CDT boards, we were to create 2
simple circuits and connect them to their respective positions on the DAQ interface
cable. These circuits are shown in Figure.
Figure 1. Circuits designed on CDT for procedure 2.
After these circuits were built and connected to the interface cable, using a
diagram of the interface cable located on page 47 of the EGR 345 Lab Manual [Jack,
1998] as a reference, the circuits were to be developed using LabVIEW. The
schematics are found in Figure 2. After the program (system) was created
schematically, we were to run the program and observe the relationship between the
input and output.
The fourth procedure required creating a program (system) that allowed for
control of an output voltage from the screen (via entering input voltages). The circuit
created is found in Figure 5. The schematic is found in Figure 6. Once the program
was developed, we were to run it and observe the resulting relationships between the
input and output voltages.
Figure 6. Schematic of LabView screen for Procedure 4.
After setting up the circuit for Procedure 2, we had some difficulty getting the
DAQ Configure Utility to configure to our circuit. After experimenting with the
controls from the inputs and outputs we were finally able to run the program we had
created. Theoretically, if our DAQ card was configured correctly to our program,
when we ran the program we would be able to turn the LED on and off using the
switch in the schematic. We tested the switch repeatedly and were successful each
time.
After setting up the circuit for Procedure 3, we again configured the DAQ card
to our program and ran it. Theoretically if our DAQ card was configured correctly
to our program, when we ran the program we would be able to see a sine wave on
the schematic, and be able to see changes in the amplitude and frequency as we
adjusted frequency on the CDT. We ran the program and changed the frequency to
various levels to see the changes in the waveforms period and amplitude.
After setting up the circuit for Procedure 4, we again configured the DAQ card
to our program and ran it. Theoretically if our DAQ card was configured correctly
to our program, when we ran the program we would be able to see an output voltage
displayed on the screen that equaled the voltage reading on the digital multimeter.
By adjusting the input voltage we were able to observe different output voltages, as
well as an indicator showing that the voltage we used for input was greater than the
maximum allowable input voltage (which we could set in this procedure).
This lab was designed to introduce the student to LabVIEW and teach the
student to be able to create and run different types of programs. The use of the
tutorial in this lab was helpful in getting to know how to begin setup of program
schematics and seeing how data flows in a LabVIEW program. This lab required
that the student to become pro-active in learning new software. Many of the features
needed for this program were to be discovered as the lab went along. Although this
made the lab frustrating at times, it helped to strengthen the students ability to tackle
obstacles as they came along. It was a good lesson in learning and trouble shooting.
It also developed a students ability to think critically and aggressiveness towards
new learning experiences, despite the initial frustration. This lab proved to be very
helpful in learning LabVIEW and in seeing computer software integration into real
life systems.
3.1.2.2 OrCAD
The schematic editor enables users to place and connect parts from a
comprehensive set of functional libraries. It uniquely packages the parts, ensures
design integrity, and creates design netlists for any of the formats supported by
Cadence.
In the schematic page editor, you can display and edit schematic pages. You
can place parts, wires, buses, and draw graphics. The schematic page editor has a
tool palette that you can use to draw and lace everything you need to create a
schematic page. You an print from within the schematic page editor, or from the
project manager window.
At the heart of the OrCAD PCB Designer Basics suite is OrCAD PCB Editor
Basicsan intuitive, easy-to-use, constraint-driven environment for creating and
editing PCBs. Its extensive feature set addresses a wide range of todays design and
manufacturability challenges. The PCB editor provides a powerful and flexible set
of floorplanning tools. Powerful shape-based shove/hug interactive etch
creation/editing provides a highly productive interconnect environment. Dynamic
shape capability offers real-time copper pour plowing/healing functionality during
placement and routing iterations. The PCB editor can also generate a full suite of
phototooling, bare-board fabrication and test outputs, including Gerber 274x, NC
drill, and bare-board test in a variety of formats.