基于龙芯平台的物联网实验系统的设计
2018-12-14畅丽红裴焕斗杨佩宗
畅丽红 裴焕斗 杨佩宗
关键词: 物联网; 龙芯; 实验平台; 无线网络节点; ZigBee; Qt框架
中图分类号: TN915?34 文献标识码: A 文章編号: 1004?373X(2018)24?0183?04
Design of IoT experimental system based on Loongson platform
CHANG Lihong1,2, PEI Huandou1,2, YANG Peizong1,2
(1. National Key Laboratory of Electronic Testing Technology, North University of China, Taiyuan 030051, China;
2. Shanxi 100 Trust Information Technology Co., Ltd., Taiyuan 030006, China)
Abstract: In allusion to the current need of cultivating Internet of Things (IoT) and embedded type talents and the autonomous controllable trend of information technology, a design scheme of the IoT experimental system based on the Loongson processor independently developed in China is proposed. The experimental platform consists of the security reliable upper computer based on the Loongson 3B1500 multi?core processor and the wireless network node slave?computer based on the Loongson 1C300 single?core processor. The DL?LN33 wireless module is used to realize wireless Zigbee networking of sensors. The visualizable monitoring management software of the upper computer is designed by using the open source Qt framework and its expansion plug?in Qwt. The experimental project design is conducted according to the professional course content relevant to IoT. The testing results show that each part of the platform can operate normally and has good performance.
Keywords: IoT; Loongson; experimental platform; wireless network node; ZigBee; Qt framework
0 引 言
物联网被誉为世界上具有颠覆性意义的技术之一[1]。物联网是在互联网基础上扩展和延伸的网络,将进行信息交换和通信的用户端扩展到物品与物品之间[2]。随着越来越多的企业、科研院所及高校将大量的资源和精力投入到物联网技术的研究领域,物联网教育成为一种迫切的需要[3]。结合当前信息安全被高度重视的形势,发展自主可控的信息技术已成为一种趋势。开发一种基于国产平台的实用、可扩展性强的物联网实验平台意义重大。
本实验系统采用基于我国自主研发的龙芯处理器,基于标准MIPS架构与Linux通用操作系统,具有高性能、自主可控、系统开放等特点。本实验平台从底层处理器芯片到系统软件都由我国自主研发或移植,并根据相关专业教学课程需要进行精简与编制,既能满足正常教学需要,丰富的接口和开源的系统,还能给予学生更广阔的思维发展空间。
1 总体结构设计
本文基于龙芯平台的物联网实验系统整体面板框图如图1所示,其主要由两部分组成:基于龙芯1C处理器和CC2530的ZigBee无线传感器智能节点和基于龙芯3B1500处理器的上位机管理监控平台。其中,上位机主要完成下位机所需代码的在线编辑、编译、下载功能及对下位机无线传感节点的管理控制功能;而下位机无线传感智能节点主要完成采集数据、接收命令、发送数据等功能。……
