• Home
  • Solutions
    • Software Engineering
    • Embedded Systems >
      • ESP32 and STM32
    • Artificial Intelligence
    • Cybersecurity
    • Cloud
    • Big Data
    • Enterprise SCADA >
      • Communication Protocols
    • Internet of Things (IoT)
    • Block Chain
    • Robotics & Drones
  • Industries
    • HealthCare
    • Oil and Gas
    • Light Rail
    • Battery Management Systems
    • Aviation
  • About
    • About
    • Contact
  • Blog
  • Artificial Intelligence
Skynet Consulting Ltd.
  • Home
  • Solutions
    • Software Engineering
    • Embedded Systems >
      • ESP32 and STM32
    • Artificial Intelligence
    • Cybersecurity
    • Cloud
    • Big Data
    • Enterprise SCADA >
      • Communication Protocols
    • Internet of Things (IoT)
    • Block Chain
    • Robotics & Drones
  • Industries
    • HealthCare
    • Oil and Gas
    • Light Rail
    • Battery Management Systems
    • Aviation
  • About
    • About
    • Contact
  • Blog
  • Artificial Intelligence

Embedded Systems

Embedded systems are specialized computing systems that perform dedicated functions within larger mechanical or electrical systems. Unlike general-purpose computers, embedded systems are designed for specific tasks, often with real-time computing constraints. They are integral parts of the devices they control and are optimized for particular functionalities, efficiency, and reliability.

Key Characteristics of Embedded Systems
  1. Dedicated Functionality:
    Embedded systems are designed to perform a specific task or a set of tasks within a larger system.
  2. Real-Time Operation:
    Many embedded systems have real-time constraints, meaning they must process data and respond within a fixed time frame to ensure proper operation.
  3. Resource Constraints:
    They often operate with limited resources such as memory, processing power, and energy consumption.
  4. Reliability and Stability:
    Embedded systems must be highly reliable and stable, often running continuously for long periods without failure.
  5. Integration:
    They are typically integrated into larger systems, interacting with hardware components like sensors, actuators, and other embedded systems.
Components of Embedded Systems
  1. Microcontroller/Microprocessor:
    The central processing unit (CPU) that executes the software instructions. Microcontrollers often include integrated memory and peripherals.
  2. Memory:
    Embedded systems use both volatile memory (RAM) for temporary data storage and non-volatile memory (ROM, Flash) for storing the software code.
  3. Peripherals:
    Devices like sensors, actuators, and communication interfaces that interact with the external environment.
  4. Software:
    The code that runs on the embedded system, which may include operating systems, firmware, and application-specific software.
  5. Power Supply:
    ​
    The source of power, which can be batteries, power adapters, or energy-harvesting devices.​

Lab Equipment

In order to be effective with embedded system development, hardware lab needs to be available. In the Skynet Consulting Lab, I have Saleae Pro Logic Analyzer, Protect QC 1938 Digital Storage Oscilloscope, bench DC power supply, and an older analog Oscilloscope.

My primary desktop uses a dual Xeon CPU with 64GB RAM and medium grade nVidia graphics card driving 3 x 4K monitors along with 20+ TB of storage - mainly used by my long list of Virtual Machines - including Windows, Linux (CentOS, Debian, Ubuntu, Kali), and UNIX (Solaris). In addition, I have three MAC laptops with various software installed for development.

In addition, I have setup and use a number of IDEs including MCUXpresso, XCode, Visual Studio, PyCharm, and Keli just to name a few!

Project 1: Battery Management System (BMS)

The Battery Management System - Embedded System using custom hardware based on the NXP microprocessor using RTOS (Real-time Operating System). The BMS system was developed for a startup called Lavle for large scale enterprise BMS implementations. The architecture supported fault tolerance at many levels and numerous safety features in hardware and software. The system was designed to support a 40 foot container filled with Lithium Batteries. The team consisted of a hardware engineer, firmware engineer and two software engineers. The design included a command line interface to command the modules as an administrator as well as provide status updates on the various components and battery state. The BMS was designed to communicate using Modbus to the Energy Management System (EMS-main director) - allowing commands and system as well as battery status to be reported back to the EMS.

Project 2: Battery Management System (BMS)

The BMS project was a smaller capacity system on customized hardware using the NXP M7 processor (on an RT1024 development board for the development system) and RTOS. This project was designed to support 20 kWh to 50kWh systems and uses the Kalman Filter for State of Charge estimation. The team consisted of a hardware engineer, firmware engineer, and two software engineers. 

The target market was for the industrial vehicle sector and supported CAN Bus J1939 protocol for commands as well as battery and system status. The picture below shows the development system with the PEAK CAN Bus protocol device connected to the BMS as well as the SEGGER JLink Plus used to program and talk to the board. The basic development board had a couple customized daughter boards purpose built for the developer environment prior to production rollout for the customer.

Project 3: RTU (Remote Terminal Units)

Over the years, I have been a software engineer writing software for the RTU market for various enterprise level models. The RTUs were highly capable units that were designed to scan the I/O cards in sub second and report the values back to the master SCADA system. These units were designed for low power usage in industrial settings ranging from -40C to +40C. The RTUs would typically be configured to communicate with various protocols including Modbus, and other custom protocols over serial (RS-232 and RS-485) and ethernet. The RTUs originally used iRMX operating system but was updated to use a custom Linux version. The later generation RTUs supported 256KB of RAM, 128KB Flash ROM and could support up to 2000 I/O points.
​
Supported I/O cards:
  • Accumulator Input Module
  • Analog Scanner Interface Module
  • AC Sense Input Module
  • Checkback Output Driver Module
  • Digital to Analog Converter Module
  • Digital Contact Input Module
  • Digital SOE Input Module
  • Flow Rate Interface Module
  • GPS Time Interface Module
  • Meter Prover Interface Module
  • Relay Output Interface Module
  • RTD Scanner Interface Module
  • Transistor Output Driver Module 

Project 4: Raspberry PI - 4

I purchased two Raspberry PIs - one for the car project listed above and one as a stand alone test unit. I have installed Raspberry Pi (formerly Raspbian) O/S on it and did few minor projects. The Raspberry PI supports a number of features and for a $100 computer, is quite powerful.
Overview:
  • Type: Single-board computer
  • Processor: ARM-based CPU
  • Operating System: Runs a full Linux OS (usually Raspbian)
  • Programming: Supports multiple programming languages (Python, C++, Java, etc.)
  • Connectivity: Has built-in Ethernet, Wi-Fi, Bluetooth (on newer models)
  • I/O Pins: General-purpose I/O pins, but fewer and less straightforward compared to Arduino

Hardware Features:
  • 40 Pin GPIO - great for interfacing with external components
  • 4GB RAM
  • 2 × micro HDMI
  • 2 × USB 2.0
  • 2 × USB 3.0
  • CSI camera port
  • DSI display port
  • 3.5mm AV jack
  • PoE-capable Gigabit Ethernet (1Gb/s)
  • 2.4/5GHz dual-band 802.11ac Wi-Fi (120Mb/s)
  • Bluetooth 5, Bluetooth Low Energy (BLE)
  • microSD card slot
  • USB-C power (5V, 3A (15W))
Picture

Project 5: Beagle Bone AI

For part of my work on a client project, the Beagle Bone AI 'mini computer' was used. The system used a variation of Linux and was used for performing tests against the customer's primary project. The Beagle Bone AI is a powerful system and feature rich but it also ran very hot!

Overview:
  • Type: Single-board computer with a focus on AI and robotics
  • Processor: Texas Instruments AM5729 (dual-core ARM Cortex-A15, dual-core PRU)
  • Operating System: Runs a variety of Linux distributions
  • Programming: Supports multiple programming languages (Python, C++, etc.)
  • Connectivity: Built-in Ethernet, Wi-Fi, Bluetooth
  • I/O Pins: Extensive I/O capabilities, including PRU for real-time processing
Picture

Project 6: Arduino

The Arduino is the cheapest 'compute' device available and has plenty of I/O sensor options. Many consider it the little brother to the Raspberry PI. I have just started working on this hardware and look forward to seeing its features and integrating the many sensors. Arduino is an Italian open source software and hardware project with its own IDE. 

Overview:​
  • Type: Microcontroller board
  • Processor: AVR or ARM-based microcontroller
  • Operating System: No OS; runs a single program at a time
  • Programming: Primarily uses C/C++
  • Connectivity: Limited to shields or modules (Wi-Fi, Bluetooth, Ethernet)
  • I/O Pins: Extensive and easily accessible I/O pins, suitable for hardware control
Powered by Create your own unique website with customizable templates.
  • Home
  • Solutions
    • Software Engineering
    • Embedded Systems >
      • ESP32 and STM32
    • Artificial Intelligence
    • Cybersecurity
    • Cloud
    • Big Data
    • Enterprise SCADA >
      • Communication Protocols
    • Internet of Things (IoT)
    • Block Chain
    • Robotics & Drones
  • Industries
    • HealthCare
    • Oil and Gas
    • Light Rail
    • Battery Management Systems
    • Aviation
  • About
    • About
    • Contact
  • Blog
  • Artificial Intelligence