Brief introduction to basic technological details of Neuron products.
Unipi Neuron is a product line of programmable logic controllers (PLC) designed for smart homes, commercial and industrial applications. Neuron controllers represent a modular and highly flexible solution giving its users an option to remotely manage connected systems or individual devices through a variety of inputs/outputs and communication interfaces. Neuron controllers can also serve as gateways for other devices. The Neuron is an open platform and can be combined with custom code, integrated into already existing solutions, or used in combination with any of the supported open-source platforms.
Thanks to its modular architecture and compact design, the Neuron represents a highly flexible and affordable solution for quickly expanding the field of smart technology. Customers can also utilize the Neuron for smart energy management to achieve better energy efficiency and reduce expenses.
The Neuron is suitable for
- smart home automation
- construction companies
- electrical installations
- energy management
- HVAC automation
- remote control and SCADA (Supervisory Control And Data Aquisition)
- companies providing BMS (Building management system) services
- garden and agriculture automation
- geeks and DIY enthusiasts
- beverage industry
- industrial monitoring
- small industry projects
- and many more
The Neuron is designed to be suitable for nearly every automatization project. That makes it a suitable choice for a wide range of technologies.
Each Neuron model is divided into one to three input-output (I/O) groups depending on the model, each containing a group of input, output and/or communication modules. Each I/O circuit board is controlled by its STM32 processor, which controls inputs and outputs and communicates with the central processing unit (CPU). Processors are using our firmware containing not only basic I/O functions, but also additional functions and features.
The internal topology of Neuron controllers
The Neuron can contain 1 (S-series), 2 (M-series) or 3 (L-series) I/O groups. Each group is equipped with its processor, to which interfaces of one or more I/O modules are connected. This processor handles all events on I/O modules of said group and monitors the communication with the CPU. All groups are labelled right-to-left from the main group (1).
Each I/O group processor is connected to the CPU and a central communication channel for all group processors. There is no communication between I/O groups. Each processor can also function independently on the CPU, allowing users to retain basic control of I/O modules in the event of CPU malfunction or software issue.
Group 3 Group 2 Group 1
The following picture shows inputs, outputs and group labelling on the Neuron L203.
Neuron controllers are powered by an integrated Raspberry Pi 3 Model B mini-computer featuring 1.2GHz quad-core CPU and 1 GB RAM and providing high computing power. That gives them more than enough performance for various performance-demanding applications. MicroSD memory cards are used as memory storage.
Inputs & outputs
Depending on the particular model, the Neuron controllers can be equipped with the following types of I/Os or their various combinations.
Digital inputs (DI) are designed for reading logic states represented by direct voltage levels. That makes DI's suitable for reading data from various two-state (binary) devices and sensors such as switches (on/off), motion sensors (movement/no movement), liquid level sensors (tank empty/tank full) etc.
Digital outputs (DO) are suited for switching various two-state devices such as lighting, door locks, shutter drives etc. DO's also feature power-width modulation (PWM) functionality that allows them to be used for analog control.
Relay outputs (RO) serve for switching device with a high current draw, ie. light bulbs, thermoelectric drives, water heaters, pumps, larger external relays etc.
Analog inputs (AI) are designed to measure voltage, current or resistance to read values from various analogue sensors such as thermometers, pressure meters, tensometers etc.
Analog outputs (AO) serve for control of multi-state external devices through direct voltage or current and are suitable for control and regulation of devices such as three-way valves, heat exchangers, electric motors etc.
Modularity and OEM
The modular design of Unipi controllers offers customers with a wide array of hardware customization options. Circuit boards used in Unipi controllers have a universal design and can be freely combined or swapped if a new combination of I/Os is desired. This means customers that did not find a suitable model among standard Neuron models have the option to order development of a prototype featuring a customized architecture (a new combination of I/Os, additional serial interfaces etc.) or additional functionality (DALI, EnOcean, M-Bus, LTE etc.). For more info about the OEM solutions, please visit this link.
The S103-G model features a wireless GSM/GPRS module that allows the controller to use the GSM/GPRS network for sending alerts and notifications through the SMS service.
Note: At the moment, there is no software support for the GSM/GPRS module.
The module can be programmed via AT commands according to the producer's manual. If standard Raspbian OS is used, it is necessary to free the UART for the modem by performing the following steps:
- remove console=serial0,115200 line from the /boot/cmdline.txt file
- add enable_uart=1 and dtoverlay=pi3-disable-bt lines to the /boot/config.txt file.
It is possible to connect to the module from the system via serial link ttyAMA0 (serial link parameters: 115 200 1N8 Bps/Par/Bits, HW flow control OFF).
Before using the module for communication it is necessary to activate the module first through the GPIO18 of the RPi via following commands:
echo 18 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio18/direction echo 1 > /sys/class/gpio/gpio18/value echo 0 > /sys/class/gpio/gpio18/value sleep 1 echo 1 > /sys/class/gpio/gpio18/value sleep 2
After running the commands above, the modem's blue LED inside the controller's chassis will start blinking. The communication with the modem can be verified by sending "AT" command, the modem will reply with "OK".
The S103-IQRF features the TR-76D smart transceiver for communication using the IQRF wireless standard. This standard uses a highly reliable wireless mesh communication broadcasted on sub-gigahertz bands. Such technology has two main advantages – long signal range and low power consumption. Thanks to the long-range, the user does not have to use repeaters or base stations to extend the signal range, and due to using a patented Directed Flooding mesh networking protocol, the communication retains its reliability even in harsh RF environments.
The transceiver contains its microcontroller and operating systém. Above the OS layer, it is possible to add the DPA transport layer containing pre-made hardware profiles. These can be used to quick device setup for needed functionality without any further programming. If needed, there is also a possibility to add a third layer for custom adjustments of the device‘s behaviour. Additionally, an open-source development kit can be used for configuring the transceiver for third-party device connectivity.
By default, all Neuron PLCs feature one or more RS485 serial interfaces. Usually, the RS485 uses the Modbus RTU protocol and can be used to communicate with a wide range of devices such as Extension xS modules, energy meters, touchscreen HMI panels, PLCs from other vendors etc. A high number of devices can be connected to a single bus while the bus' length can reach up to several hundred meters.
A single 1-Wire bus is also included. This interface uses 2-3 conductors for collecting data from various 1-Wire sensors such as thermometers, humidity meters, light intensity sensors etc.). A single 1-Wire bus supports up to 15 devices, the overall length of the bus can reach up to 200 meters.
All Neuron models feature a single 10/100Mbit Ethernet port for network communication.
We designed the Neuron software to be as open as possible. Customers are thus not limited to a single software solution and can choose from a variety of native, commercial or open-source platforms for control, regulation and PLC configuration.
The basic software provided is the Linux OS along with the Modbus communication interface using TCP protocol - both can be downloaded free from our website. This basic solution is designed for simple user application implementation and supports remote access along with running the software on the unit itself. Combination of both methods provides the customer with the advantages of a distributed system.
Main software platforms
The main supported solution is the Mervis control system - a platform developed under the IEC 61131-3 standard for PLC programming, that includes SCADA interface for remote management and monitoring, a comprehensible development environment, a human-machine interface (HMI) editor and an online/on-premise database for storing historical data and retrospective analysis of the controlled technology's operation. A lifetime license code is included in the package of each Neuron controller for using the Mervis DB cloud database and the Mervis Proxy service.
The EVOK is an open-source application programming interface (API), designed primarily for remote access to our PLC units. It is a simple-to-use software allowing easy hardware access without the need for complex programming. EVOK is using six unified methods (or protocols), thanks to which the user does not have to write his/her code. That means any programming language can be used. These methods are:
- REST Web Forms
- Bulk JSON
- REST JSON
These protocols cover absolute most of existing devices and software, which makes the EVOK a highly flexible software acting as a layer between the device or software itself and the EVOK webpage containing the control interface. The resulting software is easy to use enough for absolute beginners to use it.
For Mervis and EVOK, we provide full technical support.
The largest commercial SW platform is the IEC 61131-3 compliant CODESYS, designed to be used in modern industrial automatization projects.
The REXYGEN software can serve as an alternative, providing a set of tools and applications for automatization projects and allowing an easy PLC programming via a comprehensive graphic interface.
Graphics programming is also used by the Wyliodrin platform, which allows the user to use a simple drag-and-drop scheme to quickly create control code for various basic functions, such as switching off lights, motion sensors control etc
HomeSeer HS3 platform then offers basic software for controlling devices such as lightning switches, thermostats, door locks and many more.
Commercial platform support is provided externally by the platform's respective developer.
As we emphasize the openness of our system, our products can utilize a wide range of open-source platforms. Currently, we offer the following platforms:
Especially noteworthy is the Node-RED with its web interface used for easy connection of hardware, API and online services through a comprehensive graphics editor allowing easy placement of code segments with a single click.
The FHEM platform offers broad support of various protocols and is particularly suited for combining wired and wireless systems.
No technical support is provided for the open-source platforms.
Digital input and output modules of the Neuron feature a set of functions allowing the user to customize the unit's functionality.
Digital inputs contain Debounce, Counter and DirectSwitch functions.
Debounce automatically compensates for signal fluctuations through a control interval measured in milliseconds. The impulse is then evaluated as valid only if it lasts for a given control interval. By that, the Debounce can prevent multiple returns of a single impulse. A correct Debounce setting is vital for a proper digital input operation.
The Counter function counts impulses received by the digital input and resets itself when a pre-set peak value is reached. With this function, the digital input can be used for reading data collected by digital flow meters, thermometers and other digital measuring devices.
Digital outputs also support the pulse-width modulation (PWM) for transmitting two-value analogue signals.
The master watchdog feature monitors the communication between the CPU and a local processor. If no exchange occurs within a pre-set timeframe, the MasterWatchdog automatically resets the device and I/O modules back into default settings.
Save default settings option allows each processor to save its default configuration. This configuration is then loaded after every device reboot triggered either by a manual restart or by a power outage.
Restart function provides the user with an option to trigger a restart of any I/O group and its reset back to default settings.
All Neuron models are also equipped with four customizable LEDs. These are labelled as X1 - X4 and can be used as a custom status indication.
During the whole development and assembly process, we strongly emphasise the quality and reliability of all of our products. All components are manufactured in the Czech Republic by proven manufacturers. Each circuit board is also marked with unique QR code, allowing us to backtrack any individual component in case of failures or reliability issues. On the final product, every component can be backtracked, included the info indicating which person was responsible for testing and calibration.
Each circuit board underwent multiple-stage testing before the final assembly:
- visual check
- firmware upload test
- functionality test, I/O calibration and testing
- multiple modules assembly
- final test
Unipi.technology supports startups, small projects and starting developers. Because of that, we offer an option to create a custom OEM variant of the Neuron with the batch size starting on 20 units. The customer can not only design his/her case graphic design but can also order a custom I/O architecture according to his/her needs. For larger companies, we also offer custom development, starting at 200 MOQ (Minimum Order Quantity). You can find more info here.