Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • iLabs Platform
      • Raspberry Pi Platform (MCU)
      • Seeed Platform
      • Silicon Labs Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Raspberry Pi Platform (SBC)
      • UDOO Platform
    • Peripherals >
      • Shields
      • Grove System
      • Sensors
      • Actuators
    • Displays >
      • E-Paper Displays
      • Reflective Displays
      • TFT Displays
      • LCD Displays
    • Legacy Platforms >
      • chipKIT Plaform
      • 4D Systems Platform
      • Intel Platform
      • LaunchPad Plaform
      • BoosterPacks for LaunchPads
      • LightBlue Bean
      • Maple Plaform
      • Mediatek Platform
      • Microsoft Azure IoT DevKit
      • Particle Platform
  • Software
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
    • Going Python?
  • IoT
    • IoT Platforms: Which Hardware? >
      • Matter with Silicon Labs MG24
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • Boards Pins Maps
      • Ruler
      • Boards and Plugs
      • I²C Logic Level Converter
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDE >
      • The Battle of IDEs
      • More Options
      • Assessing the Next Generation of IDEs
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
      • Nordic Power Profiler Kit II
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote E-Paper Weather and Message Board
      • Typie-Walkie with LoRa and E-Paper Screen
      • Typie-Walkie with E-Paper Screen
      • Remote e-Paper Pictures Panel
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Air Quality Monitoring
      • Driving a Large E-Paper Display with a Compact Xiao RP2040
      • Low-Power E-Paper Weather Station
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

Industrial IoT Project

I'm using the fischertechnik system to build industrial models. The official fischertechnik controller features an I²C bus. Ten years ago, I decided to design my own advanced sensors and that is how I started to explore the embedded world.

Now, I am back to the fischertechnik system and I am looking for a better way to manage the models, especially the large ones like the New Magasin.
 
I devoted the section Dealing with very large models to discuss the many difficulties raised by such models.

​Contrary to Lego Mindstorms where sensors and actuators are closed but software open, fischertechnik relies on standard hardware for the sensors and actuators, but keeps the controller and the software closed.
​
Picture
The model pictured here includes 27 sensors and 28 actuators managed by seven processes plus one service. It requires three official controllers to provide enough inputs and outputs. 

I explored two options for the software: 
  • Parallel processing: one controller performs all the tasks and uses the inputs and outputs of the other two;
  • Distributed computing: each controller performs a set of tasks and synchronises with the other two.
Picture
Alas, those options face many issues.
  • Hardware: as the controllers are centralised, ten of meters of lengthy cables make review and maintenance impossible.  
  • Software: complexity grows exponentially with no possible simulation for a single process and no decent debugger from the official IDE.
  • Communication: the radio for synchronisation isn't reliable.​​ 
​
Picture

What's new?

The sensors and actuators I've designed, called smartDevices, include an embedded micro-controller: they process high level commands and send filtered measures. Because they can be physically isolated and they offer a limited set of interactions, debugging is now very easy.

IoT seems to be mature enough now, with solutions I could leverage to manage large models.
​
Picture
Picture
Picture
Picture

General idea

The general idea would be to use...
  1. ...a limited set of controllers specialised on given tasks with the corresponding I/Os...
  2. ...connected by radio with low power requirements...
  3. ...to a central hub running on a local server...
  4. ...exchanging high-level commands and messages.
   

Features

  • A limited set of specialised controllers...
Some parts of the industrial models, like the conveyor belts, are highly standard. The specialised controllers are close to their sensors and actuators, perform a limited set of tasks and interact through dedicated drivers. 
​
  • ...connected by low power radio...
WiFi brings an easy set-up with MQTT with QoS thanks to the TCP/IP stack at the cost of high power consumption. Bluetooth is low power but seems over-engineered and prone to interferences. Sub-1 GHz is low power but relies on proprietary stacks.
​
  • ...to a central hub running on a local server...
The central hub ensures the high level synchronisation of the different processes and provides other services, like a dashboard or connection to other networks.
​
  • ...exchanging high-level commands and messages.
The radio protocol should include an application layer to manage messages collision and ensure delivery of messages (QoS). Topology could be either hub-less (mesh) or hub-centric (star).

Posted: 24 Oct 2020
​Updated: 26 May 2021

Powered by Create your own unique website with customizable templates.