triple-digital-twin

所属分类:数值算法/人工智能
开发工具:C#
文件大小:689KB
下载次数:2
上传日期:2023-04-14 17:28:59
上 传 者sh-1993
说明:  TRIPLE:一个基于区块链的网络物理系统安全数字孪生框架
(TRIPLE: A Blockchain-based Digital Twin Framework for Cyber-Physical Systems Security)

文件列表:
ADT-architecture.png (71404, 2023-07-05)
ADT_architecture.jpg (133296, 2023-07-05)
TRIPLE_framework.jpg (547218, 2023-07-05)
TRIPLE_framework.png (100590, 2023-07-05)
ingestor (0, 2023-07-05)
ingestor\DataIngestor.sln (1116, 2023-07-05)
ingestor\DataIngestor (0, 2023-07-05)
ingestor\DataIngestor\ADTToAzureTimeSeriesFunction.cs (2019, 2023-07-05)
ingestor\DataIngestor\DataIngestor.csproj (1084, 2023-07-05)
ingestor\DataIngestor\IoTHubToAzureDataTwinsFunction.cs (5549, 2023-07-05)
ingestor\DataIngestor\Properties (0, 2023-07-05)
ingestor\DataIngestor\Properties\PublishProfiles (0, 2023-07-05)
ingestor\DataIngestor\Properties\PublishProfiles\TripleDigitalTwinIngestor - Zip Deploy.pubxml (899, 2023-07-05)
ingestor\DataIngestor\Properties\ServiceDependencies (0, 2023-07-05)
ingestor\DataIngestor\Properties\ServiceDependencies\TripleDigitalTwinIngestor - Zip Deploy (0, 2023-07-05)
ingestor\DataIngestor\Properties\ServiceDependencies\TripleDigitalTwinIngestor - Zip Deploy\profile.arm.json (7066, 2023-07-05)
ingestor\DataIngestor\Properties\ServiceDependencies\roboticarmdataingestor - Zip Deploy (0, 2023-07-05)
ingestor\DataIngestor\Properties\ServiceDependencies\roboticarmdataingestor - Zip Deploy\storage1.arm.json (2440, 2023-07-05)
ingestor\DataIngestor\Properties\serviceDependencies.ab2sdigitaltwinsingestor - Zip Deploy.json (312, 2023-07-05)
ingestor\DataIngestor\Properties\serviceDependencies.fleetdataingestor - Zip Deploy.json (312, 2023-07-05)
ingestor\DataIngestor\Properties\serviceDependencies.json (177, 2023-07-05)
ingestor\DataIngestor\Properties\serviceDependencies.local.json (190, 2023-07-05)
ingestor\DataIngestor\host.json (217, 2023-07-05)
models (0, 2023-07-05)
models\PressureSensor.json (807, 2023-07-05)
models\RoboticArmInterface.json (1769, 2023-07-05)
models\TemperatureSensor.json (1056, 2023-07-05)
models\TwinGraph.json (4352, 2023-07-05)
simulators (0, 2023-07-05)
simulators\RoboticArm_01 (0, 2023-07-05)
simulators\RoboticArm_01\TemperatureSensor.sln (1124, 2023-07-05)
simulators\RoboticArm_01\TemperatureSensor (0, 2023-07-05)
simulators\RoboticArm_01\TemperatureSensor\AzureIoTHub.cs (5059, 2023-07-05)
simulators\RoboticArm_01\TemperatureSensor\IotHubConnection.cs (14906, 2023-07-05)
simulators\RoboticArm_01\TemperatureSensor\Program.cs (1746, 2023-07-05)
... ...

# TRIPLE: A Blockchain-based Digital Twin Framework for Cyber-Physical Systems Security The TRIPLE framework leverages and integrates provenance-enabled blockchain-based solution with the simulation mode of digital twins to ensure the reliability and traceability of data during data acquisition and dissemination at both physical and virtual environments. Overview of the TRusted and Intelligent cyber-PhysicaL systEm (TRIPLE) framework We present a prototypical implementation of the TRIPLE framework and generate a virtual environment to demonstrate how physical assets, i.e., robotic arm and temperature sensor can be modeled and analyzed through the twinned environment. We use the Microsoft Azure Digital Twins service that models digital twins in a cloud computing environment following Platform-as-a-Service architecture and enables physical twin monitoring in a virtual environment. Overview of robotic arms’ digital twins architecture realized with Microsoft Azure # Models Azure Digital Twins provide the ability to define vocabulary for building twin graph. This capability is provided through user-provided [models](https://learn.microsoft.com/en-us/azure/digital-twins/concepts-models). Azure Digital Twins models are represented in the JSON-LD-based [Digital Twin Definition Language (DTDL)](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-dtdl). We created two models, one related to robotic arm interface (RoboticArmInterface.json), another defines the temperature sensor (TemperatureSensor.json). # Simulators We use a simulator approach to generate and simulate data from two temperature sensors without having the need to configure and manage physical IoT devices. The simulator includes the temperature sensor configurations, robotic arm telemetry, and provides the authentication settings to connect with Azure IoT Hub. We created two simulators for two robotic arms to simultaneously generate temperature data from both robotic arms. Navigate to **simulators/RoboticArm_01** and **simulators/RoboticArm_02** directories in two different terminals and execute ```dotnet run```command to start simulators. The simulators will generate data for two temperature sensors is json format and send it to the ingestor. ```json { "id":"RA01_Temperature_Sensor_01", "temperature":25.24******523208*** } ``` ```json { "id":"RA02_Temperature_Sensor_01", "temperature":55.54934268234109 } ``` # Ingestor The Azure function is used to create the process of ingesting data into the Azure Digital Twins. The function receives the data and uses a JSON document patch to transform it, then updates the digital twins properties using the digital twins APIs. Use Microsoft Visual Studio to compile and deploy ingestor to Microsoft Azure cloud using Azure function. # Solidity Smart Contract We create a decentralized application (dApp) on the Ethereum blockchain that assists us in establishing and obtaining safety and security rules (e.g., temperature threshold). We deploy the dApp on the Ethereum Ropsten test network and using the [Nethereum library](http://docs.nethereum.com/en/latest/), we make interactions with the dApp and Ethereum nodes. Smart contract application binary interface (ABI) and connection details are available in: ```ingestor\DataIngestor\IoTHubToAzureDataTwinsFunction.cs``` # Azure digital twin explorer Azure Digital Twins Explorer is a visual tool for exploring the data in the Azure Digital Twins graph. As well as, to view, query, and edit models, twins, and relationships. [Azure Digital Twins Explorer](https://learn.microsoft.com/en-us/azure/digital-twins/concepts-azure-digital-twins-explorer) [Setup Azure Digital Twins Explorer Locally](https://learn.microsoft.com/en-us/samples/azure-samples/digital-twins-explorer/digital-twins-explorer)

近期下载者

相关文件


收藏者