Title: An Overview of RapidCIM Concepts
1An Overview of RapidCIM Concepts
- Richard A. Wysk
- IE551 - Computer Control of Manufacturing Systems
2Agenda
- Traditional Software Development
- Motivation for RapidCIM
- RapidCIM Concepts
- Equipment Level Models
- Message-based Part State Graphs
- Conclusions
- Resources
3Introduction
Automated Flexible Manufacturing Cells/Shops
Hardware
System Control Software
Programming Tools Software
Tools to assist in development of System
Control Software
Input
Input ????
CAD Models etc.
NC Programming Offline Robot Programming etc.
????
4Traditional Control Software Development
- In traditional PLC-type control, the control
software is developed using the same planning,
scheduling, and execution flow diagram.
5Traditional Control Software Development
- Planning (determining part routes) and scheduling
(sequencing tasks) are built into the control
software - Similar to a PLC ladder diagram. - Adding new parts or changing the scheduling rules
require significant modifications to the control
software - These changes must be done by the FMS vendor
instead of the system operators
6Motivation For RapidCIM
- Most current FMS control implementations are
customized - Lack of generic tools
- Limitations in flexibility and reconfiguration
- High cost of reliable software development
- 2/3 rd of total expenditure is incurred during
implementation phase, due to errors in software
design - approx. 64 of the errors are made at the
concept stage and only 36 are programming errors - On average, 50 or more of the software costs for
flexible automation are related to control
7Shop-floor control
- Lack of emphasis on software development
- Architectures do not provide sufficient detail
- Software requirements have not been
systematically analyzed to separate generic
requirements from implementation-specific
requirements - Functions performed are too tightly coupled
- Tools to aid in the manufacturing system software
development do not exist
8RapidCIM Project
9Specific Tasks
- Understand the control elements of a FMS
- Develop theoretical foundations for FMS control,
through use of formal models - Create generic model of control independent of
implementation specifics - Automatic generation of control software for
various controllers in the cell using the formal
models - Create a FMS control software development
methodology which can be implemented as a set of
domain specific CASE tools
10Control Software
- Need Software
- That is generic and hence reuseable
- Easily customized per installation
- Modular modules being plug compatible
11Hierarchical Architecture
12Control Hierarchy
- EQUIPMENT
- Physical devices (NC machines, robots, AGV, ASRS,
programmable fixtures, buffers, etc) - WORKSTATION
- Integrated pieces of equipment
- Robot tending a single machining center, along
with requisite fixtures, sensors, etc. - Robot tending several machines
- SHOP
- Several integrated workstations, coupled by
material transport workstations
13Equipment Level
- Each controllable equipment is viewed as
comprising - Physical device controller (supplied with
machine) - Equipment controller (typically a PC)
- Generic Classes of Equipment
- MP - Material Processor (NC machine, CMM)
- MH - Material Handler (robot)
- MT - Material Transporter (AGV, conveyor)
- AS - Automated Storage Device
14EQUIPMENT LEVEL (Cont)
- Non Controllable equipment
- BS - passive buffer storage devices
- PD - passive devices
- Ports (entry and exit of parts)
- PO - ports
- Equipment level controller
- incorporates a device driver, that implements the
equipment level functions (cycle start, download,
etc) - This is the implementation specific portion
15Workstation Level
- Workstation comprises
- equipment (MP, MH, PO, BS, MT ....)
- Types of Workstation
- Processing workstation
- Transport Workstation
- Storage Workstation
16Planning, Scheduling, and Execution
- PlanningDetermining what tasks thesystem needs
to perform - SchedulingSequencing planned tasks
- ExecutionPerforming the scheduledtasks at the
appropriatetime
17Functional Architecture
18Shop Floor Controller Structure
19Part Flow Through the Shop
20Material Processor System Model
Physical Configuration
Physical Model
21Material Handler System Model
Physical Configuration
Physical Model
22Typical Processing Workstation
23Physical Model - Processing Workstation
24Event Sequence
25Equipment-level Device Interaction
26Can this be implemented in a generic manner?
- Custom specifics
- Protocols
- Communications
27Message-based Part State Graph (MPSG)
- An MPSG is a deterministic finite automaton
representing the processing protocol for a part. - An MPSG state provides information about the
current processing state of the part that is
needed to determine the behavior on subsequent
events. - State transitions are caused by receiving
messages about the part and by performing
functions specified by the scheduler.
28Mealy Machine
- A Mealy machine is essentially a finite automaton
with output. Formally, a Mealy machine M is
defined as follows - So, a Mealy machine is a finite state automaton
in which an output (defined by ? and ?) is
generated during state transitions.
29MPSG Definition
30MPSG for Generic MP Equipment
31MPSG Characteristics
- Explicitly separate scheduling from execution.
- Extensible at multiple levels to facilitate
software development - Generic MPSG can be used unmodified.
- Extraneous transitions can be removed.
- Specified messages and tasks can be rearranged.
- New messages and tasks can be specified.
- Execution portion of the control software is
automatically generated from the MPSG description.
32Shop Floor Controller Class
33Storage Class
- Provides basic database functions for the
controller - Parts are tracked based on their location in the
shop, state, and the workstation and equipment
level device to which they are assigned. - Objects within the storage class
- Parts
- Slots - Corresponding to physical locations
- Entities - Lower level controllers in the control
hierarchy
34Controller Class
- Embellishes the storage class with the data
structures necessary for control.
35Equipment Class
- Specializes the controller class so that the
instantiated objects interact directly with a
piece of equipment - Not Equipment Objects in the system. Rather
the equipment class is further partitioned based
on the behavior of the individual pieces of
equipment. - Material Processors (MP)
- Material Handlers (MH)
- Automated Storage Devices (AS)
- Material Transporters (MT)
36Software Generation
- Generation software has been developed in C for
use in DOS, OS/2, ULTRIX, AIX, UNIX and Windows
operating system environments. - Components of the generation system
- MPSG Builder
- Controller Class
- MPSG Class
- Communications Class (IOMUX for CIM lab
implementation) - Generic equipment descriptions and functions
- MPSG
- Scheduler
- Task action functions
37Communication
- Controller to device
- Controller to controller
- Controller to database
- Controller to Messaging
38Communications - continued
- IOMUX
- 1995 based system that connected all of the
computers - Router
- 1997 based system that uses a single device to
route all messages
39IOMUX (I/O Multiplier)
- Facilitates the interprocess transfer of data in
a consistent manner independent of the
hardware/operating systems of the components. - System components can be reconfigured without
recompilation by modifying an ASCII configuration
file representing the route map (default.map).
40Platform/domain
- Formerly implemented on the following platforms
- DOS
- RS-232 Serial
- TCP/IP using Watt TCP
- OS/2
- TCP/IP
- Shared queues (IPC)
- UNIX - TCP/IP
- DEC ULTRIX
- IBM AIX
- SGI
41Current Implementation
- Windows NT/ Windows 2000 serves as the core for
the system. - Arena 3 or 4 is used as message generation for
the Execution system - Router communication
- Access - database
42Shop Level Physical Model
43Controller Tasks
- Physical Model actions/tasks become tasks issued
by simulation - Simulation - issues a pick through a message
placed in the task initiation queue - Big Executor
- explodes the pick task into various messages
that are send to the individual controllers and
co-ordinates their actions based on the responses - returns a pick_done message to the simulation
in the task completion queue
44Conclusions
- Traditional Control Software generation issues
- Concept of RapidCIM
- Separation of Planning and Execution
- Physical models for equipment classes
- Workstation and shop level controllers
45What Next?
- Manufacturing Architectures
- RapidCIM
- Simulation-based Control ? NEXT!
- Implementation Issues
46Resources
- Joshi, S. B., Mettala, E. G., Smith J. S., and
Wysk, R. A., Formal models for control of
flexible manufacturing cells physical and system
model, IEEE Transactions on Robotics and
Automation, v11, n4, Aug, 1995 IEEE, Piscataway,
NJ, USA, p 558-570. -
- Joshi, S., J. Smith, R. Wysk, B. Peters, and C.
Pegden, "Rapid-CIM An Approach to Rapid
Development of Control Software for FMS Control",
27th CIRP International Seminar on Manufacturing
Systems, Ann Arbor, MI, May, 1995. - Mettala, E. G., Automatic generation of control
software in computer-integrated manufacturing,
Ph.D. Dissertation, Department of Industrial and
Manufacturing Engineering, Pennsylvania State
University, University Park, PA 16802, 1989.
47Resources
- Qui, R. B., Modeling and Control of a flexible
manufacturing system using deterministic finite
capacity automata, Ph.D. Dissertation,
Department of Industrial and Manufacturing
Engineering, Pennsylvania State University,
University Park, PA 16802, 1996. -
- Qui, R. B. and Joshi, S. B., Deterministic
finite capacity automata a solution to reduce
the complexity of modeling and control of
automated manufacturing systems, Proceedings of
the 1996 IEEE International Symposium on
Computer-Aided Control System Design, Sep 15-18
1996, Dearborn, MI, USA, p 218-223 - Qui, R. B. and Joshi, S. B., A Structured
Adaptive Supervisory Control Methodology doe
Modeling the Control of Discrete Event
Manufacturing IEEE Transactions on Systems, Man,
and Cybernetics, vol. 29, no. 6, 1999, pp. 573-586