Matinales de l’Embarqué - L’Internet des Objets, quel système d’exploitation utiliser ? L’apport de l’OS temps-réel NI Linux RT pour les objets connectés Exemple d’application dans l’Internet des Objets Industriels Antonin Goude Ingénieur Produit Embarqué National Instruments France france.ni.com 12 Mars 2015 Our Mission We equip engineers and scientists with systems that accelerate productivity, innovation, and discovery. france.ni.com What We Do We provide graphical software with modular hardware to build measurement and control systems. Low-Cost Modular Measurement and Control Hardware france.ni.com Productive Software Development Tools Highly Integrated Systems Platforms The company $1 400 Revenue: $1.24 billion in 2014 Global Operations: Approximately 7,080 employees; operations in almost 50 countries $1 200 $1 000 $800 Broad customer base: More than 35,000 companies served annually $600 Diversity: No industry >15% of revenue $400 $200 $0 '85 '86 '87 '88 '89 '90 '91 '92 '93 '94 '95 '96 '97 '98 '99 '00 '01 '02 '03 '04 '05 '06 '07 '08 '09 '10 '11 '12 '13 14 Culture: Ranked among top 25 companies to work for worldwide by the Great Places to Work Institute france.ni.com Our Customers Advanced Manufacturing Aerospace and Defense Consumer Electronics Wireless Energy Transportation france.ni.com The Internet of Things Moore’s Law france.ni.com Metcalfe’s Law Battery Life Wireless Sensors INDUSTRIAL CONSUMER Internet of Things Internet of Things Based on Moor Insights & Strategy's report "Segmenting the Internet of Things (IoT)" france.ni.com Industrial IoT System Cyber Physical Systems Computation Communication Control Real-Time Time Synchronization Adaptive Control High Performance Determinism Design Methodology Scalability Interoperability Models of Computation Industrial Internet of Things Big Analog Data Data Management Data Analytics Systems Management Transmission and Formatting Algorithms RASM Retrieval and Visualization Prognostics Embedded Intelligence Aging Alarming france.ni.com Health Monitoring Deployment Configuration NI’s End-To-End Solution Architecture for IoT Decision Making and Control Data Acquisition, Control, and Analysis Systems IT Infrastructure (Big Data Analytics, Mining) The Edge Sensors/Actuators Edge IT (Local, Remote, Cloud) Acquisition Analysis and Visualization Software Data Aggregation and Management france.ni.com Corporate/Federated IT Who are we working with? • Collaboration with the Industrial Internet Consortium (IIC) • Goals: • • • Drive innovation through the creation of new industry use cases and testbeds for real-world applications Define and develop the reference architecture and frameworks necessary for interoperability 130+ members, 5 founding members: france.ni.com Industrial Internet Consortium First European testbed for the Industrial Internet Consortium • • • Members: Bosch, Cisco, National Instruments, and TechMahindra Goals: Manage smart, handheld tools in manufacturing, maintenance, and industrial environments Commercial Benefits: Enable "Tools as a Service" business model; Enhance productivity, production quality, and work safety france.ni.com Who are we working with? • Collaboration with Embedded France • Goals: • • • • • Federate the Embedded industry and open up the market Share technical standards and trends Share experiences and solutions across sectors (system engineering, software…) 20+ members Working groups on various topics (Cyber Physical Systems simulation, IoT, many-cores systems…) france.ni.com A real-time OS for IoT/IIoT? france.ni.com Key challenges for an IoT OS • Flexibility • • • Openness • • • Fast evolution Modularity Communication with 3rd party modules Networking Security • Balancing security with other constraints Decision based on level of risk, impact, liability, etc. Security Ease of Use Time & Cost france.ni.com Which OS approach for the IIoT? NI Linux Real-Time • Owned and maintained by NI • Custom built and optimized for NI embedded hardware o • • Based on OpenEmbedded framework NI Package Repository: download.ni.com/ni-linux-rt/ o • • Supports ARM and IA64, with cross-compilers provided Over 3,000 packages OS source: github.com/ni PREEMPT_RT • • Enables real-time reliability through pre-emption, priority inheritance, and scheduling Standard approach to real-time performance on Linux france.ni.com Which OS approach for the IIoT? NI Linux Real-Time Architectures Bootloader Kernel Version File System Desktop Environment Built With X86_64 ARMv7 GRUB uBoot 3.10-rt-ltsi 3.2-rt ext4 UBIFS XFCE N/A Yocto/OpenEmbedded Package Management OPKG Init System SysV Device Manager udev • NI Linux RT enables the use of different languages for processor programming: • • LabVIEW, C/C++, interoperates with LabVIEW-programmed FPGA Access FPGA technology without HDL expertise france.ni.com Quality of Life on NI Linux Real-Time • Convenience of a General Purpose OS • • • Access to popular interpreters • • Desktop UI, File Manager, Terminal Emulator, Text Editor Permissions, Application Isolation, Virtual Memory, no reboot required for Time Zone and IP Configuration changes Python, Perl, etc. Common Linux utilities • top, ps, netstat, etc. france.ni.com Security on NI Linux Real-Time • SSL enabled by default • • • Can programmatically install software over SSL Can use public keys for SSH HTTPS-only communication possible • Can turn off HTTP version of the System Web Server • IPTables available for setting up a firewall • OpenVPN available for setting up a VPN • SELinux france.ni.com The foundation for innovation NI LabVIEW RIO Architecture france.ni.com What platform can be targeted? • From prototyping to deployment using NI RIO Hardware • NI CompactRIO Controller • • Xilinx Zynq-7020 • 667 MHz Dual-Core ARM Cortex-A9 • Artix-7 FPGA Fabric NI System on Module • • Xilinx Zynq-7020 • 667 MHz Dual-Core ARM Cortex-A9 • Artix-7 FPGA Fabric 5.08 cm x 7.82 cm france.ni.com Example End-to-End Industrial IoT Solution Factory of the Future: Factory-wide Online Monitoring and Control Data Acquisition and Control Systems RFID Smart Glasses RGB Camera Embedded SOM IT Infrastructure The Edge Sensors/Actuators Switches Wired or Wireless Network & PLM Torque Sensor Smart Tools RFID Embedded SBC Motor Drives PWM Manipulator RFID Motor Drives france.ni.com Embedded Controller System Management PlantNodeServer Example End-to-End Industrial IoT Solution Factory of the Future: Factory-wide Online Monitoring and Control Data Acquisition and Control Systems RFID Smart Glasses RGB Camera NI’s System on Module IT Infrastructure The Edge Sensors/Actuators Switches Wired or Wireless Network & PLM Torque Sensor Smart Tools RFID Single-Board RIO Motor Drives PWM Manipulator RFID Motor Drives france.ni.com CompactRIO LabVIEWon PC PlantNodeServer Airbus and NI collaboration Intelligent devices for the Future of Aircraft Factory france.ni.com Airbus and NI collaboration Intelligent devices for the Future of Aircraft Factory • Key points: • Open real-time OS based on Linux distribution o • Reuse of internal libraries o • Networking, Configuration Management, Simulation, Monitoring, etc. Reuse C/C++ code in and alongside LabVIEW Real-Time built applications o • Desktop UI, Peripherals, System Administration, Real-Time schedulers FPGA Interface C API, System Configuration C API Same approach for prototyping and deployment (cRIO to SoM) france.ni.com Airbus estimates it will reduce development time by 10X with NI solutions in their Factory of the Future. france.ni.com IDSUD ÉNERGIES – nheolis® and NI collaboration • With the “all-in-one” electronic management interface based on NI System On Module: • • • Manage an hybrid power generation unit dedicated to nheosolutions® Transmit and receive various data sources for Smart city services development Coordinate several options and features from a single interface (smart management for stand-alone lighting systems, video surveillance, GSM relay points…). france.ni.com IDSUD ÉNERGIES – nheolis® used NI platform from prototyping to deployment. First prototype ready in less than 3 months. france.ni.com nheolis.com Key Take-Aways - NI’s Role in the Industrial Internet of Things Programmable World Internet of Things Smart Factory Networking Big Analog Data™ Solutions Industrial Internet Cyber-Physical Systems Industrie 4.0 Control Input/Output Flexibility Analysis Openness Embedded Intelligence france.ni.com Security Thank you Questions? antonin.goude@ni.com ni.com/internet-of-things ni.com/trend-watch france.ni.com