SUMMIT - Amazon Web Services Mark… · SUMMIT © 2019, Amazon Web Services, Inc. or its...
Transcript of SUMMIT - Amazon Web Services Mark… · SUMMIT © 2019, Amazon Web Services, Inc. or its...
SUMMITBERLIN
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
IoT in Food Processing
Stefan FrehseSenior Software ArchitectNordischer Maschinenbau Rud. Baader GmbH & Co.
SessionID
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Agenda
Scope: What is BAADER doing?
Digital Transformation in the Context of Animal Welfare
AWS IoT Greengrass & A Brownfield Poultry Factory
Learnings
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
FIXME: Find image
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
BAADER in Brief
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
BAADER in practice
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Digitalization / Executive Department
• New kind of dev-teams withvarious skills. Establising newprinciples.
• Independent ofR&D to fullyrethink newbusiness
• Common Vision & Goals
• Connect processeshorizontally
Think
horizontallyThink Big
Software Teams
Independent
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Digital Opportunities
OPPORTUNITIES OF FUTURE VALUE ADD
CURRENT VALUE CREATION
OPPORTUNITIES OF FUTURE VALUE ADD
Machine information: speed, energy
consumption, runtime
Product Data: Size, Weight, Quality
Business Process Data: Supplier, Order, Customer, Shipment
Information chain
OPPORTUNITIES OF FUTURE VALUE ADD OPPORTUNITIES OF FUTUR VAUE ADD
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Capturing data from farm to fork
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Big Data for Animal Welfare
25 January 2019
Traceability Transparency
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Collecting data along the food value chain
Weather
recordProcessing
record
Packaging
record
Retailers
record
Data-driven company
Transport
recordFarm
record
End user
recordAuditors
record
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
General Architectural Overview
On-Premise
Food Processing Factory
AWS Cloud
AWS Region
On-Premise
Food Processing Factory
MQTT
protocol
MQTT
protocol
Weather API
Transport
Data
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
The Edge: Food Processing Factory
On-Premise
OPC UA
SubnetSubnet / Industry Network
OPC UA
Adaptor
subscribes
GPS Position
Provider
GPS Position
Fetcher
AWS Cloud
Local alert Lights
Alerting Rules
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
The Edge: Food Processing Factory
On-Premise
OPC UA
SubnetSubnet / Industry Network
OPC UA
Adaptor
subscribes
GPS Position
Provider
GPS Position
Fetcher
AWS Cloud
Local alert Lights
Alerting Rules
Lifting a brownfield factory with AWS
for new business cases.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Cloud – Platform
MQTT
protocol
AWS Cloud
AWS Region
Emergency Analysis
VPC with Running Kubernetes Cluster
VPC
Managed Kafka Cluster by Confluent Cloud
Peering
Subnet Subnet Subnet
Auto Scaling group
Truck Tracing
Data lake
Data Lake
SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why Cloud?
Is morethan „just“
virtualmachines
Time-to-market
•Culture •Human
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
New Business: Processing with Context
Ask thecustomer
ETA ofTrucks
Prototyping
Initial presentation
AWS Cloud
Distance API
Single GPS
Position
ETA to
the factory
…
Rules
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Learnings
• Digitalization is not about technical solutions
• Cloud to establish a new kind of culture
• Being a part of a huge ecosystem and community
• Things went unexpectedly good and some not
SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Q&A
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Thank you!
SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Stefan [email protected]@sfrehse
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Efficiency (Full-day)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Outcome: Efficiency (Full-day)
• Raising alert once efficiency drops unexpectedly
• Long term: Optimize performance -> machine configuration
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
AWS IoT Core
• Gateway for our Things
• Security by default:• Single Identity per device
• Clocks need to be up-to-date
• Policy should contain only what the use-case definitely required
• Certificate per device (in our case: IoT-Gateway)
• Gateways are preinstalled on-site before shipping to the factory
• Scales well if you consider best practice• Wildcard subscripts while using wildcards to the highest cardinality topic (discussed in
various talks by AWS)
• Huge regional infrastructure coverage as our customer (low-latency)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Potential Use-Cases
• Efficiency computation
• Storing data for longer term (rather than just two weeks)
• Alerting
• Transparency
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Payload: Ampere
{
"thingId":"8db2544b-feba-4926-bd8c-ab09f732fdcc",
"thingType":"baader::dt::machine::ampere",
"thingVersion":"0",
"timestamp":1541428624241000,
"value": {
"nodeId":"ns=4;s=MachineA_PowerL1A",
"value":17
}
}
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
The Edge: Vision systems
• Camera takes 2-4 pictures of each chicken
• Images are analyzed in real-time at the edge
• Quality and potential defects are provided
• Sorting based on the quality for downstreamingsteps (cutup, whole bird, …)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Subscribing OPC UA Data
• AWS Lambda locally subscribes OPC UA nodes and push them forward to AWS IoT Core
• Topic schema: • factory1/opcua/cutup/power_machineA
• factory1/opcua/evisceration/power_machine
• factory1/vision/cutup/quality
• factory1/transport/truckId1/gps
• factory1/transport/truckId2/gps
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Payload: Chicken Quality
{
"thingId":"308bf582-4822-4fd2-a822-3b753296369d",
"thingType":"baader::dt::classifeye::quality",
"thingVersion":"0",
"timestamp":1548872447234000”,
"value": {
“productId”: 145,
“quality”: 0
}
}
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
IoT On Sea: Getting Data from Fish Trawlers
• BAADER machines are able to directly operate on trawlers
• Data from the machines are very valuable for many use-cases as well• Very harsh environments
• Not always available internet connection or even very expensive
• Off-shore several weeks: Buffering data critical
"Dieses Foto" von Unbekannter Autor ist lizenziert gemäß CC
BY-SA
Satelite
AWS Cloud
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.SUMMIT
Subscribing data from OPC-UA
• Machine to Machine (M2M) protocol becoming more and more popular
• Becomes standard in particular by digitalization projects
• Server-Client Architecture
• Stores nodes (snapshots) that represents a particular sensor, data set, etc. …
• Subscribing to nodes for each change
• Interconnects various parts in a factory
• Forward each value into AWS IoT Core