[go: up one dir, main page]

CN116701954A - A Method of Infrastructure Status Identification Based on IMU Data - Google Patents

A Method of Infrastructure Status Identification Based on IMU Data Download PDF

Info

Publication number
CN116701954A
CN116701954A CN202310559427.4A CN202310559427A CN116701954A CN 116701954 A CN116701954 A CN 116701954A CN 202310559427 A CN202310559427 A CN 202310559427A CN 116701954 A CN116701954 A CN 116701954A
Authority
CN
China
Prior art keywords
infrastructure
feature
state
imu
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310559427.4A
Other languages
Chinese (zh)
Other versions
CN116701954B (en
Inventor
陈益强
沈建飞
吴清宇
范非易
�谷洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN202310559427.4A priority Critical patent/CN116701954B/en
Publication of CN116701954A publication Critical patent/CN116701954A/en
Application granted granted Critical
Publication of CN116701954B publication Critical patent/CN116701954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • G01C21/165Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation combined with non-inertial navigation instruments
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • G06N3/0442Recurrent networks, e.g. Hopfield networks characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • G06N3/0455Auto-encoder networks; Encoder-decoder networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0464Convolutional networks [CNN, ConvNet]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Molecular Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Automation & Control Theory (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention provides an infrastructure state identification method based on IMU data, which comprises the following steps: acquiring IMU data acquired by an inertial measurement unit deployed on an infrastructure, and extracting a feature vector corresponding to the infrastructure from the IMU data by using a feature extractor; performing similarity calculation on the extracted feature vector corresponding to the infrastructure and the reference feature vector of various states preset for the infrastructure to obtain a similarity result; according to the similarity result, the current state of the infrastructure is determined, and according to the similarity result obtained by performing similarity calculation on the extracted feature vector of the infrastructure and the reference feature vector of the plurality of states preset for the infrastructure, the technical scheme of the embodiment of the invention can be widely applied to any infrastructure and identify any infrastructure state designated by a user in a mode of determining the state of the infrastructure, and has high universality and low cost.

Description

一种基于IMU数据的基础设施状态识别方法A Method of Infrastructure Status Identification Based on IMU Data

技术领域technical field

本发明涉及物联网技术,具体来说涉及数字信号处理领域,更具体地说,涉及一种基于IMU数据的基础设施状态识别方法。The present invention relates to the Internet of Things technology, in particular to the field of digital signal processing, and more specifically, to an infrastructure state identification method based on IMU data.

背景技术Background technique

随着物联网技术的快速发展,基础设施状态识别的应用在生活中随处可见,尤其在智能家居、工业互联网、消防安全、智慧养老等领域有不言而喻的重要性。但是基础设施检测时常需要针对特定的使用场景配套定制化的嵌入传感器及识别算法,造成成本的升高和细分应用之间的壁垒,极大的阻碍了智能传感技术的普及。在这样的背景下有很多传感技术的提出,其中包括接触式和非接触式方法。With the rapid development of Internet of Things technology, the application of infrastructure status recognition can be seen everywhere in life, especially in the fields of smart home, industrial Internet, fire safety, and smart elderly care. However, infrastructure detection often requires customized embedded sensors and recognition algorithms for specific usage scenarios, resulting in increased costs and barriers between subdivided applications, which greatly hinders the popularization of smart sensing technology. In this context, many sensing technologies have been proposed, including contact and non-contact methods.

非接触式传感技术使用雷达、RFID、UWB等射频技术通过无线电波在被检测物体上的背向散射和多径效应采集携带被检测物体状态特征的回波信号实现对物体状态的识别。但是这种方法时常受限于场景特异性、成本高、不易部署等问题,只是在特定的场景或案例中实施,并未大规模商业化应用。Non-contact sensing technology uses radar, RFID, UWB and other radio frequency technologies to collect echo signals carrying the state characteristics of the detected object through the backscattering and multipath effects of radio waves on the detected object to identify the state of the object. However, this method is often limited by scenario specificity, high cost, and difficulty in deployment. It is only implemented in specific scenarios or cases, and has not been applied commercially on a large scale.

接触式传感技术则多基于惯性导航单元,因其采用MEMS(称MicroElectromechanical System,微机电系统)技术具有低功耗、低成本的特点。惯性导航单元通常集成了加速度计、陀螺仪、磁力计,可表征被检测设施的姿态和方向变化,被广泛用于检测物体状态,例如家居状态检测、设施姿态检测、车辆撞击检测、跌落检测等。其检测技术多基于传感器数据进行姿态和方向的解算,通过强度或方向的变化进行状态识别,但这种的计算复杂且效率低。随着机器学习技术的发展,逐渐演变出了普适性更强的机器学习方法,从传统的提取语义的姿态方向等特征演变为根据特定场景进行参数化模型的迭代训练提取非语义特征进行状态识别。但是这种基于机器学习的状态识别依赖于特定任务的标注数据,任务和任务之间的迁移性差,若覆盖多任务场景则参数量过大造成过大的计算成本。The contact sensing technology is mostly based on the inertial navigation unit, because it adopts MEMS (called MicroElectromechanical System, Micro Electromechanical System) technology, which has the characteristics of low power consumption and low cost. Inertial navigation units usually integrate accelerometers, gyroscopes, and magnetometers, which can characterize the attitude and direction changes of the detected facilities, and are widely used to detect object states, such as home state detection, facility attitude detection, vehicle impact detection, fall detection, etc. . Its detection technology is mostly based on sensor data for attitude and direction calculations, and state recognition through changes in intensity or direction, but such calculations are complex and inefficient. With the development of machine learning technology, more universal machine learning methods have gradually evolved, from the traditional extraction of semantic features such as pose direction to the iterative training of parameterized models based on specific scenarios to extract non-semantic features for state identify. However, this kind of state recognition based on machine learning relies on the labeled data of specific tasks, and the transferability between tasks is poor. If it covers multi-task scenarios, the number of parameters is too large and the calculation cost is too large.

基于上述分析,现有通过非接触式传感技术检测设施状态的方式时常受限于场景特异性导致通用性低、成本高、不易部署,而接触式传感技术检测设施状态中,基于传感器数据进行姿态和方向的解算以进行状态识别方式计算复杂,基于机器学习的状态识别依赖于特定任务的标注数据,迁移性差进一步导致通用性低并且迁移过程中造成过大计算成本。因此,亟需一种通用性强且计算成本低的基础设施状态识别系统。Based on the above analysis, the existing methods of detecting the status of facilities through non-contact sensing technology are often limited by scene specificity, resulting in low versatility, high cost, and difficult deployment. Calculation of pose and direction for state recognition is computationally complex. Machine learning-based state recognition relies on task-specific labeled data. Poor transferability further leads to low versatility and excessive computational costs during the transfer process. Therefore, there is an urgent need for an infrastructure status recognition system with strong versatility and low computational cost.

发明内容Contents of the invention

因此,本发明的目的在于克服上述现有技术的缺陷,提供一种基于IMU数据的基础设施状态识别方法。Therefore, the object of the present invention is to overcome the above-mentioned defects in the prior art, and provide a method for identifying infrastructure status based on IMU data.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved by the following technical solutions:

根据本发明的第一方面,提供一种基于IMU数据的基础设施状态识别方法,所述方法包括:获取部署在基础设施上的惯性测量单元采集的IMU数据,利用特征提取器从所述IMU数据中提取该基础设施对应的特征向量;将提取的该基础设施对应的特征向量与为该基础设施预设的多种状态的基准特征向量进行相似度计算,得到相似度结果;根据相似度结果,确定基础设施当前所处的状态。According to a first aspect of the present invention, there is provided a method for identifying infrastructure status based on IMU data, the method comprising: acquiring IMU data collected by an inertial measurement unit deployed on the infrastructure, and using a feature extractor to extract Extract the eigenvector corresponding to the infrastructure; calculate the similarity between the extracted eigenvector corresponding to the infrastructure and the reference eigenvectors of various states preset for the infrastructure, and obtain the similarity result; according to the similarity result, Determine the current state of your infrastructure.

在本发明的一些实施例中,所述特征提取器通过以下训练方式得到:获取构建的神经网络分类模型,其包括特征提取器和分类器;获取第一训练集,第一训练集包括多个第一样本数据和每个第一样本数据对应的标签,第一样本数据为人体执行某一动作时被采集到的IMU人体动作数据,标签指示第一样本数据对应的人体动作类别;利用第一训练集训练所述神经网络分类模型根据第一样本数据识别人体动作类别,其中,训练特征提取器对第一训练集的第一样本数据进行特征提取,得到特征向量,训练分类器根据提取的特征向量输出人体动作类别,基于加性角裕度损失函数根据第一样本数据的标签和输出的人体动作类别确定第一损失,根据第一损失更新特征提取器和分类器的参数。In some embodiments of the present invention, the feature extractor is obtained through the following training methods: obtaining a constructed neural network classification model, which includes a feature extractor and a classifier; obtaining a first training set, the first training set includes a plurality of The first sample data and the label corresponding to each first sample data, the first sample data is the IMU human body motion data collected when the human body performs a certain action, and the label indicates the human body action category corresponding to the first sample data Utilize the first training set to train the neural network classification model to recognize the human action category according to the first sample data, wherein the training feature extractor performs feature extraction on the first sample data of the first training set to obtain a feature vector, and train The classifier outputs the human action category according to the extracted feature vector, determines the first loss based on the additive angle margin loss function based on the label of the first sample data and the output human action category, and updates the feature extractor and classifier according to the first loss parameters.

在本发明的一些实施例中,所述特征提取器包括第一分支网络、第二分支网络、级联层、Dropout层和全连接层,其中,第一分支网络包括多层卷积神经网络,第二分支网络包括门控循环神经网络,通过以下方式得到提取的特征向量:利用第一分支网络中的多层卷积神经网络对IMU数据进行卷积处理,提取得到第一特征;利用第二分支网络中的门控循环神经网络对IMU数据进行处理,提取得到第二特征;利用级联层将第一特征和第二特征进行级联,得到第一隐层特征向量;利用Dropout层对第一隐层特征向量进行随机失活处理,得到第二隐层特征向量;利用全连接层对第二隐层特征向量进行处理,得到提取的特征向量。In some embodiments of the present invention, the feature extractor includes a first branch network, a second branch network, a cascade layer, a Dropout layer and a fully connected layer, wherein the first branch network includes a multi-layer convolutional neural network, The second branch network includes a gated recurrent neural network, and the extracted feature vector is obtained by using the multi-layer convolutional neural network in the first branch network to perform convolution processing on the IMU data to extract the first feature; The gated recurrent neural network in the branch network processes the IMU data and extracts the second feature; uses the cascade layer to concatenate the first feature and the second feature to obtain the first hidden layer feature vector; uses the dropout layer to extract the second feature A feature vector of the first hidden layer is randomly deactivated to obtain a feature vector of the second hidden layer; a fully connected layer is used to process the feature vector of the second hidden layer to obtain an extracted feature vector.

在本发明的一些实施例中,所述特征提取器通过以下训练方式得到:获取构建的自编码器,其包括特征提取器和解码器,特征提取器和解码器均包括多层卷积神经网络;获取第二训练集,第二训练集包括多个第二样本数据,每个第二样本数据为按照预定时间间隔获取部署在基础设施的惯性测量单元采集的一段IMU数据;利用第二训练集训练特征提取器对第二样本数据进行特征编码,得到特征向量,通过解码器对特征向量进行解码,得到解码数据,基于均方误差损失函数根据第二样本数据和解码数据确定第二损失,并根据第二损失更新特征提取器和解码器的参数。In some embodiments of the present invention, the feature extractor is obtained through the following training methods: obtaining a built self-encoder, which includes a feature extractor and a decoder, and both the feature extractor and the decoder include a multi-layer convolutional neural network ; Obtain a second training set, the second training set includes a plurality of second sample data, each second sample data is to obtain a section of IMU data collected by an inertial measurement unit deployed in the infrastructure according to a predetermined time interval; use the second training set The training feature extractor performs feature encoding on the second sample data to obtain a feature vector, decodes the feature vector through a decoder to obtain decoded data, determines the second loss based on the mean square error loss function according to the second sample data and the decoded data, and The parameters of the feature extractor and decoder are updated according to the second loss.

在本发明的一些实施例中,所述特征提取器包括低通滤波器和统计特征模块,其中,通过以下方式得到提取的特征向量:利用低通滤波器对部署在基础设施上的惯性测量单元采集的IMU数据进行滤波,得到IMU信号特征;经过统计特征模块对部署在基础设施上的惯性测量单元采集的IMU数据进行统计处理,得到统计学特征,其中,统计学特征包括均值、方差、过零率、偏度、峰度和上四分位点;其中,特征提取器将IMU信号特征和统计学特征拼接,得到提取的特征向量。In some embodiments of the present invention, the feature extractor includes a low-pass filter and a statistical feature module, wherein the extracted feature vector is obtained by using a low-pass filter to analyze the inertial measurement unit deployed on the infrastructure The collected IMU data is filtered to obtain the IMU signal features; the statistical feature module is used to statistically process the IMU data collected by the inertial measurement unit deployed on the infrastructure to obtain statistical features. Zero rate, skewness, kurtosis, and upper quartile; among them, the feature extractor splices the IMU signal features and statistical features to obtain the extracted feature vector.

在本发明的一些实施例中,针对不同种类的基础设施分别设有与该种类的基础设施对应的预设的两种状态或两种状态以上的基准特征向量,每种基础设施为门、窗户、机械臂、抽屉、床、窗帘、水管、打印机、健身器材、通风口、马桶中的一种。In some embodiments of the present invention, for different types of infrastructure, there are respectively preset reference feature vectors corresponding to the type of infrastructure in two states or more than two states, each type of infrastructure is a door, a window , robotic arm, drawer, bed, curtain, water pipe, printer, exercise equipment, vent, toilet.

在本发明的一些实施例中,按照以下方式确定基础设施当前所处的状态:每次将提取的该基础设施对应的特征向量与为其预设的多种状态中一种状态的基准特征向量间的相似度结果与预设阈值进行比较,当该相似度结果大于预设阈值时,将该相似度结果对应预设的状态作为基础设施当前的状态;或者将提取的该基础设施对应的特征向量与为其预设的多种状态中每个状态的基准特征向量进行相似度计算,得到多个相似度结果,从多个相似度结果中选择相似度结果最高对应预设的状态作为基础设施当前的状态。In some embodiments of the present invention, the current state of the infrastructure is determined in the following manner: each time the extracted feature vector corresponding to the infrastructure is compared with the reference feature vector of one of the preset states Compare the similarity result between them with the preset threshold, and when the similarity result is greater than the preset threshold, the preset state corresponding to the similarity result is taken as the current state of the infrastructure; or the extracted feature corresponding to the infrastructure The similarity calculation is performed between the vector and the reference feature vector of each state in the various preset states for it, and multiple similarity results are obtained. From the multiple similarity results, the state with the highest similarity result corresponding to the preset state is selected as the infrastructure current status.

在本发明的一些实施例中,所述预设的多种状态中每种状态的基准特征向量包括对应状态的基准IMU信号特征和基准统计学特征,确定基础设施的状态的方式如下:采用动态时间规整相似度匹配算法计算滤波得到的IMU信号特征与预设的对应状态的基准IMU信号特征进行相似度计算,得到信号特征相似度结果;将获得的统计学特征与预设的对应状态的基准统计学特征进行相似度计算,得到统计特征相似度结果;信号特征相似度结果和统计特征相似度结果均大于预设阈值时,确定基础设施的状态为预设的对应状态。In some embodiments of the present invention, the reference feature vector of each state in the preset multiple states includes the reference IMU signal feature and the reference statistical feature of the corresponding state, and the method of determining the state of the infrastructure is as follows: using dynamic The time warping similarity matching algorithm calculates the similarity calculation between the IMU signal features obtained by filtering and the reference IMU signal features of the preset corresponding state, and obtains the signal feature similarity result; compares the obtained statistical features with the preset corresponding state benchmark Statistical features are used to perform similarity calculations to obtain statistical feature similarity results; when both the signal feature similarity results and statistical feature similarity results are greater than the preset threshold, the state of the infrastructure is determined to be the preset corresponding state.

根据本发明的第二方面,提供一种基于IMU数据的基础设施状态识别系统,所述系统部署在各个基础设施上,系统包括:传感器数据采集模块,用于获取部署在基础设施上的惯性测量单元采集的所述基础设施的IMU数据;微控制器模块,用于根据本发明第一方面中任一项所述方法基于所述基础设施的IMU数据确定所述基础设施当前所处的状态;通信模块,用于将微控制器模块确定的当前基础设施状态传输给用户,以进行状态监测。According to the second aspect of the present invention, there is provided an infrastructure state recognition system based on IMU data, the system is deployed on various infrastructures, and the system includes: a sensor data acquisition module for acquiring inertial measurements deployed on infrastructures The IMU data of the infrastructure collected by the unit; the microcontroller module, used to determine the current state of the infrastructure based on the IMU data of the infrastructure according to any one of the methods in the first aspect of the present invention; A communication module for transmitting the current infrastructure status determined by the microcontroller module to the user for status monitoring.

根据本发明的第三方面,提供一种基于IMU数据的基础设施状态识别系统,所述系统部署在智能网关、本地主机、雾计算服务平台或云计算服务平台,基础设施中设置有传感器数据采集模块和通信模块,传感器数据采集模块用于获取部署在基础设施上的惯性测量单元采集的IMU数据,通信模块用于将采集的所述基础设施IMU数据传输给系统,系统包括:微控制器模块,用于根据本发明第一方面中任一项所述方法基于所述基础设施IMU数据确定基础设施当前所处的状态;通信模块,用于将微控制器模块确定的当前基础设施状态传输给用户,以进行状态监测。According to a third aspect of the present invention, there is provided an infrastructure state recognition system based on IMU data, the system is deployed on an intelligent gateway, a local host, a fog computing service platform or a cloud computing service platform, and sensor data acquisition is arranged in the infrastructure module and communication module, the sensor data acquisition module is used to obtain the IMU data collected by the inertial measurement unit deployed on the infrastructure, and the communication module is used to transmit the collected infrastructure IMU data to the system, and the system includes: a microcontroller module , for determining the current state of the infrastructure based on the infrastructure IMU data according to any one of the methods in the first aspect of the present invention; the communication module is used for transmitting the current infrastructure state determined by the microcontroller module to users for condition monitoring.

根据本发明的第四方面,提供一种基于IMU数据的基础设施状态识别报警装置,包括:传感器数据采集模块,用于获取部署在基础设施上的惯性测量单元采集的IMU数据;微控制器模块,用于根据本发明第一方面中任一项所述方法基于所述基础设施的IMU数据确定基础设施当前所处的状态;预警模块,用于根据基础设施当前所处的状态判断基础设施的状态是否异常,并在状态异常时进行报警。According to a fourth aspect of the present invention, there is provided an infrastructure state identification and alarm device based on IMU data, comprising: a sensor data acquisition module for acquiring IMU data collected by an inertial measurement unit deployed on the infrastructure; a microcontroller module , for determining the current state of the infrastructure based on the IMU data of the infrastructure according to any one of the methods in the first aspect of the present invention; the early warning module is used for judging the state of the infrastructure according to the current state of the infrastructure Whether the state is abnormal, and an alarm will be issued when the state is abnormal.

根据本发明的第五方面,提供一种电子设备,包括:一个或多个处理器;以及存储器,其中存储器用于存储可执行指令;所述一个或多个处理器被配置为经由执行所述可执行指令以实现本发明第一方面中任一项所述方法的步骤。According to a fifth aspect of the present invention, there is provided an electronic device, comprising: one or more processors; and a memory, wherein the memory is used to store executable instructions; the one or more processors are configured to execute the The instructions are executable to implement the steps of any one of the methods described in the first aspect of the present invention.

与现有技术相比,本发明的优点在于:Compared with the prior art, the present invention has the advantages of:

本发明基础设施状态识别方法中,首先,惯性测量单元可快速部署在基础设施上且部署成本低,直接获取基础设施上的惯性测量单元采集的IMU数据,并提取IMU数据的特征向量,以在需要监测控制相应基础设施状态时进行快速识别其状态;其次,为基础设施预设有的多种状态所对应的基准特征向量,不受限于场景设施的特异性,灵活性高,将提取的基础设施的特征向量与为其预设的基准特征向量进行相似度计算,计算成本低;最后,根据相似度结果可直接确定提取的基础设施对应的特征向量与基准特征向量的相似程度,涉及到的参数少且高效快速地确定基础设施当前所处的状态,容易实现对基础设施的实时监控。本发明的状态识别方法可广泛应用在任意基础设施中并识别用户指定的任一基础设施状态,普适性高且成本小,如应用于各个家居家电以及工业生产机械设备中,以实现监测控制对应基础设施的状态。In the infrastructure state identification method of the present invention, firstly, the inertial measurement unit can be quickly deployed on the infrastructure and the deployment cost is low, and the IMU data collected by the inertial measurement unit on the infrastructure is directly obtained, and the feature vector of the IMU data is extracted to be used in the When it is necessary to monitor and control the state of the corresponding infrastructure, it can quickly identify its state; secondly, the reference feature vectors corresponding to the various states preset for the infrastructure are not limited by the specificity of the scene facilities and have high flexibility. The extracted The similarity calculation between the eigenvectors of the infrastructure and its preset reference eigenvectors is low in calculation cost; finally, according to the similarity results, the degree of similarity between the extracted eigenvectors corresponding to the infrastructure and the reference eigenvectors can be directly determined, involving There are few parameters and the current state of the infrastructure can be determined efficiently and quickly, and it is easy to realize real-time monitoring of the infrastructure. The state identification method of the present invention can be widely used in any infrastructure and identify any infrastructure state specified by the user, with high universality and low cost, such as being applied to various household appliances and industrial production machinery and equipment to realize monitoring and control Corresponds to the state of the infrastructure.

附图说明Description of drawings

以下参照附图对本发明实施例作进一步说明,其中:Embodiments of the present invention will be further described below with reference to the accompanying drawings, wherein:

图1为根据本发明一个实施例的一种基于IMU数据的基础设施状态识别方法流程图;Fig. 1 is a kind of flow chart of infrastructure state recognition method based on IMU data according to one embodiment of the present invention;

图2为根据本发明一个实施例的第一种特征提取器的结构示意图;Fig. 2 is a schematic structural diagram of a first feature extractor according to an embodiment of the present invention;

图3为根据本发明一个实施例的训练神经网络分类模型对输入的IMU人体动作数据进行特征提取和分类的过程示意图;Fig. 3 is the schematic diagram of the process of feature extraction and classification of the input IMU human body action data according to the training neural network classification model according to one embodiment of the present invention;

图4为根据本发明一个实施例的构建的包括有特征提取器和解码器的自编码器的结构示意图;Fig. 4 is a structural schematic diagram of an autoencoder comprising a feature extractor and a decoder constructed according to an embodiment of the present invention;

图5为根据本发明一个实施例的第三种特征提取器的结构原理示意图;5 is a schematic diagram of the structure and principle of a third feature extractor according to an embodiment of the present invention;

图6为根据本发明一个实施例的对齐的滤波得到的IMU信号特征序列和基准IMU信号特征序列的示意图;6 is a schematic diagram of an IMU signal characteristic sequence and a reference IMU signal characteristic sequence obtained by aligned filtering according to an embodiment of the present invention;

图7为根据本发明一个实施例的基础设施状态识别系统的部署方案示意图;FIG. 7 is a schematic diagram of a deployment scheme of an infrastructure state identification system according to an embodiment of the present invention;

图8为根据本发明另一个实施例的基础设施状态识别系统的部署方案示意图;FIG. 8 is a schematic diagram of a deployment scheme of an infrastructure state identification system according to another embodiment of the present invention;

图9为根据本发明另一个实施例的基础设施状态识别系统的部署方案示意图。Fig. 9 is a schematic diagram of a deployment scheme of an infrastructure state identification system according to another embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的,技术方案及优点更加清楚明白,以下结合附图通过具体实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

如在背景技术部分提到的,现有通过非接触式传感技术检测设施状态的方式的通用性低、成本高、不易部署,而接触式传感技术检测设施状态的方式计算复杂,执行困难。As mentioned in the background technology section, the existing method of detecting the state of facilities through non-contact sensing technology has low versatility, high cost, and is not easy to deploy, while the method of detecting the state of facilities using contact sensing technology is complex in calculation and difficult to implement .

为了解决上述问题,发明人通过客观分析现有通过非接触式传感技术检测设施状态的方式时常受限于场景特异性导致通用性低、成本高、不易部署的问题,采用接触式传感器技术,即在基础设施上部署惯性测量单元,通过惯性测量单元采集基础设施状态变化时对应的IMU(Inertial Measurement Unit)数据,以降低部署难度和成本,进一步的,现有接触式传感技术检测设施状态中,基于传感器数据进行姿态和方向的解算以进行状态识别方式计算复杂,基于机器学习的状态识别依赖于特定任务的标注数据,迁移性差进一步导致通用性低并且迁移过程中造成过大计算成本,因此,发明人预先针对该基础设施预设多种状态的基准特征向量,同时,利用特征提取器从基础设施中采集的IMU数据中提取该基础设施对应的特征向量,将提取的特征向量与对应基础设施预设的多种状态的基准特征向量进行相似度计算,以此来匹配确定基础设施当前的状态,极大提高计算效率,并降低计算成本。In order to solve the above problems, the inventor objectively analyzed the existing method of detecting the state of facilities through non-contact sensing technology, which is often limited by scene specificity, which leads to low versatility, high cost, and difficult deployment. Using contact sensor technology, That is, the inertial measurement unit is deployed on the infrastructure, and the IMU (Inertial Measurement Unit) data corresponding to the state change of the infrastructure is collected through the inertial measurement unit to reduce the difficulty and cost of deployment. Further, the existing contact sensing technology detects the state of the facility Among them, the calculation of attitude and direction based on sensor data for state recognition is complex, and state recognition based on machine learning depends on the labeled data of specific tasks. Poor transferability further leads to low versatility and excessive computing costs during the transfer process. , therefore, the inventor pre-sets the reference feature vectors of various states for the infrastructure, and at the same time, uses the feature extractor to extract the corresponding feature vector of the infrastructure from the IMU data collected in the infrastructure, and compares the extracted feature vector with The similarity calculation is performed on the reference eigenvectors corresponding to the preset multiple states of the infrastructure, so as to match and determine the current state of the infrastructure, which greatly improves the computational efficiency and reduces the computational cost.

基于上述分析,根据本发明的一个实施例,提出一种基于IMU数据的基础设施状态识别方法,参见图1,在步骤S1中,获取部署在基础设施上的惯性测量单元采集的IMU数据,利用特征提取器从所述IMU数据中提取该基础设施对应的特征向量,惯性测量单元可快速部署在基础设施上且部署成本低,直接获取基础设施上的惯性测量单元采集的IMU数据,并提取IMU数据的特征向量,以在需要监测控制相应基础设施状态时进行快速识别其状态;在步骤S2中,将提取的该基础设施对应的特征向量与为该基础设施预设的多种状态的基准特征向量进行相似度计算,得到相似度结果,本发明为对应基础设施预设有多种状态的基准特征向量,即不同基础设施可以预设该设施可能存在的状态所对应的基准特征向量,不受限于场景设施的特异性,灵活性高,将提取的基础设施的特征向量与为其预设的基准特征向量进行相似度计算,计算成本低;在步骤S3中,根据相似度结果,确定基础设施当前所处的状态,通过相似度结果可直接确定提取的基础设施对应的特征向量与基准特征向量的相似程度,涉及到的参数少且高效快速地确定基础设施状态,容易实现对基础设施的实时监控。本实施例的状态识别方法可广泛应用在任意基础设施中并识别用户指定的任一基础设施状态,普适性高且成本小,如应用于各个家居家电以及工业生产机械设备中,以实现监测控制对应基础设施的状态。Based on the above analysis, according to an embodiment of the present invention, a method for identifying infrastructure status based on IMU data is proposed. Referring to FIG. 1, in step S1, the IMU data collected by the inertial measurement unit deployed on the infrastructure is obtained, using The feature extractor extracts the feature vector corresponding to the infrastructure from the IMU data, the inertial measurement unit can be quickly deployed on the infrastructure with low deployment cost, directly obtains the IMU data collected by the inertial measurement unit on the infrastructure, and extracts the IMU The eigenvector of the data is used to quickly identify the state of the corresponding infrastructure when it is necessary to monitor and control the state; in step S2, the extracted eigenvector corresponding to the infrastructure is compared with the reference characteristics The similarity calculation is performed on the vectors to obtain similarity results. The present invention presets reference feature vectors of various states for corresponding infrastructures, that is, different infrastructures can preset reference feature vectors corresponding to the possible states of the facility, and is not affected by Limited to the specificity of the scene facilities, the flexibility is high, and the similarity calculation between the extracted feature vector of the infrastructure and the preset reference feature vector is performed, and the calculation cost is low; in step S3, according to the similarity result, determine the basis The current state of the facility, the degree of similarity between the extracted feature vector and the reference feature vector can be directly determined through the similarity results, involving few parameters and efficiently and quickly determining the state of the infrastructure, which is easy to implement. real time monitoring. The state identification method of this embodiment can be widely used in any infrastructure and identify any infrastructure state specified by the user, with high universality and low cost, such as being applied to various household appliances and industrial production machinery and equipment to realize monitoring Control the state of the corresponding infrastructure.

根据本发明的一个实施例,本发明的基础设施状态识别方法中,基础设施上通过附着、粘贴、嵌入等方式均安装部署有惯性测量单元,惯性测量单元又称为惯性导航单元,惯性测量单元通常集成了加速度计、陀螺仪、磁力计三种传感器,因此,惯性测量单元采集的IMU数据一般包含加速度计数据、陀螺仪数据和磁力计数据,根据不同类型的基础设施采集的对应基础设施的IMU数据中包括的数据种类不同,本发明中惯性测量单元采集的IMU数据可以包括加速度计数据、陀螺仪数据和磁力计数据这三种数据或者包括这三种数据中的任意一种数据或任意两种数据,如仅包含这三种数据中的加速度计数据,或者仅包含加速度计数据和陀螺仪数据,以适用于不同类型的基础设施。According to an embodiment of the present invention, in the infrastructure state identification method of the present invention, an inertial measurement unit is installed and deployed on the infrastructure by means of attachment, pasting, embedding, etc. The inertial measurement unit is also called an inertial navigation unit, and an inertial measurement unit Generally, three sensors of accelerometer, gyroscope, and magnetometer are integrated. Therefore, the IMU data collected by the inertial measurement unit generally includes accelerometer data, gyroscope data, and magnetometer data. The types of data included in the IMU data are different. The IMU data collected by the inertial measurement unit in the present invention may include the three kinds of data of accelerometer data, gyroscope data and magnetometer data or any one of these three kinds of data or any data. Two types of data, such as accelerometer data only, or only accelerometer data and gyroscope data, for different types of infrastructure.

根据本发明的一个实施例,提供一种基于IMU数据的基础设施状态识别方法,该方法在基础设施上部署好惯性测量单元且惯性测量单元采集其基础设施执行某一状态时的IMU数据后,基于惯性测量单元采集的该基础设施的IMU数据对基础设施的状态进行识别,识别方法包括如下步骤S1、S2和S3。为了更好地理解本发明,下面结合具体的实施例针对每一个步骤分别进行详细说明。According to one embodiment of the present invention, a method for identifying the state of infrastructure based on IMU data is provided. After the method deploys an inertial measurement unit on the infrastructure and the inertial measurement unit collects the IMU data when the infrastructure executes a certain state, The state of the infrastructure is identified based on the IMU data of the infrastructure collected by the inertial measurement unit, and the identification method includes the following steps S1, S2 and S3. In order to better understand the present invention, each step will be described in detail below in conjunction with specific embodiments.

在步骤S1中,获取部署在基础设施上的惯性测量单元采集的IMU数据,利用特征提取器从所述IMU数据中提取该基础设施对应的特征向量。In step S1, the IMU data collected by the inertial measurement unit deployed on the infrastructure is obtained, and a feature vector corresponding to the infrastructure is extracted from the IMU data by a feature extractor.

根据本发明的一个实施例,在获取了部署在基础设施上的惯性测量单元采集的IMU数据后,可以采用如下三个示例中的任一个特征提取器,用于实现从所述IMU数据中提取该基础设施对应的特征向量。下面分别对特征提取器的三个示例进行介绍说明:According to an embodiment of the present invention, after obtaining the IMU data collected by the inertial measurement unit deployed on the infrastructure, any one of the following three examples of feature extractors can be used to realize the extraction from the IMU data The eigenvector corresponding to this infrastructure. Three examples of feature extractors are described below:

示例一example one

参见图2,图2为第一种特征提取器的结构示意图,该特征提取器包括第一分支网络、第二分支网络、级联层、Dropout层(即随机丢弃层)和全连接层,其中,第一分支网络包括多层卷积神经网络,本发明中第一分支网络设置三层卷积神经网络,第二分支网络包括门控循环神经网络。第一种特征提取器从所述IMU数据中提取该基础设施对应的特征向量包括:利用第一分支网络中的多层卷积神经网络对IMU数据进行卷积处理,提取得到第一特征;利用第二分支网络中的门控循环神经网络对IMU数据进行处理,提取得到第二特征;利用级联层将第一特征和第二特征进行级联,得到第一隐层特征向量;利用Dropout层对第一隐层特征向量进行随机失活处理,得到第二隐层特征向量;利用全连接层对第二隐层特征向量进行处理,得到提取的特征向量。本发明特征提取器包括第一分支网络和第二分支网络,即其采用双流异构的结构,保证特征提取准确性,同时,在两个分支网络和级联层后采用Dropout层对第一隐层特征向量进行随机失活处理,保证特征提取器的泛化性。Referring to Fig. 2, Fig. 2 is the structural representation of the first kind of feature extractor, and this feature extractor comprises the first branch network, the second branch network, cascading layer, Dropout layer (i.e. randomly discarding layer) and fully connected layer, wherein , the first branch network includes a multi-layer convolutional neural network. In the present invention, the first branch network is provided with a three-layer convolutional neural network, and the second branch network includes a gated recurrent neural network. The first type of feature extractor extracting the feature vector corresponding to the infrastructure from the IMU data includes: using a multi-layer convolutional neural network in the first branch network to perform convolution processing on the IMU data to extract the first feature; using The gated cyclic neural network in the second branch network processes the IMU data and extracts the second feature; uses the cascade layer to concatenate the first feature and the second feature to obtain the first hidden layer feature vector; uses the Dropout layer The feature vector of the first hidden layer is randomly inactivated to obtain the feature vector of the second hidden layer; the feature vector of the second hidden layer is processed by the fully connected layer to obtain the extracted feature vector. The feature extractor of the present invention includes a first branch network and a second branch network, that is, it adopts a dual-stream heterogeneous structure to ensure the accuracy of feature extraction. Layer feature vectors are randomly deactivated to ensure the generalization of the feature extractor.

根据本发明的一个实施例,该特征提取器为经训练的特征提取器,所述经训练的特征提取器通过以下步骤a1、a2和a3的训练方式得到:According to an embodiment of the present invention, the feature extractor is a trained feature extractor, and the trained feature extractor is obtained through the training of the following steps a1, a2 and a3:

在步骤a1中,获取构建的神经网络分类模型,其包括特征提取器和分类器。其中,该神经网络分类模型中的特征提取器的结构即为图2中第一种特征提取器的结构。In step a1, the constructed neural network classification model is obtained, which includes a feature extractor and a classifier. Wherein, the structure of the feature extractor in the neural network classification model is the structure of the first feature extractor in FIG. 2 .

在步骤a2中,获取第一训练集,第一训练集包括多个第一样本数据和每个第一样本数据对应的标签,第一样本数据为人体执行某一动作时被采集到的IMU人体动作数据,标签指示第一样本数据对应的人体动作类别。In step a2, the first training set is obtained. The first training set includes a plurality of first sample data and labels corresponding to each first sample data. The first sample data is collected when the human body performs a certain action The IMU human body motion data, the label indicates the human body motion category corresponding to the first sample data.

由于基础设施在设计时面向特定的状态变化场景,且网络中基础设施的数据集稀少,同时,数据集的质量有限,本发明采用人体的原子动作数据集训练神经网络分类模型学习传感器在连续姿态变化过程中的表征。因此,根据本发明的一个实施例,构建的第一训练集采用UTD—MHAD数据集(人体动作识别的多模态数据集),该数据集包含了人体的27种不同的原子动作,数据集基本包含了惯性传感器(即加速度计、陀螺仪、磁力计三种传感器)在各方向上的姿态变化。本发明采用已有数据集,不需要大量的针对具体的基础设施以及其所处的状态场景采集数据,减少成本并且提高了效率;另外,人体动作数据本就比基础设施的状态变化复杂,这使得采用人体动作数据训练的神经网络分类模型拥有更好的泛化性,从该训练好的神经网络分类模型中获得的经训练的特征提取器,其可以更好地从IMU数据中提取特征向量,并基于提取的特征向量进行状态识别,极大地提高基础设施状态识别的准确性。Since the infrastructure is designed for specific state change scenarios, and the data sets of infrastructure in the network are scarce, and at the same time, the quality of the data sets is limited, the present invention uses the atomic action data sets of the human body to train the neural network classification model to learn the continuous posture of the sensor. Characterization of the process of change. Therefore, according to an embodiment of the present invention, the first training set constructed uses the UTD-MHAD data set (multimodal data set for human action recognition), which contains 27 different atomic actions of the human body. It basically includes the attitude changes of inertial sensors (ie accelerometers, gyroscopes, and magnetometers) in all directions. The present invention adopts the existing data set, and does not need a large amount of data collection for specific infrastructure and its state, which reduces costs and improves efficiency; in addition, human body movement data is inherently more complicated than the state changes of infrastructure. The neural network classification model trained with human action data has better generalization, and the trained feature extractor obtained from the trained neural network classification model can better extract feature vectors from IMU data , and perform state recognition based on the extracted feature vectors, which greatly improves the accuracy of infrastructure state recognition.

在步骤a3中,利用第一训练集训练所述神经网络分类模型根据第一样本数据识别人体动作类别,参见图3,图3为训练神经网络分类模型对输入的IMU人体动作数据进行特征提取和分类的过程示意图,其中,训练特征提取器对第一训练集的第一样本数据(即IMU人体动作数据)进行特征提取,得到特征向量,训练分类器根据提取的特征向量输出人体动作类别,基于加性角裕度损失函数根据第一样本数据的标签和输出的人体动作类别确定第一损失,根据第一损失更新特征提取器和分类器的参数。In step a3, use the first training set to train the neural network classification model to identify the human body action category according to the first sample data, see Figure 3, Figure 3 is to train the neural network classification model to perform feature extraction on the input IMU human action data and a schematic diagram of the classification process, wherein the training feature extractor performs feature extraction on the first sample data (i.e. IMU human action data) of the first training set to obtain a feature vector, and the training classifier outputs the human action category according to the extracted feature vector , based on the additive angular margin loss function, the first loss is determined according to the label of the first sample data and the output human action category, and the parameters of the feature extractor and the classifier are updated according to the first loss.

根据本发明的一个实施例,加性角裕度损失函数Additive Angular Margin Loss的计算公式如下:According to an embodiment of the present invention, the calculation formula of the additive angular margin loss function Additive Angular Margin Loss is as follows:

其中,lossArcface表示第一损失,N为参与训练的第一样本数据总量,s表示缩放因子,用于控制特征向量的长度,θyi为当前第一样本数据在FC(全连接层)输出的特征向量与yi对应在FC(全连接层)权重向量之间的夹角,yi表示第i个第一样本数据的标签,m为裕度,裕度用于扩大训练后的类间距离,以增加神经网络分类模型对于未见样本数据的泛化能力,n表示,θj表示类别j对应的数据在FC(全连接层)输出的特征向量与类别j对应在FC(全连接层)权重向量之间的夹角,j表示人体动作类别之外的类别。直至达到预设的迭代次数或该构建的神经网络分类模型收敛时,停止训练更新特征提取器和分类器的参数,得到经训练的特征提取器。Among them, loss Arcface represents the first loss, N is the total amount of the first sample data participating in the training, s represents the scaling factor, which is used to control the length of the feature vector, θ yi is the current first sample data in the FC (fully connected layer ) output feature vector and y i correspond to the angle between the FC (full connection layer) weight vector, y i represents the label of the i-th first sample data, m is the margin, and the margin is used to expand the training In order to increase the generalization ability of the neural network classification model for unseen sample data, n represents, θ j represents the feature vector output by the data corresponding to category j in FC (full connection layer) and category j corresponds to FC ( The angle between the weight vectors of the fully connected layer), and j represents the category other than the human action category. Until the preset number of iterations is reached or the constructed neural network classification model converges, the training is stopped and the parameters of the feature extractor and classifier are updated to obtain a trained feature extractor.

示例二Example two

参见图4,图4为构建的包括有特征提取器和解码器的自编码器的结构示意图,其特征提取器和解码器均包括多层卷积神经网络,本发明中特征提取器和解码器均设置有三层卷积神经网络。自编码器中的特征提取器经训练后,得到的经训练的第二种特征提取器,将得到的经训练的第二种特征提取器用于从所述IMU数据中提取该基础设施对应的特征向量。其中,对自编码器中的特征提取器进行训练时,将IMU数据输入特征提取器中进行特征编码,得到特征向量,解码器对特征向量进行解码,得到解码器还原的数据,并根据原始输入数据和解码数据利用均方误差损失函数计算第二损失并更新自编码器参数。其中,所述自编码器中特征提取器可通过以下步骤b1、b2和b3的训练方式得到:Referring to Fig. 4, Fig. 4 is the structure diagram that comprises the self-encoder of feature extractor and decoder of construction, and its feature extractor and decoder all comprise multi-layer convolutional neural network, feature extractor and decoder among the present invention Both are equipped with a three-layer convolutional neural network. After the feature extractor in the autoencoder is trained, the trained second feature extractor is used to extract the corresponding features of the infrastructure from the IMU data. vector. Among them, when training the feature extractor in the autoencoder, the IMU data is input into the feature extractor for feature encoding to obtain the feature vector, and the decoder decodes the feature vector to obtain the data restored by the decoder, and according to the original input The data and the decoded data use the mean square error loss function to calculate the second loss and update the autoencoder parameters. Wherein, the feature extractor in the self-encoder can be obtained through the training methods of the following steps b1, b2 and b3:

在步骤b1中,获取构建的自编码器,其包括特征提取器和解码器,特征提取器和解码器均包括多层卷积神经网络。In step b1, the constructed autoencoder is obtained, which includes a feature extractor and a decoder, both of which include a multi-layer convolutional neural network.

在步骤b2中,获取第二训练集,第二训练集包括多个第二样本数据,每个第二样本数据为按照预定时间间隔获取部署在基础设施的惯性测量单元采集的一段IMU数据。In step b2, a second training set is obtained, the second training set includes a plurality of second sample data, and each second sample data is a piece of IMU data collected by an inertial measurement unit deployed in the infrastructure at predetermined time intervals.

在步骤b3中,利用第二训练集训练特征提取器对第二样本数据进行特征编码,得到特征向量,通过解码器对特征向量进行解码,得到解码数据,基于均方误差损失函数根据第二样本数据和解码数据确定第二损失,并根据第二损失更新特征提取器和解码器的参数。In step b3, use the second training set to train the feature extractor to perform feature encoding on the second sample data to obtain the feature vector, and decode the feature vector through the decoder to obtain the decoded data, based on the mean square error loss function according to the second sample The data and the decoded data determine a second loss, and the parameters of the feature extractor and decoder are updated according to the second loss.

根据本发明的一个实施例,均方误差损失函数Mean Squared Error Loss的计算公式如下:According to an embodiment of the present invention, the calculation formula of the mean square error loss function Mean Squared Error Loss is as follows:

其中,lossMSE表示第二损失,N为参与训练的第二样本数据总量,yi为输入的第i个IMU数据片段,为解码器还原输出的解码数据。直至达到预设的迭代次数或该构建的自编码器收敛时,停止训练更新特征提取器和解码器的参数,得到经训练的第二种特征提取器。Among them, loss MSE represents the second loss, N is the total amount of the second sample data participating in the training, y i is the i-th IMU data segment input, Restores the output decoded data for the decoder. Until the preset number of iterations is reached or the constructed self-encoder converges, the training is stopped to update the parameters of the feature extractor and the decoder to obtain the trained second feature extractor.

示例三Example three

参见图5,图5为第三种特征提取器的结构原理示意图,所述特征提取器包括低通滤波器和统计特征模块,其中,通过以下方式得到提取的特征向量:利用低通滤波器对部署在基础设施上的惯性测量单元采集的IMU数据进行滤波,得到IMU信号特征;经过统计特征模块对部署在基础设施上的惯性测量单元采集的IMU数据进行统计处理,得到统计学特征,统计学特征包括均值、方差、过零率、偏度、峰度和上四分位点;其中,特征提取器将IMU信号特征和统计学特征拼接,得到提取的特征向量。本发明中的第三中特征提取器通过将对原始IMU数据进行滤波得到的IMU信号特征以及对原始IMU数据进行特征统计得到的统计学特征拼接,得到特征向量中包括体现原始IMU数据的多方面数据特征,确保基础设施状态识别的正确性。Referring to Fig. 5, Fig. 5 is a schematic diagram of the structural principle of the third feature extractor, the feature extractor includes a low-pass filter and a statistical feature module, wherein the extracted feature vector is obtained by using the low-pass filter to The IMU data collected by the inertial measurement unit deployed on the infrastructure is filtered to obtain the IMU signal characteristics; the statistical feature module is used to statistically process the IMU data collected by the inertial measurement unit deployed on the infrastructure to obtain statistical features. Features include mean, variance, zero-crossing rate, skewness, kurtosis, and upper quartile; among them, the feature extractor splices IMU signal features and statistical features to obtain the extracted feature vector. The third feature extractor in the present invention splices the IMU signal features obtained by filtering the original IMU data and the statistical features obtained by performing feature statistics on the original IMU data, and obtains feature vectors that include various aspects of the original IMU data Data characteristics to ensure the correctness of infrastructure status identification.

在步骤S2中,将提取的该基础设施对应的特征向量与为该基础设施预设的多种状态的基准特征向量进行相似度计算,得到相似度结果。In step S2, the similarity calculation is performed between the extracted feature vector corresponding to the infrastructure and the reference feature vectors of various states preset for the infrastructure to obtain a similarity result.

根据本发明的一个实施例,针对不同种类的基础设施分别设有与该种类的基础设施对应的预设的两种状态或两种状态以上的基准特征向量,每种基础设施为门、窗户、机械臂、抽屉、床、窗帘、水管、打印机、健身器材、通风口、马桶中的一种。示意性的,以上各个基础设施中的门、窗户、机械臂、抽屉、床、窗帘、水管、打印机、健身器材、通风口、马桶对应预设的状态均包括有打开和关闭状态,如门的状态为开门和关门状态,机械臂的状态为其电源开启和关闭状态,窗帘的状态为展开和收缩状态。每种基础设施对应的各个状态可根据用户需求进行预设,即用户自行为该基础设施配置相应状态的基准特征向量。应当理解,根据不同实施者的需要,一些基础设施的预设的状态是可自定义调整的,而并非必然按照前述示意性的实施例给出的预设的状态。例如,机械臂对应预设的状态包括有升高、降低、左移、右移、前移、后移、转动状态;床对应预设的状态包括有左移、右移、床支架升高、床支架降低状态;打印机对应预设的状态包括有打印、扫描状态;马桶对应预设的状态包括有冲水、开盖、关盖状态。According to an embodiment of the present invention, for different types of infrastructure, there are respectively preset reference feature vectors corresponding to the type of infrastructure in two states or more than two states, and each type of infrastructure is a door, a window, One of robotic arms, drawers, beds, curtains, plumbing, printers, gym equipment, vents, toilets. Schematically, the preset states of doors, windows, mechanical arms, drawers, beds, curtains, water pipes, printers, fitness equipment, vents, and toilets in the above infrastructures include open and closed states, such as the The state is the door open and closed state, the state of the robotic arm is its power on and off state, and the state of the curtain is the unfolded and contracted state. Each state corresponding to each type of infrastructure can be preset according to user needs, that is, the user configures the reference feature vector of the corresponding state for the infrastructure. It should be understood that, according to the needs of different implementers, some preset states of the infrastructure can be customized and adjusted, rather than necessarily following the preset states given in the foregoing exemplary embodiments. For example, the corresponding preset state of the mechanical arm includes raising, lowering, moving left, right, moving forward, moving backward, and rotating; the corresponding preset state of the bed includes moving left, moving right, raising the bed support, The lowered state of the bed support; the corresponding preset state of the printer includes the printing and scanning states; the corresponding preset state of the toilet includes the flushing, lid opening, and lid closing states.

根据本发明的一个实施例,基础设施的同一状态的执行动作可能有速度和完成程度的偏差,不同状态的执行动作之间也存在偏差,因此不论用户想要监测几个状态或者监测同一状态的不同执行动作都可以录入多个基准特征向量。在需要检测同一状态的不同完成程度、不同完成速度等的时候需要录入多个基准特征向量,且该多个基站特征向量均代表同一状态。例如,机械臂对应预设的状态包括有升高、降低状态,而完成升高和降低时,其速度可以快也可以慢,因此,可以为该基础设施的升高状态预设不同速度下的基准特征向量,每种速度下的基准特征向量均指示机械臂处于升高状态,进一步提高基础设施状态识别方法的通用性和准确性。According to an embodiment of the present invention, execution actions in the same state of infrastructure may have deviations in speed and degree of completion, and there may also be deviations between execution actions in different states. Therefore, whether the user wants to monitor several states or monitor the same state Multiple reference feature vectors can be entered for different execution actions. When it is necessary to detect different completion degrees and different completion speeds of the same state, it is necessary to input multiple reference feature vectors, and the multiple base station feature vectors all represent the same state. For example, the corresponding preset state of the robotic arm includes raising and lowering states, and when the raising and lowering are completed, its speed can be fast or slow. Therefore, different speeds can be preset for the raised state of the infrastructure. A reference eigenvector, the reference eigenvector at each speed indicates that the manipulator is in a raised state, further improving the versatility and accuracy of the infrastructure state identification method.

根据本发明的一个实施例,将提取的该基础设施对应的特征向量与为该基础设施预设的多种状态的基准特征向量进行相似度计算的方式包括:方式一,将提取的该基础设施对应的特征向量与为该基础设施预设的多种状态中的一种状态的基准特征向量进行相似度计算,得到一个相似度结果,根据该相似度结果确定该提取的特征向量与该状态的基准特征向量是否相似,若相似,则确定该基础设施当前状态为与其特征向量相似的基准特征向量对应的状态,此时停止将该提取的特征向量与多种状态中其他状态的基准特征向量进行相似度计算,若不相似,则继续将该提取的特征向量与多种状态中其他状态的基准特征向量进行相似度计算,直到匹配到与该基础设施对应的特征向量相似的基准特征向量,以确定基础设施的状态。此方式采用将提取的该基础设施对应的特征向量与预设的多种状态的基准特征向量进行逐一计算比对,在两个特征向量相似时,停止计算比对,一定程度上减少计算量,提高识别效率。方式二,将提取的该基础设施对应的特征向量与为该基础设施预设的多种状态中的每种状态的基准特征向量进行相似度计算,得到多个相似度结果,每个相似度结果表示提取的该基础设施对应的特征向量与为该基础设施预设的每种状态的基准特征向量的相似程度,从得到的多个相似度结果中选择一个与提取的特征向量的相似度最高对应的基准特征向量,以确定基础设施的状态。此方式将提取特征向量与预设的全部状态的基准特征向量进行计算比对,选择相似度最大对应的基准特征向量,提高对基础设施状态识别精度。应当理解,以上两种方式仅为示意,用户可根据实际需求选择。According to an embodiment of the present invention, the method of calculating the similarity between the extracted feature vector corresponding to the infrastructure and the reference feature vectors of various states preset for the infrastructure includes: Method 1, the extracted infrastructure Calculate the similarity between the corresponding eigenvector and the reference eigenvector of one of the various states preset for the infrastructure, and obtain a similarity result. According to the similarity result, determine the extracted eigenvector and the state’s Whether the reference eigenvectors are similar, if they are similar, determine that the current state of the infrastructure is the state corresponding to the reference eigenvectors similar to its eigenvectors, and stop comparing the extracted eigenvectors with the reference eigenvectors of other states in various states Similarity calculation, if not similar, continue to calculate the similarity between the extracted feature vector and the reference feature vectors of other states in various states, until the reference feature vector similar to the feature vector corresponding to the infrastructure is matched, to Determine the status of your infrastructure. This method calculates and compares the extracted eigenvectors corresponding to the infrastructure with the preset reference eigenvectors of various states one by one. When the two eigenvectors are similar, the calculation and comparison are stopped to reduce the amount of calculation to a certain extent. Improve recognition efficiency. Method 2: Calculate the similarity between the extracted eigenvector corresponding to the infrastructure and the reference eigenvector of each of the various states preset for the infrastructure to obtain multiple similarity results, each similarity result Indicates the degree of similarity between the extracted eigenvectors corresponding to the infrastructure and the reference eigenvectors preset for each state of the infrastructure, and select the one corresponding to the highest similarity of the extracted eigenvectors from the obtained multiple similarity results A benchmark eigenvector to determine the state of the infrastructure. This method calculates and compares the extracted eigenvectors with the preset reference eigenvectors of all states, selects the reference eigenvector corresponding to the maximum similarity, and improves the recognition accuracy of the infrastructure state. It should be understood that the above two methods are only for illustration, and the user can choose according to actual needs.

根据本发明的一个实施例,相似度计算采用计算方式包括但不限于计算提取的该基础设施的特征向量与为该基础设施预设的对应状态的基准特征向量间的余弦距离、欧氏距离、曼哈顿距离、皮尔逊相关系数或斯皮尔曼相关系数等,根据计算的余弦距离、欧氏距离、曼哈顿距离、皮尔逊相关系数或斯皮尔曼相关系数得到表示两个特征向量相似程度的相似度结果;相似度计算还包括使用例如动态时间规整相似度匹配算法等方式直接对传感器数据进行相似度匹配计算,如上述示例三给出的第三种特征提取器从采集的IMU数据中提取该基础设施对应的特征向量,提取的特征向量包括IMU信号特征和统计学特征,则对应为该基础设施预设的多种状态中每种状态的基准特征向量包括对应状态的基准IMU信号特征和基准统计学特征,使用动态时间规整相似度匹配算法对示例三中提取的IMU信号特征与基准IMU信号特征进行相似度计算,采用余弦相似度算法对示例三中提取的统计学特征与基准统计学特征进行相似度计算。在用户对检测动作要求精准程度较低时,两个相似度结果中的任一个达到了用户设置的阈值条件时,即可以确定当前的基础设施状态。According to an embodiment of the present invention, the similarity calculation adopts calculation methods including but not limited to calculating the cosine distance, the Euclidean distance, the cosine distance, the Euclidean distance, Manhattan distance, Pearson correlation coefficient or Spearman correlation coefficient, etc. According to the calculated cosine distance, Euclidean distance, Manhattan distance, Pearson correlation coefficient or Spearman correlation coefficient, the similarity result indicating the similarity of two feature vectors is obtained ; Similarity calculation also includes using methods such as dynamic time warping similarity matching algorithm to directly perform similarity matching calculation on sensor data, such as the third feature extractor given in the above example 3 to extract the infrastructure from the collected IMU data The corresponding feature vector, the extracted feature vector includes IMU signal features and statistical features, then the reference feature vector corresponding to each state in the various states preset for the infrastructure includes the reference IMU signal features and reference statistics of the corresponding state Features, use the dynamic time warping similarity matching algorithm to calculate the similarity between the IMU signal features extracted in Example 3 and the reference IMU signal features, and use the cosine similarity algorithm to perform similarity between the statistical features extracted in Example 3 and the reference statistical features degree calculation. When the user requires a low degree of accuracy for the detection action, when either of the two similarity results reaches the threshold condition set by the user, the current infrastructure status can be determined.

在步骤S3中,根据相似度结果,确定基础设施当前所处的状态。In step S3, the current state of the infrastructure is determined according to the similarity result.

根据本发明的一个实施例,基于步骤S2中进行相似度计算的方式一确定基础设施当前所处的状态的方式为:每次将提取的该基础设施对应的特征向量与为其预设的多种状态中一种状态的基准特征向量间的相似度结果与预设阈值进行比较,当该相似度结果大于预设阈值时,将该相似度结果对应预设的状态作为基础设施当前的状态。其中,当相似度结果大于预设阈值时,将提取的特征向量与对应状态的基准特征向量视为相似,反之两个特性向量不相似,例如为基础设施预设的状态一共包括状态一、状态二和状态三,将提取的该基础设施对应的特征向量与预设的多种状态的基准特征向量进行逐一计算比对,即将提取的特征向量与状态一的基准特征向量进行余弦相似度计算,得到相似度结果为0.8,而预设阈值设置为0.95,则提取的特征向量与状态一的基准特征向量不相似,继续将提取的特征向量与状态二的基准特征向量进行相似度计算,得到相似度结果为0.96,0.96大于该预设阈值0.95,则说明提取的特征向量与状态二的基准特征向量相似,停止与状态三对应的基准特征向量进行计算比较,并将状态二作为基础设施当前的状态。其中,预设阈值来源于经验化的对基础设施当前状态场景最好识别效果的设置,实际使用中用户可以设置阈值以匹配不同的识别精度,比如异常检测时要求的精度较高就需要设置较高的阈值以要求实际基础设施状态和预期状态高度匹配,灵活性高。According to an embodiment of the present invention, based on the method of similarity calculation in step S2, the method of determining the current state of the infrastructure is: each time the extracted feature vector corresponding to the infrastructure is compared with the preset multiple The similarity result between the reference feature vectors of one of the states is compared with the preset threshold, and when the similarity result is greater than the preset threshold, the preset state corresponding to the similarity result is taken as the current state of the infrastructure. Among them, when the similarity result is greater than the preset threshold, the extracted feature vector is considered similar to the reference feature vector of the corresponding state, otherwise the two feature vectors are not similar. For example, the preset state for the infrastructure includes state 1, state For state two and state three, calculate and compare the extracted eigenvector corresponding to the infrastructure with the preset reference eigenvectors of multiple states one by one, that is, to perform cosine similarity calculation between the extracted eigenvector and the reference eigenvector of state 1, The obtained similarity result is 0.8, and the preset threshold is set to 0.95, then the extracted feature vector is not similar to the reference feature vector of state 1, continue to calculate the similarity between the extracted feature vector and the reference feature vector of state 2, and obtain similarity If the degree result is 0.96, if 0.96 is greater than the preset threshold value of 0.95, it means that the extracted feature vector is similar to the reference feature vector of state 2, stop calculating and comparing with the reference feature vector corresponding to state 3, and use state 2 as the current infrastructure state. Among them, the preset threshold comes from the empirical setting of the best recognition effect for the current state of the infrastructure. In actual use, the user can set the threshold to match different recognition accuracy. A high threshold requires a high degree of matching between the actual infrastructure state and the expected state, and high flexibility.

根据本发明的一个实施例,基于步骤S2中进行相似度计算的方式二确定基础设施当前所处的状态的方式为:将提取的该基础设施对应的特征向量与为其预设的多种状态中每个状态的基准特征向量进行相似度计算,得到多个相似度结果,从多个相似度结果中选择相似度结果最高对应预设的状态作为基础设施当前的状态。以上述示例一给出的第一种特征提取器得到的特征向量为例,将第一种特征提取器得到的基础设施对应的特征向量与为该基础设施预设的多种状态中每种状态的基准特征向量进行余弦相似度计算,预设的状态一共包括6种,将提取的该基础设施对应的特征向量与为其预设的6种状态中每个状态的基准特征向量计算相似度,则得到6个相似度结果,分别为0.5、0.6、0.4、0.97、0.91、0.8,选择最高相似度结果0.97对应的基准特征向量,确定该基础设施的当前状态为该基准特征向量指示的状态。应当理解,本发明对确定基础设施当前所处的状态的方式并不限定,用户可根据需求自行选择相应方式确定基础设施当前所处的状态。According to an embodiment of the present invention, the way to determine the current state of the infrastructure based on the second method of similarity calculation in step S2 is: compare the extracted feature vector corresponding to the infrastructure with various preset states The similarity calculation is performed on the reference feature vector of each state in , and multiple similarity results are obtained. From the multiple similarity results, the state with the highest similarity result corresponding to the preset is selected as the current state of the infrastructure. Taking the feature vector obtained by the first type of feature extractor given in Example 1 above as an example, the feature vector corresponding to the infrastructure obtained by the first type of feature extractor is compared with each of the various states preset for the infrastructure The cosine similarity calculation is performed on the reference eigenvectors of the infrastructure. The preset states include a total of 6 types, and the extracted eigenvectors corresponding to the infrastructure are calculated with the reference eigenvectors of each of the 6 preset states. Then get 6 similarity results, respectively 0.5, 0.6, 0.4, 0.97, 0.91, 0.8, select the benchmark eigenvector corresponding to the highest similarity result 0.97, and determine the current state of the infrastructure as the state indicated by the benchmark eigenvector. It should be understood that the present invention does not limit the method of determining the current state of the infrastructure, and the user can choose a corresponding method to determine the current state of the infrastructure according to requirements.

根据本发明的一个实施例,以上述示例三给出的第三种特征提取器得到的特征向量为例来说明动态时间规整相似度匹配算法得到的相似度结果,以及基于该相似度结果确定基础设施的状态的方式包括如下步骤c1、c2和c3:According to an embodiment of the present invention, the feature vector obtained by the third feature extractor given in the above example three is taken as an example to illustrate the similarity result obtained by the dynamic time warping similarity matching algorithm, and determine the basis based on the similarity result The way of the state of the facility comprises the following steps c1, c2 and c3:

在步骤c1中,采用动态时间规整相似度匹配算法计算滤波得到的IMU信号特征与预设的对应状态的基准IMU信号特征进行相似度计算,得到信号特征相似度结果。In step c1, the similarity calculation is performed between the IMU signal features obtained by calculating and filtering by using the dynamic time warping similarity matching algorithm and the reference IMU signal features of the preset corresponding state, to obtain a signal feature similarity result.

示意性的,参见图6,图6为对齐的滤波得到的IMU信号特征序列和基准IMU信号特征序列的示意图,对于用户录入的目标动作产生的传感器序列A,和某一时间采集的传感器序列B,当采用动态时间规整进行相似度计算时,假设IMU信号特征序列Q和基准IMU信号特征序列C的长度分别是n和m,Q=q1,…,qi,…,qn,q1是序列Q的第1个点,qi是序列Q的第i个点,qn是序列Q的第n个点,C=c1,…,cj,…,cm,c1是序列C的第1个点,cj是序列C的第j个点,cm是序列C的第m个点,构造一个n*m的矩阵来对齐这两个序列,例如每一个矩阵元素(i,j)表示对齐的点qi和cj,d(qi,cj)表示矩阵元素(i,j)对应的qi和cj两个点的距离,也就是序列Q的每一个点和序列C的每一个点之间的相似度,一般采用欧式距离计算,d(qi,cj)=(qi-cj)2,距离越小则相似度结果越高,距离越大表示相似度结果越低。基于计算的矩阵中每个元素对应的欧式距离,采用动态规划思路在矩阵中寻找一条连续单调的最短累积距离路径,路径之和就是两个特征序列的动态时间规整距离,该动态时间规整距离即表示最终计算得到的信号特征相似度结果。Schematically, see Figure 6, Figure 6 is a schematic diagram of the IMU signal feature sequence and the reference IMU signal feature sequence obtained by aligned filtering, the sensor sequence A generated for the target action entered by the user, and the sensor sequence B collected at a certain time , when dynamic time warping is used for similarity calculation, it is assumed that the lengths of the IMU signal feature sequence Q and the reference IMU signal feature sequence C are n and m respectively, Q=q 1 ,…,q i ,…,q n ,q 1 is the first point of sequence Q, q i is the ith point of sequence Q, q n is the nth point of sequence Q, C=c 1 ,...,c j ,...,c m , c 1 is the sequence The first point of C, c j is the jth point of sequence C, c m is the mth point of sequence C, construct an n*m matrix to align the two sequences, for example, each matrix element (i ,j) indicates the aligned points q i and c j , d(q i ,c j ) indicates the distance between the two points q i and c j corresponding to the matrix element (i,j), that is, each point of the sequence Q The similarity between each point and sequence C is generally calculated by Euclidean distance, d(q i ,c j )=(q i -c j ) 2 , the smaller the distance, the higher the similarity result, and the larger the distance Indicates the lower the similarity result. Based on the Euclidean distance corresponding to each element in the calculated matrix, the dynamic programming idea is used to find a continuous monotonous shortest cumulative distance path in the matrix. The sum of the paths is the dynamic time warping distance of the two feature sequences. The dynamic time warping distance is Indicates the final calculated signal feature similarity result.

在步骤c2中,将获得的统计学特征与预设的对应状态的基准统计学特征进行相似度计算,得到统计特征相似度结果。采用余弦相似度计算获得的统计学特征与预设的对应状态的基准统计学特征间的余弦距离,余弦距离越大则统计特征相似度结果越高,余弦距离越小表示统计特征相似度结果越低。In step c2, the similarity calculation is performed between the obtained statistical features and the preset benchmark statistical features of the corresponding state to obtain a statistical feature similarity result. The cosine distance between the statistical features obtained by cosine similarity calculation and the preset benchmark statistical features of the corresponding state, the larger the cosine distance, the higher the statistical feature similarity result, and the smaller the cosine distance, the better the statistical feature similarity result Low.

在步骤c3中,信号特征相似度结果和统计特征相似度结果均大于预设阈值时,确定基础设施的状态为预设的对应状态。设置为当信号特征相似度结果和统计特征相似度结果均达到了用户设置的阈值条件时,才确定当前的基础设施状态,提高状态识别精准。In step c3, when both the signal feature similarity result and the statistical feature similarity result are greater than a preset threshold, it is determined that the state of the infrastructure is a preset corresponding state. It is set to determine the current infrastructure state only when the signal feature similarity results and statistical feature similarity results reach the threshold conditions set by the user, so as to improve the accuracy of state identification.

根据本发明的一个实施例,提供一种基于IMU数据的基础设施状态识别系统,所述系统部署在各个基础设施上,系统包括:传感器数据采集模块,用于获取部署在基础设施上的惯性测量单元采集的所述基础设施的IMU数据;微控制器模块,用于根据上述实施例的所述基础设施状态识别方法基于所述基础设施的IMU数据确定所述基础设施当前所处的状态;通信模块,用于将微控制器模块确定的当前基础设施状态传输给用户,以进行状态监测。According to one embodiment of the present invention, an infrastructure state recognition system based on IMU data is provided, the system is deployed on various infrastructures, and the system includes: a sensor data acquisition module for acquiring inertial measurements deployed on infrastructures The IMU data of the infrastructure collected by the unit; the microcontroller module, used to determine the current state of the infrastructure based on the IMU data of the infrastructure according to the infrastructure state identification method of the above-mentioned embodiment; communication Module for transmitting the current infrastructure status determined by the microcontroller module to the user for condition monitoring.

示意性的,参见图7,图7为一种基础设施状态识别系统的部署方案示意图,采用的嵌入式芯片为一款具有蓝牙通信功能的微控制器Nrf52833。嵌入式芯片包括三个模块:传感器数据采集模块、微控制器模块、通信模块。将算法(即上述实施例中的基础设施状态识别方法)部署边缘端,即部署在嵌入式芯片中,嵌入式芯片封装成一定的产品形态后通过粘贴或其他固定方式固定在基础设施上,例如门、窗、工业生产机械臂等。由用户根据其需要监测的状态为对应基础设施配置多种状态的基准特征向量后,在对基础设施的状态进行监测时,传感器数据采集模块获取基础设施上的惯性测量单元采集的IMU数据,微控制器模块对IMU数据进行特征提取和相似度计算,以确定基础设施当前状态,通信模块传输基础设施当前状态,通信模块还传输双向控制指令。双向控制指令主要包括远程调用和配置指令,远程调用和配置指令用于实现服务器(如云服务)对嵌入式芯片中功能的调用。嵌入式芯片也可以进行服务器(如云服务)中数据操作的远程调用,以及通过云服务对基础设施的异常进行用户提醒,对边缘端感知到的基础设施的危险状态进行报警等。其中,使用了模型参数量化技术完成模型(模型即本发明中的特征提取器)的部署,即采用一定的策略将模型的参数由浮点值转化为定点值从而降低模型的参数空间,例如模型量化测量采用最大最小值量化方法min-max,是一种模型训练之后实施的离线量化方法,将模型的浮点参数范围逐层映射到-128-128的8bit定点参数范围,从而将上述模型压缩至100KB大小左右,部署在Nrf52833嵌入式芯片的微控制器模块上。Schematically, refer to FIG. 7, which is a schematic diagram of a deployment scheme of an infrastructure state recognition system, and the embedded chip used is a microcontroller Nrf52833 with a Bluetooth communication function. The embedded chip includes three modules: sensor data acquisition module, microcontroller module, communication module. Deploy the algorithm (that is, the infrastructure state identification method in the above-mentioned embodiment) at the edge end, that is, deploy it in the embedded chip, and the embedded chip is packaged into a certain product form and fixed on the infrastructure by pasting or other fixed methods, such as Doors, windows, industrial production robotic arms, etc. After the user configures the reference eigenvectors of various states for the corresponding infrastructure according to the state he needs to monitor, when monitoring the state of the infrastructure, the sensor data acquisition module obtains the IMU data collected by the inertial measurement unit on the infrastructure, micro The controller module performs feature extraction and similarity calculation on the IMU data to determine the current state of the infrastructure, the communication module transmits the current state of the infrastructure, and the communication module also transmits bidirectional control commands. The two-way control instructions mainly include remote call and configuration instructions, which are used to implement the server (such as cloud service) to call the functions in the embedded chip. Embedded chips can also perform remote calls for data operations in servers (such as cloud services), remind users of infrastructure anomalies through cloud services, and issue alarms for dangerous states of infrastructure perceived by the edge. Among them, the model parameter quantization technology is used to complete the deployment of the model (the model is the feature extractor in the present invention), that is, a certain strategy is adopted to convert the parameters of the model from floating-point values to fixed-point values so as to reduce the parameter space of the model, such as the model The quantization measurement adopts the maximum and minimum value quantization method min-max, which is an offline quantization method implemented after model training, and maps the floating-point parameter range of the model to the 8-bit fixed-point parameter range of -128-128 layer by layer, thereby compressing the above model To about 100KB in size, it is deployed on the microcontroller module of the Nrf52833 embedded chip.

根据本发明的另一个实施例,提供一种基于IMU数据的基础设施状态识别系统,所述系统部署在智能网关、本地主机、雾计算服务平台或云计算服务平台,基础设施中设置有传感器数据采集模块和通信模块,传感器数据采集模块用于获取部署在基础设施上的惯性测量单元采集的IMU数据,通信模块用于将采集的所述基础设施IMU数据传输给系统,系统包括:微控制器模块,用于根据上述实施例的所述基础设施状态识别方法基于所述基础设施IMU数据确定基础设施当前所处的状态;通信模块,用于将微控制器模块确定的当前基础设施状态传输给用户,以进行状态监测。According to another embodiment of the present invention, there is provided an infrastructure state recognition system based on IMU data, the system is deployed on an intelligent gateway, a local host, a fog computing service platform or a cloud computing service platform, and sensor data is provided in the infrastructure The acquisition module and the communication module, the sensor data acquisition module is used to obtain the IMU data collected by the inertial measurement unit deployed on the infrastructure, the communication module is used to transmit the collected infrastructure IMU data to the system, and the system includes: a microcontroller A module for determining the current state of the infrastructure based on the infrastructure IMU data according to the infrastructure state identification method of the above-mentioned embodiment; a communication module for transmitting the current infrastructure state determined by the microcontroller module to users for condition monitoring.

示意性的,参见图8,图8为另一种基础设施状态识别系统的部署方案示意图,该系统中将算法(即上述实施例中的基础设施状态识别方法)部署在雾端服务器(为区域服务器或区域服务器节点的集群)或云端服务器(云服务)中的微控制器模块内。该示例在部署有惯性测量单元的基础设施上安装嵌入式芯片,安装该嵌入式芯片时,将其封装成一定的产品形态后通过粘贴或其他固定方式固定在基础设施上,例如门、窗、工业生产机械臂等,嵌入式芯片包括传感器数据采集模块、通信模块两个模块,由用户根据其需要监测的状态为对应基础设施配置多种状态的基准特征向量后,由惯性测量单元进行IMU数据采集,在对基础设施的状态进行监测时,传感器数据采集模块实时获取IMU数据并传输至雾端服务器或云端服务器,由对应服务器中微控制器模块进行特征提取和相似度计算后得到基础设施状态,并通过服务器中通信模块将确定的当前基础设施状态传输给用户,以进行状态监测。Schematically, refer to FIG. 8, which is a schematic diagram of another deployment scheme of an infrastructure state recognition system, in which the algorithm (that is, the infrastructure state recognition method in the above-mentioned embodiment) is deployed on the fog end server (for the area server or a cluster of regional server nodes) or within a microcontroller module in a cloud server (cloud service). In this example, an embedded chip is installed on the infrastructure where the inertial measurement unit is deployed. For industrial production of manipulators, etc., the embedded chip includes two modules: a sensor data acquisition module and a communication module. After the user configures reference feature vectors of various states for the corresponding infrastructure according to the state it needs to monitor, the IMU data is processed by the inertial measurement unit. Acquisition, when monitoring the status of the infrastructure, the sensor data acquisition module acquires IMU data in real time and transmits it to the fog end server or cloud server, and the microcontroller module in the corresponding server performs feature extraction and similarity calculation to obtain the infrastructure status , and transmit the determined current infrastructure status to the user through the communication module in the server for status monitoring.

示意性的,参见图9,图9为另一种基础设施状态识别系统的部署方案示意图,将算法(即上述实施例中的基础设施状态识别方法)部署在网关中微控制器模块,通过边缘端的嵌入式芯片获取惯性测量单元采集的IMU数据并上传到网关,网关进行本地的实时基础设施状态识别。该示例部署的边缘端嵌入式芯片包括两个模块:传感器数据采集模块、通信模块。嵌入式开发板封装成一定的产品形态后通过粘贴或其他固定方式固定在基础设施上,例如门、窗、工业生产机械臂等。由惯性测量单元进行IMU数据采集,在对基础设施的状态进行监测时,传感器数据采集模块实时获取IMU数据并传输至网关,由对应网关中微控制器模块进行特征提取和相似度计算后得到基础设施状态,上传云服务器或反馈给嵌入式芯片,并通过云服务器将确定的当前基础设施状态传输给用户,以进行状态监测。Schematically, refer to FIG. 9, which is a schematic diagram of another deployment scheme of an infrastructure state identification system. The algorithm (that is, the infrastructure state identification method in the above-mentioned embodiment) is deployed in the microcontroller module in the gateway, and through the edge The embedded chip at the end obtains the IMU data collected by the inertial measurement unit and uploads it to the gateway, and the gateway performs local real-time infrastructure status identification. The edge embedded chip deployed in this example includes two modules: sensor data acquisition module and communication module. The embedded development board is packaged into a certain product form and fixed on the infrastructure by pasting or other fixing methods, such as doors, windows, industrial production robotic arms, etc. The IMU data is collected by the inertial measurement unit. When monitoring the status of the infrastructure, the sensor data acquisition module acquires the IMU data in real time and transmits it to the gateway. The microcontroller module in the corresponding gateway performs feature extraction and similarity calculation to obtain the basis The status of the facility is uploaded to the cloud server or fed back to the embedded chip, and the determined current infrastructure status is transmitted to the user through the cloud server for status monitoring.

根据本发明的一个实施例,提供一种基于IMU数据的基础设施状态识别报警装置,包括:传感器数据采集模块,用于获取部署在基础设施上的惯性测量单元采集的IMU数据;微控制器模块,用于根据上述实施例的所述基础设施状态识别方法基于所述基础设施的IMU数据确定基础设施当前所处的状态;预警模块,用于根据基础设施当前所处的状态判断基础设施的状态是否异常,并在状态异常时进行报警。According to one embodiment of the present invention, there is provided an infrastructure state identification and alarm device based on IMU data, including: a sensor data acquisition module for acquiring IMU data collected by an inertial measurement unit deployed on the infrastructure; a microcontroller module , used to determine the current state of the infrastructure based on the IMU data of the infrastructure according to the infrastructure state identification method of the above-mentioned embodiment; the early warning module is used to judge the state of the infrastructure according to the current state of the infrastructure Whether it is abnormal, and an alarm will be issued when the state is abnormal.

需要说明的是,虽然上文按照特定顺序描述了各个步骤,但是并不意味着必须按照上述特定顺序来执行各个步骤,实际上,这些步骤中的一些可以并发执行,甚至改变顺序,只要能够实现所需要的功能即可。It should be noted that although the steps are described above in a specific order, it does not mean that the steps must be performed in the above specific order. In fact, some of these steps can be performed concurrently, or even change the order, as long as it can be realized The required functions are sufficient.

本发明可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。The present invention can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present invention.

计算机可读存储介质可以是保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以包括但不限于电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。A computer readable storage medium may be a tangible device that holds and stores instructions for use by an instruction execution device. A computer readable storage medium may include, for example, but is not limited to, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above.

以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present invention, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or technical improvement in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.

Claims (13)

1.一种基于IMU数据的基础设施状态识别方法,其特征在于,所述方法包括:1. A method for identifying infrastructure state based on IMU data, characterized in that the method comprises: 获取部署在基础设施上的惯性测量单元采集的IMU数据,利用特征提取器从所述IMU数据中提取该基础设施对应的特征向量;Obtain the IMU data collected by the inertial measurement unit deployed on the infrastructure, and use the feature extractor to extract the feature vector corresponding to the infrastructure from the IMU data; 将提取的该基础设施对应的特征向量与为该基础设施预设的多种状态的基准特征向量进行相似度计算,得到相似度结果;Calculate the similarity between the extracted eigenvectors corresponding to the infrastructure and the reference eigenvectors of various states preset for the infrastructure to obtain similarity results; 根据相似度结果,确定基础设施当前所处的状态。Based on the similarity results, determine the current state of the infrastructure. 2.根据权利要求1所述的方法,其特征在于,所述特征提取器通过以下训练方式得到:2. method according to claim 1, is characterized in that, described feature extractor obtains by following training method: 获取构建的神经网络分类模型,其包括特征提取器和分类器;Obtain the constructed neural network classification model, which includes feature extractors and classifiers; 获取第一训练集,第一训练集包括多个第一样本数据和每个第一样本数据对应的标签,第一样本数据为人体执行某一动作时被采集到的IMU人体动作数据,标签指示第一样本数据对应的人体动作类别;Obtain the first training set, the first training set includes a plurality of first sample data and the label corresponding to each first sample data, the first sample data is the IMU human body action data collected when the human body performs a certain action , the label indicates the human action category corresponding to the first sample data; 利用第一训练集训练所述神经网络分类模型根据第一样本数据识别人体动作类别,其中,训练特征提取器对第一训练集的第一样本数据进行特征提取,得到特征向量,训练分类器根据提取的特征向量输出人体动作类别,基于加性角裕度损失函数根据第一样本数据的标签和输出的人体动作类别确定第一损失,根据第一损失更新特征提取器和分类器的参数。Utilize the first training set to train the neural network classification model to identify the human action category according to the first sample data, wherein the training feature extractor performs feature extraction on the first sample data of the first training set to obtain a feature vector, and train the classification The human body action category is output by the device according to the extracted feature vector, the first loss is determined based on the label of the first sample data and the output human action category based on the additive angular margin loss function, and the feature extractor and the classifier are updated according to the first loss parameter. 3.根据权利要求2所述的方法,其特征在于,所述特征提取器包括第一分支网络、第二分支网络、级联层、Dropout层和全连接层,其中,第一分支网络包括多层卷积神经网络,第二分支网络包括门控循环神经网络,通过以下方式得到提取的特征向量:3. The method according to claim 2, wherein the feature extractor comprises a first branch network, a second branch network, a cascade layer, a Dropout layer and a fully connected layer, wherein the first branch network comprises multiple layer convolutional neural network, the second branch network includes a gated recurrent neural network, and the extracted feature vector is obtained by: 利用第一分支网络中的多层卷积神经网络对IMU数据进行卷积处理,提取得到第一特征;Using the multi-layer convolutional neural network in the first branch network to perform convolution processing on the IMU data, and extract the first feature; 利用第二分支网络中的门控循环神经网络对IMU数据进行处理,提取得到第二特征;The IMU data is processed by the gated recurrent neural network in the second branch network, and the second feature is extracted; 利用级联层将第一特征和第二特征进行级联,得到第一隐层特征向量;Concatenating the first feature and the second feature by using a cascade layer to obtain a feature vector of the first hidden layer; 利用Dropout层对第一隐层特征向量进行随机失活处理,得到第二隐层特征向量;Using the Dropout layer to perform random inactivation processing on the feature vector of the first hidden layer to obtain the feature vector of the second hidden layer; 利用全连接层对第二隐层特征向量进行处理,得到提取的特征向量。The feature vector of the second hidden layer is processed by the fully connected layer to obtain the extracted feature vector. 4.根据权利要求1所述的方法,其特征在于,所述特征提取器通过以下训练方式得到:4. method according to claim 1, is characterized in that, described feature extractor obtains by following training method: 获取构建的自编码器,其包括特征提取器和解码器,特征提取器和解码器均包括多层卷积神经网络;Obtain the built autoencoder, which includes a feature extractor and a decoder, both of which include a multi-layer convolutional neural network; 获取第二训练集,第二训练集包括多个第二样本数据,每个第二样本数据为按照预定时间间隔获取部署在基础设施的惯性测量单元采集的一段IMU数据;Obtain a second training set, the second training set includes a plurality of second sample data, and each second sample data is a section of IMU data collected by an inertial measurement unit deployed in the infrastructure according to a predetermined time interval; 利用第二训练集训练特征提取器对第二样本数据进行特征编码,得到特征向量,通过解码器对特征向量进行解码,得到解码数据,基于均方误差损失函数根据第二样本数据和解码数据确定第二损失,并根据第二损失更新特征提取器和解码器的参数。Use the second training set to train the feature extractor to perform feature encoding on the second sample data to obtain the feature vector, decode the feature vector through the decoder to obtain the decoded data, and determine based on the mean square error loss function based on the second sample data and the decoded data second loss, and update the parameters of the feature extractor and decoder according to the second loss. 5.根据权利要求1所述的方法,其特征在于,所述特征提取器包括低通滤波器和统计特征模块,其中,通过以下方式得到提取的特征向量:5. method according to claim 1, it is characterized in that, described feature extractor comprises low-pass filter and statistical feature module, wherein, obtain the feature vector of extraction in the following way: 利用低通滤波器对部署在基础设施上的惯性测量单元采集的IMU数据进行滤波,得到IMU信号特征;Use a low-pass filter to filter the IMU data collected by the inertial measurement unit deployed on the infrastructure to obtain the IMU signal characteristics; 经过统计特征模块对部署在基础设施上的惯性测量单元采集的IMU数据进行统计处理,得到统计学特征,其中,统计学特征包括均值、方差、过零率、偏度、峰度和上四分位点;The IMU data collected by the inertial measurement unit deployed on the infrastructure is statistically processed by the statistical feature module to obtain statistical features, where the statistical features include mean, variance, zero-crossing rate, skewness, kurtosis, and upper quartile site; 其中,特征提取器将IMU信号特征和统计学特征拼接,得到提取的特征向量。Among them, the feature extractor splices the IMU signal features and statistical features to obtain the extracted feature vector. 6.根据权利要求1所述的方法,其特征在于,针对不同种类的基础设施分别设有与该种类的基础设施对应的预设的两种状态或两种状态以上的基准特征向量,每种基础设施为门、窗户、机械臂、抽屉、床、窗帘、水管、打印机、健身器材、通风口、马桶中的一种。6. The method according to claim 1, characterized in that, for different types of infrastructure, there are respectively preset reference feature vectors corresponding to the type of infrastructure in two states or more than two states, each Infrastructure is one of doors, windows, robotic arms, drawers, beds, curtains, plumbing, printers, gym equipment, vents, toilets. 7.根据权利要求1所述的方法,其特征在于,按照以下方式确定基础设施当前所处的状态:7. The method according to claim 1, wherein the current state of the infrastructure is determined in the following manner: 每次将提取的该基础设施对应的特征向量与为其预设的多种状态中一种状态的基准特征向量间的相似度结果与预设阈值进行比较,当该相似度结果大于预设阈值时,将该相似度结果对应预设的状态作为基础设施当前的状态;或者Each time the similarity result between the extracted feature vector corresponding to the infrastructure and the reference feature vector of one of the preset states is compared with the preset threshold, when the similarity result is greater than the preset threshold , the similarity result corresponds to the preset state as the current state of the infrastructure; or 将提取的该基础设施对应的特征向量与为其预设的多种状态中每个状态的基准特征向量进行相似度计算,得到多个相似度结果,从多个相似度结果中选择相似度结果最高对应预设的状态作为基础设施当前的状态。Calculate the similarity between the extracted eigenvector corresponding to the infrastructure and the reference eigenvector of each state in the preset multiple states to obtain multiple similarity results, and select the similarity result from the multiple similarity results The highest corresponds to the preset state as the current state of the infrastructure. 8.根据权利要求5所述的方法,其特征在于,所述预设的多种状态中每种状态的基准特征向量包括对应状态的基准IMU信号特征和基准统计学特征,确定基础设施的状态的方式如下:8. The method according to claim 5, wherein the reference feature vector of each state in the preset multiple states includes a reference IMU signal feature and a reference statistical feature of the corresponding state, to determine the state of the infrastructure The way is as follows: 采用动态时间规整相似度匹配算法计算滤波得到的IMU信号特征与预设的对应状态的基准IMU信号特征进行相似度计算,得到信号特征相似度结果;Using the dynamic time warping similarity matching algorithm to calculate and filter the IMU signal features and the preset reference IMU signal features of the corresponding state to perform similarity calculations to obtain the signal feature similarity results; 将获得的统计学特征与预设的对应状态的基准统计学特征进行相似度计算,得到统计特征相似度结果;Calculate the similarity between the obtained statistical features and the preset benchmark statistical features of the corresponding state, and obtain the statistical feature similarity results; 信号特征相似度结果和统计特征相似度结果均大于预设阈值时,确定基础设施的状态为预设的对应状态。When both the signal feature similarity result and the statistical feature similarity result are greater than a preset threshold, it is determined that the state of the infrastructure is a preset corresponding state. 9.一种基于IMU数据的基础设施状态识别系统,所述系统部署在各个基础设施上,其特征在于,系统包括:9. An infrastructure state recognition system based on IMU data, said system is deployed on each infrastructure, it is characterized in that the system includes: 传感器数据采集模块,用于获取部署在基础设施上的惯性测量单元采集的所述基础设施的IMU数据;The sensor data collection module is used to obtain the IMU data of the infrastructure collected by the inertial measurement unit deployed on the infrastructure; 微控制器模块,用于根据权利要求1-8任一项所述方法基于所述基础设施的IMU数据确定所述基础设施当前所处的状态;A microcontroller module, configured to determine the current state of the infrastructure based on the IMU data of the infrastructure according to the method according to any one of claims 1-8; 通信模块,用于将微控制器模块确定的当前基础设施状态传输给用户,以进行状态监测。A communication module for transmitting the current infrastructure status determined by the microcontroller module to the user for status monitoring. 10.一种基于IMU数据的基础设施状态识别系统,其特征在于,所述系统部署在智能网关、本地主机、雾计算服务平台或云计算服务平台,基础设施中设置有传感器数据采集模块和通信模块,传感器数据采集模块用于获取部署在基础设施上的惯性测量单元采集的IMU数据,通信模块用于将采集的所述基础设施IMU数据传输给系统,系统包括:10. An infrastructure state recognition system based on IMU data, characterized in that the system is deployed on an intelligent gateway, a local host, a fog computing service platform or a cloud computing service platform, and the infrastructure is provided with a sensor data acquisition module and a communication module, the sensor data acquisition module is used to obtain the IMU data collected by the inertial measurement unit deployed on the infrastructure, and the communication module is used to transmit the collected infrastructure IMU data to the system, and the system includes: 微控制器模块,用于根据权利要求1-8任一项所述方法基于所述基础设施IMU数据确定基础设施当前所处的状态;A microcontroller module, configured to determine the current state of the infrastructure based on the infrastructure IMU data according to the method according to any one of claims 1-8; 通信模块,用于将微控制器模块确定的当前基础设施状态传输给用户,以进行状态监测。A communication module for transmitting the current infrastructure status determined by the microcontroller module to the user for status monitoring. 11.一种基于IMU数据的基础设施状态识别报警装置,其特征在于,包括:11. An infrastructure state identification alarm device based on IMU data, characterized in that, comprising: 传感器数据采集模块,用于获取部署在基础设施上的惯性测量单元采集的IMU数据;The sensor data acquisition module is used to acquire the IMU data collected by the inertial measurement unit deployed on the infrastructure; 微控制器模块,用于根据权利要求1-8任一项所述方法基于所述基础设施的IMU数据确定基础设施当前所处的状态;A microcontroller module, configured to determine the current state of the infrastructure based on the IMU data of the infrastructure according to the method according to any one of claims 1-8; 预警模块,用于根据基础设施当前所处的状态判断基础设施的状态是否异常,并在状态异常时进行报警。The early warning module is used to judge whether the state of the infrastructure is abnormal according to the current state of the infrastructure, and to give an alarm when the state is abnormal. 12.一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序可被处理器执行以实现权利要求1至8中任一项所述方法的步骤。12. A computer-readable storage medium, wherein a computer program is stored thereon, and the computer program can be executed by a processor to implement the steps of the method according to any one of claims 1-8. 13.一种电子设备,其特征在于,包括:13. An electronic device, characterized in that it comprises: 一个或多个处理器;以及one or more processors; and 存储器,其中存储器用于存储可执行指令;memory, where the memory is used to store executable instructions; 所述一个或多个处理器被配置为经由执行所述可执行指令以实现权利要求1至8中任一项所述方法的步骤。The one or more processors are configured to implement the steps of the method of any one of claims 1 to 8 by executing the executable instructions.
CN202310559427.4A 2023-05-17 2023-05-17 An Infrastructure Status Identification Method Based on IMU Data Active CN116701954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310559427.4A CN116701954B (en) 2023-05-17 2023-05-17 An Infrastructure Status Identification Method Based on IMU Data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310559427.4A CN116701954B (en) 2023-05-17 2023-05-17 An Infrastructure Status Identification Method Based on IMU Data

Publications (2)

Publication Number Publication Date
CN116701954A true CN116701954A (en) 2023-09-05
CN116701954B CN116701954B (en) 2025-11-25

Family

ID=87840085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310559427.4A Active CN116701954B (en) 2023-05-17 2023-05-17 An Infrastructure Status Identification Method Based on IMU Data

Country Status (1)

Country Link
CN (1) CN116701954B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117838510A (en) * 2024-03-08 2024-04-09 深圳市艾利特医疗科技有限公司 External counterpulsation device and external counterpulsation signal control method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190113973A1 (en) * 2012-09-14 2019-04-18 Interaxon Inc Systems and methods for collecting, analyzing, and sharing bio-signal and non-bio-signal data
US20200335104A1 (en) * 2018-06-07 2020-10-22 Tencent Technology (Shenzhen) Company Limited Method and apparatus for determining a dialog state, dialog system, computer device, and storage medium
CN112215250A (en) * 2019-07-12 2021-01-12 杭州海康威视数字技术股份有限公司 Method and device for improving data characteristic comparison efficiency
CN112770256A (en) * 2021-01-06 2021-05-07 重庆邮电大学 Node track prediction method in unmanned aerial vehicle self-organizing network
CN112947180A (en) * 2021-02-04 2021-06-11 中国地质大学(武汉) Heavy machinery operation state identification and prediction method, device, equipment and storage medium
WO2021121127A1 (en) * 2020-07-28 2021-06-24 平安科技(深圳)有限公司 Sample type identification method, apparatus, computer device, and storage medium
CN113177455A (en) * 2021-04-23 2021-07-27 中国科学院计算技术研究所 Method and system for identifying exercise intensity
US20210333124A1 (en) * 2020-04-28 2021-10-28 Naver Labs Corporation Method and system for detecting changes in road-layout information
CN113581961A (en) * 2021-08-10 2021-11-02 江苏省特种设备安全监督检验研究院 Automatic fault identification method for elevator hall door
CN114041780A (en) * 2021-12-08 2022-02-15 中国科学院计算技术研究所 Method for monitoring respiration based on data acquired by inertial sensor
US11281553B1 (en) * 2021-04-16 2022-03-22 Vignet Incorporated Digital systems for enrolling participants in health research and decentralized clinical trials
CN114818864A (en) * 2022-03-28 2022-07-29 深圳大学 Gesture recognition method based on small samples

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190113973A1 (en) * 2012-09-14 2019-04-18 Interaxon Inc Systems and methods for collecting, analyzing, and sharing bio-signal and non-bio-signal data
US20200335104A1 (en) * 2018-06-07 2020-10-22 Tencent Technology (Shenzhen) Company Limited Method and apparatus for determining a dialog state, dialog system, computer device, and storage medium
CN112215250A (en) * 2019-07-12 2021-01-12 杭州海康威视数字技术股份有限公司 Method and device for improving data characteristic comparison efficiency
US20210333124A1 (en) * 2020-04-28 2021-10-28 Naver Labs Corporation Method and system for detecting changes in road-layout information
WO2021121127A1 (en) * 2020-07-28 2021-06-24 平安科技(深圳)有限公司 Sample type identification method, apparatus, computer device, and storage medium
CN112770256A (en) * 2021-01-06 2021-05-07 重庆邮电大学 Node track prediction method in unmanned aerial vehicle self-organizing network
CN112947180A (en) * 2021-02-04 2021-06-11 中国地质大学(武汉) Heavy machinery operation state identification and prediction method, device, equipment and storage medium
US11281553B1 (en) * 2021-04-16 2022-03-22 Vignet Incorporated Digital systems for enrolling participants in health research and decentralized clinical trials
CN113177455A (en) * 2021-04-23 2021-07-27 中国科学院计算技术研究所 Method and system for identifying exercise intensity
CN113581961A (en) * 2021-08-10 2021-11-02 江苏省特种设备安全监督检验研究院 Automatic fault identification method for elevator hall door
CN114041780A (en) * 2021-12-08 2022-02-15 中国科学院计算技术研究所 Method for monitoring respiration based on data acquired by inertial sensor
CN114818864A (en) * 2022-03-28 2022-07-29 深圳大学 Gesture recognition method based on small samples

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田新广: "采用shell命令和隐Markov模型进行网络用户行为异常检测", 应用科学学报, no. 02, 15 March 2008 (2008-03-15), pages 175 - 181 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117838510A (en) * 2024-03-08 2024-04-09 深圳市艾利特医疗科技有限公司 External counterpulsation device and external counterpulsation signal control method

Also Published As

Publication number Publication date
CN116701954B (en) 2025-11-25

Similar Documents

Publication Publication Date Title
Deep et al. A survey on anomalous behavior detection for elderly care using dense-sensing networks
Li et al. Fall detection for elderly person care using convolutional neural networks
CN112106121B (en) Electronic device and control method thereof
CN113609976B (en) A direction-sensitive multi-gesture recognition system and method based on WiFi devices
CN105224104B (en) Pedestrian movement's state identification method based on smart mobile phone grip mode
US20180249435A1 (en) User terminal device and method for recognizing user's location using sensor-based behavior recognition
CN105787434A (en) Method for identifying human body motion patterns based on inertia sensor
CN109076310A (en) Autonomous Semantic Labeling of Physical Locations
Mannini et al. Accelerometry‐based classification of human activities using markov modeling
US12246452B2 (en) Systems, robots, and methods for selecting classifiers based on context
CN114254758A (en) Domain adaptation
Mokhtari et al. Fall detection in smart home environments using UWB sensors and unsupervised change detection
Sideridis et al. Gesturekeeper: Gesture recognition for controlling devices in iot environments
Pan et al. Cognitive acoustic analytics service for Internet of Things
CN116701954A (en) A Method of Infrastructure Status Identification Based on IMU Data
Aarthi et al. A comprehensive study on human activity recognition
CN108537105B (en) Dangerous behavior identification method in home environment
US11544505B1 (en) Semi-supervised learning based on clustering objects in video from a property
US11550276B1 (en) Activity classification based on multi-sensor input
Martinelli et al. Daily movement recognition for dead reckoning applications
CN108256540A (en) A kind of information processing method and system
KR20130115749A (en) Intrusion detection system using mining based pattern analysis in smart home
KR101836742B1 (en) Apparatus and method of deciding gesture
WO2020086520A1 (en) Artificial intelligence based motion detection
WO2024013099A1 (en) System and methods for automatic alignment between audio recordings and labels extracted from a multitude of asynchronous sensors in urban settings

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant