1 Sensors, Actuators, Signals, and Computers Part D Ping Hsu, Winncy Du, Ken Youssefi.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

HARDWARE Rashedul Hasan..
EET260 Introduction to digital communication
Number Systems and Codes
Analog-to-Digital Converter (ADC) And
In this presentation you will:
COMPUTERS AND INPUT SENSORS. cbc MICROCOMPUTER OPERATION HAPPENS IN STAGES Memory.
Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
© Paradigm Publishing, Inc. 2-1 Chapter 2 Input and Processing Chapter 2 Input and Processing.
SPI Serial Peripheral Interface. SPI Serial Peripheral Interface is communication between two devices, one bit at a time sequential one bit at time over.
INTRODUCTION TO ROBOTICS INTRODUCTION TO ROBOTICS Part 4: Sensors Robotics and Automation Copyright © Texas Education Agency, All rights reserved.
Digital Systems: Introductory Concepts Wen-Hung Liao, Ph.D.
Module 4: Analog programming blocks. Module Objectives Analyze a control task that uses analog inputs. Connect a potentiometer to LOGO! controller and.
Unit 4 Sensors and Actuators
Introduction to Information Technology: Your Digital World © 2013 The McGraw-Hill Companies, Inc. All rights reserved.Using Information Technology, 10e©
Basic Electricity and Electronics Mr. McClean Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Signals, Circuits, and Computers Part A Winncy Du Fall Based on Dr
SIMS-201 Representing Information in Binary. 2  Overview Chapter 3: The search for an appropriate code Bits as building blocks of information Binary.
8/8/2015IENG 475: Computer-Controlled Manufacturing Systems 1 IENG Lecture 11 Sensors, Actuators, and Relay Control Logic.
Analogue and Digital Signals SL – Option C.1. Signals When talking about electronics we will talk about ‘signals’ –This is simply the transfer of information.
Motherboard AKA mainboard, system board, planar board, or logic board. It is printed circuit board found in all modern computers which holds many of the.
EML 2023 – Motor Control Lecture 3 – Feedback Sensor Optical Encoder.
Introduction to Robotics Principles of Robotics. What is a robot? The word robot comes from the Czech word for forced labor, or serf. It was introduced.
Digital to Analog Converters (DAC) 1
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
Programmable Logic Controllers
Module 4: Analog programming blocks. Module Objectives Analyze a control task that uses analog inputs. Connect a potentiometer to LOGO! controller and.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
M. Zareinejad 1. 2 Outline # Sensors –––– Sensor types Sensor examples #Actuators Actuator types Actuator examples ––––
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Data Acquisition Systems
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Seminar ON SMART SENSOR Submitted by : SUBIR KUMAR GHOSH Roll No. IN-14/04 Electrical & Instrumentation Deptt. B.E 7th Semester JORHAT ENGINEERING COLLEGE,
1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1.
Measurement and Control. Control Systems A control system usually consists of a processor, a control program, interfaces and a device under the processor's.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
INTRODUCTION TO ROBOTICS INTRODUCTION TO ROBOTICS Part 4: Sensors Robotics and Automation Copyright © Texas Education Agency, All rights reserved.
MECH1500 Chapter 3.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
M. Zareinejad 1. 2 Outline # Sensors –––– Sensor types Sensor examples #Actuators Actuator types Actuator examples ––––
Actuators and Control, Part 5 Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved. 1.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Lecture Notes / PPT UNIT III
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
Pick N Place Robot. Pick N Place Robot Introduction:  Pick and Place robot is the one which is used to pick up an object and.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
Mechatronics – a design process that includes
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
INTRODUCTION TO ELECTRONIC INSTRUMENTATION
Obstacle avoiding robot { pixel }
Number Systems and Codes
Robotic Circuit Components
Instrumentation and Control Systems
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Digital Systems: Introductory Concepts
IENG 475: Computer-Controlled Manufacturing Systems
Analog-to-digital converter
Digital Logic Design 17 Mechatronics
Chapter 7 Converters.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
IENG 475: Computer-Controlled Manufacturing Systems
Presentation transcript:

1 Sensors, Actuators, Signals, and Computers Part D Ping Hsu, Winncy Du, Ken Youssefi

2 Mechatronics – a design process that includes Mechanical engineering Electrical engineering Control engineering Computer engineering

3 Mechatronics System Actuators Microprocessors and Microcontrollers Sensors Product (Robot, Autonomous Guided vehicle, Numerical Controlled Machine, Vehicle engines, Consumer products, Conveyor systems, Assembly systems, Cranes, Defense equipments, Air craft engines, etc) Sensing signal Command signal Actuation Variables Control code

4 Sensors measure changes in physical quantities, (Input). The changes occur in response to some excitation, for example heat or force and covert that into an electrical signal. Devices which perform an “Output” function are generally called Actuators and are used to control some external device, for example movement or sound.

Types of Signals Analog: An analog signal is a continuous signal and is often represented by a V(t). A dimmer light switch continuously increases/decreases the current. 5 Digital : A digital signal is a discrete time signal, binary signal. An On/Off light switch applies a fixed, predetermined voltage. LP record vs CD audio analog TV vs digital TV

6 Button Motion Digital Sensors Bumper Switch Sensor Lever Limit Switch Sensor Ultrasonic sensor

Optical Shaft Encoder 7Hsu/Youssefi The optical shaft encoder is a digital sensor. It is used to measure rotational movement. Disc with 90 equally spaced slots As the disc rotates, an infrared light sensor is used to count the number of slots passed. A count of 90 makes one revolution.

8 Analog Sensors Proximity sensors measure the distance from the sensor to an obstructing object in front of the sensor. There are two types, Infrared and Sonar Proximity sensors Accelerometers sense motion and are used to detect changes in position, tilt, and orientation Accelerometers Measure the amount of pressure, for example of a finger press, or the weight of someone standing on a surface Pressure sensors

9 Detect the amount of light striking the sensor, which is called a photocell, photoresistor, Analog Sensors Light sensors measure the air temperature in Fahrenheit or Celsius. Temperature sensors Measure the position of a finger touch across a surface Ribbon sensors Potentiometers Measure rotation or linear travel, and are used in car stereos, dimmers, equalizers, etc

10 Actuators Actuators are devices that is responsible for moving and controlling a mechanism or system: Rotary or linear - Electric, hydraulic or Pneumatic Stepper motor Divides a full rotation into a number of equal steps. No need for sensors or feedback system Servo motor Controls the rotation of the shaft, needs sensor and closed feedback system Electric motor (AC or DC)

11 Linear Actuators – Hydraulic, Pneumatic, mechanical Hydraulic and Pneumatic actuators

12 Analog and Digital Signals Light intensity Temperature Pressure Flow rate

13 Analog SignalDigital Signal Sensor Buffer Amplifier Low-pass filter Sample & hold A/D Converter Computer Memory

14 Voltage Level vs. Logic State Digital Signal has a high noise immunity level – the level of noise that can be added to the signal without affecting its state.

15 Analog Signal vs. Digital Signal 1. Analog signals Pros: high resolution, efficient transmission (1 wire, 1 signal), no delay, ‘real world’ signals. Cons: Difficult to process (perform operations, storage), susceptible to noise. 2. Digital Signals Pros: high immunity to noise, easy to process Cons: needs a lot of ‘bits’ and circuits, data processing delay

16 Analog – Digital Conversion DAC Bit 0 Bit 9 Analog output Bit 0 Bit 9 Digital input ADC Analog input Digital output

17 Digital to Analog video converter Digital Audio to Analog Converter Analog to Digital video converter

18 Which of the following is NOT an advantage of a digital signal: A: Easy to perform math operation B: Easy to store C: High noise immunity D: Need less circuitry E: All the above Clicker Question 1

19 Bits, Bytes and Words Consider a number 7582, it has four digits The 2 is filling the “1s place”, the 8 is filling the “10s place”, the 5 is filling the “100s place while the 7 is filling the “1000s place. (7 * 1000) + (5 * 100) + (8 * 10) + (2 * 1) = = 7582 A different way of expressing the same number is to use powers of 10 – this is a base 10 system. (7 * 10 3 ) + (5 * 10 2 ) + (8 * 10 1 ) + (2 * 10 0 ) = = 7582 We can select any number as the base, for example 8, 5, …. Computers operate using the base 2 number system, also known as the binary number system.

20 Computers use the base-2 system because it makes it easier to implement them with our current electronic technology. Building a computer to operate on base-2 is less expensive right now. Bits, Bytes and Words The word bit is a shortening of the words "Binary digIT." We can use the same method as base-10 to determine the value of 1011, but instead of 10 use 2: (1 * 2^3) + (0 * 2^2) + (1 * 2^1) + (1 * 2^0) = = 11 Decimal digits have 10 possible values ranging from 0 to 9, bits have only two possible values: 0 and 1. Therefore, a binary number is composed of only 0s and 1s, like 1011.

21 0 = 0 1 = 1 2 = 10 3 = 11 4 = = = = = = = = = = = = = = = = = Counting in decimal and binary from 0 to 20 Binary Decimal 0 and 1 are the same in both systems = 110 Carrying over starts at the second number = 100 Binary Arithmetic There are four basic rules 1) = 0 and carry 0 2) = 1 and carry 0 3) = 1 and carry 0 4) = 0 and carry 1

22 Bits, Bytes and Words Bits: (2 0 ) One ‘bit’ can only represent a binary state: 0 or 1, on or off, stop or go. Bytes. (2 3 ) One byte consists of 8 bits. Words: (2 4 or 2 5 or 2 6 ) One word consists of 16 bits or 32 bits or 64 bits, depending on the computer. Mega (M) 2^20 = 1,048,576 Giga (G) 2^30 = 1,073,741,824

23 Number of bitsNumber of different values that can be represented 4-bit (1 nibble)2 4 =16 8-bit (1 byte)2 8 = bit2 10 = bit (1 word)2 16 = bit2 32 = bit2 64 =

24 A 4-bit binary number Binary number: 0110 = (0x8)+(1x4)+(1x2)+(0x1)=6 Binary number: 1101 = 8+4+1=13 Least Significant Bit LSB 2 3 (b 3 )2 (b 2 ) 2 1 (b 1 ) 2 0 (b 0 ) 8421 MSB Most Significant Bit

25 What is the decimal value of the 4-bit binary number 0101? (A) 3 (B) 4 (C) 5 (D) 6 (E) 7 Clicker Question 2

26 What do we call the bit that is in the leftmost position in a binary number? A: SNB B: LMB C: MSB D: LSB E: USB Clicker Question 3

27 Digital Communication Bits are sent sequentially, it takes a long time Serial connection 9-pin serial ports

28 Digital Communication Parallel connection Uses a dedicated wire for each bit, faster than serial port. Printer is connected to the parallel port. 25 pin female at the PC parallel port sends 8 bits of data (1 byte) at a time. These 8 bits are transmitted parallel to each otherbits

Universal Serial Bus - USB 29 Compared to other ways of connecting devices to your computer (including parallel ports, serial ports and special cards that you install inside the computer's case), USB devices are incredibly simpleparallel portsserial ports "A" connectors head "upstream" toward the computer The USB gives you a single, standardized, easy-to-use way to connect up to 127 devices to a computer. "B" connectors head "downstream" and connect to individual devices Inside a USB cable