CN108211277B - Intelligent ping-pong ball picking sharing system and using method thereof - Google Patents
Intelligent ping-pong ball picking sharing system and using method thereof Download PDFInfo
- Publication number
- CN108211277B CN108211277B CN201810012052.9A CN201810012052A CN108211277B CN 108211277 B CN108211277 B CN 108211277B CN 201810012052 A CN201810012052 A CN 201810012052A CN 108211277 B CN108211277 B CN 108211277B
- Authority
- CN
- China
- Prior art keywords
- ball
- table tennis
- myrio
- central control
- control system
- 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
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B47/00—Devices for handling or treating balls, e.g. for holding or carrying balls
- A63B47/02—Devices for handling or treating balls, e.g. for holding or carrying balls for picking-up or collecting
- A63B47/021—Devices for handling or treating balls, e.g. for holding or carrying balls for picking-up or collecting for picking-up automatically, e.g. by apparatus moving over the playing surface
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
- G06T7/74—Determining position or orientation of objects or cameras using feature-based methods involving reference images or patches
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B47/00—Devices for handling or treating balls, e.g. for holding or carrying balls
- A63B47/02—Devices for handling or treating balls, e.g. for holding or carrying balls for picking-up or collecting
- A63B47/021—Devices for handling or treating balls, e.g. for holding or carrying balls for picking-up or collecting for picking-up automatically, e.g. by apparatus moving over the playing surface
- A63B2047/022—Autonomous machines which find their own way around the playing surface
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B2102/00—Application of clubs, bats, rackets or the like to the sporting activity ; particular sports involving the use of balls and clubs, bats, rackets, or the like
- A63B2102/16—Table tennis
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Physical Education & Sports Medicine (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
技术领域technical field
本发明涉及捡球系统,特别涉及一种乒乓球智能捡球共享系统及其使用方法。The invention relates to a ball picking system, in particular to a table tennis intelligent ball picking and sharing system and a method for using the same.
背景技术Background technique
随着现阶段自动化在各领域的逐步推广应用,以及人力使用成本的不断提升,共享经济越发热门;现在有些乒乓球场地,存在场地小,乒乓球桌密集等特点;若球在桌下,则会出现弯腰困难,更甚者会影响到他人打球;现急需一种可以智能捡球的共享系统来解决上述问题。With the gradual promotion and application of automation in various fields at this stage and the continuous increase in the cost of human use, the sharing economy is becoming more and more popular; now some table tennis venues have the characteristics of small venues and dense table tennis tables; if the ball is under the table, then There will be difficulties in bending over, and even more, it will affect other people's play; a sharing system that can intelligently pick up the ball is urgently needed to solve the above problems.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是提供一种可快速、准确而可靠地检测及收集乒乓球,减少人力频繁弯腰捡球的劳累,并且将收集到的乒乓球放入共享装置实现共享的乒乓球智能捡球共享系统及其使用方法。The technical problem to be solved by the present invention is to provide a table tennis ball that can quickly, accurately and reliably detect and collect table tennis balls, reduce the fatigue of manpower frequently bending over to pick up the ball, and put the collected table tennis balls into a sharing device to realize sharing. An intelligent ball picking and sharing system and a method of using the same.
为达到上述目的,本发明的技术方案如下:For achieving the above object, technical scheme of the present invention is as follows:
一种乒乓球智能捡球共享系统,所述共享系统包括:A table tennis intelligent ball picking and sharing system, the sharing system includes:
一小车;a small car
一设置在小车上的机器视觉检测装置,机器视觉检测装置用于采集图像,并将图像信息发送给myRIO中心控制系统;A machine vision detection device installed on the trolley, the machine vision detection device is used to collect images and send the image information to the myRIO central control system;
一设置在小车上的滚动式球类收集装置,滚动式球类收集装置用于将小球收入其中且不会掉落出来;A rolling ball collection device arranged on the trolley, the rolling ball collection device is used to collect the small balls and will not fall out;
一设置在小车上的电动机传动装置,电动机传动装置用于驱动小车移动;A motor transmission device arranged on the trolley, the motor transmission device is used to drive the trolley to move;
一设置在小车上的避障装置,避障装置用来躲避四周的障碍物为小车转向提供指导;An obstacle avoidance device installed on the car, the obstacle avoidance device is used to avoid the surrounding obstacles and provide guidance for the car to turn;
一乒乓球共享装置,用于接收小车收集到的小球,对其进行排序,并供使用者使用;A table tennis ball sharing device for receiving the small balls collected by the trolley, sorting them, and making them available to users;
一设置在小车上的myRIO中心控制系统,myRIO中心控制系统负责控制整个共享系统;A myRIO central control system installed on the trolley, the myRIO central control system is responsible for controlling the entire sharing system;
一电源。a power supply.
在本发明的一个实施例中,所述机器视觉检测装置包括相机,相机上的摄像头用来采集周围乒乓球图像信息,相机通过USB连接到myRIO中心控制系统,并将采集到的图像信息发送到myRIO中心控制系统以便进行图像的处理识别。In one embodiment of the present invention, the machine vision detection device includes a camera, the camera on the camera is used to collect image information of surrounding table tennis balls, the camera is connected to the myRIO central control system through USB, and the collected image information is sent to myRIO central control system for image processing and recognition.
在本发明的一个实施例中,所述滚动式球类收集装置为滚筒状,其包含一个轴心和两个滚轮,在两个滚轮之间等间距设有弹性绳,使得乒乓球能受收集装置重力进入收集装置内部,而不会掉出收集器。In one embodiment of the present invention, the rolling ball collecting device is in the form of a drum, which includes a shaft and two rollers, and elastic ropes are arranged at equal intervals between the two rollers, so that the table tennis balls can be collected The device gravitationally enters the inside of the collector without falling out of the collector.
在本发明的一个实施例中,所述电动机传动装置包括两个减速电机和两个电机驱动板,电机驱动板用于减速电机的驱动,减速电机执行来自电机驱动板发来的经过处理的电信号,实现正反转。In an embodiment of the present invention, the motor transmission device includes two deceleration motors and two motor drive boards, the motor drive boards are used for driving the deceleration motor, and the deceleration motor executes the processed electric power sent from the motor drive board. signal to realize forward and reverse.
在本发明的一个实施例中,所述避障装置包括设置在小车左右两侧上的红外传感器以及小车前后的超声波传感器,红外传感器和超声波传感器分别用于左右方向壁障和前后方向壁障。In one embodiment of the present invention, the obstacle avoidance device includes infrared sensors disposed on the left and right sides of the trolley and ultrasonic sensors at the front and rear of the trolley.
在本发明的一个实施例中,所述乒乓球共享装置包括:In an embodiment of the present invention, the table tennis sharing device includes:
一箱体,箱体用于存放共享乒乓;A box, the box is used to store the shared table tennis;
一设置在箱体上的显示屏和刷卡口,显示屏用于显示支付租赁乒乓的二维码以及者广告;1. A display screen and a card swiping port set on the box, the display screen is used to display the QR code for paying the rental ping pong and the advertisement;
一设置在箱体内的电机,电机末端装有拨片,为了防止一次性放入的乒乓球过多堵塞储球管道所以在管道口有电机带动拨片;A motor installed in the box, the end of the motor is equipped with a paddle, in order to prevent the table tennis balls put in at one time from blocking the ball storage pipeline too much, there is a motor at the mouth of the pipeline to drive the paddle;
一乒乓球回收器,乒乓球回收器用于将收集到的乒乓球倒入乒乓球回收器,乒乓球回收器能够让乒乓球滚落到储球管道中去;A table tennis ball recycler, the table tennis ball recycler is used to pour the collected table tennis balls into the table tennis ball recycler, and the table tennis ball recycler can make the table tennis balls roll down into the ball storage pipe;
一储球管道,储球管道为一根弯折的直径比乒乓球稍大的塑料管道,上部与地面夹角较大,下部与地面夹角较小,方便乒乓球排序和出球;A ball storage pipe, the ball storage pipe is a bent plastic pipe with a slightly larger diameter than the table tennis ball, the upper part has a larger angle with the ground, and the lower part has a smaller angle with the ground, which is convenient for the table tennis balls to be sorted and released;
一电子开关,电子开关由单片机进行控制和上位机有一个通信,当上位机有出球信号时才放一个球过,避免所有球都涌入出球口造成堵塞;An electronic switch, the electronic switch is controlled by the single-chip microcomputer and has a communication with the upper computer. When the upper computer has a ball out signal, only one ball is released, so as to avoid all the balls pouring into the ball outlet and causing blockage;
一上位机;a host computer;
一挡板,当电子开关打开掉落一个球,挡板打开将球放出,没信号时挡住乒乓球不让其掉落;A baffle, when the electronic switch is turned on to drop a ball, the baffle opens to release the ball, and when there is no signal, it blocks the table tennis ball from falling;
箱体上设有出球口,出球口与储球管道接通。The box body is provided with a ball outlet, which is connected with the ball storage pipe.
在本发明的一个实施例中,所述myRIO中心控制系统是整个系统的运算核心,它是一个嵌入式实时系统,板载数字和模拟端口,可通过labview编程;将接受到来自相机、红外传感器以及超声波传感器的信号进行处理,做出相应的响应;再者,控制电机做出转向动作。In one embodiment of the present invention, the myRIO central control system is the computing core of the entire system, which is an embedded real-time system with onboard digital and analog ports, which can be programmed through labview; And the signal of the ultrasonic sensor is processed to make a corresponding response; moreover, the motor is controlled to make a steering action.
在本发明的一个实施例中,所述相机的摄像头下方设有舵机,舵机控制摄像头的仰角以便不同角度采集乒乓球图像信息。In an embodiment of the present invention, a steering gear is provided below the camera head of the camera, and the steering gear controls the elevation angle of the camera to collect table tennis image information at different angles.
在本发明的一个实施例中,所述超声波传感器下方设有舵机,舵机控制超声波传感器的仰角,控制超声波的不同方向,用过不同方向的障碍物判断。In an embodiment of the present invention, a steering gear is provided below the ultrasonic sensor, and the steering gear controls the elevation angle of the ultrasonic sensor, controls different directions of the ultrasonic waves, and uses obstacles in different directions to judge.
一种乒乓球智能捡球共享系统的使用方法,所述使用方法的具体步骤如下:A method of using a table tennis intelligent ball-picking and sharing system, the specific steps of the using method are as follows:
(1)通过无线通信收到捡球指令后,系统的初始化,myRIO中心控制系统控制相机的摄像头上下转动,使摄像头与地面成90度;(1) After receiving the ball picking command through wireless communication, the system is initialized, and the myRIO central control system controls the camera's camera to rotate up and down, so that the camera is 90 degrees from the ground;
(2)摄像头将采集到的乒乓球图像信息传送给myRIO中心控制系统,myRIO中心控制系统对图像信息进行处理,用于得到乒乓球在图片中的位置信息;(2) The camera transmits the collected table tennis image information to the myRIO central control system, and the myRIO central control system processes the image information to obtain the position information of the table tennis ball in the picture;
(3)得到位置信息后小车根据图片的位置信息,对自身进行调整使车头正对乒乓球;(3) After obtaining the position information, the car adjusts itself according to the position information of the picture so that the front of the car is facing the table tennis ball;
(4)避障模块对周围环境进行判断,如果有障碍物就转动,直到没有障碍物;(4) The obstacle avoidance module judges the surrounding environment, and rotates if there is an obstacle until there is no obstacle;
(5)向乒乓球位置前进,当球进入滚动式球类收集装置后计数并进行下次捡取流程直到滚动式球类收集装置装满;(5) move forward to the table tennis position, when the ball enters the rolling ball collection device, count and carry out the next picking process until the rolling ball collection device is full;
(6)将滚动式球类收集装置内的乒乓球放到乒乓球共享装置内,等待使用者使用。(6) Put the table tennis balls in the rolling ball collection device into the table tennis ball sharing device and wait for the user to use it.
在本发明的一个实施例中,所述myRIO中心控制系统对图像信息进行处理的具体方法为:In one embodiment of the present invention, the specific method for processing image information by the myRIO central control system is:
(1)对收到的图片信息进行二值化,将乒乓球的颜色去除,其他颜色信息保留下来;(1) Binarize the received picture information, remove the color of the table tennis ball, and retain other color information;
(2)对二值化的图像进行滤波,去除影响后面识别的小块区域;(2) Filter the binarized image to remove the small block area that affects the subsequent identification;
(3)进行二值化区域反转,留下乒乓球的外形信息;(3) Invert the binarized area, leaving the shape information of the table tennis ball;
(4)寻找二值化图像中的圆形信息,并且得到乒乓球在图片中的位置信息。(4) Find the circular information in the binarized image, and obtain the position information of the table tennis ball in the image.
在本发明的一个实施例中,所述乒乓球共享装置的使用步骤如下:In an embodiment of the present invention, the steps of using the table tennis sharing device are as follows:
(1)电机开始转动1分钟,直至乒乓球都进入储球管道或储球管道装满;(1) The motor starts to rotate for 1 minute, until the table tennis balls enter the ball storage pipe or the ball storage pipe is full;
(2)用户通过刷卡或者网络录入信息;(2) The user enters the information by swiping the card or the network;
(3)单片机控制电子开关和挡板放出一个乒乓球;(3) The single-chip microcomputer controls the electronic switch and the baffle to release a ping-pong ball;
(4)用户在出球口取球。(4) The user takes the ball at the ball outlet.
通过上述技术方案,本发明的有益效果是:Through the above-mentioned technical scheme, the beneficial effects of the present invention are:
本发明利用智能摄像头,配合myRIO内部处理,计算出偏差角度,随后给电机发出微调指令,使小球和小车得到一个适当的相对位置,从而进行捡球;过程中若超声波传感器或者红外传感器探测出障碍,则优先进行避障指令;有了该小车后,可以大大节省人力资源;运动的人打完球后只管潇洒走人,小车接收到捡球指令后自动执行捡球程序并且将收集好的乒乓球送到共享装置以供下次使用;系统具有灵活,轻便,体积小,共享等特点。The present invention uses the intelligent camera and the internal processing of myRIO to calculate the deviation angle, and then sends a fine-tuning command to the motor, so that the ball and the car can obtain an appropriate relative position, so as to pick up the ball; in the process, if the ultrasonic sensor or infrared sensor detects If there is an obstacle, priority will be given to the obstacle avoidance command; with this car, human resources can be greatly saved; after the player has finished playing the ball, they just walk away smartly, and the car will automatically execute the ball picking program after receiving the ball picking command and collect the collected The table tennis balls are sent to the shared device for next use; the system has the characteristics of flexibility, lightness, small size, and sharing.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明共享系统结构框图;Fig. 1 is the structural block diagram of the sharing system of the present invention;
图2为本发明共享系统结构示意图;2 is a schematic structural diagram of a sharing system of the present invention;
图3为本发明乒乓球共享装置内部结构图;Fig. 3 is the internal structure diagram of the table tennis sharing device of the present invention;
图4为本发明共享系统工作流程图;Fig. 4 is the working flow chart of the sharing system of the present invention;
图中数字和字母所表示的相应部件名称:Corresponding part names represented by numbers and letters in the figure:
100、小车 200、机器视觉检测装置 210、相机 300、滚动式球类收集装置 400、电动机传动装置 410、减速电机 420、电机驱动板 500、避障装置 510、红外传感器 520、超声波传感器 600、乒乓球共享装置 610、箱体 620、显示屏 630、刷卡口 640、电机 641、拨片650、乒乓球回收器 660、储球管道 670、电子开关 680、挡板 690、出球口 700、myRIO中心控制系统 800、电源 900、舵机。100,
具体实施方式Detailed ways
为了使本发明实现的技术手段、创作特征、达成目的与功效易于明白了解,下面结合具体图示,进一步阐述本发明。In order to make it easy to understand the technical means, creation features, achieved goals and effects of the present invention, the present invention will be further described below with reference to the specific figures.
参见图1至图3所示,本发明公开了一种乒乓球智能捡球共享系统,包括小车100、设置在小车上的机器视觉检测装置200、设置在小车上的滚动式球类收集装置300、设置在小车上的电动机传动装置400、设置在小车上的避障装置500、乒乓球共享装置600、设置在小车上的myRIO中心控制系统700以及电源800。Referring to FIGS. 1 to 3 , the present invention discloses a table tennis intelligent ball picking and sharing system, including a
机器视觉检测装置200用于采集图像,并将图像信息发送给myRIO中心控制系统;滚动式球类收集装置300用于将小球收入其中且不会掉落出来;电动机传动装置400用于驱动小车移动;避障装置500用来躲避四周的障碍物为小车转向提供指导;乒乓球共享装置600用于接收小车收集到的小球,对其进行排序,并供使用者使用;myRIO中心控制系统700负责控制整个共享系统。The machine
机器视觉检测装置200包括相机210,相机上的摄像头用来采集周围乒乓球图像信息,相机通过USB连接到myRIO中心控制系统,并将采集到的图像信息发送到myRIO中心控制系统以便进行图像的处理识别。The machine
滚动式球类收集装置300为滚筒状,其包含一个轴心和两个滚轮,在两个滚轮之间间隔一定弧度等间距设有弹性绳,使得乒乓球能受收集装置重力进入收集装置内部,而不会掉出收集装置;滚动式球类收集装置300为常用乒乓球收集装置,此处不做具体描述,其只要能对检测到乒乓球进行收集即可。The rolling
电动机传动装置400包括两个减速电机410和两个电机驱动板420,电机驱动板用于减速电机的驱动,以便接到电机上一边接到myRIO中心控制系统,使得myRIO中心控制系统可以通过I/O口控制电机的转速和方向,接收电机编码器发送的数据以便精准控制小车的运动,例如转向的角度;利用两个减速电机的正反转可控制捡球机器人正反转;减速电机执行来自电机驱动板发来的经过处理的电信号,如正转反转,将光栅的信号发送回给电机驱动板,以便其编码后发送给myRIO中心控制系统。The
避障装置500包括设置在小车左右两侧上的红外传感器510以及小车前后的超声波传感器520,红外传感器510和超声波传感器520分别用于左右方向壁障和前后方向壁障;红外传感器510可通过红外传感器上的电位器,设置检查的远近,通过I/O口给myRIO中心控制系统发送信号;myRIO中心控制系统根据接收到的信号判断是否有障碍物;超声波传感器520其自带一块32的芯片和LED数码管显示距离;通过三个按钮可设置在什么范围内发送什么信号,通过I/O口与myRIO中心控制系统连接配合下面的舵机900,可检测不同方向是否有障碍。The
乒乓球共享装置600包括箱体610、设置在箱体610上的显示屏620和刷卡口630、设置在箱体内的电机640、乒乓球回收器650、储球管道660、电子开关670、上位机以及挡板680。The table
箱体610用于存放共享乒乓,箱体610上设有出球口690,出球口690与储球管道660接通,落下的乒乓球在出球口690里,方便用户取球;显示屏620用于显示支付租赁乒乓的二维码以及广告;刷卡口630用于支付乒乓球的租赁费和录入信息;电机640末端装有拨片641,为了防止一次性放入的乒乓球过多堵塞储球管道所以在管道口有电机带动拨片,正常工作时,当小车满载球回到乒乓球回收器时,上位机发出信号控制电机带动拨片工作,从而解决球过多堵塞储球管道的问题;乒乓球回收器650用于将收集到的乒乓球倒入乒乓球回收器,乒乓球回收器有一定角度能够让乒乓球滚落到储球管道中去;储球管道660为一根弯折的直径比乒乓球稍大的塑料管道,上部与地面夹角较大,下部与地面夹角较小,方便乒乓球排序和出球;电子开关670由单片机进行控制和上位机有一个通信,当上位机有出球信号时才放一个球过,避免所有球都涌入出球口造成堵塞;The
当电子开关打开掉落一个球,挡板打开将球放出,没信号时挡住乒乓球不让其掉落。When the electronic switch is turned on to drop a ball, the baffle is opened to release the ball, and when there is no signal, the table tennis ball is blocked from falling.
myRIO中心控制系统700是整个系统的运算核心,它是一个嵌入式实时系统,板载数字和模拟端口,可通过labview编程;将接受到来自相机、红外传感器以及超声波传感器的信号进行处理,做出相应的响应;再者,控制电机做出转向动作。myRIO
相机210的摄像头下方设有舵机900,舵机900控制摄像头的仰角以便不同角度采集乒乓球图像信息;超声波传感器520下方设有舵机900,舵机900控制超声波传感器520的仰角,控制超声波的不同方向,用过不同方向的障碍物判断。A
电源800是一块12V可充电锂电池,由于myRIO中心控制系统输入电压范围是允许12v输入,电机驱动板需要12V电压和5V电压输出所以这里将电源分别接入myRIO中心控制系统和电机驱动板,然后通过myRIO中心控制系统中输出的5V电源给5V的设备供电舵机、红外传感器等。The
本发明共享系统的工作原理如下:The working principle of the sharing system of the present invention is as follows:
首先,相机的摄像头通过改变仰角到垂直地面90度大致判断是否有乒乓球,若没有,改变小车正方向判断,若所有方向均没有,则小车回到指定位置。First, the camera of the camera roughly judges whether there is a table tennis ball by changing the elevation angle to 90 degrees perpendicular to the ground. If not, change the positive direction of the car to judge. If there is no direction in all directions, the car returns to the designated position.
如果检测到有乒乓球,再将捡球机器人移动到乒乓球附近将摄像头调整到相对地面60度,进一步检测,再次判断是否是真的有球,若是误检测,则重新进入上一步,若检测到确实有乒乓球,则微调捡球机器人的角度,使乒乓球处于捡球机器人下方可经过的位置,以便收集器能将乒乓球收集进去;当捡球动作完成,重新进入第一步检测是否有球。If a ping-pong ball is detected, move the ball picking robot to the vicinity of the ping-pong ball and adjust the camera to 60 degrees relative to the ground for further detection, and then judge again whether there is a real ball. When there is indeed a table tennis ball, fine-tune the angle of the ball picking robot, so that the table tennis ball is in a position that can pass under the ball picking robot, so that the collector can collect the table tennis balls; when the ball picking action is completed, re-enter the first step to check whether There are balls.
在这个过程中避障始终执行,无论上述哪个动作在执行,检测到障碍物都会先将程序挂起,直到避障执行完毕,没有障碍物了,则进行正常捡球流程。In this process, obstacle avoidance is always performed. No matter which of the above actions is being performed, the program will be suspended first when an obstacle is detected. Until the obstacle avoidance is completed and there are no obstacles, the normal ball picking process will be performed.
本发明乒乓球智能捡球共享系统的具体使用方法如下:The specific use method of the table tennis intelligent ball picking and sharing system of the present invention is as follows:
小车在使用前的情况为:小车正常的前进方向是把摄像头作为车头,乒乓球收集器是车尾,车的底盘高度大于一个乒乓球直径,当小车径直开过去尾部的乒乓球收集器会将乒乓球滚进去的。The situation of the car before use is as follows: the normal forward direction of the car is to use the camera as the front of the car, the ping-pong ball collector is the rear of the car, and the chassis height of the car is greater than the diameter of a ping-pong ball. The ping pong ball rolled in.
(1)初始化系统,打开小车时,相机的摄像头仰角与地面90度,开始采集图像,并将图像传输给myRIO中心控制系统;(1) Initialize the system. When the trolley is turned on, the camera's camera elevation angle is 90 degrees from the ground, and the image is collected, and the image is transmitted to the myRIO central control system;
(2)myRIO中心控制系统识别图像中是否有乒乓球,此时由于检测范围较大,所以可能会出现误检测的情况;(2) The myRIO central control system identifies whether there is a table tennis ball in the image. At this time, due to the large detection range, false detection may occur;
(3)若无,则调整车身正前方方向再次回到(2)检测,若所有方向均没有,则程序停止,如果有球,则调整机器人方向走近乒乓球;(3) If there is no, adjust the direction of the front of the body and return to (2) detection again. If there is no direction in all directions, the program will stop. If there is a ball, adjust the direction of the robot to approach the table tennis ball;
(4)将摄像头仰角调整到与地面60度;(4) Adjust the camera's elevation angle to 60 degrees from the ground;
(5)再次进行图像检测,判断是否有乒乓球;(5) Perform image detection again to determine whether there is a table tennis ball;
(6)若没有,则回到步骤(3),若有,则进行下一步;(6) if not, then go back to step (3), if there is, then proceed to the next step;
(7)微调机器人方向使小球可经过小车身下;(7) Fine-tune the direction of the robot so that the ball can pass under the small body;
(8)小车向前走,经过小车尾部的乒乓球收集器,将乒乓球收集进乒乓球收集器;(8) The trolley moves forward, passes the table tennis ball collector at the rear of the trolley, and collects the table tennis balls into the table tennis ball collector;
(9)回到步骤(3);(9) return to step (3);
(10)无论执行哪一步总会判断是否有障碍物;(10) No matter which step is executed, it will always judge whether there is an obstacle;
(11)若有障碍物执行避障;(11) Implement obstacle avoidance if there are obstacles;
(12)红外传感器和超声波传感器任意一个检测到障碍物,则认为有障碍物;(12) If any one of the infrared sensor and the ultrasonic sensor detects an obstacle, it is considered that there is an obstacle;
(13)若只是红外传感器有障碍物,则小角度偏离有障碍的一边;(13) If only the infrared sensor has obstacles, the small angle deviates from the obstacle side;
(14)若超声波传感器检测到有障碍物,即正前方有障碍物,超声波传感器下面的舵机左右旋转90度判断是否有障碍物;(14) If the ultrasonic sensor detects an obstacle, that is, there is an obstacle in front of it, the steering gear under the ultrasonic sensor rotates 90 degrees left and right to determine whether there is an obstacle;
(15)小车转向没障碍物的方向;(15) The trolley turns to the direction without obstacles;
(16)若没障碍物,则恢复捡球程序的执行;(16) If there is no obstacle, resume the execution of the ball picking procedure;
(17)若经过计数捡满球的小车回到指定位置等待回收乒乓球;(17) If the trolley after counting the full balls returns to the designated position and waits to recover the table tennis balls;
(18)回收的球放到共享装置内,等待使用者使用。(18) The recovered balls are placed in the shared device and are waiting for the user to use.
myRIO中心控制系统识别图像的具体方法为:The specific method of the myRIO central control system to identify the image is as follows:
(1)对收到的图片信息进行二值化,将乒乓球的颜色去除,其他颜色信息保留下来;(1) Binarize the received picture information, remove the color of the table tennis ball, and retain other color information;
(2)对二值化的图像进行滤波,去除影响后面识别的小块区域;(2) Filter the binarized image to remove the small block area that affects the subsequent identification;
(3)进行二值化区域反转,留下乒乓球的外形信息;(3) Invert the binarized area, leaving the shape information of the table tennis ball;
(4)寻找二值化图像中的圆形信息,并且得到乒乓球在图片中的位置信息。(4) Find the circular information in the binarized image, and obtain the position information of the table tennis ball in the image.
共享系统具体工作步骤如下:The specific working steps of the sharing system are as follows:
(1)向小车发出信号将捡到的球装入乒乓球回收器中;(1) Send a signal to the trolley to load the picked up ball into the table tennis ball recovery device;
(2)电机开始转动1分钟,直至乒乓球都进入储球管道或储球管道装满;(2) The motor starts to rotate for 1 minute, until the table tennis balls enter the ball storage pipe or the ball storage pipe is full;
(3)用户通过刷卡或者网络录入信息,(3) The user enters the information by swiping the card or the network,
(4)单片机控制电子阀门和挡板放出一个乒乓球(4) The single-chip microcomputer controls the electronic valve and the baffle to release a ping-pong ball
(5)用户在出球口取球。(5) The user takes the ball at the ball outlet.
使用本发明系统进行检测收集小球的具体操作流程如下:The specific operation process of using the system of the present invention to detect and collect pellets is as follows:
步骤1)、装上电池,机器人自动启动,机器人在场地中能够自动开始寻找搜集乒乓球;Step 1), install the battery, the robot automatically starts, and the robot can automatically start to search and collect table tennis balls in the field;
步骤2)、若机器人发生故障可按myRIO上的按钮紧急停止;Step 2), if the robot fails, you can press the button on the myRIO to stop it urgently;
步骤3)、结束。Step 3), end.
以上显示和描述了本发明的基本原理和主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。The basic principles and main features of the present invention and the advantages of the present invention have been shown and described above. Those skilled in the art should understand that the present invention is not limited by the above-mentioned embodiments, and the descriptions in the above-mentioned embodiments and the description are only to illustrate the principle of the present invention. Without departing from the spirit and scope of the present invention, the present invention will have Various changes and modifications fall within the scope of the claimed invention. The claimed scope of the present invention is defined by the appended claims and their equivalents.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810012052.9A CN108211277B (en) | 2018-01-05 | 2018-01-05 | Intelligent ping-pong ball picking sharing system and using method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810012052.9A CN108211277B (en) | 2018-01-05 | 2018-01-05 | Intelligent ping-pong ball picking sharing system and using method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108211277A CN108211277A (en) | 2018-06-29 |
CN108211277B true CN108211277B (en) | 2020-07-07 |
Family
ID=62645357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810012052.9A Active CN108211277B (en) | 2018-01-05 | 2018-01-05 | Intelligent ping-pong ball picking sharing system and using method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108211277B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109782753B (en) * | 2018-12-18 | 2022-07-19 | 江汉大学 | Control method of picking device |
CN111481895A (en) * | 2020-05-18 | 2020-08-04 | 华东师范大学附属枫泾中学 | Automatic table tennis ball collecting method, system, storage medium, equipment and device |
US20230142296A1 (en) * | 2020-07-13 | 2023-05-11 | Yamabiko Corporation | Scattered object collection system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090052653A (en) * | 2007-11-21 | 2009-05-26 | 이용석 | Golf ball recovery system and golf ball recovery method using golf ball recovery robot |
CN106971470A (en) * | 2016-10-12 | 2017-07-21 | 昆山市玉山镇仕龙设计工作室 | Public ball renting machine |
CN206152232U (en) * | 2016-11-02 | 2017-05-10 | 张金涵 | Ball car is picked up to intelligence |
CN106823312B (en) * | 2017-01-10 | 2019-02-05 | 浙江大学 | An intelligent ball picking robot and its control method |
CN206644887U (en) * | 2017-02-28 | 2017-11-17 | 中国矿业大学 | Acoustic control intelligent car based on myRIO platforms |
CN206643905U (en) * | 2017-04-14 | 2017-11-17 | 天津理工大学 | A kind of wheeled multi-robot intelligent ball collecting robot |
-
2018
- 2018-01-05 CN CN201810012052.9A patent/CN108211277B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108211277A (en) | 2018-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108211277B (en) | Intelligent ping-pong ball picking sharing system and using method thereof | |
EP2523735B1 (en) | Method for the automatic collection and delivery of spherical game elements | |
CN109954254B (en) | Badminton court intelligence is picked up football robot based on wheel of coming fortune of qxcomm technology | |
US9561403B2 (en) | Apparatus and system for automatic collection and delivery of spherical game elements | |
CN107019883A (en) | A kind of tennis automatically picking up balls robot of machine vision | |
CN105648938B (en) | Bore automatic release device in intelligent transportation road | |
CN100352621C (en) | Controller of robot for automatic polling high-voltage transmission line | |
CN106823314B (en) | A kind of recycling of full-automatic night golf robot of trunk-type | |
CN102023641A (en) | A Planning Method for Mobile Robot and Its Object Handling Path | |
US20230302329A9 (en) | Ball retrieval system and method | |
CN207694194U (en) | A kind of intelligence of view-based access control model picks up tennis robot | |
EP3877060A1 (en) | Ball retrieval system and method | |
CN110575653A (en) | Tennis robot is picked up to intelligence | |
CN107253203A (en) | Multimode Intelligent toy collects robot | |
CN107961510A (en) | Intelligent tennis ball collecting robot people and tennis collection method | |
CN104784900A (en) | Tennis pickup machine operation trajectory control and ultrasonic tennis finding system and method | |
CN106512345A (en) | Indoor golf ball picking device, system and control method thereof | |
CN206167801U (en) | Table tennis letter sorting machine people | |
CN107784306A (en) | A kind of automatic shopping car based on OpenCV | |
CN109847291B (en) | Automatic ball picking robot and ball picking method | |
CN211273455U (en) | Intelligent ball picking robot based on automatic image processing | |
CN109782753B (en) | Control method of picking device | |
CN207605324U (en) | Intelligent tennis ball collecting robot people | |
CN114888799A (en) | Robot based on visual positioning ball picking | |
CN209790778U (en) | intelligent ball picker |
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 | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20180629 Assignee: Benchuang (Shanghai) Technology Service Co.,Ltd. Assignor: Shanghai Polytechnic University Contract record no.: X2021310000050 Denomination of invention: A table tennis intelligent ball picking sharing system and its application method Granted publication date: 20200707 License type: Common License Record date: 20211220 |
|
EE01 | Entry into force of recordation of patent licensing contract |