CN112097761B - A method for automatic identification of sensor installation direction corresponding to spacecraft - Google Patents
A method for automatic identification of sensor installation direction corresponding to spacecraft Download PDFInfo
- Publication number
- CN112097761B CN112097761B CN202010908793.2A CN202010908793A CN112097761B CN 112097761 B CN112097761 B CN 112097761B CN 202010908793 A CN202010908793 A CN 202010908793A CN 112097761 B CN112097761 B CN 112097761B
- Authority
- CN
- China
- Prior art keywords
- sensor
- coordinate system
- handheld terminal
- spacecraft
- installation
- 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.)
- Active
Links
- 238000009434 installation Methods 0.000 title claims abstract description 61
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000002407 reforming Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 15
- 238000012360 testing method Methods 0.000 description 12
- 238000007689 inspection Methods 0.000 description 3
- 238000011900 installation process Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 239000003292 glue Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 235000009161 Espostoa lanata Nutrition 0.000 description 1
- 240000001624 Espostoa lanata Species 0.000 description 1
- XAGFODPZIPBFFR-UHFFFAOYSA-N aluminium Chemical compound [Al] XAGFODPZIPBFFR-UHFFFAOYSA-N 0.000 description 1
- 229910052782 aluminium Inorganic materials 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 239000011888 foil Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明提供了一种与航天器对应的传感器安装方向自动识别方法,用以解决现有技术中传感器安装方向记录工作效率低、准确率低的问题。所述传感器安装方向自动识别方法,基于内置陀螺仪的手持终端,在建立手持终端坐标系、航天器坐标系及传感器坐标系后,通过扫码识别当前传感器的类型和坐标系,通过内置陀螺仪识别当前传感器姿态,由手持终端得到当前传感器的转换坐标系,再由内置陀螺仪自动计算当前传感器的转换坐标系相对于航天器坐标系的转动角度,确定当前传感器的方向,并进行记录。本发明实现了基于手持终端的传感器方向判断,可以适用于多类传感器,有效提高与航天器对应的传感器安装方向的识别准确度,提高了工作效率,节约了人力资源。
The invention provides an automatic identification method of the sensor installation direction corresponding to the spacecraft, which is used to solve the problems of low efficiency and low accuracy of the sensor installation direction recording in the prior art. The method for automatically identifying the installation direction of the sensor is based on a handheld terminal with a built-in gyroscope. After establishing the coordinate system of the handheld terminal, the coordinate system of the spacecraft and the sensor coordinate system, the type and coordinate system of the current sensor are identified by scanning the code, and the built-in gyroscope is used to identify the type and coordinate system of the current sensor. Identify the current sensor attitude, obtain the converted coordinate system of the current sensor from the handheld terminal, and then automatically calculate the rotation angle of the current sensor's converted coordinate system relative to the spacecraft coordinate system by the built-in gyroscope, determine the direction of the current sensor, and record it. The invention realizes the sensor direction judgment based on the handheld terminal, can be applied to multiple types of sensors, effectively improves the recognition accuracy of the sensor installation direction corresponding to the spacecraft, improves the work efficiency and saves human resources.
Description
技术领域technical field
本发明属于传感领域,具体涉及一种与航天器对应的传感器安装方向自动识别方法。The invention belongs to the field of sensing, in particular to an automatic identification method for a sensor installation direction corresponding to a spacecraft.
背景技术Background technique
传感器作为一种信息转换器件,可以将被测量转换成电信号或所需的其他信息形式,对被测量进行测量、传输、显示或处理,应用于智能计算机、航天器、大气监测、水文及地质监测等各个领域。例如,在航天器地面力学环境测试中,需要安装大量传感器,包括单轴、多轴加速度传感器、角振动传感器、力传感器等。安装传感器时,需要记录传感器方向与航天器坐标方向的对应关系。As an information conversion device, the sensor can convert the measurand into an electrical signal or other required information form, and measure, transmit, display or process the measurand, and is used in intelligent computers, spacecraft, atmospheric monitoring, hydrology and geology monitoring and other fields. For example, in the test of spacecraft ground mechanics environment, a large number of sensors need to be installed, including single-axis, multi-axis acceleration sensors, angular vibration sensors, force sensors, etc. When installing the sensor, it is necessary to record the correspondence between the sensor direction and the coordinate direction of the spacecraft.
航天器力学环境试验传感器的安装随着航天器的总装进程分步实施,时间跨度一般至少几个月,图1是现有技术中传感器安装和接线流程示意图。如图1所示,航天器力学环境试验传感器安装包括如下步骤:M0.传感器准备包括本次粘贴传感器型号和数量检查,导通检查,外观检查,绝缘片的粘贴;辅助材料准备包括胶带准备,铝箔准备,胶水准备,清洁棉球准备;根据试验大纲准备粘贴记录表;M1.粘贴位置根据试件试验大纲中测点布置文件要求,跟试验方共同确定粘贴位置;M2.通过粘贴位置初步判定传感器粘贴走向,判断标准是粘贴好的传感器方便走线,周围不易与试件上别的产品冲突、周围其他产品在试验期间也不能影响到传感器的输出数据;M3.确认传感器自身的方向定义;M4.根据试验大纲确定安装所在区域对应的航天器方向;M5.记录传感器的编号;M6.根据传感器粘贴走向判断传感器与航天器方向的对应关系并记录;M7.涂胶粘贴传感器;M8.用胶带进一步防护传感器,出线。如有多个传感器,重复步骤M1-M8;M9.接转接线;M10.记录连接关系;M11.制作测量系统跟踪卡,接转臂。The installation of the spacecraft mechanical environmental test sensor is carried out step by step with the final assembly process of the spacecraft, and the time span is generally at least several months. Figure 1 is a schematic diagram of the sensor installation and wiring process in the prior art. As shown in Figure 1, the installation of the spacecraft mechanical environment test sensor includes the following steps: M0. Sensor preparation includes the type and quantity inspection of the pasted sensors, continuity inspection, appearance inspection, and pasting of insulating sheets; auxiliary material preparation includes tape preparation, Preparation of aluminum foil, preparation of glue, preparation of cleaning cotton balls; preparation of pasting record sheets according to the test outline; M1. The pasting position is determined according to the requirements of the measuring point layout document in the test outline of the specimen, and the pasting position is determined together with the test party; M2. Preliminary determination by the pasting position The direction of the sensor is pasted. The judgment standard is that the pasted sensor is easy to route, and it is not easy to conflict with other products on the test piece, and other products in the surrounding cannot affect the output data of the sensor during the test; M3. Confirm the direction definition of the sensor itself; M4. Determine the direction of the spacecraft corresponding to the installation area according to the test outline; M5. Record the number of the sensor; M6. Determine and record the corresponding relationship between the sensor and the direction of the spacecraft according to the direction of the sensor sticking; M7. Glue the sticking sensor; M8. Further protect the sensor with tape, out of the wire. If there are multiple sensors, repeat steps M1-M8; M9. Connect the transfer cable; M10. Record the connection relationship; M11. Make the measurement system tracking card and connect the transfer arm.
在传感器安装过程中,步骤M3-M6需要传感器安装人员根据传感器方向的定义、航天器方向、粘贴走向确认传感器与航天器方向的对应关系并进行记录。一般航天器力学环境试验需要安装上百个传感器,安装时间是间断的,历程至少几个月,而且有多个人参与,人工判断坐标关系容易出现错误,根据经验,方向记录错误的概率在1%左右。同时,传统的人工判断方向和纸质记录的方法效率低下,无法保证方向判断的准确性,在判断和记录环节都容易出错,且需要大量的人力资源。During the sensor installation process, steps M3-M6 require the sensor installer to confirm and record the corresponding relationship between the sensor and the spacecraft direction according to the definition of the sensor direction, the spacecraft direction, and the pasting direction. Generally, the mechanical environment test of spacecraft needs to install hundreds of sensors. The installation time is intermittent, the process is at least several months, and there are many people involved. Manual judgment of the coordinate relationship is prone to errors. According to experience, the probability of wrong direction recording is 1%. about. At the same time, the traditional methods of manually judging the direction and paper records are inefficient, cannot guarantee the accuracy of direction judgment, are prone to errors in the judgment and recording process, and require a lot of human resources.
发明内容SUMMARY OF THE INVENTION
鉴于现有技术中的上述缺陷或不足,本发明提供了一种与航天器对应的传感器安装方向自动识别方法,通过手持终端内置陀螺仪,对姿态关系进行定义,实现与航天器对应的传感器的安装方向的自动识别和记录,提高传感器安装效率,降低出错概率。In view of the above-mentioned defects or deficiencies in the prior art, the present invention provides a method for automatically identifying the installation direction of a sensor corresponding to a spacecraft. The attitude relationship is defined by using a built-in gyroscope in a handheld terminal, and the sensor corresponding to the spacecraft can be identified. The automatic identification and recording of the installation direction improves the installation efficiency of the sensor and reduces the probability of errors.
为了实现上述目的,本发明实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
一种与航天器对应的传感器安装方向自动识别方法,所述传感器安装方向自动识别方法,包括如下步骤:An automatic identification method for a sensor installation direction corresponding to a spacecraft, the method for automatic identification of the sensor installation direction includes the following steps:
步骤S1,建立内置陀螺仪的手持终端坐标系,并基于手持终端坐标系输入航天器坐标系;Step S1, establishing a hand-held terminal coordinate system with a built-in gyroscope, and inputting the spacecraft coordinate system based on the hand-held terminal coordinate system;
步骤S2,定义传感器坐标系,并录入手持终端数据库;Step S2, define the sensor coordinate system, and enter the handheld terminal database;
步骤S3,扫码识别当前传感器的类型和坐标系,并基于手持终端坐标系,通过内置陀螺仪识别当前传感器姿态,由手持终端得到当前传感器的转换坐标系;Step S3, scan the code to identify the type and coordinate system of the current sensor, and based on the coordinate system of the handheld terminal, identify the attitude of the current sensor through the built-in gyroscope, and obtain the converted coordinate system of the current sensor from the handheld terminal;
步骤S4,内置陀螺仪自动计算当前传感器的转换坐标系相对于航天器坐标系的转动角度,确定当前传感器的方向。In step S4, the built-in gyroscope automatically calculates the rotation angle of the converted coordinate system of the current sensor relative to the coordinate system of the spacecraft, and determines the direction of the current sensor.
上述方案中,所述步骤S4还包括,自动记录当前传感器编号、类型及方向。In the above solution, the step S4 further includes automatically recording the current sensor number, type and direction.
上述方案中,所述步骤S4确定当前传感器的方向,通过角度重整确定当前传感器的方向。In the above solution, the step S4 determines the direction of the current sensor, and determines the direction of the current sensor through angle realignment.
上述方案中,所述角度重整,首先判断误差是否超标,如果误差超标,提示重新定义航天器坐标系进行回零操作;如果误差未超标,将误差作为小量消去。In the above scheme, in the angle adjustment, first determine whether the error exceeds the standard, if the error exceeds the standard, prompt to redefine the coordinate system of the spacecraft to perform the zero return operation; if the error does not exceed the standard, the error is eliminated as a small amount.
上述方案中,判断误差是否超标过程如下:In the above scheme, the process of judging whether the error exceeds the standard is as follows:
设定转动角度为θ,容限误差为±α,误差超标判断标准为:Set the rotation angle as θ, the tolerance error as ±α, and the criterion for judging that the error exceeds the standard is:
(θ+α)//90-(θ-α)//90==0 (1)(θ+α)//90-(θ-α)//90==0 (1)
式(1)中,//为整除符号,==逻辑判断左右两边是否相等;In formula (1), // is the divisible symbol, == logically judges whether the left and right sides are equal;
如果误差未超标,则角度重整公式为:If the error does not exceed the standard, the angle reformulation formula is:
式(2)中,%为取余数运算符,abs为取绝对值运算。In formula (2), % is the remainder operator, and abs is the absolute value operation.
上述方案中,所述手持终端还包括扫码识别装置、显示装置和输入装,所述扫码识别装置用于扫码识别当前传感器,所述显示装置用于显示扫码识别结果,所述输入装置用于输入航天器坐标系。In the above solution, the handheld terminal further includes a code scanning identification device, a display device and an input device, the scanning code identification device is used to scan the code to identify the current sensor, the display device is used to display the scanning code identification result, and the input device is used for scanning the code. The device is used to input the coordinate system of the spacecraft.
上述方案中,定义手持终端坐标系为XYZ,输入的航天器坐标系为XHYHZH,定义摄像头拍摄方向为-Z方向,工作人员手中持有手持终端后,横向向右为X向,并按照右手坐标系形成手持终端的坐标系XYZ。In the above scheme, the coordinate system of the handheld terminal is defined as XYZ, the coordinate system of the input spacecraft is X H Y H Z H , and the shooting direction of the camera is defined as the -Z direction. , and form the coordinate system XYZ of the handheld terminal according to the right-handed coordinate system.
上述方案中,所述定义传感器的坐标系,通过安装面法向及插座朝向来定义传感器的坐标系。In the above solution, the coordinate system of the sensor is defined by the normal direction of the mounting surface and the orientation of the socket to define the coordinate system of the sensor.
上述方案中,所述传感器包括三轴传感器和单轴传感器;对于三轴传感器,安装面法向为z向,插座朝向为-y向,确定右手坐标系的对应关系;对于第一类单轴传感器,安装面法向和插座朝向沿一个轴,确认传感器方向,从而定义传感器坐标系;对于第二类单轴传感器,敏感轴与安装面平行,通过传感器安装面法向和插座朝向,确认敏感轴朝向,确认传感器方向,从而定义传感器坐标系。In the above solution, the sensor includes a three-axis sensor and a single-axis sensor; for the three-axis sensor, the normal direction of the mounting surface is the z direction, and the socket orientation is the -y direction, so as to determine the corresponding relationship of the right-hand coordinate system; for the first type of single-axis sensor For the sensor, the normal direction of the mounting surface and the orientation of the socket are along one axis, and the sensor direction is confirmed to define the sensor coordinate system; for the second type of single-axis sensor, the sensitive axis is parallel to the mounting surface, and the sensitive axis is confirmed by the normal direction of the sensor mounting surface and the orientation of the socket. Axis orientation, confirms the sensor orientation, and defines the sensor coordinate system.
上述方案中,所述步骤S3中由手持终端得到当前传感器的转换坐标系,手持终端扫描传感器识别码后,从数据库中获得当前传感器的类型和方向定义xyz,基于内置陀螺仪调整手持终端方向,将手持终端扫码区轴线-Z与传感器安装面法线平行,摄像头朝向传感器安装的方向,如果插座朝向与安装面法向不在一个轴上,则手持终端的-Y向指向插座的朝,从而由手持终端直接得到传感器的转换坐标系XTYTZT。In the above scheme, in the step S3, the conversion coordinate system of the current sensor is obtained by the handheld terminal, after the handheld terminal scans the sensor identification code, the type and orientation definition xyz of the current sensor are obtained from the database, and the orientation of the handheld terminal is adjusted based on the built-in gyroscope, Make the axis -Z of the scanning area of the handheld terminal parallel to the normal of the sensor installation surface, and the camera is facing the direction of the sensor installation. If the direction of the socket is not on the same axis as the normal direction of the installation surface, the -Y direction of the handheld terminal points to the direction of the socket, so that The transformed coordinate system X T Y T Z T of the sensor is directly obtained from the handheld terminal.
本发明具有如下有益效果:The present invention has the following beneficial effects:
本发明实施例所述与航天器对应的传感器安装方向自动识别方法,基于内置陀螺仪的手持终端,在建立手持终端坐标系、航天器坐标系及传感器坐标系的基础上,通过扫码识别当前传感器的类型和坐标系,并基于手持终端坐标系,通过内置陀螺仪识别当前传感器姿态,由手持终端得到当前传感器的转换坐标系,再由内置陀螺仪自动计算当前传感器的转换坐标系相对于航天器坐标系的转动角度,确定当前传感器的方向,并进行记录。本发明实现了基于手持终端的传感器方向判断,可以适用于多类传感器,有效提高与航天器对应的传感器安装方向的识别准确度,提高了工作效率,节约了人力资源,避免了人工判断失误问题。本安装方向识别方法可应用于各类需要判断安装传感器方向与标准坐标方向对应关系的领域。The method for automatically identifying the installation direction of a sensor corresponding to a spacecraft according to the embodiment of the present invention is based on a handheld terminal with a built-in gyroscope. The type and coordinate system of the sensor, and based on the coordinate system of the handheld terminal, the current sensor attitude is recognized by the built-in gyroscope, the converted coordinate system of the current sensor is obtained from the handheld terminal, and then the converted coordinate system of the current sensor is automatically calculated by the built-in gyroscope. The rotation angle of the sensor coordinate system is used to determine the current direction of the sensor and record it. The invention realizes the sensor direction judgment based on the handheld terminal, can be applied to multiple types of sensors, effectively improves the recognition accuracy of the sensor installation direction corresponding to the spacecraft, improves the work efficiency, saves human resources, and avoids the problem of manual judgment errors. . The installation direction identification method can be applied to various fields that need to determine the corresponding relationship between the installation sensor direction and the standard coordinate direction.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1为现有技术中航天器地面力学环境试验中传感器安装流程示意图;Fig. 1 is a schematic diagram of a sensor installation process in a spacecraft ground mechanics environmental test in the prior art;
图2为本发明实施例与航天器对应的传感器安装方向自动识别方法流程示意图;2 is a schematic flowchart of an automatic identification method for a sensor installation direction corresponding to a spacecraft according to an embodiment of the present invention;
图3为本发明实施例中平板型手持终端结构示意图;3 is a schematic structural diagram of a tablet handheld terminal in an embodiment of the present invention;
图4为本发明实施例中扫码枪型手持终端结构示意图;4 is a schematic structural diagram of a code scanning gun-type handheld terminal in an embodiment of the present invention;
图5为本发明实施例中三轴传感器的方向定义示意图;FIG. 5 is a schematic diagram of the direction definition of a three-axis sensor in an embodiment of the present invention;
图6为本发明实施例中第一类型单轴传感器的方向定义示意图;6 is a schematic diagram of the direction definition of the first type of single-axis sensor in an embodiment of the present invention;
图7为本发明实施例中第二类型单轴传感器的方向定义示意图;7 is a schematic diagram of the direction definition of the second type of single-axis sensor in an embodiment of the present invention;
图8为为本发明实施例中基于内置陀螺仪识别当前传感器姿态原理示意图;8 is a schematic diagram of the principle of identifying the current sensor attitude based on a built-in gyroscope in an embodiment of the present invention;
图9为本发明实施例中通过角度重整确定当前传感器的方向时手持终端的显示界面示意图。FIG. 9 is a schematic diagram of a display interface of a handheld terminal when the direction of the current sensor is determined through angle realignment according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should be noted that, for the convenience of description, only the parts related to the invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
本发明实施例针对航天器地面力学环境试验中传感器的安装,提供了一种与航天器对应的传感器安装方向自动识别和记录方法,首先定义传感器的坐标系,记为xyz坐标系;建立手持终端坐标系XYZ,在手持终端中录入航天器的坐标系XHYHZH;再定义传感器安装过程中手持终端与传感器的姿态相对关系,手持终端内置陀螺仪,触发记录时计算得到当前手持终端的姿态XCYCZC,角度匹配形成转换坐标系XTYTZT,最后按照航天器的坐标系XHYHZH记录XTYTZT的方向,从而实现传感器安装方向对应关系自动判断和记录,提高传感器安装效率,降低出错概率。The embodiment of the present invention provides an automatic identification and recording method for the installation direction of the sensor corresponding to the spacecraft for the installation of the sensor in the ground mechanical environment test of the spacecraft. First, the coordinate system of the sensor is defined, which is recorded as the xyz coordinate system; the handheld terminal is established. Coordinate system XYZ, enter the coordinate system X H Y H Z H of the spacecraft in the handheld terminal; then define the relative relationship between the attitude of the handheld terminal and the sensor during the sensor installation process, the handheld terminal has a built-in gyroscope, and the current handheld terminal is calculated when the recording is triggered. The attitude of X C Y C Z C , the angle matching forms the transformation coordinate system X T Y T Z T , and finally the direction of X T Y T Z T is recorded according to the coordinate system X H Y H Z H of the spacecraft, so as to realize the installation direction of the sensor The corresponding relationship is automatically judged and recorded, which improves the installation efficiency of the sensor and reduces the probability of errors.
下面通过具体的实施例,并结合附图,对本发明作进一步详细的说明。The present invention will be described in further detail below through specific embodiments and in conjunction with the accompanying drawings.
图2所示为本发明实施例与航天器对应的传感器安装方向自动识别方法流程示意图。如图2所示,所述传感器安装方向自动识别和记录方法,包括如下步骤:FIG. 2 is a schematic flowchart of a method for automatically identifying the installation direction of a sensor corresponding to a spacecraft according to an embodiment of the present invention. As shown in Figure 2, the method for automatically identifying and recording the installation direction of the sensor includes the following steps:
步骤S1,建立内置陀螺仪的手持终端坐标系,并基于手持终端坐标系输入航天器坐标系。In step S1, a coordinate system of a handheld terminal with a built-in gyroscope is established, and the coordinate system of the spacecraft is input based on the coordinate system of the handheld terminal.
本步骤中,所述手持终端包括平板型、扫码枪型终端。图3所示为本实施例中平板型手持终端结构示意图;图4所示为本实施例中扫码枪型手持终端结构示意图。如图3和图4所示,所述手持终端包括内置陀螺仪,还包括扫码识别装置、显示装置和输入装,并相应的将手持终端分为扫码区、显示区和输入区。所述扫码识别装置用于扫码识别当前传感器,所述显示装置用于显示扫码识别结果,所述输入装置用于输入航天器坐标系。In this step, the handheld terminal includes a tablet type and a code scanning gun type terminal. FIG. 3 is a schematic structural diagram of a tablet type handheld terminal in this embodiment; FIG. 4 is a schematic structural diagram of a code scanning gun type handheld terminal in this embodiment. As shown in FIG. 3 and FIG. 4 , the handheld terminal includes a built-in gyroscope, a code scanning identification device, a display device and an input device, and the handheld terminal is correspondingly divided into a code scanning area, a display area and an input area. The scanning code identification device is used for scanning the code to identify the current sensor, the display device is used for displaying the scanning code identification result, and the input device is used for inputting the coordinate system of the spacecraft.
作为本发明的一个优选实施例,所述扫码识别装置包括发射器、摄像头、闪光灯,通过扫码识别方式识别传感器编号,并拍摄记录粘贴位置。As a preferred embodiment of the present invention, the code scanning identification device includes a transmitter, a camera, and a flash, the sensor number is identified by scanning the code identification, and the sticking position is recorded and photographed.
在本实施例中,定义手持终端坐标系为XYZ,输入的航天器坐标系为XHYHZH,定义摄像头拍摄方向为-Z方向,工作人员手中持有手持终端后,横向向右为X向,并按照右手坐标系形成手持终端的坐标系XYZ。In this embodiment, the coordinate system of the handheld terminal is defined as XYZ, the coordinate system of the input spacecraft is X H Y H Z H , and the shooting direction of the camera is defined as the -Z direction. After the staff holds the handheld terminal, the horizontal direction to the right is X direction, and form the coordinate system XYZ of the handheld terminal according to the right-handed coordinate system.
步骤S2,定义传感器坐标系,并录入手持终端数据库。In step S2, the sensor coordinate system is defined and entered into the database of the handheld terminal.
本步骤中,所述定义传感器的坐标系,可以采用传感器出厂时定义的坐标系,也可以按照使用习惯定义传感器的坐标系。定义传感器的坐标系为xyz。通常情况下,对于出厂时,已经定义坐标方向的传感器,按照出厂方向定义将其录入手持终端数据库,如果没有定义坐标系,则按照使用习惯定义传感器的坐标系。In this step, for defining the coordinate system of the sensor, the coordinate system defined when the sensor leaves the factory may be used, or the coordinate system of the sensor may be defined according to usage habits. Define the coordinate system of the sensor as xyz. Normally, for a sensor with a defined coordinate direction when it leaves the factory, enter it into the handheld terminal database according to the factory direction definition. If the coordinate system is not defined, define the sensor coordinate system according to the usage habits.
优选地,通过安装面法向及插座朝向来定义传感器的坐标系。Preferably, the coordinate system of the sensor is defined by the normal direction of the mounting surface and the orientation of the socket.
作为本发明的一个优选实施例,所述传感器包括三轴传感器和单轴传感器。在实际应用中,将与航天器对应的加速度传感器、角振动传感器、微振动传感器、力传感器等按照测量轴数归类为三轴传感器或单轴传感器。图5所示为所述三轴传感器的方向定义示意图。如图5所示,对于三轴传感器,安装面法向为z向,插座朝向为-y向,对于三轴传感器,知道安装面法向和插座朝向,即可确定右手坐标系的对应关系。图6和图7分别示出了两种类型的单轴传感器的方向定义示意图。如图6所示,对于第一类单轴传感器,安装面法向和插座朝向沿一个轴。知道安装面法向,即可确认传感器方向,从而定义传感器坐标系。如图7所示,对于第二类单轴传感器,敏感轴与安装面平行,通过传感器安装面法向和插座朝向,确认敏感轴朝向,也可确认传感器方向。其它方向定义的传感器也可以参照以上方法,通过安装面法向及插座朝向,从而定义传感器坐标系。As a preferred embodiment of the present invention, the sensor includes a three-axis sensor and a single-axis sensor. In practical applications, the acceleration sensors, angular vibration sensors, micro-vibration sensors, force sensors, etc. corresponding to the spacecraft are classified as three-axis sensors or single-axis sensors according to the number of measurement axes. FIG. 5 is a schematic diagram of the direction definition of the three-axis sensor. As shown in Figure 5, for the three-axis sensor, the normal direction of the mounting surface is the z direction, and the socket orientation is the -y direction. For the three-axis sensor, the corresponding relationship of the right-handed coordinate system can be determined by knowing the normal direction of the mounting surface and the socket orientation. Figures 6 and 7 show schematic diagrams of orientation definition of two types of single-axis sensors, respectively. As shown in Figure 6, for the first type of single-axis sensor, the normal direction of the mounting surface and the orientation of the socket are along one axis. Knowing the normal direction of the mounting surface, the sensor orientation can be confirmed to define the sensor coordinate system. As shown in Figure 7, for the second type of single-axis sensor, the sensitive axis is parallel to the mounting surface, and the direction of the sensitive axis and the sensor direction can be confirmed through the normal direction of the sensor mounting surface and the orientation of the socket. Sensors defined in other directions can also refer to the above method, and define the sensor coordinate system through the normal direction of the mounting surface and the orientation of the socket.
所定义的传感器的坐标系信息和类型信息,在传感器安装的时候录入传感器的识别码中。The coordinate system information and type information of the defined sensor are entered into the identification code of the sensor when the sensor is installed.
步骤S3,扫码识别当前传感器的类型和坐标系,并基于手持终端坐标系,通过内置陀螺仪识别当前传感器姿态,由手持终端得到当前传感器的转换坐标系XTYTZT。Step S3, scan the code to identify the type and coordinate system of the current sensor, and based on the coordinate system of the handheld terminal, identify the current sensor attitude through the built-in gyroscope, and obtain the converted coordinate system X T Y T Z T of the current sensor from the handheld terminal.
图8所示为本步骤中基于内置陀螺仪识别当前传感器姿态原理示意图。如图8所示,本步骤中,手持终端扫描传感器识别码后,从数据库中获得当前传感器的类型和方向定义xyz,基于内置陀螺仪调整手持终端方向,将手持终端扫码区轴线-Z与传感器安装面法线平行,摄像头朝向传感器安装的方向,如果插座朝向与安装面法向不在一个轴上,则还需手持终端的-Y向指向插座的朝向。利用定义的姿态关系完成传感器安装方向的识别,姿态相对关系直观,无需经过人工换算,由手持终端直接得到传感器的转换坐标系XTYTZT。FIG. 8 is a schematic diagram showing the principle of identifying the current sensor attitude based on the built-in gyroscope in this step. As shown in Figure 8, in this step, after the handheld terminal scans the sensor identification code, the type and orientation definition xyz of the current sensor are obtained from the database, the orientation of the handheld terminal is adjusted based on the built-in gyroscope, and the axis-Z of the barcode scanning area of the handheld terminal is adjusted to The normal of the sensor installation surface is parallel, and the camera faces the direction of the sensor installation. If the socket orientation is not on the same axis as the normal direction of the installation surface, the -Y direction of the handheld terminal should also point to the socket orientation. Using the defined attitude relationship to complete the identification of the installation direction of the sensor, the attitude relative relationship is intuitive, and the conversion coordinate system X T Y T Z T of the sensor is directly obtained from the handheld terminal without manual conversion.
需要说明的是,所定义的姿态关系也可以是其他方向上的对应关系,上述优选实施例并不构成对本发明的限制。It should be noted that the defined attitude relationship may also be a corresponding relationship in other directions, and the above preferred embodiment does not constitute a limitation to the present invention.
步骤S4,内置陀螺仪自动计算当前传感器的转换坐标系XTYTZT相对于航天器坐标系XHYHZH的转动角度,确定当前传感器的方向。Step S4, the built-in gyroscope automatically calculates the rotation angle of the converted coordinate system X T Y T Z T of the current sensor relative to the spacecraft coordinate system X H Y H Z H , and determines the direction of the current sensor.
进一步地,所述步骤S4还包括,自动记录当前传感器编号、类型及方向。Further, the step S4 further includes automatically recording the current sensor number, type and direction.
作为本发明的一个优选实施例,通过角度重整确定当前传感器的方向。As a preferred embodiment of the present invention, the direction of the current sensor is determined through angle realignment.
图9所示为通过角度重整确定当前传感器的方向时手持终端的显示界面示意图。如图9所示,角度重整后,按照重整的角度即可确定坐标记录。优选地,显示的方向可以通过输入装置进行手动修改,满足特殊情况下的修订要求。FIG. 9 is a schematic diagram of the display interface of the handheld terminal when the direction of the current sensor is determined through angle realignment. As shown in FIG. 9 , after the angle is reformed, the coordinate record can be determined according to the reformed angle. Preferably, the displayed direction can be manually modified through the input device to meet the revision requirements under special circumstances.
本步骤中,所述角度重整,是由于陀螺仪计算姿态时,误差随时间变长而,同时使用手持终端确定传感器方向时也存在视觉误差。所以得到的转换坐标系XTYTZT相对于航天器坐标系XHYHZH的转动角度并不是标准的90°的倍数。In this step, the angle readjustment is due to the fact that when the gyroscope calculates the attitude, the error increases with time, and there is also a visual error when using the handheld terminal to determine the direction of the sensor. Therefore, the rotation angle of the obtained transformed coordinate system X T Y T Z T relative to the spacecraft coordinate system X H Y H Z H is not a multiple of the standard 90°.
所述角度重整,首先判断误差是否超标,如果误差超标,提示重新定义航天器坐标系进行回零操作;如果误差未超标,将误差作为小量消去。In the angle readjustment, first determine whether the error exceeds the standard, if the error exceeds the standard, prompt to redefine the coordinate system of the spacecraft to perform the zero return operation; if the error does not exceed the standard, the error is eliminated as a small amount.
判断误差是否超标过程如下:The process of judging whether the error exceeds the standard is as follows:
假设其中某个转动角度为θ,容限误差为±α。优选地,所述α范围为[5,20]。误差超标判断标准为:Assuming that one of the rotation angles is θ, the tolerance error is ±α. Preferably, the α range is [5, 20]. The criterion for judging that the error exceeds the standard is:
(θ+α)//90-(θ-α)//90==0 (1)(θ+α)//90-(θ-α)//90==0 (1)
式(1)中,//为整除符号,==逻辑判断左右两边是否相等。In formula (1), // is the divisible symbol, == logically judges whether the left and right sides are equal.
如果误差未超标,则角度重整公式为:If the error does not exceed the standard, the angle reformulation formula is:
式(2)中,%为取余数运算符,abs为取绝对值运算。In formula (2), % is the remainder operator, and abs is the absolute value operation.
作为本发明的一个优选实施例,直接确定当前传感器的方向,并在所述方向中增加不确定度。大部分传感器的安装方向,三个坐标轴与航天器坐标轴是平行的,但也有部分位置的传感器,安装后,三个坐标轴与航天器坐标轴不平行。在这种情况下,测量得到的角度不做重整化,直接输出传感器安装方向相对航天器坐标系的旋转角度,角度的不确定度为容限误差±α。As a preferred embodiment of the present invention, the direction of the current sensor is directly determined, and uncertainty is added to the direction. In the installation direction of most sensors, the three coordinate axes are parallel to the coordinate axis of the spacecraft, but there are also sensors in some positions. After installation, the three coordinate axes are not parallel to the coordinate axis of the spacecraft. In this case, the measured angle is not renormalized, and the rotation angle of the sensor installation direction relative to the spacecraft coordinate system is directly output, and the uncertainty of the angle is the tolerance error ±α.
采用本发明与航天器对应的传感器安装方向自动识别方法,对传感器安装方向进行记录时,传感器在安装前,将传感器的编号、型号、灵敏度、定义坐标系等信息入库,传感器线缆尾端附上带有传感器入库信息的条码或二维码。传感器导通后,用手持终端逐一扫码出库,扫描过的传感器状态自动变为“已导通”。确定传感器安装位置和走向后,操作人员使用手持终端扫描传感器编号(条码或二维码),按照确定的传感器安装方向和插座朝向,使用手持终端自动识别记录,安装传感器。对于舱内传感器,需要出线,出线后可以使用出线记录功能扫码记录出线的传感器编号,并可以列表显示已出线的传感器。接转接线,扫码记录传感器编号和转接线编号。导出安装记录信息,制作测量系统跟踪卡,接转臂。经过上述过程,在完成传感器安装的同时,也完成了对传感器方向的识别和记录。Using the automatic identification method of the sensor installation direction corresponding to the spacecraft of the present invention, when the sensor installation direction is recorded, before the sensor is installed, the sensor number, model, sensitivity, defined coordinate system and other information are stored in the warehouse, and the end of the sensor cable is stored. Attach a barcode or QR code with sensor inbound information. After the sensor is turned on, use the handheld terminal to scan the codes one by one to leave the warehouse, and the status of the scanned sensor automatically changes to "connected". After determining the installation position and orientation of the sensor, the operator scans the sensor number (bar code or QR code) with the handheld terminal, and uses the handheld terminal to automatically identify the record and install the sensor according to the determined installation direction and socket orientation of the sensor. For in-cabin sensors, outgoing cables are required. After outgoing, you can use the outgoing record function to scan the code to record the number of the outgoing sensor, and display the outgoing sensors in a list. Connect the adapter cable, scan the code to record the sensor number and the adapter cable number. Export the installation record information, make the measurement system tracking card, and connect the arm. After the above process, when the sensor installation is completed, the identification and recording of the sensor direction are also completed.
由以上技术方案可以看出,本发明实施例所述与航天器对应的传感器安装方向自动识别和记录方法,实现了基于手持终端的传感器方向判断,可以适用于多类传感器,有效提高与航天器对应的传感器安装方向的识别准确度,提高了工作效率,节约了人力资源。It can be seen from the above technical solutions that the method for automatically identifying and recording the installation direction of the sensor corresponding to the spacecraft according to the embodiment of the present invention realizes the direction judgment of the sensor based on the handheld terminal, which can be applied to multiple types of sensors, and effectively improves the compatibility with the spacecraft. The recognition accuracy of the corresponding sensor installation direction improves work efficiency and saves human resources.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the above-mentioned technical features without departing from the inventive concept. Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010908793.2A CN112097761B (en) | 2020-09-02 | 2020-09-02 | A method for automatic identification of sensor installation direction corresponding to spacecraft |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010908793.2A CN112097761B (en) | 2020-09-02 | 2020-09-02 | A method for automatic identification of sensor installation direction corresponding to spacecraft |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112097761A CN112097761A (en) | 2020-12-18 |
CN112097761B true CN112097761B (en) | 2022-05-24 |
Family
ID=73757517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010908793.2A Active CN112097761B (en) | 2020-09-02 | 2020-09-02 | A method for automatic identification of sensor installation direction corresponding to spacecraft |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112097761B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103712759A (en) * | 2014-01-06 | 2014-04-09 | 北京卫星环境工程研究所 | Spacecraft whole-satellite micro-vibration mechanics environment ground test method |
CN106123899A (en) * | 2016-06-20 | 2016-11-16 | 周祥宇 | A kind of for the system and method to handheld terminal hi-Fix |
CN111275662A (en) * | 2019-08-29 | 2020-06-12 | 上海飞机制造有限公司 | Workpiece positioning method, device and equipment based on two-dimensional code and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2491101A1 (en) * | 2003-12-30 | 2005-06-30 | Canadian Space Agency | Zero-g emulating testbed for spacecraft control system |
-
2020
- 2020-09-02 CN CN202010908793.2A patent/CN112097761B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103712759A (en) * | 2014-01-06 | 2014-04-09 | 北京卫星环境工程研究所 | Spacecraft whole-satellite micro-vibration mechanics environment ground test method |
CN106123899A (en) * | 2016-06-20 | 2016-11-16 | 周祥宇 | A kind of for the system and method to handheld terminal hi-Fix |
CN111275662A (en) * | 2019-08-29 | 2020-06-12 | 上海飞机制造有限公司 | Workpiece positioning method, device and equipment based on two-dimensional code and storage medium |
Non-Patent Citations (1)
Title |
---|
"用于微振动测量的高精度加速度传感器标定方法";马功泊等;《航天器环境工程》;20180430;第35卷(第2期);第170-177页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112097761A (en) | 2020-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10357879B2 (en) | Robot zero-point calibration device and method | |
CN107984201B (en) | A kind of screw hole positioning of view-based access control model servo and lock unload screw method | |
TWI462060B (en) | A method for controlling electronic devices and a hand-held device using the same | |
US5440492A (en) | Kinematically positioned data acquisition apparatus and method | |
CN100543661C (en) | Touch-controlled screen device and method thereof with auto-calibration prompt function | |
CN102712091A (en) | Embedded arm strain sensors | |
CN110785729B (en) | Electronic device for generating analog strokes and for digital storage of analog strokes and input system and method for digitizing analog recordings | |
CN111152223A (en) | Full-automatic robot hand-eye calibration method | |
CN113211445B (en) | Robot parameter calibration method, device, equipment and storage medium | |
CN115319727B (en) | Robot calibration method based on pose constraint and force perception | |
CN111413750B (en) | A kind of error correction method of fluxgate sensor for cable positioning | |
CN113280807B (en) | Mobile robot positioning device, method and system | |
CN111400067B (en) | Remote detection method and terminal | |
CN109940533B (en) | Intelligent tightening tool and intelligent management method | |
CN206073976U (en) | A kind of multifunctional digital integrated building construction engineering test instrument | |
CN112097761B (en) | A method for automatic identification of sensor installation direction corresponding to spacecraft | |
WO2023165355A1 (en) | Surgical platform positioning system, and pose information determining method and device | |
CN114792313A (en) | Touch detection method, device, device and storage medium | |
CN115122333A (en) | Robot calibration method and device, electronic equipment and storage medium | |
Fraser | Automated processes in digital photogrammetric calibration, orientation, and triangulation | |
US20230249341A1 (en) | Robot teaching method and robot working method | |
CN113340285B (en) | Method and device for detecting terminal pose of main mechanical arm based on cooperative mechanical arm | |
JPS61102298A (en) | X-y plotter device | |
CN113661474A (en) | Reference position setting method and operation detection device | |
CN218159079U (en) | Test calibration device for three-dimensional scanner |
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 |