Chess Review November 18, 2004 Berkeley, CA Experimental Research Edited and Presented by Alberto Sangiovanni Vincentelli, Co-PI UC Berkeley.

Slides:



Advertisements
Similar presentations
A Hierarchical Co-ordination Language for Interacting Real-time Tasks Arkadeb Ghosal, UC Berkeley Thomas A. Henzinger, EPFL Daniel Iercan, "Politehnica"
Advertisements

GENI: Global Environment for Networking Innovations Larry Landweber Senior Advisor NSF:CISE Joint Techs Madison, WI July 17, 2006.
PTIDES: Programming Temporally Integrated Distributed Embedded Systems Yang Zhao, EECS, UC Berkeley Edward A. Lee, EECS, UC Berkeley Jie Liu, Microsoft.
Integrated Design and Analysis Tools for Software-Based Control Systems Shankar Sastry (PI) Tom Henzinger Edward Lee University of California, Berkeley.
February 21, 2008 Center for Hybrid and Embedded Software Systems Organization Board of Directors Edward A. Lee, UC Berkeley.
6th Biennial Ptolemy Miniconference Berkeley, CA May 12, 2005 Future Directions Edward A. Lee.
Component-Based Design of Embedded Control Systems Luca Dealfaro Chamberlain Fong Tom Henzinger Christopher Hylands John Koo Edward A. Lee Jie Liu Xiaojun.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by A New Course in Hybrid and Embedded Systems Claire J. Tomlin UC Berkeley.
Towards a theory of large scale networks Massimo Franceschetti.
Chess Review May 10, 2004 Berkeley, CA Modeling Subtilin Production in Bacillus subtilis Using Stochastic Hybrid Systems Jianghai Hu, Wei-Chung Wu Denise.
February 23, 2012 Center for Hybrid and Embedded Software Systems Organization Board of Directors Edward A. Lee, EECS Thomas.
A New Household Security Robot System Based on Wireless Sensor Network Reporter :Wei-Qin Du.
Chess Review May 11, 2005 Berkeley, CA Closing the loop around Sensor Networks Bruno Sinopoli Shankar Sastry Dept of Electrical Engineering, UC Berkeley.
February 11, 2010 Center for Hybrid and Embedded Software Systems Cyber-Physical Systems (CPS): Orchestrating networked.
Pursuit Evasion Games (PEGs) Using a Sensor Network Luca Schenato, Bruno Sinopoli Robotics and Intelligent Machines Laboratory UC Berkeley
Dr. Shankar Sastry, Chair Electrical Engineering & Computer Sciences University of California, Berkeley.
MoBIES Working group meeting, September 2001, Dearborn Ptolemy II The automotive challenge problems version 4.1 Johan Eker Edward Lee with thanks.
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 PTIDES: A Programming Model for Time- Synchronized Distributed Real-time Systems Yang.
Center for Hybrid and Embedded Software Systems Jonathan Sprinkle Executive Director, CHESS Center for Hybrid and Embedded Software Systems UC Berkeley.
Designing Predictable and Robust Systems Tom Henzinger UC Berkeley and EPFL.
Retard influence on torque production. c T is a constant which is roughly the same for engines with the same compression ratio. Fuel Dynamics Fueling delays.
MOBIES Project Progress Report Engine Throttle Controller Design Using Multiple Models of Computation Edward Lee Haiyang Zheng with thanks to Ptolemy Group.
NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Gautam Biswas and Ken.
Department of Electrical Engineering and Computer Sciences University of California at Berkeley The Ptolemy II Framework for Visual Languages Xiaojun Liu.
Hybrid Controller Reachability Reachability analysis can be useful to determine how the continuous state of a system evolves. Ideally, this process can.
Biology.sdsc.edu CIPRes in Kepler: An integrative workflow package for streamlining phylogenetic data analyses Zhijie Guan 1, Alex Borchers 1, Timothy.
Computing in Atmospheric Sciences Workshop: 2003 Challenges of Cyberinfrastructure Alan Blatecky Executive Director San Diego Supercomputer Center.
SOA, BPM, BPEL, jBPM.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
A Pattern for Gradual Transitioning during Dynamic Component Replacement in Extreme Performance UAV Hybrid Control Systems Murat Guler, Linda Wills, Scott.
Composing Models of Computation in Kepler/Ptolemy II
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
Introduction for BEAM Ecological Niche Modeling Working Meeting Deana Pennington University of New Mexico December 14, 2004.
Kaifei Chen, Siyuan He, Beidi Chen, John Kolb, Randy H. Katz, David E
1 CS 501 Spring 2003 CS 501: Software Engineering Lecture 16 System Architecture and Design II.
Wireless Networks Breakout Session Summary September 21, 2012.
1 Kepler/SPA Extensions for Scientific Workflows – Now and Upcoming Ilkay Altintas SWAT lead San Diego Supercomputer Center Bertram Ludäscher.
What are the main differences and commonalities between the IS and DA systems? How information is transferred between tasks: (i) IS it may be often achieved.
Accelerating Scientific Exploration Using Workflow Automation Systems Terence Critchlow (LLNL) Ilkay Altintas (SDSC) Scott Klasky(ORNL) Mladen Vouk (NCSU)
Chad Berkley NCEAS National Center for Ecological Analysis and Synthesis (NCEAS), University of California Santa Barbara Long Term Ecological Research.
© 2012 xtUML.org Bill Chown – Mentor Graphics Model Driven Engineering.
Responding to the Unexpected Yigal Arens Paul Rosenbloom Information Sciences Institute University of Southern California.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Grid Computing & Semantic Web. Grid Computing Proposed with the idea of electric power grid; Aims at integrating large-scale (global scale) computing.
Networked Embedded and Control Systems WP ICT Call 2 Objective ICT ICT National Contact Points Mercè Griera i Fisa Brussels, 23 May 2007.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
Scientific Workflow systems: Summary and Opportunities for SEEK and e-Science.
Satisfying Requirements BPF for DRA shall address: –DAQ Environment (Eclipse RCP): Gumtree ISEE workbench integration; –Design Composing and Configurability,
Euro-Par, HASTE: An Adaptive Middleware for Supporting Time-Critical Event Handling in Distributed Environments ICAC 2008 Conference June 2 nd,
Giotto Embedded Control Systems Development with Thomas A. Henzinger Ben Horowitz Christoph M. Kirsch University of California, Berkeley
Cyberinfrastructure Overview of Demos Townsville, AU 28 – 31 March 2006 CREON/GLEON.
Embedded Systems - the Neural Backbone of Society ARTEMIS Industry Association ARTEMIS, from successful R&D to cutting-edge Innovation Rolf Ernst, TU Braunschweig.
February 11, 2016 Center for Hybrid and Embedded Software Systems Organization Faculty Edward A. Lee, EECS Alberto Sangiovanni-Vincentelli,
February 14, 2013 Center for Hybrid and Embedded Software Systems Organization Faculty Edward A. Lee, EECS Alberto Sangiovanni-Vincentelli,
IoT R&I on IoT integration and platforms INTERNET OF THINGS
Efrat Jaeger – SDSC Bertram Ludäscher – UC DAVIS Krishna Sinha – Virginia Tech Ashraf Memon – SDSC Ghulam Memon – SDSC Ilkay Altintas – SDSC Kai Lin –
Bob Jones EGEE Technical Director
Latency and Communication Challenges in Automated Manufacturing
IOT – Firefighting Example
Ptolemy II - Heterogeneous Concurrent Modeling and Design in Java
An overview of the CHESS Center
What contribution can automated reasoning make to e-Science?
TRUST:Team for Research in Ubiquitous Secure Technologies
Retargetable Model-Based Code Generation in Ptolemy II
Ptolemy II - Heterogeneous Concurrent Modeling and Design in Java
An overview of the CHESS Center
Ptolemy II - Heterogeneous Concurrent Modeling and Design in Java
Distributed Control Applications Within Sensor Networks
An overview of the CHESS Center
A Semantic Type System and Propagation
Presentation transcript:

Chess Review November 18, 2004 Berkeley, CA Experimental Research Edited and Presented by Alberto Sangiovanni Vincentelli, Co-PI UC Berkeley

Chess Review, November 18, Overview Experimental research is an essential component of CHESS –Feedback on approach –Inspiration for new theory –Impact Wide range –Industrial cases (to be covered in the afternoon) Automotive (safety-critical distributed systems) System-on-Chip (high-complexity platforms) –Internal experimental test benches Wireless Sensor Networks (security, low power) UAVs (complex control, sensor integration) –New domains: Scientific Workflows: Kepler Stochastic Hybrid Systems in Systems Biology

Chess Review, November 18, Overarching Criteria An application should exercise –Theory: hybrid models, Models of Computation, control algorithms –Tools and Environments –Path to implementation An application should be relevant for industry or for government agencies

Chess Review, November 18, Some Applications Addressed Automotive Avionics: UAVs Networked Embedded Systems Systems Biology

Chess Review, November 18, Power-train Specification (ASV)

Chess Review, November 18, Model of Power-train (ASV) Manifold (continuous system) Engine sub- system Drive-line (continuous system with changing dynamics) Throttle opening angle Spark timing Torque Manifold pressure Clutch Insertion/ Release Gear change Vehicle Speed Simple?

Chess Review, November 18, Single Cylinder Hybrid Model

Chess Review, November 18, Cold-Start Problem (E. Lee, K. Hedirck, Tomizuka) Most of the hydrocarbon emissions from an engine are emitted in the first few seconds of running. Modal control laws can mitigate this effect. Toyota Test Cell, UCB 0 0 HC Speed Regulation limit 0 0 Speed Cumulative HC amount Time HC Speed Regulation limit The approach is to overlay on the hybrid systems model of the cylinder cycles a modal controller, itself a hybrid system. This project is pursued collaboratively with Karl Hedrick, Mechanical Engineering, and Toyota. See the poster for details. Engine sub- system

Chess Review, November 18, Transmission Problem Hybrid systems models of transmission coupled with models of engine torque control are being used to improve transmission performance. This project is pursued collaboratively with Prof. Tomizuka, Mechanical Engineering, and Toyota. See the poster for details. Shift Quality Control aims to reduce undesired shock during gear shift. When engaging into a new gear, actuations (hydraulic pressures) are set such that output speed/torque have smooth transients.

Chess Review, November 18, Outline –Internal experimental test benches Automotive Wireless Sensor Networks (security, low power) UAVs (complex control, sensor integration) –New domains: Scientific Workflows: Kepler Stochastic Hybrid Systems in Systems Biology

Chess Review, November 18, Building Comfort, Smart Alarms Great Duck Island Elder Care Fire Response Factories Wind Response Of Golden Gate Bridge Vineyards Redwoods Instrumenting the world Soil monitoring

Chess Review, November 18, Connected ? Information throughput ? Transmission power ? Routing ? Delay ? Reliability ? Extreme scaling Large scale networks theory

Chess Review, November 18, Gilbert’s model Extension with interference Spread out, unreliable connections Sensor placement algorithms Throughput capacity Closing the loop Let’s look at the Application level

Chess Review, November 18, Wireless Sensor Networks: Applications and Platforms Interoperability (ASV, J. Rabaey, BWRC) Applications bound to specific implementation platforms Need interoperability between applications and between implementation platforms Need to hide implementation details from application programmers Application

Chess Review, November 18, A Service-oriented Application Interface Application-level universally agreed Interface –In Internet Sockets support several applications and can be implemented by several protocols Define a standard set of services and interface primitives for Sensor Networks –accessible by the Application (hence called Application Interface) –independent on the implementation on any present and future sensor network platform Application Interface

Adaptive Networked Infrastructure Core partners: Berkeley (lead), Cornell, Vanderbilt Outreach partners: San Jose State, Smith, Tennessee Tech, UC Davis, UC Merced. Principal investigator: Edward A. Lee, Professor, EECS, UC Berkeley, Enabling technologies: wireless networked embedded systems with sensors and actuators Deliverables: Engineering Methods, Models, and Toolkits for: design and analysis of systems with embedded computing computation integrated with the physical world analysis of control dynamics with software and network behavior programming the ensemble, not the computer computer-integrated systems oriented engineering curricula Approach: Engineering methods for integrating computer-controlled, networked sensors and actuators in societal-scale infrastructure systems. Resource management test beds: electric power transportation water Target: efficient, robust, scalable adaptive networked infrastructure. The ANI ERC

Chess Review, November 18, Outline –Internal experimental test benches Automotive Wireless Sensor Networks (security, low power) UAVs (complex control, sensor integration) –New domains: Scientific Workflows: Kepler Stochastic Hybrid Systems in Systems Biology

Chess Review, November 18, Berkeley Aerobots (Sastry, Henzinger, ASV) The following have been demonstrated on the Yamaha R-50 helicopters: –Autonomous control. –Waypoint navigation. –Vision-based landing on a pitching deck. –Pursuit-evasion games with ground robots. –Coordinated flight with two helicopters. –Conflict detection and resolution of multiple helicopters Limitations of 1 st -generation control system: –Undisciplined use of shared memory. –No synchronization between reactions to IMU and GPS messages. –No means of testing except for flight testing. –Not robust with respect to GPS failure.

Chess Review, November 18, nd -Generation Control System Our control system is based around Giotto, a time-based language for embedded systems programming. Giotto is ideal for correcting shortcomings of 1 st -generation system: –Deterministic semantics. –Disciplined use of shared memory. –Carefully implemented inter-task synchronization. –Programmer-specified latencies between sensor input and actuator output.

Chess Review, November 18, A Giotto-based Controller Giotto’s time-based semantics is a natural match for the controller implementation. –One complication: GPS, IMU are unsynchronized. –Solution: treat IMU message as clock, always use most recent GPS message. Latency, from IMU to servos, is 10 ms. For the RMAX, this is perfectly acceptable. Kalman filter Kalman filter, waypoint generation Servomotor message IMU GPS Servos Time t+0 mst+10 ms t+20 ms

Chess Review, November 18, Giotto Implementation Implementing the controller required porting the Embedded Machine, a virtual machine for executing Giotto programs, to VxWorks: 1300 lines of C code. –Controller functionality: 700 lines of C code. –E Code, executed by the Embedded Machine: 100 lines. –Instrumentation code (IMU, GPS, and actuators): 1800 lines of C code. The controller is extremely reliable. Have yet to determine mean time before failure: runs for 34 days at least The Giotto controller will be flown on the R-Max by December 2004.

Chess Review, November 18, Future Work Using xGiotto and Metro flow, we can quickly evaluate different implementation platforms and synchronization methods In particular, we wish to: Implement controller on top of OCP (Boeing’s Open Control Platform) which is being repositoried by ESCHER Make controller robust to GPS failure.

Chess Review, November 18, Pursuit Evasion Games (PEGs) (Sastry) Consider: –Intelligence gathering, remote-piloted UAV in flight –Alerted (internally, or by an observer) of an adversary over the horizon What to do? –Time lag is too large for remote “escape” –Adversary will most likely locate UAV shortly –Not enough time to transmit back all data Proposal: –Turn over control to a switched “intelligent” evader Controller may also be capable of pursuit/targeting

Chess Review, November 18, PEGs: Status Experience with ground vehicles and rotorcraft combined for fixed-wing demo Reconfigurable nonlinear-model predictive control used to control evasive/pursuit maneuvers Flew in Boeing T-33 Jet, June 2004 –Positive response from pursuing/”caught” pilot in F-15, “behaved just like a human” Possible applications for PEGs with autonomous vehicles –NASA robotics (long lag control) –Underwater security (unmanned submarines)

Chess Review, November 18, PEGs: Application Demonstration

Chess Review, November 18, Outline –Internal experimental test benches Automotive Wireless Sensor Networks (security, low power) UAVs (complex control, sensor integration) –New domains: Scientific Workflows: Kepler Stochastic Hybrid Systems in Systems Biology

Chess Review, November 18, A New Application of Ptolemy II Kepler – Scientific Workflows (Lee) A distributed workflow system to “provide access to any resource, any data, any service, anytime, anywhere” via a distributed computing platform (aka the “Grid”) supporting “high performance computing, and federated, integrated, mediated databases within a user-friendly workbench / problem- solving environment”. This effort is compatible with the objectives of NSF Cyberinfrastructure, UK’s e-Science Programme, and DOE’s SciDAC (Scientific Discovery through Advanced Computing).

Chess Review, November 18, KEPLER/CSP: Contributors, Sponsors, Projects (or loosely coupled Communicating Sequential Persons ;-) Ilkay Altintas SDM, Resurgence Kim Baldridge Resurgence, NMI Chad Berkley SEEK Shawn Bowers SEEK Terence Critchlow SDM Tobin Fricke ROADNet Jeffrey Grethe BIRN Christopher H. Brooks Ptolemy II Zhengang Cheng SDM Dan Higgins SEEK Efrat Jaeger GEON Matt Jones SEEK Werner Krebs, EOL Edward A. Lee Ptolemy II Kai Lin GEON Bertram Ludaescher SEEK, GEON, SDM, BIRN, ROADNet Mark Miller EOL Steve Mock NMI Steve Neuendorffer Ptolemy II Jing Tao SEEK Mladen Vouk SDM Xiaowen Xin SDM Yang Zhao Ptolemy II Bing Zhu SEEK Ptolemy II Thanks to Bertram Ludäscher, SDSC

Chess Review, November 18, Scientist models application as a “workflow” of connected components (“actors”) If all components exist, the workflow can be automated/ executed Different directors can be used to pick appropriate execution model (often “pipelined” execution: PN director) Example Application: Promoter Identification Thanks to Bertram Ludäscher SDSC

Chess Review, November 18, Another Application: Distributed Job Management (leveraging NIMROD, grid tool) Job management infrastructure in place Results database: under development Goal: 1000’s of GAMESS jobs (quantum mechanics) – Fall/Winter’04 Thanks to Bertram Ludäscher SDSC

Chess Review, November 18, ORB This model integrates real- time data feeds from a ship. Thanks to Bertram Ludäscher, SDSC

Chess Review, November 18, Outline –Internal experimental test benches Wireless Sensor Networks (security, low power) UAVs (complex control, sensor integration) –New domains: Scientific Workflows: Kepler Stochastic Hybrid Systems in Systems Biology

Chess Review, November 18, Example: B. Subtilis Antibiotic Production (Sastry) Focusing on subtilin production ENVIRONMENTAL SIGNALS Starvation, high cell density, … Degradative Enzyme Synthesis Chemotaxis Competence Nitrogen Metabolism Phosphate Metabolism Aerobic/anaerobic Respiration Sporulation Antibiotic Synthesis Stress Response Network for B. Subtilis Source: Arkin, etal

Chess Review, November 18, Example: B. Subtilis Antibiotic Production offon P 11 (x,k)P 00 (x,k) P 01 (x,k) P 10 (x,k) dX(t)/dt = v in +(K-S)v 0 +Sv 1, v 0 < 0 < v 1 dK(t)/dt = rK[1-K/f(X)], r: growth rate K: total number of B. subtilis in a population S: number of B. subtilis producing subtilin X: amount of food available Transition probability P(X,K) of each B. subtilis Small X  high probability of switching on subtilin production. Need a certain population size to induce subtilin production X S/K Average level of subtilin production

Chess Review, November 18, A set of discrete states and open domains Dynamics inside each domain governed by a SDE Stop upon hitting domain boundary Boundary of each domain is partitioned into guards Jump to a new discrete state accordingly Reset randomly in the new domain Stochastic Hybrid Systems

Chess Review, November 18, Challenges of Systems (post genomic biology) Hybrid Systems Models for Intracellular functioning: stochastic hybrid systems Hybrid Systems tools for ensembles of cells: group behavior of complex networked systems Biologically complex networks are an exemplar of how networked embedded systems could evolve, self-organize and reprogram themselves (network programming?)

Chess Review, November 18, Concluding Remarks Applications are critical to drive research and to test quality of results Safety-critical Real Time and secure system emphasis Industrial and Experimental Test Benches Rigorous methodology for hybrid distributed systems