IoT Reference Implementation: Make a Connected Transportatio
文章分类:智能物流 发布时间:2017-11-01 原文作者:admin 阅读( )
To demonstrate a rapid reference implementation edge IoT solution for the transportation sector, a proof-of-concept was created using the Grove* IoT Commercial Developer Kit. That prototype was scaled to an industrial solution using an Intel® IoT Gateway, industrial sensors, and Intel® System Studio. This solution monitors the temperature within a truck’s refrigerated cargo area, as well the open or closed status of the cargo doors. The gateway generates events based on changes to those statuses, to support end-user functionality on a tablet PC application.
The core opportunity associated with the Internet of Things (IoT) lies in adding intelligence and connectivity to everyday devices, harnessing information, and putting it to use in ways that add value. Monitoring the status of a refrigerated semi-truck trailer hauling perishable goods is a simple example. Alerting the driver when the temperature passes outside a pre-set range or when cargo doors are opened unexpectedly can help avoid financial losses. An IoT solution to monitor and track these aspects of a semi-truck trailer could therefore be a viable commercial product. Intel undertook a development project to investigate this and other opportunities associated with building a connected transportation solution. The project was presented as a demonstration at Intel® Developer Forum in 2015 and again in 2016. This document recounts the course of the project development effort, to help drive inquiry, invention, and innovation for the Internet of Things. For a how-to for this project, see How to Build a Connected Transportation Solution. Visit GitHub* for this project's latest code samples and documentation.IntroductionThe goal of this project was to build a functional prototype and then to transition that proof-of-concept into an industrial-grade solution for scalable deployment as a commercial product. Rapid prototyping is facilitated by using the Grove IoT Commercial Developer Kit, which consists of an Intel® NUC system, Intel IoT Gateway Software Suite, and sensors and their components from the Grove* Starter Kit Plus (manufactured by Seeed). The project also uses the Arduino 101* (branded Genuino 101* outside the U.S.) board. Hardware used in the prototype stage of this project is illustrated in Figure 1, and specifications are given in Table 1. Table 1. Prototype hardware used in connected transportation project
The course of this project demonstrates the value of the reference implementation approach: it allows a prototype to be built with a relatively small investment of time and effort, followed by an efficient transition to a commercially viable solution. Using a precompiled OS as well as RPMs helps to eliminate unnecessary downloads, having to customize the OS, and identifying libraries necessary to bring a project to life. This project was devised to contribute to innovations around solutions for similar use cases being produced and marketed. While this project was designed to provide only basic functionality, its design is flexible and extensible enough that a variety of features could be added. In particular, the project could be expanded in the future to include web connectivity, cloud capabilities, remote monitoring, and other components. In the project’s earliest stages, the team listed potential features for the prototype and the product. A sample of these included rear-door status (open or closed), temperature of the trailer, alarms based on the state of the door and temperature, an online application to view data, and in-cab monitoring of information. To demonstrate the viability of creating a robust solution while maintaining simplicity and low cost, the team elected to limit the bill of materials for the prototype phase to just the contents of the Grove IoT Commercial Developer Kit. Creating the Prototype Proof-of-ConceptTo allow for separation of duties and efficient progress, the team divided the solution into three primary areas of effort: This approach of separating the project into discrete segments allowed the team to progress through the prototype phase more rapidly than otherwise, taking best advantages of skill sets available within the team. In particular, while the user interface was not strictly required in the early phases of the project, it was expected to require the most development time of the three areas listed above. Therefore, beginning it as early as possible allowed for it to be well underway by the time it was needed later in the project. In terms of the application logic, the team was able to look ahead to the expected final functional prototype and make decisions in the early prototype process looking to the future. Overall, the team expected the operation of the door sensor to be relatively simple, allowing greater attention to the proper utilization of a temperature sensor on a small and then commercial scale. By utilizing the sensors in the Grove Starter Kit Plus, we were able to rapidly create a prototype with a functional sensor environment that the UI team could work with. This approach enabled layout and design elements to come to life quickly and provided a future framework for the final functional use case. The prototype configuration, with the Intel NUC, Arduino 101 board, and sensors, is illustrated in Figure 3. The bill of materials is given in Table 2. Table 2. Connected transportation prototype components
Use CaseThe use case was built and displayed through an administration application to support the following scenario:
SimulationThis simulation demonstrates the reduced potential loss of temperature-sensitive cargo by monitoring temperature changes and alerting the driver if it becomes critical, as illustrated in Figures 6 and 7. Target Commercial SolutionWith an operational prototype based on the Intel IoT Developer Kit and Grove IoT Commercial Developer Kit, it was necessary to determine how to proceed to create a commercial solution. Table 3 outlines how the components used in the prototype phase could be replaced with a production solution. Table 3. Components in the prototype versus production solution
In addition, there are many commercial gateways available, with design differences making them suited to various industries and use cases. A key consideration for this project was a broad range of I/O options, to support both current and future functionality, specifically for connecting sensors to provide a data feed. An Intel IoT Gateway was chosen as the gateway device for the product portion of this project, as shown in Figure 8. The processing power and I/O functions were deemed sufficient for the presented commercial usage. A wired Modbus temperature sensor was chosen to provide a reliable connection to obtain temperature readings every several seconds. All communications on devices were performed via direct wiring or via Ethernet. Standard MRAA/UPM libraries were maintained throughout the process without any modifications. The gateway acts as a web server, storing data as well as making calls to the temperature sensor to keep the data fresh. The Java UPM Library uses libmodbus to read and send periodic updates from the Comet* temperature sensor to the Tomcat* web server. Transferring Code to the GatewayTypically, ramping up to a commercial gateway involves having to revamp code so that it is compatible with whichever services are available on the system. In this case, the coding on the prototype was all performed in Java, HTML, and JavaScript*, making the transition to a commercial solution relatively simple. The code transition was simplified by the use of the same MRAA/UPM libraries in both phases of the project. Mapping Grove Sensors to Industrial SensorsUsing MRAA and UPM libraries can help jumpstart a project. The following steps cover porting the app to the commercial product solution:
Customer ApplicationThe base customer application, shown in Figures 9 through 12, was created to replace the functionality of the Grove LCD, LED, Buzzer, and Touch Sensor, which the driver would interact with in the prototype. In the production solution, the customer application would reside on the mobile device carried by the driver, allowing for easy notification and response to alerts. The customer application is quite simple in this example but could be easily expanded. It has two status indicators that refer to temperature and door status. An alert button becomes active and then the user is given an acknowledge button to clear the alert. ConclusionThis exercise demonstrates the use of the Grove IoT Commercial Developer Kit to rapidly develop a prototype. With its wide-ranging libraries, the ease of use of the developer kit simplifies the development process while also providing high compatibility for commercialization of the product. Scaling up to a commercial gateway was quite easy, as the team was able to directly copy code and have it function immediately. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||