山西电子技术2024,Issue(5) :40-43.

基于OpenMV的运动目标控制和自动追踪系统的设计

The Design and Implementation of a Motion Target Control and Automatic Tracking System Based on OpenMV

关志艳
山西电子技术2024,Issue(5) :40-43.

基于OpenMV的运动目标控制和自动追踪系统的设计

The Design and Implementation of a Motion Target Control and Automatic Tracking System Based on OpenMV

关志艳1
扫码查看

作者信息

  • 1. 山西工程科技职业大学 信息工程学院,山西 太原 030619
  • 折叠

摘要

设计制作两个独立的运动目标控制系统与自动追踪系统,两系统不进行任何通信,都有各自的STM32F103 控制器、OpenMV机器视觉模块、二维云台、OLED等.在运动目标控制系统中,将红色激光笔固定在二维云台上,通过调整PWM占空比从而改变二维云台水平和垂直方向角度,来实现激光笔指向50 cm×50 cm屏幕中心及绕边线一周;再通过OpenMV采集A4 靶纸四角坐标,计算坐标与云台角度对应关系,来实现红色激光笔绕任务位置任意角度黑边框一周.在自动追踪系统中,将红色激光笔和OpenMV都固定在二维云台上,利用OpenMV图像采集红色光斑位置,经过计算来调整云台角度,从而自动追踪屏幕上的红色光斑.

Abstract

This design produces two independent motion target control systems and automatic tracking systems.The two systems do not communicate with each other and have their own STM32F103 controller,OpenMV machine vision module,PTZ,OLED,etc.In the motion target control system,the red laser pen is fixed on PTZ.By adjus-ting the PWM duty cycle to change the horizontal and vertical angles of PTZ,the laser pen is directed towards the center of the 50cm50cm screen and around the edge line for one cycle.By collecting the four corner coordinates of A4 target paper through OpenMV and calculating the corresponding relationship between the coordinates and the PTZ angle,the red laser pen can circle the black border at any angle around the task position for one cycle.In the automatic tracking system,both the red laser pen and OpenMV are fixed on the two-dimensional PTZ,and the OpenMV image is used to collect the position of the red spot.After calculation,the PTZ angle is adjusted to auto-matically track the red spot on the screen.

关键词

Zigbee/STM32F103/OpenMV/二维云台

Key words

Zigbee/STM32F103C8T6/OpenMV/PTZ

引用本文复制引用

基金项目

2022山西省教育厅"十四五"规划课题(GH-220653)

2022山西工程科技职业大学校级科研课题(KJ202207)

出版年

2024
山西电子技术
山西省电子工业科学研究院 山西省电子学会

山西电子技术

影响因子:0.197
ISSN:1674-4578
段落导航相关论文