This book presents applicable guidance into sensor system hardware and software design, extensions, and integration aimed at utilization of 1-wire networks. The content is structured from the design of the sensor system architecture―hardware and software―through the implementation and optimization of the solution to the practical verification. The hardware part consists of the design of specific solutions for sensor data collection and the design and integration of standard and special sensors into these solutions. The development of the hardware solutions is focused on integration with 32-bit microcontrollers with ARM Cortex M0 to Cortex M4 cores. For the sensor solutions, the focus is on design versatility and miniaturization of dimensions with respect to the availability of the technology in the physical design. The focus is on minimizing power consumption to the design of power independent modules. The presented solution includes the design and implementation of the software layer, which includes control software for direct communication with the sensor modules as well as an information system for continuous data storage and remote access. The book presents an extensive case study that describes the design and development of a 1-wire bus controller hardware module solution with proprietary modifications that achieve improvements to the maximum 1-wire bus length. The study also includes the design and implementation of a universal and power independent 1-wire bus device. Using this module, almost any sensor can be connected to the 1-wire bus.
Author(s): Juraj Ďuďák, Gabriel Gašpar
Series: Signals and Communication Technology
Publisher: Springer
Year: 2023
Language: English
Pages: 227
City: Cham
Foreword
Preface
Acknowledgments
Reviewers
Contents
Acronyms
1 Communication Protocols
1.1 Communication Standard EIA-485
1.2 MODBUS/uBUS Serial Line Protocol
1.3 Design of the uBUS Application Protocol
1.3.1 Secure Communication Layer
1.3.1.1 Communication Layer Implementation
(A) Minimalistic Implementation
(B) Basic Implementation
(C) Advanced Implementation
1.3.2 Organizing the MultiSlave Modules
1.3.3 Specification of the uBUS Protocol
1.3.3.1 Command CMD_DEV_SLAVES (0x01)
1.3.3.2 Command CMD_DEV_ECHO (0x02)
1.3.3.3 Command CMD_DEV_ID (0x03)
1.3.3.4 Command CMD_DEV_INFO (0x04)
1.3.3.5 Command CMD_SLAVE_UNIT (0x05)
1.3.3.6 Command CMD_SLAVE_UNIT (0x06)
1.3.3.7 Command CMD_SLAVE_STATE (0x07)
1.3.3.8 Command CMD_SLAVE_INFO (0x08)
1.3.3.9 Command CMD_SLAVE_RESET (0x0A)
1.3.3.10 Command CMD_SLAVE_SET_PARAM (0x0B)
1.3.3.11 Command CMD_SLAVE_GET_PARAM (0x0C)
1.3.3.12 Command CMD_DEV_START (0x10)
1.3.3.13 Command CMD_DEV_STOP (0x11)
1.3.3.14 Command CMD_DEV_RESET (0x12)
1.3.3.15 Command CMD_DEV_SET (0x13)
1.3.3.16 Command CMD_DEV_GET (0x14)
1.3.3.17 Command CMD_SLAVE_SET_VALUE (0x15)
1.3.3.18 Command CMD_SLAVE_GET_VALUE (0x17)
1.3.3.19 Command CMD_SECURE_INIT (0xE1)
1.3.3.20 Command CMD_SECURE_ENCODE_KEY (0xE2)
1.3.3.21 Broadcast Communication
1.4 One-Wire Communication Protocol
1.4.1 1-Wire Application Protocol
1.4.2 1-Wire Master
1.4.3 1-Wire Slave
1.4.4 Dynamic Control of the 1-Wire Bus Status
References
2 Hardware Modules of the Sensory System
2.1 One-Wire Booster Module
2.1.1 Communication Interfaces and Microcontroller
2.1.2 Modified Controller of the 1-wire Bus
2.1.3 Detection of a Short-Circuit on the 1-wire Bus and Current Consumption Monitoring
2.1.4 The Bus Length Detection
2.1.5 Improved Active 1-wire Bus Pull-up
2.1.6 Mechanical Implementation of the 1-wire Bus Sensors
2.1.7 Implementation of Sensors for Ambient Temperature Monitoring
2.1.8 Unique Designs for 1-wire Temperature Sensors
2.2 Measuring Module RRM
2.2.1 The RF Communication Layer
2.3 Measuring Module THB
2.3.1 Application Communication Interface of the AM2303 Sensor
2.3.2 Implementation of Sensors for the THB Measuring Module
2.4 The Measuring TNZ Module
2.4.1 Implementation of the Specific uBUS Protocol Commands
2.4.2 Implementation of Sensors for the TNZ Measuring Module
2.5 Sensory Modules
2.5.1 The OWS Sensory Module
2.5.1.1 Application Program Interface of the OWS Module
2.5.2 The RTM Sensory Module
2.5.2.1 Application Communication Protocol for the RTM and RRM Modules
2.5.2.2 The RF Communication Security Proposal
2.5.2.3 Block Cipher SPECK and SIMON
References
3 Software Modules of the Sensory System
3.1 Basic Software Modules
3.1.1 nSoric IS—Data Model of the Sensory System
3.1.2 nSoric senlib—Shared Sensor System Library
3.2 Server Modules
3.2.1 nSoric API
3.2.1.1 nSoric API.auth
3.2.1.2 nSoric API.data
3.2.1.3 nSoric API.system
3.2.1.4 nSoric API.sensor
3.2.2 nSoric Serve
3.3 Software Applications
3.3.1 nSoric Merula
3.3.1.1 Properties of the nSoric Merula Software
3.3.1.2 Measurement Procedure
3.3.2 nSoric Aurela
3.3.2.1 Administration of Sensor System Settings
3.3.2.2 Data Synchronization
3.3.3 nSoric Cofig
3.4 Sensor System Integration with the IoT Networks
3.4.1 Measuring Modules and IoT
3.4.2 Implementation of a Local Measurement Module
Reference
4 Practical Use-Case of Proposed Measurement System
4.1 Monitoring of Ecological Building Insulation
4.1.1 Technical Solution
4.2 Temperature Monitoring in Bulk Biological Materials
4.2.1 The Hardware Part of the System
4.3 Production Hall Temperature Monitoring
4.3.1 Technical Solution
4.3.2 Software Solution
4.4 Monitoring of the Asphalt Road and Its Subgrade Freezing
4.4.1 Experimental Installation
4.5 Experimental Measurement of Asphalt Pavement Fatigue
4.5.1 Deformation Measurement
4.6 Authors' Protected Intellectual Property
4.6.1 Sensor for Measuring Mechanical Deformation of Asphalt Pavement
4.6.2 Universal Serial Bus Device for Measuring Physical Quantities
4.6.3 Sensor for Measuring the Temperature Profile of the Asphalt Pavement
4.6.4 System for Wireless Measurement of Environmental Variables in Biologically Active Materials
4.6.5 Rod Probe for Temperature Measurement with an Adjustable Position of Installed Sensors
References
Glossary
Index