基于直角坐标机器人的手机产品自动测试系统的设计

 2022-03-10 08:03

论文总字数:28230字

摘 要

目前触摸屏移动终端的测试仍以人工测试为主,测试成本高、效率低。随着智能手机等触屏移动终端出货量的连年增加,现有的人工测试方法已经无法满足触屏设备测试环节的需求了,如何提高触摸屏移动终端测试的自动化与智能化程度成了当务之急。本文提出了一种基于直角坐标机器人的手机产品的测试方法,结合机器视觉引导直角坐标机器人自动完成由人示教的测试动作。主要工作与成果如下:

(1) 设计了基于直角坐标机器人的手机产品自动测试系统整体框架,搭建了各硬件模块。

(2) 根据直角坐标机器人提供的通信协议、二次开发用的指令规范,结合本系统功能和可能扩展的功能需求使用c 语言开发了直角坐标机器人的控制函数,例如:自由移动,查询系统信息、位置信息,更改系统设置,机器人自带的录制与回放等。

(3) 基于C#语言开发了自动测试系统的控制软件包括:

  1. 串口通信、机器人的基础指令发送;
  2. 摄像头的设置与采集;
  3. 计时器;
  4. XML文件记录的录制与回放;
  5. MFC主界面。

关键词:直角坐标机器人,智能设备,串口通信,摄像头,C ,C#,XML。

Design of automatic testing system for mobile phone products based on Cartesian coordinate robot

Abstract

At present, the test of the touch screen mobile terminal is mainly based on manual test, and the test cost is high and the efficiency is low. With smart phones and other touch screen mobile terminal shipments increased year after year, existing manual testing method has been unable to meet the demand for touch screen devices test session, how to improve the touch screen mobile terminal test automation and intelligence has become an urgent task. This paper presents a test method of mobile phone products based on Cartesian coordinate robot. The robot can automatically complete the test action of the robot by the robot vision guided robot. The main work and results are as follows:

  1. The whole frame of automatic testing system of mobile phone products based on Cartesian coordinate robot is designed, and the hardware modules are built.
  2. According to the specification of Cartesian coordinate robot communication protocol, secondary development with the instruction, combined with the function of the system and may extend the functional requirements using C language developed Cartesian coordinate robot control function. For example: free mobile query system and location information, change system settings, robot comes with a recording and playback.
  3. The control software of the automatic test system is developed based on the C# language:
  4. Serial communication, the basic command of the robot to send;
  5. Camera setup and collection;
  6. Timer;
  7. Recording and playback of XML file record;
  8. MFC main interface.

Key words: Cartesian coordinate robot, intelligent equipment, serial communication, camera, C , C#, XML.

目录

摘要 I

Abstract II

第1章 绪论 5

1.1 项目背景 5

1.1.1 研究意义 5

1.1.2 研究现状及存在问题 5

1.2 研究环境 6

1.2.1 硬件 6

1.2.2 软件 7

1.2.3 研究目标 7

1.3 研究内容文章结构 8

1.4 本章小结 8

第2章 整体框架设计 9

2.1 基于直角坐标机器人的平板设备测试系统 9

2.1.1 框架介绍 9

2.1.2 测试原理 10

2.1.3 直角坐标机器人优劣势 11

2.2 具体工作 11

2.2.1 自动测试所需功能 11

2.2.2 设计的功能 12

2.2.3 文件介绍 12

2.3 本章小结 13

第3章 机器人控制 14

3.1 前言 14

3.2 测试功能 14

3.2.1 基础函数 14

3.2.2 串口功能 15

3.2.3 机器人功能 16

3.2.4 主程序流程 21

3.3 本章小结 21

第4章 摄像头采集 22

4.1 前言 22

4.1.1 设计思路 22

4.1.2 使用注意 23

4.2 接口: 23

4.3 流程图及说明 23

4.3.1 整体流程图 23

4.3.2 具体说明 24

4.4 效果说明 25

4.5 本章小结 26

第5章 软件的开发和使用 27

5.1 前言 27

5.1.1 设计思路 27

5.1.2 主界面 28

5.1.3 整体逻辑图 28

5.1.4 基础函数 28

5.2 串口部分 29

5.2.1 功能说明 29

5.2.2 设计说明 29

5.2.3 流程说明 30

5.3 机器人部分 30

5.3.1 接口和参数 30

5.3.2 函数说明: 31

5.3.3 功能类 31

5.3.4 查询类 32

5.3.5 移动类 32

5.4 录制与回放 32

5.4.1 接口: 32

5.4.2 参数说明: 33

5.4.3 函数说明: 33

5.4.4 XML结构说明 33

5.4.5 设计说明 34

5.4.6 逻辑结构 34

5.5 本章小结 36

第6章 使用手册 37

6.1 机器人使用 37

6.1.1 启动部分 37

6.1.2 运行时 37

6.1.3 摄像头 38

第7章 总结与展望 39

7.1 总结 39

7.2 展望 39

参考文献 40

致谢 41

绪论

项目背景

研究意义

随着信息通讯技术的不断发展和进步,手机己经从传统意义上的人际间的语言交往沟通的工具逐渐演变为人们经由网络相连,从而和世界进行对话与交流的重要媒介。目前在市场上,智能手机如雨后春笋般涌现出来,国家信息产业部也大力扶持手机产业的发展,我国部分地区手机上网己经跃入4G 时代,手机在满足用户日益增加的需求的同时, 其安全性与可靠性也成了手机使用者最为关心的重点。[14]

剩余内容已隐藏,请支付后下载全文,论文总字数:28230字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;