1 Workshop 4 (A): Telemetry and Data Acquisition Mahidol University June 13, 2008 Paul Evenson University of Delaware Bartol Research Institute.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Data Representation COE 202 Digital Logic Design Dr. Aiman El-Maleh
Bits and Bytes + Controlling 8 LED with 3 Pins Binary Counting and Shift Registers.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
1 Physical Layer: Data Encoding & Transmission. 2 Network Interface Card (NIC) LL in part, PL in total are implemented in NIC –Ethernet card, card,
Chapter 2 Fundamentals of Data and Signals
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
1 Neutron Monitor Workshop 3(A): Microcontroller Principles and the Demo Board Mahidol University January 5, 2010 Paul Evenson University of Delaware Bartol.
Data transmission refers to the movement of data in form of bits between two or more digital devices. This transfer of data takes place via some form.
INPUT-OUTPUT ORGANIZATION
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
SCADA and Telemetry Presented By:.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Lecture 2 2. Number systems, codes, signals - fundamentals
COMP Representing Sound in a ComputerSound Course book - pages
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Data Communications Chapter 5 Data Encoding.
1 Neutron Monitor Workshop 3(B): Next Generation Readout Board Mahidol University January 6, 2010 Paul Evenson University of Delaware Bartol Research Institute.
Data Manipulation, Communication and Architecture Fall 2012.
James Westover Dan Linford.  Background  Production and Lifetime  The Apparatus  Discussion of our procedure and results  Questions.
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
British Computer Society (BCS)
Digital Communications
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Data Encoding and Decoding Professor: Dr. Miguel Alonso Jr.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
PHY 201 (Blum)1 Microcode Source: Digital Computer Electronics (Malvino and Brown)
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Neutron Monitor Workshop 1(A): Detector Physics and Analog Electronics Mahidol University December 11, 2008 Paul Evenson University of Delaware Bartol.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
MECH1500 Chapter 3.
PS/2 Mouse/Keyboard Port
Physical Layer Issues and Methods Outline Physical Layer Overview Non-Return to Zero Manchester 4B/5B.
FUNDAMENTALS OF NETWORKING
CSCI 465 Data Communications and Networks Lecture 8 Martin van Bommel CSCI 465 Data Communications and Networks 1.
Physical Layer Issues and Methods Outline Physical Layer Ethernet Technology Physical Layer Encoding Final Exam Review - ??
1 Neutron Monitor Workshop 2(B): Neutron Monitor Digital Electronics Mahidol University June 26, 2009 Paul Evenson University of Delaware Cosray at McMurdo.
1 Neutron Monitor Workshop 2(A): Principles of Digital Logic Mahidol University June 25, 2009 Paul Evenson University of Delaware Bartol Research Institute.
Serial Communication RS-232. In order to make two devices communicate, whether they are desktop computers, microcontrollers, or any other form of integrated.
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
CSE 320 Data Communications
DATA Unit 2 Topic 2. Different Types of Data ASCII code: ASCII - The American Standard Code for Information Interchange is a standard seven-bit code that.
1 Neutron Monitor Workshop 2(A): Principles of Digital Logic Mahidol University July 22, 2011 Presentation developed by: Paul Evenson University of Delaware.
Serial Communications
Michael Rahaim, PhD Candidate Multimedia Communications Lab
EKT124 Digital Electronics 1 Introduction to Digital Electronics
Serial mode of data transfer
Chapter 4. Digital Transmission
Data Conversion Methods
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
C_ITCO011/C_ITCO111 LECTURER: E.DONDO
Chapter 4 Digital Transmission
Computer Organization and Design
Asynchronous Serial Communications
Serial Communication Interface
Chapter 4 Digital Transmission
Chapter Nine: Data Transmission
Analog-to-digital converter
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
Chapter 6 Transmission of Digital Data Interfaces and Modems
Serial Communications
Presentation transcript:

1 Workshop 4 (A): Telemetry and Data Acquisition Mahidol University June 13, 2008 Paul Evenson University of Delaware Bartol Research Institute

2 Workshop Series Idea Introduce students to technical aspects of neutron monitor operation Rotating workshop series that will repeat every two years at a two per year rate Independent enough so students can join at any point Accommodate wide skill range with an emphasis on “hands on” experience and individual discussion

3 Workshop Series Plan 1.Detector operation (i.e. proportional counter), reading schematics, and analog electronics (through the PHA) 2.Digital logic (including theory of the peripheral devices like the barometers). 3.Microcontrollers (including data transfer methods within the electronics system) 4.Real time data acquisition (i.e. the Visual Basic program handling real-time data) A.Telemetry and Data Acquisition B.Data conversion and manipulation

4 Neutron Monitors High energy cosmic rays are rare. Observing them at high time resolution requires a large detector. Ground based instruments remain the state-of-the-art method for studying these elusive particles. Neutron monitors on the surface record the byproducts of nuclear interactions of high energy primary cosmic rays with Earth's atmosphere.

5 Neutron Monitor Principle An incoming hadron interacts with a nucleus of lead to produce several low energy neutrons. These neutrons thermalize in polyethylene or other material containing a lot of hydrogen. Thermal neutrons cause fission reaction in 10B (7Li + 4He) or 3He (3H + p) in a gas proportional counter. The large amount of energy released in the fission process dominates that of all penetrating charged particles. There is essentially no background. Unfortunately some leptons can interact with the lead, most notably low energy negative muons in muonic atoms. About 6% of the counts come from this source. This causes the monitor to have some sensitivity to atmospheric structure. (Thunderstorm effect?)

6 Simulated interaction in a neutron monitor

7 Starting Point for Today: Numbers describing one second of operation of the (“300 chip”) micromonitor have been collected: –Accumulated Counts (24 bits) –Sequence timer (32 bits) –Voltages (4 x 16 bits) –Temperatures (3 x 16 bits) –Pulse Heights (16 x 16 bits)

8 Bits and Bytes Binary notation Octal 123 ( ) Hexadecimal53( ) ASCII CharacterS

9 The ASCII Code Table

10 Telemetry: Reproduce a specific bit sequence in a remote location Explicitly clocked data –Simple and fast –No need for accurate frequency –Needs at least two “wires” –Shift registers Self clocked data –Next slide …

11 RZ (Return to Zero) Self Clocked Data Clock is implicit Accurate frequency is essential to detection

12 NRZ (Non Return to Zero) Data Non-return to zero encoding is used in slow speed synchronous and asynchronous transmission interfaces. With NRZ, a logic 1 bit is sent as a high value and a logic 0 bit is sent as a low value [really no encoding at all]. The receiver may lose synchronization when using NRZ to encode a synchronous link which may have long runs of consecutive bits with the same value [no changes in voltage]. Other problems with NRZ include; Data sequences containing the same number of 1's and 0's will produce a DC level, and NRZ requires a large bandwidth, from 0Hz [for a sequence containing only 1's or only 0's] to half of the data rate [for a sequence of ].

13 Computer COM Ports Use RS 232 Asynchronous Framing [Known data width, 8bits] with NRZ encoding The stop bit is used to bring [or insure] the signal rests at a logic high following the end of the frame Must have some framing gaps Still need internal patterns for synchronization of character strings For strict ASCII data, and/or are typical

14 So what does the micromonitor actually transmit? One-per-second burst of 51 characters Framing gap is time between bursts (records) Record format: –“LSMN” in ASCII –Master board number (1 binary byte) –Remote within master (1 binary bytes) –Accumulated Counts (3 binary bytes) –Sequence timer (4 binary bytes) –Voltages (4 x 2 binary bytes) –Temperatures (3 x 2 binary bytes) –Pulse Heights (16 x 2 binary bytes) – in ASCII

15 What does a COM port do? Electronically searches for start and stop bits Places each eight bit byte at the end of an “input buffer” (exact timing is now lost) Keeps track of the length of the buffer Via the “driver” lets a program know the length of the buffer Allows a program to remove bytes from the start of the buffer Keeps track of various error conditions

16 Visual Basic Interacts with the Driver via the MSComm Control A Control is a subroutine that can be “called” either by the program or by the system Parameters are termed Properties Calls by the system are termed Events Calls by the program are termed Methods Setting a Property can also result in an action

17 MSComm Control Properties (Note that several of these could also be called Methods)

18 The COM Port “Event”

19 What we will do next (I Hope!) See the full program operate Look at the input data on an oscilloscope Make a “splitter” to enter the data into several computers Write a simple Visual Basic program together Tomorrow we will go through the operation of the full program, and you can try to change your copy of this

20 Our Simple VB Program Start a new project with one form and one module Put a “Label Control” on the form Make it change color between red and green Put on a second label Make it say “red” or “green” Put on a Comm control Open or close it as the label goes green or red Read data Convert data to “hex” format Make the label display the latest data