WO2020233606A1 - Ultrasonic abnormality detection method and device, and electronic apparatus - Google Patents

Ultrasonic abnormality detection method and device, and electronic apparatus Download PDF

Info

Publication number
WO2020233606A1
WO2020233606A1 PCT/CN2020/091344 CN2020091344W WO2020233606A1 WO 2020233606 A1 WO2020233606 A1 WO 2020233606A1 CN 2020091344 W CN2020091344 W CN 2020091344W WO 2020233606 A1 WO2020233606 A1 WO 2020233606A1
Authority
WO
WIPO (PCT)
Prior art keywords
ultrasound
ultrasonic
data
detection result
height data
Prior art date
Application number
PCT/CN2020/091344
Other languages
French (fr)
Chinese (zh)
Inventor
张添保
李颖杰
Original Assignee
深圳市道通智能航空技术有限公司
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 深圳市道通智能航空技术有限公司 filed Critical 深圳市道通智能航空技术有限公司
Publication of WO2020233606A1 publication Critical patent/WO2020233606A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C5/00Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels
    • G01C5/005Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels altimeters for aircraft
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B29/00Checking or monitoring of signalling or alarm systems; Prevention or correction of operating errors, e.g. preventing unauthorised operation
    • G08B29/18Prevention or correction of operating errors
    • G08B29/185Signal analysis techniques for reducing or preventing false alarms or for enhancing the reliability of the system

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)

Abstract

The invention relates to the technical field of ultrasonic testing, and particularly relates to an ultrasonic abnormality detection method and device and an electronic apparatus. The ultrasonic abnormality detection method comprises: obtaining ultrasonic data and combined height data of an unmanned aerial vehicle (30) (101); obtaining an ultrasonic data update test result on the basis of the ultrasonic data (102); obtaining an ultrasonic reliability test result on the basis of the ultrasonic data and the combined height data (103); and performing ultrasonic abnormality detection on the basis of the ultrasonic data update test result and the ultrasonic reliability test result (104). The ultrasonic abnormality detection technique improves ultrasonic abnormality detection methods, reduces the probability of abnormal events such as the unmanned aerial vehicle breaking apart, being unable to descend, or crashing when landing, improves the reliability and stability of the unmanned aerial vehicle (30) when measuring height above ground via ultrasound, and improves the performance of the unmanned aerial vehicle (30) and user experience.

Description

一种超声异常检测方法、装置及电子设备Ultrasonic abnormality detection method, device and electronic equipment
本申请要求于2019年5月21日提交中国专利局、申请号为201910422871.5、申请名称为“一种超声异常检测方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 21, 2019, the application number is 201910422871.5, and the application name is "An ultrasonic abnormality detection method, device and electronic equipment", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及超声检测技术领域,尤其涉及一种超声异常检测方法、装置及电子设备。This application relates to the technical field of ultrasonic detection, and in particular to an ultrasonic abnormality detection method, device and electronic equipment.
背景技术Background technique
对于无人机而言,对地高度是影响无人机是否能正常飞行的一个关键因素,如果对地高度不准确,会影响无人机的起飞性能、降落性能等。目前一般采用超声来实现无人机的对地高度的测量。当超声出现异常情况,比如超声检测设备损坏,超声数据出现延迟等,此时,这些超声异常情况会导致无人机出现高空炸机、高空拉不下来、降落时不减速猛烈砸地等现象,从而严重影响了无人机的性能和用户体验。因此,对无人机进行超声异常检测具有重要意义。For UAVs, the ground height is a key factor that affects whether the UAV can fly normally. If the ground height is not accurate, it will affect the UAV's take-off performance and landing performance. Currently, ultrasound is generally used to measure the height of the UAV to the ground. When there are abnormalities in the ultrasound, such as the damage of the ultrasound testing equipment, the delay of the ultrasound data, etc., at this time, these abnormal ultrasound conditions will cause the drone to explode at high altitude, cannot be pulled down at high altitude, and does not slow down and slam the ground when landing. This seriously affects the performance and user experience of the drone. Therefore, it is of great significance to perform ultrasonic abnormality detection on UAVs.
发明内容Summary of the invention
本发明提供一种超声异常检测方法、装置及电子设备,以解决无人机超声检测对地高度时存在可靠性和稳定性低的技术问题。The invention provides an ultrasonic abnormality detection method, device and electronic equipment to solve the technical problem of low reliability and stability when the UAV ultrasonic detects the ground height.
本发明实施例的一个方面,提供一种超声异常检测方法,应用于无人机,所述方法包括:In one aspect of the embodiments of the present invention, an ultrasonic abnormality detection method is provided, which is applied to a drone, and the method includes:
获取所述无人机的超声数据和融合高度数据;Acquiring ultrasound data and fusion height data of the drone;
根据所述超声数据获取超声更新检测结果;Obtaining an ultrasound update detection result according to the ultrasound data;
根据所述超声数据和所述融合高度数据获取超声可信度检测结果;Obtaining an ultrasound credibility test result according to the ultrasound data and the fusion height data;
根据所述超声更新检测结果和所述超声可信度检测结果进行超声异常检测。Perform ultrasound abnormality detection according to the ultrasound update detection result and the ultrasound reliability detection result.
可选地,所述根据所述超声数据获取超声更新检测结果,包括:Optionally, the obtaining the ultrasound update detection result according to the ultrasound data includes:
根据所述超声数据,进行时间戳更新检测、超声值变化检测以及超声值异常检测,以获取时间戳更新检测结果、超声值变化检测结果以及超声值异常检测结果;Performing time stamp update detection, ultrasound value change detection, and ultrasound value abnormality detection according to the ultrasound data to obtain the time stamp update detection result, the ultrasound value change detection result, and the ultrasound value abnormality detection result;
将所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果进行逻辑运算,以获取所述超声更新检测结果。Perform logical operations on the time stamp update detection result, the ultrasound value change detection result, and the ultrasound value abnormality detection result to obtain the ultrasound update detection result.
可选地,所述根据所述超声数据和所述融合高度数据获取超声可信度检测结果,包括:Optionally, the obtaining an ultrasound credibility detection result based on the ultrasound data and the fusion height data includes:
根据所述超声数据获取超声高度数据;Acquiring ultrasound height data according to the ultrasound data;
对所述超声高度数据和所述融合高度数据分别进行求导,输出所述超声高度数据的微分信息和所述融合高度数据的微分信息;Derivation of the ultrasound height data and the fusion height data respectively, and output differential information of the ultrasound height data and differential information of the fusion height data;
根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。The ultrasonic credibility detection result is obtained according to the differential information of the ultrasonic height data and the differential information of the fused height data.
可选地,所述方法还包括:Optionally, the method further includes:
对所述超声高度数据的微分信息和所述融合高度数据的微分信息分别进行滤波,以获取滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息;则,The differential information of the ultrasonic height data and the differential information of the fused height data are respectively filtered to obtain the filtered differential information of the ultrasonic height data and the differential information of the fused height data; then,
所述根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果,包括:The acquiring the ultrasonic credibility detection result according to the differential information of the ultrasonic height data and the differential information of the fused height data includes:
根据所述滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。The ultrasonic credibility detection result is acquired according to the differential information of the filtered ultrasonic height data and the differential information of the fused height data.
可选地,所述根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果具体包括:Optionally, the acquiring the ultrasonic credibility detection result according to the differential information of the ultrasonic height data and the differential information of the fused height data specifically includes:
将所述超声高度数据的微分信息和所述融合高度数据的微分信息进行差异比较,当所述差异比较的结果在预设范围内时,输出所述超声可信度检测结果可信,当所述差异比较的结果不在预设范围内时,输出所述超声可信度检测结果不可信。The differential information of the ultrasonic height data and the differential information of the fused height data are compared with each other. When the result of the difference comparison is within a preset range, the ultrasonic credibility detection result is output as credible. When the result of the difference comparison is not within the preset range, the output of the ultrasound reliability test result is not credible.
可选地,所述根据所述超声更新检测结果和所述超声可信度检测结果进行超声异常检测,具体包括:Optionally, the performing ultrasonic abnormality detection according to the ultrasonic update detection result and the ultrasonic credibility detection result specifically includes:
将所述超声更新检测结果和所述超声可信度检测结果进行逻辑与运算,其中,当所述逻辑与运算的结果输出为1时,表示超声正常,当所述逻辑与运算的结果输出为0时,表示超声异常。Perform a logical AND operation on the ultrasound update detection result and the ultrasound credibility detection result, where when the result of the logical AND operation is output as 1, it means that the ultrasound is normal, and when the result of the logical AND operation is output as At 0, it means that the ultrasound is abnormal.
可选地,所述方法还包括:Optionally, the method further includes:
当所述超声正常时,输出所述超声数据中的超声高度数据作为所述无人机的对地高度;When the ultrasound is normal, output the ultrasound height data in the ultrasound data as the altitude of the drone;
当所述超声异常时,判断所述无人机是否为下降飞行模式;若是,则获取当前时刻的后一秒所对应的超声数据并且将所述超声数据中的超声高度数据作为所述无人机的对地高度;若否,则将最后一次获取的正常超声所对应的超声数据中的超声高度数据作为所述无人机的对地高度。When the ultrasound is abnormal, it is determined whether the drone is in the descending flight mode; if so, the ultrasound data corresponding to the next second at the current time is acquired and the ultrasound altitude data in the ultrasound data is used as the unmanned The ground height of the drone; if not, the ultrasonic height data in the ultrasound data corresponding to the normal ultrasound acquired last time is taken as the ground height of the UAV.
本发明实施例的另一个方面,提供一种超声异常检测装置,应用于无人机,其特征在于,所述装置包括:In another aspect of the embodiments of the present invention, there is provided an ultrasonic anomaly detection device applied to an unmanned aerial vehicle, characterized in that the device includes:
第一获取模块,用于获取所述无人机的超声数据和融合高度数据;The first acquisition module is used to acquire ultrasound data and fusion height data of the UAV;
第二获取模块,用于根据所述超声数据获取超声更新检测结果;The second acquiring module is configured to acquire the ultrasonic update detection result according to the ultrasonic data;
第三获取模块,用于根据所述超声数据和所述融合高度数据获取超声可信度检测结果;The third acquisition module is configured to acquire the ultrasound credibility detection result according to the ultrasound data and the fusion height data;
检测模块,用于根据所述超声更新检测结果和所述超声可信度检测结果进行超声异常检测。The detection module is configured to perform ultrasonic abnormality detection according to the ultrasonic update detection result and the ultrasonic credibility detection result.
可选地,所述第二获取模块包括:Optionally, the second acquisition module includes:
检测单元,用于根据所述超声数据,进行时间戳更新检测、超声值变化检测以及超声值异常检测,以获取时间戳更新检测结果、超声值变化检测结果以及超声值异常检测结果;The detection unit is configured to perform timestamp update detection, ultrasonic value change detection, and ultrasonic value abnormality detection according to the ultrasound data to obtain the timestamp update detection result, the ultrasonic value change detection result, and the ultrasonic value abnormality detection result;
第一计算单元,用于将所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果进行逻辑运算,以获取所述超声更新检测结果。The first calculation unit is configured to perform logical operations on the time stamp update detection result, the ultrasonic value change detection result, and the ultrasonic value abnormal detection result to obtain the ultrasonic update detection result.
可选地,所述第三获取模块包括:Optionally, the third acquisition module includes:
第一获取单元,用于根据所述超声数据获取超声高度数据;The first obtaining unit is configured to obtain ultrasound height data according to the ultrasound data;
第二计算单元,用于对所述超声高度数据和所述融合高度数据分别进行求导,以输出所述超声高度数据的微分信息和所述融合高度数据的微分信息;A second calculation unit, configured to derivate the ultrasonic height data and the fused height data respectively to output differential information of the ultrasonic height data and differential information of the fused height data;
第二获取单元,用于根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。The second acquiring unit is configured to acquire the ultrasonic credibility detection result according to the differential information of the ultrasonic height data and the differential information of the fused height data.
可选地,所述第三获取模块还包括:Optionally, the third acquiring module further includes:
滤波处理单元,用于对所述超声高度数据的微分信息和所述融合高度数据的微分信息分别进行滤波,以获取滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息;则,A filter processing unit, configured to filter the differential information of the ultrasonic height data and the differential information of the fused height data, respectively, to obtain filtered differential information of the ultrasonic height data and the differential information of the fused height data ;then,
所述第二获取单元具体用于,根据所述滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。The second acquiring unit is specifically configured to acquire the ultrasonic credibility detection result according to the differential information of the filtered ultrasonic height data and the differential information of the fused height data.
可选地,所述第二获取单元具体用于:Optionally, the second acquiring unit is specifically configured to:
将所述超声高度数据的微分信息和所述融合高度数据的微分信息进行差异比较,当所述差异比较的结果在预设范围内时,输出所述超声可信度检测结果可信,当所述差异比较的结果不在预设范围内时,输出所述超声可信度检测结果不可信。The differential information of the ultrasonic height data and the differential information of the fused height data are compared with each other. When the result of the difference comparison is within a preset range, the ultrasonic credibility detection result is output as credible. When the result of the difference comparison is not within the preset range, the output of the ultrasound reliability test result is not credible.
可选地,所述检测模块具体用于:Optionally, the detection module is specifically configured to:
将所述超声更新检测结果和所述超声可信度检测结果进行逻辑与运算,其中,当所述逻辑与运算的结果输出为1时,表示超声正常,当所述逻辑与运算的结果输出为0时,表示超声异常。Perform a logical AND operation on the ultrasound update detection result and the ultrasound credibility detection result, where when the result of the logical AND operation is output as 1, it means that the ultrasound is normal, and when the result of the logical AND operation is output as At 0, it means that the ultrasound is abnormal.
可选地,所述装置还包括:Optionally, the device further includes:
第一处理模块,用于当所述超声正常时,输出所述超声数据中的超声高度数据作为所述无人机的对地高度;The first processing module is configured to output the ultrasound height data in the ultrasound data as the ground height of the drone when the ultrasound is normal;
第二处理模块,用于当所述超声异常时,判断所述无人机是否为下降飞行模式,若是,则获取当前时刻的后一秒所对应的超声数据并且将所述超声数据中的超声高度数据作为所述无人机的对地高度,若否,则将最后一次获取的正常超声所对应的超声数据中的超声高度数据作为所述无人机的对地高度。The second processing module is used to determine whether the UAV is in the descending flight mode when the ultrasound is abnormal, and if so, obtain the ultrasound data corresponding to the next second at the current time and combine the ultrasound data in the ultrasound data. The height data is taken as the ground height of the drone. If not, the ultrasonic height data in the ultrasound data corresponding to the normal ultrasound acquired last time is taken as the ground height of the drone.
本发明实施例的又一个方面,提供一种无人机,包括:机身;机臂,与所述机身相连;动力装置,设于所述机臂,用于为所述无人机提供飞行的动力;至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所 述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的方法。In yet another aspect of the embodiments of the present invention, there is provided an unmanned aerial vehicle, including: a fuselage; an arm connected to the fuselage; and a power device arranged on the arm to provide the drone with Flight power; at least one processor; and, a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are The processor executes, so that the at least one processor can execute the method as described above.
本发明实施例的再一个方面,提供一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如上所述的方法。In yet another aspect of the embodiments of the present invention, a non-volatile computer-readable storage medium is provided, the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make a computer Perform the method described above.
在本发明实施例中,通过无人机的超声数据对超声更新检测是否正常进行判定,通过无人机的超声数据和融合高度数据对超声数据的可信度进行检测,然后根据超声更新检测的判定结果和超声可信度的检测结果进行超声异常检测,只有在超声更新检测正常以及超声数据可信时,所述无人机的超声才是正常,此时认为超声有效。该实施方式丰富了超声异常检测方法,降低了飞机炸机、高空拉不下来以及飞机降落时猛烈砸地等异常情况的发生概率,提高了无人机通过超声进行对地高度测量时的可靠性和稳定性,并且提升了无人机的性能和用户体验。In the embodiment of the present invention, whether the ultrasonic update detection is normal is determined by the ultrasonic data of the drone, the reliability of the ultrasonic data is detected by the ultrasonic data of the drone and the fusion height data, and then the reliability of the ultrasonic data is detected according to the ultrasonic update. The determination result and the detection result of ultrasound credibility are subjected to ultrasound abnormality detection. Only when the ultrasound update detection is normal and the ultrasound data is credible, the ultrasound of the UAV is normal, and the ultrasound is considered effective at this time. This implementation method enriches the ultrasonic anomaly detection methods, reduces the probability of occurrence of abnormal situations such as aircraft bombing, being unable to pull down from high altitude, and violently slamming the ground when the aircraft is landing, and improves the reliability of UAVs when measuring the ground height through ultrasound And stability, and improve the performance and user experience of the drone.
附图说明Description of the drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings. These exemplified descriptions do not constitute a limitation on the embodiments. Elements with the same reference numbers in the drawings are represented as similar elements. Unless otherwise stated, the figures in the attached drawings do not constitute a limitation of scale.
图1是本发明实施例提供的一种超声异常检测方法的流程图;Figure 1 is a flowchart of an ultrasonic abnormality detection method provided by an embodiment of the present invention;
图2是本发明实施例提供的一种超声异常检测方法中根据所述超声数据获取更新检测结果的方法的流程图;2 is a flowchart of a method for obtaining and updating detection results according to the ultrasonic data in an ultrasonic abnormality detection method provided by an embodiment of the present invention;
图3是本发明实施例提供的一种超声异常检测方法中根据所述超声数据和所述融合高度数据获取超声可信度检测结果的方法的流程图;FIG. 3 is a flowchart of a method for obtaining an ultrasound credibility detection result based on the ultrasound data and the fusion height data in an ultrasound abnormality detection method provided by an embodiment of the present invention;
图4是本发明另一实施例提供的一种超声异常检测方法的流程图;4 is a flowchart of an ultrasonic abnormality detection method provided by another embodiment of the present invention;
图5是本发明实施例提供的一种超声异常检测装置的结构示意图;5 is a schematic structural diagram of an ultrasonic abnormality detection device provided by an embodiment of the present invention;
图6是本发明实施例提供的一种无人机的硬件结构示意图;FIG. 6 is a schematic diagram of the hardware structure of a drone provided by an embodiment of the present invention;
图7是本发明实施例提供的一种无人机的硬件结构示意图。Fig. 7 is a schematic diagram of the hardware structure of a drone provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.
需要说明的是,如果不冲突,本发明实施例中的各个特征可以相互组合,均在本发明的保护范围之内。另外,虽然在装置示意图中进行了功能模块的划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置示意图中的模块划分,或流程图中的顺序执行所示出或描述的步骤。It should be noted that if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all fall within the protection scope of the present invention. In addition, although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, the module division in the schematic diagram of the device may be different from the module division in the schematic diagram, or the sequence in the flowchart may be executed. Steps shown or described.
本发明实施例提供的超声异常检测方法和装置,可以应用于各种不同类型 的无人机。通常无人机通过下视超声雷达来感知地面,在无人机起飞、降落以及正常飞行时,无人机通过自身安装的超声雷达来检测飞机距离地面的高度,如果超声雷达出现问题,将影响飞机起飞、降落以及正常飞行等相关性能,因此,本发明实施例的核心在于通过超声异常检测方法对无人机是否存在超声异常情况进行准确检测和判断,以提升无人机的安全性、可靠性以及稳定性。为了便于理解,下面结合具体的实施例来进行说明。The ultrasonic abnormality detection method and device provided by the embodiments of the present invention can be applied to various types of drones. UAVs usually perceive the ground through down-looking ultrasonic radar. When the UAV takes off, landing and normal flight, the UAV uses its own ultrasonic radar to detect the altitude of the aircraft from the ground. If there is a problem with the ultrasonic radar, it will affect Aircraft take-off, landing, and normal flight and other related performance, therefore, the core of the embodiment of the present invention is to accurately detect and judge whether the UAV has ultrasonic abnormality through the ultrasonic anomaly detection method, so as to improve the safety and reliability of the UAV Sex and stability. In order to facilitate understanding, descriptions are given below in conjunction with specific embodiments.
请参阅图1,图1是本发明实施例提供的一种超声异常检测方法的流程图,该方法包括:Please refer to FIG. 1. FIG. 1 is a flowchart of an ultrasonic abnormality detection method provided by an embodiment of the present invention. The method includes:
步骤101、获取所述无人机的超声数据和融合高度数据;Step 101: Obtain ultrasound data and fusion height data of the UAV;
其中,所述超声数据指的是无人机的超声雷达检测到的数据,该数据包括超声高度数据、超声返回飞控的时间戳序列。所述超声高度数据指的是通过超声检测出的所述无人机距离地面的高度。所述超声返回飞控的时间戳序列指的是所述超声数据所对应的时间节点序列,每一超声数据对应一时间节点,其用于表示所述超声高度数据是在什么时间被测量的。例如,时间戳包括:0.1秒、0.2秒、0.3秒;超声高度数据包括:0.5米、0.6米、0.9米;其中,所述无人机向飞控发送所述超声高度数据0.5米时必须附带时间戳0.1秒,表示0.1秒时所测量的超声高度为0.5米;发送所述超声高度数据0.6米时必须附带时间戳0.2秒,表示0.2秒时所测量的超声高度为0.6米;发送所述超声高度数据0.9米时必须附带时间戳0.3秒,表示0.3秒时所测量的超声高度为0.9米。由此,飞控能够获取在什么时间测量的超声高度是多少。Wherein, the ultrasonic data refers to the data detected by the ultrasonic radar of the drone, and the data includes the ultrasonic height data and the time stamp sequence of the ultrasonic returning to the flight control. The ultrasonic height data refers to the height of the drone from the ground detected by ultrasonic. The time stamp sequence of the ultrasound returning to the flight control refers to the time node sequence corresponding to the ultrasound data, and each ultrasound data corresponds to a time node, which is used to indicate when the ultrasound height data is measured. For example, the time stamp includes: 0.1 second, 0.2 second, 0.3 second; the ultrasonic altitude data includes: 0.5 m, 0.6 m, 0.9 m; where the UAV sends the ultrasonic altitude data 0.5 m to the flight controller must be attached A time stamp of 0.1 second means that the ultrasonic height measured at 0.1 second is 0.5 meters; when the ultrasonic height data is sent to 0.6 meters, a time stamp of 0.2 seconds must be attached, which means that the ultrasonic height measured at 0.2 seconds is 0.6 meters; When the ultrasonic height data is 0.9 meters, a time stamp of 0.3 seconds must be attached, which means that the ultrasonic height measured at 0.3 seconds is 0.9 meters. As a result, the flight controller can obtain the measured ultrasonic height at what time.
其中,所述融合高度数据又称飞行高度数据,其指的是所述无人机距离起飞点的高度数据,所述融合高度数据通过各种传感器检测得到。所述传感器包括气压高度计、加速度计、超声传感器、雷达传感器等等。Wherein, the fusion altitude data is also called flight altitude data, which refers to the altitude data of the drone from the take-off point, and the fusion altitude data is detected by various sensors. The sensors include barometric altimeters, accelerometers, ultrasonic sensors, radar sensors, and so on.
步骤102、根据所述超声数据获取超声更新检测结果;Step 102: Obtain an ultrasound update detection result according to the ultrasound data;
所述超声更新检测结果用于识别所述无人机的超声数据是否还在正常更新。在本实施例中,所述超声数据经过更新检测模块,更新检测模块根据所述超声数据获取超声更新检测结果,可以通过数字信号表示所述超声更新检测结果,比如,当所述超声更新检测结果为“1”时,说明所述超声数据在正常的更新,当所述超声更新检测结果为“0”时,说明所述超声数据不在正常的更新。The ultrasonic update detection result is used to identify whether the ultrasonic data of the drone is still being updated normally. In this embodiment, the ultrasonic data passes through the update detection module, and the update detection module obtains the ultrasonic update detection result according to the ultrasonic data, and the ultrasonic update detection result can be represented by a digital signal, for example, when the ultrasonic update detection result When it is "1", it indicates that the ultrasound data is being updated normally, and when the ultrasound update detection result is "0", it indicates that the ultrasound data is not being updated normally.
其中,请参阅图2,所述根据所述超声数据获取超声更新检测结果包括:Wherein, referring to FIG. 2, the obtaining the ultrasound update detection result according to the ultrasound data includes:
步骤1021、根据所述超声数据,进行时间戳更新检测、超声值变化检测以及超声值异常检测,以获取时间戳更新检测结果、超声值变化检测结果以及超声值异常检测结果; Step 1021, according to the ultrasound data, perform time stamp update detection, ultrasound value change detection, and ultrasound value abnormality detection to obtain time stamp update detection results, ultrasound value change detection results, and ultrasound value abnormality detection results;
其中,根据所述时间戳更新检测来获取所述时间戳更新检测结果。所述时间戳更新检测具体为,检测当前步与上一步的时间的差异,如果所述时间的差异与预设的时间步长值的差异在预设范围内,则所述时间戳更新检测结果输出1,表示时间戳更新正常;如果所述时间的差异与预设的时间步长值的差异为 零或者差异不在预设范围内,则所述时间戳更新检测结果输出0,表示时间戳更新不正常。Wherein, the time stamp update detection result is obtained according to the time stamp update detection. The time stamp update detection specifically includes detecting the time difference between the current step and the previous step, and if the time difference and the preset time step value are within a preset range, the time stamp update detection result Output 1 indicates that the timestamp update is normal; if the difference between the time difference and the preset time step value is zero or the difference is not within the preset range, the timestamp update detection result outputs 0, indicating that the timestamp update unusual.
其中,根据所述超声值变化检测来获取所述超声值变化检测结果。所述超声值变化检测具体为,取当前时刻对应的超声数据以及当前时刻前的预设数目(比如3个或者5个等)个时刻对应的超声数据进行判断,如果其中任意3个超声数据不相等,则所述超声值变化检测结果输出为1,表示超声值的变化是正常的;否则所述超声值变化检测结果输出为0,表示超声值的变化是不正常的。需要说明的是,其中超声数据不相等的个数除了是3个之外,还可以是其他任意个数,在此不做限定。Wherein, the ultrasonic value change detection result is obtained according to the ultrasonic value change detection. The ultrasonic value change detection is specifically to take the ultrasonic data corresponding to the current time and the ultrasonic data corresponding to the preset number (such as 3 or 5) before the current time for judgment, if any three of the ultrasonic data are not If they are equal, the ultrasonic value change detection result is output as 1, indicating that the ultrasonic value change is normal; otherwise, the ultrasonic value change detection result is output as 0, which indicates that the ultrasonic value change is abnormal. It should be noted that the number of unequal ultrasound data can be 3 other than 3, which is not limited here.
其中,根据所述超声值异常检测获取所述超声值异常检测结果。所述超声值异常检测具体为,检测当前步与上一步的超声值之差,以及上一步与上上一步的超声值之差,如果持续5步的超声值之差都为0,则所述超声值异常检测结果输出为0,表示超声异常;否则所述超声值异常检测结果输出为1,表示超声正常。需要说明的是,超声值步数不仅仅为5步,还可以是3至10之间的任意步数。Wherein, the ultrasonic value abnormality detection result is obtained according to the ultrasonic value abnormality detection. The ultrasound value abnormality detection specifically includes detecting the difference between the ultrasound value of the current step and the previous step, and the difference between the ultrasound value of the previous step and the previous step. If the difference between the ultrasound values of the last 5 steps is 0, then The output of the abnormal ultrasound value detection result is 0, indicating that the ultrasound is abnormal; otherwise, the output of the abnormal ultrasound value detection result is 1, which indicates that the ultrasound is normal. It should be noted that the number of ultrasonic steps is not only 5 steps, but can also be any number of steps between 3 and 10.
步骤1022、将所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果进行逻辑运算,以获取所述超声更新检测结果。Step 1022: Perform logical operations on the timestamp update detection result, the ultrasound value change detection result, and the ultrasound value abnormality detection result to obtain the ultrasound update detection result.
其中,将所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果进行逻辑运算具体是将所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果进行逻辑与运算,只有在所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果均输出为1,即三个结果都正常时,所述超声更新检测结果正常,输出超声正常更新标志位1,否则,所述超声更新检测结果不正常,输出超声异常更新标志位0。Wherein, the logical operation of the time stamp update detection result, the ultrasound value change detection result, and the ultrasound value abnormal detection result is specifically to update the time stamp detection result, the ultrasound value change detection result, and the The ultrasonic value abnormality detection result performs logical AND operation, and only when the time stamp update detection result, the ultrasonic value change detection result, and the ultrasonic value abnormality detection result are all output as 1, that is, the three results are normal, the If the ultrasonic update detection result is normal, the ultrasonic normal update flag 1 is output; otherwise, the ultrasonic update detection result is abnormal, and the ultrasonic abnormal update flag 0 is output.
需要说明的是,上述逻辑运算除了是逻辑与之外,也可以是其他逻辑运算,比如逻辑或等。在本实施例中,优选为逻辑与运算。It should be noted that, in addition to the logical AND, the aforementioned logical operation may also be other logical operations, such as logical OR. In this embodiment, it is preferably a logical AND operation.
步骤103、根据所述超声数据和所述融合高度数据获取超声可信度检测结果;Step 103: Obtain an ultrasound credibility detection result according to the ultrasound data and the fusion height data;
所述超声可信度检测结果用于确定所述无人机的超声输出的数值是否可用,在本实施例中,也可以通过数字信号表示所述超声可信度检测结果,比如,当所述超声可信度检测结果为“1”时,说明所述超声输出的数值可用,当所述超声可信度检测结果为“0”时,说明所述超声输出的数值不可用。The ultrasonic credibility test result is used to determine whether the value of the UAV’s ultrasonic output is available. In this embodiment, the ultrasonic credibility test result can also be represented by a digital signal, for example, when the When the ultrasonic credibility detection result is "1", it indicates that the ultrasonic output value is available, and when the ultrasonic credibility detection result is "0", it indicates that the ultrasonic output value is not available.
其中,请参阅图3,所述根据所述超声数据和所述融合高度数据获取超声可信度检测结果,包括:Wherein, referring to FIG. 3, the obtaining of the ultrasound credibility detection result according to the ultrasound data and the fusion height data includes:
步骤1031、根据所述超声数据获取超声高度数据;所述超声高度数据即是通过超声检测出的所述无人机距离地面的高度。Step 1031: Acquire ultrasonic height data according to the ultrasonic data; the ultrasonic height data is the height of the UAV from the ground detected by ultrasonic.
步骤1032、对所述超声高度数据和所述融合高度数据分别进行求导,输出所述超声高度数据的微分信息和所述融合高度数据的微分信息;Step 1032: Derivate the ultrasound height data and the fused height data respectively, and output the differential information of the ultrasound height data and the differential information of the fused height data;
在本实施例中,由于飞机在下降时,超声所测量的超声高度数据和所述融合高度数据可能不相等,但其各自的一节微分所表征飞机的上升下降速度应当较为接近,因此,将所述一节微分所表征的飞机的上升下降速度作为一个判断依据,通过对所述超声高度数据进行求导,以输出所述超声高度数据的微分信息,对所述融合高度数据进行求导,以输出所述融合高度数据的微分信息,通过比较这两个微分信息之间的差异,从而确定超声输出的值是否可用。In this embodiment, when the aircraft is descending, the ultrasonic altitude data measured by ultrasound and the fusion altitude data may not be equal, but the ascent and descent speeds of the aircraft represented by their respective one-section differentials should be relatively close. Therefore, the The ascent and descent speed of the aircraft represented by the one-section differential is used as a judgment basis, and the fusion altitude data is derived by deriving the ultrasonic altitude data to output the differential information of the ultrasonic altitude data, In order to output the differential information of the fused height data, by comparing the difference between the two differential information, it is determined whether the value of the ultrasound output is available.
步骤1034、根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。Step 1034: Obtain the ultrasonic credibility detection result according to the differential information of the ultrasonic height data and the differential information of the fused height data.
其中,所述根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果具体包括:将所述超声高度数据的微分信息和所述融合高度数据的微分信息进行差异比较,当所述差异比较的结果在预设范围内时,输出所述超声可信度检测结果可信,当所述差异比较的结果不在预设范围内时,输出所述超声可信度检测结果不可信。Wherein, said obtaining the ultrasound credibility detection result according to the differential information of the ultrasound height data and the differential information of the fused height data specifically includes: combining the differential information of the ultrasound height data with the value of the fused height data Differential information is used for difference comparison. When the result of the difference comparison is within a preset range, the ultrasound credibility detection result is credible, and when the result of the difference comparison is not within the preset range, the ultrasound is output. The credibility test result is not credible.
其中,所述超声高度数据的微分信息和所述融合高度数据的微分信息可以相同,也可以存在差异,两者微分相同或者两者微分之间的差异在所述预设范围内时,则所述超声可信度检测结果可信,即说明超声输出的数值是可用的,否则所述超声可信度检测结果不可信,超声输出的数值不可用。所述预设范围可以人工自定义,也可以由系统设置。Wherein, the differential information of the ultrasonic height data and the differential information of the fused height data may be the same or different. When the differential information of the two is the same or the difference between the two differentials is within the preset range, then The ultrasonic credibility test result is credible, which means that the ultrasonic output value is available, otherwise the ultrasonic credibility test result is not credible, and the ultrasonic output value is not available. The preset range can be manually defined or set by the system.
在一些实施例中,同样请参阅图3,在执行上述步骤1034之前,所述方法还包括:In some embodiments, referring also to FIG. 3, before performing step 1034, the method further includes:
步骤1033、对所述超声高度数据的微分信息和所述融合高度数据的微分信息分别进行滤波,以获取滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息;Step 1033: Filter the differential information of the ultrasonic height data and the differential information of the fused height data, respectively, to obtain the filtered differential information of the ultrasonic height data and the differential information of the fused height data;
此时,所述步骤1034具体为:根据所述滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。At this time, the step 1034 is specifically: obtaining the ultrasonic credibility detection result according to the differential information of the filtered ultrasonic height data and the differential information of the fused height data.
其中,可以通过滤波器将所述超声高度数据的微分信息和所述融合高度数据的微分信息滤出。所述滤波器具体可以是微分滤波器,由于工程中的信号一般含有噪声,通过所述滤波器过滤所述噪声,以更准确的获取所述超声高度数据和所述融合高度数据的近似导数。Wherein, the differential information of the ultrasonic height data and the differential information of the fused height data can be filtered out through a filter. The filter may specifically be a differential filter. Since the signal in the project generally contains noise, the noise is filtered by the filter to obtain the approximate derivative of the ultrasonic height data and the fused height data more accurately.
上述通过微分判定的方式确定超声输出的数值的可信度,以判断超声输出的数值是否可用,需要说明的是,在其他一些实施例中,还可以通过其他方法判断所述超声输出的数值是否可用。The above-mentioned method of differential determination is used to determine the reliability of the ultrasonic output value to determine whether the ultrasonic output value is available. It should be noted that in some other embodiments, other methods may also be used to determine whether the ultrasonic output value is Available.
步骤104、根据所述超声更新检测结果和所述超声可信度检测结果进行超声异常检测。Step 104: Perform ultrasonic abnormality detection according to the ultrasonic update detection result and the ultrasonic credibility detection result.
其中,所述根据所述超声更新检测结果和所述超声可信度检测结果进行超声异常检测,具体包括:将所述超声更新检测结果和所述超声可信度检测结果进行逻辑与运算,当所述逻辑与运算的结果输出为1时,表示超声正常,当所述逻辑与运算的结果输出为0时,表示超声异常。其中,所述逻辑与运算的结 果输出为1,即说明在所述超声数据正常更新并且所述超声输出的数值可用时,所述超声正常。所述逻辑与运算的结果输出为0,即说明在所述超声数据正常并且所述超声输出的数值不可用,或者所述超声数据不正常并且所述超声输出的数值可用,或者所述超声数据不正常并且所述超声输出的数值不可用时,所述超声异常。Wherein, said performing ultrasonic abnormality detection based on said ultrasonic update detection result and said ultrasonic credibility detection result specifically includes: performing a logical AND operation on said ultrasonic update detection result and said ultrasonic credibility detection result, when When the result of the logical AND operation is output as 1, it indicates that the ultrasound is normal, and when the result of the logical AND operation is output as 0, it indicates that the ultrasound is abnormal. Wherein, the result output of the logical AND operation is 1, which means that when the ultrasound data is updated normally and the value of the ultrasound output is available, the ultrasound is normal. The result of the logical AND operation is 0, which means that the ultrasound data is normal and the ultrasound output value is not available, or the ultrasound data is abnormal and the ultrasound output value is available, or the ultrasound data When it is abnormal and the value of the ultrasound output is not available, the ultrasound is abnormal.
通过上述方法对无人机的超声是否正常进行了检测,进一步地,还可以根据所述检测结果获取所述无人机的对地高度。具体地,请参阅图4,图4与图1的主要区别在于,所述方法还包括:The above method is used to detect whether the UAV's ultrasound is normal, and further, the ground height of the UAV can also be obtained according to the detection result. Specifically, please refer to FIG. 4. The main difference between FIG. 4 and FIG. 1 is that the method further includes:
步骤105、当所述超声正常时,输出所述超声数据中的超声高度数据作为所述无人机的对地高度;Step 105: When the ultrasound is normal, output the ultrasound height data in the ultrasound data as the altitude of the drone;
其中,在所述超声正常时,输出包含超声正常标志位1的使能信号,可以通过锁存模块接收所述使能信号,并且存储所述使能信号对应的超声高度数据。即输出所述无人机当前的对地高度。Wherein, when the ultrasound is normal, an enable signal containing the ultrasound normal flag 1 is output, the enable signal can be received through a latch module, and the ultrasound height data corresponding to the enable signal is stored. That is, output the current altitude of the drone.
步骤106、当所述超声异常时,判断所述无人机是否为下降飞行模式;Step 106: When the ultrasound is abnormal, determine whether the drone is in a descending flight mode;
步骤107、若是,则获取当前时刻的后一秒所对应的超声数据并且将所述超声数据中的超声高度数据作为所述无人机的对地高度;Step 107: If yes, obtain the ultrasound data corresponding to one second after the current moment and use the ultrasound height data in the ultrasound data as the altitude of the drone;
步骤108、若否,则将最后一次获取的正常超声所对应的超声数据中的超声高度数据作为所述无人机的对地高度。Step 108: If not, take the ultrasound height data in the ultrasound data corresponding to the normal ultrasound last acquired as the altitude of the drone.
其中,在所述超声异常时,可以输出包含超声异常标志位0的使能信号,所述锁存模块在接收到所述使能信号后,判断所述无人机是否是下降飞行模式,若是下降飞行模式,则将下降沿滞后一秒,获取当前时刻的后一秒的超声数据,将该超声数据中的超声高度数据作为所述无人机当前的对地高度;若不是下降飞行模式,则可以从所述锁存模块获取最后一次获取到的正常超声所对应的超声高度数据,该超声高度数据为所述无人机当前的对地高度。Wherein, when the ultrasound is abnormal, an enable signal including the ultrasound abnormality flag 0 can be output, and the latch module will determine whether the drone is in the descending flight mode after receiving the enable signal. In the descending flight mode, the falling edge is delayed by one second, the ultrasonic data of one second after the current moment is acquired, and the ultrasonic altitude data in the ultrasonic data is used as the current altitude of the UAV; if it is not the descending flight mode, Then, the ultrasound height data corresponding to the normal ultrasound obtained last time can be obtained from the latch module, and the ultrasound height data is the current height of the UAV to the ground.
其中,将后一秒时间戳对应的超声高度数据作为所述无人机的对地高度的主要目的是,第一、为了防止误判,由于本发明实施例提供的方法会存在概率性的误判,如果误判超声异常,一般只能持续误判0.5秒或者更短的时间,因此在零点几秒后超声又恢复正常了,那么通过取后一秒的检测数据就可以避开这零点几秒的误判。其中,如果超声失效,可以再继续取下一个1秒所对应的超声数据,如果所述超声还是失效,那么超声就是真的失效。第二、为了保证飞机降落至地面的体验,一般无人机降落时,无人机距离地面0.5米左右时,超声容易出现不正常,而这个时候正是飞机需要降落至地面,所以为了维持飞机平稳降落,在这期间如果超声出现异常,可以强行认为超声是正常的,飞机需要平稳降落,那么设置1秒的时间就能足够的保证飞机降落至地面。如果不采用后一秒对应的超声数据,假如判断超声失效,那么无人机会认为自己不适合降落,就会出现降落不下来的情况。Among them, the main purpose of using the ultrasonic height data corresponding to the next second time stamp as the ground height of the UAV is. First, in order to prevent misjudgment, the method provided by the embodiment of the present invention may have probabilistic errors. If the ultrasonic abnormality is misjudged, the misjudgement can only last for 0.5 seconds or less. Therefore, the ultrasonic returns to normal after a few tenths of a second, so you can avoid this few tenths by taking the detection data of one second later. False judgment of seconds. Among them, if the ultrasound fails, the ultrasound data corresponding to one second can be continued to be taken. If the ultrasound still fails, then the ultrasound is really invalid. Second, in order to ensure the experience of the aircraft landing on the ground, when the drone is generally landing, when the drone is about 0.5 meters away from the ground, the ultrasound is prone to abnormalities. At this time, the aircraft needs to land on the ground, so in order to maintain the aircraft Landing smoothly. During this period, if the ultrasound is abnormal, it can be forcibly considered that the ultrasound is normal, and the aircraft needs to land smoothly, so setting a time of 1 second can be enough to ensure that the aircraft landed on the ground. If the ultrasound data corresponding to the next second is not used, if the ultrasound is judged to be invalid, the drone will think that it is not suitable for landing, and it will not be able to land.
其中,判断所述无人机是否为下降飞行模式,具体可以根据最后一次检测出超声正常时所输出的对地高度来判断,比如,当所述对地高度小于0.5米, 则确定所述无人机为下降飞行模式。当然,对地高度的判断并不仅限于0.5米,该数值可以是0.3米至0.7米之间的任意值。Wherein, to determine whether the UAV is in the descending flight mode, it can be specifically determined according to the ground height output when the ultrasound is detected for the last time. For example, when the ground height is less than 0.5 meters, it is determined that there is no The man-machine is in descending flight mode. Of course, the judgment of the ground height is not limited to 0.5 meters, and the value can be any value between 0.3 meters and 0.7 meters.
本发明实施例提供了一种超声异常检测方法,该方法通过无人机的超声数据对超声更新检测是否正常进行判定,通过无人机的超声高度数据和融合高度数据对超声数据的可信度进行检测,然后根据超声更新检测的判定结果和超声可信度的检测结果进行超声异常检测,只有在超声数据正常更新并且超声输出的数值可用时,所述无人机的超声才是正常的,此时认为超声有效。该实施方式丰富了超声异常检测方法,降低了飞机炸机、高空拉不下来以及飞机降落时猛烈砸地等异常情况的发生概率,提高了无人机通过超声进行对地高度测量时的可靠性和稳定性,并且提升了无人机的性能和用户体验。进一步地,还可以根据超声检测的结果获取所述无人机当前的对地高度,特别是在超声异常时,确定所述无人机的对地高度,从而提高了无人机的安全性。The embodiment of the present invention provides an ultrasonic abnormality detection method, which judges whether the ultrasonic update detection is normal through the ultrasonic data of the drone, and the reliability of the ultrasonic data by the ultrasonic height data of the drone and the fusion height data Perform detection, and then perform ultrasonic abnormality detection based on the determination result of the ultrasonic update detection and the detection result of the ultrasonic reliability. Only when the ultrasonic data is updated normally and the value of the ultrasonic output is available, the ultrasound of the UAV is normal. At this time, ultrasound is considered effective. This implementation method enriches the ultrasonic anomaly detection methods, reduces the probability of occurrence of abnormal situations such as aircraft bombing, being unable to pull down from high altitude, and violently slamming the ground when the aircraft is landing, and improves the reliability of UAVs when measuring the ground height through ultrasound And stability, and improve the performance and user experience of the drone. Further, the current height of the drone can also be obtained according to the result of the ultrasonic detection, especially when the ultrasound is abnormal, the height of the drone can be determined, thereby improving the safety of the drone.
请参阅图5,图5是本发明实施例提供的一种超声异常检测装置的结构示意图,该装置20应用于无人机,该装置20包括:第一获取模块21、第二获取模块22、第三获取模块23以及检测模块24。Please refer to FIG. 5, which is a schematic structural diagram of an ultrasonic anomaly detection device provided by an embodiment of the present invention. The device 20 is applied to an unmanned aerial vehicle. The device 20 includes: a first acquisition module 21, a second acquisition module 22, The third acquisition module 23 and the detection module 24.
其中,第一获取模块21,用于获取所述无人机的超声数据和融合高度数据;第二获取模块22,用于根据所述超声数据获取超声更新检测结果;第三获取模块23,用于根据所述超声数据和所述融合高度数据获取超声可信度检测结果;检测模块24,用于根据所述超声更新检测结果和所述超声可信度检测结果进行超声异常检测。Among them, the first acquisition module 21 is used to acquire the ultrasonic data and fusion height data of the UAV; the second acquisition module 22 is used to acquire the ultrasonic update detection result according to the ultrasonic data; the third acquisition module 23 is used In order to obtain ultrasonic reliability detection results according to the ultrasonic data and the fusion height data; the detection module 24 is configured to perform ultrasonic abnormality detection based on the ultrasonic update detection results and the ultrasonic reliability detection results.
其中,同样请参阅图5,所述第二获取模块22包括检测单元221和第一计算单元222。所述检测单元221,用于根据所述超声数据,进行时间戳更新检测、超声值变化检测以及超声值异常检测,以获取时间戳更新检测结果、超声值变化检测结果以及超声值异常检测结果;所述第一计算单元222,用于将所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果进行逻辑运算,以获取所述超声更新检测结果。Here, referring also to FIG. 5, the second acquisition module 22 includes a detection unit 221 and a first calculation unit 222. The detection unit 221 is configured to perform timestamp update detection, ultrasonic value change detection, and ultrasonic value abnormality detection based on the ultrasound data to obtain the timestamp update detection result, the ultrasonic value change detection result, and the ultrasonic value abnormality detection result; The first calculation unit 222 is configured to perform logical operations on the time stamp update detection result, the ultrasound value change detection result, and the ultrasound value abnormality detection result to obtain the ultrasound update detection result.
其中,同样请参阅图5,所述第三获取模块23包括第一获取单元231、第二计算单元232以及第二获取单元233。所述第一获取单元231,用于根据所述超声数据获取超声高度数据;所述第二计算单元232,用于对所述超声高度数据和所述融合高度数据分别进行求导,以输出所述超声高度数据的微分信息和所述融合高度数据的微分信息;所述第二获取单元233,用于根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。Here, referring also to FIG. 5, the third obtaining module 23 includes a first obtaining unit 231, a second calculating unit 232, and a second obtaining unit 233. The first acquiring unit 231 is configured to acquire ultrasound height data according to the ultrasound data; the second calculating unit 232 is configured to derive the ultrasound height data and the fusion height data respectively to output The differential information of the ultrasound height data and the differential information of the fused height data; the second acquisition unit 233 is configured to acquire the ultrasound data according to the differential information of the ultrasound height data and the differential information of the fused height data Reliability test results.
其中,所述第二获取单元233具体用于:将所述超声高度数据的微分信息和所述融合高度数据的微分信息进行差异比较,当所述差异比较的结果在预设范围内时,输出所述超声可信度检测结果可信,当所述差异比较的结果不在预设范围内时,输出所述超声可信度检测结果不可信。Wherein, the second acquiring unit 233 is specifically configured to: compare the differential information of the ultrasonic height data with the differential information of the fused height data, and output when the result of the difference comparison is within a preset range The ultrasonic credibility detection result is credible, and when the result of the difference comparison is not within the preset range, the ultrasonic credibility detection result is output as unreliable.
在一些实施例中,同样请参阅图5,所述第三获取模块23还包括滤波处理单元234。所述滤波处理单元234从所述第二计算单元232获取所述超声高度数据的微分信息和所述融合高度数据的微分信息,对所述超声高度数据的微分信息和所述融合高度数据的微分信息分别进行滤波,从而获取滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息。此时,所述第二获取单元233从所述滤波处理单元234获取滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息,从而根据所述滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。In some embodiments, referring also to FIG. 5, the third acquiring module 23 further includes a filtering processing unit 234. The filter processing unit 234 obtains the differential information of the ultrasonic height data and the differential information of the fused height data from the second calculation unit 232, and performs the differential information of the ultrasonic height data and the differential information of the fused height data. The information is filtered separately to obtain the differential information of the ultrasonic height data and the differential information of the fused height data after filtering. At this time, the second acquisition unit 233 acquires the differential information of the filtered ultrasonic height data and the differential information of the fused height data from the filter processing unit 234, thereby according to the filtered ultrasonic height The differential information of the data and the differential information of the fused height data obtain the ultrasonic credibility detection result.
其中,所述检测模块24具体用于:将所述超声更新检测结果和所述超声可信度检测结果进行逻辑与运算,其中,当所述逻辑与运算的结果输出为1时,表示超声正常,当所述逻辑与运算的结果输出为0时,表示超声异常。Wherein, the detection module 24 is specifically configured to: perform a logical AND operation on the ultrasonic update detection result and the ultrasonic credibility detection result, wherein when the output of the logical AND operation result is 1, it means that the ultrasonic is normal , When the output of the logical AND operation is 0, it means that the ultrasound is abnormal.
在一些实施例中,同样请参阅图5,所述装置20还包括第一处理模块25和第二处理模块26。所述第一处理模块25,用于当所述超声正常时,输出所述超声数据中的超声高度数据作为所述无人机的对地高度;所述第二处理模块26,用于当所述超声异常时,判断所述无人机是否为下降飞行模式,若为下降飞行模式,获取当前时刻的后一秒所对应的超声数据并且将所述超声数据中的超声高度作为所述无人机的对地高度,若不为下降飞行模式,将最后一次获取的正常超声所对应的超声数据中的超声高度数据作为所述无人机的对地高度。In some embodiments, referring also to FIG. 5, the device 20 further includes a first processing module 25 and a second processing module 26. The first processing module 25 is used to output the ultrasonic height data in the ultrasonic data as the altitude of the drone when the ultrasound is normal; the second processing module 26 is used to When the ultrasound is abnormal, determine whether the UAV is in the descending flight mode. If it is in the descending flight mode, obtain the ultrasound data corresponding to the next second at the current moment and use the ultrasound height in the ultrasound data as the unmanned aircraft. If the altitude of the aircraft is not in the descending flight mode, the ultrasonic altitude data in the ultrasound data corresponding to the normal ultrasound obtained last time is taken as the altitude of the drone.
值得说明的是,上述装置内的模块、单元之间的信息交互、执行过程等内容,由于与本发明的方法实施例基于同一构思,具体内容可以参考本发明方法实施例中的叙述,此处不再赘述。It is worth noting that the information interaction between the modules and units in the above-mentioned device, the execution process, etc., are based on the same concept as the method embodiment of the present invention. For specific content, please refer to the description in the method embodiment of the present invention. No longer.
本发明实施例提供了一种超声异常检测装置,该装置通过无人机的超声数据对超声更新检测是否正常进行判定,通过无人机的超声高度数据和融合高度数据对超声数据的可信度进行检测,然后根据超声更新检测的判定结果和超声可信度的检测结果进行超声异常检测,只有在超声数据正常更新并且超声输出的数值可用时,所述无人机的超声才是正常的,此时认为超声有效。该实施方式丰富了超声异常检测方法,降低了飞机炸机、高空拉不下来以及飞机降落时猛烈砸地等异常情况的发生概率,提高了无人机通过超声进行对地高度测量时的可靠性和稳定性,并且提升了无人机的性能和用户体验。进一步地,还可以根据超声检测的结果获取所述无人机当前的对地高度,特别是在超声异常时,确定所述无人机的对地高度,从而提高了无人机的安全性。The embodiment of the present invention provides an ultrasonic abnormality detection device, which judges whether the ultrasonic update detection is normal through the ultrasonic data of the drone, and the reliability of the ultrasonic data through the ultrasonic height data of the drone and the fusion height data Perform detection, and then perform ultrasonic abnormality detection based on the determination result of the ultrasonic update detection and the detection result of the ultrasonic reliability. Only when the ultrasonic data is updated normally and the value of the ultrasonic output is available, the ultrasound of the UAV is normal. At this time, ultrasound is considered effective. This implementation method enriches the ultrasonic anomaly detection methods, reduces the probability of occurrence of abnormal situations such as aircraft bombing, being unable to pull down from high altitude, and violently slamming the ground when the aircraft is landing, and improves the reliability of UAVs when measuring the ground height through ultrasound And stability, and improve the performance and user experience of the drone. Further, the current height of the drone can also be obtained according to the results of the ultrasonic detection, especially when the ultrasound is abnormal, the height of the drone can be determined, thereby improving the safety of the drone.
请参阅图6和图7,图6和图7是本发明实施例提供的无人机的硬件结构示意图,如图6和图7所示,该无人机30包括:机身301、四个自机身301延伸的机臂302、分别装设在每个机臂301上的动力装置303、至少一个处理器304以及与所述至少一个处理器304通信连接的存储器305。Please refer to Figures 6 and 7. Figures 6 and 7 are schematic diagrams of the hardware structure of the drone provided by an embodiment of the present invention. As shown in Figures 6 and 7, the drone 30 includes: a fuselage 301, four An arm 302 extending from the body 301, a power device 303 respectively installed on each arm 301, at least one processor 304, and a memory 305 communicatively connected to the at least one processor 304.
图6所示的无人机30为四旋翼无人飞行器,动力装置303的数量为四个。在其他可能的实施例中,无人机30可以是其他任何类型的无人飞行器,例如 固定翼无人机飞行器等。在动力装置303应用于其他类型无人飞行器的场合,动力装置303的数量可以根据实际需要改变,本发明对此不作限定。The UAV 30 shown in FIG. 6 is a four-rotor unmanned aerial vehicle, and the number of power devices 303 is four. In other possible embodiments, the drone 30 may be any other type of unmanned aerial vehicle, such as a fixed-wing drone. When the power unit 303 is applied to other types of unmanned aerial vehicles, the number of the power unit 303 can be changed according to actual needs, which is not limited in the present invention.
在发明的一实施例中,机臂302与机身301固定连接,优选地,机臂302与机身301一体成型。在其他可能的实施例中,机臂302还可以可相对于机身301展开或折叠的方式与机身301相连。例如,机臂302可以通过一转轴机构与机身301相连,以实现机臂302可相对于机身301展开或折叠。In an embodiment of the invention, the arm 302 and the body 301 are fixedly connected, and preferably, the arm 302 and the body 301 are integrally formed. In other possible embodiments, the arm 302 may also be connected to the body 301 in a manner that can be expanded or folded relative to the body 301. For example, the arm 302 can be connected to the body 301 through a rotating shaft mechanism, so that the arm 302 can be expanded or folded relative to the body 301.
在本发明的一实施例中,动力装置303包括驱动装置3031和由驱动装置3031驱动的螺旋桨组件3032,螺旋桨组件3032装设于驱动装置3031的输出轴上,螺旋桨组件3032在驱动装置3031的驱动下旋转以产生使无人机30飞行的升力或推力。驱动装置3031可以是任何合适类型的电机,例如有刷电机、无刷电机、直流电机、步进电机、交流感应电机等。In an embodiment of the present invention, the power device 303 includes a driving device 3031 and a propeller assembly 3032 driven by the driving device 3031. The propeller assembly 3032 is installed on the output shaft of the driving device 3031. The propeller assembly 3032 is driven by the driving device 3031. Rotate downward to generate lift or thrust that makes the drone 30 fly. The driving device 3031 may be any suitable type of motor, such as a brushed motor, a brushless motor, a DC motor, a stepper motor, an AC induction motor, etc.
请参阅图7,图7中以一个处理器304为例。处理器304和存储器305可以通过总线或者其他方式连接,图7中以通过总线连接为例。Please refer to FIG. 7. In FIG. 7, a processor 304 is taken as an example. The processor 304 and the memory 305 may be connected through a bus or in other ways. In FIG. 7, the connection through a bus is taken as an example.
存储器305作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的超声异常检测方法对应的程序指令/模块(例如,附图5所示的第一获取模块21、第二获取模块22、第三获取模块23以及检测模块24)。处理器304通过运行存储在存储器305中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例的超声异常检测方法。The memory 305, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the programs corresponding to the ultrasonic abnormality detection method in the embodiment of the present invention Instructions/modules (for example, the first acquisition module 21, the second acquisition module 22, the third acquisition module 23, and the detection module 24 shown in FIG. 5). The processor 304 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions, and modules stored in the memory 305, that is, realizing the ultrasonic abnormality detection method of the foregoing method embodiment.
存储器305可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据超声异常检测装置的使用所创建的数据等。此外,存储器305可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器305可选包括相对于处理器304远程设置的存储器,这些远程存储器可以通过网络连接至超声异常检测装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 305 may include a storage program area and a storage data area. The storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the ultrasonic anomaly detection device. In addition, the memory 305 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 305 may optionally include a memory remotely provided with respect to the processor 304, and these remote memories may be connected to the ultrasonic abnormality detection device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个模块存储在所述存储器305中,当被所述一个或者多个处理器304执行时,执行上述任意方法实施例中的超声异常检测方法,例如,执行以上描述的图1中的方法步骤101至步骤104,图2中的方法步骤1021至步骤1022,图3中的方法步骤1031至步骤1034,图4中的方法步骤101至步骤108,实现图5中的模块21-26,单元221-222,单元231-234的功能。The one or more modules are stored in the memory 305, and when executed by the one or more processors 304, the ultrasonic abnormality detection method in any of the above method embodiments is executed, for example, the above-described FIG. 1 Step 101 to step 104 in the method, step 1021 to step 1022 in the method in Figure 2, step 1031 to step 1034 in the method in Figure 3, step 101 to step 108 in the method in Figure 4, implement module 21- in Figure 5 26, the functions of units 221-222, units 231-234.
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。The above-mentioned products can execute the methods provided in the embodiments of the present invention, and have corresponding functional modules and beneficial effects for executing the methods. For technical details not described in detail in this embodiment, refer to the method provided in the embodiment of the present invention.
本发明实施例的无人机以多种形式存在,包括但不限于四旋翼无人机,等。The drones of the embodiments of the present invention exist in many forms, including but not limited to quadrotor drones.
本发明实施例提供了一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被电子设备 执行上述任意方法实施例中的超声异常检测方法,例如,执行以上描述的图1中的方法步骤101至步骤104,图2中的方法步骤1021至步骤1022,图3中的方法步骤1031至步骤1034,图4中的方法步骤101至步骤108,实现图5中的模块21-26,单元221-222,单元231-234的功能。The embodiment of the present invention provides a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by an electronic device. For example, the method steps 101 to 104 in FIG. 1 described above, the method steps 1021 to 1022 in FIG. 2, the method steps 1031 to 1034 in FIG. 3, and the method steps 1031 to 1034 in FIG. Steps 101 to 108 of the method implement the functions of modules 21-26, units 221-222, and units 231-234 in FIG. 5.
本发明实施例提供了一种计算机程序产品,包括存储在非易失性计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时时,使所述计算机执行上述任意方法实施例中的超声异常检测方法,例如,执行以上描述的图1中的方法步骤101至步骤104,图2中的方法步骤1021至步骤1022,图3中的方法步骤1031至步骤1034,图4中的方法步骤101至步骤108,实现图5中的模块21-26,单元221-222,单元231-234的功能。The embodiment of the present invention provides a computer program product, including a calculation program stored on a non-volatile computer-readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, cause the The computer executes the ultrasonic abnormality detection method in any of the above method embodiments, for example, executes the method steps 101 to 104 in FIG. 1 described above, the method steps 1021 to 1022 in FIG. 2 and the method steps 1031 to 1031 in FIG. Step 1034, method steps 101 to 108 in FIG. 4, implement the functions of modules 21-26, units 221-222, and units 231-234 in FIG. 5.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件来实现。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Through the description of the above implementation manners, those of ordinary skill in the art can clearly understand that each implementation manner can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. A person of ordinary skill in the art can understand that all or part of the processes in the method of the foregoing embodiments can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; under the idea of the present invention, the technical features of the above embodiments or different embodiments can also be combined. The steps can be implemented in any order, and there are many other variations of different aspects of the present invention as described above. For the sake of brevity, they are not provided in the details; although the present invention has been described in detail with reference to the foregoing embodiments, the ordinary The skilled person should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or equivalently replace some of the technical features; and these modifications or replacements do not divorce the essence of the corresponding technical solutions from the implementations of the present invention Examples of the scope of technical solutions.

Claims (16)

  1. 一种超声异常检测方法,应用于无人机,其特征在于,所述方法包括:An ultrasonic abnormality detection method applied to unmanned aerial vehicles, characterized in that the method includes:
    获取所述无人机的超声数据和融合高度数据;Acquiring ultrasound data and fusion height data of the drone;
    根据所述超声数据获取超声更新检测结果;Obtaining an ultrasound update detection result according to the ultrasound data;
    根据所述超声数据和所述融合高度数据获取超声可信度检测结果;Obtaining an ultrasound credibility test result according to the ultrasound data and the fusion height data;
    根据所述超声更新检测结果和所述超声可信度检测结果进行超声异常检测。Perform ultrasound abnormality detection according to the ultrasound update detection result and the ultrasound reliability detection result.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述超声数据获取超声更新检测结果,包括:The method according to claim 1, wherein the obtaining an ultrasound update detection result according to the ultrasound data comprises:
    根据所述超声数据,进行时间戳更新检测、超声值变化检测以及超声值异常检测,以获取时间戳更新检测结果、超声值变化检测结果以及超声值异常检测结果;Performing time stamp update detection, ultrasound value change detection, and ultrasound value abnormality detection according to the ultrasound data to obtain the time stamp update detection result, the ultrasound value change detection result, and the ultrasound value abnormality detection result;
    将所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果进行逻辑运算,以获取所述超声更新检测结果。Perform logical operations on the time stamp update detection result, the ultrasound value change detection result, and the ultrasound value abnormality detection result to obtain the ultrasound update detection result.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述超声数据和所述融合高度数据获取超声可信度检测结果,包括:The method according to claim 1, wherein the obtaining an ultrasound credibility detection result according to the ultrasound data and the fusion height data comprises:
    根据所述超声数据获取超声高度数据;Acquiring ultrasound height data according to the ultrasound data;
    对所述超声高度数据和所述融合高度数据分别进行求导,以输出所述超声高度数据的微分信息和所述融合高度数据的微分信息;Derivation of the ultrasound height data and the fusion height data respectively to output differential information of the ultrasound height data and differential information of the fusion height data;
    根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。The ultrasonic credibility detection result is obtained according to the differential information of the ultrasonic height data and the differential information of the fused height data.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, wherein the method further comprises:
    对所述超声高度数据的微分信息和所述融合高度数据的微分信息分别进行滤波,以获取滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息;则,The differential information of the ultrasonic height data and the differential information of the fused height data are respectively filtered to obtain the filtered differential information of the ultrasonic height data and the differential information of the fused height data; then,
    所述根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果,包括:The acquiring the ultrasonic credibility detection result according to the differential information of the ultrasonic height data and the differential information of the fused height data includes:
    根据所述滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。The ultrasonic credibility detection result is acquired according to the differential information of the filtered ultrasonic height data and the differential information of the fused height data.
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果具体包括:The method according to claim 3, wherein the acquiring the ultrasonic credibility detection result according to the differential information of the ultrasonic height data and the differential information of the fused height data specifically comprises:
    将所述超声高度数据的微分信息和所述融合高度数据的微分信息进行差异比较,当所述差异比较的结果在预设范围内时,输出所述超声可信度检测结果可信,当所述差异比较的结果不在预设范围内时,输出所述超声可信度检测结果不可信。The differential information of the ultrasonic height data and the differential information of the fused height data are compared with each other. When the result of the difference comparison is within a preset range, the ultrasonic credibility detection result is output as credible. When the result of the difference comparison is not within the preset range, the output of the ultrasound reliability test result is not credible.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述根据所 述超声更新检测结果和所述超声可信度检测结果进行超声异常检测,具体包括:The method according to any one of claims 1 to 5, wherein the performing ultrasonic abnormality detection according to the ultrasonic update detection result and the ultrasonic credibility detection result specifically includes:
    将所述超声更新检测结果和所述超声可信度检测结果进行逻辑与运算,其中,当所述逻辑与运算的结果输出为1时,表示超声正常,当所述逻辑与运算的结果输出为0时,表示超声异常。Perform a logical AND operation on the ultrasound update detection result and the ultrasound credibility detection result, where when the result of the logical AND operation is output as 1, it means that the ultrasound is normal, and when the result of the logical AND operation is output as At 0, it means that the ultrasound is abnormal.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    当所述超声正常时,输出所述超声数据中的超声高度数据作为所述无人机的对地高度;When the ultrasound is normal, output the ultrasound height data in the ultrasound data as the altitude of the drone;
    当所述超声异常时,判断所述无人机是否为下降飞行模式;When the ultrasound is abnormal, determining whether the drone is in a descending flight mode;
    若是,则获取当前时刻的后一秒所对应的超声数据并且将所述超声数据中的超声高度数据作为所述无人机的对地高度;If yes, acquire the ultrasound data corresponding to the next second at the current moment and use the ultrasound height data in the ultrasound data as the altitude of the drone;
    若否,则将最后一次获取的正常超声所对应的超声数据中的超声高度数据作为所述无人机的对地高度。If not, the ultrasound height data in the ultrasound data corresponding to the normal ultrasound acquired last time is taken as the ground height of the drone.
  8. 一种超声异常检测装置,应用于无人机,其特征在于,所述装置包括:An ultrasonic abnormality detection device applied to unmanned aerial vehicles, characterized in that the device includes:
    第一获取模块,用于获取所述无人机的超声数据和融合高度数据;The first acquisition module is used to acquire ultrasound data and fusion height data of the UAV;
    第二获取模块,用于根据所述超声数据获取超声更新检测结果;The second acquiring module is configured to acquire the ultrasonic update detection result according to the ultrasonic data;
    第三获取模块,用于根据所述超声数据和所述融合高度数据获取超声可信度检测结果;The third acquisition module is configured to acquire the ultrasound credibility detection result according to the ultrasound data and the fusion height data;
    检测模块,用于根据所述超声更新检测结果和所述超声可信度检测结果进行超声异常检测。The detection module is configured to perform ultrasonic abnormality detection according to the ultrasonic update detection result and the ultrasonic credibility detection result.
  9. 根据权利要求8所述的装置,其特征在于,所述第二获取模块包括:The device according to claim 8, wherein the second acquisition module comprises:
    检测单元,用于根据所述超声数据,进行时间戳更新检测、超声值变化检测以及超声值异常检测,以获取时间戳更新检测结果、超声值变化检测结果以及超声值异常检测结果;The detection unit is configured to perform timestamp update detection, ultrasonic value change detection, and ultrasonic value abnormality detection according to the ultrasound data to obtain the timestamp update detection result, the ultrasonic value change detection result, and the ultrasonic value abnormality detection result;
    第一计算单元,用于将所述时间戳更新检测结果、所述超声值变化检测结果以及所述超声值异常检测结果进行逻辑运算,以获取所述超声更新检测结果。The first calculation unit is configured to perform logical operations on the time stamp update detection result, the ultrasonic value change detection result, and the ultrasonic value abnormal detection result to obtain the ultrasonic update detection result.
  10. 根据权利要求8所述的装置,其特征在于,所述第三获取模块包括:The device according to claim 8, wherein the third acquisition module comprises:
    第一获取单元,用于根据所述超声数据获取超声高度数据;The first obtaining unit is configured to obtain ultrasound height data according to the ultrasound data;
    第二计算单元,用于对所述超声高度数据和所述融合高度数据分别进行求导,以输出所述超声高度数据的微分信息和所述融合高度数据的微分信息;A second calculation unit, configured to derivate the ultrasonic height data and the fused height data respectively to output differential information of the ultrasonic height data and differential information of the fused height data;
    第二获取单元,用于根据所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。The second acquiring unit is configured to acquire the ultrasonic credibility detection result according to the differential information of the ultrasonic height data and the differential information of the fused height data.
  11. 根据权利要求10所述的装置,其特征在于,所述第三获取模块还包括:The device according to claim 10, wherein the third acquiring module further comprises:
    滤波处理单元,用于对所述超声高度数据的微分信息和所述融合高度数据的微分信息分别进行滤波,以获取滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息;则,A filter processing unit, configured to filter the differential information of the ultrasonic height data and the differential information of the fused height data, respectively, to obtain filtered differential information of the ultrasonic height data and the differential information of the fused height data ;then,
    所述第二获取单元具体用于,根据所述滤波后的所述超声高度数据的微分信息和所述融合高度数据的微分信息获取所述超声可信度检测结果。The second acquiring unit is specifically configured to acquire the ultrasonic credibility detection result according to the differential information of the filtered ultrasonic height data and the differential information of the fused height data.
  12. 根据权利要求10所述的装置,其特征在于,所述第二获取单元具体用于:The device according to claim 10, wherein the second acquiring unit is specifically configured to:
    将所述超声高度数据的微分信息和所述融合高度数据的微分信息进行差异比较,当所述差异比较的结果在预设范围内时,输出所述超声可信度检测结果可信,当所述差异比较的结果不在预设范围内时,输出所述超声可信度检测结果不可信。The differential information of the ultrasonic height data and the differential information of the fused height data are compared with each other. When the result of the difference comparison is within a preset range, the ultrasonic credibility detection result is output as credible. When the result of the difference comparison is not within the preset range, the output of the ultrasound reliability test result is not credible.
  13. 根据权利要求8至12中任一项所述的装置,其特征在于,所述检测模块具体用于:The device according to any one of claims 8 to 12, wherein the detection module is specifically configured to:
    将所述超声更新检测结果和所述超声可信度检测结果进行逻辑与运算,其中,当所述逻辑与运算的结果输出为1时,表示超声正常,当所述逻辑与运算的结果输出为0时,表示超声异常。Perform a logical AND operation on the ultrasound update detection result and the ultrasound credibility detection result, where when the result of the logical AND operation is output as 1, it means that the ultrasound is normal, and when the result of the logical AND operation is output as At 0, it means that the ultrasound is abnormal.
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:
    第一处理模块,用于当所述超声正常时,输出所述超声数据中的超声高度数据作为所述无人机的对地高度;The first processing module is configured to output the ultrasound height data in the ultrasound data as the ground height of the drone when the ultrasound is normal;
    第二处理模块,用于当所述超声异常时,判断所述无人机是否为下降飞行模式,若是,则获取当前时刻的后一秒所对应的超声数据并且将所述超声数据中的超声高度数据作为所述无人机的对地高度,若否,则将最后一次获取的正常超声所对应的超声数据中的超声高度数据作为所述无人机的对地高度。The second processing module is used to determine whether the UAV is in the descending flight mode when the ultrasound is abnormal, and if so, obtain the ultrasound data corresponding to the next second at the current time and combine the ultrasound data in the ultrasound data. The height data is taken as the ground height of the drone. If not, the ultrasonic height data in the ultrasound data corresponding to the normal ultrasound acquired last time is taken as the ground height of the drone.
  15. 一种无人机,其特征在于,包括:An unmanned aerial vehicle, characterized in that it includes:
    机身;body;
    机臂,与所述机身相连;An arm, connected to the fuselage;
    动力装置,设于所述机臂,用于为所述无人机提供飞行的动力;The power device is arranged on the arm and used to provide power for the drone to fly;
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1至7中任一项所述的方法。The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute any one of claims 1 to 7 Methods.
  16. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行权利要求1至7中任一项所述的方法。A non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make a computer execute claims 1 to 7 The method of any one of.
PCT/CN2020/091344 2019-05-21 2020-05-20 Ultrasonic abnormality detection method and device, and electronic apparatus WO2020233606A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910422871.5 2019-05-21
CN201910422871.5A CN110146055A (en) 2019-05-21 2019-05-21 A kind of the super voice abnormality detection method, device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2020233606A1 true WO2020233606A1 (en) 2020-11-26

Family

ID=67592393

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/091344 WO2020233606A1 (en) 2019-05-21 2020-05-20 Ultrasonic abnormality detection method and device, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN110146055A (en)
WO (1) WO2020233606A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110146055A (en) * 2019-05-21 2019-08-20 深圳市道通智能航空技术有限公司 A kind of the super voice abnormality detection method, device and electronic equipment
CN110658831B (en) * 2019-10-22 2022-04-15 深圳市道通智能航空技术股份有限公司 Ground altitude correction method and device and unmanned aerial vehicle
CN112368592A (en) * 2019-11-05 2021-02-12 深圳市大疆创新科技有限公司 Method for detecting radar installation state, movable platform, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106705936A (en) * 2016-12-06 2017-05-24 浙江华飞智能科技有限公司 Method and device for optimizing altitude of unmanned aerial vehicle
CN106840093A (en) * 2017-02-06 2017-06-13 北京京东尚科信息技术有限公司 A kind of detection method of unmanned plane during flying height, device and unmanned plane
CN107543540A (en) * 2016-06-27 2018-01-05 杭州海康机器人技术有限公司 The data fusion and offline mode switching method and device of a kind of flight equipment
CN108733068A (en) * 2017-04-24 2018-11-02 菜鸟智能物流控股有限公司 Aircraft with a flight control device
CN109061653A (en) * 2018-07-26 2018-12-21 中国民用航空飞行学院 A kind of height measuring device and method based on unmanned plane
US20190100307A1 (en) * 2017-09-29 2019-04-04 Intel Corporation Drone based delivery system
CN110146055A (en) * 2019-05-21 2019-08-20 深圳市道通智能航空技术有限公司 A kind of the super voice abnormality detection method, device and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4358301B1 (en) * 2009-05-14 2009-11-04 パナソニック株式会社 Sensor device
CN104880722B (en) * 2015-03-25 2017-08-11 清华大学 The GPS velocity and position detection rejecting outliers method of unmanned plane
CN105094138A (en) * 2015-07-15 2015-11-25 东北农业大学 Low-altitude autonomous navigation system for rotary-wing unmanned plane
WO2018086122A1 (en) * 2016-11-14 2018-05-17 深圳市大疆创新科技有限公司 Method and system for fusion of multiple paths of sensing data
CN107340764B (en) * 2017-06-08 2018-11-06 腾讯科技(深圳)有限公司 Abnormality eliminating method, device, storage medium and the unmanned plane terminal of unmanned plane
CN112504320B (en) * 2017-08-01 2022-11-08 广州极飞科技股份有限公司 Data validity detection method and device
CN108089938B (en) * 2018-01-08 2021-04-09 湖南盈峰国创智能科技有限公司 Abnormal data processing method and device
CN108375953B (en) * 2018-03-26 2020-12-22 北京京东尚科信息技术有限公司 Unmanned aerial vehicle state monitoring method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107543540A (en) * 2016-06-27 2018-01-05 杭州海康机器人技术有限公司 The data fusion and offline mode switching method and device of a kind of flight equipment
CN106705936A (en) * 2016-12-06 2017-05-24 浙江华飞智能科技有限公司 Method and device for optimizing altitude of unmanned aerial vehicle
CN106840093A (en) * 2017-02-06 2017-06-13 北京京东尚科信息技术有限公司 A kind of detection method of unmanned plane during flying height, device and unmanned plane
CN108733068A (en) * 2017-04-24 2018-11-02 菜鸟智能物流控股有限公司 Aircraft with a flight control device
US20190100307A1 (en) * 2017-09-29 2019-04-04 Intel Corporation Drone based delivery system
CN109061653A (en) * 2018-07-26 2018-12-21 中国民用航空飞行学院 A kind of height measuring device and method based on unmanned plane
CN110146055A (en) * 2019-05-21 2019-08-20 深圳市道通智能航空技术有限公司 A kind of the super voice abnormality detection method, device and electronic equipment

Also Published As

Publication number Publication date
CN110146055A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
WO2020233606A1 (en) Ultrasonic abnormality detection method and device, and electronic apparatus
WO2021008624A1 (en) Unmanned aerial vehicle safety protection method and device, and unmanned aerial vehicle
WO2019134150A1 (en) Fault detection method and device for unmanned aerial vehicle and movable platform
US9691288B2 (en) System and method for sending in-flight weather alerts
EP3169588B1 (en) System for determining weight-on-wheels using lidar
CN105217054B (en) A kind of fixed-wing VUAV detects landing platform automatically
BR112014015911B1 (en) safe takeoff monitoring system
WO2017185363A1 (en) Method, apparatus, and system for controlling unmanned aerial vehicle
WO2021078005A1 (en) To-ground height correction method and device and unmanned aerial vehicle
KR20210129843A (en) Method and Apparatus for Monitoring Fault of Unmanned Aerial Vehicle
US20150039159A1 (en) Hard landing detection and orientation control
EP2701027B1 (en) Systems and methods for monitoring low speed of a rotorcraft
CN111610504B (en) Static target detection method and system based on scene surveillance radar
CN107065912B (en) Method and device for detecting landing of aircraft
US11345482B2 (en) Aeronautical display system and method
US20130073124A1 (en) Method and Device for Protecting an Aircraft
EP3602078B1 (en) Method and system for determining an estimation of an anemometric parameter in an aircraft
BR102019026202A2 (en) METHOD AND SYSTEM FOR AN AUTOMATED AIRCRAFT LANDING ANALYSIS
US7164366B2 (en) Process and device for detecting on an aircraft an overshoot of design loads at the level of a structural part of said aircraft
BR102016029344A2 (en) METHOD IMPLEMENTED BY COMPUTER OF AIRCRAFT DATA COLLECTION, AVIONIC SYSTEM FOR COLLECTING AIRCRAFT AND DATA
CN113895639B (en) Systems and methods for mobile device implemented rotor tracking and balancing
US10365311B2 (en) On-board system for evaluating the severity of a lightning strike
US11021263B2 (en) Automated aircraft landing performance analysis
Baumgartner et al. Trajectory prediction for low-cost collision avoidance systems
US10648850B2 (en) Devices and methods for determining aircraft weight

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20810629

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20810629

Country of ref document: EP

Kind code of ref document: A1