El IoT es la revolución de la industria actual, para llevarla a un nivel en el que todas las máquinas de un proceso o una planta industrial estén interconectadas y puedan adaptarse a las necesidades de la producción. Monitorizando qué hacen las máquinas, cómo de bien lo hacen, qué problemas tienen, qué mantenimiento necesitan, y llegarán a ser capaces incluso de prever cuando se van a estropear o de decidir ellas solas cuánto deben fabricar para cubrir los pedidos de los clientes.
En esta sesión veremos cómo aprovechar las capacidades de IoT de Azure para transformar los procesos de la fábrica y mejorar su capacidad de producción. Os mostraremos como conectar un brazo robótico industrial y los diversos dispositivos que encontraremos en una linea de producción a Azure, ver sus datos de proceso, analizar la información con Power BI y predecir sus tiempos de mantenimiento con Machine Learning.
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
VLCSofting 2017 - Modernizando las fábricas hacia el concepto de factorías 4.0 con Azure IOT
1. una consultora tecnológica
que piensa en colores
para organizaciones vivas
una consultora tecnológica
que piensa en colores
para organizaciones vivas
Modernizando las fábricas
hacia el concepto de factorías 4.0 con Azure IOT
2. Alberto Diaz Martin – Chief Technology Innovation Officer
Email :
alberto.diaz@encamina.com
Twitter : @adiazcan
LinkedIn:
https://es.linkedin.com/in/albertodiazmartin
Alberto Diaz cuenta con más de 14 años de experiencia en la Industria IT, todos ellos trabajando
con tecnologías Microsoft. Actualmente, es Chief Technology Innovation Officer en ENCAMINA,
liderando el desarrollo de software con tecnología Microsoft, y miembro del equipo de
Dirección.
Para la comunidad, trabaja como organizador y speaker de las conferencias más relevantes del
mundo Microsoft en España, en las cuales es uno de los referentes en SharePoint, Office 365 y
Azure.
Autor de diversos libros y artículos en revistas profesionales y blogs, en 2013 empezó a formar
parte del equipo de Dirección de CompartiMOSS, una revista digital sobre tecnologías Microsoft.
Desde 2011 ha sido nombrado Microsoft MVP, reconocimiento que ha renovado por sexto año
consecutivo. Se define como un geek, amante de los smartphones y desarrollador. Fundador de
TenerifeDev (www.tenerifedev.com), un grupo de usuarios de .NET en Tenerife, y coordinador de
SUGES (Grupo de Usuarios de SharePoint de España, www.suges.es)
14. Platform Services
Infrastructure Services
Web Apps
Mobile
Apps
API
Management
API Apps
Logic Apps
Notification
Hubs
Content
Delivery
Network (CDN)
Media
Services
BizTalk
Services
Hybrid
Connections
Service Bus
Storage
Queues
Hybrid
Operations
Backup
StorSimple
Azure Site
Recovery
Import/Export
SQL
Database
DocumentDB
Redis
Cache
Azure
Search
Storage
Tables
Data
Warehouse Azure AD
Health Monitoring
AD Privileged
Identity
Management
Operational
Analytics
Cloud
Services
Batch
RemoteApp
Service
Fabric
Visual Studio
App
Insights
Azure
SDK
VS Online
Domain Services
HDInsight Machine
Learning
Stream
Analytics
Data
Factory
Event
Hubs
Mobile
Engagement
Data
Lake
IoT Hub
Data
Catalog
Security &
Management
Azure Active
Directory
Multi-Factor
Authentication
Automation
Portal
Key Vault
Store/
Marketplace
VM Image Gallery
& VM Depot
Azure AD
B2C
Scheduler
15. Servicios de Azure para IoT
Devices Device Connectivity Storage Analytics Presentation & Action
Event Hub SQL Database
Machine
Learning
App Service
IoT Hub
Table/Blob
Storage
Stream
Analytics
Power BI
DocumentDB HDInsight
Notification
Hubs
3rd party
Databases
Data Factory Mobile Services
DataWarehouse Data Lake BizTalk Services
{ }
16. Device
readData()
{
// Read data from the
device
}
sendData()
{
// Send data to Ingestor
}
while(true)
{
readData();
sendData();
sleep(2000);
}
Large scale
message ingester
IoT Hub
26. Mission critical
reliability
Lowest TCOFully managedProgrammer
Productivity
Ease of getting
started
Azure Stream
Analytics
SQL like query language Source/sink
integrations
No cluster provisioning Pay as you go Enterprise grade SLA
27. Data Manipulation
SELECT
FROM
WHERE
HAVING
GROUP BY
CASE WHEN THEN ELSE
INNER/LEFT OUTER JOIN
UNION
CROSS/OUTER APPLY
CAST INTO
ORDER BY ASC, DSC
Scaling Extensions
WITH
PARTITION BY
OVER
Date and Time Functions
DateName
DatePart Day, Month, Year
DateDiff
DateTimeFromParts
DateAdd
Windowing Extensions
TumblingWindow
HoppingWindow
SlidingWindow
Aggregate Functions
SUM
COUNT
AVG
MIN
MAX
STDEV
STDEVP
VAR
VARP
TopOne
String Functions
Len
Concat
CharIndex
Substring
Lower, Upper
PatIndex
Temporal Functions
Lag
IsFirst
Last
CollectTop
Mathematical Functions
ABS
CEILING
EXP
FLOOR
POWER
SIGN
SQUARE
SQRT
Geospatial Functions (preview)
CreatePoint
CreatePolygon
CreateLineString
ST_DISTANCE
ST_WITHIN
ST_OVERLAPS
ST_INTERSECTS
Advanced Query Patterns
28. Presentation &
Action
Storage &
Batch Analysis
Stream
Analytics
Event Queuing
& Stream
Ingestion
Event
production
IoT Hubs
Applications
Archiving for long
term storage/
batch analytics
Real-time dashboard
Stream
Analytics
Automation to
kick-off workflows
Machine Learning
Reference Data
Event Hubs
Blobs
Devices &
Gateways PowerBI
31. Oil y Gas > Mantenimiento Predictivo
Drilling
Ops
Azure
Event Hub
Azure
Stream Analytics
Azure
Notification Hubs
Repair
Personnel
La telemetría remota de la perforación se envía a Azure a través de una pasarela de
campo in situ.
Azure Stream Analytics extrae los datos de centro de eventos y el estado actual de
los diversos componentes de perforación
Azure Notification Hubs se utiliza para responder a los eventos.Una notificación con la información sobre el error se envía a los técnicos de
reparaciones resultando en una reparación que es más barata de lo que sería si no se
realizara a tiempo. También significa reducir el tiempo de inactividad.
Azure
Machine Learning
Con Machine Learning analizamos el estado de los datos de perforación contra los
valores de especificación y los valores previamente analizados para determinar que
uno de ellos va a fallar.
32. Devices Azure IoT Suite Remote Monitoring
Back end
systems and
processes
Event Hub
Storage blobs DocumentDB
Web/
Mobile App
Stream
Analytics
Logic AppsIoT Hub Web Jobs
33. IoT en Azure
• Conectividad y Monitorización
• Capacidad de Ingesta
• Capacidad de Análisis en tiempo real
• Transformación a nuevos modelos de negocio
• Seguridad, Seguridad y Seguridad
ActionsThings Insights
34. Contacto
Para localizar o contactar con ENCAMINA puedes:
Enviar un mail a:
encamina@encamina.com
info@encamina.com
Llamar al 902 196 893
962 698 064 o 917 893 823
Enviar un fax al 962 698 063
Visitarnos en:
Jerónimo Roure 49
46520 Puerto de Sagunto, Valencia.
Paseo de las Delicias, 30. 7ª planta
28045 , Madrid, Madrid
O hablar personalmente con tu
gerente de cuenta
Notas del editor
IoT Hub exposes a set of conceptual endpoints to access its functionalities.
There are two endpoints for each device: one to send D2C msgs, one to receive C2D msgs.
Devices can connect two both endpoints over the same connection.
FGW and CGW are able to represent multiple devices by simultaneously connecting to D2C and C2D endpoints for many devices at the same time.
On the app back-end side, the D2C receive endpoint is used by the event processing pipeline (ASA, Storm, custom, …), and by the device runtime logic component, which handles requests and command responses that come from devices.
The device runtime logic component also uses the C2D send endpoint to send notifications and commands to devices.
It also uses the msg feedback and monitoring endpoint. This is critical for IoT solutions where devices are reachable only through IoT Hub. In these very common scenarios, any problem on the connectivity between device and IoT Hub cannot just be reported as errors back to the device, but also to the app back-end in the form of events on this feedback endpoint. This makes possible the kind of monitoring that is required to achieve high operability of an IoT solution.
In addition to these runtime endpoint, IoT Hub also has a device identity mgmt endpoint that is used by your solution’s device provisioning and mgmt component.
Finally, an IoT Hub Manage endpoint is used to set security, functional, performance parameters.
IoT Hub exposes a set of conceptual endpoints to access its functionalities.
There are two endpoints for each device: one to send D2C msgs, one to receive C2D msgs.
Devices can connect two both endpoints over the same connection.
FGW and CGW are able to represent multiple devices by simultaneously connecting to D2C and C2D endpoints for many devices at the same time.
On the app back-end side, the D2C receive endpoint is used by the event processing pipeline (ASA, Storm, custom, …), and by the device runtime logic component, which handles requests and command responses that come from devices.
The device runtime logic component also uses the C2D send endpoint to send notifications and commands to devices.
It also uses the msg feedback and monitoring endpoint. This is critical for IoT solutions where devices are reachable only through IoT Hub. In these very common scenarios, any problem on the connectivity between device and IoT Hub cannot just be reported as errors back to the device, but also to the app back-end in the form of events on this feedback endpoint. This makes possible the kind of monitoring that is required to achieve high operability of an IoT solution.
In addition to these runtime endpoint, IoT Hub also has a device identity mgmt endpoint that is used by your solution’s device provisioning and mgmt component.
Finally, an IoT Hub Manage endpoint is used to set security, functional, performance parameters.
Azure
C#
nodejs
Stream Analytics y Power Bi
How does it work? As mentioned; the solution is a combination of multiple back-end components. This architecture diagram shows the individual Microsoft products and services that are utilized.
Reference Architecture for Remote Monitoring solution, what products are used and why? ->
Provision simulated devices with a C# device emulator running .Net. Create agents for Linux, iOS, Android and other platforms with C and Java language support.
IoT Hub manages the two way communication between cloud and device and creates a secure command and control channel.
Azure Stream Analytics creates and manages jobs to recognize threshold values or detect alarm triggers, sending this information where it needs to be escalated.
Event Hub is queried by a web job running an event processor host to determine where and alarm or alert needs to be pushed – such as sending an alert to dashboard for a human operator to take action.
Logic Apps are used to create more complex work loads and integrate into line of business and other proprietary applications.
Document DB stores all the metadata and device properties for each connected device.
Blobs store telemetry information and telemetry data. Other tools such as Azure Machine Learning and PowerBI can access this information for data visualization or processing advanced analytics.
Webapp – Dashboard code is available in Github allowing it to be fully customized by the user to align with a scenario or be relevant for an enterprise application.
Azure Active Directory controls user ID’s and access, allowing the service to be shared with relevant decision makers within the business but restrict access to certain controls or devices.
PowerBI is used for both open-source embedded components within the dashboard and also for complex external analytics of trends and patterns across all stored data.