Research Methodology Part V: Engineering Experiments. Engineering... · Research Methodology Part...
Transcript of Research Methodology Part V: Engineering Experiments. Engineering... · Research Methodology Part...
Research Methodology Part V:
Engineering Experiments Dr. Tarek A. Tutunji
Mechatronics Engineering Department
Philadelphia University - Jordan
Outline
• Engineering Experiments
• Practical Skills
• Festo Equipment
• Robotino
• Process Automation
• National Instruments Equipment
• Labview
• DAQ
• MyRio
Dr.
Tar
ek A
. Tu
tun
ji
2
Engineering Experiments
• Engineering is concerned with applied science and therefore experiments are important to engineering research • Validation via physical experiments is more convincing than simulation
• Mechatronics engineering is concerned with control of mechanical
systems or processes and therefore experiments should be used to strengthen the research validation
• Lab measurements and control experiments are essential for proper
mechatronics research • PU labs have a collection of equipment that can be used for:
• Mobile robotics (Intelligence and Navigation) • Process Control (single and cascade control) • Data Acquisition (monitor and PC control of systems) • Embedded Controller Systems (real-time control) • Labview and MATLAB software (simulation + HIL)
Dr.
Tar
ek A
. Tu
tun
ji
3
Mechatronics Research Steps
• Choose and focus your research area
• Review and understand theoretical background
• Identify and develop appropriate models and algorithms
• Simulate work to validate results
• Do experimental work to validate results
• Document your work
Dr.
Tar
ek A
. Tu
tun
ji
4
Experiment Setup
1. Define the goals and objectives of the experiment
2. Select the input / output variables to be measured
3. Select the appropriate algorithms (such as control) to be used
4. Choose appropriate lab equipment and required interface (software + hardware)
5. Determine the time-span of the experiment and the appropriate number of data points to collect
6. Connect, run the experiment, and collect data
Dr.
Tar
ek A
. Tu
tun
ji
5
Analyze and Interpret the data
• Plot the results
• Make observations and draw conclusions regarding the variation of the parameters involved
• Compare with predictions from theory and simulation
• Understand and document the results
Dr.
Tar
ek A
. Tu
tun
ji
6
Practical Skills
Dr.
Tar
ek A
. Tu
tun
ji
7
Courses Course Objectives
Lab
Equip
A B C
Mechatronics System Modelling and
Simulation
C1. Simulate industrial systems using software packages
C2. Identify dynamic physical systems
Advanced Measuring Systems and
Sensors
C1. Carry out calibration and error estimation of
measuring devices
C2. Design and assessment of the sensors used in
industrial systems
C3. Improve system performance
Distributed and Embedded Real-Time
Systems
C1. Implement small mechatronics system considering
requirements for a single-chip design.
C2. Work with system design development tools such as
MATLAB, LABVIEW, LOOKOUT HMI/SCADA, PROTEUS or
any other available software.
A. Robotino B. Process Control C. Labview + DAQ + MyRio
Practical Skills
Dr.
Tar
ek A
. Tu
tun
ji
8
Courses Course Objectives
Lab
Equip
A B C
Industrial Mechatronics and Robotic
Systems
C1. Apply robot programming for robots to achieve a
given task
C2. Create robots models for design and analysis
C3. Apply machine vision technology for robot control
Advanced Control Theory C1. Design and simulate industrial and practical systems
C2. Improve the performances of control systems
C3. Implement advanced control techniques
Advanced Programming
C1. Apply object oriented paradigm (OOP) methods in
control and mechatronics systems in engineering
problems
C2. Create and model complex problems by using
appropriate tools
A. Robotino B. Process Control C. Labview + DAQ + MyRio
Dr.
Tar
ek A
. Tu
tun
ji
9
Robotino
• The mobile robot system Robotino facilitates industry-orientated vocational and further training and the hardware consists of suitable industrial components
• Robotino is autonomous. • Numerous sensors, a
camera and a high performance controller provide the system with the necessary “intelligence”.
Dr.
Tar
ek A
. Tu
tun
ji
10
Robotino Features
• Robotino is a fully functional, high quality mobile robot system with omnidirectional drive. The three drive units allow for motion in: Forward, backward and sideways directions
• Robotino is equipped with a webcam and several types of sensors, analogous to distance measurement
• The webcam makes it possible to display and evaluate a live camera image with the help of RobotinoView. Applications such as path and object tracking can be implemented.
• Additional sensors and actuators can be connected via an I/O interface
Dr.
Tar
ek A
. Tu
tun
ji
11
Robotino Features
• Robotinos controller consists of an embedded microcontroller with a compact flash card and contains several demo applications
• The controller can be directly accessed via wireless LAN (WLAN). When correctly programmed, Robotino completes assigned tasks autonomously.
• The PC card contains operating system and functions library
• Robotino can be programmed with
• RobotinoView software at a PC via wireless LAN. RobotinoView is capable of transmitting signals to the motor controller, as well as displaying, changing and evaluating sensor values.
• Linux and C++ API
Dr.
Tar
ek A
. Tu
tun
ji
12
Chassis and Command Bridge
Dr.
Tar
ek A
. Tu
tun
ji
13
Drive Unit Module
• Robotino® is driven by 3 independent, omnidirectional drive units. They are mounted at an angle of 120° to each other.
• Each of the 3 drive units consists of the following components:
• DC motor
• Gear unit with a gear ratio of 16:1
• All-way roller
• Toothed belt
• Incremental encoder
Dr.
Tar
ek A
. Tu
tun
ji
14
Controller Unit
• The Robotino® controller unit consists of 3 components:
• PC 104 processor, compatible with MOPSlcdVE, 300 MHz, and Linux operating system with real-time kernel, SDRAM 128 MB
• Compact flash card (256 MB) with C++ API for controlling Robotino
• Wireless LAN access point
Dr.
Tar
ek A
. Tu
tun
ji
15
Controller Interface
I/O Circuit Board Module
• The I/O circuit board establishes communication between the controller unit and the sensors, the drive units and the I/O interface included with Robotino.
• Each of the motors in the individual drive units are controlled by a PID controller.
• Each motor can be controlled individually.
• Signals from the step encoder, all permanently installed sensors and all sensors and actuators which are connected to the I/O interface are forwarded to the controller unit or the additional actuators.
Dr.
Tar
ek A
. Tu
tun
ji
16
I/O Interface
• The I/O interface makes it possible to connect additional sensors and actuators. They are connected by means of an included plug.
• 8 analogue inputs (0 to 10 V) (AIN0 to AIN7)
• 8 digital inputs (DI0 to DI7)
• 8 digital outputs (DO0 to DO7)
• 2 relays for additional actuators (REL0 and REL1). The relays can be connected as NC, NO or of CO contacts. D
r. T
arek
A. T
utu
nji
17
Available Sensors
• Infrared Sensors
• Nine infrared distance measuring sensors which are mounted in the chassis at an angle of 40° to one another
• The sensors are capable of accurate or relative distance measurements to objects at distances of 4 to 30 cm
• Incremental Encoder
• Three encoders are used. Each for an individual motor . They measure the speed in RPM and a PID is used for compensation
• Anti-collision Sensor
• Switching strip which is secured around the entire circumference of the chassis
• Inductive Sensors
• Diffuse Sensors
Dr.
Tar
ek A
. Tu
tun
ji
18
Sensors
Dr.
Tar
ek A
. Tu
tun
ji
19
User Interface
Dr.
Tar
ek A
. Tu
tun
ji
20
WLAN Communication
Dr.
Tar
ek A
. Tu
tun
ji
21
Camera Access
Dr.
Tar
ek A
. Tu
tun
ji
22
• Open a new worksheet by clicking onto the symbol (1) in the toolbar.
• Now open the "Robotino® hardware" folder (2) by clicking it.
• Drag the camera symbol (3a) onto the desktop by holding down the mouse button.
• Click onto the green arrow in the toolbar (4) to start the program
• Open a window (5) with the actual camera image by double clicking the camera symbol on the desktop (3b). By reducing the desktop, you can enlarge the window showing the camera image.
Software Interaction
Dr.
Tar
ek A
. Tu
tun
ji
23
Robotino SIM
• Robotino® SIM Professional is a simulation software with which Robotino operations can be represented virtually and program sequences can be simulated.
• Robotino® SIM Professional offers:
• Simulation to learn and test Robotinoin a vitual environment
• Programming with Robotino® View programming software or in a high-level programming language such as C, C++, C# etc.
Dr.
Tar
ek A
. Tu
tun
ji
24
Demo Programs
Dr.
Tar
ek A
. Tu
tun
ji
25
User Interface
Dr.
Tar
ek A
. Tu
tun
ji
26
Control Program
Dr.
Tar
ek A
. Tu
tun
ji
27
Loading and Starting a Program
Dr.
Tar
ek A
. Tu
tun
ji
28
Process Automation Workstation
Dr.
Tar
ek A
. Tu
tun
ji
29
• The MPS® PA Compact Workstation combines four closed-loops with digital and analog sensors and actuators.
• The system can be controlled via PC,
PLC, or manual. • It is possible to use single or cascaded
control for the following: • Level controlled system • Flow rate controlled system • Pressure controlled system • Temperature controlled system
PI Diagram
Dr.
Tar
ek A
. Tu
tun
ji
30
Closed-Loop Level Control
Dr.
Tar
ek A
. Tu
tun
ji
31
Closed-Loop Flow Control
Dr.
Tar
ek A
. Tu
tun
ji
32
Closed-Loop Pressure Control
Dr.
Tar
ek A
. Tu
tun
ji
33
Closed-Loop Temperature Control
Dr.
Tar
ek A
. Tu
tun
ji
34
Commissioning to PC
Dr.
Tar
ek A
. Tu
tun
ji
35
FluidLab
Dr.
Tar
ek A
. Tu
tun
ji
36
Software Setup
Dr.
Tar
ek A
. Tu
tun
ji
37
Measurement and Control
Dr.
Tar
ek A
. Tu
tun
ji
38
Example: Continuous Level Control
Dr.
Tar
ek A
. Tu
tun
ji
39
Dr.
Tar
ek A
. Tu
tun
ji
40
Labview: Two Main windows
Dr.
Tar
ek A
. Tu
tun
ji
41
Tools Palette
FRONT PANEL
BLOCK DIAGRAM
Front Panel + Controls
Dr.
Tar
ek A
. Tu
tun
ji
42
Block Diagram + Functions
Dr.
Tar
ek A
. Tu
tun
ji
43
Acquire, Analyze, and Present
Dr.
Tar
ek A
. Tu
tun
ji
44
Acquire, Analyze, and Present
Dr.
Tar
ek A
. Tu
tun
ji
45
Data Acquisition (DAQ)
Dr.
Tar
ek A
. Tu
tun
ji
46
Typical DAQ System
Dr.
Tar
ek A
. Tu
tun
ji
47
Chasis
Dr.
Tar
ek A
. Tu
tun
ji
48
Analog Input Card
Dr.
Tar
ek A
. Tu
tun
ji
49
Analog Output Card
Dr.
Tar
ek A
. Tu
tun
ji
50
Digital I/O Card
Dr.
Tar
ek A
. Tu
tun
ji
51
Accelerometer Input Card
Dr.
Tar
ek A
. Tu
tun
ji
52
Thermocouple Card
Dr.
Tar
ek A
. Tu
tun
ji
53
Labview Rio Architecture
Dr.
Tar
ek A
. Tu
tun
ji
54
• National Instruments (NI) provides reconfigurable hardware paired with graphical programming to researchers .
• This hardware/software approach with LabVIEW reconfigurable I/O (RIO) architecture. • It is based on four components: a processor, a reconfigurable FPGA, inputs and outputs,
and graphical design software. • Combined, these components provide the ability to rapidly create custom hardware
circuitry with high-performance I/O and unprecedented flexibility in system timing control.
NI myRio
Dr.
Tar
ek A
. Tu
tun
ji
55
Servo Motor Interface
Dr.
Tar
ek A
. Tu
tun
ji
56
DC Geared Motor Interface
Dr.
Tar
ek A
. Tu
tun
ji
57
Accelerometer Interface
Dr.
Tar
ek A
. Tu
tun
ji
58
Piezoelectric Interface
Dr.
Tar
ek A
. Tu
tun
ji
59
Conclusion
• Lab experiments are essential for proper mechatronics research
• Available FESTO equipment include:
• Robotino
• Process Control Station
• Available National Instruments include:
• Labview
• DAQ
• MyRio
Dr.
Tar
ek A
. Tu
tun
ji
60
Reference
• FESTO Robotino Manual, 544305
• FESTO Robotino SIM Professional Manual, 749261
• FESTO Process Automation, Compact Workstation Manual, 12/2008
• FETSO FluidLab Manual, 12/2008
• National Instruments, Labview Core 1 Course Manual
• National Instruments, MyRio Manual
• National Instruments, Data Sheets
• Du, Furman, and Mourtos “On the ability to design engineering experiments”. 8th UICEE Annual Conference on Engineering Education, Kingston, Jamaica, 7-11 February 2005
Dr.
Tar
ek A
. Tu
tun
ji
61