Look inside a Hershey database effort
P. Michael Rosenshine, staff engineer, Information Services area of Hershey Chocolate North America (Hershey, Pa., www.hersheys.com), is working on a pilot project on three lines to test the feasibility of a plant-wide database for process parameters and results (excluding labor, which is handled in another system). The project uses Oracle 8i, but may be ported to Microsoft SQL Server 2000 for some plants.
This article is provided as enhanced online coverage to the June 2002 issue of Control Engineering. How to Get the Most from a Database '' (Control Engineering, June 2002).
In considering a central data model, sometimes it's easier to gain knowledge and experience working on a smaller piece.
P. Michael Rosenshine, staff engineer, Information Services area of Hershey Chocolate North America (Hershey, Pa., www.hersheys.com ), is working on a pilot project on three lines to test the feasibility of a plant-wide database for process parameters and results (excluding labor, which is handled in another system). The project uses Oracle 8i, but may be ported to Microsoft SQL Server 2000 for some plants. Computations for reporting process results are performed on the database server side for future migration to browser-based information access, rather than incorporated with SCADA system functions or client-side software.
Mr. Rosenshine says having a single general database design fit any line would require too many fields and tables, many of which would be for metadata (information about the structure of tables and their mappings to the configuration of production lines). In the database, he's found that 60-75%-perhaps 100 tables and views and 100 procedures-can be central, then others added to meet the specific process architecture. Core information includes ingredients and materials, equipment, sequencing, recipes, quality, and product tracking, among other parameters.
Part of Mr. Rosenshine's effort is abstracting common process elements such as quality assurance testing or waste/rework, and then creating the metadata elements required to present information to the user with the minimum amount of programming on the SCADA or client-side systems. That way, when the database needs to be modified for a new line or process, adaptation takes three or four hours, instead of days creating something new in SCADA software. The additional benefit is that it has the same "look and feel," even though a plant's lines and processes are different.
Users log-in via a Microsoft VisualBasic interface. However, in the future, the effort will incorporate Microsoft .Net tools to move to a web client, Mr. Rosenshine says, to protect the value created going forward.
Mr. Rosenshine talked with Control Engineering Feb. 12, 2002, at the ARC Advisory Group Manufacturing Strategies Forum meeting, in Orlando, Fla.
For a bit of fun, the www.hersheys.com website includes a plant tour of "world's largest chocolate factory."
- Mark T. Hoske, editor in chief
- Events & Awards
- Magazine Archives
- Oil & Gas Engineering
- Salary Survey
- Digital Reports
- Survey Prize Winners
Annual Salary Survey
Before the calendar turned, 2016 already had the makings of a pivotal year for manufacturing, and for the world.
There were the big events for the year, including the United States as Partner Country at Hannover Messe in April and the 2016 International Manufacturing Technology Show in Chicago in September. There's also the matter of the U.S. presidential elections in November, which promise to shape policy in manufacturing for years to come.
But the year started with global economic turmoil, as a slowdown in Chinese manufacturing triggered a worldwide stock hiccup that sent values plummeting. The continued plunge in world oil prices has resulted in a slowdown in exploration and, by extension, the manufacture of exploration equipment.
Read more: 2015 Salary Survey