摘要
本文介绍并实现了一种可供嵌入式系统调用的基于弗雷歇距离判断曲线相关性的模块,该模块的微处理器采用ATmega328(Arduino),模块可以通过两条曲线上取出的一系列离散变量计算得出两曲线近似弗雷歇距离。此外,为了解决两条曲线采样过程中时间维度可能出现的错位问题,本模块采用移位方式得到最优弗雷歇距离,并以此作为相似判据。本模块使用过程中通过串口通信接收来自其他系统采集到的曲线离散值,经过计算后返回计算结果供其他系统分析。本模块在嵌入式系统智能化方面具有一定通用性。
In the paper,a module is introduced,which can be invoked by embedded system to judge the correlation of curves based on Fréchet distance.The microprocessor of this module adopts ATmega328(Arduino).The module can calculate the approximate Fréchet distance of two curves by a series of discrete variables taken out from the two curves.In addition,in order to solve the possible dislocation of the time dimension in the sampling process of the two curves,this module obtains the optimal Fréchet distance by means of displacement and using it as the similarity criterion.When using this module,the discrete values of curves collected from other systems are received through serial port communication,and the calculated results are returned for analysis by other systems.This module has certain universality in embedded system intelligentization.
作者
张文昊
Zhang Wenhao(Department of Electronic Information and Electrical Engineering,Dalian University of Technology,Dalian 116024,China)
出处
《单片机与嵌入式系统应用》
2020年第9期17-20,50,共5页
Microcontrollers & Embedded Systems