Disclosure of Invention
The invention aims to provide a testing device which can be used for a manufacturer or a user to test a two-dimensional code acquisition device and ensure that the performance of the two-dimensional code acquisition device reaches the standard.
In order to achieve the purpose, the invention adopts the following technical scheme:
a testing device for testing the performance of a two-dimensional code acquisition device, the testing device comprising:
the rotating unit comprises a driving assembly and a turntable, the driving assembly drives the turntable to rotate, and the surface of the turntable is provided with a two-dimensional code; and
and the support unit is used for installing the two-dimension code acquisition device and enabling the two-dimension code acquisition device to scan the two-dimension code when the rotary table rotates.
Preferably, the carousel includes the carousel base, drive assembly drive the carousel base is rotatory, the edge of carousel base is equipped with the gyration board along circumference, the middle part of carousel base upper surface and the upper surface of gyration board all is equipped with the two-dimensional code.
Preferably, a turntable supporting plate is arranged below the turntable base in parallel, and the turntable supporting plate is horizontally and rotatably connected with the turntable base.
Preferably, the driving assembly comprises a driving motor installed on the turntable support plate, and an output shaft of the driving motor penetrates through the turntable support plate and is fixedly connected with the turntable base.
Preferably, the testing device further comprises a bottom plate, a plurality of supporting columns with one ends vertically connected with the bottom plate are arranged on the bottom plate, and the other ends of the supporting columns are connected with the turntable supporting plate.
Preferably, the support unit comprises a plurality of mounting supports arranged along the circumferential direction of the rotary plate, the mounting supports are used for mounting the two-dimensional code acquisition device, and the two-dimensional code acquisition device can acquire the two-dimensional code on the rotary plate.
Preferably, at least two the installing support sets up relatively, two be connected with the bridging board between the installing support, be equipped with first support on the bridging board, first support is configured as the installation two-dimensional code collection system, just two-dimensional code collection system can gather on the carousel base the two-dimensional code.
Preferably, the installing support includes the fixed second support that sets up, be connected with the third support on the second support, just the third support is relative the second support can be adjusted from top to bottom, be equipped with the fourth support on the third support, install on the fourth support two-dimensional code collection system.
Preferably, a measuring piece for measuring the adjustment quantity of the third bracket is arranged on the third bracket.
Preferably, two parallel and spaced bridge plates are arranged between the two mounting brackets, the first bracket is respectively connected with the two bridge plates, and the position of the first bracket on the bridge plates is adjustable.
The embodiment of the invention has the following beneficial effects:
the testing device provided by the invention is an independent detection platform, and can be used for detecting the two-dimensional code acquisition device by manufacturers and also can be used for detecting the two-dimensional code acquisition device by users before use. Two-dimensional code collection system is under the carousel is with the rotatory condition of the speed of setting for, scans the two-dimensional code on the carousel to judge whether two-dimensional code collection system can clearly scan the two-dimensional code, when the simulation robot was moving, whether path two-dimensional code can be scanned to two-dimensional code collection system, use on installing the robot again after guaranteeing that two-dimensional code collection system's performance is up to standard, realized the automated inspection of two-dimensional code collection system performance.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, unless expressly stated or limited otherwise, the terms "connected," "connected," and "fixed" are to be construed broadly, e.g., as meaning permanently connected, removably connected, or integral to one another; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
As shown in fig. 1, the present embodiment provides a testing apparatus for testing the performance of a two-dimensional code acquisition device 6, where the two-dimensional code acquisition device 6 may be a two-dimensional code navigation sensor, a two-dimensional code scanner, or the like. The testing device comprises a rotating unit and a bracket unit. The rotating unit comprises a driving assembly 11 and a rotating disc 12, the driving assembly 11 drives the rotating disc 12 to rotate, and the surface of the rotating disc 12 is provided with the two-dimensional code 7. The support unit is used for installing the two-dimensional code acquisition device 6 and enabling the two-dimensional code acquisition device 6 to scan the two-dimensional code 7 when the rotary table 12 rotates. The testing device provided by the embodiment is an independent detection platform, can be used for a manufacturer to detect the two-dimensional code acquisition device 6, and can also be used for a user to detect the two-dimensional code acquisition device 6 before use. Two-dimensional code collection system 6 is under the rotatory condition of carousel 12 with the speed of setting for, scans two-dimensional code 7 on the carousel 12 to judge whether two-dimensional code collection system 6 can clearly scan two-dimensional code 7, when the simulation robot was moving, whether path two-dimensional code can be scanned to two-dimensional code collection system 6, use on installing the robot again after guaranteeing that two-dimensional code collection system 6's performance is up to standard.
In this embodiment, referring to fig. 1 and 2, the testing apparatus further includes a base plate 3, a rotating unit is installed in the middle of the base plate 3, the rotating unit includes a turntable support plate 123, and the turntable support plate 123 is connected to the base plate 3 through a plurality of support posts 4. Specifically, one end of the support column 4 is provided with a stud, and the support column 4 is vertically connected with the bottom plate 3 through the stud, so that the installation is convenient. The other end of pillar 4 is connected with carousel backup pad 123 through the bolt, and the bolt wears to establish the upper surface of carousel backup pad 123 and the end connection of pillar 4, convenient equipment and dismantlement.
The turntable 12 comprises a turntable base 121, the turntable base 121 is disposed above the turntable support plate 123 in parallel, and the turntable support plate 123 is connected with the turntable base 121 in a horizontal rotation manner. Specifically, a bearing 124 is circumferentially provided on an upper surface of the turntable support plate 123, an inner ring of the bearing 124 is connected to the turntable support plate 123, and an outer ring of the bearing 124 is connected to the turntable base 121. Realize through bearing 124 that carousel backup pad 123 is connected with carousel base 121's rotation, simple structure, easy to assemble, connection stability is good, and can not appear rocking when carousel base 121 rotates. In other embodiments, the turntable support plate 123 and the turntable base 121 may also be rotatably connected through other structures, for example, a sliding groove may be formed on the turntable support plate 123 along the circumferential direction, and a sliding block embedded in the sliding groove is disposed on the turntable base 121.
In this embodiment, with continued reference to fig. 1 and 2, the drive assembly 11 drives the turntable base 121 to rotate relative to the turntable support plate 123. Specifically, the driving assembly 11 includes a driving motor 111, an output shaft of the driving motor 111 penetrates through the turntable support plate 123 and is fixedly connected with the turntable base 121, and a flange of the driving motor 111 is fixed on the lower surface of the turntable support plate 123 through a bolt, so that the driving motor 111 is disposed between the turntable support plate 123 and the bottom plate 3, and the structural compactness of the testing device is improved. The driving motor 111 is started, and the motor shaft rotates to drive the turntable base 121 to rotate relative to the turntable support plate 123. Further, the output shaft of the driving motor 111 is connected with the turntable base 121 through the tensioning sleeve 112, so that the output shaft of the driving motor 111 is connected with the turntable base 121 in a keyless manner, the strength and stability of connection between the output shaft of the driving motor 111 and the turntable base 121 are improved, and the mounting and the dismounting are convenient.
As shown in fig. 1, the driving assembly 11 further includes a driver 113, the driver 113 is mounted on the base plate 3, and the driver 113 is electrically connected to the driving motor 111. The bottom plate 3 is further provided with a controller 300 and a control box 400, the control box 400 is provided with a touch screen, and the driver 113 and the touch screen are respectively electrically connected with the controller 300. Parameters for controlling the operation of the driving motor 111, such as the rotation speed, the forward and reverse rotation, the testing time, etc., are input through the touch screen, the controller 300 receives the input corresponding command and outputs a control signal to the driver 113, and the driver 113 controls the operation of the driving motor 111. The touch screen is arranged, so that an operator can conveniently change the running parameters of the driving motor 111, the rotating speed and the rotating direction of the turntable 12 can be adjusted according to test requirements, and the test range is wide.
Install two-dimensional code collection device 6 on the robot and can produce angular velocity and/or linear velocity relatively the route two-dimensional code, in order to ensure that two-dimensional code collection device 6 can be accurate scan the route two-dimensional code, so before installing two-dimensional code collection device 6 on the robot, use the testing arrangement test two-dimensional code collection device 6 that this embodiment provided whether can scan two-dimensional code 7 with certain speed rotation to whether reachd this two-dimensional code collection device 6 accords with the user demand. In this embodiment, the two-dimensional code 7 can be attached to the middle of the turntable base 121, and whether the two-dimensional code 7 can be scanned by the two-dimensional code acquisition device 6 under the condition of angular velocity change is tested. Paste two-dimensional code 7 at the intermediate position of keeping away from carousel base 121, can test whether two-dimensional code collection system 6 can scan two-dimensional code 7 under the change of angular velocity and linear velocity. In this embodiment, with reference to fig. 1 and fig. 2, a rotating plate 122 is disposed at the edge of the turntable base 121 along the circumferential direction, the turntable base 121 rotates to drive the rotating plate 122 to rotate, and a plurality of two-dimensional codes 7 are attached to the upper surface of the rotating plate 122 at intervals. Specifically, the rotary plate 122 is connected with the turntable base 121 through bolts, and the installation and the disassembly are convenient. The two-dimensional code acquisition device 6 scans the rotating two-dimensional code 7, and the performance of the two-dimensional code acquisition device 6 under the condition of changing angular velocity and linear velocity can be tested. The purpose of the rotating plate 122 is to make the linear speed of the two-dimensional code 7 reach 0-6m/s, and the measuring range of the testing device is expanded.
The holder unit is configured to mount the two-dimensional code acquisition device 6, and the holder unit in this embodiment includes a plurality of mounting brackets 21 provided along the circumferential direction of the rotating plate 122, and the two-dimensional code acquisition device 6 is mounted on the mounting brackets 21. Set up a plurality of installing supports 21, can test a plurality of two-dimensional code collection system 6's performance simultaneously, improved efficiency of software testing. Specifically, with reference to fig. 1 and 3, the mounting bracket 21 includes a second bracket 211, the second bracket 211 is fixedly mounted on the bottom plate 3, a third bracket 212 is connected to the second bracket 211, the third bracket 212 is vertically adjustable with respect to the second bracket 211, a fourth bracket 213 is disposed on the third bracket 212, and the two-dimensional code acquisition device 6 is mounted on the fourth bracket 213. The position of the two-dimensional code acquisition device 6 can be adjusted by adjusting the position of the third support 212 up and down to adapt to two-dimensional code acquisition devices 6 with different focal lengths.
Further, the third bracket 212 is an L-shaped plate, a vertical plate of the third bracket 212 is connected to the second bracket 211, a horizontal plate of the third bracket 212 is bent toward the side of the rotating plate 122, and the fourth bracket 213 is mounted on the horizontal plate. The second support 211 is provided with a plurality of vertically arranged first adjusting long holes 215, the vertical plate of the third support 212 is provided with a threaded hole, and the bolt penetrates through the first adjusting long holes 215 and the threaded hole and is locked through a nut, so that the third support 212 is fixed on the second support 211. When the position of the third bracket 212 is adjusted, the nut is screwed in the opposite direction, and the third bracket 212 is adjusted up and down in the direction of the first elongated hole 215.
Still further, in order to facilitate the measurement of the height of the third bracket 212 for improving the accuracy of the height adjustment of the third bracket 212, a measuring member 214 is provided on a vertical plate of the third bracket 212, and the measuring member 214 is used for measuring the adjustment amount of the third bracket 212. Preferably, the gauge 214 includes a scale disposed on a riser of the third support 212 to facilitate viewing and measuring of the adjusted height.
In this embodiment, the fourth bracket 213 is a U-shaped bracket, two ends of the fourth bracket 213 are respectively connected to the third bracket 212, the two-dimensional code acquisition device 6 is installed on the top of the U-shaped bracket, and the scanning head of the two-dimensional code acquisition device 6 faces the rotary plate 122 to which the two-dimensional code 7 is attached. In order to avoid the interference of the third bracket 212 with the two-dimensional code acquisition device 6 to scan the two-dimensional code 7, an avoidance hole is formed in the transverse plate of the third bracket 212 to avoid shielding the scanning head of the two-dimensional code acquisition device 6.
At least two mounting brackets 21 of the plurality of mounting brackets 21 arranged along the circumferential direction of the rotating plate 122 are arranged oppositely, and the connecting line of the two oppositely arranged mounting brackets 21 passes through the center of the turntable base 121. In this embodiment, as shown in fig. 4, two bridge plates 22 are connected between the two third brackets 212, and two bridge plates 22 are disposed, and the two bridge plates 22 are parallel and spaced apart from each other. The bridge plate 22 is provided with a first bracket 23, and the first bracket 23 is configured to mount the two-dimensional code acquisition device 6. The two-dimensional code acquisition device 6 mounted on the first support 23 can acquire the two-dimensional code 7 on the turntable base 121.
In this embodiment, the first support 23 is a U-shaped support, two ends of the first support 23 are respectively connected to the two bridging plates 22, the two-dimensional code acquisition device 6 is installed on the top of the U-shaped support, and the scanning head of the two-dimensional code acquisition device 6 faces the turntable base 121. In order not to interfere the two-dimensional code acquisition device 6 scanning the two-dimensional code 7, the distance between the two bridge plates 22 is larger than the scanning range of the two-dimensional code acquisition device 6. The performance of two-dimensional code collection device 6 installed on first support 23 when can testing angular velocity changes makes this testing arrangement can realize that polymorphic type two-dimensional code collection device 6 tests simultaneously, has improved efficiency of software testing.
Further, with reference to fig. 4, the bridging plate 22 is provided with a second adjusting long hole 221 along the length direction of the bridging plate 22, the first bracket 23 is provided with a threaded hole, and the bolt is sequentially inserted into the threaded hole and the second adjusting long hole 221 and is locked by the nut. The second adjusting long hole 221 formed in the bridging plate 22 can adjust the position of the two-dimensional code acquisition device 6 mounted on the first support 23 relative to the center of the turntable base 121, so that the accuracy of testing the two-dimensional code acquisition device 6 is improved.
In this embodiment, a CAN analyzer is further disposed in the control box 400, the CAN analyzer is electrically connected to the controller 300, the two-dimensional code acquisition device 6 transmits information of the scanned two-dimensional code 7 to the CAN analyzer in a form of a CAN bus, the CAN analyzer processes data and sends the processed data to the controller 300, and the controller 300 displays the processed data through a touch screen, so that a tester CAN know whether performance of each two-dimensional code scanning device 6 meets requirements as soon as possible.
In addition, the testing device provided by the embodiment further includes a power supply 500, and the power supply 500 supplies power to the driving motor 111, the driver 113, the controller 300, the control box 400, and other components. The testing device is also provided with a power switch 100 and an emergency stop button 200.
To facilitate handling of the test device, a handle 5 is provided on each of the opposite sides of the base plate 3.
When the test device is used, the method mainly comprises the following steps:
step one, mounting the two-dimensional code acquisition device 6 to be detected on the first support 23 and/or the fourth support 213.
And step two, the power switch 100 is pressed down, the testing device is powered on, and control parameters of the driving motor 111 are input through the touch screen, so that the rotating speed of the two-dimensional code 7 accords with the scanning and decoding speed of the two-dimensional code acquisition device 6.
And step three, starting the driving motor 111 to rotate, scanning the two-dimensional code 7 arranged on the rotary plate 122 and/or the turntable base 121 by the two-dimensional code acquisition device 6, transmitting data to the CAN analyzer, and displaying the analyzed data on the touch screen.
This testing arrangement can test a plurality of two-dimensional code collection device 6 simultaneously, can also test the two-dimensional code collection device 6 of different grade type simultaneously, and efficiency of software testing is high, and the range of application is wide. The rotating speed of the two-dimensional code 7 can be adjusted according to the performance requirements of the two-dimensional code acquisition device 6, and the test precision of the test device is improved.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.