DomoControl 128

The DomoControl128 system is the result of the collaboration of Transylvania University with Siemens PSE .

It is an embedded system designed to cover an application spectrum including: bridging different kinds of house networks, acquiring analogue and digital signals, controlling digital and analogue outputs.

The component cards of system are based on ATmega128 microcontroller produced by Atmel Corporation.  The two main parts of the system are represented in figure 1.


1. Process interface card; - implement the communication with one of RS485 bus, and assure the interface to the process. It offers the following signal processing functions:

  • 4 analog input signals acquisition (10 bits resolution – 300 ms sampling period)8 digital input channels with medium input resistance
  • 8 digital output channel, (opto-isolated, open collector with 500mA maximum current on outputs at 50V)
  • 2 analog output signals (12 bits resolution, maximum voltage 2.5V on output, maximum current 40mA)
  • 2 channel “ac switch”, with 30mA maximum current, voltage 220Vac
  • 1 channel “ac switch” with 8A maximum current, maximum voltage 600Vac.

2. Human Machine Interface Card. - assure the main communication functions with the user. The features of this part are:

  • A graphical display 64x128 pixels
  • A keyboard with 4 keys
  • 2 serial interfaces: the first is RS232 –console for programming ISP the system, and the second is RS485.

These two cards are interconnected using SPI serial interface, which implements the transfer of telegrams between the two processors.
Other important functions implemented by the system are:

  • Temporization: 8 independent channels (including the real time clock)
  • Watch dog function (assure the automatic hard reset when the corresponding timer is overflow).
  • Brown level detection (an analog threshold that indicates the down fall of the power supply voltage)

The memory of system includes: EEPROM memory 4Kbytes, and SRAM memory 4kBits. The block diagram of the DomoControl128 is represented in figure 1

Block diagram of DomoControl 128 system

Figure 1 Block diagram of DomoControl 128 system

The DomoControl 128 system assures the implementation of following items: bridge between the two RS485 buses, (one to the home automation system supervisor, and the other that can control another RS485 bus placed at the button of the hierarchy of HAS); acquisition from the process of analogue signals, such as: temperature, pressure, water/gas flow; control of digital outputs for: window blinds, electro-valves used for switch water / gas circuits in house, input door automation and so on.

Software modules and databases implemented

Figure 2 Software modules and databases implemented by DomoControl 128 system

By designing modular and scalable the software, the implementation time of applications was reduced (see figure 2). “Image processing” model, includes all the items that characterize each device linked through RS485 to DomoControl 128 system. By using it and also by applying the processing function on the whole we obtain a very flexible structure for the software modules that allow the fast development of applications. (See figure 3)

At the level of process interface card, the controller will periodically sample the inputs of system; will insert the parameters value in a memory buffer. In the same time, according to the sampling rate for commands the memory corresponding for outputs are transferred to these.  A hierarchy is established and this is represented in figure 3.

So the digitized signals are included like items in a record. So, for analogue signal we establish to use only 8 bits/sample. All the values could be processed and grouped corresponding to devices. The assembly forms the “image process” of a home appliance (domotic) control system.

Hierarchy of signal processing using modular programs

Figure 3 Hierarchy of signal processing using modular programs

  • The implemented mechanism has the following features:
  • Offer a whole image of the process
  • Rigorous manipulation of dates in relation with the time coordinate
  • Assure the reliability of data processing and transfer
  • Opened for specific implementation
  • Conversion of physical addresses into technological addresses in order to simplify elements structuring in the entire system
  • Mapping in “process image” of all variables integrated by the system (both local and slave devices) will suppose not only to chart the devices but to attach data structure corresponding to each of these devices
  • Time stamp information in order to assure the coherency of data transferred


Privacy | About Us
Copyright © 2008 Home Automation - JAEC - All the rights reserved