Designing Efficient Data Systems: Acquisition, Storage & Transfer

Verified

Added on  2023/04/26

|3
|615
|266
Report
AI Summary
This report outlines the design of a micro system, emphasizing data acquisition from sensors using the Intramodule Multielement Microsystem (IM2) standard. It details how the IM2 protocol facilitates plug-n-play connectivity for up to 255 sensors, using signals like NSDET, NIOE, and NACK for data transfer via DCLK, DIN, and DOUT buses. The report further explains data storage within the micro system, advocating for timestamped data packets to maintain data integrity and relationships between different sensors. A circular array memory arrangement is suggested to manage limited memory, overwriting older data with the latest. For data transfer to external systems, USB is recommended for its high speed and plug-n-play capabilities, enabling efficient retrieval of sensor data one sensor at a time, starting from the oldest valid packet. The design ensures organized and protected data handling within the micro system.
Document Page
MICRO SYSTEM DESIGN
A typical embedded system has three components, the input which is usually a
set of sensors and user interface devices. A controller running the software to
make sense of inputs and generate suitable outputs. The final part is output, a
bunch of actuators and user interface devices again. Given the specification,
the micro system is a small stand-alone device connected to sensors.
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Data acquisition:
The Intramodule Multielement Microsystem IM2 standard would be preferred
way to connect the sensors as only a set of wires is required to connect the
devices and multiple devices can be connected to the system using same wires
simultaneously.
The IM2 protocol supports signal NSDET which is pulled low by the device until
it has registered itself with the controller. This is done by controller asking for
the device ID and acknowledging the ID being received.
The protocol supports set of signals NIOE and NACK that help set up the data
transfer between sensors and controller using DCLK and DIN and DOUT buses.
This sums up how up to 255 sensors can connect to the controller over same
set of bus with plug-n-play support.
Data Storage:
Once controller has acquired the data, from sensors, it must retain it in
internal memory. This data is only useful if it can be stored in a relative
manner. The sequence of data captured from sensor must not be altered for
individual sensor. But this does not guarantee relationship between data from
different sensors being maintained. So all data stored must consist of
timestamp with it. This is termed as data packet for that particular type of
sensor.
Data is stored in a separate memory section of the system that is protected by
the OS against access by non-authorized process. The memory area is allocated
to each sensor depending upon its requirement. Counting the size in terms of
packet size for each sensor. The memory size is limited, so it is advised to
arrange memory as circular array. In case controller runs out of memory, it
Document Page
overwrites the oldest packet with latest data packet. This will make sure most
recent possible data is available for the analysis.
Data transfer:
Once the external system connects to the microsystem. The stored data can be
read one sensor at a time. The storage is byte sized but each transfer should be
counted in terms of packet. Once all packets are transferred and
acknowledged by the external device, the memory area can be returned to the
OS as free memory area for future use. The memory is arranged as circular
linked list and reading packets should start from oldest valid data packet.
Since the volume of data to transfer is large, a high speed interconnect is
preferable. USB is better choice as it supports plug-n-play facility without much
setup. Also this is standard port available on a laptop/ desktop machine. Using
any proprietary protocol may be faster but not comfortable. Also USB is a
serial interface, it saves on number of pins the controller needs for
interconnect with the external device making it best suited for the application.
Bibliography
Center, D. T. (2001). DTIC ADA401759: Intramodule Multielement Microsystem (IM2) Bus and
Interface Circuit. Retrieved from https://archive.org:
https://archive.org/details/DTIC_ADA401759/page/n19
Mason, J. Z. (2002). Communication Buses and Protocols for Sensor Networks. sensors, 14.
chevron_up_icon
1 out of 3
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]